mirror of
https://github.com/shinyobjectz/raea.git
synced 2026-12-01 12:44:11 -10:00
17 lines
950 B
Markdown
17 lines
950 B
Markdown
# shell
|
|
|
|
`@raea/shell`: the agent's shell. [just-bash](https://github.com/vercel-labs/just-bash) (Apache-2.0, pinned, used
|
|
unmodified) interprets the bash: pipes, redirections, functions, loops and about 80 text tools, in TypeScript on
|
|
JavaScriptCore. Under it, the filesystem is the project folder and nothing else, and raea's own tools (`raea-render`,
|
|
`raea`, `sqlite3`, `js-exec`, media verbs) are commands that call the engine natively, in process.
|
|
|
|
Every command line is one row in `.raea/actions.jsonl`, with the files it read and wrote and their contents kept by
|
|
hash, so any command can be undone and redone.
|
|
|
|
- `src/`: the shell (`index.ts`), its filesystem (`fs.ts`) and raea's commands (`commands.ts`).
|
|
- [`shell.feature`](shell.feature): the behaviour spec.
|
|
- `conformance/` and `probe/`: tests whose answers must match on the Mac and the iPhone; `tools/upstream.sh` runs
|
|
just-bash's own suite.
|
|
|
|
Status: in use by the raea app's agent.
|