Levi Neely
|
f5841c4a0f
|
one store type: DirStore is the only concrete Store implementation
- RunFileStore replaced by NewFileStore() returning *DirStore
- SessionStore now embeds *DirStore with hooks
- Removed: storeConfig, RunnableStore, RunFileStore, runfilestore.go
- New filestore.go: NewFileStore builds DirStore from FileSpec table
- DirStore.Stat uses opener for synthetic files
- Runnable concern stays on Session (not on store)
|
2026-05-19 17:21:16 +02:00 |
Levi Neely
|
190ad4bcdf
|
unify DirStore: single type replaces FlatDir, Union, ToolStore
- New store.DirStore with options: WithReadOnly(), WithIndex(fn)
- Supports single/multi dir, synthetic idx, ListDir, MkdirAll
- Removes UtilStore, ExecStore, ToolStore wrapper types
- toolIndex extracted as standalone function
- All stores in server.go use store.NewDirStore()
- SkillStore stays as-is (different storage model)
|
2026-05-19 17:07:47 +02:00 |
Levi Neely
|
8f0dfdef37
|
generic read/write dispatch via store entry flags
- Add OneShot, IsBlocking, Async to StoreEntry interface
- FileSpec gains OneShot/Async fields; session entries annotated
- read() is fully generic: openEntry → check flags → dispatch
- handleWrite() reduced to 5 lines via routeStore
- clunk uses entry.Async() instead of hardcoded isAsyncWrite
- Root store for /backends and /help (consistent semantics)
- ToolStore.OpenFiltered for per-session allowTools on idx
- Remove storeReadCtx, storeBlockingRead, isAsyncWrite
|
2026-05-19 16:39:48 +02:00 |
Levi Neely
|
182682cbb7
|
agents: use OLLIE_AGENTS_PATH for multi-dir agent resolution
|
2026-05-08 13:01:22 +02:00 |
Levi Neely
|
77c20cf43d
|
support OLLIE_PROMPTS_PATH: multi-dir prompt store via NewFlatDirUnion
|
2026-05-08 11:59:22 +02:00 |
Levi Neely
|
9bfccebff6
|
change tools to hierarchical
|
2026-04-30 14:38:47 +02:00 |
Levi Neely
|
61c169af3b
|
move store package from core into 9p/store
|
2026-04-30 07:53:39 +02:00 |