@stigmer/protos 3.10.0 → 3.11.0

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.
Files changed (46) hide show
  1. package/ai/stigmer/activity/v1/io_pb.d.ts +11 -7
  2. package/ai/stigmer/activity/v1/io_pb.js.map +1 -1
  3. package/ai/stigmer/activity/v1/query_connect.d.ts +8 -3
  4. package/ai/stigmer/activity/v1/query_connect.js +8 -3
  5. package/ai/stigmer/activity/v1/query_connect.js.map +1 -1
  6. package/ai/stigmer/activity/v1/query_pb.d.ts +8 -3
  7. package/ai/stigmer/activity/v1/query_pb.js.map +1 -1
  8. package/ai/stigmer/agentic/agent/v1/io_pb.d.ts +3 -0
  9. package/ai/stigmer/agentic/agent/v1/io_pb.js.map +1 -1
  10. package/ai/stigmer/agentic/agent/v1/query_connect.d.ts +7 -0
  11. package/ai/stigmer/agentic/agent/v1/query_connect.js +7 -0
  12. package/ai/stigmer/agentic/agent/v1/query_connect.js.map +1 -1
  13. package/ai/stigmer/agentic/agent/v1/query_pb.d.ts +7 -0
  14. package/ai/stigmer/agentic/agent/v1/query_pb.js.map +1 -1
  15. package/ai/stigmer/agentic/agent/v1/spec_pb.d.ts +16 -1
  16. package/ai/stigmer/agentic/agent/v1/spec_pb.js.map +1 -1
  17. package/ai/stigmer/agentic/executioncontext/v1/command_connect.d.ts +30 -13
  18. package/ai/stigmer/agentic/executioncontext/v1/command_connect.js +30 -13
  19. package/ai/stigmer/agentic/executioncontext/v1/command_connect.js.map +1 -1
  20. package/ai/stigmer/agentic/executioncontext/v1/command_pb.d.ts +30 -13
  21. package/ai/stigmer/agentic/executioncontext/v1/command_pb.js +16 -7
  22. package/ai/stigmer/agentic/executioncontext/v1/command_pb.js.map +1 -1
  23. package/ai/stigmer/agentic/executioncontext/v1/query_connect.d.ts +8 -6
  24. package/ai/stigmer/agentic/executioncontext/v1/query_connect.js +8 -6
  25. package/ai/stigmer/agentic/executioncontext/v1/query_connect.js.map +1 -1
  26. package/ai/stigmer/agentic/executioncontext/v1/query_pb.d.ts +8 -6
  27. package/ai/stigmer/agentic/executioncontext/v1/query_pb.js.map +1 -1
  28. package/ai/stigmer/agentic/mcpserver/v1/spec_pb.d.ts +6 -1
  29. package/ai/stigmer/agentic/mcpserver/v1/spec_pb.js.map +1 -1
  30. package/ai/stigmer/agentic/mcpserver/v1/status_pb.d.ts +3 -2
  31. package/ai/stigmer/agentic/mcpserver/v1/status_pb.js.map +1 -1
  32. package/ai/stigmer/agentic/workflowexecution/v1/io_pb.d.ts +3 -2
  33. package/ai/stigmer/agentic/workflowexecution/v1/io_pb.js.map +1 -1
  34. package/ai/stigmer/commons/apiresource/enum_pb.d.ts +15 -4
  35. package/ai/stigmer/commons/apiresource/enum_pb.js +15 -4
  36. package/ai/stigmer/commons/apiresource/enum_pb.js.map +1 -1
  37. package/ai/stigmer/iam/iampolicy/v1/command_connect.d.ts +48 -0
  38. package/ai/stigmer/iam/iampolicy/v1/command_connect.js +48 -0
  39. package/ai/stigmer/iam/iampolicy/v1/command_connect.js.map +1 -1
  40. package/ai/stigmer/iam/iampolicy/v1/command_pb.d.ts +47 -0
  41. package/ai/stigmer/iam/iampolicy/v1/command_pb.js +1 -1
  42. package/ai/stigmer/iam/iampolicy/v1/command_pb.js.map +1 -1
  43. package/ai/stigmer/platform/v1/server_info_pb.d.ts +8 -5
  44. package/ai/stigmer/platform/v1/server_info_pb.js.map +1 -1
  45. package/ai/stigmer/search/v1/io_pb.d.ts +3 -3
  46. package/package.json +1 -1
@@ -70,14 +70,18 @@ export type ListRecentActivityRequest = Message<"ai.stigmer.activity.v1.ListRece
70
70
  /**
71
71
  * Organization slug to scope the query.
72
72
  *
73
- * When provided, the handler attempts an org-scoped fast path: if the
74
- * caller is a member of this organization, it queries MongoDB directly
75
- * with `metadata.org = org` instead of enumerating per-resource FGA
76
- * tuples. This turns an O(n) FGA reverse-index scan into a single
77
- * membership check + indexed MongoDB query.
73
+ * When provided, results are narrowed to resources in this organization.
74
+ * The org NEVER widens visibility: per-resource read authority is always
75
+ * enforced (on the hosted edition, FGA `can_view` enumeration per kind),
76
+ * and the org filter only intersects that authorized set. Both recents
77
+ * kinds are private by default — sessions are personal resources and
78
+ * workflow executions opt in to org observability per instance — so org
79
+ * membership alone must never substitute for the per-resource check. An
80
+ * earlier "org member = query by org directly" fast path leaked session
81
+ * titles to every org member (stigmer-cloud#258).
78
82
  *
79
- * When empty, falls back to per-resource FGA enumeration (slower but
80
- * works regardless of org context).
83
+ * When empty, results span every organization the caller has resource
84
+ * access in.
81
85
  *
82
86
  * @generated from field: string org = 2;
83
87
  */
@@ -1 +1 @@
1
- {"version":3,"file":"io_pb.js","sourceRoot":"","sources":["../../../../../ai/stigmer/activity/v1/io_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,uGAAuG;AACvG,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAGxE;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAY,aAAa,CAClE,QAAQ,CAAC,odAAod,EAAE,CAAC,8BAA8B,CAAC,CAAC,CAAC;AAoDngB;;;GAGG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAoC,aAAa,CACrF,WAAW,CAAC,8BAA8B,EAAE,CAAC,CAAC,CAAC;AAgCjD;;;GAGG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAA0C,aAAa,CACjG,WAAW,CAAC,8BAA8B,EAAE,CAAC,CAAC,CAAC;AAiBjD;;;GAGG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAA2C,aAAa,CACnG,WAAW,CAAC,8BAA8B,EAAE,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"io_pb.js","sourceRoot":"","sources":["../../../../../ai/stigmer/activity/v1/io_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,uGAAuG;AACvG,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAGxE;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAY,aAAa,CAClE,QAAQ,CAAC,odAAod,EAAE,CAAC,8BAA8B,CAAC,CAAC,CAAC;AAoDngB;;;GAGG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAoC,aAAa,CACrF,WAAW,CAAC,8BAA8B,EAAE,CAAC,CAAC,CAAC;AAoCjD;;;GAGG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAA0C,aAAa,CACjG,WAAW,CAAC,8BAA8B,EAAE,CAAC,CAAC,CAAC;AAiBjD;;;GAGG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAA2C,aAAa,CACnG,WAAW,CAAC,8BAA8B,EAAE,CAAC,CAAC,CAAC"}
@@ -21,11 +21,16 @@ export declare const ActivityQueryController: {
21
21
  * List recent activity across sessions and workflow executions.
22
22
  *
23
23
  * Returns a merged, time-sorted list of the caller's most recent
24
- * sessions and workflow executions. Authorization filtering is applied
25
- * server-side via FGA (cloud) or returned unfiltered (OSS).
24
+ * sessions and workflow executions. On the hosted edition, per-resource
25
+ * authorization filtering is applied server-side (FGA `can_view`
26
+ * enumeration for both kinds — the same permission the per-kind `get`
27
+ * RPCs enforce, so every listed entry is openable by construction). The
28
+ * OSS server does not currently implement this RPC (stigmer#461).
26
29
  *
27
30
  * @internal
28
- * Authorization is handled in-handler via FGA-filtered queries.
31
+ * Authorization is handled in-handler: the FGA id enumeration is the only
32
+ * gate (hence is_skip_authorization); the request's org merely narrows
33
+ * the authorized set.
29
34
  *
30
35
  * @generated from rpc ai.stigmer.activity.v1.ActivityQueryController.listRecentActivity
31
36
  */
@@ -27,11 +27,16 @@ export const ActivityQueryController = {
27
27
  * List recent activity across sessions and workflow executions.
28
28
  *
29
29
  * Returns a merged, time-sorted list of the caller's most recent
30
- * sessions and workflow executions. Authorization filtering is applied
31
- * server-side via FGA (cloud) or returned unfiltered (OSS).
30
+ * sessions and workflow executions. On the hosted edition, per-resource
31
+ * authorization filtering is applied server-side (FGA `can_view`
32
+ * enumeration for both kinds — the same permission the per-kind `get`
33
+ * RPCs enforce, so every listed entry is openable by construction). The
34
+ * OSS server does not currently implement this RPC (stigmer#461).
32
35
  *
33
36
  * @internal
34
- * Authorization is handled in-handler via FGA-filtered queries.
37
+ * Authorization is handled in-handler: the FGA id enumeration is the only
38
+ * gate (hence is_skip_authorization); the request's org merely narrows
39
+ * the authorized set.
35
40
  *
36
41
  * @generated from rpc ai.stigmer.activity.v1.ActivityQueryController.listRecentActivity
37
42
  */
@@ -1 +1 @@
1
- {"version":3,"file":"query_connect.js","sourceRoot":"","sources":["../../../../../ai/stigmer/activity/v1/query_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,0GAA0G;AAC1G,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,yBAAyB,EAAE,0BAA0B,EAAE,MAAM,WAAW,CAAC;AAClF,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,QAAQ,EAAE,gDAAgD;IAC1D,OAAO,EAAE;QACP;;;;;;;;;;;WAWG;QACH,kBAAkB,EAAE;YAClB,IAAI,EAAE,oBAAoB;YAC1B,CAAC,EAAE,yBAAyB;YAC5B,CAAC,EAAE,0BAA0B;YAC7B,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
1
+ {"version":3,"file":"query_connect.js","sourceRoot":"","sources":["../../../../../ai/stigmer/activity/v1/query_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,0GAA0G;AAC1G,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,yBAAyB,EAAE,0BAA0B,EAAE,MAAM,WAAW,CAAC;AAClF,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,QAAQ,EAAE,gDAAgD;IAC1D,OAAO,EAAE;QACP;;;;;;;;;;;;;;;;WAgBG;QACH,kBAAkB,EAAE;YAClB,IAAI,EAAE,oBAAoB;YAC1B,CAAC,EAAE,yBAAyB;YAC5B,CAAC,EAAE,0BAA0B;YAC7B,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
@@ -25,11 +25,16 @@ export declare const ActivityQueryController: GenService<{
25
25
  * List recent activity across sessions and workflow executions.
26
26
  *
27
27
  * Returns a merged, time-sorted list of the caller's most recent
28
- * sessions and workflow executions. Authorization filtering is applied
29
- * server-side via FGA (cloud) or returned unfiltered (OSS).
28
+ * sessions and workflow executions. On the hosted edition, per-resource
29
+ * authorization filtering is applied server-side (FGA `can_view`
30
+ * enumeration for both kinds — the same permission the per-kind `get`
31
+ * RPCs enforce, so every listed entry is openable by construction). The
32
+ * OSS server does not currently implement this RPC (stigmer#461).
30
33
  *
31
34
  * @internal
32
- * Authorization is handled in-handler via FGA-filtered queries.
35
+ * Authorization is handled in-handler: the FGA id enumeration is the only
36
+ * gate (hence is_skip_authorization); the request's org merely narrows
37
+ * the authorized set.
33
38
  *
34
39
  * @generated from rpc ai.stigmer.activity.v1.ActivityQueryController.listRecentActivity
35
40
  */
@@ -1 +1 @@
1
- {"version":3,"file":"query_pb.js","sourceRoot":"","sources":["../../../../../ai/stigmer/activity/v1/query_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,0GAA0G;AAC1G,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,8BAA8B,EAAE,MAAM,YAAY,CAAC;AAC5D,OAAO,EAAE,0CAA0C,EAAE,MAAM,wCAAwC,CAAC;AAEpG;;GAEG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAY,aAAa,CACrE,QAAQ,CAAC,kTAAkT,EAAE,CAAC,8BAA8B,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAE7Y;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAkB/B,aAAa,CAChB,WAAW,CAAC,iCAAiC,EAAE,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"query_pb.js","sourceRoot":"","sources":["../../../../../ai/stigmer/activity/v1/query_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,0GAA0G;AAC1G,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,8BAA8B,EAAE,MAAM,YAAY,CAAC;AAC5D,OAAO,EAAE,0CAA0C,EAAE,MAAM,wCAAwC,CAAC;AAEpG;;GAEG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAY,aAAa,CACrE,QAAQ,CAAC,kTAAkT,EAAE,CAAC,8BAA8B,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAE7Y;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAuB/B,aAAa,CAChB,WAAW,CAAC,iCAAiC,EAAE,CAAC,CAAC,CAAC"}
@@ -26,6 +26,9 @@ export declare const AgentIdSchema: GenMessage<AgentId>;
26
26
  * @internal
27
27
  * The handler resolves the default agent globally (by label stigmer.ai/default-agent: "true"
28
28
  * with visibility_public), but the org is needed for authorization scoping.
29
+ * Resolution is deliberately NOT scoped to this org: the default agent is a
30
+ * platform-level singleton seeded in the system org and served to callers of
31
+ * every org (see the getDefault rpc docs for the determinism contract).
29
32
  *
30
33
  * @generated from message ai.stigmer.agentic.agent.v1.GetDefaultAgentRequest
31
34
  */
@@ -1 +1 @@
1
- {"version":3,"file":"io_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agent/v1/io_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,iHAAiH;AACjH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAY,aAAa,CACvE,QAAQ,CAAC,oNAAoN,EAAE,CAAC,0BAA0B,CAAC,CAAC,CAAC;AAc/P;;;GAGG;AACH,MAAM,CAAC,MAAM,aAAa,GAAwB,aAAa,CAC7D,WAAW,CAAC,mCAAmC,EAAE,CAAC,CAAC,CAAC;AAoBtD;;;GAGG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAuC,aAAa,CAC3F,WAAW,CAAC,mCAAmC,EAAE,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"io_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agent/v1/io_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,iHAAiH;AACjH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAY,aAAa,CACvE,QAAQ,CAAC,oNAAoN,EAAE,CAAC,0BAA0B,CAAC,CAAC,CAAC;AAc/P;;;GAGG;AACH,MAAM,CAAC,MAAM,aAAa,GAAwB,aAAa,CAC7D,WAAW,CAAC,mCAAmC,EAAE,CAAC,CAAC,CAAC;AAuBtD;;;GAGG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAuC,aAAa,CAC3F,WAAW,CAAC,mCAAmC,EAAE,CAAC,CAAC,CAAC"}
@@ -46,6 +46,13 @@ export declare const AgentQueryController: {
46
46
  * Resolves the agent labeled stigmer.ai/default-agent: "true" with
47
47
  * visibility_public. Custom authorization in handler.
48
48
  *
49
+ * Resolution is deterministic (stigmer/stigmer#356): only public labeled
50
+ * agents are candidates, and with multiple candidates — a reachable state,
51
+ * since safe label rotation applies the new default before retiring the
52
+ * old — the one with the lowest metadata.id (the incumbent) wins. The
53
+ * default changes only when the incumbent's label is explicitly removed,
54
+ * never as a side effect of another agent gaining the label.
55
+ *
49
56
  * @generated from rpc ai.stigmer.agentic.agent.v1.AgentQueryController.getDefault
50
57
  */
51
58
  readonly getDefault: {
@@ -54,6 +54,13 @@ export const AgentQueryController = {
54
54
  * Resolves the agent labeled stigmer.ai/default-agent: "true" with
55
55
  * visibility_public. Custom authorization in handler.
56
56
  *
57
+ * Resolution is deterministic (stigmer/stigmer#356): only public labeled
58
+ * agents are candidates, and with multiple candidates — a reachable state,
59
+ * since safe label rotation applies the new default before retiring the
60
+ * old — the one with the lowest metadata.id (the incumbent) wins. The
61
+ * default changes only when the incumbent's label is explicitly removed,
62
+ * never as a side effect of another agent gaining the label.
63
+ *
57
64
  * @generated from rpc ai.stigmer.agentic.agent.v1.AgentQueryController.getDefault
58
65
  */
59
66
  getDefault: {
@@ -1 +1 @@
1
- {"version":3,"file":"query_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agent/v1/query_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,oHAAoH;AACpH,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,OAAO,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAE5E;;;;GAIG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,QAAQ,EAAE,kDAAkD;IAC5D,OAAO,EAAE;QACP;;;;WAIG;QACH,GAAG,EAAE;YACH,IAAI,EAAE,KAAK;YACX,CAAC,EAAE,OAAO;YACV,CAAC,EAAE,KAAK;YACR,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;WASG;QACH,cAAc,EAAE;YACd,IAAI,EAAE,gBAAgB;YACtB,CAAC,EAAE,oBAAoB;YACvB,CAAC,EAAE,KAAK;YACR,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;WAcG;QACH,UAAU,EAAE;YACV,IAAI,EAAE,YAAY;YAClB,CAAC,EAAE,sBAAsB;YACzB,CAAC,EAAE,KAAK;YACR,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
1
+ {"version":3,"file":"query_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agent/v1/query_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,oHAAoH;AACpH,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,OAAO,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAE5E;;;;GAIG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,QAAQ,EAAE,kDAAkD;IAC5D,OAAO,EAAE;QACP;;;;WAIG;QACH,GAAG,EAAE;YACH,IAAI,EAAE,KAAK;YACX,CAAC,EAAE,OAAO;YACV,CAAC,EAAE,KAAK;YACR,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;WASG;QACH,cAAc,EAAE;YACd,IAAI,EAAE,gBAAgB;YACtB,CAAC,EAAE,oBAAoB;YACvB,CAAC,EAAE,KAAK;YACR,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;;WAqBG;QACH,UAAU,EAAE;YACV,IAAI,EAAE,YAAY;YAClB,CAAC,EAAE,sBAAsB;YACzB,CAAC,EAAE,KAAK;YACR,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
@@ -50,6 +50,13 @@ export declare const AgentQueryController: GenService<{
50
50
  * Resolves the agent labeled stigmer.ai/default-agent: "true" with
51
51
  * visibility_public. Custom authorization in handler.
52
52
  *
53
+ * Resolution is deterministic (stigmer/stigmer#356): only public labeled
54
+ * agents are candidates, and with multiple candidates — a reachable state,
55
+ * since safe label rotation applies the new default before retiring the
56
+ * old — the one with the lowest metadata.id (the incumbent) wins. The
57
+ * default changes only when the incumbent's label is explicitly removed,
58
+ * never as a side effect of another agent gaining the label.
59
+ *
53
60
  * @generated from rpc ai.stigmer.agentic.agent.v1.AgentQueryController.getDefault
54
61
  */
55
62
  getDefault: {
@@ -1 +1 @@
1
- {"version":3,"file":"query_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agent/v1/query_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,oHAAoH;AACpH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,oCAAoC,EAAE,MAAM,aAAa,CAAC;AAEnE,OAAO,EAAE,mCAAmC,EAAE,MAAM,YAAY,CAAC;AAEjE,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,sCAAsC,GAAY,aAAa,CAC1E,QAAQ,CAAC,omBAAomB,EAAE,CAAC,oCAAoC,EAAE,mCAAmC,EAAE,sCAAsC,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAE30B;;;;GAIG;AACH,MAAM,CAAC,MAAM,oBAAoB,GA8C5B,aAAa,CAChB,WAAW,CAAC,sCAAsC,EAAE,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"query_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agent/v1/query_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,oHAAoH;AACpH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,oCAAoC,EAAE,MAAM,aAAa,CAAC;AAEnE,OAAO,EAAE,mCAAmC,EAAE,MAAM,YAAY,CAAC;AAEjE,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,sCAAsC,GAAY,aAAa,CAC1E,QAAQ,CAAC,omBAAomB,EAAE,CAAC,oCAAoC,EAAE,mCAAmC,EAAE,sCAAsC,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAE30B;;;;GAIG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAqD5B,aAAa,CAChB,WAAW,CAAC,sCAAsC,EAAE,CAAC,CAAC,CAAC"}
@@ -165,7 +165,16 @@ export type McpServerUsage = Message<"ai.stigmer.agentic.agent.v1.McpServerUsage
165
165
  * Only names from discovered_capabilities.tools are valid here.
166
166
  * Do NOT include names from discovered_capabilities.resource_templates —
167
167
  * resource templates are read-only data endpoints, not callable tools.
168
- * Including a resource template name here causes a fatal runtime error.
168
+ * A name the server does not expose (including a resource template name)
169
+ * is warned and ignored at execution: the runner enforces the INTERSECTION
170
+ * with the server's live toolset, so a stale or mistyped entry narrows the
171
+ * toolset but never widens it or fails the run.
172
+ *
173
+ * Enforcement: the native (deep-agent) harness filters the discovered
174
+ * toolset before it reaches the model; the Cursor harness cannot hide a
175
+ * server's tools (its SDK config has no allow-list field), so its HITL
176
+ * hook permanently denies calls to non-enabled tools instead — the model
177
+ * may still see the tool listed, but every call is refused.
169
178
  *
170
179
  * @generated from field: repeated string enabled_tools = 2;
171
180
  */
@@ -174,6 +183,9 @@ export type McpServerUsage = Message<"ai.stigmer.agentic.agent.v1.McpServerUsage
174
183
  * Override approval requirements for specific tools.
175
184
  * Takes precedence over McpServerSpec.pinned_tool_approvals and
176
185
  * McpServerStatus.tool_approvals.
186
+ * Scoped to THIS usage's server: an override applies only to tools of
187
+ * the McpServer referenced by mcp_server_ref — a same-named tool on
188
+ * another server is unaffected.
177
189
  *
178
190
  * @generated from field: repeated ai.stigmer.agentic.agent.v1.ToolApprovalOverride tool_approval_overrides = 3;
179
191
  */
@@ -259,6 +271,9 @@ export declare const McpAccessSchema: GenMessage<McpAccess>;
259
271
  * McpServerSpec.pinned_tool_approvals and McpServerStatus.tool_approvals,
260
272
  * but can be bypassed at execution time by AgentExecution.auto_approve_all.
261
273
  *
274
+ * An override is scoped to the McpServer referenced by its parent usage:
275
+ * it never affects a same-named tool on another server.
276
+ *
262
277
  * @internal
263
278
  * Policy chain (lowest to highest priority):
264
279
  * 1. McpServerStatus.tool_approvals — system-generated defaults
@@ -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,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G;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAY,aAAa,CACzE,QAAQ,CAAC,43EAA43E,EAAE,CAAC,2CAA2C,EAAE,iDAAiD,EAAE,sCAAsC,EAAE,0BAA0B,CAAC,CAAC,CAAC;AA0E/iF;;;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;AA4DxD;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAA+B,aAAa,CAC3E,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AAgCxD;;;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"}
@@ -2,13 +2,22 @@
2
2
  * ExecutionContextCommandController handles write operations for ExecutionContext resources.
3
3
  *
4
4
  * @internal
5
- * Authorization: All RPCs use is_skip_authorization with custom handler-level derived auth.
6
- * ExecutionContext is ephemeral (1:1 with its parent execution) and has no dedicated
7
- * FGA model. Authorization is derived from the parent execution:
8
- * - create: Caller must have can_edit on parent agent_execution or workflow_execution
9
- * - delete: Caller must have can_edit on parent agent_execution or workflow_execution
10
- *
11
- * This avoids FGA tuple churn for short-lived resources while maintaining proper access control.
5
+ * Every write RPC uses is_skip_authorization with a real handler-level check
6
+ * (the framework's declarative FGA options cannot express any of these):
7
+ * - create: the caller-class differs by transport. Internal in-process
8
+ * pipeline calls (agent execution, workflow execution, workflow recovery,
9
+ * MCP connect) are trusted the parent operation already authorized the
10
+ * run against its session-or-org, and the EC is created before that parent
11
+ * is persisted, so it carries no resource to re-check. External callers
12
+ * must hold can_create_execution_in on metadata.org (the same bar that
13
+ * gates creating an execution in the org; held by members and guests).
14
+ * A declarative org option cannot encode the internal/external split.
15
+ * - apply: intentionally unannotated router — it delegates to create
16
+ * (create-or-fail; ExecutionContext has no update RPC) and the delegated
17
+ * pipeline runs under create's handler, authorization included.
18
+ * - delete: caller must have can_edit on execution_context:<id> (owner-only,
19
+ * per the execution_context FGA model). The FGA target is the loaded
20
+ * resource, so it cannot be a declarative method option.
12
21
  *
13
22
  * @generated from service ai.stigmer.agentic.executioncontext.v1.ExecutionContextCommandController
14
23
  */
@@ -19,8 +28,9 @@ export declare const ExecutionContextCommandController: {
19
28
  * Create or update an ExecutionContext.
20
29
  *
21
30
  * @internal
22
- * The authorization and state-operation are determined depending on whether the execution context
23
- * is going to be created or updated which is determined as part of the request execution.
31
+ * Router only: delegates to create when the resource does not exist and
32
+ * fails with ALREADY_EXISTS when it does (no update RPC). Authorization is
33
+ * inherited from the delegated create pipeline.
24
34
  *
25
35
  * @generated from rpc ai.stigmer.agentic.executioncontext.v1.ExecutionContextCommandController.apply
26
36
  */
@@ -34,8 +44,13 @@ export declare const ExecutionContextCommandController: {
34
44
  * Create a new ExecutionContext for an execution.
35
45
  *
36
46
  * @internal
37
- * Called by execution pipeline on behalf of the user.
38
- * Handler-level derived auth: checks can_edit on parent agent_execution or workflow_execution.
47
+ * Called by the execution pipelines (agent execution, workflow execution,
48
+ * workflow recovery, MCP connect) as sub-steps, and reachable directly by
49
+ * API clients. is_skip_authorization because the caller-class split cannot
50
+ * be a declarative option: the create handler trusts internal in-process
51
+ * calls (already authorized upstream) and requires external callers to hold
52
+ * can_create_execution_in on metadata.org. The pipeline additionally grants
53
+ * the caller the owner tuple, which gates all subsequent reads and delete.
39
54
  *
40
55
  * @generated from rpc ai.stigmer.agentic.executioncontext.v1.ExecutionContextCommandController.create
41
56
  */
@@ -49,8 +64,10 @@ export declare const ExecutionContextCommandController: {
49
64
  * Delete an ExecutionContext.
50
65
  *
51
66
  * @internal
52
- * Called when execution completes. Handler-level derived auth: checks can_edit
53
- * on parent agent_execution or workflow_execution.
67
+ * Called when execution completes. Handler-level auth (the FGA target is the
68
+ * loaded resource, so it cannot be a declarative option): caller must have
69
+ * can_edit on execution_context:<id>, which the FGA model resolves to the
70
+ * owner written at create time.
54
71
  *
55
72
  * @generated from rpc ai.stigmer.agentic.executioncontext.v1.ExecutionContextCommandController.delete
56
73
  */
@@ -9,13 +9,22 @@ import { ApiResourceDeleteInput } from "../../../commons/apiresource/io_pbjs";
9
9
  * ExecutionContextCommandController handles write operations for ExecutionContext resources.
10
10
  *
11
11
  * @internal
12
- * Authorization: All RPCs use is_skip_authorization with custom handler-level derived auth.
13
- * ExecutionContext is ephemeral (1:1 with its parent execution) and has no dedicated
14
- * FGA model. Authorization is derived from the parent execution:
15
- * - create: Caller must have can_edit on parent agent_execution or workflow_execution
16
- * - delete: Caller must have can_edit on parent agent_execution or workflow_execution
17
- *
18
- * This avoids FGA tuple churn for short-lived resources while maintaining proper access control.
12
+ * Every write RPC uses is_skip_authorization with a real handler-level check
13
+ * (the framework's declarative FGA options cannot express any of these):
14
+ * - create: the caller-class differs by transport. Internal in-process
15
+ * pipeline calls (agent execution, workflow execution, workflow recovery,
16
+ * MCP connect) are trusted the parent operation already authorized the
17
+ * run against its session-or-org, and the EC is created before that parent
18
+ * is persisted, so it carries no resource to re-check. External callers
19
+ * must hold can_create_execution_in on metadata.org (the same bar that
20
+ * gates creating an execution in the org; held by members and guests).
21
+ * A declarative org option cannot encode the internal/external split.
22
+ * - apply: intentionally unannotated router — it delegates to create
23
+ * (create-or-fail; ExecutionContext has no update RPC) and the delegated
24
+ * pipeline runs under create's handler, authorization included.
25
+ * - delete: caller must have can_edit on execution_context:<id> (owner-only,
26
+ * per the execution_context FGA model). The FGA target is the loaded
27
+ * resource, so it cannot be a declarative method option.
19
28
  *
20
29
  * @generated from service ai.stigmer.agentic.executioncontext.v1.ExecutionContextCommandController
21
30
  */
@@ -26,8 +35,9 @@ export const ExecutionContextCommandController = {
26
35
  * Create or update an ExecutionContext.
27
36
  *
28
37
  * @internal
29
- * The authorization and state-operation are determined depending on whether the execution context
30
- * is going to be created or updated which is determined as part of the request execution.
38
+ * Router only: delegates to create when the resource does not exist and
39
+ * fails with ALREADY_EXISTS when it does (no update RPC). Authorization is
40
+ * inherited from the delegated create pipeline.
31
41
  *
32
42
  * @generated from rpc ai.stigmer.agentic.executioncontext.v1.ExecutionContextCommandController.apply
33
43
  */
@@ -41,8 +51,13 @@ export const ExecutionContextCommandController = {
41
51
  * Create a new ExecutionContext for an execution.
42
52
  *
43
53
  * @internal
44
- * Called by execution pipeline on behalf of the user.
45
- * Handler-level derived auth: checks can_edit on parent agent_execution or workflow_execution.
54
+ * Called by the execution pipelines (agent execution, workflow execution,
55
+ * workflow recovery, MCP connect) as sub-steps, and reachable directly by
56
+ * API clients. is_skip_authorization because the caller-class split cannot
57
+ * be a declarative option: the create handler trusts internal in-process
58
+ * calls (already authorized upstream) and requires external callers to hold
59
+ * can_create_execution_in on metadata.org. The pipeline additionally grants
60
+ * the caller the owner tuple, which gates all subsequent reads and delete.
46
61
  *
47
62
  * @generated from rpc ai.stigmer.agentic.executioncontext.v1.ExecutionContextCommandController.create
48
63
  */
@@ -56,8 +71,10 @@ export const ExecutionContextCommandController = {
56
71
  * Delete an ExecutionContext.
57
72
  *
58
73
  * @internal
59
- * Called when execution completes. Handler-level derived auth: checks can_edit
60
- * on parent agent_execution or workflow_execution.
74
+ * Called when execution completes. Handler-level auth (the FGA target is the
75
+ * loaded resource, so it cannot be a declarative option): caller must have
76
+ * can_edit on execution_context:<id>, which the FGA model resolves to the
77
+ * owner written at create time.
61
78
  *
62
79
  * @generated from rpc ai.stigmer.agentic.executioncontext.v1.ExecutionContextCommandController.delete
63
80
  */
@@ -1 +1 @@
1
- {"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/executioncontext/v1/command_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,4IAA4I;AAC5I,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAE9E;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAG;IAC/C,QAAQ,EAAE,0EAA0E;IACpF,OAAO,EAAE;QACP;;;;;;;;WAQG;QACH,KAAK,EAAE;YACL,IAAI,EAAE,OAAO;YACb,CAAC,EAAE,gBAAgB;YACnB,CAAC,EAAE,gBAAgB;YACnB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;WAQG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,gBAAgB;YACnB,CAAC,EAAE,gBAAgB;YACnB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;WAQG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,sBAAsB;YACzB,CAAC,EAAE,gBAAgB;YACnB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
1
+ {"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/executioncontext/v1/command_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,4IAA4I;AAC5I,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAE9E;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAG;IAC/C,QAAQ,EAAE,0EAA0E;IACpF,OAAO,EAAE;QACP;;;;;;;;;WASG;QACH,KAAK,EAAE;YACL,IAAI,EAAE,OAAO;YACb,CAAC,EAAE,gBAAgB;YACnB,CAAC,EAAE,gBAAgB;YACnB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;WAaG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,gBAAgB;YACnB,CAAC,EAAE,gBAAgB;YACnB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;WAUG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,sBAAsB;YACzB,CAAC,EAAE,gBAAgB;YACnB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
@@ -9,13 +9,22 @@ export declare const file_ai_stigmer_agentic_executioncontext_v1_command: GenFil
9
9
  * ExecutionContextCommandController handles write operations for ExecutionContext resources.
10
10
  *
11
11
  * @internal
12
- * Authorization: All RPCs use is_skip_authorization with custom handler-level derived auth.
13
- * ExecutionContext is ephemeral (1:1 with its parent execution) and has no dedicated
14
- * FGA model. Authorization is derived from the parent execution:
15
- * - create: Caller must have can_edit on parent agent_execution or workflow_execution
16
- * - delete: Caller must have can_edit on parent agent_execution or workflow_execution
17
- *
18
- * This avoids FGA tuple churn for short-lived resources while maintaining proper access control.
12
+ * Every write RPC uses is_skip_authorization with a real handler-level check
13
+ * (the framework's declarative FGA options cannot express any of these):
14
+ * - create: the caller-class differs by transport. Internal in-process
15
+ * pipeline calls (agent execution, workflow execution, workflow recovery,
16
+ * MCP connect) are trusted the parent operation already authorized the
17
+ * run against its session-or-org, and the EC is created before that parent
18
+ * is persisted, so it carries no resource to re-check. External callers
19
+ * must hold can_create_execution_in on metadata.org (the same bar that
20
+ * gates creating an execution in the org; held by members and guests).
21
+ * A declarative org option cannot encode the internal/external split.
22
+ * - apply: intentionally unannotated router — it delegates to create
23
+ * (create-or-fail; ExecutionContext has no update RPC) and the delegated
24
+ * pipeline runs under create's handler, authorization included.
25
+ * - delete: caller must have can_edit on execution_context:<id> (owner-only,
26
+ * per the execution_context FGA model). The FGA target is the loaded
27
+ * resource, so it cannot be a declarative method option.
19
28
  *
20
29
  * @generated from service ai.stigmer.agentic.executioncontext.v1.ExecutionContextCommandController
21
30
  */
@@ -24,8 +33,9 @@ export declare const ExecutionContextCommandController: GenService<{
24
33
  * Create or update an ExecutionContext.
25
34
  *
26
35
  * @internal
27
- * The authorization and state-operation are determined depending on whether the execution context
28
- * is going to be created or updated which is determined as part of the request execution.
36
+ * Router only: delegates to create when the resource does not exist and
37
+ * fails with ALREADY_EXISTS when it does (no update RPC). Authorization is
38
+ * inherited from the delegated create pipeline.
29
39
  *
30
40
  * @generated from rpc ai.stigmer.agentic.executioncontext.v1.ExecutionContextCommandController.apply
31
41
  */
@@ -38,8 +48,13 @@ export declare const ExecutionContextCommandController: GenService<{
38
48
  * Create a new ExecutionContext for an execution.
39
49
  *
40
50
  * @internal
41
- * Called by execution pipeline on behalf of the user.
42
- * Handler-level derived auth: checks can_edit on parent agent_execution or workflow_execution.
51
+ * Called by the execution pipelines (agent execution, workflow execution,
52
+ * workflow recovery, MCP connect) as sub-steps, and reachable directly by
53
+ * API clients. is_skip_authorization because the caller-class split cannot
54
+ * be a declarative option: the create handler trusts internal in-process
55
+ * calls (already authorized upstream) and requires external callers to hold
56
+ * can_create_execution_in on metadata.org. The pipeline additionally grants
57
+ * the caller the owner tuple, which gates all subsequent reads and delete.
43
58
  *
44
59
  * @generated from rpc ai.stigmer.agentic.executioncontext.v1.ExecutionContextCommandController.create
45
60
  */
@@ -52,8 +67,10 @@ export declare const ExecutionContextCommandController: GenService<{
52
67
  * Delete an ExecutionContext.
53
68
  *
54
69
  * @internal
55
- * Called when execution completes. Handler-level derived auth: checks can_edit
56
- * on parent agent_execution or workflow_execution.
70
+ * Called when execution completes. Handler-level auth (the FGA target is the
71
+ * loaded resource, so it cannot be a declarative option): caller must have
72
+ * can_edit on execution_context:<id>, which the FGA model resolves to the
73
+ * owner written at create time.
57
74
  *
58
75
  * @generated from rpc ai.stigmer.agentic.executioncontext.v1.ExecutionContextCommandController.delete
59
76
  */
@@ -14,13 +14,22 @@ export const file_ai_stigmer_agentic_executioncontext_v1_command = /*@__PURE__*/
14
14
  * ExecutionContextCommandController handles write operations for ExecutionContext resources.
15
15
  *
16
16
  * @internal
17
- * Authorization: All RPCs use is_skip_authorization with custom handler-level derived auth.
18
- * ExecutionContext is ephemeral (1:1 with its parent execution) and has no dedicated
19
- * FGA model. Authorization is derived from the parent execution:
20
- * - create: Caller must have can_edit on parent agent_execution or workflow_execution
21
- * - delete: Caller must have can_edit on parent agent_execution or workflow_execution
22
- *
23
- * This avoids FGA tuple churn for short-lived resources while maintaining proper access control.
17
+ * Every write RPC uses is_skip_authorization with a real handler-level check
18
+ * (the framework's declarative FGA options cannot express any of these):
19
+ * - create: the caller-class differs by transport. Internal in-process
20
+ * pipeline calls (agent execution, workflow execution, workflow recovery,
21
+ * MCP connect) are trusted the parent operation already authorized the
22
+ * run against its session-or-org, and the EC is created before that parent
23
+ * is persisted, so it carries no resource to re-check. External callers
24
+ * must hold can_create_execution_in on metadata.org (the same bar that
25
+ * gates creating an execution in the org; held by members and guests).
26
+ * A declarative org option cannot encode the internal/external split.
27
+ * - apply: intentionally unannotated router — it delegates to create
28
+ * (create-or-fail; ExecutionContext has no update RPC) and the delegated
29
+ * pipeline runs under create's handler, authorization included.
30
+ * - delete: caller must have can_edit on execution_context:<id> (owner-only,
31
+ * per the execution_context FGA model). The FGA target is the loaded
32
+ * resource, so it cannot be a declarative method option.
24
33
  *
25
34
  * @generated from service ai.stigmer.agentic.executioncontext.v1.ExecutionContextCommandController
26
35
  */
@@ -1 +1 @@
1
- {"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/executioncontext/v1/command_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,4IAA4I;AAC5I,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,+CAA+C,EAAE,MAAM,aAAa,CAAC;AAE9E,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,mDAAmD,GAAY,aAAa,CACvF,QAAQ,CAAC,4sBAA4sB,EAAE,CAAC,+CAA+C,EAAE,sCAAsC,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAEz5B;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,iCAAiC,GA2CzC,aAAa,CAChB,WAAW,CAAC,mDAAmD,EAAE,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/executioncontext/v1/command_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,4IAA4I;AAC5I,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,+CAA+C,EAAE,MAAM,aAAa,CAAC;AAE9E,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,mDAAmD,GAAY,aAAa,CACvF,QAAQ,CAAC,4sBAA4sB,EAAE,CAAC,+CAA+C,EAAE,sCAAsC,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAEz5B;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAmDzC,aAAa,CAChB,WAAW,CAAC,mDAAmD,EAAE,CAAC,CAAC,CAAC"}
@@ -56,12 +56,14 @@ export declare const ExecutionContextQueryController: {
56
56
  * Handler-level auth (cloud): direct FGA can_view on the execution_context resource.
57
57
  *
58
58
  * Secret handling (cloud): the decrypt path is gated by caller credential
59
- * class, not by FGA — runners authenticate as the user who owns the
60
- * execution, so permissions cannot tell them apart. Callers presenting a
61
- * platform-minted runner token (token_type of sandbox, workflow_sandbox,
62
- * connect_sandbox, or embedded_runner) receive decrypted secret values;
63
- * every other caller (user JWT, SDK, console) receives the same redaction
64
- * as get/getByReference.
59
+ * class AND scope, not by FGA — runners authenticate as the user who owns
60
+ * the execution, so permissions cannot tell them apart. Callers presenting
61
+ * a platform-minted runner token (token_type of sandbox, workflow_sandbox,
62
+ * or connect_sandbox) whose scope claim binds it to this very execution
63
+ * receive decrypted secret values. The unscoped embedded_runner bootstrap
64
+ * credential is refused; desktop runners exchange it for a scoped token
65
+ * via getRunnerScopedToken before reading. Every other caller (user JWT,
66
+ * SDK, console) receives the same redaction as get/getByReference.
65
67
  *
66
68
  * @generated from rpc ai.stigmer.agentic.executioncontext.v1.ExecutionContextQueryController.getByExecutionId
67
69
  */
@@ -64,12 +64,14 @@ export const ExecutionContextQueryController = {
64
64
  * Handler-level auth (cloud): direct FGA can_view on the execution_context resource.
65
65
  *
66
66
  * Secret handling (cloud): the decrypt path is gated by caller credential
67
- * class, not by FGA — runners authenticate as the user who owns the
68
- * execution, so permissions cannot tell them apart. Callers presenting a
69
- * platform-minted runner token (token_type of sandbox, workflow_sandbox,
70
- * connect_sandbox, or embedded_runner) receive decrypted secret values;
71
- * every other caller (user JWT, SDK, console) receives the same redaction
72
- * as get/getByReference.
67
+ * class AND scope, not by FGA — runners authenticate as the user who owns
68
+ * the execution, so permissions cannot tell them apart. Callers presenting
69
+ * a platform-minted runner token (token_type of sandbox, workflow_sandbox,
70
+ * or connect_sandbox) whose scope claim binds it to this very execution
71
+ * receive decrypted secret values. The unscoped embedded_runner bootstrap
72
+ * credential is refused; desktop runners exchange it for a scoped token
73
+ * via getRunnerScopedToken before reading. Every other caller (user JWT,
74
+ * SDK, console) receives the same redaction as get/getByReference.
73
75
  *
74
76
  * @generated from rpc ai.stigmer.agentic.executioncontext.v1.ExecutionContextQueryController.getByExecutionId
75
77
  */
@@ -1 +1 @@
1
- {"version":3,"file":"query_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/executioncontext/v1/query_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,0IAA0I;AAC1I,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,gCAAgC,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AACjF,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAE5E;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC7C,QAAQ,EAAE,wEAAwE;IAClF,OAAO,EAAE;QACP;;;;;;;;WAQG;QACH,GAAG,EAAE;YACH,IAAI,EAAE,KAAK;YACX,CAAC,EAAE,kBAAkB;YACrB,CAAC,EAAE,gBAAgB;YACnB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;WAQG;QACH,cAAc,EAAE;YACd,IAAI,EAAE,gBAAgB;YACtB,CAAC,EAAE,oBAAoB;YACvB,CAAC,EAAE,gBAAgB;YACnB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;WAiBG;QACH,gBAAgB,EAAE;YAChB,IAAI,EAAE,kBAAkB;YACxB,CAAC,EAAE,gCAAgC;YACnC,CAAC,EAAE,gBAAgB;YACnB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
1
+ {"version":3,"file":"query_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/executioncontext/v1/query_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,0IAA0I;AAC1I,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,gCAAgC,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AACjF,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAE5E;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC7C,QAAQ,EAAE,wEAAwE;IAClF,OAAO,EAAE;QACP;;;;;;;;WAQG;QACH,GAAG,EAAE;YACH,IAAI,EAAE,KAAK;YACX,CAAC,EAAE,kBAAkB;YACrB,CAAC,EAAE,gBAAgB;YACnB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;WAQG;QACH,cAAc,EAAE;YACd,IAAI,EAAE,gBAAgB;YACtB,CAAC,EAAE,oBAAoB;YACvB,CAAC,EAAE,gBAAgB;YACnB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;WAmBG;QACH,gBAAgB,EAAE;YAChB,IAAI,EAAE,kBAAkB;YACxB,CAAC,EAAE,gCAAgC;YACnC,CAAC,EAAE,gBAAgB;YACnB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
@@ -60,12 +60,14 @@ export declare const ExecutionContextQueryController: GenService<{
60
60
  * Handler-level auth (cloud): direct FGA can_view on the execution_context resource.
61
61
  *
62
62
  * Secret handling (cloud): the decrypt path is gated by caller credential
63
- * class, not by FGA — runners authenticate as the user who owns the
64
- * execution, so permissions cannot tell them apart. Callers presenting a
65
- * platform-minted runner token (token_type of sandbox, workflow_sandbox,
66
- * connect_sandbox, or embedded_runner) receive decrypted secret values;
67
- * every other caller (user JWT, SDK, console) receives the same redaction
68
- * as get/getByReference.
63
+ * class AND scope, not by FGA — runners authenticate as the user who owns
64
+ * the execution, so permissions cannot tell them apart. Callers presenting
65
+ * a platform-minted runner token (token_type of sandbox, workflow_sandbox,
66
+ * or connect_sandbox) whose scope claim binds it to this very execution
67
+ * receive decrypted secret values. The unscoped embedded_runner bootstrap
68
+ * credential is refused; desktop runners exchange it for a scoped token
69
+ * via getRunnerScopedToken before reading. Every other caller (user JWT,
70
+ * SDK, console) receives the same redaction as get/getByReference.
69
71
  *
70
72
  * @generated from rpc ai.stigmer.agentic.executioncontext.v1.ExecutionContextQueryController.getByExecutionId
71
73
  */
@@ -1 +1 @@
1
- {"version":3,"file":"query_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/executioncontext/v1/query_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,0IAA0I;AAC1I,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,+CAA+C,EAAE,MAAM,aAAa,CAAC;AAE9E,OAAO,EAAE,8CAA8C,EAAE,MAAM,YAAY,CAAC;AAE5E,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,iDAAiD,GAAY,aAAa,CACrF,QAAQ,CAAC,0vBAA0vB,EAAE,CAAC,+CAA+C,EAAE,8CAA8C,EAAE,sCAAsC,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAEv/B;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAoDvC,aAAa,CAChB,WAAW,CAAC,iDAAiD,EAAE,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"query_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/executioncontext/v1/query_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,0IAA0I;AAC1I,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,+CAA+C,EAAE,MAAM,aAAa,CAAC;AAE9E,OAAO,EAAE,8CAA8C,EAAE,MAAM,YAAY,CAAC;AAE5E,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,iDAAiD,GAAY,aAAa,CACrF,QAAQ,CAAC,0vBAA0vB,EAAE,CAAC,+CAA+C,EAAE,8CAA8C,EAAE,sCAAsC,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAEv/B;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAsDvC,aAAa,CAChB,WAAW,CAAC,iDAAiD,EAAE,CAAC,CAAC,CAAC"}
@@ -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
- * Including a resource template name here causes a fatal runtime error.
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;AAmK7xE;;;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,CA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nF,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 — doing so causes
106
- * a fatal runtime error.
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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,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;;;;;;;;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,8 +857,9 @@ 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, duplicate signals with the same key (within the 24-hour TTL window)
861
- * return the cached response instead of re-delivering the signal.
860
+ * When provided, a duplicate signal with the same key (within the 24-hour
861
+ * TTL window) is rejected with ALREADY_EXISTS instead of being re-delivered;
862
+ * nothing is cached or replayed. Both editions enforce this identically.
862
863
  * Keys are scoped to the organization to prevent cross-org collisions.
863
864
  *
864
865
  * @since Gap B2 (Event Dedupe)
@@ -1 +1 @@
1
- {"version":3,"file":"io_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/workflowexecution/v1/io_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,yIAAyI;AACzI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,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,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"}
@@ -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>#member tuple (all org members)
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
- * All members of the owning organization can access (read) this resource.
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>#member
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: all org members see all executions via inheritance.
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>#member tuple (all org members)
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
- * All members of the owning organization can access (read) this resource.
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>#member
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: all org members see all executions via inheritance.
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
  */
@@ -1 +1 @@
1
- {"version":3,"file":"enum_pb.js","sourceRoot":"","sources":["../../../../../ai/stigmer/commons/apiresource/enum_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,yHAAyH;AACzH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAElE;;GAEG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAY,aAAa,CAC5E,QAAQ,CAAC,oqBAAoqB,CAAC,CAAC;AAEjrB;;;;;;;;GAQG;AACH,MAAM,CAAN,IAAY,oBA0CX;AA1CD,WAAY,oBAAoB;IAC9B;;;;OAIG;IACH,6EAAe,CAAA;IAEf;;;;OAIG;IACH,qEAAW,CAAA;IAEX;;;;OAIG;IACH,qEAAW,CAAA;IAEX;;;;OAIG;IACH,qEAAW,CAAA;IAEX;;;;OAIG;IACH,qEAAW,CAAA;IAEX;;;;OAIG;IACH,iGAAyB,CAAA;AAC3B,CAAC,EA1CW,oBAAoB,KAApB,oBAAoB,QA0C/B;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAkC,aAAa,CACpF,QAAQ,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAC;AAExD;;;;;;;;GAQG;AACH,MAAM,CAAN,IAAY,6BA0CX;AA1CD,WAAY,6BAA6B;IACvC;;;;OAIG;IACH,mKAAiD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C,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;;;;;;;;;;;;;;;;;;;;;;;;;;WA0BG;QACH,eAAe,EAAE;YACf,IAAI,EAAE,iBAAiB;YACvB,CAAC,EAAE,oBAAoB;YACvB,CAAC,EAAE,KAAK;YACR,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
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,0BA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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("CilhaS9zdGlnbWVyL2lhbS9pYW1wb2xpY3kvdjEvY29tbWFuZC5wcm90bxIbYWkuc3RpZ21lci5pYW0uaWFtcG9saWN5LnYxMswGChpJYW1Qb2xpY3lDb21tYW5kQ29udHJvbGxlchKCAQoGY3JlYXRlEiouYWkuc3RpZ21lci5pYW0uaWFtcG9saWN5LnYxLklhbVBvbGljeVNwZWMaJi5haS5zdGlnbWVyLmlhbS5pYW1wb2xpY3kudjEuSWFtUG9saWN5IiTCuBggCAQqHHVuYXV0aG9yaXplZCB0byBncmFudCBhY2Nlc3MSgwEKBmRlbGV0ZRIqLmFpLnN0aWdtZXIuaWFtLmlhbXBvbGljeS52MS5JYW1Qb2xpY3lTcGVjGiYuYWkuc3RpZ21lci5pYW0uaWFtcG9saWN5LnYxLklhbVBvbGljeSIlwrgYIQgEKh11bmF1dGhvcml6ZWQgdG8gcmV2b2tlIGFjY2VzcxLCAQoPYm9vdHN0cmFwUG9saWN5EiouYWkuc3RpZ21lci5pYW0uaWFtcG9saWN5LnYxLklhbVBvbGljeVNwZWMaJi5haS5zdGlnbWVyLmlhbS5pYW1wb2xpY3kudjEuSWFtUG9saWN5IlvCuBhXCBEQHypIdW5hdXRob3JpemVkIHRvIGJvb3RzdHJhcCBwb2xpY3kgLSBjYW5fYm9vdHN0cmFwX2lhbSBwZXJtaXNzaW9uIHJlcXVpcmVkMgdzdGlnbWVyEsQBChdjbGVhbnVwUmVzb3VyY2VQb2xpY2llcxIrLmFpLnN0aWdtZXIuaWFtLmlhbXBvbGljeS52MS5BcGlSZXNvdXJjZVJlZhoWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eSJkwrgYYAgREB8qUXVuYXV0aG9yaXplZCB0byBjbGVhbnVwIHJlc291cmNlIHBvbGljaWVzIC0gY2FuX2Jvb3RzdHJhcF9pYW0gcGVybWlzc2lvbiByZXF1aXJlZDIHc3RpZ21lchKQAQoPcmV2b2tlT3JnQWNjZXNzEjEuYWkuc3RpZ21lci5pYW0uaWFtcG9saWN5LnYxLlJldm9rZU9yZ0FjY2Vzc0lucHV0GhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5IjLCuBguCAQqKnVuYXV0aG9yaXplZCB0byByZXZva2Ugb3JnYW5pemF0aW9uIGFjY2VzcxoEoP8rCmIGcHJvdG8z", [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]);
14
+ export const file_ai_stigmer_iam_iampolicy_v1_command = /*@__PURE__*/ fileDesc("CilhaS9zdGlnbWVyL2lhbS9pYW1wb2xpY3kvdjEvY29tbWFuZC5wcm90bxIbYWkuc3RpZ21lci5pYW0uaWFtcG9saWN5LnYxMpsIChpJYW1Qb2xpY3lDb21tYW5kQ29udHJvbGxlchKCAQoGY3JlYXRlEiouYWkuc3RpZ21lci5pYW0uaWFtcG9saWN5LnYxLklhbVBvbGljeVNwZWMaJi5haS5zdGlnbWVyLmlhbS5pYW1wb2xpY3kudjEuSWFtUG9saWN5IiTCuBggCAQqHHVuYXV0aG9yaXplZCB0byBncmFudCBhY2Nlc3MSgwEKBmRlbGV0ZRIqLmFpLnN0aWdtZXIuaWFtLmlhbXBvbGljeS52MS5JYW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b3RzdHJhcF9pYW0gcGVybWlzc2lvbiByZXF1aXJlZDIHc3RpZ21lchoEoP8rCmIGcHJvdG8z", [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,stCAAstC,EAAE,CAAC,uDAAuD,EAAE,0CAA0C,EAAE,oCAAoC,EAAE,mCAAmC,EAAE,qCAAqC,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAEx9C;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAmMlC,aAAa,CAChB,WAAW,CAAC,wCAAwC,EAAE,CAAC,CAAC,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"}
@@ -183,8 +183,10 @@ export declare const GetRunnerScopedTokenInputSchema: GenMessage<GetRunnerScoped
183
183
  * @internal
184
184
  * Cloud authorizes against the pool claim record, not FGA: the pool_sandboxes
185
185
  * row for the caller token's pool_member_id must be CLAIMED for exactly this
186
- * session_id (the DB is the authorization source), and the minted session
187
- * token's TTL is the window-covering value recorded on that row at claim time.
186
+ * session_id (the DB is the authorization source). Identity and org are minted
187
+ * from the values the claimer recorded on that row never from the client —
188
+ * and the TTL is the config-owned standard sandbox TTL, like every session
189
+ * token (stigmer-cloud#256; renewal, not lifetime, carries long conversations).
188
190
  * OSS has no pool and mints nothing (empty output, presence-based contract).
189
191
  *
190
192
  * @generated from message ai.stigmer.platform.v1.PoolClaim
@@ -228,9 +230,10 @@ export declare const PoolClaimSchema: GenMessage<PoolClaim>;
228
230
  * the same of its workflow_sandboxes row. The record IS the revocation
229
231
  * lever: when the lifecycle reconciler reaps the sandbox, renewal dies with
230
232
  * it, so a credential's renewable lifetime is exactly its sandbox's
231
- * lifetime. Minted TTL is the standard sandbox TTL (not window-covering)
232
- * renewal is what makes short TTLs sufficient. OSS has no signing key and
233
- * mints nothing (empty output, presence-based contract).
233
+ * lifetime. Minted TTL is the standard sandbox TTL every mint path uses it
234
+ * (stigmer-cloud#256), and renewal is what makes short TTLs sufficient. OSS
235
+ * has no signing key and mints nothing (empty output, presence-based
236
+ * contract).
234
237
  *
235
238
  * @generated from message ai.stigmer.platform.v1.TokenRenewal
236
239
  */
@@ -1 +1 @@
1
- {"version":3,"file":"server_info_pb.js","sourceRoot":"","sources":["../../../../../ai/stigmer/platform/v1/server_info_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,gHAAgH;AAChH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC5F,OAAO,EAAE,0CAA0C,EAAE,MAAM,wCAAwC,CAAC;AACpG,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAGrF;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAY,aAAa,CAC3E,QAAQ,CAAC,yuDAAyuD,EAAE,CAAC,0CAA0C,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAUh0D;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAmC,aAAa,CACnF,WAAW,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC;AAuB1D;;;GAGG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAoC,aAAa,CACrF,WAAW,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC;AAW1D;;;GAGG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAA8C,aAAa,CACzG,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,aAqBX;AArBD,WAAY,aAAa;IACvB;;OAEG;IACH,6FAA8B,CAAA;IAE9B;;;;;OAKG;IACH,+CAAO,CAAA;IAEP;;;;;OAKG;IACH,mDAAS,CAAA;AACX,CAAC,EArBW,aAAa,KAAb,aAAa,QAqBxB;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAA2B,aAAa,CACtE,QAAQ,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC;AAEvD;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,uBAAuB,GA8F/B,aAAa,CAChB,WAAW,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC"}
@@ -31,12 +31,12 @@ export type SearchRequest = Message<"ai.stigmer.search.v1.SearchRequest"> & {
31
31
  *
32
32
  * Behavior:
33
33
  * - Empty: Search all searchable kinds (discover mode)
34
- * Searchable kinds: agent, skill, mcp_server, workflow
35
34
  * - Single kind: Search only that resource type
36
35
  * - Multiple kinds: Search specified types
37
36
  *
38
- * @internal
39
- * Invalid kinds are silently ignored (allows forward compatibility).
37
+ * The searchable set is edition-defined (the cloud and open-source servers
38
+ * each publish their own); kinds outside it are silently ignored
39
+ * (allows forward compatibility).
40
40
  *
41
41
  * @generated from field: repeated ai.stigmer.commons.apiresource.apiresourcekind.ApiResourceKind kinds = 1;
42
42
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stigmer/protos",
3
- "version": "3.10.0",
3
+ "version": "3.11.0",
4
4
  "description": "Generated TypeScript protobuf stubs for Stigmer APIs",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",