Commit Graph

403 Commits

Author SHA1 Message Date
geroge
cb6108610d
Merge pull request #24 from Askhz/fix/model-login-sync
feat(logo): show "Not logged in" state and provider display name in logo
2026-04-11 11:45:44 +08:00
geroge
96d33530e8
Merge pull request #23 from yhangf/main
fix(agents): normalize tool name references in built-in agent prompts
2026-04-11 11:45:17 +08:00
yhf
8cb9343adf
Merge branch 'y574444354:main' into main 2026-04-11 09:21:34 +08:00
Askhz
6fb91d2c28 feat(logo): show "Not logged in" state and provider display name in logo
Add isNotLoggedIn() utility to detect unauthenticated state and display
"Not logged in" message in both LogoV2 and CondensedLogo components.
Replace billing type with provider display name (e.g. "OpenAI", "AWS
Bedrock") when logged in. Subscribe to authVersion to re-render on
login/logout. Add third-party provider model options for OpenAI, Gemini,
Grok, Bedrock, Vertex, and Foundry. Disable biome formatter.
2026-04-11 01:41:55 +08:00
y574444354
e577962516 品牌名称微调 2026-04-10 23:13:43 +08:00
y574444354
6f233a6586 feat(costrict): add depthGuard agent and refine strictPlan/strictSpec workflow
- Add depthGuard agent for depth-limiting sub-agent orchestration
- Update strictPlan/strictSpec agents with improved task handling
- Refresh builtin skill registry
- Update builtInAgents with depthGuard integration
- Add nested-agent design docs and user guide
- Update README_EN with project documentation
2026-04-10 21:42:53 +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
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