@better-fs-tools/pi 0.3.0 → 0.4.0
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 +4 -2
- package/package.json +7 -6
package/README.md
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
<a href="https://betterfs.dev"><img src="https://betterfs.dev/brand/D-wordmark-auto.svg" alt="Better FS Tools" height="64"></a>
|
|
2
|
+
|
|
1
3
|
# @better-fs-tools/pi
|
|
2
4
|
|
|
3
5
|
Better FS Tools for the [Pi coding agent](https://www.npmjs.com/package/@earendil-works/pi-coding-agent) and for `@earendil-works/pi-agent-core`. It replaces Pi's built-in `read`, `edit`, and `write` tools, and can add `apply_patch` and `bash`. The tools take the options of every Better FS Tools integration, with the same defaults, plus Pi's prompt options. `piCwdFileSystem()` from the `./node` subpath confines each call to its working directory.
|
|
@@ -102,7 +104,7 @@ try {
|
|
|
102
104
|
}
|
|
103
105
|
```
|
|
104
106
|
|
|
105
|
-
The session's `cwd` is the root of every call. For `tools`, `noTools`, and inline extensions with hooks and guards, see [Use Pi from code (SDK)](https://
|
|
107
|
+
The session's `cwd` is the root of every call. For `tools`, `noTools`, and inline extensions with hooks and guards, see [Use Pi from code (SDK)](https://betterfs.dev/integrations/pi#use-pi-from-code-sdk). For `pi-agent-core`, use `createAgentCoreFsTools()`: see [Pi agent core](#pi-agent-core) below. For the experimental `pi-durable` harness, use [`@better-fs-tools/pi-durable`](https://www.npmjs.com/package/@better-fs-tools/pi-durable).
|
|
106
108
|
|
|
107
109
|
## Options
|
|
108
110
|
|
|
@@ -261,7 +263,7 @@ export function addFsTools(agent: Agent): void {
|
|
|
261
263
|
|
|
262
264
|
## Links
|
|
263
265
|
|
|
264
|
-
- [Choose an integration](https://
|
|
266
|
+
- [Choose an integration](https://betterfs.dev/integrations) and [Filesystems](https://betterfs.dev/filesystems) on the docs site: the defaults of every host and bundle, and what each backend can do. `docs/hosts.md` in [`@better-fs-tools/write`](https://www.npmjs.com/package/@better-fs-tools/write) has the same tables
|
|
265
267
|
- [`@better-fs-tools/read`](https://www.npmjs.com/package/@better-fs-tools/read): every read option, the default signature, `readToolDefinition()`, and the format presets. Its README has a full Pi host example.
|
|
266
268
|
- [`@better-fs-tools/write`](https://www.npmjs.com/package/@better-fs-tools/write): every write option, the guards, and the authorizers
|
|
267
269
|
- [`@better-fs-tools/node`](https://www.npmjs.com/package/@better-fs-tools/node): the filesystem and runner that the `./node` helpers build on
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@better-fs-tools/pi",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "The Better FS Tools read, edit, write, apply_patch, and bash tools and extension for the Pi coding agent.",
|
|
5
|
+
"homepage": "https://betterfs.dev",
|
|
5
6
|
"license": "MIT",
|
|
6
7
|
"repository": {
|
|
7
8
|
"type": "git",
|
|
@@ -58,13 +59,13 @@
|
|
|
58
59
|
}
|
|
59
60
|
},
|
|
60
61
|
"dependencies": {
|
|
61
|
-
"@better-fs-tools/node": "^0.
|
|
62
|
-
"@better-fs-tools/read": "^0.
|
|
63
|
-
"@better-fs-tools/shell": "^0.
|
|
64
|
-
"@better-fs-tools/write": "^0.
|
|
62
|
+
"@better-fs-tools/node": "^0.4.0",
|
|
63
|
+
"@better-fs-tools/read": "^0.4.0",
|
|
64
|
+
"@better-fs-tools/shell": "^0.4.0",
|
|
65
|
+
"@better-fs-tools/write": "^0.4.0"
|
|
65
66
|
},
|
|
66
67
|
"devDependencies": {
|
|
67
|
-
"@better-fs-tools/fs": "^0.
|
|
68
|
+
"@better-fs-tools/fs": "^0.4.0",
|
|
68
69
|
"@earendil-works/pi-agent-core": "^1.0.0",
|
|
69
70
|
"@earendil-works/pi-coding-agent": "^1.0.0",
|
|
70
71
|
"typebox": "^1.3.16"
|