@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.
- package/ai/stigmer/agentic/agent/v1/spec_pb.d.ts +41 -0
- package/ai/stigmer/agentic/agent/v1/spec_pb.js +8 -3
- package/ai/stigmer/agentic/agent/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/usage_pb.d.ts +17 -0
- package/ai/stigmer/agentic/agentexecution/v1/usage_pb.js +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/usage_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentinstance/v1/spec_pb.d.ts +21 -0
- package/ai/stigmer/agentic/agentinstance/v1/spec_pb.js +1 -1
- package/ai/stigmer/agentic/agentinstance/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/datastore/v1/api_pb.d.ts +64 -0
- package/ai/stigmer/agentic/datastore/v1/api_pb.js +18 -0
- package/ai/stigmer/agentic/datastore/v1/api_pb.js.map +1 -0
- package/ai/stigmer/agentic/datastore/v1/command_connect.d.ts +111 -0
- package/ai/stigmer/agentic/datastore/v1/command_connect.js +119 -0
- package/ai/stigmer/agentic/datastore/v1/command_connect.js.map +1 -0
- package/ai/stigmer/agentic/datastore/v1/command_pb.d.ts +110 -0
- package/ai/stigmer/agentic/datastore/v1/command_pb.js +19 -0
- package/ai/stigmer/agentic/datastore/v1/command_pb.js.map +1 -0
- package/ai/stigmer/agentic/datastore/v1/io_pb.d.ts +64 -0
- package/ai/stigmer/agentic/datastore/v1/io_pb.js +22 -0
- package/ai/stigmer/agentic/datastore/v1/io_pb.js.map +1 -0
- package/ai/stigmer/agentic/datastore/v1/query_connect.d.ts +59 -0
- package/ai/stigmer/agentic/datastore/v1/query_connect.js +68 -0
- package/ai/stigmer/agentic/datastore/v1/query_connect.js.map +1 -0
- package/ai/stigmer/agentic/datastore/v1/query_pb.d.ts +61 -0
- package/ai/stigmer/agentic/datastore/v1/query_pb.js +24 -0
- package/ai/stigmer/agentic/datastore/v1/query_pb.js.map +1 -0
- package/ai/stigmer/agentic/datastore/v1/record_command_connect.d.ts +75 -0
- package/ai/stigmer/agentic/datastore/v1/record_command_connect.js +82 -0
- package/ai/stigmer/agentic/datastore/v1/record_command_connect.js.map +1 -0
- package/ai/stigmer/agentic/datastore/v1/record_command_pb.d.ts +75 -0
- package/ai/stigmer/agentic/datastore/v1/record_command_pb.js +32 -0
- package/ai/stigmer/agentic/datastore/v1/record_command_pb.js.map +1 -0
- package/ai/stigmer/agentic/datastore/v1/record_io_pb.d.ts +729 -0
- package/ai/stigmer/agentic/datastore/v1/record_io_pb.js +198 -0
- package/ai/stigmer/agentic/datastore/v1/record_io_pb.js.map +1 -0
- package/ai/stigmer/agentic/datastore/v1/record_query_connect.d.ts +69 -0
- package/ai/stigmer/agentic/datastore/v1/record_query_connect.js +76 -0
- package/ai/stigmer/agentic/datastore/v1/record_query_connect.js.map +1 -0
- package/ai/stigmer/agentic/datastore/v1/record_query_pb.d.ts +70 -0
- package/ai/stigmer/agentic/datastore/v1/record_query_pb.js +38 -0
- package/ai/stigmer/agentic/datastore/v1/record_query_pb.js.map +1 -0
- package/ai/stigmer/agentic/datastore/v1/spec_pb.d.ts +680 -0
- package/ai/stigmer/agentic/datastore/v1/spec_pb.js +195 -0
- package/ai/stigmer/agentic/datastore/v1/spec_pb.js.map +1 -0
- package/ai/stigmer/agentic/datastore/v1/status_pb.d.ts +159 -0
- package/ai/stigmer/agentic/datastore/v1/status_pb.js +93 -0
- package/ai/stigmer/agentic/datastore/v1/status_pb.js.map +1 -0
- package/ai/stigmer/agentic/session/v1/spec_pb.d.ts +18 -0
- package/ai/stigmer/agentic/session/v1/spec_pb.js +1 -1
- package/ai/stigmer/agentic/session/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/billing/v1/command_connect.d.ts +43 -0
- package/ai/stigmer/billing/v1/command_connect.js +46 -1
- package/ai/stigmer/billing/v1/command_connect.js.map +1 -1
- package/ai/stigmer/billing/v1/command_pb.d.ts +43 -1
- package/ai/stigmer/billing/v1/command_pb.js +3 -1
- package/ai/stigmer/billing/v1/command_pb.js.map +1 -1
- package/ai/stigmer/billing/v1/io_pb.d.ts +274 -0
- package/ai/stigmer/billing/v1/io_pb.js +44 -2
- package/ai/stigmer/billing/v1/io_pb.js.map +1 -1
- package/ai/stigmer/billing/v1/model_pricing_baseline_pb.d.ts +369 -0
- package/ai/stigmer/billing/v1/model_pricing_baseline_pb.js +79 -0
- package/ai/stigmer/billing/v1/model_pricing_baseline_pb.js.map +1 -0
- package/ai/stigmer/billing/v1/pricing_override_pb.d.ts +272 -0
- package/ai/stigmer/billing/v1/pricing_override_pb.js +116 -0
- package/ai/stigmer/billing/v1/pricing_override_pb.js.map +1 -0
- package/ai/stigmer/billing/v1/query_connect.d.ts +31 -0
- package/ai/stigmer/billing/v1/query_connect.js +32 -1
- package/ai/stigmer/billing/v1/query_connect.js.map +1 -1
- package/ai/stigmer/billing/v1/query_pb.d.ts +30 -1
- package/ai/stigmer/billing/v1/query_pb.js +1 -1
- package/ai/stigmer/billing/v1/query_pb.js.map +1 -1
- package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.d.ts +7 -0
- package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js +8 -1
- package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js.map +1 -1
- package/ai/stigmer/iam/v1/enum_pb.d.ts +44 -1
- package/ai/stigmer/iam/v1/enum_pb.js +44 -1
- package/ai/stigmer/iam/v1/enum_pb.js.map +1 -1
- package/ai/stigmer/platform/cursoraccount/v1/command_connect.d.ts +102 -0
- package/ai/stigmer/platform/cursoraccount/v1/command_connect.js +110 -0
- package/ai/stigmer/platform/cursoraccount/v1/command_connect.js.map +1 -0
- package/ai/stigmer/platform/cursoraccount/v1/command_pb.d.ts +100 -0
- package/ai/stigmer/platform/cursoraccount/v1/command_pb.js +32 -0
- package/ai/stigmer/platform/cursoraccount/v1/command_pb.js.map +1 -0
- package/ai/stigmer/platform/cursoraccount/v1/cursor_account_pb.d.ts +331 -0
- package/ai/stigmer/platform/cursoraccount/v1/cursor_account_pb.js +36 -0
- package/ai/stigmer/platform/cursoraccount/v1/cursor_account_pb.js.map +1 -0
- package/ai/stigmer/platform/cursoraccount/v1/io_pb.d.ts +332 -0
- package/ai/stigmer/platform/cursoraccount/v1/io_pb.js +110 -0
- package/ai/stigmer/platform/cursoraccount/v1/io_pb.js.map +1 -0
- package/ai/stigmer/platform/cursoraccount/v1/query_connect.d.ts +44 -0
- package/ai/stigmer/platform/cursoraccount/v1/query_connect.js +51 -0
- package/ai/stigmer/platform/cursoraccount/v1/query_connect.js.map +1 -0
- package/ai/stigmer/platform/cursoraccount/v1/query_pb.d.ts +45 -0
- package/ai/stigmer/platform/cursoraccount/v1/query_pb.js +25 -0
- package/ai/stigmer/platform/cursoraccount/v1/query_pb.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.2 with parameter "target=ts,import_extension=js"
|
|
2
|
+
// @generated from file ai/stigmer/agentic/datastore/v1/record_io.proto (package ai.stigmer.agentic.datastore.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
|
+
import { file_ai_stigmer_agentic_datastore_v1_spec } from "./spec_pb.js";
|
|
6
|
+
import { file_buf_validate_validate } from "../../../../../buf/validate/validate_pb.js";
|
|
7
|
+
import { file_google_protobuf_struct, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file ai/stigmer/agentic/datastore/v1/record_io.proto.
|
|
10
|
+
*/
|
|
11
|
+
export const file_ai_stigmer_agentic_datastore_v1_record_io = /*@__PURE__*/ fileDesc("Ci9haS9zdGlnbWVyL2FnZW50aWMvZGF0YXN0b3J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AyABKAkiZwoUVmVyYkdyYW50RGVzY3JpcHRpb24SPAoEdmVyYhgBIAEoDjIuLmFpLnN0aWdtZXIuYWdlbnRpYy5kYXRhc3RvcmUudjEuRGF0YXN0b3JlVmVyYhIRCglvd25fc2NvcGUYAiABKAgqnQEKEVJlY29yZENvbmRpdGlvbk9wEiMKH3JlY29yZF9jb25kaXRpb25fb3BfdW5zcGVjaWZpZWQQABIGCgJlcRABEgcKA25lcRACEgYKAmd0EAMSBwoDZ3RlEAQSBgoCbHQQBRIHCgNsdGUQBhIJCgVpc19pbhAHEgoKBm5vdF9pbhAIEgsKB2lzX251bGwQCRIMCghub3RfbnVsbBAKKk8KE1JlY29yZFNvcnREaXJlY3Rpb24SJQohcmVjb3JkX3NvcnRfZGlyZWN0aW9uX3Vuc3BlY2lmaWVkEAASBwoDYXNjEAESCAoEZGVzYxACKmQKDkNvbnN0cmFpbnRLaW5kEh8KG2NvbnN0cmFpbnRfa2luZF91bnNwZWNpZmllZBAAEgoKBnVuaXF1ZRABEgkKBWNoZWNrEAISCgoGZXhpc3RzEAMSDgoKbm90X2V4aXN0cxAEYgZwcm90bzM", [file_ai_stigmer_agentic_datastore_v1_spec, file_buf_validate_validate, file_google_protobuf_struct, file_google_protobuf_timestamp]);
|
|
12
|
+
/**
|
|
13
|
+
* Describes the message ai.stigmer.agentic.datastore.v1.RecordEnvelope.
|
|
14
|
+
* Use `create(RecordEnvelopeSchema)` to create a new message.
|
|
15
|
+
*/
|
|
16
|
+
export const RecordEnvelopeSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_datastore_v1_record_io, 0);
|
|
17
|
+
/**
|
|
18
|
+
* Describes the message ai.stigmer.agentic.datastore.v1.RecordList.
|
|
19
|
+
* Use `create(RecordListSchema)` to create a new message.
|
|
20
|
+
*/
|
|
21
|
+
export const RecordListSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_datastore_v1_record_io, 1);
|
|
22
|
+
/**
|
|
23
|
+
* Describes the message ai.stigmer.agentic.datastore.v1.RecordFilter.
|
|
24
|
+
* Use `create(RecordFilterSchema)` to create a new message.
|
|
25
|
+
*/
|
|
26
|
+
export const RecordFilterSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_datastore_v1_record_io, 2);
|
|
27
|
+
/**
|
|
28
|
+
* Describes the message ai.stigmer.agentic.datastore.v1.RecordCondition.
|
|
29
|
+
* Use `create(RecordConditionSchema)` to create a new message.
|
|
30
|
+
*/
|
|
31
|
+
export const RecordConditionSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_datastore_v1_record_io, 3);
|
|
32
|
+
/**
|
|
33
|
+
* Describes the message ai.stigmer.agentic.datastore.v1.RecordOrderBy.
|
|
34
|
+
* Use `create(RecordOrderBySchema)` to create a new message.
|
|
35
|
+
*/
|
|
36
|
+
export const RecordOrderBySchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_datastore_v1_record_io, 4);
|
|
37
|
+
/**
|
|
38
|
+
* Describes the message ai.stigmer.agentic.datastore.v1.FindRecordsRequest.
|
|
39
|
+
* Use `create(FindRecordsRequestSchema)` to create a new message.
|
|
40
|
+
*/
|
|
41
|
+
export const FindRecordsRequestSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_datastore_v1_record_io, 5);
|
|
42
|
+
/**
|
|
43
|
+
* Describes the message ai.stigmer.agentic.datastore.v1.InsertRecordRequest.
|
|
44
|
+
* Use `create(InsertRecordRequestSchema)` to create a new message.
|
|
45
|
+
*/
|
|
46
|
+
export const InsertRecordRequestSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_datastore_v1_record_io, 6);
|
|
47
|
+
/**
|
|
48
|
+
* Describes the message ai.stigmer.agentic.datastore.v1.UpdateRecordRequest.
|
|
49
|
+
* Use `create(UpdateRecordRequestSchema)` to create a new message.
|
|
50
|
+
*/
|
|
51
|
+
export const UpdateRecordRequestSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_datastore_v1_record_io, 7);
|
|
52
|
+
/**
|
|
53
|
+
* Describes the message ai.stigmer.agentic.datastore.v1.DeleteRecordRequest.
|
|
54
|
+
* Use `create(DeleteRecordRequestSchema)` to create a new message.
|
|
55
|
+
*/
|
|
56
|
+
export const DeleteRecordRequestSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_datastore_v1_record_io, 8);
|
|
57
|
+
/**
|
|
58
|
+
* Describes the message ai.stigmer.agentic.datastore.v1.DescribeDatastoreRequest.
|
|
59
|
+
* Use `create(DescribeDatastoreRequestSchema)` to create a new message.
|
|
60
|
+
*/
|
|
61
|
+
export const DescribeDatastoreRequestSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_datastore_v1_record_io, 9);
|
|
62
|
+
/**
|
|
63
|
+
* Describes the message ai.stigmer.agentic.datastore.v1.DatastoreDescription.
|
|
64
|
+
* Use `create(DatastoreDescriptionSchema)` to create a new message.
|
|
65
|
+
*/
|
|
66
|
+
export const DatastoreDescriptionSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_datastore_v1_record_io, 10);
|
|
67
|
+
/**
|
|
68
|
+
* Describes the message ai.stigmer.agentic.datastore.v1.CollectionDescription.
|
|
69
|
+
* Use `create(CollectionDescriptionSchema)` to create a new message.
|
|
70
|
+
*/
|
|
71
|
+
export const CollectionDescriptionSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_datastore_v1_record_io, 11);
|
|
72
|
+
/**
|
|
73
|
+
* Describes the message ai.stigmer.agentic.datastore.v1.ConstraintDescription.
|
|
74
|
+
* Use `create(ConstraintDescriptionSchema)` to create a new message.
|
|
75
|
+
*/
|
|
76
|
+
export const ConstraintDescriptionSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_datastore_v1_record_io, 12);
|
|
77
|
+
/**
|
|
78
|
+
* Describes the message ai.stigmer.agentic.datastore.v1.VerbGrantDescription.
|
|
79
|
+
* Use `create(VerbGrantDescriptionSchema)` to create a new message.
|
|
80
|
+
*/
|
|
81
|
+
export const VerbGrantDescriptionSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_datastore_v1_record_io, 13);
|
|
82
|
+
/**
|
|
83
|
+
* RecordConditionOp is the comparison operator of a condition.
|
|
84
|
+
*
|
|
85
|
+
* @internal
|
|
86
|
+
* `is_in` rather than `in` because protoc emits enum constants verbatim
|
|
87
|
+
* and `in` is a reserved word in Java and Python.
|
|
88
|
+
*
|
|
89
|
+
* @generated from enum ai.stigmer.agentic.datastore.v1.RecordConditionOp
|
|
90
|
+
*/
|
|
91
|
+
export var RecordConditionOp;
|
|
92
|
+
(function (RecordConditionOp) {
|
|
93
|
+
/**
|
|
94
|
+
* @generated from enum value: record_condition_op_unspecified = 0;
|
|
95
|
+
*/
|
|
96
|
+
RecordConditionOp[RecordConditionOp["record_condition_op_unspecified"] = 0] = "record_condition_op_unspecified";
|
|
97
|
+
/**
|
|
98
|
+
* @generated from enum value: eq = 1;
|
|
99
|
+
*/
|
|
100
|
+
RecordConditionOp[RecordConditionOp["eq"] = 1] = "eq";
|
|
101
|
+
/**
|
|
102
|
+
* @generated from enum value: neq = 2;
|
|
103
|
+
*/
|
|
104
|
+
RecordConditionOp[RecordConditionOp["neq"] = 2] = "neq";
|
|
105
|
+
/**
|
|
106
|
+
* @generated from enum value: gt = 3;
|
|
107
|
+
*/
|
|
108
|
+
RecordConditionOp[RecordConditionOp["gt"] = 3] = "gt";
|
|
109
|
+
/**
|
|
110
|
+
* @generated from enum value: gte = 4;
|
|
111
|
+
*/
|
|
112
|
+
RecordConditionOp[RecordConditionOp["gte"] = 4] = "gte";
|
|
113
|
+
/**
|
|
114
|
+
* @generated from enum value: lt = 5;
|
|
115
|
+
*/
|
|
116
|
+
RecordConditionOp[RecordConditionOp["lt"] = 5] = "lt";
|
|
117
|
+
/**
|
|
118
|
+
* @generated from enum value: lte = 6;
|
|
119
|
+
*/
|
|
120
|
+
RecordConditionOp[RecordConditionOp["lte"] = 6] = "lte";
|
|
121
|
+
/**
|
|
122
|
+
* @generated from enum value: is_in = 7;
|
|
123
|
+
*/
|
|
124
|
+
RecordConditionOp[RecordConditionOp["is_in"] = 7] = "is_in";
|
|
125
|
+
/**
|
|
126
|
+
* @generated from enum value: not_in = 8;
|
|
127
|
+
*/
|
|
128
|
+
RecordConditionOp[RecordConditionOp["not_in"] = 8] = "not_in";
|
|
129
|
+
/**
|
|
130
|
+
* @generated from enum value: is_null = 9;
|
|
131
|
+
*/
|
|
132
|
+
RecordConditionOp[RecordConditionOp["is_null"] = 9] = "is_null";
|
|
133
|
+
/**
|
|
134
|
+
* @generated from enum value: not_null = 10;
|
|
135
|
+
*/
|
|
136
|
+
RecordConditionOp[RecordConditionOp["not_null"] = 10] = "not_null";
|
|
137
|
+
})(RecordConditionOp || (RecordConditionOp = {}));
|
|
138
|
+
/**
|
|
139
|
+
* Describes the enum ai.stigmer.agentic.datastore.v1.RecordConditionOp.
|
|
140
|
+
*/
|
|
141
|
+
export const RecordConditionOpSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_agentic_datastore_v1_record_io, 0);
|
|
142
|
+
/**
|
|
143
|
+
* RecordSortDirection is the direction of a sort.
|
|
144
|
+
*
|
|
145
|
+
* @generated from enum ai.stigmer.agentic.datastore.v1.RecordSortDirection
|
|
146
|
+
*/
|
|
147
|
+
export var RecordSortDirection;
|
|
148
|
+
(function (RecordSortDirection) {
|
|
149
|
+
/**
|
|
150
|
+
* @generated from enum value: record_sort_direction_unspecified = 0;
|
|
151
|
+
*/
|
|
152
|
+
RecordSortDirection[RecordSortDirection["record_sort_direction_unspecified"] = 0] = "record_sort_direction_unspecified";
|
|
153
|
+
/**
|
|
154
|
+
* @generated from enum value: asc = 1;
|
|
155
|
+
*/
|
|
156
|
+
RecordSortDirection[RecordSortDirection["asc"] = 1] = "asc";
|
|
157
|
+
/**
|
|
158
|
+
* @generated from enum value: desc = 2;
|
|
159
|
+
*/
|
|
160
|
+
RecordSortDirection[RecordSortDirection["desc"] = 2] = "desc";
|
|
161
|
+
})(RecordSortDirection || (RecordSortDirection = {}));
|
|
162
|
+
/**
|
|
163
|
+
* Describes the enum ai.stigmer.agentic.datastore.v1.RecordSortDirection.
|
|
164
|
+
*/
|
|
165
|
+
export const RecordSortDirectionSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_agentic_datastore_v1_record_io, 1);
|
|
166
|
+
/**
|
|
167
|
+
* ConstraintKind is the class of a declared constraint.
|
|
168
|
+
*
|
|
169
|
+
* @generated from enum ai.stigmer.agentic.datastore.v1.ConstraintKind
|
|
170
|
+
*/
|
|
171
|
+
export var ConstraintKind;
|
|
172
|
+
(function (ConstraintKind) {
|
|
173
|
+
/**
|
|
174
|
+
* @generated from enum value: constraint_kind_unspecified = 0;
|
|
175
|
+
*/
|
|
176
|
+
ConstraintKind[ConstraintKind["constraint_kind_unspecified"] = 0] = "constraint_kind_unspecified";
|
|
177
|
+
/**
|
|
178
|
+
* @generated from enum value: unique = 1;
|
|
179
|
+
*/
|
|
180
|
+
ConstraintKind[ConstraintKind["unique"] = 1] = "unique";
|
|
181
|
+
/**
|
|
182
|
+
* @generated from enum value: check = 2;
|
|
183
|
+
*/
|
|
184
|
+
ConstraintKind[ConstraintKind["check"] = 2] = "check";
|
|
185
|
+
/**
|
|
186
|
+
* @generated from enum value: exists = 3;
|
|
187
|
+
*/
|
|
188
|
+
ConstraintKind[ConstraintKind["exists"] = 3] = "exists";
|
|
189
|
+
/**
|
|
190
|
+
* @generated from enum value: not_exists = 4;
|
|
191
|
+
*/
|
|
192
|
+
ConstraintKind[ConstraintKind["not_exists"] = 4] = "not_exists";
|
|
193
|
+
})(ConstraintKind || (ConstraintKind = {}));
|
|
194
|
+
/**
|
|
195
|
+
* Describes the enum ai.stigmer.agentic.datastore.v1.ConstraintKind.
|
|
196
|
+
*/
|
|
197
|
+
export const ConstraintKindSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_agentic_datastore_v1_record_io, 2);
|
|
198
|
+
//# sourceMappingURL=record_io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AA;IAEP;;OAEG;IACH,2DAAS,CAAA;IAET;;OAEG;IACH,6DAAU,CAAA;IAEV;;OAEG;IACH,+DAAW,CAAA;IAEX;;OAEG;IACH,kEAAa,CAAA;AACf,CAAC,EAvDW,iBAAiB,KAAjB,iBAAiB,QAuD5B;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAA+B,aAAa,CAC9E,QAAQ,CAAC,8CAA8C,EAAE,CAAC,CAAC,CAAC;AAE9D;;;;GAIG;AACH,MAAM,CAAN,IAAY,mBAeX;AAfD,WAAY,mBAAmB;IAC7B;;OAEG;IACH,uHAAqC,CAAA;IAErC;;OAEG;IACH,2DAAO,CAAA;IAEP;;OAEG;IACH,6DAAQ,CAAA;AACV,CAAC,EAfW,mBAAmB,KAAnB,mBAAmB,QAe9B;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAiC,aAAa,CAClF,QAAQ,CAAC,8CAA8C,EAAE,CAAC,CAAC,CAAC;AAE9D;;;;GAIG;AACH,MAAM,CAAN,IAAY,cAyBX;AAzBD,WAAY,cAAc;IACxB;;OAEG;IACH,iGAA+B,CAAA;IAE/B;;OAEG;IACH,uDAAU,CAAA;IAEV;;OAEG;IACH,qDAAS,CAAA;IAET;;OAEG;IACH,uDAAU,CAAA;IAEV;;OAEG;IACH,+DAAc,CAAA;AAChB,CAAC,EAzBW,cAAc,KAAd,cAAc,QAyBzB;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAA4B,aAAa,CACxE,QAAQ,CAAC,8CAA8C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DatastoreRecordQueryController handles record reads and schema
|
|
3
|
+
* discovery for datastores.
|
|
4
|
+
*
|
|
5
|
+
* @internal
|
|
6
|
+
* Record RPCs are slug-addressed and carry is_skip_authorization: the
|
|
7
|
+
* declarative interceptor cannot resolve a slug to an FGA object id,
|
|
8
|
+
* and the reach check dispatches on credential class (DD-006), which a
|
|
9
|
+
* static method option cannot express. Every handler enforces the
|
|
10
|
+
* two-layer model in-order, fail-closed:
|
|
11
|
+
* Layer 1 (reach): session-bound runner credentials resolve token →
|
|
12
|
+
* session → agent, require the agent's datastore_usages to name the
|
|
13
|
+
* slug, and require the datastore's org to match; direct platform
|
|
14
|
+
* principals require can_use_records on the resolved datastore (FGA
|
|
15
|
+
* in cloud, local trust in OSS).
|
|
16
|
+
* Layer 2 (grants): resolved subject → binding → role →
|
|
17
|
+
* per-collection grant, verb + own scope, in datastore domain logic
|
|
18
|
+
* in both editions.
|
|
19
|
+
* No identity fields appear in any request — subject resolution is
|
|
20
|
+
* credential and session state only. Domain errors carry
|
|
21
|
+
* google.rpc.ErrorInfo (reason + constraint) and agent-relayable
|
|
22
|
+
* messages, byte-identical across editions.
|
|
23
|
+
*
|
|
24
|
+
* @generated from service ai.stigmer.agentic.datastore.v1.DatastoreRecordQueryController
|
|
25
|
+
*/
|
|
26
|
+
export declare const DatastoreRecordQueryController: {
|
|
27
|
+
readonly typeName: "ai.stigmer.agentic.datastore.v1.DatastoreRecordQueryController";
|
|
28
|
+
readonly methods: {
|
|
29
|
+
/**
|
|
30
|
+
* Find records in a collection with a typed filter.
|
|
31
|
+
*
|
|
32
|
+
* Requires the read verb on the collection. Results are paginated
|
|
33
|
+
* (default 25, max 100) and deterministically ordered.
|
|
34
|
+
*
|
|
35
|
+
* @internal
|
|
36
|
+
* An own-scoped read grant composes the scope into the query as an
|
|
37
|
+
* inexpressible conjunction — callers can neither relax nor observe
|
|
38
|
+
* it.
|
|
39
|
+
*
|
|
40
|
+
* @generated from rpc ai.stigmer.agentic.datastore.v1.DatastoreRecordQueryController.findRecords
|
|
41
|
+
*/
|
|
42
|
+
readonly findRecords: {
|
|
43
|
+
readonly name: "findRecords";
|
|
44
|
+
readonly I: any;
|
|
45
|
+
readonly O: any;
|
|
46
|
+
readonly kind: any;
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* Describe a datastore's collections, fields, constraints, and the
|
|
50
|
+
* caller's effective verbs per collection.
|
|
51
|
+
*
|
|
52
|
+
* Requires reach only (no per-collection verb): a caller with no
|
|
53
|
+
* grants sees the schema with empty access lists.
|
|
54
|
+
*
|
|
55
|
+
* @internal
|
|
56
|
+
* The effective-verb resolution runs the same Layer 2 chain as record
|
|
57
|
+
* operations, at describe time. Operator state (bindings, seeds, sync
|
|
58
|
+
* report) is deliberately excluded from the projection.
|
|
59
|
+
*
|
|
60
|
+
* @generated from rpc ai.stigmer.agentic.datastore.v1.DatastoreRecordQueryController.describeDatastore
|
|
61
|
+
*/
|
|
62
|
+
readonly describeDatastore: {
|
|
63
|
+
readonly name: "describeDatastore";
|
|
64
|
+
readonly I: any;
|
|
65
|
+
readonly O: any;
|
|
66
|
+
readonly kind: any;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.6.1 with parameter "target=ts,import_extension=js"
|
|
2
|
+
// @generated from file ai/stigmer/agentic/datastore/v1/record_query.proto (package ai.stigmer.agentic.datastore.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
import { DatastoreDescription, DescribeDatastoreRequest, FindRecordsRequest, RecordList } from "./record_io_pbjs";
|
|
6
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
7
|
+
/**
|
|
8
|
+
* DatastoreRecordQueryController handles record reads and schema
|
|
9
|
+
* discovery for datastores.
|
|
10
|
+
*
|
|
11
|
+
* @internal
|
|
12
|
+
* Record RPCs are slug-addressed and carry is_skip_authorization: the
|
|
13
|
+
* declarative interceptor cannot resolve a slug to an FGA object id,
|
|
14
|
+
* and the reach check dispatches on credential class (DD-006), which a
|
|
15
|
+
* static method option cannot express. Every handler enforces the
|
|
16
|
+
* two-layer model in-order, fail-closed:
|
|
17
|
+
* Layer 1 (reach): session-bound runner credentials resolve token →
|
|
18
|
+
* session → agent, require the agent's datastore_usages to name the
|
|
19
|
+
* slug, and require the datastore's org to match; direct platform
|
|
20
|
+
* principals require can_use_records on the resolved datastore (FGA
|
|
21
|
+
* in cloud, local trust in OSS).
|
|
22
|
+
* Layer 2 (grants): resolved subject → binding → role →
|
|
23
|
+
* per-collection grant, verb + own scope, in datastore domain logic
|
|
24
|
+
* in both editions.
|
|
25
|
+
* No identity fields appear in any request — subject resolution is
|
|
26
|
+
* credential and session state only. Domain errors carry
|
|
27
|
+
* google.rpc.ErrorInfo (reason + constraint) and agent-relayable
|
|
28
|
+
* messages, byte-identical across editions.
|
|
29
|
+
*
|
|
30
|
+
* @generated from service ai.stigmer.agentic.datastore.v1.DatastoreRecordQueryController
|
|
31
|
+
*/
|
|
32
|
+
export const DatastoreRecordQueryController = {
|
|
33
|
+
typeName: "ai.stigmer.agentic.datastore.v1.DatastoreRecordQueryController",
|
|
34
|
+
methods: {
|
|
35
|
+
/**
|
|
36
|
+
* Find records in a collection with a typed filter.
|
|
37
|
+
*
|
|
38
|
+
* Requires the read verb on the collection. Results are paginated
|
|
39
|
+
* (default 25, max 100) and deterministically ordered.
|
|
40
|
+
*
|
|
41
|
+
* @internal
|
|
42
|
+
* An own-scoped read grant composes the scope into the query as an
|
|
43
|
+
* inexpressible conjunction — callers can neither relax nor observe
|
|
44
|
+
* it.
|
|
45
|
+
*
|
|
46
|
+
* @generated from rpc ai.stigmer.agentic.datastore.v1.DatastoreRecordQueryController.findRecords
|
|
47
|
+
*/
|
|
48
|
+
findRecords: {
|
|
49
|
+
name: "findRecords",
|
|
50
|
+
I: FindRecordsRequest,
|
|
51
|
+
O: RecordList,
|
|
52
|
+
kind: MethodKind.Unary,
|
|
53
|
+
},
|
|
54
|
+
/**
|
|
55
|
+
* Describe a datastore's collections, fields, constraints, and the
|
|
56
|
+
* caller's effective verbs per collection.
|
|
57
|
+
*
|
|
58
|
+
* Requires reach only (no per-collection verb): a caller with no
|
|
59
|
+
* grants sees the schema with empty access lists.
|
|
60
|
+
*
|
|
61
|
+
* @internal
|
|
62
|
+
* The effective-verb resolution runs the same Layer 2 chain as record
|
|
63
|
+
* operations, at describe time. Operator state (bindings, seeds, sync
|
|
64
|
+
* report) is deliberately excluded from the projection.
|
|
65
|
+
*
|
|
66
|
+
* @generated from rpc ai.stigmer.agentic.datastore.v1.DatastoreRecordQueryController.describeDatastore
|
|
67
|
+
*/
|
|
68
|
+
describeDatastore: {
|
|
69
|
+
name: "describeDatastore",
|
|
70
|
+
I: DescribeDatastoreRequest,
|
|
71
|
+
O: DatastoreDescription,
|
|
72
|
+
kind: MethodKind.Unary,
|
|
73
|
+
},
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
//# sourceMappingURL=record_query_connect.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"record_query_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/datastore/v1/record_query_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,mIAAmI;AACnI,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAClH,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG;IAC5C,QAAQ,EAAE,gEAAgE;IAC1E,OAAO,EAAE;QACP;;;;;;;;;;;;WAYG;QACH,WAAW,EAAE;YACX,IAAI,EAAE,aAAa;YACnB,CAAC,EAAE,kBAAkB;YACrB,CAAC,EAAE,UAAU;YACb,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;WAaG;QACH,iBAAiB,EAAE;YACjB,IAAI,EAAE,mBAAmB;YACzB,CAAC,EAAE,wBAAwB;YAC3B,CAAC,EAAE,oBAAoB;YACvB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
import type { DatastoreDescriptionSchema, DescribeDatastoreRequestSchema, FindRecordsRequestSchema, RecordListSchema } from "./record_io_pb.js";
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file ai/stigmer/agentic/datastore/v1/record_query.proto.
|
|
5
|
+
*/
|
|
6
|
+
export declare const file_ai_stigmer_agentic_datastore_v1_record_query: GenFile;
|
|
7
|
+
/**
|
|
8
|
+
* DatastoreRecordQueryController handles record reads and schema
|
|
9
|
+
* discovery for datastores.
|
|
10
|
+
*
|
|
11
|
+
* @internal
|
|
12
|
+
* Record RPCs are slug-addressed and carry is_skip_authorization: the
|
|
13
|
+
* declarative interceptor cannot resolve a slug to an FGA object id,
|
|
14
|
+
* and the reach check dispatches on credential class (DD-006), which a
|
|
15
|
+
* static method option cannot express. Every handler enforces the
|
|
16
|
+
* two-layer model in-order, fail-closed:
|
|
17
|
+
* Layer 1 (reach): session-bound runner credentials resolve token →
|
|
18
|
+
* session → agent, require the agent's datastore_usages to name the
|
|
19
|
+
* slug, and require the datastore's org to match; direct platform
|
|
20
|
+
* principals require can_use_records on the resolved datastore (FGA
|
|
21
|
+
* in cloud, local trust in OSS).
|
|
22
|
+
* Layer 2 (grants): resolved subject → binding → role →
|
|
23
|
+
* per-collection grant, verb + own scope, in datastore domain logic
|
|
24
|
+
* in both editions.
|
|
25
|
+
* No identity fields appear in any request — subject resolution is
|
|
26
|
+
* credential and session state only. Domain errors carry
|
|
27
|
+
* google.rpc.ErrorInfo (reason + constraint) and agent-relayable
|
|
28
|
+
* messages, byte-identical across editions.
|
|
29
|
+
*
|
|
30
|
+
* @generated from service ai.stigmer.agentic.datastore.v1.DatastoreRecordQueryController
|
|
31
|
+
*/
|
|
32
|
+
export declare const DatastoreRecordQueryController: GenService<{
|
|
33
|
+
/**
|
|
34
|
+
* Find records in a collection with a typed filter.
|
|
35
|
+
*
|
|
36
|
+
* Requires the read verb on the collection. Results are paginated
|
|
37
|
+
* (default 25, max 100) and deterministically ordered.
|
|
38
|
+
*
|
|
39
|
+
* @internal
|
|
40
|
+
* An own-scoped read grant composes the scope into the query as an
|
|
41
|
+
* inexpressible conjunction — callers can neither relax nor observe
|
|
42
|
+
* it.
|
|
43
|
+
*
|
|
44
|
+
* @generated from rpc ai.stigmer.agentic.datastore.v1.DatastoreRecordQueryController.findRecords
|
|
45
|
+
*/
|
|
46
|
+
findRecords: {
|
|
47
|
+
methodKind: "unary";
|
|
48
|
+
input: typeof FindRecordsRequestSchema;
|
|
49
|
+
output: typeof RecordListSchema;
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Describe a datastore's collections, fields, constraints, and the
|
|
53
|
+
* caller's effective verbs per collection.
|
|
54
|
+
*
|
|
55
|
+
* Requires reach only (no per-collection verb): a caller with no
|
|
56
|
+
* grants sees the schema with empty access lists.
|
|
57
|
+
*
|
|
58
|
+
* @internal
|
|
59
|
+
* The effective-verb resolution runs the same Layer 2 chain as record
|
|
60
|
+
* operations, at describe time. Operator state (bindings, seeds, sync
|
|
61
|
+
* report) is deliberately excluded from the projection.
|
|
62
|
+
*
|
|
63
|
+
* @generated from rpc ai.stigmer.agentic.datastore.v1.DatastoreRecordQueryController.describeDatastore
|
|
64
|
+
*/
|
|
65
|
+
describeDatastore: {
|
|
66
|
+
methodKind: "unary";
|
|
67
|
+
input: typeof DescribeDatastoreRequestSchema;
|
|
68
|
+
output: typeof DatastoreDescriptionSchema;
|
|
69
|
+
};
|
|
70
|
+
}>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.2 with parameter "target=ts,import_extension=js"
|
|
2
|
+
// @generated from file ai/stigmer/agentic/datastore/v1/record_query.proto (package ai.stigmer.agentic.datastore.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
|
+
import { file_ai_stigmer_agentic_datastore_v1_record_io } from "./record_io_pb.js";
|
|
6
|
+
import { file_ai_stigmer_commons_apiresource_rpc_service_options } from "../../../commons/apiresource/rpc_service_options_pb.js";
|
|
7
|
+
import { file_ai_stigmer_commons_rpc_method_options } from "../../../commons/rpc/method_options_pb.js";
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file ai/stigmer/agentic/datastore/v1/record_query.proto.
|
|
10
|
+
*/
|
|
11
|
+
export const file_ai_stigmer_agentic_datastore_v1_record_query = /*@__PURE__*/ fileDesc("CjJhaS9zdGlnbWVyL2FnZW50aWMvZGF0YXN0b3JlL3YxL3JlY29yZF9xdWVyeS5wcm90bxIfYWkuc3RpZ21lci5hZ2VudGljLmRhdGFzdG9yZS52MTKrAgoeRGF0YXN0b3JlUmVjb3JkUXVlcnlDb250cm9sbGVyEnUKC2ZpbmRSZWNvcmRzEjMuYWkuc3RpZ21lci5hZ2VudGljLmRhdGFzdG9yZS52MS5GaW5kUmVjb3Jkc1JlcXVlc3QaKy5haS5zdGlnbWVyLmFnZW50aWMuZGF0YXN0b3JlLnYxLlJlY29yZExpc3QiBNC4GAESiwEKEWRlc2NyaWJlRGF0YXN0b3JlEjkuYWkuc3RpZ21lci5hZ2VudGljLmRhdGFzdG9yZS52MS5EZXNjcmliZURhdGFzdG9yZVJlcXVlc3QaNS5haS5zdGlnbWVyLmFnZW50aWMuZGF0YXN0b3JlLnYxLkRhdGFzdG9yZURlc2NyaXB0aW9uIgTQuBgBGgSg/ysxYgZwcm90bzM", [file_ai_stigmer_agentic_datastore_v1_record_io, file_ai_stigmer_commons_apiresource_rpc_service_options, file_ai_stigmer_commons_rpc_method_options]);
|
|
12
|
+
/**
|
|
13
|
+
* DatastoreRecordQueryController handles record reads and schema
|
|
14
|
+
* discovery for datastores.
|
|
15
|
+
*
|
|
16
|
+
* @internal
|
|
17
|
+
* Record RPCs are slug-addressed and carry is_skip_authorization: the
|
|
18
|
+
* declarative interceptor cannot resolve a slug to an FGA object id,
|
|
19
|
+
* and the reach check dispatches on credential class (DD-006), which a
|
|
20
|
+
* static method option cannot express. Every handler enforces the
|
|
21
|
+
* two-layer model in-order, fail-closed:
|
|
22
|
+
* Layer 1 (reach): session-bound runner credentials resolve token →
|
|
23
|
+
* session → agent, require the agent's datastore_usages to name the
|
|
24
|
+
* slug, and require the datastore's org to match; direct platform
|
|
25
|
+
* principals require can_use_records on the resolved datastore (FGA
|
|
26
|
+
* in cloud, local trust in OSS).
|
|
27
|
+
* Layer 2 (grants): resolved subject → binding → role →
|
|
28
|
+
* per-collection grant, verb + own scope, in datastore domain logic
|
|
29
|
+
* in both editions.
|
|
30
|
+
* No identity fields appear in any request — subject resolution is
|
|
31
|
+
* credential and session state only. Domain errors carry
|
|
32
|
+
* google.rpc.ErrorInfo (reason + constraint) and agent-relayable
|
|
33
|
+
* messages, byte-identical across editions.
|
|
34
|
+
*
|
|
35
|
+
* @generated from service ai.stigmer.agentic.datastore.v1.DatastoreRecordQueryController
|
|
36
|
+
*/
|
|
37
|
+
export const DatastoreRecordQueryController = /*@__PURE__*/ serviceDesc(file_ai_stigmer_agentic_datastore_v1_record_query, 0);
|
|
38
|
+
//# sourceMappingURL=record_query_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"record_query_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/datastore/v1/record_query_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,mIAAmI;AACnI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,8CAA8C,EAAE,MAAM,mBAAmB,CAAC;AACnF,OAAO,EAAE,uDAAuD,EAAE,MAAM,wDAAwD,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG;;GAEG;AACH,MAAM,CAAC,MAAM,iDAAiD,GAAY,aAAa,CACrF,QAAQ,CAAC,ihBAAihB,EAAE,CAAC,8CAA8C,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAErrB;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAsCtC,aAAa,CAChB,WAAW,CAAC,iDAAiD,EAAE,CAAC,CAAC,CAAC"}
|