@aiti-ai/aiti-codebuddy-agent 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/README.md +2 -3
- package/README.zh-CN.md +2 -3
- package/index.ts +4 -3
- package/package.json +11 -2
package/README.md
CHANGED
|
@@ -6,10 +6,9 @@ English · [简体中文](./README.zh-CN.md)
|
|
|
6
6
|
|
|
7
7
|
## About aiti
|
|
8
8
|
|
|
9
|
-
This package is part of the **aiti** ecosystem — a personal AI development workbench powered by [pi](https://pi.dev): **aiti-agent** (a self-hosted web workbench built on the open-source [pi-web](https://github.com/aiti-ai/
|
|
9
|
+
This package is part of the **aiti** ecosystem — a personal AI development workbench powered by [pi](https://pi.dev): **aiti-agent** (a self-hosted web workbench built on the open-source [pi-web](https://github.com/aiti-ai/aiti-ai)) plus debug injection into mainstream dev tools (aiti-devtools) and a rich extension system.
|
|
10
10
|
|
|
11
|
-
- Workbench
|
|
12
|
-
- Ecosystem monorepo: <https://github.com/aiti-ai/aiti-ai>
|
|
11
|
+
- Workbench & monorepo: <https://github.com/aiti-ai/aiti-ai>
|
|
13
12
|
- Site: <https://aiti.pw>
|
|
14
13
|
|
|
15
14
|
Category: Multi-agent backends · Tags: `codebuddy` · `tencent` · `cbc` · `workbuddy` · `cli` · `session` · `multi-agent` · `glm` · `kimi`
|
package/README.zh-CN.md
CHANGED
|
@@ -6,10 +6,9 @@
|
|
|
6
6
|
|
|
7
7
|
## 关于 aiti
|
|
8
8
|
|
|
9
|
-
本包是 **aiti** 生态的组成部分——以 [pi](https://pi.dev) 为引擎的个人 AI 开发工作台与本地调试注入生态:**aiti-agent**(自托管 Web 工作台,基于开源项目 [pi-web](https://github.com/aiti-ai/
|
|
9
|
+
本包是 **aiti** 生态的组成部分——以 [pi](https://pi.dev) 为引擎的个人 AI 开发工作台与本地调试注入生态:**aiti-agent**(自托管 Web 工作台,基于开源项目 [pi-web](https://github.com/aiti-ai/aiti-ai) 构建,浏览器为主操作面)+ 各开发工具内的调试注入(aiti-devtools)+ 丰富的扩展体系。
|
|
10
10
|
|
|
11
|
-
-
|
|
12
|
-
- 生态仓库: <https://github.com/aiti-ai/aiti-ai>
|
|
11
|
+
- 工作台 / 生态仓库(aiti-agent,基于 pi-web): <https://github.com/aiti-ai/aiti-ai>
|
|
13
12
|
- 官网: <https://aiti.pw>
|
|
14
13
|
|
|
15
14
|
分类: 多 agent 后端 · tags: `codebuddy` · `tencent` · `cbc` · `workbuddy` · `cli` · `session` · `multi-agent` · `glm` · `kimi`
|
package/index.ts
CHANGED
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
import { mkdirSync, readdirSync } from "node:fs";
|
|
35
35
|
import { homedir } from "node:os";
|
|
36
36
|
import { dirname, join } from "node:path";
|
|
37
|
-
import { spawnEnvFeature, spawnDisplayEnvFeature, spawnCommandFeature, spawnArgsPrefixFeature, captureSpawnEnvFeatures } from "@aiti-ai/ext-shared/agent-spawn-env";
|
|
37
|
+
import { spawnEnvFeature, spawnDisplayEnvFeature, spawnCommandFeature, spawnArgsPrefixFeature, captureSpawnEnvFeatures, spawnFeatureI18nEn } from "@aiti-ai/ext-shared/agent-spawn-env";
|
|
38
38
|
import type { LaunchOverride } from "@aiti-ai/ext-shared/agent-spawn-env";
|
|
39
39
|
import {
|
|
40
40
|
readExtModelState, readAgentLastUsedModel, withLastUsedFirst,
|
|
@@ -468,7 +468,7 @@ async function recycleApi(req: Request, ctx: { path: string[]; method: string })
|
|
|
468
468
|
export default {
|
|
469
469
|
id: "aiti-codebuddy-agent",
|
|
470
470
|
name: "CodeBuddy Code (腾讯)",
|
|
471
|
-
icon: "
|
|
471
|
+
icon: "icons/terminal.svg",
|
|
472
472
|
|
|
473
473
|
features: [
|
|
474
474
|
spawnEnvFeature("CodeBuddy Code"),
|
|
@@ -562,6 +562,7 @@ export default {
|
|
|
562
562
|
// English manifest-text overrides (name/description/feature labels); zh source lives in the manifest.
|
|
563
563
|
i18n: {
|
|
564
564
|
en: {
|
|
565
|
+
...spawnFeatureI18nEn(),
|
|
565
566
|
"feat.codebuddy.cliPath.desc": "Path to the cbc executable (absolute path after npm i -g @tencent-ai/codebuddy-code or brew install codebuddy-code). Empty = auto-detect cbc/codebuddy on PATH → npx fallback (first use downloads)",
|
|
566
567
|
"feat.codebuddy.packageSpec.desc": "Package pulled by the npx fallback (default @tencent-ai/codebuddy-code latest cache; pin a version supported by the local Node)",
|
|
567
568
|
"feat.codebuddy.model.desc": "Default model id for new sessions (--model): default-model/fast-model/balanced-model family aliases or a full model id",
|
|
@@ -572,7 +573,7 @@ export default {
|
|
|
572
573
|
"feat.codebuddy.baseUrl.desc": "CODEBUDDY_BASE_URL: point to an OpenAI-compatible endpoint (bypassing the Tencent gateway, e.g. a self-hosted proxy)",
|
|
573
574
|
"feat.codebuddy.bridgeUrl.desc": "AITI_BRIDGE_URL: enables aiti_* tools inside cbc sessions connecting to the AITI bridge (MCP tool injection)",
|
|
574
575
|
"ext.displayName": "CodeBuddy Code (Tencent)",
|
|
575
|
-
"
|
|
576
|
+
"feat.codebuddy.cliPath.desc": "Path to the cbc executable (absolute path after npm i -g @tencent-ai/codebuddy-code or brew install codebuddy-code). Empty = auto-detect cbc/codebuddy on PATH → npx fallback (first use downloads).",
|
|
576
577
|
"feat.codebuddy.cliPath": "CLI path",
|
|
577
578
|
"feat.codebuddy.packageSpec": "npx package spec",
|
|
578
579
|
"feat.codebuddy.model": "Default model",
|
package/package.json
CHANGED
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aiti-ai/aiti-codebuddy-agent",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.10",
|
|
4
4
|
"description": "Tencent CodeBuddy Code CLI (cbc) driver — stream long connection (default) + exec fallback dual mode + --resume into All Sessions, control_request three channels, API-key env login",
|
|
5
|
+
"displayNameI18n": {
|
|
6
|
+
"en": "CodeBuddy Code (Tencent)"
|
|
7
|
+
},
|
|
8
|
+
"descriptionI18n": {
|
|
9
|
+
"zh-CN": "腾讯 CodeBuddy Code CLI(cbc)驱动 —— stream 长连接(默认)+ exec 兜底双模式 + --resume 接入 All Sessions,control_request 三通道,API-key env 登录"
|
|
10
|
+
},
|
|
5
11
|
"soul": "腾讯 CodeBuddy 会话,哪儿都能接上聊。",
|
|
12
|
+
"soulI18n": {
|
|
13
|
+
"en": "Tencent CodeBuddy sessions, ready to chat anywhere."
|
|
14
|
+
},
|
|
6
15
|
"scripts": {
|
|
7
16
|
"build:client": "true"
|
|
8
17
|
},
|
|
@@ -11,7 +20,7 @@
|
|
|
11
20
|
"@aiti-ai/ext-shared": "^0.1.12"
|
|
12
21
|
},
|
|
13
22
|
"license": "MIT",
|
|
14
|
-
"contentHash": "
|
|
23
|
+
"contentHash": "56d64a11e590257c",
|
|
15
24
|
"repository": {
|
|
16
25
|
"type": "git",
|
|
17
26
|
"url": "git+https://github.com/aiti-ai/aiti-ai.git",
|