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 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 ROWS, including chunks retired by supersession: a retired
75
- * chunk still occupies a row and is still read by a search that travels back to
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. The cascade prunes every table interleaved
254
- * under AgentInstances, including ones added after this message was written, so
255
- * an enumeration would have to be widened by every change that adds a table and
256
- * would report an internal row shape the caller cannot verify against anything.
257
- * What the receipt attests to is that the workspace and everything beneath it
258
- * were erased in one transaction, at one instant.
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 region's data-plane instance is provisioned and 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 (the region's data-plane instance is being
302
- * created). No data-plane row exists yet; poll GetAgent until ACTIVE.
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
- * validated against the configured allowlist) or the platform default region;
329
- * the region's data-plane instance is provisioned on first use (its tables are
330
- * created once per database, and tenancy is row-level: the AgentInstances row
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 region's data-plane instance is provisioned and 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 (the region's data-plane instance is being
89
- * created). No data-plane row exists yet; poll GetAgent until ACTIVE.
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
  */