@nodetool-ai/chat 0.8.1 → 0.8.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/README.md +2 -5
- package/dist/.nodetool-build-stamp +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# @nodetool-ai/chat
|
|
2
2
|
|
|
3
|
-
Chat message processing for [NodeTool](https://nodetool.ai) — tool-call orchestration
|
|
3
|
+
Chat message processing for [NodeTool](https://nodetool.ai) — tool-call orchestration and streaming responses.
|
|
4
4
|
|
|
5
|
-
This package drives a chat turn end to end: it streams a provider response, runs any tool calls the model emits, loops until the turn settles, and reports progress through callbacks.
|
|
5
|
+
This package drives a chat turn end to end: it streams a provider response, runs any tool calls the model emits, loops until the turn settles, and reports progress through callbacks.
|
|
6
6
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
@@ -17,9 +17,6 @@ npm install @nodetool-ai/chat
|
|
|
17
17
|
| `processChat` | function | Runs a full chat turn: stream, execute tool calls, loop to completion |
|
|
18
18
|
| `runTool` | function | Executes a single tool call against a tool list |
|
|
19
19
|
| `ChatCallbacks` | interface | Hooks for chunks, tool calls, tool results, and session updates |
|
|
20
|
-
| `countTextTokens` | function | Token count for a text string |
|
|
21
|
-
| `countMessageTokens` | function | Token count for a single message |
|
|
22
|
-
| `countMessagesTokens` | function | Token count for a message array |
|
|
23
20
|
|
|
24
21
|
## Usage
|
|
25
22
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
2026-
|
|
1
|
+
2026-10-12T12:30:23.695Z
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nodetool-ai/chat",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=22.0.0"
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
"lint": "node ../../scripts/run-tsc.mjs --noEmit"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@nodetool-ai/protocol": "
|
|
17
|
-
"@nodetool-ai/runtime": "
|
|
18
|
-
"@nodetool-ai/agents": "
|
|
16
|
+
"@nodetool-ai/protocol": "0.8.3",
|
|
17
|
+
"@nodetool-ai/runtime": "0.8.3",
|
|
18
|
+
"@nodetool-ai/agents": "0.8.3"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"vitest": "^5.0.1",
|