Commit Graph

116 Commits

Author SHA1 Message Date
Ollie Agent 24c78e65b8 Rename 'Custom agents' to 'Agents' 2026-08-05 19:25:32 +02:00
Ollie Agent 714d56e021 Merge Custom tools into Tools row 2026-08-05 19:24:25 +02:00
Ollie Agent dcb49a6ccf Add 'Tools' row above Domain skills 2026-08-05 19:23:49 +02:00
Ollie Agent 2e14d2e93b Add o complete and o route subcommands, update table 2026-08-05 19:20:52 +02:00
Ollie Agent 58cedd902b Replace remaining ollie-9p references with o CLI 2026-08-05 19:19:32 +02:00
Ollie Agent 6f64e44fe0 Fix complete/route back to ollie-9p rdwr (no o subcommand yet) 2026-08-05 19:18:42 +02:00
Ollie Agent 83da0550b2 Reorder 'What you can do': CLI first, use o command, remove multi-agent 2026-08-05 19:18:20 +02:00
Ollie Agent 5bcaa005e4 Reorder 'What you can do' table in logical dependency order 2026-08-05 19:16:22 +02:00
Ollie Agent a63328ad37 Fix 'Run an agent' to describe session+agent creation 2026-08-05 19:15:29 +02:00
Ollie Agent 8001aa8c6a Strip tool-specific entries from 'What you can do' 2026-08-05 19:14:15 +02:00
Ollie Agent 0b5e0b3c3e Update 'What you can do' with current capabilities 2026-08-05 19:13:29 +02:00
Ollie Agent 6e4a14de2d Move 'What you can do' below Configuration 2026-08-05 19:11:22 +02:00
Ollie Agent 0b9d5a9124 Remove tool registry section from README entirely 2026-08-05 19:10:36 +02:00
Ollie Agent 36822717a1 Move 'Tool registry: zero built-in tools' to doc/resources/tool-registry.md 2026-08-05 19:10:08 +02:00
Ollie Agent 1e0e532183 Fix all doc/*.md links: WRITING_TOOLS.md → resources/writing-tools.md 2026-08-05 19:09:16 +02:00
Ollie Agent 1a5ce7ab05 Fix link to doc/usage.md (was uppercase) 2026-08-05 19:08:15 +02:00
Ollie Agent 24515d2946 Rename 'Getting started' to 'Building' 2026-08-05 19:07:54 +02:00
Ollie Agent 86e09b1cd2 Remove '9P: everything is a file' section from README, link to doc/resources/9p.md instead 2026-08-05 19:07:18 +02:00
Levi Neely 361a68bc3a docs: remove FUSE mount references, use ollie-9p CLI
- Update README examples to use ollie-9p instead of /mnt/ollie paths
- Remove OLLIE mount path from env.sample (no longer needed)
- Update network transparency section for direct 9P access
2026-08-05 08:25:02 +02:00
Ollie Agent 491f259a2b README: strip all D-Bus references, 9P is the only surface 2026-08-04 20:18:22 +02:00
Ollie Agent a0ec7130a7 doc/ellie.md: consolidate Emacs docs, update references 2026-08-04 20:00:38 +02:00
Ollie Agent 3f69427084 docs: standardize on {sname} and {aname} placeholder syntax 2026-08-04 19:29:00 +02:00
Ollie Agent 0f8cfd0c14 docs: replace agent/0 with agent/{aname} in path templates 2026-08-04 19:26:22 +02:00
Ollie Agent 6ceebe7ee1 README: add path resolution rules to o CLI section 2026-08-04 19:23:58 +02:00
Ollie Agent d314c7d4ee docs: update olliesrv -mount → ollie-9p mount 2026-08-04 19:03:48 +02:00
Ollie Agent c2b1e130e9 README: document o CLI and o tui 2026-08-04 18:59:48 +02:00
Levi Neely 69fc98099c docs: update for o CLI changes and remove mount/watchdog references
- Remove mount/ from repo layout (no longer exists)
- Remove ollie-watchdog references (removed)
- Update o CLI docs: explicit context required, no auto-select
- Add path resolution section explaining root/session/agent paths
- Add write and readloop commands to table
- Fix o tui to show readloop statewait (not read)
2026-08-04 17:04:38 +02:00
Ollie Agent 60fafd5381 remove tools/builtin/ — zero built-in tools, all tools are external scripts
With the zero-tools transition complete, the tools/builtin/ package
served no purpose — Builtins() returned nil. Removed:

- tools/builtin/builtins.go and the directory
- builtins field, WithBuiltins, Dispatch from toolsrv.Server
- Handler type from toolsrv (only used by builtins)
- OnPreDispatch/WithOnPreDispatch (dead code)
- Strict field and WithStrict (dead code, never read)
- CallTool simplified — no fallback to Dispatch
- builtin import and WithBuiltins/WithStrict calls from ollie-remote
- tools/builtin from justfile build/test targets

Updated AGENTS.md, ARCHITECTURE.md, README.md, EVOLUTION.md
2026-08-03 00:55:22 +02:00
Ollie Agent 1e126ce76a Replace imperative 9P filesystem with declarative EDSL
The old fs/session/ package (14 files) and cmd/olliesrv/elevate_tree.go
(imperative FileTree implementations) are gone. Replaced by a single
declarative EDSL in fs/spec.go that declares the entire 9P namespace.

cmd/olliesrv/server.go simplified from 1430 to 825 lines:
- Deleted pathType() (110 lines) — tree.Stat() now handles all path resolution
- Deleted isSessionFile(), dirMode(), filePerm() — all from tree's info
- Deleted fsRoute/routes/route/routeDir — single rootTree, no route table
- Deleted elevateTree — EDSL handles /elevate/ in spec.go
- Deleted handleWrite(), readDNS(), helpPath() — dead code
- Deleted all 5 per-fid result fields — EDSL Request handlers manage state
- Deleted all path-based intercepts in read()/write() — entry.RequestRespMode()
- Deleted all path-depth hacks in makeStat() — custom Stat() closures in EDSL
- Deleted all content-length compute logic — info.Size() from tree
- Removed imports: agent, backend, elevate, paths, toolsrv, json

New fs/ package:
- spec.go — single EDSL declaration of the entire namespace
- builder.go — BuildTree() validates and compiles spec into *Tree
- tree.go — configurable FileTree implementation
- fsnode.go — Dir(), Leaf(), TemplateDir(), NodeOption constructors
- agentfiles.go / sessionfiles.go / rootfiles.go / elevatefiles.go
  — handler implementations wired by the EDSL
- lifecycle.go — Create, Kill, Rename, Shutdown, InterruptAll
- persist.go, procfiles.go
- edsl.md — documentation of the EDSL
2026-08-02 15:22:17 +02:00
Ollie Agent 012022ea21 README: add grep filter tip for text-only 9p frontends 2026-08-01 16:56:07 +02:00
Ollie Agent 5c27a948bd docs: remove stale s/ u/ x/ script namespace references 2026-07-31 07:31:58 +02:00
Ollie Agent 93225704f8 docs: document sudo and tool variants 2026-07-31 07:20:52 +02:00
Ollie Agent 3ea6bc3865 docs: declare the declarative tool registration paradigm 2026-07-30 23:50:04 +02:00
Ollie Agent 9f947e93ec docs: update repo layout for tools/builtin, tools/lsp, data/ 2026-07-30 22:53:48 +02:00
Ollie Agent 63f602fb07 README: fix custom tools description 2026-07-30 21:52:58 +02:00
Ollie Agent a632f630ce README: update for current architecture
- Remove terminal/s/sh/bfg from diagram and frontends
- Update repo layout table (data/, mount/, skills)
- Fix env var descriptions (u/complete → code completion)
- Update intro text
2026-07-30 21:52:25 +02:00
Ollie Agent 69b2c2cc40 tool metadata: replace header comment parsing with .meta sidecar files
The tool registry now reads metadata exclusively from JSON .meta sidecar
files alongside each tool executable. Header comment parsing (ollie:prompt,
ollie:tier, ollie:parallel, args_json) is removed entirely.

- Add toolsrv/meta.go: MetaFile struct, LoadMetaFile, ToolInfoFromMeta
- Rewrite discover.go: scans .meta files only
- Rewrite schema.go: ParseToolInfo reads .meta only
- Rewrite tier.go: tier/readOnly from .meta only
- Generate .meta for all 35 tools
- Update all docs: README, AGENTS.md, ARCHITECTURE, CORE, USAGE, WRITING_TOOLS
2026-07-30 21:48:42 +02:00
Ollie Agent d9871e686a docs: replace s/{sh,b,bfg,bbg} references with generate/complete/route
These scripts were removed. Update all documentation to reference the
current alternatives: ollie-9p rdwr generate, ollie-9p rdwr complete,
and ollie-9p rdwr route.
2026-07-30 21:30:18 +02:00
Ollie Agent ea3db9eb08 remove httpgw and webui; update AGENTS.md to reflect current structure
- Remove cmd/ollie-httpgw/ directory and webui/ submodule
- Update justfile: remove httpgw/webui build targets
- Update README.md: remove httpgw/webui references
- Update doc/ARCHITECTURE.md: remove httpgw/webui references
- Update doc/EVOLUTION.md: remove httpgw/webui references
- Update doc/USAGE.md: remove httpgw/webui sections
- Update AGENTS.md: fix repo layout, build targets, testing, architecture
  paths, key files, adding tools/prompts, submodule workflow
2026-07-30 20:19:32 +02:00
Ollie Agent dd5701b1bb readme: bring up to date after Great Flattening
- Frame olliesrv as single binary with two surfaces (9P + D-Bus)
- Fix repository layout table: no core/, 9p/, remote/ submodules
- Fix all namespace paths: session/{id}/agent/{aid}/
- Fix architecture diagram labels (agent.Agent, toolsrv.Server)
- Fix httpgw description (HTTP→9P, not D-Bus)
- Replace verbose features list with concise capability table
- Remove outdated development/pull.sh sections
2026-07-30 20:02:14 +02:00
Levi Neely fdd39b7499 docs: update tool registry references to reflect dynamic discovery 2026-07-30 10:08:13 +02:00
Levi Neely c3cdebad00 readme: restore architecture diagram (httpgw→D-Bus corrected) 2026-07-30 09:01:02 +02:00
Levi Neely 3d1645183f readme: fix httpgw description (HTTP-to-D-Bus, not 9P) 2026-07-30 08:59:56 +02:00
Levi Neely 8119c3ced5 revert readme diagram (wrong target), update core submodule 2026-07-30 08:59:35 +02:00
Levi Neely e144c83ad3 readme: add core architecture diagram 2026-07-30 08:56:41 +02:00
Levi Neely 106dc310e6 docs: s/ → session/ namespace rename throughout 2026-07-29 20:34:51 +02:00
Ollie Agent 481a913ed7 note that both shell AND promoted tools are sandboxed 2026-07-29 00:36:24 +02:00
Ollie Agent f09e8b5f32 tool registry: lazy-loading tool promotion, README docs 2026-07-28 14:58:50 +02:00
Ollie Agent fd27166c12 ollie: remove daemon subcommands, centralize service file management
olliesrv no longer has start/fgstart/stop/status subcommands — it runs
in the foreground and relies on the supervisor (systemd, openrc, or
xdg-autostart) for lifecycle management. This simplifies the binary
and makes the single-process model explicit.

Changes:
- All docs: olliesrv start → olliesrv
- justfile: add install-services target, used by all install recipes;
  installs systemd user unit, openrc init script, xdg autostart entry;
  remove inline autostart installs from individual targets
- systemd unit: ExecStart drops "start" subcommand
- openrc init script: deleted (was for daemonized start; now managed
  via install-services)
- xdg-autostart: new desktop entry (moved from 9p/ submodule),
  Exec=olliesrv (no longer shells out to start + remount)
- contrib/ollie-remount: add debug echo for namespace/socket
- 9p submodule: remove daemon subcommands from Go code;
  delete old desktop file
- el submodule: update README for foreground-only olliesrv
2026-07-25 18:20:26 +02:00
Levi Neely 6ed1d098ab fix CreateSession: add remote parameter to D-Bus method
The D-Bus adapter only exposed 4 parameters (cwd, backend, model, agent)
but the session manager supports 6 (+ system_prompt, remote). The remote
had already added system_prompt as the 5th; this adds remote as the 6th.

All frontends (KDE plasmoid, Kate, tray, dolphin, webui, httpgw) and
tool scripts now pass the correct 6 arguments.
2026-07-24 11:58:34 +02:00