Skip to content

v1.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 05 Jul 05:18

1.0.0 (2026-07-05)

Bug Fixes

  • add globalStyles and lightTheme to App (c88017f)
  • chat: 前端全选时不传 tools 时启用全部注册工具而非回退 config.tools.enabled (74d647e)
  • close PGlite DB instances in afterEach to prevent WASM memory leak (890610c)
  • core/llm/web: 修复 tool 流式调用入参持久化与前端渲染问题 (1138b57)
  • llm: address code review — usage loss, streaming, error taxonomy, auth fallback (42b88f2)
  • openai-compat: 排除空字符串 finish_reason 导致的过早 finishAll (ede6651)
  • PGLite 优雅关闭及伪类选择器修正 (916cddc)
  • ReasoningBlock/FileCodeBlock UI — 内容区域限高滚动,移除折叠切换 (d3dee04)
  • resolve @/ alias import issue in vite.config.ts (fbb5ad2)
  • session: address code review — entry ordering, snapshot dedup, ILIKE escaping (2ca443b)
  • Settings apiKey 密文不回显 + 列表输入修复 (0980717)
  • settings: 移动默认 Provider/Model 区块到 LLM Provider 之后 (66b6272)
  • tool_call 配对与容错——过滤空 id tool_call、截断 arguments 不抛错、修复 tool_call_id 传递 (38ac078)
  • tools: biome lint/format, import sources, non-null assertions (a6629b0)
  • ui (82d63d8)
  • web: biome formatting, type fixes, add react-router-dom + @codemirror/commands deps (cd3928a)
  • web: correct linaria :global syntax, switch Shiki to fine-grained bundle (03694de)
  • web: LLMDetail.test 修复 noUncheckedIndexedAccess 报错(预存问题) (badc48e)
  • web: mark /tmp as external in node project to restore loader tests (60795a3)
  • websearch: createFetch 用 undici 自带 fetch 避免 Node 捆绑版跨版本 Dispatcher 冲突 (aab66eb)
  • web: surface write-failure errors and cap ContentDiff height (52a9c22)
  • web: 为 ToolBlock/MessageItem 测试补 FileSelectionContext Provider;biome 格式化 (8f69da3)
  • web: 修复权限弹窗重复点击 404 及 API 错误响应解析 (5ba148d)
  • web: 编辑 provider name 避免 key 变化导致输入行失焦 (0cc86f4)
  • 工具参数解析失败时透明跳过;修复历史 tool 消息渲染为两张卡 (72a959f)

Features

  • @ mention 调用 subagent + AtFilePopover agent 渲染 (94e2d10)
  • add barrel exports and package skeleton for all modules (183ba0c)
  • add provider config panel (f25cc10)
  • add shared agent types (AgentState, AgentEvent, AgentStatus) (9a4b9c9)
  • add shared base types (JSONSchema, MessageRole, SessionRef) (df34947)
  • add shared config types (Config, CompactionConfig, MCPServerConfig) (be54d3d)
  • add shared message types (Message, Session, MessageContent) (32c3e86)
  • add shared tool types (ToolDef, ToolResult, ToolContext) (dbf6b26)
  • add shared utilities (generateId, now) with vitest setup (0723851)
  • agents: 4 个内置默认 agent (general/coder/researcher/reviewer) (4be039b)
  • agents: AgentDefinition 类型与内存注册表 (969e11e)
  • agents: barrel 导出 + Config.agents 配置字段 (3b60fe0)
  • AgentSelector 组件 + useComposerDefaults agent 状态 (cdbc930)
  • agents: markdown frontmatter discovery (33d47eb)
  • agents: SubAgent 类型 + yield 工具 + runSubAgent 按 agentType 派发 + task 工具批量/并行 (0fcf3c6)
  • agents: 后台 subagent + 可选 git worktree 隔离(自动 apply 回父) (bd7e41c)
  • chat 路由支持 agent/agents 参数 + 段检测 agent 比较 (0ae7133)
  • chat: /api/chat 支持 images 与 files 文件上下文 (06d4559)
  • chat: resolve agent cwd from session project worktree (6eb8f0d)
  • ChatView 接入 AgentSelector + ChatOpts/SendPayload agent 字段 (63a2be7)
  • cli: chat command, acp command, bin entry point (de6c5e8)
  • cli: parser, deps assembler, ACP codec, confirm prompt (a165349)
  • cli: serve, init, config, plugin commands + print mode (5b4d831)
  • composer: contenteditable 编辑器组件(含 isEmpty 占位符 overlay) (d6d8c03)
  • composer: DOM 光标管理工具(移植) (131fe1c)
  • composer: parseFromDOM/reconcile 双向同步 (68cf299)
  • composer: Prompt 数据结构与辅助函数 (3caaa0b)
  • composer: 动态占位符 (f55d300)
  • composer: 历史回溯纯函数 (d523a7d)
  • composer: 图片附件缩略图条 (3484669)
  • composer: 容器组件,编排编辑器/popover/附件/权限/拖拽 overlay (005ca2b)
  • composer: 引入 SnippetPart 选区引用 pill (e91db07)
  • composer: 斜杠与@文件 popover (120aade)
  • composer: 权限 dock 组件 (0a226b1)
  • composer: 粘贴判定纯函数 (ce83b9c)
  • composer: 非受控编辑器 hook (035dbd7)
  • config: WebSearchConfig 类型与默认值,tools.enabled 含 websearch (2d725d7)
  • context: messageToChatMessage 支持多模态 image part (c9deff8)
  • core,server,db: 工具指标(§16.5)、密钥加密、服务端认证/CORS 中间件 (1f62bda)
  • core/tools: Prompt Registry, Task 工具, URL Resolver (d03a549)
  • core: add agent factory, runAgent, and control functions (2b08a5b)
  • core: add agent loop — streaming, tool exec, steering, compaction (c1bbbaa)
  • core: add barrel export for full core package API (7a33794)
  • core: add compaction bridge — LLM summarizer + session compactSession (de71937)
  • core: add config management — three-layer merge, load/save (0924c88)
  • core: add core types — AgentDependencies, PromptContext, SlashCommand (a4a7f9c)
  • core: add optional hookRunner to AgentDependencies (4ef249c)
  • core: add slash commands — help, compact, model, clear, fork, config (b193d1a)
  • core: add steering message queue operations (8c98fcb)
  • core: add system prompt builder with tools, project context, paradigm (d366c60)
  • core: add token budget management and context fitting (1cbdd2c)
  • core: add tool execution wrapper with parallel + conflict detection (b537632)
  • core: integrate hookRunner into tool execution (721dfd5)
  • core: integrate hooks into agent loop (77ea3c1)
  • core: loop 段管理 — 指纹判定开段 + 轻量 call 构造 (92f77f3)
  • core: token 预算按 20/60/20 分配 + 校准系数 calibrationFactor (d534187)
  • core: 系统提示词重写——工程原则、执行工作流、交付契约 (03432c1)
  • db: add createDB factory for PGLite and PostgreSQL drivers (95598f5)
  • db: add DBConfig/DBDriver types and Drizzle schema for sessions, entries, archives, snapshots (e077c5d)
  • db: add migrateDB runner for PGLite migrations (da0139a)
  • db: add projects table and sessions.projectId (b27828f)
  • db: sessions 加 agentType/worktreePath 列 + migration (8eefed8)
  • files 路由/前端全线透传 projectId,支持多项目 worktree 文件操作 (9213fa9)
  • GET /api/agents 暴露 agent 注册表 (5c9361d)
  • implement complete c0de-agent system (a685a19)
  • LLM 调用详情实时推送 + marked 异步渲染修复 (b9841d2)
  • llm: add barrel export and complete LLM provider layer (8a7fd24)
  • llm: add context-overflow detection (19 regexes + status fallback) (12b2870)
  • llm: add fallback chain routing (retry + fall-over policy) (7f53d7c)
  • llm: add OpenAI-compatible protocol (body builder, stream step, route) (7d20d32)
  • llm: add protocol utils (tool-stream accumulator, lifecycle state) (988ea50)
  • llm: add provider registry with role routing and capability DB (d308a94)
  • llm: add public chatStream/chat API bridging ChatRequest to StreamChunk (c14a1eb)
  • llm: add retry policy and token estimation (6006152)
  • llm: add schema barrel export (5b60be7)
  • llm: add schema errors (10-tag LLMErrorReason, LLMError factory, ToolFailure) (ac75a03)
  • llm: add schema events (Usage, 16-tag StreamEvent, LLMResponse) (fcaf80f)
  • llm: add schema ids (branded types) and options (model, generation, cache) (48a99fa)
  • message: MessageContent 增加 image 多模态变体 (ab00047)
  • permission: 将授权默认模式从硬编码改为 config.permission.defaultMode 可配置 (dd65f7c)
  • plugins: add barrel export (11f571c)
  • plugins: add builtin hooks (audit-log, write-guard) (6a0c46d)
  • plugins: add hook runner with chain/broadcast/timeout (2040392)
  • plugins: add plugin lifecycle (activate/deactivate) (ced0fb7)
  • plugins: add plugin loader and discovery (9afc4d6)
  • plugins: add plugin registry (f516196)
  • plugins: add plugin types and logger (10471dd)
  • primary agent role section override + 段记录 agentName (36c2ced)
  • project: add barrel exports (9bdb1b4)
  • project: add project DB operations layer (caaa180)
  • project: add resolveProject with git-first identity (57c84ce)
  • ReasoningBlock: 折叠态显示最后一行预览 (66e489d)
  • scaffold @c0de/core, @c0de/llm, @c0de/tools packages (ba97d18)
  • scaffold @c0de/web (React + Vite + PWA) (81018f3)
  • scaffold remaining packages (mcp, plugins, db, session, server, cli) (1885d64)
  • server: add app factory, server bootstrap, and barrel export (Task 11) (240188e)
  • server: add projects HTTP API and register route (39c6a50)
  • server: add types, context, error middleware, agent-manager, and interactive permission checker (Tasks 1-4) (1dea8dc)
  • server: implement route modules (health, session, config, tool, chat, files) (f5dc15e)
  • server: llm-details 端点返回 segments (96044ee)
  • server: session route supports projectId filter and directory association (009f5c5)
  • server: 新增 GET /api/commands 端点 (720f630)
  • server: 模型/工具变更分段预检 409 + createAgent 段历史水合 (fa81f5d)
  • server: 装配 agentRegistry 到 ServerContext 并注入 agent loop (6759d66)
  • session: add branching, file snapshots, and searchable archives (5e6f10b)
  • session: add compaction and squash with injected summarizer (4dadadf)
  • session: add context reconstruction, barrel export, and integration tests (1b2dbf6)
  • session: add entry types and CJK-aware token estimation (792d54e)
  • session: add projectId to Session and createSession (dc5a4d2)
  • session: add session CRUD and message persistence (02916c0)
  • session: 分段增量存储 — 段读写/指纹/legacy 迁移 (679adbd)
  • session: 新增 StickyUserMessage 顶部滞留浮层,支持滚动钉住最近用户消息 (5543a5d)
  • Settings 页面重写——GUI/JSON 双视图、导入导出、MCP 配置、完整配置覆盖 (8acaf47)
  • Settings: 默认 Provider/Model 改为从已配置 provider 派生的 select 下拉选择 (aa05dfd)
  • tools: add barrel export and default registry (b22cb61)
  • tools: add bash tool with process tree kill and timeout (8e36e64)
  • tools: add edit tool with fuzzy whitespace matching (ecad7c8)
  • tools: add glob tool with glob-to-regex pattern matching (91a2add)
  • tools: add grep tool with regex content search (81d95de)
  • tools: add JSON Schema validation (2cde1d6)
  • tools: add local tool-system types (73fa0b3)
  • tools: add output truncation (ab1f20f)
  • tools: add permission checker (e85c171)
  • tools: add read tool (8c9abaf)
  • tools: add tool executor pipeline (59a18d6)
  • tools: add tool registry with lazy factory support (3dc2c70)
  • tools: add write tool (0051055)
  • web: add BashToolView with command, output, exit code (043ed40)
  • web: add ContentDiff for line-level old/new text comparison (2d22515)
  • web: add diff theme vars, extToLang mapping, and session icons (a2b8804)
  • web: add EditToolView with ContentDiff (3d15a0c)
  • web: add GrepToolView, GlobToolView, FallbackToolView (b07fdec)
  • web: add MessageItem list-style renderer (3f77aaa)
  • web: add normalizeParts to merge tool_call/tool_result into render blocks (182be46)
  • web: add PartDecoration with icon dispatch and timeline bar (ceb9e9f)
  • web: add Project type and project API client (33d1519)
  • web: add ProjectIndicator component (cd68f34)
  • web: add ReadToolView, WriteToolView with FileCodeBlock (956b957)
  • web: add SessionSummary panel with model capability tracking (5d43a46)
  • web: add ToolBlock dispatcher with status and per-tool views (17ba86e)
  • web: add useOverflow hook and CopyButton (f698e0e)
  • web: add UserTextBlock, AssistantTextBlock, ReasoningBlock (9d5f55d)
  • web: API service layer with SSE stream parsing (049ec9f)
  • web: buildTimeline latency 配对 + groupBySegment 分组函数 (9974aba)
  • web: chat components - MessageBubble, ToolCall, StreamingIndicator, PermissionDialog (9004d74)
  • web: chat event reducer, session/agent hooks, media query (0c74c67)
  • web: chat service/hook 支持 images 与 files (9619a23)
  • web: Chat 接线 Composer,permission dock 化,删除旧 InputArea/SlashCommandMenu/PermissionDialog (788b644)
  • web: ChatPage 接入文件浏览 panel + SidebarTabs + FileSelectionContext (591cd39)
  • web: file browser, multi-renderer preview, CodeMirror editor{command (3640cce)
  • web: FilePathLink 可点击文件路径 (7be7fda)
  • web: FilePreview 加 header + 关闭按钮 (8df2064)
  • web: FileSelectionContext — 文件选中状态下发 (b82e2e9)
  • web: full session grouping by project + project switcher (e5ba3aa)
  • web: markdown rendering, Shiki highlight, code block, format utils (957060e)
  • web: MessageItem + AssistantTextBlock 透传 latency (da5fb73)
  • web: PWA offline message queue, install prompt hook, manifest icons (9cadba5)
  • web: read/write/edit 工具路径可点击打开预览 (d9d9913)
  • web: responsive layout, chat main view, auto-resize input, slash menu{command (fb5d414)
  • web: scaffold Vite + React project, dual vitest projects, server static (8f047a4)
  • websearch: Brave 独立索引后端 (7df3741)
  • websearch: createWebSearchTool 工厂与 ToolDef (0a8bb9a)
  • websearch: DuckDuckGo Instant Answer 后端 (55d199e)
  • websearch: provider 注册表、选择与格式化 (aba6f74)
  • websearch: Tavily AI 搜索后端 (09771f8)
  • websearch: undici ProxyAgent 代理感知 fetch (8cad76c)
  • websearch: 注册到默认 registry 并接线生产调用点 (9c62163)
  • websearch: 类型与 clampNumResults 常量 (12b73fa)
  • web: SegmentFooter + SegmentBreak 替换 SegmentHeader/CallRow (58af7f8)
  • web: service 类型适配 segments(Phase 1 收尾) (30de768)
  • web: session list, recursive branch tree, react-router-dom wiring{command (9888967)
  • web: SessionSummary 跨段跨 call 统计 (adc1a59)
  • web: settings page (provider/model/tools/compaction/theme), LLM detail panel (f42aff6)
  • web: SidebarTabs 会话/文件侧栏切换器 (ea65578)
  • web: theme system, CSS variables, ThemeContext + ConfigContext providers (3970b02)
  • web: TimelineChat 分组渲染(段断裂+消息+段末汇总) (b97a65d)
  • web: ToolBlock 折叠已完成工具,展示摘要 (7a4fe2b)
  • web: UI 改善——CSS 变量统一、全局表单样式、空状态/错误状态提升、导航指示器 (00119d9)
  • web: voice input, push notifications, touch gestures, share API, sub-agent progress (266e5ed)
  • web: 分段变更确认弹窗 + 可选压缩 + 压缩端点 (731375d)
  • web: 命令拉取 service 与 hook (8d83dc8)
  • web: 接线 subagent_* 事件 + SubAgents 进度组件 (79fb792)
  • web: 文件引用 — 文件树 @ 注入 + 预览区文本选中引用 (23f0615)
  • web: 文件搜索 hook(复用已有 fileAPI.search) (e097a95)
  • web: 时间线统一消息与 LLM 调用视图,新增表格模式 (498a293)
  • web: 用 DirectoryPicker 替换 PathPicker,新增 FileTree 和 ToolToggle 组件 (46f1077)
  • web: 调用详情按段折叠渲染 (aaade0f)
  • 供应商目录 + 文件系统API + 自动标题生成 + UI重构 (32c22ea)
  • 单端口 dev 方案 + server 重构 + 配置兼容 (a0aad3c)
  • 插件系统初始化编排 + URL 内置解析器 + 前端暂停/steer 功能 (8903423)
  • 支持按 project worktree 搜索文件(@ 文件提及) (245f4a1)
  • 斜杠命令拦截 + 代码引用组件 + 移动端导航 + LLM 调用详情 API + 文件预览增强 (f73336d)
  • 新增 DAP 调试协议、更新机制、hashline 工具 (27bf343)
  • 新增 default/plan 两个 primary agent + AgentConfig 类型扩展 (8a34f36)
  • 新增运行时切换的 YOLO 自动授权模式 (b7d2651)
  • 服务中断恢复——LastRun 持久化、中断检测、幂等重发、前端恢复交互 (b8d2d0b)
  • 添加自动更新调度器与前端更新提示组件 (7273903)