poe-code 11.0.0 → 11.0.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/README.md CHANGED
@@ -261,6 +261,22 @@ 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
+ ## Building from Source
265
+
266
+ Run `npm run build` to compile the workspace and generate the published bundles.
267
+ SafeJS compilation clears its previous TypeScript output, so deleted sources do
268
+ not leave stale JavaScript or declarations behind. Bundling validates the output
269
+ graph and stages complete files before publishing dependencies and then entry
270
+ points; obsolete JavaScript chunks and their source maps are removed afterward.
271
+ `npm run dev -- <command>` also reruns bundling after cached workspace builds.
272
+
273
+ Output-path guards reject unresolved symbolic links and paths escaping the
274
+ package. Bundle cleanup preserves unrelated files. The bundle step does not
275
+ overwrite existing outputs if compilation fails, but a full build is not atomic
276
+ across the whole package. Do not run concurrent builds against the same output
277
+ directories. See the [artifact cleanup plan](docs/plans/safejs-artifact-cleanup.md)
278
+ for fault-injection coverage and verification steps.
279
+
264
280
  ## Research Preview
265
281
 
266
282
  These features are available but subject to breaking changes.
package/dist/index.js CHANGED
@@ -142870,7 +142870,10 @@ function createObjectArrayGlobals(options) {
142870
142870
  MIN_SAFE_INTEGER: Number.MIN_SAFE_INTEGER,
142871
142871
  EPSILON: Number.EPSILON,
142872
142872
  MAX_VALUE: Number.MAX_VALUE,
142873
- MIN_VALUE: Number.MIN_VALUE
142873
+ MIN_VALUE: Number.MIN_VALUE,
142874
+ NaN: Number.NaN,
142875
+ NEGATIVE_INFINITY: Number.NEGATIVE_INFINITY,
142876
+ POSITIVE_INFINITY: Number.POSITIVE_INFINITY
142874
142877
  }
142875
142878
  }),
142876
142879
  Boolean: createSandboxClosure({
@@ -155454,7 +155457,7 @@ var init_package2 = __esm({
155454
155457
  "package.json"() {
155455
155458
  package_default2 = {
155456
155459
  name: "poe-code",
155457
- version: "11.0.0",
155460
+ version: "11.0.2",
155458
155461
  description: "CLI tool to configure Poe API for developer workflows.",
155459
155462
  license: "MIT",
155460
155463
  type: "module",
@@ -155511,7 +155514,7 @@ var init_package2 = __esm({
155511
155514
  "codegen:python-types": "tsx scripts/generate-agent-spawn-py-types.ts",
155512
155515
  "codegen:check:python-types": "tsx scripts/generate-agent-spawn-py-types.ts --check",
155513
155516
  "install:py-poe-spawn": "pip install -e packages/py-poe-spawn",
155514
- predev: "turbo run build --output-logs=errors-only --log-prefix=none --verbosity=0",
155517
+ predev: "turbo run build --output-logs=errors-only --log-prefix=none --verbosity=0 && node scripts/bundle.mjs",
155515
155518
  dev: "tsx --import ./scripts/register-template-loader.mjs src/index.ts",
155516
155519
  start: "node dist/bin.cjs",
155517
155520
  "dev:bundle": "npm run build && node dist/bin.cjs",