@batonfx/skills 0.3.2 → 0.3.4
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/.turbo/turbo-build.log +1 -1
- package/dist/index.js +14 -1
- package/package.json +2 -2
package/.turbo/turbo-build.log
CHANGED
package/dist/index.js
CHANGED
|
@@ -34711,6 +34711,18 @@ var entryFromInput = (input, id2, parentId) => {
|
|
|
34711
34711
|
switch (input._tag) {
|
|
34712
34712
|
case "Message":
|
|
34713
34713
|
return { ...base2, _tag: "Message", message: input.message };
|
|
34714
|
+
case "ToolCall":
|
|
34715
|
+
return { ...base2, _tag: "ToolCall", part: input.part };
|
|
34716
|
+
case "ToolResult":
|
|
34717
|
+
return { ...base2, _tag: "ToolResult", part: input.part };
|
|
34718
|
+
case "Memory":
|
|
34719
|
+
return { ...base2, _tag: "Memory", items: input.items };
|
|
34720
|
+
case "Skill":
|
|
34721
|
+
return { ...base2, _tag: "Skill", name: input.name, body: input.body };
|
|
34722
|
+
case "Steering":
|
|
34723
|
+
return { ...base2, _tag: "Steering", message: input.message };
|
|
34724
|
+
case "Handoff":
|
|
34725
|
+
return { ...base2, _tag: "Handoff", target: input.target, summary: input.summary };
|
|
34714
34726
|
case "Compaction":
|
|
34715
34727
|
return { ...base2, _tag: "Compaction", summary: input.summary, firstKeptEntryId: input.firstKeptEntryId };
|
|
34716
34728
|
case "BranchSummary":
|
|
@@ -34815,7 +34827,8 @@ class Memory extends exports_Context.Service()("@batonfx/core/Memory") {
|
|
|
34815
34827
|
}
|
|
34816
34828
|
var noop = {
|
|
34817
34829
|
recall: () => exports_Effect.succeed([]),
|
|
34818
|
-
remember: () => exports_Effect.void
|
|
34830
|
+
remember: () => exports_Effect.void,
|
|
34831
|
+
forget: () => exports_Effect.void
|
|
34819
34832
|
};
|
|
34820
34833
|
var noopLayer = exports_Layer.succeed(Memory, Memory.of(noop));
|
|
34821
34834
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@batonfx/skills",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.4",
|
|
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.
|
|
17
|
+
"@batonfx/core": "0.3.4",
|
|
18
18
|
"effect": "4.0.0-beta.93"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|