@stigmer/react 3.12.1 → 3.12.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/access/ManageAccessDialog.d.ts.map +1 -1
- package/access/ManageAccessDialog.js +8 -19
- package/access/ManageAccessDialog.js.map +1 -1
- package/activity/format-relative-time.d.ts +11 -9
- package/activity/format-relative-time.d.ts.map +1 -1
- package/activity/format-relative-time.js +11 -9
- package/activity/format-relative-time.js.map +1 -1
- package/agent/steps/CapabilitiesStep.js +5 -2
- package/agent/steps/CapabilitiesStep.js.map +1 -1
- package/agent/steps/IdentityStep.d.ts.map +1 -1
- package/agent/steps/IdentityStep.js +6 -5
- package/agent/steps/IdentityStep.js.map +1 -1
- package/agent-instance/CreateAgentInstanceDialog.d.ts.map +1 -1
- package/agent-instance/CreateAgentInstanceDialog.js +15 -20
- package/agent-instance/CreateAgentInstanceDialog.js.map +1 -1
- package/api-key/ApiKeyCreatedAlert.d.ts.map +1 -1
- package/api-key/ApiKeyCreatedAlert.js +12 -20
- package/api-key/ApiKeyCreatedAlert.js.map +1 -1
- package/api-key/ApiKeyListPanel.d.ts.map +1 -1
- package/api-key/ApiKeyListPanel.js +3 -23
- package/api-key/ApiKeyListPanel.js.map +1 -1
- package/api-key/CreateApiKeyForm.d.ts.map +1 -1
- package/api-key/CreateApiKeyForm.js +6 -10
- package/api-key/CreateApiKeyForm.js.map +1 -1
- package/approval-defaults-context.d.ts +47 -0
- package/approval-defaults-context.d.ts.map +1 -0
- package/approval-defaults-context.js +27 -0
- package/approval-defaults-context.js.map +1 -0
- package/attachment/AttachmentImageLightbox.d.ts.map +1 -1
- package/attachment/AttachmentImageLightbox.js +8 -23
- package/attachment/AttachmentImageLightbox.js.map +1 -1
- package/attachment/index.d.ts +2 -0
- package/attachment/index.d.ts.map +1 -1
- package/attachment/index.js +1 -0
- package/attachment/index.js.map +1 -1
- package/attachment/vision-preflight.d.ts +113 -0
- package/attachment/vision-preflight.d.ts.map +1 -0
- package/attachment/vision-preflight.js +143 -0
- package/attachment/vision-preflight.js.map +1 -0
- package/billing/AutoRechargeCard.d.ts.map +1 -1
- package/billing/AutoRechargeCard.js +3 -2
- package/billing/AutoRechargeCard.js.map +1 -1
- package/billing/BillingSection.d.ts.map +1 -1
- package/billing/BillingSection.js +3 -2
- package/billing/BillingSection.js.map +1 -1
- package/channel/ChannelConversationsDialog.d.ts.map +1 -1
- package/channel/ChannelConversationsDialog.js +6 -21
- package/channel/ChannelConversationsDialog.js.map +1 -1
- package/channel/ChannelCredentialsDialog.d.ts.map +1 -1
- package/channel/ChannelCredentialsDialog.js +10 -21
- package/channel/ChannelCredentialsDialog.js.map +1 -1
- package/channel/ChannelTemplatesDialog.d.ts.map +1 -1
- package/channel/ChannelTemplatesDialog.js +7 -22
- package/channel/ChannelTemplatesDialog.js.map +1 -1
- package/channel/ConnectSlackDialog.d.ts.map +1 -1
- package/channel/ConnectSlackDialog.js +10 -23
- package/channel/ConnectSlackDialog.js.map +1 -1
- package/channel/ConnectWhatsAppDialog.d.ts.map +1 -1
- package/channel/ConnectWhatsAppDialog.js +10 -23
- package/channel/ConnectWhatsAppDialog.js.map +1 -1
- package/channel/useChannelSessions.d.ts.map +1 -1
- package/channel/useChannelSessions.js.map +1 -1
- package/channel-app/ChannelAppDetailPanel.d.ts.map +1 -1
- package/channel-app/ChannelAppDetailPanel.js +8 -5
- package/channel-app/ChannelAppDetailPanel.js.map +1 -1
- package/channel-app/CreateChannelAppForm.d.ts.map +1 -1
- package/channel-app/CreateChannelAppForm.js +12 -7
- package/channel-app/CreateChannelAppForm.js.map +1 -1
- package/channel-app/internal.d.ts +0 -1
- package/channel-app/internal.d.ts.map +1 -1
- package/channel-app/internal.js +5 -10
- package/channel-app/internal.js.map +1 -1
- package/composer/ComposerToolbar.js +2 -1
- package/composer/ComposerToolbar.js.map +1 -1
- package/composer/SessionComposer.d.ts +1 -1
- package/composer/SessionComposer.d.ts.map +1 -1
- package/composer/SessionComposer.js +120 -13
- package/composer/SessionComposer.js.map +1 -1
- package/composer/icons.d.ts +0 -1
- package/composer/icons.d.ts.map +1 -1
- package/composer/icons.js +0 -3
- package/composer/icons.js.map +1 -1
- package/conversation/ConversationAttentionBanner.d.ts +23 -6
- package/conversation/ConversationAttentionBanner.d.ts.map +1 -1
- package/conversation/ConversationAttentionBanner.js +25 -10
- package/conversation/ConversationAttentionBanner.js.map +1 -1
- package/conversation/ConversationComposer.js +1 -1
- package/conversation/ConversationComposer.js.map +1 -1
- package/conversation/ConversationListPane.d.ts.map +1 -1
- package/conversation/ConversationListPane.js +28 -8
- package/conversation/ConversationListPane.js.map +1 -1
- package/conversation/ConversationsWorkbench.d.ts.map +1 -1
- package/conversation/ConversationsWorkbench.js +1 -1
- package/conversation/ConversationsWorkbench.js.map +1 -1
- package/cursor-accounts/MemberCoverageTable.js +3 -14
- package/cursor-accounts/MemberCoverageTable.js.map +1 -1
- package/dashboard/DashboardFailedRuns.d.ts.map +1 -1
- package/dashboard/DashboardFailedRuns.js +2 -14
- package/dashboard/DashboardFailedRuns.js.map +1 -1
- package/environment/CreateEnvironmentForm.d.ts.map +1 -1
- package/environment/CreateEnvironmentForm.js +4 -8
- package/environment/CreateEnvironmentForm.js.map +1 -1
- package/environment/EnvVarForm.d.ts.map +1 -1
- package/environment/EnvVarForm.js +2 -4
- package/environment/EnvVarForm.js.map +1 -1
- package/environment/EnvironmentVariableEditor.d.ts.map +1 -1
- package/environment/EnvironmentVariableEditor.js +5 -7
- package/environment/EnvironmentVariableEditor.js.map +1 -1
- package/execution/ApprovalCard.d.ts.map +1 -1
- package/execution/ApprovalCard.js +13 -3
- package/execution/ApprovalCard.js.map +1 -1
- package/execution/ArtifactApplyButton.d.ts.map +1 -1
- package/execution/ArtifactApplyButton.js +2 -4
- package/execution/ArtifactApplyButton.js.map +1 -1
- package/execution/ArtifactPreviewModal.d.ts.map +1 -1
- package/execution/ArtifactPreviewModal.js +11 -17
- package/execution/ArtifactPreviewModal.js.map +1 -1
- package/execution/ExecutionErrorNotice.d.ts +36 -0
- package/execution/ExecutionErrorNotice.d.ts.map +1 -0
- package/execution/ExecutionErrorNotice.js +39 -0
- package/execution/ExecutionErrorNotice.js.map +1 -0
- package/execution/FilePathLink.d.ts.map +1 -1
- package/execution/FilePathLink.js +5 -8
- package/execution/FilePathLink.js.map +1 -1
- package/execution/FileReviewCard.d.ts.map +1 -1
- package/execution/FileReviewCard.js +1 -6
- package/execution/FileReviewCard.js.map +1 -1
- package/execution/FollowUpInput.d.ts.map +1 -1
- package/execution/FollowUpInput.js +1 -3
- package/execution/FollowUpInput.js.map +1 -1
- package/execution/LivenessStatusLine.d.ts +40 -0
- package/execution/LivenessStatusLine.d.ts.map +1 -0
- package/execution/LivenessStatusLine.js +34 -0
- package/execution/LivenessStatusLine.js.map +1 -0
- package/execution/MessageEntry.d.ts.map +1 -1
- package/execution/MessageEntry.js +31 -3
- package/execution/MessageEntry.js.map +1 -1
- package/execution/MessageThread.d.ts +25 -0
- package/execution/MessageThread.d.ts.map +1 -1
- package/execution/MessageThread.js +51 -36
- package/execution/MessageThread.js.map +1 -1
- package/execution/SetupProgress.d.ts.map +1 -1
- package/execution/SetupProgress.js +1 -1
- package/execution/SetupProgress.js.map +1 -1
- package/execution/SubAgentSection.d.ts.map +1 -1
- package/execution/SubAgentSection.js +9 -7
- package/execution/SubAgentSection.js.map +1 -1
- package/execution/TerminalSession.d.ts +30 -0
- package/execution/TerminalSession.d.ts.map +1 -1
- package/execution/TerminalSession.js +37 -1
- package/execution/TerminalSession.js.map +1 -1
- package/execution/ToolCallDetail.d.ts +9 -0
- package/execution/ToolCallDetail.d.ts.map +1 -1
- package/execution/ToolCallDetail.js +16 -0
- package/execution/ToolCallDetail.js.map +1 -1
- package/execution/ToolCallItem.d.ts +23 -7
- package/execution/ToolCallItem.d.ts.map +1 -1
- package/execution/ToolCallItem.js +120 -35
- package/execution/ToolCallItem.js.map +1 -1
- package/execution/ToolRunGroup.d.ts.map +1 -1
- package/execution/ToolRunGroup.js +11 -11
- package/execution/ToolRunGroup.js.map +1 -1
- package/execution/WriteBackCard.d.ts.map +1 -1
- package/execution/WriteBackCard.js +5 -20
- package/execution/WriteBackCard.js.map +1 -1
- package/execution/index.d.ts +7 -3
- package/execution/index.d.ts.map +1 -1
- package/execution/index.js +4 -2
- package/execution/index.js.map +1 -1
- package/execution/tool-categories.d.ts +93 -7
- package/execution/tool-categories.d.ts.map +1 -1
- package/execution/tool-categories.js +141 -5
- package/execution/tool-categories.js.map +1 -1
- package/execution/tool-presenter.d.ts +32 -1
- package/execution/tool-presenter.d.ts.map +1 -1
- package/execution/tool-presenter.js +10 -2
- package/execution/tool-presenter.js.map +1 -1
- package/execution/useArtifactInspection.d.ts.map +1 -1
- package/execution/useArtifactInspection.js +4 -7
- package/execution/useArtifactInspection.js.map +1 -1
- package/iam-policy/GrantAccessForm.d.ts.map +1 -1
- package/iam-policy/GrantAccessForm.js +2 -4
- package/iam-policy/GrantAccessForm.js.map +1 -1
- package/iam-policy/OrgMembersPanel.d.ts.map +1 -1
- package/iam-policy/OrgMembersPanel.js +3 -5
- package/iam-policy/OrgMembersPanel.js.map +1 -1
- package/iam-policy/RoleSelector.d.ts.map +1 -1
- package/iam-policy/RoleSelector.js +7 -1
- package/iam-policy/RoleSelector.js.map +1 -1
- package/identity-provider/CreateIdentityProviderForm.d.ts.map +1 -1
- package/identity-provider/CreateIdentityProviderForm.js +6 -9
- package/identity-provider/CreateIdentityProviderForm.js.map +1 -1
- package/identity-provider/IdentityProviderDetailPanel.d.ts.map +1 -1
- package/identity-provider/IdentityProviderDetailPanel.js +17 -26
- package/identity-provider/IdentityProviderDetailPanel.js.map +1 -1
- package/identity-provider/IdentityProviderListPanel.d.ts.map +1 -1
- package/identity-provider/IdentityProviderListPanel.js +2 -4
- package/identity-provider/IdentityProviderListPanel.js.map +1 -1
- package/identity-provider/IdentityProviderWizard.d.ts.map +1 -1
- package/identity-provider/IdentityProviderWizard.js +8 -7
- package/identity-provider/IdentityProviderWizard.js.map +1 -1
- package/identity-provider/SsoLoginPrompt.js +5 -6
- package/identity-provider/SsoLoginPrompt.js.map +1 -1
- package/index.d.ts +9 -8
- package/index.d.ts.map +1 -1
- package/index.js +4 -4
- package/index.js.map +1 -1
- package/internal/DecisionButton.d.ts.map +1 -1
- package/internal/DecisionButton.js +1 -6
- package/internal/DecisionButton.js.map +1 -1
- package/internal/DialogShell.d.ts +77 -0
- package/internal/DialogShell.d.ts.map +1 -0
- package/internal/DialogShell.js +77 -0
- package/internal/DialogShell.js.map +1 -0
- package/internal/SpinnerIcon.d.ts +22 -0
- package/internal/SpinnerIcon.d.ts.map +1 -0
- package/internal/SpinnerIcon.js +23 -0
- package/internal/SpinnerIcon.js.map +1 -0
- package/internal/select-element-text.d.ts +11 -0
- package/internal/select-element-text.d.ts.map +1 -0
- package/internal/select-element-text.js +19 -0
- package/internal/select-element-text.js.map +1 -0
- package/internal/thread-card/ThreadCardShell.d.ts +27 -10
- package/internal/thread-card/ThreadCardShell.d.ts.map +1 -1
- package/internal/thread-card/ThreadCardShell.js +11 -5
- package/internal/thread-card/ThreadCardShell.js.map +1 -1
- package/internal/thread-card/glyphs.d.ts +11 -2
- package/internal/thread-card/glyphs.d.ts.map +1 -1
- package/internal/thread-card/glyphs.js +9 -3
- package/internal/thread-card/glyphs.js.map +1 -1
- package/internal/thread-card/index.d.ts +1 -1
- package/internal/thread-card/index.d.ts.map +1 -1
- package/internal/thread-card/index.js.map +1 -1
- package/internal/useCopyFeedback.d.ts +28 -0
- package/internal/useCopyFeedback.d.ts.map +1 -0
- package/internal/useCopyFeedback.js +40 -0
- package/internal/useCopyFeedback.js.map +1 -0
- package/invitation/InvitationCreatedAlert.d.ts.map +1 -1
- package/invitation/InvitationCreatedAlert.js +12 -19
- package/invitation/InvitationCreatedAlert.js.map +1 -1
- package/invitation/InvitationManager.d.ts.map +1 -1
- package/invitation/InvitationManager.js +14 -21
- package/invitation/InvitationManager.js.map +1 -1
- package/invitation/InvitationRedemption.d.ts.map +1 -1
- package/invitation/InvitationRedemption.js +2 -4
- package/invitation/InvitationRedemption.js.map +1 -1
- package/library/useExportResource.d.ts.map +1 -1
- package/library/useExportResource.js +16 -27
- package/library/useExportResource.js.map +1 -1
- package/manifest/ApplyManifestDialog.d.ts.map +1 -1
- package/manifest/ApplyManifestDialog.js +7 -17
- package/manifest/ApplyManifestDialog.js.map +1 -1
- package/manifest/EditResourceYamlDialog.d.ts.map +1 -1
- package/manifest/EditResourceYamlDialog.js +3 -19
- package/manifest/EditResourceYamlDialog.js.map +1 -1
- package/mcp-server/DefinitionDriftNotice.d.ts +42 -0
- package/mcp-server/DefinitionDriftNotice.d.ts.map +1 -0
- package/mcp-server/DefinitionDriftNotice.js +52 -0
- package/mcp-server/DefinitionDriftNotice.js.map +1 -0
- package/mcp-server/McpServerConnectDialog.d.ts.map +1 -1
- package/mcp-server/McpServerConnectDialog.js +8 -20
- package/mcp-server/McpServerConnectDialog.js.map +1 -1
- package/mcp-server/McpServerDetailView.d.ts.map +1 -1
- package/mcp-server/McpServerDetailView.js +50 -28
- package/mcp-server/McpServerDetailView.js.map +1 -1
- package/mcp-server/OAuthAppForm.d.ts.map +1 -1
- package/mcp-server/OAuthAppForm.js +2 -4
- package/mcp-server/OAuthAppForm.js.map +1 -1
- package/mcp-server/internal/definitionDrift.d.ts +39 -0
- package/mcp-server/internal/definitionDrift.d.ts.map +1 -0
- package/mcp-server/internal/definitionDrift.js +122 -0
- package/mcp-server/internal/definitionDrift.js.map +1 -0
- package/mcp-server/internal/mcpServerToInput.d.ts.map +1 -1
- package/mcp-server/internal/mcpServerToInput.js +3 -0
- package/mcp-server/internal/mcpServerToInput.js.map +1 -1
- package/mcp-server/steps/EnvironmentAuthStep.d.ts.map +1 -1
- package/mcp-server/steps/EnvironmentAuthStep.js +8 -4
- package/mcp-server/steps/EnvironmentAuthStep.js.map +1 -1
- package/mcp-server/steps/IdentityTransportStep.d.ts.map +1 -1
- package/mcp-server/steps/IdentityTransportStep.js +5 -4
- package/mcp-server/steps/IdentityTransportStep.js.map +1 -1
- package/mcp-server/useMcpServerConnect.d.ts +1 -1
- package/mcp-server/useMcpServerDefinitionDrift.d.ts +44 -0
- package/mcp-server/useMcpServerDefinitionDrift.d.ts.map +1 -0
- package/mcp-server/useMcpServerDefinitionDrift.js +61 -0
- package/mcp-server/useMcpServerDefinitionDrift.js.map +1 -0
- package/models/ModelRegistryContext.d.ts +7 -1
- package/models/ModelRegistryContext.d.ts.map +1 -1
- package/models/ModelRegistryContext.js.map +1 -1
- package/models/ModelSelector.js +9 -1
- package/models/ModelSelector.js.map +1 -1
- package/models/index.d.ts +2 -2
- package/models/index.d.ts.map +1 -1
- package/models/index.js +1 -1
- package/models/index.js.map +1 -1
- package/models/registry.d.ts +88 -6
- package/models/registry.d.ts.map +1 -1
- package/models/registry.js +133 -27
- package/models/registry.js.map +1 -1
- package/models/useModelRegistry.d.ts +7 -1
- package/models/useModelRegistry.d.ts.map +1 -1
- package/models/useModelRegistry.js +3 -2
- package/models/useModelRegistry.js.map +1 -1
- package/oauth-app/CreateOAuthAppForm.d.ts.map +1 -1
- package/oauth-app/CreateOAuthAppForm.js +4 -5
- package/oauth-app/CreateOAuthAppForm.js.map +1 -1
- package/oauth-app/OAuthAppDetailPanel.d.ts.map +1 -1
- package/oauth-app/OAuthAppDetailPanel.js +5 -6
- package/oauth-app/OAuthAppDetailPanel.js.map +1 -1
- package/organization/CreateOrganizationForm.d.ts.map +1 -1
- package/organization/CreateOrganizationForm.js +5 -9
- package/organization/CreateOrganizationForm.js.map +1 -1
- package/organization/OrgProfilePanel.d.ts.map +1 -1
- package/organization/OrgProfilePanel.js +7 -16
- package/organization/OrgProfilePanel.js.map +1 -1
- package/package.json +4 -4
- package/platform-client/CreatePlatformClientForm.d.ts.map +1 -1
- package/platform-client/CreatePlatformClientForm.js +5 -6
- package/platform-client/CreatePlatformClientForm.js.map +1 -1
- package/platform-client/PlatformClientDetailPanel.d.ts.map +1 -1
- package/platform-client/PlatformClientDetailPanel.js +6 -7
- package/platform-client/PlatformClientDetailPanel.js.map +1 -1
- package/platform-client/PlatformClientListPanel.d.ts.map +1 -1
- package/platform-client/PlatformClientListPanel.js +2 -4
- package/platform-client/PlatformClientListPanel.js.map +1 -1
- package/platform-client/PlatformClientSecretAlert.d.ts.map +1 -1
- package/platform-client/PlatformClientSecretAlert.js +18 -25
- package/platform-client/PlatformClientSecretAlert.js.map +1 -1
- package/provider.d.ts +34 -1
- package/provider.d.ts.map +1 -1
- package/provider.js +14 -7
- package/provider.js.map +1 -1
- package/resource-creation/WizardNav.d.ts.map +1 -1
- package/resource-creation/WizardNav.js +2 -4
- package/resource-creation/WizardNav.js.map +1 -1
- package/resource-detail/ConfirmDialog.d.ts +2 -3
- package/resource-detail/ConfirmDialog.d.ts.map +1 -1
- package/resource-detail/ConfirmDialog.js +8 -20
- package/resource-detail/ConfirmDialog.js.map +1 -1
- package/resource-detail/useCopyResource.d.ts +4 -3
- package/resource-detail/useCopyResource.d.ts.map +1 -1
- package/resource-detail/useCopyResource.js +10 -19
- package/resource-detail/useCopyResource.js.map +1 -1
- package/schedule/ScheduleDetailView.d.ts.map +1 -1
- package/schedule/ScheduleDetailView.js +2 -4
- package/schedule/ScheduleDetailView.js.map +1 -1
- package/schedule/ScheduleForm.d.ts.map +1 -1
- package/schedule/ScheduleForm.js +6 -7
- package/schedule/ScheduleForm.js.map +1 -1
- package/session/NewSessionViewer.d.ts +52 -2
- package/session/NewSessionViewer.d.ts.map +1 -1
- package/session/NewSessionViewer.js +21 -6
- package/session/NewSessionViewer.js.map +1 -1
- package/session/SessionViewer.d.ts +63 -2
- package/session/SessionViewer.d.ts.map +1 -1
- package/session/SessionViewer.js +43 -17
- package/session/SessionViewer.js.map +1 -1
- package/session/audience.d.ts +17 -0
- package/session/audience.d.ts.map +1 -1
- package/session/index.d.ts +2 -1
- package/session/index.d.ts.map +1 -1
- package/session/index.js.map +1 -1
- package/session/run-config.d.ts +50 -0
- package/session/run-config.d.ts.map +1 -0
- package/session/run-config.js +15 -0
- package/session/run-config.js.map +1 -0
- package/session/useNewSessionFlow.d.ts +11 -0
- package/session/useNewSessionFlow.d.ts.map +1 -1
- package/session/useNewSessionFlow.js +29 -2
- package/session/useNewSessionFlow.js.map +1 -1
- package/session/useSessionConversation.d.ts +7 -7
- package/session/useSessionConversation.d.ts.map +1 -1
- package/session/useSessionConversation.js +2 -0
- package/session/useSessionConversation.js.map +1 -1
- package/session/useSessionPageFlow.d.ts +18 -4
- package/session/useSessionPageFlow.d.ts.map +1 -1
- package/session/useSessionPageFlow.js +33 -6
- package/session/useSessionPageFlow.js.map +1 -1
- package/session/useSessionPanel.d.ts +37 -2
- package/session/useSessionPanel.d.ts.map +1 -1
- package/session/useSessionPanel.js +44 -10
- package/session/useSessionPanel.js.map +1 -1
- package/settings/ApiKeysSection.d.ts.map +1 -1
- package/settings/ApiKeysSection.js +3 -2
- package/settings/ApiKeysSection.js.map +1 -1
- package/settings/ChannelAppsSection.d.ts.map +1 -1
- package/settings/ChannelAppsSection.js +3 -2
- package/settings/ChannelAppsSection.js.map +1 -1
- package/settings/EnvironmentsSection.js +5 -3
- package/settings/EnvironmentsSection.js.map +1 -1
- package/settings/IdentityProvidersSection.d.ts.map +1 -1
- package/settings/IdentityProvidersSection.js +3 -2
- package/settings/IdentityProvidersSection.js.map +1 -1
- package/settings/InvitationsSection.d.ts.map +1 -1
- package/settings/InvitationsSection.js +3 -1
- package/settings/InvitationsSection.js.map +1 -1
- package/settings/MembersSection.d.ts.map +1 -1
- package/settings/MembersSection.js +3 -1
- package/settings/MembersSection.js.map +1 -1
- package/settings/OAuthAppsSection.d.ts.map +1 -1
- package/settings/OAuthAppsSection.js +3 -2
- package/settings/OAuthAppsSection.js.map +1 -1
- package/settings/OrgProfileSection.d.ts.map +1 -1
- package/settings/OrgProfileSection.js +3 -2
- package/settings/OrgProfileSection.js.map +1 -1
- package/settings/PlatformClientsSection.d.ts.map +1 -1
- package/settings/PlatformClientsSection.js +3 -2
- package/settings/PlatformClientsSection.js.map +1 -1
- package/settings/UsageSection.d.ts.map +1 -1
- package/settings/UsageSection.js +3 -1
- package/settings/UsageSection.js.map +1 -1
- package/sharing/ShareAgentDialog.d.ts.map +1 -1
- package/sharing/ShareAgentDialog.js +19 -26
- package/sharing/ShareAgentDialog.js.map +1 -1
- package/sidebar/chrome.d.ts +3 -4
- package/sidebar/chrome.d.ts.map +1 -1
- package/sidebar/chrome.js +5 -4
- package/sidebar/chrome.js.map +1 -1
- package/skill/SkillDiffDialog.d.ts.map +1 -1
- package/skill/SkillDiffDialog.js +5 -21
- package/skill/SkillDiffDialog.js.map +1 -1
- package/src/access/ManageAccessDialog.tsx +14 -28
- package/src/activity/format-relative-time.ts +11 -9
- package/src/agent/steps/CapabilitiesStep.tsx +6 -3
- package/src/agent/steps/IdentityStep.tsx +19 -12
- package/src/agent-instance/CreateAgentInstanceDialog.tsx +29 -33
- package/src/api-key/ApiKeyCreatedAlert.tsx +10 -19
- package/src/api-key/ApiKeyListPanel.tsx +3 -39
- package/src/api-key/CreateApiKeyForm.tsx +12 -26
- package/src/approval-defaults-context.ts +56 -0
- package/src/attachment/AttachmentImageLightbox.tsx +13 -36
- package/src/attachment/__tests__/vision-preflight.test.ts +311 -0
- package/src/attachment/index.ts +12 -0
- package/src/attachment/vision-preflight.ts +236 -0
- package/src/billing/AutoRechargeCard.tsx +5 -4
- package/src/billing/BillingSection.tsx +4 -3
- package/src/channel/ChannelConversationsDialog.tsx +14 -29
- package/src/channel/ChannelCredentialsDialog.tsx +19 -29
- package/src/channel/ChannelTemplatesDialog.tsx +16 -31
- package/src/channel/ConnectSlackDialog.tsx +19 -31
- package/src/channel/ConnectWhatsAppDialog.tsx +19 -31
- package/src/channel/useChannelSessions.ts +3 -0
- package/src/channel-app/ChannelAppDetailPanel.tsx +15 -12
- package/src/channel-app/CreateChannelAppForm.tsx +17 -12
- package/src/channel-app/internal.tsx +5 -25
- package/src/composer/ComposerToolbar.tsx +1 -1
- package/src/composer/SessionComposer.tsx +160 -13
- package/src/composer/__tests__/SessionComposer-modelCoherence.test.tsx +220 -0
- package/src/composer/__tests__/SessionComposer-visionPreflight.test.tsx +222 -0
- package/src/composer/icons.tsx +0 -18
- package/src/conversation/ConversationAttentionBanner.tsx +64 -19
- package/src/conversation/ConversationComposer.tsx +1 -1
- package/src/conversation/ConversationListPane.tsx +46 -20
- package/src/conversation/ConversationsWorkbench.tsx +1 -0
- package/src/conversation/__tests__/ConversationAttentionBanner.test.tsx +76 -2
- package/src/conversation/__tests__/ConversationListPane.test.tsx +15 -4
- package/src/cursor-accounts/MemberCoverageTable.tsx +3 -14
- package/src/cursor-accounts/__tests__/CursorAccountsConsole.test.tsx +2 -10
- package/src/dashboard/DashboardFailedRuns.tsx +2 -12
- package/src/environment/CreateEnvironmentForm.tsx +8 -27
- package/src/environment/EnvVarForm.tsx +2 -18
- package/src/environment/EnvironmentVariableEditor.tsx +5 -21
- package/src/execution/ApprovalCard.tsx +23 -2
- package/src/execution/ArtifactApplyButton.tsx +2 -17
- package/src/execution/ArtifactPreviewModal.tsx +15 -27
- package/src/execution/ExecutionErrorNotice.tsx +99 -0
- package/src/execution/FilePathLink.tsx +5 -9
- package/src/execution/FileReviewCard.tsx +1 -20
- package/src/execution/FollowUpInput.tsx +1 -16
- package/src/execution/LivenessStatusLine.tsx +59 -0
- package/src/execution/MessageEntry.tsx +136 -25
- package/src/execution/MessageThread.tsx +84 -83
- package/src/execution/SetupProgress.tsx +5 -1
- package/src/execution/SubAgentSection.tsx +9 -20
- package/src/execution/TerminalSession.tsx +97 -10
- package/src/execution/ToolCallDetail.tsx +19 -0
- package/src/execution/ToolCallItem.tsx +175 -44
- package/src/execution/ToolRunGroup.tsx +30 -32
- package/src/execution/WriteBackCard.tsx +5 -24
- package/src/execution/__tests__/MessageEntry-copy.test.tsx +125 -0
- package/src/execution/__tests__/MessageThread.test.tsx +97 -0
- package/src/execution/__tests__/TerminalSession.test.tsx +71 -1
- package/src/execution/__tests__/ToolCallDetail.test.tsx +33 -1
- package/src/execution/__tests__/ToolCallItem.test.tsx +299 -11
- package/src/execution/__tests__/ToolRunGroup.test.tsx +41 -9
- package/src/execution/__tests__/intent-title.test.tsx +221 -0
- package/src/execution/__tests__/message-thread-slots.test.tsx +92 -0
- package/src/execution/__tests__/tool-presenter.test.tsx +41 -4
- package/src/execution/index.ts +11 -2
- package/src/execution/tool-categories.ts +195 -9
- package/src/execution/tool-presenter.ts +44 -2
- package/src/execution/useArtifactInspection.ts +4 -8
- package/src/iam-policy/GrantAccessForm.tsx +2 -18
- package/src/iam-policy/OrgMembersPanel.tsx +3 -19
- package/src/iam-policy/RoleSelector.tsx +8 -1
- package/src/identity-provider/CreateIdentityProviderForm.tsx +13 -31
- package/src/identity-provider/IdentityProviderDetailPanel.tsx +24 -49
- package/src/identity-provider/IdentityProviderListPanel.tsx +2 -18
- package/src/identity-provider/IdentityProviderWizard.tsx +15 -32
- package/src/identity-provider/SsoLoginPrompt.tsx +6 -21
- package/src/index.ts +26 -1
- package/src/internal/DecisionButton.tsx +1 -20
- package/src/internal/DialogShell.tsx +169 -0
- package/src/internal/SpinnerIcon.tsx +42 -0
- package/src/internal/__tests__/DialogShell.test.tsx +223 -0
- package/src/internal/__tests__/ThreadCardShell.test.tsx +43 -7
- package/src/internal/__tests__/useCopyFeedback.test.ts +92 -0
- package/src/internal/select-element-text.ts +17 -0
- package/src/internal/thread-card/ThreadCardShell.tsx +53 -21
- package/src/internal/thread-card/glyphs.tsx +24 -3
- package/src/internal/thread-card/index.ts +1 -0
- package/src/internal/useCopyFeedback.ts +61 -0
- package/src/invitation/InvitationCreatedAlert.tsx +10 -18
- package/src/invitation/InvitationManager.tsx +23 -34
- package/src/invitation/InvitationRedemption.tsx +2 -18
- package/src/library/useExportResource.ts +15 -29
- package/src/manifest/ApplyManifestDialog.tsx +8 -26
- package/src/manifest/EditResourceYamlDialog.tsx +4 -31
- package/src/mcp-server/DefinitionDriftNotice.tsx +120 -0
- package/src/mcp-server/McpServerConnectDialog.tsx +15 -29
- package/src/mcp-server/McpServerDetailView.tsx +69 -49
- package/src/mcp-server/OAuthAppForm.tsx +2 -18
- package/src/mcp-server/__tests__/DefinitionDriftNotice.test.tsx +57 -0
- package/src/mcp-server/__tests__/definitionDrift.test.ts +245 -0
- package/src/mcp-server/__tests__/mcpServerToInput.test.ts +201 -0
- package/src/mcp-server/__tests__/useMcpServerDefinitionDrift.test.tsx +173 -0
- package/src/mcp-server/internal/definitionDrift.ts +158 -0
- package/src/mcp-server/internal/mcpServerToInput.ts +3 -0
- package/src/mcp-server/steps/EnvironmentAuthStep.tsx +19 -19
- package/src/mcp-server/steps/IdentityTransportStep.tsx +24 -23
- package/src/mcp-server/useMcpServerConnect.ts +1 -1
- package/src/mcp-server/useMcpServerDefinitionDrift.ts +95 -0
- package/src/models/ModelRegistryContext.ts +7 -1
- package/src/models/ModelSelector.tsx +37 -0
- package/src/models/__tests__/ModelSelector-visionIndicator.test.tsx +129 -0
- package/src/models/__tests__/resolveDefaultModel.test.ts +115 -0
- package/src/models/__tests__/useModelRegistry.test.tsx +99 -4
- package/src/models/index.ts +2 -2
- package/src/models/registry.ts +196 -29
- package/src/models/useModelRegistry.ts +10 -2
- package/src/oauth-app/CreateOAuthAppForm.tsx +16 -31
- package/src/oauth-app/OAuthAppDetailPanel.tsx +16 -31
- package/src/organization/CreateOrganizationForm.tsx +10 -29
- package/src/organization/OrgProfilePanel.tsx +13 -44
- package/src/platform-client/CreatePlatformClientForm.tsx +9 -29
- package/src/platform-client/PlatformClientDetailPanel.tsx +10 -30
- package/src/platform-client/PlatformClientListPanel.tsx +2 -18
- package/src/platform-client/PlatformClientSecretAlert.tsx +26 -55
- package/src/provider.tsx +76 -33
- package/src/resource-creation/WizardNav.tsx +2 -18
- package/src/resource-detail/ConfirmDialog.tsx +9 -30
- package/src/resource-detail/useCopyResource.ts +17 -23
- package/src/schedule/ScheduleDetailView.tsx +2 -18
- package/src/schedule/ScheduleForm.tsx +19 -34
- package/src/session/NewSessionViewer.tsx +85 -7
- package/src/session/SessionViewer.tsx +120 -17
- package/src/session/__tests__/audienceWiring.test.tsx +76 -0
- package/src/session/__tests__/panelNegotiation.test.tsx +302 -0
- package/src/session/__tests__/useNewSessionFlow.test.tsx +134 -5
- package/src/session/__tests__/useSessionPageFlow.autoApprove.test.tsx +74 -0
- package/src/session/__tests__/useSessionPageFlow.runConfig.test.tsx +157 -0
- package/src/session/__tests__/useSessionPanel.test.ts +114 -0
- package/src/session/audience.ts +18 -0
- package/src/session/index.ts +2 -1
- package/src/session/run-config.ts +59 -0
- package/src/session/useNewSessionFlow.ts +39 -2
- package/src/session/useSessionConversation.ts +10 -8
- package/src/session/useSessionPageFlow.ts +51 -10
- package/src/session/useSessionPanel.ts +91 -10
- package/src/settings/ApiKeysSection.tsx +4 -3
- package/src/settings/ChannelAppsSection.tsx +4 -3
- package/src/settings/EnvironmentsSection.tsx +8 -5
- package/src/settings/IdentityProvidersSection.tsx +4 -3
- package/src/settings/InvitationsSection.tsx +4 -2
- package/src/settings/MembersSection.tsx +4 -2
- package/src/settings/OAuthAppsSection.tsx +4 -3
- package/src/settings/OrgProfileSection.tsx +4 -3
- package/src/settings/PlatformClientsSection.tsx +4 -3
- package/src/settings/UsageSection.tsx +4 -2
- package/src/sharing/ShareAgentDialog.tsx +33 -37
- package/src/sidebar/__tests__/WorkspaceSidebar.test.tsx +4 -1
- package/src/sidebar/chrome.tsx +6 -6
- package/src/skill/SkillDiffDialog.tsx +13 -36
- package/src/styles.css +43 -0
- package/src/version-history/VersionTimelineEntry.tsx +1 -21
- package/src/workflow/FailedRunsWidget.tsx +2 -9
- package/src/workflow/PendingApprovalsWidget.tsx +2 -9
- package/src/workflow/ViewYamlDialog.tsx +21 -55
- package/src/workflow/WorkflowArchitectDialog.tsx +17 -68
- package/src/workflow/WorkflowArtifactDocument.tsx +5 -9
- package/src/workflow/WorkflowCanvasEditor.tsx +2 -0
- package/src/workflow/WorkflowCanvasInner.tsx +14 -1
- package/src/workflow/WorkflowDiffGraph.tsx +7 -1
- package/src/workflow/WorkflowExecutionViewer.tsx +88 -11
- package/src/workflow/WorkflowExplainDialog.tsx +18 -60
- package/src/workflow/WorkflowGraphFullscreenDialog.tsx +14 -26
- package/src/workflow/WorkflowOverviewGraph.tsx +9 -1
- package/src/workflow/WorkflowRefinePanel.tsx +2 -18
- package/src/workflow/WorkflowRepairCard.tsx +2 -18
- package/src/workflow/WorkflowRunDialog.tsx +23 -70
- package/src/workflow/WorkflowTaskApprovalSummary.tsx +2 -17
- package/src/workflow/WorkflowVersionBadge.tsx +4 -13
- package/src/workflow/WorkflowVersionTimeline.tsx +1 -25
- package/src/workflow/__tests__/panelNegotiation.test.tsx +230 -0
- package/src/workflow/__tests__/useWorkflowCanvas.dirty.test.tsx +178 -0
- package/src/workflow/__tests__/useWorkflowCanvas.drag.test.tsx +224 -0
- package/src/workflow/__tests__/useWorkflowExecutionPanel.test.ts +100 -0
- package/src/workflow/execution-comparison/ExecutionComparisonPicker.tsx +20 -41
- package/src/workflow/execution-history/ExecutionHistoryTable.tsx +1 -25
- package/src/workflow/index.ts +1 -0
- package/src/workflow/instance/CreateWorkflowInstanceDialog.tsx +14 -27
- package/src/workflow/instance/WorkflowInstanceDetailPanel.tsx +2 -1
- package/src/workflow/picker/BranchAddPopover.tsx +4 -3
- package/src/workflow/templates/WorkflowTemplatePreview.tsx +18 -28
- package/src/workflow/useApprovalBoundary.ts +1 -1
- package/src/workflow/useWorkflowCanvas.ts +114 -11
- package/src/workflow/useWorkflowExecutionPanel.ts +95 -13
- package/styles.css +1 -1
- package/version-history/VersionTimelineEntry.d.ts.map +1 -1
- package/version-history/VersionTimelineEntry.js +1 -23
- package/version-history/VersionTimelineEntry.js.map +1 -1
- package/workflow/CanvasTransitionEdge.d.ts +1 -1
- package/workflow/FailedRunsWidget.d.ts.map +1 -1
- package/workflow/FailedRunsWidget.js +2 -11
- package/workflow/FailedRunsWidget.js.map +1 -1
- package/workflow/PendingApprovalsWidget.d.ts.map +1 -1
- package/workflow/PendingApprovalsWidget.js +2 -11
- package/workflow/PendingApprovalsWidget.js.map +1 -1
- package/workflow/ViewYamlDialog.d.ts.map +1 -1
- package/workflow/ViewYamlDialog.js +14 -49
- package/workflow/ViewYamlDialog.js.map +1 -1
- package/workflow/WorkflowArchitectDialog.d.ts.map +1 -1
- package/workflow/WorkflowArchitectDialog.js +10 -33
- package/workflow/WorkflowArchitectDialog.js.map +1 -1
- package/workflow/WorkflowArtifactDocument.d.ts.map +1 -1
- package/workflow/WorkflowArtifactDocument.js +5 -8
- package/workflow/WorkflowArtifactDocument.js.map +1 -1
- package/workflow/WorkflowCanvasEditor.d.ts.map +1 -1
- package/workflow/WorkflowCanvasEditor.js +1 -1
- package/workflow/WorkflowCanvasEditor.js.map +1 -1
- package/workflow/WorkflowCanvasInner.d.ts +4 -2
- package/workflow/WorkflowCanvasInner.d.ts.map +1 -1
- package/workflow/WorkflowCanvasInner.js +7 -3
- package/workflow/WorkflowCanvasInner.js.map +1 -1
- package/workflow/WorkflowDiffGraph.js +6 -2
- package/workflow/WorkflowDiffGraph.js.map +1 -1
- package/workflow/WorkflowExecutionViewer.d.ts +51 -0
- package/workflow/WorkflowExecutionViewer.d.ts.map +1 -1
- package/workflow/WorkflowExecutionViewer.js +23 -6
- package/workflow/WorkflowExecutionViewer.js.map +1 -1
- package/workflow/WorkflowExplainDialog.d.ts.map +1 -1
- package/workflow/WorkflowExplainDialog.js +10 -28
- package/workflow/WorkflowExplainDialog.js.map +1 -1
- package/workflow/WorkflowGraphFullscreenDialog.d.ts.map +1 -1
- package/workflow/WorkflowGraphFullscreenDialog.js +11 -17
- package/workflow/WorkflowGraphFullscreenDialog.js.map +1 -1
- package/workflow/WorkflowOverviewGraph.js +8 -2
- package/workflow/WorkflowOverviewGraph.js.map +1 -1
- package/workflow/WorkflowRefinePanel.d.ts.map +1 -1
- package/workflow/WorkflowRefinePanel.js +2 -4
- package/workflow/WorkflowRefinePanel.js.map +1 -1
- package/workflow/WorkflowRepairCard.d.ts.map +1 -1
- package/workflow/WorkflowRepairCard.js +2 -4
- package/workflow/WorkflowRepairCard.js.map +1 -1
- package/workflow/WorkflowRunDialog.d.ts.map +1 -1
- package/workflow/WorkflowRunDialog.js +14 -35
- package/workflow/WorkflowRunDialog.js.map +1 -1
- package/workflow/WorkflowTaskApprovalSummary.d.ts.map +1 -1
- package/workflow/WorkflowTaskApprovalSummary.js +2 -4
- package/workflow/WorkflowTaskApprovalSummary.js.map +1 -1
- package/workflow/WorkflowVersionBadge.d.ts.map +1 -1
- package/workflow/WorkflowVersionBadge.js +4 -13
- package/workflow/WorkflowVersionBadge.js.map +1 -1
- package/workflow/WorkflowVersionTimeline.d.ts.map +1 -1
- package/workflow/WorkflowVersionTimeline.js +1 -26
- package/workflow/WorkflowVersionTimeline.js.map +1 -1
- package/workflow/execution-comparison/ExecutionComparisonPicker.d.ts.map +1 -1
- package/workflow/execution-comparison/ExecutionComparisonPicker.js +14 -40
- package/workflow/execution-comparison/ExecutionComparisonPicker.js.map +1 -1
- package/workflow/execution-history/ExecutionHistoryTable.d.ts.map +1 -1
- package/workflow/execution-history/ExecutionHistoryTable.js +1 -24
- package/workflow/execution-history/ExecutionHistoryTable.js.map +1 -1
- package/workflow/index.d.ts +1 -1
- package/workflow/index.d.ts.map +1 -1
- package/workflow/index.js.map +1 -1
- package/workflow/instance/CreateWorkflowInstanceDialog.d.ts.map +1 -1
- package/workflow/instance/CreateWorkflowInstanceDialog.js +7 -20
- package/workflow/instance/CreateWorkflowInstanceDialog.js.map +1 -1
- package/workflow/instance/WorkflowInstanceDetailPanel.d.ts.map +1 -1
- package/workflow/instance/WorkflowInstanceDetailPanel.js +1 -1
- package/workflow/instance/WorkflowInstanceDetailPanel.js.map +1 -1
- package/workflow/picker/BranchAddPopover.d.ts.map +1 -1
- package/workflow/picker/BranchAddPopover.js +3 -2
- package/workflow/picker/BranchAddPopover.js.map +1 -1
- package/workflow/templates/WorkflowTemplatePreview.d.ts +1 -1
- package/workflow/templates/WorkflowTemplatePreview.d.ts.map +1 -1
- package/workflow/templates/WorkflowTemplatePreview.js +10 -22
- package/workflow/templates/WorkflowTemplatePreview.js.map +1 -1
- package/workflow/useApprovalBoundary.d.ts +1 -1
- package/workflow/useApprovalBoundary.js +1 -1
- package/workflow/useWorkflowCanvas.d.ts +5 -1
- package/workflow/useWorkflowCanvas.d.ts.map +1 -1
- package/workflow/useWorkflowCanvas.js +99 -13
- package/workflow/useWorkflowCanvas.js.map +1 -1
- package/workflow/useWorkflowExecutionPanel.d.ts +38 -2
- package/workflow/useWorkflowExecutionPanel.d.ts.map +1 -1
- package/workflow/useWorkflowExecutionPanel.js +46 -13
- package/workflow/useWorkflowExecutionPanel.js.map +1 -1
package/execution/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/execution/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,YAAY,EACV,oBAAoB,EACpB,yBAAyB,EACzB,0BAA0B,EAC1B,0BAA0B,EAC1B,6BAA6B,GAC9B,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAExD,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,YAAY,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AAExE,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,YAAY,EACV,4BAA4B,EAC5B,2BAA2B,GAC5B,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,YAAY,EACV,+BAA+B,EAC/B,8BAA8B,GAC/B,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,gBAAgB,EAA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A8B,CAAC;AACrE,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC1E,YAAY,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAE/D,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC/F,YAAY,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAEtF,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,YAAY,EACV,oBAAoB,EACpB,yBAAyB,GAC1B,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,YAAY,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAC"}
|
package/execution/index.js
CHANGED
|
@@ -30,6 +30,7 @@ export { isTextArtifact, formatArtifactSize, getArtifactExtension, getFileExtens
|
|
|
30
30
|
export { ExecutionPhaseBadge } from "./ExecutionPhaseBadge.js";
|
|
31
31
|
export { InteractionModeBadge } from "./InteractionModeBadge.js";
|
|
32
32
|
export { SetupProgress } from "./SetupProgress.js";
|
|
33
|
+
export { LivenessStatusLine } from "./LivenessStatusLine.js";
|
|
33
34
|
export { ToolCallGroup } from "./ToolCallGroup.js";
|
|
34
35
|
export { ToolRunGroup } from "./ToolRunGroup.js";
|
|
35
36
|
export { segmentToolCalls } from "./segment-tool-calls.js";
|
|
@@ -38,7 +39,7 @@ export { describeApprovalPolicySource } from "./approval-provenance.js";
|
|
|
38
39
|
export { McpToolDetail, McpArgsView, McpMetadataRow, parseMcpResult } from "./McpToolDetail.js";
|
|
39
40
|
export { ToolArgsView } from "./ToolArgsView.js";
|
|
40
41
|
export { ResultView, summarizeResultView } from "./ResultView.js";
|
|
41
|
-
export { TerminalSession } from "./TerminalSession.js";
|
|
42
|
+
export { TerminalSession, TerminalTail } from "./TerminalSession.js";
|
|
42
43
|
export { useToolPresentation, registerToolPresenter, getToolPresenter, } from "./tool-presenter.js";
|
|
43
44
|
export { CollapsibleCode, CollapsiblePre, CollapsibleJsonBlock, FilePathIcon, McpServerIcon, TRUNCATION_LINE_LIMIT, formatJson, formatResult, isScalar, humanizeArgKey, } from "./tool-rendering-primitives.js";
|
|
44
45
|
export { ToolCallItem } from "./ToolCallItem.js";
|
|
@@ -46,6 +47,7 @@ export { SubAgentSection } from "./SubAgentSection.js";
|
|
|
46
47
|
export { MessageEntry } from "./MessageEntry.js";
|
|
47
48
|
export { MessageAttachments } from "./MessageAttachments.js";
|
|
48
49
|
export { MessageThread } from "./MessageThread.js";
|
|
50
|
+
export { ExecutionErrorNotice } from "./ExecutionErrorNotice.js";
|
|
49
51
|
export { ThreadSkeleton } from "./ThreadSkeleton.js";
|
|
50
52
|
export { FollowUpInput } from "./FollowUpInput.js";
|
|
51
53
|
export { ExecutionProgress } from "./ExecutionProgress.js";
|
|
@@ -76,7 +78,7 @@ export { useArtifactInspection } from "./useArtifactInspection.js";
|
|
|
76
78
|
export { ArtifactPreviewContent, ArtifactPreviewModal } from "./ArtifactPreviewModal.js";
|
|
77
79
|
export { ArtifactsWidget } from "./ArtifactsWidget.js";
|
|
78
80
|
export { WriteBacksWidget } from "./WriteBacksWidget.js";
|
|
79
|
-
export { resolveToolCategory, resolveToolCategoryFromCall, resolveToolCategoryFromKind, toolKindToCategoryInfo, extractPrimaryArg, extractPrimaryArgFromPreview, humanizeToolName, defaultDisclosureForCategory, isRunGroupableCategory, } from "./tool-categories.js";
|
|
81
|
+
export { resolveToolCategory, resolveToolCategoryFromCall, resolveToolCategoryFromKind, toolKindToCategoryInfo, extractPrimaryArg, extractPrimaryArgFromPreview, extractShellIntent, extractShellIntentFromPreview, SHELL_INTENT_ARG_FIELD, humanizeToolName, defaultDisclosureForCategory, isRunGroupableCategory, } from "./tool-categories.js";
|
|
80
82
|
export { FilePathLink } from "./FilePathLink.js";
|
|
81
83
|
export { FilePathContext } from "./FilePathContext.js";
|
|
82
84
|
export { normalizeSandboxPaths } from "./sandbox-path-normalizer.js";
|
package/execution/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/execution/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AASvE,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAExD,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAG7D,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAMnE,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAMzE,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAG7E,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAOzD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAGjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAG7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAG3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAG7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAGzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAG3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAG/D,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAGnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAG7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAGrE,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAMrE,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAG/D,OAAO,EAAE,eAAe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AE,MAAM,uBAAuB,CAAC;AAGzD,OAAO,EACL,mBAAmB,EACnB,2BAA2B,EAC3B,2BAA2B,EAC3B,sBAAsB,EACtB,iBAAiB,EACjB,4BAA4B,EAC5B,kBAAkB,EAClB,6BAA6B,EAC7B,sBAAsB,EACtB,gBAAgB,EAChB,4BAA4B,EAC5B,sBAAsB,GACvB,MAAM,sBAAsB,CAAC;AAG9B,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAGjD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAGvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAG1E,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAG/F,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAM/D,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC"}
|
|
@@ -18,21 +18,56 @@ export type ToolCategory = "shell" | "read" | "write" | "edit" | "delete" | "sea
|
|
|
18
18
|
* `Search … 2 matches`). The full detail is one click away.
|
|
19
19
|
* - `"preview"` — the row renders its result body **always** (no card chevron),
|
|
20
20
|
* because the one-liner cannot convey what happened so the content itself IS
|
|
21
|
-
* the information (
|
|
22
|
-
*
|
|
23
|
-
*
|
|
21
|
+
* the information (an MCP result such as a screenshot, a fetched page, a
|
|
22
|
+
* web-search answer, or an unrecognised tool's output). The body's own
|
|
23
|
+
* in-place reveal expands it beyond the height budget.
|
|
24
|
+
* - `"tail"` — live like `"preview"`, settled like a teaser: while the tool
|
|
25
|
+
* runs (or awaits approval) the full body streams in view; once it settles
|
|
26
|
+
* successfully the row collapses to a dimmed tail of its last output lines —
|
|
27
|
+
* at-a-glance evidence that it ran and what it printed last — expanding on
|
|
28
|
+
* demand via the header chevron. A settled *failure* stays open: error
|
|
29
|
+
* output is content, not context. Shell is the canonical tail category — a
|
|
30
|
+
* working session's compile/validate loops would otherwise dominate the
|
|
31
|
+
* transcript at full contrast (Cursor's chat is the reference UX).
|
|
24
32
|
*
|
|
25
33
|
* This is the *disclosure* axis (how much of a result to show); it is
|
|
26
34
|
* orthogonal to {@link isRunGroupableCategory} (whether consecutive same-kind
|
|
27
35
|
* calls fold into one chip). A category can be result-rich but never folded
|
|
28
36
|
* (`shell`), or foldable but never previewed (`read`).
|
|
29
37
|
*/
|
|
30
|
-
export type ToolDisclosure = "summary" | "preview";
|
|
38
|
+
export type ToolDisclosure = "summary" | "preview" | "tail";
|
|
39
|
+
/**
|
|
40
|
+
* How much *chrome* a tool row carries in the thread — the density axis,
|
|
41
|
+
* orthogonal to {@link ToolDisclosure} (how much of the result to show).
|
|
42
|
+
*
|
|
43
|
+
* - `"card"` — a self-contained bordered card. For content-bearing rows
|
|
44
|
+
* (shell, edit, fetch, MCP), where the body is real evidence worth a frame.
|
|
45
|
+
* - `"quiet"` — an unboxed single text line, no border, no card. For
|
|
46
|
+
* metadata-only rows (read / list / search / think) whose label + argument
|
|
47
|
+
* already tell the whole story: a 4 ms directory listing must not shout as
|
|
48
|
+
* loudly as a 3-minute shell run (Cursor's chat is the reference UX — prose
|
|
49
|
+
* with quiet evidence attached, not a stack of equally-loud widgets).
|
|
50
|
+
*
|
|
51
|
+
* This is the *settled default*. A row escalates to `"card"` regardless of
|
|
52
|
+
* category while it carries something the quiet line cannot: a pending
|
|
53
|
+
* approval gate (a decision surface) or a failure (error output is content).
|
|
54
|
+
* That escalation is owned by the component layer and is deliberately not
|
|
55
|
+
* override-able — a gate must never render without its frame.
|
|
56
|
+
*/
|
|
57
|
+
export type ToolChrome = "card" | "quiet";
|
|
58
|
+
/**
|
|
59
|
+
* Returns the default {@link ToolChrome} for a presentation category.
|
|
60
|
+
* Consumers can override per {@link ToolKind} via {@link registerToolPresenter}
|
|
61
|
+
* (`chrome: () => "card"` to restore the boxed look for a kind), exactly like
|
|
62
|
+
* the disclosure axis.
|
|
63
|
+
*/
|
|
64
|
+
export declare function defaultChromeForCategory(category: ToolCategory): ToolChrome;
|
|
31
65
|
/**
|
|
32
66
|
* Returns the default inline {@link ToolDisclosure} for a presentation
|
|
33
|
-
* category. This is the headless policy behind the thread's "
|
|
34
|
-
* preview for
|
|
35
|
-
* consumers can override per {@link ToolKind} via
|
|
67
|
+
* category. This is the headless policy behind the thread's "collapse settled
|
|
68
|
+
* shell to a dimmed tail, keep a live preview for MCP/unknown, keep generic
|
|
69
|
+
* tools compact" behaviour; consumers can override per {@link ToolKind} via
|
|
70
|
+
* {@link registerToolPresenter}.
|
|
36
71
|
*/
|
|
37
72
|
export declare function defaultDisclosureForCategory(category: ToolCategory): ToolDisclosure;
|
|
38
73
|
/**
|
|
@@ -58,6 +93,14 @@ export interface ToolCategoryInfo {
|
|
|
58
93
|
readonly primaryArgField: string;
|
|
59
94
|
/** Fallback argument keys tried when the primary key is absent. */
|
|
60
95
|
readonly fallbackArgFields: readonly string[];
|
|
96
|
+
/**
|
|
97
|
+
* JSON argument key carrying a model-authored intent phrase for this kind
|
|
98
|
+
* (stigmer#276), or `undefined` for kinds without one. Shell is the only
|
|
99
|
+
* carrier today: both harnesses converge on `description` — the Cursor
|
|
100
|
+
* harness's built-in Shell tool ships it natively, and the native harness's
|
|
101
|
+
* tool-intent middleware adds it to the `execute` schema at bind time.
|
|
102
|
+
*/
|
|
103
|
+
readonly intentArgField?: string;
|
|
61
104
|
}
|
|
62
105
|
/**
|
|
63
106
|
* Returns true if the tool is an internal state-management tool that should not
|
|
@@ -133,6 +176,49 @@ export declare function extractPrimaryArg(toolCall: ToolCall): string | null;
|
|
|
133
176
|
* the kind is unset (legacy executions).
|
|
134
177
|
*/
|
|
135
178
|
export declare function extractPrimaryArgFromPreview(toolName: string, argsPreview: string, mcpServerSlug?: string, toolKind?: ToolKind): string | null;
|
|
179
|
+
/**
|
|
180
|
+
* Extracts the model-authored intent phrase from a tool call's args
|
|
181
|
+
* (stigmer#276), or `null` when the kind carries none / the model omitted it.
|
|
182
|
+
*
|
|
183
|
+
* The intent is presentation metadata authored by the model *for the user* —
|
|
184
|
+
* "Run unit tests for the parser" — rendered as the row title in place of the
|
|
185
|
+
* bare category label. Extraction is kind-scoped via
|
|
186
|
+
* {@link ToolCategoryInfo.intentArgField} (shell-only today) so a same-named
|
|
187
|
+
* REAL argument on another kind (e.g. the sub-agent task tool's
|
|
188
|
+
* `description`, which is its subject) is never misread as an intent.
|
|
189
|
+
*/
|
|
190
|
+
export declare function extractIntent(toolCall: ToolCall): string | null;
|
|
191
|
+
/**
|
|
192
|
+
* {@link extractIntent} for surfaces that carry a JSON `argsPreview` string
|
|
193
|
+
* instead of a full {@link ToolCall} — notably `PendingApproval`. Same
|
|
194
|
+
* kind-scoping; returns `null` on parse failure or when absent.
|
|
195
|
+
*/
|
|
196
|
+
export declare function extractIntentFromPreview(toolName: string, argsPreview: string, mcpServerSlug?: string, toolKind?: ToolKind): string | null;
|
|
197
|
+
/**
|
|
198
|
+
* The tool-call argument that carries a model-authored intent phrase for
|
|
199
|
+
* SHELL tools (stigmer#276) — a short human description of what the command
|
|
200
|
+
* does and why, rendered as the row title with the command as secondary text.
|
|
201
|
+
*
|
|
202
|
+
* Two writers populate it, converged on one wire key by design: the native
|
|
203
|
+
* harness's tool-intent middleware (`backend/services/runner/src/middleware/
|
|
204
|
+
* tool-intent.ts`, `INTENT_ARG`) extends the shell tool's bind-time schema
|
|
205
|
+
* with it, and the Cursor harness's built-in Shell tool carries it natively.
|
|
206
|
+
* The shared, machine-checked contract is
|
|
207
|
+
* `test/fixtures/tool-view/intent-title.json` — keep all three in lockstep.
|
|
208
|
+
*/
|
|
209
|
+
export declare const SHELL_INTENT_ARG_FIELD = "description";
|
|
210
|
+
/**
|
|
211
|
+
* Extracts the model-authored intent phrase from a SHELL tool call, or null
|
|
212
|
+
* when absent (legacy executions, models that skipped the optional arg, and
|
|
213
|
+
* every non-shell kind). See {@link SHELL_INTENT_ARG_FIELD}.
|
|
214
|
+
*/
|
|
215
|
+
export declare function extractShellIntent(toolCall: ToolCall): string | null;
|
|
216
|
+
/**
|
|
217
|
+
* Preview-string twin of {@link extractShellIntent} for surfaces that carry a
|
|
218
|
+
* `PendingApproval` (JSON `argsPreview`) instead of a full {@link ToolCall} —
|
|
219
|
+
* mirrors {@link extractPrimaryArgFromPreview}'s kind resolution.
|
|
220
|
+
*/
|
|
221
|
+
export declare function extractShellIntentFromPreview(toolName: string, argsPreview: string, mcpServerSlug?: string, toolKind?: ToolKind): string | null;
|
|
136
222
|
/**
|
|
137
223
|
* Extracts the file content body from a JSON `argsPreview` string
|
|
138
224
|
* for write/edit tool categories. Scans the same field names used
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-categories.d.ts","sourceRoot":"","sources":["../../src/execution/tool-categories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iEAAiE,CAAC;AAGhG,OAAO,EAAE,QAAQ,EAA0C,MAAM,cAAc,CAAC;AAEhF;;;;;;;;GAQG;AACH,MAAM,MAAM,YAAY,GACpB,OAAO,GACP,MAAM,GACN,OAAO,GACP,MAAM,GACN,QAAQ,GACR,QAAQ,GACR,MAAM,GACN,OAAO,GACP,YAAY,GACZ,OAAO,GACP,WAAW,GACX,UAAU,GACV,KAAK,GACL,SAAS,CAAC;AAEd
|
|
1
|
+
{"version":3,"file":"tool-categories.d.ts","sourceRoot":"","sources":["../../src/execution/tool-categories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iEAAiE,CAAC;AAGhG,OAAO,EAAE,QAAQ,EAA0C,MAAM,cAAc,CAAC;AAEhF;;;;;;;;GAQG;AACH,MAAM,MAAM,YAAY,GACpB,OAAO,GACP,MAAM,GACN,OAAO,GACP,MAAM,GACN,QAAQ,GACR,QAAQ,GACR,MAAM,GACN,OAAO,GACP,YAAY,GACZ,OA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aAAa,CAAC,EAAE,MAAM,EACtB,QAAQ,CAAC,EAAE,QAAQ,GAClB,MAAM,GAAG,IAAI,CAgBf;AAWD;;;;;;;GAOG;AACH,wBAAgB,8BAA8B,CAC5C,WAAW,EAAE,MAAM,GAClB,MAAM,GAAG,IAAI,CAef"}
|
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
import { ToolCallStatus } from "@stigmer/protos/ai/stigmer/agentic/agentexecution/v1/enum_pb";
|
|
2
2
|
import { ToolKind, resolveToolKind, resolveToolKindByName } from "@stigmer/sdk";
|
|
3
|
+
/**
|
|
4
|
+
* Categories whose settled summary row IS the complete information, rendered
|
|
5
|
+
* as quiet unboxed lines by default. Mirrors {@link RUN_GROUPABLE_CATEGORIES}
|
|
6
|
+
* plus `think` (a thought's row reads like narration, not evidence) — the
|
|
7
|
+
* same low-signal set, on the chrome axis instead of the folding axis.
|
|
8
|
+
*/
|
|
9
|
+
const QUIET_CATEGORIES = new Set([
|
|
10
|
+
"read",
|
|
11
|
+
"list",
|
|
12
|
+
"search",
|
|
13
|
+
"think",
|
|
14
|
+
]);
|
|
15
|
+
/**
|
|
16
|
+
* Returns the default {@link ToolChrome} for a presentation category.
|
|
17
|
+
* Consumers can override per {@link ToolKind} via {@link registerToolPresenter}
|
|
18
|
+
* (`chrome: () => "card"` to restore the boxed look for a kind), exactly like
|
|
19
|
+
* the disclosure axis.
|
|
20
|
+
*/
|
|
21
|
+
export function defaultChromeForCategory(category) {
|
|
22
|
+
return QUIET_CATEGORIES.has(category) ? "quiet" : "card";
|
|
23
|
+
}
|
|
3
24
|
/**
|
|
4
25
|
* Categories whose result is foregrounded as a persistent bounded preview by
|
|
5
26
|
* default — those for which the compact one-liner cannot convey what happened,
|
|
@@ -13,7 +34,6 @@ import { ToolKind, resolveToolKind, resolveToolKindByName } from "@stigmer/sdk";
|
|
|
13
34
|
* under control even in turns with many edits.
|
|
14
35
|
*/
|
|
15
36
|
const PREVIEW_CATEGORIES = new Set([
|
|
16
|
-
"shell",
|
|
17
37
|
"edit",
|
|
18
38
|
"write",
|
|
19
39
|
"mcp",
|
|
@@ -21,6 +41,17 @@ const PREVIEW_CATEGORIES = new Set([
|
|
|
21
41
|
"fetch",
|
|
22
42
|
"unknown",
|
|
23
43
|
]);
|
|
44
|
+
/**
|
|
45
|
+
* Categories that stream in full while live but settle to a dimmed tail of
|
|
46
|
+
* their last output lines (see the `"tail"` arm of {@link ToolDisclosure}).
|
|
47
|
+
* Today that is shell alone: its output is evidence worth keeping at a
|
|
48
|
+
* glance, but rarely worth reading line by line once the command succeeded.
|
|
49
|
+
* Consumers can restore the always-expanded preview per kind via
|
|
50
|
+
* {@link registerToolPresenter} (`disclosure: () => "preview"`).
|
|
51
|
+
*/
|
|
52
|
+
const TAIL_CATEGORIES = new Set([
|
|
53
|
+
"shell",
|
|
54
|
+
]);
|
|
24
55
|
/**
|
|
25
56
|
* Low-signal categories whose consecutive runs fold into a single collapsible
|
|
26
57
|
* "Read 5 files" chip in the thread. These are the read-only, repetitive
|
|
@@ -35,11 +66,14 @@ const RUN_GROUPABLE_CATEGORIES = new Set([
|
|
|
35
66
|
]);
|
|
36
67
|
/**
|
|
37
68
|
* Returns the default inline {@link ToolDisclosure} for a presentation
|
|
38
|
-
* category. This is the headless policy behind the thread's "
|
|
39
|
-
* preview for
|
|
40
|
-
* consumers can override per {@link ToolKind} via
|
|
69
|
+
* category. This is the headless policy behind the thread's "collapse settled
|
|
70
|
+
* shell to a dimmed tail, keep a live preview for MCP/unknown, keep generic
|
|
71
|
+
* tools compact" behaviour; consumers can override per {@link ToolKind} via
|
|
72
|
+
* {@link registerToolPresenter}.
|
|
41
73
|
*/
|
|
42
74
|
export function defaultDisclosureForCategory(category) {
|
|
75
|
+
if (TAIL_CATEGORIES.has(category))
|
|
76
|
+
return "tail";
|
|
43
77
|
return PREVIEW_CATEGORIES.has(category) ? "preview" : "summary";
|
|
44
78
|
}
|
|
45
79
|
/**
|
|
@@ -70,7 +104,7 @@ const KIND_DISPLAY = {
|
|
|
70
104
|
[ToolKind.FILE_WRITE]: { category: "write", label: "Write", primaryField: "path", fallbackFields: ["file_path", "file", "filename"] },
|
|
71
105
|
[ToolKind.FILE_EDIT]: { category: "edit", label: "Edit", primaryField: "path", fallbackFields: ["file_path", "file", "filename"] },
|
|
72
106
|
[ToolKind.FILE_DELETE]: { category: "delete", label: "Delete", primaryField: "path", fallbackFields: ["file_path", "file", "filename"] },
|
|
73
|
-
[ToolKind.SHELL]: { category: "shell", label: "Shell", primaryField: "command" },
|
|
107
|
+
[ToolKind.SHELL]: { category: "shell", label: "Shell", primaryField: "command", intentField: "description" },
|
|
74
108
|
[ToolKind.SEARCH]: { category: "search", label: "Search", primaryField: "pattern", fallbackFields: ["query", "q"] },
|
|
75
109
|
[ToolKind.LIST]: { category: "list", label: "List", primaryField: "path" },
|
|
76
110
|
[ToolKind.FETCH]: { category: "fetch", label: "Fetch", primaryField: "url", fallbackFields: ["uri"] },
|
|
@@ -117,6 +151,7 @@ export function toolKindToCategoryInfo(kind, toolName) {
|
|
|
117
151
|
label: entry.label,
|
|
118
152
|
primaryArgField: entry.primaryField,
|
|
119
153
|
fallbackArgFields: entry.fallbackFields ?? [],
|
|
154
|
+
...(entry.intentField ? { intentArgField: entry.intentField } : {}),
|
|
120
155
|
};
|
|
121
156
|
}
|
|
122
157
|
if (kind === ToolKind.MCP) {
|
|
@@ -254,6 +289,107 @@ export function extractPrimaryArgFromPreview(toolName, argsPreview, mcpServerSlu
|
|
|
254
289
|
return null;
|
|
255
290
|
}
|
|
256
291
|
}
|
|
292
|
+
/**
|
|
293
|
+
* Extracts the model-authored intent phrase from a tool call's args
|
|
294
|
+
* (stigmer#276), or `null` when the kind carries none / the model omitted it.
|
|
295
|
+
*
|
|
296
|
+
* The intent is presentation metadata authored by the model *for the user* —
|
|
297
|
+
* "Run unit tests for the parser" — rendered as the row title in place of the
|
|
298
|
+
* bare category label. Extraction is kind-scoped via
|
|
299
|
+
* {@link ToolCategoryInfo.intentArgField} (shell-only today) so a same-named
|
|
300
|
+
* REAL argument on another kind (e.g. the sub-agent task tool's
|
|
301
|
+
* `description`, which is its subject) is never misread as an intent.
|
|
302
|
+
*/
|
|
303
|
+
export function extractIntent(toolCall) {
|
|
304
|
+
const info = resolveToolCategoryFromCall(toolCall);
|
|
305
|
+
if (!info.intentArgField || !toolCall.args)
|
|
306
|
+
return null;
|
|
307
|
+
const value = toolCall.args[info.intentArgField];
|
|
308
|
+
return typeof value === "string" && value.length > 0 ? value : null;
|
|
309
|
+
}
|
|
310
|
+
/**
|
|
311
|
+
* {@link extractIntent} for surfaces that carry a JSON `argsPreview` string
|
|
312
|
+
* instead of a full {@link ToolCall} — notably `PendingApproval`. Same
|
|
313
|
+
* kind-scoping; returns `null` on parse failure or when absent.
|
|
314
|
+
*/
|
|
315
|
+
export function extractIntentFromPreview(toolName, argsPreview, mcpServerSlug, toolKind) {
|
|
316
|
+
if (!argsPreview)
|
|
317
|
+
return null;
|
|
318
|
+
const info = toolKind !== undefined
|
|
319
|
+
? resolveToolCategoryFromKind(toolKind, toolName, mcpServerSlug)
|
|
320
|
+
: resolveToolCategory(toolName, mcpServerSlug);
|
|
321
|
+
if (!info.intentArgField)
|
|
322
|
+
return null;
|
|
323
|
+
try {
|
|
324
|
+
const parsed = JSON.parse(argsPreview);
|
|
325
|
+
if (typeof parsed !== "object" || parsed === null)
|
|
326
|
+
return null;
|
|
327
|
+
const value = parsed[info.intentArgField];
|
|
328
|
+
return typeof value === "string" && value.length > 0 ? value : null;
|
|
329
|
+
}
|
|
330
|
+
catch {
|
|
331
|
+
return null;
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
/**
|
|
335
|
+
* The tool-call argument that carries a model-authored intent phrase for
|
|
336
|
+
* SHELL tools (stigmer#276) — a short human description of what the command
|
|
337
|
+
* does and why, rendered as the row title with the command as secondary text.
|
|
338
|
+
*
|
|
339
|
+
* Two writers populate it, converged on one wire key by design: the native
|
|
340
|
+
* harness's tool-intent middleware (`backend/services/runner/src/middleware/
|
|
341
|
+
* tool-intent.ts`, `INTENT_ARG`) extends the shell tool's bind-time schema
|
|
342
|
+
* with it, and the Cursor harness's built-in Shell tool carries it natively.
|
|
343
|
+
* The shared, machine-checked contract is
|
|
344
|
+
* `test/fixtures/tool-view/intent-title.json` — keep all three in lockstep.
|
|
345
|
+
*/
|
|
346
|
+
export const SHELL_INTENT_ARG_FIELD = "description";
|
|
347
|
+
/**
|
|
348
|
+
* The intent-title extraction core: SHELL-kind-scoped on purpose, because
|
|
349
|
+
* `description` means other things on other tools (a task tool's description
|
|
350
|
+
* is the sub-agent subject, never a row title). Blank and non-string values
|
|
351
|
+
* degrade to null — the caller falls back to the category label.
|
|
352
|
+
*/
|
|
353
|
+
function extractIntentFromArgs(kind, args) {
|
|
354
|
+
if (kind !== ToolKind.SHELL || !args)
|
|
355
|
+
return null;
|
|
356
|
+
const value = args[SHELL_INTENT_ARG_FIELD];
|
|
357
|
+
if (typeof value !== "string")
|
|
358
|
+
return null;
|
|
359
|
+
const trimmed = value.trim();
|
|
360
|
+
return trimmed.length > 0 ? trimmed : null;
|
|
361
|
+
}
|
|
362
|
+
/**
|
|
363
|
+
* Extracts the model-authored intent phrase from a SHELL tool call, or null
|
|
364
|
+
* when absent (legacy executions, models that skipped the optional arg, and
|
|
365
|
+
* every non-shell kind). See {@link SHELL_INTENT_ARG_FIELD}.
|
|
366
|
+
*/
|
|
367
|
+
export function extractShellIntent(toolCall) {
|
|
368
|
+
return extractIntentFromArgs(resolveToolKind(toolCall), toolCall.args);
|
|
369
|
+
}
|
|
370
|
+
/**
|
|
371
|
+
* Preview-string twin of {@link extractShellIntent} for surfaces that carry a
|
|
372
|
+
* `PendingApproval` (JSON `argsPreview`) instead of a full {@link ToolCall} —
|
|
373
|
+
* mirrors {@link extractPrimaryArgFromPreview}'s kind resolution.
|
|
374
|
+
*/
|
|
375
|
+
export function extractShellIntentFromPreview(toolName, argsPreview, mcpServerSlug, toolKind) {
|
|
376
|
+
if (!argsPreview)
|
|
377
|
+
return null;
|
|
378
|
+
const kind = toolKind !== undefined && toolKind !== ToolKind.UNSPECIFIED
|
|
379
|
+
? toolKind
|
|
380
|
+
: resolveToolKindByName(toolName, mcpServerSlug);
|
|
381
|
+
if (kind !== ToolKind.SHELL)
|
|
382
|
+
return null;
|
|
383
|
+
try {
|
|
384
|
+
const parsed = JSON.parse(argsPreview);
|
|
385
|
+
if (typeof parsed !== "object" || parsed === null)
|
|
386
|
+
return null;
|
|
387
|
+
return extractIntentFromArgs(kind, parsed);
|
|
388
|
+
}
|
|
389
|
+
catch {
|
|
390
|
+
return null;
|
|
391
|
+
}
|
|
392
|
+
}
|
|
257
393
|
const WRITE_CONTENT_FIELDS = [
|
|
258
394
|
"contents",
|
|
259
395
|
"content",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-categories.js","sourceRoot":"","sources":["../../src/execution/tool-categories.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,8DAA8D,CAAC;AAE9F,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"tool-categories.js","sourceRoot":"","sources":["../../src/execution/tool-categories.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,8DAA8D,CAAC;AAE9F,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AA0EhF;;;;;GAKG;AACH,MAAM,gBAAgB,GAA8B,IAAI,GAAG,CAAe;IACxE,MAAM;IACN,MAAM;IACN,QAAQ;IACR,OAAO;CACR,CAAC,CAAC;AAEH;;;;;GAKG;AACH,MAAM,UAAU,wBAAwB,CAAC,QAAsB;IAC7D,OAAO,gBAAgB,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC;AAC3D,CAAC;A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C;QAC/D,OAAO,qBAAqB,CAAC,IAAI,EAAE,MAAoB,CAAC,CAAC;IAC3D,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,IAAI,CAAC;IACd,CAAC;AACH,CAAC;AAED,MAAM,oBAAoB,GAAG;IAC3B,UAAU;IACV,SAAS;IACT,cAAc;IACd,UAAU;IACV,YAAY;IACZ,aAAa;CACL,CAAC;AAEX;;;;;;;GAOG;AACH,MAAM,UAAU,8BAA8B,CAC5C,WAAmB;IAEnB,IAAI,CAAC,WAAW;QAAE,OAAO,IAAI,CAAC;IAE9B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;QACvC,IAAI,OAAO,MAAM,KAAK,QAAQ,IAAI,MAAM,KAAK,IAAI;YAAE,OAAO,IAAI,CAAC;QAE/D,KAAK,MAAM,KAAK,IAAI,oBAAoB,EAAE,CAAC;YACzC,MAAM,GAAG,GAAI,MAAkC,CAAC,KAAK,CAAC,CAAC;YACvD,IAAI,OAAO,GAAG,KAAK,QAAQ,IAAI,GAAG,CAAC,MAAM,GAAG,CAAC;gBAAE,OAAO,GAAG,CAAC;QAC5D,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,IAAI,CAAC;IACd,CAAC;AACH,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ToolCall } from "@stigmer/protos/ai/stigmer/agentic/agentexecution/v1/message_pb";
|
|
2
2
|
import { ToolKind } from "@stigmer/sdk";
|
|
3
3
|
import type { ToolResultView } from "@stigmer/sdk";
|
|
4
|
-
import type { ToolCategory, ToolDisclosure } from "./tool-categories.js";
|
|
4
|
+
import type { ToolCategory, ToolChrome, ToolDisclosure } from "./tool-categories.js";
|
|
5
5
|
/** Optional per-kind overrides for label, summary, disclosure, and run-grouping. */
|
|
6
6
|
export interface ToolPresenter {
|
|
7
7
|
/** Overrides the display label (e.g. "Shell" -> "Run command"). */
|
|
@@ -14,6 +14,15 @@ export interface ToolPresenter {
|
|
|
14
14
|
* (`() => "preview"`) without forking the components.
|
|
15
15
|
*/
|
|
16
16
|
readonly disclosure?: (toolCall: ToolCall, result: ToolResultView) => ToolDisclosure;
|
|
17
|
+
/**
|
|
18
|
+
* Overrides the default chrome tier — quiet unboxed line vs bordered card
|
|
19
|
+
* (see {@link ToolChrome}). Use to restore the boxed look for a kind
|
|
20
|
+
* (`() => "card"`) or to quiet a chatty custom tool (`() => "quiet"`).
|
|
21
|
+
* A pending approval gate or a failure always escalates the row to a card
|
|
22
|
+
* regardless of this override — a decision surface and error output must
|
|
23
|
+
* never render frameless.
|
|
24
|
+
*/
|
|
25
|
+
readonly chrome?: (toolCall: ToolCall, result: ToolResultView) => ToolChrome;
|
|
17
26
|
/**
|
|
18
27
|
* Overrides whether consecutive same-kind calls fold into one collapsible
|
|
19
28
|
* "Read 5 files" chip. Use to fold a chatty custom tool (`() => true`) or to
|
|
@@ -65,6 +74,21 @@ export interface ToolPresentation {
|
|
|
65
74
|
readonly category: ToolCategory;
|
|
66
75
|
/** Display label, e.g. "Edit", "Shell". */
|
|
67
76
|
readonly label: string;
|
|
77
|
+
/**
|
|
78
|
+
* The model-authored intent phrase for a SHELL call (stigmer#276), or null
|
|
79
|
+
* when absent (legacy executions, skipped optional arg, non-shell kinds).
|
|
80
|
+
* Raw extraction — precedence against overrides is resolved in
|
|
81
|
+
* {@link ToolPresentation.title}.
|
|
82
|
+
*/
|
|
83
|
+
readonly intent: string | null;
|
|
84
|
+
/**
|
|
85
|
+
* The row title: a registered presenter's `label` override wins (a host's
|
|
86
|
+
* explicit wording is never displaced by model output), then the
|
|
87
|
+
* model-authored {@link intent}, then the category {@link label}. Renderers
|
|
88
|
+
* that title a row use this; {@link label} stays the short kind label for
|
|
89
|
+
* chips and badges.
|
|
90
|
+
*/
|
|
91
|
+
readonly title: string;
|
|
68
92
|
/** Primary argument (path, command, pattern...), or null. */
|
|
69
93
|
readonly primaryArg: string | null;
|
|
70
94
|
/** Normalized result view for rendering with {@link ResultView}. */
|
|
@@ -78,6 +102,13 @@ export interface ToolPresentation {
|
|
|
78
102
|
* default.
|
|
79
103
|
*/
|
|
80
104
|
readonly disclosure: ToolDisclosure;
|
|
105
|
+
/**
|
|
106
|
+
* Default chrome tier for this tool — `"quiet"` renders an unboxed line,
|
|
107
|
+
* `"card"` a bordered card (see {@link ToolChrome}). A pending gate or a
|
|
108
|
+
* failure escalates to `"card"` in the component layer; this is the
|
|
109
|
+
* *settled* default.
|
|
110
|
+
*/
|
|
111
|
+
readonly chrome: ToolChrome;
|
|
81
112
|
/**
|
|
82
113
|
* Whether consecutive same-kind calls fold into one collapsible chip — the
|
|
83
114
|
* run-grouping axis, orthogonal to {@link disclosure}. See
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-presenter.d.ts","sourceRoot":"","sources":["../../src/execution/tool-presenter.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iEAAiE,CAAC;AAChG,OAAO,EAAE,QAAQ,EAAwC,MAAM,cAAc,CAAC;AAC9E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"tool-presenter.d.ts","sourceRoot":"","sources":["../../src/execution/tool-presenter.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iEAAiE,CAAC;AAChG,OAAO,EAAE,QAAQ,EAAwC,MAAM,cAAc,CAAC;AAC9E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AASnD,OAAO,KAAK,EAAE,YAAY,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAGrF,oFAAoF;AACpF,MAAM,WAAW,aAAa;IAC5B,mEAAmE;IACnE,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,MAAM,CAAC;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ACpE,QAAQ,CAAC,MAAM,EAAE,cAAc,CAAC;IAChC,4EAA4E;IAC5E,QAAQ,CAAC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC;;;;;OAKG;IACH,QAAQ,CAAC,UAAU,EAAE,cAAc,CAAC;IACpC;;;;;OAKG;IACH,QAAQ,CAAC,MAAM,EAAE,UAAU,CAAC;IAC5B;;;;OAIG;IACH,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAC;CAChC;AAED;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,QAAQ,GAAG,gBAAgB,CAqCxE"}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
// presentation seam.
|
|
13
13
|
import { useMemo } from "react";
|
|
14
14
|
import { resolveToolKind, normalizeToolResult } from "@stigmer/sdk";
|
|
15
|
-
import { resolveToolCategoryFromCall, extractPrimaryArg, defaultDisclosureForCategory, isRunGroupableCategory, } from "./tool-categories.js";
|
|
15
|
+
import { resolveToolCategoryFromCall, extractPrimaryArg, extractShellIntent, defaultChromeForCategory, defaultDisclosureForCategory, isRunGroupableCategory, } from "./tool-categories.js";
|
|
16
16
|
import { summarizeResultView } from "./ResultView.js";
|
|
17
17
|
const registry = new Map();
|
|
18
18
|
/**
|
|
@@ -82,20 +82,28 @@ export function useToolPresentation(toolCall) {
|
|
|
82
82
|
const categoryInfo = resolveToolCategoryFromCall(toolCall);
|
|
83
83
|
const result = normalizeToolResult(toolCall);
|
|
84
84
|
const override = registry.get(kind);
|
|
85
|
-
const
|
|
85
|
+
const overrideLabel = override?.label?.(toolCall);
|
|
86
|
+
const label = overrideLabel ?? categoryInfo.label;
|
|
87
|
+
const intent = extractShellIntent(toolCall);
|
|
88
|
+
const title = overrideLabel ?? intent ?? categoryInfo.label;
|
|
86
89
|
const resultSummary = override?.summary?.(toolCall, result) ?? summarizeResultView(result);
|
|
87
90
|
const disclosure = override?.disclosure?.(toolCall, result) ??
|
|
88
91
|
defaultDisclosureForCategory(categoryInfo.category);
|
|
92
|
+
const chrome = override?.chrome?.(toolCall, result) ??
|
|
93
|
+
defaultChromeForCategory(categoryInfo.category);
|
|
89
94
|
const runGroupable = override?.runGroupable?.(toolCall) ??
|
|
90
95
|
isRunGroupableCategory(categoryInfo.category);
|
|
91
96
|
return {
|
|
92
97
|
kind,
|
|
93
98
|
category: categoryInfo.category,
|
|
94
99
|
label,
|
|
100
|
+
intent,
|
|
101
|
+
title,
|
|
95
102
|
primaryArg: extractPrimaryArg(toolCall),
|
|
96
103
|
result,
|
|
97
104
|
resultSummary,
|
|
98
105
|
disclosure,
|
|
106
|
+
chrome,
|
|
99
107
|
runGroupable,
|
|
100
108
|
};
|
|
101
109
|
}, [toolCall]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-presenter.js","sourceRoot":"","sources":["../../src/execution/tool-presenter.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,8CAA8C;AAC9C,EAAE;AACF,gFAAgF;AAChF,8EAA8E;AAC9E,+EAA+E;AAC/E,2EAA2E;AAC3E,EAAE;AACF,4EAA4E;AAC5E,+EAA+E;AAC/E,iFAAiF;AACjF,qBAAqB;AAErB,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EAAY,eAAe,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAE9E,OAAO,EACL,2BAA2B,EAC3B,iBAAiB,EACjB,4BAA4B,EAC5B,sBAAsB,GACvB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"tool-presenter.js","sourceRoot":"","sources":["../../src/execution/tool-presenter.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,8CAA8C;AAC9C,EAAE;AACF,gFAAgF;AAChF,8EAA8E;AAC9E,+EAA+E;AAC/E,2EAA2E;AAC3E,EAAE;AACF,4EAA4E;AAC5E,+EAA+E;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Y,CAAC,QAAQ;YAC/B,KAAK;YACL,MAAM;YACN,KAAK;YACL,UAAU,EAAE,iBAAiB,CAAC,QAAQ,CAAC;YACvC,MAAM;YACN,aAAa;YACb,UAAU;YACV,MAAM;YACN,YAAY;SACb,CAAC;IACJ,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC;AACjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useArtifactInspection.d.ts","sourceRoot":"","sources":["../../src/execution/useArtifactInspection.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kEAAkE,CAAC;AAM1G,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,EAEL,KAAK,mBAAmB,EACzB,MAAM,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"useArtifactInspection.d.ts","sourceRoot":"","sources":["../../src/execution/useArtifactInspection.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kEAAkE,CAAC;AAM1G,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,EAEL,KAAK,mBAAmB,EACzB,MAAM,gCAAgC,CAAC;AAGxC,iDAAiD;AACjD,MAAM,WAAW,4BAA4B;IAC3C;;;;;;OAMG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B;;;OAGG;IACH,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,mBAAmB,KAAK,IAAI,CAAC;CAC5D;AAED;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IACjC,8EAA8E;IAC9E,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,+CAA+C;IAC/C,QAAQ,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,0EAA0E;IAC1E,QAAQ,CAAC,WAAW,EAA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