@stigmer/protos 3.1.8 → 3.1.9

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 (55) hide show
  1. package/ai/stigmer/agentic/agent/v1/command_connect.d.ts +0 -54
  2. package/ai/stigmer/agentic/agent/v1/command_connect.js +1 -55
  3. package/ai/stigmer/agentic/agent/v1/command_connect.js.map +1 -1
  4. package/ai/stigmer/agentic/agent/v1/command_pb.d.ts +1 -53
  5. package/ai/stigmer/agentic/agent/v1/command_pb.js +1 -1
  6. package/ai/stigmer/agentic/agent/v1/command_pb.js.map +1 -1
  7. package/ai/stigmer/agentic/agent/v1/io_pb.d.ts +0 -155
  8. package/ai/stigmer/agentic/agent/v1/io_pb.js +2 -23
  9. package/ai/stigmer/agentic/agent/v1/io_pb.js.map +1 -1
  10. package/ai/stigmer/agentic/agent/v1/query_connect.d.ts +0 -67
  11. package/ai/stigmer/agentic/agent/v1/query_connect.js +1 -68
  12. package/ai/stigmer/agentic/agent/v1/query_connect.js.map +1 -1
  13. package/ai/stigmer/agentic/agent/v1/query_pb.d.ts +1 -66
  14. package/ai/stigmer/agentic/agent/v1/query_pb.js +1 -1
  15. package/ai/stigmer/agentic/agent/v1/query_pb.js.map +1 -1
  16. package/ai/stigmer/agentic/agent/v1/spec_pb.d.ts +1 -182
  17. package/ai/stigmer/agentic/agent/v1/spec_pb.js +6 -55
  18. package/ai/stigmer/agentic/agent/v1/spec_pb.js.map +1 -1
  19. package/ai/stigmer/agentic/agent/v1/status_pb.d.ts +0 -25
  20. package/ai/stigmer/agentic/agent/v1/status_pb.js +1 -1
  21. package/ai/stigmer/agentic/agent/v1/status_pb.js.map +1 -1
  22. package/ai/stigmer/agentic/agentshare/v1/api_pb.d.ts +70 -0
  23. package/ai/stigmer/agentic/agentshare/v1/api_pb.js +18 -0
  24. package/ai/stigmer/agentic/agentshare/v1/api_pb.js.map +1 -0
  25. package/ai/stigmer/agentic/agentshare/v1/command_connect.d.ts +119 -0
  26. package/ai/stigmer/agentic/agentshare/v1/command_connect.js +127 -0
  27. package/ai/stigmer/agentic/agentshare/v1/command_connect.js.map +1 -0
  28. package/ai/stigmer/agentic/agentshare/v1/command_pb.d.ts +118 -0
  29. package/ai/stigmer/agentic/agentshare/v1/command_pb.js +19 -0
  30. package/ai/stigmer/agentic/agentshare/v1/command_pb.js.map +1 -0
  31. package/ai/stigmer/agentic/agentshare/v1/io_pb.d.ts +228 -0
  32. package/ai/stigmer/agentic/agentshare/v1/io_pb.js +47 -0
  33. package/ai/stigmer/agentic/agentshare/v1/io_pb.js.map +1 -0
  34. package/ai/stigmer/agentic/agentshare/v1/query_connect.d.ts +133 -0
  35. package/ai/stigmer/agentic/agentshare/v1/query_connect.js +142 -0
  36. package/ai/stigmer/agentic/agentshare/v1/query_connect.js.map +1 -0
  37. package/ai/stigmer/agentic/agentshare/v1/query_pb.d.ts +132 -0
  38. package/ai/stigmer/agentic/agentshare/v1/query_pb.js +20 -0
  39. package/ai/stigmer/agentic/agentshare/v1/query_pb.js.map +1 -0
  40. package/ai/stigmer/agentic/agentshare/v1/spec_pb.d.ts +208 -0
  41. package/ai/stigmer/agentic/agentshare/v1/spec_pb.js +60 -0
  42. package/ai/stigmer/agentic/agentshare/v1/spec_pb.js.map +1 -0
  43. package/ai/stigmer/agentic/agentshare/v1/status_pb.d.ts +50 -0
  44. package/ai/stigmer/agentic/agentshare/v1/status_pb.js +15 -0
  45. package/ai/stigmer/agentic/agentshare/v1/status_pb.js.map +1 -0
  46. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.d.ts +6 -0
  47. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js +7 -1
  48. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js.map +1 -1
  49. package/ai/stigmer/iam/platformclient/v1/token_connect.d.ts +7 -3
  50. package/ai/stigmer/iam/platformclient/v1/token_connect.js +7 -3
  51. package/ai/stigmer/iam/platformclient/v1/token_connect.js.map +1 -1
  52. package/ai/stigmer/iam/platformclient/v1/token_pb.d.ts +16 -12
  53. package/ai/stigmer/iam/platformclient/v1/token_pb.js +2 -1
  54. package/ai/stigmer/iam/platformclient/v1/token_pb.js.map +1 -1
  55. package/package.json +1 -1
@@ -0,0 +1,119 @@
1
+ /**
2
+ * AgentShareCommandController handles write operations for agent shares.
3
+ *
4
+ * @generated from service ai.stigmer.agentic.agentshare.v1.AgentShareCommandController
5
+ */
6
+ export declare const AgentShareCommandController: {
7
+ readonly typeName: "ai.stigmer.agentic.agentshare.v1.AgentShareCommandController";
8
+ readonly methods: {
9
+ /**
10
+ * Create or update an agent share.
11
+ *
12
+ * @internal
13
+ * The authorization and state-operation are determined depending on
14
+ * whether the share is going to be created or updated, which is resolved
15
+ * as part of the request execution. The share slug defaults to the
16
+ * referenced agent's slug when omitted.
17
+ *
18
+ * @generated from rpc ai.stigmer.agentic.agentshare.v1.AgentShareCommandController.apply
19
+ */
20
+ readonly apply: {
21
+ readonly name: "apply";
22
+ readonly I: any;
23
+ readonly O: any;
24
+ readonly kind: any;
25
+ };
26
+ /**
27
+ * Create an agent share.
28
+ *
29
+ * Enabling a share is a billing-affecting decision: conversations over
30
+ * the hosted link consume the sharing organization's credits.
31
+ *
32
+ * @internal
33
+ * Authorization: requires can_edit on the REFERENCED AGENT
34
+ * (spec.agent_ref), checked in-handler — the same bar as the former
35
+ * updateSharing RPC, since creating a channel broadens who can chat with
36
+ * the agent runtime. The standard org-scoped create tuples (owner =
37
+ * creator) are written for the share itself; no visibility tuples are
38
+ * written for visitors (guest admission is app-level by design — see
39
+ * AgentShareSpec). Phase A invariant enforced here: metadata.org must
40
+ * equal spec.agent_ref.org.
41
+ *
42
+ * @generated from rpc ai.stigmer.agentic.agentshare.v1.AgentShareCommandController.create
43
+ */
44
+ readonly create: {
45
+ readonly name: "create";
46
+ readonly I: any;
47
+ readonly O: any;
48
+ readonly kind: any;
49
+ };
50
+ /**
51
+ * Update an existing agent share.
52
+ *
53
+ * Replaces the spec wholesale: a manifest that omits audience resets the
54
+ * share to public, and one that omits environment_refs unbinds them
55
+ * (fails closed). The slug and referenced agent are immutable.
56
+ *
57
+ * @internal
58
+ * Authorization: requires can_edit permission on the agent share.
59
+ * status.share_link_token is preserved verbatim (rotateShareLink is its
60
+ * sole writer).
61
+ *
62
+ * @generated from rpc ai.stigmer.agentic.agentshare.v1.AgentShareCommandController.update
63
+ */
64
+ readonly update: {
65
+ readonly name: "update";
66
+ readonly I: any;
67
+ readonly O: any;
68
+ readonly kind: any;
69
+ };
70
+ /**
71
+ * Rotate the share's link token.
72
+ *
73
+ * Generates a fresh server-side token for the share's hosted chat link.
74
+ * The share URL becomes `/chat/<org>/<slug>?k=<token>` and the previous
75
+ * link (tokened or plain) stops working immediately — including for
76
+ * visitors mid-conversation. Use this to kill a leaked or over-shared
77
+ * public link without disabling the share or changing its slug.
78
+ *
79
+ * The token lives in status.share_link_token, so manifest applies never
80
+ * reset it. Rotation affects public-audience shares only; org-audience
81
+ * access is governed by live org membership instead.
82
+ *
83
+ * @internal
84
+ * Authorization: requires can_edit on the agent share — the same bar as
85
+ * update, since both control shared-link access. The handler is the sole
86
+ * writer of status.share_link_token (server-generated entropy; clients
87
+ * never supply the token).
88
+ *
89
+ * @generated from rpc ai.stigmer.agentic.agentshare.v1.AgentShareCommandController.rotateShareLink
90
+ */
91
+ readonly rotateShareLink: {
92
+ readonly name: "rotateShareLink";
93
+ readonly I: any;
94
+ readonly O: any;
95
+ readonly kind: any;
96
+ };
97
+ /**
98
+ * Delete an agent share.
99
+ *
100
+ * Full teardown of the channel: the hosted link stops resolving, live
101
+ * guest tokens die on their next message, and the share's configuration
102
+ * (origins, messages, credentials, link token) is gone. To pause serving
103
+ * while keeping configuration, update the share with enabled=false
104
+ * instead.
105
+ *
106
+ * @internal
107
+ * Authorization: requires can_delete permission on the agent share. The
108
+ * referenced agent is untouched.
109
+ *
110
+ * @generated from rpc ai.stigmer.agentic.agentshare.v1.AgentShareCommandController.delete
111
+ */
112
+ readonly delete: {
113
+ readonly name: "delete";
114
+ readonly I: any;
115
+ readonly O: any;
116
+ readonly kind: any;
117
+ };
118
+ };
119
+ };
@@ -0,0 +1,127 @@
1
+ // @generated by protoc-gen-connect-es v1.6.1 with parameter "target=ts,import_extension=js"
2
+ // @generated from file ai/stigmer/agentic/agentshare/v1/command.proto (package ai.stigmer.agentic.agentshare.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+ import { AgentShare } from "./api_pbjs";
6
+ import { MethodKind } from "@bufbuild/protobuf";
7
+ import { AgentShareId, RotateShareLinkInput } from "./io_pbjs";
8
+ /**
9
+ * AgentShareCommandController handles write operations for agent shares.
10
+ *
11
+ * @generated from service ai.stigmer.agentic.agentshare.v1.AgentShareCommandController
12
+ */
13
+ export const AgentShareCommandController = {
14
+ typeName: "ai.stigmer.agentic.agentshare.v1.AgentShareCommandController",
15
+ methods: {
16
+ /**
17
+ * Create or update an agent share.
18
+ *
19
+ * @internal
20
+ * The authorization and state-operation are determined depending on
21
+ * whether the share is going to be created or updated, which is resolved
22
+ * as part of the request execution. The share slug defaults to the
23
+ * referenced agent's slug when omitted.
24
+ *
25
+ * @generated from rpc ai.stigmer.agentic.agentshare.v1.AgentShareCommandController.apply
26
+ */
27
+ apply: {
28
+ name: "apply",
29
+ I: AgentShare,
30
+ O: AgentShare,
31
+ kind: MethodKind.Unary,
32
+ },
33
+ /**
34
+ * Create an agent share.
35
+ *
36
+ * Enabling a share is a billing-affecting decision: conversations over
37
+ * the hosted link consume the sharing organization's credits.
38
+ *
39
+ * @internal
40
+ * Authorization: requires can_edit on the REFERENCED AGENT
41
+ * (spec.agent_ref), checked in-handler — the same bar as the former
42
+ * updateSharing RPC, since creating a channel broadens who can chat with
43
+ * the agent runtime. The standard org-scoped create tuples (owner =
44
+ * creator) are written for the share itself; no visibility tuples are
45
+ * written for visitors (guest admission is app-level by design — see
46
+ * AgentShareSpec). Phase A invariant enforced here: metadata.org must
47
+ * equal spec.agent_ref.org.
48
+ *
49
+ * @generated from rpc ai.stigmer.agentic.agentshare.v1.AgentShareCommandController.create
50
+ */
51
+ create: {
52
+ name: "create",
53
+ I: AgentShare,
54
+ O: AgentShare,
55
+ kind: MethodKind.Unary,
56
+ },
57
+ /**
58
+ * Update an existing agent share.
59
+ *
60
+ * Replaces the spec wholesale: a manifest that omits audience resets the
61
+ * share to public, and one that omits environment_refs unbinds them
62
+ * (fails closed). The slug and referenced agent are immutable.
63
+ *
64
+ * @internal
65
+ * Authorization: requires can_edit permission on the agent share.
66
+ * status.share_link_token is preserved verbatim (rotateShareLink is its
67
+ * sole writer).
68
+ *
69
+ * @generated from rpc ai.stigmer.agentic.agentshare.v1.AgentShareCommandController.update
70
+ */
71
+ update: {
72
+ name: "update",
73
+ I: AgentShare,
74
+ O: AgentShare,
75
+ kind: MethodKind.Unary,
76
+ },
77
+ /**
78
+ * Rotate the share's link token.
79
+ *
80
+ * Generates a fresh server-side token for the share's hosted chat link.
81
+ * The share URL becomes `/chat/<org>/<slug>?k=<token>` and the previous
82
+ * link (tokened or plain) stops working immediately — including for
83
+ * visitors mid-conversation. Use this to kill a leaked or over-shared
84
+ * public link without disabling the share or changing its slug.
85
+ *
86
+ * The token lives in status.share_link_token, so manifest applies never
87
+ * reset it. Rotation affects public-audience shares only; org-audience
88
+ * access is governed by live org membership instead.
89
+ *
90
+ * @internal
91
+ * Authorization: requires can_edit on the agent share — the same bar as
92
+ * update, since both control shared-link access. The handler is the sole
93
+ * writer of status.share_link_token (server-generated entropy; clients
94
+ * never supply the token).
95
+ *
96
+ * @generated from rpc ai.stigmer.agentic.agentshare.v1.AgentShareCommandController.rotateShareLink
97
+ */
98
+ rotateShareLink: {
99
+ name: "rotateShareLink",
100
+ I: RotateShareLinkInput,
101
+ O: AgentShare,
102
+ kind: MethodKind.Unary,
103
+ },
104
+ /**
105
+ * Delete an agent share.
106
+ *
107
+ * Full teardown of the channel: the hosted link stops resolving, live
108
+ * guest tokens die on their next message, and the share's configuration
109
+ * (origins, messages, credentials, link token) is gone. To pause serving
110
+ * while keeping configuration, update the share with enabled=false
111
+ * instead.
112
+ *
113
+ * @internal
114
+ * Authorization: requires can_delete permission on the agent share. The
115
+ * referenced agent is untouched.
116
+ *
117
+ * @generated from rpc ai.stigmer.agentic.agentshare.v1.AgentShareCommandController.delete
118
+ */
119
+ delete: {
120
+ name: "delete",
121
+ I: AgentShareId,
122
+ O: AgentShare,
123
+ kind: MethodKind.Unary,
124
+ },
125
+ }
126
+ };
127
+ //# sourceMappingURL=command_connect.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentshare/v1/command_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,gIAAgI;AAChI,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAE/D;;;;GAIG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACzC,QAAQ,EAAE,8DAA8D;IACxE,OAAO,EAAE;QACP;;;;;;;;;;WAUG;QACH,KAAK,EAAE;YACL,IAAI,EAAE,OAAO;YACb,CAAC,EAAE,UAAU;YACb,CAAC,EAAE,UAAU;YACb,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;WAiBG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,UAAU;YACb,CAAC,EAAE,UAAU;YACb,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;WAaG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,UAAU;YACb,CAAC,EAAE,UAAU;YACb,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;WAoBG;QACH,eAAe,EAAE;YACf,IAAI,EAAE,iBAAiB;YACvB,CAAC,EAAE,oBAAoB;YACvB,CAAC,EAAE,UAAU;YACb,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;WAcG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,YAAY;YACf,CAAC,EAAE,UAAU;YACb,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
@@ -0,0 +1,118 @@
1
+ import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv1";
2
+ import type { AgentShareSchema } from "./api_pb.js";
3
+ import type { AgentShareIdSchema, RotateShareLinkInputSchema } from "./io_pb.js";
4
+ /**
5
+ * Describes the file ai/stigmer/agentic/agentshare/v1/command.proto.
6
+ */
7
+ export declare const file_ai_stigmer_agentic_agentshare_v1_command: GenFile;
8
+ /**
9
+ * AgentShareCommandController handles write operations for agent shares.
10
+ *
11
+ * @generated from service ai.stigmer.agentic.agentshare.v1.AgentShareCommandController
12
+ */
13
+ export declare const AgentShareCommandController: GenService<{
14
+ /**
15
+ * Create or update an agent share.
16
+ *
17
+ * @internal
18
+ * The authorization and state-operation are determined depending on
19
+ * whether the share is going to be created or updated, which is resolved
20
+ * as part of the request execution. The share slug defaults to the
21
+ * referenced agent's slug when omitted.
22
+ *
23
+ * @generated from rpc ai.stigmer.agentic.agentshare.v1.AgentShareCommandController.apply
24
+ */
25
+ apply: {
26
+ methodKind: "unary";
27
+ input: typeof AgentShareSchema;
28
+ output: typeof AgentShareSchema;
29
+ };
30
+ /**
31
+ * Create an agent share.
32
+ *
33
+ * Enabling a share is a billing-affecting decision: conversations over
34
+ * the hosted link consume the sharing organization's credits.
35
+ *
36
+ * @internal
37
+ * Authorization: requires can_edit on the REFERENCED AGENT
38
+ * (spec.agent_ref), checked in-handler — the same bar as the former
39
+ * updateSharing RPC, since creating a channel broadens who can chat with
40
+ * the agent runtime. The standard org-scoped create tuples (owner =
41
+ * creator) are written for the share itself; no visibility tuples are
42
+ * written for visitors (guest admission is app-level by design — see
43
+ * AgentShareSpec). Phase A invariant enforced here: metadata.org must
44
+ * equal spec.agent_ref.org.
45
+ *
46
+ * @generated from rpc ai.stigmer.agentic.agentshare.v1.AgentShareCommandController.create
47
+ */
48
+ create: {
49
+ methodKind: "unary";
50
+ input: typeof AgentShareSchema;
51
+ output: typeof AgentShareSchema;
52
+ };
53
+ /**
54
+ * Update an existing agent share.
55
+ *
56
+ * Replaces the spec wholesale: a manifest that omits audience resets the
57
+ * share to public, and one that omits environment_refs unbinds them
58
+ * (fails closed). The slug and referenced agent are immutable.
59
+ *
60
+ * @internal
61
+ * Authorization: requires can_edit permission on the agent share.
62
+ * status.share_link_token is preserved verbatim (rotateShareLink is its
63
+ * sole writer).
64
+ *
65
+ * @generated from rpc ai.stigmer.agentic.agentshare.v1.AgentShareCommandController.update
66
+ */
67
+ update: {
68
+ methodKind: "unary";
69
+ input: typeof AgentShareSchema;
70
+ output: typeof AgentShareSchema;
71
+ };
72
+ /**
73
+ * Rotate the share's link token.
74
+ *
75
+ * Generates a fresh server-side token for the share's hosted chat link.
76
+ * The share URL becomes `/chat/<org>/<slug>?k=<token>` and the previous
77
+ * link (tokened or plain) stops working immediately — including for
78
+ * visitors mid-conversation. Use this to kill a leaked or over-shared
79
+ * public link without disabling the share or changing its slug.
80
+ *
81
+ * The token lives in status.share_link_token, so manifest applies never
82
+ * reset it. Rotation affects public-audience shares only; org-audience
83
+ * access is governed by live org membership instead.
84
+ *
85
+ * @internal
86
+ * Authorization: requires can_edit on the agent share — the same bar as
87
+ * update, since both control shared-link access. The handler is the sole
88
+ * writer of status.share_link_token (server-generated entropy; clients
89
+ * never supply the token).
90
+ *
91
+ * @generated from rpc ai.stigmer.agentic.agentshare.v1.AgentShareCommandController.rotateShareLink
92
+ */
93
+ rotateShareLink: {
94
+ methodKind: "unary";
95
+ input: typeof RotateShareLinkInputSchema;
96
+ output: typeof AgentShareSchema;
97
+ };
98
+ /**
99
+ * Delete an agent share.
100
+ *
101
+ * Full teardown of the channel: the hosted link stops resolving, live
102
+ * guest tokens die on their next message, and the share's configuration
103
+ * (origins, messages, credentials, link token) is gone. To pause serving
104
+ * while keeping configuration, update the share with enabled=false
105
+ * instead.
106
+ *
107
+ * @internal
108
+ * Authorization: requires can_delete permission on the agent share. The
109
+ * referenced agent is untouched.
110
+ *
111
+ * @generated from rpc ai.stigmer.agentic.agentshare.v1.AgentShareCommandController.delete
112
+ */
113
+ delete: {
114
+ methodKind: "unary";
115
+ input: typeof AgentShareIdSchema;
116
+ output: typeof AgentShareSchema;
117
+ };
118
+ }>;
@@ -0,0 +1,19 @@
1
+ // @generated by protoc-gen-es v2.2.2 with parameter "target=ts,import_extension=js"
2
+ // @generated from file ai/stigmer/agentic/agentshare/v1/command.proto (package ai.stigmer.agentic.agentshare.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ import { fileDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
5
+ import { file_ai_stigmer_agentic_agentshare_v1_api } from "./api_pb.js";
6
+ import { file_ai_stigmer_agentic_agentshare_v1_io } from "./io_pb.js";
7
+ import { file_ai_stigmer_commons_apiresource_rpc_service_options } from "../../../commons/apiresource/rpc_service_options_pb.js";
8
+ import { file_ai_stigmer_commons_rpc_method_options } from "../../../commons/rpc/method_options_pb.js";
9
+ /**
10
+ * Describes the file ai/stigmer/agentic/agentshare/v1/command.proto.
11
+ */
12
+ export const file_ai_stigmer_agentic_agentshare_v1_command = /*@__PURE__*/ fileDesc("Ci5haS9zdGlnbWVyL2FnZW50aWMvYWdlbnRzaGFyZS92MS9jb21tYW5kLnByb3RvEiBhaS5zdGlnbWVyLmFnZW50aWMuYWdlbnRzaGFyZS52MTLuBQobQWdlbnRTaGFyZUNvbW1hbmRDb250cm9sbGVyEmMKBWFwcGx5EiwuYWkuc3RpZ21lci5hZ2VudGljLmFnZW50c2hhcmUudjEuQWdlbnRTaGFyZRosLmFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudHNoYXJlLnYxLkFnZW50U2hhcmUSagoGY3JlYXRlEiwuYWkuc3RpZ21lci5hZ2VudGljLmFnZW50c2hhcmUudjEuQWdlbnRTaGFyZRosLmFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudHNoYXJlLnYxLkFnZW50U2hhcmUiBNC4GAESnwEKBnVwZGF0ZRIsLmFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudHNoYXJlLnYxLkFnZW50U2hhcmUaLC5haS5zdGlnbWVyLmFnZW50aWMuYWdlbnRzaGFyZS52MS5BZ2VudFNoYXJlIjnCuBg1CAIQLiILbWV0YWRhdGEuaWQqInVuYXV0aG9yaXplZCB0byB1cGRhdGUgYWdlbnQgc2hhcmUStwEKD3JvdGF0ZVNoYXJlTGluaxI2LmFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudHNoYXJlLnYxLlJvdGF0ZVNoYXJlTGlua0lucHV0GiwuYWkuc3RpZ21lci5hZ2VudGljLmFnZW50c2hhcmUudjEuQWdlbnRTaGFyZSI+wrgYOggCEC4iC3Jlc291cmNlX2lkKid1bmF1dGhvcml6ZWQgdG8gcm90YXRlIGFnZW50IHNoYXJlIGxpbmsSmwEKBmRlbGV0ZRIuLmFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudHNoYXJlLnYxLkFnZW50U2hhcmVJZBosLmFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudHNoYXJlLnYxLkFnZW50U2hhcmUiM8K4GC8IAxAuIgV2YWx1ZSoidW5hdXRob3JpemVkIHRvIGRlbGV0ZSBhZ2VudCBzaGFyZRoEoP8rLmIGcHJvdG8z", [file_ai_stigmer_agentic_agentshare_v1_api, file_ai_stigmer_agentic_agentshare_v1_io, file_ai_stigmer_commons_apiresource_rpc_service_options, file_ai_stigmer_commons_rpc_method_options]);
13
+ /**
14
+ * AgentShareCommandController handles write operations for agent shares.
15
+ *
16
+ * @generated from service ai.stigmer.agentic.agentshare.v1.AgentShareCommandController
17
+ */
18
+ export const AgentShareCommandController = /*@__PURE__*/ serviceDesc(file_ai_stigmer_agentic_agentshare_v1_command, 0);
19
+ //# sourceMappingURL=command_pb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentshare/v1/command_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,gIAAgI;AAChI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,yCAAyC,EAAE,MAAM,aAAa,CAAC;AAExE,OAAO,EAAE,wCAAwC,EAAE,MAAM,YAAY,CAAC;AACtE,OAAO,EAAE,uDAAuD,EAAE,MAAM,wDAAwD,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG;;GAEG;AACH,MAAM,CAAC,MAAM,6CAA6C,GAAY,aAAa,CACjF,QAAQ,CAAC,smCAAsmC,EAAE,CAAC,yCAAyC,EAAE,wCAAwC,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAE/yC;;;;GAIG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAyGnC,aAAa,CAChB,WAAW,CAAC,6CAA6C,EAAE,CAAC,CAAC,CAAC"}
@@ -0,0 +1,228 @@
1
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
2
+ import type { AgentShare } from "./api_pb.js";
3
+ import type { PageInfo } from "../../../commons/rpc/pagination_pb.js";
4
+ import type { Message } from "@bufbuild/protobuf";
5
+ /**
6
+ * Describes the file ai/stigmer/agentic/agentshare/v1/io.proto.
7
+ */
8
+ export declare const file_ai_stigmer_agentic_agentshare_v1_io: GenFile;
9
+ /**
10
+ * AgentShareId wraps an agent share identifier.
11
+ *
12
+ * @generated from message ai.stigmer.agentic.agentshare.v1.AgentShareId
13
+ */
14
+ export type AgentShareId = Message<"ai.stigmer.agentic.agentshare.v1.AgentShareId"> & {
15
+ /**
16
+ * Unique identifier of the agent share.
17
+ *
18
+ * @generated from field: string value = 1;
19
+ */
20
+ value: string;
21
+ };
22
+ /**
23
+ * Describes the message ai.stigmer.agentic.agentshare.v1.AgentShareId.
24
+ * Use `create(AgentShareIdSchema)` to create a new message.
25
+ */
26
+ export declare const AgentShareIdSchema: GenMessage<AgentShareId>;
27
+ /**
28
+ * Input for retrieving all shares of a specific agent.
29
+ *
30
+ * @generated from message ai.stigmer.agentic.agentshare.v1.GetAgentSharesByAgentRequest
31
+ */
32
+ export type GetAgentSharesByAgentRequest = Message<"ai.stigmer.agentic.agentshare.v1.GetAgentSharesByAgentRequest"> & {
33
+ /**
34
+ * Identifier of the agent whose shares to retrieve.
35
+ *
36
+ * @generated from field: string agent_id = 1;
37
+ */
38
+ agentId: string;
39
+ /**
40
+ * Pagination options.
41
+ *
42
+ * @generated from field: ai.stigmer.commons.rpc.PageInfo page_info = 2;
43
+ */
44
+ pageInfo?: PageInfo;
45
+ };
46
+ /**
47
+ * Describes the message ai.stigmer.agentic.agentshare.v1.GetAgentSharesByAgentRequest.
48
+ * Use `create(GetAgentSharesByAgentRequestSchema)` to create a new message.
49
+ */
50
+ export declare const GetAgentSharesByAgentRequestSchema: GenMessage<GetAgentSharesByAgentRequest>;
51
+ /**
52
+ * Response containing a paginated list of agent shares.
53
+ *
54
+ * @generated from message ai.stigmer.agentic.agentshare.v1.AgentShareList
55
+ */
56
+ export type AgentShareList = Message<"ai.stigmer.agentic.agentshare.v1.AgentShareList"> & {
57
+ /**
58
+ * Total number of agent shares matching the query.
59
+ *
60
+ * @generated from field: int32 total_count = 1;
61
+ */
62
+ totalCount: number;
63
+ /**
64
+ * Agent shares in the current page.
65
+ *
66
+ * @generated from field: repeated ai.stigmer.agentic.agentshare.v1.AgentShare items = 2;
67
+ */
68
+ items: AgentShare[];
69
+ };
70
+ /**
71
+ * Describes the message ai.stigmer.agentic.agentshare.v1.AgentShareList.
72
+ * Use `create(AgentShareListSchema)` to create a new message.
73
+ */
74
+ export declare const AgentShareListSchema: GenMessage<AgentShareList>;
75
+ /**
76
+ * Input for listing agent shares within an organization.
77
+ *
78
+ * @generated from message ai.stigmer.agentic.agentshare.v1.ListAgentSharesRequest
79
+ */
80
+ export type ListAgentSharesRequest = Message<"ai.stigmer.agentic.agentshare.v1.ListAgentSharesRequest"> & {
81
+ /**
82
+ * Organization slug to scope the listing.
83
+ *
84
+ * @generated from field: string org = 1;
85
+ */
86
+ org: string;
87
+ /**
88
+ * Filter by metadata labels. AND semantics: all labels must match.
89
+ *
90
+ * @generated from field: map<string, string> labels = 2;
91
+ */
92
+ labels: {
93
+ [key: string]: string;
94
+ };
95
+ /**
96
+ * Pagination options.
97
+ *
98
+ * @generated from field: ai.stigmer.commons.rpc.PageInfo page_info = 3;
99
+ */
100
+ pageInfo?: PageInfo;
101
+ };
102
+ /**
103
+ * Describes the message ai.stigmer.agentic.agentshare.v1.ListAgentSharesRequest.
104
+ * Use `create(ListAgentSharesRequestSchema)` to create a new message.
105
+ */
106
+ export declare const ListAgentSharesRequestSchema: GenMessage<ListAgentSharesRequest>;
107
+ /**
108
+ * Input for rotating a share's link token.
109
+ *
110
+ * Used by the rotateShareLink RPC. The server generates the new token —
111
+ * callers never supply one — and the previous link stops working the
112
+ * moment the rotation persists.
113
+ *
114
+ * @generated from message ai.stigmer.agentic.agentshare.v1.RotateShareLinkInput
115
+ */
116
+ export type RotateShareLinkInput = Message<"ai.stigmer.agentic.agentshare.v1.RotateShareLinkInput"> & {
117
+ /**
118
+ * ID of the agent share whose link token is being rotated.
119
+ *
120
+ * @generated from field: string resource_id = 1;
121
+ */
122
+ resourceId: string;
123
+ };
124
+ /**
125
+ * Describes the message ai.stigmer.agentic.agentshare.v1.RotateShareLinkInput.
126
+ * Use `create(RotateShareLinkInputSchema)` to create a new message.
127
+ */
128
+ export declare const RotateShareLinkInputSchema: GenMessage<RotateShareLinkInput>;
129
+ /**
130
+ * Input for resolving a share's public profile.
131
+ *
132
+ * Identifies the share by the org and slug from the hosted chat URL, plus
133
+ * the link token when the share URL carries one.
134
+ *
135
+ * @internal
136
+ * org emptiness is validated in the handler (INVALID_ARGUMENT) rather than
137
+ * the proto to keep the anonymous path's existing error contract: org+slug
138
+ * is the shared URL's identity, and cross-org slug matching on a public
139
+ * endpoint would enable enumeration.
140
+ *
141
+ * @generated from message ai.stigmer.agentic.agentshare.v1.GetSharedProfileRequest
142
+ */
143
+ export type GetSharedProfileRequest = Message<"ai.stigmer.agentic.agentshare.v1.GetSharedProfileRequest"> & {
144
+ /**
145
+ * Organization slug from the share URL.
146
+ *
147
+ * @generated from field: string org = 1;
148
+ */
149
+ org: string;
150
+ /**
151
+ * Share slug from the share URL.
152
+ *
153
+ * @generated from field: string slug = 2;
154
+ */
155
+ slug: string;
156
+ /**
157
+ * Link token from the share URL's `?k=` parameter.
158
+ *
159
+ * Required (and validated) only when the share link has been locked with
160
+ * rotateShareLink; ignored for plain share links.
161
+ *
162
+ * @generated from field: string link_token = 3;
163
+ */
164
+ linkToken: string;
165
+ };
166
+ /**
167
+ * Describes the message ai.stigmer.agentic.agentshare.v1.GetSharedProfileRequest.
168
+ * Use `create(GetSharedProfileRequestSchema)` to create a new message.
169
+ */
170
+ export declare const GetSharedProfileRequestSchema: GenMessage<GetSharedProfileRequest>;
171
+ /**
172
+ * SharedAgentProfile is the public projection of a shared agent.
173
+ *
174
+ * Returned by the getSharedProfile RPC to anonymous visitors of the hosted
175
+ * chat page. It is deliberately trimmed: the full Agent resource carries the
176
+ * system prompt (spec.instructions), environment declarations, and MCP
177
+ * server wiring — none of which may leak to anyone-with-link callers. The
178
+ * profile carries only what the hosted chat page needs to render a header
179
+ * and start a session.
180
+ *
181
+ * @generated from message ai.stigmer.agentic.agentshare.v1.SharedAgentProfile
182
+ */
183
+ export type SharedAgentProfile = Message<"ai.stigmer.agentic.agentshare.v1.SharedAgentProfile"> & {
184
+ /**
185
+ * Organization that owns the share.
186
+ *
187
+ * @generated from field: string org = 1;
188
+ */
189
+ org: string;
190
+ /**
191
+ * Slug of the share (unique within the org).
192
+ * Together with org, this is the identity in the hosted chat URL.
193
+ *
194
+ * @generated from field: string slug = 2;
195
+ */
196
+ slug: string;
197
+ /**
198
+ * Human-readable agent name for the chat page header.
199
+ *
200
+ * @generated from field: string name = 3;
201
+ */
202
+ name: string;
203
+ /**
204
+ * Human-readable description for the chat page header.
205
+ *
206
+ * @generated from field: string description = 4;
207
+ */
208
+ description: string;
209
+ /**
210
+ * Icon URL for the chat page header.
211
+ *
212
+ * @generated from field: string icon_url = 5;
213
+ */
214
+ iconUrl: string;
215
+ /**
216
+ * ID of the referenced agent's default instance, used by the hosted chat
217
+ * page to create sessions. This is an identifier, not a capability —
218
+ * session creation still requires an authorized token.
219
+ *
220
+ * @generated from field: string default_instance_id = 6;
221
+ */
222
+ defaultInstanceId: string;
223
+ };
224
+ /**
225
+ * Describes the message ai.stigmer.agentic.agentshare.v1.SharedAgentProfile.
226
+ * Use `create(SharedAgentProfileSchema)` to create a new message.
227
+ */
228
+ export declare const SharedAgentProfileSchema: GenMessage<SharedAgentProfile>;
@@ -0,0 +1,47 @@
1
+ // @generated by protoc-gen-es v2.2.2 with parameter "target=ts,import_extension=js"
2
+ // @generated from file ai/stigmer/agentic/agentshare/v1/io.proto (package ai.stigmer.agentic.agentshare.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
5
+ import { file_ai_stigmer_agentic_agentshare_v1_api } from "./api_pb.js";
6
+ import { file_ai_stigmer_commons_rpc_pagination } from "../../../commons/rpc/pagination_pb.js";
7
+ import { file_buf_validate_validate } from "../../../../../buf/validate/validate_pb.js";
8
+ /**
9
+ * Describes the file ai/stigmer/agentic/agentshare/v1/io.proto.
10
+ */
11
+ export const file_ai_stigmer_agentic_agentshare_v1_io = /*@__PURE__*/ fileDesc("CilhaS9zdGlnbWVyL2FnZW50aWMvYWdlbnRzaGFyZS92MS9pby5wcm90bxIgYWkuc3RpZ21lci5hZ2VudGljLmFnZW50c2hhcmUudjEiJQoMQWdlbnRTaGFyZUlkEhUKBXZhbHVlGAEgASgJQga6SAPIAQEibQocR2V0QWdlbnRTaGFyZXNCeUFnZW50UmVxdWVzdBIYCghhZ2VudF9pZBgBIAEoCUIGukgDyAEBEjMKCXBhZ2VfaW5mbxgCIAEoCzIgLmFpLnN0aWdtZXIuY29tbW9ucy5ycGMuUGFnZUluZm8iYgoOQWdlbnRTaGFyZUxpc3QSEwoLdG90YWxfY291bnQYASABKAUSOwoFaXRlbXMYAiADKAsyLC5haS5zdGlnbWVyLmFnZW50aWMuYWdlbnRzaGFyZS52MS5BZ2VudFNoYXJlIugBChZMaXN0QWdlbnRTaGFyZXNSZXF1ZXN0EhQKA29yZxgBIAEoCUIHukgEcgIQARJUCgZsYWJlbHMYAiADKAsyRC5haS5zdGlnbWVyLmFnZW50aWMuYWdlbnRzaGFyZS52MS5MaXN0QWdlbnRTaGFyZXNSZXF1ZXN0LkxhYmVsc0VudHJ5EjMKCXBhZ2VfaW5mbxgDIAEoCzIgLmFpLnN0aWdtZXIuY29tbW9ucy5ycGMuUGFnZUluZm8aLQoLTGFiZWxzRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4ASIzChRSb3RhdGVTaGFyZUxpbmtJbnB1dBIbCgtyZXNvdXJjZV9pZBgBIAEoCUIGukgDyAEBIlIKF0dldFNoYXJlZFByb2ZpbGVSZXF1ZXN0EgsKA29yZxgBIAEoCRIMCgRzbHVnGAIgASgJEhwKCmxpbmtfdG9rZW4YAyABKAlCCLpIBXIDGIABIoEBChJTaGFyZWRBZ2VudFByb2ZpbGUSCwoDb3JnGAEgASgJEgwKBHNsdWcYAiABKAkSDAoEbmFtZRgDIAEoCRITCgtkZXNjcmlwdGlvbhgEIAEoCRIQCghpY29uX3VybBgFIAEoCRIbChNkZWZhdWx0X2luc3RhbmNlX2lkGAYgASgJYgZwcm90bzM", [file_ai_stigmer_agentic_agentshare_v1_api, file_ai_stigmer_commons_rpc_pagination, file_buf_validate_validate]);
12
+ /**
13
+ * Describes the message ai.stigmer.agentic.agentshare.v1.AgentShareId.
14
+ * Use `create(AgentShareIdSchema)` to create a new message.
15
+ */
16
+ export const AgentShareIdSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agentshare_v1_io, 0);
17
+ /**
18
+ * Describes the message ai.stigmer.agentic.agentshare.v1.GetAgentSharesByAgentRequest.
19
+ * Use `create(GetAgentSharesByAgentRequestSchema)` to create a new message.
20
+ */
21
+ export const GetAgentSharesByAgentRequestSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agentshare_v1_io, 1);
22
+ /**
23
+ * Describes the message ai.stigmer.agentic.agentshare.v1.AgentShareList.
24
+ * Use `create(AgentShareListSchema)` to create a new message.
25
+ */
26
+ export const AgentShareListSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agentshare_v1_io, 2);
27
+ /**
28
+ * Describes the message ai.stigmer.agentic.agentshare.v1.ListAgentSharesRequest.
29
+ * Use `create(ListAgentSharesRequestSchema)` to create a new message.
30
+ */
31
+ export const ListAgentSharesRequestSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agentshare_v1_io, 3);
32
+ /**
33
+ * Describes the message ai.stigmer.agentic.agentshare.v1.RotateShareLinkInput.
34
+ * Use `create(RotateShareLinkInputSchema)` to create a new message.
35
+ */
36
+ export const RotateShareLinkInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agentshare_v1_io, 4);
37
+ /**
38
+ * Describes the message ai.stigmer.agentic.agentshare.v1.GetSharedProfileRequest.
39
+ * Use `create(GetSharedProfileRequestSchema)` to create a new message.
40
+ */
41
+ export const GetSharedProfileRequestSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agentshare_v1_io, 5);
42
+ /**
43
+ * Describes the message ai.stigmer.agentic.agentshare.v1.SharedAgentProfile.
44
+ * Use `create(SharedAgentProfileSchema)` to create a new message.
45
+ */
46
+ export const SharedAgentProfileSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agentshare_v1_io, 6);
47
+ //# sourceMappingURL=io_pb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"io_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentshare/v1/io_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,2HAA2H;AAC3H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,yCAAyC,EAAE,MAAM,aAAa,CAAC;AAExE,OAAO,EAAE,sCAAsC,EAAE,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAY,aAAa,CAC5E,QAAQ,CAAC,imCAAimC,EAAE,CAAC,yCAAyC,EAAE,sCAAsC,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAgB/tC;;;GAGG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAA6B,aAAa,CACvE,WAAW,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAC;AAuB3D;;;GAGG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAA6C,aAAa,CACvG,WAAW,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAC;AAuB3D;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAA+B,aAAa,CAC3E,WAAW,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAC;AA8B3D;;;GAGG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAuC,aAAa,CAC3F,WAAW,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAC;AAoB3D;;;GAGG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAqC,aAAa,CACvF,WAAW,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAC;AA0C3D;;;GAGG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAwC,aAAa,CAC7F,WAAW,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAC;AA6D3D;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAmC,aAAa,CACnF,WAAW,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAC"}