@stigmer/react 3.1.1 → 3.1.3
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/composer/SessionComposer.d.ts +25 -1
- package/composer/SessionComposer.d.ts.map +1 -1
- package/composer/SessionComposer.js +19 -8
- package/composer/SessionComposer.js.map +1 -1
- package/execution/ArtifactContentRenderer.d.ts +11 -1
- package/execution/ArtifactContentRenderer.d.ts.map +1 -1
- package/execution/ArtifactContentRenderer.js +39 -15
- package/execution/ArtifactContentRenderer.js.map +1 -1
- package/execution/ArtifactPreviewModal.d.ts +5 -5
- package/execution/ArtifactPreviewModal.js +4 -4
- package/execution/ArtifactPreviewModal.js.map +1 -1
- package/execution/FileChangeProgressBar.d.ts +47 -0
- package/execution/FileChangeProgressBar.d.ts.map +1 -0
- package/execution/FileChangeProgressBar.js +49 -0
- package/execution/FileChangeProgressBar.js.map +1 -0
- package/execution/FileChangesView.d.ts.map +1 -1
- package/execution/FileChangesView.js +19 -4
- package/execution/FileChangesView.js.map +1 -1
- package/execution/FilePathContext.d.ts +8 -1
- package/execution/FilePathContext.d.ts.map +1 -1
- package/execution/FilePathContext.js.map +1 -1
- package/execution/FilePathLink.d.ts.map +1 -1
- package/execution/FilePathLink.js +21 -6
- package/execution/FilePathLink.js.map +1 -1
- package/execution/FileReviewAtoms.d.ts +27 -0
- package/execution/FileReviewAtoms.d.ts.map +1 -0
- package/execution/FileReviewAtoms.js +64 -0
- package/execution/FileReviewAtoms.js.map +1 -0
- package/execution/FileReviewCard.d.ts +2 -2
- package/execution/FileReviewCard.d.ts.map +1 -1
- package/execution/FileReviewCard.js +32 -62
- package/execution/FileReviewCard.js.map +1 -1
- package/execution/MessageEntry.d.ts +20 -0
- package/execution/MessageEntry.d.ts.map +1 -1
- package/execution/MessageEntry.js +19 -5
- package/execution/MessageEntry.js.map +1 -1
- package/execution/MessageThread.d.ts +75 -13
- package/execution/MessageThread.d.ts.map +1 -1
- package/execution/MessageThread.js +195 -27
- package/execution/MessageThread.js.map +1 -1
- package/execution/PlanArtifactCard.d.ts +36 -21
- package/execution/PlanArtifactCard.d.ts.map +1 -1
- package/execution/PlanArtifactCard.js +39 -25
- package/execution/PlanArtifactCard.js.map +1 -1
- package/execution/PlanCompletionCard.d.ts +4 -4
- package/execution/PlanCompletionCard.d.ts.map +1 -1
- package/execution/PlanCompletionCard.js +4 -4
- package/execution/PlanCompletionCard.js.map +1 -1
- package/execution/PlanDocumentMessage.d.ts +32 -0
- package/execution/PlanDocumentMessage.d.ts.map +1 -0
- package/execution/PlanDocumentMessage.js +37 -0
- package/execution/PlanDocumentMessage.js.map +1 -0
- package/execution/PlanStreamingCard.d.ts +50 -0
- package/execution/PlanStreamingCard.d.ts.map +1 -0
- package/execution/PlanStreamingCard.js +40 -0
- package/execution/PlanStreamingCard.js.map +1 -0
- package/execution/index.d.ts +9 -1
- package/execution/index.d.ts.map +1 -1
- package/execution/index.js +4 -0
- package/execution/index.js.map +1 -1
- package/execution/use-build-from-plan-hotkey.d.ts +1 -1
- package/execution/use-build-from-plan-hotkey.js +1 -1
- package/execution/useArtifactCopy.d.ts +51 -0
- package/execution/useArtifactCopy.d.ts.map +1 -0
- package/execution/useArtifactCopy.js +75 -0
- package/execution/useArtifactCopy.js.map +1 -0
- package/execution/useArtifactDownload.d.ts.map +1 -1
- package/execution/useArtifactDownload.js +17 -5
- package/execution/useArtifactDownload.js.map +1 -1
- package/execution/useCreateAgentExecution.d.ts +12 -0
- package/execution/useCreateAgentExecution.d.ts.map +1 -1
- package/execution/useCreateAgentExecution.js +5 -1
- package/execution/useCreateAgentExecution.js.map +1 -1
- package/github/decodeGitHubContent.d.ts +29 -0
- package/github/decodeGitHubContent.d.ts.map +1 -0
- package/github/decodeGitHubContent.js +72 -0
- package/github/decodeGitHubContent.js.map +1 -0
- package/github/index.d.ts +1 -0
- package/github/index.d.ts.map +1 -1
- package/github/index.js +1 -0
- package/github/index.js.map +1 -1
- package/github/useGitHubFileReader.d.ts +26 -0
- package/github/useGitHubFileReader.d.ts.map +1 -0
- package/github/useGitHubFileReader.js +106 -0
- package/github/useGitHubFileReader.js.map +1 -0
- package/github/useGitHubTreeLister.d.ts.map +1 -1
- package/github/useGitHubTreeLister.js +6 -2
- package/github/useGitHubTreeLister.js.map +1 -1
- package/index.d.ts +9 -9
- package/index.d.ts.map +1 -1
- package/index.js +5 -5
- package/index.js.map +1 -1
- package/internal/ResizableSplit.d.ts +72 -22
- package/internal/ResizableSplit.d.ts.map +1 -1
- package/internal/ResizableSplit.js +96 -38
- package/internal/ResizableSplit.js.map +1 -1
- package/internal/VirtualizedThread.d.ts +5 -3
- package/internal/VirtualizedThread.d.ts.map +1 -1
- package/internal/VirtualizedThread.js +6 -4
- package/internal/VirtualizedThread.js.map +1 -1
- package/internal/file-icons/index.d.ts +17 -0
- package/internal/file-icons/index.d.ts.map +1 -0
- package/internal/file-icons/index.js +60 -0
- package/internal/file-icons/index.js.map +1 -0
- package/internal/file-tree/FileTreeNode.d.ts +18 -1
- package/internal/file-tree/FileTreeNode.d.ts.map +1 -1
- package/internal/file-tree/FileTreeNode.js +11 -2
- package/internal/file-tree/FileTreeNode.js.map +1 -1
- package/internal/markdown-components.d.ts +38 -1
- package/internal/markdown-components.d.ts.map +1 -1
- package/internal/markdown-components.js +86 -11
- package/internal/markdown-components.js.map +1 -1
- package/{workflow → internal}/motion-preference.d.ts +7 -4
- package/internal/motion-preference.d.ts.map +1 -0
- package/{workflow → internal}/motion-preference.js +7 -4
- package/internal/motion-preference.js.map +1 -0
- package/internal/store/index.d.ts +33 -0
- package/internal/store/index.d.ts.map +1 -1
- package/internal/store/index.js +59 -0
- package/internal/store/index.js.map +1 -1
- package/internal/store/workspace-editors-store.d.ts +145 -0
- package/internal/store/workspace-editors-store.d.ts.map +1 -0
- package/internal/store/workspace-editors-store.js +208 -0
- package/internal/store/workspace-editors-store.js.map +1 -0
- package/internal/store/workspace-file-selection-store.d.ts +38 -0
- package/internal/store/workspace-file-selection-store.d.ts.map +1 -0
- package/internal/store/workspace-file-selection-store.js +62 -0
- package/internal/store/workspace-file-selection-store.js.map +1 -0
- package/internal/useRevealLine.d.ts +49 -0
- package/internal/useRevealLine.d.ts.map +1 -0
- package/internal/useRevealLine.js +43 -0
- package/internal/useRevealLine.js.map +1 -0
- package/library/detect-plan-artifact.d.ts +43 -4
- package/library/detect-plan-artifact.d.ts.map +1 -1
- package/library/detect-plan-artifact.js +45 -5
- package/library/detect-plan-artifact.js.map +1 -1
- package/library/detect-streaming-plan.d.ts +45 -0
- package/library/detect-streaming-plan.d.ts.map +1 -0
- package/library/detect-streaming-plan.js +83 -0
- package/library/detect-streaming-plan.js.map +1 -0
- package/library/index.d.ts +4 -1
- package/library/index.d.ts.map +1 -1
- package/library/index.js +2 -1
- package/library/index.js.map +1 -1
- package/package.json +4 -4
- package/session/NewSessionViewer.d.ts +19 -4
- package/session/NewSessionViewer.d.ts.map +1 -1
- package/session/NewSessionViewer.js +52 -25
- package/session/NewSessionViewer.js.map +1 -1
- package/session/PlanEditor.d.ts +55 -0
- package/session/PlanEditor.d.ts.map +1 -0
- package/session/PlanEditor.js +88 -0
- package/session/PlanEditor.js.map +1 -0
- package/session/PlanStreamingDocument.d.ts +30 -0
- package/session/PlanStreamingDocument.d.ts.map +1 -0
- package/session/PlanStreamingDocument.js +37 -0
- package/session/PlanStreamingDocument.js.map +1 -0
- package/session/SessionPanelChip.d.ts +26 -0
- package/session/SessionPanelChip.d.ts.map +1 -0
- package/session/SessionPanelChip.js +40 -0
- package/session/SessionPanelChip.js.map +1 -0
- package/session/SessionViewer.d.ts +34 -7
- package/session/SessionViewer.d.ts.map +1 -1
- package/session/SessionViewer.js +334 -33
- package/session/SessionViewer.js.map +1 -1
- package/session/{inspector → facets}/ArtifactsTab.d.ts +10 -2
- package/session/facets/ArtifactsTab.d.ts.map +1 -0
- package/session/{inspector → facets}/ArtifactsTab.js +8 -3
- package/session/facets/ArtifactsTab.js.map +1 -0
- package/session/{inspector → facets}/ChangesTab.d.ts +3 -3
- package/session/facets/ChangesTab.d.ts.map +1 -0
- package/session/{inspector → facets}/ChangesTab.js +3 -3
- package/session/facets/ChangesTab.js.map +1 -0
- package/session/facets/InspectTab.d.ts.map +1 -0
- package/session/facets/InspectTab.js.map +1 -0
- package/session/{inspector → facets}/SetupTab.d.ts +11 -2
- package/session/facets/SetupTab.d.ts.map +1 -0
- package/session/{inspector → facets}/SetupTab.js +4 -3
- package/session/facets/SetupTab.js.map +1 -0
- package/session/{inspector → facets}/UsageTab.d.ts +1 -1
- package/session/facets/UsageTab.d.ts.map +1 -0
- package/session/{inspector → facets}/UsageTab.js +1 -1
- package/session/facets/UsageTab.js.map +1 -0
- package/session/{inspector → facets}/index.d.ts +0 -6
- package/session/facets/index.d.ts.map +1 -0
- package/session/{inspector → facets}/index.js +0 -3
- package/session/facets/index.js.map +1 -0
- package/session/index.d.ts +11 -2
- package/session/index.d.ts.map +1 -1
- package/session/index.js +15 -2
- package/session/index.js.map +1 -1
- package/session/plan-document.d.ts +21 -0
- package/session/plan-document.d.ts.map +1 -0
- package/session/plan-document.js +28 -0
- package/session/plan-document.js.map +1 -0
- package/session/useOpenFileChange.d.ts +20 -0
- package/session/useOpenFileChange.d.ts.map +1 -0
- package/session/useOpenFileChange.js +31 -0
- package/session/useOpenFileChange.js.map +1 -0
- package/session/usePlanDraft.d.ts +52 -0
- package/session/usePlanDraft.d.ts.map +1 -0
- package/session/usePlanDraft.js +63 -0
- package/session/usePlanDraft.js.map +1 -0
- package/session/useSessionConversation.d.ts +14 -1
- package/session/useSessionConversation.d.ts.map +1 -1
- package/session/useSessionConversation.js +20 -2
- package/session/useSessionConversation.js.map +1 -1
- package/session/useSessionPageFlow.d.ts.map +1 -1
- package/session/useSessionPageFlow.js +1 -0
- package/session/useSessionPageFlow.js.map +1 -1
- package/session/useSessionPanel.d.ts +120 -0
- package/session/useSessionPanel.d.ts.map +1 -0
- package/session/useSessionPanel.js +130 -0
- package/session/useSessionPanel.js.map +1 -0
- package/session/useSessionRailViews.d.ts +45 -0
- package/session/useSessionRailViews.d.ts.map +1 -0
- package/session/useSessionRailViews.js +105 -0
- package/session/useSessionRailViews.js.map +1 -0
- package/src/composer/SessionComposer.tsx +53 -10
- package/src/composer/__tests__/SessionComposer-contract.test.tsx +58 -4
- package/src/execution/ArtifactContentRenderer.tsx +101 -24
- package/src/execution/ArtifactPreviewModal.tsx +9 -9
- package/src/execution/FileChangeProgressBar.tsx +121 -0
- package/src/execution/FileChangesView.tsx +18 -4
- package/src/execution/FilePathContext.tsx +8 -1
- package/src/execution/FilePathLink.tsx +22 -6
- package/src/execution/FileReviewAtoms.tsx +89 -0
- package/src/execution/FileReviewCard.tsx +57 -90
- package/src/execution/MessageEntry.tsx +49 -1
- package/src/execution/MessageThread.tsx +308 -39
- package/src/execution/PlanArtifactCard.tsx +174 -64
- package/src/execution/PlanCompletionCard.tsx +5 -5
- package/src/execution/PlanDocumentMessage.tsx +96 -0
- package/src/execution/PlanStreamingCard.tsx +141 -0
- package/src/execution/__tests__/ArtifactContentRenderer.test.tsx +80 -1
- package/src/execution/__tests__/ArtifactPreviewModal.test.tsx +6 -6
- package/src/execution/__tests__/FileChangeProgressBar.test.tsx +125 -0
- package/src/execution/__tests__/FilePathLink.test.tsx +87 -0
- package/src/execution/__tests__/FileReviewCard.test.tsx +66 -7
- package/src/execution/__tests__/MessageThread.test.tsx +102 -1
- package/src/execution/__tests__/PlanArtifactCard.test.tsx +114 -26
- package/src/execution/__tests__/PlanCompletionCard.test.tsx +2 -2
- package/src/execution/__tests__/PlanDocumentMessage.test.tsx +55 -0
- package/src/execution/__tests__/PlanStreamingCard.test.tsx +56 -0
- package/src/execution/__tests__/buildThreadItems-plan-completion.test.ts +600 -22
- package/src/execution/__tests__/message-entry.test.tsx +17 -0
- package/src/execution/__tests__/useArtifactCopy.test.tsx +90 -0
- package/src/execution/__tests__/useArtifactDownload.test.tsx +2 -0
- package/src/execution/__tests__/useCreateAgentExecution.test.tsx +85 -0
- package/src/execution/index.ts +13 -1
- package/src/execution/use-build-from-plan-hotkey.ts +1 -1
- package/src/execution/useArtifactCopy.ts +109 -0
- package/src/execution/useArtifactDownload.ts +17 -5
- package/src/execution/useCreateAgentExecution.ts +18 -1
- package/src/github/__tests__/decodeGitHubContent.test.ts +102 -0
- package/src/github/__tests__/useGitHubFileReader.test.ts +183 -0
- package/src/github/decodeGitHubContent.ts +83 -0
- package/src/github/index.ts +1 -0
- package/src/github/useGitHubFileReader.ts +152 -0
- package/src/github/useGitHubTreeLister.ts +6 -2
- package/src/index.ts +69 -9
- package/src/internal/ResizableSplit.tsx +184 -51
- package/src/internal/VirtualizedThread.tsx +12 -4
- package/src/internal/__tests__/ResizableSplit.test.tsx +125 -3
- package/src/internal/__tests__/markdown-components.test.tsx +68 -0
- package/src/internal/__tests__/useRevealLine.test.tsx +97 -0
- package/src/internal/file-icons/__tests__/file-icons.test.tsx +35 -0
- package/src/internal/file-icons/index.tsx +137 -0
- package/src/internal/file-tree/FileTreeNode.tsx +56 -5
- package/src/internal/file-tree/__tests__/FileTreeNode-explorer.test.tsx +86 -0
- package/src/internal/markdown-components.tsx +116 -11
- package/src/{workflow → internal}/motion-preference.ts +7 -4
- package/src/internal/store/__tests__/workspace-editors-store.test.ts +216 -0
- package/src/internal/store/__tests__/workspace-file-selection-store.test.ts +118 -0
- package/src/internal/store/index.ts +94 -0
- package/src/internal/store/workspace-editors-store.ts +315 -0
- package/src/internal/store/workspace-file-selection-store.ts +88 -0
- package/src/internal/useRevealLine.ts +81 -0
- package/src/library/__tests__/detect-plan-artifact.test.ts +69 -0
- package/src/library/__tests__/detect-streaming-plan.test.ts +234 -0
- package/src/library/detect-plan-artifact.ts +62 -5
- package/src/library/detect-streaming-plan.ts +108 -0
- package/src/library/index.ts +7 -0
- package/src/session/NewSessionViewer.tsx +123 -55
- package/src/session/PlanEditor.tsx +361 -0
- package/src/session/PlanStreamingDocument.tsx +97 -0
- package/src/session/SessionPanelChip.tsx +103 -0
- package/src/session/SessionViewer.tsx +655 -96
- package/src/session/__tests__/NewSessionViewer.test.tsx +148 -0
- package/src/session/__tests__/PlanEditor.test.tsx +217 -0
- package/src/session/__tests__/PlanStreamingDocument.test.tsx +50 -0
- package/src/session/__tests__/SessionPanelChip.test.tsx +42 -0
- package/src/session/__tests__/SessionViewer-fileReviewDock.test.tsx +66 -4
- package/src/session/__tests__/SessionViewer-transcriptFileOpen.test.tsx +205 -0
- package/src/session/__tests__/audienceWiring.test.tsx +55 -19
- package/src/session/__tests__/useOpenFileChange.test.tsx +82 -0
- package/src/session/__tests__/usePlanDraft.test.ts +102 -0
- package/src/session/__tests__/useSessionConversation.test.tsx +44 -0
- package/src/session/__tests__/useSessionPanel.test.ts +298 -0
- package/src/session/__tests__/useSessionRailViews.test.tsx +124 -0
- package/src/session/{inspector → facets}/ArtifactsTab.tsx +27 -5
- package/src/session/{inspector → facets}/ChangesTab.tsx +3 -3
- package/src/session/{inspector → facets}/SetupTab.tsx +13 -1
- package/src/session/{inspector → facets}/UsageTab.tsx +1 -1
- package/src/session/{inspector → facets}/__tests__/ArtifactsTab.test.tsx +42 -8
- package/src/session/facets/__tests__/SetupTab.test.tsx +44 -0
- package/src/session/{inspector → facets}/index.ts +0 -16
- package/src/session/index.ts +30 -13
- package/src/session/plan-document.ts +30 -0
- package/src/session/useOpenFileChange.ts +53 -0
- package/src/session/usePlanDraft.ts +109 -0
- package/src/session/useSessionConversation.ts +38 -3
- package/src/session/useSessionPageFlow.ts +1 -0
- package/src/session/useSessionPanel.ts +288 -0
- package/src/session/useSessionRailViews.tsx +200 -0
- package/src/workflow/WorkflowExecutionGraph.tsx +1 -1
- package/src/workflow/index.ts +1 -1
- package/src/workflow/useFollowExecution.ts +1 -1
- package/src/workspace/EditorTabs.tsx +174 -0
- package/src/workspace/ExplorerTree.tsx +253 -0
- package/src/workspace/FileViewer.tsx +537 -0
- package/src/workspace/WorkspaceContentSearch.tsx +502 -0
- package/src/workspace/WorkspaceContentSearcher.ts +70 -0
- package/src/workspace/WorkspaceEditor.tsx +19 -16
- package/src/workspace/WorkspaceFileLister.ts +11 -0
- package/src/workspace/WorkspaceFileReader.ts +57 -0
- package/src/workspace/WorkspaceFileSearch.tsx +452 -0
- package/src/workspace/WorkspaceSurface.tsx +839 -0
- package/src/workspace/__tests__/EditorTabs.test.tsx +102 -0
- package/src/workspace/__tests__/ExplorerTree.test.tsx +204 -0
- package/src/workspace/__tests__/FileViewer.test.tsx +439 -0
- package/src/workspace/__tests__/WorkspaceContentSearch.test.tsx +229 -0
- package/src/workspace/__tests__/WorkspaceEditor-initialPanel.test.tsx +19 -0
- package/src/workspace/__tests__/WorkspaceFileSearch.test.tsx +227 -0
- package/src/workspace/__tests__/WorkspaceSurface.test.tsx +418 -0
- package/src/workspace/__tests__/a11y/harness.tsx +140 -0
- package/src/workspace/__tests__/a11y/mock-capabilities.ts +138 -0
- package/src/workspace/__tests__/a11y/workspace-editor.a11y.test.tsx +65 -0
- package/src/workspace/__tests__/a11y/workspace-explorer-search.a11y.test.tsx +112 -0
- package/src/workspace/__tests__/a11y/workspace-viewer-tabs.a11y.test.tsx +69 -0
- package/src/workspace/__tests__/findChangeForSelection.test.ts +132 -0
- package/src/workspace/__tests__/matchContentPreview.test.ts +55 -0
- package/src/workspace/__tests__/matchWorkspaceFiles.test.ts +104 -0
- package/src/workspace/__tests__/resolveWorkspaceFileSelection.test.ts +135 -0
- package/src/workspace/__tests__/useWorkspaceContentSearch.test.tsx +196 -0
- package/src/workspace/__tests__/useWorkspaceFileContent.test.tsx +190 -0
- package/src/workspace/__tests__/useWorkspaceFileSearch.test.tsx +162 -0
- package/src/workspace/findChangeForSelection.ts +61 -0
- package/src/workspace/index.ts +56 -2
- package/src/workspace/matchContentPreview.ts +51 -0
- package/src/workspace/matchWorkspaceFiles.ts +86 -0
- package/src/workspace/resolveWorkspaceFileSelection.ts +119 -0
- package/src/workspace/useWorkspaceContentSearch.ts +228 -0
- package/src/workspace/useWorkspaceFileContent.ts +129 -0
- package/src/workspace/useWorkspaceFileSearch.ts +184 -0
- package/src/workspace/useWorkspaceFiles.ts +27 -27
- package/src/workspace/workspaceListingCache.ts +93 -0
- package/styles.css +1 -1
- package/workflow/WorkflowExecutionGraph.js +1 -1
- package/workflow/WorkflowExecutionGraph.js.map +1 -1
- package/workflow/index.d.ts +1 -1
- package/workflow/index.d.ts.map +1 -1
- package/workflow/index.js +1 -1
- package/workflow/index.js.map +1 -1
- package/workflow/useFollowExecution.js +1 -1
- package/workflow/useFollowExecution.js.map +1 -1
- package/workspace/EditorTabs.d.ts +47 -0
- package/workspace/EditorTabs.d.ts.map +1 -0
- package/workspace/EditorTabs.js +78 -0
- package/workspace/EditorTabs.js.map +1 -0
- package/workspace/ExplorerTree.d.ts +32 -0
- package/workspace/ExplorerTree.d.ts.map +1 -0
- package/workspace/ExplorerTree.js +49 -0
- package/workspace/ExplorerTree.js.map +1 -0
- package/workspace/FileViewer.d.ts +93 -0
- package/workspace/FileViewer.d.ts.map +1 -0
- package/workspace/FileViewer.js +193 -0
- package/workspace/FileViewer.js.map +1 -0
- package/workspace/WorkspaceContentSearch.d.ts +41 -0
- package/workspace/WorkspaceContentSearch.d.ts.map +1 -0
- package/workspace/WorkspaceContentSearch.js +216 -0
- package/workspace/WorkspaceContentSearch.js.map +1 -0
- package/workspace/WorkspaceContentSearcher.d.ts +59 -0
- package/workspace/WorkspaceContentSearcher.d.ts.map +1 -0
- package/workspace/WorkspaceContentSearcher.js +7 -0
- package/workspace/WorkspaceContentSearcher.js.map +1 -0
- package/workspace/WorkspaceEditor.d.ts.map +1 -1
- package/workspace/WorkspaceEditor.js +8 -10
- package/workspace/WorkspaceEditor.js.map +1 -1
- package/workspace/WorkspaceFileLister.d.ts +11 -0
- package/workspace/WorkspaceFileLister.d.ts.map +1 -1
- package/workspace/WorkspaceFileReader.d.ts +48 -0
- package/workspace/WorkspaceFileReader.d.ts.map +1 -0
- package/workspace/WorkspaceFileReader.js +11 -0
- package/workspace/WorkspaceFileReader.js.map +1 -0
- package/workspace/WorkspaceFileSearch.d.ts +32 -0
- package/workspace/WorkspaceFileSearch.d.ts.map +1 -0
- package/workspace/WorkspaceFileSearch.js +175 -0
- package/workspace/WorkspaceFileSearch.js.map +1 -0
- package/workspace/WorkspaceSurface.d.ts +151 -0
- package/workspace/WorkspaceSurface.d.ts.map +1 -0
- package/workspace/WorkspaceSurface.js +220 -0
- package/workspace/WorkspaceSurface.js.map +1 -0
- package/workspace/findChangeForSelection.d.ts +19 -0
- package/workspace/findChangeForSelection.d.ts.map +1 -0
- package/workspace/findChangeForSelection.js +46 -0
- package/workspace/findChangeForSelection.js.map +1 -0
- package/workspace/index.d.ts +24 -2
- package/workspace/index.d.ts.map +1 -1
- package/workspace/index.js +13 -1
- package/workspace/index.js.map +1 -1
- package/workspace/matchContentPreview.d.ts +21 -0
- package/workspace/matchContentPreview.d.ts.map +1 -0
- package/workspace/matchContentPreview.js +36 -0
- package/workspace/matchContentPreview.js.map +1 -0
- package/workspace/matchWorkspaceFiles.d.ts +30 -0
- package/workspace/matchWorkspaceFiles.d.ts.map +1 -0
- package/workspace/matchWorkspaceFiles.js +58 -0
- package/workspace/matchWorkspaceFiles.js.map +1 -0
- package/workspace/resolveWorkspaceFileSelection.d.ts +19 -0
- package/workspace/resolveWorkspaceFileSelection.d.ts.map +1 -0
- package/workspace/resolveWorkspaceFileSelection.js +115 -0
- package/workspace/resolveWorkspaceFileSelection.js.map +1 -0
- package/workspace/useWorkspaceContentSearch.d.ts +69 -0
- package/workspace/useWorkspaceContentSearch.d.ts.map +1 -0
- package/workspace/useWorkspaceContentSearch.js +154 -0
- package/workspace/useWorkspaceContentSearch.js.map +1 -0
- package/workspace/useWorkspaceFileContent.d.ts +73 -0
- package/workspace/useWorkspaceFileContent.d.ts.map +1 -0
- package/workspace/useWorkspaceFileContent.js +57 -0
- package/workspace/useWorkspaceFileContent.js.map +1 -0
- package/workspace/useWorkspaceFileSearch.d.ts +61 -0
- package/workspace/useWorkspaceFileSearch.d.ts.map +1 -0
- package/workspace/useWorkspaceFileSearch.js +119 -0
- package/workspace/useWorkspaceFileSearch.js.map +1 -0
- package/workspace/useWorkspaceFiles.d.ts +13 -5
- package/workspace/useWorkspaceFiles.d.ts.map +1 -1
- package/workspace/useWorkspaceFiles.js +18 -19
- package/workspace/useWorkspaceFiles.js.map +1 -1
- package/workspace/workspaceListingCache.d.ts +47 -0
- package/workspace/workspaceListingCache.d.ts.map +1 -0
- package/workspace/workspaceListingCache.js +55 -0
- package/workspace/workspaceListingCache.js.map +1 -0
- package/session/inspector/ArtifactsTab.d.ts.map +0 -1
- package/session/inspector/ArtifactsTab.js.map +0 -1
- package/session/inspector/ChangesTab.d.ts.map +0 -1
- package/session/inspector/ChangesTab.js.map +0 -1
- package/session/inspector/InspectTab.d.ts.map +0 -1
- package/session/inspector/InspectTab.js.map +0 -1
- package/session/inspector/SessionInspector.d.ts +0 -64
- package/session/inspector/SessionInspector.d.ts.map +0 -1
- package/session/inspector/SessionInspector.js +0 -53
- package/session/inspector/SessionInspector.js.map +0 -1
- package/session/inspector/SetupTab.d.ts.map +0 -1
- package/session/inspector/SetupTab.js.map +0 -1
- package/session/inspector/UsageTab.d.ts.map +0 -1
- package/session/inspector/UsageTab.js.map +0 -1
- package/session/inspector/WorkspaceTab.d.ts +0 -35
- package/session/inspector/WorkspaceTab.d.ts.map +0 -1
- package/session/inspector/WorkspaceTab.js +0 -75
- package/session/inspector/WorkspaceTab.js.map +0 -1
- package/session/inspector/index.d.ts.map +0 -1
- package/session/inspector/index.js.map +0 -1
- package/session/inspector/useSessionInspector.d.ts +0 -49
- package/session/inspector/useSessionInspector.d.ts.map +0 -1
- package/session/inspector/useSessionInspector.js +0 -122
- package/session/inspector/useSessionInspector.js.map +0 -1
- package/src/session/inspector/SessionInspector.tsx +0 -162
- package/src/session/inspector/WorkspaceTab.tsx +0 -245
- package/src/session/inspector/__tests__/useSessionInspector.test.ts +0 -251
- package/src/session/inspector/useSessionInspector.ts +0 -178
- package/src/workspace/WorkspaceEntryFiles.tsx +0 -196
- package/workflow/motion-preference.d.ts.map +0 -1
- package/workflow/motion-preference.js.map +0 -1
- package/workspace/WorkspaceEntryFiles.d.ts +0 -22
- package/workspace/WorkspaceEntryFiles.d.ts.map +0 -1
- package/workspace/WorkspaceEntryFiles.js +0 -58
- package/workspace/WorkspaceEntryFiles.js.map +0 -1
- /package/session/{inspector → facets}/InspectTab.d.ts +0 -0
- /package/session/{inspector → facets}/InspectTab.js +0 -0
- /package/src/{workflow → internal}/__tests__/motion-preference.test.ts +0 -0
- /package/src/session/{inspector → facets}/InspectTab.tsx +0 -0
- /package/src/session/{inspector → facets}/__tests__/ChangesTab.test.tsx +0 -0
|
@@ -3,15 +3,15 @@ export interface ChangesTabProps {
|
|
|
3
3
|
readonly executions: readonly AgentExecution[];
|
|
4
4
|
}
|
|
5
5
|
/**
|
|
6
|
-
* Changes facet for the
|
|
6
|
+
* Changes facet for the session panel — the session's git write-backs
|
|
7
7
|
* (branch/commit/PR), one `WriteBackCard` per entry.
|
|
8
8
|
*
|
|
9
9
|
* Local file changes deliberately do NOT render here: they live in the
|
|
10
10
|
* transcript, where each stamped edit row shows its diff in place and the
|
|
11
11
|
* per-turn decision bar carries the review controls and file list
|
|
12
12
|
* (`FileReviewCard`). Duplicating them in a side panel gave the same change a
|
|
13
|
-
* third rendering with no added authority. The
|
|
14
|
-
* once a write-back exists (see `
|
|
13
|
+
* third rendering with no added authority. The facet therefore only surfaces
|
|
14
|
+
* once a write-back exists (see `useSessionRailViews`).
|
|
15
15
|
*/
|
|
16
16
|
export declare function ChangesTab({ executions }: ChangesTabProps): import("react/jsx-runtime").JSX.Element;
|
|
17
17
|
//# sourceMappingURL=ChangesTab.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChangesTab.d.ts","sourceRoot":"","sources":["../../../src/session/facets/ChangesTab.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,6DAA6D,CAAC;AAIlG,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,UAAU,EAAE,SAAS,cAAc,EAAE,CAAC;CAChD;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,UAAU,CAAC,EAAE,UAAU,EAAE,EAAE,eAAe,2CAuBzD"}
|
|
@@ -3,15 +3,15 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import { useSessionWriteBacks } from "../useSessionWriteBacks.js";
|
|
4
4
|
import { WriteBackCard } from "../../execution/WriteBackCard.js";
|
|
5
5
|
/**
|
|
6
|
-
* Changes facet for the
|
|
6
|
+
* Changes facet for the session panel — the session's git write-backs
|
|
7
7
|
* (branch/commit/PR), one `WriteBackCard` per entry.
|
|
8
8
|
*
|
|
9
9
|
* Local file changes deliberately do NOT render here: they live in the
|
|
10
10
|
* transcript, where each stamped edit row shows its diff in place and the
|
|
11
11
|
* per-turn decision bar carries the review controls and file list
|
|
12
12
|
* (`FileReviewCard`). Duplicating them in a side panel gave the same change a
|
|
13
|
-
* third rendering with no added authority. The
|
|
14
|
-
* once a write-back exists (see `
|
|
13
|
+
* third rendering with no added authority. The facet therefore only surfaces
|
|
14
|
+
* once a write-back exists (see `useSessionRailViews`).
|
|
15
15
|
*/
|
|
16
16
|
export function ChangesTab({ executions }) {
|
|
17
17
|
const { writeBacks, hasWriteBacks } = useSessionWriteBacks(executions);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChangesTab.js","sourceRoot":"","sources":["../../../src/session/facets/ChangesTab.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAMjE;;;;;;;;;;GAUG;AACH,MAAM,UAAU,UAAU,CAAC,EAAE,UAAU,EAAmB;IACxD,MAAM,EAAE,UAAU,EAAE,aAAa,EAAE,GAAG,oBAAoB,CAAC,UAAU,CAAC,CAAC;IAEvE,IAAI,aAAa,EAAE,CAAC;QAClB,OAAO,CACL,cAAK,IAAI,EAAC,MAAM,EAAC,SAAS,EAAC,WAAW,YACnC,UAAU,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CACzB,cAA8C,IAAI,EAAC,UAAU,YAC3D,KAAC,aAAa,IAAC,SAAS,EAAE,KAAK,CAAC,SAAS,GAAI,IADrC,KAAK,CAAC,SAAS,CAAC,kBAAkB,CAEtC,CACP,CAAC,GACE,CACP,CAAC;IACJ,CAAC;IAED,OAAO,CACL,cAAK,SAAS,EAAC,iEAAiE,YAC9E,YAAG,SAAS,EAAC,+BAA+B,uHAGxC,GACA,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InspectTab.d.ts","sourceRoot":"","sources":["../../../src/session/facets/InspectTab.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAElF,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,YAAY,EAAE,kBAAkB,GAAG,IAAI,CAAC;CAClD;AAED;;;;;;GAMG;AACH,wBAAgB,UAAU,CAAC,EAAE,YAAY,EAAE,EAAE,eAAe,2CAsB3D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InspectTab.js","sourceRoot":"","sources":["../../../src/session/facets/InspectTab.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAQb;;;;;;GAMG;AACH,MAAM,UAAU,UAAU,CAAC,EAAE,YAAY,EAAmB;IAC1D,IAAI,CAAC,YAAY,EAAE,CAAC;QAClB,OAAO,CACL,eAAK,SAAS,EAAC,iEAAiE,aAC9E,KAAC,cAAc,KAAG,EAClB,YAAG,SAAS,EAAC,oCAAoC,2EAE7C,IACA,CACP,CAAC;IACJ,CAAC;IAED,OAAO,CACL,eAAK,SAAS,EAAC,yCAAyC,aACtD,wCACc,eAAM,SAAS,EAAC,6BAA6B,YAAE,YAAY,CAAC,IAAI,GAAQ,IAClF,EACJ,YAAG,SAAS,EAAC,kBAAkB,iDAE3B,IACA,CACP,CAAC;AACJ,CAAC;AAED,SAAS,cAAc;IACrB,OAAO,CACL,eACE,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,MAAM,EACX,MAAM,EAAC,cAAc,EACrB,WAAW,EAAC,KAAK,EACjB,aAAa,EAAC,OAAO,EACrB,SAAS,EAAC,uBAAuB,iBACrB,MAAM,aAElB,eAAM,CAAC,EAAC,GAAG,EAAC,CAAC,EAAC,GAAG,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,EAAE,EAAC,GAAG,GAAG,EAClD,eAAM,CAAC,EAAC,gBAAgB,GAAG,IACvB,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -26,10 +26,19 @@ export interface SetupTabProps {
|
|
|
26
26
|
* buttons. When absent, sections are read-only (DD-011).
|
|
27
27
|
*/
|
|
28
28
|
readonly mutations?: SetupTabMutationCallbacks;
|
|
29
|
+
/**
|
|
30
|
+
* Host-injected access management control (e.g. the Console's
|
|
31
|
+
* `ManageAccessButton`) rendered as the facet's final section. A slot keeps
|
|
32
|
+
* the SDK auth-agnostic (DD-004); the injected control owns its own
|
|
33
|
+
* visibility (permission gating), so this section renders no chrome of its
|
|
34
|
+
* own — an empty heading over a denied control would read as breakage.
|
|
35
|
+
*/
|
|
36
|
+
readonly accessSlot?: React.ReactNode;
|
|
29
37
|
}
|
|
30
38
|
/**
|
|
31
39
|
* Persistent session configuration panel (Configure tab) — shows agent,
|
|
32
|
-
* MCP servers, skills, run config, and
|
|
40
|
+
* MCP servers, skills, run config, session variables, and the host's
|
|
41
|
+
* access management control (via `accessSlot`).
|
|
33
42
|
*
|
|
34
43
|
* Workspace management has moved to the dedicated Workspace tab.
|
|
35
44
|
*
|
|
@@ -39,5 +48,5 @@ export interface SetupTabProps {
|
|
|
39
48
|
*
|
|
40
49
|
* All visual properties flow through `--stgm-*` tokens (DD-005).
|
|
41
50
|
*/
|
|
42
|
-
export declare function SetupTab({ agentRef, isDefaultAgent, mcpServerUsages, skillRefs, sessionVariables, harness, executionTarget, modelId, mutations, }: SetupTabProps): import("react/jsx-runtime").JSX.Element;
|
|
51
|
+
export declare function SetupTab({ agentRef, isDefaultAgent, mcpServerUsages, skillRefs, sessionVariables, harness, executionTarget, modelId, mutations, accessSlot, }: SetupTabProps): import("react/jsx-runtime").JSX.Element;
|
|
43
52
|
//# sourceMappingURL=SetupTab.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SetupTab.d.ts","sourceRoot":"","sources":["../../../src/session/facets/SetupTab.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAErE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAE7D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AACpE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;AAExF,mEAAmE;AACnE,MAAM,WAAW,yBAAyB;IACxC,6EAA6E;IAC7E,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IACpC,gDAAgD;IAChD,QAAQ,CAAC,WAAW,CAAC,EAAE,CAAC,GAAG,EAAE,WAAW,KAAK,IAAI,CAAC;IAClD,0CAA0C;IAC1C,QAAQ,CAAC,aAAa,CAAC,EAAE,CAAC,GAAG,EAAE,WAAW,KAAK,IAAI,CAAC;CACrD;AAED,kCAAkC;AAClC,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,QAAQ,EAAE,WAAW,GAAG,IAAI,CAAC;IACtC,QAAQ,CAAC,cAAc,EAAE,OAAO,CAAC;IACjC,QAAQ,CAAC,eAAe,EAAE,SAAS,mBAAmB,EAAE,CAAC;IACzD,QAAQ,CAAC,SAAS,EAAE,SAAS,WAAW,EAAE,CAAC;IAC3C,QAAQ,CAAC,gBAAgB,EAAE,yBAAyB,GAAG,IAAI,CAAC;IAC5D,QAAQ,CAAC,OAAO,EAAE,aAAa,CAAC;IAChC,QAAQ,CAAC,eAAe,EAAE,qBAAqB,GAAG,SAAS,CAAC;IAC5D,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC;;;OAGG;IACH,QAAQ,CAAC,SAAS,CAAC,EAAE,yBAAyB,CAAC;IAC/C;;;;;;OAMG;IACH,QAAQ,CAAC,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACvC;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,QAAQ,CAAC,EACvB,QAAQ,EACR,cAAc,EACd,eAAe,EACf,SAAS,EACT,gBAAgB,EAChB,OAAO,EACP,eAAe,EACf,OAAO,EACP,SAAS,EACT,UAAU,GACX,EAAE,aAAa,2CAkCf"}
|
|
@@ -4,7 +4,8 @@ import { cn } from "@stigmer/theme";
|
|
|
4
4
|
import { HARNESS_META } from "../../models/harness.js";
|
|
5
5
|
/**
|
|
6
6
|
* Persistent session configuration panel (Configure tab) — shows agent,
|
|
7
|
-
* MCP servers, skills, run config, and
|
|
7
|
+
* MCP servers, skills, run config, session variables, and the host's
|
|
8
|
+
* access management control (via `accessSlot`).
|
|
8
9
|
*
|
|
9
10
|
* Workspace management has moved to the dedicated Workspace tab.
|
|
10
11
|
*
|
|
@@ -14,9 +15,9 @@ import { HARNESS_META } from "../../models/harness.js";
|
|
|
14
15
|
*
|
|
15
16
|
* All visual properties flow through `--stgm-*` tokens (DD-005).
|
|
16
17
|
*/
|
|
17
|
-
export function SetupTab({ agentRef, isDefaultAgent, mcpServerUsages, skillRefs, sessionVariables, harness, executionTarget, modelId, mutations, }) {
|
|
18
|
+
export function SetupTab({ agentRef, isDefaultAgent, mcpServerUsages, skillRefs, sessionVariables, harness, executionTarget, modelId, mutations, accessSlot, }) {
|
|
18
19
|
const hasSessionVars = sessionVariables != null && !sessionVariables.isEmpty;
|
|
19
|
-
return (_jsxs("div", { className: "flex flex-col gap-5", children: [_jsx(RunConfigSection, { harness: harness, executionTarget: executionTarget, modelId: modelId }), _jsx(AgentSection, { agentRef: agentRef, isDefaultAgent: isDefaultAgent, onRemove: mutations?.onRemoveAgent }), _jsx(McpSection, { mcpServerUsages: mcpServerUsages, onRemove: mutations?.onRemoveMcp }), _jsx(SkillsSection, { skillRefs: skillRefs, onRemove: mutations?.onRemoveSkill }), hasSessionVars && (_jsx(SessionVarsSection, { entries: sessionVariables.entries }))] }));
|
|
20
|
+
return (_jsxs("div", { className: "flex flex-col gap-5", children: [_jsx(RunConfigSection, { harness: harness, executionTarget: executionTarget, modelId: modelId }), _jsx(AgentSection, { agentRef: agentRef, isDefaultAgent: isDefaultAgent, onRemove: mutations?.onRemoveAgent }), _jsx(McpSection, { mcpServerUsages: mcpServerUsages, onRemove: mutations?.onRemoveMcp }), _jsx(SkillsSection, { skillRefs: skillRefs, onRemove: mutations?.onRemoveSkill }), hasSessionVars && (_jsx(SessionVarsSection, { entries: sessionVariables.entries })), accessSlot && _jsx("section", { children: accessSlot })] }));
|
|
20
21
|
}
|
|
21
22
|
// ---------------------------------------------------------------------------
|
|
22
23
|
// Shared section primitives
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SetupTab.js","sourceRoot":"","sources":["../../../src/session/facets/SetupTab.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAC;AAEpC,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAuCvD;;;;;;;;;;;;GAYG;AACH,MAAM,UAAU,QAAQ,CAAC,EACvB,QAAQ,EACR,cAAc,EACd,eAAe,EACf,SAAS,EACT,gBAAgB,EACh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,EAC9D,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,CAChB,eAAM,SAAS,EAAC,uBAAuB,yBAAgB,CACxD,CAAC,CAAC,CAAC,CACF,eAAM,SAAS,EAAC,8CAA8C,YAAE,KAAK,CAAC,KAAK,GAAQ,CACpF,KANY,KAAK,CAAC,EAAE,CAOZ,CACZ,CAAC,GACE,IACE,CACX,CAAC;AACJ,CAAC;AAED,8EAA8E;AAC9E,6DAA6D;AAC7D,8EAA8E;AAE9E,SAAS,KAAK;IACZ,OAAO,CACL,cAAK,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM,EAAC,MAAM,EAAC,cAAc,EAAC,WAAW,EAAC,KAAK,EAAC,aAAa,EAAC,OAAO,EAAC,cAAc,EAAC,OAAO,YAC9I,eAAM,CAAC,EAAC,sBAAsB,GAAG,GAC7B,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -3,7 +3,7 @@ export interface UsageTabProps {
|
|
|
3
3
|
readonly executions: readonly AgentExecution[];
|
|
4
4
|
}
|
|
5
5
|
/**
|
|
6
|
-
* Usage facet for the
|
|
6
|
+
* Usage facet for the session panel (a `useSessionRailViews` rail view).
|
|
7
7
|
*
|
|
8
8
|
* Uses `useSessionUsage` to determine if data exists, then delegates
|
|
9
9
|
* rendering to the existing `UsageWidget`. Shows an empty state when
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UsageTab.d.ts","sourceRoot":"","sources":["../../../src/session/facets/UsageTab.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,6DAA6D,CAAC;AAIlG,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,UAAU,EAAE,SAAS,cAAc,EAAE,CAAC;CAChD;AAED;;;;;;GAMG;AACH,wBAAgB,QAAQ,CAAC,EAAE,UAAU,EAAE,EAAE,aAAa,2CAcrD"}
|
|
@@ -3,7 +3,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import { useSessionUsage } from "../useSessionUsage.js";
|
|
4
4
|
import { UsageWidget } from "../../execution/UsageWidget.js";
|
|
5
5
|
/**
|
|
6
|
-
* Usage facet for the
|
|
6
|
+
* Usage facet for the session panel (a `useSessionRailViews` rail view).
|
|
7
7
|
*
|
|
8
8
|
* Uses `useSessionUsage` to determine if data exists, then delegates
|
|
9
9
|
* rendering to the existing `UsageWidget`. Shows an empty state when
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UsageTab.js","sourceRoot":"","sources":["../../../src/session/facets/UsageTab.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAM7D;;;;;;GAMG;AACH,MAAM,UAAU,QAAQ,CAAC,EAAE,UAAU,EAAiB;IACpD,MAAM,KAAK,GAAG,eAAe,CAAC,UAAU,CAAC,CAAC;IAE1C,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC;QACpB,OAAO,CACL,cAAK,SAAS,EAAC,iEAAiE,YAC9E,YAAG,SAAS,EAAC,+BAA+B,0EAExC,GACA,CACP,CAAC;IACJ,CAAC;IAED,OAAO,KAAC,WAAW,IAAC,UAAU,EAAE,UAAU,GAAI,CAAC;AACjD,CAAC"}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
export { SessionInspector } from "./SessionInspector.js";
|
|
2
|
-
export type { SessionInspectorProps } from "./SessionInspector.js";
|
|
3
|
-
export { useSessionInspector, buildVisibleTabs } from "./useSessionInspector.js";
|
|
4
|
-
export type { SessionInspectorTabId, UseSessionInspectorOptions, UseSessionInspectorReturn, } from "./useSessionInspector.js";
|
|
5
1
|
export { ChangesTab } from "./ChangesTab.js";
|
|
6
2
|
export type { ChangesTabProps } from "./ChangesTab.js";
|
|
7
3
|
export { ArtifactsTab } from "./ArtifactsTab.js";
|
|
@@ -12,6 +8,4 @@ export { InspectTab } from "./InspectTab.js";
|
|
|
12
8
|
export type { InspectTabProps } from "./InspectTab.js";
|
|
13
9
|
export { SetupTab } from "./SetupTab.js";
|
|
14
10
|
export type { SetupTabProps, SetupTabMutationCallbacks, } from "./SetupTab.js";
|
|
15
|
-
export { WorkspaceTab } from "./WorkspaceTab.js";
|
|
16
|
-
export type { WorkspaceTabProps, WorkspaceTabActions, } from "./WorkspaceTab.js";
|
|
17
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/session/facets/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,YAAY,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,YAAY,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE3D,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,YAAY,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAEnD,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,YAAY,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,YAAY,EACV,aAAa,EACb,yBAAyB,GAC1B,MAAM,eAAe,CAAC"}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
export { SessionInspector } from "./SessionInspector.js";
|
|
2
|
-
export { useSessionInspector, buildVisibleTabs } from "./useSessionInspector.js";
|
|
3
1
|
export { ChangesTab } from "./ChangesTab.js";
|
|
4
2
|
export { ArtifactsTab } from "./ArtifactsTab.js";
|
|
5
3
|
export { UsageTab } from "./UsageTab.js";
|
|
6
4
|
export { InspectTab } from "./InspectTab.js";
|
|
7
5
|
export { SetupTab } from "./SetupTab.js";
|
|
8
|
-
export { WorkspaceTab } from "./WorkspaceTab.js";
|
|
9
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/session/facets/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAG7C,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAGjD,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAGzC,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAG7C,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC"}
|
package/session/index.d.ts
CHANGED
|
@@ -42,8 +42,17 @@ export { SessionViewer } from "./SessionViewer.js";
|
|
|
42
42
|
export type { SessionViewerProps } from "./SessionViewer.js";
|
|
43
43
|
export { NewSessionViewer } from "./NewSessionViewer.js";
|
|
44
44
|
export type { NewSessionViewerProps } from "./NewSessionViewer.js";
|
|
45
|
+
export { useSessionPanel } from "./useSessionPanel.js";
|
|
46
|
+
export type { SessionPanelController, UseSessionPanelOptions, } from "./useSessionPanel.js";
|
|
47
|
+
export { usePlanDraft, planDraftKey } from "./usePlanDraft.js";
|
|
48
|
+
export type { PlanDraftController } from "./usePlanDraft.js";
|
|
49
|
+
export { PlanEditor } from "./PlanEditor.js";
|
|
50
|
+
export type { PlanEditorProps } from "./PlanEditor.js";
|
|
51
|
+
export { PlanStreamingDocument } from "./PlanStreamingDocument.js";
|
|
52
|
+
export type { PlanStreamingDocumentProps } from "./PlanStreamingDocument.js";
|
|
53
|
+
export { PLAN_DOCUMENT_ENTRY_ID, PLAN_DOCUMENT_PATH, } from "./plan-document.js";
|
|
45
54
|
export type { SelectedThreadItem } from "../internal/store/selection-store.js";
|
|
46
|
-
export {
|
|
47
|
-
export type {
|
|
55
|
+
export { SetupTab } from "./facets/index.js";
|
|
56
|
+
export type { SetupTabProps, SetupTabMutationCallbacks, } from "./facets/index.js";
|
|
48
57
|
export { PENDING_SUBJECT, resolvedSubject } from "@stigmer/sdk";
|
|
49
58
|
//# sourceMappingURL=index.d.ts.map
|
package/session/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/session/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AACzF,YAAY,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAEnE,YAAY,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,YAAY,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAErD,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,YAAY,EACV,mBAAmB,EACnB,kBAAkB,EAClB,mBAAmB,EACnB,sBAAsB,GACvB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,YAAY,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAEpE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,YAAY,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAExD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,YAAY,EACV,qBAAqB,EACrB,oBAAoB,GACrB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,YAAY,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AAE5E,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,YAAY,EACV,mBAAmB,EACnB,4BAA4B,GAC7B,MAAM,6BAA6B,CAAC;AAEr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Aa,EACb,yBAAyB,GAC1B,MAAM,mBAAmB,CAAC;AAG3B,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC"}
|
package/session/index.js
CHANGED
|
@@ -21,8 +21,21 @@ export { useSessionSearch } from "./useSessionSearch.js";
|
|
|
21
21
|
export { SessionViewer } from "./SessionViewer.js";
|
|
22
22
|
// NewSessionViewer — launcher organism with progressive Setup panel
|
|
23
23
|
export { NewSessionViewer } from "./NewSessionViewer.js";
|
|
24
|
-
//
|
|
25
|
-
|
|
24
|
+
// Unified session-panel controller — drives the WorkspaceSurface open-editor
|
|
25
|
+
// group, the collapsed/open state, and the rail-view FSM (for platform
|
|
26
|
+
// builders embedding the surface directly).
|
|
27
|
+
export { useSessionPanel } from "./useSessionPanel.js";
|
|
28
|
+
// Plan draft — viewer-owned in-place edit of the session's current plan
|
|
29
|
+
// (edit-as-input; the published plan.md artifact is never mutated).
|
|
30
|
+
export { usePlanDraft, planDraftKey } from "./usePlanDraft.js";
|
|
31
|
+
// Plan document — the editor-area plan surface (mounted as a virtual document
|
|
32
|
+
// in the workspace surface) and the identity of its tab.
|
|
33
|
+
export { PlanEditor } from "./PlanEditor.js";
|
|
34
|
+
export { PlanStreamingDocument } from "./PlanStreamingDocument.js";
|
|
35
|
+
export { PLAN_DOCUMENT_ENTRY_ID, PLAN_DOCUMENT_PATH, } from "./plan-document.js";
|
|
36
|
+
// Session facet components — the panel's rail views (Config et al.), also
|
|
37
|
+
// independently importable (DD-003).
|
|
38
|
+
export { SetupTab } from "./facets/index.js";
|
|
26
39
|
// Session utilities (re-exported from @stigmer/sdk)
|
|
27
40
|
export { PENDING_SUBJECT, resolvedSubject } from "@stigmer/sdk";
|
|
28
41
|
//# sourceMappingURL=index.js.map
|
package/session/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/session/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,E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;AAC7E,uEAAuE;AACvE,4CAA4C;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAMvD,wEAAwE;AACxE,oEAAoE;AACpE,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAG/D,8EAA8E;AAC9E,yDAAyD;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAEnE,OAAO,EACL,sBAAsB,EACtB,kBAAkB,GACnB,MAAM,oBAAoB,CAAC;AAK5B,0EAA0E;AAC1E,qCAAqC;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAM7C,oDAAoD;AACpD,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Virtual entry id of the plan document tab. One tab per session — the host
|
|
3
|
+
* swaps WHICH plan the tab shows (latest editable, or a superseded plan
|
|
4
|
+
* read-only); the tab itself never multiplies.
|
|
5
|
+
*/
|
|
6
|
+
export declare const PLAN_DOCUMENT_ENTRY_ID: string;
|
|
7
|
+
/**
|
|
8
|
+
* The plan tab's path — doubles as its tab label.
|
|
9
|
+
*
|
|
10
|
+
* Deliberately plan-AGNOSTIC ("Plan"), not the artifact's filename. The
|
|
11
|
+
* workspace surface identifies a virtual document's tab by
|
|
12
|
+
* `editorKey(entryId, path)`, so `path` is part of the tab's IDENTITY — and the
|
|
13
|
+
* session keeps exactly ONE plan tab that swaps which plan it shows (latest
|
|
14
|
+
* editable, or a superseded plan read-only). Now that plans carry unique,
|
|
15
|
+
* title-derived filenames (`<slug>_<id>.plan.md`), binding this label to any one
|
|
16
|
+
* plan's name would mint a new tab identity per plan and shatter the
|
|
17
|
+
* single-tab design. A stable, generic label is therefore required, not a
|
|
18
|
+
* stylistic choice — do not "fix" it to track the filename.
|
|
19
|
+
*/
|
|
20
|
+
export declare const PLAN_DOCUMENT_PATH = "Plan";
|
|
21
|
+
//# sourceMappingURL=plan-document.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plan-document.d.ts","sourceRoot":"","sources":["../../src/session/plan-document.ts"],"names":[],"mappings":"AASA;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,QAAyB,CAAC;AAE7D;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,kBAAkB,SAAS,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
// Identity of the session's plan tab in the workspace surface's editor group.
|
|
2
|
+
//
|
|
3
|
+
// Kept in its own module (not in PlanEditor.tsx) so behavior-only consumers —
|
|
4
|
+
// useSessionPanel opens the tab, SessionViewer routes to it — depend on the
|
|
5
|
+
// identity without pulling the component (and its markdown renderer) into
|
|
6
|
+
// their module graph (DD-003 headless-first).
|
|
7
|
+
import { virtualEntryId } from "../internal/store/index.js";
|
|
8
|
+
/**
|
|
9
|
+
* Virtual entry id of the plan document tab. One tab per session — the host
|
|
10
|
+
* swaps WHICH plan the tab shows (latest editable, or a superseded plan
|
|
11
|
+
* read-only); the tab itself never multiplies.
|
|
12
|
+
*/
|
|
13
|
+
export const PLAN_DOCUMENT_ENTRY_ID = virtualEntryId("plan");
|
|
14
|
+
/**
|
|
15
|
+
* The plan tab's path — doubles as its tab label.
|
|
16
|
+
*
|
|
17
|
+
* Deliberately plan-AGNOSTIC ("Plan"), not the artifact's filename. The
|
|
18
|
+
* workspace surface identifies a virtual document's tab by
|
|
19
|
+
* `editorKey(entryId, path)`, so `path` is part of the tab's IDENTITY — and the
|
|
20
|
+
* session keeps exactly ONE plan tab that swaps which plan it shows (latest
|
|
21
|
+
* editable, or a superseded plan read-only). Now that plans carry unique,
|
|
22
|
+
* title-derived filenames (`<slug>_<id>.plan.md`), binding this label to any one
|
|
23
|
+
* plan's name would mint a new tab identity per plan and shatter the
|
|
24
|
+
* single-tab design. A stable, generic label is therefore required, not a
|
|
25
|
+
* stylistic choice — do not "fix" it to track the filename.
|
|
26
|
+
*/
|
|
27
|
+
export const PLAN_DOCUMENT_PATH = "Plan";
|
|
28
|
+
//# sourceMappingURL=plan-document.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plan-document.js","sourceRoot":"","sources":["../../src/session/plan-document.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,EAAE;AACF,8EAA8E;AAC9E,4EAA4E;AAC5E,0EAA0E;AAC1E,8CAA8C;AAE9C,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAE5D;;;;GAIG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,cAAc,CAAC,MAAM,CAAC,CAAC;AAE7D;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,MAAM,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { AgentExecution } from "@stigmer/protos/ai/stigmer/agentic/agentexecution/v1/api_pb";
|
|
2
|
+
import type { FileChange } from "@stigmer/protos/ai/stigmer/agentic/agentexecution/v1/message_pb";
|
|
3
|
+
import type { WorkspaceEntry } from "../workspace/useWorkspaceEntries.js";
|
|
4
|
+
import type { SelectedWorkspaceFile } from "../internal/store/workspace-file-selection-store.js";
|
|
5
|
+
/**
|
|
6
|
+
* Correlate the open workspace file with the one session {@link FileChange} that
|
|
7
|
+
* touched it, so a changed file can default to its authoritative
|
|
8
|
+
* `baseline→candidate` diff (Slice 4 / DD-06).
|
|
9
|
+
*
|
|
10
|
+
* The net-change fold is skipped while no file is open (via `EMPTY_EXECUTIONS`),
|
|
11
|
+
* and the join reuses the same DD-08 resolver + entries + sandbox root that
|
|
12
|
+
* opened the file — so "the diff shown" can never disagree with "the file
|
|
13
|
+
* opened". Both the inspector's Viewer tab and the workspace surface consume
|
|
14
|
+
* this single hook rather than re-deriving the correlation.
|
|
15
|
+
*
|
|
16
|
+
* @returns the matching change, or `null` when the open file was not changed
|
|
17
|
+
* this session (or no file is open).
|
|
18
|
+
*/
|
|
19
|
+
export declare function useOpenFileChange(selectedFile: SelectedWorkspaceFile | null | undefined, allExecutions: readonly AgentExecution[], entries: readonly WorkspaceEntry[] | undefined, sandboxWorkspaceRoot: string | undefined): FileChange | null;
|
|
20
|
+
//# sourceMappingURL=useOpenFileChange.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useOpenFileChange.d.ts","sourceRoot":"","sources":["../../src/session/useOpenFileChange.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,6DAA6D,CAAC;AAClG,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iEAAiE,CAAC;AAClG,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qDAAqD,CAAC;AAWjG;;;;;;;;;;;;;GAaG;AACH,wBAAgB,iBAAiB,CAC/B,YAAY,EAAE,qBAAqB,GAAG,IAAI,GAAG,SAAS,EACtD,aAAa,EAAE,SAAS,cAAc,EAAE,EACxC,OAAO,EAAE,SAAS,cAAc,EAAE,GAAG,SAAS,EAC9C,oBAAoB,EAAE,MAAM,GAAG,SAAS,GACvC,UAAU,GAAG,IAAI,CAgBnB"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useMemo } from "react";
|
|
3
|
+
import { findChangeForSelection } from "../workspace/findChangeForSelection.js";
|
|
4
|
+
import { useSessionFileChanges } from "./useSessionFileChanges.js";
|
|
5
|
+
/**
|
|
6
|
+
* Stable empty executions passed to {@link useSessionFileChanges} while no file
|
|
7
|
+
* is open, so the (fetch-free) net-change fold stays trivial during streaming
|
|
8
|
+
* and only folds once a file is actually being viewed.
|
|
9
|
+
*/
|
|
10
|
+
const EMPTY_EXECUTIONS = [];
|
|
11
|
+
/**
|
|
12
|
+
* Correlate the open workspace file with the one session {@link FileChange} that
|
|
13
|
+
* touched it, so a changed file can default to its authoritative
|
|
14
|
+
* `baseline→candidate` diff (Slice 4 / DD-06).
|
|
15
|
+
*
|
|
16
|
+
* The net-change fold is skipped while no file is open (via `EMPTY_EXECUTIONS`),
|
|
17
|
+
* and the join reuses the same DD-08 resolver + entries + sandbox root that
|
|
18
|
+
* opened the file — so "the diff shown" can never disagree with "the file
|
|
19
|
+
* opened". Both the inspector's Viewer tab and the workspace surface consume
|
|
20
|
+
* this single hook rather than re-deriving the correlation.
|
|
21
|
+
*
|
|
22
|
+
* @returns the matching change, or `null` when the open file was not changed
|
|
23
|
+
* this session (or no file is open).
|
|
24
|
+
*/
|
|
25
|
+
export function useOpenFileChange(selectedFile, allExecutions, entries, sandboxWorkspaceRoot) {
|
|
26
|
+
const { fileChanges } = useSessionFileChanges(selectedFile ? allExecutions : EMPTY_EXECUTIONS);
|
|
27
|
+
return useMemo(() => selectedFile && entries
|
|
28
|
+
? findChangeForSelection(selectedFile, fileChanges, entries, sandboxWorkspaceRoot) ?? null
|
|
29
|
+
: null, [selectedFile, fileChanges, entries, sandboxWorkspaceRoot]);
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=useOpenFileChange.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useOpenFileChange.js","sourceRoot":"","sources":["../../src/session/useOpenFileChange.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAKhC,OAAO,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAChF,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAEnE;;;;GAIG;AACH,MAAM,gBAAgB,GAA8B,EAAE,CAAC;AAEvD;;;;;;;;;;;;;GAaG;AACH,MAAM,UAAU,iBAAiB,CAC/B,YAAsD,EACtD,aAAwC,EACxC,OAA8C,EAC9C,oBAAwC;IAExC,MAAM,EAAE,WAAW,EAAE,GAAG,qBAAqB,CAC3C,YAAY,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,gBAAgB,CAChD,CAAC;IACF,OAAO,OAAO,CACZ,GAAG,EAAE,CACH,YAAY,IAAI,OAAO;QACrB,CAAC,CAAC,sBAAsB,CACpB,YAAY,EACZ,WAAW,EACX,OAAO,EACP,oBAAoB,CACrB,IAAI,IAAI;QACX,CAAC,CAAC,IAAI,EACV,CAAC,YAAY,EAAE,WAAW,EAAE,OAAO,EAAE,oBAAoB,CAAC,CAC3D,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type { SessionPlan } from "../library/detect-plan-artifact.js";
|
|
2
|
+
/**
|
|
3
|
+
* Identity of a plan for draft scoping: the execution that published it plus
|
|
4
|
+
* the artifact's content hash. A refined plan (new execution) or a republished
|
|
5
|
+
* plan (same key, new hash) produces a NEW identity, which orphans any draft
|
|
6
|
+
* of the previous plan — a draft of plan N must never silently ride along
|
|
7
|
+
* once plan N+1 exists.
|
|
8
|
+
*/
|
|
9
|
+
export declare function planDraftKey(plan: SessionPlan): string;
|
|
10
|
+
/** Controller returned by {@link usePlanDraft}. */
|
|
11
|
+
export interface PlanDraftController {
|
|
12
|
+
/**
|
|
13
|
+
* The user's in-place edit of the current plan, or `null` when the plan is
|
|
14
|
+
* unedited. Always scoped to the CURRENT plan — a draft made against a
|
|
15
|
+
* superseded plan reads as `null` here (it is dropped, never migrated).
|
|
16
|
+
*/
|
|
17
|
+
readonly draftText: string | null;
|
|
18
|
+
/** True when the current plan has an active draft. */
|
|
19
|
+
readonly isEdited: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Set (or update) the draft for the current plan. Pass `null` to revert to
|
|
22
|
+
* the published plan. No-ops when the session has no plan.
|
|
23
|
+
*/
|
|
24
|
+
readonly setDraft: (text: string | null) => void;
|
|
25
|
+
/**
|
|
26
|
+
* Snapshot reader for submit-time consumers: returns the current draft (or
|
|
27
|
+
* `null`) without the caller depending on draft state. Referentially stable
|
|
28
|
+
* for the lifetime of the component (DD-010) — the "Build" action reads the
|
|
29
|
+
* draft through this at click time, so per-keystroke draft updates never
|
|
30
|
+
* re-bind the build callback or re-render the conversation column.
|
|
31
|
+
*/
|
|
32
|
+
readonly readDraft: () => string | null;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Owns the local draft of the session's current plan (Phase: refine before
|
|
36
|
+
* build). The draft is a client-side overlay — the published `plan.md`
|
|
37
|
+
* artifact is immutable and is never written back (edit-as-input, not
|
|
38
|
+
* artifact mutation). The approved plan (draft if edited, else the artifact
|
|
39
|
+
* text) is delivered to the implement execution as an attachment.
|
|
40
|
+
*
|
|
41
|
+
* Ownership lives at the viewer level, NOT inside the plan document tab's
|
|
42
|
+
* editor: the panel subtree unmounts wholesale on collapse (and the editor
|
|
43
|
+
* remounts per plan identity), so editor-local state would be destroyed by
|
|
44
|
+
* every collapse or tab switch — silently losing the user's edits.
|
|
45
|
+
*
|
|
46
|
+
* Supersession is derived, not synchronized: the draft is stored with the
|
|
47
|
+
* plan identity it was made against ({@link planDraftKey}), and reads resolve
|
|
48
|
+
* against the CURRENT plan's identity. When a newer plan arrives the old
|
|
49
|
+
* draft simply stops matching — no effect, no cleanup, no stale-flush race.
|
|
50
|
+
*/
|
|
51
|
+
export declare function usePlanDraft(plan: SessionPlan | undefined): PlanDraftController;
|
|
52
|
+
//# sourceMappingURL=usePlanDraft.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePlanDraft.d.ts","sourceRoot":"","sources":["../../src/session/usePlanDraft.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AAEtE;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,WAAW,GAAG,MAAM,CAEtD;AAED,mDAAmD;AACnD,MAAM,WAAW,mBAAmB;IAClC;;;;OAIG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,sDAAsD;IACtD,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;IAC3B;;;OAGG;IACH,QAAQ,CAAC,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACjD;;;;;;OAMG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,MAAM,GAAG,IAAI,CAAC;CACzC;AAOD;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,YAAY,CAC1B,IAAI,EAAE,WAAW,GAAG,SAAS,GAC5B,mBAAmB,CA2CrB"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useCallback, useMemo, useRef, useState } from "react";
|
|
3
|
+
/**
|
|
4
|
+
* Identity of a plan for draft scoping: the execution that published it plus
|
|
5
|
+
* the artifact's content hash. A refined plan (new execution) or a republished
|
|
6
|
+
* plan (same key, new hash) produces a NEW identity, which orphans any draft
|
|
7
|
+
* of the previous plan — a draft of plan N must never silently ride along
|
|
8
|
+
* once plan N+1 exists.
|
|
9
|
+
*/
|
|
10
|
+
export function planDraftKey(plan) {
|
|
11
|
+
return `${plan.executionId}:${plan.artifact.contentHash}`;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Owns the local draft of the session's current plan (Phase: refine before
|
|
15
|
+
* build). The draft is a client-side overlay — the published `plan.md`
|
|
16
|
+
* artifact is immutable and is never written back (edit-as-input, not
|
|
17
|
+
* artifact mutation). The approved plan (draft if edited, else the artifact
|
|
18
|
+
* text) is delivered to the implement execution as an attachment.
|
|
19
|
+
*
|
|
20
|
+
* Ownership lives at the viewer level, NOT inside the plan document tab's
|
|
21
|
+
* editor: the panel subtree unmounts wholesale on collapse (and the editor
|
|
22
|
+
* remounts per plan identity), so editor-local state would be destroyed by
|
|
23
|
+
* every collapse or tab switch — silently losing the user's edits.
|
|
24
|
+
*
|
|
25
|
+
* Supersession is derived, not synchronized: the draft is stored with the
|
|
26
|
+
* plan identity it was made against ({@link planDraftKey}), and reads resolve
|
|
27
|
+
* against the CURRENT plan's identity. When a newer plan arrives the old
|
|
28
|
+
* draft simply stops matching — no effect, no cleanup, no stale-flush race.
|
|
29
|
+
*/
|
|
30
|
+
export function usePlanDraft(plan) {
|
|
31
|
+
const [draft, setDraftState] = useState(null);
|
|
32
|
+
const currentKey = plan ? planDraftKey(plan) : null;
|
|
33
|
+
const draftText = draft !== null && currentKey !== null && draft.key === currentKey
|
|
34
|
+
? draft.text
|
|
35
|
+
: null;
|
|
36
|
+
// Render-synced mirrors so `readDraft` stays referentially stable while
|
|
37
|
+
// always observing the latest draft/plan (the useSessionPanel viewRef
|
|
38
|
+
// pattern).
|
|
39
|
+
const draftRef = useRef(draft);
|
|
40
|
+
draftRef.current = draft;
|
|
41
|
+
const currentKeyRef = useRef(currentKey);
|
|
42
|
+
currentKeyRef.current = currentKey;
|
|
43
|
+
const setDraft = useCallback((text) => {
|
|
44
|
+
const key = currentKeyRef.current;
|
|
45
|
+
if (!key)
|
|
46
|
+
return;
|
|
47
|
+
setDraftState(text === null ? null : { key, text });
|
|
48
|
+
}, []);
|
|
49
|
+
const readDraft = useCallback(() => {
|
|
50
|
+
const current = draftRef.current;
|
|
51
|
+
const key = currentKeyRef.current;
|
|
52
|
+
return current !== null && key !== null && current.key === key
|
|
53
|
+
? current.text
|
|
54
|
+
: null;
|
|
55
|
+
}, []);
|
|
56
|
+
return useMemo(() => ({
|
|
57
|
+
draftText,
|
|
58
|
+
isEdited: draftText !== null,
|
|
59
|
+
setDraft,
|
|
60
|
+
readDraft,
|
|
61
|
+
}), [draftText, setDraft, readDraft]);
|
|
62
|
+
}
|
|
63
|
+
//# sourceMappingURL=usePlanDraft.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePlanDraft.js","sourceRoot":"","sources":["../../src/session/usePlanDraft.ts"],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AC;IAEF,MAAM,SAAS,GAAG,WAAW,CAAC,GAAkB,EAAE;QAChD,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC;QACjC,MAAM,GAAG,GAAG,aAAa,CAAC,OAAO,CAAC;QAClC,OAAO,OAAO,KAAK,IAAI,IAAI,GAAG,KAAK,IAAI,IAAI,OAAO,CAAC,GAAG,KAAK,GAAG;YAC5D,CAAC,CAAC,OAAO,CAAC,IAAI;YACd,CAAC,CAAC,IAAI,CAAC;IACX,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,OAAO,CACZ,GAAG,EAAE,CAAC,CAAC;QACL,SAAS;QACT,QAAQ,EAAE,SAAS,KAAK,IAAI;QAC5B,QAAQ;QACR,SAAS;KACV,CAAC,EACF,CAAC,SAAS,EAAE,QAAQ,EAAE,SAAS,CAAC,CACjC,CAAC;AACJ,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AgentExecution } from "@stigmer/protos/ai/stigmer/agentic/agentexecution/v1/api_pb";
|
|
2
2
|
import type { PendingApproval } from "@stigmer/protos/ai/stigmer/agentic/agentexecution/v1/approval_pb";
|
|
3
|
-
import type { FileChangeSet } from "@stigmer/protos/ai/stigmer/agentic/agentexecution/v1/filereview_pb";
|
|
3
|
+
import type { FileChangeProgress, FileChangeSet } from "@stigmer/protos/ai/stigmer/agentic/agentexecution/v1/filereview_pb";
|
|
4
4
|
import { ApprovalAction, ExecutionPhase, FileDecisionAction } from "@stigmer/protos/ai/stigmer/agentic/agentexecution/v1/enum_pb";
|
|
5
5
|
import type { Session } from "@stigmer/protos/ai/stigmer/agentic/session/v1/api_pb";
|
|
6
6
|
import type { McpServerUsage as ProtoMcpServerUsage } from "@stigmer/protos/ai/stigmer/agentic/agent/v1/spec_pb";
|
|
@@ -61,6 +61,12 @@ export interface SendFollowUpOptions {
|
|
|
61
61
|
* - `"plan"`: read-only analysis, no file mutations.
|
|
62
62
|
*/
|
|
63
63
|
readonly interactionMode?: "agent" | "plan";
|
|
64
|
+
/**
|
|
65
|
+
* Marks this execution as a Build-from-plan turn.
|
|
66
|
+
*
|
|
67
|
+
* @see {@link CreateAgentExecutionInput.buildFromPlan}
|
|
68
|
+
*/
|
|
69
|
+
readonly buildFromPlan?: boolean;
|
|
64
70
|
/**
|
|
65
71
|
* Auto-approve every tool call for this execution (bypass the HITL gate).
|
|
66
72
|
*
|
|
@@ -168,6 +174,13 @@ export interface UseSessionConversationReturn {
|
|
|
168
174
|
readonly clearApprovalError: () => void;
|
|
169
175
|
/** Captured change sets awaiting file review on the active execution, empty when none. */
|
|
170
176
|
readonly fileChangeSets: readonly FileChangeSet[];
|
|
177
|
+
/**
|
|
178
|
+
* Mid-run live capture (DD-32): the transient, non-authoritative snapshot of the
|
|
179
|
+
* workspace delta accumulating during the active turn ("N files changed so far").
|
|
180
|
+
* Undefined when no turn is currently capturing. Never decidable — the reviewed
|
|
181
|
+
* diff is {@link fileChangeSets}.
|
|
182
|
+
*/
|
|
183
|
+
readonly fileChangeProgress: FileChangeProgress | undefined;
|
|
171
184
|
/** Submit a file-review decision for a change set. The executionId is managed internally. */
|
|
172
185
|
readonly submitFileDecision: (changeSetId: string, action: FileDecisionAction, options?: FileDecisionOptions) => Promise<void>;
|
|
173
186
|
/** Decision keys ({@link fileDecisionKey}) currently being submitted. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSessionConversation.d.ts","sourceRoot":"","sources":["../../src/session/useSessionConversation.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,6DAA6D,CAAC;AAClG,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kEAAkE,CAAC;AACxG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oEAAoE,CAAC;
|
|
1
|
+
{"version":3,"file":"useSessionConversation.d.ts","sourceRoot":"","sources":["../../src/session/useSessionConversation.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAA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