@stigmer/protos 3.1.8 → 3.1.10

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
@@ -1,6 +1,6 @@
1
1
  import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv1";
2
2
  import type { AgentSchema } from "./api_pb.js";
3
- import type { AgentIdSchema, GetDefaultAgentRequestSchema, GetSharedProfileRequestSchema, SharedAgentProfileSchema } from "./io_pb.js";
3
+ import type { AgentIdSchema, GetDefaultAgentRequestSchema } from "./io_pb.js";
4
4
  import type { ApiResourceReferenceSchema } from "../../../commons/apiresource/io_pb.js";
5
5
  /**
6
6
  * Describes the file ai/stigmer/agentic/agent/v1/query.proto.
@@ -57,69 +57,4 @@ export declare const AgentQueryController: GenService<{
57
57
  input: typeof GetDefaultAgentRequestSchema;
58
58
  output: typeof AgentSchema;
59
59
  };
60
- /**
61
- * Get the public profile of a shared agent by its org/slug reference.
62
- *
63
- * This is the resolution path for the hosted chat page: anonymous
64
- * visitors (no Stigmer account, no token) resolve a shared link to the
65
- * trimmed SharedAgentProfile — never the full Agent, whose spec carries
66
- * the system prompt, environment declarations, and MCP wiring.
67
- *
68
- * Returns NOT_FOUND when the agent does not exist, is not shared
69
- * (spec.sharing.enabled is false/unset), is shared with the org
70
- * audience (spec.sharing.audience is org — anonymous callers must not be
71
- * able to distinguish an org-internal share from a nonexistent agent; use
72
- * getSharedProfileForMember instead), or the share link is locked and
73
- * link_token does not match the agent's current
74
- * status.share_link_token. The cases are deliberately
75
- * indistinguishable so an unshared, revoked, or rotated agent URL leaks
76
- * nothing — unlike getByReference, which returns PERMISSION_DENIED for
77
- * an existing but unauthorized agent. Returns INVALID_ARGUMENT when org
78
- * is empty: org+slug is the shared URL's identity, and cross-org slug
79
- * matching on a public endpoint would enable enumeration.
80
- *
81
- * @internal
82
- * Public by design (no authentication): enforcement is the app-level
83
- * sharing gate in the handler, not FGA — see AgentSharing in spec.proto
84
- * for why sharing writes no visibility tuples.
85
- *
86
- * @generated from rpc ai.stigmer.agentic.agent.v1.AgentQueryController.getSharedProfile
87
- */
88
- getSharedProfile: {
89
- methodKind: "unary";
90
- input: typeof GetSharedProfileRequestSchema;
91
- output: typeof SharedAgentProfileSchema;
92
- };
93
- /**
94
- * Get the profile of a shared agent as a signed-in organization member.
95
- *
96
- * This is the resolution path for the hosted chat page when an agent is
97
- * shared with the org audience (spec.sharing.audience is org): the public
98
- * getSharedProfile deliberately returns NOT_FOUND for such agents, so a
99
- * signed-in member resolves the same trimmed SharedAgentProfile through
100
- * this authenticated RPC instead. Also resolves public-audience shares,
101
- * so an authenticated caller can use one resolution path for any share.
102
- *
103
- * Returns NOT_FOUND when the agent does not exist, is not shared, the
104
- * caller is not a member of the owning organization, or the share is a
105
- * public-audience share locked with a link token (this tokenless path
106
- * must not reveal a killed link's profile) — the cases are deliberately
107
- * indistinguishable so a share URL leaks nothing to non-members.
108
- * Returns INVALID_ARGUMENT when org is empty.
109
- *
110
- * @internal
111
- * Custom authorization in handler — requires authentication (not
112
- * is_public), then an app-level organization#member FGA check for org
113
- * shares. No standard resource_kind/permission config: the sharing gate
114
- * is app-level by design (see AgentSharing in spec.proto), and membership
115
- * is checked live on every call so revoked members lose access
116
- * immediately.
117
- *
118
- * @generated from rpc ai.stigmer.agentic.agent.v1.AgentQueryController.getSharedProfileForMember
119
- */
120
- getSharedProfileForMember: {
121
- methodKind: "unary";
122
- input: typeof ApiResourceReferenceSchema;
123
- output: typeof SharedAgentProfileSchema;
124
- };
125
60
  }>;
@@ -10,7 +10,7 @@ import { file_ai_stigmer_commons_rpc_method_options } from "../../../commons/rpc
10
10
  /**
11
11
  * Describes the file ai/stigmer/agentic/agent/v1/query.proto.
12
12
  */
13
- export const file_ai_stigmer_agentic_agent_v1_query = /*@__PURE__*/ fileDesc("CidhaS9zdGlnbWVyL2FnZW50aWMvYWdlbnQvdjEvcXVlcnkucHJvdG8SG2FpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudC52MTKEBQoUQWdlbnRRdWVyeUNvbnRyb2xsZXISewoDZ2V0EiQuYWkuc3RpZ21lci5hZ2VudGljLmFnZW50LnYxLkFnZW50SWQaIi5haS5zdGlnbWVyLmFnZW50aWMuYWdlbnQudjEuQWdlbnQiKsK4GCYIARAoIgV2YWx1ZSoZdW5hdXRob3JpemVkIHRvIGdldCBhZ2VudBJwCg5nZXRCeVJlZmVyZW5jZRI0LmFpLnN0aWdtZXIuY29tbW9ucy5hcGlyZXNvdXJjZS5BcGlSZXNvdXJjZVJlZmVyZW5jZRoiLmFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudC52MS5BZ2VudCIE0LgYARJrCgpnZXREZWZhdWx0EjMuYWkuc3RpZ21lci5hZ2VudGljLmFnZW50LnYxLkdldERlZmF1bHRBZ2VudFJlcXVlc3QaIi5haS5zdGlnbWVyLmFnZW50aWMuYWdlbnQudjEuQWdlbnQiBNC4GAESfwoQZ2V0U2hhcmVkUHJvZmlsZRI0LmFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudC52MS5HZXRTaGFyZWRQcm9maWxlUmVxdWVzdBovLmFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudC52MS5TaGFyZWRBZ2VudFByb2ZpbGUiBMi4GAESiAEKGWdldFNoYXJlZFByb2ZpbGVGb3JNZW1iZXISNC5haS5zdGlnbWVyLmNvbW1vbnMuYXBpcmVzb3VyY2UuQXBpUmVzb3VyY2VSZWZlcmVuY2UaLy5haS5zdGlnbWVyLmFnZW50aWMuYWdlbnQudjEuU2hhcmVkQWdlbnRQcm9maWxlIgTQuBgBGgSg/ysoYgZwcm90bzM", [file_ai_stigmer_agentic_agent_v1_api, file_ai_stigmer_agentic_agent_v1_io, file_ai_stigmer_commons_apiresource_io, file_ai_stigmer_commons_apiresource_rpc_service_options, file_ai_stigmer_commons_rpc_method_options]);
13
+ export const file_ai_stigmer_agentic_agent_v1_query = /*@__PURE__*/ fileDesc("CidhaS9zdGlnbWVyL2FnZW50aWMvYWdlbnQvdjEvcXVlcnkucHJvdG8SG2FpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudC52MTL4AgoUQWdlbnRRdWVyeUNvbnRyb2xsZXISewoDZ2V0EiQuYWkuc3RpZ21lci5hZ2VudGljLmFnZW50LnYxLkFnZW50SWQaIi5haS5zdGlnbWVyLmFnZW50aWMuYWdlbnQudjEuQWdlbnQiKsK4GCYIARAoIgV2YWx1ZSoZdW5hdXRob3JpemVkIHRvIGdldCBhZ2VudBJwCg5nZXRCeVJlZmVyZW5jZRI0LmFpLnN0aWdtZXIuY29tbW9ucy5hcGlyZXNvdXJjZS5BcGlSZXNvdXJjZVJlZmVyZW5jZRoiLmFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudC52MS5BZ2VudCIE0LgYARJrCgpnZXREZWZhdWx0EjMuYWkuc3RpZ21lci5hZ2VudGljLmFnZW50LnYxLkdldERlZmF1bHRBZ2VudFJlcXVlc3QaIi5haS5zdGlnbWVyLmFnZW50aWMuYWdlbnQudjEuQWdlbnQiBNC4GAEaBKD/KyhiBnByb3RvMw", [file_ai_stigmer_agentic_agent_v1_api, file_ai_stigmer_agentic_agent_v1_io, file_ai_stigmer_commons_apiresource_io, file_ai_stigmer_commons_apiresource_rpc_service_options, file_ai_stigmer_commons_rpc_method_options]);
14
14
  /**
15
15
  * AgentQueryController handles read operations for AI agents.
16
16
  *
@@ -1 +1 @@
1
- {"version":3,"file":"query_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agent/v1/query_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,oHAAoH;AACpH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,oCAAoC,EAAE,MAAM,aAAa,CAAC;AAEnE,OAAO,EAAE,mCAAmC,EAAE,MAAM,YAAY,C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@@ -1,4 +1,4 @@
1
- import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
1
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
2
2
  import type { EnvVarDeclaration } from "../../environment/v1/spec_pb.js";
3
3
  import type { ApiResourceReference } from "../../../commons/apiresource/io_pb.js";
4
4
  import type { Message } from "@bufbuild/protobuf";
@@ -64,155 +64,12 @@ export type AgentSpec = Message<"ai.stigmer.agentic.agent.v1.AgentSpec"> & {
64
64
  env: {
65
65
  [key: string]: EnvVarDeclaration;
66
66
  };
67
- /**
68
- * Sharing configuration for the agent's hosted chat experience.
69
- *
70
- * Controls who can chat with the running agent over its hosted link: anyone
71
- * with the link (public audience) or signed-in members of the owning
72
- * organization (org audience). This is a distinct consent from
73
- * metadata.visibility: visibility governs who can READ the agent blueprint
74
- * (marketplace), while sharing governs who can CHAT with the agent runtime.
75
- * Conversations over a shared link consume the owning organization's
76
- * credits, so enabling sharing is an explicit, billing-affecting decision.
77
- *
78
- * Unset is equivalent to sharing disabled.
79
- *
80
- * @internal
81
- * Declarative spec semantics apply: update/apply replace this field like
82
- * any other spec field, so a manifest that omits sharing revokes an active
83
- * share (fails closed). Console and CLI toggle it via the targeted
84
- * updateSharing RPC instead of a full-resource write. Enforcement is
85
- * app-level in the getSharedProfile handler — sharing deliberately writes
86
- * NO FGA visibility tuples, because a public wildcard viewer tuple would
87
- * expose the full blueprint (instructions included) to any authenticated
88
- * account via getByReference, conflating the two consents.
89
- *
90
- * @generated from field: ai.stigmer.agentic.agent.v1.AgentSharing sharing = 8;
91
- */
92
- sharing?: AgentSharing;
93
67
  };
94
68
  /**
95
69
  * Describes the message ai.stigmer.agentic.agent.v1.AgentSpec.
96
70
  * Use `create(AgentSpecSchema)` to create a new message.
97
71
  */
98
72
  export declare const AgentSpecSchema: GenMessage<AgentSpec>;
99
- /**
100
- * AgentSharing controls access to an agent's hosted chat experience —
101
- * anyone with the link (public audience) or org members only (org audience).
102
- *
103
- * When enabled with the public audience, the agent's trimmed profile becomes
104
- * resolvable through the public getSharedProfile RPC and the hosted chat
105
- * page can serve visitors without Stigmer accounts. When enabled with the
106
- * org audience, only signed-in members of the owning organization can
107
- * resolve the profile (getSharedProfileForMember) and chat. When disabled
108
- * (or unset), the shared link behaves as if the agent does not exist
109
- * (NOT_FOUND).
110
- *
111
- * This message is intentionally a wrapper so later phases can add fields
112
- * (usage caps, expiry) without a breaking change.
113
- *
114
- * @generated from message ai.stigmer.agentic.agent.v1.AgentSharing
115
- */
116
- export type AgentSharing = Message<"ai.stigmer.agentic.agent.v1.AgentSharing"> & {
117
- /**
118
- * Whether hosted-chat access for the configured audience is enabled.
119
- *
120
- * @generated from field: bool enabled = 1;
121
- */
122
- enabled: boolean;
123
- /**
124
- * Origins permitted to embed this agent's chat widget.
125
- *
126
- * Each entry is an exact web origin (scheme://host[:port]) with no path,
127
- * for example "https://docs.example.com". An empty list allows embedding
128
- * from any site; listing origins restricts embedding to those sites. The
129
- * first-party hosted chat page is always exempt.
130
- *
131
- * @internal
132
- * Enforced since T04 against the embed_origin the widget reports at
133
- * mintGuestToken time (stamped into the guest JWT as a claim) and
134
- * re-validated against this live list by the guest create-time gate
135
- * (SharedSessionBlueprintAccess) on every session/execution create — the
136
- * same gate that re-checks sharing.enabled, so revocation latency is
137
- * identical (immediate). Unframed hosted-page visitors report no origin
138
- * and are exempt by construction. Exact origins only — loosening to
139
- * wildcards later is a non-breaking change, tightening would not be.
140
- *
141
- * @generated from field: repeated string allowed_origins = 2;
142
- */
143
- allowedOrigins: string[];
144
- /**
145
- * Owner-customizable copy shown to visitors when a launch-gate limit
146
- * refuses their message. Unset fields fall back to platform defaults.
147
- *
148
- * @internal
149
- * Resolved server-side at the refusal point and carried in the gRPC
150
- * status description — deliberately NOT surfaced on SharedAgentProfile
151
- * and NOT mapped client-side, so the copy reaches every client (web,
152
- * embed, CLI) through the existing error-message path.
153
- *
154
- * @generated from field: ai.stigmer.agentic.agent.v1.AgentSharingMessages messages = 3;
155
- */
156
- messages?: AgentSharingMessages;
157
- /**
158
- * Who can chat with the shared agent. Unspecified means public
159
- * (anyone with the link), so pre-existing shares keep their behavior.
160
- *
161
- * To keep an agent org-only, audience must be present in every apply:
162
- * update/apply replace spec.sharing wholesale, so a manifest that sets
163
- * enabled without audience resets the share to public.
164
- *
165
- * @internal
166
- * Org audience is enforced cloud-side only (org membership is a
167
- * multi-tenant IAM concept): the guest mint and public profile handlers
168
- * treat audience=org as NOT_FOUND, and the create-time blueprint gate
169
- * admits authenticated org members via an app-level FGA member check
170
- * (no visibility tuples written — same posture as the sharing flag).
171
- * The OSS single-user server stores and echoes the field.
172
- *
173
- * @generated from field: ai.stigmer.agentic.agent.v1.AgentSharingAudience audience = 4;
174
- */
175
- audience: AgentSharingAudience;
176
- };
177
- /**
178
- * Describes the message ai.stigmer.agentic.agent.v1.AgentSharing.
179
- * Use `create(AgentSharingSchema)` to create a new message.
180
- */
181
- export declare const AgentSharingSchema: GenMessage<AgentSharing>;
182
- /**
183
- * AgentSharingMessages holds owner-customizable visitor-facing copy for
184
- * shared-agent limit refusals.
185
- *
186
- * Empty fields mean "use the platform default". Plain text only; rendered
187
- * verbatim in the visitor's chat surface.
188
- *
189
- * @generated from message ai.stigmer.agentic.agent.v1.AgentSharingMessages
190
- */
191
- export type AgentSharingMessages = Message<"ai.stigmer.agentic.agent.v1.AgentSharingMessages"> & {
192
- /**
193
- * Shown when a visitor or the org exceeds the message rate limit.
194
- *
195
- * @generated from field: string rate_limited = 1;
196
- */
197
- rateLimited: string;
198
- /**
199
- * Shown when the org's credits are exhausted (sharing fails closed).
200
- *
201
- * @generated from field: string unavailable = 2;
202
- */
203
- unavailable: string;
204
- /**
205
- * Shown when a conversation hits its turn limit or inactivity timeout.
206
- *
207
- * @generated from field: string conversation_ended = 3;
208
- */
209
- conversationEnded: string;
210
- };
211
- /**
212
- * Describes the message ai.stigmer.agentic.agent.v1.AgentSharingMessages.
213
- * Use `create(AgentSharingMessagesSchema)` to create a new message.
214
- */
215
- export declare const AgentSharingMessagesSchema: GenMessage<AgentSharingMessages>;
216
73
  /**
217
74
  * SubAgent defines a specialized agent that the parent can delegate to.
218
75
  *
@@ -401,41 +258,3 @@ export type ToolApprovalOverride = Message<"ai.stigmer.agentic.agent.v1.ToolAppr
401
258
  * Use `create(ToolApprovalOverrideSchema)` to create a new message.
402
259
  */
403
260
  export declare const ToolApprovalOverrideSchema: GenMessage<ToolApprovalOverride>;
404
- /**
405
- * AgentSharingAudience selects who can chat with a shared agent over its
406
- * hosted link.
407
- *
408
- * Unspecified is treated as public for backward compatibility: every share
409
- * created before the audience field existed is an anyone-with-link share.
410
- *
411
- * @generated from enum ai.stigmer.agentic.agent.v1.AgentSharingAudience
412
- */
413
- export declare enum AgentSharingAudience {
414
- /**
415
- * Treated as public (backward compatibility with pre-audience shares).
416
- *
417
- * @generated from enum value: agent_sharing_audience_unspecified = 0;
418
- */
419
- unspecified = 0,
420
- /**
421
- * Anyone with the link can chat — no Stigmer account required.
422
- * Visitors are anonymous guests; suitable only for knowledge that is
423
- * safe to expose to the entire internet.
424
- *
425
- * @generated from enum value: agent_sharing_audience_public = 1;
426
- */
427
- public = 1,
428
- /**
429
- * Only signed-in members of the owning organization can chat.
430
- * Membership is checked on every conversation turn, so access ends the
431
- * moment a member leaves the organization. The right mode for
432
- * org-internal knowledge agents.
433
- *
434
- * @generated from enum value: agent_sharing_audience_org = 2;
435
- */
436
- org = 2
437
- }
438
- /**
439
- * Describes the enum ai.stigmer.agentic.agent.v1.AgentSharingAudience.
440
- */
441
- export declare const AgentSharingAudienceSchema: GenEnum<AgentSharingAudience>;
@@ -1,7 +1,7 @@
1
1
  // @generated by protoc-gen-es v2.2.2 with parameter "target=ts,import_extension=js"
2
2
  // @generated from file ai/stigmer/agentic/agent/v1/spec.proto (package ai.stigmer.agentic.agent.v1, syntax proto3)
3
3
  /* eslint-disable */
4
- import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
4
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
5
5
  import { file_ai_stigmer_agentic_environment_v1_spec } from "../../environment/v1/spec_pb.js";
6
6
  import { file_ai_stigmer_commons_apiresource_field_options } from "../../../commons/apiresource/field_options_pb.js";
7
7
  import { file_ai_stigmer_commons_apiresource_io } from "../../../commons/apiresource/io_pb.js";
@@ -9,79 +9,30 @@ import { file_buf_validate_validate } from "../../../../../buf/validate/validate
9
9
  /**
10
10
  * Describes the file ai/stigmer/agentic/agent/v1/spec.proto.
11
11
  */
12
- export const file_ai_stigmer_agentic_agent_v1_spec = /*@__PURE__*/ fileDesc("CiZhaS9zdGlnbWVyL2FnZW50aWMvYWdlbnQvdjEvc3BlYy5wcm90bxIbYWkuc3RpZ21lci5hZ2VudGljLmFnZW50LnYxIuwFCglBZ2VudFNwZWMSEwoLZGVzY3JpcHRpb24YASABKAkSEAoIaWNvbl91cmwYAiABKAkSHQoMaW5zdHJ1Y3Rpb25zGAMgASgJQge6SARyAhAKEs4BChFtY3Bfc2VydmVyX3VzYWdlcxgEIAMoCzIrLmFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudC52MS5NY3BTZXJ2ZXJVc2FnZUKFAbpIgQGSAX4ifLoBeQoWbWNwX3NlcnZlcl91c2FnZXMua2luZBI/bWNwX3NlcnZlcl91c2FnZXMgbXVzdCByZWZlcmVuY2UgcmVzb3VyY2VzIHdpdGgga2luZD1tY3Bfc2VydmVyGh50aGlzLm1jcF9zZXJ2ZXJfcmVmLmtpbmQgPT0gNDQSsAEKCnNraWxsX3JlZnMYBSADKAsyNC5haS5zdGlnbWVyLmNvbW1vbnMuYXBpcmVzb3VyY2UuQXBpUmVzb3VyY2VSZWZlcmVuY2VCZrpIX5IBXCJaugFXCg9za2lsbF9yZWZzLmtpbmQSM3NraWxsX3JlZnMgbXVzdCByZWZlcmVuY2UgcmVzb3VyY2VzIHdpdGgga2luZD1za2lsbBoPdGhpcy5raW5kID09IDQz4IUsKxI5C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2hhcmluZ0F1ZGllbmNlEiYKImFnZW50X3NoYXJpbmdfYXVkaWVuY2VfdW5zcGVjaWZpZWQQABIhCh1hZ2VudF9zaGFyaW5nX2F1ZGllbmNlX3B1YmxpYxABEh4KGmFnZW50X3NoYXJpbmdfYXVkaWVuY2Vfb3JnEAJiBnByb3RvMw", [file_ai_stigmer_agentic_environment_v1_spec, file_ai_stigmer_commons_apiresource_field_options, file_ai_stigmer_commons_apiresource_io, file_buf_validate_validate]);
12
+ export const file_ai_stigmer_agentic_agent_v1_spec = /*@__PURE__*/ fileDesc("CiZhaS9zdGlnbWVyL2FnZW50aWMvYWdlbnQvdjEvc3BlYy5wcm90bxIbYWkuc3RpZ21lci5hZ2VudGljLmFnZW50LnYxIr8FCglBZ2VudFNwZWMSEwoLZGVzY3JpcHRpb24YASABKAkSEAoIaWNvbl91cmwYAiABKAkSHQoMaW5zdHJ1Y3Rpb25zGAMgASgJQge6SARyAhAKEs4BChFtY3Bfc2VydmVyX3VzYWdlcxgEIAMoCzIrLmFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudC52MS5NY3BTZXJ2ZXJVc2FnZUKFAbpIgQGSAX4ifLoBeQoWbWNwX3NlcnZlcl91c2FnZXMua2luZBI/bWNwX3NlcnZlcl91c2FnZXMgbXVzdCByZWZlcmVuY2UgcmVzb3VyY2VzIHdpdGgga2luZD1tY3Bfc2VydmVyGh50aGlzLm1jcF9zZXJ2ZXJfcmVmLmtpbmQgPT0gNDQSsAEKCnNraWxsX3JlZnMYBSADKAsyNC5haS5zdGlnbWVyLmNvbW1vbnMuYXBpcmVzb3VyY2UuQXBpUmVzb3VyY2VSZWZlcmVuY2VCZrpIX5IBXCJaugFXCg9za2lsbF9yZWZzLmtpbmQSM3NraWxsX3JlZnMgbXVzdCByZWZlcmVuY2UgcmVzb3VyY2VzIHdpdGgga2luZD1za2lsbBoPdGhpcy5raW5kID09IDQz4IUsKxI5CgpzdWJfYWdlbnRzGAYgAygLMiUuYWkuc3RpZ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PIAQESFQoNZW5hYmxlZF90b29scxgCIAMoCSJeChRUb29sQXBwcm92YWxPdmVycmlkZRIaCgl0b29sX25hbWUYASABKAlCB7pIBHICEAESGQoRcmVxdWlyZXNfYXBwcm92YWwYAiABKAgSDwoHbWVzc2FnZRgDIAEoCWIGcHJvdG8z", [file_ai_stigmer_agentic_environment_v1_spec, file_ai_stigmer_commons_apiresource_field_options, file_ai_stigmer_commons_apiresource_io, file_buf_validate_validate]);
13
13
  /**
14
14
  * Describes the message ai.stigmer.agentic.agent.v1.AgentSpec.
15
15
  * Use `create(AgentSpecSchema)` to create a new message.
16
16
  */
17
17
  export const AgentSpecSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agent_v1_spec, 0);
18
- /**
19
- * Describes the message ai.stigmer.agentic.agent.v1.AgentSharing.
20
- * Use `create(AgentSharingSchema)` to create a new message.
21
- */
22
- export const AgentSharingSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agent_v1_spec, 1);
23
- /**
24
- * Describes the message ai.stigmer.agentic.agent.v1.AgentSharingMessages.
25
- * Use `create(AgentSharingMessagesSchema)` to create a new message.
26
- */
27
- export const AgentSharingMessagesSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agent_v1_spec, 2);
28
18
  /**
29
19
  * Describes the message ai.stigmer.agentic.agent.v1.SubAgent.
30
20
  * Use `create(SubAgentSchema)` to create a new message.
31
21
  */
32
- export const SubAgentSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agent_v1_spec, 3);
22
+ export const SubAgentSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agent_v1_spec, 1);
33
23
  /**
34
24
  * Describes the message ai.stigmer.agentic.agent.v1.McpServerUsage.
35
25
  * Use `create(McpServerUsageSchema)` to create a new message.
36
26
  */
37
- export const McpServerUsageSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agent_v1_spec, 4);
27
+ export const McpServerUsageSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agent_v1_spec, 2);
38
28
  /**
39
29
  * Describes the message ai.stigmer.agentic.agent.v1.McpAccess.
40
30
  * Use `create(McpAccessSchema)` to create a new message.
41
31
  */
42
- export const McpAccessSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agent_v1_spec, 5);
32
+ export const McpAccessSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agent_v1_spec, 3);
43
33
  /**
44
34
  * Describes the message ai.stigmer.agentic.agent.v1.ToolApprovalOverride.
45
35
  * Use `create(ToolApprovalOverrideSchema)` to create a new message.
46
36
  */
47
- export const ToolApprovalOverrideSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agent_v1_spec, 6);
48
- /**
49
- * AgentSharingAudience selects who can chat with a shared agent over its
50
- * hosted link.
51
- *
52
- * Unspecified is treated as public for backward compatibility: every share
53
- * created before the audience field existed is an anyone-with-link share.
54
- *
55
- * @generated from enum ai.stigmer.agentic.agent.v1.AgentSharingAudience
56
- */
57
- export var AgentSharingAudience;
58
- (function (AgentSharingAudience) {
59
- /**
60
- * Treated as public (backward compatibility with pre-audience shares).
61
- *
62
- * @generated from enum value: agent_sharing_audience_unspecified = 0;
63
- */
64
- AgentSharingAudience[AgentSharingAudience["unspecified"] = 0] = "unspecified";
65
- /**
66
- * Anyone with the link can chat — no Stigmer account required.
67
- * Visitors are anonymous guests; suitable only for knowledge that is
68
- * safe to expose to the entire internet.
69
- *
70
- * @generated from enum value: agent_sharing_audience_public = 1;
71
- */
72
- AgentSharingAudience[AgentSharingAudience["public"] = 1] = "public";
73
- /**
74
- * Only signed-in members of the owning organization can chat.
75
- * Membership is checked on every conversation turn, so access ends the
76
- * moment a member leaves the organization. The right mode for
77
- * org-internal knowledge agents.
78
- *
79
- * @generated from enum value: agent_sharing_audience_org = 2;
80
- */
81
- AgentSharingAudience[AgentSharingAudience["org"] = 2] = "org";
82
- })(AgentSharingAudience || (AgentSharingAudience = {}));
83
- /**
84
- * Describes the enum ai.stigmer.agentic.agent.v1.AgentSharingAudience.
85
- */
86
- export const AgentSharingAudienceSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_agentic_agent_v1_spec, 0);
37
+ export const ToolApprovalOverrideSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agent_v1_spec, 4);
87
38
  //# sourceMappingURL=spec_pb.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agent/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,mHAAmH;AACnH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE/E,OAAO,EAAE,2CAA2C,EAAE,MAAM,iCAAiC,CAAC;AAC9F,OAAO,EAAE,iDAAiD,EAAE,MAAM,kDAAkD,CAAC;AAErH,OAAO,EAAE,sCAAsC,EAAE,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAY,aAAa,CACzE,QAAQ,CAAC,g/FAAg/F,EAAE,CAAC,2CAA2C,EAAE,iDAAiD,EAAE,sCAAsC,EAAE,0BAA0B,CAAC,CAAC,CAAC;AA6FnqG;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAA0B,aAAa,CACjE,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AAoFxD;;;GAGG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAA6B,aAAa,CACvE,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AAkCxD;;;GAGG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAqC,aAAa,CACvF,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AA8DxD;;;GAGG;AACH,MAAM,CAAC,MAAM,cAAc,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AAC,89DAA89D,EAAE,CAAC,2CAA2C,EAAE,iDAAiD,EAAE,sCAAsC,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAkEjpE;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAA0B,aAAa,CACjE,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AA8DxD;;;GAGG;AACH,MAAM,CAAC,MAAM,cAAc,GAAyB,aAAa,CAC/D,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AAgDxD;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAA+B,aAAa,CAC3E,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AA+BxD;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAA0B,aAAa,CACjE,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AAiDxD;;;GAGG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAqC,aAAa,CACvF,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC"}
@@ -26,31 +26,6 @@ export type AgentStatus = Message<"ai.stigmer.agentic.agent.v1.AgentStatus"> & {
26
26
  * @generated from field: string default_instance_id = 1;
27
27
  */
28
28
  defaultInstanceId: string;
29
- /**
30
- * Rotatable token protecting the agent's public share link.
31
- *
32
- * Empty means the hosted chat link is the plain `/chat/<org>/<slug>` —
33
- * the behavior of every share created before this field existed. When
34
- * set, the link only resolves with the matching `?k=<token>` query
35
- * parameter; the rotateShareLink RPC generates a fresh value, killing
36
- * the old link immediately. Applies to public-audience shares only
37
- * (org-audience access is governed by live membership instead).
38
- *
39
- * @internal
40
- * Server-generated (rotateShareLink is the sole writer) and deliberately
41
- * in status, not spec.sharing: status survives every apply/update
42
- * verbatim in both editions, so a routine manifest apply can never wipe
43
- * the token and silently fail open to the guessable URL. Enforced with
44
- * the allowed_origins pattern — validated at guest mint, stamped into
45
- * the guest JWT, and re-validated against this live value on every
46
- * session/execution create, so rotation revokes live guest tokens on
47
- * their next message. Not a security boundary: rate limits and the org
48
- * credit cap remain the abuse controls; this is a traffic lever for
49
- * over-shared links.
50
- *
51
- * @generated from field: string share_link_token = 2;
52
- */
53
- shareLinkToken: string;
54
29
  };
55
30
  /**
56
31
  * Describes the message ai.stigmer.agentic.agent.v1.AgentStatus.
@@ -6,7 +6,7 @@ import { file_ai_stigmer_commons_apiresource_status } from "../../../commons/api
6
6
  /**
7
7
  * Describes the file ai/stigmer/agentic/agent/v1/status.proto.
8
8
  */
9
- export const file_ai_stigmer_agentic_agent_v1_status = /*@__PURE__*/ fileDesc("CihhaS9zdGlnbWVyL2FnZW50aWMvYWdlbnQvdjEvc3RhdHVzLnByb3RvEhthaS5zdGlnbWVyLmFnZW50aWMuYWdlbnQudjEihQEKC0FnZW50U3RhdHVzEj8KBWF1ZGl0GGMgASgLMjAuYWkuc3RpZ21lci5jb21tb25zLmFwaXJlc291cmNlLkFwaVJlc291cmNlQXVkaXQSGwoTZGVmYXVsdF9pbnN0YW5jZV9pZBgBIAEoCRIYChBzaGFyZV9saW5rX3Rva2VuGAIgASgJYgZwcm90bzM", [file_ai_stigmer_commons_apiresource_status]);
9
+ export const file_ai_stigmer_agentic_agent_v1_status = /*@__PURE__*/ fileDesc("CihhaS9zdGlnbWVyL2FnZW50aWMvYWdlbnQvdjEvc3RhdHVzLnByb3RvEhthaS5zdGlnbWVyLmFnZW50aWMuYWdlbnQudjEigwEKC0FnZW50U3RhdHVzEj8KBWF1ZGl0GGMgASgLMjAuYWkuc3RpZ21lci5jb21tb25zLmFwaXJlc291cmNlLkFwaVJlc291cmNlQXVkaXQSGwoTZGVmYXVsdF9pbnN0YW5jZV9pZBgBIAEoCUoECAIQA1IQc2hhcmVfbGlua190b2tlbmIGcHJvdG8z", [file_ai_stigmer_commons_apiresource_status]);
10
10
  /**
11
11
  * Describes the message ai.stigmer.agentic.agent.v1.AgentStatus.
12
12
  * Use `create(AgentStatusSchema)` to create a new message.
@@ -1 +1 @@
1
- {"version":3,"file":"status_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agent/v1/status_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,qHAAqH;AACrH,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,uCAAuC,GAAY,aAAa,CAC3E,QAAQ,CAAC,iSAAiS,EAAE,CAAC,0CAA0C,CAAC,CAAC,CAAC;AAoD5V;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAA4B,aAAa,CACrE,WAAW,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"status_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agent/v1/status_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,qHAAqH;AACrH,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,uCAAuC,GAAY,aAAa,CAC3E,QAAQ,CAAC,8RAA8R,EAAE,CAAC,0CAA0C,CAAC,CAAC,CAAC;AA0BzV;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAA4B,aAAa,CACrE,WAAW,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC"}
@@ -0,0 +1,70 @@
1
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
2
+ import type { AgentShareSpec } from "./spec_pb.js";
3
+ import type { AgentShareStatus } from "./status_pb.js";
4
+ import type { ApiResourceMetadata } from "../../../commons/apiresource/metadata_pb.js";
5
+ import type { Message } from "@bufbuild/protobuf";
6
+ /**
7
+ * Describes the file ai/stigmer/agentic/agentshare/v1/api.proto.
8
+ */
9
+ export declare const file_ai_stigmer_agentic_agentshare_v1_api: GenFile;
10
+ /**
11
+ * AgentShare turns an agent into a hosted chat link with its own audience, embed origins, and tool credentials.
12
+ *
13
+ * A share is a distribution channel: it controls who can chat with the
14
+ * referenced agent over `/chat/<org>/<slug>`, which sites may embed the
15
+ * chat widget, what visitors see when a limit refuses them, and which
16
+ * environment credentials guest conversations receive. Deleting the share
17
+ * tears the channel down; disabling it pauses serving while preserving
18
+ * configuration. The referenced agent is never modified by share
19
+ * operations.
20
+ *
21
+ * @internal
22
+ * Promoted from Agent.spec.sharing (decision 011): sharing is channel
23
+ * configuration with its own writer, lifecycle, and — in Phase B — its own
24
+ * billing org per channel. metadata.slug appears in the hosted chat URL,
25
+ * defaults to the referenced agent's slug, and is unique per org.
26
+ *
27
+ * @generated from message ai.stigmer.agentic.agentshare.v1.AgentShare
28
+ */
29
+ export type AgentShare = Message<"ai.stigmer.agentic.agentshare.v1.AgentShare"> & {
30
+ /**
31
+ * API version for this resource type.
32
+ *
33
+ * @generated from field: string api_version = 1;
34
+ */
35
+ apiVersion: string;
36
+ /**
37
+ * Resource kind identifier.
38
+ *
39
+ * @generated from field: string kind = 2;
40
+ */
41
+ kind: string;
42
+ /**
43
+ * Resource metadata including name, organization, and labels.
44
+ *
45
+ * The org and slug form the share's hosted chat URL
46
+ * (`/chat/<org>/<slug>`). The slug defaults to the referenced agent's
47
+ * slug and is immutable once created — to change a link, create a new
48
+ * share and delete the old one.
49
+ *
50
+ * @generated from field: ai.stigmer.commons.apiresource.ApiResourceMetadata metadata = 3;
51
+ */
52
+ metadata?: ApiResourceMetadata;
53
+ /**
54
+ * Configurable properties: referenced agent, audience, origins, messages, and credentials.
55
+ *
56
+ * @generated from field: ai.stigmer.agentic.agentshare.v1.AgentShareSpec spec = 4;
57
+ */
58
+ spec?: AgentShareSpec;
59
+ /**
60
+ * System-managed state including audit trail and the rotatable link token.
61
+ *
62
+ * @generated from field: ai.stigmer.agentic.agentshare.v1.AgentShareStatus status = 5;
63
+ */
64
+ status?: AgentShareStatus;
65
+ };
66
+ /**
67
+ * Describes the message ai.stigmer.agentic.agentshare.v1.AgentShare.
68
+ * Use `create(AgentShareSchema)` to create a new message.
69
+ */
70
+ export declare const AgentShareSchema: GenMessage<AgentShare>;
@@ -0,0 +1,18 @@
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/api.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_spec } from "./spec_pb.js";
6
+ import { file_ai_stigmer_agentic_agentshare_v1_status } from "./status_pb.js";
7
+ import { file_ai_stigmer_commons_apiresource_metadata } from "../../../commons/apiresource/metadata_pb.js";
8
+ import { file_buf_validate_validate } from "../../../../../buf/validate/validate_pb.js";
9
+ /**
10
+ * Describes the file ai/stigmer/agentic/agentshare/v1/api.proto.
11
+ */
12
+ export const file_ai_stigmer_agentic_agentshare_v1_api = /*@__PURE__*/ fileDesc("CiphaS9zdGlnbWVyL2FnZW50aWMvYWdlbnRzaGFyZS92MS9hcGkucHJvdG8SIGFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudHNoYXJlLnYxIrMCCgpBZ2VudFNoYXJlEjEKC2FwaV92ZXJzaW9uGAEgASgJQhy6SBlyFwoVYWdlbnRpYy5zdGlnbWVyLmFpL3YxEh8KBGtpbmQYAiABKAlCEbpIDnIMCgpBZ2VudFNoYXJlEk0KCG1ldGFkYXRhGAMgASgLMjMuYWkuc3RpZ21lci5jb21tb25zLmFwaXJlc291cmNlLkFwaVJlc291cmNlTWV0YWRhdGFCBrpIA8gBARI+CgRzcGVjGAQgASgLMjAuYWkuc3RpZ21lci5hZ2VudGljLmFnZW50c2hhcmUudjEuQWdlbnRTaGFyZVNwZWMSQgoGc3RhdHVzGAUgASgLMjIuYWkuc3RpZ21lci5hZ2VudGljLmFnZW50c2hhcmUudjEuQWdlbnRTaGFyZVN0YXR1c2IGcHJvdG8z", [file_ai_stigmer_agentic_agentshare_v1_spec, file_ai_stigmer_agentic_agentshare_v1_status, file_ai_stigmer_commons_apiresource_metadata, file_buf_validate_validate]);
13
+ /**
14
+ * Describes the message ai.stigmer.agentic.agentshare.v1.AgentShare.
15
+ * Use `create(AgentShareSchema)` to create a new message.
16
+ */
17
+ export const AgentShareSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agentshare_v1_api, 0);
18
+ //# sourceMappingURL=api_pb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentshare/v1/api_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,4HAA4H;AAC5H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,0CAA0C,EAAE,MAAM,cAAc,CAAC;AAE1E,OAAO,EAAE,4CAA4C,EAAE,MAAM,gBAAgB,CAAC;AAE9E,OAAO,EAAE,4CAA4C,EAAE,MAAM,6CAA6C,CAAC;AAC3G,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAY,aAAa,CAC7E,QAAQ,CAAC,khBAAkhB,EAAE,CAAC,0CAA0C,EAAE,4CAA4C,EAAE,4CAA4C,EAAE,0BAA0B,CAAC,CAAC,CAAC;AA+DrsB;;;GAGG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAA2B,aAAa,CACnE,WAAW,CAAC,yCAAyC,EAAE,CAAC,CAAC,CAAC"}