Commit Graph

90 Commits

Author SHA1 Message Date
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
Ollie Agent cca4410b25 docs: update README, help.md with current filesystem, fix D-Bus examples 2026-07-21 14:51:33 +02:00
Ollie Agent e2e1e95fd8 remove dbus submodule, update docs for -no9p mode
olliesrv now supports D-Bus-only operation via -no9p flag,
replacing the need for the standalone ollied daemon (archived).

- Remove dbus/ submodule
- Update README: three-mode table, remove ollied references
- Update doc/ARCHITECTURE.md: remove ollied section and references
2026-07-21 11:44:38 +02:00
Ollie Agent 8929f10aa8 README: expand remote execution section with streaming, persistence, comparison 2026-07-19 21:57:56 +02:00
Ollie Agent e025f2f4ff docs: add ollie-remote to README and AGENTS.md 2026-07-19 18:22:38 +02:00
Ollie Agent 9837602784 README: move Development section up, use pull.sh 2026-07-19 13:39:14 +02:00
Ollie Agent ec5516ae57 README: move Getting started and Configuration to the top 2026-07-19 13:37:49 +02:00
Ollie Agent 7463ec78c6 update docs: replace make/mk references with just 2026-07-19 13:34:29 +02:00
Ollie Agent f4676752d8 readme: fix clone URL to git.lneely.de 2026-07-18 22:42:22 +02:00
Ollie Agent bea543aa28 readme: document HTTP/2 connection pooling 2026-07-18 22:11:01 +02:00
Ollie Agent 5bbaedf396 readme: document -nodbus and -tcp behavior for remote use 2026-07-18 21:43:13 +02:00
Ollie Agent bbc0df859a olliesrv embeds D-Bus adapter; httpgw is D-Bus only
- 9p: embedded D-Bus protocol adapter on org.ollie.SessionManager;
  all frontends (terminal, acme, Emacs, KDE, web) work with olliesrv
- httpgw: removed 9P backend; translates HTTP to D-Bus exclusively
- README: document that olliesrv serves all frontends, ollied is KDE-only
2026-07-18 21:36:35 +02:00
Ollie Agent b7f9171251 doc: add /generate and /route to README features and examples 2026-07-18 17:25:13 +02:00
Ollie Agent bced4c8ef1 route: real model discovery, remove OLLIE_ROUTE_MODEL_FAST/POWER 2026-07-18 17:10:22 +02:00
Ollie Agent 46651b02af remove tier routing system, update docs
Replace OLLIE_TIER_* env vars with OLLIE_ROUTE_* for /route file.
Remove route/cascade/escalate tools and their prompts.
Update README and help.md.
2026-07-18 16:55:56 +02:00
Ollie Agent 682f5d3593 doc: clarify that 9P and D-Bus do not share sessions 2026-07-18 16:18:47 +02:00
Ollie Agent 242503264f doc: add D-Bus section — desktop integration, signals, KDE, activation 2026-07-18 16:17:37 +02:00
Ollie Agent b620ccca4f doc: add Architecture section clarifying 9P/D-Bus dual-backend design 2026-07-18 16:16:22 +02:00
Ollie Agent d0b8f81784 doc: expand README with full feature list and 9P architecture section 2026-07-18 16:13:34 +02:00
Ollie Agent 34db665dca docs: remove tier-based dispatch from feature list 2026-07-17 22:46:56 +02:00
Ollie Agent 3ab26abc94 docs: rewrite feature list from runtime perspective, not 9P surface 2026-07-17 22:46:18 +02:00
Ollie Agent e909a5b94a docs: remove 9P-specific items from root feature list 2026-07-17 22:45:04 +02:00
Ollie Agent c9427dac7b docs: root intro describes the runtime, not the filesystem surface 2026-07-17 22:40:32 +02:00
Ollie Agent 898cc58f51 docs: compress root intro to overview level, move Plan 9 detail to 9p/ 2026-07-17 22:39:52 +02:00
Ollie Agent dda088d0df docs: move 9P-specific content to 9p/, make root README a monorepo overview 2026-07-17 22:38:30 +02:00
Ollie Agent 4eddf55e54 docs: update README and ARCHITECTURE to reflect current state
README:
- Replace cascade/mechanical worker with route/tier-based routing
- Replace plan-first discipline with per-agent 9P principals
- Remove task tracking from tool list
- Add tier-based routing and orchestrator/worker descriptions

ARCHITECTURE:
- Update tool scripts list (remove task_*, add route/escalate/lsp_*)
- Rewrite sub-agents section: fire-and-forget callback protocol
- Add u/cascade, u/escalate to script namespaces
- Add per-agent 9P principals section (FUSE proxy, permission enforcement)
- Mark mcpServers as optional
2026-05-20 09:46:15 +02:00
Ollie Agent a4ce36444b restore all backend tier examples, add to env.sample 2026-05-20 09:32:49 +02:00