orkestrator 2.24.0-alpha → 2.25.0-alpha

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orkestrator",
3
- "version": "2.24.0-alpha",
3
+ "version": "2.25.0-alpha",
4
4
  "description": "Run the Orkestrator backend service without the desktop application",
5
5
  "homepage": "https://orkestrator.dev",
6
6
  "repository": {
@@ -39,8 +39,8 @@
39
39
  "sharp": "0.35.5"
40
40
  },
41
41
  "devDependencies": {
42
- "@orkestrator/protocol": "2.24.0-alpha",
43
- "@orkestrator/toolchain": "2.24.0-alpha"
42
+ "@orkestrator/protocol": "2.25.0-alpha",
43
+ "@orkestrator/toolchain": "2.25.0-alpha"
44
44
  },
45
45
  "engines": {
46
46
  "bun": ">=1.4.3"
@@ -12289,6 +12289,7 @@ var COORDINATOR_CONTROL_TOOL_NAMES = Object.freeze([
12289
12289
  "adopt_workflow",
12290
12290
  "cancel_build_pipeline",
12291
12291
  "cancel_multi_review",
12292
+ "compare_project_files",
12292
12293
  "create_ticket",
12293
12294
  "get_build_pipeline",
12294
12295
  "get_environment",
@@ -12303,9 +12304,12 @@ var COORDINATOR_CONTROL_TOOL_NAMES = Object.freeze([
12303
12304
  "launch_environment",
12304
12305
  "launch_job",
12305
12306
  "launch_multi_review",
12307
+ "launch_node_environment",
12306
12308
  "list_agents",
12307
12309
  "list_environments",
12308
12310
  "list_mailboxes",
12311
+ "list_node_environments",
12312
+ "list_nodes",
12309
12313
  "list_projects",
12310
12314
  "list_tabs",
12311
12315
  "list_tickets",
@@ -12314,13 +12318,23 @@ var COORDINATOR_CONTROL_TOOL_NAMES = Object.freeze([
12314
12318
  "open_multi_review_fix",
12315
12319
  "pause_build_pipeline",
12316
12320
  "read_messages",
12321
+ "read_node_environment",
12322
+ "request_env_value_reveal",
12323
+ "request_environment_deletion",
12324
+ "request_project_file_update",
12325
+ "request_project_on_node",
12317
12326
  "resume_build_pipeline",
12318
12327
  "send_message",
12328
+ "send_node_message",
12329
+ "send_prompt_to_node_tab",
12319
12330
  "send_prompt_to_tab",
12320
12331
  "start_build_pipeline",
12321
12332
  "start_environment",
12322
12333
  "start_multi_review",
12334
+ "start_node_environment",
12323
12335
  "stop_environment",
12336
+ "stop_node_environment",
12337
+ "transfer_files",
12324
12338
  "update_ticket"
12325
12339
  ]);
12326
12340
  var COORDINATOR_CONTEXT_OPEN_TAG = "<orkestrator-coordinator-context>";
@@ -18570,6 +18584,12 @@ var CODEX_ACCOUNT_MCP_SERVER = "codex_apps";
18570
18584
  function isCodexAccountAuthFailure(notice) {
18571
18585
  return notice.method === "mcpServer/startupStatus/updated" && notice.subject === CODEX_ACCOUNT_MCP_SERVER && notice.severity === "error" && /\bHTTP 401\b|\b401 Unauthorized\b|"token_expired"/.test(notice.detail ?? "");
18572
18586
  }
18587
+ function signedOutAccountRead(error) {
18588
+ if (error instanceof AppServerRpcError && /\bunauthorized \(401\)|\bHTTP 401\b|\b401 Unauthorized\b/i.test(error.message)) {
18589
+ return { account: null, requiresOpenaiAuth: true };
18590
+ }
18591
+ throw error;
18592
+ }
18573
18593
  async function readStoredLoginFingerprint(codexHome) {
18574
18594
  try {
18575
18595
  const file = await open5(join13(codexHome, "auth.json"), "r");
@@ -18899,7 +18919,7 @@ class AppServerEngine {
18899
18919
  checkAccountSignIn(accountChanged, refreshToken = false) {
18900
18920
  const sequence = ++this.accountCheckSequence;
18901
18921
  const generation = this.supervisor.getGeneration();
18902
- this.supervisor.request("account/read", { refreshToken }).then((response) => this.applyAccountRead(response, sequence, generation, accountChanged)).catch((error) => {
18922
+ this.supervisor.request("account/read", { refreshToken }).catch(signedOutAccountRead).then((response) => this.applyAccountRead(response, sequence, generation, accountChanged)).catch((error) => {
18903
18923
  console.warn("[codex-bridge] Account sign-in check failed:", redactSecrets(error instanceof Error ? error.message : String(error)));
18904
18924
  });
18905
18925
  }
@@ -19304,7 +19324,7 @@ class AppServerEngine {
19304
19324
  const sequence = ++this.accountCheckSequence;
19305
19325
  const generation = this.supervisor.getGeneration();
19306
19326
  const loginSequence = this.loginSequence;
19307
- const response = await this.supervisor.request("account/read", { refreshToken: false });
19327
+ const response = await this.supervisor.request("account/read", { refreshToken: false }).catch(signedOutAccountRead);
19308
19328
  this.applyAccountRead(response, sequence, generation, false).catch((error) => {
19309
19329
  console.warn("[codex-bridge] Account connector recovery failed:", redactSecrets(error instanceof Error ? error.message : String(error)));
19310
19330
  });