OpenCode — public architecture study
Map the public client/server boundary, provider abstraction, session state, tool registry, and terminal integration. Compare the design with the agent loop in Lesson 01 and note which concerns are centralized versus delegated.