agentinit 1.4.0 → 1.4.1
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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.4.1](https://github.com/agentinit/agentinit/compare/v1.4.0...v1.4.1) (2025-09-26)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* context calc ([313f435](https://github.com/agentinit/agentinit/commit/313f435f9e0d34f5df8d50ab34584bb522b9f69e))
|
|
7
|
+
|
|
1
8
|
# [1.4.0](https://github.com/agentinit/agentinit/compare/v1.3.0...v1.4.0) (2025-09-26)
|
|
2
9
|
|
|
3
10
|
|
|
Binary file
|
package/dist/index.js
CHANGED
|
@@ -32316,7 +32316,7 @@ class MCPVerifier {
|
|
|
32316
32316
|
};
|
|
32317
32317
|
const functionDefinition = JSON.stringify(toolForCounting);
|
|
32318
32318
|
const claudeToolRepresentation = `<function>${functionDefinition}</function>`;
|
|
32319
|
-
const tokenCount = countTokens(claudeToolRepresentation) *
|
|
32319
|
+
const tokenCount = countTokens(claudeToolRepresentation) * 5;
|
|
32320
32320
|
toolTokenCounts.set(tool.name, tokenCount);
|
|
32321
32321
|
totalToolTokens += tokenCount;
|
|
32322
32322
|
} catch (error) {
|