@kody-ade/kody-engine 0.4.240 → 0.4.241
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/README.md +1 -1
- package/dist/agent-actions/types.ts +13 -3
- package/dist/bin/kody.js +1688 -1655
- package/package.json +22 -23
package/README.md
CHANGED
|
@@ -127,7 +127,7 @@ kody-engine npm-publish [--tag latest] [--access public] [--dry-run]
|
|
|
127
127
|
kody-engine agent-responsibility-scheduler # fan out due .kody/agent-responsibilities/<slug>/ folders
|
|
128
128
|
kody-engine agent-responsibility-tick --agentResponsibility <slug> [--force] # one agent tick for one agentResponsibility
|
|
129
129
|
kody-engine agent-responsibility-tick-scripted --agentResponsibility <slug> [--force] # one deterministic tickScript agentResponsibility tick
|
|
130
|
-
kody-engine goal-scheduler # fan out active
|
|
130
|
+
kody-engine goal-scheduler # fan out active goal instances in configured state repo
|
|
131
131
|
kody-engine goal-manager --goal <id> # advance one managed goal instance
|
|
132
132
|
|
|
133
133
|
# setup, servers, and utilities
|
|
@@ -136,7 +136,7 @@ export interface Profile {
|
|
|
136
136
|
/**
|
|
137
137
|
* Declared artifacts produced by this agentAction. The persistArtifacts
|
|
138
138
|
* postflight reads the named source field from ctx.data and writes an
|
|
139
|
-
* Artifact entry into the task
|
|
139
|
+
* Artifact entry into the task state's `artifacts` map.
|
|
140
140
|
*/
|
|
141
141
|
outputArtifacts: OutputArtifactSpec[]
|
|
142
142
|
/**
|
|
@@ -477,11 +477,21 @@ export interface Context {
|
|
|
477
477
|
* `@kody <next>` comment, which is silently ignored when Kody comments as
|
|
478
478
|
* a GitHub App (bot author), stalling the pipeline at classify.
|
|
479
479
|
*/
|
|
480
|
-
nextDispatch?: {
|
|
480
|
+
nextDispatch?: {
|
|
481
|
+
action?: string
|
|
482
|
+
agentResponsibility?: string
|
|
483
|
+
agentAction?: string
|
|
484
|
+
cliArgs: Record<string, unknown>
|
|
485
|
+
}
|
|
481
486
|
/** In-process hand-off to a full Job, preserving job identity in task state. */
|
|
482
487
|
nextJob?: Job
|
|
483
488
|
/** Where to return after nextJob succeeds. Used by task-jobs to keep draining pending work. */
|
|
484
|
-
afterNextJob?: {
|
|
489
|
+
afterNextJob?: {
|
|
490
|
+
action?: string
|
|
491
|
+
agentResponsibility?: string
|
|
492
|
+
agentAction?: string
|
|
493
|
+
cliArgs: Record<string, unknown>
|
|
494
|
+
}
|
|
485
495
|
}
|
|
486
496
|
/**
|
|
487
497
|
* If a preflight script sets this to true, the executor skips the agent
|