agestra 4.12.4 → 4.13.0

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.
Files changed (40) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/.gemini/commands/agestra/idea.toml +1 -1
  4. package/.gemini/commands/agestra/qa.toml +16 -0
  5. package/.gemini/commands/agestra/review.toml +1 -1
  6. package/.gemini/commands/agestra/security.toml +17 -0
  7. package/AGENTS.md +12 -3
  8. package/GEMINI.md +6 -1
  9. package/README.ja.md +21 -6
  10. package/README.ko.md +21 -6
  11. package/README.md +21 -6
  12. package/README.zh.md +21 -6
  13. package/agents/agestra-designer.md +139 -52
  14. package/agents/agestra-e2e-writer.md +167 -0
  15. package/agents/agestra-ideator.md +85 -37
  16. package/agents/agestra-implementer.md +36 -3
  17. package/agents/agestra-moderator.md +58 -9
  18. package/agents/agestra-qa.md +221 -126
  19. package/agents/agestra-reviewer.md +148 -85
  20. package/agents/agestra-security.md +201 -0
  21. package/agents/agestra-team-lead.md +109 -28
  22. package/commands/design.md +84 -61
  23. package/commands/idea.md +84 -65
  24. package/commands/implement.md +63 -28
  25. package/commands/qa.md +85 -0
  26. package/commands/review.md +88 -102
  27. package/commands/security.md +79 -0
  28. package/commands/setup.md +30 -6
  29. package/dist/bundle.js +173 -163
  30. package/package.json +1 -1
  31. package/scripts/host-assets/codex-assets.mjs +37 -8
  32. package/skills/design.md +155 -95
  33. package/skills/e2e.md +63 -0
  34. package/skills/idea.md +174 -161
  35. package/skills/leader.md +131 -46
  36. package/skills/provider-guide.md +34 -19
  37. package/skills/qa.md +81 -0
  38. package/skills/review.md +112 -108
  39. package/skills/security.md +78 -0
  40. package/skills/worker-manage.md +1 -1
@@ -12,7 +12,7 @@
12
12
  "name": "agestra",
13
13
  "source": "./",
14
14
  "description": "Orchestrate Ollama, Gemini, and Codex for multi-AI debates, code review, and cross-validation",
15
- "version": "4.12.4",
15
+ "version": "4.13.0",
16
16
  "author": {
17
17
  "name": "mua-vtuber"
18
18
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agestra",
3
- "version": "4.12.4",
3
+ "version": "4.13.0",
4
4
  "description": "Claude Code plugin — orchestrate Ollama, Gemini, and Codex for multi-AI debates, code review, and cross-validation",
5
5
  "mcpServers": {
6
6
  "agestra": {
@@ -9,7 +9,7 @@ Use the shared workflow spec below as the source of truth and adapt it to the cu
9
9
  @{commands/idea.md}
10
10
 
11
11
  Gemini-specific rules:
12
- - Start with `environment_check` and `provider_list`.
12
+ - Start with `setup_status`, then `environment_check` and `provider_list`.
13
13
  - Prefer Agestra MCP tools, workspace documents, and provider comparisons over one-shot brainstorming.
14
14
  - Translate Claude-specific wording into leader-host wording when Gemini is the active host.
15
15
  - Keep the final answer in the user's language.
@@ -0,0 +1,16 @@
1
+ description = "Run the Agestra QA workflow for document-based verification and optional E2E."
2
+ prompt = """
3
+ You are executing the Agestra QA workflow inside Gemini CLI.
4
+
5
+ User target:
6
+ {{args}}
7
+
8
+ Use the shared workflow spec below as the source of truth and adapt it to the current Gemini host session:
9
+ @{commands/qa.md}
10
+
11
+ Gemini-specific rules:
12
+ - Start with `setup_status`, then `environment_check` and `provider_list`.
13
+ - Prefer Agestra MCP tools and prompt assets over ad-hoc QA prompting.
14
+ - If the workflow refers to Claude-specific wording, translate it to the current leader-host path rather than asking the user to switch hosts.
15
+ - Keep the final answer in the user's language.
16
+ """
@@ -9,7 +9,7 @@ Use the shared workflow spec below as the source of truth and adapt it to the cu
9
9
  @{commands/review.md}
10
10
 
11
11
  Gemini-specific rules:
12
- - Start with `environment_check` and `provider_list`.
12
+ - Start with `setup_status`, then `environment_check` and `provider_list`.
13
13
  - Prefer Agestra MCP tools and prompt assets over ad-hoc review prompting.
14
14
  - If the workflow refers to Claude-specific wording, translate it to the current leader-host path rather than asking the user to switch hosts.
15
15
  - Keep the final answer in the user's language.
@@ -0,0 +1,17 @@
1
+ description = "Run the Agestra dedicated security audit workflow."
2
+ prompt = """
3
+ You are executing the Agestra security workflow inside Gemini CLI.
4
+
5
+ User target:
6
+ {{args}}
7
+
8
+ Use the shared workflow spec below as the source of truth and adapt it to the current Gemini host session:
9
+ @{commands/security.md}
10
+
11
+ Gemini-specific rules:
12
+ - Start with `setup_status`, then `environment_check` and `provider_list`.
13
+ - Prefer Agestra MCP tools and prompt assets over ad-hoc security prompting.
14
+ - If the workflow refers to Claude-specific wording, translate it to the current leader-host path rather than asking the user to switch hosts.
15
+ - Do not run destructive exploit tests or ask the user to paste real secrets.
16
+ - Keep the final answer in the user's language.
17
+ """
package/AGENTS.md CHANGED
@@ -5,19 +5,27 @@ This repository includes a Codex-friendly host wrapper for Agestra.
5
5
  ## First Run
6
6
 
7
7
  1. Build the bundled MCP server if needed: `npm run bundle`
8
- 2. Register Agestra with Codex once per machine: `npm run install:codex`
8
+ 2. Register Agestra with Codex and install generated custom agents: `npm run install:codex:assets`
9
9
  3. Open this repository in Codex. This `AGENTS.md` file is loaded automatically.
10
10
 
11
+ Use `npm run install:codex` only when you intentionally want MCP registration without generated `.codex/agents/*.toml` assets.
12
+ Low-level MCP calls do not silently write setup. High-level Agestra workflows must call `setup_status` first; if it reports `Setup required: yes`, run the interactive setup questions immediately, call `setup_apply` after the user chooses providers/locale, then resume the original workflow.
13
+ Use `host_assets_status` to inspect generated host assets, and only call `host_assets_install` after the user agrees to install or refresh Codex custom agents.
14
+
11
15
  ## How to Work Here
12
16
 
13
17
  - Treat `commands/*.md` as the source of truth for Agestra workflows.
14
- - When the user asks for review, design, idea, or implementation help, start with `environment_check` and `provider_list`.
18
+ - When the user asks for review, QA, security, design, idea, or implementation help, start with `setup_status`, `environment_check`, and `provider_list`. If `setup_status` reports `Setup required: yes`, complete interactive setup first and then resume the original workflow.
15
19
  - Prefer Agestra MCP tools over ad-hoc multi-provider prompting.
16
20
  - If any legacy workflow text mentions "Claude only", interpret that as the current leader-host-only path when Claude is not the active host.
17
21
 
18
22
  ## Workflow Mapping
19
23
 
20
24
  - Review requests: follow `commands/review.md`
25
+ - QA / verification requests: follow `commands/qa.md`
26
+ - Security audit requests: follow `commands/security.md`
27
+ - Review, QA, and security workflows write durable reports under `docs/reports/review/`, `docs/reports/qa/`, and `docs/reports/security/` unless the user asks for chat-only output.
28
+ - Persistent E2E test creation/maintenance is internal: QA produces `E2E_TEST_WORK_REQUEST`, the leader asks the user, and approved work goes to `agestra-e2e-writer`.
21
29
  - Design and architecture requests: follow `commands/design.md`
22
30
  - Idea discovery requests: follow `commands/idea.md`
23
31
  - Implementation requests: follow `commands/implement.md`
@@ -27,10 +35,11 @@ This repository includes a Codex-friendly host wrapper for Agestra.
27
35
  - `environment_check` and `provider_list`: inspect host/provider state first
28
36
  - `agent_debate_structured` (with `agent_debate_approve`/`_continue`/`_reject`) and `agent_debate_review`: run approval-gated multi-provider review flows
29
37
  - `cli_worker_spawn`, `agent_changes_review`, `agent_changes_accept`, `agent_changes_reject`: use for autonomous Codex/Gemini worker tasks
38
+ - `host_assets_status`, `host_assets_install`, `host_assets_uninstall`: inspect and explicitly manage generated host-native assets such as Codex custom agents
30
39
  - `qa_run`: run workspace build/test verification before reporting implementation completion
31
40
 
32
41
  ## Project Assets
33
42
 
34
- - `agents/`: canonical role prompts (`agestra-team-lead`, `agestra-reviewer`, etc.)
43
+ - `agents/`: canonical role prompts (`agestra-team-lead`, `agestra-e2e-writer`, `agestra-reviewer`, etc.)
35
44
  - `skills/`: reusable workflow references
36
45
  - `GEMINI.md` and `.gemini/commands/`: Gemini-specific host assets; keep behavior aligned with them when updating shared workflows
package/GEMINI.md CHANGED
@@ -13,6 +13,8 @@ This repository includes Gemini-native wrapper assets for Agestra.
13
13
  After setup, Gemini project commands are available:
14
14
 
15
15
  - `/agestra:review`
16
+ - `/agestra:qa`
17
+ - `/agestra:security`
16
18
  - `/agestra:design`
17
19
  - `/agestra:idea`
18
20
  - `/agestra:implement`
@@ -21,7 +23,7 @@ Each command delegates to the shared workflow specs in `commands/*.md`.
21
23
 
22
24
  ## Usage Rules
23
25
 
24
- - Start orchestration requests with `environment_check` and `provider_list`.
26
+ - Start orchestration requests with `setup_status`, then `environment_check` and `provider_list`.
25
27
  - Prefer Agestra MCP tools instead of rebuilding workflows in free-form prompts.
26
28
  - Treat `commands/*.md` and `agents/*.md` as the canonical workflow and role assets.
27
29
  - If any legacy shared workflow text mentions "Claude only", translate that to the current leader-host-only path when Gemini is the active host.
@@ -32,3 +34,6 @@ Each command delegates to the shared workflow specs in `commands/*.md`.
32
34
  - `cli_worker_spawn`, `agent_changes_review`, `agent_changes_accept`, `agent_changes_reject`: autonomous worker lifecycle
33
35
  - `workspace_*`: document-backed review and aggregation flows
34
36
  - `qa_run`: workspace build/test verification before implementation completion
37
+
38
+ Review, QA, and security workflows write durable reports under `docs/reports/review/`, `docs/reports/qa/`, and `docs/reports/security/` unless the user asks for chat-only output.
39
+ Persistent E2E test creation/maintenance is internal: QA produces `E2E_TEST_WORK_REQUEST`, the leader asks the user, and approved work goes to `agestra-e2e-writer`. There is no standalone Gemini `/agestra:e2e` command yet.
package/README.ja.md CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
  [English](README.md) | [한국어](README.ko.md) | [日本語](README.ja.md) | [中文](README.zh.md)
9
9
 
10
- Agestra は Ollama(ローカル)、Gemini CLI、Codex CLI を Claude Code にプラガブルなプロバイダーとして接続し、独立集約、合意形成ディベート、自律 CLI ワーカー、並列タスク配分、クロスバリデーション、品質ベースのプロバイダー選択を 25 個の MCP ツールで提供します。
10
+ Agestra は Ollama(ローカル)、Gemini CLI、Codex CLI を Claude Code にプラガブルなプロバイダーとして接続し、独立集約、合意形成ディベート、自律 CLI ワーカー、並列タスク配分、クロスバリデーション、品質ベースのプロバイダー選択を 44 個の MCP ツールで提供します。
11
11
 
12
12
  ## クイックスタート
13
13
 
@@ -34,7 +34,7 @@ npm install -g agestra
34
34
  agestra-install codex --assets
35
35
  ```
36
36
 
37
- Codex ではリポジトリ直下の [AGENTS.md](AGENTS.md) と、登録済みの `agestra` MCP サーバーを一緒に使います。`--assets` は `.codex/agents/` に生成済み Codex custom agent もインストールし、Agestra host-asset manifest に記録します。MCP 登録だけでよい場合は `npm run install:codex` または `agestra-install codex` を使ってください。
37
+ Codex ではリポジトリ直下の [AGENTS.md](AGENTS.md) と、登録済みの `agestra` MCP サーバーを一緒に使います。生成済み Codex custom agent には `--assets` が必要で、`.codex/agents/` にインストールして Agestra host-asset manifest に記録します。custom agent なしで MCP 登録だけでよい場合は `npm run install:codex` または `agestra-install codex` を使ってください。
38
38
 
39
39
  ### Gemini CLI
40
40
 
@@ -141,7 +141,7 @@ Turborepo モノレポで、8 パッケージ構成です:
141
141
  | `@agestra/provider-codex` | OpenAI Codex CLI アダプター |
142
142
  | `@agestra/agents` | 合意検出付きディベートエンジン、ターン品質評価、タスク配分、クロスバリデーション、タスクチェーン、自動 QA、ファイル変更追跡、セッション管理 |
143
143
  | `@agestra/workspace` | レビュー、分析メモ、統合レポート向けのワークスペース文書マネージャー |
144
- | `@agestra/mcp-server` | MCP プロトコル層、25 ツール、環境依存のツールフィルタリング、ディスパッチ |
144
+ | `@agestra/mcp-server` | MCP プロトコル層、44 ツール、環境依存のツールフィルタリング、ディスパッチ |
145
145
 
146
146
  ### 設計原則
147
147
 
@@ -163,7 +163,7 @@ Turborepo モノレポで、8 パッケージ構成です:
163
163
 
164
164
  ---
165
165
 
166
- ## ツール (25)
166
+ ## ツール (44)
167
167
 
168
168
  ### AI チャット (3)
169
169
 
@@ -173,7 +173,7 @@ Turborepo モノレポで、8 パッケージ構成です:
173
173
  | `ai_analyze_files` | ディスク上のファイルを読み込み、質問と一緒にプロバイダーへ送信 |
174
174
  | `ai_compare` | 同じプロンプトを複数プロバイダーに送り、応答を比較 |
175
175
 
176
- ### エージェントオーケストレーション (0)
176
+ ### エージェントオーケストレーション (14)
177
177
 
178
178
  | ツール | 説明 |
179
179
  |--------|------|
@@ -226,6 +226,21 @@ Turborepo モノレポで、8 パッケージ構成です:
226
226
  | `provider_list` | 状態と機能付きでプロバイダー一覧を表示 |
227
227
  | `provider_health` | 1 つまたはすべてのプロバイダーのヘルスチェック |
228
228
 
229
+ ### セットアップ (2)
230
+
231
+ | ツール | 説明 |
232
+ |--------|------|
233
+ | `setup_status` | 利用可能なプロバイダーと現在の設定状態を確認 |
234
+ | `setup_apply` | 選択したプロバイダー、ロケール、選択ポリシーを `providers.config.json` に書き込む |
235
+
236
+ ### ホストアセット (3)
237
+
238
+ | ツール | 説明 |
239
+ |--------|------|
240
+ | `host_assets_status` | Codex custom agents などの生成済みホストネイティブアセットを確認 |
241
+ | `host_assets_install` | 管理対象のホストネイティブアセットを明示的にインストールまたは更新 |
242
+ | `host_assets_uninstall` | Agestra が追跡する管理対象ホストネイティブアセットを削除 |
243
+
229
244
  ### Ollama (2)
230
245
 
231
246
  | ツール | 説明 |
@@ -353,7 +368,7 @@ agestra/
353
368
  │ ├── provider-codex/ # Codex CLI アダプター
354
369
  │ ├── agents/ # ディベートエンジン、ディスパッチ、クロスバリデーション
355
370
  │ ├── workspace/ # ワークスペース文書マネージャー
356
- │ └── mcp-server/ # MCP サーバー、25 ツール、環境依存フィルタリング、ディスパッチ
371
+ │ └── mcp-server/ # MCP サーバー、44 ツール、環境依存フィルタリング、ディスパッチ
357
372
  ├── package.json # ワークスペースルート
358
373
  └── turbo.json # Turborepo パイプライン
359
374
  ```
package/README.ko.md CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
  [English](README.md) | [한국어](README.ko.md) | [日本語](README.ja.md) | [中文](README.zh.md)
9
9
 
10
- Agestra는 Claude 호스트, Ollama(로컬), Gemini CLI, Codex CLI를 플러그형 공급자로 연결합니다. 독립 취합, 합의 토론, 자율 CLI 워커, 병렬 작업 분배, 교차 검증, 품질 기반 공급자 라우팅을 25개 MCP 도구로 제공합니다.
10
+ Agestra는 Claude 호스트, Ollama(로컬), Gemini CLI, Codex CLI를 플러그형 공급자로 연결합니다. 독립 취합, 합의 토론, 자율 CLI 워커, 병렬 작업 분배, 교차 검증, 품질 기반 공급자 라우팅을 44개 MCP 도구로 제공합니다.
11
11
 
12
12
  ## 빠른 시작
13
13
 
@@ -42,7 +42,7 @@ agestra-install codex --assets
42
42
  npm run install:codex:global
43
43
  ```
44
44
 
45
- Codex는 저장소 루트의 [AGENTS.md](AGENTS.md)와 등록된 `agestra` MCP 서버를 함께 사용합니다. `--assets` 경로는 `.codex/agents/` 아래에 생성형 Codex custom agent 설치하고 Agestra host-asset manifest에 기록합니다. MCP만 등록하려면 `npm run install:codex` 또는 `agestra-install codex`를 사용하세요.
45
+ Codex는 저장소 루트의 [AGENTS.md](AGENTS.md)와 등록된 `agestra` MCP 서버를 함께 사용합니다. 생성형 Codex custom agent에는 `--assets` 경로가 필요하며, 이 경로가 `.codex/agents/` 아래에 agent 설치하고 Agestra host-asset manifest에 기록합니다. custom agent 없이 MCP만 등록하려면 `npm run install:codex` 또는 `agestra-install codex`를 사용하세요.
46
46
 
47
47
  ### Gemini CLI
48
48
 
@@ -168,7 +168,7 @@ Turborepo 모노레포, 8개 패키지:
168
168
  | `@agestra/provider-codex` | OpenAI Codex CLI 어댑터 |
169
169
  | `@agestra/agents` | 합의 검출 토론 엔진, 턴 품질 평가기, 작업 분배기, 교차 검증기, 작업 체인, 자동 QA, 파일 변경 추적기, 세션 관리자 |
170
170
  | `@agestra/workspace` | 리뷰, 분석 메모, 통합 보고서를 위한 워크스페이스 문서 관리자 |
171
- | `@agestra/mcp-server` | MCP 프로토콜 레이어, 25개 도구, 환경별 도구 필터링, 디스패치 |
171
+ | `@agestra/mcp-server` | MCP 프로토콜 레이어, 44개 도구, 환경별 도구 필터링, 디스패치 |
172
172
 
173
173
  ### 설계 원칙
174
174
 
@@ -190,7 +190,7 @@ Turborepo 모노레포, 8개 패키지:
190
190
 
191
191
  ---
192
192
 
193
- ## 도구 (25개)
193
+ ## 도구 (44개)
194
194
 
195
195
  ### AI 채팅 (3개)
196
196
 
@@ -200,7 +200,7 @@ Turborepo 모노레포, 8개 패키지:
200
200
  | `ai_analyze_files` | 파일을 디스크에서 읽어 공급자에게 질문과 함께 전송 |
201
201
  | `ai_compare` | 같은 프롬프트를 여러 공급자에 보내 응답 비교 |
202
202
 
203
- ### 에이전트 오케스트레이션 (0개)
203
+ ### 에이전트 오케스트레이션 (14개)
204
204
 
205
205
  | 도구 | 설명 |
206
206
  |------|------|
@@ -253,6 +253,21 @@ Turborepo 모노레포, 8개 패키지:
253
253
  | `provider_list` | 공급자 목록 (상태, 능력 포함) |
254
254
  | `provider_health` | 공급자 상태 체크 |
255
255
 
256
+ ### 설정 (2개)
257
+
258
+ | 도구 | 설명 |
259
+ |------|------|
260
+ | `setup_status` | 사용 가능한 공급자와 현재 설정/구성 상태 확인 |
261
+ | `setup_apply` | 선택한 공급자, 언어, 선택 정책을 `providers.config.json`에 기록 |
262
+
263
+ ### 호스트 자산 (3개)
264
+
265
+ | 도구 | 설명 |
266
+ |------|------|
267
+ | `host_assets_status` | Codex custom agents 같은 생성된 호스트 네이티브 자산 상태 확인 |
268
+ | `host_assets_install` | 관리되는 호스트 네이티브 자산을 명시적으로 설치 또는 갱신 |
269
+ | `host_assets_uninstall` | Agestra가 추적하는 관리형 호스트 네이티브 자산 제거 |
270
+
256
271
  ### Ollama (2개)
257
272
 
258
273
  | 도구 | 설명 |
@@ -381,7 +396,7 @@ agestra/
381
396
  │ ├── provider-codex/ # Codex CLI 어댑터
382
397
  │ ├── agents/ # 토론 엔진, 분배기, 교차 검증기
383
398
  │ ├── workspace/ # 워크스페이스 문서 관리자
384
- │ └── mcp-server/ # MCP 서버, 25개 도구, 환경별 필터링, 디스패치
399
+ │ └── mcp-server/ # MCP 서버, 44개 도구, 환경별 필터링, 디스패치
385
400
  ├── package.json # 워크스페이스 루트
386
401
  └── turbo.json # Turborepo 파이프라인
387
402
  ```
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
  [English](README.md) | [한국어](README.ko.md) | [日本語](README.ja.md) | [中文](README.zh.md)
9
9
 
10
- Agestra connects the Claude host, Ollama (local), Gemini CLI, and Codex CLI as pluggable providers, enabling multi-agent orchestration with independent aggregation, consensus debates, autonomous CLI workers, parallel task dispatch, cross-validation, and quality-based provider routing — all through 25 MCP tools.
10
+ Agestra connects the Claude host, Ollama (local), Gemini CLI, and Codex CLI as pluggable providers, enabling multi-agent orchestration with independent aggregation, consensus debates, autonomous CLI workers, parallel task dispatch, cross-validation, and quality-based provider routing — all through 44 MCP tools.
11
11
 
12
12
  ## Quick Start
13
13
 
@@ -42,7 +42,7 @@ If you want MCP-only registration of the global package while working from a rep
42
42
  npm run install:codex:global
43
43
  ```
44
44
 
45
- Codex uses the repository-level [AGENTS.md](AGENTS.md) instructions plus the registered `agestra` MCP server. The `--assets` path also installs generated Codex custom agents under `.codex/agents/` and tracks them in the Agestra host-asset manifest. For MCP-only registration, use `npm run install:codex` or `agestra-install codex`.
45
+ Codex uses the repository-level [AGENTS.md](AGENTS.md) instructions plus the registered `agestra` MCP server. The `--assets` path is required for generated Codex custom agents; it installs them under `.codex/agents/` and tracks them in the Agestra host-asset manifest. For MCP-only registration without custom agents, use `npm run install:codex` or `agestra-install codex`.
46
46
 
47
47
  ### Gemini CLI
48
48
 
@@ -169,7 +169,7 @@ Turborepo monorepo with 8 packages:
169
169
  | `@agestra/provider-codex` | OpenAI Codex CLI adapter |
170
170
  | `@agestra/agents` | Debate engine with consensus detection, turn quality evaluator, task dispatcher, cross-validator, task chain, auto-QA, file change tracker, session manager |
171
171
  | `@agestra/workspace` | Workspace document manager for reviews, analysis notes, and aggregated reports |
172
- | `@agestra/mcp-server` | MCP protocol layer, 25 tools, environment-aware tool filtering, dispatch |
172
+ | `@agestra/mcp-server` | MCP protocol layer, 44 tools, environment-aware tool filtering, dispatch |
173
173
 
174
174
  ### Design Principles
175
175
 
@@ -191,7 +191,7 @@ Turborepo monorepo with 8 packages:
191
191
 
192
192
  ---
193
193
 
194
- ## Tools (25)
194
+ ## Tools (44)
195
195
 
196
196
  ### AI Chat (3)
197
197
 
@@ -201,7 +201,7 @@ Turborepo monorepo with 8 packages:
201
201
  | `ai_analyze_files` | Read files from disk and send contents with a question to a provider |
202
202
  | `ai_compare` | Send the same prompt to multiple providers, compare responses |
203
203
 
204
- ### Agent Orchestration (0)
204
+ ### Agent Orchestration (14)
205
205
 
206
206
  | Tool | Description |
207
207
  |------|-------------|
@@ -254,6 +254,21 @@ Turborepo monorepo with 8 packages:
254
254
  | `provider_list` | List providers with status and capabilities |
255
255
  | `provider_health` | Health check one or all providers |
256
256
 
257
+ ### Setup (2)
258
+
259
+ | Tool | Description |
260
+ |------|-------------|
261
+ | `setup_status` | Detect available providers and show the current setup/config state |
262
+ | `setup_apply` | Write selected providers, locale, and selection policy to `providers.config.json` |
263
+
264
+ ### Host Assets (3)
265
+
266
+ | Tool | Description |
267
+ |------|-------------|
268
+ | `host_assets_status` | Check generated host-native assets such as Codex custom agents |
269
+ | `host_assets_install` | Explicitly install or refresh managed host-native assets |
270
+ | `host_assets_uninstall` | Remove managed host-native assets tracked by Agestra |
271
+
257
272
  ### Ollama (2)
258
273
 
259
274
  | Tool | Description |
@@ -383,7 +398,7 @@ agestra/
383
398
  │ ├── provider-codex/ # Codex CLI adapter
384
399
  │ ├── agents/ # Debate engine, dispatcher, cross-validator
385
400
  │ ├── workspace/ # Workspace document manager
386
- │ └── mcp-server/ # MCP server, 25 tools, environment-aware filtering, dispatch
401
+ │ └── mcp-server/ # MCP server, 44 tools, environment-aware filtering, dispatch
387
402
  ├── package.json # Workspace root
388
403
  └── turbo.json # Turborepo pipeline
389
404
  ```
package/README.zh.md CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
  [English](README.md) | [한국어](README.ko.md) | [日本語](README.ja.md) | [中文](README.zh.md)
9
9
 
10
- Agestra 将 Ollama(本地)、Gemini CLI 和 Codex CLI 作为可插拔提供方接入 Claude Code,通过 25 个 MCP 工具提供多 AI 编排、独立汇总、共识辩论、自主 CLI Worker、并行任务分发、交叉验证和基于质量的提供方路由。
10
+ Agestra 将 Ollama(本地)、Gemini CLI 和 Codex CLI 作为可插拔提供方接入 Claude Code,通过 44 个 MCP 工具提供多 AI 编排、独立汇总、共识辩论、自主 CLI Worker、并行任务分发、交叉验证和基于质量的提供方路由。
11
11
 
12
12
  ## 快速开始
13
13
 
@@ -34,7 +34,7 @@ npm install -g agestra
34
34
  agestra-install codex --assets
35
35
  ```
36
36
 
37
- Codex 会结合仓库根目录下的 [AGENTS.md](AGENTS.md) 与已注册的 `agestra` MCP 服务一起工作。`--assets` 还会在 `.codex/agents/` 下安装生成的 Codex custom agent,并写入 Agestra host-asset manifest。只注册 MCP 时,请使用 `npm run install:codex` 或 `agestra-install codex`。
37
+ Codex 会结合仓库根目录下的 [AGENTS.md](AGENTS.md) 与已注册的 `agestra` MCP 服务一起工作。生成 Codex custom agent 需要使用 `--assets` 路径,它会在 `.codex/agents/` 下安装 agent,并写入 Agestra host-asset manifest。不安装 custom agent、只注册 MCP 时,请使用 `npm run install:codex` 或 `agestra-install codex`。
38
38
 
39
39
  ### Gemini CLI
40
40
 
@@ -141,7 +141,7 @@ Gemini 会结合仓库根目录下的 [GEMINI.md](GEMINI.md) 与 [`.gemini/comma
141
141
  | `@agestra/provider-codex` | OpenAI Codex CLI 适配器 |
142
142
  | `@agestra/agents` | 带共识检测的辩论引擎、轮次质量评估、任务分发、交叉验证、任务链、自动 QA、文件变更跟踪、会话管理 |
143
143
  | `@agestra/workspace` | 用于评审、分析笔记和汇总报告的工作区文档管理器 |
144
- | `@agestra/mcp-server` | MCP 协议层,25 个工具,按环境过滤工具并动态分发 |
144
+ | `@agestra/mcp-server` | MCP 协议层,44 个工具,按环境过滤工具并动态分发 |
145
145
 
146
146
  ### 设计原则
147
147
 
@@ -163,7 +163,7 @@ Gemini 会结合仓库根目录下的 [GEMINI.md](GEMINI.md) 与 [`.gemini/comma
163
163
 
164
164
  ---
165
165
 
166
- ## 工具(25
166
+ ## 工具(44
167
167
 
168
168
  ### AI Chat(3)
169
169
 
@@ -173,7 +173,7 @@ Gemini 会结合仓库根目录下的 [GEMINI.md](GEMINI.md) 与 [`.gemini/comma
173
173
  | `ai_analyze_files` | 从磁盘读取文件并连同问题一起发送给提供方 |
174
174
  | `ai_compare` | 将同一提示发送给多个提供方并比较结果 |
175
175
 
176
- ### Agent Orchestration(0
176
+ ### Agent Orchestration(14
177
177
 
178
178
  | 工具 | 说明 |
179
179
  |------|------|
@@ -226,6 +226,21 @@ Gemini 会结合仓库根目录下的 [GEMINI.md](GEMINI.md) 与 [`.gemini/comma
226
226
  | `provider_list` | 列出提供方及其状态和能力 |
227
227
  | `provider_health` | 对一个或全部提供方进行健康检查 |
228
228
 
229
+ ### Setup(2)
230
+
231
+ | 工具 | 说明 |
232
+ |------|------|
233
+ | `setup_status` | 检测可用提供方并显示当前设置/配置状态 |
234
+ | `setup_apply` | 将选择的提供方、语言和选择策略写入 `providers.config.json` |
235
+
236
+ ### Host Assets(3)
237
+
238
+ | 工具 | 说明 |
239
+ |------|------|
240
+ | `host_assets_status` | 检查 Codex custom agents 等生成的宿主原生资产 |
241
+ | `host_assets_install` | 显式安装或刷新受管宿主原生资产 |
242
+ | `host_assets_uninstall` | 移除 Agestra 追踪的受管宿主原生资产 |
243
+
229
244
  ### Ollama(2)
230
245
 
231
246
  | 工具 | 说明 |
@@ -353,7 +368,7 @@ agestra/
353
368
  │ ├── provider-codex/ # Codex CLI 适配器
354
369
  │ ├── agents/ # 辩论引擎、分发器、交叉验证器
355
370
  │ ├── workspace/ # 工作区文档管理器
356
- │ └── mcp-server/ # MCP Server,25 个工具,按环境过滤并分发
371
+ │ └── mcp-server/ # MCP Server,44 个工具,按环境过滤并分发
357
372
  ├── package.json # 工作区根目录
358
373
  └── turbo.json # Turborepo pipeline
359
374
  ```