jennah-sdk-ts 0.67.0 → 0.69.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/dist/client.d.ts +20 -0
- package/dist/gen/jennah/agent/v1/agent_pb.d.ts +16 -19
- package/dist/gen/jennah/agent/v1/agent_pb.js +3 -4
- package/dist/gen/jennah/agent/v1/memory_pb.d.ts +497 -83
- package/dist/gen/jennah/agent/v1/memory_pb.js +95 -2
- package/dist/gen/jennah/agent/v1/scope_pb.d.ts +2 -2
- package/dist/gen/jennah/auth/v1/auth_pb.d.ts +10 -11
- package/dist/gen/jennah/auth/v1/auth_pb.js +1 -1
- package/dist/gen/jennah/billing/v1/billing_pb.d.ts +13 -3
- package/dist/gen/jennah/billing/v1/billing_pb.js +1 -1
- package/dist/gen/jennah/datastore/v1/data_pb.d.ts +33 -32
- package/dist/gen/jennah/datastore/v1/data_pb.js +2 -2
- package/dist/gen/jennah/datastore/v1/dataset_pb.d.ts +12 -15
- package/dist/gen/jennah/datastore/v1/dataset_pb.js +3 -4
- package/dist/gen/jennah/datastore/v1/schema_pb.d.ts +10 -12
- package/dist/retry.js +6 -0
- package/dist/version.d.ts +2 -2
- package/dist/version.js +2 -2
- package/package.json +1 -1
package/dist/client.d.ts
CHANGED
|
@@ -105,6 +105,26 @@ export declare const SERVICES: {
|
|
|
105
105
|
input: typeof import("./gen/jennah/agent/v1/memory_pb.js").GetMemoryVocabularyRequestSchema;
|
|
106
106
|
output: typeof import("./gen/jennah/agent/v1/memory_pb.js").GetMemoryVocabularyResponseSchema;
|
|
107
107
|
};
|
|
108
|
+
prepareFormationModel: {
|
|
109
|
+
methodKind: "unary";
|
|
110
|
+
input: typeof import("./gen/jennah/agent/v1/memory_pb.js").PrepareFormationModelRequestSchema;
|
|
111
|
+
output: typeof import("./gen/jennah/agent/v1/memory_pb.js").PrepareFormationModelResponseSchema;
|
|
112
|
+
};
|
|
113
|
+
setFormationModel: {
|
|
114
|
+
methodKind: "unary";
|
|
115
|
+
input: typeof import("./gen/jennah/agent/v1/memory_pb.js").SetFormationModelRequestSchema;
|
|
116
|
+
output: typeof import("./gen/jennah/agent/v1/memory_pb.js").SetFormationModelResponseSchema;
|
|
117
|
+
};
|
|
118
|
+
getFormationModel: {
|
|
119
|
+
methodKind: "unary";
|
|
120
|
+
input: typeof import("./gen/jennah/agent/v1/memory_pb.js").GetFormationModelRequestSchema;
|
|
121
|
+
output: typeof import("./gen/jennah/agent/v1/memory_pb.js").GetFormationModelResponseSchema;
|
|
122
|
+
};
|
|
123
|
+
removeFormationModel: {
|
|
124
|
+
methodKind: "unary";
|
|
125
|
+
input: typeof import("./gen/jennah/agent/v1/memory_pb.js").RemoveFormationModelRequestSchema;
|
|
126
|
+
output: typeof import("./gen/jennah/agent/v1/memory_pb.js").RemoveFormationModelResponseSchema;
|
|
127
|
+
};
|
|
108
128
|
}>;
|
|
109
129
|
readonly scopes: import("@bufbuild/protobuf/codegenv2").GenService<{
|
|
110
130
|
createScope: {
|
|
@@ -71,9 +71,9 @@ export declare const AgentInstanceSchema: GenMessage<AgentInstance>;
|
|
|
71
71
|
* the per-query scan budget are measured against, reported so a caller can see it
|
|
72
72
|
* before either limit refuses them.
|
|
73
73
|
*
|
|
74
|
-
* It counts vector chunk
|
|
75
|
-
* chunk still
|
|
76
|
-
* it, so it costs what a current chunk costs. It can therefore exceed the number
|
|
74
|
+
* It counts every STORED vector chunk, including chunks retired by supersession:
|
|
75
|
+
* a retired chunk is still stored and is still read by a search that travels back
|
|
76
|
+
* to it, so it costs what a current chunk costs. It can therefore exceed the number
|
|
77
77
|
* of chunks an ordinary query returns. It may briefly lag a commit that just
|
|
78
78
|
* landed.
|
|
79
79
|
*
|
|
@@ -250,12 +250,12 @@ export declare const DeleteAgentRequestSchema: GenMessage<DeleteAgentRequest>;
|
|
|
250
250
|
* Response message for the AgentService.DeleteAgent rpc.
|
|
251
251
|
*
|
|
252
252
|
* The deletion receipt: the instant the erasure committed. It deliberately does
|
|
253
|
-
* NOT enumerate what was removed.
|
|
254
|
-
*
|
|
255
|
-
* an enumeration would have to be widened
|
|
256
|
-
* would report
|
|
257
|
-
*
|
|
258
|
-
*
|
|
253
|
+
* NOT enumerate what was removed. Everything stored beneath the workspace is
|
|
254
|
+
* erased with it, including kinds of data added after this message was written,
|
|
255
|
+
* so an enumeration would have to be widened every time a new kind is added and
|
|
256
|
+
* would report counts the caller cannot verify against anything. What the
|
|
257
|
+
* receipt attests to is that the workspace and everything beneath it were erased
|
|
258
|
+
* in one transaction, at one instant.
|
|
259
259
|
*
|
|
260
260
|
* @generated from message jennahapi.agent.v1.DeleteAgentResponse
|
|
261
261
|
*/
|
|
@@ -283,8 +283,7 @@ export declare enum AgentStatus {
|
|
|
283
283
|
*/
|
|
284
284
|
UNSPECIFIED = 0,
|
|
285
285
|
/**
|
|
286
|
-
* Ready for use: the
|
|
287
|
-
* AgentInstances row exists in the data plane.
|
|
286
|
+
* Ready for use: the workspace exists in its home region.
|
|
288
287
|
*
|
|
289
288
|
* @generated from enum value: AGENT_STATUS_ACTIVE = 1;
|
|
290
289
|
*/
|
|
@@ -298,8 +297,8 @@ export declare enum AgentStatus {
|
|
|
298
297
|
*/
|
|
299
298
|
COMPLETED = 3,
|
|
300
299
|
/**
|
|
301
|
-
* Provisioning is still in flight
|
|
302
|
-
*
|
|
300
|
+
* Provisioning is still in flight: the home region is being prepared and the
|
|
301
|
+
* workspace cannot hold memory yet. Poll GetAgent until ACTIVE.
|
|
303
302
|
*
|
|
304
303
|
* @generated from enum value: AGENT_STATUS_PROVISIONING = 4;
|
|
305
304
|
*/
|
|
@@ -324,12 +323,10 @@ export declare const AgentStatusSchema: GenEnum<AgentStatus>;
|
|
|
324
323
|
export declare const AgentService: GenService<{
|
|
325
324
|
/**
|
|
326
325
|
* Creates a new agent workspace under the caller's enterprise. The home region
|
|
327
|
-
* is resolved from the optional `region` field (a Jennah region identifier
|
|
328
|
-
*
|
|
329
|
-
*
|
|
330
|
-
*
|
|
331
|
-
* is keyed by EnterpriseId). The EnterpriseId is taken from the token, never
|
|
332
|
-
* the body.
|
|
326
|
+
* is resolved from the optional `region` field (a Jennah region identifier, one
|
|
327
|
+
* of those ListLocations reports) or the platform default region, and the
|
|
328
|
+
* region is prepared for the enterprise on first use. The enterprise is taken
|
|
329
|
+
* from the token, never the body.
|
|
333
330
|
*
|
|
334
331
|
* Returns the workspace synchronously. When provisioning is still in flight
|
|
335
332
|
* the returned AgentInstance carries status AGENT_STATUS_PROVISIONING; poll
|
|
@@ -70,8 +70,7 @@ export var AgentStatus;
|
|
|
70
70
|
*/
|
|
71
71
|
AgentStatus[AgentStatus["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
72
72
|
/**
|
|
73
|
-
* Ready for use: the
|
|
74
|
-
* AgentInstances row exists in the data plane.
|
|
73
|
+
* Ready for use: the workspace exists in its home region.
|
|
75
74
|
*
|
|
76
75
|
* @generated from enum value: AGENT_STATUS_ACTIVE = 1;
|
|
77
76
|
*/
|
|
@@ -85,8 +84,8 @@ export var AgentStatus;
|
|
|
85
84
|
*/
|
|
86
85
|
AgentStatus[AgentStatus["COMPLETED"] = 3] = "COMPLETED";
|
|
87
86
|
/**
|
|
88
|
-
* Provisioning is still in flight
|
|
89
|
-
*
|
|
87
|
+
* Provisioning is still in flight: the home region is being prepared and the
|
|
88
|
+
* workspace cannot hold memory yet. Poll GetAgent until ACTIVE.
|
|
90
89
|
*
|
|
91
90
|
* @generated from enum value: AGENT_STATUS_PROVISIONING = 4;
|
|
92
91
|
*/
|