@aiti-ai/aiti-codex-agent 0.1.11 → 0.1.12
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 +5 -2
- 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: `codex` · `openai` · `cli` · `session` · `multi-agent`
|
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: `codex` · `openai` · `cli` · `session` · `multi-agent`
|
package/index.ts
CHANGED
|
@@ -48,7 +48,7 @@ function resolveCodexBin(): string {
|
|
|
48
48
|
}
|
|
49
49
|
import { homedir, tmpdir } from "node:os";
|
|
50
50
|
import { governanceEnv } from "./external-governance.ts";
|
|
51
|
-
import { agentSpawnEnv, spawnEnvFeature, spawnDisplayEnvFeature, spawnCommandFeature, spawnArgsPrefixFeature, spawnEnvList, spawnCommand, spawnArgsPrefix, parseArgsLines, resolveCliLaunch, captureSpawnEnvFeatures } from "@aiti-ai/ext-shared/agent-spawn-env";
|
|
51
|
+
import { agentSpawnEnv, spawnEnvFeature, spawnDisplayEnvFeature, spawnCommandFeature, spawnArgsPrefixFeature, spawnEnvList, spawnCommand, spawnArgsPrefix, parseArgsLines, resolveCliLaunch, captureSpawnEnvFeatures, spawnFeatureI18nEn } from "@aiti-ai/ext-shared/agent-spawn-env";
|
|
52
52
|
import type { LaunchOverride } from "@aiti-ai/ext-shared/agent-spawn-env";
|
|
53
53
|
// 队列共享实现层(权威源 pi-web-ext/_shared/backend-queue.ts,副本随扩展部署——改动须双向同步)
|
|
54
54
|
import { createBackendQueueSupport, createQueueFilePersistence, migrateQueueSidecar } from "@aiti-ai/ext-shared/backend-queue";
|
|
@@ -827,12 +827,15 @@ function quotaRoute(req: Request, ctx: { path: string[]; method: string; searchP
|
|
|
827
827
|
export default {
|
|
828
828
|
id: "aiti-codex-agent",
|
|
829
829
|
name: "Codex CLI",
|
|
830
|
-
icon: "
|
|
830
|
+
icon: "icons/terminal.svg",
|
|
831
831
|
// 受控登录统一弹窗(零构建原生 h() client;client/ 下两文件随 deploy 拷贝)
|
|
832
832
|
// 静态插入点声明(与 client registerItems 的 id 一一对应)
|
|
833
833
|
// 登录 UI 已统一到 aiti-agent-manager(受控登录弹窗退役,2026-09-13):不再声明
|
|
834
834
|
// client/ui —— 服务端 /login/* 与 .agent 描述符保留(manager 代理消费)。
|
|
835
835
|
|
|
836
|
+
// English overrides for the shared spawn.* feature declarations (labels + descriptions).
|
|
837
|
+
ui: { i18n: { en: { ...spawnFeatureI18nEn() } } },
|
|
838
|
+
|
|
836
839
|
features: [spawnEnvFeature("Codex"), spawnDisplayEnvFeature("Codex"), spawnCommandFeature("Codex"), spawnArgsPrefixFeature("Codex")],
|
|
837
840
|
|
|
838
841
|
server: {
|
package/package.json
CHANGED
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aiti-ai/aiti-codex-agent",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.12",
|
|
4
4
|
"description": "OpenAI Codex CLI driver — exec --json + resume integrated into All Sessions; dual-track auth (auth.json OAuth / openrouter env), live streaming and cold replay render identically-shaped native tool cards",
|
|
5
|
+
"displayNameI18n": {
|
|
6
|
+
"en": "Codex Session Backend"
|
|
7
|
+
},
|
|
8
|
+
"descriptionI18n": {
|
|
9
|
+
"zh-CN": "OpenAI Codex CLI driver —— exec --json + resume 接入 All Sessions;认证双轨(auth.json OAuth / openrouter env),直播与冷回放同形原生工具卡"
|
|
10
|
+
},
|
|
5
11
|
"soul": "Codex 在哪儿跑,面板就在哪儿看。",
|
|
12
|
+
"soulI18n": {
|
|
13
|
+
"en": "Wherever Codex runs, the panel watches."
|
|
14
|
+
},
|
|
6
15
|
"scripts": {
|
|
7
16
|
"build:client": "node -e \"const fs=require('fs');fs.mkdirSync('dist',{recursive:true});for(const f of fs.readdirSync('client/src'))if(f.endsWith('.mjs'))fs.copyFileSync('client/src/'+f,'dist/'+f)\""
|
|
8
17
|
},
|
|
@@ -17,7 +26,7 @@
|
|
|
17
26
|
"@aiti-ai/ext-shared": "^0.1.12"
|
|
18
27
|
},
|
|
19
28
|
"license": "MIT",
|
|
20
|
-
"contentHash": "
|
|
29
|
+
"contentHash": "f0da0454915c2161",
|
|
21
30
|
"repository": {
|
|
22
31
|
"type": "git",
|
|
23
32
|
"url": "git+https://github.com/aiti-ai/aiti-ai.git",
|