@stigmer/sdk 3.1.0 → 3.1.2
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/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 +2 -1
- package/gen/agentexecution.d.ts.map +1 -1
- package/gen/agentexecution.js +4 -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 +1 -1
- package/gen/mcpserver.d.ts.map +1 -1
- package/gen/mcpserver.js +2 -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 +1 -1
- package/gen/workflowexecution.d.ts.map +1 -1
- package/gen/workflowexecution.js +2 -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 -40
- package/index.d.ts.map +1 -1
- package/index.js +37 -37
- 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/gen/agent.ts +3 -3
- package/src/gen/agentexecution.ts +5 -3
- 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 +3 -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 +3 -3
- package/src/gen/workflowinstance.ts +3 -3
- package/src/github.ts +1 -1
- package/src/index.ts +40 -40
- 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/index.js
CHANGED
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
// Public API for @stigmer/sdk
|
|
2
2
|
// Top-level client
|
|
3
|
-
export { Stigmer } from "./stigmer";
|
|
3
|
+
export { Stigmer } from "./stigmer.js";
|
|
4
4
|
// Runner adapter
|
|
5
|
-
export { createRunnerAdapter, } from "./runner-adapter";
|
|
5
|
+
export { createRunnerAdapter, } from "./runner-adapter.js";
|
|
6
6
|
// Error handling
|
|
7
|
-
export { StigmerError, isNotFound, isUnauthenticated, isPermissionDenied, isRetryable, isConnectError, classifyError, isRetryableError, isTransientStreamError, getUserMessage, annotateRpcError, getRpcMetadata, } from "./errors";
|
|
7
|
+
export { StigmerError, isNotFound, isUnauthenticated, isPermissionDenied, isRetryable, isConnectError, classifyError, isRetryableError, isTransientStreamError, getUserMessage, annotateRpcError, getRpcMetadata, } from "./errors.js";
|
|
8
8
|
// Resource availability
|
|
9
|
-
export { isResourceAvailable, } from "./resource-availability";
|
|
9
|
+
export { isResourceAvailable, } from "./resource-availability.js";
|
|
10
10
|
// Authorization config and IAM role utilities
|
|
11
|
-
export { getGrantableRoles, hasGrantableRoles, isRoleGrantable, } from "./authorization-config";
|
|
12
|
-
export { iamRoleToString, iamRoleFromString, iamRoleDisplayName, iamRoleDescription, } from "./iam-role";
|
|
11
|
+
export { getGrantableRoles, hasGrantableRoles, isRoleGrantable, } from "./authorization-config.js";
|
|
12
|
+
export { iamRoleToString, iamRoleFromString, iamRoleDisplayName, iamRoleDescription, } from "./iam-role.js";
|
|
13
13
|
export { IamRole } from "@stigmer/protos/ai/stigmer/iam/v1/enum_pb";
|
|
14
14
|
// Activity client (unified recents)
|
|
15
|
-
export { ActivityClient, } from "./activity";
|
|
15
|
+
export { ActivityClient, } from "./activity.js";
|
|
16
16
|
// Billing client
|
|
17
|
-
export { BillingClient, } from "./billing";
|
|
17
|
+
export { BillingClient, } from "./billing.js";
|
|
18
18
|
// Search client
|
|
19
|
-
export { SearchClient, ApiResourceKind, } from "./search";
|
|
19
|
+
export { SearchClient, ApiResourceKind, } from "./search.js";
|
|
20
20
|
// GitHub OAuth client
|
|
21
|
-
export { GitHubClient, } from "./github";
|
|
21
|
+
export { GitHubClient, } from "./github.js";
|
|
22
22
|
// Platform client (server info / edition detection)
|
|
23
|
-
export { PlatformClient, } from "./platform";
|
|
23
|
+
export { PlatformClient, } from "./platform.js";
|
|
24
24
|
// Re-export all resource client classes and input types
|
|
25
|
-
export { AgentClient, } from "./gen/agent";
|
|
26
|
-
export { AgentExecutionClient, } from "./gen/agentexecution";
|
|
27
|
-
export { AgentInstanceClient, } from "./gen/agentinstance";
|
|
28
|
-
export { ApiKeyClient } from "./gen/apikey";
|
|
29
|
-
export { EnvironmentClient, } from "./gen/environment";
|
|
30
|
-
export { ExecutionContextClient, } from "./gen/executioncontext";
|
|
31
|
-
export { IamPolicyClient, } from "./gen/iampolicy";
|
|
32
|
-
export { IdentityAccountClient, } from "./gen/identityaccount";
|
|
33
|
-
export { InvitationClient, } from "./gen/invitation";
|
|
34
|
-
export { IdentityProviderClient, } from "./gen/identityprovider";
|
|
35
|
-
export { OAuthAppClient, } from "./gen/oauthapp";
|
|
36
|
-
export { McpServerClient, } from "./gen/mcpserver";
|
|
37
|
-
export { OrganizationClient, } from "./gen/organization";
|
|
38
|
-
export { PlatformClientClient, } from "./gen/platformclient";
|
|
39
|
-
export { ProjectClient } from "./gen/project";
|
|
40
|
-
export { SessionClient, } from "./gen/session";
|
|
25
|
+
export { AgentClient, } from "./gen/agent.js";
|
|
26
|
+
export { AgentExecutionClient, } from "./gen/agentexecution.js";
|
|
27
|
+
export { AgentInstanceClient, } from "./gen/agentinstance.js";
|
|
28
|
+
export { ApiKeyClient } from "./gen/apikey.js";
|
|
29
|
+
export { EnvironmentClient, } from "./gen/environment.js";
|
|
30
|
+
export { ExecutionContextClient, } from "./gen/executioncontext.js";
|
|
31
|
+
export { IamPolicyClient, } from "./gen/iampolicy.js";
|
|
32
|
+
export { IdentityAccountClient, } from "./gen/identityaccount.js";
|
|
33
|
+
export { InvitationClient, } from "./gen/invitation.js";
|
|
34
|
+
export { IdentityProviderClient, } from "./gen/identityprovider.js";
|
|
35
|
+
export { OAuthAppClient, } from "./gen/oauthapp.js";
|
|
36
|
+
export { McpServerClient, } from "./gen/mcpserver.js";
|
|
37
|
+
export { OrganizationClient, } from "./gen/organization.js";
|
|
38
|
+
export { PlatformClientClient, } from "./gen/platformclient.js";
|
|
39
|
+
export { ProjectClient } from "./gen/project.js";
|
|
40
|
+
export { SessionClient, } from "./gen/session.js";
|
|
41
41
|
// Session utilities (hand-written)
|
|
42
|
-
export { PENDING_SUBJECT, resolvedSubject } from "./session";
|
|
42
|
+
export { PENDING_SUBJECT, resolvedSubject } from "./session.js";
|
|
43
43
|
// Tool-call view model (framework-agnostic; shared by @stigmer/react and @stigmer/ink)
|
|
44
|
-
export { ToolKind, FileChangeCaptureLevel, resolveToolKind, resolveToolKindByName, normalizeToolResult, } from "./execution/tool-view";
|
|
45
|
-
export { ApprovalPolicySource, describeApprovalPolicySource, isInformativePolicySource, } from "./execution/approval-provenance";
|
|
46
|
-
export { isTerminalPhase } from "./execution/execution-phases";
|
|
47
|
-
export { foldFileReviewEventStream, displayFileChangeSets, } from "./execution/file-review-fold";
|
|
48
|
-
export { toDisplayFileChange } from "./execution/to-display-file-change";
|
|
49
|
-
export { SkillClient } from "./gen/skill";
|
|
50
|
-
export { WorkflowClient, } from "./gen/workflow";
|
|
51
|
-
export { WorkflowExecutionClient, } from "./gen/workflowexecution";
|
|
52
|
-
export { WorkflowInstanceClient, } from "./gen/workflowinstance";
|
|
44
|
+
export { ToolKind, FileChangeCaptureLevel, resolveToolKind, resolveToolKindByName, normalizeToolResult, } from "./execution/tool-view.js";
|
|
45
|
+
export { ApprovalPolicySource, describeApprovalPolicySource, isInformativePolicySource, } from "./execution/approval-provenance.js";
|
|
46
|
+
export { isTerminalPhase } from "./execution/execution-phases.js";
|
|
47
|
+
export { foldFileReviewEventStream, displayFileChangeSets, } from "./execution/file-review-fold.js";
|
|
48
|
+
export { toDisplayFileChange } from "./execution/to-display-file-change.js";
|
|
49
|
+
export { SkillClient } from "./gen/skill.js";
|
|
50
|
+
export { WorkflowClient, } from "./gen/workflow.js";
|
|
51
|
+
export { WorkflowExecutionClient, } from "./gen/workflowexecution.js";
|
|
52
|
+
export { WorkflowInstanceClient, } from "./gen/workflowinstance.js";
|
|
53
53
|
//# sourceMappingURL=index.js.map
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAE9B,mBAAmB;AACnB,OAAO,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAE9B,mBAAmB;AACnB,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAEvC,iBAAiB;AACjB,OAAO,EAGL,mBAAmB,GACpB,MAAM,qBAAqB,CAAC;AAK7B,iBAAiB;AACjB,OAAO,EACL,YAAY,EAEZ,UAAU,EACV,iBAAiB,EACjB,kBAAkB,EAClB,WAAW,EAEX,cAAc,EACd,aAAa,EACb,gBAAgB,EAChB,sBAAsB,EACtB,cAAc,EAEd,gBAAgB,EAChB,cAAc,GACf,MAAM,aAAa,CAAC;AAErB,wBAAwB;AACxB,OAAO,EAEL,mBAAmB,GACpB,MAAM,4BAA4B,CAAC;AAEpC,8CAA8C;AAC9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;AAC/B,OAAO,EACL,oBAAoB,GAErB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,aAAa,EAAqB,MAAM,kBAAkB,CAAC;AACpE,OAAO,EACL,aAAa,GAMd,MAAM,kBAAkB,CAAC;AAE1B,mCAAmC;AACnC,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAEhE,uFAAuF;AACvF,OAAO,EACL,QAAQ,EACR,sBAAsB,EACtB,eAAe,EACf,qBAAqB,EACrB,mBAAmB,GAIpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,oBAAoB,EACpB,4BAA4B,EAC5B,yBAAyB,GAC1B,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAClE,OAAO,EACL,yBAAyB,EACzB,qBAAqB,GACtB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,EAAE,WAAW,EAAmB,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EACL,cAAc,GAMf,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,uBAAuB,GAExB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,sBAAsB,GAEvB,MAAM,2BAA2B,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Interceptor } from "@connectrpc/connect";
|
|
2
|
-
import type { TokenProvider } from "../config";
|
|
2
|
+
import type { TokenProvider } from "../config.js";
|
|
3
3
|
/**
|
|
4
4
|
* Create an interceptor that attaches `Authorization: Bearer <token>` to
|
|
5
5
|
* every outgoing request. Supports both static API keys and dynamic token
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interceptors.d.ts","sourceRoot":"","sources":["../../src/internal/interceptors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAC3E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"interceptors.d.ts","sourceRoot":"","sources":["../../src/internal/interceptors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAC3E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAGlD;;;;GAIG;AACH,wBAAgB,qBAAqB,CACnC,cAAc,EAAE,aAAa,GAC5B,WAAW,CAQb;AAED;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,EAAE,WAgBlC,CAAC;AAEJ;;;GAGG;AACH,eAAO,MAAM,qBAAqB,EAAE,WASnC,CAAC;AAEF;;;GAGG;AACH,wBAAgB,6BAA6B,CAC3C,iBAAiB,EAAE,MAAM,IAAI,GAC5B,WAAW,CAiBb"}
|
package/internal/interceptors.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ConnectError, Code } from "@connectrpc/connect";
|
|
2
|
-
import { annotateRpcError } from "../errors";
|
|
2
|
+
import { annotateRpcError } from "../errors.js";
|
|
3
3
|
/**
|
|
4
4
|
* Create an interceptor that attaches `Authorization: Bearer <token>` to
|
|
5
5
|
* every outgoing request. Supports both static API keys and dynamic token
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interceptors.js","sourceRoot":"","sources":["../../src/internal/interceptors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,IAAI,EAAoB,MAAM,qBAAqB,CAAC;AAE3E,OAAO,EAAE,gBAAgB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"interceptors.js","sourceRoot":"","sources":["../../src/internal/interceptors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,IAAI,EAAoB,MAAM,qBAAqB,CAAC;AAE3E,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAEhD;;;;GAIG;AACH,MAAM,UAAU,qBAAqB,CACnC,cAA6B;I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AE,OAAO,EAAE,EAAE;IAC5E,IAAI,CAAC;QACH,OAAO,MAAM,IAAI,CAAC,OAAO,CAAC,CAAC;IAC7B,CAAC;IAAC,OAAO,KAAc,EAAE,CAAC;QACxB,IAAI,KAAK,YAAY,KAAK,IAAI,KAAK,CAAC,OAAO,EAAE,CAAC;YAC5C,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,YAAY,EAAE,EAAE,CAAC,CAAC;QAC1D,CAAC;QACD,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC,CAAC;AAEF;;;GAGG;AACH,MAAM,UAAU,6BAA6B,CAC3C,iBAA6B;IAE7B,IAAI,KAAK,GAAG,KAAK,CAAC;IAClB,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,EAAE;QACjC,IAAI,CAAC;YACH,OAAO,MAAM,IAAI,CAAC,OAAO,CAAC,CAAC;QAC7B,CAAC;QAAC,OAAO,KAAc,EAAE,CAAC;YACxB,IACE,CAAC,KAAK;gBACN,KAAK,YAAY,YAAY;gBAC7B,KAAK,CAAC,IAAI,KAAK,IAAI,CAAC,eAAe,EACnC,CAAC;gBACD,KAAK,GAAG,IAAI,CAAC;gBACb,iBAAiB,EAAE,CAAC;YACtB,CAAC;YACD,MAAM,KAAK,CAAC;QACd,CAAC;IACH,CAAC,CAAC;AACJ,CAAC"}
|
package/node.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Transport } from "@connectrpc/connect";
|
|
2
|
-
import { Stigmer, type TokenProvider } from "./index";
|
|
3
|
-
export { createPlatformClientAuth, PlatformClientAuth, type PlatformClientAuthConfig, type MintUserTokenInput, type MintUserTokenResult, } from "./platform-client-auth";
|
|
2
|
+
import { Stigmer, type TokenProvider } from "./index.js";
|
|
3
|
+
export { createPlatformClientAuth, PlatformClientAuth, type PlatformClientAuthConfig, type MintUserTokenInput, type MintUserTokenResult, } from "./platform-client-auth.js";
|
|
4
4
|
/**
|
|
5
5
|
* Configuration for creating a Node.js-compatible Stigmer client.
|
|
6
6
|
*
|
package/node.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAe,MAAM,qBAAqB,CAAC;AAClE,OAAO,EAAE,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAe,MAAM,qBAAqB,CAAC;AAClE,OAAO,EAAE,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AAOzD,OAAO,EACL,wBAAwB,EACxB,kBAAkB,EAClB,KAAK,wBAAwB,EAC7B,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,GACzB,MAAM,2BAA2B,CAAC;AAEnC;;;;;;GAMG;AACH,MAAM,WAAW,gBAAgB;IAC/B,+DAA+D;IAC/D,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IAEzB,yCAAyC;IACzC,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IAEzB,iDAAiD;IACjD,QAAQ,CAAC,cAAc,CAAC,EAAE,aAAa,CAAC;CACzC;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,gBAAgB,GAAG,SAAS,CAgBvE;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,gBAAgB,GAAG,OAAO,CASlE;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAyBrD"}
|
package/node.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createGrpcWebTransport } from "@connectrpc/connect-node";
|
|
2
|
-
import { Stigmer } from "./index";
|
|
3
|
-
import { createAuthInterceptor, rpcMetadataInterceptor, errorStripInterceptor, } from "./internal/interceptors";
|
|
4
|
-
export { createPlatformClientAuth, PlatformClientAuth, } from "./platform-client-auth";
|
|
2
|
+
import { Stigmer } from "./index.js";
|
|
3
|
+
import { createAuthInterceptor, rpcMetadataInterceptor, errorStripInterceptor, } from "./internal/interceptors.js";
|
|
4
|
+
export { createPlatformClientAuth, PlatformClientAuth, } from "./platform-client-auth.js";
|
|
5
5
|
/**
|
|
6
6
|
* Create a gRPC-web transport for Node.js using native HTTP/2.
|
|
7
7
|
*
|
package/node.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node.js","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAElE,OAAO,EAAE,OAAO,EAAsB,MAAM,
|
|
1
|
+
{"version":3,"file":"node.js","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAElE,OAAO,EAAE,OAAO,EAAsB,MAAM,YAAY,CAAC;AACzD,OAAO,EACL,qBAAqB,EACrB,sBAAsB,EACtB,qBAAqB,GACtB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EACL,wBAAwB,EACxB,kBAAkB,GAInB,MAAM,2BAA2B,CAAC;AAoBnC;;;;;;;;;;;;GAYG;AACH,MAAM,UAAU,mBAAmB,CAAC,MAAwB;IAC1D,MAAM,aAAa,GAAkB,MAAM,CAAC,MAAM;QAChD,CAAC,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,MAAO;QACtB,CAAC,CAAC,MAAM,CAAC,cAAc,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,CAAC;IAE1C,MAAM,YAAY,GAAkB;QAClC,qBAAqB,CAAC,aAAa,CAAC;Q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,CAAC,CAAC,EAAE,CAAC;AACvF,CAAC;AAED,SAAS,cAAc,CAAC,IAAY;IAClC,OAAO,IAAI,KAAK,WAAW,IAAI,IAAI,KAAK,WAAW,IAAI,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,OAAO,CAAC;AAC5F,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stigmer/sdk",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.2",
|
|
4
4
|
"description": "Stigmer TypeScript SDK — typed API client for all Stigmer platform resources",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -44,6 +44,6 @@
|
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"@bufbuild/protobuf": "^2.0.0",
|
|
46
46
|
"@connectrpc/connect-node": "^2.0.0",
|
|
47
|
-
"@stigmer/protos": "3.1.
|
|
47
|
+
"@stigmer/protos": "3.1.2"
|
|
48
48
|
}
|
|
49
49
|
}
|
package/platform-client-auth.js
CHANGED
|
@@ -3,8 +3,8 @@ import { createClient } from "@connectrpc/connect";
|
|
|
3
3
|
import { create } from "@bufbuild/protobuf";
|
|
4
4
|
import { PlatformClientTokenController } from "@stigmer/protos/ai/stigmer/iam/platformclient/v1/token_pb";
|
|
5
5
|
import { MintUserTokenRequestSchema } from "@stigmer/protos/ai/stigmer/iam/platformclient/v1/token_pb";
|
|
6
|
-
import { StigmerError, wrapError } from "./gen/errors";
|
|
7
|
-
import { rpcMetadataInterceptor, errorStripInterceptor, } from "./internal/interceptors";
|
|
6
|
+
import { StigmerError, wrapError } from "./gen/errors.js";
|
|
7
|
+
import { rpcMetadataInterceptor, errorStripInterceptor, } from "./internal/interceptors.js";
|
|
8
8
|
/**
|
|
9
9
|
* PlatformClient token-minting helper.
|
|
10
10
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platform-client-auth.js","sourceRoot":"","sources":["../src/platform-client-auth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,YAAY,EAAe,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,6BAA6B,EAAE,MAAM,2DAA2D,CAAC;AAC1G,OAAO,EAAE,0BAA0B,EAAE,MAAM,2DAA2D,CAAC;AACvG,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"platform-client-auth.js","sourceRoot":"","sources":["../src/platform-client-auth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,YAAY,EAAe,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,6BAA6B,EAAE,MAAM,2DAA2D,CAAC;AAC1G,OAAO,EAAE,0BAA0B,EAAE,MAAM,2DAA2D,CAAC;AACvG,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,EACL,sBAAsB,EACtB,qBAAqB,GACtB,MAAM,4BAA4B,CAAC;AA4EpC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,OAAO,kBAAkB;IACZ,WAAW,CAA+C;IAC1D,QAAQ,CAAS;IACjB,YAAY,CAAS;IAEtC,8DAA8D;IAC9D,YAAY,MAAgC;QAC1C,IAAI,CAAC,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;QAChC,IAAI,CAAC,YAAY,GAAG,MAAM,CAAC,YAAY,CAAC;QAExC,MAAM,SAAS,GAAG,sBAAsB,CAAC;YACvC,OAAO,EAAE,MAAM,CAAC,OAAO;YACvB,WAAW,EAAE,GAAG;YAChB,YAAY,EAAE,CAAC,sBAAsB,EAAE,qBA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,CACnF,CAAC;IACJ,CAAC;IACD,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC;QACrB,MAAM,IAAI,KAAK,CACb,8GAA8G,CAC/G,CAAC;IACJ,CAAC;IACD,IAAI,CAAC,MAAM,CAAC,YAAY,EAAE,CAAC;QACzB,MAAM,IAAI,KAAK,CACb,kGAAkG;YAChG,mDAAmD,CACtD,CAAC;IACJ,CAAC;IAED,OAAO,IAAI,kBAAkB,CAAC,MAAM,CAAC,CAAC;AACxC,CAAC"}
|
package/platform.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type Transport } from "@connectrpc/connect";
|
|
2
2
|
import { ServerEdition } from "@stigmer/protos/ai/stigmer/platform/v1/server_info_pb";
|
|
3
|
-
import type { DeploymentMode } from "./resource-availability";
|
|
3
|
+
import type { DeploymentMode } from "./resource-availability.js";
|
|
4
4
|
/** Server identity information returned by {@link PlatformClient.getServerInfo}. */
|
|
5
5
|
export interface ServerInfo {
|
|
6
6
|
/** Server edition mapped to a {@link DeploymentMode}. */
|
package/platform.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platform.d.ts","sourceRoot":"","sources":["../src/platform.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhF,OAAO,EAGL,aAAa,EACd,MAAM,uDAAuD,CAAC;AAG/D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"platform.d.ts","sourceRoot":"","sources":["../src/platform.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhF,OAAO,EAGL,aAAa,EACd,MAAM,uDAAuD,CAAC;AAG/D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAEjE,oFAAoF;AACpF,MAAM,WAAW,UAAU;IACzB,yDAAyD;IACzD,QAAQ,CAAC,cAAc,EAAE,cAAc,CAAC;IACxC,qCAAqC;IACrC,QAAQ,CAAC,OAAO,EAAE,aAAa,CAAC;IAChC,6CAA6C;IAC7C,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED;;;;;;GAMG;AACH,qBAAa,cAAc;IACzB,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAyC;gBAEtD,SAAS,EAAE,SAAS;IAIhC;;;;;;;OAOG;IACG,aAAa,IAAI,OAAO,CAAC,UAAU,CAAC;CAc3C"}
|
package/platform.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createClient } from "@connectrpc/connect";
|
|
2
2
|
import { create } from "@bufbuild/protobuf";
|
|
3
3
|
import { GetServerInfoInputSchema, PlatformQueryController, ServerEdition, } from "@stigmer/protos/ai/stigmer/platform/v1/server_info_pb";
|
|
4
|
-
import { wrapError } from "./gen/errors";
|
|
4
|
+
import { wrapError } from "./gen/errors.js";
|
|
5
5
|
/**
|
|
6
6
|
* Client for platform-level queries (server info, capabilities).
|
|
7
7
|
*
|
package/platform.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platform.js","sourceRoot":"","sources":["../src/platform.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAA+B,MAAM,qBAAqB,CAAC;AAChF,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EACL,wBAAwB,EACxB,uBAAuB,EACvB,aAAa,GACd,MAAM,uDAAuD,CAAC;AAE/D,OAAO,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"platform.js","sourceRoot":"","sources":["../src/platform.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAA+B,MAAM,qBAAqB,CAAC;AAChF,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EACL,wBAAwB,EACxB,uBAAuB,EACvB,aAAa,GACd,MAAM,uDAAuD,CAAC;AAE/D,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAa5C;;;;;;GAMG;AACH,MAAM,OAAO,cAAc;IACR,QAAQ,CAAyC;IAElE,YAAY,SAAoB;QAC9B,IAAI,CAAC,QAAQ,GAAG,YAAY,CAAC,uBAAuB,EAAE,SAAS,CAAC,CAAC;IACnE,CAAC;IAED;;;;;;;OAOG;IACH,KAAK,CAAC,aAAa;QACjB,IAAI,CAAC;YACH,MAAM,IAAI,GAAwB,MAAM,IAAI,CAAC,QAAQ,CAAC,aAAa,CACjE,MAAM,CAAC,wBAAwB,EAAE,EAAE,CAAC,CACrC,CAAC;YACF,OAAO;gBACL,cAAc,EAAE,IAAI,CAAC,OAAO,KAAK,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO;gBACtE,OAAO,EAAE,IAAI,CAAC,OAAO;gBACrB,OAAO,EAAE,IAAI,CAAC,OAAO;aACtB,CAAC;QACJ,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,MAAM,SAAS,CAAC,CAAC,CAAC,CAAC;QACrB,CAAC;IACH,CAAC;CACF"}
|
package/resource-availability.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource-availability.js","sourceRoot":"","sources":["../src/resource-availability.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"resource-availability.js","sourceRoot":"","sources":["../src/resource-availability.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAYlE;;;;;;GAMG;AACH,MAAM,UAAU,mBAAmB,CACjC,IAAqB,EACrB,IAAoB;IAEpB,IAAI,IAAI,KAAK,OAAO;QAAE,OAAO,IAAI,CAAC;IAClC,OAAO,CAAC,gBAAgB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;AACrC,CAAC"}
|
package/search.js
CHANGED
|
@@ -4,7 +4,7 @@ import { SearchService } from "@stigmer/protos/ai/stigmer/search/v1/query_pb";
|
|
|
4
4
|
import { SearchRequestSchema } from "@stigmer/protos/ai/stigmer/search/v1/io_pb";
|
|
5
5
|
import { PageInfoSchema } from "@stigmer/protos/ai/stigmer/commons/rpc/pagination_pb";
|
|
6
6
|
import { ApiResourceKind } from "@stigmer/protos/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb";
|
|
7
|
-
import { wrapError } from "./gen/errors";
|
|
7
|
+
import { wrapError } from "./gen/errors.js";
|
|
8
8
|
/** Re-export ApiResourceKind for use with SearchClient. */
|
|
9
9
|
export { ApiResourceKind };
|
|
10
10
|
/**
|
package/search.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search.js","sourceRoot":"","sources":["../src/search.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAA+B,MAAM,qBAAqB,CAAC;AAChF,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,+CAA+C,CAAC;AAC9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,4CAA4C,CAAC;AACjF,OAAO,EAAE,cAAc,EAAE,MAAM,sDAAsD,CAAC;AACtF,OAAO,EAAE,eAAe,EAAE,MAAM,qFAAqF,CAAC;AAEtH,OAAO,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"search.js","sourceRoot":"","sources":["../src/search.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAA+B,MAAM,qBAAqB,CAAC;AAChF,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,+CAA+C,CAAC;AAC9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,4CAA4C,CAAC;AACjF,OAAO,EAAE,cAAc,EAAE,MAAM,sDAAsD,CAAC;AACtF,OAAO,EAAE,eAAe,EAAE,MAAM,qFAAqF,CAAC;AAEtH,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C,2DAA2D;AAC3D,OAAO,EAAE,eAAe,EAAE,CAAC;AAuB3B;;;;;;GAMG;AACH,MAAM,OAAO,YAAY;IACN,MAAM,CAA+B;IAEtD,YAAY,SAAoB;QAC9B,IAAI,CAAC,MAAM,GAAG,YAAY,CAAC,aAAa,EAAE,SAAS,CAAC,CAAC;IACvD,CAAC;IAED,uCAAuC;IACvC,KAAK,CAAC,KAAK,CAAC,MAAoB;QAC9B,IAAI,CAAC;YACH,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,MAAM,CACnC,MAAM,CAAC,mBAAmB,EAAE;gBAC1B,KAAK,EAAE,MAAM,CAAC,KAAK;gBACnB,KAAK,EAAE,MAAM,CAAC,KAAK;gBACnB,GAAG,EAAE,MAAM,CAAC,GAAG;gBACf,aAAa,EAAE,MAAM,CAAC,aAAa,IAAI,KAAK;gBAC5C,IAAI,EAAE,MAAM,CAAC,IAAI;oBACf,CAAC,CAAC,MAAM,CAAC,cAAc,EAAE,MAAM,CAAC,IAAI,CAAC;oBACrC,CAAC,CAAC,SAAS;aACd,CAAC,CACH,CAAC;YACF,OAAO;gBACL,OAAO,EAAE,IAAI,CAAC,OAAO;gBACrB,UAAU,EAAE,IAAI,CAAC,UAAU;gBAC3B,UAAU,EAAE,IAAI,CAAC,UAAU;aAC5B,CAAC;QACJ,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,MAAM,SAAS,CAAC,CAAC,CAAC,CAAC;QACrB,CAAC;IACH,CAAC;CACF"}
|
package/src/activity.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { create } from "@bufbuild/protobuf";
|
|
|
3
3
|
import { ActivityQueryController } from "@stigmer/protos/ai/stigmer/activity/v1/query_pb";
|
|
4
4
|
import { ListRecentActivityRequestSchema } from "@stigmer/protos/ai/stigmer/activity/v1/io_pb";
|
|
5
5
|
import type { RecentActivityEntry } from "@stigmer/protos/ai/stigmer/activity/v1/io_pb";
|
|
6
|
-
import { wrapError } from "./gen/errors";
|
|
6
|
+
import { wrapError } from "./gen/errors.js";
|
|
7
7
|
|
|
8
8
|
export type { RecentActivityEntry };
|
|
9
9
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ApiResourceKind } from "@stigmer/protos/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb";
|
|
2
2
|
import { IamRole } from "@stigmer/protos/ai/stigmer/iam/v1/enum_pb";
|
|
3
|
-
import { GRANTABLE_ROLES } from "./gen/authorization-config";
|
|
3
|
+
import { GRANTABLE_ROLES } from "./gen/authorization-config.js";
|
|
4
4
|
|
|
5
5
|
const EMPTY_ROLES: readonly IamRole[] = Object.freeze([]);
|
|
6
6
|
|
package/src/billing.ts
CHANGED
|
@@ -22,7 +22,7 @@ import type { BillingAccount, CreditBalance } from "@stigmer/protos/ai/stigmer/b
|
|
|
22
22
|
import type { LedgerEntryType, LedgerView } from "@stigmer/protos/ai/stigmer/billing/v1/enum_pb";
|
|
23
23
|
import { PageInfoSchema } from "@stigmer/protos/ai/stigmer/commons/rpc/pagination_pb";
|
|
24
24
|
import { timestampFromDate } from "@bufbuild/protobuf/wkt";
|
|
25
|
-
import { wrapError } from "./gen/errors";
|
|
25
|
+
import { wrapError } from "./gen/errors.js";
|
|
26
26
|
|
|
27
27
|
/** Parameters for creating a Stripe Checkout Session. */
|
|
28
28
|
export interface CreateCheckoutSessionParams {
|
package/src/errors.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ConnectError, Code } from "@connectrpc/connect";
|
|
2
|
-
import { StigmerError, type ErrorCode } from "./gen/errors";
|
|
2
|
+
import { StigmerError, type ErrorCode } from "./gen/errors.js";
|
|
3
3
|
|
|
4
4
|
// Re-export generated error types
|
|
5
5
|
export {
|
|
@@ -10,7 +10,7 @@ export {
|
|
|
10
10
|
isUnauthenticated,
|
|
11
11
|
isPermissionDenied,
|
|
12
12
|
isRetryable,
|
|
13
|
-
} from "./gen/errors";
|
|
13
|
+
} from "./gen/errors.js";
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Coarse-grained error categories derived from gRPC/Connect status codes.
|
package/src/gen/agent.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 { AgentSchema, type Agent } from "@stigmer/protos/ai/stigmer/agentic/agent/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 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, type JsonObject } from "@bufbuild/protobuf";
|
|
7
7
|
import { createClient, type Client, type Transport } from "@connectrpc/connect";
|
|
8
8
|
import { AgentExecutionSchema, type AgentExecution } from "@stigmer/protos/ai/stigmer/agentic/agentexecution/v1/api_pb";
|
|
@@ -196,6 +196,7 @@ export interface ExecutionConfigInput {
|
|
|
196
196
|
maxCostUsd?: number;
|
|
197
197
|
interactionMode?: InteractionMode;
|
|
198
198
|
structuredOutputSchema?: JsonObject;
|
|
199
|
+
buildFromPlan?: boolean;
|
|
199
200
|
}
|
|
200
201
|
|
|
201
202
|
/** SDK input type for ContextManagementConfig. */
|
|
@@ -232,6 +233,7 @@ function buildExecutionConfigProto(input: ExecutionConfigInput) {
|
|
|
232
233
|
if (input.maxCostUsd !== undefined) msg.maxCostUsd = input.maxCostUsd;
|
|
233
234
|
if (input.interactionMode !== undefined) msg.interactionMode = input.interactionMode;
|
|
234
235
|
if (input.structuredOutputSchema !== undefined) msg.structuredOutputSchema = input.structuredOutputSchema;
|
|
236
|
+
if (input.buildFromPlan !== undefined) msg.buildFromPlan = input.buildFromPlan;
|
|
235
237
|
return msg;
|
|
236
238
|
}
|
|
237
239
|
|
package/src/gen/agentinstance.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 { AgentInstanceSchema, type AgentInstance } from "@stigmer/protos/ai/stigmer/agentic/agentinstance/v1/api_pb";
|
package/src/gen/apikey.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 { EmptySchema } from "@bufbuild/protobuf/wkt";
|
|
7
7
|
import { createClient, type Client, type Transport } from "@connectrpc/connect";
|
package/src/gen/artifact.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 { ArtifactSchema, type Artifact } from "@stigmer/protos/ai/stigmer/agentic/artifact/v1/api_pb";
|
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";
|