@sisu-ai/mw-tool-calling 1.0.0 → 2.0.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.
Files changed (2) hide show
  1. package/README.md +8 -0
  2. package/package.json +11 -2
package/README.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  Native tools API loop for providers that support tool calls.
4
4
 
5
+ ## Setup
6
+ ```bash
7
+ npm i @sisu-ai/mw-tool-calling
8
+ ```
9
+
10
+ ## Documentation
11
+ Discover what you can do through examples or documentation. Check it out at https://github.com/finger-gun/sisu
12
+
5
13
  ## Behavior
6
14
  - First turn: calls `ctx.model.generate(messages, { tools, toolChoice:'auto' })`.
7
15
  - If assistant returns `tool_calls`, appends the assistant message and executes each tool.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sisu-ai/mw-tool-calling",
3
- "version": "1.0.0",
3
+ "version": "2.0.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -14,6 +14,15 @@
14
14
  "build": "tsc -b"
15
15
  },
16
16
  "peerDependencies": {
17
- "@sisu-ai/core": "0.2.0"
17
+ "@sisu-ai/core": "0.3.0"
18
+ },
19
+ "repository": {
20
+ "type": "git",
21
+ "url": "https://github.com/finger-gun/sisu",
22
+ "directory": "packages/middleware/tool-calling"
23
+ },
24
+ "homepage": "https://github.com/finger-gun/sisu#readme",
25
+ "bugs": {
26
+ "url": "https://github.com/finger-gun/sisu/issues"
18
27
  }
19
28
  }