Commit Graph

17 Commits

Author SHA1 Message Date
Ollie Agent 72db6d900d fs: namespace cleanup — merge and remove dead files
- fifo.in + fifo.out → single fifo (write enqueues, read dequeues)
- cost + usage + ctxsz → single stats (key=value lines)
- Remove connection (no consumers, heartbeat handles it)
- Remove dead prevPrompt field and write (prompt.prev gone from spec)
- Clean AGENT_FILES: remove state, context, tail (all already absent
  from spec, were only in the tab-completion list)
2026-08-09 01:57:41 +02:00
Ollie Agent 6fe9c20b54 ellie: point preservation, stale-stream guard, block-headers, keybinding polish, and doc screenshot
ellie.el:
- Preserve tree selection and cursor across tree rerenders.
- Keep chat cursor stationary; only update when already at end.
- Guard chat-filter against stale output from replaced ollie-9p read processes.
- Render [[[name]]] markers as bold underlined block headers; suppress [[[end]]].
- Refresh session/idx and start timer on startup so tree displays immediately.
- Fix Active/Inactive header tuple layout (was missing 'nil' slot).
- Bind TAB for tree expand/collapse, C-c C-SPC and C-c C-p for prompt input,
  SPC in chat for prompt, q in chat for quit (stops stream + buries buffer).
- RET on an agent now opens the chat buffer.
- Prompt input window selects and focuses itself after opening.

doc/ellie.md:
- Embed ellie screenshot (img/ellie.png) centered at 75% width above Session tree.
2026-08-04 20:59:23 +02:00
Ollie Agent 7888627e90 ellie: fix tree data lookup and stream callback warning 2026-08-04 20:37:56 +02:00
Ollie Agent 54bc11ae6d ellie tree: RET expands/collapses sessions too, fix indent 2026-08-04 20:35:25 +02:00
Ollie Agent 0c35567de0 ellie tree: refactor build data, single session/idx call 2026-08-04 20:33:58 +02:00
Ollie Agent 05011e053d ellie tree: avoid re-initializing mode on render 2026-08-04 20:32:56 +02:00
Ollie Agent 200c7546cb ellie tree: agent key should be agent ID not session ID 2026-08-04 20:32:08 +02:00
Ollie Agent fc955e75de ellie tree: expand all by default, fix agent key 2026-08-04 20:31:52 +02:00
Ollie Agent 6a3336038d ellie tree: fix inactive agent rendering bug, default Active expanded 2026-08-04 20:30:13 +02:00
Ollie Agent 1b8f7eadb3 ellie: replace chat polling with blocking ollie-9p read stream 2026-08-04 20:27:52 +02:00
Ollie Agent a0ec7130a7 doc/ellie.md: consolidate Emacs docs, update references 2026-08-04 20:00:38 +02:00
Ollie Agent 32461e84f0 ellie.el: session tree, multi-agent paths, agent creation
- Replace flat session list with collapsible tree (Active/Inactive headers,
  sessions, agents — arbitrary depth)
- Fix path resolution: use session/{sname}/agent/{aname}/ layout
- Read state from state file instead of parsing cfg
- Add ellie-new-agent: write to session/{sname}/agent/new
- Add ellie-kill-agent for per-agent kill
- Persist agent ID in last-session for recall
- Mode-line shows session/agent
- q in chat buffer returns to tree
2026-08-04 19:59:01 +02:00
Ollie Agent d0a3ea2948 ellie README: update for ollie-9p CLI, remove FUSE references 2026-08-03 01:31:41 +02:00
Ollie Agent aeb97621d5 ellie: switch from FUSE file I/O to ollie-9p CLI
ellie.el previously accessed ollie through a FUSE-mounted 9P
filesystem (plain file I/O via insert-file-contents/write-region).
This had several failure modes: stale mounts after suspend/resume,
no error propagation from 9P Rerror, no streaming support.

Now uses the ollie-9p CLI tool which speaks the 9P protocol
directly over the Unix socket. Also removed ellie-dired binding
(C-c C-d) and the ellie-mount-directory customization since
there is no mount point.

The completion subsystem was updated to use ollie-9p rdwr complete
instead of a shell pipeline to a 9P mount path.
2026-08-03 01:30:39 +02:00
Ollie Agent ffe45c4f1f docs: replace s/sh, s/bfg, s/bbg references with generate/complete/route
These scripts have been removed. Update all documentation to reference
the current interfaces: ollie-9p rdwr generate, complete, and route.
2026-07-30 21:31:10 +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 9b6ddb7df1 flatten: absorb submodules into single Go module
- Remove submodules: core, 9p, acme, httpgw, remote, el
- Keep submodules: kde, webui (separate build systems)
- Collapse core/ packages into root: agent/, backend/, detach/, elevate/,
  env/, log/, paths/, sandbox/, session/, skills/, tools/, toolsrv/
- Collapse 9p/ packages: fs/session/, mount/, dbus/, cmd/olliesrv/
- Move binaries: acme/ → cmd/Ollie/, httpgw/ → cmd/ollie-httpgw/,
  remote/ → cmd/ollie-remote/, 9p/cmd/ollie-9p/ → cmd/ollie-9p/
- Move data: agents/, prompts/, tools/, scripts/, skills/ → contrib/
- Move services/ → contrib/services/, experiments/ → doc/experiments/
- Delete .beads/, .claude/, .kiro
- Single go.mod at root (module ollie)
- Fix all import paths, merge fs/ + session/ packages
- Extract dbus/ and elevate/notify.go from 9p server package
- Update justfile for new paths and single-module build
2026-07-30 18:57:51 +02:00