Commit Graph

76 Commits

Author SHA1 Message Date
Levi Neely b410133759 readme: document generate, route, complete endpoints (net/dns pattern) 2026-07-18 22:56:11 +02:00
Levi Neely 120a971a0b readme: use relative URLs 2026-07-18 22:41:34 +02:00
Levi Neely fea481e928 readme: move httpgw docs to httpgw/README.md 2026-07-18 22:39:34 +02:00
Levi Neely da611d3ef2 dbus: add Complete and missing session methods; readme: add -nodbus flag 2026-07-18 22:36:24 +02:00
Levi Neely 8e4c1accaa readme: document root-level endpoints (complete, generate, route, ctl, agents) 2026-07-18 22:25:26 +02:00
Levi Neely 53df31fe7e readme: remove sales pitch, keep facts 2026-07-18 22:13:57 +02:00
Levi Neely 9ae36420ab strip 9P namespace to sessions only
Remove a/, p/, sk/, m/, tr/, tmp/, u/, x/, and per-session t/ from the
9P namespace. These are all files on disk that the runtime reads directly
from ~/.config/ollie/ — serving them through 9P added indirection without
value.

What remains:
- /s/ (live sessions: the dynamic state that doesn't exist on disk)
- /backends, /models, /help (synthetic root files)

This brings olliesrv's scope in line with the D-Bus daemon: session
lifecycle, prompt submission, state observation, and streaming output.
2026-07-17 23:08:29 +02:00
Levi Neely b49bbb099d docs: expand intro with Plan 9 motivation and design philosophy 2026-07-17 22:39:46 +02:00
Levi Neely b23e2ec2dd docs: add Remote Access section (9P mount, HTTP gateway, container) 2026-07-17 22:38:19 +02:00
Levi Neely c075964a1f move t/ into s/{sid}/t/; add allowTools filtering at 9P layer 2026-05-16 23:55:14 +02:00
Logan Neely 88ea073135 olliesrv: add -strict and -yolo flags
-strict: only tool steps allowed, inline code rejected.
-yolo: skip landrun sandbox for execute_code.
2026-05-07 22:27:27 +02:00
Levi Neely 7c113c1db4 docs: update session files list and ctl commands 2026-04-30 09:07:49 +02:00
Levi Neely fb4d76a3aa server, docs: remove batch jobs; rename spec -> cfg
BatchStore removed from server. s/new always creates an interactive
session. Filesystem layout updated: batch dirspec gone, cfg replaces
spec in session dirspec, s/job -> s/b, s/q -> s/bfg, s/sched -> s/bbg.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 08:41:46 +02:00
Levi Neely b432ba987c server: update mode mappings for spec; drop removed session files
spec is 0666; offset/statewait/systemprompt/models/ctxsz/usage are
0444 explicitly. Remove mode cases for state, backend, model, agent,
cwd, params, cwdwait, usagewait, ctxszwait. Update README.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 07:42:58 +02:00
Levi Neely f1a60264e2 docs: document batch job vs interactive session dirspec distinction
s/new routes to BatchStore (one-and-done lifecycle) when the write
contains a \n---\n separator, and to SessionStore (multi-turn) otherwise.
Document both dirspecs separately: batch jobs have spec/state/statewait/
result/usage/ctxsz/log; interactive sessions have the full file set.
Also add missing params file to session dirspec.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 07:14:22 +02:00
Levi Neely c464879c1b docs: update README for s/b/ unification and new filesystem entries
Remove b/ directory (merged into s/ after namespace unification).
Add job/q/sched/cleanup scripts under s/, document tr/ and tmp/
endpoints, fix t/idx entry, update backing stores table, and correct
olliesrv mount subcommand signature.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 07:05:52 +02:00
Levi Neely cb206a7387 docs: update README for refactor (stores, prompts, sandbox) 2026-04-22 10:35:38 +02:00
Levi Neely 2ac8ca8639 remove mcp file from session namespace
- Remove mcp from session file list and read handler
- Remove mcp from ctl command list
- Remove mcp from server.go mode switch
- Update README: remove mcp from file table and ctl docs
2026-04-21 13:25:49 +02:00
Levi Neely b9509a0961 batch: rename status→state, add statewait blocking read
- Rename batchJob.status → .state; update all references
- Add done chan struct{} to batchJob, closed on terminal state
- Add statewait file to b/<id>/: blocks until state leaves "running"
- Add CurrentWaitValue/Wait methods to BatchJobStore
- Extend Topen handler to snapshot waitBase for b/ wait files
- Extend Tread handler for b/ to serve statewait with 5s timeout/retry

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-19 20:45:01 +02:00
Levi Neely 80651d3b98 README: rename p/ prompt files to semantic names
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-19 20:10:08 +02:00
Levi Neely 596f658703 9p: add statewait/usagewait/ctxszwait/cwdwait; rename enqueue/dequeue
*wait files block on read until the corresponding value changes, then
return the new value. enqueue/dequeue renamed to fifo.in/fifo.out.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-19 16:11:10 +02:00
Levi Neely 1e1769860a docs: update p/ and pl/ references for hook-based priming
- Remove 06_tool-plan.md from p/ listing (removed)
- Remove pl/ from filesystem layout and backing stores table
- Replace Go-template note with prime/agentSpawn hook explanation

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-19 12:16:25 +02:00
Levi Neely 439ee6af1e p9: rename PluginStore to ExecStore
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-19 05:55:15 +02:00
Levi Neely fe5363702f correct prompt names in doc 2026-04-18 22:12:23 +02:00
Levi Neely 680e2a49bd p9: add x/ plugin namespace; wire elevation via x/elevate
Add PluginStore backed by scripts/x/, exposed read-only at x/ in the
9P filesystem. Remove elevator field and elevation.Detect(); update
execute.Decl() call sites to drop the now-removed elevator parameter.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 20:50:27 +02:00
Levi Neely 237e4dec8c 9p: add b/cleanup script to server
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 12:39:33 +02:00
Levi Neely 80b7d1aad6 doc: move Agents and Example session from monorepo USAGE.md
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 12:28:01 +02:00
Levi Neely afe514525d doc: move Sessions reference back from monorepo USAGE.md
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 12:27:16 +02:00
Levi Neely 43dff26415 doc: move usage content to monorepo; README is now server reference only
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 12:25:39 +02:00
Levi Neely cf4ccc2cf1 doc: document s/sh interactive shell
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 12:23:39 +02:00
Levi Neely 4576b32a7a doc: document background job scheduling with b/sched
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 12:21:45 +02:00
Levi Neely 9611150181 doc: document AI pipeline composition with b/* and u/optimize
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 12:19:07 +02:00
Levi Neely 81f34a5516 doc: update README for u/ namespace and script reorganization
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 12:18:08 +02:00
Levi Neely 9a51d287f7 README: document b/ batch namespace
- Add b/ to filesystem layout (job spec, status, result, usage, ctxsz)
- Add BatchStore to backing stores table
- Add Batch jobs section with submit/poll/remove examples and oq reference
- Remove s/{id}/reply from layout
2026-04-16 19:41:46 +02:00
Levi Neely b8c23dd7b6 doc: fix broken relative ollie link in README
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 22:56:41 +02:00
Levi Neely e225085db4 docs: document pluggable backing stores per 9P directory
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 21:50:33 +02:00
Levi Neely b5a0e82aad docs: document prompt rebuild triggers and file listing
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 20:07:29 +02:00
Levi Neely bd3dec3696 docs: add systemprompt to filesystem layout
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 19:40:14 +02:00
Levi Neely 78dd946144 rename OLLIE_9MOUNT → OLLIE
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 17:39:36 +02:00
Levi Neely 818ccf2632 rename workdir to cwd
Rename the user-facing 9P file and session key from "workdir" to
"cwd" for consistency with the /cwd command.
2026-04-13 15:51:49 +02:00
Levi Neely b048aac109 9p: reject unrecognized ctl commands
ctl now validates the first word of input against a closed set of
known commands. Unrecognized input returns an error instead of being
silently forwarded as a prompt to the agent.
2026-04-13 15:44:14 +02:00
Levi Neely 0a4ca8a869 9p: add agents dir, backends, help, plan rm; refactor readSlice 2026-04-13 14:45:17 +02:00
Levi Neely fc5443e314 9p: session rename via wstat, ctl kill/rn, connection tracking
- Support mv on session directories (wstat rename)
- Track connections globally for fid path rewriting on rename
- Add kill and rn <name> to ctl handler
- Append rename notification to chat log
- Update README with rename and ctl docs
2026-04-13 14:25:53 +02:00
Levi Neely 368d1a9ba0 9p: accept empty values in s/new, fix docs to rm -r 2026-04-13 13:56:52 +02:00
Levi Neely 039c5ddf0c README: update for s/new, rm, ctl changes, document async write caveat 2026-04-13 13:45:00 +02:00
Levi Neely c320693ab6 docs: drop responses from usage description 2026-04-13 11:06:24 +02:00
Levi Neely e29aaabf9c docs: update usage file description with responses and estimated flag 2026-04-13 11:03:34 +02:00
Levi Neely 4ae91a1668 usage/ctxsz: separate billed tokens from context size
- Rename Core.Usage() to Core.CtxSz() (estimated context size)
- New Core.Usage() returns billed token counts (in, out, requests)
- 9P: add ctxsz file, usage file now returns billed tokens
- /context command now shows context size summary
- Emacs mode-line reads ctxsz instead of usage
2026-04-13 10:45:45 +02:00
Levi Neely 0586e94672 9p: make /p createable, fix /p dir mode to 0755, update README
- Add /p to create handler (same pattern as /t and /sk)
- Use 0755 for /p directory (prompts aren't executable)
- Update README: sk/ is now r/w
2026-04-13 10:28:45 +02:00
Levi Neely 7b3e159ac0 9p: add create support, writable skills, update tools path
- Route Tcreate to new create handler for /t and /sk
- Add skill file write support (write to SKILL.md in skill dir)
- Make /sk files writable (0666), /t files/dir 0777
- Update default tools path to ~/.config/ollie/tools
2026-04-13 10:25:15 +02:00