@kody-ade/kody-engine 0.3.76 → 0.3.78
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/bin/kody.js +20 -1
- package/package.json +1 -1
package/dist/bin/kody.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// package.json
|
|
4
4
|
var package_default = {
|
|
5
5
|
name: "@kody-ade/kody-engine",
|
|
6
|
-
version: "0.3.
|
|
6
|
+
version: "0.3.78",
|
|
7
7
|
description: "kody \u2014 autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative executable profiles.",
|
|
8
8
|
license: "MIT",
|
|
9
9
|
type: "module",
|
|
@@ -731,12 +731,21 @@ async function runInteractiveMode(opts) {
|
|
|
731
731
|
const hardCapMs = opts.meta.hardCapMs ?? DEFAULT_HARD_CAP_MS;
|
|
732
732
|
const startedAt = Date.now();
|
|
733
733
|
const deadlineMs = startedAt + hardCapMs;
|
|
734
|
+
process.stdout.write(`\u2192 kody:chat:interactive: emitting chat.ready (idleExitMs=${idleExitMs}, hardCapMs=${hardCapMs})
|
|
735
|
+
`);
|
|
734
736
|
await emit2(opts.sink, "chat.ready", opts.sessionId, "ready", {
|
|
735
737
|
sessionId: opts.sessionId,
|
|
736
738
|
startedAt: new Date(startedAt).toISOString(),
|
|
737
739
|
idleExitMs,
|
|
738
740
|
hardCapMs
|
|
739
741
|
});
|
|
742
|
+
if (!opts.skipGit) {
|
|
743
|
+
process.stdout.write(`\u2192 kody:chat:interactive: committing chat.ready event to git
|
|
744
|
+
`);
|
|
745
|
+
commitTurn(opts.cwd, opts.sessionId, opts.verbose ?? false);
|
|
746
|
+
process.stdout.write(`\u2192 kody:chat:interactive: chat.ready committed; entering poll loop
|
|
747
|
+
`);
|
|
748
|
+
}
|
|
740
749
|
let watermark = 0;
|
|
741
750
|
let turnsCompleted = 0;
|
|
742
751
|
while (true) {
|
|
@@ -8178,11 +8187,15 @@ ${CHAT_HELP}`);
|
|
|
8178
8187
|
return 99;
|
|
8179
8188
|
}
|
|
8180
8189
|
}
|
|
8190
|
+
process.stdout.write(`\u2192 kody:chat: starting litellm proxy (model=${model.provider}/${model.model})
|
|
8191
|
+
`);
|
|
8181
8192
|
let litellm = null;
|
|
8182
8193
|
try {
|
|
8183
8194
|
litellm = await startLitellmIfNeeded(model, cwd);
|
|
8184
8195
|
} catch (err) {
|
|
8185
8196
|
const msg = err instanceof Error ? err.message : String(err);
|
|
8197
|
+
process.stderr.write(`\u2192 kody:chat: litellm startup FAILED: ${msg}
|
|
8198
|
+
`);
|
|
8186
8199
|
const sink2 = buildSink(cwd, sessionId, args.dashboardUrl);
|
|
8187
8200
|
await sink2.emit({
|
|
8188
8201
|
event: "chat.error",
|
|
@@ -8192,10 +8205,16 @@ ${CHAT_HELP}`);
|
|
|
8192
8205
|
});
|
|
8193
8206
|
return 99;
|
|
8194
8207
|
}
|
|
8208
|
+
process.stdout.write(`\u2192 kody:chat: litellm proxy ready (url=${litellm?.url ?? "skipped"})
|
|
8209
|
+
`);
|
|
8195
8210
|
const sessionFile = sessionFilePath(cwd, sessionId);
|
|
8196
8211
|
if (args.initMessage) seedInitialMessage(sessionFile, args.initMessage);
|
|
8197
8212
|
const sink = buildSink(cwd, sessionId, args.dashboardUrl);
|
|
8198
8213
|
const meta = readMeta(sessionFile);
|
|
8214
|
+
process.stdout.write(
|
|
8215
|
+
`\u2192 kody:chat: session file=${sessionFile} exists=${fs28.existsSync(sessionFile)} meta=${meta ? meta.mode : "none"}
|
|
8216
|
+
`
|
|
8217
|
+
);
|
|
8199
8218
|
try {
|
|
8200
8219
|
if (meta?.mode === "interactive") {
|
|
8201
8220
|
const result2 = await runInteractiveMode({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kody-ade/kody-engine",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.78",
|
|
4
4
|
"description": "kody — autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative executable profiles.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|