Add a ServiceMap.Reference that carries InstanceContext through the Effect service graph so child fibers retain instance context even when resumed by external I/O events outside the ALS boundary. - Add InstanceRef to instance-state.ts; InstanceState.get/has/invalidate try the Reference first, fall back to ALS - makeRuntime automatically captures ALS into InstanceRef at the boundary - provideInstance (test fixture) sets InstanceRef for Effect.runPromiseWith - Remove all redundant provideInstance(dir) wrappers from prompt tests - Fix test/lib/effect.ts type params (drop unnecessary S/T generics) |
||
|---|---|---|
| .. | ||
| lsp | ||
| skills | ||
| db.ts | ||
| fixture.test.ts | ||
| fixture.ts | ||
| flock-worker.ts | ||
| plug-worker.ts | ||
| plugin-meta-worker.ts | ||
| tui-plugin.ts | ||
| tui-runtime.ts | ||