@leviyuan/lodestar 0.21.15 → 0.21.17
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/dist/dsh-bridge.js +4 -4
- package/dist/lodestar-agent.js +50 -50
- package/dist/lodestar-claude.js +18 -18
- package/dist/lodestar-setup.js +53 -53
- package/dist/lodestar-stop.js +3 -3
- package/dist/lodestar-update.js +49 -49
- package/dist/lodestar-version.js +12 -12
- package/dist/lodestar.js +251 -257
- package/docs/claude-agent-backend.md +1 -1
- package/docs/configuration.md +5 -3
- package/docs/usage.md +9 -10
- package/package.json +16 -11
- package/scripts/postinstall.cjs +4 -2
- package/src/codex-plugin-cache.cjs +188 -0
- package/src/data-dir.cjs +5 -1
package/dist/dsh-bridge.js
CHANGED
|
@@ -44,7 +44,7 @@ function apply(ctx) {
|
|
|
44
44
|
};
|
|
45
45
|
const fail = (error) => {
|
|
46
46
|
const message = nativeErrorMessage(error);
|
|
47
|
-
process.stderr.write(`lodestar-dsh:
|
|
47
|
+
process.stderr.write(`lodestar-dsh: runtime failure
|
|
48
48
|
`);
|
|
49
49
|
notify("failure", { message });
|
|
50
50
|
};
|
|
@@ -113,7 +113,7 @@ function apply(ctx) {
|
|
|
113
113
|
});
|
|
114
114
|
ctx.on("agent/error", ({ agent, error }) => {
|
|
115
115
|
const message = nativeErrorMessage(error);
|
|
116
|
-
process.stderr.write(`lodestar-dsh agent
|
|
116
|
+
process.stderr.write(`lodestar-dsh: agent failure
|
|
117
117
|
`);
|
|
118
118
|
if (agent.session.id === rootId)
|
|
119
119
|
turnFailure = message;
|
|
@@ -392,8 +392,8 @@ function apply(ctx) {
|
|
|
392
392
|
if (opening) {
|
|
393
393
|
try {
|
|
394
394
|
await opening;
|
|
395
|
-
} catch
|
|
396
|
-
process.stderr.write(`lodestar-dsh: initialization cancelled during shutdown
|
|
395
|
+
} catch {
|
|
396
|
+
process.stderr.write(`lodestar-dsh: initialization cancelled during shutdown
|
|
397
397
|
`);
|
|
398
398
|
}
|
|
399
399
|
}
|