Add task board, plan tracking, and markdown table rendering#90
Open
braverior wants to merge 2 commits into
Open
Add task board, plan tracking, and markdown table rendering#90braverior wants to merge 2 commits into
braverior wants to merge 2 commits into
Conversation
- Add TaskItem model and task lifecycle management (create, update, resolve temp IDs, prune stale/completed) in SessionState - Hook into TaskCreate/TaskUpdate/TaskList tool events via SessionStore.processTaskTracking for real-time task state sync - Parse tool_result and tool_response in Python hook script to extract resolved task IDs back to Swift - Add HookEvent fields: toolResult, resolvedTaskId, resolvedTaskSubject - Add collapsible Task Board UI above chat messages with per-task segmented progress bar, status icons, and spinning animation for in-progress tasks - Track ExitPlanMode tool calls to capture plan content and render it inline below the tool call in chat - Add Markdown.Table rendering support with styled header, borders, and rounded corners - Show project name as subtitle in chat header and instance list - Add PlanDetailView, PlanPreviewView, and PlanWindowController
Update lastMessage and summary even when no new chat messages arrive, so the UI reflects edits and reordering that happen outside of new message arrivals.
09829c5 to
a788a90
Compare
Author
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Summary
Markdown.Tablewith styled headers, borders, and rounded cornerstool_resultandtool_responsefrom the Python hook script to Swift for task ID resolution (temp ID → real ID)Changes
SessionState.swiftTaskItemmodel,tasks/planContent/planFilePathproperties, and task lifecycle methodsSessionStore.swiftprocessTaskTrackingandprocessPlanTrackingevent handlersclaude-island-state.pytool_result/tool_responseto extract resolved task IDsHookSocketServer.swifttoolResult,resolvedTaskId,resolvedTaskSubjectfields toHookEventChatView.swiftMarkdownRenderer.swiftMarkdown.Tablerendering supportClaudeInstancesView.swiftPlanDetailView.swiftPlanPreviewView.swiftPlanWindowController.swiftTest plan