feat: expose codex remote control status
This commit is contained in:
@@ -26,6 +26,7 @@ test("boss-agent status exposes unbound QR binding and local permission states",
|
||||
backupApiLabel: "未启用",
|
||||
codexAppServerEnabled: true,
|
||||
codexComputerUseEnabled: true,
|
||||
codexRemoteControlEnabled: true,
|
||||
bossAgentVersion: "20260501000000",
|
||||
bossAgentOtaEnabled: true,
|
||||
licenseExpiresAt: "2027-05-12T00:00:00.000Z",
|
||||
@@ -68,6 +69,10 @@ test("boss-agent status exposes unbound QR binding and local permission states",
|
||||
assert.equal(status.skills.total, 2);
|
||||
assert.equal(status.codex.bindingStatus, "connected");
|
||||
assert.equal(status.codex.defaultDesktopProvider, "codex-computer-use");
|
||||
assert.equal(status.codex.remoteControl.enabled, true);
|
||||
assert.equal(status.codex.remoteControl.mode, "managed_daemon");
|
||||
assert.equal(status.codex.remoteControl.startCommandLabel, "codex remote-control start --json");
|
||||
assert.match(status.codex.remoteControl.summary, /App Server daemon/);
|
||||
assert.equal(status.agentOta.enabled, true);
|
||||
assert.equal(status.agentOta.currentVersion, "20260501000000");
|
||||
assert.equal(status.agentOta.hasUpdate, true);
|
||||
@@ -113,6 +118,7 @@ test("boss-agent status treats token-backed devices as bound and renders enterpr
|
||||
backupApiLabel: "OpenAI 备用",
|
||||
codexAppServerEnabled: true,
|
||||
codexComputerUseEnabled: true,
|
||||
codexRemoteControlEnabled: true,
|
||||
license: {
|
||||
enterpriseName: "默认公司",
|
||||
status: "valid",
|
||||
@@ -159,6 +165,8 @@ test("boss-agent status treats token-backed devices as bound and renders enterpr
|
||||
assert.match(html, /DeepSeek V4/);
|
||||
assert.match(html, /Codex 默认接管/);
|
||||
assert.match(html, /Codex Computer Use/);
|
||||
assert.match(html, /Codex Remote Control/);
|
||||
assert.match(html, /remote-control start --json/);
|
||||
assert.match(html, /boss-agent OTA/);
|
||||
assert.match(html, /发现新版本/);
|
||||
assert.match(html, /默认公司/);
|
||||
|
||||
Reference in New Issue
Block a user