@lessly/sdk-app 121.0.0 → 121.1.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/CHANGELOG.md CHANGED
@@ -125,14 +125,14 @@ before this point lives in that package.
125
125
  The publish pipeline appends its machine-rendered block for the release being
126
126
  built below this line. It is not committed back to the repo, so in a git
127
127
  checkout this section is empty — see the note at the top.
128
- ## 121.0.0 (major)
128
+ ## 121.1.0 (minor)
129
129
 
130
130
  ### brain
131
- - `brain_cognition_status`: type change on `digest (output)`
132
- - `brain_memory_get`: new optional field `derived (output)`
133
- - `brain_memory_list`: new optional field `memories.derived (output)`
134
- - `brain_memory_search`: its composer-step declaration changed
135
- - `brain_memory_search`: new optional field `profile.source (output)`
136
- - `brain_memory_search`: new optional field `profile.derived (output)`
137
- - `brain_memory_search`: description updated
131
+ - `brain_memory_add`: new optional field `idempotency_key`
132
+ - `brain_memory_add`: new optional field `deduplicated (output)`
133
+ - `brain_memory_add`: description updated
134
+ - `brain_memory_delete`: new optional field `idempotency_key`
135
+ - `brain_memory_delete`: description updated
136
+ - `brain_memory_update`: new optional field `idempotency_key`
137
+ - `brain_memory_update`: description updated
138
138
 
@@ -347984,6 +347984,10 @@ export interface BrainMemoryAddInput {
347984
347984
  metadata?: {
347985
347985
  [k: string]: unknown;
347986
347986
  };
347987
+ /**
347988
+ * Reuse this key when retrying a connection error; the same request returns its original response for 48 hours
347989
+ */
347990
+ idempotency_key?: string;
347987
347991
  /**
347988
347992
  * Source authority (highest→lowest): policy > official > team > informal. Omit to default to official; an unrecognized value is rejected.
347989
347993
  */
@@ -348027,12 +348031,20 @@ export interface BrainMemoryAddOutput {
348027
348031
  * Engine request id for this call — quote it when reporting a problem
348028
348032
  */
348029
348033
  request_id: string;
348034
+ /**
348035
+ * True when an unkeyed add matched one completed in the last 10 minutes; no new memory was written
348036
+ */
348037
+ deduplicated?: boolean;
348030
348038
  }
348031
348039
  export interface BrainMemoryDeleteInput {
348032
348040
  /**
348033
348041
  * Engine memory id
348034
348042
  */
348035
348043
  memory_id: string;
348044
+ /**
348045
+ * Reuse this key when retrying a connection error; the same request returns its original response for 48 hours
348046
+ */
348047
+ idempotency_key?: string;
348036
348048
  }
348037
348049
  export interface BrainMemoryDeleteOutput {
348038
348050
  /**
@@ -348422,6 +348434,10 @@ export interface BrainMemoryUpdateInput {
348422
348434
  * Engine memory id
348423
348435
  */
348424
348436
  memory_id: string;
348437
+ /**
348438
+ * Reuse this key when retrying a connection error; the same request returns its original response for 48 hours
348439
+ */
348440
+ idempotency_key?: string;
348425
348441
  }
348426
348442
  export interface BrainMemoryUpdateOutput {
348427
348443
  /**
@@ -1173,6 +1173,10 @@ var bindings = {
1173
1173
  "in": "body",
1174
1174
  "name": "content"
1175
1175
  },
1176
+ {
1177
+ "in": "body",
1178
+ "name": "idempotency_key"
1179
+ },
1176
1180
  {
1177
1181
  "in": "body",
1178
1182
  "name": "metadata"
@@ -1197,6 +1201,10 @@ var bindings = {
1197
1201
  {
1198
1202
  "in": "path",
1199
1203
  "name": "memory_id"
1204
+ },
1205
+ {
1206
+ "in": "body",
1207
+ "name": "idempotency_key"
1200
1208
  }
1201
1209
  ],
1202
1210
  "path": "/brain/memory/:memory_id",
@@ -1286,6 +1294,10 @@ var bindings = {
1286
1294
  {
1287
1295
  "in": "body",
1288
1296
  "name": "content"
1297
+ },
1298
+ {
1299
+ "in": "body",
1300
+ "name": "idempotency_key"
1289
1301
  }
1290
1302
  ],
1291
1303
  "path": "/brain/memory/:memory_id",
@@ -12421,5 +12433,5 @@ var wsBindings = {
12421
12433
  };
12422
12434
 
12423
12435
  export { bindings, wsBindings };
12424
- //# sourceMappingURL=chunk-3QRFL3AM.js.map
12425
- //# sourceMappingURL=chunk-3QRFL3AM.js.map
12436
+ //# sourceMappingURL=chunk-EO3BN4Q7.js.map
12437
+ //# sourceMappingURL=chunk-EO3BN4Q7.js.map