@better-fs-tools/read 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 +3 -1
- package/package.json +3 -2
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/read
|
|
2
4
|
|
|
3
5
|
A bounded file reader for TypeScript agent tools. You can change every part of it.
|
|
@@ -657,7 +659,7 @@ if (result.status === "ok") {
|
|
|
657
659
|
|
|
658
660
|
A content part is `{ type: "text", text }` or `{ type: "media", mediaType, data, name? }`. `data` is a `Uint8Array`.
|
|
659
661
|
|
|
660
|
-
[docs/result-schema.md](docs/result-schema.md) lists every field, every error code with its phase, and every note code. `docs/result-schema.md` in [`@better-fs-tools/write`](https://www.npmjs.com/package/@better-fs-tools/write) has one table of the statuses and error codes of all five tools.
|
|
662
|
+
[docs/result-schema.md](docs/result-schema.md) lists every field, every error code with its phase, and every note code. The [read reference](https://betterfs.dev/reference/read) on the docs site has the same facts. `docs/result-schema.md` in [`@better-fs-tools/write`](https://www.npmjs.com/package/@better-fs-tools/write) has one table of the statuses and error codes of all five tools.
|
|
661
663
|
|
|
662
664
|
## Host context and state
|
|
663
665
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@better-fs-tools/read",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "A bounded file reader for TypeScript agent tools.",
|
|
5
|
+
"homepage": "https://betterfs.dev",
|
|
5
6
|
"license": "MIT",
|
|
6
7
|
"repository": {
|
|
7
8
|
"type": "git",
|
|
@@ -46,7 +47,7 @@
|
|
|
46
47
|
"access": "public"
|
|
47
48
|
},
|
|
48
49
|
"dependencies": {
|
|
49
|
-
"@better-fs-tools/fs": "^0.
|
|
50
|
+
"@better-fs-tools/fs": "^0.4.0"
|
|
50
51
|
},
|
|
51
52
|
"devDependencies": {
|
|
52
53
|
"typebox": "^1.3.16"
|