@stigmer/protos 3.11.1-dev.20260812192248 → 3.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ai/stigmer/activity/v1/io_pb.d.ts +4 -0
- package/ai/stigmer/activity/v1/io_pb.js.map +1 -1
- package/ai/stigmer/activity/v1/query_connect.d.ts +4 -2
- package/ai/stigmer/activity/v1/query_connect.js +4 -2
- package/ai/stigmer/activity/v1/query_connect.js.map +1 -1
- package/ai/stigmer/activity/v1/query_pb.d.ts +4 -2
- package/ai/stigmer/activity/v1/query_pb.js.map +1 -1
- package/ai/stigmer/agentic/agent/v1/spec_pb.d.ts +17 -50
- package/ai/stigmer/agentic/agent/v1/spec_pb.js +3 -8
- package/ai/stigmer/agentic/agent/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentchannel/v1/message_command_connect.d.ts +3 -4
- package/ai/stigmer/agentic/agentchannel/v1/message_command_connect.js +3 -4
- package/ai/stigmer/agentic/agentchannel/v1/message_command_connect.js.map +1 -1
- package/ai/stigmer/agentic/agentchannel/v1/message_command_pb.d.ts +3 -4
- package/ai/stigmer/agentic/agentchannel/v1/message_command_pb.js +3 -4
- package/ai/stigmer/agentic/agentchannel/v1/message_command_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentchannel/v1/message_io_pb.d.ts +1 -2
- package/ai/stigmer/agentic/agentchannel/v1/message_io_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentchannel/v1/message_query_connect.d.ts +1 -2
- package/ai/stigmer/agentic/agentchannel/v1/message_query_connect.js +1 -2
- package/ai/stigmer/agentic/agentchannel/v1/message_query_connect.js.map +1 -1
- package/ai/stigmer/agentic/agentchannel/v1/message_query_pb.d.ts +1 -2
- package/ai/stigmer/agentic/agentchannel/v1/message_query_pb.js +1 -2
- package/ai/stigmer/agentic/agentchannel/v1/message_query_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/context_pb.d.ts +7 -4
- package/ai/stigmer/agentic/agentexecution/v1/context_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/spec_pb.d.ts +19 -4
- package/ai/stigmer/agentic/agentexecution/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentinstance/v1/spec_pb.d.ts +0 -21
- package/ai/stigmer/agentic/agentinstance/v1/spec_pb.js +1 -1
- package/ai/stigmer/agentic/agentinstance/v1/spec_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/mcpserver/v1/command_connect.d.ts +10 -0
- package/ai/stigmer/agentic/mcpserver/v1/command_connect.js +10 -0
- package/ai/stigmer/agentic/mcpserver/v1/command_connect.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/command_pb.d.ts +10 -0
- package/ai/stigmer/agentic/mcpserver/v1/command_pb.js.map +1 -1
- 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 +13 -5
- package/ai/stigmer/agentic/mcpserver/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/status_pb.d.ts +36 -23
- 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 +7 -4
- package/ai/stigmer/agentic/session/v1/workspace_pb.js.map +1 -1
- 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/apiresourcekind/api_resource_kind_pb.d.ts +0 -7
- package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js +1 -8
- package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_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/command_connect.d.ts +4 -0
- package/ai/stigmer/iam/platformclient/v1/command_connect.js +4 -0
- package/ai/stigmer/iam/platformclient/v1/command_connect.js.map +1 -1
- package/ai/stigmer/iam/platformclient/v1/command_pb.d.ts +4 -0
- package/ai/stigmer/iam/platformclient/v1/command_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/iam/v1/enum_pb.d.ts +13 -25
- package/ai/stigmer/iam/v1/enum_pb.js +13 -25
- package/ai/stigmer/iam/v1/enum_pb.js.map +1 -1
- package/package.json +1 -1
- package/ai/stigmer/agentic/datastore/v1/api_pb.d.ts +0 -64
- package/ai/stigmer/agentic/datastore/v1/api_pb.js +0 -18
- package/ai/stigmer/agentic/datastore/v1/api_pb.js.map +0 -1
- package/ai/stigmer/agentic/datastore/v1/command_connect.d.ts +0 -111
- package/ai/stigmer/agentic/datastore/v1/command_connect.js +0 -119
- package/ai/stigmer/agentic/datastore/v1/command_connect.js.map +0 -1
- package/ai/stigmer/agentic/datastore/v1/command_pb.d.ts +0 -110
- package/ai/stigmer/agentic/datastore/v1/command_pb.js +0 -19
- package/ai/stigmer/agentic/datastore/v1/command_pb.js.map +0 -1
- package/ai/stigmer/agentic/datastore/v1/io_pb.d.ts +0 -64
- package/ai/stigmer/agentic/datastore/v1/io_pb.js +0 -22
- package/ai/stigmer/agentic/datastore/v1/io_pb.js.map +0 -1
- package/ai/stigmer/agentic/datastore/v1/query_connect.d.ts +0 -59
- package/ai/stigmer/agentic/datastore/v1/query_connect.js +0 -68
- package/ai/stigmer/agentic/datastore/v1/query_connect.js.map +0 -1
- package/ai/stigmer/agentic/datastore/v1/query_pb.d.ts +0 -61
- package/ai/stigmer/agentic/datastore/v1/query_pb.js +0 -24
- package/ai/stigmer/agentic/datastore/v1/query_pb.js.map +0 -1
- package/ai/stigmer/agentic/datastore/v1/record_command_connect.d.ts +0 -75
- package/ai/stigmer/agentic/datastore/v1/record_command_connect.js +0 -82
- package/ai/stigmer/agentic/datastore/v1/record_command_connect.js.map +0 -1
- package/ai/stigmer/agentic/datastore/v1/record_command_pb.d.ts +0 -75
- package/ai/stigmer/agentic/datastore/v1/record_command_pb.js +0 -32
- package/ai/stigmer/agentic/datastore/v1/record_command_pb.js.map +0 -1
- package/ai/stigmer/agentic/datastore/v1/record_io_pb.d.ts +0 -752
- package/ai/stigmer/agentic/datastore/v1/record_io_pb.js +0 -198
- package/ai/stigmer/agentic/datastore/v1/record_io_pb.js.map +0 -1
- package/ai/stigmer/agentic/datastore/v1/record_query_connect.d.ts +0 -69
- package/ai/stigmer/agentic/datastore/v1/record_query_connect.js +0 -76
- package/ai/stigmer/agentic/datastore/v1/record_query_connect.js.map +0 -1
- package/ai/stigmer/agentic/datastore/v1/record_query_pb.d.ts +0 -70
- package/ai/stigmer/agentic/datastore/v1/record_query_pb.js +0 -38
- package/ai/stigmer/agentic/datastore/v1/record_query_pb.js.map +0 -1
- package/ai/stigmer/agentic/datastore/v1/spec_pb.d.ts +0 -743
- package/ai/stigmer/agentic/datastore/v1/spec_pb.js +0 -195
- package/ai/stigmer/agentic/datastore/v1/spec_pb.js.map +0 -1
- package/ai/stigmer/agentic/datastore/v1/status_pb.d.ts +0 -159
- package/ai/stigmer/agentic/datastore/v1/status_pb.js +0 -93
- package/ai/stigmer/agentic/datastore/v1/status_pb.js.map +0 -1
|
@@ -239,6 +239,11 @@ export declare const McpServerCommandController: GenService<{
|
|
|
239
239
|
* Idempotent: if an override already exists for this resource + org, the
|
|
240
240
|
* existing OAuthApp is updated with the new credentials.
|
|
241
241
|
*
|
|
242
|
+
* Edition scoping: hosted-only. UNIMPLEMENTED on the OSS server by
|
|
243
|
+
* design, as one capability with getOrgOAuthApp and deleteOrgOAuthApp —
|
|
244
|
+
* see the full scoping note on McpServerQueryController.getOrgOAuthApp,
|
|
245
|
+
* the RPC clients probe.
|
|
246
|
+
*
|
|
242
247
|
* @internal
|
|
243
248
|
* Authorization: Requires can_create_oauth_app permission on the organization.
|
|
244
249
|
* This is an org-admin operation — setting credentials that affect all users
|
|
@@ -263,6 +268,11 @@ export declare const McpServerCommandController: GenService<{
|
|
|
263
268
|
* was created for it. After this, the resolution chain falls back to
|
|
264
269
|
* the platform default.
|
|
265
270
|
*
|
|
271
|
+
* Edition scoping: hosted-only. UNIMPLEMENTED on the OSS server by
|
|
272
|
+
* design, as one capability with getOrgOAuthApp and setOrgOAuthApp —
|
|
273
|
+
* see the full scoping note on McpServerQueryController.getOrgOAuthApp,
|
|
274
|
+
* the RPC clients probe.
|
|
275
|
+
*
|
|
266
276
|
* Existing user OAuthGrants that were issued using the org's OAuthApp
|
|
267
277
|
* will fail on next token refresh — those users will need to
|
|
268
278
|
* 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,GA+QlC,aAAa,CAChB,WAAW,CAAC,4CAA4C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -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,E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AAW,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
|
*/
|
|
@@ -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,CAAC;AAErH,OAAO,EAAE,sCAAsC,EAAE,MA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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"}
|
|
@@ -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
|
*/
|
|
@@ -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,6HAA6H;AAC7H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE/E,OAAO,EAAE,yCAAyC,EAAE,MAAM,cAAc,CAAC;AAEzE,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG,OAAO,EAAE,oCAAoC,EAAE,MAAM,qCAAqC,CAAC;AAE3F,OAAO,EAAE,2BAA2B,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAGrG;;GAEG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAAY,aAAa,CAC/E,QAAQ,CAAC,y2DAAy2D,EAAE,CAAC,yCAAyC,EAAE,0CAA0C,EAAE,oCAAoC,EAAE,2BAA2B,EAAE,8BAA8B,CAAC,CAAC,CAAC;AAsFljE;;;GAGG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAgC,aAAa,CAC7E,WAAW,CAAC,2CAA2C,EAAE,CAAC,CAAC,CAAC;AA8C9D;;;GAGG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAuC,aAAa,CAC3F,WAAW,CAAC,2CAA2C,EAAE,CAAC,CAAC,CAAC;AAkC9D;;;GAGG;AACH,MAAM,CAAC,MAAM,o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,WAAW,CAAC,2CAA2C,EAAE,CAAC,CAAC,CAAC;AAmE9D;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAA4B,aAAa,CACrE,WAAW,CAAC,2CAA2C,EAAE,CAAC,CAAC,CAAC;AAE9D;;;;;GAKG;AACH,MAAM,CAAN,IAAY,eA0BX;AA1BD,WAAY,eAAe;IACzB;;;;;OAKG;IACH,qGAAgC,CAAA;IAEhC;;;;;;OAMG;IACH,uDAAS,CAAA;IAET;;;;;;OAMG;IACH,2DAAW,CAAA;AACb,CAAC,EA1BW,eAAe,KAAf,eAAe,QA0B1B;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAA6B,aAAa,CAC1E,QAAQ,CAAC,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"}
|
|
@@ -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"}
|
|
@@ -103,25 +103,31 @@ export type WorkflowExecutionSpec = Message<"ai.stigmer.agentic.workflowexecutio
|
|
|
103
103
|
[key: string]: string;
|
|
104
104
|
};
|
|
105
105
|
/**
|
|
106
|
-
* Execution-scoped environment variables and secrets
|
|
106
|
+
* Execution-scoped environment variables and secrets, available only to this
|
|
107
|
+
* execution. Values here take the highest merge priority, overriding values
|
|
108
|
+
* from Environments bound via the instance's environment_refs. A key must be
|
|
109
|
+
* declared in Workflow.spec.env to survive the merge: the workflow env map is
|
|
110
|
+
* a declaration whitelist (name + is_secret + optional), never a value source
|
|
111
|
+
* — undeclared keys are dropped.
|
|
107
112
|
*
|
|
108
113
|
* @internal
|
|
109
|
-
*
|
|
110
|
-
*
|
|
111
|
-
*
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
*
|
|
115
|
-
*
|
|
116
|
-
*
|
|
117
|
-
*
|
|
118
|
-
*
|
|
119
|
-
* -
|
|
114
|
+
* Merge priority (lowest to highest):
|
|
115
|
+
* 1. Environment values (resolved from WorkflowInstance.environment_refs, in
|
|
116
|
+
* order; a later ref wins on key conflicts)
|
|
117
|
+
* 2. runtime_env (this field)
|
|
118
|
+
*
|
|
119
|
+
* The merged map is then filtered to the keys declared in Workflow.spec.env
|
|
120
|
+
* (no filtering when the workflow declares none); a declared-but-required key
|
|
121
|
+
* that is still missing only logs a warning — the run is not failed. The
|
|
122
|
+
* merge is owned by backend/libs/go/envmerge and the workflowexecution
|
|
123
|
+
* controller's createExecutionContextStep, and asserted by
|
|
124
|
+
* test/conformance/src/suites-execution/envmerge.conformance.test.ts.
|
|
120
125
|
*
|
|
121
126
|
* Security:
|
|
122
|
-
* - runtime_env values are
|
|
127
|
+
* - runtime_env values are consumed into the ExecutionContext at create time
|
|
128
|
+
* and cleared from the persisted execution (never in Temporal history)
|
|
123
129
|
* - ExecutionContext is deleted when execution completes (ephemeral secrets)
|
|
124
|
-
* -
|
|
130
|
+
* - Values with is_secret=true are encrypted at rest and redacted in logs
|
|
125
131
|
*
|
|
126
132
|
* Tasks can access these values using: {{env.VARIABLE_NAME}}
|
|
127
133
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/workflowexecution/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,2IAA2I;AAC3I,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,gDAAgD,EAAE,MAAM,sCAAsC,CAAC;AAExG,OAAO,EAAE,uCAAuC,EAAE,MAAM,6BAA6B,CAAC;AAGtF;;GAEG;AACH,MAAM,CAAC,MAAM,iDAAiD,GAAY,aAAa,CACrF,QAAQ,CAAC,w4BAAw4B,EAAE,CAAC,gDAAgD,EAAE,uCAAuC,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/workflowexecution/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,2IAA2I;AAC3I,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,gDAAgD,EAAE,MAAM,sCAAsC,CAAC;AAExG,OAAO,EAAE,uCAAuC,EAAE,MAAM,6BAA6B,CAAC;AAGtF;;GAEG;AACH,MAAM,CAAC,MAAM,iDAAiD,GAAY,aAAa,CACrF,QAAQ,CAAC,w4BAAw4B,EAAE,CAAC,gDAAgD,EAAE,uCAAuC,CAAC,CAAC,CAAC;AA4Ll/B;;;GAGG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAsC,aAAa,CACzF,WAAW,CAAC,iDAAiD,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -280,13 +280,6 @@ export declare enum ApiResourceKind {
|
|
|
280
280
|
* @generated from enum value: channel_app = 48;
|
|
281
281
|
*/
|
|
282
282
|
channel_app = 48,
|
|
283
|
-
/**
|
|
284
|
-
* Declared collections of typed business records with role-aware access
|
|
285
|
-
* grants; agents read and write records through grant-checked tools.
|
|
286
|
-
*
|
|
287
|
-
* @generated from enum value: datastore = 49;
|
|
288
|
-
*/
|
|
289
|
-
datastore = 49,
|
|
290
283
|
/**
|
|
291
284
|
* Multi-step orchestration defining how agents collaborate on a task.
|
|
292
285
|
*
|
|
@@ -8,7 +8,7 @@ import { file_google_protobuf_descriptor } from "@bufbuild/protobuf/wkt";
|
|
|
8
8
|
/**
|
|
9
9
|
* Describes the file ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind.proto.
|
|
10
10
|
*/
|
|
11
|
-
export const file_ai_stigmer_commons_apiresource_apiresourcekind_api_resource_kind = /*@__PURE__*/ fileDesc("
|
|
11
|
+
export const file_ai_stigmer_commons_apiresource_apiresourcekind_api_resource_kind = /*@__PURE__*/ fileDesc("CkZhaS9zdGlnbWVyL2NvbW1vbnMvYXBpcmVzb3VyY2UvYXBpcmVzb3VyY2VraW5kL2FwaV9yZXNvdXJjZV9raW5kLnByb3RvEi5haS5zdGlnbWVyLmNvbW1vbnMuYXBpcmVzb3VyY2UuYXBpcmVzb3VyY2VraW5kIswDChNBcGlSZXNvdXJjZUtpbmRNZXRhEk8KBWdyb3VwGAEgASgOMkAuYWkuc3RpZ21lci5jb21tb25zLmFwaXJlc291cmNlLmFwaXJlc291cmNla2luZC5BcGlSZXNvdXJjZUdyb3VwElMKB3ZlcnNpb24YAiABKA4yQi5haS5zdGlnbWVyLmNvbW1vbnMuYXBpcmVzb3VyY2UuYXBpcmVzb3VyY2VraW5kLkFwaVJlc291cmNlVmVyc2lvbhIMCgRuYW1lGAMgASgJEhQKDGRpc3BsYXlfbmFtZRgEIAEoCRIRCglpZF9wcmVmaXgYBSABKAkSFAoMaXNfdmVyc2lvbmVkGAYgASgIEhoKEm5vdF9zZWFyY2hfaW5kZXhlZBgHIAEoCBJKCgR0aWVyGAggASgOMjwuYWkuc3RpZ21lci5jb21tb25zLmFwaXJlc291cmNlLmFwaXJlc291cmNla2luZC5SZXNvdXJjZVRpZXISWgoNYXV0aG9yaXphdGlvbhgJIAEoCzJDLmFpLnN0aWdtZXIuY29tbW9ucy5hcGlyZXNvdXJjZS5hcGlyZXNvdXJjZWtpbmQuQXV0aG9yaXphdGlvbkNvbmZpZypCChJBcGlSZXNvdXJjZVZlcnNpb24SJAogYXBpX3Jlc291cmNlX3ZlcnNpb25fdW5zcGVjaWZpZWQQABIGCgJ2MRABKk4KDFJlc291cmNlVGllchIdChlyZXNvdXJjZV90aWVyX3Vuc3BlY2lmaWVkEAASDwoLb3Blbl9zb3VyY2UQARIOCgpjbG91ZF9vbmx5EAIqQQoPUGxhdGZvcm1JZFZhbHVlEiEKHXBsYXRmb3J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ekind_api_resource_group, file_ai_stigmer_commons_apiresource_apiresourcekind_authorization_config, file_google_protobuf_descriptor]);
|
|
12
12
|
/**
|
|
13
13
|
* Describes the message ai.stigmer.commons.apiresource.apiresourcekind.ApiResourceKindMeta.
|
|
14
14
|
* Use `create(ApiResourceKindMetaSchema)` to create a new message.
|
|
@@ -225,13 +225,6 @@ export var ApiResourceKind;
|
|
|
225
225
|
* @generated from enum value: channel_app = 48;
|
|
226
226
|
*/
|
|
227
227
|
ApiResourceKind[ApiResourceKind["channel_app"] = 48] = "channel_app";
|
|
228
|
-
/**
|
|
229
|
-
* Declared collections of typed business records with role-aware access
|
|
230
|
-
* grants; agents read and write records through grant-checked tools.
|
|
231
|
-
*
|
|
232
|
-
* @generated from enum value: datastore = 49;
|
|
233
|
-
*/
|
|
234
|
-
ApiResourceKind[ApiResourceKind["datastore"] = 49] = "datastore";
|
|
235
228
|
/**
|
|
236
229
|
* Multi-step orchestration defining how agents collaborate on a task.
|
|
237
230
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api_resource_kind_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sKAAsK;AACtK,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAExF,OAAO,EAAE,sEAAsE,EAAE,MAAM,4BAA4B,CAAC;AAEpH,OAAO,EAAE,wEAAwE,EAAE,MAAM,8BAA8B,CAAC;AAExH,OAAO,EAAE,+BAA+B,EAAE,MAAM,wBAAwB,CAAC;AAGzE;;GAEG;AACH,MAAM,CAAC,MAAM,qEAAqE,GAAY,aAAa,CACzG,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"api_resource_kind_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_p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IAEtB;;;;OAIG;IACH,8DAAa,CAAA;IAEb;;;;OAIG;IACH,4DAAY,CAAA;AACd,CAAC,EA5MW,eAAe,KAAf,eAAe,QA4M1B;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAA6B,aAAa,CAC1E,QAAQ,CAAC,qEAAqE,EAAE,CAAC,CAAC,CAAC;AAErF;;GAEG;AACH,MAAM,CAAC,MAAM,SAAS,GAAwD,aAAa,CACzF,OAAO,CAAC,qEAAqE,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -56,6 +56,14 @@ export type ApiResourceMetadata = Message<"ai.stigmer.commons.apiresource.ApiRes
|
|
|
56
56
|
* Default: config-driven per kind — blueprint kinds (marked
|
|
57
57
|
* defaults_to_org_visibility) default to ORG; all other kinds default to PRIVATE.
|
|
58
58
|
*
|
|
59
|
+
* Mutation contract: visibility is set at create and changed ONLY through
|
|
60
|
+
* the kind's UpdateVisibility RPC, where the visibility guards live
|
|
61
|
+
* (per-kind level support, default-instance rejection). A plain Update
|
|
62
|
+
* preserves the stored value — a request-carried level is ignored, never
|
|
63
|
+
* applied. Declarative clients that want a manifest's visibility to land
|
|
64
|
+
* on update must follow up with UpdateVisibility (the CLI and MCP apply
|
|
65
|
+
* surfaces do this automatically).
|
|
66
|
+
*
|
|
59
67
|
* @generated from field: ai.stigmer.commons.apiresource.ApiResourceVisibility visibility = 5;
|
|
60
68
|
*/
|
|
61
69
|
visibility: ApiResourceVisibility;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metadata_pb.js","sourceRoot":"","sources":["../../../../../ai/stigmer/commons/apiresource/metadata_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,6HAA6H;AAC7H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,wCAAwC,EAAE,MAAM,cAAc,CAAC;AACxE,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAGrF;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAAY,aAAa,CAChF,QAAQ,CAAC,s/BAAs/B,EAAE,CAAC,wCAAwC,EAAE,0BAA0B,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"metadata_pb.js","sourceRoot":"","sources":["../../../../../ai/stigmer/commons/apiresource/metadata_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,6HAA6H;AAC7H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,wCAAwC,EAAE,MAAM,cAAc,CAAC;AACxE,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAGrF;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAAY,aAAa,CAChF,QAAQ,CAAC,s/BAAs/B,EAAE,CAAC,wCAAwC,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAkG3kC;;;GAGG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAoC,aAAa,CACrF,WAAW,CAAC,4CAA4C,EAAE,CAAC,CAAC,CAAC;AAkD/D;;;GAGG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAA2C,aAAa,CACnG,WAAW,CAAC,4CAA4C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -26,6 +26,10 @@ export declare const PlatformClientCommandController: {
|
|
|
26
26
|
* The creator's organization owns the platform client. The creator is granted
|
|
27
27
|
* the owner role automatically.
|
|
28
28
|
*
|
|
29
|
+
* The slug `system-share-client` is platform-reserved (it identifies the org's
|
|
30
|
+
* system-managed share client) and is rejected with INVALID_ARGUMENT — including
|
|
31
|
+
* when derived from the resource name.
|
|
32
|
+
*
|
|
29
33
|
* @internal
|
|
30
34
|
* Authorization: Requires can_create_platform_client permission in the organization.
|
|
31
35
|
*
|
|
@@ -34,6 +34,10 @@ export const PlatformClientCommandController = {
|
|
|
34
34
|
* The creator's organization owns the platform client. The creator is granted
|
|
35
35
|
* the owner role automatically.
|
|
36
36
|
*
|
|
37
|
+
* The slug `system-share-client` is platform-reserved (it identifies the org's
|
|
38
|
+
* system-managed share client) and is rejected with INVALID_ARGUMENT — including
|
|
39
|
+
* when derived from the resource name.
|
|
40
|
+
*
|
|
37
41
|
* @internal
|
|
38
42
|
* Authorization: Requires can_create_platform_client permission in the organization.
|
|
39
43
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/platformclient/v1/command_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,gIAAgI;AAChI,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,EAAE,4BAA4B,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAE9E;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC7C,QAAQ,EAAE,kEAAkE;IAC5E,OAAO,EAAE;QACP
|
|
1
|
+
{"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/platformclient/v1/command_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,gIAAgI;AAChI,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,EAAE,4BAA4B,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAE9E;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC7C,QAAQ,EAAE,kEAAkE;IAC5E,OAAO,EAAE;QACP;;;;;;;;;;;;;;;;;;WAkBG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,cAAc;YACjB,CAAC,EAAE,4BAA4B;YAC/B,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;WAYG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,cAAc;YACjB,CAAC,EAAE,cAAc;YACjB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;WAWG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,sBAAsB;YACzB,CAAC,EAAE,cAAc;YACjB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;WAYG;QACH,YAAY,EAAE;YACZ,IAAI,EAAE,cAAc;YACpB,CAAC,EAAE,gBAAgB;YACnB,CAAC,EAAE,4BAA4B;YAC/B,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
|
|
@@ -32,6 +32,10 @@ export declare const PlatformClientCommandController: GenService<{
|
|
|
32
32
|
* The creator's organization owns the platform client. The creator is granted
|
|
33
33
|
* the owner role automatically.
|
|
34
34
|
*
|
|
35
|
+
* The slug `system-share-client` is platform-reserved (it identifies the org's
|
|
36
|
+
* system-managed share client) and is rejected with INVALID_ARGUMENT — including
|
|
37
|
+
* when derived from the resource name.
|
|
38
|
+
*
|
|
35
39
|
* @internal
|
|
36
40
|
* Authorization: Requires can_create_platform_client permission in the organization.
|
|
37
41
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/platformclient/v1/command_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,gIAAgI;AAChI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW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CAAC,MAAM,+BAA+B,GA8EvC,aAAa,CAChB,WAAW,CAAC,6CAA6C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -144,14 +144,25 @@ export type MintGuestTokenRequest = Message<"ai.stigmer.iam.platformclient.v1.Mi
|
|
|
144
144
|
* @internal
|
|
145
145
|
* Validated at mint against the share's spec.allowed_origins: empty list
|
|
146
146
|
* admits any origin; a non-empty list refuses PERMISSION_DENIED for
|
|
147
|
-
* unlisted origins and for "null". An empty field always passes
|
|
148
|
-
*
|
|
149
|
-
*
|
|
150
|
-
*
|
|
151
|
-
*
|
|
152
|
-
*
|
|
153
|
-
*
|
|
154
|
-
*
|
|
147
|
+
* unlisted origins and for "null". An empty field always passes for
|
|
148
|
+
* hosted-page and non-browser requests (the anyone-with-link hosted
|
|
149
|
+
* page). The validated value is stamped into the guest JWT as the
|
|
150
|
+
* embed_origin claim and re-validated against the live list by the
|
|
151
|
+
* guest create-time gate.
|
|
152
|
+
*
|
|
153
|
+
* The hosted server cross-checks this field against the request's
|
|
154
|
+
* browser-enforced Origin header (stigmer-cloud#341). When the header
|
|
155
|
+
* is a third-party origin (a direct SDK embed), the header is
|
|
156
|
+
* authoritative: a non-empty field that disagrees with it is refused
|
|
157
|
+
* PERMISSION_DENIED naming both origins, and an empty field resolves
|
|
158
|
+
* to the header instead of the hosted-page exemption. When the header
|
|
159
|
+
* is Stigmer's own hosted-page origin, this self-report is the only
|
|
160
|
+
* embedder signal (the iframe'd page's RPCs carry Stigmer's origin) —
|
|
161
|
+
* the widget code derives it from browser-authentic sources the
|
|
162
|
+
* embedder cannot alter. Non-browser callers send no Origin header and
|
|
163
|
+
* keep the self-report semantics; they gain nothing by omitting it
|
|
164
|
+
* since the hosted link is anyone-with-link (decision 001) — rate
|
|
165
|
+
* limits and the billing gate remain the API guards.
|
|
155
166
|
*
|
|
156
167
|
* @generated from field: string embed_origin = 4;
|
|
157
168
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"token_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/platformclient/v1/token_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,8HAA8H;AAC9H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAClF,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AACvG,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAAY,aAAa,CAC/E,QAAQ,CAAC,omDAAomD,EAAE,CAAC,0CAA0C,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAwE3rD;;;GAGG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAqC,aAAa,CACvF,WAAW,CAAC,2CAA2C,EAAE,CAAC,CAAC,CAAC;AA+B9D;;;GAGG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAsC,aAAa,CACzF,WAAW,CAAC,2CAA2C,EAAE,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"token_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/platformclient/v1/token_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,8HAA8H;AAC9H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAClF,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AACvG,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAAY,aAAa,CAC/E,QAAQ,CAAC,omDAAomD,EAAE,CAAC,0CAA0C,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAwE3rD;;;GAGG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAqC,aAAa,CACvF,WAAW,CAAC,2CAA2C,EA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