feat(rewrite): bootstrap monorepo Bun + port domain layer ke TypeScript
Mulai migrasi Zesdex dari Rust ke TypeScript/Bun.
- Root workspace package.json, tsconfig strict, bun.lock, gitignore fix
- Paket @zesdex/domain (apps/packages/domain):
- core: ChatMessage/Conversation/ToolCall/SseParser/repairJson/
sanitizeToolArguments/UsageStats/Store/DomainError
- auth: Session/SessionId/SessionLock/OAuth + repository & service interfaces
- cms: AppConfig/Settings/SettingsPatch/Memory/EditLog + repository &
service interfaces
- agent: TurnEvent/SessionRuntime/AgentTurnParams/AgentProgress/prompt
- subagent & workflow models
- Wire-shape JSON disamakan dengan Rust (serde rename/flatten/skip_if)
- 27 unit test Bun port dari test Rust (SseParser, repair_json, resolve_effective_model, session id)
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
9d1544d799
commit
07e84e43b3
45 files changed
+2315
-1
No files matched your search
@@ -0,0 +1,10 @@
|
||||
/** Core domain module — shared entities, value objects, and provider types. */
|
||||
export * from "./error.ts";
|
||||
export * from "./message.ts";
|
||||
export * from "./conversation.ts";
|
||||
export * from "./tool_call.ts";
|
||||
export * from "./provider.ts";
|
||||
export * from "./tool_result.ts";
|
||||
export * from "./usage.ts";
|
||||
export * from "./store.ts";
|
||||
export * from "./error.ts";
|
||||
Reference in new issue
Block a user