@stigmer/react 0.0.70 → 0.0.72
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/agent/AgentDetailView.d.ts +1 -0
- package/agent/AgentDetailView.d.ts.map +1 -1
- package/agent/AgentDetailView.js.map +1 -1
- package/agent/AgentEnvForm.d.ts +1 -0
- package/agent/AgentEnvForm.d.ts.map +1 -1
- package/agent/AgentEnvForm.js.map +1 -1
- package/agent/AgentPicker.d.ts +1 -0
- package/agent/AgentPicker.d.ts.map +1 -1
- package/agent/AgentPicker.js.map +1 -1
- package/agent/agentSetupReducer.d.ts +8 -0
- package/agent/agentSetupReducer.d.ts.map +1 -1
- package/agent/agentSetupReducer.js +7 -0
- package/agent/agentSetupReducer.js.map +1 -1
- package/agent/useAgent.d.ts +5 -2
- package/agent/useAgent.d.ts.map +1 -1
- package/agent/useAgent.js.map +1 -1
- package/agent/useAgentCount.d.ts +2 -0
- package/agent/useAgentCount.d.ts.map +1 -1
- package/agent/useAgentCount.js.map +1 -1
- package/agent/useAgentList.d.ts +5 -1
- package/agent/useAgentList.d.ts.map +1 -1
- package/agent/useAgentList.js.map +1 -1
- package/agent/useAgentSearch.d.ts +2 -0
- package/agent/useAgentSearch.d.ts.map +1 -1
- package/agent/useAgentSearch.js.map +1 -1
- package/agent/useAgentSetup.d.ts +2 -0
- package/agent/useAgentSetup.d.ts.map +1 -1
- package/agent/useAgentSetup.js.map +1 -1
- package/agent/useDefaultAgent.d.ts +5 -1
- package/agent/useDefaultAgent.d.ts.map +1 -1
- package/agent/useDefaultAgent.js.map +1 -1
- package/agent-instance/useAgentInstance.d.ts +5 -0
- package/agent-instance/useAgentInstance.d.ts.map +1 -1
- package/agent-instance/useAgentInstance.js.map +1 -1
- package/agent-instance/useAgentInstanceList.d.ts +6 -0
- package/agent-instance/useAgentInstanceList.d.ts.map +1 -1
- package/agent-instance/useAgentInstanceList.js.map +1 -1
- package/agent-instance/useCreateAgentInstance.d.ts +5 -0
- package/agent-instance/useCreateAgentInstance.d.ts.map +1 -1
- package/agent-instance/useCreateAgentInstance.js.map +1 -1
- package/agent-instance/usePersonalAgentInstance.d.ts +1 -0
- package/agent-instance/usePersonalAgentInstance.d.ts.map +1 -1
- package/agent-instance/usePersonalAgentInstance.js.map +1 -1
- package/api-key/ApiKeyCreatedAlert.d.ts +2 -0
- package/api-key/ApiKeyCreatedAlert.d.ts.map +1 -1
- package/api-key/ApiKeyCreatedAlert.js.map +1 -1
- package/api-key/ApiKeyListPanel.d.ts +2 -0
- package/api-key/ApiKeyListPanel.d.ts.map +1 -1
- package/api-key/ApiKeyListPanel.js.map +1 -1
- package/api-key/CreateApiKeyForm.d.ts +2 -0
- package/api-key/CreateApiKeyForm.d.ts.map +1 -1
- package/api-key/CreateApiKeyForm.js.map +1 -1
- package/api-key/useApiKeyList.d.ts +5 -0
- package/api-key/useApiKeyList.d.ts.map +1 -1
- package/api-key/useApiKeyList.js.map +1 -1
- package/api-key/useCreateApiKey.d.ts +5 -0
- package/api-key/useCreateApiKey.d.ts.map +1 -1
- package/api-key/useCreateApiKey.js.map +1 -1
- package/api-key/useDeleteApiKey.d.ts +5 -0
- package/api-key/useDeleteApiKey.d.ts.map +1 -1
- package/api-key/useDeleteApiKey.js.map +1 -1
- package/attachment/AttachmentChipList.d.ts +2 -0
- package/attachment/AttachmentChipList.d.ts.map +1 -1
- package/attachment/AttachmentChipList.js.map +1 -1
- package/attachment/useAttachments.d.ts +8 -2
- package/attachment/useAttachments.d.ts.map +1 -1
- package/attachment/useAttachments.js.map +1 -1
- package/composer/SessionComposer.d.ts +2 -0
- package/composer/SessionComposer.d.ts.map +1 -1
- package/composer/SessionComposer.js.map +1 -1
- package/composer/useComposer.d.ts +2 -0
- package/composer/useComposer.d.ts.map +1 -1
- package/composer/useComposer.js.map +1 -1
- package/environment/CreateEnvironmentForm.d.ts +2 -0
- package/environment/CreateEnvironmentForm.d.ts.map +1 -1
- package/environment/CreateEnvironmentForm.js.map +1 -1
- package/environment/EnvVarForm.d.ts +3 -0
- package/environment/EnvVarForm.d.ts.map +1 -1
- package/environment/EnvVarForm.js.map +1 -1
- package/environment/EnvironmentListPanel.d.ts +2 -0
- package/environment/EnvironmentListPanel.d.ts.map +1 -1
- package/environment/EnvironmentListPanel.js.map +1 -1
- package/environment/EnvironmentVariableEditor.d.ts +2 -0
- package/environment/EnvironmentVariableEditor.d.ts.map +1 -1
- package/environment/EnvironmentVariableEditor.js.map +1 -1
- package/environment/useCreateEnvironment.d.ts +5 -0
- package/environment/useCreateEnvironment.d.ts.map +1 -1
- package/environment/useCreateEnvironment.js.map +1 -1
- package/environment/useEnvironment.d.ts +5 -0
- package/environment/useEnvironment.d.ts.map +1 -1
- package/environment/useEnvironment.js.map +1 -1
- package/environment/useEnvironmentList.d.ts +6 -0
- package/environment/useEnvironmentList.d.ts.map +1 -1
- package/environment/useEnvironmentList.js.map +1 -1
- package/environment/usePersonalEnvironment.d.ts +1 -0
- package/environment/usePersonalEnvironment.d.ts.map +1 -1
- package/environment/usePersonalEnvironment.js.map +1 -1
- package/environment/useRemoveEnvironmentVariables.d.ts +5 -0
- package/environment/useRemoveEnvironmentVariables.d.ts.map +1 -1
- package/environment/useRemoveEnvironmentVariables.js.map +1 -1
- package/environment/useRevealSecretValue.d.ts +2 -0
- package/environment/useRevealSecretValue.d.ts.map +1 -1
- package/environment/useRevealSecretValue.js.map +1 -1
- package/environment/useSessionEnvPool.d.ts +1 -0
- package/environment/useSessionEnvPool.d.ts.map +1 -1
- package/environment/useSessionEnvPool.js.map +1 -1
- package/environment/useUpdateEnvironment.d.ts +5 -0
- package/environment/useUpdateEnvironment.d.ts.map +1 -1
- package/environment/useUpdateEnvironment.js.map +1 -1
- package/environment/useUpdateEnvironmentVariables.d.ts +5 -0
- package/environment/useUpdateEnvironmentVariables.d.ts.map +1 -1
- package/environment/useUpdateEnvironmentVariables.js.map +1 -1
- package/error/ErrorMessage.d.ts +2 -0
- package/error/ErrorMessage.d.ts.map +1 -1
- package/error/ErrorMessage.js.map +1 -1
- package/error/SecretFlowErrorGuide.d.ts +2 -0
- package/error/SecretFlowErrorGuide.d.ts.map +1 -1
- package/error/SecretFlowErrorGuide.js.map +1 -1
- package/execution/ApprovalCard.d.ts +3 -0
- package/execution/ApprovalCard.d.ts.map +1 -1
- package/execution/ApprovalCard.js.map +1 -1
- package/execution/ArtifactCard.d.ts +1 -0
- package/execution/ArtifactCard.d.ts.map +1 -1
- package/execution/ArtifactCard.js.map +1 -1
- package/execution/ArtifactContentRenderer.d.ts +1 -0
- package/execution/ArtifactContentRenderer.d.ts.map +1 -1
- package/execution/ArtifactContentRenderer.js.map +1 -1
- package/execution/ArtifactPreviewModal.d.ts +1 -0
- package/execution/ArtifactPreviewModal.d.ts.map +1 -1
- package/execution/ArtifactPreviewModal.js.map +1 -1
- package/execution/ArtifactsWidget.d.ts +1 -0
- package/execution/ArtifactsWidget.d.ts.map +1 -1
- package/execution/ArtifactsWidget.js.map +1 -1
- package/execution/ExecutionPhaseBadge.d.ts +3 -0
- package/execution/ExecutionPhaseBadge.d.ts.map +1 -1
- package/execution/ExecutionPhaseBadge.js.map +1 -1
- package/execution/ExecutionProgress.d.ts +2 -0
- package/execution/ExecutionProgress.d.ts.map +1 -1
- package/execution/ExecutionProgress.js.map +1 -1
- package/execution/FilePathContext.d.ts +2 -0
- package/execution/FilePathContext.d.ts.map +1 -1
- package/execution/FilePathContext.js +1 -0
- package/execution/FilePathContext.js.map +1 -1
- package/execution/FilePathLink.d.ts +2 -0
- package/execution/FilePathLink.d.ts.map +1 -1
- package/execution/FilePathLink.js.map +1 -1
- package/execution/FollowUpInput.d.ts +2 -0
- package/execution/FollowUpInput.d.ts.map +1 -1
- package/execution/FollowUpInput.js.map +1 -1
- package/execution/McpToolDetail.d.ts +13 -0
- package/execution/McpToolDetail.d.ts.map +1 -1
- package/execution/McpToolDetail.js +10 -0
- package/execution/McpToolDetail.js.map +1 -1
- package/execution/MessageEntry.d.ts +3 -0
- package/execution/MessageEntry.d.ts.map +1 -1
- package/execution/MessageEntry.js.map +1 -1
- package/execution/MessageThread.d.ts +2 -0
- package/execution/MessageThread.d.ts.map +1 -1
- package/execution/MessageThread.js.map +1 -1
- package/execution/SessionVariablesInput.d.ts +3 -0
- package/execution/SessionVariablesInput.d.ts.map +1 -1
- package/execution/SessionVariablesInput.js.map +1 -1
- package/execution/SetupProgress.d.ts +2 -0
- package/execution/SetupProgress.d.ts.map +1 -1
- package/execution/SetupProgress.js.map +1 -1
- package/execution/SubAgentSection.d.ts +3 -0
- package/execution/SubAgentSection.d.ts.map +1 -1
- package/execution/SubAgentSection.js.map +1 -1
- package/execution/TodoList.d.ts +2 -0
- package/execution/TodoList.d.ts.map +1 -1
- package/execution/TodoList.js.map +1 -1
- package/execution/ToolArgsView.d.ts +1 -0
- package/execution/ToolArgsView.d.ts.map +1 -1
- package/execution/ToolArgsView.js.map +1 -1
- package/execution/ToolCallDetail.d.ts +3 -0
- package/execution/ToolCallDetail.d.ts.map +1 -1
- package/execution/ToolCallDetail.js.map +1 -1
- package/execution/ToolCallGroup.d.ts +3 -0
- package/execution/ToolCallGroup.d.ts.map +1 -1
- package/execution/ToolCallGroup.js.map +1 -1
- package/execution/ToolCallItem.d.ts +3 -0
- package/execution/ToolCallItem.d.ts.map +1 -1
- package/execution/ToolCallItem.js.map +1 -1
- package/execution/UsageWidget.d.ts +1 -0
- package/execution/UsageWidget.d.ts.map +1 -1
- package/execution/UsageWidget.js.map +1 -1
- package/execution/WriteBackCard.d.ts +1 -0
- package/execution/WriteBackCard.d.ts.map +1 -1
- package/execution/WriteBackCard.js.map +1 -1
- package/execution/WriteBacksWidget.d.ts +1 -0
- package/execution/WriteBacksWidget.d.ts.map +1 -1
- package/execution/WriteBacksWidget.js.map +1 -1
- package/execution/tool-categories.d.ts +5 -0
- package/execution/tool-categories.d.ts.map +1 -1
- package/execution/tool-categories.js.map +1 -1
- package/execution/tool-rendering-primitives.d.ts +10 -0
- package/execution/tool-rendering-primitives.d.ts.map +1 -1
- package/execution/tool-rendering-primitives.js.map +1 -1
- package/execution/useArtifactContent.d.ts +1 -0
- package/execution/useArtifactContent.d.ts.map +1 -1
- package/execution/useArtifactContent.js.map +1 -1
- package/execution/useCreateAgentExecution.d.ts +14 -0
- package/execution/useCreateAgentExecution.d.ts.map +1 -1
- package/execution/useCreateAgentExecution.js.map +1 -1
- package/execution/useExecutionArtifacts.d.ts +1 -0
- package/execution/useExecutionArtifacts.d.ts.map +1 -1
- package/execution/useExecutionArtifacts.js.map +1 -1
- package/execution/useExecutionStream.d.ts +1 -0
- package/execution/useExecutionStream.d.ts.map +1 -1
- package/execution/useExecutionStream.js.map +1 -1
- package/execution/useSessionVariables.d.ts +6 -0
- package/execution/useSessionVariables.d.ts.map +1 -1
- package/execution/useSessionVariables.js.map +1 -1
- package/execution/useSubmitApproval.d.ts +1 -0
- package/execution/useSubmitApproval.d.ts.map +1 -1
- package/execution/useSubmitApproval.js.map +1 -1
- package/execution/useWorkspaceWriteBacks.d.ts +1 -0
- package/execution/useWorkspaceWriteBacks.d.ts.map +1 -1
- package/execution/useWorkspaceWriteBacks.js.map +1 -1
- package/github/GitHubRepoPicker.d.ts +2 -0
- package/github/GitHubRepoPicker.d.ts.map +1 -1
- package/github/GitHubRepoPicker.js.map +1 -1
- package/github/useGitHubConnection.d.ts +5 -0
- package/github/useGitHubConnection.d.ts.map +1 -1
- package/github/useGitHubConnection.js.map +1 -1
- package/github/useGitHubRepos.d.ts +20 -1
- package/github/useGitHubRepos.d.ts.map +1 -1
- package/github/useGitHubRepos.js.map +1 -1
- package/github/useGitHubSearch.d.ts +9 -0
- package/github/useGitHubSearch.d.ts.map +1 -1
- package/github/useGitHubSearch.js.map +1 -1
- package/internal/CloudFeatureNotice.d.ts +2 -0
- package/internal/CloudFeatureNotice.d.ts.map +1 -1
- package/internal/CloudFeatureNotice.js.map +1 -1
- package/library/ResourceCountCard.d.ts +1 -0
- package/library/ResourceCountCard.d.ts.map +1 -1
- package/library/ResourceCountCard.js.map +1 -1
- package/library/ResourceListView.d.ts +1 -0
- package/library/ResourceListView.d.ts.map +1 -1
- package/library/ResourceListView.js.map +1 -1
- package/library/ScopeToggle.d.ts +1 -0
- package/library/ScopeToggle.d.ts.map +1 -1
- package/library/ScopeToggle.js.map +1 -1
- package/library/VisibilityToggle.d.ts +1 -0
- package/library/VisibilityToggle.d.ts.map +1 -1
- package/library/VisibilityToggle.js.map +1 -1
- package/library/useApplyResource.d.ts +1 -0
- package/library/useApplyResource.d.ts.map +1 -1
- package/library/useApplyResource.js.map +1 -1
- package/library/useDetectSkillPackage.d.ts +1 -0
- package/library/useDetectSkillPackage.d.ts.map +1 -1
- package/library/useDetectSkillPackage.js.map +1 -1
- package/library/useUpdateVisibility.d.ts +1 -0
- package/library/useUpdateVisibility.d.ts.map +1 -1
- package/library/useUpdateVisibility.js.map +1 -1
- package/mcp-server/ApprovalPolicyGeneratorPanel.d.ts +1 -0
- package/mcp-server/ApprovalPolicyGeneratorPanel.d.ts.map +1 -1
- package/mcp-server/ApprovalPolicyGeneratorPanel.js.map +1 -1
- package/mcp-server/McpServerConfigPanel.d.ts +3 -0
- package/mcp-server/McpServerConfigPanel.d.ts.map +1 -1
- package/mcp-server/McpServerConfigPanel.js.map +1 -1
- package/mcp-server/McpServerDetailView.d.ts +1 -0
- package/mcp-server/McpServerDetailView.d.ts.map +1 -1
- package/mcp-server/McpServerDetailView.js.map +1 -1
- package/mcp-server/McpServerPicker.d.ts +3 -0
- package/mcp-server/McpServerPicker.d.ts.map +1 -1
- package/mcp-server/McpServerPicker.js.map +1 -1
- package/mcp-server/McpToolSelector.d.ts +3 -0
- package/mcp-server/McpToolSelector.d.ts.map +1 -1
- package/mcp-server/McpToolSelector.js.map +1 -1
- package/mcp-server/useDiscoverCapabilities.d.ts +1 -0
- package/mcp-server/useDiscoverCapabilities.d.ts.map +1 -1
- package/mcp-server/useDiscoverCapabilities.js.map +1 -1
- package/mcp-server/useMcpServer.d.ts +4 -1
- package/mcp-server/useMcpServer.d.ts.map +1 -1
- package/mcp-server/useMcpServer.js.map +1 -1
- package/mcp-server/useMcpServerCount.d.ts +5 -1
- package/mcp-server/useMcpServerCount.d.ts.map +1 -1
- package/mcp-server/useMcpServerCount.js.map +1 -1
- package/mcp-server/useMcpServerCredentials.d.ts +1 -0
- package/mcp-server/useMcpServerCredentials.d.ts.map +1 -1
- package/mcp-server/useMcpServerCredentials.js.map +1 -1
- package/mcp-server/useMcpServerList.d.ts +5 -1
- package/mcp-server/useMcpServerList.d.ts.map +1 -1
- package/mcp-server/useMcpServerList.js.map +1 -1
- package/mcp-server/useMcpServerSearch.d.ts +2 -0
- package/mcp-server/useMcpServerSearch.d.ts.map +1 -1
- package/mcp-server/useMcpServerSearch.js.map +1 -1
- package/mcp-server/useMcpServerSetup.d.ts +2 -0
- package/mcp-server/useMcpServerSetup.d.ts.map +1 -1
- package/mcp-server/useMcpServerSetup.js.map +1 -1
- package/mcp-server/useTriggerApprovalPolicySession.d.ts +8 -0
- package/mcp-server/useTriggerApprovalPolicySession.d.ts.map +1 -1
- package/mcp-server/useTriggerApprovalPolicySession.js.map +1 -1
- package/models/ModelSelector.d.ts +4 -0
- package/models/ModelSelector.d.ts.map +1 -1
- package/models/ModelSelector.js.map +1 -1
- package/models/registry.d.ts +25 -0
- package/models/registry.d.ts.map +1 -1
- package/models/registry.js +8 -0
- package/models/registry.js.map +1 -1
- package/models/useModelRegistry.d.ts +6 -0
- package/models/useModelRegistry.d.ts.map +1 -1
- package/models/useModelRegistry.js.map +1 -1
- package/organization/CreateOrganizationForm.d.ts +2 -0
- package/organization/CreateOrganizationForm.d.ts.map +1 -1
- package/organization/CreateOrganizationForm.js.map +1 -1
- package/organization/useCreateOrganization.d.ts +5 -0
- package/organization/useCreateOrganization.d.ts.map +1 -1
- package/organization/useCreateOrganization.js.map +1 -1
- package/package.json +4 -4
- package/provider.d.ts +1 -0
- package/provider.d.ts.map +1 -1
- package/provider.js.map +1 -1
- package/session/group-sessions.d.ts +1 -0
- package/session/group-sessions.d.ts.map +1 -1
- package/session/group-sessions.js.map +1 -1
- package/session/useAgentRefFromSession.d.ts +4 -1
- package/session/useAgentRefFromSession.d.ts.map +1 -1
- package/session/useAgentRefFromSession.js.map +1 -1
- package/session/useCreateSession.d.ts +7 -0
- package/session/useCreateSession.d.ts.map +1 -1
- package/session/useCreateSession.js.map +1 -1
- package/session/useSession.d.ts +5 -1
- package/session/useSession.d.ts.map +1 -1
- package/session/useSession.js.map +1 -1
- package/session/useSessionArtifacts.d.ts +1 -0
- package/session/useSessionArtifacts.d.ts.map +1 -1
- package/session/useSessionArtifacts.js.map +1 -1
- package/session/useSessionConversation.d.ts +11 -0
- package/session/useSessionConversation.d.ts.map +1 -1
- package/session/useSessionConversation.js.map +1 -1
- package/session/useSessionExecutions.d.ts +5 -0
- package/session/useSessionExecutions.d.ts.map +1 -1
- package/session/useSessionExecutions.js.map +1 -1
- package/session/useSessionList.d.ts +6 -0
- package/session/useSessionList.d.ts.map +1 -1
- package/session/useSessionList.js.map +1 -1
- package/session/useSessionUsage.d.ts +9 -0
- package/session/useSessionUsage.d.ts.map +1 -1
- package/session/useSessionUsage.js.map +1 -1
- package/session/useSessionWriteBacks.d.ts +1 -0
- package/session/useSessionWriteBacks.d.ts.map +1 -1
- package/session/useSessionWriteBacks.js.map +1 -1
- package/session/useUpdateSession.d.ts +5 -0
- package/session/useUpdateSession.d.ts.map +1 -1
- package/session/useUpdateSession.js.map +1 -1
- package/skill/SkillDetailView.d.ts +1 -0
- package/skill/SkillDetailView.d.ts.map +1 -1
- package/skill/SkillDetailView.js.map +1 -1
- package/skill/SkillPicker.d.ts +3 -0
- package/skill/SkillPicker.d.ts.map +1 -1
- package/skill/SkillPicker.js.map +1 -1
- package/skill/useSkill.d.ts +4 -1
- package/skill/useSkill.d.ts.map +1 -1
- package/skill/useSkill.js.map +1 -1
- package/skill/useSkillCount.d.ts +5 -1
- package/skill/useSkillCount.d.ts.map +1 -1
- package/skill/useSkillCount.js.map +1 -1
- package/skill/useSkillList.d.ts +5 -1
- package/skill/useSkillList.d.ts.map +1 -1
- package/skill/useSkillList.js.map +1 -1
- package/skill/useSkillSearch.d.ts +2 -0
- package/skill/useSkillSearch.d.ts.map +1 -1
- package/skill/useSkillSearch.js.map +1 -1
- package/src/agent/AgentDetailView.tsx +1 -0
- package/src/agent/AgentEnvForm.tsx +1 -0
- package/src/agent/AgentPicker.tsx +1 -0
- package/src/agent/agentSetupReducer.ts +8 -0
- package/src/agent/useAgent.ts +5 -2
- package/src/agent/useAgentCount.ts +2 -0
- package/src/agent/useAgentList.ts +5 -1
- package/src/agent/useAgentSearch.ts +2 -0
- package/src/agent/useAgentSetup.ts +2 -0
- package/src/agent/useDefaultAgent.ts +5 -1
- package/src/agent-instance/useAgentInstance.ts +5 -0
- package/src/agent-instance/useAgentInstanceList.ts +6 -0
- package/src/agent-instance/useCreateAgentInstance.ts +5 -0
- package/src/agent-instance/usePersonalAgentInstance.ts +1 -0
- package/src/api-key/ApiKeyCreatedAlert.tsx +2 -0
- package/src/api-key/ApiKeyListPanel.tsx +2 -0
- package/src/api-key/CreateApiKeyForm.tsx +2 -0
- package/src/api-key/useApiKeyList.ts +5 -0
- package/src/api-key/useCreateApiKey.ts +5 -0
- package/src/api-key/useDeleteApiKey.ts +5 -0
- package/src/attachment/AttachmentChipList.tsx +2 -0
- package/src/attachment/useAttachments.ts +8 -2
- package/src/composer/SessionComposer.tsx +2 -0
- package/src/composer/useComposer.ts +2 -0
- package/src/environment/CreateEnvironmentForm.tsx +2 -0
- package/src/environment/EnvVarForm.tsx +3 -0
- package/src/environment/EnvironmentListPanel.tsx +2 -0
- package/src/environment/EnvironmentVariableEditor.tsx +2 -0
- package/src/environment/useCreateEnvironment.ts +5 -0
- package/src/environment/useEnvironment.ts +5 -0
- package/src/environment/useEnvironmentList.ts +6 -0
- package/src/environment/usePersonalEnvironment.ts +1 -0
- package/src/environment/useRemoveEnvironmentVariables.ts +5 -0
- package/src/environment/useRevealSecretValue.ts +2 -0
- package/src/environment/useSessionEnvPool.ts +1 -0
- package/src/environment/useUpdateEnvironment.ts +5 -0
- package/src/environment/useUpdateEnvironmentVariables.ts +5 -0
- package/src/error/ErrorMessage.tsx +2 -0
- package/src/error/SecretFlowErrorGuide.tsx +2 -0
- package/src/execution/ApprovalCard.tsx +3 -0
- package/src/execution/ArtifactCard.tsx +1 -0
- package/src/execution/ArtifactContentRenderer.tsx +1 -0
- package/src/execution/ArtifactPreviewModal.tsx +1 -0
- package/src/execution/ArtifactsWidget.tsx +1 -0
- package/src/execution/ExecutionPhaseBadge.tsx +3 -0
- package/src/execution/ExecutionProgress.tsx +2 -0
- package/src/execution/FilePathContext.tsx +2 -0
- package/src/execution/FilePathLink.tsx +2 -0
- package/src/execution/FollowUpInput.tsx +2 -0
- package/src/execution/McpToolDetail.tsx +13 -0
- package/src/execution/MessageEntry.tsx +3 -0
- package/src/execution/MessageThread.tsx +2 -0
- package/src/execution/SessionVariablesInput.tsx +3 -0
- package/src/execution/SetupProgress.tsx +2 -0
- package/src/execution/SubAgentSection.tsx +3 -0
- package/src/execution/TodoList.tsx +2 -0
- package/src/execution/ToolArgsView.tsx +1 -0
- package/src/execution/ToolCallDetail.tsx +3 -0
- package/src/execution/ToolCallGroup.tsx +3 -0
- package/src/execution/ToolCallItem.tsx +3 -0
- package/src/execution/UsageWidget.tsx +1 -0
- package/src/execution/WriteBackCard.tsx +1 -0
- package/src/execution/WriteBacksWidget.tsx +1 -0
- package/src/execution/tool-categories.ts +5 -0
- package/src/execution/tool-rendering-primitives.tsx +10 -0
- package/src/execution/useArtifactContent.ts +1 -0
- package/src/execution/useCreateAgentExecution.ts +14 -0
- package/src/execution/useExecutionArtifacts.ts +1 -0
- package/src/execution/useExecutionStream.ts +1 -0
- package/src/execution/useSessionVariables.ts +6 -0
- package/src/execution/useSubmitApproval.ts +1 -0
- package/src/execution/useWorkspaceWriteBacks.ts +1 -0
- package/src/github/GitHubRepoPicker.tsx +2 -0
- package/src/github/useGitHubConnection.ts +5 -0
- package/src/github/useGitHubRepos.ts +20 -1
- package/src/github/useGitHubSearch.ts +9 -0
- package/src/internal/CloudFeatureNotice.tsx +2 -0
- package/src/library/ResourceCountCard.tsx +1 -0
- package/src/library/ResourceListView.tsx +1 -0
- package/src/library/ScopeToggle.tsx +1 -0
- package/src/library/VisibilityToggle.tsx +1 -0
- package/src/library/useApplyResource.ts +1 -0
- package/src/library/useDetectSkillPackage.ts +1 -0
- package/src/library/useUpdateVisibility.ts +1 -0
- package/src/mcp-server/ApprovalPolicyGeneratorPanel.tsx +1 -0
- package/src/mcp-server/McpServerConfigPanel.tsx +3 -0
- package/src/mcp-server/McpServerDetailView.tsx +1 -0
- package/src/mcp-server/McpServerPicker.tsx +3 -0
- package/src/mcp-server/McpToolSelector.tsx +3 -0
- package/src/mcp-server/useDiscoverCapabilities.ts +1 -0
- package/src/mcp-server/useMcpServer.ts +4 -1
- package/src/mcp-server/useMcpServerCount.ts +5 -1
- package/src/mcp-server/useMcpServerCredentials.ts +1 -0
- package/src/mcp-server/useMcpServerList.ts +5 -1
- package/src/mcp-server/useMcpServerSearch.ts +2 -0
- package/src/mcp-server/useMcpServerSetup.ts +2 -0
- package/src/mcp-server/useTriggerApprovalPolicySession.ts +8 -0
- package/src/models/ModelSelector.tsx +4 -0
- package/src/models/registry.ts +25 -0
- package/src/models/useModelRegistry.ts +6 -0
- package/src/organization/CreateOrganizationForm.tsx +2 -0
- package/src/organization/useCreateOrganization.ts +5 -0
- package/src/provider.tsx +1 -0
- package/src/session/group-sessions.ts +1 -0
- package/src/session/useAgentRefFromSession.ts +4 -1
- package/src/session/useCreateSession.ts +7 -0
- package/src/session/useSession.ts +5 -1
- package/src/session/useSessionArtifacts.ts +1 -0
- package/src/session/useSessionConversation.ts +11 -0
- package/src/session/useSessionExecutions.ts +5 -0
- package/src/session/useSessionList.ts +6 -0
- package/src/session/useSessionUsage.ts +9 -0
- package/src/session/useSessionWriteBacks.ts +1 -0
- package/src/session/useUpdateSession.ts +5 -0
- package/src/skill/SkillDetailView.tsx +1 -0
- package/src/skill/SkillPicker.tsx +3 -0
- package/src/skill/useSkill.ts +4 -1
- package/src/skill/useSkillCount.ts +5 -1
- package/src/skill/useSkillList.ts +5 -1
- package/src/skill/useSkillSearch.ts +2 -0
- package/src/workspace/FolderBrowser.tsx +2 -0
- package/src/workspace/WorkspaceEditor.tsx +4 -0
- package/src/workspace/WorkspaceSummary.tsx +2 -0
- package/src/workspace/useFolderListing.ts +16 -2
- package/src/workspace/useWorkspaceEntries.ts +20 -0
- package/workspace/FolderBrowser.d.ts +2 -0
- package/workspace/FolderBrowser.d.ts.map +1 -1
- package/workspace/FolderBrowser.js.map +1 -1
- package/workspace/WorkspaceEditor.d.ts +4 -0
- package/workspace/WorkspaceEditor.d.ts.map +1 -1
- package/workspace/WorkspaceEditor.js.map +1 -1
- package/workspace/WorkspaceSummary.d.ts +2 -0
- package/workspace/WorkspaceSummary.d.ts.map +1 -1
- package/workspace/WorkspaceSummary.js.map +1 -1
- package/workspace/useFolderListing.d.ts +16 -2
- package/workspace/useFolderListing.d.ts.map +1 -1
- package/workspace/useFolderListing.js.map +1 -1
- package/workspace/useWorkspaceEntries.d.ts +20 -0
- package/workspace/useWorkspaceEntries.d.ts.map +1 -1
- package/workspace/useWorkspaceEntries.js.map +1 -1
|
@@ -72,6 +72,7 @@ export interface SessionComposerSubmitContext {
|
|
|
72
72
|
readonly attachments?: AttachmentInput[];
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
+
/** Props for {@link SessionComposer}. */
|
|
75
76
|
export interface SessionComposerProps {
|
|
76
77
|
/**
|
|
77
78
|
* Called when the user submits a message.
|
|
@@ -253,6 +254,7 @@ export interface SessionComposerProps {
|
|
|
253
254
|
/** ARIA label for the composer region. @default "Send message" */
|
|
254
255
|
readonly ariaLabel?: string;
|
|
255
256
|
|
|
257
|
+
/** Additional CSS class names for the root container. */
|
|
256
258
|
readonly className?: string;
|
|
257
259
|
}
|
|
258
260
|
|
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
type RefObject,
|
|
10
10
|
} from "react";
|
|
11
11
|
|
|
12
|
+
/** Options for {@link useComposer}. */
|
|
12
13
|
export interface UseComposerOptions {
|
|
13
14
|
/** Called with the trimmed message when the user submits. */
|
|
14
15
|
readonly onSubmit: (message: string) => void;
|
|
@@ -23,6 +24,7 @@ export interface UseComposerOptions {
|
|
|
23
24
|
readonly autoFocusOnEnable?: boolean;
|
|
24
25
|
}
|
|
25
26
|
|
|
27
|
+
/** Return value of {@link useComposer}. */
|
|
26
28
|
export interface UseComposerReturn {
|
|
27
29
|
/** Current message text. */
|
|
28
30
|
readonly message: string;
|
|
@@ -10,6 +10,7 @@ import { useCreateEnvironment } from "./useCreateEnvironment";
|
|
|
10
10
|
// Public API
|
|
11
11
|
// ---------------------------------------------------------------------------
|
|
12
12
|
|
|
13
|
+
/** Props for {@link CreateEnvironmentForm}. */
|
|
13
14
|
export interface CreateEnvironmentFormProps {
|
|
14
15
|
/** Organization slug. Used as the `org` field when creating the environment. */
|
|
15
16
|
readonly org: string;
|
|
@@ -17,6 +18,7 @@ export interface CreateEnvironmentFormProps {
|
|
|
17
18
|
readonly onCreated?: (env: Environment) => void;
|
|
18
19
|
/** Fired when the user cancels. */
|
|
19
20
|
readonly onCancel?: () => void;
|
|
21
|
+
/** Additional CSS class names for the root container. */
|
|
20
22
|
readonly className?: string;
|
|
21
23
|
}
|
|
22
24
|
|
|
@@ -29,6 +29,7 @@ export interface EnvVarFormSubmitOptions {
|
|
|
29
29
|
readonly saveForFuture: boolean;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
+
/** Props for {@link EnvVarForm}. */
|
|
32
33
|
export interface EnvVarFormProps {
|
|
33
34
|
/**
|
|
34
35
|
* Variables to collect. Each entry renders one input field, in order.
|
|
@@ -47,6 +48,7 @@ export interface EnvVarFormProps {
|
|
|
47
48
|
readonly onCancel?: () => void;
|
|
48
49
|
/** When true, the submit button shows a spinner and inputs are disabled. */
|
|
49
50
|
readonly isSubmitting?: boolean;
|
|
51
|
+
/** When `true`, all inputs and buttons are disabled. */
|
|
50
52
|
readonly disabled?: boolean;
|
|
51
53
|
|
|
52
54
|
/**
|
|
@@ -96,6 +98,7 @@ export interface EnvVarFormProps {
|
|
|
96
98
|
* `pool.getAvailableValue` to look up pre-fill values.
|
|
97
99
|
*/
|
|
98
100
|
readonly poolValues?: (key: string) => EnvVarInput | undefined;
|
|
101
|
+
/** Additional CSS class names for the root container. */
|
|
99
102
|
readonly className?: string;
|
|
100
103
|
/**
|
|
101
104
|
* Overrides the `aria-label` on the `<form>` element. When omitted,
|
|
@@ -11,6 +11,7 @@ import { EnvironmentVariableEditor } from "./EnvironmentVariableEditor";
|
|
|
11
11
|
// Public API
|
|
12
12
|
// ---------------------------------------------------------------------------
|
|
13
13
|
|
|
14
|
+
/** Props for {@link EnvironmentListPanel}. */
|
|
14
15
|
export interface EnvironmentListPanelProps {
|
|
15
16
|
/** Organization slug to list environments for. */
|
|
16
17
|
readonly org: string;
|
|
@@ -28,6 +29,7 @@ export interface EnvironmentListPanelProps {
|
|
|
28
29
|
readonly readOnly?: boolean;
|
|
29
30
|
/** Re-expose refetch so parents can trigger a list refresh. */
|
|
30
31
|
readonly onRefetchRef?: (refetch: () => void) => void;
|
|
32
|
+
/** Additional CSS class names for the root container. */
|
|
31
33
|
readonly className?: string;
|
|
32
34
|
}
|
|
33
35
|
|
|
@@ -20,6 +20,7 @@ import { useRevealSecretValue } from "./useRevealSecretValue";
|
|
|
20
20
|
// Public API
|
|
21
21
|
// ---------------------------------------------------------------------------
|
|
22
22
|
|
|
23
|
+
/** Props for {@link EnvironmentVariableEditor}. */
|
|
23
24
|
export interface EnvironmentVariableEditorProps {
|
|
24
25
|
/** The environment resource ID to display and manage variables for. */
|
|
25
26
|
readonly environmentId: string;
|
|
@@ -29,6 +30,7 @@ export interface EnvironmentVariableEditorProps {
|
|
|
29
30
|
readonly onVariableUpdated?: (key: string) => void;
|
|
30
31
|
/** Fired after a variable is successfully removed. */
|
|
31
32
|
readonly onVariableRemoved?: (key: string) => void;
|
|
33
|
+
/** Additional CSS class names for the root container. */
|
|
32
34
|
readonly className?: string;
|
|
33
35
|
}
|
|
34
36
|
|
|
@@ -6,10 +6,15 @@ import type { Environment } from "@stigmer/protos/ai/stigmer/agentic/environment
|
|
|
6
6
|
import { useStigmer } from "../hooks";
|
|
7
7
|
import { toError } from "../internal/toError";
|
|
8
8
|
|
|
9
|
+
/** Return value of {@link useCreateEnvironment}. */
|
|
9
10
|
export interface UseCreateEnvironmentReturn {
|
|
11
|
+
/** Submit an {@link EnvironmentInput} to create a new Environment. Resolves with the server-created resource. */
|
|
10
12
|
readonly create: (input: EnvironmentInput) => Promise<Environment>;
|
|
13
|
+
/** `true` while the create request is in flight. */
|
|
11
14
|
readonly isCreating: boolean;
|
|
15
|
+
/** Error from the last failed create, or `null` when healthy. */
|
|
12
16
|
readonly error: Error | null;
|
|
17
|
+
/** Reset `error` to `null`. */
|
|
13
18
|
readonly clearError: () => void;
|
|
14
19
|
}
|
|
15
20
|
|
|
@@ -6,10 +6,15 @@ import type { ResourceRef } from "@stigmer/sdk";
|
|
|
6
6
|
import { useStigmer } from "../hooks";
|
|
7
7
|
import { toError } from "../internal/toError";
|
|
8
8
|
|
|
9
|
+
/** Return value of {@link useEnvironment}. */
|
|
9
10
|
export interface UseEnvironmentReturn {
|
|
11
|
+
/** The fetched Environment, or `null` while loading or on error. */
|
|
10
12
|
readonly environment: Environment | null;
|
|
13
|
+
/** `true` while the initial fetch or a refetch is in flight. */
|
|
11
14
|
readonly isLoading: boolean;
|
|
15
|
+
/** Error from the last failed request, or `null` when healthy. */
|
|
12
16
|
readonly error: Error | null;
|
|
17
|
+
/** Discard cached data and re-fetch the environment from the server. */
|
|
13
18
|
readonly refetch: () => void;
|
|
14
19
|
}
|
|
15
20
|
|
|
@@ -7,11 +7,17 @@ import { ListEnvironmentsRequestSchema } from "@stigmer/protos/ai/stigmer/agenti
|
|
|
7
7
|
import { useStigmer } from "../hooks";
|
|
8
8
|
import { toError } from "../internal/toError";
|
|
9
9
|
|
|
10
|
+
/** Return value of {@link useEnvironmentList}. */
|
|
10
11
|
export interface UseEnvironmentListReturn {
|
|
12
|
+
/** The fetched list of Environment entries. Empty while loading or on error. */
|
|
11
13
|
readonly environments: readonly Environment[];
|
|
14
|
+
/** Total number of environments matching the query, including unpaged items. */
|
|
12
15
|
readonly totalCount: number;
|
|
16
|
+
/** `true` while the initial fetch or a refetch is in flight. */
|
|
13
17
|
readonly isLoading: boolean;
|
|
18
|
+
/** Error from the last failed request, or `null` when healthy. */
|
|
14
19
|
readonly error: Error | null;
|
|
20
|
+
/** Discard cached data and re-fetch the list from the server. */
|
|
15
21
|
readonly refetch: () => void;
|
|
16
22
|
}
|
|
17
23
|
|
|
@@ -18,6 +18,7 @@ const PERSONAL_LABELS: Record<string, string> = {
|
|
|
18
18
|
"stigmer.ai/personal": "true",
|
|
19
19
|
};
|
|
20
20
|
|
|
21
|
+
/** Return value of {@link usePersonalEnvironment}. */
|
|
21
22
|
export interface UsePersonalEnvironmentReturn {
|
|
22
23
|
/** The caller's personal environment, or `null` if not yet created or still loading. */
|
|
23
24
|
readonly environment: Environment | null;
|
|
@@ -19,12 +19,17 @@ export interface RemoveEnvironmentVariablesInput {
|
|
|
19
19
|
readonly keys: string[];
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
+
/** Return value of {@link useRemoveEnvironmentVariables}. */
|
|
22
23
|
export interface UseRemoveEnvironmentVariablesReturn {
|
|
24
|
+
/** Remove variables from an environment by key. Resolves with the updated resource. */
|
|
23
25
|
readonly removeVariables: (
|
|
24
26
|
input: RemoveEnvironmentVariablesInput,
|
|
25
27
|
) => Promise<Environment>;
|
|
28
|
+
/** `true` while the remove request is in flight. */
|
|
26
29
|
readonly isRemovingVariables: boolean;
|
|
30
|
+
/** Error from the last failed removal, or `null` when healthy. */
|
|
27
31
|
readonly error: Error | null;
|
|
32
|
+
/** Reset `error` to `null`. */
|
|
28
33
|
readonly clearError: () => void;
|
|
29
34
|
}
|
|
30
35
|
|
|
@@ -6,6 +6,7 @@ import { EnvironmentSecretValueInputSchema } from "@stigmer/protos/ai/stigmer/ag
|
|
|
6
6
|
import { useStigmer } from "../hooks";
|
|
7
7
|
import { toError } from "../internal/toError";
|
|
8
8
|
|
|
9
|
+
/** Options for {@link useRevealSecretValue}. */
|
|
9
10
|
export interface UseRevealSecretValueOptions {
|
|
10
11
|
/**
|
|
11
12
|
* Milliseconds after which the revealed value is automatically cleared
|
|
@@ -17,6 +18,7 @@ export interface UseRevealSecretValueOptions {
|
|
|
17
18
|
readonly autoClearMs?: number;
|
|
18
19
|
}
|
|
19
20
|
|
|
21
|
+
/** Return value of {@link useRevealSecretValue}. */
|
|
20
22
|
export interface UseRevealSecretValueReturn {
|
|
21
23
|
/**
|
|
22
24
|
* Fetch and reveal a single secret value from an environment.
|
|
@@ -23,6 +23,7 @@ export interface SessionEnvPoolInput {
|
|
|
23
23
|
readonly mcpRuntimeEnv?: Readonly<Record<string, EnvVarInput>>;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
+
/** Return value of {@link useSessionEnvPool}. */
|
|
26
27
|
export interface UseSessionEnvPoolReturn {
|
|
27
28
|
/**
|
|
28
29
|
* All env var keys currently available from any source.
|
|
@@ -6,10 +6,15 @@ import type { Environment } from "@stigmer/protos/ai/stigmer/agentic/environment
|
|
|
6
6
|
import { useStigmer } from "../hooks";
|
|
7
7
|
import { toError } from "../internal/toError";
|
|
8
8
|
|
|
9
|
+
/** Return value of {@link useUpdateEnvironment}. */
|
|
9
10
|
export interface UseUpdateEnvironmentReturn {
|
|
11
|
+
/** Submit an {@link EnvironmentInput} to update an existing Environment. Resolves with the updated resource. */
|
|
10
12
|
readonly update: (input: EnvironmentInput) => Promise<Environment>;
|
|
13
|
+
/** `true` while the update request is in flight. */
|
|
11
14
|
readonly isUpdating: boolean;
|
|
15
|
+
/** Error from the last failed update, or `null` when healthy. */
|
|
12
16
|
readonly error: Error | null;
|
|
17
|
+
/** Reset `error` to `null`. */
|
|
13
18
|
readonly clearError: () => void;
|
|
14
19
|
}
|
|
15
20
|
|
|
@@ -23,12 +23,17 @@ export interface UpdateEnvironmentVariablesInput {
|
|
|
23
23
|
readonly variables: Record<string, EnvVarInput>;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
+
/** Return value of {@link useUpdateEnvironmentVariables}. */
|
|
26
27
|
export interface UseUpdateEnvironmentVariablesReturn {
|
|
28
|
+
/** Add or update variables in an environment. Resolves with the updated resource. */
|
|
27
29
|
readonly updateVariables: (
|
|
28
30
|
input: UpdateEnvironmentVariablesInput,
|
|
29
31
|
) => Promise<Environment>;
|
|
32
|
+
/** `true` while the update request is in flight. */
|
|
30
33
|
readonly isUpdatingVariables: boolean;
|
|
34
|
+
/** Error from the last failed update, or `null` when healthy. */
|
|
31
35
|
readonly error: Error | null;
|
|
36
|
+
/** Reset `error` to `null`. */
|
|
32
37
|
readonly clearError: () => void;
|
|
33
38
|
}
|
|
34
39
|
|
|
@@ -10,6 +10,7 @@ import {
|
|
|
10
10
|
} from "@stigmer/sdk";
|
|
11
11
|
import { cn } from "@stigmer/theme";
|
|
12
12
|
|
|
13
|
+
/** Props for {@link ErrorMessage}. */
|
|
13
14
|
export interface ErrorMessageProps {
|
|
14
15
|
/** The error to display. Renders nothing when `null`. */
|
|
15
16
|
readonly error: Error | null;
|
|
@@ -21,6 +22,7 @@ export interface ErrorMessageProps {
|
|
|
21
22
|
* (server or unavailable category).
|
|
22
23
|
*/
|
|
23
24
|
readonly retry?: () => void;
|
|
25
|
+
/** Additional CSS class names for the root container. */
|
|
24
26
|
readonly className?: string;
|
|
25
27
|
}
|
|
26
28
|
|
|
@@ -4,12 +4,14 @@ import { useMemo } from "react";
|
|
|
4
4
|
import { StigmerError, getUserMessage } from "@stigmer/sdk";
|
|
5
5
|
import { cn } from "@stigmer/theme";
|
|
6
6
|
|
|
7
|
+
/** Props for {@link SecretFlowErrorGuide}. */
|
|
7
8
|
export interface SecretFlowErrorGuideProps {
|
|
8
9
|
/**
|
|
9
10
|
* The error to inspect. Renders nothing when `null` or when the error
|
|
10
11
|
* does not match a recognized secret-flow failure pattern.
|
|
11
12
|
*/
|
|
12
13
|
readonly error: Error | null;
|
|
14
|
+
/** Additional CSS class names for the root container. */
|
|
13
15
|
readonly className?: string;
|
|
14
16
|
}
|
|
15
17
|
|
|
@@ -11,7 +11,9 @@ import {
|
|
|
11
11
|
import { CATEGORY_ICON } from "./ToolCallItem";
|
|
12
12
|
import { ToolArgsView } from "./ToolArgsView";
|
|
13
13
|
|
|
14
|
+
/** Props for {@link ApprovalCard}. */
|
|
14
15
|
export interface ApprovalCardProps {
|
|
16
|
+
/** The pending approval request to render. */
|
|
15
17
|
readonly pendingApproval: PendingApproval;
|
|
16
18
|
/**
|
|
17
19
|
* Called when the user clicks Approve, Skip, or Reject.
|
|
@@ -22,6 +24,7 @@ export interface ApprovalCardProps {
|
|
|
22
24
|
readonly onSubmit: (action: ApprovalAction, comment?: string) => void;
|
|
23
25
|
/** True while the RPC for this specific tool call is in flight. */
|
|
24
26
|
readonly isSubmitting?: boolean;
|
|
27
|
+
/** Additional CSS class names for the root container. */
|
|
25
28
|
readonly className?: string;
|
|
26
29
|
}
|
|
27
30
|
|
|
@@ -16,6 +16,7 @@ import { useDetectSkillPackage } from "../library/useDetectSkillPackage";
|
|
|
16
16
|
*/
|
|
17
17
|
const MAX_DETECTION_SIZE = 256 * 1024;
|
|
18
18
|
|
|
19
|
+
/** Props for {@link ArtifactCard}. */
|
|
19
20
|
export interface ArtifactCardProps {
|
|
20
21
|
/** The execution artifact to render. */
|
|
21
22
|
readonly artifact: ExecutionArtifact;
|
|
@@ -11,6 +11,7 @@ import { ArtifactCard } from "./ArtifactCard";
|
|
|
11
11
|
import { ArtifactPreviewModal } from "./ArtifactPreviewModal";
|
|
12
12
|
import type { ApplyResourceResult } from "../library/useApplyResource";
|
|
13
13
|
|
|
14
|
+
/** Props for {@link ArtifactsWidget}. */
|
|
14
15
|
export interface ArtifactsWidgetProps {
|
|
15
16
|
/**
|
|
16
17
|
* All executions for the current session — both completed and
|
|
@@ -3,8 +3,11 @@
|
|
|
3
3
|
import { ExecutionPhase } from "@stigmer/protos/ai/stigmer/agentic/agentexecution/v1/enum_pb";
|
|
4
4
|
import { cn } from "@stigmer/theme";
|
|
5
5
|
|
|
6
|
+
/** Props for {@link ExecutionPhaseBadge}. */
|
|
6
7
|
export interface ExecutionPhaseBadgeProps {
|
|
8
|
+
/** The execution phase to display. */
|
|
7
9
|
readonly phase: ExecutionPhase;
|
|
10
|
+
/** Additional CSS class names for the root container. */
|
|
8
11
|
readonly className?: string;
|
|
9
12
|
}
|
|
10
13
|
|
|
@@ -5,9 +5,11 @@ import { cn } from "@stigmer/theme";
|
|
|
5
5
|
import { ExecutionPhaseBadge } from "./ExecutionPhaseBadge";
|
|
6
6
|
import { TodoList } from "./TodoList";
|
|
7
7
|
|
|
8
|
+
/** Props for {@link ExecutionProgress}. */
|
|
8
9
|
export interface ExecutionProgressProps {
|
|
9
10
|
/** The execution to display progress for. Renders nothing when null. */
|
|
10
11
|
readonly execution: AgentExecution | null;
|
|
12
|
+
/** Additional CSS class names for the root container. */
|
|
11
13
|
readonly className?: string;
|
|
12
14
|
}
|
|
13
15
|
|
|
@@ -11,6 +11,7 @@ import type { ResolvedPathAction } from "./file-path-resolver";
|
|
|
11
11
|
* copy-to-clipboard for all paths.
|
|
12
12
|
*/
|
|
13
13
|
export interface FilePathContextValue {
|
|
14
|
+
/** Workspace entries from the session spec, used for path resolution. */
|
|
14
15
|
readonly workspaceEntries: readonly WorkspaceEntry[];
|
|
15
16
|
/**
|
|
16
17
|
* Optional override for the default click behavior. When provided,
|
|
@@ -28,5 +29,6 @@ const DEFAULT_VALUE: FilePathContextValue = {
|
|
|
28
29
|
workspaceEntries: [],
|
|
29
30
|
};
|
|
30
31
|
|
|
32
|
+
/** Context that supplies workspace file-path metadata for display-time path resolution. */
|
|
31
33
|
export const FilePathContext =
|
|
32
34
|
createContext<FilePathContextValue>(DEFAULT_VALUE);
|
|
@@ -5,9 +5,11 @@ import { cn } from "@stigmer/theme";
|
|
|
5
5
|
import { FilePathContext } from "./FilePathContext";
|
|
6
6
|
import { resolvePathAction } from "./file-path-resolver";
|
|
7
7
|
|
|
8
|
+
/** Props for {@link FilePathLink}. */
|
|
8
9
|
export interface FilePathLinkProps {
|
|
9
10
|
/** The workspace-relative file path from the tool call. */
|
|
10
11
|
readonly path: string;
|
|
12
|
+
/** Additional CSS class names for the root element. */
|
|
11
13
|
readonly className?: string;
|
|
12
14
|
}
|
|
13
15
|
|
|
@@ -10,6 +10,7 @@ import {
|
|
|
10
10
|
import { cn } from "@stigmer/theme";
|
|
11
11
|
import { ModelSelector } from "../models/ModelSelector";
|
|
12
12
|
|
|
13
|
+
/** Props for {@link FollowUpInput}. */
|
|
13
14
|
export interface FollowUpInputProps {
|
|
14
15
|
/** Called when the user submits a message. */
|
|
15
16
|
readonly onSubmit: (message: string, modelName?: string) => void;
|
|
@@ -25,6 +26,7 @@ export interface FollowUpInputProps {
|
|
|
25
26
|
readonly onModelChange?: (modelId: string) => void;
|
|
26
27
|
/** Placeholder text for the textarea. Default: "Reply...". */
|
|
27
28
|
readonly placeholder?: string;
|
|
29
|
+
/** Additional CSS class names for the root container. */
|
|
28
30
|
readonly className?: string;
|
|
29
31
|
}
|
|
30
32
|
|
|
@@ -13,8 +13,11 @@ import {
|
|
|
13
13
|
humanizeArgKey,
|
|
14
14
|
} from "./tool-rendering-primitives";
|
|
15
15
|
|
|
16
|
+
/** Props for {@link McpToolDetail}. */
|
|
16
17
|
export interface McpToolDetailProps {
|
|
18
|
+
/** The MCP tool call to render with structured formatting. */
|
|
17
19
|
readonly toolCall: ToolCall;
|
|
20
|
+
/** Additional CSS class names for the root container. */
|
|
18
21
|
readonly className?: string;
|
|
19
22
|
}
|
|
20
23
|
|
|
@@ -63,6 +66,10 @@ export function McpToolDetail({ toolCall, className }: McpToolDetailProps) {
|
|
|
63
66
|
// Metadata
|
|
64
67
|
// ---------------------------------------------------------------------------
|
|
65
68
|
|
|
69
|
+
/**
|
|
70
|
+
* Displays MCP server slug, tool name, and optional duration as a
|
|
71
|
+
* compact metadata row above tool arguments.
|
|
72
|
+
*/
|
|
66
73
|
export function McpMetadataRow({
|
|
67
74
|
mcpServerSlug,
|
|
68
75
|
toolName,
|
|
@@ -94,6 +101,12 @@ export function McpMetadataRow({
|
|
|
94
101
|
// Arguments — structured key-value rendering
|
|
95
102
|
// ---------------------------------------------------------------------------
|
|
96
103
|
|
|
104
|
+
/**
|
|
105
|
+
* Renders MCP tool arguments as a structured key-value list.
|
|
106
|
+
*
|
|
107
|
+
* Scalars display inline; objects and arrays collapse into
|
|
108
|
+
* formatted JSON blocks via {@link CollapsibleJsonBlock}.
|
|
109
|
+
*/
|
|
97
110
|
export function McpArgsView({ args }: { args: Record<string, unknown> }) {
|
|
98
111
|
const entries = Object.entries(args);
|
|
99
112
|
if (entries.length === 0) return null;
|
|
@@ -6,8 +6,11 @@ import { MessageType } from "@stigmer/protos/ai/stigmer/agentic/agentexecution/v
|
|
|
6
6
|
import { cn } from "@stigmer/theme";
|
|
7
7
|
import { MARKDOWN_COMPONENTS, REMARK_PLUGINS } from "../internal/markdown-components";
|
|
8
8
|
|
|
9
|
+
/** Props for {@link MessageEntry}. */
|
|
9
10
|
export interface MessageEntryProps {
|
|
11
|
+
/** The agent message to render. */
|
|
10
12
|
readonly message: AgentMessage;
|
|
13
|
+
/** Additional CSS class names for the root container. */
|
|
11
14
|
readonly className?: string;
|
|
12
15
|
}
|
|
13
16
|
|
|
@@ -25,6 +25,7 @@ import { FilePathContext, type FilePathContextValue } from "./FilePathContext";
|
|
|
25
25
|
import type { ResolvedPathAction } from "./file-path-resolver";
|
|
26
26
|
import { SandboxContext, type SandboxContextValue } from "./SandboxContext";
|
|
27
27
|
|
|
28
|
+
/** Props for {@link MessageThread}. */
|
|
28
29
|
export interface MessageThreadProps {
|
|
29
30
|
/** Completed executions in chronological order. */
|
|
30
31
|
readonly executions: readonly AgentExecution[];
|
|
@@ -41,6 +42,7 @@ export interface MessageThreadProps {
|
|
|
41
42
|
* first snapshot.
|
|
42
43
|
*/
|
|
43
44
|
readonly pendingUserMessage?: string | null;
|
|
45
|
+
/** Additional CSS class names for the root container. */
|
|
44
46
|
readonly className?: string;
|
|
45
47
|
/**
|
|
46
48
|
* Custom formatter for tool call summary labels. Passed through to
|
|
@@ -6,10 +6,13 @@ import type { UseSessionVariablesReturn } from "./useSessionVariables";
|
|
|
6
6
|
import { useScrollShadows } from "../internal/useScrollShadows";
|
|
7
7
|
import { ScrollFade } from "../internal/ScrollFade";
|
|
8
8
|
|
|
9
|
+
/** Props for {@link SessionVariablesInput}. */
|
|
9
10
|
export interface SessionVariablesInputProps {
|
|
10
11
|
/** Hook instance returned by {@link useSessionVariables}. */
|
|
11
12
|
readonly sessionVariables: UseSessionVariablesReturn;
|
|
13
|
+
/** Disable all inputs and buttons. */
|
|
12
14
|
readonly disabled?: boolean;
|
|
15
|
+
/** Additional CSS class names for the root container. */
|
|
13
16
|
readonly className?: string;
|
|
14
17
|
/**
|
|
15
18
|
* Map of env-var keys to the names of resources that require them.
|
|
@@ -4,6 +4,7 @@ import { useEffect, useMemo, useState } from "react";
|
|
|
4
4
|
import type { WorkspaceEntry } from "@stigmer/protos/ai/stigmer/agentic/session/v1/workspace_pb";
|
|
5
5
|
import { cn } from "@stigmer/theme";
|
|
6
6
|
|
|
7
|
+
/** Props for {@link SetupProgress}. */
|
|
7
8
|
export interface SetupProgressProps {
|
|
8
9
|
/**
|
|
9
10
|
* Workspace entries from the session spec. When git-sourced entries
|
|
@@ -21,6 +22,7 @@ export interface SetupProgressProps {
|
|
|
21
22
|
* step sequence derived from `workspaceEntries`.
|
|
22
23
|
*/
|
|
23
24
|
readonly serverPhase?: string;
|
|
25
|
+
/** Additional CSS class names for the root container. */
|
|
24
26
|
readonly className?: string;
|
|
25
27
|
}
|
|
26
28
|
|
|
@@ -19,7 +19,9 @@ import {
|
|
|
19
19
|
todoCompletionSummary,
|
|
20
20
|
} from "./TodoList";
|
|
21
21
|
|
|
22
|
+
/** Props for {@link SubAgentSection}. */
|
|
22
23
|
export interface SubAgentSectionProps {
|
|
24
|
+
/** The sub-agent execution to render. */
|
|
23
25
|
readonly subAgentExecution: SubAgentExecution;
|
|
24
26
|
/**
|
|
25
27
|
* Whether to render as a collapsible card with expand/collapse
|
|
@@ -29,6 +31,7 @@ export interface SubAgentSectionProps {
|
|
|
29
31
|
* provides its own expand/collapse (e.g. {@link ToolCallItem}).
|
|
30
32
|
*/
|
|
31
33
|
readonly collapsible?: boolean;
|
|
34
|
+
/** Additional CSS class names for the root container. */
|
|
32
35
|
readonly className?: string;
|
|
33
36
|
}
|
|
34
37
|
|
|
@@ -5,12 +5,14 @@ import type { TodoItem } from "@stigmer/protos/ai/stigmer/agentic/agentexecution
|
|
|
5
5
|
import { TodoStatus } from "@stigmer/protos/ai/stigmer/agentic/agentexecution/v1/enum_pb";
|
|
6
6
|
import { cn } from "@stigmer/theme";
|
|
7
7
|
|
|
8
|
+
/** Props for {@link TodoList}. */
|
|
8
9
|
export interface TodoListProps {
|
|
9
10
|
/**
|
|
10
11
|
* Todo items keyed by ID. Accepts the proto map shape directly
|
|
11
12
|
* (`execution.status.todos` or `subAgentExecution.todos`).
|
|
12
13
|
*/
|
|
13
14
|
readonly todos: { readonly [key: string]: TodoItem };
|
|
15
|
+
/** Additional CSS class names for the root container. */
|
|
14
16
|
readonly className?: string;
|
|
15
17
|
}
|
|
16
18
|
|
|
@@ -20,6 +20,7 @@ import {
|
|
|
20
20
|
// Public API
|
|
21
21
|
// ---------------------------------------------------------------------------
|
|
22
22
|
|
|
23
|
+
/** Props for {@link ToolArgsView}. */
|
|
23
24
|
export interface ToolArgsViewProps {
|
|
24
25
|
/**
|
|
25
26
|
* Raw tool name as it appears on the ToolCall or PendingApproval.
|
|
@@ -13,8 +13,11 @@ import {
|
|
|
13
13
|
formatResult,
|
|
14
14
|
} from "./tool-rendering-primitives";
|
|
15
15
|
|
|
16
|
+
/** Props for {@link ToolCallDetail}. */
|
|
16
17
|
export interface ToolCallDetailProps {
|
|
18
|
+
/** The tool call to render in detail. */
|
|
17
19
|
readonly toolCall: ToolCall;
|
|
20
|
+
/** Additional CSS class names for the root container. */
|
|
18
21
|
readonly className?: string;
|
|
19
22
|
}
|
|
20
23
|
|
|
@@ -11,7 +11,9 @@ import { cn } from "@stigmer/theme";
|
|
|
11
11
|
import { ToolCallItem } from "./ToolCallItem";
|
|
12
12
|
import { resolveToolCategory, extractPrimaryArg } from "./tool-categories";
|
|
13
13
|
|
|
14
|
+
/** Props for {@link ToolCallGroup}. */
|
|
14
15
|
export interface ToolCallGroupProps {
|
|
16
|
+
/** Tool calls in this group, ordered by invocation time. */
|
|
15
17
|
readonly toolCalls: readonly ToolCall[];
|
|
16
18
|
/**
|
|
17
19
|
* Sub-agent executions from the parent `AgentExecutionStatus`.
|
|
@@ -30,6 +32,7 @@ export interface ToolCallGroupProps {
|
|
|
30
32
|
* Initial expansion state. Defaults to `false`.
|
|
31
33
|
*/
|
|
32
34
|
readonly defaultExpanded?: boolean;
|
|
35
|
+
/** Additional CSS class names for the root container. */
|
|
33
36
|
readonly className?: string;
|
|
34
37
|
}
|
|
35
38
|
|
|
@@ -18,7 +18,9 @@ import {
|
|
|
18
18
|
} from "./tool-categories";
|
|
19
19
|
import { useSandboxNormalize } from "./SandboxContext";
|
|
20
20
|
|
|
21
|
+
/** Props for {@link ToolCallItem}. */
|
|
21
22
|
export interface ToolCallItemProps {
|
|
23
|
+
/** The tool call to render as a summary row. */
|
|
22
24
|
readonly toolCall: ToolCall;
|
|
23
25
|
/**
|
|
24
26
|
* When present, this tool call is a sub-agent delegation. The
|
|
@@ -30,6 +32,7 @@ export interface ToolCallItemProps {
|
|
|
30
32
|
* Initial expansion state. Defaults to `false`.
|
|
31
33
|
*/
|
|
32
34
|
readonly defaultExpanded?: boolean;
|
|
35
|
+
/** Additional CSS class names for the root container. */
|
|
33
36
|
readonly className?: string;
|
|
34
37
|
}
|
|
35
38
|
|
|
@@ -4,6 +4,7 @@ import type { WorkspaceWriteBack } from "@stigmer/protos/ai/stigmer/agentic/agen
|
|
|
4
4
|
import { WorkspaceWriteBackPhase } from "@stigmer/protos/ai/stigmer/agentic/agentexecution/v1/writeback_pb";
|
|
5
5
|
import { cn } from "@stigmer/theme";
|
|
6
6
|
|
|
7
|
+
/** Props for {@link WriteBackCard}. */
|
|
7
8
|
export interface WriteBackCardProps {
|
|
8
9
|
/** The workspace write-back outcome to render. */
|
|
9
10
|
readonly writeBack: WorkspaceWriteBack;
|
|
@@ -5,6 +5,7 @@ import { cn } from "@stigmer/theme";
|
|
|
5
5
|
import { useSessionWriteBacks } from "../session/useSessionWriteBacks";
|
|
6
6
|
import { WriteBackCard } from "./WriteBackCard";
|
|
7
7
|
|
|
8
|
+
/** Props for {@link WriteBacksWidget}. */
|
|
8
9
|
export interface WriteBacksWidgetProps {
|
|
9
10
|
/**
|
|
10
11
|
* All executions for the current session — both completed and
|
|
@@ -24,10 +24,15 @@ export type ToolCategory =
|
|
|
24
24
|
| "mcp"
|
|
25
25
|
| "unknown";
|
|
26
26
|
|
|
27
|
+
/** Resolved display metadata for a tool call, returned by {@link resolveToolCategory}. */
|
|
27
28
|
export interface ToolCategoryInfo {
|
|
29
|
+
/** Semantic category of the tool. */
|
|
28
30
|
readonly category: ToolCategory;
|
|
31
|
+
/** Human-readable label for the tool (e.g., `"Shell"`, `"Read"`). */
|
|
29
32
|
readonly label: string;
|
|
33
|
+
/** JSON argument key that provides the primary display value (e.g., `"command"` for shell). */
|
|
30
34
|
readonly primaryArgField: string;
|
|
35
|
+
/** Fallback argument keys tried when the primary key is absent. */
|
|
31
36
|
readonly fallbackArgFields: readonly string[];
|
|
32
37
|
}
|
|
33
38
|
|