@poncho-ai/cli 0.40.1 → 0.40.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @poncho-ai/cli@0.40.1 build /home/runner/work/poncho-ai/poncho-ai/packages/cli
2
+ > @poncho-ai/cli@0.40.2 build /home/runner/work/poncho-ai/poncho-ai/packages/cli
3
3
  > tsup src/index.ts src/cli.ts --format esm --dts
4
4
 
5
5
  CLI Building entry: src/cli.ts, src/index.ts
@@ -7,12 +7,12 @@
7
7
  CLI tsup v8.5.1
8
8
  CLI Target: es2022
9
9
  ESM Build start
10
- ESM dist/cli.js 94.00 B
10
+ ESM dist/cli.js 528.00 B
11
11
  ESM dist/index.js 3.10 KB
12
12
  ESM dist/run-interactive-ink-LJTKUUV4.js 23.38 KB
13
13
  ESM dist/chunk-KVGMTYDD.js 674.92 KB
14
- ESM ⚡️ Build success in 72ms
14
+ ESM ⚡️ Build success in 83ms
15
15
  DTS Build start
16
- DTS ⚡️ Build success in 4002ms
16
+ DTS ⚡️ Build success in 4702ms
17
17
  DTS dist/cli.d.ts 20.00 B
18
18
  DTS dist/index.d.ts 13.25 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # @poncho-ai/cli
2
2
 
3
+ ## 0.40.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`1dd0e5b`](https://github.com/cesr/poncho-ai/commit/1dd0e5b98f93de5715614be97e62ed503792cf16) Thanks [@cesr](https://github.com/cesr)! - cli: suppress Node `ExperimentalWarning` output during `poncho dev`
8
+
9
+ When running on Node 22.6+, every `.ts` skill script triggers a
10
+ `stripTypeScriptTypes is an experimental feature` warning via
11
+ `process.emitWarning`. Repeated activation of TypeScript-backed skills
12
+ spammed the dev server log with the same warning, sometimes 4–8 times
13
+ in a single agent turn.
14
+
15
+ The CLI now installs an in-process `process.emitWarning` filter at the
16
+ entry point that drops `ExperimentalWarning`s before they reach stderr.
17
+ Other warnings (deprecation, security, etc.) pass through unchanged.
18
+
19
+ If the in-process filter doesn't catch a particular warning (e.g. one
20
+ emitted from a Node internal module before user code runs), users can
21
+ still suppress them with `NODE_OPTIONS='--disable-warning=ExperimentalWarning'`.
22
+
23
+ - Updated dependencies [[`7d57a88`](https://github.com/cesr/poncho-ai/commit/7d57a88e55a49ec04de3dbd415b2440bb727e31f), [`ac18616`](https://github.com/cesr/poncho-ai/commit/ac18616b864189c91d0957c72c537933497505f4), [`4b5d974`](https://github.com/cesr/poncho-ai/commit/4b5d974345733ac9e68f36201dff7e7d8a8f0327), [`c22416b`](https://github.com/cesr/poncho-ai/commit/c22416b3d4c4557277aeabf53e70877be6436e85)]:
24
+ - @poncho-ai/harness@0.41.0
25
+
3
26
  ## 0.40.1
4
27
 
5
28
  ### Patch Changes
package/dist/cli.js CHANGED
@@ -4,4 +4,10 @@ import {
4
4
  } from "./chunk-KVGMTYDD.js";
5
5
 
6
6
  // src/cli.ts
7
+ var _originalEmitWarning = process.emitWarning.bind(process);
8
+ process.emitWarning = ((warning, ...args) => {
9
+ const name = typeof warning === "object" && warning !== null && "name" in warning ? warning.name : typeof args[0] === "string" ? args[0] : args[0] && typeof args[0] === "object" && "type" in args[0] ? args[0].type : void 0;
10
+ if (name === "ExperimentalWarning") return;
11
+ return _originalEmitWarning(warning, ...args);
12
+ });
7
13
  void main();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poncho-ai/cli",
3
- "version": "0.40.1",
3
+ "version": "0.40.2",
4
4
  "description": "CLI for building and deploying AI agents",
5
5
  "repository": {
6
6
  "type": "git",
@@ -28,9 +28,9 @@
28
28
  "react": "^19.2.4",
29
29
  "react-devtools-core": "^6.1.5",
30
30
  "yaml": "^2.8.1",
31
+ "@poncho-ai/harness": "0.41.0",
31
32
  "@poncho-ai/messaging": "0.8.5",
32
- "@poncho-ai/sdk": "1.10.0",
33
- "@poncho-ai/harness": "0.40.1"
33
+ "@poncho-ai/sdk": "1.10.0"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/busboy": "^1.5.4",
package/src/cli.ts CHANGED
@@ -1,4 +1,23 @@
1
1
  #!/usr/bin/env node
2
+ // Suppress Node's `ExperimentalWarning` output. The TS-stripping warnings
3
+ // (emitted every time jiti loads a .ts skill script under Node 22.6+) are
4
+ // pure noise for poncho users — there's nothing actionable. Filter via
5
+ // `process.emitWarning` so warnings still go to telemetry / logs but don't
6
+ // pollute the dev server output.
7
+ const _originalEmitWarning = process.emitWarning.bind(process);
8
+ process.emitWarning = ((warning: unknown, ...args: unknown[]) => {
9
+ const name =
10
+ typeof warning === "object" && warning !== null && "name" in warning
11
+ ? (warning as { name?: unknown }).name
12
+ : typeof args[0] === "string"
13
+ ? args[0]
14
+ : args[0] && typeof args[0] === "object" && "type" in args[0]
15
+ ? (args[0] as { type?: unknown }).type
16
+ : undefined;
17
+ if (name === "ExperimentalWarning") return;
18
+ return (_originalEmitWarning as (...a: unknown[]) => void)(warning, ...args);
19
+ }) as typeof process.emitWarning;
20
+
2
21
  import { main } from "./index.js";
3
22
 
4
23
  void main();