@kody-ade/kody-engine 0.4.411 → 0.4.412
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 +42 -1
- package/package.json +26 -24
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.412",
|
|
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",
|
|
@@ -50,6 +50,7 @@ var init_package = __esm({
|
|
|
50
50
|
prepublishOnly: "pnpm typecheck && vitest run tests/unit tests/int --no-coverage && pnpm build && pnpm verify:package"
|
|
51
51
|
},
|
|
52
52
|
dependencies: {
|
|
53
|
+
"@kody-ade/agency-domain": "0.1.1",
|
|
53
54
|
"@actions/cache": "^6.0.0",
|
|
54
55
|
"@anthropic-ai/claude-agent-sdk": "0.2.119",
|
|
55
56
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
@@ -2435,6 +2436,46 @@ function createStateBackendFromEnv(env = process.env, client) {
|
|
|
2435
2436
|
updatedAt
|
|
2436
2437
|
});
|
|
2437
2438
|
},
|
|
2439
|
+
async listAgencyDefinitions(tenantId2) {
|
|
2440
|
+
const result = await transport.query(anyApi.agencyModel.listDefinitions, {
|
|
2441
|
+
tenantId: requireTenant(tenantId2)
|
|
2442
|
+
});
|
|
2443
|
+
return Array.isArray(result) ? result : [];
|
|
2444
|
+
},
|
|
2445
|
+
async getAgencyState(tenantId2, definitionId) {
|
|
2446
|
+
const result = await transport.query(anyApi.agencyModel.getState, {
|
|
2447
|
+
tenantId: requireTenant(tenantId2),
|
|
2448
|
+
definitionId: requireNonEmpty(definitionId, "definitionId")
|
|
2449
|
+
});
|
|
2450
|
+
return result ?? null;
|
|
2451
|
+
},
|
|
2452
|
+
async putAgencyState(tenantId2, definitionId, kind, schemaVersion, data, updatedAt) {
|
|
2453
|
+
await transport.mutation(anyApi.agencyModel.putState, {
|
|
2454
|
+
tenantId: requireTenant(tenantId2),
|
|
2455
|
+
definitionId: requireNonEmpty(definitionId, "definitionId"),
|
|
2456
|
+
kind,
|
|
2457
|
+
schemaVersion,
|
|
2458
|
+
data,
|
|
2459
|
+
updatedAt
|
|
2460
|
+
});
|
|
2461
|
+
},
|
|
2462
|
+
async appendAgencyOutput(tenantId2, recordId, schemaVersion, data) {
|
|
2463
|
+
await transport.mutation(anyApi.agencyModel.appendOutput, {
|
|
2464
|
+
tenantId: requireTenant(tenantId2),
|
|
2465
|
+
envelope: {
|
|
2466
|
+
schemaVersion,
|
|
2467
|
+
recordId: requireNonEmpty(recordId, "recordId"),
|
|
2468
|
+
data
|
|
2469
|
+
}
|
|
2470
|
+
});
|
|
2471
|
+
},
|
|
2472
|
+
async listAgencyOutputs(tenantId2, runId) {
|
|
2473
|
+
const result = await transport.query(anyApi.agencyModel.listOutputs, {
|
|
2474
|
+
tenantId: requireTenant(tenantId2),
|
|
2475
|
+
...runId ? { runId: requireNonEmpty(runId, "runId") } : {}
|
|
2476
|
+
});
|
|
2477
|
+
return Array.isArray(result) ? result : [];
|
|
2478
|
+
},
|
|
2438
2479
|
async appendRunEvent(tenantId2, runId, goalId, event, time) {
|
|
2439
2480
|
await transport.mutation(anyApi.runEvents.append, {
|
|
2440
2481
|
tenantId: requireTenant(tenantId2),
|
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.412",
|
|
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",
|
|
@@ -12,7 +12,30 @@
|
|
|
12
12
|
"templates",
|
|
13
13
|
"kody.config.schema.json"
|
|
14
14
|
],
|
|
15
|
+
"scripts": {
|
|
16
|
+
"kody:run": "tsx bin/kody.ts",
|
|
17
|
+
"serve": "tsx bin/kody.ts serve",
|
|
18
|
+
"serve:vscode": "tsx bin/kody.ts serve vscode",
|
|
19
|
+
"serve:claude": "tsx bin/kody.ts serve claude",
|
|
20
|
+
"clean:dist": "node scripts/clean-dist.cjs",
|
|
21
|
+
"build": "pnpm clean:dist && tsup && node scripts/copy-assets.cjs",
|
|
22
|
+
"check:modularity": "tsx scripts/check-script-modularity.ts",
|
|
23
|
+
"pretest": "pnpm check:modularity",
|
|
24
|
+
"test": "vitest run tests/unit tests/int --coverage",
|
|
25
|
+
"posttest": "tsx scripts/check-coverage-floor.ts",
|
|
26
|
+
"test:smoke": "vitest run tests/smoke --no-coverage",
|
|
27
|
+
"test:e2e": "vitest run tests/e2e --no-coverage",
|
|
28
|
+
"test:all": "vitest run tests --no-coverage",
|
|
29
|
+
"typecheck": "tsc --noEmit",
|
|
30
|
+
"lint": "biome check",
|
|
31
|
+
"lint:fix": "biome check --write",
|
|
32
|
+
"format": "biome format --write",
|
|
33
|
+
"verify:package": "node scripts/verify-package-tarball.cjs",
|
|
34
|
+
"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",
|
|
35
|
+
"prepublishOnly": "pnpm typecheck && vitest run tests/unit tests/int --no-coverage && pnpm build && pnpm verify:package"
|
|
36
|
+
},
|
|
15
37
|
"dependencies": {
|
|
38
|
+
"@kody-ade/agency-domain": "0.1.1",
|
|
16
39
|
"@actions/cache": "^6.0.0",
|
|
17
40
|
"@anthropic-ai/claude-agent-sdk": "0.2.119",
|
|
18
41
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
@@ -36,26 +59,5 @@
|
|
|
36
59
|
"url": "git+https://github.com/aharonyaircohen/kody-engine.git"
|
|
37
60
|
},
|
|
38
61
|
"homepage": "https://github.com/aharonyaircohen/kody-engine",
|
|
39
|
-
"bugs": "https://github.com/aharonyaircohen/kody-engine/issues"
|
|
40
|
-
|
|
41
|
-
"kody:run": "tsx bin/kody.ts",
|
|
42
|
-
"serve": "tsx bin/kody.ts serve",
|
|
43
|
-
"serve:vscode": "tsx bin/kody.ts serve vscode",
|
|
44
|
-
"serve:claude": "tsx bin/kody.ts serve claude",
|
|
45
|
-
"clean:dist": "node scripts/clean-dist.cjs",
|
|
46
|
-
"build": "pnpm clean:dist && tsup && node scripts/copy-assets.cjs",
|
|
47
|
-
"check:modularity": "tsx scripts/check-script-modularity.ts",
|
|
48
|
-
"pretest": "pnpm check:modularity",
|
|
49
|
-
"test": "vitest run tests/unit tests/int --coverage",
|
|
50
|
-
"posttest": "tsx scripts/check-coverage-floor.ts",
|
|
51
|
-
"test:smoke": "vitest run tests/smoke --no-coverage",
|
|
52
|
-
"test:e2e": "vitest run tests/e2e --no-coverage",
|
|
53
|
-
"test:all": "vitest run tests --no-coverage",
|
|
54
|
-
"typecheck": "tsc --noEmit",
|
|
55
|
-
"lint": "biome check",
|
|
56
|
-
"lint:fix": "biome check --write",
|
|
57
|
-
"format": "biome format --write",
|
|
58
|
-
"verify:package": "node scripts/verify-package-tarball.cjs",
|
|
59
|
-
"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"
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
+
"bugs": "https://github.com/aharonyaircohen/kody-engine/issues"
|
|
63
|
+
}
|