@stll/folio-agents 0.8.9 → 0.9.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stll/folio-agents",
3
- "version": "0.8.9",
3
+ "version": "0.9.0",
4
4
  "description": "Framework-neutral LLM tool layer over folio's ai-edits engine: function-calling tools so an agent can read and mutate .docx documents through @stll/folio-core.",
5
5
  "keywords": [
6
6
  "agent",
@@ -54,7 +54,7 @@
54
54
  "test": "bun test src"
55
55
  },
56
56
  "dependencies": {
57
- "@stll/folio-core": "^0.22.0"
57
+ "@stll/folio-core": "^0.23.0"
58
58
  },
59
59
  "main": "./dist/index.js",
60
60
  "types": "./dist/index.d.ts"
@@ -34,7 +34,7 @@ comment pending human review — nothing is silently finalized.
34
34
  - Raw Anthropic/OpenAI SDKs: `toAnthropicTools(defs)` / `toOpenAITools(defs)`.
35
35
  - Vercel AI SDK: wrap each `inputSchema` in `jsonSchema()` from `ai`.
36
36
  3. In your tool-use loop, for every `tool_use` / `tool_call` the model emits:
37
- call `executeFolioToolCall(name, args, bridge)` → returns
37
+ call `executeFolioToolCallUntyped(name, args, bridge)` → returns
38
38
  `{ ok: true, result } | { ok: false, error }`.
39
39
  4. Feed that result straight back to the model as the tool result message —
40
40
  both branches are meant to reach the model, not just the `ok: true` one: