@sisu-ai/tool-summarize-text 3.0.1 → 3.0.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 +11 -0
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
# Summarize Text Tool
|
|
2
|
+
[](https://github.com/finger-gun/sisu/actions/workflows/tests.yml)
|
|
3
|
+
[](https://github.com/finger-gun/sisu/blob/main/LICENSE)
|
|
4
|
+
[](https://www.npmjs.com/package/@sisu-ai/tool-summarize-text)
|
|
5
|
+
[](https://github.com/finger-gun/sisu/blob/main/CONTRIBUTING.md)
|
|
2
6
|
|
|
3
7
|
A utility tool that asks the active model to summarize large text bodies into concise outputs. Designed for use alongside `webFetch` or other content tools.
|
|
4
8
|
|
|
@@ -16,3 +20,10 @@ A utility tool that asks the active model to summarize large text bodies into co
|
|
|
16
20
|
## Notes
|
|
17
21
|
- Uses `ctx.model.generate` internally with `toolChoice:'none'` to avoid nested tool calls.
|
|
18
22
|
- For very long inputs, applies a simple map-reduce (chunk→summary→combine) approach.
|
|
23
|
+
|
|
24
|
+
# Community & Support
|
|
25
|
+
- [Code of Conduct](https://github.com/finger-gun/sisu/blob/main/CODE_OF_CONDUCT.md)
|
|
26
|
+
- [Contributing Guide](https://github.com/finger-gun/sisu/blob/main/CONTRIBUTING.md)
|
|
27
|
+
- [License](https://github.com/finger-gun/sisu/blob/main/LICENSE)
|
|
28
|
+
- [Report a Bug](https://github.com/finger-gun/sisu/issues/new?template=bug_report.md)
|
|
29
|
+
- [Request a Feature](https://github.com/finger-gun/sisu/issues/new?template=feature_request.md)
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sisu-ai/tool-summarize-text",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
4
|
+
"license": "Apache-2.0",
|
|
4
5
|
"type": "module",
|
|
5
6
|
"main": "dist/index.js",
|
|
6
7
|
"types": "dist/index.d.ts",
|
|
@@ -14,7 +15,7 @@
|
|
|
14
15
|
"zod": "^3.23.8"
|
|
15
16
|
},
|
|
16
17
|
"peerDependencies": {
|
|
17
|
-
"@sisu-ai/core": "1.0.
|
|
18
|
+
"@sisu-ai/core": "1.0.2"
|
|
18
19
|
},
|
|
19
20
|
"repository": {
|
|
20
21
|
"type": "git",
|