@poncho-ai/cli 0.30.6 → 0.30.7

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.30.6 build /home/runner/work/poncho-ai/poncho-ai/packages/cli
2
+ > @poncho-ai/cli@0.30.7 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
@@ -9,10 +9,10 @@
9
9
  ESM Build start
10
10
  ESM dist/cli.js 94.00 B
11
11
  ESM dist/index.js 857.00 B
12
- ESM dist/run-interactive-ink-OX4CI23D.js 56.86 KB
13
- ESM dist/chunk-3QT2S6AJ.js 492.58 KB
14
- ESM ⚡️ Build success in 65ms
12
+ ESM dist/run-interactive-ink-NV6LIQWU.js 56.86 KB
13
+ ESM dist/chunk-NPD5GM5C.js 492.77 KB
14
+ ESM ⚡️ Build success in 66ms
15
15
  DTS Build start
16
- DTS ⚡️ Build success in 4618ms
16
+ DTS ⚡️ Build success in 3963ms
17
17
  DTS dist/cli.d.ts 20.00 B
18
18
  DTS dist/index.d.ts 4.16 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @poncho-ai/cli
2
2
 
3
+ ## 0.30.7
4
+
5
+ ### Patch Changes
6
+
7
+ - [`af4e884`](https://github.com/cesr/poncho-ai/commit/af4e8842def6b6999836d9e0fc83edc7e3bdc801) Thanks [@cesr](https://github.com/cesr)! - Clear \_continuationMessages on cron continuation pickup to prevent 409 conflict with web UI auto-continuation
8
+
3
9
  ## 0.30.6
4
10
 
5
11
  ### Patch Changes
@@ -11618,6 +11618,10 @@ ${cronJob.task}`;
11618
11618
  return;
11619
11619
  }
11620
11620
  historyMessages = conversation._continuationMessages?.length ? [...conversation._continuationMessages] : [...conversation.messages];
11621
+ if (conversation._continuationMessages?.length) {
11622
+ conversation._continuationMessages = void 0;
11623
+ await conversationStore.update(conversation);
11624
+ }
11621
11625
  } else {
11622
11626
  const timestamp = (/* @__PURE__ */ new Date()).toISOString();
11623
11627
  conversation = await conversationStore.create(
@@ -12193,7 +12197,7 @@ var runInteractive = async (workingDir, params) => {
12193
12197
  await harness.initialize();
12194
12198
  const identity = await ensureAgentIdentity2(workingDir);
12195
12199
  try {
12196
- const { runInteractiveInk } = await import("./run-interactive-ink-OX4CI23D.js");
12200
+ const { runInteractiveInk } = await import("./run-interactive-ink-NV6LIQWU.js");
12197
12201
  await runInteractiveInk({
12198
12202
  harness,
12199
12203
  params,
package/dist/cli.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  main
4
- } from "./chunk-3QT2S6AJ.js";
4
+ } from "./chunk-NPD5GM5C.js";
5
5
 
6
6
  // src/cli.ts
7
7
  void main();
package/dist/index.js CHANGED
@@ -23,7 +23,7 @@ import {
23
23
  runTests,
24
24
  startDevServer,
25
25
  updateAgentGuidance
26
- } from "./chunk-3QT2S6AJ.js";
26
+ } from "./chunk-NPD5GM5C.js";
27
27
  export {
28
28
  addSkill,
29
29
  buildCli,
@@ -2,7 +2,7 @@ import {
2
2
  consumeFirstRunIntro,
3
3
  inferConversationTitle,
4
4
  resolveHarnessEnvironment
5
- } from "./chunk-3QT2S6AJ.js";
5
+ } from "./chunk-NPD5GM5C.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.30.6",
3
+ "version": "0.30.7",
4
4
  "description": "CLI for building and deploying AI agents",
5
5
  "repository": {
6
6
  "type": "git",
@@ -28,8 +28,8 @@
28
28
  "react-devtools-core": "^6.1.5",
29
29
  "yaml": "^2.8.1",
30
30
  "@poncho-ai/harness": "0.28.3",
31
- "@poncho-ai/messaging": "0.7.2",
32
- "@poncho-ai/sdk": "1.6.1"
31
+ "@poncho-ai/sdk": "1.6.1",
32
+ "@poncho-ai/messaging": "0.7.2"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@types/busboy": "^1.5.4",
package/src/index.ts CHANGED
@@ -5132,6 +5132,10 @@ export const createRequestHandler = async (options?: {
5132
5132
  historyMessages = conversation._continuationMessages?.length
5133
5133
  ? [...conversation._continuationMessages]
5134
5134
  : [...conversation.messages];
5135
+ if (conversation._continuationMessages?.length) {
5136
+ conversation._continuationMessages = undefined;
5137
+ await conversationStore.update(conversation);
5138
+ }
5135
5139
  } else {
5136
5140
  const timestamp = new Date().toISOString();
5137
5141
  conversation = await conversationStore.create(