transcript: add tr/ store, save via chat write or ctl save
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
5cfef55336
commit
5535e0edbb
2
9p
2
9p
|
|
@ -1 +1 @@
|
|||
Subproject commit 261fa547fbf72ce71adf65fd574c823405a4adc1
|
||||
Subproject commit b4974cc6c29f8fd42cc6ecc6de456eb84804a068
|
||||
|
|
@ -39,7 +39,7 @@ ollie/
|
|||
<id>/ session directory rm -r to kill; mv to rename
|
||||
agent active agent (r/w)
|
||||
backend active backend (r/w)
|
||||
chat conversation log (ro)
|
||||
chat conversation log (r/w; write to save transcript to tr/)
|
||||
offset byte offset of chat after last user prompt; tail -c +$((offset+1)) gives model response (ro)
|
||||
ctl control (w) stop, kill, clear, compact, rn <name>
|
||||
ctxsz context size (ro)
|
||||
|
|
@ -58,6 +58,8 @@ ollie/
|
|||
<name>.md skill content (r/w)
|
||||
t/ tool scripts (r/w) ls, cat, edit, chmod
|
||||
idx tool index (ro) cat
|
||||
tr/ transcripts (ro) ls, cat
|
||||
<YYYYMMddTHHmmss>-chat.md saved transcripts
|
||||
```
|
||||
|
||||
## Session management
|
||||
|
|
@ -91,6 +93,7 @@ OLLIE_TOOLS_PATH tool scripts directory (default: ~/.config/ollie/tools)
|
|||
OLLIE_SKILLS_PATH skills directory (default: ~/.config/ollie/skills)
|
||||
OLLIE_PLAN_PATH plans directory (default: ~/.config/ollie/plans)
|
||||
OLLIE_MEMORY_PATH memory directory (default: ~/.config/ollie/memory)
|
||||
OLLIE_TRANSCRIPT_PATH transcript directory (default: ~/.config/ollie/transcript)
|
||||
|
||||
OLLIE_OLLAMA_URL base URL for ollama (default: http://localhost:11434)
|
||||
OLLIE_OPENAI_URL base URL for openai-compatible backends
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@ The ollie 9P filesystem is mounted at `{{.OllieMountPath}}`. All persistent stat
|
|||
| `{{.OllieMountPath}}/sk/` | Skills — domain-specific knowledge files |
|
||||
| `{{.OllieMountPath}}/pl/` | Task plans — markdown checklists |
|
||||
| `{{.OllieMountPath}}/m/` | Memory files |
|
||||
| `{{.OllieMountPath}}/tr/` | Transcripts — saved chat logs |
|
||||
| `{{.OllieMountPath}}/s/` | Sessions |
|
||||
| `{{.OllieMountPath}}/a/` | Agent configs (JSON, r/w) |
|
||||
| `{{.OllieMountPath}}/p/` | Prompt templates (r/w) |
|
||||
|
|
@ -29,7 +30,7 @@ Each session is a directory `{{.OllieMountPath}}/s/{session-id}/`. Your current
|
|||
| `{{.OllieMountPath}}/s/{id}/prompt` | write | Submit a prompt to the agent |
|
||||
| `{{.OllieMountPath}}/s/{id}/enqueue` | write | Queue a prompt for execution after the current turn |
|
||||
| `{{.OllieMountPath}}/s/{id}/dequeue` | read | Pop the next queued prompt |
|
||||
| `{{.OllieMountPath}}/s/{id}/chat` | read | Full cumulative chat history (tail-able) |
|
||||
| `{{.OllieMountPath}}/s/{id}/chat` | r/w | Full cumulative chat history (tail-able); write to save a datestamped transcript to `tr/` |
|
||||
| `{{.OllieMountPath}}/s/{id}/offset` | read | Byte offset of chat immediately after the last user prompt; `tail -c +$((offset+1))` yields the model response for that turn |
|
||||
| `{{.OllieMountPath}}/s/{id}/state` | read | Current agent state: `idle`, `thinking`, or `calling: <tool>` |
|
||||
| `{{.OllieMountPath}}/s/{id}/backend` | r/w | Active backend name |
|
||||
|
|
|
|||
Loading…
Reference in New Issue