Commit Graph

12 Commits

Author SHA1 Message Date
Levi Neely 248b45e688 build: run tests as part of mk process
core/mkfile: add test:V target (go test ./...) and make all:V depend on it.
A test failure exits mk with a non-zero status, blocking any further targets.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-21 11:56:01 +02:00
Levi Neely c076bfb089 mkfile: drop @ prefix for portability 2026-04-13 10:47:03 +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 57a92281cf skills: add pkg/skills for skill discovery from OLLIE_SKILLS_PATH
Scans colon-separated OLLIE_SKILLS_PATH (default ~/.config/ollie/skills)
for directories containing SKILL.md with name/description front-matter.
Reads from disk on every call, no caching. Deduplicates by name.
2026-04-10 19:10:46 +02:00
Levi Neely c0436a88d1 agent: replace hardcoded system prompt with runtime-loaded template
Move the system prompt from an inline Go string to prompts/SYSTEM_PROMPT.md,
loaded at runtime from ~/.config/ollie/prompts/ via text/template. The prompt
is now editable without recompilation and focuses on behavioral guidance
rather than token-saving directives.

- Remove systemPromptBase constant and token-efficiency instructions
- Add DefaultPromptsDir() for prompt directory discovery
- Load and render SYSTEM_PROMPT.md with {{.WorkDir}}, {{.Platform}}, etc.
- Update mkfile to install prompts/ to ~/.config/ollie/prompts/
2026-04-10 18:45:01 +02:00
Levi Neely 7068d1832a mkfile: install sandbox configs to ~/.config/ollie/sandbox
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-09 22:39:00 +02:00
Levi Neely edee1a5889 mkfile: remove build target; ollie is now a library
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-09 22:08:21 +02:00
Levi Neely c5b16e739e Restructure: pkg/core interface, internal/ packages, cmd/ollie TUI entry point
- pkg/core: public Core interface (Submit/Prompt/Interrupt) + Event/EventHandler types
- internal/agentcore: AgentCore implementation of Core (session, tools, commands)
- internal/tui: TUI package (readline loop, splitInput, signals, bracketed paste)
- internal/agent,backend,config,exec,mcp,tools: moved from root to internal/
- cmd/ollie: minimal main() that wires agentcore + tui together (~130 lines)
- mkfile: update build target to ./cmd/ollie

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-09 21:00:04 +02:00
Levi Neely f201a0a737 agent installation; OLLIE_DEFAULT_AGENT 2026-04-04 12:01:57 +02:00
Levi Neely c31d157756 Fix: move modelName resolution after backend creation; rename install artifact to ollie 2026-04-01 11:12:56 +02:00
Levi Neely 12b8950ea5 Initial commit 2026-02-21 20:47:38 +01:00