Replace the legacy Instance.state() lazy init with an Effect Layer that yields InstanceContext, defines Interface/Service/layer, and exposes promise facades for backward compat. Register ToolRegistry.Service in the Instances layer map. |
||
|---|---|---|
| .. | ||
| instance-context.ts | ||
| instance-registry.ts | ||
| instances.ts | ||
| runtime.ts | ||