@stigmer/protos 3.2.3 → 3.3.0

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 (97) hide show
  1. package/ai/stigmer/agentic/agent/v1/spec_pb.d.ts +41 -0
  2. package/ai/stigmer/agentic/agent/v1/spec_pb.js +8 -3
  3. package/ai/stigmer/agentic/agent/v1/spec_pb.js.map +1 -1
  4. package/ai/stigmer/agentic/agentexecution/v1/usage_pb.d.ts +17 -0
  5. package/ai/stigmer/agentic/agentexecution/v1/usage_pb.js +1 -1
  6. package/ai/stigmer/agentic/agentexecution/v1/usage_pb.js.map +1 -1
  7. package/ai/stigmer/agentic/agentinstance/v1/spec_pb.d.ts +21 -0
  8. package/ai/stigmer/agentic/agentinstance/v1/spec_pb.js +1 -1
  9. package/ai/stigmer/agentic/agentinstance/v1/spec_pb.js.map +1 -1
  10. package/ai/stigmer/agentic/datastore/v1/api_pb.d.ts +64 -0
  11. package/ai/stigmer/agentic/datastore/v1/api_pb.js +18 -0
  12. package/ai/stigmer/agentic/datastore/v1/api_pb.js.map +1 -0
  13. package/ai/stigmer/agentic/datastore/v1/command_connect.d.ts +111 -0
  14. package/ai/stigmer/agentic/datastore/v1/command_connect.js +119 -0
  15. package/ai/stigmer/agentic/datastore/v1/command_connect.js.map +1 -0
  16. package/ai/stigmer/agentic/datastore/v1/command_pb.d.ts +110 -0
  17. package/ai/stigmer/agentic/datastore/v1/command_pb.js +19 -0
  18. package/ai/stigmer/agentic/datastore/v1/command_pb.js.map +1 -0
  19. package/ai/stigmer/agentic/datastore/v1/io_pb.d.ts +64 -0
  20. package/ai/stigmer/agentic/datastore/v1/io_pb.js +22 -0
  21. package/ai/stigmer/agentic/datastore/v1/io_pb.js.map +1 -0
  22. package/ai/stigmer/agentic/datastore/v1/query_connect.d.ts +59 -0
  23. package/ai/stigmer/agentic/datastore/v1/query_connect.js +68 -0
  24. package/ai/stigmer/agentic/datastore/v1/query_connect.js.map +1 -0
  25. package/ai/stigmer/agentic/datastore/v1/query_pb.d.ts +61 -0
  26. package/ai/stigmer/agentic/datastore/v1/query_pb.js +24 -0
  27. package/ai/stigmer/agentic/datastore/v1/query_pb.js.map +1 -0
  28. package/ai/stigmer/agentic/datastore/v1/record_command_connect.d.ts +75 -0
  29. package/ai/stigmer/agentic/datastore/v1/record_command_connect.js +82 -0
  30. package/ai/stigmer/agentic/datastore/v1/record_command_connect.js.map +1 -0
  31. package/ai/stigmer/agentic/datastore/v1/record_command_pb.d.ts +75 -0
  32. package/ai/stigmer/agentic/datastore/v1/record_command_pb.js +32 -0
  33. package/ai/stigmer/agentic/datastore/v1/record_command_pb.js.map +1 -0
  34. package/ai/stigmer/agentic/datastore/v1/record_io_pb.d.ts +729 -0
  35. package/ai/stigmer/agentic/datastore/v1/record_io_pb.js +198 -0
  36. package/ai/stigmer/agentic/datastore/v1/record_io_pb.js.map +1 -0
  37. package/ai/stigmer/agentic/datastore/v1/record_query_connect.d.ts +69 -0
  38. package/ai/stigmer/agentic/datastore/v1/record_query_connect.js +76 -0
  39. package/ai/stigmer/agentic/datastore/v1/record_query_connect.js.map +1 -0
  40. package/ai/stigmer/agentic/datastore/v1/record_query_pb.d.ts +70 -0
  41. package/ai/stigmer/agentic/datastore/v1/record_query_pb.js +38 -0
  42. package/ai/stigmer/agentic/datastore/v1/record_query_pb.js.map +1 -0
  43. package/ai/stigmer/agentic/datastore/v1/spec_pb.d.ts +680 -0
  44. package/ai/stigmer/agentic/datastore/v1/spec_pb.js +195 -0
  45. package/ai/stigmer/agentic/datastore/v1/spec_pb.js.map +1 -0
  46. package/ai/stigmer/agentic/datastore/v1/status_pb.d.ts +159 -0
  47. package/ai/stigmer/agentic/datastore/v1/status_pb.js +93 -0
  48. package/ai/stigmer/agentic/datastore/v1/status_pb.js.map +1 -0
  49. package/ai/stigmer/agentic/session/v1/spec_pb.d.ts +18 -0
  50. package/ai/stigmer/agentic/session/v1/spec_pb.js +1 -1
  51. package/ai/stigmer/agentic/session/v1/spec_pb.js.map +1 -1
  52. package/ai/stigmer/billing/v1/command_connect.d.ts +43 -0
  53. package/ai/stigmer/billing/v1/command_connect.js +46 -1
  54. package/ai/stigmer/billing/v1/command_connect.js.map +1 -1
  55. package/ai/stigmer/billing/v1/command_pb.d.ts +43 -1
  56. package/ai/stigmer/billing/v1/command_pb.js +3 -1
  57. package/ai/stigmer/billing/v1/command_pb.js.map +1 -1
  58. package/ai/stigmer/billing/v1/io_pb.d.ts +274 -0
  59. package/ai/stigmer/billing/v1/io_pb.js +44 -2
  60. package/ai/stigmer/billing/v1/io_pb.js.map +1 -1
  61. package/ai/stigmer/billing/v1/model_pricing_baseline_pb.d.ts +369 -0
  62. package/ai/stigmer/billing/v1/model_pricing_baseline_pb.js +79 -0
  63. package/ai/stigmer/billing/v1/model_pricing_baseline_pb.js.map +1 -0
  64. package/ai/stigmer/billing/v1/pricing_override_pb.d.ts +272 -0
  65. package/ai/stigmer/billing/v1/pricing_override_pb.js +116 -0
  66. package/ai/stigmer/billing/v1/pricing_override_pb.js.map +1 -0
  67. package/ai/stigmer/billing/v1/query_connect.d.ts +31 -0
  68. package/ai/stigmer/billing/v1/query_connect.js +32 -1
  69. package/ai/stigmer/billing/v1/query_connect.js.map +1 -1
  70. package/ai/stigmer/billing/v1/query_pb.d.ts +30 -1
  71. package/ai/stigmer/billing/v1/query_pb.js +1 -1
  72. package/ai/stigmer/billing/v1/query_pb.js.map +1 -1
  73. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.d.ts +7 -0
  74. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js +8 -1
  75. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js.map +1 -1
  76. package/ai/stigmer/iam/v1/enum_pb.d.ts +44 -1
  77. package/ai/stigmer/iam/v1/enum_pb.js +44 -1
  78. package/ai/stigmer/iam/v1/enum_pb.js.map +1 -1
  79. package/ai/stigmer/platform/cursoraccount/v1/command_connect.d.ts +102 -0
  80. package/ai/stigmer/platform/cursoraccount/v1/command_connect.js +110 -0
  81. package/ai/stigmer/platform/cursoraccount/v1/command_connect.js.map +1 -0
  82. package/ai/stigmer/platform/cursoraccount/v1/command_pb.d.ts +100 -0
  83. package/ai/stigmer/platform/cursoraccount/v1/command_pb.js +32 -0
  84. package/ai/stigmer/platform/cursoraccount/v1/command_pb.js.map +1 -0
  85. package/ai/stigmer/platform/cursoraccount/v1/cursor_account_pb.d.ts +331 -0
  86. package/ai/stigmer/platform/cursoraccount/v1/cursor_account_pb.js +36 -0
  87. package/ai/stigmer/platform/cursoraccount/v1/cursor_account_pb.js.map +1 -0
  88. package/ai/stigmer/platform/cursoraccount/v1/io_pb.d.ts +332 -0
  89. package/ai/stigmer/platform/cursoraccount/v1/io_pb.js +110 -0
  90. package/ai/stigmer/platform/cursoraccount/v1/io_pb.js.map +1 -0
  91. package/ai/stigmer/platform/cursoraccount/v1/query_connect.d.ts +44 -0
  92. package/ai/stigmer/platform/cursoraccount/v1/query_connect.js +51 -0
  93. package/ai/stigmer/platform/cursoraccount/v1/query_connect.js.map +1 -0
  94. package/ai/stigmer/platform/cursoraccount/v1/query_pb.d.ts +45 -0
  95. package/ai/stigmer/platform/cursoraccount/v1/query_pb.js +25 -0
  96. package/ai/stigmer/platform/cursoraccount/v1/query_pb.js.map +1 -0
  97. package/package.json +1 -1
@@ -0,0 +1,729 @@
1
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
2
+ import type { DatastoreSubject, DatastoreVerb, FieldDeclaration } from "./spec_pb.js";
3
+ import type { Timestamp, Value } from "@bufbuild/protobuf/wkt";
4
+ import type { JsonObject, Message } from "@bufbuild/protobuf";
5
+ /**
6
+ * Describes the file ai/stigmer/agentic/datastore/v1/record_io.proto.
7
+ */
8
+ export declare const file_ai_stigmer_agentic_datastore_v1_record_io: GenFile;
9
+ /**
10
+ * RecordEnvelope is a record as returned by every record RPC:
11
+ * server-managed system fields plus the declared fields.
12
+ *
13
+ * @internal
14
+ * System fields are server-stamped and never caller-writable on any
15
+ * surface. Record ids follow the platform id convention with prefix
16
+ * `dsr` (dsr_<lowercase-ulid>). created_by carries the DD-002
17
+ * attribution subject; own-scoped grants resolve against it, and the
18
+ * grant system is the privacy boundary for exposing it (own-scoped
19
+ * readers only ever see themselves).
20
+ *
21
+ * @generated from message ai.stigmer.agentic.datastore.v1.RecordEnvelope
22
+ */
23
+ export type RecordEnvelope = Message<"ai.stigmer.agentic.datastore.v1.RecordEnvelope"> & {
24
+ /**
25
+ * Server-issued record identifier, opaque and immutable.
26
+ *
27
+ * @generated from field: string id = 1;
28
+ */
29
+ id: string;
30
+ /**
31
+ * When the record was inserted.
32
+ *
33
+ * @generated from field: google.protobuf.Timestamp created_at = 2;
34
+ */
35
+ createdAt?: Timestamp;
36
+ /**
37
+ * When the record was last updated.
38
+ *
39
+ * @generated from field: google.protobuf.Timestamp updated_at = 3;
40
+ */
41
+ updatedAt?: Timestamp;
42
+ /**
43
+ * The verified caller identity that inserted the record.
44
+ *
45
+ * @generated from field: ai.stigmer.agentic.datastore.v1.DatastoreSubject created_by = 4;
46
+ */
47
+ createdBy?: DatastoreSubject;
48
+ /**
49
+ * Declared field values in their canonical encodings.
50
+ *
51
+ * @generated from field: google.protobuf.Struct fields = 5;
52
+ */
53
+ fields?: JsonObject;
54
+ };
55
+ /**
56
+ * Describes the message ai.stigmer.agentic.datastore.v1.RecordEnvelope.
57
+ * Use `create(RecordEnvelopeSchema)` to create a new message.
58
+ */
59
+ export declare const RecordEnvelopeSchema: GenMessage<RecordEnvelope>;
60
+ /**
61
+ * RecordList is a page of records with pagination totals.
62
+ *
63
+ * @generated from message ai.stigmer.agentic.datastore.v1.RecordList
64
+ */
65
+ export type RecordList = Message<"ai.stigmer.agentic.datastore.v1.RecordList"> & {
66
+ /**
67
+ * Records in the current page.
68
+ *
69
+ * @generated from field: repeated ai.stigmer.agentic.datastore.v1.RecordEnvelope records = 1;
70
+ */
71
+ records: RecordEnvelope[];
72
+ /**
73
+ * Total count of records matching the filter.
74
+ *
75
+ * @generated from field: int32 total = 2;
76
+ */
77
+ total: number;
78
+ /**
79
+ * Limit applied to this page.
80
+ *
81
+ * @generated from field: int32 limit = 3;
82
+ */
83
+ limit: number;
84
+ /**
85
+ * Offset applied to this page.
86
+ *
87
+ * @generated from field: int32 offset = 4;
88
+ */
89
+ offset: number;
90
+ };
91
+ /**
92
+ * Describes the message ai.stigmer.agentic.datastore.v1.RecordList.
93
+ * Use `create(RecordListSchema)` to create a new message.
94
+ */
95
+ export declare const RecordListSchema: GenMessage<RecordList>;
96
+ /**
97
+ * RecordFilter selects records with typed conditions, all of which must
98
+ * match.
99
+ *
100
+ * @internal
101
+ * AND-only in v1 (`in` covers single-field disjunction; OR groups are a
102
+ * recorded growth path). Every expressible condition compiles to an
103
+ * indexable predicate on both substrates. The server-applied grant
104
+ * scope (own) composes as an inexpressible conjunction — the grammar
105
+ * can neither express, relax, nor observe it.
106
+ *
107
+ * @generated from message ai.stigmer.agentic.datastore.v1.RecordFilter
108
+ */
109
+ export type RecordFilter = Message<"ai.stigmer.agentic.datastore.v1.RecordFilter"> & {
110
+ /**
111
+ * Conditions combined with AND semantics.
112
+ *
113
+ * @generated from field: repeated ai.stigmer.agentic.datastore.v1.RecordCondition conditions = 1;
114
+ */
115
+ conditions: RecordCondition[];
116
+ };
117
+ /**
118
+ * Describes the message ai.stigmer.agentic.datastore.v1.RecordFilter.
119
+ * Use `create(RecordFilterSchema)` to create a new message.
120
+ */
121
+ export declare const RecordFilterSchema: GenMessage<RecordFilter>;
122
+ /**
123
+ * RecordCondition tests one field against an operator and value.
124
+ *
125
+ * @internal
126
+ * The per-type operator matrix is domain validation against the
127
+ * declared schema: eq/neq/in/not_in for string and enum fields; range
128
+ * operators for numeric and temporal types; is_null/not_null for
129
+ * optional fields; id by eq/in; created_at/updated_at by range. json
130
+ * fields and created_by are not filterable.
131
+ *
132
+ * @generated from message ai.stigmer.agentic.datastore.v1.RecordCondition
133
+ */
134
+ export type RecordCondition = Message<"ai.stigmer.agentic.datastore.v1.RecordCondition"> & {
135
+ /**
136
+ * Declared field name, or a filterable system field (id, created_at,
137
+ * updated_at).
138
+ *
139
+ * @generated from field: string field = 1;
140
+ */
141
+ field: string;
142
+ /**
143
+ * Comparison operator.
144
+ *
145
+ * @generated from field: ai.stigmer.agentic.datastore.v1.RecordConditionOp op = 2;
146
+ */
147
+ op: RecordConditionOp;
148
+ /**
149
+ * Comparison value for scalar operators, in the field's canonical
150
+ * encoding. Unset for is_null / not_null.
151
+ *
152
+ * @generated from field: google.protobuf.Value value = 3;
153
+ */
154
+ value?: Value;
155
+ /**
156
+ * Comparison values for in / not_in.
157
+ *
158
+ * @generated from field: repeated google.protobuf.Value values = 4;
159
+ */
160
+ values: Value[];
161
+ };
162
+ /**
163
+ * Describes the message ai.stigmer.agentic.datastore.v1.RecordCondition.
164
+ * Use `create(RecordConditionSchema)` to create a new message.
165
+ */
166
+ export declare const RecordConditionSchema: GenMessage<RecordCondition>;
167
+ /**
168
+ * RecordOrderBy sorts results by a single field.
169
+ *
170
+ * @generated from message ai.stigmer.agentic.datastore.v1.RecordOrderBy
171
+ */
172
+ export type RecordOrderBy = Message<"ai.stigmer.agentic.datastore.v1.RecordOrderBy"> & {
173
+ /**
174
+ * Declared field name, or a sortable system field (id, created_at,
175
+ * updated_at).
176
+ *
177
+ * @generated from field: string field = 1;
178
+ */
179
+ field: string;
180
+ /**
181
+ * Sort direction. Unset defaults to ascending.
182
+ *
183
+ * @generated from field: ai.stigmer.agentic.datastore.v1.RecordSortDirection direction = 2;
184
+ */
185
+ direction: RecordSortDirection;
186
+ };
187
+ /**
188
+ * Describes the message ai.stigmer.agentic.datastore.v1.RecordOrderBy.
189
+ * Use `create(RecordOrderBySchema)` to create a new message.
190
+ */
191
+ export declare const RecordOrderBySchema: GenMessage<RecordOrderBy>;
192
+ /**
193
+ * FindRecordsRequest selects records from one collection.
194
+ *
195
+ * @generated from message ai.stigmer.agentic.datastore.v1.FindRecordsRequest
196
+ */
197
+ export type FindRecordsRequest = Message<"ai.stigmer.agentic.datastore.v1.FindRecordsRequest"> & {
198
+ /**
199
+ * Datastore slug, resolved within the organization named by `org` —
200
+ * records never cross the org boundary.
201
+ *
202
+ * @generated from field: string datastore = 1;
203
+ */
204
+ datastore: string;
205
+ /**
206
+ * Collection to query.
207
+ *
208
+ * @generated from field: string collection = 2;
209
+ */
210
+ collection: string;
211
+ /**
212
+ * Conditions records must match. Empty returns all readable records.
213
+ *
214
+ * @generated from field: ai.stigmer.agentic.datastore.v1.RecordFilter filter = 3;
215
+ */
216
+ filter?: RecordFilter;
217
+ /**
218
+ * Sort order. Unset defaults to created_at descending with id as
219
+ * tiebreak (deterministic pagination).
220
+ *
221
+ * @generated from field: ai.stigmer.agentic.datastore.v1.RecordOrderBy order_by = 4;
222
+ */
223
+ orderBy?: RecordOrderBy;
224
+ /**
225
+ * Page size. Unset defaults to 25; maximum 100.
226
+ *
227
+ * @generated from field: int32 limit = 5;
228
+ */
229
+ limit: number;
230
+ /**
231
+ * Number of records to skip.
232
+ *
233
+ * @generated from field: int32 offset = 6;
234
+ */
235
+ offset: number;
236
+ /**
237
+ * Data partition to read from. Unset means the "default" partition.
238
+ *
239
+ * @internal
240
+ * Honored for direct platform principals only (console, CLI, SDK,
241
+ * import). Session-bound runner credentials get their partition
242
+ * server-derived from the session's agent instance (DD-010 SD-2) and
243
+ * are rejected with INVALID_ARGUMENT if they supply one — no second
244
+ * channel, mirroring the sender-identity posture.
245
+ *
246
+ * @generated from field: string partition = 7;
247
+ */
248
+ partition: string;
249
+ /**
250
+ * Organization the datastore belongs to. Direct callers (console,
251
+ * CLI, SDK, import) set it; unset resolves from the caller's context.
252
+ *
253
+ * @internal
254
+ * Session-bound runner credentials leave it empty — their org is
255
+ * server-derived from the session (DD-006 reach chain, lands with
256
+ * T05). In the OSS edition every slug resolves against the local
257
+ * system org, and a non-matching explicit org is NOT_FOUND (records
258
+ * stay home).
259
+ *
260
+ * @generated from field: string org = 8;
261
+ */
262
+ org: string;
263
+ };
264
+ /**
265
+ * Describes the message ai.stigmer.agentic.datastore.v1.FindRecordsRequest.
266
+ * Use `create(FindRecordsRequestSchema)` to create a new message.
267
+ */
268
+ export declare const FindRecordsRequestSchema: GenMessage<FindRecordsRequest>;
269
+ /**
270
+ * InsertRecordRequest inserts one record into a collection.
271
+ *
272
+ * @generated from message ai.stigmer.agentic.datastore.v1.InsertRecordRequest
273
+ */
274
+ export type InsertRecordRequest = Message<"ai.stigmer.agentic.datastore.v1.InsertRecordRequest"> & {
275
+ /**
276
+ * Datastore slug.
277
+ *
278
+ * @generated from field: string datastore = 1;
279
+ */
280
+ datastore: string;
281
+ /**
282
+ * Collection to insert into.
283
+ *
284
+ * @generated from field: string collection = 2;
285
+ */
286
+ collection: string;
287
+ /**
288
+ * Declared field values in their canonical encodings. System field
289
+ * names are rejected.
290
+ *
291
+ * @generated from field: google.protobuf.Struct record = 3;
292
+ */
293
+ record?: JsonObject;
294
+ /**
295
+ * Data partition to insert into. Unset means the "default" partition.
296
+ *
297
+ * @internal
298
+ * Same dispatch as FindRecordsRequest.partition: direct principals
299
+ * only; server-derived (and rejected if supplied) for session-bound
300
+ * callers. A partition's first write registers it in the datastore's
301
+ * partition catalog (DD-010 SD-3).
302
+ *
303
+ * @generated from field: string partition = 4;
304
+ */
305
+ partition: string;
306
+ /**
307
+ * Organization the datastore belongs to. Direct callers set it;
308
+ * unset resolves from the caller's context.
309
+ *
310
+ * @internal
311
+ * Same dispatch as FindRecordsRequest.org.
312
+ *
313
+ * @generated from field: string org = 5;
314
+ */
315
+ org: string;
316
+ };
317
+ /**
318
+ * Describes the message ai.stigmer.agentic.datastore.v1.InsertRecordRequest.
319
+ * Use `create(InsertRecordRequestSchema)` to create a new message.
320
+ */
321
+ export declare const InsertRecordRequestSchema: GenMessage<InsertRecordRequest>;
322
+ /**
323
+ * UpdateRecordRequest updates one record by id with a partial merge.
324
+ *
325
+ * @generated from message ai.stigmer.agentic.datastore.v1.UpdateRecordRequest
326
+ */
327
+ export type UpdateRecordRequest = Message<"ai.stigmer.agentic.datastore.v1.UpdateRecordRequest"> & {
328
+ /**
329
+ * Datastore slug.
330
+ *
331
+ * @generated from field: string datastore = 1;
332
+ */
333
+ datastore: string;
334
+ /**
335
+ * Collection holding the record.
336
+ *
337
+ * @generated from field: string collection = 2;
338
+ */
339
+ collection: string;
340
+ /**
341
+ * Id of the record to update.
342
+ *
343
+ * @generated from field: string id = 3;
344
+ */
345
+ id: string;
346
+ /**
347
+ * Fields to change. Only supplied fields change; an explicit null
348
+ * clears a field. Constraints evaluate on the merged result. System
349
+ * field names are rejected.
350
+ *
351
+ * @generated from field: google.protobuf.Struct fields = 4;
352
+ */
353
+ fields?: JsonObject;
354
+ /**
355
+ * Data partition holding the record. Unset means the "default"
356
+ * partition. A record in another partition is NOT_FOUND.
357
+ *
358
+ * @internal
359
+ * Same dispatch as FindRecordsRequest.partition.
360
+ *
361
+ * @generated from field: string partition = 5;
362
+ */
363
+ partition: string;
364
+ /**
365
+ * Organization the datastore belongs to. Direct callers set it;
366
+ * unset resolves from the caller's context.
367
+ *
368
+ * @internal
369
+ * Same dispatch as FindRecordsRequest.org.
370
+ *
371
+ * @generated from field: string org = 6;
372
+ */
373
+ org: string;
374
+ };
375
+ /**
376
+ * Describes the message ai.stigmer.agentic.datastore.v1.UpdateRecordRequest.
377
+ * Use `create(UpdateRecordRequestSchema)` to create a new message.
378
+ */
379
+ export declare const UpdateRecordRequestSchema: GenMessage<UpdateRecordRequest>;
380
+ /**
381
+ * DeleteRecordRequest deletes one record by id.
382
+ *
383
+ * @generated from message ai.stigmer.agentic.datastore.v1.DeleteRecordRequest
384
+ */
385
+ export type DeleteRecordRequest = Message<"ai.stigmer.agentic.datastore.v1.DeleteRecordRequest"> & {
386
+ /**
387
+ * Datastore slug.
388
+ *
389
+ * @generated from field: string datastore = 1;
390
+ */
391
+ datastore: string;
392
+ /**
393
+ * Collection holding the record.
394
+ *
395
+ * @generated from field: string collection = 2;
396
+ */
397
+ collection: string;
398
+ /**
399
+ * Id of the record to delete.
400
+ *
401
+ * @generated from field: string id = 3;
402
+ */
403
+ id: string;
404
+ /**
405
+ * Data partition holding the record. Unset means the "default"
406
+ * partition. A record in another partition is NOT_FOUND.
407
+ *
408
+ * @internal
409
+ * Same dispatch as FindRecordsRequest.partition.
410
+ *
411
+ * @generated from field: string partition = 4;
412
+ */
413
+ partition: string;
414
+ /**
415
+ * Organization the datastore belongs to. Direct callers set it;
416
+ * unset resolves from the caller's context.
417
+ *
418
+ * @internal
419
+ * Same dispatch as FindRecordsRequest.org.
420
+ *
421
+ * @generated from field: string org = 5;
422
+ */
423
+ org: string;
424
+ };
425
+ /**
426
+ * Describes the message ai.stigmer.agentic.datastore.v1.DeleteRecordRequest.
427
+ * Use `create(DeleteRecordRequestSchema)` to create a new message.
428
+ */
429
+ export declare const DeleteRecordRequestSchema: GenMessage<DeleteRecordRequest>;
430
+ /**
431
+ * DescribeDatastoreRequest asks for a datastore as the caller
432
+ * experiences it.
433
+ *
434
+ * @generated from message ai.stigmer.agentic.datastore.v1.DescribeDatastoreRequest
435
+ */
436
+ export type DescribeDatastoreRequest = Message<"ai.stigmer.agentic.datastore.v1.DescribeDatastoreRequest"> & {
437
+ /**
438
+ * Datastore slug.
439
+ *
440
+ * @generated from field: string datastore = 1;
441
+ */
442
+ datastore: string;
443
+ /**
444
+ * Organization the datastore belongs to. Direct callers set it;
445
+ * unset resolves from the caller's context.
446
+ *
447
+ * @internal
448
+ * Same dispatch as FindRecordsRequest.org.
449
+ *
450
+ * @generated from field: string org = 2;
451
+ */
452
+ org: string;
453
+ };
454
+ /**
455
+ * Describes the message ai.stigmer.agentic.datastore.v1.DescribeDatastoreRequest.
456
+ * Use `create(DescribeDatastoreRequestSchema)` to create a new message.
457
+ */
458
+ export declare const DescribeDatastoreRequestSchema: GenMessage<DescribeDatastoreRequest>;
459
+ /**
460
+ * DatastoreDescription is a datastore's schema and the calling
461
+ * subject's effective access, for agent and client discovery.
462
+ *
463
+ * @internal
464
+ * The projection deliberately excludes operator state (bindings, seed
465
+ * records, sync report): a caller learns the shape of the data and what
466
+ * it may do, never who else has access.
467
+ *
468
+ * @generated from message ai.stigmer.agentic.datastore.v1.DatastoreDescription
469
+ */
470
+ export type DatastoreDescription = Message<"ai.stigmer.agentic.datastore.v1.DatastoreDescription"> & {
471
+ /**
472
+ * Datastore slug.
473
+ *
474
+ * @generated from field: string datastore = 1;
475
+ */
476
+ datastore: string;
477
+ /**
478
+ * Datastore description from the spec.
479
+ *
480
+ * @generated from field: string description = 2;
481
+ */
482
+ description: string;
483
+ /**
484
+ * IANA timezone bound as `tz` in constraint evaluation.
485
+ *
486
+ * @generated from field: string timezone = 3;
487
+ */
488
+ timezone: string;
489
+ /**
490
+ * Collections with schema and caller-effective access.
491
+ *
492
+ * @generated from field: repeated ai.stigmer.agentic.datastore.v1.CollectionDescription collections = 4;
493
+ */
494
+ collections: CollectionDescription[];
495
+ /**
496
+ * Data partitions that hold records, from the partition catalog.
497
+ * Always includes "default".
498
+ *
499
+ * @internal
500
+ * Partitions are labels on data, never resources (DD-010 SD-3): a
501
+ * partition appears here after its first write registers it in the
502
+ * catalog. The console's partition picker is fed from this list; for
503
+ * agent callers it is harmless metadata (their partition is
504
+ * server-derived and not selectable).
505
+ *
506
+ * @generated from field: repeated string partitions = 5;
507
+ */
508
+ partitions: string[];
509
+ };
510
+ /**
511
+ * Describes the message ai.stigmer.agentic.datastore.v1.DatastoreDescription.
512
+ * Use `create(DatastoreDescriptionSchema)` to create a new message.
513
+ */
514
+ export declare const DatastoreDescriptionSchema: GenMessage<DatastoreDescription>;
515
+ /**
516
+ * CollectionDescription is one collection's schema and the caller's
517
+ * effective access to it.
518
+ *
519
+ * @generated from message ai.stigmer.agentic.datastore.v1.CollectionDescription
520
+ */
521
+ export type CollectionDescription = Message<"ai.stigmer.agentic.datastore.v1.CollectionDescription"> & {
522
+ /**
523
+ * Collection name.
524
+ *
525
+ * @generated from field: string name = 1;
526
+ */
527
+ name: string;
528
+ /**
529
+ * Collection description from the spec.
530
+ *
531
+ * @generated from field: string description = 2;
532
+ */
533
+ description: string;
534
+ /**
535
+ * Declared fields with types and canonical encodings.
536
+ *
537
+ * @generated from field: repeated ai.stigmer.agentic.datastore.v1.FieldDeclaration fields = 3;
538
+ */
539
+ fields: FieldDeclaration[];
540
+ /**
541
+ * Declared constraints: names and relayable messages.
542
+ *
543
+ * @generated from field: repeated ai.stigmer.agentic.datastore.v1.ConstraintDescription constraints = 4;
544
+ */
545
+ constraints: ConstraintDescription[];
546
+ /**
547
+ * Verbs the calling subject holds on this collection, with row
548
+ * scope. Empty means no access (deny by default).
549
+ *
550
+ * @generated from field: repeated ai.stigmer.agentic.datastore.v1.VerbGrantDescription access = 5;
551
+ */
552
+ access: VerbGrantDescription[];
553
+ };
554
+ /**
555
+ * Describes the message ai.stigmer.agentic.datastore.v1.CollectionDescription.
556
+ * Use `create(CollectionDescriptionSchema)` to create a new message.
557
+ */
558
+ export declare const CollectionDescriptionSchema: GenMessage<CollectionDescription>;
559
+ /**
560
+ * ConstraintDescription names a constraint and its relayable message.
561
+ *
562
+ * @internal
563
+ * Expressions and where-conditions are deliberately excluded — the
564
+ * declared message is the caller-facing contract for violations.
565
+ *
566
+ * @generated from message ai.stigmer.agentic.datastore.v1.ConstraintDescription
567
+ */
568
+ export type ConstraintDescription = Message<"ai.stigmer.agentic.datastore.v1.ConstraintDescription"> & {
569
+ /**
570
+ * Constraint name, matching the ErrorInfo constraint on violations.
571
+ *
572
+ * @generated from field: string name = 1;
573
+ */
574
+ name: string;
575
+ /**
576
+ * Constraint class.
577
+ *
578
+ * @generated from field: ai.stigmer.agentic.datastore.v1.ConstraintKind kind = 2;
579
+ */
580
+ kind: ConstraintKind;
581
+ /**
582
+ * The declared agent-relayable violation message.
583
+ *
584
+ * @generated from field: string message = 3;
585
+ */
586
+ message: string;
587
+ };
588
+ /**
589
+ * Describes the message ai.stigmer.agentic.datastore.v1.ConstraintDescription.
590
+ * Use `create(ConstraintDescriptionSchema)` to create a new message.
591
+ */
592
+ export declare const ConstraintDescriptionSchema: GenMessage<ConstraintDescription>;
593
+ /**
594
+ * VerbGrantDescription is one verb the caller holds on a collection.
595
+ *
596
+ * @generated from message ai.stigmer.agentic.datastore.v1.VerbGrantDescription
597
+ */
598
+ export type VerbGrantDescription = Message<"ai.stigmer.agentic.datastore.v1.VerbGrantDescription"> & {
599
+ /**
600
+ * Granted verb.
601
+ *
602
+ * @generated from field: ai.stigmer.agentic.datastore.v1.DatastoreVerb verb = 1;
603
+ */
604
+ verb: DatastoreVerb;
605
+ /**
606
+ * True when the verb applies only to records the caller created.
607
+ *
608
+ * @generated from field: bool own_scope = 2;
609
+ */
610
+ ownScope: boolean;
611
+ };
612
+ /**
613
+ * Describes the message ai.stigmer.agentic.datastore.v1.VerbGrantDescription.
614
+ * Use `create(VerbGrantDescriptionSchema)` to create a new message.
615
+ */
616
+ export declare const VerbGrantDescriptionSchema: GenMessage<VerbGrantDescription>;
617
+ /**
618
+ * RecordConditionOp is the comparison operator of a condition.
619
+ *
620
+ * @internal
621
+ * `is_in` rather than `in` because protoc emits enum constants verbatim
622
+ * and `in` is a reserved word in Java and Python.
623
+ *
624
+ * @generated from enum ai.stigmer.agentic.datastore.v1.RecordConditionOp
625
+ */
626
+ export declare enum RecordConditionOp {
627
+ /**
628
+ * @generated from enum value: record_condition_op_unspecified = 0;
629
+ */
630
+ record_condition_op_unspecified = 0,
631
+ /**
632
+ * @generated from enum value: eq = 1;
633
+ */
634
+ eq = 1,
635
+ /**
636
+ * @generated from enum value: neq = 2;
637
+ */
638
+ neq = 2,
639
+ /**
640
+ * @generated from enum value: gt = 3;
641
+ */
642
+ gt = 3,
643
+ /**
644
+ * @generated from enum value: gte = 4;
645
+ */
646
+ gte = 4,
647
+ /**
648
+ * @generated from enum value: lt = 5;
649
+ */
650
+ lt = 5,
651
+ /**
652
+ * @generated from enum value: lte = 6;
653
+ */
654
+ lte = 6,
655
+ /**
656
+ * @generated from enum value: is_in = 7;
657
+ */
658
+ is_in = 7,
659
+ /**
660
+ * @generated from enum value: not_in = 8;
661
+ */
662
+ not_in = 8,
663
+ /**
664
+ * @generated from enum value: is_null = 9;
665
+ */
666
+ is_null = 9,
667
+ /**
668
+ * @generated from enum value: not_null = 10;
669
+ */
670
+ not_null = 10
671
+ }
672
+ /**
673
+ * Describes the enum ai.stigmer.agentic.datastore.v1.RecordConditionOp.
674
+ */
675
+ export declare const RecordConditionOpSchema: GenEnum<RecordConditionOp>;
676
+ /**
677
+ * RecordSortDirection is the direction of a sort.
678
+ *
679
+ * @generated from enum ai.stigmer.agentic.datastore.v1.RecordSortDirection
680
+ */
681
+ export declare enum RecordSortDirection {
682
+ /**
683
+ * @generated from enum value: record_sort_direction_unspecified = 0;
684
+ */
685
+ record_sort_direction_unspecified = 0,
686
+ /**
687
+ * @generated from enum value: asc = 1;
688
+ */
689
+ asc = 1,
690
+ /**
691
+ * @generated from enum value: desc = 2;
692
+ */
693
+ desc = 2
694
+ }
695
+ /**
696
+ * Describes the enum ai.stigmer.agentic.datastore.v1.RecordSortDirection.
697
+ */
698
+ export declare const RecordSortDirectionSchema: GenEnum<RecordSortDirection>;
699
+ /**
700
+ * ConstraintKind is the class of a declared constraint.
701
+ *
702
+ * @generated from enum ai.stigmer.agentic.datastore.v1.ConstraintKind
703
+ */
704
+ export declare enum ConstraintKind {
705
+ /**
706
+ * @generated from enum value: constraint_kind_unspecified = 0;
707
+ */
708
+ constraint_kind_unspecified = 0,
709
+ /**
710
+ * @generated from enum value: unique = 1;
711
+ */
712
+ unique = 1,
713
+ /**
714
+ * @generated from enum value: check = 2;
715
+ */
716
+ check = 2,
717
+ /**
718
+ * @generated from enum value: exists = 3;
719
+ */
720
+ exists = 3,
721
+ /**
722
+ * @generated from enum value: not_exists = 4;
723
+ */
724
+ not_exists = 4
725
+ }
726
+ /**
727
+ * Describes the enum ai.stigmer.agentic.datastore.v1.ConstraintKind.
728
+ */
729
+ export declare const ConstraintKindSchema: GenEnum<ConstraintKind>;