refactor(provider): effectify Provider service (#20160)
parent
a898c2ea3a
commit
3df18dcde1
|
|
@ -210,15 +210,13 @@ Fully migrated (single namespace, InstanceState where needed, flattened facade):
|
||||||
- [x] `Vcs` — `project/vcs.ts`
|
- [x] `Vcs` — `project/vcs.ts`
|
||||||
- [x] `Worktree` — `worktree/index.ts`
|
- [x] `Worktree` — `worktree/index.ts`
|
||||||
|
|
||||||
Still open and likely worth migrating:
|
|
||||||
|
|
||||||
- [x] `Session` — `session/index.ts`
|
- [x] `Session` — `session/index.ts`
|
||||||
- [ ] `SessionProcessor` — blocked by AI SDK v6 PR (#18433)
|
- [x] `SessionProcessor` — `session/processor.ts`
|
||||||
- [ ] `SessionPrompt` — blocked by AI SDK v6 PR (#18433)
|
- [x] `SessionPrompt` — `session/prompt.ts`
|
||||||
- [ ] `SessionCompaction` — blocked by AI SDK v6 PR (#18433)
|
- [x] `SessionCompaction` — `session/compaction.ts`
|
||||||
- [ ] `Provider` — blocked by AI SDK v6 PR (#18433)
|
- [x] `Provider` — `provider/provider.ts`
|
||||||
|
|
||||||
Other services not yet migrated:
|
Still open:
|
||||||
|
|
||||||
- [ ] `SessionSummary` — `session/summary.ts`
|
- [ ] `SessionSummary` — `session/summary.ts`
|
||||||
- [ ] `SessionTodo` — `session/todo.ts`
|
- [ ] `SessionTodo` — `session/todo.ts`
|
||||||
|
|
@ -235,7 +233,7 @@ Once individual tools are effectified, change `Tool.Info` (`tool/tool.ts`) so `i
|
||||||
|
|
||||||
1. Migrate each tool to return Effects
|
1. Migrate each tool to return Effects
|
||||||
2. Update `Tool.define()` factory to work with Effects
|
2. Update `Tool.define()` factory to work with Effects
|
||||||
3. Update `SessionPrompt` to `yield*` tool results instead of `await`ing — blocked by AI SDK v6 PR (#18433)
|
3. Update `SessionPrompt` to `yield*` tool results instead of `await`ing
|
||||||
|
|
||||||
Individual tools, ordered by value:
|
Individual tools, ordered by value:
|
||||||
|
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue