@stigmer/protos 3.1.12 → 3.1.13

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.
@@ -71,16 +71,22 @@ export declare const AgentCommandController: {
71
71
  * Delete an agent.
72
72
  *
73
73
  * Deletion also removes the agent's system-managed default instance and
74
- * every AgentShare referencing the agent, so a later agent created at the
75
- * same org/slug starts clean. Personal instances and sessions are not
76
- * deleted.
74
+ * every AgentShare in the agent's own organization referencing it, so a
75
+ * later agent created at the same org/slug starts clean. Personal
76
+ * instances, sessions, and other organizations' shares of this agent are
77
+ * not deleted — external shares stop resolving instead.
77
78
  *
78
79
  * @internal
79
80
  * Cascade order is children-before-parent so a mid-failure retry
80
- * converges. Shares are matched by spec.agent_ref (org + agent slug)
81
- * leaving them behind would silently rebind a stale share (audience, link
82
- * token, bound credentials) to whatever agent is later created at that
83
- * slug. Cloud additionally cleans each cascaded child's FGA tuples.
81
+ * converges. Shares are matched by spec.agent_ref (org + agent slug) and
82
+ * scoped to the agent's own org leaving same-org shares behind would
83
+ * silently rebind a stale share (audience, link token, bound
84
+ * credentials) to whatever agent is later created at that slug, while
85
+ * cascading ANOTHER org's share would make delete a cross-principal
86
+ * destructive action (decision 013). Cross-org shares instead fail
87
+ * closed via the dangling-ref check and the status.agent_id pin; their
88
+ * owning orgs clean up their own rows. Cloud additionally cleans each
89
+ * cascaded child's FGA tuples.
84
90
  *
85
91
  * @generated from rpc ai.stigmer.agentic.agent.v1.AgentCommandController.delete
86
92
  */
@@ -79,16 +79,22 @@ export const AgentCommandController = {
79
79
  * Delete an agent.
80
80
  *
81
81
  * Deletion also removes the agent's system-managed default instance and
82
- * every AgentShare referencing the agent, so a later agent created at the
83
- * same org/slug starts clean. Personal instances and sessions are not
84
- * deleted.
82
+ * every AgentShare in the agent's own organization referencing it, so a
83
+ * later agent created at the same org/slug starts clean. Personal
84
+ * instances, sessions, and other organizations' shares of this agent are
85
+ * not deleted — external shares stop resolving instead.
85
86
  *
86
87
  * @internal
87
88
  * Cascade order is children-before-parent so a mid-failure retry
88
- * converges. Shares are matched by spec.agent_ref (org + agent slug)
89
- * leaving them behind would silently rebind a stale share (audience, link
90
- * token, bound credentials) to whatever agent is later created at that
91
- * slug. Cloud additionally cleans each cascaded child's FGA tuples.
89
+ * converges. Shares are matched by spec.agent_ref (org + agent slug) and
90
+ * scoped to the agent's own org leaving same-org shares behind would
91
+ * silently rebind a stale share (audience, link token, bound
92
+ * credentials) to whatever agent is later created at that slug, while
93
+ * cascading ANOTHER org's share would make delete a cross-principal
94
+ * destructive action (decision 013). Cross-org shares instead fail
95
+ * closed via the dangling-ref check and the status.agent_id pin; their
96
+ * owning orgs clean up their own rows. Cloud additionally cleans each
97
+ * cascaded child's FGA tuples.
92
98
  *
93
99
  * @generated from rpc ai.stigmer.agentic.agent.v1.AgentCommandController.delete
94
100
  */
@@ -1 +1 @@
1
- {"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agent/v1/command_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,sHAAsH;AACtH,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC;;;;GAIG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,QAAQ,EAAE,oDAAoD;IAC9D,OAAO,EAAE;QACP;;;;;;;;WAQG;QACH,KAAK,EAAE;YACL,IAAI,EAAE,OAAO;YACb,CAAC,EAAE,KAAK;YACR,CAAC,EAAE,KAAK;YACR,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;WASG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,KAAK;YACR,CAAC,EAAE,KAAK;YACR,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;WAIG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,KAAK;YACR,CAAC,EAAE,KAAK;YACR,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;WAYG;QACH,gBAAgB,EAAE;YAChB,IAAI,EAAE,kBAAkB;YACxB,CAAC,EAAE,qBAAqB;YACxB,CAAC,EAAE,KAAK;YACR,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;WAgBG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,OAAO;YACV,CAAC,EAAE,KAAK;YACR,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
1
+ {"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agent/v1/command_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,sHAAsH;AACtH,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC;;;;GAIG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,QAAQ,EAAE,oDAAoD;IAC9D,OAAO,EAAE;QACP;;;;;;;;WAQG;QACH,KAAK,EAAE;YACL,IAAI,EAAE,OAAO;YACb,CAAC,EAAE,KAAK;YACR,CAAC,EAAE,KAAK;YACR,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;WASG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,KAAK;YACR,CAAC,EAAE,KAAK;YACR,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;WAIG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,KAAK;YACR,CAAC,EAAE,KAAK;YACR,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;WAYG;QACH,gBAAgB,EAAE;YAChB,IAAI,EAAE,kBAAkB;YACxB,CAAC,EAAE,qBAAqB;YACxB,CAAC,EAAE,KAAK;YACR,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;;;WAsBG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,OAAO;YACV,CAAC,EAAE,KAAK;YACR,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
@@ -73,16 +73,22 @@ export declare const AgentCommandController: GenService<{
73
73
  * Delete an agent.
74
74
  *
75
75
  * Deletion also removes the agent's system-managed default instance and
76
- * every AgentShare referencing the agent, so a later agent created at the
77
- * same org/slug starts clean. Personal instances and sessions are not
78
- * deleted.
76
+ * every AgentShare in the agent's own organization referencing it, so a
77
+ * later agent created at the same org/slug starts clean. Personal
78
+ * instances, sessions, and other organizations' shares of this agent are
79
+ * not deleted — external shares stop resolving instead.
79
80
  *
80
81
  * @internal
81
82
  * Cascade order is children-before-parent so a mid-failure retry
82
- * converges. Shares are matched by spec.agent_ref (org + agent slug)
83
- * leaving them behind would silently rebind a stale share (audience, link
84
- * token, bound credentials) to whatever agent is later created at that
85
- * slug. Cloud additionally cleans each cascaded child's FGA tuples.
83
+ * converges. Shares are matched by spec.agent_ref (org + agent slug) and
84
+ * scoped to the agent's own org leaving same-org shares behind would
85
+ * silently rebind a stale share (audience, link token, bound
86
+ * credentials) to whatever agent is later created at that slug, while
87
+ * cascading ANOTHER org's share would make delete a cross-principal
88
+ * destructive action (decision 013). Cross-org shares instead fail
89
+ * closed via the dangling-ref check and the status.agent_id pin; their
90
+ * owning orgs clean up their own rows. Cloud additionally cleans each
91
+ * cascaded child's FGA tuples.
86
92
  *
87
93
  * @generated from rpc ai.stigmer.agentic.agent.v1.AgentCommandController.delete
88
94
  */
@@ -1 +1 @@
1
- {"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agent/v1/command_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sHAAsH;AACtH,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,wCAAwC,GAAY,aAAa,CAC5E,QAAQ,CAAC,wiCAAwiC,EAAE,CAAC,oCAAoC,EAAE,mCAAmC,EAAE,sCAAsC,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAE/wC;;;;GAIG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAgF9B,aAAa,CAChB,WAAW,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agent/v1/command_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sHAAsH;AACtH,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,wCAAwC,GAAY,aAAa,CAC5E,QAAQ,CAAC,wiCAAwiC,EAAE,CAAC,oCAAoC,EAAE,mCAAmC,EAAE,sCAAsC,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAE/wC;;;;GAIG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAsF9B,aAAa,CAChB,WAAW,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAC"}
@@ -29,12 +29,26 @@ export type AgentShareSpec = Message<"ai.stigmer.agentic.agentshare.v1.AgentShar
29
29
  /**
30
30
  * Reference to the agent this share distributes.
31
31
  *
32
+ * The referenced agent may live in another organization when it is
33
+ * marketplace-public: the share then offers that agent from this share's
34
+ * org, billed to this share's org, with tool credentials bound from this
35
+ * share's org. Cross-org shares must have a public audience.
36
+ *
32
37
  * @internal
33
- * Phase A invariant: agent_ref.org must equal metadata.org — the sharing
34
- * org is the billing org (decision 001 generalized), and guest tool
35
- * credentials resolve in the share's org (secrets never cross orgs).
36
- * Enforced in the create/update/apply handlers of both editions;
37
- * cross-org shares are Phase B (decision 012).
38
+ * Cross-org contract (decision 013): making an agent visibility_public
39
+ * IS the origin org's consent to external shares enforced app-level in
40
+ * both editions' defaults resolvers (spec-level CEL cannot see
41
+ * metadata.org), together with the public-audience-only rule and the
42
+ * dependency-publicness sweep (every skill/MCP the agent declares must be
43
+ * visibility_public, refused loudly naming blockers). The sharing org is
44
+ * always the billing org (decision 001 generalized) and guest tool
45
+ * credentials resolve in the share's org (secrets never cross orgs —
46
+ * org A's environments are structurally unreachable from org B's
47
+ * executions via OrgSharedEnvironmentPolicy). The agent's public
48
+ * visibility is re-verified on every guest turn, at the shared profile,
49
+ * and at guest mint, so revoking visibility kills external channels on
50
+ * the visitor's next message. status.agent_id pins the resolved agent
51
+ * against slug-reuse rebind.
38
52
  *
39
53
  * @generated from field: ai.stigmer.commons.apiresource.ApiResourceReference agent_ref = 1;
40
54
  */
@@ -1 +1 @@
1
- {"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentshare/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,6HAA6H;AAC7H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC/E,OAAO,EAAE,iDAAiD,EAAE,MAAM,kDAAkD,CAAC;AAErH,OAAO,EAAE,sCAAsC,EAAE,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAY,aAAa,CAC9E,QAAQ,CAAC,iyDAAiyD,EAAE,CAAC,iDAAiD,EAAE,sCAAsC,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAoIv6D;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAA+B,aAAa,CAC3E,WAAW,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAC;AAmC7D;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAmC,aAAa,CACnF,WAAW,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAC;AAE7D;;;;;;;GAOG;AACH,MAAM,CAAN,IAAY,kBA0BX;AA1BD,WAAY,kBAAkB;IAC5B;;;;OAIG;IACH,yEAAe,CAAA;IAEf;;;;;;OAMG;IACH,+DAAU,CAAA;IAEV;;;;;;;OAOG;IACH,yDAAO,CAAA;AACT,CAAC,EA1BW,kBAAkB,KAAlB,kBAAkB,QA0B7B;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAgC,aAAa,CAChF,QAAQ,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentshare/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,6HAA6H;AAC7H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC/E,OAAO,EAAE,iDAAiD,EAAE,MAAM,kDAAkD,CAAC;AAErH,OAAO,EAAE,sCAAsC,EAAE,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAY,aAAa,CAC9E,QAAQ,CAAC,iyDAAiyD,EAAE,CAAC,iDAAiD,EAAE,sCAAsC,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAkJv6D;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAA+B,aAAa,CAC3E,WAAW,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAC;AAmC7D;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAmC,aAAa,CACnF,WAAW,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAC;AAE7D;;;;;;;GAOG;AACH,MAAM,CAAN,IAAY,kBA0BX;AA1BD,WAAY,kBAAkB;IAC5B;;;;OAIG;IACH,yEAAe,CAAA;IAEf;;;;;;OAMG;IACH,+DAAU,CAAA;IAEV;;;;;;;OAOG;IACH,yDAAO,CAAA;AACT,CAAC,EA1BW,kBAAkB,KAAlB,kBAAkB,QA0B7B;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAgC,aAAa,CAChF,QAAQ,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAC"}
@@ -42,6 +42,31 @@ export type AgentShareStatus = Message<"ai.stigmer.agentic.agentshare.v1.AgentSh
42
42
  * @generated from field: string share_link_token = 1;
43
43
  */
44
44
  shareLinkToken: string;
45
+ /**
46
+ * ID of the agent this share was created against.
47
+ *
48
+ * Pins the share to the exact agent (by immutable ID) that spec.agent_ref
49
+ * resolved to at creation. If that agent is deleted and a different one
50
+ * is later created at the same org/slug, the share stops resolving
51
+ * instead of silently attaching to the new agent.
52
+ *
53
+ * @internal
54
+ * Server-owned rebind guard (decision 013): agent_ref is org+slug, and
55
+ * slugs are reusable after delete — without the pin, a stale share's
56
+ * audience, link token, and bound credentials would transfer to whatever
57
+ * agent later claims the slug. Stamped once at create (the defaults
58
+ * resolver already loads the referenced agent); immutable like agent_ref
59
+ * itself; in status so no apply can wipe or forge it (the
60
+ * share_link_token posture). Every share-resolution gate (shared
61
+ * profile, guest mint, create-time gate, runner elevation) verifies it
62
+ * WHEN PRESENT; shares created before this field exists carry an empty
63
+ * pin and are tolerated — the same-org delete cascade already guarantees
64
+ * a same-org share never outlives its agent, so no backfill is needed.
65
+ * Cross-org shares (Phase B) always carry the pin.
66
+ *
67
+ * @generated from field: string agent_id = 2;
68
+ */
69
+ agentId: string;
45
70
  };
46
71
  /**
47
72
  * Describes the message ai.stigmer.agentic.agentshare.v1.AgentShareStatus.
@@ -6,7 +6,7 @@ import { file_ai_stigmer_commons_apiresource_status } from "../../../commons/api
6
6
  /**
7
7
  * Describes the file ai/stigmer/agentic/agentshare/v1/status.proto.
8
8
  */
9
- export const file_ai_stigmer_agentic_agentshare_v1_status = /*@__PURE__*/ fileDesc("Ci1haS9zdGlnbWVyL2FnZW50aWMvYWdlbnRzaGFyZS92MS9zdGF0dXMucHJvdG8SIGFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudHNoYXJlLnYxIm0KEEFnZW50U2hhcmVTdGF0dXMSPwoFYXVkaXQYYyABKAsyMC5haS5zdGlnbWVyLmNvbW1vbnMuYXBpcmVzb3VyY2UuQXBpUmVzb3VyY2VBdWRpdBIYChBzaGFyZV9saW5rX3Rva2VuGAEgASgJYgZwcm90bzM", [file_ai_stigmer_commons_apiresource_status]);
9
+ export const file_ai_stigmer_agentic_agentshare_v1_status = /*@__PURE__*/ fileDesc("Ci1haS9zdGlnbWVyL2FnZW50aWMvYWdlbnRzaGFyZS92MS9zdGF0dXMucHJvdG8SIGFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudHNoYXJlLnYxIn8KEEFnZW50U2hhcmVTdGF0dXMSPwoFYXVkaXQYYyABKAsyMC5haS5zdGlnbWVyLmNvbW1vbnMuYXBpcmVzb3VyY2UuQXBpUmVzb3VyY2VBdWRpdBIYChBzaGFyZV9saW5rX3Rva2VuGAEgASgJEhAKCGFnZW50X2lkGAIgASgJYgZwcm90bzM", [file_ai_stigmer_commons_apiresource_status]);
10
10
  /**
11
11
  * Describes the message ai.stigmer.agentic.agentshare.v1.AgentShareStatus.
12
12
  * Use `create(AgentShareStatusSchema)` to create a new message.
@@ -1 +1 @@
1
- {"version":3,"file":"status_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentshare/v1/status_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,+HAA+H;AAC/H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAGvG;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAAY,aAAa,CAChF,QAAQ,CAAC,6QAA6Q,EAAE,CAAC,0CAA0C,CAAC,CAAC,CAAC;AA0CxU;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAiC,aAAa,CAC/E,WAAW,CAAC,4CAA4C,EAAE,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"status_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentshare/v1/status_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,+HAA+H;AAC/H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAGvG;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAAY,aAAa,CAChF,QAAQ,CAAC,qSAAqS,EAAE,CAAC,0CAA0C,CAAC,CAAC,CAAC;AAoEhW;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAiC,aAAa,CAC/E,WAAW,CAAC,4CAA4C,EAAE,CAAC,CAAC,CAAC"}
@@ -164,7 +164,20 @@ export declare enum IamPermission {
164
164
  *
165
165
  * @generated from enum value: can_execute_billing_ops = 29;
166
166
  */
167
- can_execute_billing_ops = 29
167
+ can_execute_billing_ops = 29,
168
+ /**
169
+ * Organization-level permission to create agent shares billed to the
170
+ * organization.
171
+ *
172
+ * Checked only for CROSS-ORG shares (a share of another org's
173
+ * marketplace-public agent — decision 013): a public share spends the
174
+ * sharing org's credits on the open internet, an admin-level act.
175
+ * Same-org shares keep their Phase A bar (can_edit on the agent), which
176
+ * already implies membership in the agent's org.
177
+ *
178
+ * @generated from enum value: can_create_agent_share = 30;
179
+ */
180
+ can_create_agent_share = 30
168
181
  }
169
182
  /**
170
183
  * Describes the enum ai.stigmer.iam.v1.IamPermission.
@@ -5,7 +5,7 @@ import { enumDesc, fileDesc } from "@bufbuild/protobuf/codegenv1";
5
5
  /**
6
6
  * Describes the file ai/stigmer/iam/v1/enum.proto.
7
7
  */
8
- export const file_ai_stigmer_iam_v1_enum = /*@__PURE__*/ fileDesc("ChxhaS9zdGlnbWVyL2lhbS92MS9lbnVtLnByb3RvEhFhaS5zdGlnbWVyLmlhbS52MSq2BQoNSWFtUGVybWlzc2lvbhIPCgt1bnNwZWNpZmllZBAAEgwKCGNhbl92aWV3EAESDAoIY2FuX2VkaXQQAhIOCgpjYW5fZGVsZXRlEAMSFAoQY2FuX2dyYW50X2FjY2VzcxAEEhMKD2Nhbl92aWV3X2FjY2Vzc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RvMw");
9
9
  /**
10
10
  * IamPermission defines the permissions checked by the authorization
11
11
  * interceptor before an RPC handler executes.
@@ -169,6 +169,19 @@ export var IamPermission;
169
169
  * @generated from enum value: can_execute_billing_ops = 29;
170
170
  */
171
171
  IamPermission[IamPermission["can_execute_billing_ops"] = 29] = "can_execute_billing_ops";
172
+ /**
173
+ * Organization-level permission to create agent shares billed to the
174
+ * organization.
175
+ *
176
+ * Checked only for CROSS-ORG shares (a share of another org's
177
+ * marketplace-public agent — decision 013): a public share spends the
178
+ * sharing org's credits on the open internet, an admin-level act.
179
+ * Same-org shares keep their Phase A bar (can_edit on the agent), which
180
+ * already implies membership in the agent's org.
181
+ *
182
+ * @generated from enum value: can_create_agent_share = 30;
183
+ */
184
+ IamPermission[IamPermission["can_create_agent_share"] = 30] = "can_create_agent_share";
172
185
  })(IamPermission || (IamPermission = {}));
173
186
  /**
174
187
  * Describes the enum ai.stigmer.iam.v1.IamPermission.
@@ -1 +1 @@
1
- {"version":3,"file":"enum_pb.js","sourceRoot":"","sources":["../../../../../ai/stigmer/iam/v1/enum_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,+FAA+F;AAC/F,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAElE;;GAEG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAY,aAAa,CAC/D,QAAQ,CAAC,8lCAA8lC,CAAC,CAAC;AAE3mC;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAN,IAAY,aAgLX;AAhLD,WAAY,aAAa;IACvB;;OAEG;IACH,+DAAe,CAAA;IAEf;;;;OAIG;IACH,yDAAY,CAAA;IAEZ;;OAEG;IACH,yDAAY,CAAA;IAEZ;;OAEG;IACH,6DAAc,CAAA;IAEd;;;;OAIG;IACH,yEAAoB,CAAA;IAEpB;;OAEG;IACH,uEAAmB,CAAA;IAEnB;;;;OAIG;IACH,yEAAoB,CAAA;IAEpB;;OAEG;IACH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EzB;;;;OAIG;IACH,gEAAgB,CAAA;IAEhB;;;;OAIG;IACH,4EAAsB,CAAA;IAEtB;;;;;;;;OAQG;IACH,8EAAuB,CAAA;IAEvB;;;;OAIG;IACH,0EAAqB,CAAA;IAErB;;OAEG;IACH,8EAAuB,CAAA;IAEvB;;;;;OAKG;IACH,wFAA4B,CAAA;IAE5B;;;;;;;;;;;OAWG;IACH,sFAA2B,CAAA;AAC7B,CAAC,EA9LW,aAAa,KAAb,aAAa,QA8LxB;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAA2B,aAAa,CACtE,QAAQ,CAAC,2BAA2B,EAAE,CAAC,CAAC,CAAC;AAE3C;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAN,IAAY,OAiCX;AAjCD,WAAY,OAAO;IACjB;;OAEG;IACH,qEAAwB,CAAA;IAExB;;;;OAIG;IACH,uCAAS,CAAA;IAET;;;;OAIG;IACH,uCAAS,CAAA;IAET;;;;OAIG;IACH,yCAAU,CAAA;IAEV;;;;OAIG;IACH,yCAAU,CAAA;AACZ,CAAC,EAjCW,OAAO,KAAP,OAAO,QAiClB;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,aAAa,GAAqB,aAAa,CAC1D,QAAQ,CAAC,2BAA2B,EAAE,CAAC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stigmer/protos",
3
- "version": "3.1.12",
3
+ "version": "3.1.13",
4
4
  "description": "Generated TypeScript protobuf stubs for Stigmer APIs",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",