@kody-ade/kody-engine 0.4.383 → 0.4.384
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 +7 -3
- package/package.json +1 -1
package/dist/bin/kody.js
CHANGED
|
@@ -15,7 +15,7 @@ var init_package = __esm({
|
|
|
15
15
|
"package.json"() {
|
|
16
16
|
package_default = {
|
|
17
17
|
name: "@kody-ade/kody-engine",
|
|
18
|
-
version: "0.4.
|
|
18
|
+
version: "0.4.384",
|
|
19
19
|
description: "kody \u2014 autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative implementation profiles.",
|
|
20
20
|
license: "MIT",
|
|
21
21
|
type: "module",
|
|
@@ -3925,7 +3925,7 @@ async function persistTaskArtifactsToState(config, cwd, artifacts) {
|
|
|
3925
3925
|
throw new Error(`task artifact ${file} is not valid JSON: ${err instanceof Error ? err.message : String(err)}`);
|
|
3926
3926
|
}
|
|
3927
3927
|
}
|
|
3928
|
-
await backend.save(tenantId, artifacts.taskId, kind, doc);
|
|
3928
|
+
await backend.save(tenantId, artifacts.taskKey ?? artifacts.taskId, kind, doc);
|
|
3929
3929
|
}
|
|
3930
3930
|
return;
|
|
3931
3931
|
}
|
|
@@ -20940,6 +20940,7 @@ async function runImplementation(profileName, input) {
|
|
|
20940
20940
|
const paths = prepareTaskArtifactsDir(input.cwd, taskTarget);
|
|
20941
20941
|
return {
|
|
20942
20942
|
...paths,
|
|
20943
|
+
taskKey: `${taskType === "issue" ? "issues" : "prs"}/${paths.taskId}`,
|
|
20943
20944
|
taskType,
|
|
20944
20945
|
promptAddendum: taskArtifactsPromptAddendum({
|
|
20945
20946
|
taskId: paths.taskId,
|
|
@@ -23016,7 +23017,10 @@ async function runChatTurn(opts) {
|
|
|
23016
23017
|
const basePrompt = opts.systemPrompt ?? readSystemPromptOverride(opts.cwd) ?? (opts.model.protocol === "openai" ? OPENAI_CHAT_SYSTEM_PROMPT : CHAT_SYSTEM_PROMPT);
|
|
23017
23018
|
const agentIdentityBlock = readAgentIdentityBlock(opts.cwd, opts.agentIdentity);
|
|
23018
23019
|
const catalog = buildImplementationCatalog();
|
|
23019
|
-
const taskArtifactsPaths =
|
|
23020
|
+
const taskArtifactsPaths = {
|
|
23021
|
+
...prepareTaskArtifactsDir(opts.cwd, opts.sessionId),
|
|
23022
|
+
taskKey: `sessions/${opts.sessionId}`
|
|
23023
|
+
};
|
|
23020
23024
|
const artifactAddendum = taskArtifactsPromptAddendum({
|
|
23021
23025
|
taskId: taskArtifactsPaths.taskId,
|
|
23022
23026
|
taskType: "chat",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kody-ade/kody-engine",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.384",
|
|
4
4
|
"description": "kody — autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative implementation profiles.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|