Levi Neely
52208eb031
pass remote parameter through to CreateSession D-Bus call
2026-07-24 11:58:04 +02:00
Levi Neely
d927d60ba5
dbus: pass systemPrompt arg to CreateSession call
2026-07-21 14:28:13 +02:00
Levi Neely
35cf8ad0d9
remove Makefile and mkfile (consolidated into root justfile)
2026-07-19 13:02:47 +02:00
Levi Neely
e88940df19
readme: document HTTP gateway API
2026-07-18 22:39:41 +02:00
Levi Neely
2d8b404338
httpgw: remove 9P backend, D-Bus only
...
Drop ninep.go and all 9P-related flags/imports. The gateway now
exclusively uses D-Bus calls to org.ollie.SessionManager.
The 9P transport was unreliable for HTTP gateway use; D-Bus is
synchronous and well-suited for request/response translation.
2026-07-18 21:36:16 +02:00
Levi Neely
345508d9e1
fix: rename session after creation when name is provided
2026-07-07 12:39:55 +02:00
Levi Neely
250af7967f
update httpgw: add dbus and ninep support
2026-07-06 18:22:38 +02:00
Levi Neely
1f9052db76
add GNU Makefile mirroring mkfile
2026-06-16 06:50:35 +02:00
Levi Neely
11b542c217
httpgw: return /models as [{backend, models}] JSON
2026-05-21 18:49:38 +02:00
Levi Neely
3ed5e8229f
httpgw: inject state into cfg response for web UI stop button
2026-05-20 14:16:10 +02:00
Levi Neely
292448c05d
add /open endpoint: open files with EDITOR or xdg-open
2026-04-26 15:54:12 +02:00
Levi Neely
ed0cce92f1
add PUT method for raw file writes, open a/m/t for writes
2026-04-26 15:22:59 +02:00
Levi Neely
4338acd2df
add start, fgstart, stop, status subcommands
...
Modelled after 9p/main.go. Pid file in 9P namespace dir; running check
via TCP dial to -listen address. No-subcommand path preserved for
backwards compatibility.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-26 12:35:38 +02:00
Levi Neely
14bcbf0646
open read-only access to /a, /m, /t, /sk; preserve blank lines
...
- Allow GET/HEAD on agent, memory, tool, skill paths
- Preserve empty lines in multi-line file content
2026-04-24 21:13:41 +02:00
Levi Neely
830849e193
fix chat streaming and prompt writes
...
- Return chat file as text/plain to preserve line ordering
- Fix handleWrite: single-key JSON writes raw value, not key=value
- Fixes broken chat display and 'prompt=' corruption in chat log
2026-04-24 20:10:50 +02:00
Levi Neely
ec092055fe
gitignore
2026-04-24 18:30:59 +02:00
Levi Neely
c4750dcb64
httpgw: JSON API with structured parsing and consumer-facing endpoint filtering
...
- All responses use application/json; errors use {"error": "..."}
- File reads parse content by format: key=value → object, tab-separated → arrays, newline list → []string, single value → {name: value}
- /s/idx parsed into typed IdxEntry structs (id, state, cwd, backend, model)
- POST for all writes (actions/updates); PUT removed
- /s/new is POST-only (session creation)
- /s/{id}/cfg is POST (partial update)
- /s/{id}/chat is read-only
- Internal paths blocked: /, /a, /p, /m, /t, /sk, /help, /tr, /u, /x, /tmp
- Per-file blocked: systemprompt, statewait
- /s returns array of session IDs only
- Embedded OpenAPI 3.0 spec at /openapi.json
- OPTIONS handler with accurate method descriptions
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 18:29:37 +02:00
Levi Neely
ac79ebf733
initial httpgw: HTTP gateway for 9P file operations
2026-04-24 17:45:00 +02:00
Levi Neely
1d8e6c8df4
initial commit
2026-04-24 17:19:30 +02:00