@lessly/sdk-app 120.2.0 → 121.0.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,13 +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
- ## 120.2.0 (minor)
129
-
130
- ### deployment
131
- - `deployment_job_run`: new optional field `cancelledBy (output)`
132
- - `deployment_job_run`: new accepted value on `status (output)`
133
- - added `deployment_job_run_cancel`
134
- - `deployment_job_run_logs`: new accepted value on `status (output)`
135
- - `deployment_job_runs_list`: new optional field `items.cancelledBy (output)`
136
- - `deployment_job_runs_list`: new accepted value on `items.status (output)`
128
+ ## 121.0.0 (major)
129
+
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
137
138
 
@@ -346631,7 +346631,7 @@ export interface BrainCognitionStatusOutput {
346631
346631
  error: (string | null);
346632
346632
  result?: unknown;
346633
346633
  run_id: string;
346634
- status: string;
346634
+ status: ("running" | "done" | "failed");
346635
346635
  started_at: string;
346636
346636
  finished_at: (string | null);
346637
346637
  } | null);
@@ -346640,7 +346640,7 @@ export interface BrainCognitionStatusOutput {
346640
346640
  error: (string | null);
346641
346641
  result?: unknown;
346642
346642
  run_id: string;
346643
- status: string;
346643
+ status: ("running" | "done" | "failed");
346644
346644
  started_at: string;
346645
346645
  finished_at: (string | null);
346646
346646
  } | null);
@@ -348044,7 +348044,7 @@ export interface BrainMemoryDeleteOutput {
348044
348044
  */
348045
348045
  request_id: string;
348046
348046
  /**
348047
- * How many memory rows the engine removed for this id; 0 when it was already gone
348047
+ * 1 when the engine removed this memory from vector or graph storage; 0 when it was already gone
348048
348048
  */
348049
348049
  deleted_count: number;
348050
348050
  }
@@ -348081,6 +348081,10 @@ export interface BrainMemoryGetOutput {
348081
348081
  * The memory text itself
348082
348082
  */
348083
348083
  content: string;
348084
+ /**
348085
+ * True when this memory was machine-extracted from a raw memory
348086
+ */
348087
+ derived: boolean;
348084
348088
  /**
348085
348089
  * Engine user namespace the memory was written under
348086
348090
  */
@@ -348191,6 +348195,10 @@ export interface BrainMemoryListOutput {
348191
348195
  * The memory text itself
348192
348196
  */
348193
348197
  content: string;
348198
+ /**
348199
+ * True when this memory was machine-extracted from a raw memory
348200
+ */
348201
+ derived: boolean;
348194
348202
  /**
348195
348203
  * Engine user namespace the memory was written under
348196
348204
  */
@@ -348274,10 +348282,31 @@ export interface BrainMemorySearchOutputItems {
348274
348282
  * How closely this hit matches the query — higher is closer. An engine-internal scale, not a percentage; compare hits against each other, never against a fixed threshold.
348275
348283
  */
348276
348284
  score: number;
348285
+ /**
348286
+ * Readable raw memory for verification; null when missing or outside your scope
348287
+ */
348288
+ source: ({
348289
+ /**
348290
+ * Raw memory text, at most 2000 Unicode characters
348291
+ */
348292
+ content: string;
348293
+ /**
348294
+ * Id of the raw memory this item was extracted from
348295
+ */
348296
+ memory_id: string;
348297
+ /**
348298
+ * True when the raw memory text was longer than 2000 Unicode characters
348299
+ */
348300
+ truncated: boolean;
348301
+ } | null);
348277
348302
  /**
348278
348303
  * The memory text itself
348279
348304
  */
348280
348305
  content: string;
348306
+ /**
348307
+ * True when this memory was machine-extracted from a raw memory; extracted content can be wrong
348308
+ */
348309
+ derived: boolean;
348281
348310
  /**
348282
348311
  * When the remembered EVENT happened, epoch milliseconds; null when the writer stated no time
348283
348312
  */
package/dist/index.cjs CHANGED
@@ -13333,7 +13333,7 @@ var compositions = {
13333
13333
  "brain_memory_delete": { "label": "Delete memory", "options": { "memory_id": "brain_memory_list" } },
13334
13334
  "brain_memory_get": { "pii": ["output.content"], "label": "Get memory", "options": { "memory_id": "brain_memory_list" } },
13335
13335
  "brain_memory_list": { "pii": ["output.memories[].content", "output.memories[].custom"], "label": "List memories" },
13336
- "brain_memory_search": { "pii": ["input.query", "output.profile[].content", "output.normal[].content", "output.proactive[].content"], "label": "Search memories" },
13336
+ "brain_memory_search": { "pii": ["input.query", "output.profile[].content", "output.profile[].source.content", "output.normal[].content", "output.normal[].source.content", "output.proactive[].content", "output.proactive[].source.content"], "label": "Search memories" },
13337
13337
  "brain_memory_stats": { "label": "Memory stats" },
13338
13338
  "brain_memory_update": { "pii": ["input.content"], "label": "Update memory", "options": { "memory_id": "brain_memory_list" } },
13339
13339
  "brain_usage_report": { "label": "Get usage report" },