@kody-ade/kody-engine 0.4.524 → 0.4.525
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 +5 -2
- 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.525",
|
|
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",
|
|
@@ -18143,8 +18143,11 @@ var init_publishReport = __esm({
|
|
|
18143
18143
|
if (!publication) return;
|
|
18144
18144
|
const result = latestResult(ctx.data.capabilityResults, agentResult);
|
|
18145
18145
|
const stateData = recordField4(recordField4(ctx.data.nextJobState)?.data) ?? {};
|
|
18146
|
+
const resultFacts = { ...result?.facts ?? {} };
|
|
18147
|
+
const nestedResultFacts = recordField4(resultFacts.facts) ?? {};
|
|
18148
|
+
if (Object.keys(nestedResultFacts).length > 0) delete resultFacts.facts;
|
|
18146
18149
|
const capabilityFacts = recordField4(recordField4(ctx.data.capabilityOutput)?.facts) ?? {};
|
|
18147
|
-
const data = { ...stateData, ...
|
|
18150
|
+
const data = { ...stateData, ...resultFacts, ...nestedResultFacts, ...capabilityFacts };
|
|
18148
18151
|
if (publication.publishWhenFact && resolveDotted(data, publication.publishWhenFact) === void 0) return;
|
|
18149
18152
|
const slug = publication.slug ?? stringValue5(resolveDotted(data, publication.slugFact));
|
|
18150
18153
|
if (!slug || !SAFE_SLUG.test(slug)) return;
|
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.525",
|
|
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",
|