@stigmer/protos 3.1.7 → 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 (98) hide show
  1. package/ai/stigmer/agentic/agent/v1/spec_pb.js +1 -1
  2. package/ai/stigmer/agentic/agent/v1/spec_pb.js.map +1 -1
  3. package/ai/stigmer/agentic/agent/v1/status_pb.js +1 -1
  4. package/ai/stigmer/agentic/agent/v1/status_pb.js.map +1 -1
  5. package/ai/stigmer/agentic/agentexecution/v1/command_connect.d.ts +11 -8
  6. package/ai/stigmer/agentic/agentexecution/v1/command_connect.js +11 -8
  7. package/ai/stigmer/agentic/agentexecution/v1/command_connect.js.map +1 -1
  8. package/ai/stigmer/agentic/agentexecution/v1/command_pb.d.ts +11 -8
  9. package/ai/stigmer/agentic/agentexecution/v1/command_pb.js.map +1 -1
  10. package/ai/stigmer/agentic/agentexecution/v1/enum_pb.d.ts +82 -11
  11. package/ai/stigmer/agentic/agentexecution/v1/enum_pb.js +82 -11
  12. package/ai/stigmer/agentic/agentexecution/v1/enum_pb.js.map +1 -1
  13. package/ai/stigmer/agentic/agentexecution/v1/io_pb.d.ts +6 -6
  14. package/ai/stigmer/agentic/agentshare/v1/api_pb.d.ts +70 -0
  15. package/ai/stigmer/agentic/agentshare/v1/api_pb.js +18 -0
  16. package/ai/stigmer/agentic/agentshare/v1/api_pb.js.map +1 -0
  17. package/ai/stigmer/agentic/agentshare/v1/command_connect.d.ts +119 -0
  18. package/ai/stigmer/agentic/agentshare/v1/command_connect.js +127 -0
  19. package/ai/stigmer/agentic/agentshare/v1/command_connect.js.map +1 -0
  20. package/ai/stigmer/agentic/agentshare/v1/command_pb.d.ts +118 -0
  21. package/ai/stigmer/agentic/agentshare/v1/command_pb.js +19 -0
  22. package/ai/stigmer/agentic/agentshare/v1/command_pb.js.map +1 -0
  23. package/ai/stigmer/agentic/agentshare/v1/io_pb.d.ts +228 -0
  24. package/ai/stigmer/agentic/agentshare/v1/io_pb.js +47 -0
  25. package/ai/stigmer/agentic/agentshare/v1/io_pb.js.map +1 -0
  26. package/ai/stigmer/agentic/agentshare/v1/query_connect.d.ts +133 -0
  27. package/ai/stigmer/agentic/agentshare/v1/query_connect.js +142 -0
  28. package/ai/stigmer/agentic/agentshare/v1/query_connect.js.map +1 -0
  29. package/ai/stigmer/agentic/agentshare/v1/query_pb.d.ts +132 -0
  30. package/ai/stigmer/agentic/agentshare/v1/query_pb.js +20 -0
  31. package/ai/stigmer/agentic/agentshare/v1/query_pb.js.map +1 -0
  32. package/ai/stigmer/agentic/agentshare/v1/spec_pb.d.ts +208 -0
  33. package/ai/stigmer/agentic/agentshare/v1/spec_pb.js +60 -0
  34. package/ai/stigmer/agentic/agentshare/v1/spec_pb.js.map +1 -0
  35. package/ai/stigmer/agentic/agentshare/v1/status_pb.d.ts +50 -0
  36. package/ai/stigmer/agentic/agentshare/v1/status_pb.js +15 -0
  37. package/ai/stigmer/agentic/agentshare/v1/status_pb.js.map +1 -0
  38. package/ai/stigmer/agentic/environment/v1/command_connect.d.ts +28 -0
  39. package/ai/stigmer/agentic/environment/v1/command_connect.js +29 -1
  40. package/ai/stigmer/agentic/environment/v1/command_connect.js.map +1 -1
  41. package/ai/stigmer/agentic/environment/v1/command_pb.d.ts +28 -1
  42. package/ai/stigmer/agentic/environment/v1/command_pb.js +1 -1
  43. package/ai/stigmer/agentic/environment/v1/command_pb.js.map +1 -1
  44. package/ai/stigmer/agentic/executioncontext/v1/query_connect.d.ts +22 -12
  45. package/ai/stigmer/agentic/executioncontext/v1/query_connect.js +22 -12
  46. package/ai/stigmer/agentic/executioncontext/v1/query_connect.js.map +1 -1
  47. package/ai/stigmer/agentic/executioncontext/v1/query_pb.d.ts +22 -12
  48. package/ai/stigmer/agentic/executioncontext/v1/query_pb.js +8 -7
  49. package/ai/stigmer/agentic/executioncontext/v1/query_pb.js.map +1 -1
  50. package/ai/stigmer/agentic/session/v1/command_connect.d.ts +10 -2
  51. package/ai/stigmer/agentic/session/v1/command_connect.js +10 -2
  52. package/ai/stigmer/agentic/session/v1/command_connect.js.map +1 -1
  53. package/ai/stigmer/agentic/session/v1/command_pb.d.ts +10 -2
  54. package/ai/stigmer/agentic/session/v1/command_pb.js +1 -1
  55. package/ai/stigmer/agentic/session/v1/command_pb.js.map +1 -1
  56. package/ai/stigmer/agentic/session/v1/io_pb.d.ts +9 -9
  57. package/ai/stigmer/agentic/session/v1/io_pb.js +4 -4
  58. package/ai/stigmer/agentic/session/v1/io_pb.js.map +1 -1
  59. package/ai/stigmer/agentic/session/v1/query_connect.d.ts +6 -5
  60. package/ai/stigmer/agentic/session/v1/query_connect.js +8 -7
  61. package/ai/stigmer/agentic/session/v1/query_connect.js.map +1 -1
  62. package/ai/stigmer/agentic/session/v1/query_pb.d.ts +7 -6
  63. package/ai/stigmer/agentic/session/v1/query_pb.js +1 -1
  64. package/ai/stigmer/agentic/session/v1/query_pb.js.map +1 -1
  65. package/ai/stigmer/agentic/workflow/v1/command_connect.d.ts +16 -12
  66. package/ai/stigmer/agentic/workflow/v1/command_connect.js +16 -12
  67. package/ai/stigmer/agentic/workflow/v1/command_connect.js.map +1 -1
  68. package/ai/stigmer/agentic/workflow/v1/command_pb.d.ts +16 -12
  69. package/ai/stigmer/agentic/workflow/v1/command_pb.js.map +1 -1
  70. package/ai/stigmer/agentic/workflow/v1/serverless/validation_pb.d.ts +10 -5
  71. package/ai/stigmer/agentic/workflow/v1/serverless/validation_pb.js +3 -1
  72. package/ai/stigmer/agentic/workflow/v1/serverless/validation_pb.js.map +1 -1
  73. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.d.ts +13 -0
  74. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js +14 -1
  75. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js.map +1 -1
  76. package/ai/stigmer/commons/apiresource/enum_pb.d.ts +3 -1
  77. package/ai/stigmer/commons/apiresource/enum_pb.js +3 -1
  78. package/ai/stigmer/commons/apiresource/enum_pb.js.map +1 -1
  79. package/ai/stigmer/commons/apiresource/metadata_pb.d.ts +6 -1
  80. package/ai/stigmer/commons/apiresource/metadata_pb.js.map +1 -1
  81. package/ai/stigmer/iam/platformclient/v1/token_connect.d.ts +27 -0
  82. package/ai/stigmer/iam/platformclient/v1/token_connect.js +28 -1
  83. package/ai/stigmer/iam/platformclient/v1/token_connect.js.map +1 -1
  84. package/ai/stigmer/iam/platformclient/v1/token_pb.d.ts +141 -0
  85. package/ai/stigmer/iam/platformclient/v1/token_pb.js +16 -1
  86. package/ai/stigmer/iam/platformclient/v1/token_pb.js.map +1 -1
  87. package/ai/stigmer/iam/v1/enum_pb.d.ts +6 -3
  88. package/ai/stigmer/iam/v1/enum_pb.js +7 -4
  89. package/ai/stigmer/iam/v1/enum_pb.js.map +1 -1
  90. package/ai/stigmer/platform/v1/server_info_connect.d.ts +40 -0
  91. package/ai/stigmer/platform/v1/server_info_connect.js +41 -1
  92. package/ai/stigmer/platform/v1/server_info_connect.js.map +1 -1
  93. package/ai/stigmer/platform/v1/server_info_pb.d.ts +123 -0
  94. package/ai/stigmer/platform/v1/server_info_pb.js +11 -1
  95. package/ai/stigmer/platform/v1/server_info_pb.js.map +1 -1
  96. package/ai/stigmer/tenancy/organization/v1/api_pb.d.ts +7 -1
  97. package/ai/stigmer/tenancy/organization/v1/api_pb.js.map +1 -1
  98. package/package.json +1 -1
@@ -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"}
@@ -0,0 +1,133 @@
1
+ /**
2
+ * AgentShareQueryController handles read operations for agent shares.
3
+ *
4
+ * @generated from service ai.stigmer.agentic.agentshare.v1.AgentShareQueryController
5
+ */
6
+ export declare const AgentShareQueryController: {
7
+ readonly typeName: "ai.stigmer.agentic.agentshare.v1.AgentShareQueryController";
8
+ readonly methods: {
9
+ /**
10
+ * Get a single agent share by ID.
11
+ *
12
+ * @generated from rpc ai.stigmer.agentic.agentshare.v1.AgentShareQueryController.get
13
+ */
14
+ readonly get: {
15
+ readonly name: "get";
16
+ readonly I: any;
17
+ readonly O: any;
18
+ readonly kind: any;
19
+ };
20
+ /**
21
+ * Get an agent share by its organization-scoped reference (org/slug).
22
+ *
23
+ * @internal
24
+ * Custom authorization in handler — checks both direct resource access
25
+ * and organization-level visibility permissions.
26
+ *
27
+ * @generated from rpc ai.stigmer.agentic.agentshare.v1.AgentShareQueryController.getByReference
28
+ */
29
+ readonly getByReference: {
30
+ readonly name: "getByReference";
31
+ readonly I: any;
32
+ readonly O: any;
33
+ readonly kind: any;
34
+ };
35
+ /**
36
+ * Get all shares of a specific agent.
37
+ * Returns only shares the caller has access to.
38
+ *
39
+ * This is how the Share dialog and CLI resolve an agent's existing
40
+ * share regardless of its slug (a renamed share keeps working).
41
+ *
42
+ * @internal
43
+ * Authorization is handled in-handler: FGA-filtered in cloud, unrestricted
44
+ * in OSS (single-user edition).
45
+ *
46
+ * @generated from rpc ai.stigmer.agentic.agentshare.v1.AgentShareQueryController.getByAgent
47
+ */
48
+ readonly getByAgent: {
49
+ readonly name: "getByAgent";
50
+ readonly I: any;
51
+ readonly O: any;
52
+ readonly kind: any;
53
+ };
54
+ /**
55
+ * List agent shares with optional label filtering.
56
+ *
57
+ * @internal
58
+ * Authorization is handled in-handler via FGA-filtered queries (cloud)
59
+ * or unrestricted store queries (OSS).
60
+ *
61
+ * @generated from rpc ai.stigmer.agentic.agentshare.v1.AgentShareQueryController.list
62
+ */
63
+ readonly list: {
64
+ readonly name: "list";
65
+ readonly I: any;
66
+ readonly O: any;
67
+ readonly kind: any;
68
+ };
69
+ /**
70
+ * Get the public profile of a shared agent by the share's org/slug.
71
+ *
72
+ * This is the resolution path for the hosted chat page: anonymous
73
+ * visitors (no Stigmer account, no token) resolve a shared link to the
74
+ * trimmed SharedAgentProfile — never the full Agent, whose spec carries
75
+ * the system prompt, environment declarations, and MCP wiring.
76
+ *
77
+ * Returns NOT_FOUND when the share does not exist, is disabled, has the
78
+ * org audience (anonymous callers must not be able to distinguish an
79
+ * org-internal share from a nonexistent one; use
80
+ * getSharedProfileForMember instead), or the share link is locked and
81
+ * link_token does not match the share's current status.share_link_token.
82
+ * The cases are deliberately indistinguishable so an unshared, revoked,
83
+ * or rotated URL leaks nothing. Returns INVALID_ARGUMENT when org is
84
+ * empty: org+slug is the shared URL's identity, and cross-org slug
85
+ * matching on a public endpoint would enable enumeration.
86
+ *
87
+ * @internal
88
+ * Public by design (no authentication): enforcement is the app-level
89
+ * sharing gate in the handler, not FGA — see AgentShareSpec for why a
90
+ * share writes no visibility tuples.
91
+ *
92
+ * @generated from rpc ai.stigmer.agentic.agentshare.v1.AgentShareQueryController.getSharedProfile
93
+ */
94
+ readonly getSharedProfile: {
95
+ readonly name: "getSharedProfile";
96
+ readonly I: any;
97
+ readonly O: any;
98
+ readonly kind: any;
99
+ };
100
+ /**
101
+ * Get the profile of a shared agent as a signed-in organization member.
102
+ *
103
+ * This is the resolution path for the hosted chat page when a share has
104
+ * the org audience: the public getSharedProfile deliberately returns
105
+ * NOT_FOUND for such shares, so a signed-in member resolves the same
106
+ * trimmed SharedAgentProfile through this authenticated RPC instead.
107
+ * Also resolves public-audience shares, so an authenticated caller can
108
+ * use one resolution path for any share.
109
+ *
110
+ * Returns NOT_FOUND when the share does not exist, is disabled, the
111
+ * caller is not a member of the sharing organization, or the share is a
112
+ * public-audience share locked with a link token (this tokenless path
113
+ * must not reveal a killed link's profile) — the cases are deliberately
114
+ * indistinguishable so a share URL leaks nothing to non-members.
115
+ * Returns INVALID_ARGUMENT when org is empty.
116
+ *
117
+ * @internal
118
+ * Custom authorization in handler — requires authentication (not
119
+ * is_public), then an app-level organization#member FGA check for org
120
+ * shares. No standard resource_kind/permission config: the sharing gate
121
+ * is app-level by design (see AgentShareSpec), and membership is checked
122
+ * live on every call so revoked members lose access immediately.
123
+ *
124
+ * @generated from rpc ai.stigmer.agentic.agentshare.v1.AgentShareQueryController.getSharedProfileForMember
125
+ */
126
+ readonly getSharedProfileForMember: {
127
+ readonly name: "getSharedProfileForMember";
128
+ readonly I: any;
129
+ readonly O: any;
130
+ readonly kind: any;
131
+ };
132
+ };
133
+ };
@@ -0,0 +1,142 @@
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/query.proto (package ai.stigmer.agentic.agentshare.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+ import { AgentShareId, AgentShareList, GetAgentSharesByAgentRequest, GetSharedProfileRequest, ListAgentSharesRequest, SharedAgentProfile } from "./io_pbjs";
6
+ import { AgentShare } from "./api_pbjs";
7
+ import { MethodKind } from "@bufbuild/protobuf";
8
+ import { ApiResourceReference } from "../../../commons/apiresource/io_pbjs";
9
+ /**
10
+ * AgentShareQueryController handles read operations for agent shares.
11
+ *
12
+ * @generated from service ai.stigmer.agentic.agentshare.v1.AgentShareQueryController
13
+ */
14
+ export const AgentShareQueryController = {
15
+ typeName: "ai.stigmer.agentic.agentshare.v1.AgentShareQueryController",
16
+ methods: {
17
+ /**
18
+ * Get a single agent share by ID.
19
+ *
20
+ * @generated from rpc ai.stigmer.agentic.agentshare.v1.AgentShareQueryController.get
21
+ */
22
+ get: {
23
+ name: "get",
24
+ I: AgentShareId,
25
+ O: AgentShare,
26
+ kind: MethodKind.Unary,
27
+ },
28
+ /**
29
+ * Get an agent share by its organization-scoped reference (org/slug).
30
+ *
31
+ * @internal
32
+ * Custom authorization in handler — checks both direct resource access
33
+ * and organization-level visibility permissions.
34
+ *
35
+ * @generated from rpc ai.stigmer.agentic.agentshare.v1.AgentShareQueryController.getByReference
36
+ */
37
+ getByReference: {
38
+ name: "getByReference",
39
+ I: ApiResourceReference,
40
+ O: AgentShare,
41
+ kind: MethodKind.Unary,
42
+ },
43
+ /**
44
+ * Get all shares of a specific agent.
45
+ * Returns only shares the caller has access to.
46
+ *
47
+ * This is how the Share dialog and CLI resolve an agent's existing
48
+ * share regardless of its slug (a renamed share keeps working).
49
+ *
50
+ * @internal
51
+ * Authorization is handled in-handler: FGA-filtered in cloud, unrestricted
52
+ * in OSS (single-user edition).
53
+ *
54
+ * @generated from rpc ai.stigmer.agentic.agentshare.v1.AgentShareQueryController.getByAgent
55
+ */
56
+ getByAgent: {
57
+ name: "getByAgent",
58
+ I: GetAgentSharesByAgentRequest,
59
+ O: AgentShareList,
60
+ kind: MethodKind.Unary,
61
+ },
62
+ /**
63
+ * List agent shares with optional label filtering.
64
+ *
65
+ * @internal
66
+ * Authorization is handled in-handler via FGA-filtered queries (cloud)
67
+ * or unrestricted store queries (OSS).
68
+ *
69
+ * @generated from rpc ai.stigmer.agentic.agentshare.v1.AgentShareQueryController.list
70
+ */
71
+ list: {
72
+ name: "list",
73
+ I: ListAgentSharesRequest,
74
+ O: AgentShareList,
75
+ kind: MethodKind.Unary,
76
+ },
77
+ /**
78
+ * Get the public profile of a shared agent by the share's org/slug.
79
+ *
80
+ * This is the resolution path for the hosted chat page: anonymous
81
+ * visitors (no Stigmer account, no token) resolve a shared link to the
82
+ * trimmed SharedAgentProfile — never the full Agent, whose spec carries
83
+ * the system prompt, environment declarations, and MCP wiring.
84
+ *
85
+ * Returns NOT_FOUND when the share does not exist, is disabled, has the
86
+ * org audience (anonymous callers must not be able to distinguish an
87
+ * org-internal share from a nonexistent one; use
88
+ * getSharedProfileForMember instead), or the share link is locked and
89
+ * link_token does not match the share's current status.share_link_token.
90
+ * The cases are deliberately indistinguishable so an unshared, revoked,
91
+ * or rotated URL leaks nothing. Returns INVALID_ARGUMENT when org is
92
+ * empty: org+slug is the shared URL's identity, and cross-org slug
93
+ * matching on a public endpoint would enable enumeration.
94
+ *
95
+ * @internal
96
+ * Public by design (no authentication): enforcement is the app-level
97
+ * sharing gate in the handler, not FGA — see AgentShareSpec for why a
98
+ * share writes no visibility tuples.
99
+ *
100
+ * @generated from rpc ai.stigmer.agentic.agentshare.v1.AgentShareQueryController.getSharedProfile
101
+ */
102
+ getSharedProfile: {
103
+ name: "getSharedProfile",
104
+ I: GetSharedProfileRequest,
105
+ O: SharedAgentProfile,
106
+ kind: MethodKind.Unary,
107
+ },
108
+ /**
109
+ * Get the profile of a shared agent as a signed-in organization member.
110
+ *
111
+ * This is the resolution path for the hosted chat page when a share has
112
+ * the org audience: the public getSharedProfile deliberately returns
113
+ * NOT_FOUND for such shares, so a signed-in member resolves the same
114
+ * trimmed SharedAgentProfile through this authenticated RPC instead.
115
+ * Also resolves public-audience shares, so an authenticated caller can
116
+ * use one resolution path for any share.
117
+ *
118
+ * Returns NOT_FOUND when the share does not exist, is disabled, the
119
+ * caller is not a member of the sharing organization, or the share is a
120
+ * public-audience share locked with a link token (this tokenless path
121
+ * must not reveal a killed link's profile) — the cases are deliberately
122
+ * indistinguishable so a share URL leaks nothing to non-members.
123
+ * Returns INVALID_ARGUMENT when org is empty.
124
+ *
125
+ * @internal
126
+ * Custom authorization in handler — requires authentication (not
127
+ * is_public), then an app-level organization#member FGA check for org
128
+ * shares. No standard resource_kind/permission config: the sharing gate
129
+ * is app-level by design (see AgentShareSpec), and membership is checked
130
+ * live on every call so revoked members lose access immediately.
131
+ *
132
+ * @generated from rpc ai.stigmer.agentic.agentshare.v1.AgentShareQueryController.getSharedProfileForMember
133
+ */
134
+ getSharedProfileForMember: {
135
+ name: "getSharedProfileForMember",
136
+ I: ApiResourceReference,
137
+ O: SharedAgentProfile,
138
+ kind: MethodKind.Unary,
139
+ },
140
+ }
141
+ };
142
+ //# sourceMappingURL=query_connect.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentshare/v1/query_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,8HAA8H;AAC9H,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,4BAA4B,EAAE,uBAAuB,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAC5J,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAE5E;;;;GAIG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,QAAQ,EAAE,4DAA4D;IACtE,OAAO,EAAE;QACP;;;;WAIG;QACH,GAAG,EAAE;YACH,IAAI,EAAE,KAAK;YACX,CAAC,EAAE,YAAY;YACf,CAAC,EAAE,UAAU;YACb,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;WAQG;QACH,cAAc,EAAE;YACd,IAAI,EAAE,gBAAgB;YACtB,CAAC,EAAE,oBAAoB;YACvB,CAAC,EAAE,UAAU;YACb,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;WAYG;QACH,UAAU,EAAE;YACV,IAAI,EAAE,YAAY;YAClB,CAAC,EAAE,4BAA4B;YAC/B,CAAC,EAAE,cAAc;YACjB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;WAQG;QACH,IAAI,EAAE;YACJ,IAAI,EAAE,MAAM;YACZ,CAAC,EAAE,sBAAsB;YACzB,CAAC,EAAE,cAAc;YACjB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;;;;;WAwBG;QACH,gBAAgB,EAAE;YAChB,IAAI,EAAE,kBAAkB;YACxB,CAAC,EAAE,uBAAuB;YAC1B,CAAC,EAAE,kBAAkB;YACrB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;;;;;;WAyBG;QACH,yBAAyB,EAAE;YACzB,IAAI,EAAE,2BAA2B;YACjC,CAAC,EAAE,oBAAoB;YACvB,CAAC,EAAE,kBAAkB;YACrB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}