@kody-ade/kody-engine 0.4.648 → 0.4.650
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.650",
|
|
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
|
repository: {
|
|
@@ -19507,7 +19507,7 @@ async function prepareEmailPasswordBrowserAuth(ctx, profile, input) {
|
|
|
19507
19507
|
const response = await fetch(`${origin}/api/auth/sign-in/email`, {
|
|
19508
19508
|
method: "POST",
|
|
19509
19509
|
headers: { "content-type": "application/json", origin },
|
|
19510
|
-
body: JSON.stringify({ email: input.login, password: password.value })
|
|
19510
|
+
body: JSON.stringify({ email: input.login, password: password.value, callbackURL: "/chat" })
|
|
19511
19511
|
});
|
|
19512
19512
|
if (!response.ok) throw new Error(`app login returned ${response.status}`);
|
|
19513
19513
|
const headers = response.headers;
|
|
@@ -24974,13 +24974,17 @@ async function runJob(job, base) {
|
|
|
24974
24974
|
}
|
|
24975
24975
|
if (valid.workflowRunId && workflowIdentity && hasGitHubActionsIdentity() && result.workflowState?.status !== "waiting-approval") {
|
|
24976
24976
|
const facts = result.workflowState?.facts ?? {};
|
|
24977
|
+
const completionOutput = {
|
|
24978
|
+
...facts,
|
|
24979
|
+
...result.usage ? { usage: result.usage } : {}
|
|
24980
|
+
};
|
|
24977
24981
|
await notifyWorkflowCompleted({
|
|
24978
24982
|
workflowId: workflowIdentity,
|
|
24979
24983
|
runId: valid.workflowRunId,
|
|
24980
24984
|
...typeof base.preloadedData?.loopId === "string" ? { loopId: base.preloadedData.loopId } : {},
|
|
24981
24985
|
status: result.workflowState?.status === "blocked" ? "blocked" : result.exitCode === 0 ? "success" : "failed",
|
|
24982
24986
|
...result.reason ? { summary: result.reason } : {},
|
|
24983
|
-
...Object.keys(
|
|
24987
|
+
...Object.keys(completionOutput).length > 0 ? { output: completionOutput } : {}
|
|
24984
24988
|
});
|
|
24985
24989
|
}
|
|
24986
24990
|
publishRunUsage(`workflow:${workflowIdentity}`, result.usage);
|
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.650",
|
|
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
|
"repository": {
|