rookery-agent 0.1.0 → 0.2.0
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 +467 -367
- package/docs/migration.md +88 -88
- package/docs/updates.md +112 -0
- package/package.json +11 -3
- package/packages/cli/dist/commands/config.js +2 -2
- package/packages/cli/dist/commands/doctor.d.ts.map +1 -1
- package/packages/cli/dist/commands/doctor.js +13 -9
- package/packages/cli/dist/commands/doctor.js.map +1 -1
- package/packages/cli/dist/commands/memory.js +1 -1
- package/packages/cli/dist/commands/org.d.ts +2 -2
- package/packages/cli/dist/commands/org.d.ts.map +1 -1
- package/packages/cli/dist/commands/org.js +19 -17
- package/packages/cli/dist/commands/org.js.map +1 -1
- package/packages/cli/dist/commands/serve.js +1 -1
- package/packages/cli/dist/commands/serve.js.map +1 -1
- package/packages/cli/dist/commands/shared.d.ts.map +1 -1
- package/packages/cli/dist/commands/shared.js +2 -1
- package/packages/cli/dist/commands/shared.js.map +1 -1
- package/packages/cli/dist/commands/tasks.d.ts.map +1 -1
- package/packages/cli/dist/commands/tasks.js +25 -11
- package/packages/cli/dist/commands/tasks.js.map +1 -1
- package/packages/cli/dist/commands/tools.js +1 -1
- package/packages/cli/dist/commands/tools.js.map +1 -1
- package/packages/cli/dist/index.js +13 -13
- package/packages/cli/dist/index.js.map +1 -1
- package/packages/cli/dist/repl.d.ts +12 -0
- package/packages/cli/dist/repl.d.ts.map +1 -1
- package/packages/cli/dist/repl.js +170 -16
- package/packages/cli/dist/repl.js.map +1 -1
- package/packages/cli/dist/tui/App.d.ts +7 -3
- package/packages/cli/dist/tui/App.d.ts.map +1 -1
- package/packages/cli/dist/tui/App.js +182 -16
- package/packages/cli/dist/tui/App.js.map +1 -1
- package/packages/cli/dist/tui/commands.d.ts +7 -0
- package/packages/cli/dist/tui/commands.d.ts.map +1 -1
- package/packages/cli/dist/tui/commands.js +70 -8
- package/packages/cli/dist/tui/commands.js.map +1 -1
- package/packages/cli/dist/tui/components/AssignmentsView.js +4 -4
- package/packages/cli/dist/tui/components/AssignmentsView.js.map +1 -1
- package/packages/cli/dist/tui/components/Banner.d.ts +11 -2
- package/packages/cli/dist/tui/components/Banner.d.ts.map +1 -1
- package/packages/cli/dist/tui/components/Banner.js +7 -10
- package/packages/cli/dist/tui/components/Banner.js.map +1 -1
- package/packages/cli/dist/tui/components/CodeBlock.js +2 -2
- package/packages/cli/dist/tui/components/CodeBlock.js.map +1 -1
- package/packages/cli/dist/tui/components/InputBox.d.ts.map +1 -1
- package/packages/cli/dist/tui/components/InputBox.js +4 -4
- package/packages/cli/dist/tui/components/InputBox.js.map +1 -1
- package/packages/cli/dist/tui/components/Logo.d.ts +56 -0
- package/packages/cli/dist/tui/components/Logo.d.ts.map +1 -0
- package/packages/cli/dist/tui/components/Logo.js +50 -0
- package/packages/cli/dist/tui/components/Logo.js.map +1 -0
- package/packages/cli/dist/tui/components/Markdown.js +8 -8
- package/packages/cli/dist/tui/components/Markdown.js.map +1 -1
- package/packages/cli/dist/tui/components/Message.d.ts +1 -1
- package/packages/cli/dist/tui/components/Message.d.ts.map +1 -1
- package/packages/cli/dist/tui/components/Message.js +5 -4
- package/packages/cli/dist/tui/components/Message.js.map +1 -1
- package/packages/cli/dist/tui/components/QuestionView.d.ts +29 -0
- package/packages/cli/dist/tui/components/QuestionView.d.ts.map +1 -0
- package/packages/cli/dist/tui/components/QuestionView.js +53 -0
- package/packages/cli/dist/tui/components/QuestionView.js.map +1 -0
- package/packages/cli/dist/tui/components/SlashPalette.d.ts +5 -2
- package/packages/cli/dist/tui/components/SlashPalette.d.ts.map +1 -1
- package/packages/cli/dist/tui/components/SlashPalette.js +2 -2
- package/packages/cli/dist/tui/components/SlashPalette.js.map +1 -1
- package/packages/cli/dist/tui/components/StatusLine.d.ts +0 -2
- package/packages/cli/dist/tui/components/StatusLine.d.ts.map +1 -1
- package/packages/cli/dist/tui/components/StatusLine.js +8 -5
- package/packages/cli/dist/tui/components/StatusLine.js.map +1 -1
- package/packages/cli/dist/tui/components/ToolGroup.js +2 -2
- package/packages/cli/dist/tui/components/ToolGroup.js.map +1 -1
- package/packages/cli/dist/tui/components/WatchView.d.ts +21 -0
- package/packages/cli/dist/tui/components/WatchView.d.ts.map +1 -0
- package/packages/cli/dist/tui/components/WatchView.js +36 -0
- package/packages/cli/dist/tui/components/WatchView.js.map +1 -0
- package/packages/cli/dist/tui/history.d.ts +20 -0
- package/packages/cli/dist/tui/history.d.ts.map +1 -0
- package/packages/cli/dist/tui/history.js +105 -0
- package/packages/cli/dist/tui/history.js.map +1 -0
- package/packages/cli/dist/tui/hooks/useSlash.d.ts.map +1 -1
- package/packages/cli/dist/tui/hooks/useSlash.js +3 -2
- package/packages/cli/dist/tui/hooks/useSlash.js.map +1 -1
- package/packages/cli/dist/tui/hooks/useTurn.d.ts +58 -1
- package/packages/cli/dist/tui/hooks/useTurn.d.ts.map +1 -1
- package/packages/cli/dist/tui/hooks/useTurn.js +214 -36
- package/packages/cli/dist/tui/hooks/useTurn.js.map +1 -1
- package/packages/cli/dist/tui/hooks/useWatch.d.ts +52 -0
- package/packages/cli/dist/tui/hooks/useWatch.d.ts.map +1 -0
- package/packages/cli/dist/tui/hooks/useWatch.js +145 -0
- package/packages/cli/dist/tui/hooks/useWatch.js.map +1 -0
- package/packages/cli/dist/tui/inkTheme.d.ts +19 -0
- package/packages/cli/dist/tui/inkTheme.d.ts.map +1 -0
- package/packages/cli/dist/tui/inkTheme.js +81 -0
- package/packages/cli/dist/tui/inkTheme.js.map +1 -0
- package/packages/cli/dist/tui/theme.d.ts +39 -29
- package/packages/cli/dist/tui/theme.d.ts.map +1 -1
- package/packages/cli/dist/tui/theme.js +35 -25
- package/packages/cli/dist/tui/theme.js.map +1 -1
- package/packages/cli/dist/tui/types.d.ts +56 -3
- package/packages/cli/dist/tui/types.d.ts.map +1 -1
- package/packages/cli/dist/tui/types.js +85 -0
- package/packages/cli/dist/tui/types.js.map +1 -1
- package/packages/cli/dist/ui/modelNames.d.ts +51 -0
- package/packages/cli/dist/ui/modelNames.d.ts.map +1 -0
- package/packages/cli/dist/ui/modelNames.js +134 -0
- package/packages/cli/dist/ui/modelNames.js.map +1 -0
- package/packages/cli/dist/ui/render.d.ts.map +1 -1
- package/packages/cli/dist/ui/render.js +17 -8
- package/packages/cli/dist/ui/render.js.map +1 -1
- package/packages/cli/dist/ui/speech.js +5 -0
- package/packages/cli/dist/ui/speech.js.map +1 -1
- package/packages/cli/dist/ui/theme.d.ts +33 -9
- package/packages/cli/dist/ui/theme.d.ts.map +1 -1
- package/packages/cli/dist/ui/theme.js +33 -9
- package/packages/cli/dist/ui/theme.js.map +1 -1
- package/packages/cli/package.json +1 -1
- package/packages/core/dist/agents/persona.d.ts.map +1 -1
- package/packages/core/dist/agents/persona.js +4 -1
- package/packages/core/dist/agents/persona.js.map +1 -1
- package/packages/core/dist/computer/accessibility.d.ts +78 -0
- package/packages/core/dist/computer/accessibility.d.ts.map +1 -0
- package/packages/core/dist/computer/accessibility.js +270 -0
- package/packages/core/dist/computer/accessibility.js.map +1 -0
- package/packages/core/dist/computer/assemblies.d.ts +17 -0
- package/packages/core/dist/computer/assemblies.d.ts.map +1 -0
- package/packages/core/dist/computer/assemblies.js +55 -0
- package/packages/core/dist/computer/assemblies.js.map +1 -0
- package/packages/core/dist/computer/browser-init.d.ts +9 -0
- package/packages/core/dist/computer/browser-init.d.ts.map +1 -0
- package/packages/core/dist/computer/browser-init.js +133 -0
- package/packages/core/dist/computer/browser-init.js.map +1 -0
- package/packages/core/dist/computer/cursor.d.ts +30 -0
- package/packages/core/dist/computer/cursor.d.ts.map +1 -0
- package/packages/core/dist/computer/cursor.js +30 -0
- package/packages/core/dist/computer/cursor.js.map +1 -0
- package/packages/core/dist/computer/mcp-server.js +524 -82
- package/packages/core/dist/computer/mcp-server.js.map +1 -1
- package/packages/core/dist/computer/powershell.d.ts +4 -0
- package/packages/core/dist/computer/powershell.d.ts.map +1 -1
- package/packages/core/dist/computer/powershell.js +471 -81
- package/packages/core/dist/computer/powershell.js.map +1 -1
- package/packages/core/dist/computer/screen-text.d.ts +82 -0
- package/packages/core/dist/computer/screen-text.d.ts.map +1 -0
- package/packages/core/dist/computer/screen-text.js +243 -0
- package/packages/core/dist/computer/screen-text.js.map +1 -0
- package/packages/core/dist/computer/sketch.d.ts +66 -0
- package/packages/core/dist/computer/sketch.d.ts.map +1 -0
- package/packages/core/dist/computer/sketch.js +540 -0
- package/packages/core/dist/computer/sketch.js.map +1 -0
- package/packages/core/dist/computer/tools.d.ts +8 -8
- package/packages/core/dist/computer/tools.d.ts.map +1 -1
- package/packages/core/dist/computer/tools.js +186 -31
- package/packages/core/dist/computer/tools.js.map +1 -1
- package/packages/core/dist/computer/validation.d.ts +555 -0
- package/packages/core/dist/computer/validation.d.ts.map +1 -0
- package/packages/core/dist/computer/validation.js +111 -0
- package/packages/core/dist/computer/validation.js.map +1 -0
- package/packages/core/dist/computer/windows-cursor.d.ts +14 -0
- package/packages/core/dist/computer/windows-cursor.d.ts.map +1 -0
- package/packages/core/dist/computer/windows-cursor.js +713 -0
- package/packages/core/dist/computer/windows-cursor.js.map +1 -0
- package/packages/core/dist/config.d.ts.map +1 -1
- package/packages/core/dist/config.js +284 -10
- package/packages/core/dist/config.js.map +1 -1
- package/packages/core/dist/cron/scheduler.d.ts +49 -3
- package/packages/core/dist/cron/scheduler.d.ts.map +1 -1
- package/packages/core/dist/cron/scheduler.js +268 -25
- package/packages/core/dist/cron/scheduler.js.map +1 -1
- package/packages/core/dist/cron/store.d.ts +19 -1
- package/packages/core/dist/cron/store.d.ts.map +1 -1
- package/packages/core/dist/cron/store.js +36 -8
- package/packages/core/dist/cron/store.js.map +1 -1
- package/packages/core/dist/external/claude-code.d.ts +4 -0
- package/packages/core/dist/external/claude-code.d.ts.map +1 -0
- package/packages/core/dist/external/claude-code.js +111 -0
- package/packages/core/dist/external/claude-code.js.map +1 -0
- package/packages/core/dist/external/discovery.d.ts +33 -0
- package/packages/core/dist/external/discovery.d.ts.map +1 -0
- package/packages/core/dist/external/discovery.js +144 -0
- package/packages/core/dist/external/discovery.js.map +1 -0
- package/packages/core/dist/external/homes.d.ts +26 -0
- package/packages/core/dist/external/homes.d.ts.map +1 -0
- package/packages/core/dist/external/homes.js +49 -0
- package/packages/core/dist/external/homes.js.map +1 -0
- package/packages/core/dist/external/shared.d.ts +201 -0
- package/packages/core/dist/external/shared.d.ts.map +1 -0
- package/packages/core/dist/external/shared.js +308 -0
- package/packages/core/dist/external/shared.js.map +1 -0
- package/packages/core/dist/gateway/policy.d.ts +100 -2
- package/packages/core/dist/gateway/policy.d.ts.map +1 -1
- package/packages/core/dist/gateway/policy.js +270 -6
- package/packages/core/dist/gateway/policy.js.map +1 -1
- package/packages/core/dist/index.d.ts +36 -10
- package/packages/core/dist/index.d.ts.map +1 -1
- package/packages/core/dist/index.js +64 -10
- package/packages/core/dist/index.js.map +1 -1
- package/packages/core/dist/memory/db.d.ts +1 -1
- package/packages/core/dist/memory/db.d.ts.map +1 -1
- package/packages/core/dist/memory/db.js +741 -1
- package/packages/core/dist/memory/db.js.map +1 -1
- package/packages/core/dist/memory/dream/admission.d.ts +124 -0
- package/packages/core/dist/memory/dream/admission.d.ts.map +1 -0
- package/packages/core/dist/memory/dream/admission.js +116 -0
- package/packages/core/dist/memory/dream/admission.js.map +1 -0
- package/packages/core/dist/memory/dream/candidate.d.ts +152 -0
- package/packages/core/dist/memory/dream/candidate.d.ts.map +1 -0
- package/packages/core/dist/memory/dream/candidate.js +547 -0
- package/packages/core/dist/memory/dream/candidate.js.map +1 -0
- package/packages/core/dist/memory/dream/evaluate.d.ts +394 -0
- package/packages/core/dist/memory/dream/evaluate.d.ts.map +1 -0
- package/packages/core/dist/memory/dream/evaluate.js +1032 -0
- package/packages/core/dist/memory/dream/evaluate.js.map +1 -0
- package/packages/core/dist/memory/dream/frame.d.ts +61 -0
- package/packages/core/dist/memory/dream/frame.d.ts.map +1 -0
- package/packages/core/dist/memory/dream/frame.js +292 -0
- package/packages/core/dist/memory/dream/frame.js.map +1 -0
- package/packages/core/dist/memory/dream/label.d.ts +370 -0
- package/packages/core/dist/memory/dream/label.d.ts.map +1 -0
- package/packages/core/dist/memory/dream/label.js +439 -0
- package/packages/core/dist/memory/dream/label.js.map +1 -0
- package/packages/core/dist/memory/dream/measure.d.ts +114 -0
- package/packages/core/dist/memory/dream/measure.d.ts.map +1 -0
- package/packages/core/dist/memory/dream/measure.js +205 -0
- package/packages/core/dist/memory/dream/measure.js.map +1 -0
- package/packages/core/dist/memory/dream/policy.d.ts +21 -0
- package/packages/core/dist/memory/dream/policy.d.ts.map +1 -0
- package/packages/core/dist/memory/dream/policy.js +157 -0
- package/packages/core/dist/memory/dream/policy.js.map +1 -0
- package/packages/core/dist/memory/dream/probe.d.ts +202 -0
- package/packages/core/dist/memory/dream/probe.d.ts.map +1 -0
- package/packages/core/dist/memory/dream/probe.js +671 -0
- package/packages/core/dist/memory/dream/probe.js.map +1 -0
- package/packages/core/dist/memory/dream/promote.d.ts +312 -0
- package/packages/core/dist/memory/dream/promote.d.ts.map +1 -0
- package/packages/core/dist/memory/dream/promote.js +528 -0
- package/packages/core/dist/memory/dream/promote.js.map +1 -0
- package/packages/core/dist/memory/dream/score.d.ts +103 -0
- package/packages/core/dist/memory/dream/score.d.ts.map +1 -0
- package/packages/core/dist/memory/dream/score.js +334 -0
- package/packages/core/dist/memory/dream/score.js.map +1 -0
- package/packages/core/dist/memory/dream/slots.d.ts +193 -0
- package/packages/core/dist/memory/dream/slots.d.ts.map +1 -0
- package/packages/core/dist/memory/dream/slots.js +0 -0
- package/packages/core/dist/memory/dream/slots.js.map +1 -0
- package/packages/core/dist/memory/dream/trajectory.d.ts +262 -0
- package/packages/core/dist/memory/dream/trajectory.d.ts.map +1 -0
- package/packages/core/dist/memory/dream/trajectory.js +366 -0
- package/packages/core/dist/memory/dream/trajectory.js.map +1 -0
- package/packages/core/dist/memory/extractor.d.ts +7 -0
- package/packages/core/dist/memory/extractor.d.ts.map +1 -1
- package/packages/core/dist/memory/extractor.js +35 -12
- package/packages/core/dist/memory/extractor.js.map +1 -1
- package/packages/core/dist/memory/gate.d.ts +43 -7
- package/packages/core/dist/memory/gate.d.ts.map +1 -1
- package/packages/core/dist/memory/gate.js +91 -4
- package/packages/core/dist/memory/gate.js.map +1 -1
- package/packages/core/dist/memory/recall.d.ts +57 -0
- package/packages/core/dist/memory/recall.d.ts.map +1 -1
- package/packages/core/dist/memory/recall.js +60 -123
- package/packages/core/dist/memory/recall.js.map +1 -1
- package/packages/core/dist/memory/sleep.d.ts +131 -4
- package/packages/core/dist/memory/sleep.d.ts.map +1 -1
- package/packages/core/dist/memory/sleep.js +2384 -65
- package/packages/core/dist/memory/sleep.js.map +1 -1
- package/packages/core/dist/memory/store.d.ts +564 -10
- package/packages/core/dist/memory/store.d.ts.map +1 -1
- package/packages/core/dist/memory/store.js +1673 -102
- package/packages/core/dist/memory/store.js.map +1 -1
- package/packages/core/dist/org/controller.d.ts +282 -3
- package/packages/core/dist/org/controller.d.ts.map +1 -1
- package/packages/core/dist/org/controller.js +2334 -237
- package/packages/core/dist/org/controller.js.map +1 -1
- package/packages/core/dist/org/ponytail.d.ts +1 -1
- package/packages/core/dist/org/ponytail.js +1 -1
- package/packages/core/dist/org/project-mcp.d.ts +3 -3
- package/packages/core/dist/org/prompts.d.ts +41 -28
- package/packages/core/dist/org/prompts.d.ts.map +1 -1
- package/packages/core/dist/org/prompts.js +281 -94
- package/packages/core/dist/org/prompts.js.map +1 -1
- package/packages/core/dist/org/questions.d.ts +104 -0
- package/packages/core/dist/org/questions.d.ts.map +1 -0
- package/packages/core/dist/org/questions.js +136 -0
- package/packages/core/dist/org/questions.js.map +1 -0
- package/packages/core/dist/org/review.d.ts +100 -0
- package/packages/core/dist/org/review.d.ts.map +1 -0
- package/packages/core/dist/org/review.js +256 -0
- package/packages/core/dist/org/review.js.map +1 -0
- package/packages/core/dist/org/store.d.ts +249 -2
- package/packages/core/dist/org/store.d.ts.map +1 -1
- package/packages/core/dist/org/store.js +787 -13
- package/packages/core/dist/org/store.js.map +1 -1
- package/packages/core/dist/org/tools.d.ts +26 -2
- package/packages/core/dist/org/tools.d.ts.map +1 -1
- package/packages/core/dist/org/tools.js +352 -63
- package/packages/core/dist/org/tools.js.map +1 -1
- package/packages/core/dist/providers/catalogue.d.ts +1 -1
- package/packages/core/dist/providers/catalogue.d.ts.map +1 -1
- package/packages/core/dist/providers/catalogue.js +2 -2
- package/packages/core/dist/providers/catalogue.js.map +1 -1
- package/packages/core/dist/providers/claude-code.d.ts +18 -3
- package/packages/core/dist/providers/claude-code.d.ts.map +1 -1
- package/packages/core/dist/providers/claude-code.js +490 -40
- package/packages/core/dist/providers/claude-code.js.map +1 -1
- package/packages/core/dist/providers/claude-tui.d.ts +175 -0
- package/packages/core/dist/providers/claude-tui.d.ts.map +1 -0
- package/packages/core/dist/providers/claude-tui.js +683 -0
- package/packages/core/dist/providers/claude-tui.js.map +1 -0
- package/packages/core/dist/providers/codex-auth.d.ts +15 -0
- package/packages/core/dist/providers/codex-auth.d.ts.map +1 -0
- package/packages/core/dist/providers/codex-auth.js +127 -0
- package/packages/core/dist/providers/codex-auth.js.map +1 -0
- package/packages/core/dist/providers/codex-bridge.d.ts +58 -0
- package/packages/core/dist/providers/codex-bridge.d.ts.map +1 -0
- package/packages/core/dist/providers/codex-bridge.js +375 -0
- package/packages/core/dist/providers/codex-bridge.js.map +1 -0
- package/packages/core/dist/providers/codex-translate.d.ts +75 -0
- package/packages/core/dist/providers/codex-translate.d.ts.map +1 -0
- package/packages/core/dist/providers/codex-translate.js +383 -0
- package/packages/core/dist/providers/codex-translate.js.map +1 -0
- package/packages/core/dist/providers/model-gateway.d.ts +56 -0
- package/packages/core/dist/providers/model-gateway.d.ts.map +1 -0
- package/packages/core/dist/providers/model-gateway.js +119 -0
- package/packages/core/dist/providers/model-gateway.js.map +1 -0
- package/packages/core/dist/providers/process.d.ts +3 -1
- package/packages/core/dist/providers/process.d.ts.map +1 -1
- package/packages/core/dist/providers/process.js +3 -3
- package/packages/core/dist/providers/process.js.map +1 -1
- package/packages/core/dist/providers/profiles.d.ts +11 -0
- package/packages/core/dist/providers/profiles.d.ts.map +1 -0
- package/packages/core/dist/providers/profiles.js +28 -0
- package/packages/core/dist/providers/profiles.js.map +1 -0
- package/packages/core/dist/providers/provider-catalog.d.ts +72 -0
- package/packages/core/dist/providers/provider-catalog.d.ts.map +1 -0
- package/packages/core/dist/providers/provider-catalog.js +144 -0
- package/packages/core/dist/providers/provider-catalog.js.map +1 -0
- package/packages/core/dist/providers/quota.d.ts +40 -1
- package/packages/core/dist/providers/quota.d.ts.map +1 -1
- package/packages/core/dist/providers/quota.js +288 -25
- package/packages/core/dist/providers/quota.js.map +1 -1
- package/packages/core/dist/providers/registry.d.ts +46 -3
- package/packages/core/dist/providers/registry.d.ts.map +1 -1
- package/packages/core/dist/providers/registry.js +148 -13
- package/packages/core/dist/providers/registry.js.map +1 -1
- package/packages/core/dist/providers/router.d.ts +28 -0
- package/packages/core/dist/providers/router.d.ts.map +1 -0
- package/packages/core/dist/providers/router.js +88 -0
- package/packages/core/dist/providers/router.js.map +1 -0
- package/packages/core/dist/providers/user-settings-guard.d.ts +12 -0
- package/packages/core/dist/providers/user-settings-guard.d.ts.map +1 -0
- package/packages/core/dist/providers/user-settings-guard.js +130 -0
- package/packages/core/dist/providers/user-settings-guard.js.map +1 -0
- package/packages/core/dist/runtime.d.ts +140 -6
- package/packages/core/dist/runtime.d.ts.map +1 -1
- package/packages/core/dist/runtime.js +1312 -225
- package/packages/core/dist/runtime.js.map +1 -1
- package/packages/core/dist/skills/builtin.d.ts +34 -0
- package/packages/core/dist/skills/builtin.d.ts.map +1 -0
- package/packages/core/dist/skills/builtin.js +305 -0
- package/packages/core/dist/skills/builtin.js.map +1 -0
- package/packages/core/dist/skills/shelf.d.ts +30 -0
- package/packages/core/dist/skills/shelf.d.ts.map +1 -0
- package/packages/core/dist/skills/shelf.js +159 -0
- package/packages/core/dist/skills/shelf.js.map +1 -0
- package/packages/core/dist/skills/store.d.ts +66 -4
- package/packages/core/dist/skills/store.d.ts.map +1 -1
- package/packages/core/dist/skills/store.js +105 -18
- package/packages/core/dist/skills/store.js.map +1 -1
- package/packages/core/dist/skills/suggest.d.ts +21 -0
- package/packages/core/dist/skills/suggest.d.ts.map +1 -0
- package/packages/core/dist/skills/suggest.js +150 -0
- package/packages/core/dist/skills/suggest.js.map +1 -0
- package/packages/core/dist/tools/catalog.d.ts +1 -3
- package/packages/core/dist/tools/catalog.d.ts.map +1 -1
- package/packages/core/dist/tools/catalog.js +38 -26
- package/packages/core/dist/tools/catalog.js.map +1 -1
- package/packages/core/dist/tools/hub.d.ts +136 -10
- package/packages/core/dist/tools/hub.d.ts.map +1 -1
- package/packages/core/dist/tools/hub.js +418 -24
- package/packages/core/dist/tools/hub.js.map +1 -1
- package/packages/core/dist/turns/journal.d.ts +78 -0
- package/packages/core/dist/turns/journal.d.ts.map +1 -0
- package/packages/core/dist/turns/journal.js +104 -0
- package/packages/core/dist/turns/journal.js.map +1 -0
- package/packages/core/dist/types.d.ts +1598 -12
- package/packages/core/dist/types.d.ts.map +1 -1
- package/packages/core/dist/types.js.map +1 -1
- package/packages/core/dist/util/blocks.d.ts +41 -0
- package/packages/core/dist/util/blocks.d.ts.map +1 -0
- package/packages/core/dist/util/blocks.js +175 -0
- package/packages/core/dist/util/blocks.js.map +1 -0
- package/packages/core/dist/util/queue.d.ts +12 -0
- package/packages/core/dist/util/queue.d.ts.map +1 -1
- package/packages/core/dist/util/queue.js +16 -0
- package/packages/core/dist/util/queue.js.map +1 -1
- package/packages/core/dist/util/time.d.ts +39 -0
- package/packages/core/dist/util/time.d.ts.map +1 -0
- package/packages/core/dist/util/time.js +71 -0
- package/packages/core/dist/util/time.js.map +1 -0
- package/packages/core/package.json +1 -1
- package/packages/server/dist/auth.d.ts +14 -1
- package/packages/server/dist/auth.d.ts.map +1 -1
- package/packages/server/dist/auth.js +19 -0
- package/packages/server/dist/auth.js.map +1 -1
- package/packages/server/dist/context.d.ts +35 -1
- package/packages/server/dist/context.d.ts.map +1 -1
- package/packages/server/dist/context.js +28 -8
- package/packages/server/dist/context.js.map +1 -1
- package/packages/server/dist/gateways/attachments.d.ts +32 -0
- package/packages/server/dist/gateways/attachments.d.ts.map +1 -0
- package/packages/server/dist/gateways/attachments.js +167 -0
- package/packages/server/dist/gateways/attachments.js.map +1 -0
- package/packages/server/dist/gateways/markdown.d.ts +9 -0
- package/packages/server/dist/gateways/markdown.d.ts.map +1 -0
- package/packages/server/dist/gateways/markdown.js +170 -0
- package/packages/server/dist/gateways/markdown.js.map +1 -0
- package/packages/server/dist/gateways/push.d.ts +1 -1
- package/packages/server/dist/gateways/push.d.ts.map +1 -1
- package/packages/server/dist/gateways/push.js +347 -6
- package/packages/server/dist/gateways/push.js.map +1 -1
- package/packages/server/dist/gateways/telegram-api.d.ts +70 -1
- package/packages/server/dist/gateways/telegram-api.d.ts.map +1 -1
- package/packages/server/dist/gateways/telegram-api.js +140 -1
- package/packages/server/dist/gateways/telegram-api.js.map +1 -1
- package/packages/server/dist/gateways/telegram.d.ts +158 -1
- package/packages/server/dist/gateways/telegram.d.ts.map +1 -1
- package/packages/server/dist/gateways/telegram.js +1471 -78
- package/packages/server/dist/gateways/telegram.js.map +1 -1
- package/packages/server/dist/gateways/threads.d.ts +79 -0
- package/packages/server/dist/gateways/threads.d.ts.map +1 -0
- package/packages/server/dist/gateways/threads.js +279 -0
- package/packages/server/dist/gateways/threads.js.map +1 -0
- package/packages/server/dist/index.d.ts +2 -1
- package/packages/server/dist/index.d.ts.map +1 -1
- package/packages/server/dist/index.js +2 -1
- package/packages/server/dist/index.js.map +1 -1
- package/packages/server/dist/listeners/imap.d.ts +13 -0
- package/packages/server/dist/listeners/imap.d.ts.map +1 -0
- package/packages/server/dist/listeners/imap.js +0 -0
- package/packages/server/dist/listeners/imap.js.map +1 -0
- package/packages/server/dist/listeners/registry.d.ts +18 -0
- package/packages/server/dist/listeners/registry.d.ts.map +1 -0
- package/packages/server/dist/listeners/registry.js +88 -0
- package/packages/server/dist/listeners/registry.js.map +1 -0
- package/packages/server/dist/listeners/types.d.ts +55 -0
- package/packages/server/dist/listeners/types.d.ts.map +1 -0
- package/packages/server/dist/listeners/types.js +2 -0
- package/packages/server/dist/listeners/types.js.map +1 -0
- package/packages/server/dist/main.js +15 -1
- package/packages/server/dist/main.js.map +1 -1
- package/packages/server/dist/routes/chat.d.ts +7 -3
- package/packages/server/dist/routes/chat.d.ts.map +1 -1
- package/packages/server/dist/routes/chat.js +8 -17
- package/packages/server/dist/routes/chat.js.map +1 -1
- package/packages/server/dist/routes/config.d.ts.map +1 -1
- package/packages/server/dist/routes/config.js +39 -7
- package/packages/server/dist/routes/config.js.map +1 -1
- package/packages/server/dist/routes/cron.d.ts.map +1 -1
- package/packages/server/dist/routes/cron.js +65 -8
- package/packages/server/dist/routes/cron.js.map +1 -1
- package/packages/server/dist/routes/dream.d.ts +22 -0
- package/packages/server/dist/routes/dream.d.ts.map +1 -0
- package/packages/server/dist/routes/dream.js +152 -0
- package/packages/server/dist/routes/dream.js.map +1 -0
- package/packages/server/dist/routes/hooks.d.ts +18 -0
- package/packages/server/dist/routes/hooks.d.ts.map +1 -0
- package/packages/server/dist/routes/hooks.js +62 -0
- package/packages/server/dist/routes/hooks.js.map +1 -0
- package/packages/server/dist/routes/listeners.d.ts +10 -0
- package/packages/server/dist/routes/listeners.d.ts.map +1 -0
- package/packages/server/dist/routes/listeners.js +12 -0
- package/packages/server/dist/routes/listeners.js.map +1 -0
- package/packages/server/dist/routes/memories.d.ts.map +1 -1
- package/packages/server/dist/routes/memories.js +55 -3
- package/packages/server/dist/routes/memories.js.map +1 -1
- package/packages/server/dist/routes/org.d.ts.map +1 -1
- package/packages/server/dist/routes/org.js +284 -48
- package/packages/server/dist/routes/org.js.map +1 -1
- package/packages/server/dist/routes/profile.d.ts.map +1 -1
- package/packages/server/dist/routes/profile.js +6 -3
- package/packages/server/dist/routes/profile.js.map +1 -1
- package/packages/server/dist/routes/providers.d.ts.map +1 -1
- package/packages/server/dist/routes/providers.js +66 -7
- package/packages/server/dist/routes/providers.js.map +1 -1
- package/packages/server/dist/routes/questions.d.ts +45 -0
- package/packages/server/dist/routes/questions.d.ts.map +1 -0
- package/packages/server/dist/routes/questions.js +73 -0
- package/packages/server/dist/routes/questions.js.map +1 -0
- package/packages/server/dist/routes/sessions.d.ts.map +1 -1
- package/packages/server/dist/routes/sessions.js +26 -6
- package/packages/server/dist/routes/sessions.js.map +1 -1
- package/packages/server/dist/routes/sleep.d.ts.map +1 -1
- package/packages/server/dist/routes/sleep.js +71 -2
- package/packages/server/dist/routes/sleep.js.map +1 -1
- package/packages/server/dist/routes/terminals.d.ts +25 -0
- package/packages/server/dist/routes/terminals.d.ts.map +1 -0
- package/packages/server/dist/routes/terminals.js +35 -0
- package/packages/server/dist/routes/terminals.js.map +1 -0
- package/packages/server/dist/routes/tools.d.ts.map +1 -1
- package/packages/server/dist/routes/tools.js +140 -6
- package/packages/server/dist/routes/tools.js.map +1 -1
- package/packages/server/dist/routes/updates.d.ts +10 -0
- package/packages/server/dist/routes/updates.d.ts.map +1 -0
- package/packages/server/dist/routes/updates.js +22 -0
- package/packages/server/dist/routes/updates.js.map +1 -0
- package/packages/server/dist/routes/ws.d.ts +11 -5
- package/packages/server/dist/routes/ws.d.ts.map +1 -1
- package/packages/server/dist/routes/ws.js +162 -28
- package/packages/server/dist/routes/ws.js.map +1 -1
- package/packages/server/dist/schemas.d.ts +1125 -211
- package/packages/server/dist/schemas.d.ts.map +1 -1
- package/packages/server/dist/schemas.js +300 -12
- package/packages/server/dist/schemas.js.map +1 -1
- package/packages/server/dist/server.d.ts +7 -1
- package/packages/server/dist/server.d.ts.map +1 -1
- package/packages/server/dist/server.js +186 -3
- package/packages/server/dist/server.js.map +1 -1
- package/packages/server/dist/services/stream.d.ts +89 -5
- package/packages/server/dist/services/stream.d.ts.map +1 -1
- package/packages/server/dist/services/stream.js +9 -20
- package/packages/server/dist/services/stream.js.map +1 -1
- package/packages/server/dist/services/stt.d.ts +65 -0
- package/packages/server/dist/services/stt.d.ts.map +1 -0
- package/packages/server/dist/services/stt.js +306 -0
- package/packages/server/dist/services/stt.js.map +1 -0
- package/packages/server/dist/services/turns.d.ts +49 -0
- package/packages/server/dist/services/turns.d.ts.map +1 -0
- package/packages/server/dist/services/turns.js +138 -0
- package/packages/server/dist/services/turns.js.map +1 -0
- package/packages/server/dist/services/updates.d.ts +99 -0
- package/packages/server/dist/services/updates.d.ts.map +1 -0
- package/packages/server/dist/services/updates.js +316 -0
- package/packages/server/dist/services/updates.js.map +1 -0
- package/packages/server/package.json +1 -1
- package/packages/web/dist/app-icon.svg +2 -0
- package/packages/web/dist/apple-touch-icon.png +0 -0
- package/packages/web/dist/assets/abnfDiagram-O67JEVCF-B4qWcqra.js +1 -0
- package/packages/web/dist/assets/arc-CQult7TN.js +1 -0
- package/packages/web/dist/assets/architectureDiagram-NJMV4G6O-DFTRvl66.js +36 -0
- package/packages/web/dist/assets/blockDiagram-BEXU5L5S-TCFoK_k-.js +140 -0
- package/packages/web/dist/assets/c4Diagram-YGBWAQC7-i5_GqhJa.js +38 -0
- package/packages/web/dist/assets/channel-D_4EmqNR.js +1 -0
- package/packages/web/dist/assets/chunk-2Q5K7J3B-BK6I2wfW.js +1 -0
- package/packages/web/dist/assets/chunk-3FUC2YCW-Dw-TfKT0.js +2 -0
- package/packages/web/dist/assets/chunk-5VM5RSS4-AE_XRNTT.js +15 -0
- package/packages/web/dist/assets/chunk-GTNCS2PH-DO18WaaJ.js +88 -0
- package/packages/web/dist/assets/chunk-GWA4HPMP-3rdjszP_.js +1 -0
- package/packages/web/dist/assets/chunk-JWPE2WC7-C93LH2D0.js +1 -0
- package/packages/web/dist/assets/chunk-NETBCI7D-Dj7O3-H-.js +1 -0
- package/packages/web/dist/assets/chunk-WEXAMYUT-BRFvQUIn.js +1 -0
- package/packages/web/dist/assets/chunk-XXDRQBXY-CXx6HMbz.js +1 -0
- package/packages/web/dist/assets/classDiagram-v2-NBCMYWYE-BGXszxjn.js +217 -0
- package/packages/web/dist/assets/cose-bilkent-JH36ORCC-BAuXqkne.js +1 -0
- package/packages/web/dist/assets/cynefin-OW5HDTMX-plNzhY7J.js +178 -0
- package/packages/web/dist/assets/cynefinDiagram-VND7K2PF-DuPlljFS.js +62 -0
- package/packages/web/dist/assets/cytoscape.esm-Ix0LnXOy.js +331 -0
- package/packages/web/dist/assets/dagre-6A5THRUB-CXzwdR-6.js +4 -0
- package/packages/web/dist/assets/diagram-22UHCM2B-B7iv_V2D.js +200 -0
- package/packages/web/dist/assets/diagram-3UASUU5V-BMvi7gSi.js +24 -0
- package/packages/web/dist/assets/diagram-ATOU4E4O-NJ7EB5Qg.js +3 -0
- package/packages/web/dist/assets/diagram-CDSNMT55-DccMMNJ-.js +30 -0
- package/packages/web/dist/assets/diagram-MLGK6HIB-BbwGHK4g.js +24 -0
- package/packages/web/dist/assets/diagram-MPIPVDR6-BbSSZfM3.js +41 -0
- package/packages/web/dist/assets/draco_decoder-C32yEggz.wasm +0 -0
- package/packages/web/dist/assets/draco_decoder-Z1_iN-Ht.wasm +0 -0
- package/packages/web/dist/assets/draco_decoder-fzg4nYZr.js +34 -0
- package/packages/web/dist/assets/draco_wasm_wrapper-DxJM36Ib.js +117 -0
- package/packages/web/dist/assets/draco_wasm_wrapper-fZCQGLGb.js +116 -0
- package/packages/web/dist/assets/ebnfDiagram-ZINNZB2B-BBfPNM85.js +1 -0
- package/packages/web/dist/assets/elk-276RUBZZ-dM3Y1d2a.js +27 -0
- package/packages/web/dist/assets/erDiagram-OPXOYQCR-iWrUegxy.js +99 -0
- package/packages/web/dist/assets/flowDiagram-KWPJA3E3-B6DYlbkV.js +213 -0
- package/packages/web/dist/assets/ganttDiagram-FUAMR5RP-D7dSWZcC.js +292 -0
- package/packages/web/dist/assets/gitGraphDiagram-X574FWY7-DguFgcbW.js +106 -0
- package/packages/web/dist/assets/graph-Bn3Yngep.js +1 -0
- package/packages/web/dist/assets/index-B1QvSHA5.js +660 -0
- package/packages/web/dist/assets/index-zwMuaz90.css +32 -0
- package/packages/web/dist/assets/infoDiagram-VRGFBTTK-CuiuO3uo.js +2 -0
- package/packages/web/dist/assets/ishikawaDiagram-OU5B5YK6-wBS1_40m.js +70 -0
- package/packages/web/dist/assets/journeyDiagram-ZHPQQLJL-Bd1YE2gP.js +139 -0
- package/packages/web/dist/assets/kanban-definition-PNTS6WVX-BlQzv_X1.js +89 -0
- package/packages/web/dist/assets/katex-C5jXJg4s.js +257 -0
- package/packages/web/dist/assets/mermaid.core-p3CwmLUb.js +313 -0
- package/packages/web/dist/assets/mindmap-definition-NLK3R4M7-BlticnKl.js +96 -0
- package/packages/web/dist/assets/pegDiagram-GJSIUBJH-BbXsP47B.js +1 -0
- package/packages/web/dist/assets/pieDiagram-5QR66LMP-BooBSBug.js +39 -0
- package/packages/web/dist/assets/quadrantDiagram-O4NWA36T-CkXC6VCh.js +7 -0
- package/packages/web/dist/assets/railroadDiagram-XR7U4H2S-BphzYiW-.js +1 -0
- package/packages/web/dist/assets/requirementDiagram-PLB6GJNP-PWpD4zpQ.js +84 -0
- package/packages/web/dist/assets/sankeyDiagram-IPEJSGJF-5Qm39Vfz.js +40 -0
- package/packages/web/dist/assets/scene-D4LPicHk.js +4620 -0
- package/packages/web/dist/assets/sequenceDiagram-PO4LG4MO-DA673J_w.js +169 -0
- package/packages/web/dist/assets/sizeCapture-INFHLROL-1KsNwBhd.js +1 -0
- package/packages/web/dist/assets/stateDiagram-v2-GCMORJYK-D7O0UyHr.js +291 -0
- package/packages/web/dist/assets/swimlanes-2SLR337P-culFSb1R.js +1 -0
- package/packages/web/dist/assets/swimlanesDiagram-TC7HE7FX-kzTmK2BP.js +8 -0
- package/packages/web/dist/assets/timeline-definition-EJHVYXUP-6GIO5p-k.js +120 -0
- package/packages/web/dist/assets/usecaseDiagram-POWQR4AR-BAGHDBzZ.js +370 -0
- package/packages/web/dist/assets/vennDiagram-UO4OBE2U-PbtBvPRE.js +34 -0
- package/packages/web/dist/assets/wardleyDiagram-VNRHLVJA-9scbtDvX.js +78 -0
- package/packages/web/dist/assets/xychartDiagram-PMCCYNJV-C51PiF4p.js +7 -0
- package/packages/web/dist/draco/draco_decoder.js +33 -0
- package/packages/web/dist/draco/draco_decoder.wasm +0 -0
- package/packages/web/dist/draco/draco_wasm_wrapper.js +116 -0
- package/packages/web/dist/favicon-16.png +0 -0
- package/packages/web/dist/favicon-32.png +0 -0
- package/packages/web/dist/favicon-48.png +0 -0
- package/packages/web/dist/favicon.ico +0 -0
- package/packages/web/dist/favicon.svg +1 -1
- package/packages/web/dist/icon-192.png +0 -0
- package/packages/web/dist/icon-512.png +0 -0
- package/packages/web/dist/index.html +12 -4
- package/packages/web/dist/logo-light.svg +1 -1
- package/packages/web/dist/logo-mono.svg +2 -0
- package/packages/web/dist/logo-stacked-light.svg +2 -0
- package/packages/web/dist/logo-stacked.svg +2 -0
- package/packages/web/dist/logo-white.svg +2 -0
- package/packages/web/dist/logo.svg +1 -1
- package/packages/web/dist/mark-light.svg +1 -1
- package/packages/web/dist/mark-mono.svg +2 -0
- package/packages/web/dist/mark-small-light.svg +2 -0
- package/packages/web/dist/mark-small.svg +2 -0
- package/packages/web/dist/mark-white.svg +2 -0
- package/packages/web/dist/mark.svg +1 -1
- package/packages/web/dist/models/LICENSE.txt +5 -0
- package/packages/web/dist/models/brain.glb +0 -0
- package/packages/web/dist/site.webmanifest +23 -0
- package/packages/web/dist/wordmark-light.svg +2 -0
- package/packages/web/dist/wordmark.svg +2 -0
- package/packages/web/package.json +1 -1
- package/scripts/rookery.mjs +204 -122
- package/scripts/updater.mjs +227 -0
- package/packages/cli/dist/tui/components/Wordmark.d.ts +0 -35
- package/packages/cli/dist/tui/components/Wordmark.d.ts.map +0 -1
- package/packages/cli/dist/tui/components/Wordmark.js +0 -81
- package/packages/cli/dist/tui/components/Wordmark.js.map +0 -1
- package/packages/core/dist/agents/orchestrator.d.ts +0 -24
- package/packages/core/dist/agents/orchestrator.d.ts.map +0 -1
- package/packages/core/dist/agents/orchestrator.js +0 -88
- package/packages/core/dist/agents/orchestrator.js.map +0 -1
- package/packages/core/dist/agents/roles.d.ts +0 -21
- package/packages/core/dist/agents/roles.d.ts.map +0 -1
- package/packages/core/dist/agents/roles.js +0 -81
- package/packages/core/dist/agents/roles.js.map +0 -1
- package/packages/core/dist/agents/team.d.ts +0 -105
- package/packages/core/dist/agents/team.d.ts.map +0 -1
- package/packages/core/dist/agents/team.js +0 -623
- package/packages/core/dist/agents/team.js.map +0 -1
- package/packages/core/dist/providers/codex.d.ts +0 -10
- package/packages/core/dist/providers/codex.d.ts.map +0 -1
- package/packages/core/dist/providers/codex.js +0 -375
- package/packages/core/dist/providers/codex.js.map +0 -1
- package/packages/core/dist/tools/browser.d.ts +0 -20
- package/packages/core/dist/tools/browser.d.ts.map +0 -1
- package/packages/core/dist/tools/browser.js +0 -72
- package/packages/core/dist/tools/browser.js.map +0 -1
- package/packages/server/dist/routes/agents.d.ts +0 -5
- package/packages/server/dist/routes/agents.d.ts.map +0 -1
- package/packages/server/dist/routes/agents.js +0 -6
- package/packages/server/dist/routes/agents.js.map +0 -1
- package/packages/server/dist/routes/team.d.ts +0 -11
- package/packages/server/dist/routes/team.d.ts.map +0 -1
- package/packages/server/dist/routes/team.js +0 -36
- package/packages/server/dist/routes/team.js.map +0 -1
- package/packages/web/dist/assets/3d-force-graph-BPZmoydi.js +0 -1163
- package/packages/web/dist/assets/index-IBSTzK7-.js +0 -1255
- package/packages/web/dist/assets/index-qUXUui7W.css +0 -1
- package/packages/web/dist/assets/three-spritetext-B9ZIW7c-.js +0 -4
- package/packages/web/dist/assets/three.module-cmFfBtHS.js +0 -4228
package/docs/migration.md
CHANGED
|
@@ -1,88 +1,88 @@
|
|
|
1
|
-
# Migrate your agent to Rookery
|
|
2
|
-
|
|
3
|
-
Bring the personality and saved knowledge of a Hermes or OpenClaw agent into Rookery. Rookery provides this importer; it is not an endorsement or compatibility guarantee from either source project. Your agent keeps its imported Markdown identity while Rookery supplies the runtime, provider integration, tools, and permissions. A different model or harness can still change how it responds.
|
|
4
|
-
|
|
5
|
-
## During installation
|
|
6
|
-
|
|
7
|
-
The Windows and Linux installers run `rookery setup`, which opens **Settings → Migration**. Choose **Hermes** or **OpenClaw**, inspect the detected source directory, then select individual files and schedules with their checkboxes. Files and schedules each have their own select-all/clear controls. Only selected entries are imported and backed up; selecting only schedules leaves your existing personality files unchanged. A custom path refers to a directory on the machine running the Rookery server. For a browser on another machine, first copy your source profile to the server.
|
|
8
|
-
|
|
9
|
-
Choose **Start fresh** to continue with Rookery's neutral profile, then personalize it under **Settings → Identity**. Existing Rookery users can open Migration later. Setup does not import anything automatically.
|
|
10
|
-
|
|
11
|
-
## Terminal
|
|
12
|
-
|
|
13
|
-
The installed standalone launcher supports:
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
rookery migrate hermes
|
|
17
|
-
rookery migrate openclaw --from /path/to/openclaw/workspace
|
|
18
|
-
rookery migrate hermes --from /path/to/hermes/profile --apply
|
|
19
|
-
rookery migrate hermes --job <source-job-id> --apply
|
|
20
|
-
rookery migrate openclaw --file SOUL.md --file USER.md --apply
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
The default is a preview of files and compatible schedules. Repeat `--file` and `--job` to import only named target paths and source job IDs; when either flag is present, unlisted files and jobs are excluded. Without selection flags, all compatible entries are selected. `--apply` prints the current preview, verifies that its source and destination fingerprint still matches, then imports. Review the preview before adding `--apply`: that flag also authorizes replacing conflicting destination files with backups. The command does not start the server or enable autostart. From a built source checkout, use `node scripts/rookery.mjs migrate ...`.
|
|
24
|
-
|
|
25
|
-
## Source directories
|
|
26
|
-
|
|
27
|
-
- **Hermes:** normally `~/.hermes`; custom instances use `HERMES_HOME`, and named profiles live under `~/.hermes/profiles/<name>`. `hermes profile show <name>` reports a profile's home. Pass the desired profile directory with `--from`. Hermes stores `SOUL.md` at that root and `USER.md` and `MEMORY.md` under `memories/`. See the official [file map](https://hermes-agent.nousresearch.com/docs/user-guide/which-file-does-what) and [profile documentation](https://hermes-agent.nousresearch.com/docs/user-guide/profiles/).
|
|
28
|
-
- **OpenClaw:** normally `~/.openclaw/workspace`. Profiles, environment overrides, and per-agent workspace configuration can change it. Select the actual agent workspace with `--from` when using a custom or multi-agent installation. Files from different agents should not be merged by guessing their directories. See the official [workspace documentation](https://docs.openclaw.ai/concepts/agent-workspace).
|
|
29
|
-
|
|
30
|
-
For another machine, copy the source directory first. Hermes also offers `hermes profile export <name> -o profile.tar.gz`; extract that archive yourself and select the extracted profile directory. Rookery's importer accepts directories, not archive uploads. An export can contain personal history even though Hermes excludes `.env` and `auth.json` by filename. See the official [export command](https://hermes-agent.nousresearch.com/docs/reference/profile-commands).
|
|
31
|
-
|
|
32
|
-
## What transfers
|
|
33
|
-
|
|
34
|
-
| Data | Hermes source | OpenClaw source | Rookery destination |
|
|
35
|
-
|---|---|---|---|
|
|
36
|
-
| Name and identity | `IDENTITY.md`, if present | `IDENTITY.md` | `IDENTITY.md` |
|
|
37
|
-
| Personality and tone | `SOUL.md` | `SOUL.md` | `SOUL.md` |
|
|
38
|
-
| User profile | `memories/USER.md` | `USER.md` | `USER.md` |
|
|
39
|
-
| Curated knowledge | `memories/MEMORY.md` | `MEMORY.md` | `MEMORY.md` |
|
|
40
|
-
| Workspace guidance | `AGENTS.md`, if present at the selected root | `AGENTS.md` | `AGENTS.md` |
|
|
41
|
-
| Tool conventions | `TOOLS.md`, if present | `TOOLS.md`, if present | `TOOLS.md` |
|
|
42
|
-
| Detailed notes | No additional note folders imported | `memory/**/*.md` | `memory/` |
|
|
43
|
-
|
|
44
|
-
Hermes uses `SOUL.md` as its primary identity, so an absent `IDENTITY.md` is normal. Its memory files may use `§` separators; those remain intact. OpenClaw's newer templates keep tool conventions in the `## Tools` section of `AGENTS.md`; legacy `TOOLS.md` is also supported. These files carry instructions and notes, not tool implementations. [Hermes identity](https://hermes-agent.nousresearch.com/docs/user-guide/features/personality), [Hermes memory](https://hermes-agent.nousresearch.com/docs/user-guide/features/memory), [OpenClaw memory](https://docs.openclaw.ai/concepts/memory).
|
|
45
|
-
|
|
46
|
-
The preview is the exact list for your installation. `HEARTBEAT.md`, `BOOT.md`, and `BOOTSTRAP.md` are retained as inactive `.md.txt` files under `migration-archive/<source>/` when present. Those archived instructions do not create schedules, run startup actions, or restart an old onboarding ritual.
|
|
47
|
-
|
|
48
|
-
## Scheduled jobs
|
|
49
|
-
|
|
50
|
-
Compatible recurring cron jobs appear in the same migration preview and import into **Schedules**, paused with `chat` permission. The importer keeps their names, prompt text, and supported five-field cron expressions. It does not run jobs during migration or replay missed occurrences. Review each schedule's timing, tools, permissions, and output delivery before enabling it. Repeating an import does not replace your local edits to a previously imported schedule.
|
|
51
|
-
|
|
52
|
-
Hermes jobs are read from `<profile>/cron/jobs.json`. Hermes can also attach skills, scripts, finite repeat counts, custom models, and delivery targets; those source features need separate treatment. See [Hermes cron internals](https://hermes-agent.nousresearch.com/docs/developer-guide/cron-internals).
|
|
53
|
-
|
|
54
|
-
Current OpenClaw stores schedules in its shared `<state-dir>/state/openclaw.sqlite` database. For a selected workspace named `workspace`, Rookery checks the adjacent state directory and its default cron partition. Legacy `<state-dir>/cron/jobs.json` is used when the database is absent. A moved database may retain the old absolute partition path, and custom or multi-agent layouts need an explicit export. See [OpenClaw automations](https://docs.openclaw.ai/cli/cron).
|
|
55
|
-
|
|
56
|
-
For those layouts, run `openclaw automations list --json` (optionally filter with `--agent <id>`) and save the output as UTF-8 `jobs.json` in the workspace directory you select for migration. Rookery accepts a job list or an object containing `jobs`; this file takes precedence over automatic cron discovery. A `cron/jobs.json` directly under the selected directory is also supported. Review the exported jobs to ensure they belong to the agent you are migrating. The official [CLI reference](https://docs.openclaw.ai/cli/cron) describes JSON output.
|
|
57
|
-
|
|
58
|
-
The converter accepts recurring five-field cron schedules with assistant text prompts, plus Hermes script jobs. Finite repeats preserve the remaining attempt count (`times - completed`); it is reserved before each run, including failed attempts, so restarts cannot exceed the limit. It skips one-shot timestamps, fixed intervals, six-field schedules, unsupported command/heartbeat/system-event payloads, unmapped custom agents, monitor gates, chained contexts, custom script working directories, explicit timezones that differ from the Rookery host, staggering, conditional triggers, and pacing. OpenClaw top-of-hour jobs need an explicit exact-timing setting (`staggerMs: 0`) because its implicit staggering is not reproduced. Source delivery destinations and model/tool settings are not enabled automatically. Warnings identify unsupported or unmapped features; their definitions remain in the source installation. OpenClaw supports these broader schedule types natively, as documented in its [schedule guide](https://docs.openclaw.ai/automation/cron-jobs/schedules).
|
|
59
|
-
|
|
60
|
-
## Script schedules
|
|
61
|
-
|
|
62
|
-
Selecting a Hermes script schedule also selects its script bundle. Python, Node.js, Bash and PowerShell scripts are supported. The preview lists locally resolved helper modules and referenced JSON state/rule files. They are copied into `<ROOKERY_HOME>/imported-scripts/`; credential-like JSON sidecars are excluded. Script files themselves can contain embedded credentials, so review the code before importing. Separate authentication stores, installed interpreters, third-party packages and dynamically located dependencies are not installed or copied automatically.
|
|
63
|
-
|
|
64
|
-
Imported scripts remain paused with chat-only permission. Open their detail page in **Schedules**, review the source and its dependencies, explicitly grant **Full access**, then enable or run the job. Script execution is a local process with filesystem/network access, not a sandbox. Rookery uses an interpreter argument array, a two-minute script timeout, bounded output and process-tree cancellation. It does not forward provider/gateway secrets from its environment.
|
|
65
|
-
|
|
66
|
-
Hermes `no_agent` jobs return script output directly. Other script jobs feed stdout into the assistant with the saved job prompt. Empty script-only output, `wakeAgent: false` control output and the assistant's `[SILENT]` response suppress notifications. Absolute paths inside scripts are preserved and flagged: a script that refers to an old Hermes installation or external authentication files needs those references reviewed before the old installation is removed. Source delivery destinations do not become Rookery gateway settings.
|
|
67
|
-
|
|
68
|
-
## Rookery's portable profile
|
|
69
|
-
|
|
70
|
-
The assistant workspace defaults to `~/.rookery/workspace`. The standard files are `IDENTITY.md`, `SOUL.md`, `USER.md`, `AGENTS.md`, `TOOLS.md`, and `MEMORY.md`. New generated templates can use `{{assistantName}}`, `{{userName}}`, `{{honorific}}`, and `{{formalAddress}}` to follow Settings. Imported identity text remains authoritative about the agent's persona.
|
|
71
|
-
|
|
72
|
-
Rookery loads the profile for assistant turns and exposes Markdown notes through its own MCP profile tools. Existing SQLite memories remain available alongside those files. Project agents keep their separate identities and memory scope. This migration does not add group-chat access: Telegram continues to accept only permitted controllers in private chats. Keep personal knowledge in a private Rookery home.
|
|
73
|
-
|
|
74
|
-
Automatic context includes up to 12,000 characters per standard file, with explicit excerpt notices. Note searches scan up to 16 MiB and label partial results; `read_profile` can read a known file in pages. Retrieval errors are reported without replacing the saved personality or breaking the conversation. Projectless staff use `<ROOKERY_HOME>/agent-workspaces/<agent-id>` so their provider does not automatically load the assistant's private profile.
|
|
75
|
-
|
|
76
|
-
Review the files under **Settings → Identity** after importing. Start a new conversation for the cleanest transition; an old provider conversation can still contain its earlier identity context.
|
|
77
|
-
|
|
78
|
-
## Backups and recovery
|
|
79
|
-
|
|
80
|
-
The importer leaves the source directory unchanged, reports conflicts before applying, and preserves backups when replacing destination files under `<ROOKERY_HOME>/migration-backups/`. Keep the backup/report path printed by the CLI or shown by the UI. Its `manifest.json` identifies selected files, their `targetRoot` and relative `targetPath`, and which originals were backed up. Profile files belong to the assistant workspace; script bundles belong to the Rookery home. If files change between preview and apply, obtain a new preview.
|
|
81
|
-
|
|
82
|
-
To undo an import manually, stop Rookery and use the migration report to identify changed files. Restore replaced files from the backup and remove only files the report identifies as newly created by that import. Preserve later edits separately before restoring. Restart Rookery, review Identity, and remove the imported schedules you no longer want under **Schedules**. There is no automatic rollback command; a migration backup is not a snapshot of the complete Rookery database or provider sessions.
|
|
83
|
-
|
|
84
|
-
## What needs separate setup
|
|
85
|
-
|
|
86
|
-
Chat sessions and native provider thread IDs, conversation databases and search indexes, credentials, API keys, channel pairing, approvals, hooks, plugins, executable skills, external memory services, and model/provider settings are not automatically converted. Configure Rookery's provider login, Gateways, Tools, and Skills separately. Markdown cannot grant permissions or reproduce an unavailable source tool.
|
|
87
|
-
|
|
88
|
-
Hermes stores searchable conversation history in `state.db`; current OpenClaw stores per-agent runtime data in `agents/<id>/agent/openclaw-agent.sqlite`, with older session directories retained as legacy artifacts. Importing Markdown does not import either conversation store. External memory providers may also hold knowledge that is absent from local Markdown. [Hermes memory and sessions](https://hermes-agent.nousresearch.com/docs/user-guide/features/memory), [OpenClaw state locations](https://docs.openclaw.ai/concepts/agent-workspace).
|
|
1
|
+
# Migrate your agent to Rookery
|
|
2
|
+
|
|
3
|
+
Bring the personality and saved knowledge of a Hermes or OpenClaw agent into Rookery. Rookery provides this importer; it is not an endorsement or compatibility guarantee from either source project. Your agent keeps its imported Markdown identity while Rookery supplies the runtime, provider integration, tools, and permissions. A different model or harness can still change how it responds.
|
|
4
|
+
|
|
5
|
+
## During installation
|
|
6
|
+
|
|
7
|
+
The Windows and Linux installers run `rookery setup`, which opens **Settings → Migration**. Choose **Hermes** or **OpenClaw**, inspect the detected source directory, then select individual files and schedules with their checkboxes. Files and schedules each have their own select-all/clear controls. Only selected entries are imported and backed up; selecting only schedules leaves your existing personality files unchanged. A custom path refers to a directory on the machine running the Rookery server. For a browser on another machine, first copy your source profile to the server.
|
|
8
|
+
|
|
9
|
+
Choose **Start fresh** to continue with Rookery's neutral profile, then personalize it under **Settings → Identity**. Existing Rookery users can open Migration later. Setup does not import anything automatically.
|
|
10
|
+
|
|
11
|
+
## Terminal
|
|
12
|
+
|
|
13
|
+
The installed standalone launcher supports:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
rookery migrate hermes
|
|
17
|
+
rookery migrate openclaw --from /path/to/openclaw/workspace
|
|
18
|
+
rookery migrate hermes --from /path/to/hermes/profile --apply
|
|
19
|
+
rookery migrate hermes --job <source-job-id> --apply
|
|
20
|
+
rookery migrate openclaw --file SOUL.md --file USER.md --apply
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
The default is a preview of files and compatible schedules. Repeat `--file` and `--job` to import only named target paths and source job IDs; when either flag is present, unlisted files and jobs are excluded. Without selection flags, all compatible entries are selected. `--apply` prints the current preview, verifies that its source and destination fingerprint still matches, then imports. Review the preview before adding `--apply`: that flag also authorizes replacing conflicting destination files with backups. The command does not start the server or enable autostart. From a built source checkout, use `node scripts/rookery.mjs migrate ...`.
|
|
24
|
+
|
|
25
|
+
## Source directories
|
|
26
|
+
|
|
27
|
+
- **Hermes:** normally `~/.hermes`; custom instances use `HERMES_HOME`, and named profiles live under `~/.hermes/profiles/<name>`. `hermes profile show <name>` reports a profile's home. Pass the desired profile directory with `--from`. Hermes stores `SOUL.md` at that root and `USER.md` and `MEMORY.md` under `memories/`. See the official [file map](https://hermes-agent.nousresearch.com/docs/user-guide/which-file-does-what) and [profile documentation](https://hermes-agent.nousresearch.com/docs/user-guide/profiles/).
|
|
28
|
+
- **OpenClaw:** normally `~/.openclaw/workspace`. Profiles, environment overrides, and per-agent workspace configuration can change it. Select the actual agent workspace with `--from` when using a custom or multi-agent installation. Files from different agents should not be merged by guessing their directories. See the official [workspace documentation](https://docs.openclaw.ai/concepts/agent-workspace).
|
|
29
|
+
|
|
30
|
+
For another machine, copy the source directory first. Hermes also offers `hermes profile export <name> -o profile.tar.gz`; extract that archive yourself and select the extracted profile directory. Rookery's importer accepts directories, not archive uploads. An export can contain personal history even though Hermes excludes `.env` and `auth.json` by filename. See the official [export command](https://hermes-agent.nousresearch.com/docs/reference/profile-commands).
|
|
31
|
+
|
|
32
|
+
## What transfers
|
|
33
|
+
|
|
34
|
+
| Data | Hermes source | OpenClaw source | Rookery destination |
|
|
35
|
+
|---|---|---|---|
|
|
36
|
+
| Name and identity | `IDENTITY.md`, if present | `IDENTITY.md` | `IDENTITY.md` |
|
|
37
|
+
| Personality and tone | `SOUL.md` | `SOUL.md` | `SOUL.md` |
|
|
38
|
+
| User profile | `memories/USER.md` | `USER.md` | `USER.md` |
|
|
39
|
+
| Curated knowledge | `memories/MEMORY.md` | `MEMORY.md` | `MEMORY.md` |
|
|
40
|
+
| Workspace guidance | `AGENTS.md`, if present at the selected root | `AGENTS.md` | `AGENTS.md` |
|
|
41
|
+
| Tool conventions | `TOOLS.md`, if present | `TOOLS.md`, if present | `TOOLS.md` |
|
|
42
|
+
| Detailed notes | No additional note folders imported | `memory/**/*.md` | `memory/` |
|
|
43
|
+
|
|
44
|
+
Hermes uses `SOUL.md` as its primary identity, so an absent `IDENTITY.md` is normal. Its memory files may use `§` separators; those remain intact. OpenClaw's newer templates keep tool conventions in the `## Tools` section of `AGENTS.md`; legacy `TOOLS.md` is also supported. These files carry instructions and notes, not tool implementations. [Hermes identity](https://hermes-agent.nousresearch.com/docs/user-guide/features/personality), [Hermes memory](https://hermes-agent.nousresearch.com/docs/user-guide/features/memory), [OpenClaw memory](https://docs.openclaw.ai/concepts/memory).
|
|
45
|
+
|
|
46
|
+
The preview is the exact list for your installation. `HEARTBEAT.md`, `BOOT.md`, and `BOOTSTRAP.md` are retained as inactive `.md.txt` files under `migration-archive/<source>/` when present. Those archived instructions do not create schedules, run startup actions, or restart an old onboarding ritual.
|
|
47
|
+
|
|
48
|
+
## Scheduled jobs
|
|
49
|
+
|
|
50
|
+
Compatible recurring cron jobs appear in the same migration preview and import into **Schedules**, paused with `chat` permission. The importer keeps their names, prompt text, and supported five-field cron expressions. It does not run jobs during migration or replay missed occurrences. Review each schedule's timing, tools, permissions, and output delivery before enabling it. Repeating an import does not replace your local edits to a previously imported schedule.
|
|
51
|
+
|
|
52
|
+
Hermes jobs are read from `<profile>/cron/jobs.json`. Hermes can also attach skills, scripts, finite repeat counts, custom models, and delivery targets; those source features need separate treatment. See [Hermes cron internals](https://hermes-agent.nousresearch.com/docs/developer-guide/cron-internals).
|
|
53
|
+
|
|
54
|
+
Current OpenClaw stores schedules in its shared `<state-dir>/state/openclaw.sqlite` database. For a selected workspace named `workspace`, Rookery checks the adjacent state directory and its default cron partition. Legacy `<state-dir>/cron/jobs.json` is used when the database is absent. A moved database may retain the old absolute partition path, and custom or multi-agent layouts need an explicit export. See [OpenClaw automations](https://docs.openclaw.ai/cli/cron).
|
|
55
|
+
|
|
56
|
+
For those layouts, run `openclaw automations list --json` (optionally filter with `--agent <id>`) and save the output as UTF-8 `jobs.json` in the workspace directory you select for migration. Rookery accepts a job list or an object containing `jobs`; this file takes precedence over automatic cron discovery. A `cron/jobs.json` directly under the selected directory is also supported. Review the exported jobs to ensure they belong to the agent you are migrating. The official [CLI reference](https://docs.openclaw.ai/cli/cron) describes JSON output.
|
|
57
|
+
|
|
58
|
+
The converter accepts recurring five-field cron schedules with assistant text prompts, plus Hermes script jobs. Finite repeats preserve the remaining attempt count (`times - completed`); it is reserved before each run, including failed attempts, so restarts cannot exceed the limit. It skips one-shot timestamps, fixed intervals, six-field schedules, unsupported command/heartbeat/system-event payloads, unmapped custom agents, monitor gates, chained contexts, custom script working directories, explicit timezones that differ from the Rookery host, staggering, conditional triggers, and pacing. OpenClaw top-of-hour jobs need an explicit exact-timing setting (`staggerMs: 0`) because its implicit staggering is not reproduced. Source delivery destinations and model/tool settings are not enabled automatically. Warnings identify unsupported or unmapped features; their definitions remain in the source installation. OpenClaw supports these broader schedule types natively, as documented in its [schedule guide](https://docs.openclaw.ai/automation/cron-jobs/schedules).
|
|
59
|
+
|
|
60
|
+
## Script schedules
|
|
61
|
+
|
|
62
|
+
Selecting a Hermes script schedule also selects its script bundle. Python, Node.js, Bash and PowerShell scripts are supported. The preview lists locally resolved helper modules and referenced JSON state/rule files. They are copied into `<ROOKERY_HOME>/imported-scripts/`; credential-like JSON sidecars are excluded. Script files themselves can contain embedded credentials, so review the code before importing. Separate authentication stores, installed interpreters, third-party packages and dynamically located dependencies are not installed or copied automatically.
|
|
63
|
+
|
|
64
|
+
Imported scripts remain paused with chat-only permission. Open their detail page in **Schedules**, review the source and its dependencies, explicitly grant **Full access**, then enable or run the job. Script execution is a local process with filesystem/network access, not a sandbox. Rookery uses an interpreter argument array, a two-minute script timeout, bounded output and process-tree cancellation. It does not forward provider/gateway secrets from its environment.
|
|
65
|
+
|
|
66
|
+
Hermes `no_agent` jobs return script output directly. Other script jobs feed stdout into the assistant with the saved job prompt. Empty script-only output, `wakeAgent: false` control output and the assistant's `[SILENT]` response suppress notifications. Absolute paths inside scripts are preserved and flagged: a script that refers to an old Hermes installation or external authentication files needs those references reviewed before the old installation is removed. Source delivery destinations do not become Rookery gateway settings.
|
|
67
|
+
|
|
68
|
+
## Rookery's portable profile
|
|
69
|
+
|
|
70
|
+
The assistant workspace defaults to `~/.rookery/workspace`. The standard files are `IDENTITY.md`, `SOUL.md`, `USER.md`, `AGENTS.md`, `TOOLS.md`, and `MEMORY.md`. New generated templates can use `{{assistantName}}`, `{{userName}}`, `{{honorific}}`, and `{{formalAddress}}` to follow Settings. Imported identity text remains authoritative about the agent's persona.
|
|
71
|
+
|
|
72
|
+
Rookery loads the profile for assistant turns and exposes Markdown notes through its own MCP profile tools. Existing SQLite memories remain available alongside those files. Project agents keep their separate identities and memory scope. This migration does not add group-chat access: Telegram continues to accept only permitted controllers in private chats. Keep personal knowledge in a private Rookery home.
|
|
73
|
+
|
|
74
|
+
Automatic context includes up to 12,000 characters per standard file, with explicit excerpt notices. Note searches scan up to 16 MiB and label partial results; `read_profile` can read a known file in pages. Retrieval errors are reported without replacing the saved personality or breaking the conversation. Projectless staff use `<ROOKERY_HOME>/agent-workspaces/<agent-id>` so their provider does not automatically load the assistant's private profile.
|
|
75
|
+
|
|
76
|
+
Review the files under **Settings → Identity** after importing. Start a new conversation for the cleanest transition; an old provider conversation can still contain its earlier identity context.
|
|
77
|
+
|
|
78
|
+
## Backups and recovery
|
|
79
|
+
|
|
80
|
+
The importer leaves the source directory unchanged, reports conflicts before applying, and preserves backups when replacing destination files under `<ROOKERY_HOME>/migration-backups/`. Keep the backup/report path printed by the CLI or shown by the UI. Its `manifest.json` identifies selected files, their `targetRoot` and relative `targetPath`, and which originals were backed up. Profile files belong to the assistant workspace; script bundles belong to the Rookery home. If files change between preview and apply, obtain a new preview.
|
|
81
|
+
|
|
82
|
+
To undo an import manually, stop Rookery and use the migration report to identify changed files. Restore replaced files from the backup and remove only files the report identifies as newly created by that import. Preserve later edits separately before restoring. Restart Rookery, review Identity, and remove the imported schedules you no longer want under **Schedules**. There is no automatic rollback command; a migration backup is not a snapshot of the complete Rookery database or provider sessions.
|
|
83
|
+
|
|
84
|
+
## What needs separate setup
|
|
85
|
+
|
|
86
|
+
Chat sessions and native provider thread IDs, conversation databases and search indexes, credentials, API keys, channel pairing, approvals, hooks, plugins, executable skills, external memory services, and model/provider settings are not automatically converted. Configure Rookery's provider login, Gateways, Tools, and Skills separately. Markdown cannot grant permissions or reproduce an unavailable source tool.
|
|
87
|
+
|
|
88
|
+
Hermes stores searchable conversation history in `state.db`; current OpenClaw stores per-agent runtime data in `agents/<id>/agent/openclaw-agent.sqlite`, with older session directories retained as legacy artifacts. Importing Markdown does not import either conversation store. External memory providers may also hold knowledge that is absent from local Markdown. [Hermes memory and sessions](https://hermes-agent.nousresearch.com/docs/user-guide/features/memory), [OpenClaw state locations](https://docs.openclaw.ai/concepts/agent-workspace).
|
package/docs/updates.md
ADDED
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
# Updates and releases
|
|
2
|
+
|
|
3
|
+
Rookery is distributed as the npm package [`rookery-agent`](https://www.npmjs.com/package/rookery-agent). An installation updates itself from that package; a release is published by pushing a version tag.
|
|
4
|
+
|
|
5
|
+
## For people running Rookery
|
|
6
|
+
|
|
7
|
+
### Settings → Updates
|
|
8
|
+
|
|
9
|
+
The page shows the installed version, the newest one on the chosen channel, and a link to its release notes. **Check now** asks the registry immediately; **Install** updates and restarts.
|
|
10
|
+
|
|
11
|
+
| Setting | Values | Meaning |
|
|
12
|
+
|---|---|---|
|
|
13
|
+
| Updates | *Off* | Never looks for new versions. |
|
|
14
|
+
| | *Tell me* (default) | Looks every six hours (first check one minute after start) and shows what it found. You decide when to install. |
|
|
15
|
+
| | *Install automatically* | Also installs, but only while nothing is running: no conversation answering, no agent run or task, no schedule, no open terminal. While something runs, it looks again every five minutes. A version whose update already failed is never retried automatically. |
|
|
16
|
+
| Channel | *Stable releases* | Follows the npm dist-tag `latest`. |
|
|
17
|
+
| | *Pre-releases* | Follows `next`: versions such as `0.3.0-beta.1`, published before the stable release. |
|
|
18
|
+
|
|
19
|
+
Both are stored in `~/.rookery/config.json` as `updates.mode` (`off`, `notify`, `auto`) and `updates.channel` (`latest`, `next`).
|
|
20
|
+
|
|
21
|
+
Installing while work is running asks first and stops that work: the server restarts. The page waits for the new version and reloads by itself.
|
|
22
|
+
|
|
23
|
+
### Terminal
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
rookery update --check # installed and newest version, nothing else
|
|
27
|
+
rookery update # install the newest version on your channel
|
|
28
|
+
rookery update --force # install even while work is running
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
With a server running, the command asks that server to update, exactly like the button. Without one, the update runs in the terminal and leaves the server stopped; start it again with `rookery start`.
|
|
32
|
+
|
|
33
|
+
### What an update does
|
|
34
|
+
|
|
35
|
+
The server cannot replace its own files while it runs (on Windows, loaded native modules are locked). It therefore hands the work to a separate updater process and exits:
|
|
36
|
+
|
|
37
|
+
1. The server writes `~/.rookery/run/update-plan.json`, copies `scripts/updater.mjs` to `~/.rookery/run/updater.mjs`, starts it detached, and shuts down cleanly.
|
|
38
|
+
2. The updater waits for the old server process to exit (at most 90 seconds, then it ends it).
|
|
39
|
+
3. It copies the database (`rookery.db` with its `-wal`/`-shm` files) to `~/.rookery/backups/update-<old version>-<time>/`.
|
|
40
|
+
4. It runs `npm install --global --ignore-scripts rookery-agent@<version>` into the same prefix the current installation lives in. A failed attempt is retried twice.
|
|
41
|
+
5. It starts the new server (`rookery start`, or `systemctl --user start rookery.service` when Rookery runs as a systemd user service) and waits up to a minute for `/api/health` to answer with the new version.
|
|
42
|
+
6. If installing or starting fails, it rolls back: stops what came up, restores the database backup, reinstalls the previous version, and starts that.
|
|
43
|
+
|
|
44
|
+
The outcome is written to `~/.rookery/run/update-status.json`; Settings → Updates shows a failed update and its reason. Every step is logged to `~/.rookery/logs/update.log`. Backups are not deleted automatically.
|
|
45
|
+
|
|
46
|
+
Database migrations only run forward, which is why the backup is taken before every update and restored on rollback. A newer database is refused by an older Rookery.
|
|
47
|
+
|
|
48
|
+
### When Rookery cannot update itself
|
|
49
|
+
|
|
50
|
+
- **Source checkout** (you cloned the repository): update with `git pull`, `npm install`, and `npm run build`. The page says so instead of offering Install.
|
|
51
|
+
- **Not a global npm installation** (a local tarball unpacked somewhere, an `npx` cache): reinstall with `npm install -g --ignore-scripts rookery-agent`.
|
|
52
|
+
- **Rookery 0.1.0** predates the updater. Update once by hand, then restart:
|
|
53
|
+
```bash
|
|
54
|
+
npm install -g --ignore-scripts rookery-agent@latest
|
|
55
|
+
```
|
|
56
|
+
On Linux installations made by the installer, add `--prefix "$HOME/.local"`.
|
|
57
|
+
|
|
58
|
+
### Troubleshooting
|
|
59
|
+
|
|
60
|
+
- **The page says Rookery did not come back.** Look at `~/.rookery/logs/update.log` and `~/.rookery/server.log`, then run `rookery start`.
|
|
61
|
+
- **npm reported a busy or locked file (Windows).** Another process still held a file of the old installation, often a terminal left over from an agent run. Close it and run `rookery update` again.
|
|
62
|
+
- **Restoring data by hand.** Stop Rookery, copy the files from the newest `~/.rookery/backups/update-*` folder back to `~/.rookery/`, and delete `rookery.db-wal`/`rookery.db-shm` files that the backup does not contain. Then install the matching version: `npm install -g --ignore-scripts rookery-agent@<old version>`.
|
|
63
|
+
|
|
64
|
+
## Installers
|
|
65
|
+
|
|
66
|
+
`scripts/install.ps1` (Windows) and `scripts/install.sh` (Linux) install the released package from npm; nothing is built on the user's machine.
|
|
67
|
+
|
|
68
|
+
| | Windows | Linux |
|
|
69
|
+
|---|---|---|
|
|
70
|
+
| Pin a version or dist-tag | `$env:ROOKERY_VERSION = '0.2.0'` | `ROOKERY_VERSION=0.2.0` |
|
|
71
|
+
| Build `main` instead of a release | `-FromSource` | `ROOKERY_FROM_SOURCE=1` |
|
|
72
|
+
| Install location | npm's global prefix | `~/.local` |
|
|
73
|
+
|
|
74
|
+
The installers are fetched from the `main` branch, so a change to them is live for new installations the moment it is pushed.
|
|
75
|
+
|
|
76
|
+
## For maintainers: releasing
|
|
77
|
+
|
|
78
|
+
### One-time setup
|
|
79
|
+
|
|
80
|
+
On npmjs.com, open the `rookery-agent` package → **Settings** → **Trusted Publisher** and add GitHub Actions with repository `jonax1337/rookery-agent` and workflow `release.yml`. The workflow then publishes with a short-lived OIDC token and signed provenance; no npm token is stored anywhere.
|
|
81
|
+
|
|
82
|
+
### Publishing a release
|
|
83
|
+
|
|
84
|
+
```bash
|
|
85
|
+
npm version 0.2.0 --workspaces --include-workspace-root --no-git-tag-version
|
|
86
|
+
git commit -am "release: 0.2.0"
|
|
87
|
+
git tag -a v0.2.0 -m v0.2.0
|
|
88
|
+
git push --follow-tags
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
`.github/workflows/release.yml` runs on every `v*` tag. It checks that the tag matches `package.json`, runs `npm ci`, `npm run build`, and `npm test`, packs the standalone package with `scripts/package.mjs`, publishes it, and creates the GitHub release with generated notes. A tag with a suffix (`v0.3.0-beta.1`) is published to the `next` dist-tag and marked as a pre-release; everything else goes to `latest`.
|
|
92
|
+
|
|
93
|
+
One version covers the whole release: `scripts/package.mjs` stamps the root version into every bundled workspace package, and the server reports the root `package.json` version, which the updater compares after a restart.
|
|
94
|
+
|
|
95
|
+
### Testing an update locally
|
|
96
|
+
|
|
97
|
+
Do not test against a real installation. The update code reads `ROOKERY_NPM_REGISTRY`, so a throwaway registry and a separate home work end to end:
|
|
98
|
+
|
|
99
|
+
1. Build (`npm run build`), then pack two or more versions: set the root `version`, run `node scripts/package.mjs`, and `npm pack ./dist/npm`. To test a rollback, replace `dist/npm/packages/server/dist/main.js` with a file that throws before packing.
|
|
100
|
+
2. Serve them from a small local registry that answers `/rookery-agent` (packument), `/rookery-agent/latest`, and the tarball URLs, and proxies every other package to `registry.npmjs.org`.
|
|
101
|
+
3. Install the older version into a temporary prefix with `npm install -g --prefix <temp> --registry <local> rookery-agent@<old>`, give it its own `ROOKERY_HOME` whose `config.json` sets another `port`, and start it with `ROOKERY_NPM_REGISTRY=<local>`.
|
|
102
|
+
4. `POST /api/updates/check`, then `POST /api/updates/install` with a JSON body `{}`, and watch `logs/update.log` in the temporary home.
|
|
103
|
+
|
|
104
|
+
The unit tests are in `packages/server/test/updates.test.js`; the installer smoke test is `scripts/install-linux.test.sh`.
|
|
105
|
+
|
|
106
|
+
## HTTP API
|
|
107
|
+
|
|
108
|
+
| Route | |
|
|
109
|
+
|---|---|
|
|
110
|
+
| `GET /api/updates` | Current status: installed and newest version, whether this installation can update itself (and why not), what is running, the last update's outcome. |
|
|
111
|
+
| `POST /api/updates/check` | Ask the registry now; returns the status. |
|
|
112
|
+
| `POST /api/updates/install` | Body `{ "force": boolean }`. Answers `202 { from, to }` and shuts down shortly after; `409` when nothing is newer or work is running without `force`, `400` when this installation cannot update itself. |
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rookery-agent",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Rookery - a personal AI assistant powered by your existing Claude Code and
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "Rookery - a personal AI assistant powered by your existing Claude Code and ChatGPT subscriptions. No API keys.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"engines": {
|
|
@@ -12,6 +12,9 @@
|
|
|
12
12
|
"url": "git+https://github.com/jonax1337/rookery-agent.git"
|
|
13
13
|
},
|
|
14
14
|
"homepage": "https://github.com/jonax1337/rookery-agent#readme",
|
|
15
|
+
"bugs": {
|
|
16
|
+
"url": "https://github.com/jonax1337/rookery-agent/issues"
|
|
17
|
+
},
|
|
15
18
|
"bin": {
|
|
16
19
|
"rookery": "scripts/rookery.mjs",
|
|
17
20
|
"rk": "scripts/rookery.mjs"
|
|
@@ -20,9 +23,12 @@
|
|
|
20
23
|
"packages/*/dist",
|
|
21
24
|
"packages/*/package.json",
|
|
22
25
|
"scripts/rookery.mjs",
|
|
23
|
-
"
|
|
26
|
+
"scripts/updater.mjs",
|
|
27
|
+
"docs/migration.md",
|
|
28
|
+
"docs/updates.md"
|
|
24
29
|
],
|
|
25
30
|
"dependencies": {
|
|
31
|
+
"@lydell/node-pty": "1.2.0-beta.15",
|
|
26
32
|
"@playwright/mcp": "^0.0.80",
|
|
27
33
|
"@zavora-ai/computer-use-mcp": "^7.1.0",
|
|
28
34
|
"zod": "^3.24.1",
|
|
@@ -30,7 +36,9 @@
|
|
|
30
36
|
"@fastify/static": "^10.1.3",
|
|
31
37
|
"@fastify/websocket": "^11.0.2",
|
|
32
38
|
"fastify": "^5.2.1",
|
|
39
|
+
"imapflow": "^2.0.5",
|
|
33
40
|
"msedge-tts": "^2.0.7",
|
|
41
|
+
"@inkjs/ui": "^2.0.0",
|
|
34
42
|
"chalk": "^5.3.0",
|
|
35
43
|
"commander": "^12.1.0",
|
|
36
44
|
"ink": "^7.1.1",
|
|
@@ -139,12 +139,12 @@ function format(value) {
|
|
|
139
139
|
if (value === undefined || value === null)
|
|
140
140
|
return theme.dim('(unset)');
|
|
141
141
|
if (typeof value === 'string')
|
|
142
|
-
return value === '' ? theme.dim('(empty)') : theme.
|
|
142
|
+
return value === '' ? theme.dim('(empty)') : theme.frost(value);
|
|
143
143
|
if (typeof value === 'boolean')
|
|
144
144
|
return value ? theme.green('true') : theme.yellow('false');
|
|
145
145
|
if (typeof value === 'number')
|
|
146
146
|
return theme.cyan(String(value));
|
|
147
|
-
return theme.
|
|
147
|
+
return theme.frost(JSON.stringify(value));
|
|
148
148
|
}
|
|
149
149
|
function unknownKey(key, config) {
|
|
150
150
|
const known = flatten(config)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doctor.d.ts","sourceRoot":"","sources":["../../src/commands/doctor.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;
|
|
1
|
+
{"version":3,"file":"doctor.d.ts","sourceRoot":"","sources":["../../src/commands/doctor.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAyBH,MAAM,WAAW,aAAa;IAC5B,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,wBAAsB,aAAa,CAAC,OAAO,GAAE,aAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,CAyGhF"}
|
|
@@ -16,10 +16,14 @@ const LOGIN_HINT = {
|
|
|
16
16
|
claude: 'run `claude`, then type `/login`',
|
|
17
17
|
codex: 'run `codex login`',
|
|
18
18
|
};
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
/**
|
|
20
|
+
* The command that gets a missing binary installed.
|
|
21
|
+
*
|
|
22
|
+
* One entry, because every provider runs on the same binary - the id only
|
|
23
|
+
* says what that process is pointed at. A provider that reports its binary
|
|
24
|
+
* missing is missing this one.
|
|
25
|
+
*/
|
|
26
|
+
const INSTALL_HINT = 'npm i -g @anthropic-ai/claude-code';
|
|
23
27
|
export async function doctorCommand(options = {}) {
|
|
24
28
|
return withAssistant(async (assistant) => {
|
|
25
29
|
const statuses = await assistant.providers.statuses(true);
|
|
@@ -84,8 +88,8 @@ export async function doctorCommand(options = {}) {
|
|
|
84
88
|
for (const status of statuses) {
|
|
85
89
|
const fix = status.available
|
|
86
90
|
? LOGIN_HINT[status.id] ?? 'log in to ' + status.id
|
|
87
|
-
: 'install it: ' +
|
|
88
|
-
out.write(' ' + theme.
|
|
91
|
+
: 'install it: ' + INSTALL_HINT;
|
|
92
|
+
out.write(' ' + theme.accent(status.id) + ' ' + fix + '\n');
|
|
89
93
|
}
|
|
90
94
|
out.write('\n');
|
|
91
95
|
return 1;
|
|
@@ -106,16 +110,16 @@ function providerBlock(status) {
|
|
|
106
110
|
: theme.yellow('logged out')
|
|
107
111
|
: theme.red('not installed');
|
|
108
112
|
const lines = [];
|
|
109
|
-
lines.push(' ' + mark + ' ' + theme.
|
|
113
|
+
lines.push(' ' + mark + ' ' + theme.accentBold(status.id.padEnd(8)) + state);
|
|
110
114
|
lines.push(' ' + keyValue('binary', status.binary || theme.dim('not found'), 14));
|
|
111
115
|
lines.push(' ' + keyValue('version', status.version ?? theme.dim('unknown'), 14));
|
|
112
116
|
if (status.detail)
|
|
113
117
|
lines.push(' ' + keyValue('detail', theme.dim(status.detail), 14));
|
|
114
118
|
if (status.available && !status.authenticated) {
|
|
115
|
-
lines.push(' ' + keyValue('fix', theme.
|
|
119
|
+
lines.push(' ' + keyValue('fix', theme.accent(LOGIN_HINT[status.id] ?? 'log in'), 14));
|
|
116
120
|
}
|
|
117
121
|
if (!status.available) {
|
|
118
|
-
lines.push(' ' + keyValue('fix', theme.
|
|
122
|
+
lines.push(' ' + keyValue('fix', theme.accent(INSTALL_HINT), 14));
|
|
119
123
|
}
|
|
120
124
|
return lines.join('\n') + '\n';
|
|
121
125
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doctor.js","sourceRoot":"","sources":["../../src/commands/doctor.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE7C,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,6DAA6D;AAC7D,MAAM,UAAU,GAA2B;IACzC,MAAM,EAAE,kCAAkC;IAC1C,KAAK,EAAE,mBAAmB;CAC3B,CAAC;AAEF,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"doctor.js","sourceRoot":"","sources":["../../src/comm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AC,MAAM,CAAC,SAAS,EAAE,CAAC;QACtB,KAAK,CAAC,IAAI,CAAC,MAAM,GAAG,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,YAAY,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC;IACvE,CAAC;IACD,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;AACjC,CAAC;AAED,SAAS,QAAQ,CAAC,IAAY;IAC5B,IAAI,CAAC;QACH,OAAO,QAAQ,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC;IAC7B,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,CAAC,CAAC;IACX,CAAC;AACH,CAAC;AAED,SAAS,WAAW,CAAC,KAAa;IAChC,IAAI,KAAK,GAAG,IAAI;QAAE,OAAO,KAAK,GAAG,IAAI,CAAC;IACtC,IAAI,KAAK,GAAG,IAAI,GAAG,IAAI;QAAE,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC;IAClE,OAAO,CAAC,KAAK,GAAG,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC;AACpD,CAAC"}
|
|
@@ -121,7 +121,7 @@ export async function memoryStatsCommand(options = {}) {
|
|
|
121
121
|
process.stdout.write('\n' + heading('Top by importance') + '\n');
|
|
122
122
|
for (const memory of recent) {
|
|
123
123
|
process.stdout.write(theme.dim(memory.importance.toFixed(2) + ' ') +
|
|
124
|
-
theme.
|
|
124
|
+
theme.frost(shorten(memory.content, 74)) +
|
|
125
125
|
theme.dim(' ' + relativeTime(memory.updatedAt)) +
|
|
126
126
|
'\n');
|
|
127
127
|
}
|
|
@@ -49,9 +49,9 @@ export interface AssignmentsOptions {
|
|
|
49
49
|
limit?: string;
|
|
50
50
|
json?: boolean;
|
|
51
51
|
}
|
|
52
|
-
/** `rookery org assignments` - what has
|
|
52
|
+
/** `rookery org assignments` - what has run lately. */
|
|
53
53
|
export declare function orgAssignmentsCommand(options?: AssignmentsOptions): Promise<number>;
|
|
54
|
-
/** `rookery org assignment <id>` -
|
|
54
|
+
/** `rookery org assignment <id>` - one run in full, report included. */
|
|
55
55
|
export declare function orgAssignmentCommand(idOrPrefix: string): Promise<number>;
|
|
56
56
|
export interface MessagesOptions {
|
|
57
57
|
limit?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"org.d.ts","sourceRoot":"","sources":["../../src/commands/org.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAIH,OAAO,KAAK,EAAqB,SAAS,EAAgB,MAAM,eAAe,CAAC;AAgBhF,MAAM,WAAW,cAAc;IAC7B,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,8DAA8D;AAC9D,wBAAsB,kBAAkB,CAAC,OAAO,GAAE,cAAmB,GAAG,OAAO,CAAC,MAAM,CAAC,CAiBtF;AAID,6CAA6C;AAC7C,wBAAsB,gBAAgB,CAAC,OAAO,GAAE,cAAmB,GAAG,OAAO,CAAC,MAAM,CAAC,CAoCpF;AAED,MAAM,WAAW,WAAW;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,4DAA4D;AAC5D,wBAAsB,cAAc,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAyC1E;AAID,yDAAyD;AACzD,wBAAsB,eAAe,CAAC,O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