Download this file
| 1 | // The shell's behaviour seam (docs/shell-modules.md § The verbs seam) — the |
| 2 | // shellstate.js idea applied to the core verbs. This registry starts empty; |
| 3 | // shell.js populates it in one Object.assign at boot (function declarations |
| 4 | // hoist, so the assignment can sit right after the imports). Extracted |
| 5 | // modules call verbs.openThread(id) etc. Registration only — no logic lives |
| 6 | // here, nothing is imported here, so there is never an import cycle. When a |
| 7 | // verb's implementation later gets its own module home, the registry entry |
| 8 | // follows it and callers don't churn. |
| 9 | export const verbs = {}; |
| 10 | |