|
| 1 | +# TODO |
| 2 | + |
| 3 | +ok we need to work towards a launch of v2 so we can get out of this rebuild phase |
| 4 | + |
| 5 | +## Kill Hono - Kit |
| 6 | + |
| 7 | +Hono needs to go away so zod can go away. this is almost done |
| 8 | + |
| 9 | +## New Data Mode - Dax |
| 10 | + |
| 11 | +This is mostly done. I'm working through modeling subagents, skill invocations |
| 12 | +and shell commands. |
| 13 | + |
| 14 | +## Rework agent loop - Kit? |
| 15 | + |
| 16 | +I think this needs to be done so we can take advantage of the simpler data |
| 17 | +model. It can stop doing all the |
| 18 | + |
| 19 | +## Rework compaction - Aiden? |
| 20 | + |
| 21 | +The new agent loop needs to trigger compaction properly |
| 22 | + |
| 23 | +## Plugin API design - ??? |
| 24 | + |
| 25 | +We need to figure out how we want server plugins to work and what hooks are useful. |
| 26 | + |
| 27 | +Some ideas: |
| 28 | + |
| 29 | +- plugins get immer drafts so bad mutations can be thrown away |
| 30 | +- plugins get global "opencode" instance like in that post i showed |
| 31 | +- opencode instance has stuff like `opencode.session.prompt()` or |
| 32 | + `opencode.tool.register({...})` |
| 33 | + |
| 34 | +## Rework Config - ??? |
| 35 | + |
| 36 | +We should do another pass on config to clean up any mistakes we made with it and |
| 37 | +simplify as much as possible. Old configs should get auto-converted to new |
| 38 | + |
| 39 | +## Auth - ??? |
| 40 | + |
| 41 | +I have a basic auth system that can track any kind of auth, not just providers |
| 42 | + |
| 43 | +## Model Database - ??? |
| 44 | + |
| 45 | +I have a basic model service that allows for models to be registered dynamically |
| 46 | + |
| 47 | +## Provider - ??? |
| 48 | + |
| 49 | +Providers should register as plugins and autoload based on whatever logic they |
| 50 | +want / config. They should register models into model database |
| 51 | + |
| 52 | +## Event - Kit/James |
| 53 | + |
| 54 | +I have this v2/event.ts but it needs to be self contained instead of using the |
| 55 | +old bus system |
| 56 | + |
| 57 | +## Everything is hotreloadable - ??? |
| 58 | + |
| 59 | +Instead of needing to tear down things when something changes every service should emit granular events so services can react to them and reconfigure themselves. Allows frontend to receive these too, eg model.added. also prevents startup from blocking |
0 commit comments