@kody-ade/kody-engine 0.4.260 → 0.4.262

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 CHANGED
@@ -78,27 +78,27 @@ See [SECURITY.md](SECURITY.md) to report a vulnerability.
78
78
  │ src/executor.ts — runs capability implementations │
79
79
  │ .kody/capabilities/<slug>/ │
80
80
  │ profile.json · capability.md · optional skills/scripts │
81
- │ .kody/agent-responsibilities/<slug>/ │
82
- │ legacy fallback: profile.json · agent-responsibility.md │
83
- │ .kody/agent-actions/<name>/ │
81
+ │ .kody/capabilities/<slug>/ │
82
+ │ legacy fallback: profile.json · capability.md │
83
+ │ .kody/executables/<name>/ │
84
84
  │ legacy fallback: profile.json · prompt.md · *.sh │
85
85
  │ src/scripts/*.ts — cross-cutting catalog │
86
86
  └─────────────────────────────────────────────┘
87
87
  ```
88
88
 
89
89
  Every top-level command is an auto-discovered capability action. The router has
90
- **zero agentAction names hardcoded** - comment dispatch resolves the first token
90
+ **zero executable names hardcoded** - comment dispatch resolves the first token
91
91
  after `@kody` through `config.aliases`, then falls back to the legacy-named
92
- `config.defaultAgentAction` / `config.defaultPrAgentAction` fields as default
92
+ `config.defaultExecutable` / `config.defaultPrExecutable` fields as default
93
93
  capability actions. Drop a new `.kody/capabilities/<slug>/` directory with
94
- `profile.json` + `capability.md`; legacy `.kody/agent-responsibilities/` and
95
- `.kody/agent-actions/` roots still load while repos migrate.
94
+ `profile.json` + `capability.md`; legacy `.kody/capabilities/` and
95
+ `.kody/executables/` roots still load while repos migrate.
96
96
 
97
- Legacy AgentAction directories are private implementation units and contain
97
+ Legacy Executable directories are private implementation units and contain
98
98
  **only** three kinds of files: `profile.json` (declaration), `prompt.md` (agent
99
99
  instructions), and `.sh` scripts (mechanical side-effect work). Cross-cutting
100
100
  TypeScript lives in [src/scripts/](src/scripts/); it can't import from
101
- `src/agent-actions/` and can't branch on `profile.name`.
101
+ `src/executables/` and can't branch on `profile.name`.
102
102
 
103
103
  ## Install in a consumer repo
104
104
 
@@ -139,9 +139,9 @@ kody-engine release-deploy --issue <N> [--dry-run]
139
139
  kody-engine npm-publish [--tag latest] [--access public] [--dry-run]
140
140
 
141
141
  # scheduled capabilities and goals
142
- kody-engine agent-responsibility-scheduler # fan out due .kody/capabilities/<slug>/ folders plus legacy fallbacks
143
- kody-engine agent-responsibility-tick --agentResponsibility <slug> [--force] # one agent tick for one capability
144
- kody-engine agent-responsibility-tick-scripted --agentResponsibility <slug> [--force] # one deterministic tickScript capability tick
142
+ kody-engine capability-scheduler # fan out due .kody/capabilities/<slug>/ folders plus legacy fallbacks
143
+ kody-engine capability-tick --capability <slug> [--force] # one agent tick for one capability
144
+ kody-engine capability-tick-scripted --capability <slug> [--force] # one deterministic tickScript capability tick
145
145
  kody-engine goal-scheduler # fan out active goal instances in configured state repo
146
146
  kody-engine goal-manager --goal <id> # advance one managed goal instance
147
147
 
@@ -163,8 +163,8 @@ A **capability** is a folder at `.kody/capabilities/<slug>/` with
163
163
  `profile.json` metadata (`action`, `capabilityKind`, `agent`, `every`, and
164
164
  related fields) plus human-owned prose in `capability.md`. The scheduler wakes
165
165
  on cron, finds due capabilities, and dispatches either
166
- `agent-responsibility-tick` for an agent tick or
167
- `agent-responsibility-tick-scripted` for a deterministic `tickScript`
166
+ `capability-tick` for an agent tick or
167
+ `capability-tick-scripted` for a deterministic `tickScript`
168
168
  capability. The CLI names are still legacy during migration.
169
169
 
170
170
  Locked-toolbox capabilities can declare `"tools": [...]` in `profile.json` to
@@ -179,7 +179,7 @@ without `tools` keep the legacy Bash/gh toolbox.
179
179
 
180
180
  A profile is declarative JSON plus an adjacent markdown body. New public work
181
181
  should live under `.kody/capabilities/<slug>/` with `capability.md`; legacy
182
- implementations under [src/agent-actions/](src/agent-actions/) still show the
182
+ implementations under [src/executables/](src/executables/) still show the
183
183
  older split profile + prompt shape. Adding a new capability should not require
184
184
  executor, entry, or dispatch changes.
185
185