@kody-ade/kody-engine 0.4.632 → 0.4.633
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
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.633",
|
|
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: {
|
|
@@ -16076,13 +16076,15 @@ function defaultBranchFromGit(cwd) {
|
|
|
16076
16076
|
}
|
|
16077
16077
|
}
|
|
16078
16078
|
}
|
|
16079
|
-
function performInit(cwd, force) {
|
|
16079
|
+
function performInit(cwd, force, workflowOnly = false) {
|
|
16080
16080
|
const wrote = [];
|
|
16081
16081
|
const skipped = [];
|
|
16082
16082
|
const ownerRepo = detectOwnerRepo(cwd);
|
|
16083
16083
|
const defaultBranch = defaultBranchFromGit(cwd);
|
|
16084
16084
|
const configPath = path39.join(cwd, "kody.config.json");
|
|
16085
|
-
if (
|
|
16085
|
+
if (workflowOnly) {
|
|
16086
|
+
skipped.push("kody.config.json");
|
|
16087
|
+
} else if (fs40.existsSync(configPath) && !force) {
|
|
16086
16088
|
skipped.push("kody.config.json");
|
|
16087
16089
|
} else {
|
|
16088
16090
|
const cfg = makeConfig(cwd, ownerRepo, defaultBranch);
|
|
@@ -16117,8 +16119,9 @@ var init_initFlow = __esm({
|
|
|
16117
16119
|
init_workflow_template();
|
|
16118
16120
|
initFlow = async (ctx) => {
|
|
16119
16121
|
const force = ctx.args.force === true;
|
|
16122
|
+
const workflowOnly = ctx.args.workflowOnly === true;
|
|
16120
16123
|
const cwd = ctx.cwd;
|
|
16121
|
-
const { wrote, skipped, labels } = performInit(cwd, force);
|
|
16124
|
+
const { wrote, skipped, labels } = performInit(cwd, force || workflowOnly, workflowOnly);
|
|
16122
16125
|
process.stdout.write("\u2192 kody-engine init\n");
|
|
16123
16126
|
for (const f of wrote) process.stdout.write(` wrote ${f}
|
|
16124
16127
|
`);
|
|
@@ -9,6 +9,13 @@
|
|
|
9
9
|
"type": "bool",
|
|
10
10
|
"required": false,
|
|
11
11
|
"describe": "Overwrite existing generated files instead of skipping them."
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name": "workflowOnly",
|
|
15
|
+
"flag": "--workflow-only",
|
|
16
|
+
"type": "bool",
|
|
17
|
+
"required": false,
|
|
18
|
+
"describe": "Refresh only the generated GitHub Actions launcher and preserve kody.config.json."
|
|
12
19
|
}
|
|
13
20
|
],
|
|
14
21
|
"claudeCode": {
|
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.633",
|
|
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": {
|