@parall/daemon 1.77.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.77.0",
3
- "built_at": "2026-10-17T07:43:42.749Z",
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": "dce3a5a0364803f8f11b4c324561fe42567b6d1311ba668fd048d2922cf49d0e",
20
- "size": 3068773
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": "3a895c79731a67c5c0c0c48bae982c69a2ccd1ba514247f2e5d075ab9b03688f",
28
- "size": 3078456
27
+ "sha256": "6bd17324a4d0701ab7d60d3c544413459a9af77de53814e5ab1189e4c4db6471",
28
+ "size": 3079245
29
29
  },
30
30
  "parall-codex-agent.js": {
31
- "sha256": "a7665fd961638fc210c940ba8e3791640bcee0cbce1467ed9b92d9a6fbc364da",
32
- "size": 3092078
31
+ "sha256": "7b8c6791695c87991181ce8799c3a00647c38846cadfd2c984fcd3e7f8e78141",
32
+ "size": 3092867
33
33
  },
34
34
  "parall-daemon.js": {
35
- "sha256": "ed01cb46bb3a8278097b8fcd5a3896cc45d29fe7687cb91f27e1beb1b94d80b5",
36
- "size": 3255850
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": "R+pPu0Jydvvl4X3OtTN82HW1nzZ4Z8QmyXAtXMw9Q8BV4jTv+Dw+kaTOAI5qgvXG8CSxv7kWm/9qxfVpf+pnCA=="
43
+ "signature": "oEsoc2/Lru259BzlAjs1JKBodODnYyfdyI3H1vRk+ivZNHtboEsxkJTt0zYIHxoyrFCXYTISnW08++tLhyH7BQ=="
44
44
  }
@@ -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
  };
@@ -65142,6 +65143,7 @@ var TaskLabelClient = class extends ProjectTaskClient {
65142
65143
  };
65143
65144
 
65144
65145
  // ts/sdk/dist/wechat-client.js
65146
+ var WECHAT_MEDIA_TIMEOUT_MS = 1e5;
65145
65147
  var WechatClient = class extends TaskLabelClient {
65146
65148
  /** Address book enriched with display names. */
65147
65149
  async listWechatContacts(orgId) {
@@ -65160,7 +65162,13 @@ var WechatClient = class extends TaskLabelClient {
65160
65162
  }
65161
65163
  /** Fetch and cache one WeChat image or completed file on first explicit read. */
65162
65164
  async materializeWechatMedia(orgId, messageId) {
65163
- 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
+ });
65164
65172
  }
65165
65173
  /** Connected WeChat account identity. */
65166
65174
  async wechatProfile(orgId) {
@@ -68539,7 +68547,7 @@ var ParallClient = class _ParallClient extends ApprovalApproversClient {
68539
68547
  */
68540
68548
  async execEdgeClip(orgId, req) {
68541
68549
  const t = req.timeout;
68542
- const serverTimeout = t !== void 0 && t > 0 && t <= 12e4 ? t : 3e4;
68550
+ const serverTimeout = t !== void 0 && t > 0 ? Math.min(t, 12e4) : 3e4;
68543
68551
  const timeoutMs = serverTimeout + 1e4;
68544
68552
  try {
68545
68553
  return await this.request("POST", ENDPOINTS.ORG_EDGE_EXEC(orgId), req, void 0, false, {
@@ -52088,6 +52088,7 @@ function wechatEndpoints(apiBase) {
52088
52088
  WECHAT_CONTACTS: (orgId) => `${agentBase(orgId)}/contacts`,
52089
52089
  WECHAT_HISTORY: (orgId) => `${agentBase(orgId)}/history`,
52090
52090
  WECHAT_MEDIA: (orgId) => `${agentBase(orgId)}/media`,
52091
+ WECHAT_MEDIA_SEND: (orgId) => `${agentBase(orgId)}/send-media`,
52091
52092
  WECHAT_PROFILE: (orgId) => `${agentBase(orgId)}/profile`,
52092
52093
  WECHAT_STATUS: (orgId) => `${agentBase(orgId)}/status`
52093
52094
  };
@@ -53009,6 +53010,7 @@ var TaskLabelClient = class extends ProjectTaskClient {
53009
53010
  };
53010
53011
 
53011
53012
  // ts/sdk/dist/wechat-client.js
53013
+ var WECHAT_MEDIA_TIMEOUT_MS = 1e5;
53012
53014
  var WechatClient = class extends TaskLabelClient {
53013
53015
  /** Address book enriched with display names. */
53014
53016
  async listWechatContacts(orgId) {
@@ -53027,7 +53029,13 @@ var WechatClient = class extends TaskLabelClient {
53027
53029
  }
53028
53030
  /** Fetch and cache one WeChat image or completed file on first explicit read. */
53029
53031
  async materializeWechatMedia(orgId, messageId) {
53030
- return this.request("POST", ENDPOINTS.WECHAT_MEDIA(orgId), { message_id: messageId });
53032
+ return this.request("POST", ENDPOINTS.WECHAT_MEDIA(orgId), { message_id: messageId }, void 0, false, { timeoutMs: WECHAT_MEDIA_TIMEOUT_MS });
53033
+ }
53034
+ /** Send one uploaded image or file; never automatically retry an uncertain send. */
53035
+ async sendWechatMedia(orgId, input) {
53036
+ return this.request("POST", ENDPOINTS.WECHAT_MEDIA_SEND(orgId), input, void 0, false, {
53037
+ timeoutMs: WECHAT_MEDIA_TIMEOUT_MS
53038
+ });
53031
53039
  }
53032
53040
  /** Connected WeChat account identity. */
53033
53041
  async wechatProfile(orgId) {
@@ -56406,7 +56414,7 @@ var ParallClient = class _ParallClient extends ApprovalApproversClient {
56406
56414
  */
56407
56415
  async execEdgeClip(orgId, req) {
56408
56416
  const t = req.timeout;
56409
- const serverTimeout = t !== void 0 && t > 0 && t <= 12e4 ? t : 3e4;
56417
+ const serverTimeout = t !== void 0 && t > 0 ? Math.min(t, 12e4) : 3e4;
56410
56418
  const timeoutMs = serverTimeout + 1e4;
56411
56419
  try {
56412
56420
  return await this.request("POST", ENDPOINTS.ORG_EDGE_EXEC(orgId), req, void 0, false, {
@@ -63565,6 +63573,7 @@ parall members list # All org members (humans + agents)
63565
63573
  parall agents list # Agents only
63566
63574
  parall users get prll://usr_xxx # Get user details by ID
63567
63575
  parall members profile prll://usr_xxx # A member's public profile (title / about)
63576
+ parall members set-role prll://usr_xxx --role admin # Org role: admin or member
63568
63577
  parall agents instructions # Your own private Instructions (admin-maintained)
63569
63578
  \`\`\`
63570
63579
 
@@ -63575,6 +63584,11 @@ prompt already contains your public profile and your private Instructions;
63575
63584
  changing yours takes a human decision \u2014 run \`parall profile set\` and follow
63576
63585
  the approval flow it prints (see "Your Profile" below).
63577
63586
 
63587
+ Org roles are owner, admin and member. Only an org owner/admin changes them;
63588
+ anyone else running \`members set-role\` \u2014 including on your own id, to ask to
63589
+ become admin \u2014 gets PERMISSION_DENIED with a ready-made approval command for an
63590
+ org owner/admin to decide.
63591
+
63578
63592
  Create a hosted agent when the user asks for a Parall-managed runtime. Hosted
63579
63593
  provisioning is asynchronous: creation means the agent identity, API key, and
63580
63594
  machine record were accepted, not that the runtime is online yet. Use \`--wait\`
@@ -52088,6 +52088,7 @@ function wechatEndpoints(apiBase) {
52088
52088
  WECHAT_CONTACTS: (orgId) => `${agentBase(orgId)}/contacts`,
52089
52089
  WECHAT_HISTORY: (orgId) => `${agentBase(orgId)}/history`,
52090
52090
  WECHAT_MEDIA: (orgId) => `${agentBase(orgId)}/media`,
52091
+ WECHAT_MEDIA_SEND: (orgId) => `${agentBase(orgId)}/send-media`,
52091
52092
  WECHAT_PROFILE: (orgId) => `${agentBase(orgId)}/profile`,
52092
52093
  WECHAT_STATUS: (orgId) => `${agentBase(orgId)}/status`
52093
52094
  };
@@ -53009,6 +53010,7 @@ var TaskLabelClient = class extends ProjectTaskClient {
53009
53010
  };
53010
53011
 
53011
53012
  // ts/sdk/dist/wechat-client.js
53013
+ var WECHAT_MEDIA_TIMEOUT_MS = 1e5;
53012
53014
  var WechatClient = class extends TaskLabelClient {
53013
53015
  /** Address book enriched with display names. */
53014
53016
  async listWechatContacts(orgId) {
@@ -53027,7 +53029,13 @@ var WechatClient = class extends TaskLabelClient {
53027
53029
  }
53028
53030
  /** Fetch and cache one WeChat image or completed file on first explicit read. */
53029
53031
  async materializeWechatMedia(orgId, messageId) {
53030
- return this.request("POST", ENDPOINTS.WECHAT_MEDIA(orgId), { message_id: messageId });
53032
+ return this.request("POST", ENDPOINTS.WECHAT_MEDIA(orgId), { message_id: messageId }, void 0, false, { timeoutMs: WECHAT_MEDIA_TIMEOUT_MS });
53033
+ }
53034
+ /** Send one uploaded image or file; never automatically retry an uncertain send. */
53035
+ async sendWechatMedia(orgId, input) {
53036
+ return this.request("POST", ENDPOINTS.WECHAT_MEDIA_SEND(orgId), input, void 0, false, {
53037
+ timeoutMs: WECHAT_MEDIA_TIMEOUT_MS
53038
+ });
53031
53039
  }
53032
53040
  /** Connected WeChat account identity. */
53033
53041
  async wechatProfile(orgId) {
@@ -56406,7 +56414,7 @@ var ParallClient = class _ParallClient extends ApprovalApproversClient {
56406
56414
  */
56407
56415
  async execEdgeClip(orgId, req) {
56408
56416
  const t = req.timeout;
56409
- const serverTimeout = t !== void 0 && t > 0 && t <= 12e4 ? t : 3e4;
56417
+ const serverTimeout = t !== void 0 && t > 0 ? Math.min(t, 12e4) : 3e4;
56410
56418
  const timeoutMs = serverTimeout + 1e4;
56411
56419
  try {
56412
56420
  return await this.request("POST", ENDPOINTS.ORG_EDGE_EXEC(orgId), req, void 0, false, {
@@ -63552,6 +63560,7 @@ parall members list # All org members (humans + agents)
63552
63560
  parall agents list # Agents only
63553
63561
  parall users get prll://usr_xxx # Get user details by ID
63554
63562
  parall members profile prll://usr_xxx # A member's public profile (title / about)
63563
+ parall members set-role prll://usr_xxx --role admin # Org role: admin or member
63555
63564
  parall agents instructions # Your own private Instructions (admin-maintained)
63556
63565
  \`\`\`
63557
63566
 
@@ -63562,6 +63571,11 @@ prompt already contains your public profile and your private Instructions;
63562
63571
  changing yours takes a human decision \u2014 run \`parall profile set\` and follow
63563
63572
  the approval flow it prints (see "Your Profile" below).
63564
63573
 
63574
+ Org roles are owner, admin and member. Only an org owner/admin changes them;
63575
+ anyone else running \`members set-role\` \u2014 including on your own id, to ask to
63576
+ become admin \u2014 gets PERMISSION_DENIED with a ready-made approval command for an
63577
+ org owner/admin to decide.
63578
+
63565
63579
  Create a hosted agent when the user asks for a Parall-managed runtime. Hosted
63566
63580
  provisioning is asynchronous: creation means the agent identity, API key, and
63567
63581
  machine record were accepted, not that the runtime is online yet. Use \`--wait\`
@@ -554,6 +554,7 @@ function wechatEndpoints(apiBase) {
554
554
  WECHAT_CONTACTS: (orgId) => `${agentBase(orgId)}/contacts`,
555
555
  WECHAT_HISTORY: (orgId) => `${agentBase(orgId)}/history`,
556
556
  WECHAT_MEDIA: (orgId) => `${agentBase(orgId)}/media`,
557
+ WECHAT_MEDIA_SEND: (orgId) => `${agentBase(orgId)}/send-media`,
557
558
  WECHAT_PROFILE: (orgId) => `${agentBase(orgId)}/profile`,
558
559
  WECHAT_STATUS: (orgId) => `${agentBase(orgId)}/status`
559
560
  };
@@ -1847,12 +1848,13 @@ var init_task_label_client = __esm({
1847
1848
  });
1848
1849
 
1849
1850
  // ts/sdk/dist/wechat-client.js
1850
- var WechatClient;
1851
+ var WECHAT_MEDIA_TIMEOUT_MS, WechatClient;
1851
1852
  var init_wechat_client = __esm({
1852
1853
  "ts/sdk/dist/wechat-client.js"() {
1853
1854
  "use strict";
1854
1855
  init_constants();
1855
1856
  init_task_label_client();
1857
+ WECHAT_MEDIA_TIMEOUT_MS = 1e5;
1856
1858
  WechatClient = class extends TaskLabelClient {
1857
1859
  /** Address book enriched with display names. */
1858
1860
  async listWechatContacts(orgId) {
@@ -1871,7 +1873,13 @@ var init_wechat_client = __esm({
1871
1873
  }
1872
1874
  /** Fetch and cache one WeChat image or completed file on first explicit read. */
1873
1875
  async materializeWechatMedia(orgId, messageId) {
1874
- return this.request("POST", ENDPOINTS.WECHAT_MEDIA(orgId), { message_id: messageId });
1876
+ return this.request("POST", ENDPOINTS.WECHAT_MEDIA(orgId), { message_id: messageId }, void 0, false, { timeoutMs: WECHAT_MEDIA_TIMEOUT_MS });
1877
+ }
1878
+ /** Send one uploaded image or file; never automatically retry an uncertain send. */
1879
+ async sendWechatMedia(orgId, input) {
1880
+ return this.request("POST", ENDPOINTS.WECHAT_MEDIA_SEND(orgId), input, void 0, false, {
1881
+ timeoutMs: WECHAT_MEDIA_TIMEOUT_MS
1882
+ });
1875
1883
  }
1876
1884
  /** Connected WeChat account identity. */
1877
1885
  async wechatProfile(orgId) {
@@ -5587,7 +5595,7 @@ var init_client = __esm({
5587
5595
  */
5588
5596
  async execEdgeClip(orgId, req) {
5589
5597
  const t = req.timeout;
5590
- const serverTimeout = t !== void 0 && t > 0 && t <= 12e4 ? t : 3e4;
5598
+ const serverTimeout = t !== void 0 && t > 0 ? Math.min(t, 12e4) : 3e4;
5591
5599
  const timeoutMs = serverTimeout + 1e4;
5592
5600
  try {
5593
5601
  return await this.request("POST", ENDPOINTS.ORG_EDGE_EXEC(orgId), req, void 0, false, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parall/daemon",
3
- "version": "1.77.0",
3
+ "version": "1.78.0",
4
4
  "description": "Parall local agent runtime — daemon supervisor + bridge runtimes, bundled as standalone JS files",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -34,11 +34,11 @@
34
34
  "@opentelemetry/api": "^1.9.0",
35
35
  "@pinixai/bb-browser-pro": "0.15.0",
36
36
  "ws": "^8.18.0",
37
- "@parall/agent-core": "1.77.0",
38
- "@parall/sdk": "1.77.0",
39
- "@parall/codex-agent": "1.77.0",
40
- "@parall/openclaw-agent": "1.77.0",
41
- "@parall/claude-agent": "1.77.0"
37
+ "@parall/sdk": "1.78.0",
38
+ "@parall/claude-agent": "1.78.0",
39
+ "@parall/agent-core": "1.78.0",
40
+ "@parall/codex-agent": "1.78.0",
41
+ "@parall/openclaw-agent": "1.78.0"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/node": "^22.0.0",