@sisu-ai/tool-summarize-text 3.0.1 → 3.0.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.
Files changed (2) hide show
  1. package/README.md +16 -0
  2. package/package.json +3 -2
package/README.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  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
4
 
5
+ [![Tests](https://github.com/finger-gun/sisu/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/finger-gun/sisu/actions/workflows/tests.yml)
6
+ [![License](https://img.shields.io/badge/license-Apache--2.0-blue)](https://github.com/finger-gun/sisu/blob/main/LICENSE)
7
+ [![Downloads](https://img.shields.io/npm/dm/%40sisu-ai%2Ftool-summarize-text)](https://www.npmjs.com/package/@sisu-ai/tool-summarize-text)
8
+ [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/finger-gun/sisu/blob/main/CONTRIBUTING.md)
9
+
5
10
  ## Tool
6
11
  - `summarizeText` — Summarize a given `text` with optional controls for length and style.
7
12
 
@@ -16,3 +21,14 @@ A utility tool that asks the active model to summarize large text bodies into co
16
21
  ## Notes
17
22
  - Uses `ctx.model.generate` internally with `toolChoice:'none'` to avoid nested tool calls.
18
23
  - For very long inputs, applies a simple map-reduce (chunk→summary→combine) approach.
24
+
25
+ # Community & Support
26
+
27
+ Discover what you can do through examples or documentation. Check it out at https://github.com/finger-gun/sisu. Example projects live under [`examples/`](https://github.com/finger-gun/sisu/tree/main/examples) in the repo.
28
+
29
+
30
+ - [Code of Conduct](https://github.com/finger-gun/sisu/blob/main/CODE_OF_CONDUCT.md)
31
+ - [Contributing Guide](https://github.com/finger-gun/sisu/blob/main/CONTRIBUTING.md)
32
+ - [License](https://github.com/finger-gun/sisu/blob/main/LICENSE)
33
+ - [Report a Bug](https://github.com/finger-gun/sisu/issues/new?template=bug_report.md)
34
+ - [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.1",
3
+ "version": "3.0.3",
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.1"
18
+ "@sisu-ai/core": "1.0.2"
18
19
  },
19
20
  "repository": {
20
21
  "type": "git",