@batonfx/memory 0.3.1 → 0.3.3

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.
@@ -1,5 +1,5 @@
1
1
  $ bun build ./src/index.ts --outdir dist --target bun --format esm
2
- Bundled 176 modules in 522ms
2
+ Bundled 176 modules in 529ms
3
3
 
4
4
  index.js 1.1 MB (entry point)
5
5
 
package/dist/index.js CHANGED
@@ -32538,6 +32538,18 @@ var entryFromInput = (input, id2, parentId) => {
32538
32538
  switch (input._tag) {
32539
32539
  case "Message":
32540
32540
  return { ...base2, _tag: "Message", message: input.message };
32541
+ case "ToolCall":
32542
+ return { ...base2, _tag: "ToolCall", part: input.part };
32543
+ case "ToolResult":
32544
+ return { ...base2, _tag: "ToolResult", part: input.part };
32545
+ case "Memory":
32546
+ return { ...base2, _tag: "Memory", items: input.items };
32547
+ case "Skill":
32548
+ return { ...base2, _tag: "Skill", name: input.name, body: input.body };
32549
+ case "Steering":
32550
+ return { ...base2, _tag: "Steering", message: input.message };
32551
+ case "Handoff":
32552
+ return { ...base2, _tag: "Handoff", target: input.target, summary: input.summary };
32541
32553
  case "Compaction":
32542
32554
  return { ...base2, _tag: "Compaction", summary: input.summary, firstKeptEntryId: input.firstKeptEntryId };
32543
32555
  case "BranchSummary":
@@ -32708,6 +32720,12 @@ var empty15 = fromSkills([]);
32708
32720
  class Steering extends exports_Context.Service()("@batonfx/core/Steering") {
32709
32721
  }
32710
32722
 
32723
+ class SteeringQueueFull extends exports_Schema.TaggedErrorClass()("@batonfx/core/SteeringQueueFull", {
32724
+ queue: exports_Schema.Literals(["steering", "followUp"]),
32725
+ capacity: exports_Schema.Number
32726
+ }) {
32727
+ }
32728
+
32711
32729
  // ../core/src/tool-context.ts
32712
32730
  class ToolContext extends exports_Context.Service()("@batonfx/core/ToolContext") {
32713
32731
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@batonfx/memory",
4
- "version": "0.3.1",
4
+ "version": "0.3.3",
5
5
  "private": false,
6
6
  "type": "module",
7
7
  "exports": {
@@ -14,7 +14,7 @@
14
14
  "typecheck": "bun tsc --noEmit"
15
15
  },
16
16
  "dependencies": {
17
- "@batonfx/core": "0.3.1",
17
+ "@batonfx/core": "0.3.3",
18
18
  "effect": "4.0.0-beta.93"
19
19
  },
20
20
  "devDependencies": {