Commit Graph

641 Commits

Author SHA1 Message Date
Levi Neely 856dd9ba2a acme: update submodule 2026-05-11 16:54:28 +02:00
Levi Neely b133b7cb38 acme: update submodule (read struct defs from source) 2026-05-11 16:53:30 +02:00
Levi Neely 4888db8e12 u/complete: add -cwd flag; acme submodule update (type resolution) 2026-05-11 16:50:43 +02:00
Levi Neely 6ae476355a u/complete: stronger prompt (no reasoning output); drop :: echo to stderr 2026-05-11 16:15:27 +02:00
Levi Neely bb13c24ef2 u/complete: prompt says implement, not complete; reject stub echoing 2026-05-11 15:48:52 +02:00
Levi Neely 7b333e4484 acme: update submodule (Kmpl wired to u/complete) 2026-05-11 15:43:41 +02:00
Levi Neely f113024062 acme: update submodule (Kmpl 9p fix) 2026-05-11 15:40:41 +02:00
Levi Neely 93b3e6b6b1 update core submodule pointer 2026-05-11 14:20:41 +02:00
Levi Neely 7908f50820 update 9p: expand ~ and env vars in cwd at session creation 2026-05-11 14:20:27 +02:00
Levi Neely 51fc98ccdf u/complete: add -context flag, increase prefix to 12K chars 2026-05-11 14:07:58 +02:00
Levi Neely 2589dee4d5 prompts: document steps vs pipe semantics, add lsp_completion 2026-05-11 14:04:53 +02:00
Levi Neely 461e661f71 update core submodule 2026-05-11 13:50:06 +02:00
Levi Neely 701c0b1503 update core submodule 2026-05-11 13:40:53 +02:00
Levi Neely 58970d4198 update core submodule 2026-05-11 13:27:09 +02:00
Levi Neely 9fabcb3851 tools/lsp: add parallel annotation to read-only lsp tools 2026-05-11 13:23:37 +02:00
Levi Neely e1e5538a42 tools: remove hardcoded fallback paths in memory_remember, task_check 2026-05-11 13:20:26 +02:00
Levi Neely a17c874351 update acme submodule, sandbox config 2026-05-11 13:19:27 +02:00
Levi Neely f320979142 tools/lsp: fix _lib import path, add lsp_completion
All lsp_* scripts used OLLIE_TOOLS_PATH for sys.path which points to
the physical backing store where _lib does not exist. Changed to use
$OLLIE/t (the FUSE mount) where _lib actually lives.

Also added lsp_completion script and textDocument/completion support
in the LSP bridge.
2026-05-11 13:19:02 +02:00
Levi Neely 1c26a19c0a update acme, scripts 2026-05-08 17:41:55 +02:00
Levi Neely 915dd408a8 acme: 50ms poll interval 2026-05-08 15:01:26 +02:00
Levi Neely 767a6ab64f sh: simplify sigint handler - just send stop, let rc resume 2026-05-08 14:59:21 +02:00
Levi Neely 2a98363b99 sh: fix signal handler name: sigint not sigintr 2026-05-08 14:58:20 +02:00
Levi Neely 2c4d8a0782 sh: remove statewait read before poll loop 2026-05-08 14:56:45 +02:00
Levi Neely b07fcec765 sh: read state file directly instead of parsing cfg 2026-05-08 14:55:35 +02:00
Levi Neely 284f1969d8 sh: on Ctrl-C during turn, send stop and re-exec to resume 2026-05-08 14:53:27 +02:00
Levi Neely 7265c8202d sh: redefine sigintr during agent turn to interrupt without exiting 2026-05-08 14:46:41 +02:00
Levi Neely dd4e5a677a sh: Ctrl-C interrupts running turn instead of exiting 2026-05-08 14:45:02 +02:00
Levi Neely 54092a6ea4 remove chatwait: acme tails chat directly 2026-05-08 14:42:52 +02:00
Levi Neely 81ed99f87a update skills 2026-05-08 13:22:07 +02:00
Levi Neely 75da8bdaae update core submodule 2026-05-08 13:02:07 +02:00
Levi Neely fd20b6f3c8 update submodules: add OLLIE_AGENTS_PATH 2026-05-08 13:01:38 +02:00
Levi Neely fb29487a1f revert chatwait changes in sh and acme frontends 2026-05-08 12:45:05 +02:00
Levi Neely 6f83476f25 update 9p submodule 2026-05-08 12:16:40 +02:00
Levi Neely ecbb9e240c use chatwait for responsive streaming in sh and acme frontends 2026-05-08 12:08:54 +02:00
Levi Neely 188fa58557 add OLLIE_PROMPTS_PATH support (colon-separated multi-dir prompts) 2026-05-08 11:59:27 +02:00
Levi Neely 75ba074237 add OLLIE_DEFAULT_AGENT to env.sample, update 9p submodule 2026-05-08 11:33:35 +02:00
Levi Neely d7a6d7b8c3 file_read: remove max size limit, use islice for streaming reads
The 8MB size check caused models to fall back to cat which reads the
entire file without truncation. Now uses itertools.islice to read only
the requested segment without loading the whole file into memory.

Also: sandbox config additions (pcfs, ~/img).
2026-05-08 11:28:43 +02:00
Levi Neely ba8f7948bb s/sh: fix case patterns for argument-taking commands
Quoted '*' in rc switch cases is a literal character, not a wildcard.
Replace '/cmd *' patterns with /cmd?* so rc treats them as globs.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-06 08:18:15 +02:00
Levi Neely 3186bb12f2 s/sh: replace readmulti with inline bash readline; fix /model feedback
Replace the Python raw-mode multiline hack (readmulti) with an inline
bash read -e loop using backslash continuation. Add show_new to display
the server response after /model, /agent, /backend cfg writes.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-05 22:47:20 +02:00
Levi Neely 30c1b1810e update core submodule 2026-05-04 16:54:20 +02:00
Levi Neely 33323b275e subagent_generate: fix JIT agent system prompt
Use $OLLIE/x/prime SYSTEM_PROMPT command instead of bare token.
Wrap custom prompt in echo command since all prompt array entries
are now shell commands.
2026-05-04 11:33:36 +02:00
Levi Neely c19aad78fc core: preserve completed work on interrupt/error 2026-05-04 10:24:16 +02:00
ollie ce17021b58 require landrun for execute_code, update docs
Update core submodule: WrapCommand returns a hard error when landrun
is not detected. Document the requirement in ARCHITECTURE.md.
2026-05-03 22:10:15 +02:00
Levi Neely 45d1b6b77e readme: add "What you get" section; update submodules
- README.md: add feature summary with bulleted list
- acme: add README documenting ollie-acme and Kmpl
- el: refactor completion to shell out to u/complete
- u/complete: improve prompt and strip leaked tags
2026-05-03 22:03:01 +02:00
Levi Neely ed178dfad0 u/complete: prompt to complete logical unit, not just minimal insertion 2026-05-03 21:32:40 +02:00
Levi Neely a9a0a13209 core: update submodule (interrupt rollback, batch dedup) 2026-05-03 21:27:52 +02:00
Levi Neely e62c224e2d reasoning_think: add 200-word length constraint
Prevents the scratchpad from becoming a multi-page stream-of-consciousness
monologue that pollutes the context window.
2026-05-03 21:23:34 +02:00
Levi Neely 410335cb51 u/complete: split into completion engine + acme glue (Kmpl)
u/complete is now acme-free: reads prefix from stdin, takes -suffix,
-file, -model, -backend flags. Prints completion to stdout.

acme/scripts/Kmpl is the thin acme wrapper that extracts prefix/suffix
from the window and pipes to u/complete.

Also fixes prefix truncation bug (bash substring returning empty when
string is shorter than offset) and updates core submodule with
interrupt handling improvements.
2026-05-03 21:10:57 +02:00
Levi Neely 2b77ca0a34 el: update submodule (code completion docs) 2026-05-03 15:52:35 +02:00
Levi Neely 344dde9cb5 el: update submodule (ellie-complete ghost-text completion) 2026-05-03 15:50:34 +02:00