@parall/daemon 1.76.0 → 1.78.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.
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "1.76.0",
3
- "built_at": "2026-10-16T01:13:45.526Z",
2
+ "version": "1.78.0",
3
+ "built_at": "2026-10-18T19:12:52.287Z",
4
4
  "min_node_version": "20.0.0",
5
5
  "files": {
6
6
  "bb-browser-daemon.js": {
@@ -16,29 +16,29 @@
16
16
  "size": 18
17
17
  },
18
18
  "parall-browser-pod.js": {
19
- "sha256": "5b2209c355939260cd0a73aa1625a8284778a3f34139a7cabfd8b50e70f40baf",
20
- "size": 3065694
19
+ "sha256": "c0f1bc9930493bb633abc3c40c01d0dac5e9a36385ec863fc05e9622a2409a5a",
20
+ "size": 3069206
21
21
  },
22
22
  "parall-channel-exec.js": {
23
23
  "sha256": "2500dec2c332cce29aea476d3c048b49dbc43acf8572059bae2cd9dff49750b4",
24
24
  "size": 7978
25
25
  },
26
26
  "parall-claude-agent.js": {
27
- "sha256": "fa2342c014193b164d37a58a524b19705df9dca02c5b1cece7f21b7033856105",
28
- "size": 3056572
27
+ "sha256": "6bd17324a4d0701ab7d60d3c544413459a9af77de53814e5ab1189e4c4db6471",
28
+ "size": 3079245
29
29
  },
30
30
  "parall-codex-agent.js": {
31
- "sha256": "7677bca8b63fa1024e7b93f604cb928782e863d9793bb835e289f2292cb4e17c",
32
- "size": 3082473
31
+ "sha256": "7b8c6791695c87991181ce8799c3a00647c38846cadfd2c984fcd3e7f8e78141",
32
+ "size": 3092867
33
33
  },
34
34
  "parall-daemon.js": {
35
- "sha256": "069abd49b20d8a81f841e11e8c69661468c85e758167ff2a6085623d08033240",
36
- "size": 3251625
35
+ "sha256": "241fbf0ab14e3d72cef71332b8c74ea71e43a6158e24b9213579c5ecf1385fbe",
36
+ "size": 3256332
37
37
  },
38
38
  "parall-openclaw-agent.js": {
39
39
  "sha256": "856a1c3a9ae0ffef8efe2481fa1171dbeb1d67cccb88616aa9bf16da96a69355",
40
40
  "size": 9923
41
41
  }
42
42
  },
43
- "signature": "WpaGZFDCh1zc0bRrB0PsNWVlBsNgaN364EKaJMhKwPVoHnfbvT0t3CT3TBeQh337+NcAj3D4SrEE7xUHeExdAw=="
43
+ "signature": "oEsoc2/Lru259BzlAjs1JKBodODnYyfdyI3H1vRk+ivZNHtboEsxkJTt0zYIHxoyrFCXYTISnW08++tLhyH7BQ=="
44
44
  }
@@ -64250,7 +64250,7 @@ import * as path6 from "node:path";
64250
64250
  import { pathToFileURL } from "node:url";
64251
64251
 
64252
64252
  // ts/sdk/dist/browser-use-contract.generated.js
64253
- var browserUseContract = { "actions": { "read": { "grant": "browser.read", "target": "optional_tab", "params": { "required": [], "properties": { "url": { "type": "string", "min_length": 1, "max_length": 8192, "schemes": ["http", "https", "about:blank"] } }, "rules": ["exactly one of params.url or target is required", "params.url creates a hidden Profile-bound tab and closes it before terminal success or failure"], "additional_properties": false }, "success": { "base": null, "fields": { "profile_id": "ebp_identifier", "url": "string", "title": "string", "article": "nullable_article" } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "PAGE_LOAD_FAILED"] }, "tabs": { "grant": "browser.read", "target": "none", "params": { "required": [], "properties": {}, "additional_properties": false }, "success": { "base": null, "fields": { "tabs": "tab_summary_array" } }, "errors": ["TAB_GONE"] }, "wait": { "grant": "browser.read", "target": "tab", "params": { "required": [], "properties": { "selector": { "type": "string", "min_length": 1, "max_length": 4096 }, "state": { "enum": ["attached", "detached", "visible", "hidden", "load"], "default": "attached" }, "timeout_ms": { "type": "integer", "minimum": 1, "maximum": 3e4, "default": 1e4 } }, "rules": ["selector is required unless state=load", "state=load forbids selector"], "additional_properties": false }, "success": { "base": "tab_state", "fields": { "matched": { "const": true } } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "PAGE_LOAD_FAILED"] }, "snapshot": { "grant": "browser.read", "target": "tab", "params": { "required": [], "properties": { "interactive": { "type": "boolean", "default": false }, "compact": { "type": "boolean", "default": false }, "depth": { "type": "integer", "minimum": 0, "maximum": 64 } }, "additional_properties": false }, "success": { "base": "tab_state", "fields": { "snapshot": "string", "snapshot_id": "identifier" } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "PAGE_LOAD_FAILED"] }, "get": { "grant": "browser.read", "target": "tab_or_ref", "params": { "required": ["prop"], "properties": { "selector": { "type": "string", "min_length": 1, "max_length": 4096 }, "prop": { "enum": ["text", "html", "value", "attr", "title", "url"] }, "name": { "type": "string", "min_length": 1, "max_length": 256 } }, "rules": ["title/url forbid locator and name", "text/html/value require exactly one locator", "attr requires exactly one locator and name"], "additional_properties": false }, "success": { "base": "tab_state", "fields": { "value": "nullable_string" } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "STALE_REF", "PAGE_LOAD_FAILED"] }, "screenshot": { "grant": "browser.read", "target": "tab", "params": { "required": [], "properties": {}, "additional_properties": false }, "success": { "base": "tab_state", "fields": { "format": { "const": "png" }, "base64": "canonical_base64" } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "PAGE_LOAD_FAILED"] }, "open": { "grant": "browser.interact", "target": "none", "params": { "required": ["url"], "properties": { "url": { "type": "string", "min_length": 1, "max_length": 8192, "schemes": ["http", "https", "about:blank"] }, "hidden": { "type": "boolean", "default": false }, "viewport": { "type": "viewport" } }, "additional_properties": false }, "success": { "base": "tab_state", "fields": {} }, "errors": ["PAGE_LOAD_FAILED"] }, "navigate": { "grant": "browser.interact", "target": "tab", "params": { "required": ["url"], "properties": { "url": { "type": "string", "min_length": 1, "max_length": 8192, "schemes": ["http", "https", "about:blank"] } }, "additional_properties": false }, "success": { "base": "tab_state", "fields": {} }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "PAGE_LOAD_FAILED"] }, "viewport": { "grant": "browser.interact", "target": "tab", "params": { "required": ["width", "height"], "properties": { "width": { "type": "integer", "minimum": 320, "maximum": 3840 }, "height": { "type": "integer", "minimum": 240, "maximum": 2160 } }, "additional_properties": false }, "success": { "base": "tab_state", "fields": { "viewport": "viewport" } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE"] }, "click": { "grant": "browser.interact", "target": "tab_or_ref", "params": { "required": [], "properties": { "selector": "selector" }, "rules": ["exactly one of params.selector or target.ref"], "additional_properties": false }, "success": { "base": "tab_state", "fields": { "clicked": { "const": true } } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "STALE_REF", "PAGE_LOAD_FAILED"] }, "fill": { "grant": "browser.interact", "target": "tab_or_ref", "params": { "required": ["text"], "properties": { "selector": "selector", "text": { "type": "string", "allow_empty": true } }, "rules": ["exactly one of params.selector or target.ref"], "additional_properties": false }, "success": { "base": "tab_state", "fields": { "filled": { "const": true }, "characters": "non_negative_integer" } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "STALE_REF", "PAGE_LOAD_FAILED"] }, "type": { "grant": "browser.interact", "target": "tab_or_ref", "params": { "required": ["text"], "properties": { "selector": "selector", "text": { "type": "string", "min_length": 1 } }, "rules": ["exactly one of params.selector or target.ref"], "additional_properties": false }, "success": { "base": "tab_state", "fields": { "typed": { "const": true }, "characters": "non_negative_integer" } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "STALE_REF", "PAGE_LOAD_FAILED"] }, "press": { "grant": "browser.interact", "target": "tab", "params": { "required": ["key"], "properties": { "key": "single_unicode_character_or_named_key" }, "additional_properties": false }, "success": { "base": "tab_state", "fields": { "pressed": { "const": true } } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "PAGE_LOAD_FAILED"] }, "scroll": { "grant": "browser.interact", "target": "tab", "params": { "required": [], "properties": { "direction": { "enum": ["up", "down", "left", "right"], "default": "down" }, "pixels": { "type": "integer", "minimum": 1, "maximum": 1e5, "default": 500 } }, "additional_properties": false }, "success": { "base": "tab_state", "fields": { "scrolled": { "const": true } } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "PAGE_LOAD_FAILED"] }, "close": { "grant": "browser.interact", "target": "tab", "params": { "required": [], "properties": {}, "additional_properties": false }, "success": { "base": "tab_state", "fields": { "closed": { "const": true } } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE"] }, "recover": { "grant": "browser.interact", "target": "tab", "params": { "required": [], "properties": {}, "additional_properties": false }, "success": { "base": "tab_state", "fields": { "recovered_from_tab_id": "identifier" } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "PAGE_LOAD_FAILED"] }, "eval": { "grant": "browser.advanced", "target": "tab", "params": { "required": ["expression"], "properties": { "expression": { "type": "string", "min_length": 1 }, "timeout_ms": { "type": "integer", "minimum": 1, "maximum": 15e3, "default": 15e3 } }, "additional_properties": false }, "success": { "base": "tab_state", "fields": { "value": "json_value_max_256_kib" } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "PAGE_LOAD_FAILED"] } }, "successShapes": { "tab_state": { "required": ["tab_id", "profile_id", "browser_generation", "document_generation", "url", "title"], "fields": { "tab_id": "identifier", "profile_id": "ebp_identifier", "browser_generation": "positive_integer", "document_generation": "positive_integer", "url": "string", "title": "string" }, "additional_properties": false }, "tab_summary": { "base": "tab_state", "required_additions": ["loading"], "fields": { "loading": "boolean" }, "additional_properties": false }, "article": { "required": ["title", "byline", "excerpt", "text", "published_time", "site_name", "length"], "fields": { "title": "nullable_string", "byline": "nullable_string", "excerpt": "nullable_string", "text": "string", "published_time": "nullable_string", "site_name": "nullable_string", "length": "non_negative_integer" }, "additional_properties": false } } };
64253
+ var browserUseContract = { "actions": { "read": { "grant": "browser.read", "target": "optional_tab", "params": { "required": [], "properties": { "url": { "type": "string", "min_length": 1, "max_length": 8192, "schemes": ["http", "https", "about:blank"] } }, "rules": ["exactly one of params.url or target is required", "params.url creates a hidden Profile-bound tab and closes it before terminal success or failure"], "additional_properties": false }, "success": { "base": null, "fields": { "profile_id": "ebp_identifier", "url": "string", "title": "string", "article": "nullable_article" } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "PAGE_LOAD_FAILED", "DIALOG_OPEN"] }, "tabs": { "grant": "browser.read", "target": "none", "params": { "required": [], "properties": {}, "additional_properties": false }, "success": { "base": null, "fields": { "tabs": "tab_summary_array" } }, "errors": ["TAB_GONE"] }, "wait": { "grant": "browser.read", "target": "tab", "params": { "required": [], "properties": { "selector": { "type": "string", "min_length": 1, "max_length": 4096 }, "state": { "enum": ["attached", "detached", "visible", "hidden", "load"], "default": "attached" }, "timeout_ms": { "type": "integer", "minimum": 1, "maximum": 3e4, "default": 1e4 } }, "rules": ["selector is required unless state=load", "state=load forbids selector"], "additional_properties": false }, "success": { "base": "tab_state", "fields": { "matched": { "const": true } } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "PAGE_LOAD_FAILED", "DIALOG_OPEN"] }, "snapshot": { "grant": "browser.read", "target": "tab", "params": { "required": [], "properties": { "interactive": { "type": "boolean", "default": false }, "compact": { "type": "boolean", "default": false }, "depth": { "type": "integer", "minimum": 0, "maximum": 64 } }, "additional_properties": false }, "success": { "base": "tab_state", "fields": { "snapshot": "string", "snapshot_id": "identifier" } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "PAGE_LOAD_FAILED", "DIALOG_OPEN"] }, "get": { "grant": "browser.read", "target": "tab_or_ref", "params": { "required": ["prop"], "properties": { "selector": { "type": "string", "min_length": 1, "max_length": 4096 }, "prop": { "enum": ["text", "html", "value", "attr", "title", "url"] }, "name": { "type": "string", "min_length": 1, "max_length": 256 } }, "rules": ["title/url forbid locator and name", "text/html/value require exactly one locator", "attr requires exactly one locator and name"], "additional_properties": false }, "success": { "base": "tab_state", "fields": { "value": "nullable_string" } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "STALE_REF", "PAGE_LOAD_FAILED", "DIALOG_OPEN"] }, "screenshot": { "grant": "browser.read", "target": "tab", "params": { "required": [], "properties": {}, "additional_properties": false }, "success": { "base": "tab_state", "fields": { "format": { "const": "png" }, "base64": "canonical_base64" } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "PAGE_LOAD_FAILED", "DIALOG_OPEN"] }, "open": { "grant": "browser.interact", "target": "none", "params": { "required": ["url"], "properties": { "url": { "type": "string", "min_length": 1, "max_length": 8192, "schemes": ["http", "https", "about:blank"] }, "hidden": { "type": "boolean", "default": false }, "viewport": { "type": "viewport" } }, "additional_properties": false }, "success": { "base": "tab_state", "fields": {} }, "errors": ["PAGE_LOAD_FAILED"] }, "navigate": { "grant": "browser.interact", "target": "tab", "params": { "required": ["url"], "properties": { "url": { "type": "string", "min_length": 1, "max_length": 8192, "schemes": ["http", "https", "about:blank"] } }, "additional_properties": false }, "success": { "base": "tab_state", "fields": {} }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "PAGE_LOAD_FAILED"] }, "viewport": { "grant": "browser.interact", "target": "tab", "params": { "required": ["width", "height"], "properties": { "width": { "type": "integer", "minimum": 320, "maximum": 3840 }, "height": { "type": "integer", "minimum": 240, "maximum": 2160 } }, "additional_properties": false }, "success": { "base": "tab_state", "fields": { "viewport": "viewport" } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "DIALOG_OPEN"] }, "click": { "grant": "browser.interact", "target": "tab_or_ref", "params": { "required": [], "properties": { "selector": "selector" }, "rules": ["exactly one of params.selector or target.ref"], "additional_properties": false }, "success": { "base": "tab_state", "fields": { "clicked": { "const": true } } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "STALE_REF", "PAGE_LOAD_FAILED", "DIALOG_OPEN"] }, "fill": { "grant": "browser.interact", "target": "tab_or_ref", "params": { "required": ["text"], "properties": { "selector": "selector", "text": { "type": "string", "allow_empty": true } }, "rules": ["exactly one of params.selector or target.ref"], "additional_properties": false }, "success": { "base": "tab_state", "fields": { "filled": { "const": true }, "characters": "non_negative_integer" } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "STALE_REF", "PAGE_LOAD_FAILED", "DIALOG_OPEN"] }, "type": { "grant": "browser.interact", "target": "tab_or_ref", "params": { "required": ["text"], "properties": { "selector": "selector", "text": { "type": "string", "min_length": 1 } }, "rules": ["exactly one of params.selector or target.ref"], "additional_properties": false }, "success": { "base": "tab_state", "fields": { "typed": { "const": true }, "characters": "non_negative_integer" } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "STALE_REF", "PAGE_LOAD_FAILED", "DIALOG_OPEN"] }, "press": { "grant": "browser.interact", "target": "tab", "params": { "required": ["key"], "properties": { "key": "single_unicode_character_or_named_key" }, "additional_properties": false }, "success": { "base": "tab_state", "fields": { "pressed": { "const": true } } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "PAGE_LOAD_FAILED", "DIALOG_OPEN"] }, "scroll": { "grant": "browser.interact", "target": "tab", "params": { "required": [], "properties": { "direction": { "enum": ["up", "down", "left", "right"], "default": "down" }, "pixels": { "type": "integer", "minimum": 1, "maximum": 1e5, "default": 500 } }, "additional_properties": false }, "success": { "base": "tab_state", "fields": { "scrolled": { "const": true } } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "PAGE_LOAD_FAILED", "DIALOG_OPEN"] }, "dialog": { "grant": "browser.interact", "target": "tab", "params": { "required": [], "properties": { "accept": { "type": "boolean" }, "text": { "type": "string", "allow_empty": true, "max_length": 4096 } }, "rules": ["absent accept inspects the open dialog without answering it", "present accept answers the open dialog: true accepts, false dismisses", "text requires accept"], "additional_properties": false }, "success": { "base": "tab_state", "fields": { "dialog": "nullable_dialog" } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE"] }, "close": { "grant": "browser.interact", "target": "tab", "params": { "required": [], "properties": {}, "additional_properties": false }, "success": { "base": "tab_state", "fields": { "closed": { "const": true } } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE"] }, "recover": { "grant": "browser.interact", "target": "tab", "params": { "required": [], "properties": {}, "additional_properties": false }, "success": { "base": "tab_state", "fields": { "recovered_from_tab_id": "identifier" } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "PAGE_LOAD_FAILED"] }, "eval": { "grant": "browser.advanced", "target": "tab", "params": { "required": ["expression"], "properties": { "expression": { "type": "string", "min_length": 1 }, "timeout_ms": { "type": "integer", "minimum": 1, "maximum": 15e3, "default": 15e3 } }, "additional_properties": false }, "success": { "base": "tab_state", "fields": { "value": "json_value_max_256_kib" } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "PAGE_LOAD_FAILED", "DIALOG_OPEN"] } }, "successShapes": { "tab_state": { "required": ["tab_id", "profile_id", "browser_generation", "document_generation", "url", "title"], "fields": { "tab_id": "identifier", "profile_id": "ebp_identifier", "browser_generation": "positive_integer", "document_generation": "positive_integer", "url": "string", "title": "string" }, "additional_properties": false }, "tab_summary": { "base": "tab_state", "required_additions": ["loading"], "fields": { "loading": "boolean" }, "additional_properties": false }, "article": { "required": ["title", "byline", "excerpt", "text", "published_time", "site_name", "length"], "fields": { "title": "nullable_string", "byline": "nullable_string", "excerpt": "nullable_string", "text": "string", "published_time": "nullable_string", "site_name": "nullable_string", "length": "non_negative_integer" }, "additional_properties": false }, "dialog": { "required": ["type", "message"], "fields": { "type": "string", "message": "string", "accepted": "boolean" }, "type_values": ["alert", "confirm", "prompt"], "additional_properties": false } } };
64254
64254
 
64255
64255
  // ts/sdk/dist/browser-use-validation.js
64256
64256
  var BROWSER_USE_ACTION_SCHEMAS = browserUseContract.actions;
@@ -64326,6 +64326,7 @@ function wechatEndpoints(apiBase) {
64326
64326
  WECHAT_CONTACTS: (orgId) => `${agentBase(orgId)}/contacts`,
64327
64327
  WECHAT_HISTORY: (orgId) => `${agentBase(orgId)}/history`,
64328
64328
  WECHAT_MEDIA: (orgId) => `${agentBase(orgId)}/media`,
64329
+ WECHAT_MEDIA_SEND: (orgId) => `${agentBase(orgId)}/send-media`,
64329
64330
  WECHAT_PROFILE: (orgId) => `${agentBase(orgId)}/profile`,
64330
64331
  WECHAT_STATUS: (orgId) => `${agentBase(orgId)}/status`
64331
64332
  };
@@ -64414,6 +64415,8 @@ var ENDPOINTS = {
64414
64415
  CHAT_RESTORE: (orgId, chatId) => `${API_BASE2}/orgs/${orgId}/chats/${chatId}/restore`,
64415
64416
  CHAT_MEMBERS: (orgId, chatId) => `${API_BASE2}/orgs/${orgId}/chats/${chatId}/members`,
64416
64417
  CHAT_MEMBER: (orgId, chatId, userId) => `${API_BASE2}/orgs/${orgId}/chats/${chatId}/members/${userId}`,
64418
+ CHAT_INVITATIONS: (orgId, chatId) => `${API_BASE2}/orgs/${orgId}/chats/${chatId}/invitations`,
64419
+ CHAT_INVITATION: (orgId, chatId, invId) => `${API_BASE2}/orgs/${orgId}/chats/${chatId}/invitations/${invId}`,
64417
64420
  CHAT_TRANSFER_OWNERSHIP: (orgId, chatId) => `${API_BASE2}/orgs/${orgId}/chats/${chatId}/transfer-ownership`,
64418
64421
  CHAT_MESSAGES: (orgId, chatId) => `${API_BASE2}/orgs/${orgId}/chats/${chatId}/messages`,
64419
64422
  // Messages (global, by message ID)
@@ -64460,6 +64463,8 @@ var ENDPOINTS = {
64460
64463
  AGENT_NEW_SESSION: (orgId, agentId) => `${API_BASE2}/orgs/${orgId}/agents/${agentId}/new-session`,
64461
64464
  AGENT_DEEP_RESET: (orgId, agentId) => `${API_BASE2}/orgs/${orgId}/agents/${agentId}/deep-reset`,
64462
64465
  AGENT_SESSIONS: (orgId, agentId) => `${API_BASE2}/orgs/${orgId}/agents/${agentId}/sessions`,
64466
+ AGENT_WORK: (orgId, agentId) => `${API_BASE2}/orgs/${orgId}/agents/${agentId}/work`,
64467
+ ORG_LIVE_AGENT_SESSIONS: (orgId) => `${API_BASE2}/orgs/${orgId}/agent-sessions/live`,
64463
64468
  AGENT_SESSION: (orgId, agentId, sessionId) => `${API_BASE2}/orgs/${orgId}/agents/${agentId}/sessions/${sessionId}`,
64464
64469
  AGENT_SESSION_STEPS: (orgId, agentId, sessionId) => `${API_BASE2}/orgs/${orgId}/agents/${agentId}/sessions/${sessionId}/steps`,
64465
64470
  AGENT_SESSION_STEP: (orgId, agentId, sessionId, stepId) => `${API_BASE2}/orgs/${orgId}/agents/${agentId}/sessions/${sessionId}/steps/${stepId}`,
@@ -64674,6 +64679,10 @@ var ENDPOINTS = {
64674
64679
  INVITATION_ACCEPT: (id) => `${API_BASE2}/invitations/${id}/accept`,
64675
64680
  INVITATION_DECLINE: (id) => `${API_BASE2}/invitations/${id}/decline`,
64676
64681
  INVITATION_BY_TOKEN: (token) => `${API_BASE2}/invitations/by-token/${token}`,
64682
+ // Cross-org channel invitations (invitee, account level)
64683
+ MY_CHAT_INVITATIONS: `${API_BASE2}/chat-invitations/pending`,
64684
+ CHAT_INVITATION_ACCEPT: (id) => `${API_BASE2}/chat-invitations/${id}/accept`,
64685
+ CHAT_INVITATION_DECLINE: (id) => `${API_BASE2}/chat-invitations/${id}/decline`,
64677
64686
  // Org-level shareable invite link
64678
64687
  ORG_INVITE_LINK: (orgId) => `${API_BASE2}/orgs/${orgId}/invite-link`,
64679
64688
  ORG_INVITE_LINK_REGENERATE: (orgId) => `${API_BASE2}/orgs/${orgId}/invite-link/regenerate`,
@@ -65134,6 +65143,7 @@ var TaskLabelClient = class extends ProjectTaskClient {
65134
65143
  };
65135
65144
 
65136
65145
  // ts/sdk/dist/wechat-client.js
65146
+ var WECHAT_MEDIA_TIMEOUT_MS = 1e5;
65137
65147
  var WechatClient = class extends TaskLabelClient {
65138
65148
  /** Address book enriched with display names. */
65139
65149
  async listWechatContacts(orgId) {
@@ -65152,7 +65162,13 @@ var WechatClient = class extends TaskLabelClient {
65152
65162
  }
65153
65163
  /** Fetch and cache one WeChat image or completed file on first explicit read. */
65154
65164
  async materializeWechatMedia(orgId, messageId) {
65155
- return this.request("POST", ENDPOINTS.WECHAT_MEDIA(orgId), { message_id: messageId });
65165
+ return this.request("POST", ENDPOINTS.WECHAT_MEDIA(orgId), { message_id: messageId }, void 0, false, { timeoutMs: WECHAT_MEDIA_TIMEOUT_MS });
65166
+ }
65167
+ /** Send one uploaded image or file; never automatically retry an uncertain send. */
65168
+ async sendWechatMedia(orgId, input) {
65169
+ return this.request("POST", ENDPOINTS.WECHAT_MEDIA_SEND(orgId), input, void 0, false, {
65170
+ timeoutMs: WECHAT_MEDIA_TIMEOUT_MS
65171
+ });
65156
65172
  }
65157
65173
  /** Connected WeChat account identity. */
65158
65174
  async wechatProfile(orgId) {
@@ -65589,6 +65605,15 @@ var ChannelConversationClient = class extends SlackReadClient {
65589
65605
 
65590
65606
  // ts/sdk/dist/clip-connection-client.js
65591
65607
  var ClipConnectionClient = class extends ChannelConversationClient {
65608
+ /** Re-authorize an existing MCP credential slot. */
65609
+ async initiateClipMCPOAuthById(orgId, clipId, configId, serverUrl, expectedVersion, oauthClient) {
65610
+ const req = {
65611
+ server_url: serverUrl,
65612
+ auth_type: "oauth",
65613
+ ...oauthClient ? { oauth_client: oauthClient } : {}
65614
+ };
65615
+ return this.request("PUT", ENDPOINTS.ORG_CLIP_MCP_CONFIG_BY_ID(orgId, clipId, configId), req, void 0, false, { headers: { "If-Match": `"${expectedVersion}"` }, timeoutMs: 4e4 });
65616
+ }
65592
65617
  // ---- Clip connections ----
65593
65618
  async listClipConnections(orgId, clipId) {
65594
65619
  return this.request("GET", ENDPOINTS.CLIP_CONNECTIONS(orgId, clipId));
@@ -66532,6 +66557,28 @@ var ParallClient = class _ParallClient extends ApprovalApproversClient {
66532
66557
  async declineInvitation(id) {
66533
66558
  return this.request("POST", ENDPOINTS.INVITATION_DECLINE(id));
66534
66559
  }
66560
+ /** Invite a person from another org into a channel by email (needs the host org's rollout flag). */
66561
+ async createChatInvitation(orgId, chatId, email) {
66562
+ return this.request("POST", ENDPOINTS.CHAT_INVITATIONS(orgId, chatId), { email });
66563
+ }
66564
+ async listChatInvitations(orgId, chatId) {
66565
+ const res = await this.request("GET", ENDPOINTS.CHAT_INVITATIONS(orgId, chatId));
66566
+ return res.data;
66567
+ }
66568
+ async revokeChatInvitation(orgId, chatId, invId) {
66569
+ return this.request("DELETE", ENDPOINTS.CHAT_INVITATION(orgId, chatId, invId));
66570
+ }
66571
+ async getMyChatInvitations() {
66572
+ const res = await this.request("GET", ENDPOINTS.MY_CHAT_INVITATIONS);
66573
+ return res.data;
66574
+ }
66575
+ /** Join the invited channel as `orgId`, one of the caller's own orgs. */
66576
+ async acceptChatInvitation(id, orgId) {
66577
+ return this.request("POST", ENDPOINTS.CHAT_INVITATION_ACCEPT(id), { org_id: orgId });
66578
+ }
66579
+ async declineChatInvitation(id) {
66580
+ return this.request("POST", ENDPOINTS.CHAT_INVITATION_DECLINE(id));
66581
+ }
66535
66582
  async getInvitationByToken(token) {
66536
66583
  return this.request("GET", ENDPOINTS.INVITATION_BY_TOKEN(token));
66537
66584
  }
@@ -66794,6 +66841,17 @@ var ParallClient = class _ParallClient extends ApprovalApproversClient {
66794
66841
  async getAgentSessions(orgId, agentId, params) {
66795
66842
  return this.request("GET", ENDPOINTS.AGENT_SESSIONS(orgId, agentId), void 0, params);
66796
66843
  }
66844
+ /** What the agent is doing now, projected for the caller (any org member). */
66845
+ async getAgentWork(orgId, agentId) {
66846
+ return this.request("GET", ENDPOINTS.AGENT_WORK(orgId, agentId));
66847
+ }
66848
+ /**
66849
+ * Every live session in the org, in the public view the `agent_session.new` frame
66850
+ * already carries to every member (no `runtime_ref`; any org member may call it).
66851
+ */
66852
+ async getLiveAgentSessions(orgId) {
66853
+ return this.request("GET", ENDPOINTS.ORG_LIVE_AGENT_SESSIONS(orgId));
66854
+ }
66797
66855
  async getAgentSession(orgId, agentId, sessionId) {
66798
66856
  return this.request("GET", ENDPOINTS.AGENT_SESSION(orgId, agentId, sessionId));
66799
66857
  }
@@ -68489,7 +68547,7 @@ var ParallClient = class _ParallClient extends ApprovalApproversClient {
68489
68547
  */
68490
68548
  async execEdgeClip(orgId, req) {
68491
68549
  const t = req.timeout;
68492
- const serverTimeout = t !== void 0 && t > 0 && t <= 12e4 ? t : 3e4;
68550
+ const serverTimeout = t !== void 0 && t > 0 ? Math.min(t, 12e4) : 3e4;
68493
68551
  const timeoutMs = serverTimeout + 1e4;
68494
68552
  try {
68495
68553
  return await this.request("POST", ENDPOINTS.ORG_EDGE_EXEC(orgId), req, void 0, false, {
@@ -68563,15 +68621,6 @@ var ParallClient = class _ParallClient extends ApprovalApproversClient {
68563
68621
  timeoutMs: 4e4
68564
68622
  });
68565
68623
  }
68566
- /** Re-authorize an existing MCP credential slot. */
68567
- async initiateClipMCPOAuthById(orgId, clipId, configId, serverUrl, expectedVersion, oauthClient) {
68568
- const req = {
68569
- server_url: serverUrl,
68570
- auth_type: "oauth",
68571
- ...oauthClient ? { oauth_client: oauthClient } : {}
68572
- };
68573
- return this.request("PUT", ENDPOINTS.ORG_CLIP_MCP_CONFIG_BY_ID(orgId, clipId, configId), req, void 0, false, { headers: { "If-Match": `"${expectedVersion}"` }, timeoutMs: 4e4 });
68574
- }
68575
68624
  /** Delete one MCP config and its paired connection. */
68576
68625
  async deleteClipMCPConfigById(orgId, clipId, configId, expectedVersion) {
68577
68626
  return this.request("DELETE", ENDPOINTS.ORG_CLIP_MCP_CONFIG_BY_ID(orgId, clipId, configId), void 0, void 0, false, { headers: { "If-Match": `"${expectedVersion}"` } });