@kody-ade/kody-engine 0.4.465 → 0.4.467

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.465",
18
+ version: "0.4.467",
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",
@@ -25306,6 +25306,9 @@ function parseCiArgs(argv) {
25306
25306
  }
25307
25307
  return result;
25308
25308
  }
25309
+ function isScheduledActionsWake(env = process.env) {
25310
+ return env.GITHUB_EVENT_NAME === "schedule" || env.GITHUB_ACTIONS === "true" && !env.GITHUB_EVENT_NAME && !env.GITHUB_EVENT_PATH;
25311
+ }
25309
25312
  function routeRunRequest(request) {
25310
25313
  const { target, intent } = request;
25311
25314
  if (target.type === "chat" || target.type === "issue") return { kind: "ignore" };
@@ -25571,6 +25574,7 @@ async function runCi(argv) {
25571
25574
  }
25572
25575
  const autoFallback = !args.issueNumber ? autoDispatch({ config: earlyConfig }) : null;
25573
25576
  const eventName = process.env.GITHUB_EVENT_NAME;
25577
+ const scheduledActionsWake = isScheduledActionsWake();
25574
25578
  const dispatchEventPath = process.env.GITHUB_EVENT_PATH;
25575
25579
  let manualWorkflowDispatch = false;
25576
25580
  let forceRunAction = null;
@@ -25745,7 +25749,7 @@ async function runCi(argv) {
25745
25749
  if (!args.issueNumber && !autoFallback && runRequestFanOut) {
25746
25750
  return runScheduledFanOut(cwd, args, { force: runRequestFanOutForce });
25747
25751
  }
25748
- if (!args.issueNumber && !autoFallback && (eventName === "schedule" || manualWorkflowDispatch)) {
25752
+ if (!args.issueNumber && !autoFallback && (scheduledActionsWake || manualWorkflowDispatch)) {
25749
25753
  return runScheduledFanOut(cwd, args, { force: manualWorkflowDispatch });
25750
25754
  }
25751
25755
  if (!args.issueNumber && !autoFallback && process.env.GITHUB_EVENT_NAME) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kody-ade/kody-engine",
3
- "version": "0.4.465",
3
+ "version": "0.4.467",
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",
@@ -99,5 +99,4 @@ jobs:
99
99
  KODY_DEFINITIONS_ROOT_CWD: ${{ github.workspace }}
100
100
  working-directory: ${{ github.workspace }}
101
101
  run: |
102
- test -d .kody-engine/definitions/capabilities
103
102
  npx -y -p @kody-ade/kody-engine@latest kody-engine ci --cwd "$GITHUB_WORKSPACE"