@stigmer/protos 3.10.0 → 3.11.1-dev.20260812192248
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 +11 -7
- package/ai/stigmer/activity/v1/io_pb.js.map +1 -1
- package/ai/stigmer/activity/v1/query_connect.d.ts +8 -3
- package/ai/stigmer/activity/v1/query_connect.js +8 -3
- package/ai/stigmer/activity/v1/query_connect.js.map +1 -1
- package/ai/stigmer/activity/v1/query_pb.d.ts +8 -3
- package/ai/stigmer/activity/v1/query_pb.js.map +1 -1
- package/ai/stigmer/agentic/agent/v1/io_pb.d.ts +3 -0
- package/ai/stigmer/agentic/agent/v1/io_pb.js.map +1 -1
- package/ai/stigmer/agentic/agent/v1/query_connect.d.ts +7 -0
- package/ai/stigmer/agentic/agent/v1/query_connect.js +7 -0
- package/ai/stigmer/agentic/agent/v1/query_connect.js.map +1 -1
- package/ai/stigmer/agentic/agent/v1/query_pb.d.ts +7 -0
- package/ai/stigmer/agentic/agent/v1/query_pb.js.map +1 -1
- package/ai/stigmer/agentic/agent/v1/spec_pb.d.ts +16 -1
- package/ai/stigmer/agentic/agent/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentchannel/v1/conversation_io_pb.d.ts +37 -1
- package/ai/stigmer/agentic/agentchannel/v1/conversation_io_pb.js +1 -1
- package/ai/stigmer/agentic/agentchannel/v1/conversation_io_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentchannel/v1/delivery_pb.d.ts +89 -2
- package/ai/stigmer/agentic/agentchannel/v1/delivery_pb.js +62 -3
- package/ai/stigmer/agentic/agentchannel/v1/delivery_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentchannel/v1/outbound_pb.d.ts +33 -1
- package/ai/stigmer/agentic/agentchannel/v1/outbound_pb.js +1 -1
- package/ai/stigmer/agentic/agentchannel/v1/outbound_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/io_pb.d.ts +11 -3
- package/ai/stigmer/agentic/agentexecution/v1/io_pb.js +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/io_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/query_connect.d.ts +12 -4
- package/ai/stigmer/agentic/agentexecution/v1/query_connect.js +12 -4
- package/ai/stigmer/agentic/agentexecution/v1/query_connect.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/query_pb.d.ts +12 -4
- package/ai/stigmer/agentic/agentexecution/v1/query_pb.js +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/query_pb.js.map +1 -1
- package/ai/stigmer/agentic/executioncontext/v1/command_connect.d.ts +30 -13
- package/ai/stigmer/agentic/executioncontext/v1/command_connect.js +30 -13
- package/ai/stigmer/agentic/executioncontext/v1/command_connect.js.map +1 -1
- package/ai/stigmer/agentic/executioncontext/v1/command_pb.d.ts +30 -13
- package/ai/stigmer/agentic/executioncontext/v1/command_pb.js +16 -7
- package/ai/stigmer/agentic/executioncontext/v1/command_pb.js.map +1 -1
- package/ai/stigmer/agentic/executioncontext/v1/query_connect.d.ts +8 -6
- package/ai/stigmer/agentic/executioncontext/v1/query_connect.js +8 -6
- package/ai/stigmer/agentic/executioncontext/v1/query_connect.js.map +1 -1
- package/ai/stigmer/agentic/executioncontext/v1/query_pb.d.ts +8 -6
- package/ai/stigmer/agentic/executioncontext/v1/query_pb.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/spec_pb.d.ts +6 -1
- package/ai/stigmer/agentic/mcpserver/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/status_pb.d.ts +3 -2
- package/ai/stigmer/agentic/mcpserver/v1/status_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflowexecution/v1/io_pb.d.ts +10 -3
- package/ai/stigmer/agentic/workflowexecution/v1/io_pb.js.map +1 -1
- package/ai/stigmer/billing/v1/model_pricing_baseline_pb.d.ts +17 -0
- package/ai/stigmer/billing/v1/model_pricing_baseline_pb.js +1 -1
- package/ai/stigmer/billing/v1/model_pricing_baseline_pb.js.map +1 -1
- package/ai/stigmer/commons/apiresource/enum_pb.d.ts +15 -4
- package/ai/stigmer/commons/apiresource/enum_pb.js +15 -4
- package/ai/stigmer/commons/apiresource/enum_pb.js.map +1 -1
- package/ai/stigmer/iam/iampolicy/v1/command_connect.d.ts +48 -0
- package/ai/stigmer/iam/iampolicy/v1/command_connect.js +48 -0
- package/ai/stigmer/iam/iampolicy/v1/command_connect.js.map +1 -1
- package/ai/stigmer/iam/iampolicy/v1/command_pb.d.ts +47 -0
- package/ai/stigmer/iam/iampolicy/v1/command_pb.js +1 -1
- package/ai/stigmer/iam/iampolicy/v1/command_pb.js.map +1 -1
- package/ai/stigmer/iam/platformclient/v1/spec_pb.d.ts +21 -8
- package/ai/stigmer/iam/platformclient/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/iam/platformclient/v1/token_connect.d.ts +7 -1
- package/ai/stigmer/iam/platformclient/v1/token_connect.js +7 -1
- package/ai/stigmer/iam/platformclient/v1/token_connect.js.map +1 -1
- package/ai/stigmer/iam/platformclient/v1/token_pb.d.ts +14 -5
- package/ai/stigmer/iam/platformclient/v1/token_pb.js.map +1 -1
- package/ai/stigmer/platform/v1/server_info_pb.d.ts +54 -5
- package/ai/stigmer/platform/v1/server_info_pb.js +1 -1
- package/ai/stigmer/platform/v1/server_info_pb.js.map +1 -1
- package/ai/stigmer/search/v1/io_pb.d.ts +5 -3
- package/ai/stigmer/search/v1/io_pb.js.map +1 -1
- package/package.json +1 -1
|
@@ -71,13 +71,18 @@ export type McpServerSpec = Message<"ai.stigmer.agentic.mcpserver.v1.McpServerSp
|
|
|
71
71
|
/**
|
|
72
72
|
* Default tools to enable from this MCP server.
|
|
73
73
|
* Empty list means all tools are enabled by default.
|
|
74
|
+
* Applies whenever an agent's McpServerUsage.enabled_tools is empty.
|
|
74
75
|
*
|
|
75
76
|
* @internal
|
|
76
77
|
* Tool names must match exactly what the MCP server reports via tools/list.
|
|
77
78
|
* Only names from discovered_capabilities.tools are valid here.
|
|
78
79
|
* Do NOT include names from discovered_capabilities.resource_templates —
|
|
79
80
|
* resource templates are read-only data endpoints, not callable tools.
|
|
80
|
-
*
|
|
81
|
+
* A name the server does not expose (including a resource template name)
|
|
82
|
+
* is warned and ignored at execution: the runner enforces the INTERSECTION
|
|
83
|
+
* with the server's live toolset, so a stale or mistyped entry narrows the
|
|
84
|
+
* toolset but never widens it or fails the run. Enforcement is per harness
|
|
85
|
+
* — see McpServerUsage.enabled_tools in agent/v1/spec.proto.
|
|
81
86
|
*
|
|
82
87
|
* @generated from field: repeated string default_enabled_tools = 7;
|
|
83
88
|
*/
|
|
@@ -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,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAY,aAAa,CAC7E,QAAQ,CAAC,0mEAA0mE,EAAE,CAAC,2CAA2C,EAAE,iDAAiD,EAAE,sCAAsC,EAAE,0BAA0B,CAAC,CAAC,CAAC;
|
|
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,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAY,aAAa,CAC7E,QAAQ,CAAC,0mEAA0mE,EAAE,CAAC,2CAA2C,EAAE,iDAAiD,EAAE,sCAAsC,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAwK7xE;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAA8B,aAAa,CACzE,WAAW,CAAC,yCAAyC,EAAE,CAAC,CAAC,CAAC;AA+D5D;;;GAGG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAkC,aAAa,CACjF,WAAW,CAAC,yCAAyC,EAAE,CAAC,CAAC,CAAC;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"}
|
|
@@ -102,8 +102,9 @@ export declare const McpServerStatusSchema: GenMessage<McpServerStatus>;
|
|
|
102
102
|
* - tools: Callable actions the agent can invoke (e.g., search_code, create_pr).
|
|
103
103
|
* Only tool names are valid in Agent enabled_tools and McpServer default_enabled_tools.
|
|
104
104
|
* - resource_templates: Read-only data endpoints accessed by URI template.
|
|
105
|
-
* Resource template names must NEVER appear in enabled_tools —
|
|
106
|
-
* a
|
|
105
|
+
* Resource template names must NEVER appear in enabled_tools — such a name
|
|
106
|
+
* never matches a discovered tool, so the runner warns and ignores it
|
|
107
|
+
* (enforcing the intersection with the live toolset).
|
|
107
108
|
*
|
|
108
109
|
* Populated by:
|
|
109
110
|
* - Seedpack bootstrap (built-in servers with known, stable tool sets)
|
|
@@ -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;
|
|
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,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,GAA6B,aAAa,CAC1E,QAAQ,CAAC,2CAA2C,EAAE,CAAC,CAAC,CAAC;AAE3D;;;;;;;;GAQG;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"}
|
|
@@ -857,9 +857,16 @@ export type SendSignalInput = Message<"ai.stigmer.agentic.workflowexecution.v1.S
|
|
|
857
857
|
* Optional idempotency key for deduplication of signal delivery.
|
|
858
858
|
*
|
|
859
859
|
* @internal
|
|
860
|
-
* When provided,
|
|
861
|
-
*
|
|
862
|
-
*
|
|
860
|
+
* When provided, a signal whose key was already DELIVERED (within a 24-hour
|
|
861
|
+
* window anchored at delivery) is rejected with ALREADY_EXISTS instead of
|
|
862
|
+
* being re-delivered; nothing is cached or replayed. A same-key request
|
|
863
|
+
* whose delivery is currently in flight is rejected with ABORTED — a
|
|
864
|
+
* retryable conflict, unlike ALREADY_EXISTS. A FAILED delivery frees the
|
|
865
|
+
* key (immediately on a clean failure, within a short in-flight hold after
|
|
866
|
+
* a crash), so retrying a failed attempt with the same key works — the
|
|
867
|
+
* scenario idempotency keys exist for. Both editions enforce this
|
|
868
|
+
* identically. Keys are scoped to the organization to prevent cross-org
|
|
869
|
+
* collisions.
|
|
863
870
|
*
|
|
864
871
|
* @since Gap B2 (Event Dedupe)
|
|
865
872
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"io_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/workflowexecution/v1/io_pb.ts"],"names":[],"mapp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C7E,WAAW,CAAC,+CAA+C,EAAE,EAAE,CAAC,CAAC;AA8BnE;;;GAGG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAqC,aAAa,CACvF,WAAW,CAAC,+CAA+C,EAAE,EAAE,CAAC,CAAC;AAEnE;;;;;;GAMG;AACH,MAAM,CAAN,IAAY,kBAqCX;AArCD,WAAY,kBAAkB;IAC5B;;;;OAIG;IACH,yEAAe,CAAA;IAEf;;;;OAIG;IACH,uEAAc,CAAA;IAEd;;;;;;OAMG;IACH,mEAAY,CAAA;IAEZ;;;;OAIG;IACH,2DAAQ,CAAA;IAER;;;;OAIG;IACH,+DAAU,CAAA;AACZ,CAAC,EArCW,kBAAkB,KAAlB,kBAAkB,QAqC7B;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAgC,aAAa,CAChF,QAAQ,CAAC,+CAA+C,EAAE,CAAC,CAAC,CAAC;AAE/D;;;;;;GAMG;AACH,MAAM,CAAN,IAAY,iBAyBX;AAzBD,WAAY,iBAAiB;IAC3B;;OAEG;IACH,uEAAe,CAAA;IAEf;;OAEG;IACH,iEAAY,CAAA;IAEZ;;OAEG;IACH,+DAAW,CAAA;IAEX;;OAEG;IACH,iEAAY,CAAA;IAEZ;;OAEG;IACH,iEAAY,CAAA;AACd,CAAC,EAzBW,iBAAiB,KAAjB,iBAAiB,QAyB5B;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAA+B,aAAa,CAC9E,QAAQ,CAAC,+CAA+C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -300,6 +300,23 @@ export type ModelPricingBaseline = Message<"ai.stigmer.billing.v1.ModelPricingBa
|
|
|
300
300
|
pricingVariants: {
|
|
301
301
|
[key: string]: PricingVariant;
|
|
302
302
|
};
|
|
303
|
+
/**
|
|
304
|
+
* Wire model names that resolve directly to this base entry — the
|
|
305
|
+
* base-level twin of PricingVariant.wire_ids, for served-model names
|
|
306
|
+
* that neither match the canonical id nor normalize to a clean
|
|
307
|
+
* "base + suffix" form (e.g. "gemini-3-flash-preview" for
|
|
308
|
+
* gemini-3-flash, "accounts/fireworks/models/kimi-k2p7-code" for
|
|
309
|
+
* kimi-k2.7-code — Cursor's serving stack reports upstream serving
|
|
310
|
+
* names the catalog never uses). Matched case-insensitively; billed
|
|
311
|
+
* at the base rates.
|
|
312
|
+
*
|
|
313
|
+
* Distinct from api_model_id, which is the single OUTBOUND identifier
|
|
314
|
+
* the runner dispatches with. Wire ids are INBOUND aliases only: they
|
|
315
|
+
* must never appear in pickers or dispatch requests.
|
|
316
|
+
*
|
|
317
|
+
* @generated from field: repeated string wire_ids = 24;
|
|
318
|
+
*/
|
|
319
|
+
wireIds: string[];
|
|
303
320
|
/**
|
|
304
321
|
* @generated from field: int32 context_window_tokens = 13;
|
|
305
322
|
*/
|
|
@@ -7,7 +7,7 @@ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
|
7
7
|
/**
|
|
8
8
|
* Describes the file ai/stigmer/billing/v1/model_pricing_baseline.proto.
|
|
9
9
|
*/
|
|
10
|
-
export const file_ai_stigmer_billing_v1_model_pricing_baseline = /*@__PURE__*/ fileDesc("
|
|
10
|
+
export const file_ai_stigmer_billing_v1_model_pricing_baseline = /*@__PURE__*/ fileDesc("CjJhaS9zdGlnbWVyL2JpbGxpbmcvdjEvbW9kZWxfcHJpY2luZ19iYXNlbGluZS5wcm90bxIVYWkuc3RpZ21lci5iaWxsaW5nLnYxIoADCgxQcmljaW5nQmxvY2sSLwoeaW5wdXRfcHJpY2VfbWljcm9zX3Blcl9taWxsaW9uGAEgASgDQge6SAQiAigAEjAKH291dHB1dF9wcmljZV9taWNyb3NfcGVyX21pbGxpb24YAiABKANCB7pIBCICKAASNQokY2FjaGVfd3JpdGVfcHJpY2VfbWljcm9zX3Blcl9taWxsaW9uGAMgASgDQge6SAQiAigAEjQKI2NhY2hlX3JlYWRfcHJpY2VfbWljcm9zX3Blcl9taWxsaW9uGAQgASgDQge6SAQi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GlnbWVyLmJpbGxpbmcudjEuUHJpY2luZ1ZhcmlhbnQ6AjgBKqcBChpNb2RlbFByaWNpbmdCYXNlbGluZVN0YXR1cxItCiltb2RlbF9wcmljaW5nX2Jhc2VsaW5lX3N0YXR1c191bnNwZWNpZmllZBAAEhsKF3ByaWNpbmdfYmFzZWxpbmVfYWN0aXZlEAESHwobcHJpY2luZ19iYXNlbGluZV9zdXBlcnNlZGVkEAISHAoYcHJpY2luZ19iYXNlbGluZV9yZXRpcmVkEANiBnByb3RvMw", [file_buf_validate_validate, file_google_protobuf_timestamp]);
|
|
11
11
|
/**
|
|
12
12
|
* Describes the message ai.stigmer.billing.v1.PricingBlock.
|
|
13
13
|
* Use `create(PricingBlockSchema)` to create a new message.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model_pricing_baseline_pb.js","sourceRoot":"","sources":["../../../../../ai/stigmer/billing/v1/model_pricing_baseline_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,yHAAyH;AACzH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC/E,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAErF,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAGxE;;GAEG;AACH,MAAM,CAAC,MAAM,iDAAiD,GAAY,aAAa,CACrF,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"model_pricing_baseline_pb.js","sourceRoot":"","sources":["../../../../../ai/stigmer/billing/v1/model_pricing_baseline_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,yHAAyH;AACzH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC/E,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAErF,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAGxE;;GAEG;AACH,MAAM,CAAC,MAAM,iDAAiD,GAAY,aAAa,CACrF,QAAQ,CAAC,gzFAAgzF,EAAE,CAAC,0BAA0B,EAAE,8BAA8B,CAAC,CAAC,CAAC;AA+E33F;;;GAGG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAA6B,aAAa,CACvE,WAAW,CAAC,iDAAiD,EAAE,CAAC,CAAC,CAAC;AA0BpE;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAA+B,aAAa,CAC3E,WAAW,CAAC,iDAAiD,EAAE,CAAC,CAAC,CAAC;AAgCpE;;;GAGG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAoC,aAAa,CACrF,WAAW,CAAC,iDAAiD,EAAE,CAAC,CAAC,CAAC;AAsEpE;;;GAGG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAkC,aAAa,CACjF,WAAW,CAAC,iDAAiD,EAAE,CAAC,CAAC,CAAC;AA+LpE;;;GAGG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAqC,aAAa,CACvF,WAAW,CAAC,iDAAiD,EAAE,CAAC,CAAC,CAAC;AAEpE;;;;;;;;;;;GAWG;AACH,MAAM,CAAN,IAAY,0BA4BX;AA5BD,WAAY,0BAA0B;IACpC;;OAEG;IACH,qJAA6C,CAAA;IAE7C;;;;;OAKG;IACH,iHAA2B,CAAA;IAE3B;;;;OAIG;IACH,yHAA+B,CAAA;IAE/B;;;;;OAKG;IACH,mHAA4B,CAAA;AAC9B,CAAC,EA5BW,0BAA0B,KAA1B,0BAA0B,QA4BrC;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAwC,aAAa,CAChG,QAAQ,CAAC,iDAAiD,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -119,7 +119,9 @@ export declare const ApiResourceStateOperationTypeSchema: GenEnum<ApiResourceSta
|
|
|
119
119
|
*
|
|
120
120
|
* The visibility levels map to FGA tuples:
|
|
121
121
|
* - PRIVATE: no additional viewer tuples (owner-only access)
|
|
122
|
-
* - ORG: resource#viewer@organization:<org>#
|
|
122
|
+
* - ORG: resource#viewer@organization:<org>#viewer tuple (everyone in the
|
|
123
|
+
* org — the org role hierarchy flows downward, so owners, admins, members
|
|
124
|
+
* AND read-only viewers all satisfy the organization#viewer userset)
|
|
123
125
|
* - PUBLIC: resource#viewer@identity_account:* with allow_public (all users)
|
|
124
126
|
* - PLATFORM: resource#platform_viewer@identity_provider:<idp>#platform_user
|
|
125
127
|
* (all members of all organizations managed by the owning org's
|
|
@@ -165,14 +167,23 @@ export declare enum ApiResourceVisibility {
|
|
|
165
167
|
*/
|
|
166
168
|
visibility_public = 2,
|
|
167
169
|
/**
|
|
168
|
-
*
|
|
170
|
+
* Everyone in the owning organization can access (read) this resource —
|
|
171
|
+
* all org roles including read-only viewers (the role SSO auto-provisioning
|
|
172
|
+
* grants by default). Running or otherwise spending against the resource
|
|
173
|
+
* still requires the org-level member-or-guest permissions
|
|
174
|
+
* (can_create_session / can_create_execution_in); org visibility widens
|
|
175
|
+
* read, never spend.
|
|
169
176
|
* Used for instances where a team wants shared observability of executions
|
|
170
177
|
* without granting access to all authenticated users.
|
|
171
178
|
*
|
|
172
|
-
* FGA tuple: resource#viewer@organization:<org>#
|
|
179
|
+
* FGA tuple: resource#viewer@organization:<org>#viewer
|
|
180
|
+
* (Before cloud#257 the tuple targeted organization#member, which
|
|
181
|
+
* excluded viewer-role users; legacy tuples keep resolving until the
|
|
182
|
+
* cloud's boot-time backfill converges them.)
|
|
173
183
|
*
|
|
174
184
|
* For workflow instances, this enables zero-tuple-per-execution shared
|
|
175
|
-
* observability:
|
|
185
|
+
* observability: everyone in the org sees all executions via inheritance
|
|
186
|
+
* once the instance opts in.
|
|
176
187
|
*
|
|
177
188
|
* @generated from enum value: visibility_org = 3;
|
|
178
189
|
*/
|
|
@@ -124,7 +124,9 @@ export const ApiResourceStateOperationTypeSchema = /*@__PURE__*/ enumDesc(file_a
|
|
|
124
124
|
*
|
|
125
125
|
* The visibility levels map to FGA tuples:
|
|
126
126
|
* - PRIVATE: no additional viewer tuples (owner-only access)
|
|
127
|
-
* - ORG: resource#viewer@organization:<org>#
|
|
127
|
+
* - ORG: resource#viewer@organization:<org>#viewer tuple (everyone in the
|
|
128
|
+
* org — the org role hierarchy flows downward, so owners, admins, members
|
|
129
|
+
* AND read-only viewers all satisfy the organization#viewer userset)
|
|
128
130
|
* - PUBLIC: resource#viewer@identity_account:* with allow_public (all users)
|
|
129
131
|
* - PLATFORM: resource#platform_viewer@identity_provider:<idp>#platform_user
|
|
130
132
|
* (all members of all organizations managed by the owning org's
|
|
@@ -171,14 +173,23 @@ export var ApiResourceVisibility;
|
|
|
171
173
|
*/
|
|
172
174
|
ApiResourceVisibility[ApiResourceVisibility["visibility_public"] = 2] = "visibility_public";
|
|
173
175
|
/**
|
|
174
|
-
*
|
|
176
|
+
* Everyone in the owning organization can access (read) this resource —
|
|
177
|
+
* all org roles including read-only viewers (the role SSO auto-provisioning
|
|
178
|
+
* grants by default). Running or otherwise spending against the resource
|
|
179
|
+
* still requires the org-level member-or-guest permissions
|
|
180
|
+
* (can_create_session / can_create_execution_in); org visibility widens
|
|
181
|
+
* read, never spend.
|
|
175
182
|
* Used for instances where a team wants shared observability of executions
|
|
176
183
|
* without granting access to all authenticated users.
|
|
177
184
|
*
|
|
178
|
-
* FGA tuple: resource#viewer@organization:<org>#
|
|
185
|
+
* FGA tuple: resource#viewer@organization:<org>#viewer
|
|
186
|
+
* (Before cloud#257 the tuple targeted organization#member, which
|
|
187
|
+
* excluded viewer-role users; legacy tuples keep resolving until the
|
|
188
|
+
* cloud's boot-time backfill converges them.)
|
|
179
189
|
*
|
|
180
190
|
* For workflow instances, this enables zero-tuple-per-execution shared
|
|
181
|
-
* observability:
|
|
191
|
+
* observability: everyone in the org sees all executions via inheritance
|
|
192
|
+
* once the instance opts in.
|
|
182
193
|
*
|
|
183
194
|
* @generated from enum value: visibility_org = 3;
|
|
184
195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N,IAAY,qBAwFX;AAxFD,WAAY,qBAAqB;IAC/B;;;;;;;OAOG;IACH,+HAAuC,CAAA;IAEvC;;;;;;;;;;;;;;;;OAgBG;IACH,6FAAsB,CAAA;IAEtB;;;;;;;OAOG;IACH,2FAAqB,CAAA;IAErB;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,qFAAkB,CAAA;IAElB;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,+FAAuB,CAAA;AACzB,CAAC,EAxFW,qBAAqB,KAArB,qBAAqB,QAwFhC;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAmC,aAAa,CACtF,QAAQ,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -203,6 +203,9 @@ export declare const IamPolicyCommandController: {
|
|
|
203
203
|
*
|
|
204
204
|
* Authorization:
|
|
205
205
|
* - Caller must have 'can_grant_access' permission on the organization
|
|
206
|
+
* - System flows running as the platform machine account cannot satisfy this
|
|
207
|
+
* check (the machine account holds no org-scoped grants by design) and must
|
|
208
|
+
* use bootstrapRevokeOrgAccess instead
|
|
206
209
|
*
|
|
207
210
|
* Use Cases:
|
|
208
211
|
* - Removing a member from an organization
|
|
@@ -219,5 +222,50 @@ export declare const IamPolicyCommandController: {
|
|
|
219
222
|
readonly O: any;
|
|
220
223
|
readonly kind: any;
|
|
221
224
|
};
|
|
225
|
+
/**
|
|
226
|
+
* Revoke all of a user's access to an organization via the system (bootstrap) path.
|
|
227
|
+
*
|
|
228
|
+
* The system-flow twin of revokeOrgAccess: identical revocation behavior, but
|
|
229
|
+
* authorized by can_bootstrap_iam on platform:stigmer instead of
|
|
230
|
+
* can_grant_access on the organization.
|
|
231
|
+
*
|
|
232
|
+
* @internal
|
|
233
|
+
* Exists because system flows execute the revoke as the platform machine
|
|
234
|
+
* account, which by design holds no org-scoped grants. The system channel does
|
|
235
|
+
* NOT bypass authorization — it authenticates as the machine account, which
|
|
236
|
+
* can only satisfy platform-scoped permissions. revokeOrgAccess therefore
|
|
237
|
+
* always fails with PERMISSION_DENIED on the system channel; this RPC is the
|
|
238
|
+
* sanctioned path, mirroring how bootstrapPolicy is the system-path twin of
|
|
239
|
+
* create (see https://github.com/stigmer/stigmer/issues/332).
|
|
240
|
+
*
|
|
241
|
+
* The operation (identical to revokeOrgAccess after authorization):
|
|
242
|
+
* 1. Validates can_bootstrap_iam permission on platform:stigmer
|
|
243
|
+
* 2. Loads all policies where the identity account is principal within the org
|
|
244
|
+
* scope, plus policies directly on the organization itself
|
|
245
|
+
* 3. Deletes all matching policies from MongoDB
|
|
246
|
+
* 4. Removes all corresponding tuples from OpenFGA (idempotent if none exist)
|
|
247
|
+
*
|
|
248
|
+
* Authorization:
|
|
249
|
+
* - Caller must have 'can_bootstrap_iam' permission on platform:stigmer
|
|
250
|
+
* - This is typically only granted to platform services (machine accounts)
|
|
251
|
+
*
|
|
252
|
+
* Use Cases:
|
|
253
|
+
* - Federated account deprovisioning (deprovisionFederatedAccount's revoke step)
|
|
254
|
+
* - Any platform-driven offboarding that runs under system credentials
|
|
255
|
+
*
|
|
256
|
+
* End-user member removal must use revokeOrgAccess, which checks
|
|
257
|
+
* can_grant_access on the organization.
|
|
258
|
+
*
|
|
259
|
+
* Input: RevokeOrgAccessInput with identity_account_id and organization_id
|
|
260
|
+
* Output: Empty (google.protobuf.Empty)
|
|
261
|
+
*
|
|
262
|
+
* @generated from rpc ai.stigmer.iam.iampolicy.v1.IamPolicyCommandController.bootstrapRevokeOrgAccess
|
|
263
|
+
*/
|
|
264
|
+
readonly bootstrapRevokeOrgAccess: {
|
|
265
|
+
readonly name: "bootstrapRevokeOrgAccess";
|
|
266
|
+
readonly I: any;
|
|
267
|
+
readonly O: any;
|
|
268
|
+
readonly kind: any;
|
|
269
|
+
};
|
|
222
270
|
};
|
|
223
271
|
};
|
|
@@ -211,6 +211,9 @@ export const IamPolicyCommandController = {
|
|
|
211
211
|
*
|
|
212
212
|
* Authorization:
|
|
213
213
|
* - Caller must have 'can_grant_access' permission on the organization
|
|
214
|
+
* - System flows running as the platform machine account cannot satisfy this
|
|
215
|
+
* check (the machine account holds no org-scoped grants by design) and must
|
|
216
|
+
* use bootstrapRevokeOrgAccess instead
|
|
214
217
|
*
|
|
215
218
|
* Use Cases:
|
|
216
219
|
* - Removing a member from an organization
|
|
@@ -227,6 +230,51 @@ export const IamPolicyCommandController = {
|
|
|
227
230
|
O: Empty,
|
|
228
231
|
kind: MethodKind.Unary,
|
|
229
232
|
},
|
|
233
|
+
/**
|
|
234
|
+
* Revoke all of a user's access to an organization via the system (bootstrap) path.
|
|
235
|
+
*
|
|
236
|
+
* The system-flow twin of revokeOrgAccess: identical revocation behavior, but
|
|
237
|
+
* authorized by can_bootstrap_iam on platform:stigmer instead of
|
|
238
|
+
* can_grant_access on the organization.
|
|
239
|
+
*
|
|
240
|
+
* @internal
|
|
241
|
+
* Exists because system flows execute the revoke as the platform machine
|
|
242
|
+
* account, which by design holds no org-scoped grants. The system channel does
|
|
243
|
+
* NOT bypass authorization — it authenticates as the machine account, which
|
|
244
|
+
* can only satisfy platform-scoped permissions. revokeOrgAccess therefore
|
|
245
|
+
* always fails with PERMISSION_DENIED on the system channel; this RPC is the
|
|
246
|
+
* sanctioned path, mirroring how bootstrapPolicy is the system-path twin of
|
|
247
|
+
* create (see https://github.com/stigmer/stigmer/issues/332).
|
|
248
|
+
*
|
|
249
|
+
* The operation (identical to revokeOrgAccess after authorization):
|
|
250
|
+
* 1. Validates can_bootstrap_iam permission on platform:stigmer
|
|
251
|
+
* 2. Loads all policies where the identity account is principal within the org
|
|
252
|
+
* scope, plus policies directly on the organization itself
|
|
253
|
+
* 3. Deletes all matching policies from MongoDB
|
|
254
|
+
* 4. Removes all corresponding tuples from OpenFGA (idempotent if none exist)
|
|
255
|
+
*
|
|
256
|
+
* Authorization:
|
|
257
|
+
* - Caller must have 'can_bootstrap_iam' permission on platform:stigmer
|
|
258
|
+
* - This is typically only granted to platform services (machine accounts)
|
|
259
|
+
*
|
|
260
|
+
* Use Cases:
|
|
261
|
+
* - Federated account deprovisioning (deprovisionFederatedAccount's revoke step)
|
|
262
|
+
* - Any platform-driven offboarding that runs under system credentials
|
|
263
|
+
*
|
|
264
|
+
* End-user member removal must use revokeOrgAccess, which checks
|
|
265
|
+
* can_grant_access on the organization.
|
|
266
|
+
*
|
|
267
|
+
* Input: RevokeOrgAccessInput with identity_account_id and organization_id
|
|
268
|
+
* Output: Empty (google.protobuf.Empty)
|
|
269
|
+
*
|
|
270
|
+
* @generated from rpc ai.stigmer.iam.iampolicy.v1.IamPolicyCommandController.bootstrapRevokeOrgAccess
|
|
271
|
+
*/
|
|
272
|
+
bootstrapRevokeOrgAccess: {
|
|
273
|
+
name: "bootstrapRevokeOrgAccess",
|
|
274
|
+
I: RevokeOrgAccessInput,
|
|
275
|
+
O: Empty,
|
|
276
|
+
kind: MethodKind.Unary,
|
|
277
|
+
},
|
|
230
278
|
}
|
|
231
279
|
};
|
|
232
280
|
//# sourceMappingURL=command_connect.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/iampolicy/v1/command_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,sHAAsH;AACtH,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEjD;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,QAAQ,EAAE,wDAAwD;IAClE,OAAO,EAAE;QACP;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WA8BG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,aAAa;YAChB,CAAC,EAAE,SAAS;YACZ,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAgCG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,aAAa;YAChB,CAAC,EAAE,SAAS;YACZ,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WA0CG;QACH,eAAe,EAAE;YACf,IAAI,EAAE,iBAAiB;YACvB,CAAC,EAAE,aAAa;YAChB,CAAC,EAAE,SAAS;YACZ,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAkCG;QACH,uBAAuB,EAAE;YACvB,IAAI,EAAE,yBAAyB;YAC/B,CAAC,EAAE,cAAc;YACjB,CAAC,EAAE,KAAK;YACR,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD
|
|
1
|
+
{"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/iampolicy/v1/command_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,sHAAsH;AACtH,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEjD;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,QAAQ,EAAE,wDAAwD;IAClE,OAAO,EAAE;QACP;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WA8BG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,aAAa;YAChB,CAAC,EAAE,SAAS;YACZ,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAgCG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,aAAa;YAChB,CAAC,EAAE,SAAS;YACZ,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WA0CG;QACH,eAAe,EAAE;YACf,IAAI,EAAE,iBAAiB;YACvB,CAAC,EAAE,aAAa;YAChB,CAAC,EAAE,SAAS;YACZ,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAkCG;QACH,uBAAuB,EAAE;YACvB,IAAI,EAAE,yBAAyB;YAC/B,CAAC,EAAE,cAAc;YACjB,CAAC,EAAE,KAAK;YACR,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WA6BG;QACH,eAAe,EAAE;YACf,IAAI,EAAE,iBAAiB;YACvB,CAAC,EAAE,oBAAoB;YACvB,CAAC,EAAE,KAAK;YACR,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAsCG;QACH,wBAAwB,EAAE;YACxB,IAAI,EAAE,0BAA0B;YAChC,CAAC,EAAE,oBAAoB;YACvB,CAAC,EAAE,KAAK;YACR,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
|
|
@@ -206,6 +206,9 @@ export declare const IamPolicyCommandController: GenService<{
|
|
|
206
206
|
*
|
|
207
207
|
* Authorization:
|
|
208
208
|
* - Caller must have 'can_grant_access' permission on the organization
|
|
209
|
+
* - System flows running as the platform machine account cannot satisfy this
|
|
210
|
+
* check (the machine account holds no org-scoped grants by design) and must
|
|
211
|
+
* use bootstrapRevokeOrgAccess instead
|
|
209
212
|
*
|
|
210
213
|
* Use Cases:
|
|
211
214
|
* - Removing a member from an organization
|
|
@@ -221,4 +224,48 @@ export declare const IamPolicyCommandController: GenService<{
|
|
|
221
224
|
input: typeof RevokeOrgAccessInputSchema;
|
|
222
225
|
output: typeof EmptySchema;
|
|
223
226
|
};
|
|
227
|
+
/**
|
|
228
|
+
* Revoke all of a user's access to an organization via the system (bootstrap) path.
|
|
229
|
+
*
|
|
230
|
+
* The system-flow twin of revokeOrgAccess: identical revocation behavior, but
|
|
231
|
+
* authorized by can_bootstrap_iam on platform:stigmer instead of
|
|
232
|
+
* can_grant_access on the organization.
|
|
233
|
+
*
|
|
234
|
+
* @internal
|
|
235
|
+
* Exists because system flows execute the revoke as the platform machine
|
|
236
|
+
* account, which by design holds no org-scoped grants. The system channel does
|
|
237
|
+
* NOT bypass authorization — it authenticates as the machine account, which
|
|
238
|
+
* can only satisfy platform-scoped permissions. revokeOrgAccess therefore
|
|
239
|
+
* always fails with PERMISSION_DENIED on the system channel; this RPC is the
|
|
240
|
+
* sanctioned path, mirroring how bootstrapPolicy is the system-path twin of
|
|
241
|
+
* create (see https://github.com/stigmer/stigmer/issues/332).
|
|
242
|
+
*
|
|
243
|
+
* The operation (identical to revokeOrgAccess after authorization):
|
|
244
|
+
* 1. Validates can_bootstrap_iam permission on platform:stigmer
|
|
245
|
+
* 2. Loads all policies where the identity account is principal within the org
|
|
246
|
+
* scope, plus policies directly on the organization itself
|
|
247
|
+
* 3. Deletes all matching policies from MongoDB
|
|
248
|
+
* 4. Removes all corresponding tuples from OpenFGA (idempotent if none exist)
|
|
249
|
+
*
|
|
250
|
+
* Authorization:
|
|
251
|
+
* - Caller must have 'can_bootstrap_iam' permission on platform:stigmer
|
|
252
|
+
* - This is typically only granted to platform services (machine accounts)
|
|
253
|
+
*
|
|
254
|
+
* Use Cases:
|
|
255
|
+
* - Federated account deprovisioning (deprovisionFederatedAccount's revoke step)
|
|
256
|
+
* - Any platform-driven offboarding that runs under system credentials
|
|
257
|
+
*
|
|
258
|
+
* End-user member removal must use revokeOrgAccess, which checks
|
|
259
|
+
* can_grant_access on the organization.
|
|
260
|
+
*
|
|
261
|
+
* Input: RevokeOrgAccessInput with identity_account_id and organization_id
|
|
262
|
+
* Output: Empty (google.protobuf.Empty)
|
|
263
|
+
*
|
|
264
|
+
* @generated from rpc ai.stigmer.iam.iampolicy.v1.IamPolicyCommandController.bootstrapRevokeOrgAccess
|
|
265
|
+
*/
|
|
266
|
+
bootstrapRevokeOrgAccess: {
|
|
267
|
+
methodKind: "unary";
|
|
268
|
+
input: typeof RevokeOrgAccessInputSchema;
|
|
269
|
+
output: typeof EmptySchema;
|
|
270
|
+
};
|
|
224
271
|
}>;
|
|
@@ -11,7 +11,7 @@ import { file_google_protobuf_empty } from "@bufbuild/protobuf/wkt";
|
|
|
11
11
|
/**
|
|
12
12
|
* Describes the file ai/stigmer/iam/iampolicy/v1/command.proto.
|
|
13
13
|
*/
|
|
14
|
-
export const file_ai_stigmer_iam_iampolicy_v1_command = /*@__PURE__*/ fileDesc("
|
|
14
|
+
export const file_ai_stigmer_iam_iampolicy_v1_command = /*@__PURE__*/ fileDesc("CilhaS9zdGlnbWVyL2lhbS9pYW1wb2xpY3kvdjEvY29tbWFuZC5wcm90bxIbYWkuc3RpZ21lci5pYW0uaWFtcG9saWN5LnYxMpsIChpJYW1Qb2xpY3lDb21tYW5kQ29udHJvbGxlchKCAQoGY3JlYXRlEiouYWkuc3RpZ21lci5pYW0uaWFtcG9saWN5LnYxLklhbVBvbGljeVNwZWMaJi5haS5zdGlnbWVyLmlhbS5pYW1wb2xpY3kudjEuSWFtUG9saWN5IiTCuBggCAQqHHVuYXV0aG9yaXplZCB0byBncmFudCBhY2Nlc3MSgwEKBmRlbGV0ZRIqLmFpLnN0aWdtZXIuaWFtLmlhbXBvbGljeS52MS5JYW1Qb2xpY3lTcGVjG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cGVybWlzc2lvbiByZXF1aXJlZDIHc3RpZ21lchoEoP8rCmIGcHJvdG8z", [file_ai_stigmer_commons_apiresource_rpc_service_options, file_ai_stigmer_commons_rpc_method_options, file_ai_stigmer_iam_iampolicy_v1_api, file_ai_stigmer_iam_iampolicy_v1_io, file_ai_stigmer_iam_iampolicy_v1_spec, file_google_protobuf_empty]);
|
|
15
15
|
/**
|
|
16
16
|
* IAM Policy Command Controller
|
|
17
17
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/iampolicy/v1/command_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sHAAsH;AACtH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,uDAAuD,EAAE,MAAM,wDAAwD,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG,OAAO,EAAE,oCAAoC,EAAE,MAAM,aAAa,CAAC;AAEnE,OAAO,EAAE,mCAAmC,EAAE,MAAM,YAAY,CAAC;AAEjE,OAAO,EAAE,qCAAqC,EAAE,MAAM,cAAc,CAAC;AAErE,OAAO,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AAEpE;;GAEG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAY,aAAa,CAC5E,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/iampolicy/v1/command_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sHAAsH;AACtH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,uDAAuD,EAAE,MAAM,wDAAwD,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG,OAAO,EAAE,oCAAoC,EAAE,MAAM,aAAa,CAAC;AAEnE,OAAO,EAAE,mCAAmC,EAAE,MAAM,YAAY,CAAC;AAEjE,OAAO,EAAE,qCAAqC,EAAE,MAAM,cAAc,CAAC;AAErE,OAAO,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AAEpE;;GAEG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAY,aAAa,CAC5E,QAAQ,CAAC,0+CAA0+C,EAAE,CAAC,uDAAuD,EAAE,0CAA0C,EAAE,oCAAoC,EAAE,mCAAmC,EAAE,qCAAqC,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAE5uD;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAkPlC,aAAa,CAChB,WAAW,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -140,14 +140,27 @@ export type PlatformClientSpec = Message<"ai.stigmer.iam.platformclient.v1.Platf
|
|
|
140
140
|
*/
|
|
141
141
|
autoGrantRole: IamRole;
|
|
142
142
|
/**
|
|
143
|
-
*
|
|
144
|
-
* this PlatformClient.
|
|
145
|
-
*
|
|
146
|
-
*
|
|
147
|
-
*
|
|
148
|
-
*
|
|
149
|
-
*
|
|
150
|
-
* or when the platform controls all access points).
|
|
143
|
+
* Web origins allowed for browser-based requests using tokens minted by
|
|
144
|
+
* this PlatformClient (Stigmer Cloud).
|
|
145
|
+
*
|
|
146
|
+
* Enforced on every API request bearing a user token minted by this
|
|
147
|
+
* client (never on mintUserToken itself — minting is server-to-server and
|
|
148
|
+
* carries no browser Origin):
|
|
149
|
+
* - Empty list: origin validation is not enforced (open mode — suitable
|
|
150
|
+
* for development or when the platform controls all access points).
|
|
151
|
+
* - Non-empty list: the request's Origin header must match an entry
|
|
152
|
+
* (case-insensitive, per RFC 6454 origin comparison). Unlisted
|
|
153
|
+
* origins — including the opaque-origin serialization "null" — are
|
|
154
|
+
* refused PERMISSION_DENIED.
|
|
155
|
+
* - Requests without an Origin header always pass: only browsers send
|
|
156
|
+
* Origin, and only browsers guarantee it is not forgeable by page
|
|
157
|
+
* script. This is a browser-context, CORS-class defense-in-depth
|
|
158
|
+
* control against a leaked token being replayed from another site's
|
|
159
|
+
* browser context; the client_secret remains the primary control,
|
|
160
|
+
* and non-browser callers are not constrained by it.
|
|
161
|
+
*
|
|
162
|
+
* Edits propagate immediately: the enforcement cache is evicted on every
|
|
163
|
+
* PlatformClient update.
|
|
151
164
|
*
|
|
152
165
|
* @generated from field: repeated string allowed_origins = 9;
|
|
153
166
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/platformclient/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,6HAA6H;AAC7H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,iDAAiD,EAAE,MAAM,kDAAkD,CAAC;AAErH,OAAO,EAAE,2BAA2B,EAAE,MAAM,qBAAqB,CAAC;AAElE,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAGxE;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAY,aAAa,CAC9E,QAAQ,CAAC,wiBAAwiB,EAAE,CAAC,iDAAiD,EAAE,2BAA2B,EAAE,8BAA8B,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/platformclient/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,6HAA6H;AAC7H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,iDAAiD,EAAE,MAAM,kDAAkD,CAAC;AAErH,OAAO,EAAE,2BAA2B,EAAE,MAAM,qBAAqB,CAAC;AAElE,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAGxE;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAY,aAAa,CAC9E,QAAQ,CAAC,wiBAAwiB,EAAE,CAAC,iDAAiD,EAAE,2BAA2B,EAAE,8BAA8B,CAAC,CAAC,CAAC;AA2KvqB;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAmC,aAAa,CACnF,WAAW,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -42,11 +42,17 @@ export declare const PlatformClientTokenController: {
|
|
|
42
42
|
* - UNAUTHENTICATED: Invalid client_id or client_secret
|
|
43
43
|
* - FAILED_PRECONDITION: user_id does not exist and auto_provision_accounts
|
|
44
44
|
* is false, or the PlatformClient secret has expired
|
|
45
|
-
* - PERMISSION_DENIED: Origin not in allowed_origins (when configured)
|
|
46
45
|
* - INTERNAL: Account provisioning could not be completed (for example, the
|
|
47
46
|
* auto_grant_on_org role grant failed). No partial account is left behind
|
|
48
47
|
* — the account is rolled back — so the request is safe to retry.
|
|
49
48
|
*
|
|
49
|
+
* Origin enforcement (spec.allowed_origins) does NOT apply to this call:
|
|
50
|
+
* minting is server-to-server, so there is no browser Origin to check.
|
|
51
|
+
* It applies to the browser API calls that BEAR the minted token — when
|
|
52
|
+
* the PlatformClient lists allowed_origins, requests whose Origin header
|
|
53
|
+
* is not on the list are refused PERMISSION_DENIED (see the
|
|
54
|
+
* allowed_origins field docs in spec.proto for the exact semantics).
|
|
55
|
+
*
|
|
50
56
|
* @internal
|
|
51
57
|
* This RPC is public — no Bearer token is required. The caller authenticates
|
|
52
58
|
* by providing client_id + client_secret in the request body. The handler
|
|
@@ -48,11 +48,17 @@ export const PlatformClientTokenController = {
|
|
|
48
48
|
* - UNAUTHENTICATED: Invalid client_id or client_secret
|
|
49
49
|
* - FAILED_PRECONDITION: user_id does not exist and auto_provision_accounts
|
|
50
50
|
* is false, or the PlatformClient secret has expired
|
|
51
|
-
* - PERMISSION_DENIED: Origin not in allowed_origins (when configured)
|
|
52
51
|
* - INTERNAL: Account provisioning could not be completed (for example, the
|
|
53
52
|
* auto_grant_on_org role grant failed). No partial account is left behind
|
|
54
53
|
* — the account is rolled back — so the request is safe to retry.
|
|
55
54
|
*
|
|
55
|
+
* Origin enforcement (spec.allowed_origins) does NOT apply to this call:
|
|
56
|
+
* minting is server-to-server, so there is no browser Origin to check.
|
|
57
|
+
* It applies to the browser API calls that BEAR the minted token — when
|
|
58
|
+
* the PlatformClient lists allowed_origins, requests whose Origin header
|
|
59
|
+
* is not on the list are refused PERMISSION_DENIED (see the
|
|
60
|
+
* allowed_origins field docs in spec.proto for the exact semantics).
|
|
61
|
+
*
|
|
56
62
|
* @internal
|
|
57
63
|
* This RPC is public — no Bearer token is required. The caller authenticates
|
|
58
64
|
* by providing client_id + client_secret in the request body. The handler
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"token_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/platformclient/v1/token_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,8HAA8H;AAC9H,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAC1H,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC3C,QAAQ,EAAE,gEAAgE;IAC1E,OAAO,EAAE;QACP
|
|
1
|
+
{"version":3,"file":"token_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/platformclient/v1/token_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,8HAA8H;AAC9H,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAC1H,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC3C,QAAQ,EAAE,gEAAgE;IAC1E,OAAO,EAAE;QACP;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAsCG;QACH,aAAa,EAAE;YACb,IAAI,EAAE,eAAe;YACrB,CAAC,EAAE,oBAAoB;YACvB,CAAC,EAAE,qBAAqB;YACxB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;WAeG;QACH,cAAc,EAAE;YACd,IAAI,EAAE,gBAAgB;YACtB,CAAC,EAAE,qBAAqB;YACxB,CAAC,EAAE,sBAAsB;YACzB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
|
|
@@ -56,10 +56,13 @@ export type MintUserTokenRequest = Message<"ai.stigmer.iam.platformclient.v1.Min
|
|
|
56
56
|
*/
|
|
57
57
|
userName: string;
|
|
58
58
|
/**
|
|
59
|
-
* Optional
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
*
|
|
59
|
+
* Optional confirmation of the organization the token is scoped to.
|
|
60
|
+
* The minted token is ALWAYS scoped to the PlatformClient's owning
|
|
61
|
+
* organization (metadata.org) — identity resolution and the optional
|
|
62
|
+
* auto-grant are keyed on it, so cross-organization minting is not
|
|
63
|
+
* supported. When set, this value must equal that owning organization;
|
|
64
|
+
* any other value is rejected INVALID_ARGUMENT before the user is
|
|
65
|
+
* resolved or provisioned. When empty, the owning organization applies.
|
|
63
66
|
*
|
|
64
67
|
* @generated from field: string org_id = 6;
|
|
65
68
|
*/
|
|
@@ -258,11 +261,17 @@ export declare const PlatformClientTokenController: GenService<{
|
|
|
258
261
|
* - UNAUTHENTICATED: Invalid client_id or client_secret
|
|
259
262
|
* - FAILED_PRECONDITION: user_id does not exist and auto_provision_accounts
|
|
260
263
|
* is false, or the PlatformClient secret has expired
|
|
261
|
-
* - PERMISSION_DENIED: Origin not in allowed_origins (when configured)
|
|
262
264
|
* - INTERNAL: Account provisioning could not be completed (for example, the
|
|
263
265
|
* auto_grant_on_org role grant failed). No partial account is left behind
|
|
264
266
|
* — the account is rolled back — so the request is safe to retry.
|
|
265
267
|
*
|
|
268
|
+
* Origin enforcement (spec.allowed_origins) does NOT apply to this call:
|
|
269
|
+
* minting is server-to-server, so there is no browser Origin to check.
|
|
270
|
+
* It applies to the browser API calls that BEAR the minted token — when
|
|
271
|
+
* the PlatformClient lists allowed_origins, requests whose Origin header
|
|
272
|
+
* is not on the list are refused PERMISSION_DENIED (see the
|
|
273
|
+
* allowed_origins field docs in spec.proto for the exact semantics).
|
|
274
|
+
*
|
|
266
275
|
* @internal
|
|
267
276
|
* This RPC is public — no Bearer token is required. The caller authenticates
|
|
268
277
|
* by providing client_id + client_secret in the request body. The handler
|
|
@@ -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;
|
|
1
|
+
{"version":3,"file":"token_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/platformclient/v1/token_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,8HAA8H;AAC9H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