@poncho-ai/cli 0.36.5 → 0.36.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.
- package/.turbo/turbo-build.log +5 -5
- package/CHANGELOG.md +13 -0
- package/dist/{chunk-EX3OMVLC.js → chunk-GG6IZSWT.js} +15 -2
- package/dist/cli.js +1 -1
- package/dist/index.js +1 -1
- package/dist/{run-interactive-ink-N377UGJA.js → run-interactive-ink-3OIMW3XL.js} +1 -1
- package/package.json +2 -2
- package/src/index.ts +20 -3
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @poncho-ai/cli@0.36.
|
|
2
|
+
> @poncho-ai/cli@0.36.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
|
[34mCLI[39m Building entry: src/cli.ts, src/index.ts
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
[34mCLI[39m Target: es2022
|
|
9
9
|
[34mESM[39m Build start
|
|
10
10
|
[32mESM[39m [1mdist/cli.js [22m[32m94.00 B[39m
|
|
11
|
+
[32mESM[39m [1mdist/run-interactive-ink-3OIMW3XL.js [22m[32m56.86 KB[39m
|
|
11
12
|
[32mESM[39m [1mdist/index.js [22m[32m917.00 B[39m
|
|
12
|
-
[32mESM[39m [1mdist/
|
|
13
|
-
[32mESM[39m
|
|
14
|
-
[32mESM[39m ⚡️ Build success in 97ms
|
|
13
|
+
[32mESM[39m [1mdist/chunk-GG6IZSWT.js [22m[32m571.87 KB[39m
|
|
14
|
+
[32mESM[39m ⚡️ Build success in 68ms
|
|
15
15
|
[34mDTS[39m Build start
|
|
16
|
-
[32mDTS[39m ⚡️ Build success in
|
|
16
|
+
[32mDTS[39m ⚡️ Build success in 4238ms
|
|
17
17
|
[32mDTS[39m [1mdist/cli.d.ts [22m[32m20.00 B[39m
|
|
18
18
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m7.07 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @poncho-ai/cli
|
|
2
2
|
|
|
3
|
+
## 0.36.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#89](https://github.com/cesr/poncho-ai/pull/89) [`e71cd6d`](https://github.com/cesr/poncho-ai/commit/e71cd6dcbdbba947ca5aed5f0ffddf91ac50a7e8) Thanks [@cesr](https://github.com/cesr)! - fix: surface a loud stderr warning when the CLI falls back to in-memory conversation storage (i.e. when `harness.storageEngine` is undefined). Previously this path was silent — agents appeared to work but nothing persisted to disk, no DB file was created, and the new bash tool was absent, all with zero log output. Also triggers a patch republish so the CLI tarball is re-pinned to the current workspace harness.
|
|
8
|
+
|
|
9
|
+
## 0.36.6
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [[`fb61a62`](https://github.com/cesr/poncho-ai/commit/fb61a6259367f0a62d0acd7a20ef2fae93013819)]:
|
|
14
|
+
- @poncho-ai/harness@0.37.1
|
|
15
|
+
|
|
3
16
|
## 0.36.5
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -9906,6 +9906,11 @@ data: ${JSON.stringify(statusPayload)}
|
|
|
9906
9906
|
const telemetry = new TelemetryEmitter(config?.telemetry);
|
|
9907
9907
|
const identity = await ensureAgentIdentity2(workingDir);
|
|
9908
9908
|
const stateConfig = resolveStateConfig(config);
|
|
9909
|
+
if (!harness.storageEngine) {
|
|
9910
|
+
process.stderr.write(
|
|
9911
|
+
"[poncho] WARNING: harness.storageEngine is undefined. This usually means an outdated @poncho-ai/harness (< 0.37.0) is installed. Falling back to in-memory storage \u2014 conversations will NOT be persisted. Fix: `pnpm up @poncho-ai/harness@latest` or add a pnpm.overrides entry to force resolution.\n"
|
|
9912
|
+
);
|
|
9913
|
+
}
|
|
9909
9914
|
const conversationStore = harness.storageEngine ? createConversationStoreFromEngine(harness.storageEngine) : createConversationStore(stateConfig, { workingDir, agentId: identity.id });
|
|
9910
9915
|
const buildRecallParams = (opts) => {
|
|
9911
9916
|
let cachedRecallCorpus;
|
|
@@ -14042,13 +14047,21 @@ var runInteractive = async (workingDir, params) => {
|
|
|
14042
14047
|
await harness.initialize();
|
|
14043
14048
|
const identity = await ensureAgentIdentity2(workingDir);
|
|
14044
14049
|
try {
|
|
14045
|
-
const { runInteractiveInk } = await import("./run-interactive-ink-
|
|
14050
|
+
const { runInteractiveInk } = await import("./run-interactive-ink-3OIMW3XL.js");
|
|
14046
14051
|
await runInteractiveInk({
|
|
14047
14052
|
harness,
|
|
14048
14053
|
params,
|
|
14049
14054
|
workingDir,
|
|
14050
14055
|
config,
|
|
14051
|
-
conversationStore:
|
|
14056
|
+
conversationStore: (() => {
|
|
14057
|
+
if (!harness.storageEngine) {
|
|
14058
|
+
process.stderr.write(
|
|
14059
|
+
"[poncho] WARNING: harness.storageEngine is undefined. This usually means an outdated @poncho-ai/harness (< 0.37.0) is installed. Falling back to in-memory storage \u2014 conversations will NOT be persisted. Fix: `pnpm up @poncho-ai/harness@latest` or add a pnpm.overrides entry to force resolution.\n"
|
|
14060
|
+
);
|
|
14061
|
+
return createConversationStore(resolveStateConfig(config), { workingDir, agentId: identity.id });
|
|
14062
|
+
}
|
|
14063
|
+
return createConversationStoreFromEngine(harness.storageEngine);
|
|
14064
|
+
})()
|
|
14052
14065
|
});
|
|
14053
14066
|
} finally {
|
|
14054
14067
|
await harness.shutdown();
|
package/dist/cli.js
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@poncho-ai/cli",
|
|
3
|
-
"version": "0.36.
|
|
3
|
+
"version": "0.36.7",
|
|
4
4
|
"description": "CLI for building and deploying AI agents",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -28,7 +28,7 @@
|
|
|
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.37.
|
|
31
|
+
"@poncho-ai/harness": "0.37.1",
|
|
32
32
|
"@poncho-ai/messaging": "0.8.3",
|
|
33
33
|
"@poncho-ai/sdk": "1.8.1"
|
|
34
34
|
},
|
package/src/index.ts
CHANGED
|
@@ -2229,6 +2229,14 @@ export const createRequestHandler = async (options?: {
|
|
|
2229
2229
|
const telemetry = new TelemetryEmitter(config?.telemetry);
|
|
2230
2230
|
const identity = await ensureAgentIdentity(workingDir);
|
|
2231
2231
|
const stateConfig = resolveStateConfig(config);
|
|
2232
|
+
if (!harness.storageEngine) {
|
|
2233
|
+
process.stderr.write(
|
|
2234
|
+
"[poncho] WARNING: harness.storageEngine is undefined. " +
|
|
2235
|
+
"This usually means an outdated @poncho-ai/harness (< 0.37.0) is installed. " +
|
|
2236
|
+
"Falling back to in-memory storage — conversations will NOT be persisted. " +
|
|
2237
|
+
"Fix: `pnpm up @poncho-ai/harness@latest` or add a pnpm.overrides entry to force resolution.\n",
|
|
2238
|
+
);
|
|
2239
|
+
}
|
|
2232
2240
|
const conversationStore = harness.storageEngine
|
|
2233
2241
|
? createConversationStoreFromEngine(harness.storageEngine)
|
|
2234
2242
|
: createConversationStore(stateConfig, { workingDir, agentId: identity.id });
|
|
@@ -6978,9 +6986,18 @@ export const runInteractive = async (
|
|
|
6978
6986
|
params,
|
|
6979
6987
|
workingDir,
|
|
6980
6988
|
config,
|
|
6981
|
-
conversationStore:
|
|
6982
|
-
|
|
6983
|
-
|
|
6989
|
+
conversationStore: (() => {
|
|
6990
|
+
if (!harness.storageEngine) {
|
|
6991
|
+
process.stderr.write(
|
|
6992
|
+
"[poncho] WARNING: harness.storageEngine is undefined. " +
|
|
6993
|
+
"This usually means an outdated @poncho-ai/harness (< 0.37.0) is installed. " +
|
|
6994
|
+
"Falling back to in-memory storage — conversations will NOT be persisted. " +
|
|
6995
|
+
"Fix: `pnpm up @poncho-ai/harness@latest` or add a pnpm.overrides entry to force resolution.\n",
|
|
6996
|
+
);
|
|
6997
|
+
return createConversationStore(resolveStateConfig(config), { workingDir, agentId: identity.id });
|
|
6998
|
+
}
|
|
6999
|
+
return createConversationStoreFromEngine(harness.storageEngine);
|
|
7000
|
+
})(),
|
|
6984
7001
|
});
|
|
6985
7002
|
} finally {
|
|
6986
7003
|
await harness.shutdown();
|