| 418 | }) |
| 419 | |
| 420 | const addSubtask = (sessionID: SessionID, messageID: MessageID, model = ref) => |
| 421 | Effect.gen(function* () { |
| 422 | const session = yield* Session.Service |
| 423 | yield* session.updatePart({ |
| 424 | id: PartID.ascending(), |
| 425 | messageID, |
| 426 | sessionID, |
| 427 | type: "subtask", |
| 428 | prompt: "look into the cache key path", |
| 429 | description: "inspect bug", |
| 430 | agent: "general", |
| 431 | model, |
| 432 | }) |
| 433 | }) |
| 434 | |
| 435 | const boot = Effect.fn("test.boot")(function* (input?: { title?: string }) { |
| 436 | const config = yield* Config.Service |