@stigmer/protos 3.12.0 → 3.12.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/ai/stigmer/agentic/agent/v1/api_pb.d.ts +0 -1
- package/ai/stigmer/agentic/agent/v1/api_pb.js.map +1 -1
- package/ai/stigmer/agentic/agent/v1/spec_pb.d.ts +17 -9
- package/ai/stigmer/agentic/agent/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/api_pb.d.ts +6 -14
- package/ai/stigmer/agentic/agentexecution/v1/api_pb.js +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/api_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/approval_pb.d.ts +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/command_connect.d.ts +2 -2
- package/ai/stigmer/agentic/agentexecution/v1/command_connect.js +2 -2
- package/ai/stigmer/agentic/agentexecution/v1/command_pb.d.ts +2 -2
- package/ai/stigmer/agentic/agentexecution/v1/context_pb.d.ts +0 -135
- package/ai/stigmer/agentic/agentexecution/v1/context_pb.js +3 -13
- package/ai/stigmer/agentic/agentexecution/v1/context_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/message_pb.d.ts +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/spec_pb.d.ts +20 -5
- package/ai/stigmer/agentic/agentexecution/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentinstance/v1/api_pb.d.ts +0 -1
- package/ai/stigmer/agentic/agentinstance/v1/api_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentinstance/v1/command_connect.d.ts +8 -0
- package/ai/stigmer/agentic/agentinstance/v1/command_connect.js +8 -0
- package/ai/stigmer/agentic/agentinstance/v1/command_connect.js.map +1 -1
- package/ai/stigmer/agentic/agentinstance/v1/command_pb.d.ts +8 -0
- package/ai/stigmer/agentic/agentinstance/v1/command_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentshare/v1/spec_pb.d.ts +8 -2
- package/ai/stigmer/agentic/agentshare/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/artifact/v1/api_pb.d.ts +1 -1
- package/ai/stigmer/agentic/artifact/v1/command_connect.d.ts +1 -1
- package/ai/stigmer/agentic/artifact/v1/command_connect.js +1 -1
- package/ai/stigmer/agentic/artifact/v1/command_pb.d.ts +1 -1
- package/ai/stigmer/agentic/artifact/v1/command_pb.js +1 -1
- package/ai/stigmer/agentic/artifact/v1/io_pb.d.ts +1 -1
- package/ai/stigmer/agentic/artifact/v1/spec_pb.d.ts +1 -1
- package/ai/stigmer/agentic/environment/v1/api_pb.d.ts +0 -1
- package/ai/stigmer/agentic/environment/v1/api_pb.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/command_connect.d.ts +14 -3
- package/ai/stigmer/agentic/mcpserver/v1/command_connect.js +14 -3
- package/ai/stigmer/agentic/mcpserver/v1/command_connect.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/command_pb.d.ts +14 -3
- package/ai/stigmer/agentic/mcpserver/v1/command_pb.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/io_pb.d.ts +2 -2
- package/ai/stigmer/agentic/mcpserver/v1/oauth_pb.d.ts +6 -0
- package/ai/stigmer/agentic/mcpserver/v1/oauth_pb.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/query_connect.d.ts +12 -0
- package/ai/stigmer/agentic/mcpserver/v1/query_connect.js +12 -0
- package/ai/stigmer/agentic/mcpserver/v1/query_connect.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/query_pb.d.ts +12 -0
- package/ai/stigmer/agentic/mcpserver/v1/query_pb.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/spec_pb.d.ts +20 -7
- package/ai/stigmer/agentic/mcpserver/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/status_pb.d.ts +38 -25
- package/ai/stigmer/agentic/mcpserver/v1/status_pb.js +10 -3
- package/ai/stigmer/agentic/mcpserver/v1/status_pb.js.map +1 -1
- package/ai/stigmer/agentic/session/v1/workspace_pb.d.ts +8 -5
- package/ai/stigmer/agentic/session/v1/workspace_pb.js.map +1 -1
- package/ai/stigmer/agentic/skill/v1/query_connect.d.ts +1 -1
- package/ai/stigmer/agentic/skill/v1/query_connect.js +1 -1
- package/ai/stigmer/agentic/skill/v1/query_pb.d.ts +1 -1
- package/ai/stigmer/agentic/workflow/v1/api_pb.d.ts +0 -1
- package/ai/stigmer/agentic/workflow/v1/api_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/tasks/agent_call_pb.d.ts +1 -1
- package/ai/stigmer/agentic/workflowexecution/v1/api_pb.d.ts +4 -4
- package/ai/stigmer/agentic/workflowexecution/v1/command_connect.d.ts +1 -1
- package/ai/stigmer/agentic/workflowexecution/v1/command_connect.js +1 -1
- package/ai/stigmer/agentic/workflowexecution/v1/command_pb.d.ts +1 -1
- package/ai/stigmer/agentic/workflowexecution/v1/event_pb.d.ts +6 -6
- package/ai/stigmer/agentic/workflowexecution/v1/io_pb.d.ts +2 -2
- package/ai/stigmer/agentic/workflowexecution/v1/spec_pb.d.ts +20 -14
- package/ai/stigmer/agentic/workflowexecution/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/commons/apiresource/metadata_pb.d.ts +8 -0
- package/ai/stigmer/commons/apiresource/metadata_pb.js.map +1 -1
- package/ai/stigmer/iam/platformclient/v1/token_pb.d.ts +19 -8
- package/ai/stigmer/iam/platformclient/v1/token_pb.js.map +1 -1
- package/ai/stigmer/platform/cursoraccount/v1/io_pb.d.ts +0 -10
- package/ai/stigmer/platform/cursoraccount/v1/io_pb.js +1 -1
- package/ai/stigmer/platform/cursoraccount/v1/io_pb.js.map +1 -1
- package/grpc/health/v1/health_connect.d.ts +75 -0
- package/grpc/health/v1/health_connect.js +97 -0
- package/grpc/health/v1/health_connect.js.map +1 -0
- package/grpc/health/v1/health_pb.d.ts +157 -0
- package/grpc/health/v1/health_pb.js +75 -0
- package/grpc/health/v1/health_pb.js.map +1 -0
- package/package.json +1 -1
|
@@ -17,7 +17,7 @@ export const file_ai_stigmer_agentic_artifact_v1_command = /*@__PURE__*/ fileDes
|
|
|
17
17
|
* @internal
|
|
18
18
|
* Follows the Command-Query Separation (CQS) pattern.
|
|
19
19
|
*
|
|
20
|
-
* These RPCs are system-level — used by the
|
|
20
|
+
* These RPCs are system-level — used by the runner (stigmer-runner)
|
|
21
21
|
* to persist task outputs. They are NOT exposed to end users or the SDK.
|
|
22
22
|
*
|
|
23
23
|
* Artifact creation flow:
|
|
@@ -64,7 +64,7 @@ export declare const ArtifactListSchema: GenMessage<ArtifactList>;
|
|
|
64
64
|
* CreateArtifactInput provides the data needed to create an artifact.
|
|
65
65
|
*
|
|
66
66
|
* @internal
|
|
67
|
-
* Used by the
|
|
67
|
+
* Used by the runner (stigmer-runner) to persist task outputs.
|
|
68
68
|
* This is a system-level RPC — not exposed to end users or the SDK.
|
|
69
69
|
*
|
|
70
70
|
* The backend:
|
|
@@ -8,7 +8,7 @@ export declare const file_ai_stigmer_agentic_artifact_v1_spec: GenFile;
|
|
|
8
8
|
* ArtifactSpec defines the properties of an artifact provided at creation time.
|
|
9
9
|
*
|
|
10
10
|
* @internal
|
|
11
|
-
* Artifacts are created by the
|
|
11
|
+
* Artifacts are created by the runner when a task
|
|
12
12
|
* produces output that should be persisted outside the execution status
|
|
13
13
|
* snapshot (either because it exceeds the size threshold or because the
|
|
14
14
|
* workflow author explicitly requested artifact persistence).
|
|
@@ -11,7 +11,6 @@ export declare const file_ai_stigmer_agentic_environment_v1_api: GenFile;
|
|
|
11
11
|
* Environment stores configuration and secrets as key-value pairs for runtime use by agents and workflow instances.
|
|
12
12
|
*
|
|
13
13
|
* @internal
|
|
14
|
-
* Uses Graphton configuration for state management.
|
|
15
14
|
*
|
|
16
15
|
* @generated from message ai.stigmer.agentic.environment.v1.Environment
|
|
17
16
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/environment/v1/api_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,8HAA8H;AAC9H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,2CAA2C,EAAE,MAAM,cAAc,CAAC;AAE3E,OAAO,EAAE,4CAA4C,EAAE,MAAM,6CAA6C,CAAC;AAE3G,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AACvG,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAY,aAAa,CAC9E,QAAQ,CAAC,giBAAgiB,EAAE,CAAC,2CAA2C,EAAE,4CAA4C,EAAE,0CAA0C,EAAE,0BAA0B,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"api_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/environment/v1/api_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,8HAA8H;AAC9H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,2CAA2C,EAAE,MAAM,cAAc,CAAC;AAE3E,OAAO,EAAE,4CAA4C,EAAE,MAAM,6CAA6C,CAAC;AAE3G,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AACvG,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAY,aAAa,CAC9E,QAAQ,CAAC,giBAAgiB,EAAE,CAAC,2CAA2C,EAAE,4CAA4C,EAAE,0CAA0C,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAiDltB;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAA4B,aAAa,CACrE,WAAW,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -123,12 +123,13 @@ export declare const McpServerCommandController: {
|
|
|
123
123
|
* @internal
|
|
124
124
|
* Typical flows:
|
|
125
125
|
* - Web console: user clicks Connect, backend resolves env vars from the
|
|
126
|
-
* user's personal environment, starts a Temporal workflow on the
|
|
126
|
+
* user's personal environment, starts a Temporal workflow on the runner
|
|
127
|
+
* (stigmer-runner).
|
|
127
128
|
* - CLI: `stigmer discover mcp-server <name>` calls connect with runtime_env
|
|
128
129
|
* populated from local env vars, delegating discovery to the backend.
|
|
129
|
-
* -
|
|
130
|
+
* - Runner backfill: the runner calls connect on first use when
|
|
130
131
|
* status.discovered_capabilities is empty, passing runtime_env from the
|
|
131
|
-
* execution context.
|
|
132
|
+
* execution context (shared/connect-backfill.ts).
|
|
132
133
|
*
|
|
133
134
|
* Errors:
|
|
134
135
|
* - FAILED_PRECONDITION: Required credentials missing from personal environment
|
|
@@ -242,6 +243,11 @@ export declare const McpServerCommandController: {
|
|
|
242
243
|
* Idempotent: if an override already exists for this resource + org, the
|
|
243
244
|
* existing OAuthApp is updated with the new credentials.
|
|
244
245
|
*
|
|
246
|
+
* Edition scoping: hosted-only. UNIMPLEMENTED on the OSS server by
|
|
247
|
+
* design, as one capability with getOrgOAuthApp and deleteOrgOAuthApp —
|
|
248
|
+
* see the full scoping note on McpServerQueryController.getOrgOAuthApp,
|
|
249
|
+
* the RPC clients probe.
|
|
250
|
+
*
|
|
245
251
|
* @internal
|
|
246
252
|
* Authorization: Requires can_create_oauth_app permission on the organization.
|
|
247
253
|
* This is an org-admin operation — setting credentials that affect all users
|
|
@@ -267,6 +273,11 @@ export declare const McpServerCommandController: {
|
|
|
267
273
|
* was created for it. After this, the resolution chain falls back to
|
|
268
274
|
* the platform default.
|
|
269
275
|
*
|
|
276
|
+
* Edition scoping: hosted-only. UNIMPLEMENTED on the OSS server by
|
|
277
|
+
* design, as one capability with getOrgOAuthApp and setOrgOAuthApp —
|
|
278
|
+
* see the full scoping note on McpServerQueryController.getOrgOAuthApp,
|
|
279
|
+
* the RPC clients probe.
|
|
280
|
+
*
|
|
270
281
|
* Existing user OAuthGrants that were issued using the org's OAuthApp
|
|
271
282
|
* will fail on next token refresh — those users will need to
|
|
272
283
|
* re-authenticate using the platform default or a new org override.
|
|
@@ -131,12 +131,13 @@ export const McpServerCommandController = {
|
|
|
131
131
|
* @internal
|
|
132
132
|
* Typical flows:
|
|
133
133
|
* - Web console: user clicks Connect, backend resolves env vars from the
|
|
134
|
-
* user's personal environment, starts a Temporal workflow on the
|
|
134
|
+
* user's personal environment, starts a Temporal workflow on the runner
|
|
135
|
+
* (stigmer-runner).
|
|
135
136
|
* - CLI: `stigmer discover mcp-server <name>` calls connect with runtime_env
|
|
136
137
|
* populated from local env vars, delegating discovery to the backend.
|
|
137
|
-
* -
|
|
138
|
+
* - Runner backfill: the runner calls connect on first use when
|
|
138
139
|
* status.discovered_capabilities is empty, passing runtime_env from the
|
|
139
|
-
* execution context.
|
|
140
|
+
* execution context (shared/connect-backfill.ts).
|
|
140
141
|
*
|
|
141
142
|
* Errors:
|
|
142
143
|
* - FAILED_PRECONDITION: Required credentials missing from personal environment
|
|
@@ -250,6 +251,11 @@ export const McpServerCommandController = {
|
|
|
250
251
|
* Idempotent: if an override already exists for this resource + org, the
|
|
251
252
|
* existing OAuthApp is updated with the new credentials.
|
|
252
253
|
*
|
|
254
|
+
* Edition scoping: hosted-only. UNIMPLEMENTED on the OSS server by
|
|
255
|
+
* design, as one capability with getOrgOAuthApp and deleteOrgOAuthApp —
|
|
256
|
+
* see the full scoping note on McpServerQueryController.getOrgOAuthApp,
|
|
257
|
+
* the RPC clients probe.
|
|
258
|
+
*
|
|
253
259
|
* @internal
|
|
254
260
|
* Authorization: Requires can_create_oauth_app permission on the organization.
|
|
255
261
|
* This is an org-admin operation — setting credentials that affect all users
|
|
@@ -275,6 +281,11 @@ export const McpServerCommandController = {
|
|
|
275
281
|
* was created for it. After this, the resolution chain falls back to
|
|
276
282
|
* the platform default.
|
|
277
283
|
*
|
|
284
|
+
* Edition scoping: hosted-only. UNIMPLEMENTED on the OSS server by
|
|
285
|
+
* design, as one capability with getOrgOAuthApp and setOrgOAuthApp —
|
|
286
|
+
* see the full scoping note on McpServerQueryController.getOrgOAuthApp,
|
|
287
|
+
* the RPC clients probe.
|
|
288
|
+
*
|
|
278
289
|
* Existing user OAuthGrants that were issued using the org's OAuthApp
|
|
279
290
|
* will fail on next token refresh — those users will need to
|
|
280
291
|
* re-authenticate using the platform default or a new org override.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/mcpserver/v1/command_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,8HAA8H;AAC9H,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AACrG,OAAO,EAAE,yBAAyB,EAAE,0BAA0B,EAAE,YAAY,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,0BAA0B,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEhS;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,QAAQ,EAAE,4DAA4D;IACtE,OAAO,EAAE;QACP;;;;;;;;;;;;;WAaG;QACH,KAAK,EAAE;YACL,IAAI,EAAE,OAAO;YACb,CAAC,EAAE,SAAS;YACZ,CAAC,EAAE,SAAS;YACZ,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;WAcG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,SAAS;YACZ,CAAC,EAAE,SAAS;YACZ,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;WAWG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,SAAS;YACZ,CAAC,EAAE,SAAS;YACZ,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;WAcG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,sBAAsB;YACzB,CAAC,EAAE,SAAS;YACZ,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;WAUG;QACH,gBAAgB,EAAE;YAChB,IAAI,EAAE,kBAAkB;YACxB,CAAC,EAAE,qBAAqB;YACxB,CAAC,EAAE,SAAS;YACZ,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD
|
|
1
|
+
{"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/mcpserver/v1/command_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,8HAA8H;AAC9H,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AACrG,OAAO,EAAE,yBAAyB,EAAE,0BAA0B,EAAE,YAAY,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,0BAA0B,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEhS;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,QAAQ,EAAE,4DAA4D;IACtE,OAAO,EAAE;QACP;;;;;;;;;;;;;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5B,CAAC,EAAE,0BAA0B;YAC7B,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;WAoBG;QACH,eAAe,EAAE;YACf,IAAI,EAAE,iBAAiB;YACvB,CAAC,EAAE,oBAAoB;YACvB,CAAC,EAAE,qBAAqB;YACxB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;;;;;;;WA0BG;QACH,cAAc,EAAE;YACd,IAAI,EAAE,gBAAgB;YACtB,CAAC,EAAE,mBAAmB;YACtB,CAAC,EAAE,oBAAoB;YACvB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;;;;;WAwBG;QACH,iBAAiB,EAAE;YACjB,IAAI,EAAE,mBAAmB;YACzB,CAAC,EAAE,sBAAsB;YACzB,CAAC,EAAE,uBAAuB;YAC1B,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
|
|
@@ -124,12 +124,13 @@ export declare const McpServerCommandController: GenService<{
|
|
|
124
124
|
* @internal
|
|
125
125
|
* Typical flows:
|
|
126
126
|
* - Web console: user clicks Connect, backend resolves env vars from the
|
|
127
|
-
* user's personal environment, starts a Temporal workflow on the
|
|
127
|
+
* user's personal environment, starts a Temporal workflow on the runner
|
|
128
|
+
* (stigmer-runner).
|
|
128
129
|
* - CLI: `stigmer discover mcp-server <name>` calls connect with runtime_env
|
|
129
130
|
* populated from local env vars, delegating discovery to the backend.
|
|
130
|
-
* -
|
|
131
|
+
* - Runner backfill: the runner calls connect on first use when
|
|
131
132
|
* status.discovered_capabilities is empty, passing runtime_env from the
|
|
132
|
-
* execution context.
|
|
133
|
+
* execution context (shared/connect-backfill.ts).
|
|
133
134
|
*
|
|
134
135
|
* Errors:
|
|
135
136
|
* - FAILED_PRECONDITION: Required credentials missing from personal environment
|
|
@@ -239,6 +240,11 @@ export declare const McpServerCommandController: GenService<{
|
|
|
239
240
|
* Idempotent: if an override already exists for this resource + org, the
|
|
240
241
|
* existing OAuthApp is updated with the new credentials.
|
|
241
242
|
*
|
|
243
|
+
* Edition scoping: hosted-only. UNIMPLEMENTED on the OSS server by
|
|
244
|
+
* design, as one capability with getOrgOAuthApp and deleteOrgOAuthApp —
|
|
245
|
+
* see the full scoping note on McpServerQueryController.getOrgOAuthApp,
|
|
246
|
+
* the RPC clients probe.
|
|
247
|
+
*
|
|
242
248
|
* @internal
|
|
243
249
|
* Authorization: Requires can_create_oauth_app permission on the organization.
|
|
244
250
|
* This is an org-admin operation — setting credentials that affect all users
|
|
@@ -263,6 +269,11 @@ export declare const McpServerCommandController: GenService<{
|
|
|
263
269
|
* was created for it. After this, the resolution chain falls back to
|
|
264
270
|
* the platform default.
|
|
265
271
|
*
|
|
272
|
+
* Edition scoping: hosted-only. UNIMPLEMENTED on the OSS server by
|
|
273
|
+
* design, as one capability with getOrgOAuthApp and setOrgOAuthApp —
|
|
274
|
+
* see the full scoping note on McpServerQueryController.getOrgOAuthApp,
|
|
275
|
+
* the RPC clients probe.
|
|
276
|
+
*
|
|
266
277
|
* Existing user OAuthGrants that were issued using the org's OAuthApp
|
|
267
278
|
* will fail on next token refresh — those users will need to
|
|
268
279
|
* re-authenticate using the platform default or a new org override.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/mcpserver/v1/command_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,8HAA8H;AAC9H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,wCAAwC,EAAE,MAAM,aAAa,CAAC;AAEvE,OAAO,EAAE,uCAAuC,EAAE,MAAM,YAAY,CAAC;AAErE,OAAO,EAAE,sCAAsC,EAAE,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,uDAAuD,EAAE,MAAM,wDAAwD,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAAY,aAAa,CAChF,QAAQ,CAAC,8qFAA8qF,EAAE,CAAC,wCAAwC,EAAE,uCAAuC,EAAE,sCAAsC,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAE75F;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,0BAA0B,
|
|
1
|
+
{"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/mcpserver/v1/command_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,8HAA8H;AAC9H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,wCAAwC,EAAE,MAAM,aAAa,CAAC;AAEvE,OAAO,EAAE,uCAAuC,EAAE,MAAM,YAAY,CAAC;AAErE,OAAO,EAAE,sCAAsC,EAAE,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,uDAAuD,EAAE,MAAM,wDAAwD,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAAY,aAAa,CAChF,QAAQ,CAAC,8qFAA8qF,EAAE,CAAC,wCAAwC,EAAE,uCAAuC,EAAE,sCAAsC,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAE75F;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAgRlC,aAAa,CAChB,WAAW,CAAC,4CAA4C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -34,7 +34,7 @@ export declare const McpServerIdSchema: GenMessage<McpServerId>;
|
|
|
34
34
|
* Triggers server-side MCP discovery and tool approval classification:
|
|
35
35
|
* the backend creates an ephemeral ExecutionContext with the resolved
|
|
36
36
|
* environment variables, starts a Temporal workflow that connects to the
|
|
37
|
-
* MCP server (via the
|
|
37
|
+
* MCP server (via the runner), enumerates tools and resource
|
|
38
38
|
* templates, classifies tool approval policies, and stores the results
|
|
39
39
|
* in status.discovered_capabilities and status.tool_approvals.
|
|
40
40
|
*
|
|
@@ -47,7 +47,7 @@ export declare const McpServerIdSchema: GenMessage<McpServerId>;
|
|
|
47
47
|
* Callers:
|
|
48
48
|
* - Web console: calls connect after saving credentials to personal environment.
|
|
49
49
|
* - CLI: calls connect with runtime_env populated from local env vars.
|
|
50
|
-
* -
|
|
50
|
+
* - Runner backfill: calls connect with runtime_env from execution context
|
|
51
51
|
* when status.discovered_capabilities is empty on first agent execution.
|
|
52
52
|
*
|
|
53
53
|
* Prerequisites:
|
|
@@ -147,6 +147,12 @@ export declare const OAuthGrantSchema: GenMessage<OAuthGrant>;
|
|
|
147
147
|
* 2. McpServerAuth.oauth_app_ref on the resource spec — platform default
|
|
148
148
|
* 3. None — no OAuth app available (manual token or DCR only)
|
|
149
149
|
*
|
|
150
|
+
* Edition scoping: the override binding — and the whole resolution chain
|
|
151
|
+
* above it — exists only on the hosted platform. OSS resolves the
|
|
152
|
+
* oauth_app_ref directly against its flat OAuthApp store (the ref IS the
|
|
153
|
+
* whole resolution) and answers UNIMPLEMENTED for the org-OAuth-app RPCs;
|
|
154
|
+
* see McpServerQueryController.getOrgOAuthApp for the contract.
|
|
155
|
+
*
|
|
150
156
|
* The override is resource-agnostic: currently used for MCP servers, but the
|
|
151
157
|
* composite key supports any API resource kind that needs BYOA (e.g., workflows).
|
|
152
158
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oauth_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/mcpserver/v1/oauth_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,4HAA4H;AAC5H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAGrE;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAY,aAAa,CAC9E,QAAQ,CAAC,0nBAA0nB,CAAC,CAAC;AA8HvoB;;;GAGG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAA2B,aAAa,CACnE,WAAW,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"oauth_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/mcpserver/v1/oauth_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,4HAA4H;AAC5H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAGrE;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAY,aAAa,CAC9E,QAAQ,CAAC,0nBAA0nB,CAAC,CAAC;AA8HvoB;;;GAGG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAA2B,aAAa,CACnE,WAAW,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAC;AA2E7D;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAiC,aAAa,CAC/E,WAAW,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -76,6 +76,18 @@ export declare const McpServerQueryController: {
|
|
|
76
76
|
* exposing secrets. The frontend uses this to show which credential
|
|
77
77
|
* source is active and to offer override management options to org admins.
|
|
78
78
|
*
|
|
79
|
+
* Edition scoping: hosted-only, together with setOrgOAuthApp and
|
|
80
|
+
* deleteOrgOAuthApp — the three org-OAuth-app RPCs are ONE capability.
|
|
81
|
+
* The OSS server answers UNIMPLEMENTED for all of them by design: its
|
|
82
|
+
* flat OAuthApp store has no override binding, its OAuth resolution has
|
|
83
|
+
* no override level to consult, and BYOA's clone-from-platform-template
|
|
84
|
+
* model has no template to clone (self-hosted users apply their own
|
|
85
|
+
* OAuthApp and reference it from spec.auth.oauth_app_ref — a strictly
|
|
86
|
+
* more powerful path). Clients probe the capability through THIS RPC:
|
|
87
|
+
* an UNIMPLEMENTED answer means "hide every BYOA affordance" (see the
|
|
88
|
+
* SDK's useOrgOAuthApp.isSupported). Never implement one RPC of the
|
|
89
|
+
* surface without the other two and the client-side gate.
|
|
90
|
+
*
|
|
79
91
|
* @internal
|
|
80
92
|
* Authorization: Requires can_view permission on the mcp_server resource.
|
|
81
93
|
* Any user who can view the MCP server can check whether their org has
|
|
@@ -84,6 +84,18 @@ export const McpServerQueryController = {
|
|
|
84
84
|
* exposing secrets. The frontend uses this to show which credential
|
|
85
85
|
* source is active and to offer override management options to org admins.
|
|
86
86
|
*
|
|
87
|
+
* Edition scoping: hosted-only, together with setOrgOAuthApp and
|
|
88
|
+
* deleteOrgOAuthApp — the three org-OAuth-app RPCs are ONE capability.
|
|
89
|
+
* The OSS server answers UNIMPLEMENTED for all of them by design: its
|
|
90
|
+
* flat OAuthApp store has no override binding, its OAuth resolution has
|
|
91
|
+
* no override level to consult, and BYOA's clone-from-platform-template
|
|
92
|
+
* model has no template to clone (self-hosted users apply their own
|
|
93
|
+
* OAuthApp and reference it from spec.auth.oauth_app_ref — a strictly
|
|
94
|
+
* more powerful path). Clients probe the capability through THIS RPC:
|
|
95
|
+
* an UNIMPLEMENTED answer means "hide every BYOA affordance" (see the
|
|
96
|
+
* SDK's useOrgOAuthApp.isSupported). Never implement one RPC of the
|
|
97
|
+
* surface without the other two and the client-side gate.
|
|
98
|
+
*
|
|
87
99
|
* @internal
|
|
88
100
|
* Authorization: Requires can_view permission on the mcp_server resource.
|
|
89
101
|
* Any user who can view the MCP server can check whether their org has
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/mcpserver/v1/query_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,4HAA4H;AAC5H,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAC3F,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAE3H;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,QAAQ,EAAE,0DAA0D;IACpE,OAAO,EAAE;QACP;;;;;;;;;;;WAWG;QACH,GAAG,EAAE;YACH,IAAI,EAAE,KAAK;YACX,CAAC,EAAE,aAAa;YAChB,CAAC,EAAE,SAAS;YACZ,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;WAWG;QACH,cAAc,EAAE;YACd,IAAI,EAAE,gBAAgB;YACtB,CAAC,EAAE,oBAAoB;YACvB,CAAC,EAAE,SAAS;YACZ,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;WAcG;QACH,mBAAmB,EAAE;YACnB,IAAI,EAAE,qBAAqB;YAC3B,CAAC,EAAE,wBAAwB;YAC3B,CAAC,EAAE,yBAAyB;YAC5B,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD
|
|
1
|
+
{"version":3,"file":"query_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/mcpserver/v1/query_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,4HAA4H;AAC5H,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAC3F,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAE3H;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,QAAQ,EAAE,0DAA0D;IACpE,OAAO,EAAE;QACP;;;;;;;;;;;WAWG;QACH,GAAG,EAAE;YACH,IAAI,EAAE,KAAK;YACX,CAAC,EAAE,aAAa;YAChB,CAAC,EAAE,SAAS;YACZ,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;WAWG;QACH,cAAc,EAAE;YACd,IAAI,EAAE,gBAAgB;YACtB,CAAC,EAAE,oBAAoB;YACvB,CAAC,EAAE,SAAS;YACZ,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;WAcG;QACH,mBAAmB,EAAE;YACnB,IAAI,EAAE,qBAAqB;YAC3B,CAAC,EAAE,wBAAwB;YAC3B,CAAC,EAAE,yBAAyB;YAC5B,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;;;;;;WAyBG;QACH,cAAc,EAAE;YACd,IAAI,EAAE,gBAAgB;YACtB,CAAC,EAAE,mBAAmB;YACtB,CAAC,EAAE,oBAAoB;YACvB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
|
|
@@ -79,6 +79,18 @@ export declare const McpServerQueryController: GenService<{
|
|
|
79
79
|
* exposing secrets. The frontend uses this to show which credential
|
|
80
80
|
* source is active and to offer override management options to org admins.
|
|
81
81
|
*
|
|
82
|
+
* Edition scoping: hosted-only, together with setOrgOAuthApp and
|
|
83
|
+
* deleteOrgOAuthApp — the three org-OAuth-app RPCs are ONE capability.
|
|
84
|
+
* The OSS server answers UNIMPLEMENTED for all of them by design: its
|
|
85
|
+
* flat OAuthApp store has no override binding, its OAuth resolution has
|
|
86
|
+
* no override level to consult, and BYOA's clone-from-platform-template
|
|
87
|
+
* model has no template to clone (self-hosted users apply their own
|
|
88
|
+
* OAuthApp and reference it from spec.auth.oauth_app_ref — a strictly
|
|
89
|
+
* more powerful path). Clients probe the capability through THIS RPC:
|
|
90
|
+
* an UNIMPLEMENTED answer means "hide every BYOA affordance" (see the
|
|
91
|
+
* SDK's useOrgOAuthApp.isSupported). Never implement one RPC of the
|
|
92
|
+
* surface without the other two and the client-side gate.
|
|
93
|
+
*
|
|
82
94
|
* @internal
|
|
83
95
|
* Authorization: Requires can_view permission on the mcp_server resource.
|
|
84
96
|
* Any user who can view the MCP server can check whether their org has
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/mcpserver/v1/query_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,4HAA4H;AAC5H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,wCAAwC,EAAE,MAAM,aAAa,CAAC;AAEvE,OAAO,EAAE,uCAAuC,EAAE,MAAM,YAAY,CAAC;AAErE,OAAO,EAAE,sCAAsC,EAAE,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,uDAAuD,EAAE,MAAM,wDAAwD,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAY,aAAa,CAC9E,QAAQ,CAAC,kjCAAkjC,EAAE,CAAC,wCAAwC,EAAE,uCAAuC,EAAE,sCAAsC,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAEjyC;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,wBAAwB,
|
|
1
|
+
{"version":3,"file":"query_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/mcpserver/v1/query_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,4HAA4H;AAC5H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,wCAAwC,EAAE,MAAM,aAAa,CAAC;AAEvE,OAAO,EAAE,uCAAuC,EAAE,MAAM,YAAY,CAAC;AAErE,OAAO,EAAE,sCAAsC,EAAE,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,uDAAuD,EAAE,MAAM,wDAAwD,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAY,aAAa,CAC9E,QAAQ,CAAC,kjCAAkjC,EAAE,CAAC,wCAAwC,EAAE,uCAAuC,EAAE,sCAAsC,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAEjyC;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAsFhC,aAAa,CAChB,WAAW,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -78,11 +78,19 @@ export type McpServerSpec = Message<"ai.stigmer.agentic.mcpserver.v1.McpServerSp
|
|
|
78
78
|
* Only names from discovered_capabilities.tools are valid here.
|
|
79
79
|
* Do NOT include names from discovered_capabilities.resource_templates —
|
|
80
80
|
* resource templates are read-only data endpoints, not callable tools.
|
|
81
|
-
*
|
|
82
|
-
* is
|
|
83
|
-
*
|
|
84
|
-
*
|
|
85
|
-
*
|
|
81
|
+
*
|
|
82
|
+
* Enforcement is two-layered:
|
|
83
|
+
* - Apply time: mcpserver update/apply rejects (INVALID_ARGUMENT) any
|
|
84
|
+
* name this server's own discovered_capabilities.tools does not
|
|
85
|
+
* contain, with the valid names in the error. Skipped when the server
|
|
86
|
+
* has never been connected (no capabilities yet) — which is always the
|
|
87
|
+
* case on create, so the check only bites from the first re-apply
|
|
88
|
+
* after discovery.
|
|
89
|
+
* - Execution time: the runner enforces the INTERSECTION with the
|
|
90
|
+
* server's live toolset — an unknown name is warned in the runner log
|
|
91
|
+
* and ignored, so a stale entry narrows the toolset but never widens
|
|
92
|
+
* it or fails the run. Enforcement is per harness — see
|
|
93
|
+
* McpServerUsage.enabled_tools in agent/v1/spec.proto.
|
|
86
94
|
*
|
|
87
95
|
* @generated from field: repeated string default_enabled_tools = 7;
|
|
88
96
|
*/
|
|
@@ -116,15 +124,20 @@ export type McpServerSpec = Message<"ai.stigmer.agentic.mcpserver.v1.McpServerSp
|
|
|
116
124
|
[key: string]: EnvVarDeclaration;
|
|
117
125
|
};
|
|
118
126
|
/**
|
|
119
|
-
*
|
|
127
|
+
* Tools pinned by the MCP server owner to always require approval.
|
|
120
128
|
*
|
|
121
129
|
* @internal
|
|
122
130
|
* These take precedence over system-generated `McpServerStatus.tool_approvals`.
|
|
123
131
|
* Never auto-modified — only changed by explicit user action (apply/update).
|
|
124
132
|
*
|
|
133
|
+
* Presence in this list IS the gate: every entry force-requires approval
|
|
134
|
+
* for its tool, overriding the classifier. The field cannot express the
|
|
135
|
+
* opposite direction — a pin can never exempt a tool. To un-gate a tool
|
|
136
|
+
* the classifier flagged, use `Agent.McpServerUsage.tool_approval_overrides`
|
|
137
|
+
* (layer 3 below), whose entries carry a real `requires_approval` boolean.
|
|
138
|
+
*
|
|
125
139
|
* Use cases:
|
|
126
140
|
* - Force approval for a tool the classifier marked as auto-approve
|
|
127
|
-
* - Exempt a safe tool the classifier flagged as needing approval
|
|
128
141
|
* - Establish organization-wide safety policies for dangerous tools
|
|
129
142
|
*
|
|
130
143
|
* Policy chain (lowest to highest priority):
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/mcpserver/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,2HAA2H;AAC3H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,2CAA2C,EAAE,MAAM,iCAAiC,CAAC;AAC9F,OAAO,EAAE,iDAAiD,EAAE,MAAM,kDAAkD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D;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAmC,aAAa,CACnF,WAAW,CAAC,yCAAyC,EAAE,CAAC,CAAC,CAAC;AA6H5D;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAA8B,aAAa,CACzE,WAAW,CAAC,yCAAyC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -17,7 +17,7 @@ export declare const file_ai_stigmer_agentic_mcpserver_v1_status: GenFile;
|
|
|
17
17
|
* 2. Discovered capabilities — the tools and resource templates the MCP server
|
|
18
18
|
* actually provides. Populated by:
|
|
19
19
|
* a. Static seedpack bootstrap (for built-in servers like stigmer-mcp-server)
|
|
20
|
-
* b. The connect RPC — the backend delegates to the
|
|
20
|
+
* b. The connect RPC — the backend delegates to the runner via a Temporal
|
|
21
21
|
* workflow, which connects to the MCP server and enumerates tools/resources.
|
|
22
22
|
* 3. Tool approval policies — system-generated by a lightweight LLM classifier during
|
|
23
23
|
* the connect flow. Manual overrides live in McpServerSpec.pinned_tool_approvals.
|
|
@@ -72,9 +72,9 @@ export type McpServerStatus = Message<"ai.stigmer.agentic.mcpserver.v1.McpServer
|
|
|
72
72
|
toolApprovals: ToolApprovalPolicy[];
|
|
73
73
|
/**
|
|
74
74
|
* OAuth-related enrichment state, populated at query time by the backend.
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
*
|
|
75
|
+
* Carries the vendor approval status resolved from the referenced OAuthApp
|
|
76
|
+
* (fields 1-2; fields 3-4 are never populated — see OAuthStatus).
|
|
77
|
+
* None of these fields are persisted.
|
|
78
78
|
*
|
|
79
79
|
* @generated from field: ai.stigmer.agentic.mcpserver.v1.OAuthStatus oauth_status = 5;
|
|
80
80
|
*/
|
|
@@ -108,7 +108,7 @@ export declare const McpServerStatusSchema: GenMessage<McpServerStatus>;
|
|
|
108
108
|
*
|
|
109
109
|
* Populated by:
|
|
110
110
|
* - Seedpack bootstrap (built-in servers with known, stable tool sets)
|
|
111
|
-
* - The connect RPC (web console, CLI, or
|
|
111
|
+
* - The connect RPC (web console, CLI, or the runner's first-time-use backfill)
|
|
112
112
|
*
|
|
113
113
|
* @generated from message ai.stigmer.agentic.mcpserver.v1.DiscoveredCapabilities
|
|
114
114
|
*/
|
|
@@ -217,17 +217,24 @@ export declare const DiscoveredResourceTemplateSchema: GenMessage<DiscoveredReso
|
|
|
217
217
|
* OAuthStatus holds system-derived OAuth enrichment state for an MCP server.
|
|
218
218
|
*
|
|
219
219
|
* @internal
|
|
220
|
-
* All fields are read-only
|
|
221
|
-
* None are persisted on the McpServer document — they are computed fresh on
|
|
222
|
-
* every get/getByReference response.
|
|
220
|
+
* All fields are read-only and never persisted on the McpServer document.
|
|
223
221
|
*
|
|
224
|
-
* Two categories
|
|
225
|
-
* 1. Vendor approval (fields 1-2):
|
|
226
|
-
*
|
|
227
|
-
*
|
|
228
|
-
*
|
|
229
|
-
*
|
|
230
|
-
* caller's org
|
|
222
|
+
* Two categories, with different production stories:
|
|
223
|
+
* 1. Vendor approval (fields 1-2): populated by the backend enricher on
|
|
224
|
+
* every get/getByReference response, resolved from the referenced
|
|
225
|
+
* OAuthApp. Tells the frontend whether the platform sign-in flow is
|
|
226
|
+
* gated and provides a BYOA documentation link when approval is pending.
|
|
227
|
+
* 2. BYOA resolution (fields 3-4): NEVER POPULATED, by any edition. The
|
|
228
|
+
* resolution is per (server, caller's active org), and the caller's
|
|
229
|
+
* active org is client-side context the read RPCs never carry — get has
|
|
230
|
+
* no org, and getByReference's org is the server's OWNING org (the
|
|
231
|
+
* lookup key), which differs from the caller's org when browsing another
|
|
232
|
+
* org's public server. Resolving against the owning org would misreport
|
|
233
|
+
* exactly the cross-org marketplace flow BYOA exists for. The shared SDK
|
|
234
|
+
* instead derives the signal client-side from the getOrgOAuthApp RPC,
|
|
235
|
+
* keyed on the same org the connect flow uses. The fields are retained
|
|
236
|
+
* for wire compatibility and as the home of this contract note; a future
|
|
237
|
+
* server-side active-org mechanism could legitimately populate them.
|
|
231
238
|
*
|
|
232
239
|
* @generated from message ai.stigmer.agentic.mcpserver.v1.OAuthStatus
|
|
233
240
|
*/
|
|
@@ -251,18 +258,17 @@ export type OAuthStatus = Message<"ai.stigmer.agentic.mcpserver.v1.OAuthStatus">
|
|
|
251
258
|
*/
|
|
252
259
|
vendorApprovalDocsUrl: string;
|
|
253
260
|
/**
|
|
254
|
-
*
|
|
255
|
-
*
|
|
256
|
-
*
|
|
257
|
-
*
|
|
258
|
-
* 3. Neither exists → NONE
|
|
261
|
+
* NEVER POPULATED (see the message comment): the caller's active org is
|
|
262
|
+
* client-side context, so no backend can evaluate the resolution chain at
|
|
263
|
+
* read time. The shared SDK derives this value client-side from the
|
|
264
|
+
* getOrgOAuthApp RPC (useMcpServerCredentials.effectiveOAuthSource).
|
|
259
265
|
*
|
|
260
266
|
* @generated from field: ai.stigmer.agentic.mcpserver.v1.OAuthAppSource effective_oauth_source = 3;
|
|
261
267
|
*/
|
|
262
268
|
effectiveOauthSource: OAuthAppSource;
|
|
263
269
|
/**
|
|
264
|
-
*
|
|
265
|
-
*
|
|
270
|
+
* NEVER POPULATED (see the message comment). The override's OAuthApp ID
|
|
271
|
+
* is available from the getOrgOAuthApp RPC (GetOrgOAuthAppOutput.oauth_app_id).
|
|
266
272
|
*
|
|
267
273
|
* @generated from field: string effective_oauth_app_id = 4;
|
|
268
274
|
*/
|
|
@@ -310,10 +316,17 @@ export declare enum ValidationState {
|
|
|
310
316
|
export declare const ValidationStateSchema: GenEnum<ValidationState>;
|
|
311
317
|
/**
|
|
312
318
|
* OAuthAppSource identifies where the effective OAuth app for an MCP server
|
|
313
|
-
* was resolved from.
|
|
314
|
-
* the frontend which credential source is active for the current org context.
|
|
319
|
+
* was resolved from.
|
|
315
320
|
*
|
|
316
|
-
*
|
|
321
|
+
* The resolution chain is the same one the OAuth connect flow evaluates:
|
|
322
|
+
* 1. OAuthAppOverride for (resource_id, resource_kind, org_id) → ORG_OVERRIDE
|
|
323
|
+
* 2. McpServerAuth.oauth_app_ref → PLATFORM
|
|
324
|
+
* 3. Neither exists → NONE
|
|
325
|
+
*
|
|
326
|
+
* Resolved CLIENT-SIDE by the shared SDK from the getOrgOAuthApp RPC: the
|
|
327
|
+
* resolution is per (server, caller's active org), and the caller's active
|
|
328
|
+
* org is client-side context the read RPCs never carry, so no backend can
|
|
329
|
+
* compute it at enrichment time (see OAuthStatus fields 3-4).
|
|
317
330
|
*
|
|
318
331
|
* @generated from enum ai.stigmer.agentic.mcpserver.v1.OAuthAppSource
|
|
319
332
|
*/
|
|
@@ -73,10 +73,17 @@ export var ValidationState;
|
|
|
73
73
|
export const ValidationStateSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_agentic_mcpserver_v1_status, 0);
|
|
74
74
|
/**
|
|
75
75
|
* OAuthAppSource identifies where the effective OAuth app for an MCP server
|
|
76
|
-
* was resolved from.
|
|
77
|
-
* the frontend which credential source is active for the current org context.
|
|
76
|
+
* was resolved from.
|
|
78
77
|
*
|
|
79
|
-
*
|
|
78
|
+
* The resolution chain is the same one the OAuth connect flow evaluates:
|
|
79
|
+
* 1. OAuthAppOverride for (resource_id, resource_kind, org_id) → ORG_OVERRIDE
|
|
80
|
+
* 2. McpServerAuth.oauth_app_ref → PLATFORM
|
|
81
|
+
* 3. Neither exists → NONE
|
|
82
|
+
*
|
|
83
|
+
* Resolved CLIENT-SIDE by the shared SDK from the getOrgOAuthApp RPC: the
|
|
84
|
+
* resolution is per (server, caller's active org), and the caller's active
|
|
85
|
+
* org is client-side context the read RPCs never carry, so no backend can
|
|
86
|
+
* compute it at enrichment time (see OAuthStatus fields 3-4).
|
|
80
87
|
*
|
|
81
88
|
* @generated from enum ai.stigmer.agentic.mcpserver.v1.OAuthAppSource
|
|
82
89
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"status_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/mcpserver/v1/status_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,6HAA6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2CAA2C,EAAE,CAAC,CAAC,CAAC;AAE3D;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAN,IAAY,cA6BX;AA7BD,WAAY,cAAc;IACxB;;;;OAIG;IACH,mGAAgC,CAAA;IAEhC;;;;OAIG;IACH,6FAA6B,CAAA;IAE7B;;;;OAIG;IACH,qGAAiC,CAAA;IAEjC;;;;;OAKG;IACH,qFAAyB,CAAA;AAC3B,CAAC,EA7BW,cAAc,KAAd,cAAc,QA6BzB;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAA4B,aAAa,CACxE,QAAQ,CAAC,2CAA2C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -86,7 +86,7 @@ export declare const WorkspaceEntrySchema: GenMessage<WorkspaceEntry>;
|
|
|
86
86
|
* and persistent. No copy or clone is made.
|
|
87
87
|
*
|
|
88
88
|
* @internal
|
|
89
|
-
* Deployment constraint: only valid when the
|
|
89
|
+
* Deployment constraint: only valid when the runner is in local mode.
|
|
90
90
|
* Cloud runners reject this at provisioning time with a clear error, the same
|
|
91
91
|
* way GitRepoSource rejects SSH URLs at validation time.
|
|
92
92
|
*
|
|
@@ -112,10 +112,13 @@ export declare const LocalPathSourceSchema: GenMessage<LocalPathSource>;
|
|
|
112
112
|
*
|
|
113
113
|
* @internal
|
|
114
114
|
* Authentication: The provisioner resolves GITHUB_TOKEN from the merged
|
|
115
|
-
* environment (
|
|
116
|
-
*
|
|
117
|
-
*
|
|
118
|
-
*
|
|
115
|
+
* environment (instance environment_refs < ExecutionContext.runtime_env). As a
|
|
116
|
+
* workspace-provisioning key it is re-injected past the Agent.spec.env
|
|
117
|
+
* declared-key filter when the session has git_repo entries, with a fallback
|
|
118
|
+
* to the caller's personal environment (see the agentexecution controller's
|
|
119
|
+
* executionContextBuilder). The token is injected into the clone URL, consumed
|
|
120
|
+
* by provisioning, and stripped before forwarding to the agent runtime (see
|
|
121
|
+
* AD-05). SSH key authentication is a future enhancement.
|
|
119
122
|
*
|
|
120
123
|
* @generated from message ai.stigmer.agentic.session.v1.GitRepoSource
|
|
121
124
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspace_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/session/v1/workspace_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,4HAA4H;AAC5H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,uCAAuC,EAAE,MAAM,cAAc,CAAC;AACvE,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAAY,aAAa,CAChF,QAAQ,CAAC,o+BAAo+B,EAAE,CAAC,uCAAuC,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAmCxjC;;;GAGG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAgC,aAAa,CAC7E,WAAW,CAAC,4CAA4C,EAAE,CAAC,CAAC,CAAC;AAiC/D;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAA+B,aAAa,CAC3E,WAAW,CAAC,4CAA4C,EAAE,CAAC,CAAC,CAAC;AAwB/D;;;GAGG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAgC,aAAa,CAC7E,WAAW,CAAC,4CAA4C,EAAE,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"workspace_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/session/v1/workspace_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,4HAA4H;AAC5H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,uCAAuC,EAAE,MAAM,cAAc,CAAC;AACvE,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAAY,aAAa,CAChF,QAAQ,CAAC,o+BAAo+B,EAAE,CAAC,uCAAuC,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAmCxjC;;;GAGG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAgC,aAAa,CAC7E,WAAW,CAAC,4CAA4C,EAAE,CAAC,CAAC,CAAC;AAiC/D;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAA+B,aAAa,CAC3E,WAAW,CAAC,4CAA4C,EAAE,CAAC,CAAC,CAAC;AAwB/D;;;GAGG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAgC,aAAa,CAC7E,WAAW,CAAC,4CAA4C,EAAE,CAAC,CAAC,CAAC;AAkF/D;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAA8B,aAAa,CACzE,WAAW,CAAC,4CAA4C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -42,7 +42,7 @@ export declare const SkillQueryController: {
|
|
|
42
42
|
* Returns the ZIP file containing SKILL.md and implementation files.
|
|
43
43
|
*
|
|
44
44
|
* @internal
|
|
45
|
-
* Used by the
|
|
45
|
+
* Used by the runner to download and extract skill artifacts into the
|
|
46
46
|
* sandbox at /bin/skills/{version_hash}/. Authorization is skipped as the
|
|
47
47
|
* storage key itself acts as a capability token.
|
|
48
48
|
*
|
|
@@ -50,7 +50,7 @@ export const SkillQueryController = {
|
|
|
50
50
|
* Returns the ZIP file containing SKILL.md and implementation files.
|
|
51
51
|
*
|
|
52
52
|
* @internal
|
|
53
|
-
* Used by the
|
|
53
|
+
* Used by the runner to download and extract skill artifacts into the
|
|
54
54
|
* sandbox at /bin/skills/{version_hash}/. Authorization is skipped as the
|
|
55
55
|
* storage key itself acts as a capability token.
|
|
56
56
|
*
|
|
@@ -46,7 +46,7 @@ export declare const SkillQueryController: GenService<{
|
|
|
46
46
|
* Returns the ZIP file containing SKILL.md and implementation files.
|
|
47
47
|
*
|
|
48
48
|
* @internal
|
|
49
|
-
* Used by the
|
|
49
|
+
* Used by the runner to download and extract skill artifacts into the
|
|
50
50
|
* sandbox at /bin/skills/{version_hash}/. Authorization is skipped as the
|
|
51
51
|
* storage key itself acts as a capability token.
|
|
52
52
|
*
|
|
@@ -11,7 +11,6 @@ export declare const file_ai_stigmer_agentic_workflow_v1_api: GenFile;
|
|
|
11
11
|
* Workflow defines a multi-step task orchestration with sequential, parallel, and conditional execution.
|
|
12
12
|
*
|
|
13
13
|
* @internal
|
|
14
|
-
* Uses Graphton configuration for state management.
|
|
15
14
|
*
|
|
16
15
|
* @generated from message ai.stigmer.agentic.workflow.v1.Workflow
|
|
17
16
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/workflow/v1/api_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,wHAAwH;AACxH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,wCAAwC,EAAE,MAAM,cAAc,CAAC;AAExE,OAAO,EAAE,0CAA0C,EAAE,MAAM,gBAAgB,CAAC;AAE5E,OAAO,EAAE,4CAA4C,EAAE,MAAM,6CAA6C,CAAC;AAC3G,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAY,aAAa,CAC3E,QAAQ,CAAC,6fAA6f,EAAE,CAAC,wCAAwC,EAAE,0CAA0C,EAAE,4CAA4C,EAAE,0BAA0B,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"api_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/workflow/v1/api_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,wHAAwH;AACxH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,wCAAwC,EAAE,MAAM,cAAc,CAAC;AAExE,OAAO,EAAE,0CAA0C,EAAE,MAAM,gBAAgB,CAAC;AAE5E,OAAO,EAAE,4CAA4C,EAAE,MAAM,6CAA6C,CAAC;AAC3G,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAY,aAAa,CAC3E,QAAQ,CAAC,6fAA6f,EAAE,CAAC,wCAAwC,EAAE,0CAA0C,EAAE,4CAA4C,EAAE,0BAA0B,CAAC,CAAC,CAAC;AA8C5qB;;;GAGG;AACH,MAAM,CAAC,MAAM,cAAc,GAAyB,aAAa,CAC/D,WAAW,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -183,7 +183,7 @@ export type AgentCallTaskConfig = Message<"ai.stigmer.agentic.workflow.v1.tasks.
|
|
|
183
183
|
* - HARNESS_UNSPECIFIED / HARNESS_NATIVE: Stigmer native engine (Python/LangGraph)
|
|
184
184
|
* - HARNESS_CURSOR: Cursor SDK engine (TypeScript/Cursor)
|
|
185
185
|
*
|
|
186
|
-
* The
|
|
186
|
+
* The runner creates a Session with this harness before creating
|
|
187
187
|
* the AgentExecution. The harness is a session-level concern — it determines
|
|
188
188
|
* tool availability, state management, model access, and billing tier.
|
|
189
189
|
*
|