ad00b1461d
Extract `disposeAllInstancesAfterProviderAuthCallback` into a dedicated module and invoke it from the provider OAuth callback handler instead of coupling it to the ProviderAuth layer. This removes the InstanceStore dependency from `ProviderAuth.layer`. Additional changes: - Add `--cloud-fork` CLI option to the run command for fetching sessions from cloud and continuing locally - Replace the Zod-bridged `Schema.Any` indexing config with a native Effect `IndexingSchema` definition in kilo-indexing, propagating typed config through the SDK OpenAPI spec - Use `optionalOmitUndefined` for `recommendedIndex` to emit clean JSON - Fix `request.source.signal` access by guarding with `instanceof Request` - Replace `Effect.catchAllCause` with `Effect.catchCause` in telemetry - Migrate tests from `BashTool` to `ShellTool`, extract `TestConfig` fixture, and convert stats-subagent-cost tests to use `testEffect` - Reorder SDK event union members to match updated OpenAPI schema - Export `aggregateSessionStats` for Kilo regression test coverage - Widen `setViewedSessions` input to accept readonly arrays