@kody-ade/kody-engine 0.4.293 → 0.4.294
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 +12 -2
- package/package.json +2 -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.294",
|
|
19
19
|
description: "kody \u2014 autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative executable profiles.",
|
|
20
20
|
license: "MIT",
|
|
21
21
|
type: "module",
|
|
@@ -45,8 +45,9 @@ var init_package = __esm({
|
|
|
45
45
|
lint: "biome check",
|
|
46
46
|
"lint:fix": "biome check --write",
|
|
47
47
|
format: "biome format --write",
|
|
48
|
+
"verify:package": "node scripts/verify-package-tarball.cjs",
|
|
48
49
|
"brain:publish": "docker buildx build --platform linux/amd64 -f runner/Dockerfile.brain -t ghcr.io/${KODY_BRAIN_GHCR_OWNER:-aharonyaircohen}/kody-brain:latest --push runner",
|
|
49
|
-
prepublishOnly: "pnpm typecheck && vitest run tests/unit tests/int --no-coverage && pnpm build"
|
|
50
|
+
prepublishOnly: "pnpm typecheck && vitest run tests/unit tests/int --no-coverage && pnpm build && pnpm verify:package"
|
|
50
51
|
},
|
|
51
52
|
dependencies: {
|
|
52
53
|
"@actions/cache": "^6.0.0",
|
|
@@ -2306,6 +2307,7 @@ function listFolderCapabilityActions(root, source) {
|
|
|
2306
2307
|
if (capability.config.internal === true || capability.config.public === false) continue;
|
|
2307
2308
|
const action = capability.config.action ?? slug2;
|
|
2308
2309
|
const { executable, cliArgs } = resolveCapabilityExecution(capability);
|
|
2310
|
+
if (hasUnresolvedExplicitImplementation(capability, executable)) continue;
|
|
2309
2311
|
out.push({
|
|
2310
2312
|
action,
|
|
2311
2313
|
capability: slug2,
|
|
@@ -2319,6 +2321,14 @@ function listFolderCapabilityActions(root, source) {
|
|
|
2319
2321
|
}
|
|
2320
2322
|
return out.sort((a, b) => a.action.localeCompare(b.action));
|
|
2321
2323
|
}
|
|
2324
|
+
function hasUnresolvedExplicitImplementation(capability, executable) {
|
|
2325
|
+
const config = capability.config;
|
|
2326
|
+
const hasExplicitImplementation = Boolean(config.implementation || config.executable) || (config.implementations?.length ?? 0) > 0 || (config.executables?.length ?? 0) > 0;
|
|
2327
|
+
if (!hasExplicitImplementation) return false;
|
|
2328
|
+
if (config.workflow?.steps.length) return false;
|
|
2329
|
+
if (config.role && PUBLIC_EXECUTABLE_ROLES.has(config.role)) return false;
|
|
2330
|
+
return resolveExecutable(executable) === null;
|
|
2331
|
+
}
|
|
2322
2332
|
function listBuiltinCapabilityActions(root = getBuiltinCapabilitiesRoot()) {
|
|
2323
2333
|
if (!fs6.existsSync(root) || !fs6.statSync(root).isDirectory()) return [];
|
|
2324
2334
|
const out = [];
|
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.294",
|
|
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",
|
|
@@ -54,6 +54,7 @@
|
|
|
54
54
|
"lint": "biome check",
|
|
55
55
|
"lint:fix": "biome check --write",
|
|
56
56
|
"format": "biome format --write",
|
|
57
|
+
"verify:package": "node scripts/verify-package-tarball.cjs",
|
|
57
58
|
"brain:publish": "docker buildx build --platform linux/amd64 -f runner/Dockerfile.brain -t ghcr.io/${KODY_BRAIN_GHCR_OWNER:-aharonyaircohen}/kody-brain:latest --push runner"
|
|
58
59
|
}
|
|
59
60
|
}
|