@batonfx/skills 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.
- package/.turbo/turbo-build.log +1 -1
- package/dist/index.js +18 -0
- 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":
|
|
@@ -34905,6 +34917,12 @@ var selectListings = (skills, budgetTokens, recentlyUsed) => {
|
|
|
34905
34917
|
class Steering extends exports_Context.Service()("@batonfx/core/Steering") {
|
|
34906
34918
|
}
|
|
34907
34919
|
|
|
34920
|
+
class SteeringQueueFull extends exports_Schema.TaggedErrorClass()("@batonfx/core/SteeringQueueFull", {
|
|
34921
|
+
queue: exports_Schema.Literals(["steering", "followUp"]),
|
|
34922
|
+
capacity: exports_Schema.Number
|
|
34923
|
+
}) {
|
|
34924
|
+
}
|
|
34925
|
+
|
|
34908
34926
|
// ../core/src/tool-context.ts
|
|
34909
34927
|
class ToolContext extends exports_Context.Service()("@batonfx/core/ToolContext") {
|
|
34910
34928
|
}
|
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.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.
|
|
17
|
+
"@batonfx/core": "0.3.3",
|
|
18
18
|
"effect": "4.0.0-beta.93"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|