codebee 0.1.20 → 0.1.21
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 +6 -0
- package/README.md +8 -6
- package/app/core/automation.py +6 -6
- package/app/core/capability.py +16 -2
- package/app/core/catalog.py +1 -1
- package/app/core/covergen.py +40 -4
- package/app/core/dispatch.py +141 -0
- package/app/core/flows.py +5 -0
- package/app/core/jobs.py +281 -166
- package/app/core/manager.py +30 -23
- package/app/core/market_remote.py +66 -22
- package/app/core/modelhub.py +145 -11
- package/app/core/pipeline.py +111 -30
- package/app/core/router.py +18 -7
- package/app/core/runner.py +2 -1
- package/app/core/selfupdate.py +24 -14
- package/app/core/settings.py +3 -3
- package/app/core/skills.py +43 -0
- package/app/core/store.py +20 -14
- package/app/core/zentao.py +26 -6
- package/app/main.py +20 -12
- package/app/pet.py +2 -2
- package/app/ui/app.js +62 -58
- package/app/ui/i18n.js +21 -3
- package/app/ui/index.html +11 -11
- package/app/ui/style.css +2 -0
- package/package.json +1 -1
package/app/ui/index.html
CHANGED
|
@@ -181,9 +181,9 @@
|
|
|
181
181
|
<button class="set-item" data-sub="zentao" data-i18n="禅道"><svg class="ico" aria-hidden="true"><use href="#i-search"></use></svg>禅道</button>
|
|
182
182
|
<button class="set-item" data-sub="usage" data-i18n="用量统计"><svg class="ico" aria-hidden="true"><use href="#i-chart"></use></svg>用量统计</button>
|
|
183
183
|
<div data-i18n="配置" class="set-group">配置</div>
|
|
184
|
-
<button class="set-item" data-sub="agents" data-i18n="
|
|
184
|
+
<button class="set-item" data-sub="agents" data-i18n="本机智能体"><svg class="ico" aria-hidden="true"><use href="#i-cpu"></use></svg>本机智能体</button>
|
|
185
185
|
<button class="set-item" data-sub="models" data-i18n="模型接入"><svg class="ico" aria-hidden="true"><use href="#i-layers"></use></svg>模型接入</button>
|
|
186
|
-
<button class="set-item" data-sub="bindings" data-i18n="
|
|
186
|
+
<button class="set-item" data-sub="bindings" data-i18n="模型调度(可选)"><svg class="ico" aria-hidden="true"><use href="#i-link"></use></svg>模型调度(可选)</button>
|
|
187
187
|
<button class="set-item" data-sub="skills" data-i18n="经验库"><svg class="ico" aria-hidden="true"><use href="#i-book"></use></svg>经验库</button>
|
|
188
188
|
<button class="set-item" data-sub="knowledge" data-i18n="知识库"><svg class="ico" aria-hidden="true"><use href="#i-sigma"></use></svg>知识库</button>
|
|
189
189
|
<button class="set-item" data-sub="market" data-i18n="插件市场"><svg class="ico" aria-hidden="true"><use href="#i-blocks"></use></svg>插件市场</button>
|
|
@@ -616,12 +616,12 @@
|
|
|
616
616
|
<h2 data-i18n="智能体目录">智能体目录</h2>
|
|
617
617
|
<button class="hhelp" data-help-topic="models" title="这是什么?点开看帮助" data-i18n-title="这是什么?点开看帮助" aria-label="帮助" data-i18n-aria="帮助"><svg class="ico" aria-hidden="true"><use href="#i-help"></use></svg></button>
|
|
618
618
|
<div class="actions">
|
|
619
|
-
<button data-i18n="
|
|
619
|
+
<button data-i18n="写入推荐默认模型(可选)" id="btn-catalog-autobind" class="ghost">写入推荐默认模型(可选)</button>
|
|
620
620
|
<button data-i18n="重新加载 catalog" id="btn-reload-catalog" class="ghost">重新加载 catalog</button>
|
|
621
621
|
<button data-i18n="恢复默认 catalog" id="btn-reset-catalog" class="ghost">恢复默认 catalog</button>
|
|
622
622
|
</div>
|
|
623
623
|
</div>
|
|
624
|
-
<p class="hint"><span data-i18n="
|
|
624
|
+
<p class="hint"><span data-i18n="这里管理本机 CLI 的安装、版本、启停、冒烟测试和 CLI 自己的默认模型。CodeBee 运行任务时默认自动推荐厂商与模型,无需绑定;只有需要固定厂商、模型或降级顺序时,才到「模型调度(可选)」页指定。安装命令不明的条目可直接编辑">这里管理本机 CLI 的安装、版本、启停、冒烟测试和 CLI 自己的默认模型。CodeBee 运行任务时默认自动推荐厂商与模型,无需绑定;只有需要固定厂商、模型或降级顺序时,才到「模型调度(可选)」页指定。安装命令不明的条目可直接编辑</span> <code>data/catalog.json</code> <span data-i18n="后点重新加载。">后点重新加载。</span></p>
|
|
625
625
|
<h3 data-i18n="已安装" class="sec-title">已安装</h3>
|
|
626
626
|
<div id="ag-installed" class="cards"></div>
|
|
627
627
|
<h3 data-i18n="可安装" class="sec-title">可安装</h3>
|
|
@@ -651,15 +651,15 @@
|
|
|
651
651
|
</div>
|
|
652
652
|
</div>
|
|
653
653
|
|
|
654
|
-
<!--
|
|
654
|
+
<!-- 模型调度(可选) -->
|
|
655
655
|
<div id="sub-bindings" class="subpage hidden">
|
|
656
656
|
<div class="panel wide">
|
|
657
|
-
<div class="panel-head"><h2 data-i18n="
|
|
657
|
+
<div class="panel-head"><h2 data-i18n="模型调度(可选)">模型调度(可选)</h2>
|
|
658
658
|
<button class="hhelp" data-help-topic="models" title="这是什么?点开看帮助" data-i18n-title="这是什么?点开看帮助" aria-label="帮助" data-i18n-aria="帮助"><svg class="ico" aria-hidden="true"><use href="#i-help"></use></svg></button>
|
|
659
|
-
<button id="btn-autobind" class="ghost small" onclick="autoBindAll()" data-i18n="
|
|
659
|
+
<button id="btn-autobind" class="ghost small" onclick="autoBindAll()" data-i18n="生成推荐指定方案">生成推荐指定方案</button>
|
|
660
660
|
<button id="btn-saveall-bind" class="ghost small hidden" onclick="saveAllBindings()" data-i18n="全部保存">全部保存</button>
|
|
661
661
|
</div>
|
|
662
|
-
<p data-i18n="CodeBee
|
|
662
|
+
<p data-i18n="默认无需绑定:CodeBee 会按任务类型、步骤角色、难度、成本、协议兼容性和健康状态动态推荐厂商与模型,并在无可用供应商时回落 CLI 自身配置。只有需要固定厂商、模型或跨厂商降级顺序时才在这里指定;显式指定会覆盖自动推荐,但不改写 CLI 全局配置。" class="hint">默认无需绑定:CodeBee 会按任务类型、步骤角色、难度、成本、协议兼容性和健康状态动态推荐厂商与模型,并在无可用供应商时回落 CLI 自身配置。只有需要固定厂商、模型或跨厂商降级顺序时才在这里指定;显式指定会覆盖自动推荐,但不改写 CLI 全局配置。</p>
|
|
663
663
|
<div id="binding-list" class="cards"></div>
|
|
664
664
|
</div>
|
|
665
665
|
</div>
|
|
@@ -746,12 +746,12 @@
|
|
|
746
746
|
<p data-i18n="「编排者」是 CodeBee 自己的智能体:直连 API 供应商的模型(不占 CLI 会话),统一负责任务规划拆解、难度判定与写作大纲。未启用或调用失败时自动回落为「最强可用 CLI 智能体」规划,流程永不阻塞。" class="hint">「编排者」是 CodeBee 自己的智能体:直连 API 供应商的模型(不占 CLI 会话),统一负责任务规划拆解、难度判定与写作大纲。未启用或调用失败时自动回落为「最强可用 CLI 智能体」规划,流程永不阻塞。</p>
|
|
747
747
|
<div id="orch-config"></div>
|
|
748
748
|
<h3 data-i18n="运行设置" class="sec-title">运行设置</h3>
|
|
749
|
-
<div class="field"><label data-i18n="
|
|
749
|
+
<div class="field"><label data-i18n="并发保护上限(默认立即运行)">并发保护上限(默认立即运行)</label>
|
|
750
750
|
<div class="input-row">
|
|
751
|
-
<input id="set-workers" type="number" min="1" max="12" value="
|
|
751
|
+
<input id="set-workers" type="number" min="1" max="12" value="12">
|
|
752
752
|
<button data-i18n="保存" class="ghost small" onclick="saveSettings()">保存</button>
|
|
753
753
|
</div>
|
|
754
|
-
<p data-i18n="
|
|
754
|
+
<p data-i18n="任务默认立即运行,不进入等待队列;达到上限时会明确提示稍后重试。同一任务仍单飞,自动续跑的退避等待不占执行位。" class="hint">任务默认立即运行,不进入等待队列;达到上限时会明确提示稍后重试。同一任务仍单飞,自动续跑的退避等待不占执行位。</p>
|
|
755
755
|
</div>
|
|
756
756
|
<div class="field"><label data-i18n="默认保存路径(新建任务未指定工作目录时使用;支持 ~)">默认保存路径(新建任务未指定工作目录时使用;支持 ~)</label>
|
|
757
757
|
<div class="input-row">
|
package/app/ui/style.css
CHANGED
|
@@ -5390,3 +5390,5 @@ body.welcome-open { overflow: hidden; }
|
|
|
5390
5390
|
|
|
5391
5391
|
/* 对话页语音输入按钮(借鉴 paseo voice):识别中高亮呼吸 */
|
|
5392
5392
|
#rd-chat-voice.live { color: var(--bad); animation: cb-rise .6s ease infinite alternate; }
|
|
5393
|
+
/* 设置导航标题保持单行,避免较长标题在手机抽屉里增高并把末尾入口推离视口。 */
|
|
5394
|
+
.side-settings .set-item { white-space: nowrap; }
|
package/package.json
CHANGED