@nodetool-ai/chat 0.8.1 → 0.8.2

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 CHANGED
@@ -1,8 +1,8 @@
1
1
  # @nodetool-ai/chat
2
2
 
3
- Chat message processing for [NodeTool](https://nodetool.ai) — tool-call orchestration, streaming responses, and token counting.
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. It also counts tokens for text and message arrays so callers can enforce context budgets.
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-09-28T09:19:15.806Z
1
+ 2026-10-07T23:09:49.201Z
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nodetool-ai/chat",
3
- "version": "0.8.1",
3
+ "version": "0.8.2",
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": "^0.8.1",
17
- "@nodetool-ai/runtime": "^0.8.1",
18
- "@nodetool-ai/agents": "^0.8.1"
16
+ "@nodetool-ai/protocol": "^0.8.2",
17
+ "@nodetool-ai/runtime": "^0.8.2",
18
+ "@nodetool-ai/agents": "^0.8.2"
19
19
  },
20
20
  "devDependencies": {
21
21
  "vitest": "^5.0.1",