@stigmer/sdk 3.0.9-dev.20260616060535 → 3.1.1
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/activity.js +1 -1
- package/activity.js.map +1 -1
- package/authorization-config.js +1 -1
- package/authorization-config.js.map +1 -1
- package/billing.js +1 -1
- package/billing.js.map +1 -1
- package/errors.d.ts +1 -1
- package/errors.d.ts.map +1 -1
- package/errors.js +2 -2
- package/errors.js.map +1 -1
- package/execution/__tests__/approval-provenance.test.d.ts +2 -0
- package/execution/__tests__/approval-provenance.test.d.ts.map +1 -0
- package/execution/__tests__/approval-provenance.test.js +42 -0
- package/execution/__tests__/approval-provenance.test.js.map +1 -0
- package/execution/__tests__/file-review-fold.corpus.test.d.ts +2 -0
- package/execution/__tests__/file-review-fold.corpus.test.d.ts.map +1 -0
- package/execution/__tests__/file-review-fold.corpus.test.js +82 -0
- package/execution/__tests__/file-review-fold.corpus.test.js.map +1 -0
- package/execution/__tests__/file-review-fold.test.d.ts +2 -0
- package/execution/__tests__/file-review-fold.test.d.ts.map +1 -0
- package/execution/__tests__/file-review-fold.test.js +184 -0
- package/execution/__tests__/file-review-fold.test.js.map +1 -0
- package/execution/__tests__/to-display-file-change.test.d.ts +2 -0
- package/execution/__tests__/to-display-file-change.test.d.ts.map +1 -0
- package/execution/__tests__/to-display-file-change.test.js +69 -0
- package/execution/__tests__/to-display-file-change.test.js.map +1 -0
- package/execution/__tests__/tool-view.file-changes.test.d.ts +2 -0
- package/execution/__tests__/tool-view.file-changes.test.d.ts.map +1 -0
- package/execution/__tests__/tool-view.file-changes.test.js +86 -0
- package/execution/__tests__/tool-view.file-changes.test.js.map +1 -0
- package/execution/__tests__/tool-view.fixtures.test.js +3 -0
- package/execution/__tests__/tool-view.fixtures.test.js.map +1 -1
- package/execution/__tests__/tool-view.output-ref.test.d.ts +2 -0
- package/execution/__tests__/tool-view.output-ref.test.d.ts.map +1 -0
- package/execution/__tests__/tool-view.output-ref.test.js +64 -0
- package/execution/__tests__/tool-view.output-ref.test.js.map +1 -0
- package/execution/__tests__/tool-view.search.test.d.ts +2 -0
- package/execution/__tests__/tool-view.search.test.d.ts.map +1 -0
- package/execution/__tests__/tool-view.search.test.js +200 -0
- package/execution/__tests__/tool-view.search.test.js.map +1 -0
- package/execution/__tests__/tool-view.shell.test.d.ts +2 -0
- package/execution/__tests__/tool-view.shell.test.d.ts.map +1 -0
- package/execution/__tests__/tool-view.shell.test.js +104 -0
- package/execution/__tests__/tool-view.shell.test.js.map +1 -0
- package/execution/approval-provenance.d.ts +30 -0
- package/execution/approval-provenance.d.ts.map +1 -0
- package/execution/approval-provenance.js +73 -0
- package/execution/approval-provenance.js.map +1 -0
- package/execution/execution-phases.d.ts +7 -0
- package/execution/execution-phases.d.ts.map +1 -0
- package/execution/execution-phases.js +21 -0
- package/execution/execution-phases.js.map +1 -0
- package/execution/file-review-fold.d.ts +44 -0
- package/execution/file-review-fold.d.ts.map +1 -0
- package/execution/file-review-fold.js +182 -0
- package/execution/file-review-fold.js.map +1 -0
- package/execution/to-display-file-change.d.ts +14 -0
- package/execution/to-display-file-change.d.ts.map +1 -0
- package/execution/to-display-file-change.js +57 -0
- package/execution/to-display-file-change.js.map +1 -0
- package/execution/tool-view.d.ts +8 -2
- package/execution/tool-view.d.ts.map +1 -1
- package/execution/tool-view.js +205 -21
- package/execution/tool-view.js.map +1 -1
- package/gen/agent.d.ts +1 -1
- package/gen/agent.d.ts.map +1 -1
- package/gen/agent.js +2 -2
- package/gen/agent.js.map +1 -1
- package/gen/agentexecution.d.ts +3 -2
- package/gen/agentexecution.d.ts.map +1 -1
- package/gen/agentexecution.js +10 -2
- package/gen/agentexecution.js.map +1 -1
- package/gen/agentinstance.d.ts +1 -1
- package/gen/agentinstance.d.ts.map +1 -1
- package/gen/agentinstance.js +2 -2
- package/gen/agentinstance.js.map +1 -1
- package/gen/apikey.js +2 -2
- package/gen/apikey.js.map +1 -1
- package/gen/artifact.js +2 -2
- package/gen/artifact.js.map +1 -1
- package/gen/client.d.ts +65 -65
- package/gen/client.d.ts.map +1 -1
- package/gen/client.js +43 -43
- package/gen/client.js.map +1 -1
- package/gen/environment.d.ts +1 -1
- package/gen/environment.d.ts.map +1 -1
- package/gen/environment.js +2 -2
- package/gen/environment.js.map +1 -1
- package/gen/executioncontext.d.ts +1 -1
- package/gen/executioncontext.d.ts.map +1 -1
- package/gen/executioncontext.js +2 -2
- package/gen/executioncontext.js.map +1 -1
- package/gen/iampolicy.js +2 -2
- package/gen/iampolicy.js.map +1 -1
- package/gen/identityaccount.d.ts +1 -1
- package/gen/identityaccount.d.ts.map +1 -1
- package/gen/identityaccount.js +2 -2
- package/gen/identityaccount.js.map +1 -1
- package/gen/identityprovider.d.ts +1 -1
- package/gen/identityprovider.d.ts.map +1 -1
- package/gen/identityprovider.js +2 -2
- package/gen/identityprovider.js.map +1 -1
- package/gen/invitation.js +2 -2
- package/gen/invitation.js.map +1 -1
- package/gen/mcpserver.d.ts +2 -1
- package/gen/mcpserver.d.ts.map +1 -1
- package/gen/mcpserver.js +3 -2
- package/gen/mcpserver.js.map +1 -1
- package/gen/oauthapp.d.ts +1 -1
- package/gen/oauthapp.d.ts.map +1 -1
- package/gen/oauthapp.js +2 -2
- package/gen/oauthapp.js.map +1 -1
- package/gen/organization.d.ts +1 -1
- package/gen/organization.d.ts.map +1 -1
- package/gen/organization.js +2 -2
- package/gen/organization.js.map +1 -1
- package/gen/platformclient.d.ts +1 -1
- package/gen/platformclient.d.ts.map +1 -1
- package/gen/platformclient.js +2 -2
- package/gen/platformclient.js.map +1 -1
- package/gen/project.d.ts +1 -1
- package/gen/project.d.ts.map +1 -1
- package/gen/project.js +2 -2
- package/gen/project.js.map +1 -1
- package/gen/session.d.ts +1 -1
- package/gen/session.d.ts.map +1 -1
- package/gen/session.js +2 -2
- package/gen/session.js.map +1 -1
- package/gen/skill.d.ts +1 -1
- package/gen/skill.d.ts.map +1 -1
- package/gen/skill.js +2 -2
- package/gen/skill.js.map +1 -1
- package/gen/workflow.d.ts +1 -1
- package/gen/workflow.d.ts.map +1 -1
- package/gen/workflow.js +2 -2
- package/gen/workflow.js.map +1 -1
- package/gen/workflowexecution.d.ts +3 -2
- package/gen/workflowexecution.d.ts.map +1 -1
- package/gen/workflowexecution.js +10 -2
- package/gen/workflowexecution.js.map +1 -1
- package/gen/workflowinstance.d.ts +1 -1
- package/gen/workflowinstance.d.ts.map +1 -1
- package/gen/workflowinstance.js +2 -2
- package/gen/workflowinstance.js.map +1 -1
- package/github.js +1 -1
- package/github.js.map +1 -1
- package/index.d.ts +40 -36
- package/index.d.ts.map +1 -1
- package/index.js +37 -33
- package/index.js.map +1 -1
- package/internal/interceptors.d.ts +1 -1
- package/internal/interceptors.d.ts.map +1 -1
- package/internal/interceptors.js +1 -1
- package/internal/interceptors.js.map +1 -1
- package/node.d.ts +2 -2
- package/node.d.ts.map +1 -1
- package/node.js +3 -3
- package/node.js.map +1 -1
- package/package.json +2 -2
- package/platform-client-auth.js +2 -2
- package/platform-client-auth.js.map +1 -1
- package/platform.d.ts +1 -1
- package/platform.d.ts.map +1 -1
- package/platform.js +1 -1
- package/platform.js.map +1 -1
- package/resource-availability.js +1 -1
- package/resource-availability.js.map +1 -1
- package/search.js +1 -1
- package/search.js.map +1 -1
- package/src/activity.ts +1 -1
- package/src/authorization-config.ts +1 -1
- package/src/billing.ts +1 -1
- package/src/errors.ts +2 -2
- package/src/execution/__tests__/approval-provenance.test.ts +60 -0
- package/src/execution/__tests__/file-review-fold.corpus.test.ts +127 -0
- package/src/execution/__tests__/file-review-fold.test.ts +281 -0
- package/src/execution/__tests__/to-display-file-change.test.ts +91 -0
- package/src/execution/__tests__/tool-view.file-changes.test.ts +100 -0
- package/src/execution/__tests__/tool-view.fixtures.test.ts +4 -0
- package/src/execution/__tests__/tool-view.output-ref.test.ts +76 -0
- package/src/execution/__tests__/tool-view.search.test.ts +264 -0
- package/src/execution/__tests__/tool-view.shell.test.ts +127 -0
- package/src/execution/approval-provenance.ts +80 -0
- package/src/execution/execution-phases.ts +23 -0
- package/src/execution/file-review-fold.ts +210 -0
- package/src/execution/to-display-file-change.ts +66 -0
- package/src/execution/tool-view.ts +261 -30
- package/src/gen/agent.ts +3 -3
- package/src/gen/agentexecution.ts +10 -4
- package/src/gen/agentinstance.ts +3 -3
- package/src/gen/apikey.ts +2 -2
- package/src/gen/artifact.ts +2 -2
- package/src/gen/client.ts +65 -65
- package/src/gen/environment.ts +3 -3
- package/src/gen/executioncontext.ts +3 -3
- package/src/gen/iampolicy.ts +2 -2
- package/src/gen/identityaccount.ts +3 -3
- package/src/gen/identityprovider.ts +3 -3
- package/src/gen/invitation.ts +2 -2
- package/src/gen/mcpserver.ts +5 -3
- package/src/gen/oauthapp.ts +3 -3
- package/src/gen/organization.ts +3 -3
- package/src/gen/platformclient.ts +3 -3
- package/src/gen/project.ts +3 -3
- package/src/gen/session.ts +3 -3
- package/src/gen/skill.ts +3 -3
- package/src/gen/workflow.ts +3 -3
- package/src/gen/workflowexecution.ts +10 -4
- package/src/gen/workflowinstance.ts +3 -3
- package/src/github.ts +1 -1
- package/src/index.ts +48 -36
- package/src/internal/interceptors.ts +2 -2
- package/src/node.ts +3 -3
- package/src/platform-client-auth.ts +2 -2
- package/src/platform.ts +2 -2
- package/src/resource-availability.ts +1 -1
- package/src/search.ts +1 -1
- package/src/stigmer.ts +8 -8
- package/src/synth/context.ts +3 -3
- package/src/synth/index.ts +6 -6
- package/src/synth/writer.ts +4 -4
- package/src/transport.ts +2 -2
- package/stigmer.d.ts +7 -7
- package/stigmer.d.ts.map +1 -1
- package/stigmer.js +8 -8
- package/stigmer.js.map +1 -1
- package/synth/context.d.ts +3 -3
- package/synth/context.d.ts.map +1 -1
- package/synth/index.d.ts +5 -5
- package/synth/index.d.ts.map +1 -1
- package/synth/index.js +3 -3
- package/synth/index.js.map +1 -1
- package/synth/writer.d.ts +1 -1
- package/synth/writer.d.ts.map +1 -1
- package/synth/writer.js +3 -3
- package/synth/writer.js.map +1 -1
- package/transport.d.ts +1 -1
- package/transport.d.ts.map +1 -1
- package/transport.js +1 -1
- package/transport.js.map +1 -1
package/src/gen/client.ts
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
// Code generated by stigmer-codegen. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
import type { Transport } from "@connectrpc/connect";
|
|
4
|
-
import { AgentClient } from "./agent";
|
|
5
|
-
import { AgentExecutionClient } from "./agentexecution";
|
|
6
|
-
import { AgentInstanceClient } from "./agentinstance";
|
|
7
|
-
import { ApiKeyClient } from "./apikey";
|
|
8
|
-
import { ArtifactClient } from "./artifact";
|
|
9
|
-
import { EnvironmentClient } from "./environment";
|
|
10
|
-
import { ExecutionContextClient } from "./executioncontext";
|
|
11
|
-
import { IamPolicyClient } from "./iampolicy";
|
|
12
|
-
import { IdentityAccountClient } from "./identityaccount";
|
|
13
|
-
import { IdentityProviderClient } from "./identityprovider";
|
|
14
|
-
import { InvitationClient } from "./invitation";
|
|
15
|
-
import { McpServerClient } from "./mcpserver";
|
|
16
|
-
import { OAuthAppClient } from "./oauthapp";
|
|
17
|
-
import { OrganizationClient } from "./organization";
|
|
18
|
-
import { PlatformClientClient } from "./platformclient";
|
|
19
|
-
import { ProjectClient } from "./project";
|
|
20
|
-
import { SessionClient } from "./session";
|
|
21
|
-
import { SkillClient } from "./skill";
|
|
22
|
-
import { WorkflowClient } from "./workflow";
|
|
23
|
-
import { WorkflowExecutionClient } from "./workflowexecution";
|
|
24
|
-
import { WorkflowInstanceClient } from "./workflowinstance";
|
|
4
|
+
import { AgentClient } from "./agent.js";
|
|
5
|
+
import { AgentExecutionClient } from "./agentexecution.js";
|
|
6
|
+
import { AgentInstanceClient } from "./agentinstance.js";
|
|
7
|
+
import { ApiKeyClient } from "./apikey.js";
|
|
8
|
+
import { ArtifactClient } from "./artifact.js";
|
|
9
|
+
import { EnvironmentClient } from "./environment.js";
|
|
10
|
+
import { ExecutionContextClient } from "./executioncontext.js";
|
|
11
|
+
import { IamPolicyClient } from "./iampolicy.js";
|
|
12
|
+
import { IdentityAccountClient } from "./identityaccount.js";
|
|
13
|
+
import { IdentityProviderClient } from "./identityprovider.js";
|
|
14
|
+
import { InvitationClient } from "./invitation.js";
|
|
15
|
+
import { McpServerClient } from "./mcpserver.js";
|
|
16
|
+
import { OAuthAppClient } from "./oauthapp.js";
|
|
17
|
+
import { OrganizationClient } from "./organization.js";
|
|
18
|
+
import { PlatformClientClient } from "./platformclient.js";
|
|
19
|
+
import { ProjectClient } from "./project.js";
|
|
20
|
+
import { SessionClient } from "./session.js";
|
|
21
|
+
import { SkillClient } from "./skill.js";
|
|
22
|
+
import { WorkflowClient } from "./workflow.js";
|
|
23
|
+
import { WorkflowExecutionClient } from "./workflowexecution.js";
|
|
24
|
+
import { WorkflowInstanceClient } from "./workflowinstance.js";
|
|
25
25
|
|
|
26
26
|
/** Aggregate client with all resource-specific sub-clients. */
|
|
27
27
|
export class GeneratedClient {
|
|
@@ -73,47 +73,47 @@ export class GeneratedClient {
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
// Re-export all resource client types and input types.
|
|
76
|
-
export { AgentClient } from "./agent";
|
|
77
|
-
export { type AgentInput, type McpServerUsageInput, type ToolApprovalOverrideInput, type SubAgentInput, type McpAccessInput, type EnvVarDeclarationInput } from "./agent";
|
|
78
|
-
export { AgentExecutionClient } from "./agentexecution";
|
|
79
|
-
export { type AgentExecutionInput, type ExecutionConfigInput, type ContextManagementConfigInput, type AttachmentInput } from "./agentexecution";
|
|
80
|
-
export { AgentInstanceClient } from "./agentinstance";
|
|
81
|
-
export { type AgentInstanceInput } from "./agentinstance";
|
|
82
|
-
export { ApiKeyClient } from "./apikey";
|
|
83
|
-
export { type ApiKeyInput } from "./apikey";
|
|
84
|
-
export { ArtifactClient } from "./artifact";
|
|
85
|
-
export { type ArtifactInput, type ArtifactSourceInput, type RetentionPolicyInput } from "./artifact";
|
|
86
|
-
export { EnvironmentClient } from "./environment";
|
|
87
|
-
export { type EnvironmentInput } from "./environment";
|
|
88
|
-
export { ExecutionContextClient } from "./executioncontext";
|
|
89
|
-
export { type ExecutionContextInput } from "./executioncontext";
|
|
90
|
-
export { IamPolicyClient } from "./iampolicy";
|
|
91
|
-
export { type IamPolicyInput, type ApiResourceRefInput } from "./iampolicy";
|
|
92
|
-
export { IdentityAccountClient } from "./identityaccount";
|
|
93
|
-
export { type IdentityAccountInput } from "./identityaccount";
|
|
94
|
-
export { IdentityProviderClient } from "./identityprovider";
|
|
95
|
-
export { type IdentityProviderInput } from "./identityprovider";
|
|
96
|
-
export { InvitationClient } from "./invitation";
|
|
97
|
-
export { type InvitationInput } from "./invitation";
|
|
98
|
-
export { McpServerClient } from "./mcpserver";
|
|
99
|
-
export { type McpServerInput, type StdioServerConfigInput, type HttpServerConfigInput, type ToolApprovalPolicyInput, type McpServerAuthInput } from "./mcpserver";
|
|
100
|
-
export { OAuthAppClient } from "./oauthapp";
|
|
101
|
-
export { type OAuthAppInput } from "./oauthapp";
|
|
102
|
-
export { OrganizationClient } from "./organization";
|
|
103
|
-
export { type OrganizationInput } from "./organization";
|
|
104
|
-
export { PlatformClientClient } from "./platformclient";
|
|
105
|
-
export { type PlatformClientInput } from "./platformclient";
|
|
106
|
-
export { ProjectClient } from "./project";
|
|
107
|
-
export { type ProjectInput } from "./project";
|
|
108
|
-
export { SessionClient } from "./session";
|
|
109
|
-
export { type SessionInput, type WorkspaceEntryInput, type WorkspaceSourceInput, type GitRepoSourceInput, type LocalPathSourceInput } from "./session";
|
|
110
|
-
export { SkillClient } from "./skill";
|
|
111
|
-
export { type SkillInput } from "./skill";
|
|
112
|
-
export { WorkflowClient } from "./workflow";
|
|
113
|
-
export { type WorkflowInput, type WorkflowDocumentInput, type WorkflowTaskInput, type ExportInput, type FlowControlInput, type WorkflowBudgetInput } from "./workflow";
|
|
114
|
-
export { WorkflowExecutionClient } from "./workflowexecution";
|
|
115
|
-
export { type WorkflowExecutionInput } from "./workflowexecution";
|
|
116
|
-
export { WorkflowInstanceClient } from "./workflowinstance";
|
|
117
|
-
export { type WorkflowInstanceInput } from "./workflowinstance";
|
|
118
|
-
export { type ListParams, type ListResult, type DeleteResourceInput, type ResourceRef, type EnvSpecInput, type EnvVarInput, type Page } from "./types";
|
|
119
|
-
export { StigmerError, type ErrorCode, isNotFound, isUnauthenticated, isPermissionDenied, isRetryable } from "./errors";
|
|
76
|
+
export { AgentClient } from "./agent.js";
|
|
77
|
+
export { type AgentInput, type McpServerUsageInput, type ToolApprovalOverrideInput, type SubAgentInput, type McpAccessInput, type EnvVarDeclarationInput } from "./agent.js";
|
|
78
|
+
export { AgentExecutionClient } from "./agentexecution.js";
|
|
79
|
+
export { type AgentExecutionInput, type ExecutionConfigInput, type ContextManagementConfigInput, type AttachmentInput } from "./agentexecution.js";
|
|
80
|
+
export { AgentInstanceClient } from "./agentinstance.js";
|
|
81
|
+
export { type AgentInstanceInput } from "./agentinstance.js";
|
|
82
|
+
export { ApiKeyClient } from "./apikey.js";
|
|
83
|
+
export { type ApiKeyInput } from "./apikey.js";
|
|
84
|
+
export { ArtifactClient } from "./artifact.js";
|
|
85
|
+
export { type ArtifactInput, type ArtifactSourceInput, type RetentionPolicyInput } from "./artifact.js";
|
|
86
|
+
export { EnvironmentClient } from "./environment.js";
|
|
87
|
+
export { type EnvironmentInput } from "./environment.js";
|
|
88
|
+
export { ExecutionContextClient } from "./executioncontext.js";
|
|
89
|
+
export { type ExecutionContextInput } from "./executioncontext.js";
|
|
90
|
+
export { IamPolicyClient } from "./iampolicy.js";
|
|
91
|
+
export { type IamPolicyInput, type ApiResourceRefInput } from "./iampolicy.js";
|
|
92
|
+
export { IdentityAccountClient } from "./identityaccount.js";
|
|
93
|
+
export { type IdentityAccountInput } from "./identityaccount.js";
|
|
94
|
+
export { IdentityProviderClient } from "./identityprovider.js";
|
|
95
|
+
export { type IdentityProviderInput } from "./identityprovider.js";
|
|
96
|
+
export { InvitationClient } from "./invitation.js";
|
|
97
|
+
export { type InvitationInput } from "./invitation.js";
|
|
98
|
+
export { McpServerClient } from "./mcpserver.js";
|
|
99
|
+
export { type McpServerInput, type StdioServerConfigInput, type HttpServerConfigInput, type ToolApprovalPolicyInput, type McpServerAuthInput } from "./mcpserver.js";
|
|
100
|
+
export { OAuthAppClient } from "./oauthapp.js";
|
|
101
|
+
export { type OAuthAppInput } from "./oauthapp.js";
|
|
102
|
+
export { OrganizationClient } from "./organization.js";
|
|
103
|
+
export { type OrganizationInput } from "./organization.js";
|
|
104
|
+
export { PlatformClientClient } from "./platformclient.js";
|
|
105
|
+
export { type PlatformClientInput } from "./platformclient.js";
|
|
106
|
+
export { ProjectClient } from "./project.js";
|
|
107
|
+
export { type ProjectInput } from "./project.js";
|
|
108
|
+
export { SessionClient } from "./session.js";
|
|
109
|
+
export { type SessionInput, type WorkspaceEntryInput, type WorkspaceSourceInput, type GitRepoSourceInput, type LocalPathSourceInput } from "./session.js";
|
|
110
|
+
export { SkillClient } from "./skill.js";
|
|
111
|
+
export { type SkillInput } from "./skill.js";
|
|
112
|
+
export { WorkflowClient } from "./workflow.js";
|
|
113
|
+
export { type WorkflowInput, type WorkflowDocumentInput, type WorkflowTaskInput, type ExportInput, type FlowControlInput, type WorkflowBudgetInput } from "./workflow.js";
|
|
114
|
+
export { WorkflowExecutionClient } from "./workflowexecution.js";
|
|
115
|
+
export { type WorkflowExecutionInput } from "./workflowexecution.js";
|
|
116
|
+
export { WorkflowInstanceClient } from "./workflowinstance.js";
|
|
117
|
+
export { type WorkflowInstanceInput } from "./workflowinstance.js";
|
|
118
|
+
export { type ListParams, type ListResult, type DeleteResourceInput, type ResourceRef, type EnvSpecInput, type EnvVarInput, type Page } from "./types.js";
|
|
119
|
+
export { StigmerError, type ErrorCode, isNotFound, isUnauthenticated, isPermissionDenied, isRetryable } from "./errors.js";
|
package/src/gen/environment.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Code generated by stigmer-codegen. DO NOT EDIT.
|
|
2
2
|
|
|
3
|
-
import { wrapError } from "./errors";
|
|
4
|
-
import { stripUndefined } from "./proto-utils";
|
|
5
|
-
import { type DeleteResourceInput, type ResourceRef, type EnvVarInput } from "./types";
|
|
3
|
+
import { wrapError } from "./errors.js";
|
|
4
|
+
import { stripUndefined } from "./proto-utils.js";
|
|
5
|
+
import { type DeleteResourceInput, type ResourceRef, type EnvVarInput } from "./types.js";
|
|
6
6
|
import { create } from "@bufbuild/protobuf";
|
|
7
7
|
import { createClient, type Client, type Transport } from "@connectrpc/connect";
|
|
8
8
|
import { EnvironmentSchema, type Environment } from "@stigmer/protos/ai/stigmer/agentic/environment/v1/api_pb";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Code generated by stigmer-codegen. DO NOT EDIT.
|
|
2
2
|
|
|
3
|
-
import { wrapError } from "./errors";
|
|
4
|
-
import { stripUndefined } from "./proto-utils";
|
|
5
|
-
import { type DeleteResourceInput, type ResourceRef, type EnvVarInput } from "./types";
|
|
3
|
+
import { wrapError } from "./errors.js";
|
|
4
|
+
import { stripUndefined } from "./proto-utils.js";
|
|
5
|
+
import { type DeleteResourceInput, type ResourceRef, type EnvVarInput } from "./types.js";
|
|
6
6
|
import { create } from "@bufbuild/protobuf";
|
|
7
7
|
import { createClient, type Client, type Transport } from "@connectrpc/connect";
|
|
8
8
|
import { ExecutionContextSchema, type ExecutionContext } from "@stigmer/protos/ai/stigmer/agentic/executioncontext/v1/api_pb";
|
package/src/gen/iampolicy.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Code generated by stigmer-codegen. DO NOT EDIT.
|
|
2
2
|
|
|
3
|
-
import { wrapError } from "./errors";
|
|
4
|
-
import { stripUndefined } from "./proto-utils";
|
|
3
|
+
import { wrapError } from "./errors.js";
|
|
4
|
+
import { stripUndefined } from "./proto-utils.js";
|
|
5
5
|
import { create } from "@bufbuild/protobuf";
|
|
6
6
|
import { createClient, type Client, type Transport } from "@connectrpc/connect";
|
|
7
7
|
import { ApiResourceVisibility } from "@stigmer/protos/ai/stigmer/commons/apiresource/enum_pb";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Code generated by stigmer-codegen. DO NOT EDIT.
|
|
2
2
|
|
|
3
|
-
import { wrapError } from "./errors";
|
|
4
|
-
import { stripUndefined } from "./proto-utils";
|
|
5
|
-
import { type ResourceRef } from "./types";
|
|
3
|
+
import { wrapError } from "./errors.js";
|
|
4
|
+
import { stripUndefined } from "./proto-utils.js";
|
|
5
|
+
import { type ResourceRef } from "./types.js";
|
|
6
6
|
import { create } from "@bufbuild/protobuf";
|
|
7
7
|
import { EmptySchema } from "@bufbuild/protobuf/wkt";
|
|
8
8
|
import { createClient, type Client, type Transport } from "@connectrpc/connect";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Code generated by stigmer-codegen. DO NOT EDIT.
|
|
2
2
|
|
|
3
|
-
import { wrapError } from "./errors";
|
|
4
|
-
import { stripUndefined } from "./proto-utils";
|
|
5
|
-
import { type DeleteResourceInput, type ResourceRef } from "./types";
|
|
3
|
+
import { wrapError } from "./errors.js";
|
|
4
|
+
import { stripUndefined } from "./proto-utils.js";
|
|
5
|
+
import { type DeleteResourceInput, type ResourceRef } from "./types.js";
|
|
6
6
|
import { create } from "@bufbuild/protobuf";
|
|
7
7
|
import { createClient, type Client, type Transport } from "@connectrpc/connect";
|
|
8
8
|
import { ApiResourceKind } from "@stigmer/protos/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb";
|
package/src/gen/invitation.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Code generated by stigmer-codegen. DO NOT EDIT.
|
|
2
2
|
|
|
3
|
-
import { wrapError } from "./errors";
|
|
4
|
-
import { stripUndefined, toTimestamp } from "./proto-utils";
|
|
3
|
+
import { wrapError } from "./errors.js";
|
|
4
|
+
import { stripUndefined, toTimestamp } from "./proto-utils.js";
|
|
5
5
|
import { create } from "@bufbuild/protobuf";
|
|
6
6
|
import { createClient, type Client, type Transport } from "@connectrpc/connect";
|
|
7
7
|
import { ApiResourceVisibility } from "@stigmer/protos/ai/stigmer/commons/apiresource/enum_pb";
|
package/src/gen/mcpserver.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Code generated by stigmer-codegen. DO NOT EDIT.
|
|
2
2
|
|
|
3
|
-
import { wrapError } from "./errors";
|
|
4
|
-
import { stripUndefined } from "./proto-utils";
|
|
5
|
-
import { type DeleteResourceInput, type ListParams, type ListResult, type ResourceRef } from "./types";
|
|
3
|
+
import { wrapError } from "./errors.js";
|
|
4
|
+
import { stripUndefined } from "./proto-utils.js";
|
|
5
|
+
import { type DeleteResourceInput, type ListParams, type ListResult, type ResourceRef } from "./types.js";
|
|
6
6
|
import { create } from "@bufbuild/protobuf";
|
|
7
7
|
import { createClient, type Client, type Transport } from "@connectrpc/connect";
|
|
8
8
|
import { EnvVarDeclarationSchema } from "@stigmer/protos/ai/stigmer/agentic/environment/v1/spec_pb";
|
|
@@ -189,6 +189,7 @@ export interface EnvVarDeclarationInput {
|
|
|
189
189
|
export interface ToolApprovalPolicyInput {
|
|
190
190
|
toolName?: string;
|
|
191
191
|
message?: string;
|
|
192
|
+
fromDestructiveHint?: boolean;
|
|
192
193
|
}
|
|
193
194
|
|
|
194
195
|
/** SDK input type for McpServerAuth. */
|
|
@@ -229,6 +230,7 @@ function buildToolApprovalPolicyProto(input: ToolApprovalPolicyInput) {
|
|
|
229
230
|
return Object.assign(create(ToolApprovalPolicySchema), stripUndefined({
|
|
230
231
|
toolName: input.toolName,
|
|
231
232
|
message: input.message,
|
|
233
|
+
fromDestructiveHint: input.fromDestructiveHint,
|
|
232
234
|
}));
|
|
233
235
|
}
|
|
234
236
|
|
package/src/gen/oauthapp.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Code generated by stigmer-codegen. DO NOT EDIT.
|
|
2
2
|
|
|
3
|
-
import { wrapError } from "./errors";
|
|
4
|
-
import { stripUndefined } from "./proto-utils";
|
|
5
|
-
import { type DeleteResourceInput, type ResourceRef } from "./types";
|
|
3
|
+
import { wrapError } from "./errors.js";
|
|
4
|
+
import { stripUndefined } from "./proto-utils.js";
|
|
5
|
+
import { type DeleteResourceInput, type ResourceRef } from "./types.js";
|
|
6
6
|
import { create } from "@bufbuild/protobuf";
|
|
7
7
|
import { createClient, type Client, type Transport } from "@connectrpc/connect";
|
|
8
8
|
import { ApiResourceKind } from "@stigmer/protos/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb";
|
package/src/gen/organization.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Code generated by stigmer-codegen. DO NOT EDIT.
|
|
2
2
|
|
|
3
|
-
import { wrapError } from "./errors";
|
|
4
|
-
import { stripUndefined } from "./proto-utils";
|
|
5
|
-
import { type ResourceRef } from "./types";
|
|
3
|
+
import { wrapError } from "./errors.js";
|
|
4
|
+
import { stripUndefined } from "./proto-utils.js";
|
|
5
|
+
import { type ResourceRef } from "./types.js";
|
|
6
6
|
import { create } from "@bufbuild/protobuf";
|
|
7
7
|
import { EmptySchema } from "@bufbuild/protobuf/wkt";
|
|
8
8
|
import { createClient, type Client, type Transport } from "@connectrpc/connect";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Code generated by stigmer-codegen. DO NOT EDIT.
|
|
2
2
|
|
|
3
|
-
import { wrapError } from "./errors";
|
|
4
|
-
import { stripUndefined, toTimestamp } from "./proto-utils";
|
|
5
|
-
import { type DeleteResourceInput, type ResourceRef } from "./types";
|
|
3
|
+
import { wrapError } from "./errors.js";
|
|
4
|
+
import { stripUndefined, toTimestamp } from "./proto-utils.js";
|
|
5
|
+
import { type DeleteResourceInput, type ResourceRef } from "./types.js";
|
|
6
6
|
import { create } from "@bufbuild/protobuf";
|
|
7
7
|
import { createClient, type Client, type Transport } from "@connectrpc/connect";
|
|
8
8
|
import { ApiResourceKind } from "@stigmer/protos/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb";
|
package/src/gen/project.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Code generated by stigmer-codegen. DO NOT EDIT.
|
|
2
2
|
|
|
3
|
-
import { wrapError } from "./errors";
|
|
4
|
-
import { stripUndefined } from "./proto-utils";
|
|
5
|
-
import { type ResourceRef } from "./types";
|
|
3
|
+
import { wrapError } from "./errors.js";
|
|
4
|
+
import { stripUndefined } from "./proto-utils.js";
|
|
5
|
+
import { type ResourceRef } from "./types.js";
|
|
6
6
|
import { create } from "@bufbuild/protobuf";
|
|
7
7
|
import { createClient, type Client, type Transport } from "@connectrpc/connect";
|
|
8
8
|
import { ApiResourceKind } from "@stigmer/protos/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb";
|
package/src/gen/session.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Code generated by stigmer-codegen. DO NOT EDIT.
|
|
2
2
|
|
|
3
|
-
import { wrapError } from "./errors";
|
|
4
|
-
import { stripUndefined } from "./proto-utils";
|
|
5
|
-
import { type ResourceRef } from "./types";
|
|
3
|
+
import { wrapError } from "./errors.js";
|
|
4
|
+
import { stripUndefined } from "./proto-utils.js";
|
|
5
|
+
import { type ResourceRef } from "./types.js";
|
|
6
6
|
import { create } from "@bufbuild/protobuf";
|
|
7
7
|
import { createClient, type Client, type Transport } from "@connectrpc/connect";
|
|
8
8
|
import { ToolApprovalOverrideSchema, McpServerUsageSchema } from "@stigmer/protos/ai/stigmer/agentic/agent/v1/spec_pb";
|
package/src/gen/skill.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Code generated by stigmer-codegen. DO NOT EDIT.
|
|
2
2
|
|
|
3
|
-
import { wrapError } from "./errors";
|
|
4
|
-
import { stripUndefined } from "./proto-utils";
|
|
5
|
-
import { type ListParams, type ListResult, type ResourceRef } from "./types";
|
|
3
|
+
import { wrapError } from "./errors.js";
|
|
4
|
+
import { stripUndefined } from "./proto-utils.js";
|
|
5
|
+
import { type ListParams, type ListResult, type ResourceRef } from "./types.js";
|
|
6
6
|
import { create } from "@bufbuild/protobuf";
|
|
7
7
|
import { createClient, type Client, type Transport } from "@connectrpc/connect";
|
|
8
8
|
import { SkillSchema, type Skill } from "@stigmer/protos/ai/stigmer/agentic/skill/v1/api_pb";
|
package/src/gen/workflow.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Code generated by stigmer-codegen. DO NOT EDIT.
|
|
2
2
|
|
|
3
|
-
import { wrapError } from "./errors";
|
|
4
|
-
import { stripUndefined } from "./proto-utils";
|
|
5
|
-
import { type ListParams, type ListResult, type ResourceRef } from "./types";
|
|
3
|
+
import { wrapError } from "./errors.js";
|
|
4
|
+
import { stripUndefined } from "./proto-utils.js";
|
|
5
|
+
import { type ListParams, type ListResult, type ResourceRef } from "./types.js";
|
|
6
6
|
import { create, type JsonObject } from "@bufbuild/protobuf";
|
|
7
7
|
import { createClient, type Client, type Transport } from "@connectrpc/connect";
|
|
8
8
|
import { EnvVarDeclarationSchema } from "@stigmer/protos/ai/stigmer/agentic/environment/v1/spec_pb";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Code generated by stigmer-codegen. DO NOT EDIT.
|
|
2
2
|
|
|
3
|
-
import { wrapError } from "./errors";
|
|
4
|
-
import { stripUndefined } from "./proto-utils";
|
|
5
|
-
import { type EnvVarInput } from "./types";
|
|
3
|
+
import { wrapError } from "./errors.js";
|
|
4
|
+
import { stripUndefined } from "./proto-utils.js";
|
|
5
|
+
import { type EnvVarInput } from "./types.js";
|
|
6
6
|
import { create } from "@bufbuild/protobuf";
|
|
7
7
|
import { createClient, type Client, type Transport } from "@connectrpc/connect";
|
|
8
8
|
import { ExecutionValueSchema } from "@stigmer/protos/ai/stigmer/agentic/executioncontext/v1/spec_pb";
|
|
@@ -10,7 +10,7 @@ import { ExecutionTarget } from "@stigmer/protos/ai/stigmer/agentic/session/v1/e
|
|
|
10
10
|
import { WorkflowExecutionSchema, type WorkflowExecution } from "@stigmer/protos/ai/stigmer/agentic/workflowexecution/v1/api_pb";
|
|
11
11
|
import { WorkflowExecutionCommandController } from "@stigmer/protos/ai/stigmer/agentic/workflowexecution/v1/command_pb";
|
|
12
12
|
import { WorkflowExecutionEventSchema, type WorkflowExecutionEvent } from "@stigmer/protos/ai/stigmer/agentic/workflowexecution/v1/event_pb";
|
|
13
|
-
import { WorkflowExecutionIdSchema, WorkflowExecutionUpdateStatusInputSchema, SubmitWorkflowApprovalInputSchema, SubmitWorkflowTaskApprovalInputSchema, SendSignalInputSchema, CancelWorkflowExecutionInputSchema, TerminateWorkflowExecutionInputSchema, RecoverWorkflowExecutionInputSchema, PauseWorkflowExecutionInputSchema, ResumeWorkflowExecutionInputSchema, ListWorkflowExecutionsRequestSchema, WorkflowExecutionListSchema, ListWorkflowExecutionsByWorkflowRequestSchema, SubscribeWorkflowExecutionRequestSchema, GetEventLogRequestSchema, GetEventLogResponseSchema, SubscribeEventsRequestSchema, GetExecutionSummaryRequestSchema, ExecutionSummarySchema, ListPendingApprovalsRequestSchema, PendingApprovalsListSchema, type WorkflowExecutionUpdateStatusInput, type SubmitWorkflowApprovalInput, type SubmitWorkflowTaskApprovalInput, type SendSignalInput, type CancelWorkflowExecutionInput, type TerminateWorkflowExecutionInput, type RecoverWorkflowExecutionInput, type PauseWorkflowExecutionInput, type ResumeWorkflowExecutionInput, type ListWorkflowExecutionsRequest, type WorkflowExecutionList, type ListWorkflowExecutionsByWorkflowRequest, type SubscribeWorkflowExecutionRequest, type GetEventLogRequest, type GetEventLogResponse, type SubscribeEventsRequest, type GetExecutionSummaryRequest, type ExecutionSummary, type ListPendingApprovalsRequest, type PendingApprovalsList } from "@stigmer/protos/ai/stigmer/agentic/workflowexecution/v1/io_pb";
|
|
13
|
+
import { WorkflowExecutionIdSchema, WorkflowExecutionUpdateStatusInputSchema, SubmitWorkflowApprovalInputSchema, SubmitWorkflowFileDecisionInputSchema, SubmitWorkflowTaskApprovalInputSchema, SendSignalInputSchema, CancelWorkflowExecutionInputSchema, TerminateWorkflowExecutionInputSchema, RecoverWorkflowExecutionInputSchema, PauseWorkflowExecutionInputSchema, ResumeWorkflowExecutionInputSchema, ListWorkflowExecutionsRequestSchema, WorkflowExecutionListSchema, ListWorkflowExecutionsByWorkflowRequestSchema, SubscribeWorkflowExecutionRequestSchema, GetEventLogRequestSchema, GetEventLogResponseSchema, SubscribeEventsRequestSchema, GetExecutionSummaryRequestSchema, ExecutionSummarySchema, ListPendingApprovalsRequestSchema, PendingApprovalsListSchema, type WorkflowExecutionUpdateStatusInput, type SubmitWorkflowApprovalInput, type SubmitWorkflowFileDecisionInput, type SubmitWorkflowTaskApprovalInput, type SendSignalInput, type CancelWorkflowExecutionInput, type TerminateWorkflowExecutionInput, type RecoverWorkflowExecutionInput, type PauseWorkflowExecutionInput, type ResumeWorkflowExecutionInput, type ListWorkflowExecutionsRequest, type WorkflowExecutionList, type ListWorkflowExecutionsByWorkflowRequest, type SubscribeWorkflowExecutionRequest, type GetEventLogRequest, type GetEventLogResponse, type SubscribeEventsRequest, type GetExecutionSummaryRequest, type ExecutionSummary, type ListPendingApprovalsRequest, type PendingApprovalsList } from "@stigmer/protos/ai/stigmer/agentic/workflowexecution/v1/io_pb";
|
|
14
14
|
import { WorkflowExecutionQueryController } from "@stigmer/protos/ai/stigmer/agentic/workflowexecution/v1/query_pb";
|
|
15
15
|
import { WorkflowExecutionSpecSchema } from "@stigmer/protos/ai/stigmer/agentic/workflowexecution/v1/spec_pb";
|
|
16
16
|
import { ApiResourceVisibility } from "@stigmer/protos/ai/stigmer/commons/apiresource/enum_pb";
|
|
@@ -51,6 +51,12 @@ export class WorkflowExecutionClient {
|
|
|
51
51
|
} catch (e) { throw wrapError(e); }
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
+
async submitFileDecision(input: SubmitWorkflowFileDecisionInput): Promise<WorkflowExecution> {
|
|
55
|
+
try {
|
|
56
|
+
return await this.command.submitFileDecision(input);
|
|
57
|
+
} catch (e) { throw wrapError(e); }
|
|
58
|
+
}
|
|
59
|
+
|
|
54
60
|
async submitWorkflowTaskApproval(input: SubmitWorkflowTaskApprovalInput): Promise<WorkflowExecution> {
|
|
55
61
|
try {
|
|
56
62
|
return await this.command.submitWorkflowTaskApproval(input);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Code generated by stigmer-codegen. DO NOT EDIT.
|
|
2
2
|
|
|
3
|
-
import { wrapError } from "./errors";
|
|
4
|
-
import { stripUndefined } from "./proto-utils";
|
|
5
|
-
import { type ResourceRef } from "./types";
|
|
3
|
+
import { wrapError } from "./errors.js";
|
|
4
|
+
import { stripUndefined } from "./proto-utils.js";
|
|
5
|
+
import { type ResourceRef } from "./types.js";
|
|
6
6
|
import { create } from "@bufbuild/protobuf";
|
|
7
7
|
import { createClient, type Client, type Transport } from "@connectrpc/connect";
|
|
8
8
|
import { WorkflowInstanceSchema, type WorkflowInstance } from "@stigmer/protos/ai/stigmer/agentic/workflowinstance/v1/api_pb";
|
package/src/github.ts
CHANGED
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
GetOAuthAuthorizeUrlRequestSchema,
|
|
6
6
|
GitHubService,
|
|
7
7
|
} from "@stigmer/protos/ai/stigmer/platform/github/v1/service_pb";
|
|
8
|
-
import { wrapError } from "./gen/errors";
|
|
8
|
+
import { wrapError } from "./gen/errors.js";
|
|
9
9
|
|
|
10
10
|
/** Parameters for getting the OAuth authorize URL. */
|
|
11
11
|
export interface GetOAuthAuthorizeUrlParams {
|
package/src/index.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
// Public API for @stigmer/sdk
|
|
2
2
|
|
|
3
3
|
// Top-level client
|
|
4
|
-
export { Stigmer } from "./stigmer";
|
|
4
|
+
export { Stigmer } from "./stigmer.js";
|
|
5
5
|
|
|
6
6
|
// Runner adapter
|
|
7
7
|
export {
|
|
8
8
|
type RunnerAdapter,
|
|
9
9
|
type RunnerWorkerHost,
|
|
10
10
|
createRunnerAdapter,
|
|
11
|
-
} from "./runner-adapter";
|
|
11
|
+
} from "./runner-adapter.js";
|
|
12
12
|
|
|
13
13
|
// Configuration
|
|
14
|
-
export { type StigmerConfig, type TokenProvider } from "./config";
|
|
14
|
+
export { type StigmerConfig, type TokenProvider } from "./config.js";
|
|
15
15
|
|
|
16
16
|
// Error handling
|
|
17
17
|
export {
|
|
@@ -30,26 +30,26 @@ export {
|
|
|
30
30
|
type RpcErrorMetadata,
|
|
31
31
|
annotateRpcError,
|
|
32
32
|
getRpcMetadata,
|
|
33
|
-
} from "./errors";
|
|
33
|
+
} from "./errors.js";
|
|
34
34
|
|
|
35
35
|
// Resource availability
|
|
36
36
|
export {
|
|
37
37
|
type DeploymentMode,
|
|
38
38
|
isResourceAvailable,
|
|
39
|
-
} from "./resource-availability";
|
|
39
|
+
} from "./resource-availability.js";
|
|
40
40
|
|
|
41
41
|
// Authorization config and IAM role utilities
|
|
42
42
|
export {
|
|
43
43
|
getGrantableRoles,
|
|
44
44
|
hasGrantableRoles,
|
|
45
45
|
isRoleGrantable,
|
|
46
|
-
} from "./authorization-config";
|
|
46
|
+
} from "./authorization-config.js";
|
|
47
47
|
export {
|
|
48
48
|
iamRoleToString,
|
|
49
49
|
iamRoleFromString,
|
|
50
50
|
iamRoleDisplayName,
|
|
51
51
|
iamRoleDescription,
|
|
52
|
-
} from "./iam-role";
|
|
52
|
+
} from "./iam-role.js";
|
|
53
53
|
export { IamRole } from "@stigmer/protos/ai/stigmer/iam/v1/enum_pb";
|
|
54
54
|
|
|
55
55
|
// Activity client (unified recents)
|
|
@@ -57,8 +57,8 @@ export {
|
|
|
57
57
|
ActivityClient,
|
|
58
58
|
type ListRecentActivityParams,
|
|
59
59
|
type ListRecentActivityResponse,
|
|
60
|
-
} from "./activity";
|
|
61
|
-
export type { RecentActivityEntry as RecentActivityEntryProto } from "./activity";
|
|
60
|
+
} from "./activity.js";
|
|
61
|
+
export type { RecentActivityEntry as RecentActivityEntryProto } from "./activity.js";
|
|
62
62
|
|
|
63
63
|
// Billing client
|
|
64
64
|
export {
|
|
@@ -69,7 +69,7 @@ export {
|
|
|
69
69
|
type GetCreditLedgerParams,
|
|
70
70
|
type GetBillingUsageReportParams,
|
|
71
71
|
type GetCustomerModelPricingParams,
|
|
72
|
-
} from "./billing";
|
|
72
|
+
} from "./billing.js";
|
|
73
73
|
|
|
74
74
|
// Search client
|
|
75
75
|
export {
|
|
@@ -77,7 +77,7 @@ export {
|
|
|
77
77
|
type SearchParams,
|
|
78
78
|
type SearchResponse,
|
|
79
79
|
ApiResourceKind,
|
|
80
|
-
} from "./search";
|
|
80
|
+
} from "./search.js";
|
|
81
81
|
|
|
82
82
|
// GitHub OAuth client
|
|
83
83
|
export {
|
|
@@ -86,13 +86,13 @@ export {
|
|
|
86
86
|
type OAuthAuthorizeUrlResponse,
|
|
87
87
|
type ExchangeOAuthCodeParams,
|
|
88
88
|
type OAuthTokenResponse,
|
|
89
|
-
} from "./github";
|
|
89
|
+
} from "./github.js";
|
|
90
90
|
|
|
91
91
|
// Platform client (server info / edition detection)
|
|
92
92
|
export {
|
|
93
93
|
PlatformClient,
|
|
94
94
|
type ServerInfo,
|
|
95
|
-
} from "./platform";
|
|
95
|
+
} from "./platform.js";
|
|
96
96
|
|
|
97
97
|
// Shared types (from generated code)
|
|
98
98
|
export {
|
|
@@ -103,7 +103,7 @@ export {
|
|
|
103
103
|
type ListResult,
|
|
104
104
|
type EnvSpecInput,
|
|
105
105
|
type EnvVarInput,
|
|
106
|
-
} from "./gen/types";
|
|
106
|
+
} from "./gen/types.js";
|
|
107
107
|
|
|
108
108
|
// Re-export all resource client classes and input types
|
|
109
109
|
export {
|
|
@@ -113,64 +113,64 @@ export {
|
|
|
113
113
|
type ToolApprovalOverrideInput,
|
|
114
114
|
type SubAgentInput,
|
|
115
115
|
type McpAccessInput,
|
|
116
|
-
} from "./gen/agent";
|
|
116
|
+
} from "./gen/agent.js";
|
|
117
117
|
export {
|
|
118
118
|
AgentExecutionClient,
|
|
119
119
|
type AgentExecutionInput,
|
|
120
120
|
type ExecutionConfigInput,
|
|
121
121
|
type ContextManagementConfigInput,
|
|
122
122
|
type AttachmentInput,
|
|
123
|
-
} from "./gen/agentexecution";
|
|
123
|
+
} from "./gen/agentexecution.js";
|
|
124
124
|
export {
|
|
125
125
|
AgentInstanceClient,
|
|
126
126
|
type AgentInstanceInput,
|
|
127
|
-
} from "./gen/agentinstance";
|
|
128
|
-
export { ApiKeyClient, type ApiKeyInput } from "./gen/apikey";
|
|
127
|
+
} from "./gen/agentinstance.js";
|
|
128
|
+
export { ApiKeyClient, type ApiKeyInput } from "./gen/apikey.js";
|
|
129
129
|
export {
|
|
130
130
|
EnvironmentClient,
|
|
131
131
|
type EnvironmentInput,
|
|
132
|
-
} from "./gen/environment";
|
|
132
|
+
} from "./gen/environment.js";
|
|
133
133
|
export {
|
|
134
134
|
ExecutionContextClient,
|
|
135
135
|
type ExecutionContextInput,
|
|
136
|
-
} from "./gen/executioncontext";
|
|
136
|
+
} from "./gen/executioncontext.js";
|
|
137
137
|
export {
|
|
138
138
|
IamPolicyClient,
|
|
139
139
|
type IamPolicyInput,
|
|
140
140
|
type ApiResourceRefInput,
|
|
141
|
-
} from "./gen/iampolicy";
|
|
141
|
+
} from "./gen/iampolicy.js";
|
|
142
142
|
export {
|
|
143
143
|
IdentityAccountClient,
|
|
144
144
|
type IdentityAccountInput,
|
|
145
|
-
} from "./gen/identityaccount";
|
|
145
|
+
} from "./gen/identityaccount.js";
|
|
146
146
|
export {
|
|
147
147
|
InvitationClient,
|
|
148
148
|
type InvitationInput,
|
|
149
|
-
} from "./gen/invitation";
|
|
149
|
+
} from "./gen/invitation.js";
|
|
150
150
|
export {
|
|
151
151
|
IdentityProviderClient,
|
|
152
152
|
type IdentityProviderInput,
|
|
153
|
-
} from "./gen/identityprovider";
|
|
153
|
+
} from "./gen/identityprovider.js";
|
|
154
154
|
export {
|
|
155
155
|
OAuthAppClient,
|
|
156
156
|
type OAuthAppInput,
|
|
157
|
-
} from "./gen/oauthapp";
|
|
157
|
+
} from "./gen/oauthapp.js";
|
|
158
158
|
export {
|
|
159
159
|
McpServerClient,
|
|
160
160
|
type McpServerInput,
|
|
161
161
|
type StdioServerConfigInput,
|
|
162
162
|
type HttpServerConfigInput,
|
|
163
163
|
type ToolApprovalPolicyInput,
|
|
164
|
-
} from "./gen/mcpserver";
|
|
164
|
+
} from "./gen/mcpserver.js";
|
|
165
165
|
export {
|
|
166
166
|
OrganizationClient,
|
|
167
167
|
type OrganizationInput,
|
|
168
|
-
} from "./gen/organization";
|
|
168
|
+
} from "./gen/organization.js";
|
|
169
169
|
export {
|
|
170
170
|
PlatformClientClient,
|
|
171
171
|
type PlatformClientInput,
|
|
172
|
-
} from "./gen/platformclient";
|
|
173
|
-
export { ProjectClient, type ProjectInput } from "./gen/project";
|
|
172
|
+
} from "./gen/platformclient.js";
|
|
173
|
+
export { ProjectClient, type ProjectInput } from "./gen/project.js";
|
|
174
174
|
export {
|
|
175
175
|
SessionClient,
|
|
176
176
|
type SessionInput,
|
|
@@ -178,22 +178,34 @@ export {
|
|
|
178
178
|
type WorkspaceSourceInput,
|
|
179
179
|
type GitRepoSourceInput,
|
|
180
180
|
type LocalPathSourceInput,
|
|
181
|
-
} from "./gen/session";
|
|
181
|
+
} from "./gen/session.js";
|
|
182
182
|
|
|
183
183
|
// Session utilities (hand-written)
|
|
184
|
-
export { PENDING_SUBJECT, resolvedSubject } from "./session";
|
|
184
|
+
export { PENDING_SUBJECT, resolvedSubject } from "./session.js";
|
|
185
185
|
|
|
186
186
|
// Tool-call view model (framework-agnostic; shared by @stigmer/react and @stigmer/ink)
|
|
187
187
|
export {
|
|
188
188
|
ToolKind,
|
|
189
|
+
FileChangeCaptureLevel,
|
|
189
190
|
resolveToolKind,
|
|
190
191
|
resolveToolKindByName,
|
|
191
192
|
normalizeToolResult,
|
|
192
193
|
type ToolResultView,
|
|
193
194
|
type ToolSearchMatch,
|
|
194
195
|
type ToolContentBlock,
|
|
195
|
-
} from "./execution/tool-view";
|
|
196
|
-
export {
|
|
196
|
+
} from "./execution/tool-view.js";
|
|
197
|
+
export {
|
|
198
|
+
ApprovalPolicySource,
|
|
199
|
+
describeApprovalPolicySource,
|
|
200
|
+
isInformativePolicySource,
|
|
201
|
+
} from "./execution/approval-provenance.js";
|
|
202
|
+
export { isTerminalPhase } from "./execution/execution-phases.js";
|
|
203
|
+
export {
|
|
204
|
+
foldFileReviewEventStream,
|
|
205
|
+
displayFileChangeSets,
|
|
206
|
+
} from "./execution/file-review-fold.js";
|
|
207
|
+
export { toDisplayFileChange } from "./execution/to-display-file-change.js";
|
|
208
|
+
export { SkillClient, type SkillInput } from "./gen/skill.js";
|
|
197
209
|
export {
|
|
198
210
|
WorkflowClient,
|
|
199
211
|
type WorkflowInput,
|
|
@@ -201,12 +213,12 @@ export {
|
|
|
201
213
|
type WorkflowTaskInput,
|
|
202
214
|
type ExportInput,
|
|
203
215
|
type FlowControlInput,
|
|
204
|
-
} from "./gen/workflow";
|
|
216
|
+
} from "./gen/workflow.js";
|
|
205
217
|
export {
|
|
206
218
|
WorkflowExecutionClient,
|
|
207
219
|
type WorkflowExecutionInput,
|
|
208
|
-
} from "./gen/workflowexecution";
|
|
220
|
+
} from "./gen/workflowexecution.js";
|
|
209
221
|
export {
|
|
210
222
|
WorkflowInstanceClient,
|
|
211
223
|
type WorkflowInstanceInput,
|
|
212
|
-
} from "./gen/workflowinstance";
|
|
224
|
+
} from "./gen/workflowinstance.js";
|