claude-code-best
b681139b63
docs: update contributors
2026-04-10 10:14:34 +00:00
claude-code-best
0b1e678fb7
fix: 修复 mintlify ignore, 修复侧边栏
2026-04-10 18:14:07 +08:00
CyberScrubber
81073135e2
docs: 审校 Agent 文档术语与架构描述准确性(docs/agent) ( #231 )
...
基于源码验证和官方文档对照,修正三份 Agent 文档的内容准确性:
coordinator-and-swarm.mdx:
- 对齐官方术语:Leader→Team Lead, teammate→Teammate, 引入 Mailbox 消息系统
- 修正 Swarm 门控为 CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1(原文"默认启用"不准确)
- 拓扑描述改为"星型+P2P混合"(官方有 Team Lead 角色,非纯网状)
- 新增架构组件表、Mailbox 消息系统、Hook 事件(TeammateIdle/TaskCreated/TaskCompleted)、限制说明
- 新增持久化存储路径(~/.claude/teams/, ~/.claude/tasks/)
- 移除虚构的"高水位标记"(claimTask 仅使用文件锁)
- 修正 Scratchpad 描述(Workers 获得,非 Coordinator 拥有)
- 修复引号不匹配
sub-agents.mdx:
- 修正为三路径路由(命名 Agent / Fork / GP 回退),原文仅两种
- 补充 isForkSubagentEnabled() 三前提(feature flag + 非Coordinator + 非非交互式)
- 新增模型解析优先级(4级链 + inherit 运行时解析)
- 新增内置 Agent 表(Explore/Plan/GP/statusline-setup/claude-code-guide)
- 新增 Hook 事件表(frontmatter + settings.json 双级别)
- 补充异步生命周期完整链路(finalizeAgentTool → getWorktreeResult)
- 补充 transcript 存储路径和结果格式细节
worktree-isolation.mdx:
- 区分 createWorktreeForSession vs createAgentWorktree 两种函数
- 修正清理机制为 cleanupWorktreeIfNeeded(非 ExitWorktreeTool 手动操作)
- 补充 usedSparsePaths 字段
2026-04-10 18:00:42 +08:00
claude-code-best
ff03fe7fcb
fix: 修复类型问题
2026-04-10 17:34:01 +08:00
yhangf
8258d9be59
fix(agents): normalize tool name references in built-in agent prompts
2026-04-10 17:26:05 +08:00
geroge
afee7d3ed2
Merge pull request #22 from yhangf/main
...
Refactor AgentTool to disable strict spec agent
2026-04-10 17:01:10 +08:00
yhangf
0fef4c250f
refactor(AgentTool): disable strict spec agent
2026-04-10 16:59:30 +08:00
geroge
8d456ae7dd
Merge pull request #21 from xixingde/main
...
refactor(agents): migrate agents to dedicated module and add new agent types
2026-04-10 16:17:23 +08:00
xixingde
5b852bf6bc
docs: update contributors
2026-04-10 08:00:58 +00:00
xixingde
058a772cb8
Merge branch 'main' of https://github.com/xixingde/csc
2026-04-10 15:59:40 +08:00
xixingde
53a2d16943
Merge branch 'main' of https://github.com/xixingde/csc
2026-04-10 15:55:12 +08:00
xixingde
557b873a79
feat(agents): add isMainThread flag to agent definition for full tool access
2026-04-10 15:54:42 +08:00
geroge
c4238f5125
Merge pull request #19 from Askhz/feat/costrict-sidequery
...
feat(sideQuery): add OpenAI and CoStrict provider support
2026-04-10 15:54:39 +08:00
geroge
b5b741ca20
Merge pull request #20 from y574444354/docs/rewrite-readme-costrict
...
docs: 以 CoStrict 企业视角重写 README
2026-04-10 15:51:20 +08:00
y574444354
249ac7a242
docs: rewrite README from CoStrict enterprise perspective
...
- Rebrand from CCB to CoStrict with enterprise positioning
- Document CoStrict-specific modules: OAuth provider, structured agents, skills
- Add enterprise auth flow with token refresh strategy diagram
- Add StrictSpec full-pipeline agent orchestration (requirement→design→plan→code)
- Document 8 API protocols with CoStrict as primary provider
- Add comparison table between CoStrict and upstream CCB
- Update tool system, feature flags, workspace packages to current state
- Fix bin command (ccb→csc), Bun version requirement (1.3.11→1.2.0)
- Update test stats (2430 tests / 137 files / 3982 expect)
2026-04-10 15:47:55 +08:00
Askhz
c65bbeaeba
feat(sideQuery): add OpenAI and CoStrict provider support
...
- Route sideQuery to appropriate provider based on config
- Add sideQueryCoStrict() for CoStrict API integration
- Add sideQueryOpenAI() for OpenAI API integration
- Both implementations return BetaMessage format for compatibility
2026-04-10 15:44:54 +08:00
geroge
9975d8c38d
Merge branch 'claude-code-best:main' into main
2026-04-10 15:42:09 +08:00
geroge
989bd7f2a7
Merge pull request #17 from Askhz/feat/disable-nonessential-traffic
...
feat(cli): disable nonessential traffic and remote settings by default
2026-04-10 15:42:00 +08:00
geroge
c5b44cbe4d
Merge pull request #18 from y574444354/refactor/replace-claude-with-costrict
...
refactor: replace Claude's with CoStrict's in user-facing copy
2026-04-10 15:40:14 +08:00
y574444354
8ea29466ee
refactor: replace "Claude's" with "CoStrict's" in user-facing copy
...
Replace all "Claude's" references with "CoStrict's" across 34 source files
including commands, components, services, tools, and utilities.
2026-04-10 15:35:08 +08:00
Askhz
49ec57a226
feat(cli): disable nonessential traffic and remote settings by default
2026-04-10 14:50:27 +08:00
y574444354
121537e969
docs: update contributors
2026-04-10 06:24:46 +00:00
y574444354
2f3038c0ef
Merge pull request #16 from yhangf/main\n\nrefactor skills structure\n\n* docs: update contributors\n* refactor(skills): move projectWiki and tdd skills from bundled to src/costrict/skill\n* docs: update contributors
2026-04-10 14:24:24 +08:00
xixingde
47b2db23df
feat(strictPlan): add allowedTools configuration to restrict available tools
2026-04-10 12:24:43 +08:00
xixingde
082345b8aa
refactor(costrict): replace SpecPlan agent with StrictPlan skill
2026-04-10 12:17:56 +08:00
guunergooner
c82f59943c
fix(openai): fix stop_reason null, zero usage fields and max_tokens forwarding
...
- Fix stop_reason always null in assembled AssistantMessage by applying
the value captured from message_delta event
- Reset partialMessage to null after message_stop to prevent duplicate
AssistantMessage emission causing doubled content in next API request
- Forward computed maxTokens into buildOpenAIRequestBody as max_tokens
so OpenAI-compatible endpoints receive the intended output cap
- Extract assembleFinalAssistantOutputs helper to deduplicate message
assembly logic between message_stop handler and post-loop fallback
- Fix test helper to use events parameter instead of hidden global
- Add regression test for max_tokens request forwarding
Signed-off-by: guunergooner <tongchao0923@gmail.com>
2026-04-10 12:17:52 +08:00
claude-code-best
e70319e8f5
docs: 更新远程控制及 rg 下载
2026-04-10 12:11:04 +08:00
y574444354
79a058e8ce
docs: update contributors
2026-04-10 03:02:08 +00:00
y574444354
90908ba929
merge upstream/main: 同步上游更新并解决冲突
...
冲突解决策略:
- CLAUDE.md: 保留版本号 4.0.1 和品牌化(csc/claude-code-best),
采纳上游的 CI 信息、Ink 框架位置提醒、Type Safety Guidelines
- configs.ts: 保留 costrict provider,同时采纳上游新增的 grok provider
- ConsoleOAuthFlow.tsx: 保留简洁的 orgResult.message 写法
- contributors.svg: 使用上游版本
2026-04-10 10:57:02 +08:00
xixingde
46ba58e46e
refactor(strictPlan): update system prompt to clarify role and correct tool references
2026-04-10 10:29:56 +08:00
claude-code-best
609e91143f
docs: 尝试 docs 文档更新
2026-04-10 10:15:19 +08:00
yhangf
d18c9ac86a
docs: update contributors
2026-04-10 02:10:12 +00:00
yhangf
b3207747c4
refactor(skills): move projectWiki and tdd skills from bundled to src/costrict/skill
2026-04-10 10:09:48 +08:00
xixingde
2f115cfd0b
refactor(agents): reorganize strictPlan agent workflow and remove constraints
2026-04-10 10:00:09 +08:00
yhangf
8b6bca6820
docs: update contributors
2026-04-10 01:50:04 +00:00
y574444354
b00608c2f3
docs: update contributors
2026-04-10 01:49:02 +00:00
geroge
1f68cd74e3
Merge pull request #14 from Askhz/refactor/first-login
...
refactor: remove OAuth/preflight from onboarding and fix model picker reload after CoStrict login
2026-04-10 09:48:50 +08:00
xixingde
7c35afe819
docs: update contributors
2026-04-10 01:44:11 +00:00
y574444354
a9ee8d6317
docs: update contributors
2026-04-10 01:39:45 +00:00
geroge
795000f116
Merge pull request #15 from yhangf/main
...
Migrate StrictSpec workflow to CSC with two-layer architecture
2026-04-10 09:39:32 +08:00
yhangf
697c5fe29d
docs: update contributors
2026-04-10 01:34:22 +00:00
yhangf
f5489e0880
Merge branch 'main' of https://github.com/yhangf/csc
2026-04-10 09:34:08 +08:00
yhangf
0d1754614a
refactor(agents): 改回2层架构,StrictSpec 直接调 SubCoding
...
- StrictSpec 精简为~60行,stage 4 直接调 SubCoding(绕过 SpecPlan 中间层)
- 移除 SpecPlan 注册(3层嵌套对外部用户不可用,ALL_AGENT_DISALLOWED_TOOLS 限制)
- SubCoding 自带探索/实施能力,无需上层准备 proposal/task.md
- 支持 teammates 并行调用 SubCoding,自动降级串行
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 09:32:21 +08:00
yhangf
7ee0b3a6a2
refactor(agents): 清理 StrictSpec 架构,删除 PlanManager
...
- StrictSpec 精简为纯4阶段分发器(~40行),只负责编排,不含实施细节
- SpecPlan 成为唯一实施协调逻辑来源(探索→提案→验证→实施→收尾)
- 删除 planManager.ts 文件
- builtInAgents.ts 去除重复注册、移除 PLAN_MANAGER_AGENT
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 09:23:19 +08:00
yhangf
d7800bdde9
docs: update contributors
2026-04-10 00:56:26 +00:00
yhangf
bb1e88ea82
Merge branch 'main' of https://github.com/yhangf/csc
2026-04-10 08:56:09 +08:00
yhangf
fc9bbc9b0f
Merge pull request: feat/strictspec-agent
...
迁移 StrictSpec 工作流到 csc,采用2层架构:
- StrictSpec 作为唯一协调者,直接调度 Requirement/DesignAgent/TaskPlan/QuickExplore/TaskCheck/SubCoding
- 支持 SubCoding teammates 并行实施,自动降级串行
- 注册所有叶子 agent 到 builtInAgents
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 08:49:23 +08:00
claude-code-best
637531f81f
fix(types): simplify bridge transport message type
...
Replace StdoutMessageWithSession conditional type with simpler
TransportMessage intersection type. The conditional type was
over-engineered for what is just StdoutMessage & { session_id? }.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-09 23:55:54 +08:00
claude-code-best
875510e1eb
docs: update CLAUDE.md with architecture details and type safety guidelines
...
- Update build/dev mode descriptions to reflect current feature flags
- Add workspace packages table and multi-API compatibility layer docs
- Add Type Safety Guidelines section: prohibit `as any` in non-test code,
document proper alternatives (Record<string, unknown>, dual assertion,
type guards, specific SDK types)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-09 23:55:05 +08:00
claude-code-best
34bbc1d403
fix(types): replace all as any with proper type assertions
...
Eliminate unsafe `as any` casts across 21 non-test source files,
replacing them with specific type annotations:
- Bridge transport: use StdoutMessage type for write/writeBatch calls
- print.ts: type msg.request as Record<string, unknown> for unknown
SDK control subtypes; use StdoutMessage for output.enqueue()
- API providers (openai/grok/gemini): import ChatCompletion types,
type streams as AsyncIterable<ChatCompletionChunk>, type request
bodies as ChatCompletionCreateParamsStreaming
- Computer use executor: use Partial<ResolvePrepareCaptureResult>
for cross-platform screenshot result
- Components: replace Ink color string casts with proper typing
- Win32 bridge: type stdin as Writable after null check
All 2453 tests pass with 0 failures.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-09 23:51:33 +08:00