Centralize Journey mapping, interaction ordering, and localized tool presentation; remove redundant multiplexer and paywall state. Consume AgentKit 2.2.0 for shared operation, output, and transcript contracts, and correct its maintenance checkout documentation. Validation: AgentKit 304 tests and local-package macOS/shared 215 regressions passed. iOS app built; 38 focused tests reported passing with an existing broken fixture excluded, but Xcode finalization stalled. Default macOS tests retain timeouts and Secure Enclave failures. A subsequent remote-pin build reported AgentTranscriptMessage.toolResult unavailable; it has not been diagnosed. Co-Authored-By: Claude Code <noreply@anthropic.com>
14 lines
437 B
Swift
14 lines
437 B
Swift
import TermindApplication
|
|
import TermindDomain
|
|
|
|
extension RemoteSessionBackendRegistry {
|
|
public nonisolated static var live: Self {
|
|
Self(
|
|
Dictionary(
|
|
uniqueKeysWithValues: RemoteMultiplexerRegistry.dialects.map {
|
|
dialect -> (SessionPersistenceBackendID, Factory) in
|
|
(dialect.id, { execute in dialect.backend(execute: execute) })
|
|
}))
|
|
}
|
|
}
|