@batonfx/foldkit 0.3.2 → 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 223 modules in 232ms
2
+ Bundled 223 modules in 217ms
3
3
 
4
4
  index.js 1.32 MB (entry point)
5
5
 
package/dist/index.js CHANGED
@@ -38965,6 +38965,18 @@ var entryFromInput = (input, id2, parentId) => {
38965
38965
  switch (input._tag) {
38966
38966
  case "Message":
38967
38967
  return { ...base2, _tag: "Message", message: input.message };
38968
+ case "ToolCall":
38969
+ return { ...base2, _tag: "ToolCall", part: input.part };
38970
+ case "ToolResult":
38971
+ return { ...base2, _tag: "ToolResult", part: input.part };
38972
+ case "Memory":
38973
+ return { ...base2, _tag: "Memory", items: input.items };
38974
+ case "Skill":
38975
+ return { ...base2, _tag: "Skill", name: input.name, body: input.body };
38976
+ case "Steering":
38977
+ return { ...base2, _tag: "Steering", message: input.message };
38978
+ case "Handoff":
38979
+ return { ...base2, _tag: "Handoff", target: input.target, summary: input.summary };
38968
38980
  case "Compaction":
38969
38981
  return { ...base2, _tag: "Compaction", summary: input.summary, firstKeptEntryId: input.firstKeptEntryId };
38970
38982
  case "BranchSummary":
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@batonfx/foldkit",
4
- "version": "0.3.2",
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/transport": "0.3.2"
17
+ "@batonfx/transport": "0.3.3"
18
18
  },
19
19
  "peerDependencies": {
20
20
  "effect": ">=4.0.0-beta.88 <4.0.1",