remote-codex 0.11.49 → 0.11.50

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 CHANGED
@@ -241,11 +241,12 @@ Override with `SERVICE_PORT` and `SERVICE_API_PORT`.
241
241
 
242
242
  ### ACP Agents
243
243
 
244
- Enable the generic ACP backend, then choose the concrete agent when creating a
245
- thread:
244
+ The generic ACP backend is enabled by default. Choose the concrete agent when
245
+ creating a thread. To customize the enabled backend set explicitly, include
246
+ `acp` in the list:
246
247
 
247
248
  ```bash
248
- REMOTE_CODEX_ENABLED_AGENT_PROVIDERS=acp \
249
+ REMOTE_CODEX_ENABLED_AGENT_PROVIDERS=codex,claude,opencode,acp \
249
250
  remote-codex start
250
251
  ```
251
252
 
@@ -522,10 +523,11 @@ npm CLI 默认端口:
522
523
 
523
524
  ### ACP Agent
524
525
 
525
- 启用通用 ACP backend,然后在创建 thread 时选择具体 Agent
526
+ 通用 ACP backend 默认启用,创建 thread 时直接选择具体 Agent。若要显式定制
527
+ 启用的 backend 集合,请在列表中保留 `acp`:
526
528
 
527
529
  ```bash
528
- REMOTE_CODEX_ENABLED_AGENT_PROVIDERS=acp \
530
+ REMOTE_CODEX_ENABLED_AGENT_PROVIDERS=codex,claude,opencode,acp \
529
531
  remote-codex start
530
532
  ```
531
533
 
@@ -176,7 +176,7 @@ function loadRuntimeConfig(env = process.env, platform = process.platform) {
176
176
  nodeEnv === "production"
177
177
  );
178
178
  const enabledProviders = new Set(
179
- (parsed.REMOTE_CODEX_ENABLED_AGENT_PROVIDERS ?? (platform === "win32" ? "codex" : "codex,claude,opencode")).split(",").map((provider2) => provider2.trim().toLowerCase()).filter(Boolean)
179
+ (parsed.REMOTE_CODEX_ENABLED_AGENT_PROVIDERS ?? (platform === "win32" ? "codex,acp" : "codex,claude,opencode,acp")).split(",").map((provider2) => provider2.trim().toLowerCase()).filter(Boolean)
180
180
  );
181
181
  const defaultAgentHomeRoot = os.homedir();
182
182
  const codexHome = parsed.CODEX_HOME?.trim() ? path.resolve(parsed.CODEX_HOME) : path.join(defaultAgentHomeRoot, agentBackendMetadata.codex.defaultHomeDir);
@@ -22167,8 +22167,8 @@ var AcpCatalogRuntimeAdapter = class extends EventEmitter8 {
22167
22167
  managementSchema = catalogManagementSchema;
22168
22168
  installation = {
22169
22169
  packageName: null,
22170
- installed: false,
22171
- installedVersion: null,
22170
+ installed: true,
22171
+ installedVersion: "Built in \xB7 0 ACP agents ready",
22172
22172
  latestVersion: null,
22173
22173
  installCommand: null,
22174
22174
  updateCommand: null,
@@ -22377,8 +22377,8 @@ var AcpCatalogRuntimeAdapter = class extends EventEmitter8 {
22377
22377
  const entries = await this.catalog.list({ force });
22378
22378
  const ready = entries.filter((entry) => entry.availability === "ready");
22379
22379
  const baseInstalled = entries.filter((entry) => entry.availability !== "base_missing");
22380
- this.installation.installed = baseInstalled.length > 0;
22381
- this.installation.installedVersion = ready.length > 0 ? `${ready.length} ACP agent${ready.length === 1 ? "" : "s"} ready` : null;
22380
+ this.installation.installed = true;
22381
+ this.installation.installedVersion = `Built in \xB7 ${ready.length} ACP agent${ready.length === 1 ? "" : "s"} ready`;
22382
22382
  this.installation.lastError = ready.length > 0 ? null : baseInstalled.length > 0 ? "ACP adapters or native ACP servers are not ready." : "No supported base agent was detected.";
22383
22383
  this.status = {
22384
22384
  ...this.status,