poe-code 12.0.2 → 12.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.
- package/README.md +24 -0
- package/dist/index.js +8 -2
- package/dist/index.js.map +2 -2
- package/dist/metafile.json +1 -1
- package/package.json +8 -2
- package/packages/package-lint/dist/bundle-policy.d.ts +45 -0
- package/packages/package-lint/dist/bundle-policy.js +169 -0
- package/packages/package-lint/dist/model.d.ts +4 -10
- package/packages/package-lint/dist/model.js +4 -2
- package/packages/package-lint/dist/packlist.js +5 -1
- package/packages/package-lint/dist/rules/bundle-self-contained.js +11 -25
- package/packages/safe-fs/dist/contracts/abort.d.ts +5 -0
- package/packages/safe-fs/dist/contracts/cleanup.d.ts +1 -0
- package/packages/safe-fs/dist/contracts/errors.d.ts +49 -0
- package/packages/safe-fs/dist/contracts/filesystem.d.ts +96 -0
- package/packages/safe-fs/dist/contracts/index.d.ts +4 -0
- package/packages/safe-fs/dist/contracts/io.d.ts +8 -0
- package/packages/safe-fs/dist/contracts/path.d.ts +13 -0
- package/packages/safe-fs/dist/fs/memory/index.d.ts +58 -0
- package/packages/safe-fs/dist/fs/mount/comparison.d.ts +18 -0
- package/packages/safe-fs/dist/fs/mount/identity.d.ts +2 -0
- package/packages/safe-fs/dist/fs/mount/index.d.ts +44 -0
- package/packages/safe-fs/dist/fs/overlay/index.d.ts +72 -0
- package/packages/safe-fs/dist/fs/readonly/index.d.ts +30 -0
- package/packages/safe-fs/dist/fs/real/allocation.d.ts +1 -0
- package/packages/safe-fs/dist/fs/real/index.d.ts +76 -0
- package/packages/safe-fs/dist/fs/s3/authority.d.ts +13 -0
- package/packages/safe-fs/dist/fs/s3/filesystem.d.ts +93 -0
- package/packages/safe-fs/dist/fs/s3/http/index.d.ts +2 -0
- package/packages/safe-fs/dist/fs/s3/http/request.d.ts +16 -0
- package/packages/safe-fs/dist/fs/s3/http/signature.d.ts +20 -0
- package/packages/safe-fs/dist/fs/s3/http/transport.d.ts +3 -0
- package/packages/safe-fs/dist/fs/s3/http/types.d.ts +30 -0
- package/packages/safe-fs/dist/fs/s3/http/xml.d.ts +11 -0
- package/packages/safe-fs/dist/fs/s3/index.d.ts +6 -0
- package/packages/safe-fs/dist/fs/s3/mock.d.ts +48 -0
- package/packages/safe-fs/dist/fs/s3/transport.d.ts +103 -0
- package/packages/safe-fs/dist/fs/webdav/index.d.ts +2 -0
- package/packages/safe-fs/dist/fs/webdav/resource-id.d.ts +18 -0
- package/packages/safe-fs/dist/fs/webdav/webdav.d.ts +98 -0
- package/packages/safe-fs/dist/fs/webdav/xml.d.ts +15 -0
- package/packages/safe-fs/dist/index.d.ts +11 -0
- package/packages/safe-fs/dist/node/filesystem.d.ts +11 -0
- package/packages/safe-fs/dist/node/index.d.ts +2 -0
- package/packages/safe-fs/dist/node/stats.d.ts +4 -0
- package/packages/safe-fs/dist/node/values.d.ts +6 -0
- package/packages/safejs/dist/safe-fs.js +6476 -0
- package/packages/safejs/dist/safe-fs.js.map +7 -0
package/README.md
CHANGED
|
@@ -261,6 +261,30 @@ console.log(identity.name, identity.handle);
|
|
|
261
261
|
|
|
262
262
|
Uses `POE_API_KEY` or the stored credential and honors `POE_BASE_URL`. Throws an API error when Poe rejects the credential.
|
|
263
263
|
|
|
264
|
+
### Shared filesystem foundation (planned release)
|
|
265
|
+
|
|
266
|
+
The next foundation-only release is intended to expose `poe-code/safe-fs`.
|
|
267
|
+
Public packaging is still under validation; this import is not yet part of a
|
|
268
|
+
verified release. `@poe-code/safe-fs` is the private workspace name, not a public
|
|
269
|
+
npm import.
|
|
270
|
+
|
|
271
|
+
The implemented foundation contains memory, host-directory, S3 and WebDAV
|
|
272
|
+
adapters; mount, read-only and overlay wrappers; and the shared `FileSystem`,
|
|
273
|
+
`FsError` and `createNodeFsBridge` APIs. The intended public usage after release is:
|
|
274
|
+
|
|
275
|
+
```typescript
|
|
276
|
+
import { MemoryFileSystem } from "poe-code/safe-fs";
|
|
277
|
+
|
|
278
|
+
const filesystem = new MemoryFileSystem();
|
|
279
|
+
await filesystem.writeFile("/note", new TextEncoder().encode("hello"));
|
|
280
|
+
```
|
|
281
|
+
|
|
282
|
+
The public entry targets Node.js. Browser support, SafeJS/safe-bash runtime
|
|
283
|
+
migration, CLI adapter configuration and the `safe-js` rename are not complete.
|
|
284
|
+
The host-directory adapter is not race-proof OS isolation. See the
|
|
285
|
+
[foundation documentation](packages/safe-fs/README.md) for configuration,
|
|
286
|
+
capabilities and backend limitations.
|
|
287
|
+
|
|
264
288
|
## Building from Source
|
|
265
289
|
|
|
266
290
|
Run `npm run build` to compile the workspace and generate the published bundles.
|
package/dist/index.js
CHANGED
|
@@ -155792,7 +155792,7 @@ var init_package2 = __esm({
|
|
|
155792
155792
|
"package.json"() {
|
|
155793
155793
|
package_default2 = {
|
|
155794
155794
|
name: "poe-code",
|
|
155795
|
-
version: "12.0.
|
|
155795
|
+
version: "12.0.3",
|
|
155796
155796
|
description: "CLI tool to configure Poe API for developer workflows.",
|
|
155797
155797
|
license: "MIT",
|
|
155798
155798
|
type: "module",
|
|
@@ -155838,6 +155838,10 @@ var init_package2 = __esm({
|
|
|
155838
155838
|
"./skills": {
|
|
155839
155839
|
types: "./dist/skills.d.ts",
|
|
155840
155840
|
import: "./dist/skills.js"
|
|
155841
|
+
},
|
|
155842
|
+
"./safe-fs": {
|
|
155843
|
+
types: "./packages/safe-fs/dist/index.d.ts",
|
|
155844
|
+
import: "./packages/safejs/dist/safe-fs.js"
|
|
155841
155845
|
}
|
|
155842
155846
|
},
|
|
155843
155847
|
workspaces: [
|
|
@@ -155986,7 +155990,8 @@ var init_package2 = __esm({
|
|
|
155986
155990
|
"packages/toolcraft-openapi/dist",
|
|
155987
155991
|
"packages/toolcraft-schema/dist",
|
|
155988
155992
|
"packages/workspace-resolver/dist",
|
|
155989
|
-
"packages/worktree/dist"
|
|
155993
|
+
"packages/worktree/dist",
|
|
155994
|
+
"packages/safe-fs/dist/**/*.d.ts"
|
|
155990
155995
|
],
|
|
155991
155996
|
engines: {
|
|
155992
155997
|
node: ">=18.18"
|
|
@@ -156062,6 +156067,7 @@ var init_package2 = __esm({
|
|
|
156062
156067
|
"@poe-code/providers": "*",
|
|
156063
156068
|
"@poe-code/py-poe-spawn": "*",
|
|
156064
156069
|
"@poe-code/ralph": "*",
|
|
156070
|
+
"@poe-code/safe-fs": "*",
|
|
156065
156071
|
"@poe-code/safejs": "*",
|
|
156066
156072
|
"@poe-code/superintendent": "*",
|
|
156067
156073
|
"@poe-code/task-list": "*",
|