@opengsd/gsd-pi 1.1.1-dev.154fd443 → 1.1.1-dev.1854a79a
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/project-sessions.js +4 -2
- package/dist/resources/.managed-resources-content-hash +1 -1
- package/dist/resources/extensions/browser-tools/index.js +39 -22
- package/dist/resources/extensions/browser-tools/state.js +12 -0
- package/dist/resources/extensions/browser-tools/tools/session.js +3 -2
- package/dist/resources/extensions/browser-tools/utils.js +3 -3
- package/dist/resources/extensions/claude-code-cli/stream-adapter.js +17 -9
- package/dist/resources/extensions/gsd/auto/contracts.js +8 -1
- package/dist/resources/extensions/gsd/auto/orchestrator.js +659 -57
- package/dist/resources/extensions/gsd/auto-prompts.js +14 -1
- package/dist/resources/extensions/gsd/auto-runtime-state.js +3 -0
- package/dist/resources/extensions/gsd/auto-tool-tracking.js +5 -0
- package/dist/resources/extensions/gsd/auto-unit-tool-scope.js +29 -0
- package/dist/resources/extensions/gsd/auto.js +62 -464
- package/dist/resources/extensions/gsd/bootstrap/register-hooks.js +2 -1
- package/dist/resources/extensions/gsd/debug-logger.js +10 -0
- package/dist/resources/extensions/gsd/doctor-proactive.js +7 -2
- package/dist/resources/extensions/gsd/markdown-renderer.js +31 -32
- package/dist/resources/extensions/gsd/mcp-filter.js +6 -0
- package/dist/resources/extensions/gsd/native-git-bridge.js +9 -0
- package/dist/resources/extensions/gsd/prompts/plan-slice.md +1 -1
- package/dist/resources/extensions/gsd/schemas/parsers.js +6 -1
- package/dist/resources/extensions/gsd/state-reconciliation/drift/artifact-db.js +21 -1
- package/dist/resources/extensions/gsd/tools/workflow-tool-executors.js +169 -20
- package/dist/web/standalone/.next/BUILD_ID +1 -1
- package/dist/web/standalone/.next/app-path-routes-manifest.json +6 -6
- package/dist/web/standalone/.next/build-manifest.json +2 -2
- package/dist/web/standalone/.next/prerender-manifest.json +3 -3
- package/dist/web/standalone/.next/server/app/_global-error.html +1 -1
- package/dist/web/standalone/.next/server/app/_global-error.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_not-found.html +1 -1
- package/dist/web/standalone/.next/server/app/_not-found.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/api/boot/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/bridge-terminal/input/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/bridge-terminal/resize/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/bridge-terminal/stream/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/captures/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/cleanup/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/doctor/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/export-data/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/files/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/forensics/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/git/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/git/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/history/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/hooks/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/inspect/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/knowledge/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/live-state/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/mcp-connections/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/notifications/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/onboarding/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/projects/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/recovery/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/session/browser/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/session/command/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/session/events/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/session/manage/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/settings-data/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/shutdown/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/skill-health/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/steer/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/switch-root/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/terminal/sessions/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/terminal/stream/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/undo/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/api/visualizer/route.js.nft.json +1 -1
- package/dist/web/standalone/.next/server/app/index.html +1 -1
- package/dist/web/standalone/.next/server/app/index.rsc +1 -1
- package/dist/web/standalone/.next/server/app/index.segments/__PAGE__.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/index.segments/_full.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/index.segments/_head.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/index.segments/_index.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/index.segments/_tree.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app-paths-manifest.json +6 -6
- package/dist/web/standalone/.next/server/chunks/5047.js +2 -0
- package/dist/web/standalone/.next/server/chunks/5124.js +1 -0
- package/dist/web/standalone/.next/server/chunks/8357.js +2 -2
- package/dist/web/standalone/.next/server/middleware-build-manifest.js +1 -1
- package/dist/web/standalone/.next/server/pages/404.html +1 -1
- package/dist/web/standalone/.next/server/pages/500.html +1 -1
- package/dist/web/standalone/.next/server/server-reference-manifest.json +1 -1
- package/dist/web/standalone/node_modules/node-pty/build/Makefile +1 -1
- package/package.json +6 -4
- package/packages/cloud-mcp-gateway/package.json +2 -2
- package/packages/contracts/package.json +1 -1
- package/packages/daemon/package.json +4 -4
- package/packages/gsd-agent-core/package.json +5 -5
- package/packages/gsd-agent-modes/dist/modes/interactive/components/assistant-message.d.ts.map +1 -1
- package/packages/gsd-agent-modes/dist/modes/interactive/components/assistant-message.js +21 -23
- package/packages/gsd-agent-modes/dist/modes/interactive/components/assistant-message.js.map +1 -1
- package/packages/gsd-agent-modes/dist/modes/interactive/components/transcript-design.js +1 -1
- package/packages/gsd-agent-modes/dist/modes/interactive/components/transcript-design.js.map +1 -1
- package/packages/gsd-agent-modes/dist/modes/interactive/controllers/chat-controller.d.ts.map +1 -1
- package/packages/gsd-agent-modes/dist/modes/interactive/controllers/chat-controller.js +18 -11
- package/packages/gsd-agent-modes/dist/modes/interactive/controllers/chat-controller.js.map +1 -1
- package/packages/gsd-agent-modes/dist/modes/interactive/interactive-chat-render.d.ts.map +1 -1
- package/packages/gsd-agent-modes/dist/modes/interactive/interactive-chat-render.js +16 -0
- package/packages/gsd-agent-modes/dist/modes/interactive/interactive-chat-render.js.map +1 -1
- package/packages/gsd-agent-modes/package.json +7 -7
- package/packages/mcp-server/package.json +3 -3
- package/packages/native/package.json +1 -1
- package/packages/pi-agent-core/package.json +1 -1
- package/packages/pi-ai/dist/models.generated.d.ts +0 -34
- package/packages/pi-ai/dist/models.generated.d.ts.map +1 -1
- package/packages/pi-ai/dist/models.generated.js +0 -34
- package/packages/pi-ai/dist/models.generated.js.map +1 -1
- package/packages/pi-ai/package.json +1 -1
- package/packages/pi-coding-agent/dist/core/auth-storage.d.ts.map +1 -1
- package/packages/pi-coding-agent/dist/core/auth-storage.js +11 -3
- package/packages/pi-coding-agent/dist/core/auth-storage.js.map +1 -1
- package/packages/pi-coding-agent/dist/core/settings-manager.js +1 -1
- package/packages/pi-coding-agent/dist/core/settings-manager.js.map +1 -1
- package/packages/pi-coding-agent/package.json +7 -7
- package/packages/pi-tui/package.json +2 -2
- package/packages/rpc-client/package.json +2 -2
- package/pkg/package.json +1 -1
- package/src/resources/extensions/browser-tools/index.ts +39 -22
- package/src/resources/extensions/browser-tools/state.ts +13 -0
- package/src/resources/extensions/browser-tools/tests/browser-tools-unit.test.cjs +57 -0
- package/src/resources/extensions/browser-tools/tools/session.ts +4 -2
- package/src/resources/extensions/browser-tools/utils.ts +3 -3
- package/src/resources/extensions/claude-code-cli/stream-adapter.ts +18 -8
- package/src/resources/extensions/claude-code-cli/tests/stream-adapter.test.ts +2 -2
- package/src/resources/extensions/gsd/auto/contracts.ts +8 -119
- package/src/resources/extensions/gsd/auto/orchestrator.ts +794 -58
- package/src/resources/extensions/gsd/auto-prompts.ts +21 -1
- package/src/resources/extensions/gsd/auto-runtime-state.ts +4 -0
- package/src/resources/extensions/gsd/auto-tool-tracking.ts +5 -0
- package/src/resources/extensions/gsd/auto-unit-tool-scope.ts +33 -0
- package/src/resources/extensions/gsd/auto.ts +81 -500
- package/src/resources/extensions/gsd/bootstrap/register-hooks.ts +2 -0
- package/src/resources/extensions/gsd/debug-logger.ts +11 -0
- package/src/resources/extensions/gsd/doctor-proactive.ts +8 -2
- package/src/resources/extensions/gsd/markdown-renderer.ts +38 -19
- package/src/resources/extensions/gsd/mcp-filter.ts +7 -0
- package/src/resources/extensions/gsd/native-git-bridge.ts +9 -0
- package/src/resources/extensions/gsd/prompts/plan-slice.md +1 -1
- package/src/resources/extensions/gsd/schemas/parsers.ts +6 -1
- package/src/resources/extensions/gsd/state-reconciliation/drift/artifact-db.ts +31 -10
- package/src/resources/extensions/gsd/tests/artifact-db-drift-memo.test.ts +66 -0
- package/src/resources/extensions/gsd/tests/auto-dispatch-baseline-harness.test.ts +53 -0
- package/src/resources/extensions/gsd/tests/auto-orchestrator.test.ts +590 -855
- package/src/resources/extensions/gsd/tests/auto-paused-ui-cleanup.test.ts +38 -10
- package/src/resources/extensions/gsd/tests/debug-logger.test.ts +15 -0
- package/src/resources/extensions/gsd/tests/execute-summary-save-empty-project.test.ts +64 -1
- package/src/resources/extensions/gsd/tests/markdown-renderer-parse-cache.test.ts +75 -0
- package/src/resources/extensions/gsd/tests/orchestrator-legacy-parity.test.ts +127 -0
- package/src/resources/extensions/gsd/tests/parse-project-milestone-bridge.test.ts +77 -0
- package/src/resources/extensions/gsd/tests/plan-slice-prompt.test.ts +4 -2
- package/src/resources/extensions/gsd/tests/start-auto-detached.test.ts +19 -5
- package/src/resources/extensions/gsd/tests/worktree-safety.test.ts +24 -0
- package/src/resources/extensions/gsd/tests/write-gate-planning-unit.test.ts +15 -3
- package/src/resources/extensions/gsd/tools/workflow-tool-executors.ts +183 -21
- package/dist/web/standalone/.next/server/chunks/678.js +0 -2
- /package/dist/web/standalone/.next/static/{vAecbJ3K9eO213bAxU8Mi → h38jfi0dnRY0y3hbyBszg}/_buildManifest.js +0 -0
- /package/dist/web/standalone/.next/static/{vAecbJ3K9eO213bAxU8Mi → h38jfi0dnRY0y3hbyBszg}/_ssgManifest.js +0 -0
|
@@ -1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a,CAAmC,CAAC;IAC3E,MAAM,IAAI,GAAG,SAAS,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC;IACpC,IAAI,CAAC,IAAI;QAAE,OAAO;IAElB,IAAI,CAAC,sBAAsB,CAAC,QAAQ,CACnC,IAAI,aAAa,CAAC,CAAC,GAAW,EAAE,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,CAAC,EAAE,eAAe,CAAC,CACzE,CAAC;IACF,IAAI,CAAC,sBAAsB,CAAC,QAAQ,CACnC,IAAI,QAAQ,CAAC,IAAI,EAAE,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,4BAA4B,EAAE,CAAC,CAC7D,CAAC;AACH,CAAC","sourcesContent":["// Project/App: gsd-pi\n// File Purpose: Extracted from interactive-mode.ts (Phase E2 seam remediation).\n\nimport type { AgentMessage } from \"@gsd/pi-agent-core\";\nimport type { AssistantMessage, Message } from \"@gsd/pi-ai\";\nimport { parseSkillBlock } from \"@gsd/agent-core\";\nimport type { SessionContext } from \"@gsd/pi-coding-agent/core/session-manager.js\";\nimport type { TruncationResult } from \"@gsd/pi-coding-agent/core/tools/truncate.js\";\nimport { Container, Markdown, Spacer, Text } from \"@gsd/pi-tui\";\nimport { theme } from \"@gsd/pi-coding-agent/theme/theme.js\";\nimport { AssistantMessageComponent } from \"./components/assistant-message.js\";\nimport { chatTurnFollowsUser, reconcileChatTurnConnections } from \"./components/chat-turn-connect.js\";\nimport { BashExecutionComponent } from \"./components/bash-execution.js\";\nimport { BranchSummaryMessageComponent } from \"./components/branch-summary-message.js\";\nimport { CompactionSummaryMessageComponent } from \"./components/compaction-summary-message.js\";\nimport { CustomMessageComponent } from \"./components/custom-message.js\";\nimport { DynamicBorder } from \"./components/dynamic-border.js\";\nimport { SkillInvocationMessageComponent } from \"./components/skill-invocation-message.js\";\nimport { ToolExecutionComponent } from \"./components/tool-execution.js\";\nimport { UserMessageComponent } from \"./components/user-message.js\";\nimport { asServerToolUse, asWebSearchResult, isToolContentBlock } from \"./gsd-content-blocks.js\";\nimport { buildAssistantReplaySegments } from \"./interactive-notify-render.js\";\nimport { MAX_CHAT_COMPONENTS } from \"./interactive-mode-class-constants.js\";\nimport type { InteractiveModeDelegateHost } from \"./interactive-mode-delegate-host.js\";\n\n\t/** Extract text content from a user message */\nexport function getUserMessageText(host: InteractiveModeDelegateHost, message: Message): string {\n\t\tif (message.role !== \"user\") return \"\";\n\t\tconst textBlocks =\n\t\t\ttypeof message.content === \"string\"\n\t\t\t\t? [{ type: \"text\", text: message.content }]\n\t\t\t\t: message.content.filter((c: { type: string }) => c.type === \"text\");\n\t\treturn textBlocks.map((c) => (c as { text: string }).text).join(\"\");\n\t}\n\n\t/**\n\t * Show a status message in the chat.\n\t *\n\t * If multiple status messages are emitted back-to-back (without anything else being added to the chat),\n\t * we update the previous status line instead of appending new ones to avoid log spam.\n\t */\nexport function showStatus(host: InteractiveModeDelegateHost, message: string, options?: { append?: boolean }): void {\n\t\tconst append = options?.append ?? false;\n\t\tconst children = host.chatContainer.children;\n\t\tconst last = children.length > 0 ? children[children.length - 1] : undefined;\n\t\tconst secondLast = children.length > 1 ? children[children.length - 2] : undefined;\n\n\t\tif (!append && last && secondLast && last === host.lastStatusText && secondLast === host.lastStatusSpacer) {\n\t\t\thost.lastStatusText.setText(theme.fg(\"dim\", message));\n\t\t\thost.ui.requestRender();\n\t\t\treturn;\n\t\t}\n\n\t\tconst spacer = new Spacer(1);\n\t\tconst text = new Text(theme.fg(\"dim\", message), 1, 0);\n\t\thost.chatContainer.addChild(spacer);\n\t\thost.chatContainer.addChild(text);\n\t\thost.lastStatusSpacer = spacer;\n\t\thost.lastStatusText = text;\n\t\thost.ui.requestRender();\n\t}\n\nfunction addUserMessageComponent(host: InteractiveModeDelegateHost, userComponent: UserMessageComponent): void {\n\thost.chatContainer.addChild(userComponent);\n}\n\nfunction finalizeChatMutation(host: InteractiveModeDelegateHost): void {\n\ttrimChatHistory(host);\n\treconcileChatTurnConnections(host.chatContainer.children);\n}\n\nexport function addMessageToChat(host: InteractiveModeDelegateHost, message: AgentMessage, options?: { populateHistory?: boolean }): void {\n\t\tconst timestampFormat = host.settingsManager.getTimestampFormat();\n\t\tswitch (message.role) {\n\t\t\tcase \"bashExecution\": {\n\t\t\t\tconst component = new BashExecutionComponent(message.command, host.ui, message.excludeFromContext);\n\t\t\t\tif (message.output) {\n\t\t\t\t\tcomponent.appendOutput(message.output);\n\t\t\t\t}\n\t\t\t\tcomponent.setComplete(\n\t\t\t\t\tmessage.exitCode,\n\t\t\t\t\tmessage.cancelled,\n\t\t\t\t\tmessage.truncated ? ({ truncated: true } as TruncationResult) : undefined,\n\t\t\t\t\tmessage.fullOutputPath,\n\t\t\t\t);\n\t\t\t\thost.chatContainer.addChild(component);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase \"custom\": {\n\t\t\t\tif (message.display) {\n\t\t\t\t\tconst renderer = host.session.extensionRunner?.getMessageRenderer(message.customType);\n\t\t\t\t\tconst component = new CustomMessageComponent(message, renderer, host.getMarkdownThemeWithSettings());\n\t\t\t\t\tcomponent.setExpanded(host.toolOutputExpanded);\n\t\t\t\t\thost.chatContainer.addChild(component);\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase \"compactionSummary\": {\n\t\t\t\thost.chatContainer.addChild(new Spacer(1));\n\t\t\t\tconst component = new CompactionSummaryMessageComponent(message, host.getMarkdownThemeWithSettings());\n\t\t\t\tcomponent.setExpanded(host.toolOutputExpanded);\n\t\t\t\thost.chatContainer.addChild(component);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase \"branchSummary\": {\n\t\t\t\thost.chatContainer.addChild(new Spacer(1));\n\t\t\t\tconst component = new BranchSummaryMessageComponent(message, host.getMarkdownThemeWithSettings());\n\t\t\t\tcomponent.setExpanded(host.toolOutputExpanded);\n\t\t\t\thost.chatContainer.addChild(component);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase \"user\": {\n\t\t\t\tconst textContent = getUserMessageText(host, message);\n\t\t\t\tif (textContent) {\n\t\t\t\t\tconst skillBlock = parseSkillBlock(textContent);\n\t\t\t\t\tif (skillBlock) {\n\t\t\t\t\t\t// Render skill block (collapsible)\n\t\t\t\t\t\thost.chatContainer.addChild(new Spacer(1));\n\t\t\t\t\t\tconst component = new SkillInvocationMessageComponent(\n\t\t\t\t\t\t\tskillBlock,\n\t\t\t\t\t\t\thost.getMarkdownThemeWithSettings(),\n\t\t\t\t\t\t);\n\t\t\t\t\t\tcomponent.setExpanded(host.toolOutputExpanded);\n\t\t\t\t\t\thost.chatContainer.addChild(component);\n\t\t\t\t\t\t// Render user message separately if present\n\t\t\t\t\t\tif (skillBlock.userMessage) {\n\t\t\t\t\t\t\tconst userComponent = new UserMessageComponent(\n\t\t\t\t\t\t\t\tskillBlock.userMessage,\n\t\t\t\t\t\t\t\thost.getMarkdownThemeWithSettings(),\n\t\t\t\t\t\t\t\tmessage.timestamp,\n\t\t\t\t\t\t\t\ttimestampFormat,\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\taddUserMessageComponent(host, userComponent);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tconst userComponent = new UserMessageComponent(textContent, host.getMarkdownThemeWithSettings(), message.timestamp, timestampFormat);\n\t\t\t\t\t\taddUserMessageComponent(host, userComponent);\n\t\t\t\t\t}\n\t\t\t\t\tif (options?.populateHistory) {\n\t\t\t\t\t\thost.editor.addToHistory?.(textContent);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase \"assistant\": {\n\t\t\t\tconst connectedToUser = chatTurnFollowsUser(host.chatContainer.children);\n\t\t\t\tconst assistantComponent = new AssistantMessageComponent(\n\t\t\t\t\tmessage,\n\t\t\t\t\thost.hideThinkingBlock,\n\t\t\t\t\thost.getMarkdownThemeWithSettings(),\n\t\t\t\t\ttimestampFormat,\n\t\t\t\t\tundefined,\n\t\t\t\t\tconnectedToUser,\n\t\t\t\t);\n\t\t\t\thost.chatContainer.addChild(assistantComponent);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase \"toolResult\": {\n\t\t\t\t// Tool results are rendered inline with tool calls, handled separately\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tdefault: {\n\t\t\t\tconst _exhaustive: never = message;\n\t\t\t}\n\t\t}\n\t\tfinalizeChatMutation(host);\n\t}\n\n\t/**\n\t * Remove oldest components when chat exceeds MAX_CHAT_COMPONENTS.\n\t * Only render-components are removed — session data stays in SessionManager.\n\t */\nexport function trimChatHistory(host: InteractiveModeDelegateHost): void {\n\t\twhile (host.chatContainer.children.length > MAX_CHAT_COMPONENTS) {\n\t\t\tconst oldest = host.chatContainer.children[0];\n\t\t\thost.chatContainer.removeChild(oldest);\n\t\t}\n\t}\n\n\t/**\n\t * Render session context to chat. Used for initial load and rebuild after compaction.\n\t * @param sessionContext Session context to render\n\t * @param options.updateFooter Update footer state\n\t * @param options.populateHistory Add user messages to editor history\n\t */\nexport function renderSessionContext(host: InteractiveModeDelegateHost, \n\t\tsessionContext: SessionContext,\n\t\toptions: { updateFooter?: boolean; populateHistory?: boolean } = {},\n\t): void {\n\t\thost.pendingTools.clear();\n\t\tconst timestampFormat = host.settingsManager.getTimestampFormat();\n\n\t\tif (options.updateFooter) {\n\t\t\thost.footer.invalidate();\n\t\t\thost.updateEditorBorderColor();\n\t\t}\n\n\t\tfor (const message of sessionContext.messages) {\n\t\t\t// Assistant messages need special handling for tool calls\n\t\t\tif (message.role === \"assistant\") {\n\t\t\t\tconst hasToolBlocks = message.content.some((c) => isToolContentBlock(c));\n\t\t\t\tif (!hasToolBlocks) {\n\t\t\t\t\taddMessageToChat(host, message);\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tconst assistantSegments: AssistantMessageComponent[] = [];\n\t\t\t\tconst replaySegments = buildAssistantReplaySegments(message.content);\n\n\t\t\t\tfor (const segment of replaySegments) {\n\t\t\t\t\tif (segment.kind === \"assistant\") {\n\t\t\t\t\t\tconst connectedToUser = chatTurnFollowsUser(host.chatContainer.children);\n\t\t\t\t\t\tconst assistantComponent = new AssistantMessageComponent(\n\t\t\t\t\t\t\tmessage,\n\t\t\t\t\t\t\thost.hideThinkingBlock,\n\t\t\t\t\t\t\thost.getMarkdownThemeWithSettings(),\n\t\t\t\t\t\t\ttimestampFormat,\n\t\t\t\t\t\t\t{ startIndex: segment.startIndex, endIndex: segment.endIndex },\n\t\t\t\t\t\t\tconnectedToUser,\n\t\t\t\t\t\t);\n\t\t\t\t\t\thost.chatContainer.addChild(assistantComponent);\n\t\t\t\t\t\tassistantSegments.push(assistantComponent);\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\n\t\t\t\t\tconst content = message.content[segment.contentIndex];\n\t\t\t\t\tif (content.type === \"toolCall\") {\n\t\t\t\t\t\tconst component = new ToolExecutionComponent(\n\t\t\t\t\t\t\tcontent.name,\n\t\t\t\t\t\t\tcontent.arguments,\n\t\t\t\t\t\t\t{ showImages: host.settingsManager.getShowImages() },\n\t\t\t\t\t\t\thost.getRegisteredToolDefinition(content.name),\n\t\t\t\t\t\t\thost.ui,\n\t\t\t\t\t\t);\n\t\t\t\t\t\tcomponent.setExpanded(host.toolOutputExpanded);\n\t\t\t\t\t\thost.chatContainer.addChild(component);\n\n\t\t\t\t\t\tif (message.stopReason === \"aborted\" || message.stopReason === \"error\") {\n\t\t\t\t\t\t\tlet errorMessage: string;\n\t\t\t\t\t\t\tif (message.stopReason === \"aborted\") {\n\t\t\t\t\t\t\t\tconst retryAttempt = host.session.retryAttempt;\n\t\t\t\t\t\t\t\terrorMessage =\n\t\t\t\t\t\t\t\t\tretryAttempt > 0\n\t\t\t\t\t\t\t\t\t\t? `Aborted after ${retryAttempt} retry attempt${retryAttempt > 1 ? \"s\" : \"\"}`\n\t\t\t\t\t\t\t\t\t\t: \"Operation aborted\";\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\terrorMessage = message.errorMessage || \"Error\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tcomponent.updateResult({ content: [{ type: \"text\", text: errorMessage }], isError: true });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\thost.pendingTools.set(content.id, component);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tconst serverTool = asServerToolUse(content);\n\t\t\t\t\t\tif (serverTool) {\n\t\t\t\t\t\t// Server-side tool (e.g., native web search)\n\t\t\t\t\t\tconst component = new ToolExecutionComponent(\n\t\t\t\t\t\t\tserverTool.name,\n\t\t\t\t\t\t\tserverTool.input ?? {},\n\t\t\t\t\t\t\t{ showImages: host.settingsManager.getShowImages() },\n\t\t\t\t\t\t\tundefined,\n\t\t\t\t\t\t\thost.ui,\n\t\t\t\t\t\t);\n\t\t\t\t\t\tcomponent.setExpanded(host.toolOutputExpanded);\n\t\t\t\t\t\thost.chatContainer.addChild(component);\n\t\t\t\t\t\t// Find matching webSearchResult in host message's content\n\t\t\t\t\t\tconst resultBlock = message.content\n\t\t\t\t\t\t\t.map(asWebSearchResult)\n\t\t\t\t\t\t\t.find((block) => block && block.toolUseId === serverTool.id);\n\t\t\t\t\t\tif (resultBlock) {\n\t\t\t\t\t\t\tconst searchContent = resultBlock.content;\n\t\t\t\t\t\t\tconst isError = searchContent && typeof searchContent === \"object\" && \"type\" in (searchContent as any) && (searchContent as any).type === \"web_search_tool_result_error\";\n\t\t\t\t\t\t\tconst resultText = host.formatWebSearchResult(searchContent);\n\t\t\t\t\t\t\tcomponent.updateResult({\n\t\t\t\t\t\t\t\tcontent: [{ type: \"text\", text: resultText }],\n\t\t\t\t\t\t\t\tisError: !!isError,\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// No result yet (aborted stream?) — show as pending\n\t\t\t\t\t\t\thost.pendingTools.set(serverTool.id, component);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Match streaming-mode behavior: show metadata once on the final\n\t\t\t\t// assistant prose segment for host message.\n\t\t\t\tconst lastAssistantSegment = assistantSegments[assistantSegments.length - 1];\n\t\t\t\tlastAssistantSegment?.setShowMetadata(true);\n\t\t\t} else if (message.role === \"toolResult\") {\n\t\t\t\t// Match tool results to pending tool components\n\t\t\t\tconst component = host.pendingTools.get(message.toolCallId);\n\t\t\t\tif (component) {\n\t\t\t\t\tcomponent.updateResult(message);\n\t\t\t\t\thost.pendingTools.delete(message.toolCallId);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\t// All other messages use standard rendering\n\t\t\t\taddMessageToChat(host, message, options);\n\t\t\t}\n\t\t}\n\n\t\t// Any pendingTools entries left over after replay are historical tool\n\t\t// calls whose results were squashed out of session context (commonly by\n\t\t// compaction). Mark them finished so the frame stops showing \"Running\".\n\t\tfor (const component of host.pendingTools.values()) {\n\t\t\tcomponent.markHistoricalNoResult();\n\t\t}\n\t\thost.pendingTools.clear();\n\t\ttrimChatHistory(host);\n\t\treconcileChatTurnConnections(host.chatContainer.children);\n\t\thost.ui.requestRender();\n\t}\n\nexport function renderInitialMessages(host: InteractiveModeDelegateHost): void {\n\t\tconst context = host.sessionManager.buildSessionContext();\n\t\trenderSessionContext(host, context, {\n\t\t\tupdateFooter: true,\n\t\t\tpopulateHistory: true,\n\t\t});\n\t\tpopulatePinnedFromMessages(host, context.messages);\n\n\t\tconst allEntries = host.sessionManager.getEntries();\n\t\tconst compactionCount = allEntries.filter((e: { type: string }) => e.type === \"compaction\").length;\n\t\tif (compactionCount > 0) {\n\t\t\tconst times = compactionCount === 1 ? \"1 time\" : `${compactionCount} times`;\n\t\t\tshowStatus(host, `Session compacted ${times}`);\n\t\t}\n\t}\n\nexport async function getUserInput(host: InteractiveModeDelegateHost): Promise<string> {\n\t\treturn new Promise((resolve) => {\n\t\t\thost.onInputCallback = (text: string) => {\n\t\t\t\thost.onInputCallback = undefined;\n\t\t\t\tresolve(text);\n\t\t\t};\n\t\t});\n\t}\n\nexport function rebuildChatFromMessages(host: InteractiveModeDelegateHost): void {\n\t\thost.chatContainer.clear();\n\t\thost.pinnedMessageContainer.clear();\n\t\tconst context = host.sessionManager.buildSessionContext();\n\t\trenderSessionContext(host, context);\n\t\t// Pinned content NOT re-populated here — the streaming lifecycle in\n\t\t// chat-controller.ts manages the pinned zone during active work.\n\t\t// populatePinnedFromMessages() remains in renderInitialMessages()\n\t\t// for the session-resume case at startup.\n\t}\n\n\t/**\n\t * After rebuilding chat from messages, pin the last assistant text above the\n\t * editor if tool results would otherwise push it out of the viewport.\n\t */\nexport function populatePinnedFromMessages(host: InteractiveModeDelegateHost, messages: AgentMessage[]): void {\n\t\thost.pinnedMessageContainer.clear();\n\n\t\t// Walk backwards to find the last assistant message\n\t\tlet lastAssistant: AssistantMessage | undefined;\n\t\tfor (let i = messages.length - 1; i >= 0; i--) {\n\t\t\tconst msg = messages[i];\n\t\t\tif (msg && \"role\" in msg && msg.role === \"assistant\") {\n\t\t\t\tlastAssistant = msg as AssistantMessage;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif (!lastAssistant) return;\n\n\t\t// Check if any tool calls follow the last text block\n\t\tconst content = lastAssistant.content;\n\t\tlet lastTextIndex = -1;\n\t\tlet hasToolAfterText = false;\n\t\tfor (let i = 0; i < content.length; i++) {\n\t\t\tif (content[i].type === \"text\") lastTextIndex = i;\n\t\t}\n\t\tif (lastTextIndex >= 0) {\n\t\t\tfor (let i = lastTextIndex + 1; i < content.length; i++) {\n\t\t\t\tif (isToolContentBlock(content[i])) {\n\t\t\t\t\thasToolAfterText = true;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (!hasToolAfterText || lastTextIndex < 0) return;\n\n\t\tconst textBlock = content[lastTextIndex] as { type: \"text\"; text: string };\n\t\tconst text = textBlock.text?.trim();\n\t\tif (!text) return;\n\n\t\thost.pinnedMessageContainer.addChild(\n\t\t\tnew DynamicBorder((str: string) => theme.fg(\"dim\", str), \"Latest Output\"),\n\t\t);\n\t\thost.pinnedMessageContainer.addChild(\n\t\t\tnew Markdown(text, 1, 0, host.getMarkdownThemeWithSettings()),\n\t\t);\n\t}\n"]}
|
|
1
|
+
{"version":3,"file":"interactive-chat-render.js","sourceRoot":"","sources":["../../../src/modes/interactive/interactive-chat-render.ts"],"names":[],"mappings":"AAAA,sBAAsB;AACtB,gFAAgF;AAIhF,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAGlD,OAAO,EAAa,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAChE,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAC5D,OAAO,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAC9E,OAAO,EAAE,mBAAmB,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACtG,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,EAAE,6BAA6B,EAAE,MAAM,wCAAwC,CAAC;AACvF,OAAO,EAAE,iCAAiC,EAAE,MAAM,4CAA4C,CAAC;AAC/F,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,+BAA+B,EAAE,MAAM,0CAA0C,CAAC;AAC3F,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AACjG,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAC9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AAG3E,+CAA+C;AAChD,MAAM,UAAU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AE,OAAO;IAEnD,MAAM,SAAS,GAAG,OAAO,CAAC,aAAa,CAAmC,CAAC;IAC3E,MAAM,IAAI,GAAG,SAAS,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC;IACpC,IAAI,CAAC,IAAI;QAAE,OAAO;IAElB,IAAI,CAAC,sBAAsB,CAAC,QAAQ,CACnC,IAAI,aAAa,CAAC,CAAC,GAAW,EAAE,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,CAAC,EAAE,eAAe,CAAC,CACzE,CAAC;IACF,IAAI,CAAC,sBAAsB,CAAC,QAAQ,CACnC,IAAI,QAAQ,CAAC,IAAI,EAAE,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,4BAA4B,EAAE,CAAC,CAC7D,CAAC;AACH,CAAC","sourcesContent":["// Project/App: gsd-pi\n// File Purpose: Extracted from interactive-mode.ts (Phase E2 seam remediation).\n\nimport type { AgentMessage } from \"@gsd/pi-agent-core\";\nimport type { AssistantMessage, Message } from \"@gsd/pi-ai\";\nimport { parseSkillBlock } from \"@gsd/agent-core\";\nimport type { SessionContext } from \"@gsd/pi-coding-agent/core/session-manager.js\";\nimport type { TruncationResult } from \"@gsd/pi-coding-agent/core/tools/truncate.js\";\nimport { Container, Markdown, Spacer, Text } from \"@gsd/pi-tui\";\nimport { theme } from \"@gsd/pi-coding-agent/theme/theme.js\";\nimport { AssistantMessageComponent } from \"./components/assistant-message.js\";\nimport { chatTurnFollowsUser, reconcileChatTurnConnections } from \"./components/chat-turn-connect.js\";\nimport { BashExecutionComponent } from \"./components/bash-execution.js\";\nimport { BranchSummaryMessageComponent } from \"./components/branch-summary-message.js\";\nimport { CompactionSummaryMessageComponent } from \"./components/compaction-summary-message.js\";\nimport { CustomMessageComponent } from \"./components/custom-message.js\";\nimport { DynamicBorder } from \"./components/dynamic-border.js\";\nimport { SkillInvocationMessageComponent } from \"./components/skill-invocation-message.js\";\nimport { ToolExecutionComponent } from \"./components/tool-execution.js\";\nimport { UserMessageComponent } from \"./components/user-message.js\";\nimport { asServerToolUse, asWebSearchResult, isToolContentBlock } from \"./gsd-content-blocks.js\";\nimport { buildAssistantReplaySegments } from \"./interactive-notify-render.js\";\nimport { MAX_CHAT_COMPONENTS } from \"./interactive-mode-class-constants.js\";\nimport type { InteractiveModeDelegateHost } from \"./interactive-mode-delegate-host.js\";\n\n\t/** Extract text content from a user message */\nexport function getUserMessageText(host: InteractiveModeDelegateHost, message: Message): string {\n\t\tif (message.role !== \"user\") return \"\";\n\t\tconst textBlocks =\n\t\t\ttypeof message.content === \"string\"\n\t\t\t\t? [{ type: \"text\", text: message.content }]\n\t\t\t\t: message.content.filter((c: { type: string }) => c.type === \"text\");\n\t\treturn textBlocks.map((c) => (c as { text: string }).text).join(\"\");\n\t}\n\n\t/**\n\t * Show a status message in the chat.\n\t *\n\t * If multiple status messages are emitted back-to-back (without anything else being added to the chat),\n\t * we update the previous status line instead of appending new ones to avoid log spam.\n\t */\nexport function showStatus(host: InteractiveModeDelegateHost, message: string, options?: { append?: boolean }): void {\n\t\tconst append = options?.append ?? false;\n\t\tconst children = host.chatContainer.children;\n\t\tconst last = children.length > 0 ? children[children.length - 1] : undefined;\n\t\tconst secondLast = children.length > 1 ? children[children.length - 2] : undefined;\n\n\t\tif (!append && last && secondLast && last === host.lastStatusText && secondLast === host.lastStatusSpacer) {\n\t\t\thost.lastStatusText.setText(theme.fg(\"dim\", message));\n\t\t\thost.ui.requestRender();\n\t\t\treturn;\n\t\t}\n\n\t\tconst spacer = new Spacer(1);\n\t\tconst text = new Text(theme.fg(\"dim\", message), 1, 0);\n\t\thost.chatContainer.addChild(spacer);\n\t\thost.chatContainer.addChild(text);\n\t\thost.lastStatusSpacer = spacer;\n\t\thost.lastStatusText = text;\n\t\thost.ui.requestRender();\n\t}\n\nfunction addUserMessageComponent(host: InteractiveModeDelegateHost, userComponent: UserMessageComponent): void {\n\thost.chatContainer.addChild(userComponent);\n}\n\nfunction hasAssistantVisibleContent(content: Array<any>, hideThinkingBlock: boolean): boolean {\n\treturn content.some((c: any) => {\n\t\tif (c?.type === \"text\" && typeof c.text === \"string\" && c.text.trim().length > 0) return true;\n\t\tif (!hideThinkingBlock && c?.type === \"thinking\" && typeof c.thinking === \"string\" && c.thinking.trim().length > 0) return true;\n\t\treturn false;\n\t});\n}\n\nfunction finalizeChatMutation(host: InteractiveModeDelegateHost): void {\n\ttrimChatHistory(host);\n\treconcileChatTurnConnections(host.chatContainer.children);\n}\n\nexport function addMessageToChat(host: InteractiveModeDelegateHost, message: AgentMessage, options?: { populateHistory?: boolean }): void {\n\t\tconst timestampFormat = host.settingsManager.getTimestampFormat();\n\t\tswitch (message.role) {\n\t\t\tcase \"bashExecution\": {\n\t\t\t\tconst component = new BashExecutionComponent(message.command, host.ui, message.excludeFromContext);\n\t\t\t\tif (message.output) {\n\t\t\t\t\tcomponent.appendOutput(message.output);\n\t\t\t\t}\n\t\t\t\tcomponent.setComplete(\n\t\t\t\t\tmessage.exitCode,\n\t\t\t\t\tmessage.cancelled,\n\t\t\t\t\tmessage.truncated ? ({ truncated: true } as TruncationResult) : undefined,\n\t\t\t\t\tmessage.fullOutputPath,\n\t\t\t\t);\n\t\t\t\thost.chatContainer.addChild(component);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase \"custom\": {\n\t\t\t\tif (message.display) {\n\t\t\t\t\tconst renderer = host.session.extensionRunner?.getMessageRenderer(message.customType);\n\t\t\t\t\tconst component = new CustomMessageComponent(message, renderer, host.getMarkdownThemeWithSettings());\n\t\t\t\t\tcomponent.setExpanded(host.toolOutputExpanded);\n\t\t\t\t\thost.chatContainer.addChild(component);\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase \"compactionSummary\": {\n\t\t\t\thost.chatContainer.addChild(new Spacer(1));\n\t\t\t\tconst component = new CompactionSummaryMessageComponent(message, host.getMarkdownThemeWithSettings());\n\t\t\t\tcomponent.setExpanded(host.toolOutputExpanded);\n\t\t\t\thost.chatContainer.addChild(component);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase \"branchSummary\": {\n\t\t\t\thost.chatContainer.addChild(new Spacer(1));\n\t\t\t\tconst component = new BranchSummaryMessageComponent(message, host.getMarkdownThemeWithSettings());\n\t\t\t\tcomponent.setExpanded(host.toolOutputExpanded);\n\t\t\t\thost.chatContainer.addChild(component);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase \"user\": {\n\t\t\t\tconst textContent = getUserMessageText(host, message);\n\t\t\t\tif (textContent) {\n\t\t\t\t\tconst skillBlock = parseSkillBlock(textContent);\n\t\t\t\t\tif (skillBlock) {\n\t\t\t\t\t\t// Render skill block (collapsible)\n\t\t\t\t\t\thost.chatContainer.addChild(new Spacer(1));\n\t\t\t\t\t\tconst component = new SkillInvocationMessageComponent(\n\t\t\t\t\t\t\tskillBlock,\n\t\t\t\t\t\t\thost.getMarkdownThemeWithSettings(),\n\t\t\t\t\t\t);\n\t\t\t\t\t\tcomponent.setExpanded(host.toolOutputExpanded);\n\t\t\t\t\t\thost.chatContainer.addChild(component);\n\t\t\t\t\t\t// Render user message separately if present\n\t\t\t\t\t\tif (skillBlock.userMessage) {\n\t\t\t\t\t\t\tconst userComponent = new UserMessageComponent(\n\t\t\t\t\t\t\t\tskillBlock.userMessage,\n\t\t\t\t\t\t\t\thost.getMarkdownThemeWithSettings(),\n\t\t\t\t\t\t\t\tmessage.timestamp,\n\t\t\t\t\t\t\t\ttimestampFormat,\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\taddUserMessageComponent(host, userComponent);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tconst userComponent = new UserMessageComponent(textContent, host.getMarkdownThemeWithSettings(), message.timestamp, timestampFormat);\n\t\t\t\t\t\taddUserMessageComponent(host, userComponent);\n\t\t\t\t\t}\n\t\t\t\t\tif (options?.populateHistory) {\n\t\t\t\t\t\thost.editor.addToHistory?.(textContent);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase \"assistant\": {\n\t\t\t\tconst hasToolBlocks = message.content.some((c: any) => isToolContentBlock(c));\n\t\t\t\tconst isAbortOrError = message.stopReason === \"aborted\" || message.stopReason === \"error\";\n\t\t\t\tif (!hasAssistantVisibleContent(message.content, host.hideThinkingBlock) && !(isAbortOrError && !hasToolBlocks)) break;\n\t\t\t\tconst connectedToUser = chatTurnFollowsUser(host.chatContainer.children);\n\t\t\t\tconst assistantComponent = new AssistantMessageComponent(\n\t\t\t\t\tmessage,\n\t\t\t\t\thost.hideThinkingBlock,\n\t\t\t\t\thost.getMarkdownThemeWithSettings(),\n\t\t\t\t\ttimestampFormat,\n\t\t\t\t\tundefined,\n\t\t\t\t\tconnectedToUser,\n\t\t\t\t);\n\t\t\t\thost.chatContainer.addChild(assistantComponent);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase \"toolResult\": {\n\t\t\t\t// Tool results are rendered inline with tool calls, handled separately\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tdefault: {\n\t\t\t\tconst _exhaustive: never = message;\n\t\t\t}\n\t\t}\n\t\tfinalizeChatMutation(host);\n\t}\n\n\t/**\n\t * Remove oldest components when chat exceeds MAX_CHAT_COMPONENTS.\n\t * Only render-components are removed — session data stays in SessionManager.\n\t */\nexport function trimChatHistory(host: InteractiveModeDelegateHost): void {\n\t\twhile (host.chatContainer.children.length > MAX_CHAT_COMPONENTS) {\n\t\t\tconst oldest = host.chatContainer.children[0];\n\t\t\thost.chatContainer.removeChild(oldest);\n\t\t}\n\t}\n\n\t/**\n\t * Render session context to chat. Used for initial load and rebuild after compaction.\n\t * @param sessionContext Session context to render\n\t * @param options.updateFooter Update footer state\n\t * @param options.populateHistory Add user messages to editor history\n\t */\nexport function renderSessionContext(host: InteractiveModeDelegateHost, \n\t\tsessionContext: SessionContext,\n\t\toptions: { updateFooter?: boolean; populateHistory?: boolean } = {},\n\t): void {\n\t\thost.pendingTools.clear();\n\t\tconst timestampFormat = host.settingsManager.getTimestampFormat();\n\n\t\tif (options.updateFooter) {\n\t\t\thost.footer.invalidate();\n\t\t\thost.updateEditorBorderColor();\n\t\t}\n\n\t\tfor (const message of sessionContext.messages) {\n\t\t\t// Assistant messages need special handling for tool calls\n\t\t\tif (message.role === \"assistant\") {\n\t\t\t\tconst hasToolBlocks = message.content.some((c) => isToolContentBlock(c));\n\t\t\t\tif (!hasToolBlocks) {\n\t\t\t\t\taddMessageToChat(host, message);\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tconst assistantSegments: AssistantMessageComponent[] = [];\n\t\t\t\tconst replaySegments = buildAssistantReplaySegments(message.content);\n\n\t\t\t\tfor (const segment of replaySegments) {\n\t\t\t\t\tif (segment.kind === \"assistant\") {\n\t\t\t\t\t\tconst segContent = message.content.slice(segment.startIndex, segment.endIndex + 1);\n\t\t\t\t\t\tif (!hasAssistantVisibleContent(segContent, host.hideThinkingBlock)) continue;\n\t\t\t\t\t\tconst connectedToUser = chatTurnFollowsUser(host.chatContainer.children);\n\t\t\t\t\t\tconst assistantComponent = new AssistantMessageComponent(\n\t\t\t\t\t\t\tmessage,\n\t\t\t\t\t\t\thost.hideThinkingBlock,\n\t\t\t\t\t\t\thost.getMarkdownThemeWithSettings(),\n\t\t\t\t\t\t\ttimestampFormat,\n\t\t\t\t\t\t\t{ startIndex: segment.startIndex, endIndex: segment.endIndex },\n\t\t\t\t\t\t\tconnectedToUser,\n\t\t\t\t\t\t);\n\t\t\t\t\t\thost.chatContainer.addChild(assistantComponent);\n\t\t\t\t\t\tassistantSegments.push(assistantComponent);\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\n\t\t\t\t\tconst content = message.content[segment.contentIndex];\n\t\t\t\t\tif (content.type === \"toolCall\") {\n\t\t\t\t\t\tconst component = new ToolExecutionComponent(\n\t\t\t\t\t\t\tcontent.name,\n\t\t\t\t\t\t\tcontent.arguments,\n\t\t\t\t\t\t\t{ showImages: host.settingsManager.getShowImages() },\n\t\t\t\t\t\t\thost.getRegisteredToolDefinition(content.name),\n\t\t\t\t\t\t\thost.ui,\n\t\t\t\t\t\t);\n\t\t\t\t\t\tcomponent.setExpanded(host.toolOutputExpanded);\n\t\t\t\t\t\thost.chatContainer.addChild(component);\n\n\t\t\t\t\t\tif (message.stopReason === \"aborted\" || message.stopReason === \"error\") {\n\t\t\t\t\t\t\tlet errorMessage: string;\n\t\t\t\t\t\t\tif (message.stopReason === \"aborted\") {\n\t\t\t\t\t\t\t\tconst retryAttempt = host.session.retryAttempt;\n\t\t\t\t\t\t\t\terrorMessage =\n\t\t\t\t\t\t\t\t\tretryAttempt > 0\n\t\t\t\t\t\t\t\t\t\t? `Aborted after ${retryAttempt} retry attempt${retryAttempt > 1 ? \"s\" : \"\"}`\n\t\t\t\t\t\t\t\t\t\t: \"Operation aborted\";\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\terrorMessage = message.errorMessage || \"Error\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tcomponent.updateResult({ content: [{ type: \"text\", text: errorMessage }], isError: true });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\thost.pendingTools.set(content.id, component);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tconst serverTool = asServerToolUse(content);\n\t\t\t\t\t\tif (serverTool) {\n\t\t\t\t\t\t// Server-side tool (e.g., native web search)\n\t\t\t\t\t\tconst component = new ToolExecutionComponent(\n\t\t\t\t\t\t\tserverTool.name,\n\t\t\t\t\t\t\tserverTool.input ?? {},\n\t\t\t\t\t\t\t{ showImages: host.settingsManager.getShowImages() },\n\t\t\t\t\t\t\tundefined,\n\t\t\t\t\t\t\thost.ui,\n\t\t\t\t\t\t);\n\t\t\t\t\t\tcomponent.setExpanded(host.toolOutputExpanded);\n\t\t\t\t\t\thost.chatContainer.addChild(component);\n\t\t\t\t\t\t// Find matching webSearchResult in host message's content\n\t\t\t\t\t\tconst resultBlock = message.content\n\t\t\t\t\t\t\t.map(asWebSearchResult)\n\t\t\t\t\t\t\t.find((block) => block && block.toolUseId === serverTool.id);\n\t\t\t\t\t\tif (resultBlock) {\n\t\t\t\t\t\t\tconst searchContent = resultBlock.content;\n\t\t\t\t\t\t\tconst isError = searchContent && typeof searchContent === \"object\" && \"type\" in (searchContent as any) && (searchContent as any).type === \"web_search_tool_result_error\";\n\t\t\t\t\t\t\tconst resultText = host.formatWebSearchResult(searchContent);\n\t\t\t\t\t\t\tcomponent.updateResult({\n\t\t\t\t\t\t\t\tcontent: [{ type: \"text\", text: resultText }],\n\t\t\t\t\t\t\t\tisError: !!isError,\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// No result yet (aborted stream?) — show as pending\n\t\t\t\t\t\t\thost.pendingTools.set(serverTool.id, component);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Match streaming-mode behavior: show metadata once on the final\n\t\t\t\t// assistant prose segment for host message.\n\t\t\t\tconst lastAssistantSegment = assistantSegments[assistantSegments.length - 1];\n\t\t\t\tlastAssistantSegment?.setShowMetadata(true);\n\t\t\t} else if (message.role === \"toolResult\") {\n\t\t\t\t// Match tool results to pending tool components\n\t\t\t\tconst component = host.pendingTools.get(message.toolCallId);\n\t\t\t\tif (component) {\n\t\t\t\t\tcomponent.updateResult(message);\n\t\t\t\t\thost.pendingTools.delete(message.toolCallId);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\t// All other messages use standard rendering\n\t\t\t\taddMessageToChat(host, message, options);\n\t\t\t}\n\t\t}\n\n\t\t// Any pendingTools entries left over after replay are historical tool\n\t\t// calls whose results were squashed out of session context (commonly by\n\t\t// compaction). Mark them finished so the frame stops showing \"Running\".\n\t\tfor (const component of host.pendingTools.values()) {\n\t\t\tcomponent.markHistoricalNoResult();\n\t\t}\n\t\thost.pendingTools.clear();\n\t\ttrimChatHistory(host);\n\t\treconcileChatTurnConnections(host.chatContainer.children);\n\t\thost.ui.requestRender();\n\t}\n\nexport function renderInitialMessages(host: InteractiveModeDelegateHost): void {\n\t\tconst context = host.sessionManager.buildSessionContext();\n\t\trenderSessionContext(host, context, {\n\t\t\tupdateFooter: true,\n\t\t\tpopulateHistory: true,\n\t\t});\n\t\tpopulatePinnedFromMessages(host, context.messages);\n\n\t\tconst allEntries = host.sessionManager.getEntries();\n\t\tconst compactionCount = allEntries.filter((e: { type: string }) => e.type === \"compaction\").length;\n\t\tif (compactionCount > 0) {\n\t\t\tconst times = compactionCount === 1 ? \"1 time\" : `${compactionCount} times`;\n\t\t\tshowStatus(host, `Session compacted ${times}`);\n\t\t}\n\t}\n\nexport async function getUserInput(host: InteractiveModeDelegateHost): Promise<string> {\n\t\treturn new Promise((resolve) => {\n\t\t\thost.onInputCallback = (text: string) => {\n\t\t\t\thost.onInputCallback = undefined;\n\t\t\t\tresolve(text);\n\t\t\t};\n\t\t});\n\t}\n\nexport function rebuildChatFromMessages(host: InteractiveModeDelegateHost): void {\n\t\thost.chatContainer.clear();\n\t\thost.pinnedMessageContainer.clear();\n\t\tconst context = host.sessionManager.buildSessionContext();\n\t\trenderSessionContext(host, context);\n\t\t// Pinned content NOT re-populated here — the streaming lifecycle in\n\t\t// chat-controller.ts manages the pinned zone during active work.\n\t\t// populatePinnedFromMessages() remains in renderInitialMessages()\n\t\t// for the session-resume case at startup.\n\t}\n\n\t/**\n\t * After rebuilding chat from messages, pin the last assistant text above the\n\t * editor if tool results would otherwise push it out of the viewport.\n\t */\nexport function populatePinnedFromMessages(host: InteractiveModeDelegateHost, messages: AgentMessage[]): void {\n\t\thost.pinnedMessageContainer.clear();\n\n\t\t// Walk backwards to find the last assistant message\n\t\tlet lastAssistant: AssistantMessage | undefined;\n\t\tfor (let i = messages.length - 1; i >= 0; i--) {\n\t\t\tconst msg = messages[i];\n\t\t\tif (msg && \"role\" in msg && msg.role === \"assistant\") {\n\t\t\t\tlastAssistant = msg as AssistantMessage;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif (!lastAssistant) return;\n\n\t\t// Check if any tool calls follow the last text block\n\t\tconst content = lastAssistant.content;\n\t\tlet lastTextIndex = -1;\n\t\tlet hasToolAfterText = false;\n\t\tfor (let i = 0; i < content.length; i++) {\n\t\t\tif (content[i].type === \"text\") lastTextIndex = i;\n\t\t}\n\t\tif (lastTextIndex >= 0) {\n\t\t\tfor (let i = lastTextIndex + 1; i < content.length; i++) {\n\t\t\t\tif (isToolContentBlock(content[i])) {\n\t\t\t\t\thasToolAfterText = true;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (!hasToolAfterText || lastTextIndex < 0) return;\n\n\t\tconst textBlock = content[lastTextIndex] as { type: \"text\"; text: string };\n\t\tconst text = textBlock.text?.trim();\n\t\tif (!text) return;\n\n\t\thost.pinnedMessageContainer.addChild(\n\t\t\tnew DynamicBorder((str: string) => theme.fg(\"dim\", str), \"Latest Output\"),\n\t\t);\n\t\thost.pinnedMessageContainer.addChild(\n\t\t\tnew Markdown(text, 1, 0, host.getMarkdownThemeWithSettings()),\n\t\t);\n\t}\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gsd/agent-modes",
|
|
3
|
-
"version": "1.1.1-dev.
|
|
3
|
+
"version": "1.1.1-dev.1854a79a",
|
|
4
4
|
"description": "GSD run modes and CLI layer",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"gsd": {
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
"test": "node --import ../../src/resources/extensions/gsd/tests/resolve-ts.mjs --experimental-strip-types --test src/**/*.test.ts"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@gsd/agent-core": "^1.1.1-dev.
|
|
29
|
-
"@gsd/pi-agent-core": "^1.1.1-dev.
|
|
30
|
-
"@gsd/pi-ai": "^1.1.1-dev.
|
|
31
|
-
"@gsd/pi-coding-agent": "^1.1.1-dev.
|
|
32
|
-
"@gsd/pi-tui": "^1.1.1-dev.
|
|
33
|
-
"@opengsd/contracts": "^1.1.1-dev.
|
|
28
|
+
"@gsd/agent-core": "^1.1.1-dev.1854a79a",
|
|
29
|
+
"@gsd/pi-agent-core": "^1.1.1-dev.1854a79a",
|
|
30
|
+
"@gsd/pi-ai": "^1.1.1-dev.1854a79a",
|
|
31
|
+
"@gsd/pi-coding-agent": "^1.1.1-dev.1854a79a",
|
|
32
|
+
"@gsd/pi-tui": "^1.1.1-dev.1854a79a",
|
|
33
|
+
"@opengsd/contracts": "^1.1.1-dev.1854a79a",
|
|
34
34
|
"chalk": "^5.5.0"
|
|
35
35
|
}
|
|
36
36
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengsd/mcp-server",
|
|
3
|
-
"version": "1.1.1-dev.
|
|
3
|
+
"version": "1.1.1-dev.1854a79a",
|
|
4
4
|
"description": "MCP server exposing GSD orchestration tools for compatible clients",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"gsd": {
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"test": "pnpm run build:test && node --test dist/mcp-server.test.js dist/remote-questions.test.js"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@opengsd/contracts": "^1.1.1-dev.
|
|
38
|
-
"@opengsd/rpc-client": "^1.1.1-dev.
|
|
37
|
+
"@opengsd/contracts": "^1.1.1-dev.1854a79a",
|
|
38
|
+
"@opengsd/rpc-client": "^1.1.1-dev.1854a79a",
|
|
39
39
|
"@modelcontextprotocol/sdk": "^1.27.1",
|
|
40
40
|
"zod": "^4.0.0"
|
|
41
41
|
},
|
|
@@ -9851,23 +9851,6 @@ export declare const MODELS: {
|
|
|
9851
9851
|
contextWindow: number;
|
|
9852
9852
|
maxTokens: number;
|
|
9853
9853
|
};
|
|
9854
|
-
readonly "baidu/ernie-4.5-vl-28b-a3b": {
|
|
9855
|
-
id: string;
|
|
9856
|
-
name: string;
|
|
9857
|
-
api: "openai-completions";
|
|
9858
|
-
provider: string;
|
|
9859
|
-
baseUrl: string;
|
|
9860
|
-
reasoning: true;
|
|
9861
|
-
input: ("text" | "image")[];
|
|
9862
|
-
cost: {
|
|
9863
|
-
input: number;
|
|
9864
|
-
output: number;
|
|
9865
|
-
cacheRead: number;
|
|
9866
|
-
cacheWrite: number;
|
|
9867
|
-
};
|
|
9868
|
-
contextWindow: number;
|
|
9869
|
-
maxTokens: number;
|
|
9870
|
-
};
|
|
9871
9854
|
readonly "bytedance-seed/seed-1.6": {
|
|
9872
9855
|
id: string;
|
|
9873
9856
|
name: string;
|
|
@@ -11457,23 +11440,6 @@ export declare const MODELS: {
|
|
|
11457
11440
|
contextWindow: number;
|
|
11458
11441
|
maxTokens: number;
|
|
11459
11442
|
};
|
|
11460
|
-
readonly "openai/gpt-4-1106-preview": {
|
|
11461
|
-
id: string;
|
|
11462
|
-
name: string;
|
|
11463
|
-
api: "openai-completions";
|
|
11464
|
-
provider: string;
|
|
11465
|
-
baseUrl: string;
|
|
11466
|
-
reasoning: false;
|
|
11467
|
-
input: "text"[];
|
|
11468
|
-
cost: {
|
|
11469
|
-
input: number;
|
|
11470
|
-
output: number;
|
|
11471
|
-
cacheRead: number;
|
|
11472
|
-
cacheWrite: number;
|
|
11473
|
-
};
|
|
11474
|
-
contextWindow: number;
|
|
11475
|
-
maxTokens: number;
|
|
11476
|
-
};
|
|
11477
11443
|
readonly "openai/gpt-4-turbo": {
|
|
11478
11444
|
id: string;
|
|
11479
11445
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"models.generated.d.ts","sourceRoot":"","sources":["../src/models.generated.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAm4gBT,CAAC"}
|
|
@@ -9008,23 +9008,6 @@ export const MODELS = {
|
|
|
9008
9008
|
contextWindow: 2000000,
|
|
9009
9009
|
maxTokens: 30000,
|
|
9010
9010
|
},
|
|
9011
|
-
"baidu/ernie-4.5-vl-28b-a3b": {
|
|
9012
|
-
id: "baidu/ernie-4.5-vl-28b-a3b",
|
|
9013
|
-
name: "Baidu: ERNIE 4.5 VL 28B A3B",
|
|
9014
|
-
api: "openai-completions",
|
|
9015
|
-
provider: "openrouter",
|
|
9016
|
-
baseUrl: "https://openrouter.ai/api/v1",
|
|
9017
|
-
reasoning: true,
|
|
9018
|
-
input: ["text", "image"],
|
|
9019
|
-
cost: {
|
|
9020
|
-
input: 0.14,
|
|
9021
|
-
output: 0.56,
|
|
9022
|
-
cacheRead: 0,
|
|
9023
|
-
cacheWrite: 0,
|
|
9024
|
-
},
|
|
9025
|
-
contextWindow: 131072,
|
|
9026
|
-
maxTokens: 8000,
|
|
9027
|
-
},
|
|
9028
9011
|
"bytedance-seed/seed-1.6": {
|
|
9029
9012
|
id: "bytedance-seed/seed-1.6",
|
|
9030
9013
|
name: "ByteDance Seed: Seed 1.6",
|
|
@@ -10594,23 +10577,6 @@ export const MODELS = {
|
|
|
10594
10577
|
contextWindow: 8191,
|
|
10595
10578
|
maxTokens: 4096,
|
|
10596
10579
|
},
|
|
10597
|
-
"openai/gpt-4-1106-preview": {
|
|
10598
|
-
id: "openai/gpt-4-1106-preview",
|
|
10599
|
-
name: "OpenAI: GPT-4 Turbo (older v1106)",
|
|
10600
|
-
api: "openai-completions",
|
|
10601
|
-
provider: "openrouter",
|
|
10602
|
-
baseUrl: "https://openrouter.ai/api/v1",
|
|
10603
|
-
reasoning: false,
|
|
10604
|
-
input: ["text"],
|
|
10605
|
-
cost: {
|
|
10606
|
-
input: 10,
|
|
10607
|
-
output: 30,
|
|
10608
|
-
cacheRead: 0,
|
|
10609
|
-
cacheWrite: 0,
|
|
10610
|
-
},
|
|
10611
|
-
contextWindow: 128000,
|
|
10612
|
-
maxTokens: 4096,
|
|
10613
|
-
},
|
|
10614
10580
|
"openai/gpt-4-turbo": {
|
|
10615
10581
|
id: "openai/gpt-4-turbo",
|
|
10616
10582
|
name: "OpenAI: GPT-4 Turbo",
|