Tag: architecture
All the articles with the tag "architecture".
-
Provider Switching & SDK-Mode Internals: How an Agent Harness Wires Claude's query() In-Process
🇺🇸 ENMost agent harnesses hide more complexity than their README admits. This deep-dive traces a single chat message from WebSocket to token pool - covering in-process SDK calls vs. subprocess spawning, the HarnessEvent seam that makes providers swappable, and the OAuth token rotation that survives rate-limits and 401s.
-
Đổi Provider & Bên Trong SDK Mode: Agent Harness Kết Nối query() của Claude In-Process Ra Sao
🇻🇳 VIHầu hết agent harness che giấu nhiều thứ hơn README thú nhận. Bài này truy vết một tin nhắn chat từ WebSocket đến token pool - bao gồm gọi SDK trong tiến trình so với spawn subprocess, seam HarnessEvent giúp provider có thể hoán đổi, và cơ chế xoay OAuth token khi gặp rate-limit và 401.
-
Inside the Brainstorming Skill, Part 6: Under the Hood
🇺🇸 ENAn appendix. Parts 0–5 documented what the brainstorming skill does; this one opens the visual companion and looks at the machinery - a zero-dependency Node server with a hand-rolled WebSocket, a filesystem seam between the agent and the browser, and a security model for a localhost server that might not stay on localhost.
-
Hexagonal Architecture (Ports & Adapters): Tài liệu tham khảo toàn diện
🇻🇳 VITài liệu tham khảo toàn diện về Hexagonal Architecture (Kiến trúc lục giác / Ports & Adapters): nguồn gốc, khái niệm cốt lõi về chiều phụ thuộc, và công thức thực tiễn cho backend TypeScript hiện đại.