codebee 0.1.9 → 0.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,12 @@ CodeBee 的用户可感知变更记录。发布新版时:最上面加一节,
4
4
  `<!-- relnotes:start -->…<!-- relnotes:end -->` 段(那段会被 `npm view` 的
5
5
  README 元数据带回,供老版本在「发现新版本」时展示新版更新内容)。
6
6
 
7
+ ## v0.1.10(2026-09-18)
8
+
9
+ - Git 工作台「建 PR」支持自定义标题:提交信息框有内容时自动兼作 PR 标题(一处输入两用)
10
+ - Best-of-N 败者精华并入修订:终审从落选候选稿提炼的优点随评审意见一并喂给作者
11
+ - 报告与对话的围栏代码块统一渲染;竞品调研知识库(docs/borrow-log/knowledge.md)建立并沉淀 40+ 项目
12
+
7
13
  ## v0.1.9(2026-09-18)
8
14
 
9
15
  - 类型菜单项显示成本预估:每个任务类型一行「≈N tokens · N 次」(近 90 天同类台账中位数,无样本自动隐藏)
package/app/ui/app.js CHANGED
@@ -4099,8 +4099,13 @@ window.gitWbFetch = function () { return _gitWbPost("fetch", null, t("已抓取
4099
4099
  window.gitWbPull = function () { return _gitWbPost("pull", null, t("已拉取远程更新")); };
4100
4100
  window.gitWbPush = function () { return _gitWbPost("push", null, t("已推送到远程")); };
4101
4101
  window.gitWbPrCreate = async function () {
4102
- if (!await uiConfirm(t("把当前分支推送到远程并用 gh 创建 PR?(目标分支自动取 main/master)"), { ok: t("建 PR") })) return null;
4103
- const res = await _gitWbPost("pr_create", null,
4102
+ // 提交信息框有字时兼作 PR 标题(一处输入两用,不为 PR 单开输入框)
4103
+ const mt = ((($("gwb-msg") || {}).value || "").trim());
4104
+ const q = mt
4105
+ ? t("把当前分支推送到远程并用 gh 创建 PR?(目标分支自动取 main/master;提交信息框内容将作为 PR 标题)")
4106
+ : t("把当前分支推送到远程并用 gh 创建 PR?(目标分支自动取 main/master)");
4107
+ if (!await uiConfirm(q, { ok: t("建 PR") })) return null;
4108
+ const res = await _gitWbPost("pr_create", mt ? { title: mt.slice(0, 120) } : null,
4104
4109
  (r) => (r && r.url ? t("PR 已创建:") + r.url : t("PR 已创建")));
4105
4110
  if (res && res.url) window.open(res.url, "_blank", "noopener");
4106
4111
  return res;
package/app/ui/i18n.js CHANGED
@@ -681,6 +681,7 @@
681
681
  "建 PR": "Create PR",
682
682
  "推送当前分支并用 gh 创建 PR(目标分支自动取 main/master)": "Push current branch and create a PR with gh (base auto-detected: main/master)",
683
683
  "把当前分支推送到远程并用 gh 创建 PR?(目标分支自动取 main/master)": "Push current branch and create a PR with gh? (base auto-detected: main/master)",
684
+ "把当前分支推送到远程并用 gh 创建 PR?(目标分支自动取 main/master;提交信息框内容将作为 PR 标题)": "Push current branch and create a PR with gh? (base auto-detected: main/master; the commit message box will be used as the PR title)",
684
685
  "PR 已创建:": "PR created: ",
685
686
  "PR 已创建": "PR created",
686
687
  "背景信息、约束、相关文件(可空)": "Background, constraints, related files (optional)",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codebee",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "description": "CodeBee · 多智能体编排台 — 统一编排本机 AI 编码 CLI(Codex / Claude Code / QwenCode / OpenCode / Aider…):目标→拆解→路由→执行→验证→跨厂商评审→修复→报告。纯 Python 标准库实现,本地 Web UI。",
5
5
  "license": "MIT",
6
6
  "bin": {