@poncho-ai/cli 0.34.2 → 0.34.4

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.34.2 build /home/runner/work/poncho-ai/poncho-ai/packages/cli
2
+ > @poncho-ai/cli@0.34.4 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
@@ -8,11 +8,11 @@
8
8
  CLI Target: es2022
9
9
  ESM Build start
10
10
  ESM dist/cli.js 94.00 B
11
+ ESM dist/run-interactive-ink-4DHMCX5M.js 56.86 KB
11
12
  ESM dist/index.js 917.00 B
12
- ESM dist/run-interactive-ink-DYCMDTTJ.js 56.86 KB
13
- ESM dist/chunk-C5XPPHBB.js 530.96 KB
14
- ESM ⚡️ Build success in 75ms
13
+ ESM dist/chunk-QDPS64N6.js 530.97 KB
14
+ ESM ⚡️ Build success in 70ms
15
15
  DTS Build start
16
- DTS ⚡️ Build success in 4619ms
16
+ DTS ⚡️ Build success in 4049ms
17
17
  DTS dist/cli.d.ts 20.00 B
18
18
  DTS dist/index.d.ts 7.07 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @poncho-ai/cli
2
2
 
3
+ ## 0.34.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [`8d7dadd`](https://github.com/cesr/poncho-ai/commit/8d7dadd868511b7157bcf3ee14301d7abe86bb50) Thanks [@cesr](https://github.com/cesr)! - fix: make `poncho build` target argument optional so it no-ops when called without a target (e.g. from Vercel build scripts)
8
+
9
+ - Updated dependencies [[`3f096f2`](https://github.com/cesr/poncho-ai/commit/3f096f28b9ab797b52f1b725778976929156cce9)]:
10
+ - @poncho-ai/harness@0.34.0
11
+
12
+ ## 0.34.3
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies [[`69dd20a`](https://github.com/cesr/poncho-ai/commit/69dd20ae31ada0edaf281cf451729ffe37f4df71)]:
17
+ - @poncho-ai/messaging@0.8.1
18
+
3
19
  ## 0.34.2
4
20
 
5
21
  ### Patch Changes
@@ -7971,8 +7971,7 @@ var PACKAGE_TEMPLATE = async (name, projectDir) => {
7971
7971
  scripts: {
7972
7972
  dev: "poncho dev",
7973
7973
  start: "poncho dev",
7974
- test: "poncho test",
7975
- build: "poncho build"
7974
+ test: "poncho test"
7976
7975
  },
7977
7976
  dependencies: {
7978
7977
  "@poncho-ai/cli": cliDep
@@ -13122,7 +13121,7 @@ var runInteractive = async (workingDir, params) => {
13122
13121
  await harness.initialize();
13123
13122
  const identity = await ensureAgentIdentity2(workingDir);
13124
13123
  try {
13125
- const { runInteractiveInk } = await import("./run-interactive-ink-DYCMDTTJ.js");
13124
+ const { runInteractiveInk } = await import("./run-interactive-ink-4DHMCX5M.js");
13126
13125
  await runInteractiveInk({
13127
13126
  harness,
13128
13127
  params,
@@ -13790,7 +13789,10 @@ var buildCli = () => {
13790
13789
  process.exitCode = 1;
13791
13790
  }
13792
13791
  });
13793
- program.command("build").argument("<target>", "vercel|docker|lambda|fly").option("--force", "overwrite existing deployment files").description("Scaffold deployment files for a target").action(async (target, options) => {
13792
+ program.command("build").argument("[target]", "vercel|docker|lambda|fly").option("--force", "overwrite existing deployment files").description("Scaffold deployment files for a target").action(async (target, options) => {
13793
+ if (!target) {
13794
+ return;
13795
+ }
13794
13796
  await buildTarget(process.cwd(), target, { force: options.force });
13795
13797
  });
13796
13798
  const mcpCommand = program.command("mcp").description("Manage MCP servers");
package/dist/cli.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  main
4
- } from "./chunk-C5XPPHBB.js";
4
+ } from "./chunk-QDPS64N6.js";
5
5
 
6
6
  // src/cli.ts
7
7
  void main();
package/dist/index.js CHANGED
@@ -24,7 +24,7 @@ import {
24
24
  runTests,
25
25
  startDevServer,
26
26
  updateAgentGuidance
27
- } from "./chunk-C5XPPHBB.js";
27
+ } from "./chunk-QDPS64N6.js";
28
28
  export {
29
29
  __internalRunOrchestration,
30
30
  addSkill,
@@ -2,7 +2,7 @@ import {
2
2
  consumeFirstRunIntro,
3
3
  inferConversationTitle,
4
4
  resolveHarnessEnvironment
5
- } from "./chunk-C5XPPHBB.js";
5
+ } from "./chunk-QDPS64N6.js";
6
6
 
7
7
  // src/run-interactive-ink.ts
8
8
  import * as readline from "readline";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poncho-ai/cli",
3
- "version": "0.34.2",
3
+ "version": "0.34.4",
4
4
  "description": "CLI for building and deploying AI agents",
5
5
  "repository": {
6
6
  "type": "git",
@@ -27,9 +27,9 @@
27
27
  "react": "^19.2.4",
28
28
  "react-devtools-core": "^6.1.5",
29
29
  "yaml": "^2.8.1",
30
- "@poncho-ai/harness": "0.33.1",
31
- "@poncho-ai/messaging": "0.8.0",
32
- "@poncho-ai/sdk": "1.7.1"
30
+ "@poncho-ai/messaging": "0.8.1",
31
+ "@poncho-ai/sdk": "1.7.1",
32
+ "@poncho-ai/harness": "0.34.0"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@types/busboy": "^1.5.4",
package/src/index.ts CHANGED
@@ -878,7 +878,6 @@ const PACKAGE_TEMPLATE = async (name: string, projectDir: string): Promise<strin
878
878
  dev: "poncho dev",
879
879
  start: "poncho dev",
880
880
  test: "poncho test",
881
- build: "poncho build",
882
881
  },
883
882
  dependencies: {
884
883
  "@poncho-ai/cli": cliDep,
@@ -7637,10 +7636,15 @@ export const buildCli = (): Command => {
7637
7636
 
7638
7637
  program
7639
7638
  .command("build")
7640
- .argument("<target>", "vercel|docker|lambda|fly")
7639
+ .argument("[target]", "vercel|docker|lambda|fly")
7641
7640
  .option("--force", "overwrite existing deployment files")
7642
7641
  .description("Scaffold deployment files for a target")
7643
- .action(async (target: string, options: { force?: boolean }) => {
7642
+ .action(async (target: string | undefined, options: { force?: boolean }) => {
7643
+ if (!target) {
7644
+ // No-op when called without a target (e.g. from Vercel build scripts).
7645
+ // Scaffolding is done locally via `poncho build <target>`.
7646
+ return;
7647
+ }
7644
7648
  await buildTarget(process.cwd(), target, { force: options.force });
7645
7649
  });
7646
7650