Commit Graph

51 Commits

Author SHA1 Message Date
Levi Neely 267f438e9e clean up OLLIE_* env vars: replace with XDG conventions
- Remove all OLLIE_*_PATH vars (TOOLS_PATH, CFG_PATH, DATA_PATH, etc.)
  Use XDG_CONFIG_HOME/ollie/* and XDG_DATA_HOME/ollie/* instead
- Replace OLLIE_<TAG>_LOG per-component logging with single OLLIE_LOG={level}
- Remove Route()/RouteRequest/RouteResult (replaced by direct backend selection)
- Update sandbox config to use XDG paths instead of OLLIE_*_PATH tokens
- Update docs accordingly
2026-08-07 07:12:08 +02:00
Levi Neely 80d7e4436d readme: update architecture diagram to match current packages 2026-07-30 08:59:23 +02:00
Levi Neely 1664644023 session: rename config.go → agent_config.go, update README 2026-07-29 19:18:04 +02:00
Levi Neely 27ee375892 README: fix session lifecycle, remove /tmp/ollie reference 2026-07-29 18:14:41 +02:00
Levi Neely bf137f0265 update README for new package layout 2026-07-29 18:12:01 +02:00
Levi Neely c051a72ba4 shell: fix elevated detach + update docs
- executeElevated: add 3-way select (frameCh/ctx.Done/detachCh) so manual
  detach works for elevated processes. Previously the default branch called
  readFrames synchronously with no way to receive the detach signal.

- README: replace execute_code references with shell, update tool description
  to match current single-command interface.
2026-07-29 14:44:11 +02:00
ollie 852ce1e41b update core README to reference embedded system prompt 2026-07-28 23:32:13 +02:00
ollie 18d00191f8 remove call_tool and pipe references from docs and prompts 2026-07-28 22:47:06 +02:00
ollie 4a96f6259a readme: document all 3 built-in tools (execute_code, call_tool, pipe) 2026-07-18 22:54:07 +02:00
ollie ae0b26e0a0 readme: update Core interface, fix backend list, remove nonexistent pkg/store 2026-07-18 22:52:36 +02:00
ollie 8645e6d2a1 readme: remove stale anvillm reference 2026-07-18 22:45:35 +02:00
Levi Neely d175bdba32 remove ollie-tui reference 2026-05-01 10:21:30 +02:00
Levi Neely e13bf552e7 docs: update hooks and tool scripts list 2026-04-30 09:07:52 +02:00
Levi Neely e0bd5cefe8 docs: update README for refactor (packages, system prompt, sandbox) 2026-04-22 10:35:38 +02:00
Levi Neely 85b0d7f6fa remove MCP support, add execute_code tests
- Remove pkg/mcp/ (client, transport, JSON-RPC handshake)
- Remove mcpServer adapter and NewServer() from tools.go
- Remove MCPServers/ServerConfig from config
- Remove MCP server connection loop from BuildAgentEnv
- Remove ListServers() from Core interface and agentCore
- Remove /mcp command and help line
- Rename extractMCPResult -> extractToolResult
- Rename mcpToolsToBackend -> toolInfosToBackend
- Add execute_test.go: 28 tests covering detectLanguage, injectArgs,
  ansiCEscape, ValidateCode, allowed, ReadTool, Execute, Dispatch
  (pipeline, parallel, tool steps), limitedWriter, rate limiting,
  SetEnv, SetCWD (68.2% coverage from 0%)
- Add testdata/sandbox/default.yaml for real sandboxed test execution
2026-04-21 13:25:32 +02:00
Levi Neely 1ab75978a1 README: rename p/ prompt files to semantic names
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-19 20:10:17 +02:00
Levi Neely 524dccdc81 agent: rename userPromptSubmit→preTurn, stop→postTurn
Names now reflect the turn lifecycle rather than implementation details.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-19 15:47:42 +02:00
Levi Neely d8c0f8a8a3 docs: document hook-based system prompt; fix hooks example to array form
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-19 12:16:42 +02:00
Levi Neely e0a0dba76a rename OLLIE_9MOUNT to OLLIE; remove redundant sandbox RWX entry 2026-04-17 14:54:40 +02:00
Levi Neely c2ba1728e4 execute: unify execute_pipe into execute_code as pipeline primitive
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 21:36:22 +02:00
Levi Neely 8d21b5596a doc: correct architecture — file/memory/reasoning/task are tool scripts, not servers
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 21:24:24 +02:00
Levi Neely ab96de2771 execute: remove execute_tool; use execute_code {tool} steps instead
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 21:18:12 +02:00
Levi Neely a5fd0a8156 doc: update execute_* tool docs in README
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 21:05:05 +02:00
Levi Neely b557803bfe doc: remove integrations section from README
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 21:03:33 +02:00
Levi Neely 011bf95511 doc: document core primitives in README
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 21:02:40 +02:00
Levi Neely 64d3915593 docs: note olliesrv calls Close() on kill and shutdown
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 19:52:43 +02:00
Levi Neely 74a6715cd7 docs: session lifecycle, Close(), tmpdir
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 19:40:11 +02:00
Levi Neely a81826b909 readme: move env config docs to top-level readme
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 08:48:01 +02:00
Levi Neely 809ad3472d rename workdir to cwd
Go API: WorkDir→CWD, SetWorkDir→SetCWD, WorkDirSetter→CWDSetter.
Unexported: workdir→cwd in fields, params, locals.
Docs: README.md updated.
2026-04-13 18:03:20 +02:00
Levi Neely f8e0750996 move sandbox/ to monorepo
Sandbox configs are system-wide data, not core-specific.
Core mkfile is now a no-op (library only).
2026-04-13 10:34:33 +02:00
Levi Neely 8e8339174d move agents/ and prompts/ to monorepo
These are system-wide data, not core-specific. Update mkfile
to only install sandbox config. Update README.
2026-04-13 10:32:43 +02:00
Levi Neely a1acf0d936 core: update default tools path to ~/.config/ollie/tools
- OLLIE_TOOLS_PATH now takes first entry if colon-separated
- Default changed from ~/.local/share/ollie/tools to ~/.config/ollie/tools
- Update README accordingly
2026-04-13 10:25:18 +02:00
Levi Neely fda9919dce docs: describe queue-based reasoning_plan fallback
- PLANNING.md: add WithFallbackPlanBackend to loose-coupling section;
  update auto-wiring section with priority order; rewrite graceful
  degradation section; add Queue-based fallback section covering
  queuePlanBackend, placeholder IDs, durability, and fan-out pattern
- ARCHITECTURE.md: update planning prose, data flow diagram, extension
  points, and BuildAgentEnv description to cover fallback priority
- README.md: update reasoning_plan bullet to mention queue fallback

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-11 17:00:56 +02:00
Levi Neely a6cd415a34 integrations: use ollie mountpoint for skills; remove helper scripts
Replace discover_skill.sh/load_skill.sh instructions with direct file
operations on the ollie 9P mount (sk/ directory). Add OLLIE_9MOUNT to
sandbox env lists and $HOME/mnt/ollie to anvilmcp sandbox rwx paths.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-11 16:23:51 +02:00
Levi Neely 4b9b03053f tools: remove file_read and file_write in favor of shell tools
The line-range patching interface was fragile (models drift on line
numbers), and both tools were redundant with execute_code + standard
shell utilities (cat, grep, sed, ed, ssam). Drop the file server
entirely; update agent configs, system prompt, and documentation.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-11 16:11:50 +02:00
Levi Neely a721439e01 docs: remove Credits section (moved to monorepo) 2026-04-11 15:37:13 +02:00
Levi Neely 756524bf3a docs: add integrations section for 9beads-mcp 2026-04-11 15:26:14 +02:00
Levi Neely bac05f88d0 docs: update simonfxr credit
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-11 13:10:53 +02:00
Levi Neely beb121e5e2 docs: add Credits section
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-11 13:08:50 +02:00
Levi Neely de2365187a docs: update Decl and workdir in README and ARCHITECTURE
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 09:06:44 +02:00
Levi Neely 12b4dbac73 README, ARCHITECTURE: document Decl pattern and tool extension model
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 08:30:37 +02:00
Levi Neely 3941742fed README: update package listing and tools section
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 08:04:58 +02:00
Levi Neely 480c3c1f37 docs: update README for current state
- Remove hard anvillm dependency language
- Document OLLIE_TOOLS_PATH
- Document ~/.config/ollie/sandbox.yaml

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-09 22:37:11 +02:00
Levi Neely 8e2b8083bb execute_tool: replace 9P mount with filesystem read; drop 9fans dep
ReadTool now reads from OLLIE_TOOLS_PATH (default ~/.local/share/ollie/tools)
as a plain filesystem path, compatible with 9pfuse mounts or symlinks.
ToolsPath() is exported and used to expand tool descriptions and the
system prompt template at runtime.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-09 22:33:30 +02:00
Levi Neely 401814c43f README: note anvillm dependency
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 01:05:55 +02:00
Levi Neely 10fa7439ee Fix README: backends are ollama and openai only
openrouter is not a distinct backend; it's the openai backend pointed
at a different URL. Updated examples accordingly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 00:56:54 +02:00
Levi Neely b5389e96c7 Update README to reflect current architecture
Covers: agentic design, execute_code built-in, backend selection,
env file, config.json with MCP servers and hooks, UI keybindings,
token usage display, skill system.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 00:55:21 +02:00
Levi Neely 52abc5174b Update usage section: clarify UI and tool dependencies 2026-02-21 20:55:47 +01:00
Levi Neely 58d185941c Improve README flow 2026-02-21 20:53:15 +01:00
Levi Neely ff1e3d60c8 Update README: tech editing pass and fix license 2026-02-21 20:49:15 +01:00