Repository navigation
refactor: modularize backend packages, DDD contracts, and leaf tool packages - #160
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@codingcode/coreinto clean single-responsibility workspace packages underpackages/codingcode/*with callee-owned command structs (ClaimTurnCommand,EnsureBaselineCommand,OfferMailboxCommand,SandboxConfig), narrow value objects (SessionLocator/SessionRef), and browser-clean@codingcode/sdkexports.@codingcode/mailboxfrom@codingcode/session: Move inter-agent mailbox queue out ofsessioninto an independent package (Queue.unbounded+OfferMailboxCommand).HOOK_POINTconstants: DefineHOOK_POINTin@codingcode/hook, re-export from@codingcode/sdk, and replace all raw hook literals across backend packages and desktop UI.@codingcode/tool(dsh-style acyclic DAG):@codingcode/toolto pure registry/executor (ToolRegistryService,makeToolRegistryLayer, purecreateToolCatalog) and removeSubagentToolHostService+ globalTOOLS_BY_NAME.tool-prefix:@codingcode/fs,@codingcode/bash,@codingcode/web,@codingcode/self.SpawnSubagentRequest/SubagentHandleand the 6 subagent tools directly into@codingcode/subagent(src/tools/), consumingSubagentRunRegistryServicedirectly without circular dependencies.packages/codingcode/app/src/layer.ts.Verification
pnpm install --offline(32 workspace projects, zero cyclic workspace warnings)pnpm exec tsc -b(0 errors)pnpm exec vitest run(148 / 148 test files, 909 / 909 tests passed)pnpm run lint(0 errors)pnpm --filter @codingcode/app run bundle(dist/cli.bundle.jsbuilt cleanly)