mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-10 04:00:44 +08:00
refactor: move bundled skills tree to repo root skills/
- Relocate runtime/skills -> skills/; runtime_skills_root() prefers oclaw/skills with fallback to legacy runtime/skills for unmigrated trees. - session-bootstrap hook handler resolves repo root via PROJECT_ROOT. - Update architecture/migration docs and in-tree skill references. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
396dba76ea
commit
beb52006d8
298 changed files with 51 additions and 51 deletions
|
|
@ -32,7 +32,7 @@ Each hook directory needs `HOOK.md` (YAML frontmatter with `metadata.oclaw.event
|
|||
|
||||
`session-bootstrap` is wired into the hooks runtime and loads on `agent:bootstrap`.
|
||||
|
||||
- Hook package path: `runtime/skills/session-bootstrap/hooks/runtime/`
|
||||
- Hook package path: `skills/session-bootstrap/hooks/runtime/`
|
||||
- Manifest: `HOOK.md` (`metadata.oclaw.events: ["agent:bootstrap"]`)
|
||||
- Handler: `handler.py` (`handle(event)`)
|
||||
- Runtime source type: `oclaw-managed` (skill `hooks/` dirs are merged into `hooks.internal.load.extraDirs`)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue