@cadenya/cadenya 0.88.0 → 0.90.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 +16 -0
- package/client.d.mts +1 -1
- package/client.d.ts +1 -1
- package/client.js +1 -1
- package/client.mjs +1 -1
- package/package.json +1 -1
- package/resources/agents/variations.d.mts +11 -9
- package/resources/agents/variations.d.mts.map +1 -1
- package/resources/agents/variations.d.ts +11 -9
- package/resources/agents/variations.d.ts.map +1 -1
- package/resources/agents/variations.js +1 -1
- package/resources/agents/variations.mjs +1 -1
- package/resources/bulk-workspace-resources/results.d.mts +8 -8
- package/resources/bulk-workspace-resources/results.d.ts +8 -8
- package/resources/memory-layers/entries.d.mts +3 -3
- package/resources/memory-layers/entries.d.ts +3 -3
- package/resources/memory-layers/entries.js +1 -1
- package/resources/memory-layers/entries.mjs +1 -1
- package/resources/memory-layers/memory-layers.d.mts +10 -6
- package/resources/memory-layers/memory-layers.d.mts.map +1 -1
- package/resources/memory-layers/memory-layers.d.ts +10 -6
- package/resources/memory-layers/memory-layers.d.ts.map +1 -1
- package/resources/memory-layers/memory-layers.js +1 -1
- package/resources/memory-layers/memory-layers.js.map +1 -1
- package/resources/memory-layers/memory-layers.mjs +1 -1
- package/resources/memory-layers/memory-layers.mjs.map +1 -1
- package/resources/objectives/objectives.d.mts +36 -37
- package/resources/objectives/objectives.d.mts.map +1 -1
- package/resources/objectives/objectives.d.ts +36 -37
- package/resources/objectives/objectives.d.ts.map +1 -1
- package/resources/objectives/objectives.js.map +1 -1
- package/resources/objectives/objectives.mjs.map +1 -1
- package/src/client.ts +1 -1
- package/src/resources/agents/variations.ts +11 -9
- package/src/resources/bulk-workspace-resources/results.ts +8 -8
- package/src/resources/memory-layers/entries.ts +3 -3
- package/src/resources/memory-layers/memory-layers.ts +11 -6
- package/src/resources/objectives/objectives.ts +36 -37
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -241,8 +241,8 @@ export interface ContextWindowCompacted {
|
|
|
241
241
|
|
|
242
242
|
/**
|
|
243
243
|
* MemoryRead is emitted each time the agent resolves a key against the memory
|
|
244
|
-
*
|
|
245
|
-
* emit this event.
|
|
244
|
+
* cascade and loads an entry. Lookups that miss (key not found in any layer) do
|
|
245
|
+
* not emit this event.
|
|
246
246
|
*/
|
|
247
247
|
export interface MemoryRead {
|
|
248
248
|
/**
|
|
@@ -267,7 +267,7 @@ export interface MemoryRead {
|
|
|
267
267
|
|
|
268
268
|
/**
|
|
269
269
|
* MemoryReference identifies a memory layer or a specific entry within one, for
|
|
270
|
-
* composition into a memory
|
|
270
|
+
* composition into a memory cascade. Used on objectives (where entry pinning is
|
|
271
271
|
* permitted).
|
|
272
272
|
*
|
|
273
273
|
* memory*layer_id accepts both the canonical form (memlyr*…) and the external-id
|
|
@@ -275,9 +275,10 @@ export interface MemoryRead {
|
|
|
275
275
|
*/
|
|
276
276
|
export interface MemoryReference {
|
|
277
277
|
/**
|
|
278
|
-
* When set,
|
|
279
|
-
* as a single-entry layer (only this key resolves at this position). The
|
|
280
|
-
* must belong to memory_layer_id; mismatches are rejected with
|
|
278
|
+
* When set, inserts only this entry from memory_layer_id into the cascade —
|
|
279
|
+
* behaves as a single-entry layer (only this key resolves at this position). The
|
|
280
|
+
* entry must belong to memory_layer_id; mismatches are rejected with
|
|
281
|
+
* InvalidArgument.
|
|
281
282
|
*/
|
|
282
283
|
memoryEntryId?: string;
|
|
283
284
|
|
|
@@ -342,23 +343,21 @@ export interface Objective {
|
|
|
342
343
|
info?: ObjectiveInfo;
|
|
343
344
|
|
|
344
345
|
/**
|
|
345
|
-
* Memory layers/entries
|
|
346
|
-
*
|
|
346
|
+
* Memory layers/entries layered over the baseline cascade inherited from the
|
|
347
|
+
* selected variation — element-level rules over inherited styles, in CSS terms.
|
|
347
348
|
*
|
|
348
|
-
* Array order is
|
|
349
|
-
*
|
|
350
|
-
*
|
|
351
|
-
* position.
|
|
349
|
+
* Array order is resolution order: EARLIER elements are more specific and are
|
|
350
|
+
* consulted first. Entries pinned via memory_entry_id behave as single-entry
|
|
351
|
+
* layers at their position.
|
|
352
352
|
*
|
|
353
353
|
* System-managed layers (e.g., episodic) cannot be referenced here; they attach
|
|
354
|
-
* themselves automatically based on
|
|
355
|
-
*
|
|
356
|
-
* Stack size cap: the TOTAL effective stack (variation's memory layers
|
|
354
|
+
* themselves automatically based on the episodic key.
|
|
357
355
|
*
|
|
358
|
-
*
|
|
359
|
-
*
|
|
356
|
+
* Size cap: the TOTAL effective cascade (this field + the variation's memory layer
|
|
357
|
+
* assignments) must not exceed 10 entries. A request that would produce a larger
|
|
358
|
+
* cascade is rejected with InvalidArgument.
|
|
360
359
|
*/
|
|
361
|
-
|
|
360
|
+
memoryCascade?: Array<MemoryReference>;
|
|
362
361
|
|
|
363
362
|
/**
|
|
364
363
|
* The output of the objective, populated when the objective completes. Will match
|
|
@@ -526,8 +525,8 @@ export interface ObjectiveEventData {
|
|
|
526
525
|
|
|
527
526
|
/**
|
|
528
527
|
* MemoryRead is emitted each time the agent resolves a key against the memory
|
|
529
|
-
*
|
|
530
|
-
* emit this event.
|
|
528
|
+
* cascade and loads an entry. Lookups that miss (key not found in any layer) do
|
|
529
|
+
* not emit this event.
|
|
531
530
|
*/
|
|
532
531
|
memoryRead?: MemoryRead;
|
|
533
532
|
|
|
@@ -688,12 +687,14 @@ export interface ObjectiveInfo {
|
|
|
688
687
|
currentContextWindowId: string;
|
|
689
688
|
|
|
690
689
|
/**
|
|
691
|
-
* The effective memory
|
|
692
|
-
*
|
|
693
|
-
*
|
|
694
|
-
*
|
|
690
|
+
* The effective memory cascade at objective creation time: the episodic layer
|
|
691
|
+
* (when present), then Objective.memory_cascade, then the variation's baseline
|
|
692
|
+
* layers by ascending position. Order is resolution order — index 0 is the most
|
|
693
|
+
* specific and is consulted first; the first layer containing a key wins. Returned
|
|
694
|
+
* on reads so clients can see exactly what the objective resolves against without
|
|
695
|
+
* re-joining variation state.
|
|
695
696
|
*/
|
|
696
|
-
|
|
697
|
+
effectiveMemoryCascade: Array<MemoryReference>;
|
|
697
698
|
|
|
698
699
|
/**
|
|
699
700
|
* Total number of context windows that this objective has generated
|
|
@@ -901,23 +902,21 @@ export interface ObjectiveCreateParams {
|
|
|
901
902
|
initialMessage?: string;
|
|
902
903
|
|
|
903
904
|
/**
|
|
904
|
-
* Memory layers/entries
|
|
905
|
-
*
|
|
905
|
+
* Memory layers/entries layered over the baseline cascade inherited from the
|
|
906
|
+
* selected variation — element-level rules over inherited styles, in CSS terms.
|
|
906
907
|
*
|
|
907
|
-
* Array order is
|
|
908
|
-
*
|
|
909
|
-
*
|
|
910
|
-
* position.
|
|
908
|
+
* Array order is resolution order: EARLIER elements are more specific and are
|
|
909
|
+
* consulted first. Entries pinned via memory_entry_id behave as single-entry
|
|
910
|
+
* layers at their position.
|
|
911
911
|
*
|
|
912
912
|
* System-managed layers (e.g., episodic) cannot be referenced here; they attach
|
|
913
|
-
* themselves automatically based on
|
|
914
|
-
*
|
|
915
|
-
* Stack size cap: the TOTAL effective stack (variation's memory layers
|
|
913
|
+
* themselves automatically based on the episodic key.
|
|
916
914
|
*
|
|
917
|
-
*
|
|
918
|
-
*
|
|
915
|
+
* Size cap: the TOTAL effective cascade (this field + the variation's memory layer
|
|
916
|
+
* assignments) must not exceed 10 entries. A request that would produce a larger
|
|
917
|
+
* cascade is rejected with InvalidArgument.
|
|
919
918
|
*/
|
|
920
|
-
|
|
919
|
+
memoryCascade?: Array<MemoryReference>;
|
|
921
920
|
|
|
922
921
|
/**
|
|
923
922
|
* CreateOperationMetadata contains the user-provided fields for creating an
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.90.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.90.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.90.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.90.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|