@stigmer/protos 3.1.6 → 3.1.8

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 (94) hide show
  1. package/ai/stigmer/agentic/agent/v1/command_connect.d.ts +54 -0
  2. package/ai/stigmer/agentic/agent/v1/command_connect.js +55 -1
  3. package/ai/stigmer/agentic/agent/v1/command_connect.js.map +1 -1
  4. package/ai/stigmer/agentic/agent/v1/command_pb.d.ts +53 -1
  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 +155 -0
  8. package/ai/stigmer/agentic/agent/v1/io_pb.js +23 -2
  9. package/ai/stigmer/agentic/agent/v1/io_pb.js.map +1 -1
  10. package/ai/stigmer/agentic/agent/v1/query_connect.d.ts +67 -0
  11. package/ai/stigmer/agentic/agent/v1/query_connect.js +68 -1
  12. package/ai/stigmer/agentic/agent/v1/query_connect.js.map +1 -1
  13. package/ai/stigmer/agentic/agent/v1/query_pb.d.ts +66 -1
  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 +182 -1
  17. package/ai/stigmer/agentic/agent/v1/spec_pb.js +55 -6
  18. package/ai/stigmer/agentic/agent/v1/spec_pb.js.map +1 -1
  19. package/ai/stigmer/agentic/agent/v1/status_pb.d.ts +25 -0
  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/agentexecution/v1/command_connect.d.ts +11 -8
  23. package/ai/stigmer/agentic/agentexecution/v1/command_connect.js +11 -8
  24. package/ai/stigmer/agentic/agentexecution/v1/command_connect.js.map +1 -1
  25. package/ai/stigmer/agentic/agentexecution/v1/command_pb.d.ts +11 -8
  26. package/ai/stigmer/agentic/agentexecution/v1/command_pb.js.map +1 -1
  27. package/ai/stigmer/agentic/agentexecution/v1/enum_pb.d.ts +82 -11
  28. package/ai/stigmer/agentic/agentexecution/v1/enum_pb.js +82 -11
  29. package/ai/stigmer/agentic/agentexecution/v1/enum_pb.js.map +1 -1
  30. package/ai/stigmer/agentic/agentexecution/v1/io_pb.d.ts +6 -6
  31. package/ai/stigmer/agentic/environment/v1/command_connect.d.ts +28 -0
  32. package/ai/stigmer/agentic/environment/v1/command_connect.js +29 -1
  33. package/ai/stigmer/agentic/environment/v1/command_connect.js.map +1 -1
  34. package/ai/stigmer/agentic/environment/v1/command_pb.d.ts +28 -1
  35. package/ai/stigmer/agentic/environment/v1/command_pb.js +1 -1
  36. package/ai/stigmer/agentic/environment/v1/command_pb.js.map +1 -1
  37. package/ai/stigmer/agentic/executioncontext/v1/query_connect.d.ts +22 -12
  38. package/ai/stigmer/agentic/executioncontext/v1/query_connect.js +22 -12
  39. package/ai/stigmer/agentic/executioncontext/v1/query_connect.js.map +1 -1
  40. package/ai/stigmer/agentic/executioncontext/v1/query_pb.d.ts +22 -12
  41. package/ai/stigmer/agentic/executioncontext/v1/query_pb.js +8 -7
  42. package/ai/stigmer/agentic/executioncontext/v1/query_pb.js.map +1 -1
  43. package/ai/stigmer/agentic/mcpserver/v1/spec_pb.d.ts +20 -0
  44. package/ai/stigmer/agentic/mcpserver/v1/spec_pb.js +1 -1
  45. package/ai/stigmer/agentic/mcpserver/v1/spec_pb.js.map +1 -1
  46. package/ai/stigmer/agentic/session/v1/command_connect.d.ts +10 -2
  47. package/ai/stigmer/agentic/session/v1/command_connect.js +10 -2
  48. package/ai/stigmer/agentic/session/v1/command_connect.js.map +1 -1
  49. package/ai/stigmer/agentic/session/v1/command_pb.d.ts +10 -2
  50. package/ai/stigmer/agentic/session/v1/command_pb.js +1 -1
  51. package/ai/stigmer/agentic/session/v1/command_pb.js.map +1 -1
  52. package/ai/stigmer/agentic/session/v1/io_pb.d.ts +9 -9
  53. package/ai/stigmer/agentic/session/v1/io_pb.js +4 -4
  54. package/ai/stigmer/agentic/session/v1/io_pb.js.map +1 -1
  55. package/ai/stigmer/agentic/session/v1/query_connect.d.ts +6 -5
  56. package/ai/stigmer/agentic/session/v1/query_connect.js +8 -7
  57. package/ai/stigmer/agentic/session/v1/query_connect.js.map +1 -1
  58. package/ai/stigmer/agentic/session/v1/query_pb.d.ts +7 -6
  59. package/ai/stigmer/agentic/session/v1/query_pb.js +1 -1
  60. package/ai/stigmer/agentic/session/v1/query_pb.js.map +1 -1
  61. package/ai/stigmer/agentic/workflow/v1/command_connect.d.ts +16 -12
  62. package/ai/stigmer/agentic/workflow/v1/command_connect.js +16 -12
  63. package/ai/stigmer/agentic/workflow/v1/command_connect.js.map +1 -1
  64. package/ai/stigmer/agentic/workflow/v1/command_pb.d.ts +16 -12
  65. package/ai/stigmer/agentic/workflow/v1/command_pb.js.map +1 -1
  66. package/ai/stigmer/agentic/workflow/v1/serverless/validation_pb.d.ts +10 -5
  67. package/ai/stigmer/agentic/workflow/v1/serverless/validation_pb.js +3 -1
  68. package/ai/stigmer/agentic/workflow/v1/serverless/validation_pb.js.map +1 -1
  69. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.d.ts +7 -0
  70. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js +8 -1
  71. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js.map +1 -1
  72. package/ai/stigmer/commons/apiresource/enum_pb.d.ts +3 -1
  73. package/ai/stigmer/commons/apiresource/enum_pb.js +3 -1
  74. package/ai/stigmer/commons/apiresource/enum_pb.js.map +1 -1
  75. package/ai/stigmer/commons/apiresource/metadata_pb.d.ts +6 -1
  76. package/ai/stigmer/commons/apiresource/metadata_pb.js.map +1 -1
  77. package/ai/stigmer/iam/platformclient/v1/token_connect.d.ts +23 -0
  78. package/ai/stigmer/iam/platformclient/v1/token_connect.js +24 -1
  79. package/ai/stigmer/iam/platformclient/v1/token_connect.js.map +1 -1
  80. package/ai/stigmer/iam/platformclient/v1/token_pb.d.ts +137 -0
  81. package/ai/stigmer/iam/platformclient/v1/token_pb.js +15 -1
  82. package/ai/stigmer/iam/platformclient/v1/token_pb.js.map +1 -1
  83. package/ai/stigmer/iam/v1/enum_pb.d.ts +6 -3
  84. package/ai/stigmer/iam/v1/enum_pb.js +7 -4
  85. package/ai/stigmer/iam/v1/enum_pb.js.map +1 -1
  86. package/ai/stigmer/platform/v1/server_info_connect.d.ts +40 -0
  87. package/ai/stigmer/platform/v1/server_info_connect.js +41 -1
  88. package/ai/stigmer/platform/v1/server_info_connect.js.map +1 -1
  89. package/ai/stigmer/platform/v1/server_info_pb.d.ts +123 -0
  90. package/ai/stigmer/platform/v1/server_info_pb.js +11 -1
  91. package/ai/stigmer/platform/v1/server_info_pb.js.map +1 -1
  92. package/ai/stigmer/tenancy/organization/v1/api_pb.d.ts +7 -1
  93. package/ai/stigmer/tenancy/organization/v1/api_pb.js.map +1 -1
  94. package/package.json +1 -1
@@ -63,5 +63,45 @@ export declare const PlatformQueryController: {
63
63
  readonly O: any;
64
64
  readonly kind: any;
65
65
  };
66
+ /**
67
+ * Exchanges an embedded runner's bootstrap credential for a token scoped to
68
+ * one unit of dispatched work.
69
+ *
70
+ * The bootstrap token from getRunnerBootstrapConfig identifies a runner but
71
+ * is minted before any execution exists, so it carries no session or
72
+ * execution scope. Secrets are only released to runner credentials bound to
73
+ * the exact work they serve. At task start the runner presents its bootstrap
74
+ * token and names the execution it was dispatched; the control plane verifies
75
+ * the caller and returns a short-lived token scoped to that work, which the
76
+ * runner then uses for its ExecutionContext fetch. This makes a desktop
77
+ * runner indistinguishable, at the secret-release gate, from a
78
+ * server-provisioned sandbox runner.
79
+ *
80
+ * The token fields are empty when the server cannot mint (OSS, or no signing
81
+ * key configured) — the runner falls back to its existing credential.
82
+ *
83
+ * @internal
84
+ * Cloud mints via SandboxTokenService: an agent_execution_id yields a
85
+ * token_type=sandbox token carrying the execution's parent session_id (one
86
+ * session sandbox serves multi-turn executions); a workflow_execution_id
87
+ * yields token_type=workflow_sandbox carrying that id. Both are then bound by
88
+ * RunnerScopeVerifier on the getByExecutionId decrypt path exactly like
89
+ * cloud-sandbox-injected tokens (stigmer-cloud#155/#156).
90
+ *
91
+ * is_skip_authorization because the FGA target is derived from the input
92
+ * oneof, which the declarative interceptor cannot express — the handler
93
+ * enforces authorization itself (same pattern as getRunnerBootstrapConfig):
94
+ * the caller must present a runner-class token_type=embedded_runner
95
+ * credential AND pass the same can_view check getByExecutionId performs on
96
+ * the named execution.
97
+ *
98
+ * @generated from rpc ai.stigmer.platform.v1.PlatformQueryController.getRunnerScopedToken
99
+ */
100
+ readonly getRunnerScopedToken: {
101
+ readonly name: "getRunnerScopedToken";
102
+ readonly I: any;
103
+ readonly O: any;
104
+ readonly kind: any;
105
+ };
66
106
  };
67
107
  };
@@ -2,7 +2,7 @@
2
2
  // @generated from file ai/stigmer/platform/v1/server_info.proto (package ai.stigmer.platform.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
- import { GetRunnerBootstrapConfigInput, GetRunnerBootstrapConfigOutput, GetServerInfoInput, GetServerInfoOutput } from "./server_info_pbjs";
5
+ import { GetRunnerBootstrapConfigInput, GetRunnerBootstrapConfigOutput, GetRunnerScopedTokenInput, GetRunnerScopedTokenOutput, GetServerInfoInput, GetServerInfoOutput } from "./server_info_pbjs";
6
6
  import { MethodKind } from "@bufbuild/protobuf";
7
7
  /**
8
8
  * Query service for server identity, capabilities, and runner bootstrap.
@@ -69,6 +69,46 @@ export const PlatformQueryController = {
69
69
  O: GetRunnerBootstrapConfigOutput,
70
70
  kind: MethodKind.Unary,
71
71
  },
72
+ /**
73
+ * Exchanges an embedded runner's bootstrap credential for a token scoped to
74
+ * one unit of dispatched work.
75
+ *
76
+ * The bootstrap token from getRunnerBootstrapConfig identifies a runner but
77
+ * is minted before any execution exists, so it carries no session or
78
+ * execution scope. Secrets are only released to runner credentials bound to
79
+ * the exact work they serve. At task start the runner presents its bootstrap
80
+ * token and names the execution it was dispatched; the control plane verifies
81
+ * the caller and returns a short-lived token scoped to that work, which the
82
+ * runner then uses for its ExecutionContext fetch. This makes a desktop
83
+ * runner indistinguishable, at the secret-release gate, from a
84
+ * server-provisioned sandbox runner.
85
+ *
86
+ * The token fields are empty when the server cannot mint (OSS, or no signing
87
+ * key configured) — the runner falls back to its existing credential.
88
+ *
89
+ * @internal
90
+ * Cloud mints via SandboxTokenService: an agent_execution_id yields a
91
+ * token_type=sandbox token carrying the execution's parent session_id (one
92
+ * session sandbox serves multi-turn executions); a workflow_execution_id
93
+ * yields token_type=workflow_sandbox carrying that id. Both are then bound by
94
+ * RunnerScopeVerifier on the getByExecutionId decrypt path exactly like
95
+ * cloud-sandbox-injected tokens (stigmer-cloud#155/#156).
96
+ *
97
+ * is_skip_authorization because the FGA target is derived from the input
98
+ * oneof, which the declarative interceptor cannot express — the handler
99
+ * enforces authorization itself (same pattern as getRunnerBootstrapConfig):
100
+ * the caller must present a runner-class token_type=embedded_runner
101
+ * credential AND pass the same can_view check getByExecutionId performs on
102
+ * the named execution.
103
+ *
104
+ * @generated from rpc ai.stigmer.platform.v1.PlatformQueryController.getRunnerScopedToken
105
+ */
106
+ getRunnerScopedToken: {
107
+ name: "getRunnerScopedToken",
108
+ I: GetRunnerScopedTokenInput,
109
+ O: GetRunnerScopedTokenOutput,
110
+ kind: MethodKind.Unary,
111
+ },
72
112
  }
73
113
  };
74
114
  //# sourceMappingURL=server_info_connect.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"server_info_connect.js","sourceRoot":"","sources":["../../../../../ai/stigmer/platform/v1/server_info_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,gHAAgH;AAChH,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,6BAA6B,EAAE,8BAA8B,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC5I,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,QAAQ,EAAE,gDAAgD;IAC1D,OAAO,EAAE;QACP;;;;;;;;WAQG;QACH,aAAa,EAAE;YACb,IAAI,EAAE,eAAe;YACrB,CAAC,EAAE,kBAAkB;YACrB,CAAC,EAAE,mBAAmB;YACtB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;;;;;;;;WA2BG;QACH,wBAAwB,EAAE;YACxB,IAAI,EAAE,0BAA0B;YAChC,CAAC,EAAE,6BAA6B;YAChC,CAAC,EAAE,8BAA8B;YACjC,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
1
+ {"version":3,"file":"server_info_connect.js","sourceRoot":"","sources":["../../../../../ai/stigmer/platform/v1/server_info_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,gHAAgH;AAChH,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,6BAA6B,EAAE,8BAA8B,EAAE,yBAAyB,EAAE,0BAA0B,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACnM,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,QAAQ,EAAE,gDAAgD;IAC1D,OAAO,EAAE;QACP;;;;;;;;WAQG;QACH,aAAa,EAAE;YACb,IAAI,EAAE,eAAe;YACrB,CAAC,EAAE,kBAAkB;YACrB,CAAC,EAAE,mBAAmB;YACtB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;;;;;;;;WA2BG;QACH,wBAAwB,EAAE;YACxB,IAAI,EAAE,0BAA0B;YAChC,CAAC,EAAE,6BAA6B;YAChC,CAAC,EAAE,8BAA8B;YACjC,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAiCG;QACH,oBAAoB,EAAE;YACpB,IAAI,EAAE,sBAAsB;YAC5B,CAAC,EAAE,yBAAyB;YAC5B,CAAC,EAAE,0BAA0B;YAC7B,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
@@ -111,6 +111,90 @@ export type GetRunnerBootstrapConfigOutput = Message<"ai.stigmer.platform.v1.Get
111
111
  * Use `create(GetRunnerBootstrapConfigOutputSchema)` to create a new message.
112
112
  */
113
113
  export declare const GetRunnerBootstrapConfigOutputSchema: GenMessage<GetRunnerBootstrapConfigOutput>;
114
+ /**
115
+ * Names the unit of dispatched work a runner wants a scoped token for.
116
+ *
117
+ * @generated from message ai.stigmer.platform.v1.GetRunnerScopedTokenInput
118
+ */
119
+ export type GetRunnerScopedTokenInput = Message<"ai.stigmer.platform.v1.GetRunnerScopedTokenInput"> & {
120
+ /**
121
+ * The dispatched work the token will serve. The runner names only the id it
122
+ * was dispatched; the server derives the token's scope from the resource
123
+ * itself (an agent execution scopes to its parent session).
124
+ *
125
+ * @generated from oneof ai.stigmer.platform.v1.GetRunnerScopedTokenInput.scope
126
+ */
127
+ scope: {
128
+ /**
129
+ * AgentExecution id — yields a token scoped to the execution's parent
130
+ * session, valid for every ExecutionContext in that session (multi-turn).
131
+ *
132
+ * @generated from field: string agent_execution_id = 1;
133
+ */
134
+ value: string;
135
+ case: "agentExecutionId";
136
+ } | {
137
+ /**
138
+ * WorkflowExecution id — yields a token scoped to exactly that workflow
139
+ * execution's ExecutionContext.
140
+ *
141
+ * @generated from field: string workflow_execution_id = 2;
142
+ */
143
+ value: string;
144
+ case: "workflowExecutionId";
145
+ } | {
146
+ case: undefined;
147
+ value?: undefined;
148
+ };
149
+ };
150
+ /**
151
+ * Describes the message ai.stigmer.platform.v1.GetRunnerScopedTokenInput.
152
+ * Use `create(GetRunnerScopedTokenInputSchema)` to create a new message.
153
+ */
154
+ export declare const GetRunnerScopedTokenInputSchema: GenMessage<GetRunnerScopedTokenInput>;
155
+ /**
156
+ * A runner token scoped to one unit of work, or empty when the server cannot
157
+ * mint one.
158
+ *
159
+ * Mirrors the token fields of GetRunnerBootstrapConfigOutput: presence-based —
160
+ * an empty token means "not minted" (OSS, or no signing key), and the runner
161
+ * keeps using its existing credential.
162
+ *
163
+ * @generated from message ai.stigmer.platform.v1.GetRunnerScopedTokenOutput
164
+ */
165
+ export type GetRunnerScopedTokenOutput = Message<"ai.stigmer.platform.v1.GetRunnerScopedTokenOutput"> & {
166
+ /**
167
+ * Stigmer-signed token scoped to the requested work. The runner presents it
168
+ * for ExecutionContext reads in place of its unscoped bootstrap token.
169
+ *
170
+ * @internal
171
+ * iss=stigmer, sub=caller identity account, token_type=sandbox (with
172
+ * session_id claim) or workflow_sandbox (with workflow_execution_id claim),
173
+ * minted by the same SandboxTokenService that provisions cloud sandboxes.
174
+ *
175
+ * @generated from field: string runner_scoped_token = 1;
176
+ */
177
+ runnerScopedToken: string;
178
+ /**
179
+ * Token type for runner_scoped_token. "Bearer" when a token is present,
180
+ * empty otherwise.
181
+ *
182
+ * @generated from field: string token_type = 2;
183
+ */
184
+ tokenType: string;
185
+ /**
186
+ * Lifetime of runner_scoped_token in seconds from issuance. 0 when no token
187
+ * is present.
188
+ *
189
+ * @generated from field: int32 expires_in_seconds = 3;
190
+ */
191
+ expiresInSeconds: number;
192
+ };
193
+ /**
194
+ * Describes the message ai.stigmer.platform.v1.GetRunnerScopedTokenOutput.
195
+ * Use `create(GetRunnerScopedTokenOutputSchema)` to create a new message.
196
+ */
197
+ export declare const GetRunnerScopedTokenOutputSchema: GenMessage<GetRunnerScopedTokenOutput>;
114
198
  /**
115
199
  * Edition of the Stigmer server binary.
116
200
  *
@@ -206,4 +290,43 @@ export declare const PlatformQueryController: GenService<{
206
290
  input: typeof GetRunnerBootstrapConfigInputSchema;
207
291
  output: typeof GetRunnerBootstrapConfigOutputSchema;
208
292
  };
293
+ /**
294
+ * Exchanges an embedded runner's bootstrap credential for a token scoped to
295
+ * one unit of dispatched work.
296
+ *
297
+ * The bootstrap token from getRunnerBootstrapConfig identifies a runner but
298
+ * is minted before any execution exists, so it carries no session or
299
+ * execution scope. Secrets are only released to runner credentials bound to
300
+ * the exact work they serve. At task start the runner presents its bootstrap
301
+ * token and names the execution it was dispatched; the control plane verifies
302
+ * the caller and returns a short-lived token scoped to that work, which the
303
+ * runner then uses for its ExecutionContext fetch. This makes a desktop
304
+ * runner indistinguishable, at the secret-release gate, from a
305
+ * server-provisioned sandbox runner.
306
+ *
307
+ * The token fields are empty when the server cannot mint (OSS, or no signing
308
+ * key configured) — the runner falls back to its existing credential.
309
+ *
310
+ * @internal
311
+ * Cloud mints via SandboxTokenService: an agent_execution_id yields a
312
+ * token_type=sandbox token carrying the execution's parent session_id (one
313
+ * session sandbox serves multi-turn executions); a workflow_execution_id
314
+ * yields token_type=workflow_sandbox carrying that id. Both are then bound by
315
+ * RunnerScopeVerifier on the getByExecutionId decrypt path exactly like
316
+ * cloud-sandbox-injected tokens (stigmer-cloud#155/#156).
317
+ *
318
+ * is_skip_authorization because the FGA target is derived from the input
319
+ * oneof, which the declarative interceptor cannot express — the handler
320
+ * enforces authorization itself (same pattern as getRunnerBootstrapConfig):
321
+ * the caller must present a runner-class token_type=embedded_runner
322
+ * credential AND pass the same can_view check getByExecutionId performs on
323
+ * the named execution.
324
+ *
325
+ * @generated from rpc ai.stigmer.platform.v1.PlatformQueryController.getRunnerScopedToken
326
+ */
327
+ getRunnerScopedToken: {
328
+ methodKind: "unary";
329
+ input: typeof GetRunnerScopedTokenInputSchema;
330
+ output: typeof GetRunnerScopedTokenOutputSchema;
331
+ };
209
332
  }>;
@@ -7,7 +7,7 @@ import { file_buf_validate_validate } from "../../../../buf/validate/validate_pb
7
7
  /**
8
8
  * Describes the file ai/stigmer/platform/v1/server_info.proto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maWdPdXRwdXQiBNC4GAFCEUIPU2VydmVySW5mb1Byb3RvYgZwcm90bzM", [file_ai_stigmer_commons_rpc_method_options, file_buf_validate_validate]);
10
+ export const file_ai_stigmer_platform_v1_server_info = /*@__PURE__*/ fileDesc("CihhaS9zdGlnbWVyL3BsYXRmb3JtL3YxL3NlcnZlcl9pbmZvLnByb3RvEhZhaS5zdGlnbWVyLnBsYXRmb3JtLnYxIhQKEkdldFNlcnZlckluZm9JbnB1dCJeChNHZXRTZXJ2ZXJJbmZvT3V0cHV0EjYKB2VkaXRpb24YASABKA4yJS5haS5zdGlnbWVyLnBsYXRmb3JtLnYxLlNlcnZlckVkaXRpb24SDwoHdmVyc2lvbhgCIAEoCSIfCh1HZXRSdW5uZXJCb290c3RyYXBDb25maWdJbnB1dCLJAQoeR2V0UnVubmVyQm9vdHN0cmFwQ29uZmlnT3V0cHV0EiEKEHRlbXBvcmFsX2FkZHJlc3MYASABKAlCB7pIBHICEAESIwoSdGVtcG9yYWxfbmFtZXNwYWNlGAIgASgJQge6SARyAhABEhsKE3J1bm5lcl9hY2Nlc3NfdG9rZW4YAyABKAkSEgoKdG9rZW5fdHlwZRgEIAEoCRIuCiZydW5uZXJfYWNjZXNzX3Rva2VuX2V4cGlyZXNfaW5fc2Vjb25kcxgFIAEoBSJqChlHZXRSdW5uZXJTY29wZWRUb2tlbklucHV0EhwKEmFnZW50X2V4ZWN1dGlvbl9pZBgBIAEoCUgAEh8KFXdvcmtmbG93X2V4ZWN1dGlvbl9pZBgCIAEoCUgAQg4KBXNjb3BlEgW6SAIIASJpChpHZXRSdW5uZXJTY29wZWRUb2tlbk91dHB1dBIbChNydW5uZXJfc2NvcGVkX3Rva2VuGAEgASgJEhIKCnRva2VuX3R5cGUYAiABKAkSGgoSZXhwaXJlc19pbl9zZWNvbmRzGAMgASgFKkMKDVNlcnZlckVkaXRpb24SHgoac2VydmVyX2VkaXRpb25fdW5zcGVjaWZpZWQQABIHCgNvc3MQARIJCgVjbG91ZBACMqEDChdQbGF0Zm9ybVF1ZXJ5Q29udHJvbGxlchJuCg1nZXRTZXJ2ZXJJbmZvEiouYWkuc3RpZ21lci5wbGF0Zm9ybS52MS5HZXRTZXJ2ZXJJbmZvSW5wdXQaKy5haS5zdGlnbWVyLnBsYXRmb3JtLnYxLkdldFNlcnZlckluZm9PdXRwdXQiBMi4GAESjwEKGGdldFJ1bm5lckJvb3RzdHJhcENvbmZpZxI1LmFpLnN0aWdtZXIucGxhdGZvcm0udjEuR2V0UnVubmVyQm9vdHN0cmFwQ29uZmlnSW5wdXQaNi5haS5zdGlnbWVyLnBsYXRmb3JtLnYxLkdldFJ1bm5lckJvb3RzdHJhcENvbmZpZ091dHB1dCIE0LgYARKDAQoUZ2V0UnVubmVyU2NvcGVkVG9rZW4SMS5haS5zdGlnbWVyLnBsYXRmb3JtLnYxLkdldFJ1bm5lclNjb3BlZFRva2VuSW5wdXQaMi5haS5zdGlnbWVyLnBsYXRmb3JtLnYxLkdldFJ1bm5lclNjb3BlZFRva2VuT3V0cHV0IgTQuBgBQhFCD1NlcnZlckluZm9Qcm90b2IGcHJvdG8z", [file_ai_stigmer_commons_rpc_method_options, file_buf_validate_validate]);
11
11
  /**
12
12
  * Describes the message ai.stigmer.platform.v1.GetServerInfoInput.
13
13
  * Use `create(GetServerInfoInputSchema)` to create a new message.
@@ -28,6 +28,16 @@ export const GetRunnerBootstrapConfigInputSchema = /*@__PURE__*/ messageDesc(fil
28
28
  * Use `create(GetRunnerBootstrapConfigOutputSchema)` to create a new message.
29
29
  */
30
30
  export const GetRunnerBootstrapConfigOutputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_platform_v1_server_info, 3);
31
+ /**
32
+ * Describes the message ai.stigmer.platform.v1.GetRunnerScopedTokenInput.
33
+ * Use `create(GetRunnerScopedTokenInputSchema)` to create a new message.
34
+ */
35
+ export const GetRunnerScopedTokenInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_platform_v1_server_info, 4);
36
+ /**
37
+ * Describes the message ai.stigmer.platform.v1.GetRunnerScopedTokenOutput.
38
+ * Use `create(GetRunnerScopedTokenOutputSchema)` to create a new message.
39
+ */
40
+ export const GetRunnerScopedTokenOutputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_platform_v1_server_info, 5);
31
41
  /**
32
42
  * Edition of the Stigmer server binary.
33
43
  *
@@ -1 +1 @@
1
- {"version":3,"file":"server_info_pb.js","sourceRoot":"","sources":["../../../../../ai/stigmer/platform/v1/server_info_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,gHAAgH;AAChH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC5F,OAAO,EAAE,0CAA0C,EAAE,MAAM,wCAAwC,CAAC;AACpG,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAGrF;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAY,aAAa,CAC3E,QAAQ,CAAC,ijCAAijC,EAAE,CAAC,0CAA0C,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAUxoC;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAmC,aAAa,CACnF,WAAW,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC;AAuB1D;;;GAGG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAoC,aAAa,CACrF,WAAW,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC;AAW1D;;;GAGG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAA8C,aAAa,CACzG,WAAW,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC;AA8D1D;;;GAGG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAA+C,aAAa,CAC3G,WAAW,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC;AAE1D;;;;;;;;;GASG;AACH,MAAM,CAAN,IAAY,aAqBX;AArBD,WAAY,aAAa;IACvB;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GAA+C,aAAa,CAC3G,WAAW,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC;AAoC1D;;;GAGG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAA0C,aAAa,CACjG,WAAW,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC;AA2C1D;;;GAGG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAA2C,aAAa,CACnG,WAAW,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC;AAE1D;;;;;;;;;GASG;AACH,MAAM,CAAN,IAAY,aAqBX;AArBD,WAAY,aAAa;IACvB;;OAEG;IACH,6FAA8B,CAAA;IAE9B;;;;;OAKG;IACH,+CAAO,CAAA;IAEP;;;;;OAKG;IACH,mDAAS,CAAA;AACX,CAAC,EArBW,aAAa,KAAb,aAAa,QAqBxB;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAA2B,aAAa,CACtE,QAAQ,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC;AAEvD;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAuF/B,aAAa,CAChB,WAAW,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC"}
@@ -10,10 +10,16 @@ export declare const file_ai_stigmer_tenancy_organization_v1_api: GenFile;
10
10
  /**
11
11
  * Organization is the top-level container for all Stigmer resources.
12
12
  *
13
+ * An Organization's metadata.id equals its metadata.slug: unlike every other
14
+ * resource (which is assigned a generated prefixed id), the tenancy root is
15
+ * addressed by its slug, which is globally unique.
16
+ *
13
17
  * @internal
14
18
  * Similar to GitHub organizations, all agents, workflows, sessions, and other
15
19
  * resources are scoped under an organization. This enables multi-tenancy and
16
- * proper resource isolation.
20
+ * proper resource isolation. Child resources reference their owning org by slug
21
+ * (metadata.org), which is why the org's id is set to its slug rather than a
22
+ * minted org_<ulid> (see OrganizationCommandController create pipeline).
17
23
  *
18
24
  * @generated from message ai.stigmer.tenancy.organization.v1.Organization
19
25
  */
@@ -1 +1 @@
1
- {"version":3,"file":"api_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/tenancy/organization/v1/api_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,gIAAgI;AAChI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,4CAA4C,EAAE,MAAM,6CAA6C,CAAC;AAE3G,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG,OAAO,EAAE,4CAA4C,EAAE,MAAM,cAAc,CAAC;AAC5E,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAAY,aAAa,CAC/E,QAAQ,CAAC,wiBAAwiB,EAAE,CAAC,4CAA4C,EAAE,0CAA0C,EAAE,4CAA4C,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAiD3tB;;;GAGG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAA6B,aAAa,CACvE,WAAW,CAAC,2CAA2C,EAAE,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"api_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/tenancy/organization/v1/api_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,gIAAgI;AAChI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,4CAA4C,EAAE,MAAM,6CAA6C,CAAC;AAE3G,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG,OAAO,EAAE,4CAA4C,EAAE,MAAM,cAAc,CAAC;AAC5E,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAAY,aAAa,CAC/E,QAAQ,CAAC,wiBAAwiB,EAAE,CAAC,4CAA4C,EAAE,0CAA0C,EAAE,4CAA4C,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAuD3tB;;;GAGG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAA6B,aAAa,CACvE,WAAW,CAAC,2CAA2C,EAAE,CAAC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stigmer/protos",
3
- "version": "3.1.6",
3
+ "version": "3.1.8",
4
4
  "description": "Generated TypeScript protobuf stubs for Stigmer APIs",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",