ai_co_discuss 0.4.22 → 0.4.23

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": "ai_co_discuss",
3
- "version": "0.4.22",
3
+ "version": "0.4.23",
4
4
  "bin": {
5
5
  "codiscuss": "runner/codiscuss.mjs"
6
6
  },
@@ -529,6 +529,17 @@ export async function execution_details_command(home, raw, { trust = false } = {
529
529
  return { room_id: input.room_id, [chat ? 'chat_id' : 'execution_id']: execution_id, available: Boolean(parsed), ...parsed };
530
530
  }
531
531
 
532
+ /**
533
+ * `execution-details` asked for by another device, answered inside the relay's own process like `remote_room_files`:
534
+ * the private-chat page reads it for every turn and again every poll for a running one, so starting Node and asking
535
+ * the site to check the credential each time made the page wait seconds for what is already on this computer.
536
+ */
537
+ export async function remote_execution_details(home, input) {
538
+ assert_shared_home(home);
539
+ guard_remote_request('execution-details', input, { projects: launch_projects(home).projects, participants: launch_settings(home).participants, home });
540
+ return execution_details_command(home, input, { trust: true });
541
+ }
542
+
532
543
  /** The last bytes of a log as text, starting at a whole line. */
533
544
  function read_log_tail(path) {
534
545
  const size = statSync(path).size, length = Math.min(size, DETAIL_LOG_TAIL_BYTES);