@stigmer/protos 3.12.0 → 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/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/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/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/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/package.json +1 -1
|
@@ -158,16 +158,24 @@ export type McpServerUsage = Message<"ai.stigmer.agentic.agent.v1.McpServerUsage
|
|
|
158
158
|
* Only names from discovered_capabilities.tools are valid here.
|
|
159
159
|
* Do NOT include names from discovered_capabilities.resource_templates —
|
|
160
160
|
* resource templates are read-only data endpoints, not callable tools.
|
|
161
|
-
* A name the server does not expose (including a resource template name)
|
|
162
|
-
* is warned and ignored at execution: the runner enforces the INTERSECTION
|
|
163
|
-
* with the server's live toolset, so a stale or mistyped entry narrows the
|
|
164
|
-
* toolset but never widens it or fails the run.
|
|
165
161
|
*
|
|
166
|
-
* Enforcement
|
|
167
|
-
*
|
|
168
|
-
* server's tools
|
|
169
|
-
*
|
|
170
|
-
*
|
|
162
|
+
* Enforcement is two-layered:
|
|
163
|
+
* - Apply time: agent create/update/apply rejects (INVALID_ARGUMENT) any
|
|
164
|
+
* name the referenced server's discovered_capabilities.tools does not
|
|
165
|
+
* contain, with the valid names in the error. The check is skipped when
|
|
166
|
+
* the server has no discovered capabilities yet (never connected) —
|
|
167
|
+
* there is nothing authoritative to validate against in that window.
|
|
168
|
+
* - Execution time: the runner enforces the INTERSECTION with the
|
|
169
|
+
* server's live toolset — an unknown name (possible when the manifest
|
|
170
|
+
* was applied before the server's first connect, or when the toolset
|
|
171
|
+
* changed since) is warned in the runner log and ignored, so a stale
|
|
172
|
+
* entry narrows the toolset but never widens it or fails the run.
|
|
173
|
+
*
|
|
174
|
+
* Per-harness runtime enforcement: the native (deep-agent) harness filters
|
|
175
|
+
* the discovered toolset before it reaches the model; the Cursor harness
|
|
176
|
+
* cannot hide a server's tools (its SDK config has no allow-list field),
|
|
177
|
+
* so its HITL hook permanently denies calls to non-enabled tools instead —
|
|
178
|
+
* the model may still see the tool listed, but every call is refused.
|
|
171
179
|
*
|
|
172
180
|
* @generated from field: repeated string enabled_tools = 2;
|
|
173
181
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agent/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,mHAAmH;AACnH,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,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAY,aAAa,CACzE,QAAQ,CAAC,8/DAA8/D,EAAE,CAAC,2CAA2C,EAAE,iDAAiD,EAAE,sCAAsC,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAkEjrE;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAA0B,aAAa,CACjE,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AA8DxD;;;GAGG;AACH,MAAM,CAAC,MAAM,cAAc,GAAyB,aAAa,CAC/D,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agent/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,mHAAmH;AACnH,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,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAY,aAAa,CACzE,QAAQ,CAAC,8/DAA8/D,EAAE,CAAC,2CAA2C,EAAE,iDAAiD,EAAE,sCAAsC,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAkEjrE;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAA0B,aAAa,CACjE,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AA8DxD;;;GAGG;AACH,MAAM,CAAC,MAAM,cAAc,GAAyB,aAAa,CAC/D,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AAoExD;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAA+B,aAAa,CAC3E,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AA+BxD;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAA0B,aAAa,CACjE,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AAoDxD;;;GAGG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAqC,aAAa,CACvF,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -24,9 +24,10 @@ export declare const file_ai_stigmer_agentic_agentexecution_v1_context: GenFile;
|
|
|
24
24
|
*
|
|
25
25
|
* ## Timing
|
|
26
26
|
*
|
|
27
|
-
* Populated
|
|
28
|
-
* but before the streaming loop begins
|
|
29
|
-
*
|
|
27
|
+
* Populated by the agent runner once resolution completes (skills, env vars,
|
|
28
|
+
* MCP servers) but before the streaming loop begins, and reported through the
|
|
29
|
+
* execution status-update path. This represents the "snapshot" of resolved
|
|
30
|
+
* state. Once set, this field is immutable for the remainder of the execution.
|
|
30
31
|
*
|
|
31
32
|
* ## Security Considerations
|
|
32
33
|
*
|
|
@@ -39,7 +40,9 @@ export declare const file_ai_stigmer_agentic_agentexecution_v1_context: GenFile;
|
|
|
39
40
|
export type ResolvedExecutionContext = Message<"ai.stigmer.agentic.agentexecution.v1.ResolvedExecutionContext"> & {
|
|
40
41
|
/**
|
|
41
42
|
* Environment variable keys available to the agent (NOT values for security).
|
|
42
|
-
* Represents the merged
|
|
43
|
+
* Represents the merged environment values (instance environment_refs <
|
|
44
|
+
* runtime_env) filtered to the keys declared in Agent.spec.env — the agent
|
|
45
|
+
* env map is a declaration whitelist, not a value source.
|
|
43
46
|
* Keys are sorted alphabetically for consistent ordering and deterministic comparison.
|
|
44
47
|
* Examples: ["API_KEY", "DATABASE_URL", "LOG_LEVEL"]
|
|
45
48
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentexecution/v1/context_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,wIAAwI;AACxI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,8CAA8C,EAAE,MAAM,cAAc,CAAC;AAG9E;;GAEG;AACH,MAAM,CAAC,MAAM,iDAAiD,GAAY,aAAa,CACrF,QAAQ,CAAC,4kDAA4kD,EAAE,CAAC,8CAA8C,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"context_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentexecution/v1/context_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,wIAAwI;AACxI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,8CAA8C,EAAE,MAAM,cAAc,CAAC;AAG9E;;GAEG;AACH,MAAM,CAAC,MAAM,iDAAiD,GAAY,aAAa,CACrF,QAAQ,CAAC,4kDAA4kD,EAAE,CAAC,8CAA8C,CAAC,CAAC,CAAC;AAqF3oD;;;GAGG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAyC,aAAa,CAC/F,WAAW,CAAC,iDAAiD,EAAE,CAAC,CAAC,CAAC;AAoDpE;;;GAGG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAA0C,aAAa,CACjG,WAAW,CAAC,iDAAiD,EAAE,CAAC,CAAC,CAAC;AA8IpE;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAmC,aAAa,CACnF,WAAW,CAAC,iDAAiD,EAAE,CAAC,CAAC,CAAC;AAoIpE;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAA4B,aAAa,CACrE,WAAW,CAAC,iDAAiD,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -100,10 +100,25 @@ export type AgentExecutionSpec = Message<"ai.stigmer.agentic.agentexecution.v1.A
|
|
|
100
100
|
executionConfig?: ExecutionConfig;
|
|
101
101
|
/**
|
|
102
102
|
* Runtime environment variables and secrets (execution-scoped).
|
|
103
|
-
* These values are only available for this specific execution
|
|
104
|
-
*
|
|
105
|
-
*
|
|
106
|
-
*
|
|
103
|
+
* These values are only available for this specific execution and take the
|
|
104
|
+
* highest merge priority, overriding values from Environments bound via
|
|
105
|
+
* environment_refs. A key must be declared in Agent.spec.env to survive the
|
|
106
|
+
* merge: the agent env map is a declaration whitelist (name + is_secret +
|
|
107
|
+
* optional), never a value source — undeclared keys are dropped.
|
|
108
|
+
* Use case: B2B integrations where secrets are injected at runtime per call.
|
|
109
|
+
* These values are consumed into the ExecutionContext (deleted when the
|
|
110
|
+
* execution completes) and cleared from the persisted execution.
|
|
111
|
+
*
|
|
112
|
+
* @internal
|
|
113
|
+
* Merge priority (lowest to highest): resolved Environment values — from the
|
|
114
|
+
* creating schedule's or agent_call task's environment_refs (when present),
|
|
115
|
+
* then the instance's environment_refs; a later ref wins — then runtime_env
|
|
116
|
+
* (this field). The merged map is filtered to the keys declared in
|
|
117
|
+
* Agent.spec.env (no filtering when the agent declares none); a missing
|
|
118
|
+
* required key only logs a warning — the run is not failed. The merge is
|
|
119
|
+
* owned by backend/libs/go/envmerge and the agentexecution controller's
|
|
120
|
+
* executionContextBuilder, and asserted by
|
|
121
|
+
* test/conformance/src/suites-execution/envmerge.conformance.test.ts.
|
|
107
122
|
*
|
|
108
123
|
* @generated from field: map<string, ai.stigmer.agentic.executioncontext.v1.ExecutionValue> runtime_env = 5;
|
|
109
124
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentexecution/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,qIAAqI;AACrI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,8CAA8C,EAAE,MAAM,cAAc,CAAC;AAE9E,OAAO,EAAE,gDAAgD,EAAE,MAAM,sCAAsC,CAAC;AAExG,OAAO,EAAE,uCAAuC,EAAE,MAAM,6BAA6B,CAAC;AACtF,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAExF,OAAO,EAAE,2BAA2B,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAGrG;;GAEG;AACH,MAAM,CAAC,MAAM,8CAA8C,GAAY,aAAa,CAClF,QAAQ,CAAC,qqGAAqqG,EAAE,CAAC,8CAA8C,EAAE,gDAAgD,EAAE,uCAAuC,EAAE,0BAA0B,EAAE,2BAA2B,E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aAAa,CACrF,WAAW,CAAC,8CAA8C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -99,8 +99,14 @@ export type AgentShareSpec = Message<"ai.stigmer.agentic.agentshare.v1.AgentShar
|
|
|
99
99
|
* (SharedSessionBlueprintAccess) on every session/execution create — the
|
|
100
100
|
* same gate that re-checks enabled, so revocation latency is identical
|
|
101
101
|
* (immediate). Unframed hosted-page visitors report no origin and are
|
|
102
|
-
* exempt by construction.
|
|
103
|
-
*
|
|
102
|
+
* exempt by construction. Since stigmer-cloud#341 both gates cross-check
|
|
103
|
+
* the self-report against the request's browser-enforced Origin header
|
|
104
|
+
* (SharingRequestOriginPolicy): for direct SDK embeds the header is the
|
|
105
|
+
* authoritative origin — a lying or omitted embed_origin no longer
|
|
106
|
+
* bypasses this list — while requests from Stigmer's own hosted page
|
|
107
|
+
* keep the widget's browser-authentic self-report as the embedder
|
|
108
|
+
* signal. Exact origins only — loosening to wildcards later is a
|
|
109
|
+
* non-breaking change, tightening would not be.
|
|
104
110
|
*
|
|
105
111
|
* @generated from field: repeated string allowed_origins = 4;
|
|
106
112
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentshare/v1/spec_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,oDAAoD,EAAE,MAAM,0CAA0C,CAAC;AAChH,OAAO,EAAE,iDAAiD,EAAE,MAAM,kDAAkD,CAAC;AAErH,OAAO,EAAE,sCAAsC,EAAE,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAY,aAAa,CAC9E,QAAQ,CAAC,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Q,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -242,6 +242,11 @@ export declare const McpServerCommandController: {
|
|
|
242
242
|
* Idempotent: if an override already exists for this resource + org, the
|
|
243
243
|
* existing OAuthApp is updated with the new credentials.
|
|
244
244
|
*
|
|
245
|
+
* Edition scoping: hosted-only. UNIMPLEMENTED on the OSS server by
|
|
246
|
+
* design, as one capability with getOrgOAuthApp and deleteOrgOAuthApp —
|
|
247
|
+
* see the full scoping note on McpServerQueryController.getOrgOAuthApp,
|
|
248
|
+
* the RPC clients probe.
|
|
249
|
+
*
|
|
245
250
|
* @internal
|
|
246
251
|
* Authorization: Requires can_create_oauth_app permission on the organization.
|
|
247
252
|
* This is an org-admin operation — setting credentials that affect all users
|
|
@@ -267,6 +272,11 @@ export declare const McpServerCommandController: {
|
|
|
267
272
|
* was created for it. After this, the resolution chain falls back to
|
|
268
273
|
* the platform default.
|
|
269
274
|
*
|
|
275
|
+
* Edition scoping: hosted-only. UNIMPLEMENTED on the OSS server by
|
|
276
|
+
* design, as one capability with getOrgOAuthApp and setOrgOAuthApp —
|
|
277
|
+
* see the full scoping note on McpServerQueryController.getOrgOAuthApp,
|
|
278
|
+
* the RPC clients probe.
|
|
279
|
+
*
|
|
270
280
|
* Existing user OAuthGrants that were issued using the org's OAuthApp
|
|
271
281
|
* will fail on next token refresh — those users will need to
|
|
272
282
|
* re-authenticate using the platform default or a new org override.
|
|
@@ -250,6 +250,11 @@ export const McpServerCommandController = {
|
|
|
250
250
|
* Idempotent: if an override already exists for this resource + org, the
|
|
251
251
|
* existing OAuthApp is updated with the new credentials.
|
|
252
252
|
*
|
|
253
|
+
* Edition scoping: hosted-only. UNIMPLEMENTED on the OSS server by
|
|
254
|
+
* design, as one capability with getOrgOAuthApp and deleteOrgOAuthApp —
|
|
255
|
+
* see the full scoping note on McpServerQueryController.getOrgOAuthApp,
|
|
256
|
+
* the RPC clients probe.
|
|
257
|
+
*
|
|
253
258
|
* @internal
|
|
254
259
|
* Authorization: Requires can_create_oauth_app permission on the organization.
|
|
255
260
|
* This is an org-admin operation — setting credentials that affect all users
|
|
@@ -275,6 +280,11 @@ export const McpServerCommandController = {
|
|
|
275
280
|
* was created for it. After this, the resolution chain falls back to
|
|
276
281
|
* the platform default.
|
|
277
282
|
*
|
|
283
|
+
* Edition scoping: hosted-only. UNIMPLEMENTED on the OSS server by
|
|
284
|
+
* design, as one capability with getOrgOAuthApp and setOrgOAuthApp —
|
|
285
|
+
* see the full scoping note on McpServerQueryController.getOrgOAuthApp,
|
|
286
|
+
* the RPC clients probe.
|
|
287
|
+
*
|
|
278
288
|
* Existing user OAuthGrants that were issued using the org's OAuthApp
|
|
279
289
|
* will fail on next token refresh — those users will need to
|
|
280
290
|
* 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;Y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;;;;;;;;;;;;;;;;;;;;WAoBG;QACH,eAAe,EAAE;YACf,IAAI,EAAE,iBAAiB;YACvB,CAAC,EAAE,oBAAoB;YACvB,CAAC,EAAE,qBAAqB;YACxB,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;;;;;;;;;;;;;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,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AK;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"}
|
|
@@ -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;A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AE75F;;;;;;;;;;;;;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,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
|
*/
|
|
@@ -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,EA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AAC;AA4E5D;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAiC,aAAa,CAC/E,WAAW,CAAC,yCAAyC,EAAE,CAAC,CAAC,CAAC;AAqE5D;;;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"}
|
|
@@ -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,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GG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAA+B,aAAa,CAC3E,WAAW,CAAC,2CAA2C,EAAE,CAAC,CAAC,CAAC;AA2C9D;;;GAGG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAA2C,aAAa,CACnG,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"}
|
|
@@ -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"}
|
|
@@ -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,EAAE,CAAC,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