pi-querit 1.1.0 → 1.1.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/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 QUERIT PRIVATE LIMITED
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2026 QUERIT PRIVATE LIMITED
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,186 +1,186 @@
1
- # pi-querit
2
-
3
- [![npm version](https://img.shields.io/npm/v/pi-querit?color=blue)](https://www.npmjs.com/package/pi-querit)
4
- [![downloads](https://img.shields.io/npm/dm/pi-querit)](https://www.npmjs.com/package/pi-querit)
5
- [![license](https://img.shields.io/npm/l/pi-querit)](./LICENSE)
6
- ![platform](https://img.shields.io/badge/platform-Windows%20%7C%20macOS%20%7C%20Linux-lightgrey)
7
- ![pi](https://img.shields.io/badge/pi-extension-orange)
8
-
9
- A focused [Pi](https://github.com/earendil-works/pi) extension that gives your agent live web search and page fetching through [Querit](https://www.querit.ai).
10
-
11
- ## Why Querit?
12
-
13
- LLMs are limited by their training data — complex or real-time queries lead to hallucinations and stale answers. Querit is a retrieval system built specifically for generative LLM invocation scenarios, delivering real-time, authoritative web search results that integrate directly into LLM applications:
14
-
15
- - **Comprehensive content** — a massive global index spanning nearly 20 countries and 10 languages with hundreds of billions of web pages.
16
- - **Strong capabilities** — flexible retrieval options (time range, region, language, and domain filters) so results can be tuned for specific scenarios.
17
- - **Excellent results** — accurate, authoritative, high-quality content coverage.
18
-
19
- Sign up on [Querit.ai](https://www.querit.ai) to get an API key with **1,000 free API calls per month** — no credit card required.
20
-
21
- ## Quick Start
22
-
23
- **1. Install**
24
-
25
- ```bash
26
- pi install npm:pi-querit
27
- ```
28
-
29
- **2. Configure**
30
-
31
- Start Pi interactively and run the setup wizard:
32
-
33
- ```text
34
- /querit-setup
35
- ```
36
-
37
- The wizard walks you through API key entry and search defaults. Every step after the API key can be skipped.
38
-
39
- **3. Search**
40
-
41
- Just ask your agent anything that needs the web — it calls `web_search` and `fetch_content` automatically:
42
-
43
- ```text
44
- > What changed in the Rust 2024 edition?
45
- ```
46
-
47
- > **Note:** Do not enable this package together with another extension that also registers `web_search` or `fetch_content`; Pi tool names must be unique.
48
-
49
- ## How It Works
50
-
51
- ```
52
- ┌──────────────────────────────────────────────────────────┐
53
- │ Pi Agent │
54
- │ │
55
- │ web_search(query, count?) │
56
- │ │ │
57
- │ ▼ │
58
- │ ┌─────────────┐ persistent defaults ┌─────────┐ │
59
- │ │ Querit API │◄── (timeRange, countries, │ querit- │ │
60
- │ │ /v1/search │ languages, domains…) │ search. │ │
61
- │ └──────┬──────┘ from /querit-setup │ json │ │
62
- │ │ └─────────┘ │
63
- │ ▼ │
64
- │ return cited results to the model │
65
- │ │
66
- │ fetch_content(url/urls, format?) │
67
- │ │ │
68
- │ ▼ │
69
- │ ┌──────────────────┐ │
70
- │ │ Querit API │ │
71
- │ │ /v1/contents │──► markdown / text / HTML │
72
- │ └──────────────────┘ (up to 10 URLs per call) │
73
- └──────────────────────────────────────────────────────────┘
74
- ```
75
-
76
- The extension registers two tools and one slash command:
77
-
78
- | Surface | Purpose |
79
- |---|---|
80
- | `web_search` | Live web search with cited results |
81
- | `fetch_content` | Full page content (markdown, text, or HTML) for up to 10 URLs per call |
82
- | `/querit-setup` | Interactive configuration of the API key and persistent search defaults |
83
-
84
- ## Configuration
85
-
86
- Run `/querit-setup` in Pi's interactive mode. Configuration is stored in `~/.pi/agent/querit-search.json` (respects `PI_CODING_AGENT_DIR`).
87
-
88
- ### First-time setup flow
89
-
90
- 1. **API key** — masked input prompt; validated with a one-result search request.
91
- 2. **Search defaults** — each step can be skipped (see table below).
92
-
93
- ### Re-configuration menu
94
-
95
- When a key is already configured, `/querit-setup` opens a menu:
96
-
97
- | Option | Effect |
98
- |---|---|
99
- | **Replace API key (full re-setup)** | Prompts for a new key, validates it, re-runs the full flow. The old key is overwritten locally; revoke it in the Querit dashboard if needed. |
100
- | **Change search defaults** | Edits the persistent search filters without touching the saved key. |
101
-
102
- ### Search default options
103
-
104
- These are persistent defaults applied to every `web_search` call. They are stored under the `search` key in `querit-search.json` and are **not** per-call parameters.
105
-
106
- | Option | Values | Default | Description |
107
- |---|---|---|---|
108
- | `count` | `1` – `20` | API default (`5`) | Number of results per search. Can be overridden per call via the `count` parameter. |
109
- | `timeRange` | `d7` · `w2` · `m3` · `y1` | *(none — all time)* | Restrict results to the past 7 days, 2 weeks, 3 months, or 1 year. |
110
- | `includeContent` | `yes` / `no` | `no` | Include sentence-level content excerpts in results for richer context. |
111
- | `chunksPerDoc` | `1` – `3` | API default (`1`) | Content chunks requested per result. This advanced option is configured by editing `querit-search.json`; it is not exposed in the setup wizard. |
112
- | `countries` | `argentina` · `australia` · `brazil` · `canada` · `colombia` · `france` · `germany` · `india` · `indonesia` · `japan` · `mexico` · `nigeria` · `philippines` · `south korea` · `spain` · `united kingdom` · `united states` | *(none — global)* | Bias results toward specific countries. Comma-separated, multi-select. |
113
- | `languages` | `english` · `japanese` · `korean` · `german` · `french` · `spanish` · `portuguese` | *(none — all)* | Filter results by language. Comma-separated, multi-select. |
114
- | `includeDomains` | domain list | *(none — unrestricted)* | **Whitelist** — only these domains return results. |
115
- | `excludeDomains` | domain list | *(none)* | **Blacklist** — these domains are excluded. Ships with a built-in **Noise blockers** preset: `pinterest.com`, `facebook.com`, `instagram.com`, `tiktok.com`. |
116
-
117
- ### Configuration file example
118
-
119
- ```json
120
- {
121
- "apiKey": "your-api-key",
122
- "search": {
123
- "count": 5,
124
- "chunksPerDoc": 1,
125
- "timeRange": "m3",
126
- "includeContent": false,
127
- "countries": ["united states"],
128
- "languages": ["english"],
129
- "includeDomains": ["github.com"],
130
- "excludeDomains": ["pinterest.com"]
131
- }
132
- }
133
- ```
134
-
135
- The extension applies mode `0600` on POSIX systems. On Windows, the file remains protected by the user profile's filesystem ACLs. The key is never included in tool results or logs.
136
-
137
- For CI or ephemeral use, set `QUERIT_API_KEY`. The environment variable takes precedence when both are present.
138
-
139
- ## Tools
140
-
141
- ### `web_search`
142
-
143
- Required:
144
-
145
- - `query`
146
-
147
- Optional:
148
-
149
- - `count` (`1..20`) — overrides the configured default for one call (API default: `5`)
150
-
151
- Domains, time range, countries, languages, and content excerpts are persistent defaults configured in `/querit-setup` (stored under `search` in `querit-search.json`), not per-call parameters. Skipping the domain lists leaves search unrestricted; the include list is a whitelist (only those domains return results), the exclude list is a blacklist.
152
-
153
- Results include explicit title, URL, snippet, source metadata, and optional sentence excerpts. Duplicate and non-HTTP(S) result URLs are removed.
154
-
155
- ### `fetch_content`
156
-
157
- Pass `url`, `urls`, or both (at most 10 unique HTTP(S) URLs).
158
-
159
- Optional:
160
-
161
- - `format`: `markdown` (default), `text`, or `html`
162
- - `crawl_timeout`: `1..60` seconds (default `10`)
163
- - `include_metadata`: default `true`
164
-
165
- Both tools mark remote data as untrusted, propagate Pi cancellation, enforce response-size limits, and cap model-visible output at Pi's 50KB/2000-line limit. If formatted output is truncated, the complete output is written to a uniquely named file inside a single shared temp folder (`pi-querit` in the OS temp directory). To keep search content private, that folder never accumulates files: the files a Pi process creates are deleted when that session shuts down (with a process-exit fallback), and leftovers from crashed runs are swept the next time the extension loads.
166
-
167
- ## Development
168
-
169
- Requires Node.js 22.19 or newer.
170
-
171
- ```bash
172
- npm install
173
- npm run check
174
- npm test
175
- npm run pack:check
176
- ```
177
-
178
- A live smoke test reads the same JSON configuration (or `QUERIT_API_KEY`) and exercises both APIs without printing the key or fetched content:
179
-
180
- ```bash
181
- npm run test:live
182
- ```
183
-
184
- ## License
185
-
186
- MIT
1
+ # pi-querit
2
+
3
+ [![npm version](https://img.shields.io/npm/v/pi-querit?color=blue)](https://www.npmjs.com/package/pi-querit)
4
+ [![downloads](https://img.shields.io/npm/dm/pi-querit)](https://www.npmjs.com/package/pi-querit)
5
+ [![license](https://img.shields.io/npm/l/pi-querit)](./LICENSE)
6
+ ![platform](https://img.shields.io/badge/platform-Windows%20%7C%20macOS%20%7C%20Linux-lightgrey)
7
+ ![pi](https://img.shields.io/badge/pi-extension-orange)
8
+
9
+ A focused [Pi](https://github.com/earendil-works/pi) extension that gives your agent live web search and page fetching through [Querit](https://www.querit.ai).
10
+
11
+ ## Why Querit?
12
+
13
+ LLMs are limited by their training data — complex or real-time queries lead to hallucinations and stale answers. Querit is a retrieval system built specifically for generative LLM invocation scenarios, delivering real-time, authoritative web search results that integrate directly into LLM applications:
14
+
15
+ - **Comprehensive content** — a massive global index spanning nearly 20 countries and 10 languages with hundreds of billions of web pages.
16
+ - **Strong capabilities** — flexible retrieval options (time range, region, language, and domain filters) so results can be tuned for specific scenarios.
17
+ - **Excellent results** — accurate, authoritative, high-quality content coverage.
18
+
19
+ Sign up on [Querit.ai](https://www.querit.ai) to get an API key with **1,000 free API calls per month** — no credit card required.
20
+
21
+ ## Quick Start
22
+
23
+ **1. Install**
24
+
25
+ ```bash
26
+ pi install npm:pi-querit
27
+ ```
28
+
29
+ **2. Configure**
30
+
31
+ Start Pi interactively and run the setup wizard:
32
+
33
+ ```text
34
+ /querit-setup
35
+ ```
36
+
37
+ The wizard walks you through API key entry and search defaults. Every step after the API key can be skipped.
38
+
39
+ **3. Search**
40
+
41
+ Just ask your agent anything that needs the web — it calls `web_search` and `fetch_content` automatically:
42
+
43
+ ```text
44
+ > What changed in the Rust 2024 edition?
45
+ ```
46
+
47
+ > **Note:** Do not enable this package together with another extension that also registers `web_search` or `fetch_content`; Pi tool names must be unique.
48
+
49
+ ## How It Works
50
+
51
+ ```
52
+ ┌──────────────────────────────────────────────────────────┐
53
+ │ Pi Agent │
54
+ │ │
55
+ │ web_search(query, count?) │
56
+ │ │ │
57
+ │ ▼ │
58
+ │ ┌─────────────┐ persistent defaults ┌─────────┐ │
59
+ │ │ Querit API │◄── (timeRange, countries, │ querit- │ │
60
+ │ │ /v1/search │ languages, domains…) │ search. │ │
61
+ │ └──────┬──────┘ from /querit-setup │ json │ │
62
+ │ │ └─────────┘ │
63
+ │ ▼ │
64
+ │ return cited results to the model │
65
+ │ │
66
+ │ fetch_content(url/urls, format?) │
67
+ │ │ │
68
+ │ ▼ │
69
+ │ ┌──────────────────┐ │
70
+ │ │ Querit API │ │
71
+ │ │ /v1/contents │──► markdown / text / HTML │
72
+ │ └──────────────────┘ (up to 10 URLs per call) │
73
+ └──────────────────────────────────────────────────────────┘
74
+ ```
75
+
76
+ The extension registers two tools and one slash command:
77
+
78
+ | Surface | Purpose |
79
+ |---|---|
80
+ | `web_search` | Live web search with cited results |
81
+ | `fetch_content` | Full page content (markdown, text, or HTML) for up to 10 URLs per call |
82
+ | `/querit-setup` | Interactive configuration of the API key and persistent search defaults |
83
+
84
+ ## Configuration
85
+
86
+ Run `/querit-setup` in Pi's interactive mode. Configuration is stored in `~/.pi/agent/querit-search.json` (respects `PI_CODING_AGENT_DIR`).
87
+
88
+ ### First-time setup flow
89
+
90
+ 1. **API key** — masked input prompt; validated with a one-result search request.
91
+ 2. **Search defaults** — each step can be skipped (see table below).
92
+
93
+ ### Re-configuration menu
94
+
95
+ When a key is already configured, `/querit-setup` opens a menu:
96
+
97
+ | Option | Effect |
98
+ |---|---|
99
+ | **Replace API key (full re-setup)** | Prompts for a new key, validates it, re-runs the full flow. The old key is overwritten locally; revoke it in the Querit dashboard if needed. |
100
+ | **Change search defaults** | Edits the persistent search filters without touching the saved key. |
101
+
102
+ ### Search default options
103
+
104
+ These are persistent defaults applied to every `web_search` call. They are stored under the `search` key in `querit-search.json` and are **not** per-call parameters.
105
+
106
+ | Option | Values | Default | Description |
107
+ |---|---|---|---|
108
+ | `count` | `1` – `20` | API default (`5`) | Number of results per search. Can be overridden per call via the `count` parameter. |
109
+ | `timeRange` | `d7` · `w2` · `m3` · `y1` | *(none — all time)* | Restrict results to the past 7 days, 2 weeks, 3 months, or 1 year. |
110
+ | `includeContent` | `yes` / `no` | `no` | Include sentence-level content excerpts in results for richer context. |
111
+ | `chunksPerDoc` | `1` – `3` | API default (`1`) | Content chunks requested per result. This advanced option is configured by editing `querit-search.json`; it is not exposed in the setup wizard. |
112
+ | `countries` | `argentina` · `australia` · `brazil` · `canada` · `colombia` · `france` · `germany` · `india` · `indonesia` · `japan` · `mexico` · `nigeria` · `philippines` · `south korea` · `spain` · `united kingdom` · `united states` | *(none — global)* | Bias results toward specific countries. Comma-separated, multi-select. |
113
+ | `languages` | `english` · `japanese` · `korean` · `german` · `french` · `spanish` · `portuguese` | *(none — all)* | Filter results by language. Comma-separated, multi-select. |
114
+ | `includeDomains` | domain list | *(none — unrestricted)* | **Whitelist** — only these domains return results. |
115
+ | `excludeDomains` | domain list | *(none)* | **Blacklist** — these domains are excluded. Ships with a built-in **Noise blockers** preset: `pinterest.com`, `facebook.com`, `instagram.com`, `tiktok.com`. |
116
+
117
+ ### Configuration file example
118
+
119
+ ```json
120
+ {
121
+ "apiKey": "your-api-key",
122
+ "search": {
123
+ "count": 5,
124
+ "chunksPerDoc": 1,
125
+ "timeRange": "m3",
126
+ "includeContent": false,
127
+ "countries": ["united states"],
128
+ "languages": ["english"],
129
+ "includeDomains": ["github.com"],
130
+ "excludeDomains": ["pinterest.com"]
131
+ }
132
+ }
133
+ ```
134
+
135
+ The extension applies mode `0600` on POSIX systems. On Windows, the file remains protected by the user profile's filesystem ACLs. The key is never included in tool results or logs.
136
+
137
+ For CI or ephemeral use, set `QUERIT_API_KEY`. The environment variable takes precedence when both are present.
138
+
139
+ ## Tools
140
+
141
+ ### `web_search`
142
+
143
+ Required:
144
+
145
+ - `query`
146
+
147
+ Optional:
148
+
149
+ - `count` (`1..20`) — overrides the configured default for one call (API default: `5`)
150
+
151
+ Domains, time range, countries, languages, and content excerpts are persistent defaults configured in `/querit-setup` (stored under `search` in `querit-search.json`), not per-call parameters. Skipping the domain lists leaves search unrestricted; the include list is a whitelist (only those domains return results), the exclude list is a blacklist.
152
+
153
+ Results include explicit title, URL, snippet, source metadata, and optional sentence excerpts. Duplicate and non-HTTP(S) result URLs are removed.
154
+
155
+ ### `fetch_content`
156
+
157
+ Pass `url`, `urls`, or both (at most 10 unique HTTP(S) URLs).
158
+
159
+ Optional:
160
+
161
+ - `format`: `markdown` (default), `text`, or `html`
162
+ - `crawl_timeout`: `1..60` seconds (default `10`)
163
+ - `include_metadata`: default `true`
164
+
165
+ Both tools mark remote data as untrusted, propagate Pi cancellation, enforce response-size limits, and cap model-visible output at Pi's 50KB/2000-line limit. If formatted output is truncated, the complete output is written to a uniquely named file inside a single shared temp folder (`pi-querit` in the OS temp directory). To keep search content private, that folder never accumulates files: the files a Pi process creates are deleted when that session shuts down (with a process-exit fallback), and leftovers from crashed runs are swept the next time the extension loads.
166
+
167
+ ## Development
168
+
169
+ Requires Node.js 22.19 or newer.
170
+
171
+ ```bash
172
+ npm install
173
+ npm run check
174
+ npm test
175
+ npm run pack:check
176
+ ```
177
+
178
+ A live smoke test reads the same JSON configuration (or `QUERIT_API_KEY`) and exercises both APIs without printing the key or fetched content:
179
+
180
+ ```bash
181
+ npm run test:live
182
+ ```
183
+
184
+ ## License
185
+
186
+ MIT
package/index.ts ADDED
@@ -0,0 +1,2 @@
1
+ export { default, registerQueritExtension } from "./src/index.js";
2
+ export type { QueritExtensionOptions } from "./src/index.js";
package/package.json CHANGED
@@ -1,63 +1,64 @@
1
- {
2
- "name": "pi-querit",
3
- "version": "1.1.0",
4
- "description": "Querit web search and content retrieval tools for the Pi coding agent",
5
- "type": "module",
6
- "license": "MIT",
7
- "author": "QUERIT PRIVATE LIMITED",
8
- "homepage": "https://www.querit.ai",
9
- "repository": {
10
- "type": "git",
11
- "url": "git+https://github.com/querit-ai/querit-plugins.git"
12
- },
13
- "bugs": {
14
- "url": "https://github.com/querit-ai/querit-plugins/issues"
15
- },
16
- "keywords": [
17
- "pi-package",
18
- "pi-extension",
19
- "querit",
20
- "web-search",
21
- "ai",
22
- "llm"
23
- ],
24
- "files": [
25
- "src",
26
- "README.md",
27
- "LICENSE"
28
- ],
29
- "pi": {
30
- "extensions": [
31
- "./src/index.ts"
32
- ]
33
- },
34
- "scripts": {
35
- "check": "tsc --noEmit",
36
- "test": "vitest run tests",
37
- "test:live": "tsx scripts/live-smoke.ts",
38
- "pack:check": "npm pack --dry-run",
39
- "prepack": "npm run check && npm test"
40
- },
41
- "peerDependencies": {
42
- "@earendil-works/pi-ai": "*",
43
- "@earendil-works/pi-coding-agent": "*",
44
- "@earendil-works/pi-tui": "*",
45
- "typebox": "*"
46
- },
47
- "devDependencies": {
48
- "@earendil-works/pi-ai": "^0.83.0",
49
- "@earendil-works/pi-coding-agent": "^0.83.0",
50
- "@earendil-works/pi-tui": "^0.83.0",
51
- "@types/node": "^24.0.0",
52
- "tsx": "^4.20.0",
53
- "typebox": "^1.3.7",
54
- "typescript": "^5.9.0",
55
- "vitest": "^4.1.0"
56
- },
57
- "engines": {
58
- "node": ">=22.19.0"
59
- },
60
- "publishConfig": {
61
- "access": "public"
62
- }
63
- }
1
+ {
2
+ "name": "pi-querit",
3
+ "version": "1.1.2",
4
+ "description": "Querit web search and content retrieval tools for the Pi coding agent",
5
+ "type": "module",
6
+ "license": "MIT",
7
+ "author": "QUERIT PRIVATE LIMITED",
8
+ "homepage": "https://www.querit.ai",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/querit-ai/querit-plugins.git"
12
+ },
13
+ "bugs": {
14
+ "url": "https://github.com/querit-ai/querit-plugins/issues"
15
+ },
16
+ "keywords": [
17
+ "pi-package",
18
+ "pi-extension",
19
+ "querit",
20
+ "web-search",
21
+ "ai",
22
+ "llm"
23
+ ],
24
+ "files": [
25
+ "index.ts",
26
+ "src",
27
+ "README.md",
28
+ "LICENSE"
29
+ ],
30
+ "pi": {
31
+ "extensions": [
32
+ "./index.ts"
33
+ ]
34
+ },
35
+ "scripts": {
36
+ "check": "tsc --noEmit",
37
+ "test": "vitest run tests",
38
+ "test:live": "tsx scripts/live-smoke.ts",
39
+ "pack:check": "npm pack --dry-run",
40
+ "prepack": "npm run check && npm test"
41
+ },
42
+ "peerDependencies": {
43
+ "@earendil-works/pi-ai": "*",
44
+ "@earendil-works/pi-coding-agent": "*",
45
+ "@earendil-works/pi-tui": "*",
46
+ "typebox": "*"
47
+ },
48
+ "devDependencies": {
49
+ "@earendil-works/pi-ai": "^0.83.0",
50
+ "@earendil-works/pi-coding-agent": "^0.83.0",
51
+ "@earendil-works/pi-tui": "^0.83.0",
52
+ "@types/node": "^24.0.0",
53
+ "tsx": "^4.20.0",
54
+ "typebox": "^1.3.7",
55
+ "typescript": "^5.9.0",
56
+ "vitest": "^4.1.0"
57
+ },
58
+ "engines": {
59
+ "node": ">=22.19.0"
60
+ },
61
+ "publishConfig": {
62
+ "access": "public"
63
+ }
64
+ }