@parall/daemon 1.68.0 → 1.69.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.
- package/bundle/manifest.json +11 -11
- package/bundle/parall-browser-pod.js +14 -1
- package/bundle/parall-claude-agent.js +14 -1
- package/bundle/parall-codex-agent.js +14 -1
- package/bundle/parall-daemon.js +47 -5
- package/dist/browser-pod.d.ts +1 -1
- package/dist/browser-pod.js +1 -1
- package/dist/supervisor.d.ts.map +1 -1
- package/dist/supervisor.js +14 -6
- package/package.json +6 -6
package/bundle/manifest.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
3
|
-
"built_at": "2026-09-
|
|
2
|
+
"version": "1.69.0",
|
|
3
|
+
"built_at": "2026-09-26T15:36:24.528Z",
|
|
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": "
|
|
20
|
-
"size":
|
|
19
|
+
"sha256": "f103d0bd3c6b136eece34ab20a328cb296f5a848b11b1c2379e90b35ed5d7ac3",
|
|
20
|
+
"size": 3053273
|
|
21
21
|
},
|
|
22
22
|
"parall-channel-exec.js": {
|
|
23
23
|
"sha256": "7c2a6e12483a45e9eb4a42cd7d4cdd3c4fa21dd09ac1347d9a3e177b4ddee930",
|
|
24
24
|
"size": 7220
|
|
25
25
|
},
|
|
26
26
|
"parall-claude-agent.js": {
|
|
27
|
-
"sha256": "
|
|
28
|
-
"size":
|
|
27
|
+
"sha256": "fdf1a41eb478ef9c6b6a638217ffb82df40d0add450a8b820b491d91630b9350",
|
|
28
|
+
"size": 3021658
|
|
29
29
|
},
|
|
30
30
|
"parall-codex-agent.js": {
|
|
31
|
-
"sha256": "
|
|
32
|
-
"size":
|
|
31
|
+
"sha256": "dd152b0f4edc98117f7b53336b5e668d3ad2b4e61a0141be05a0be2063cf49a2",
|
|
32
|
+
"size": 3043852
|
|
33
33
|
},
|
|
34
34
|
"parall-daemon.js": {
|
|
35
|
-
"sha256": "
|
|
36
|
-
"size":
|
|
35
|
+
"sha256": "a252648e2635e8cfb34258531a7c483fdbb21c80c7394f994c7571991bc644aa",
|
|
36
|
+
"size": 3229747
|
|
37
37
|
},
|
|
38
38
|
"parall-openclaw-agent.js": {
|
|
39
39
|
"sha256": "856a1c3a9ae0ffef8efe2481fa1171dbeb1d67cccb88616aa9bf16da96a69355",
|
|
40
40
|
"size": 9923
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
|
-
"signature": "
|
|
43
|
+
"signature": "QDaJO0ncno6HN/RODzZhyIjWQdjVqEj10wejnut49xsZIa7OyeTFkMPde4C4unkbvwA6UgjyosQ7jlEddnEsBQ=="
|
|
44
44
|
}
|
|
@@ -64315,6 +64315,7 @@ function attachmentEndpoints(apiBase) {
|
|
|
64315
64315
|
// ts/sdk/dist/clip-connection-endpoints.js
|
|
64316
64316
|
var clipConnectionEndpoints = {
|
|
64317
64317
|
ORG_CLIP_MCP_OAUTH_ATTEMPT: (orgId, clipId, attemptId) => `/api/v1/orgs/${orgId}/clip-registry/${clipId}/mcp-oauth-attempts/${attemptId}`,
|
|
64318
|
+
CLIP_CONNECTIONS_ALL: (orgId) => `/api/v1/orgs/${orgId}/clip-connections/all`,
|
|
64318
64319
|
CLIP_CONNECTIONS: (orgId, clipId) => `/api/v1/orgs/${orgId}/clip-registry/${clipId}/connections`,
|
|
64319
64320
|
CLIP_CONNECTION_ACCESS: (orgId, connId) => `/api/v1/orgs/${orgId}/clip-connections/${connId}/access`,
|
|
64320
64321
|
CLIP_CONNECTION: (orgId, connId) => `/api/v1/orgs/${orgId}/clip-connections/${connId}`
|
|
@@ -64434,6 +64435,7 @@ var ENDPOINTS = {
|
|
|
64434
64435
|
// Onboarding
|
|
64435
64436
|
SEED_ONBOARDING_DM: (orgId) => `${API_BASE2}/orgs/${orgId}/seed-onboarding-dm`,
|
|
64436
64437
|
DISMISS_ONBOARDING: (orgId) => `${API_BASE2}/orgs/${orgId}/dismiss-onboarding`,
|
|
64438
|
+
ORG_ACCENT_THEME: (orgId) => `${API_BASE2}/orgs/${orgId}/accent-theme`,
|
|
64437
64439
|
// Chats (org-scoped)
|
|
64438
64440
|
CHATS: (orgId) => `${API_BASE2}/orgs/${orgId}/chats`,
|
|
64439
64441
|
CHATS_DISCOVERABLE: (orgId) => `${API_BASE2}/orgs/${orgId}/chats/discoverable`,
|
|
@@ -65509,6 +65511,9 @@ var ClipConnectionClient = class extends ChannelConversationClient {
|
|
|
65509
65511
|
async listClipConnections(orgId, clipId) {
|
|
65510
65512
|
return this.request("GET", ENDPOINTS.CLIP_CONNECTIONS(orgId, clipId));
|
|
65511
65513
|
}
|
|
65514
|
+
async listAllClipConnections(orgId) {
|
|
65515
|
+
return this.request("GET", ENDPOINTS.CLIP_CONNECTIONS_ALL(orgId));
|
|
65516
|
+
}
|
|
65512
65517
|
async createClipConnection(orgId, clipId, input) {
|
|
65513
65518
|
return this.request("POST", ENDPOINTS.CLIP_CONNECTIONS(orgId, clipId), input);
|
|
65514
65519
|
}
|
|
@@ -65681,6 +65686,14 @@ var TriggerJudgeClient = class extends WikiDraftClient {
|
|
|
65681
65686
|
}
|
|
65682
65687
|
};
|
|
65683
65688
|
|
|
65689
|
+
// ts/sdk/dist/org-accent-client.js
|
|
65690
|
+
var OrgAccentClient = class extends TriggerJudgeClient {
|
|
65691
|
+
/** Set the caller's own color theme for this org. */
|
|
65692
|
+
async setOrgAccentTheme(orgId, accentTheme) {
|
|
65693
|
+
return this.request("PUT", ENDPOINTS.ORG_ACCENT_THEME(orgId), { accent_theme: accentTheme });
|
|
65694
|
+
}
|
|
65695
|
+
};
|
|
65696
|
+
|
|
65684
65697
|
// ts/sdk/dist/wiki-upload.js
|
|
65685
65698
|
function createWikiUploadFormData(params) {
|
|
65686
65699
|
const form = new FormData();
|
|
@@ -65817,7 +65830,7 @@ function legacyHeartbeatFromReport(report) {
|
|
|
65817
65830
|
detectedRuntimes
|
|
65818
65831
|
};
|
|
65819
65832
|
}
|
|
65820
|
-
var ParallClient = class _ParallClient extends
|
|
65833
|
+
var ParallClient = class _ParallClient extends OrgAccentClient {
|
|
65821
65834
|
baseUrl;
|
|
65822
65835
|
wikiBaseUrl;
|
|
65823
65836
|
token;
|
|
@@ -52556,6 +52556,7 @@ function attachmentEndpoints(apiBase) {
|
|
|
52556
52556
|
// ts/sdk/dist/clip-connection-endpoints.js
|
|
52557
52557
|
var clipConnectionEndpoints = {
|
|
52558
52558
|
ORG_CLIP_MCP_OAUTH_ATTEMPT: (orgId, clipId, attemptId) => `/api/v1/orgs/${orgId}/clip-registry/${clipId}/mcp-oauth-attempts/${attemptId}`,
|
|
52559
|
+
CLIP_CONNECTIONS_ALL: (orgId) => `/api/v1/orgs/${orgId}/clip-connections/all`,
|
|
52559
52560
|
CLIP_CONNECTIONS: (orgId, clipId) => `/api/v1/orgs/${orgId}/clip-registry/${clipId}/connections`,
|
|
52560
52561
|
CLIP_CONNECTION_ACCESS: (orgId, connId) => `/api/v1/orgs/${orgId}/clip-connections/${connId}/access`,
|
|
52561
52562
|
CLIP_CONNECTION: (orgId, connId) => `/api/v1/orgs/${orgId}/clip-connections/${connId}`
|
|
@@ -52675,6 +52676,7 @@ var ENDPOINTS = {
|
|
|
52675
52676
|
// Onboarding
|
|
52676
52677
|
SEED_ONBOARDING_DM: (orgId) => `${API_BASE2}/orgs/${orgId}/seed-onboarding-dm`,
|
|
52677
52678
|
DISMISS_ONBOARDING: (orgId) => `${API_BASE2}/orgs/${orgId}/dismiss-onboarding`,
|
|
52679
|
+
ORG_ACCENT_THEME: (orgId) => `${API_BASE2}/orgs/${orgId}/accent-theme`,
|
|
52678
52680
|
// Chats (org-scoped)
|
|
52679
52681
|
CHATS: (orgId) => `${API_BASE2}/orgs/${orgId}/chats`,
|
|
52680
52682
|
CHATS_DISCOVERABLE: (orgId) => `${API_BASE2}/orgs/${orgId}/chats/discoverable`,
|
|
@@ -53846,6 +53848,9 @@ var ClipConnectionClient = class extends ChannelConversationClient {
|
|
|
53846
53848
|
async listClipConnections(orgId, clipId) {
|
|
53847
53849
|
return this.request("GET", ENDPOINTS.CLIP_CONNECTIONS(orgId, clipId));
|
|
53848
53850
|
}
|
|
53851
|
+
async listAllClipConnections(orgId) {
|
|
53852
|
+
return this.request("GET", ENDPOINTS.CLIP_CONNECTIONS_ALL(orgId));
|
|
53853
|
+
}
|
|
53849
53854
|
async createClipConnection(orgId, clipId, input) {
|
|
53850
53855
|
return this.request("POST", ENDPOINTS.CLIP_CONNECTIONS(orgId, clipId), input);
|
|
53851
53856
|
}
|
|
@@ -54018,6 +54023,14 @@ var TriggerJudgeClient = class extends WikiDraftClient {
|
|
|
54018
54023
|
}
|
|
54019
54024
|
};
|
|
54020
54025
|
|
|
54026
|
+
// ts/sdk/dist/org-accent-client.js
|
|
54027
|
+
var OrgAccentClient = class extends TriggerJudgeClient {
|
|
54028
|
+
/** Set the caller's own color theme for this org. */
|
|
54029
|
+
async setOrgAccentTheme(orgId, accentTheme) {
|
|
54030
|
+
return this.request("PUT", ENDPOINTS.ORG_ACCENT_THEME(orgId), { accent_theme: accentTheme });
|
|
54031
|
+
}
|
|
54032
|
+
};
|
|
54033
|
+
|
|
54021
54034
|
// ts/sdk/dist/wiki-upload.js
|
|
54022
54035
|
function createWikiUploadFormData(params) {
|
|
54023
54036
|
const form = new FormData();
|
|
@@ -54154,7 +54167,7 @@ function legacyHeartbeatFromReport(report) {
|
|
|
54154
54167
|
detectedRuntimes
|
|
54155
54168
|
};
|
|
54156
54169
|
}
|
|
54157
|
-
var ParallClient = class _ParallClient extends
|
|
54170
|
+
var ParallClient = class _ParallClient extends OrgAccentClient {
|
|
54158
54171
|
baseUrl;
|
|
54159
54172
|
wikiBaseUrl;
|
|
54160
54173
|
token;
|
|
@@ -52556,6 +52556,7 @@ function attachmentEndpoints(apiBase) {
|
|
|
52556
52556
|
// ts/sdk/dist/clip-connection-endpoints.js
|
|
52557
52557
|
var clipConnectionEndpoints = {
|
|
52558
52558
|
ORG_CLIP_MCP_OAUTH_ATTEMPT: (orgId, clipId, attemptId) => `/api/v1/orgs/${orgId}/clip-registry/${clipId}/mcp-oauth-attempts/${attemptId}`,
|
|
52559
|
+
CLIP_CONNECTIONS_ALL: (orgId) => `/api/v1/orgs/${orgId}/clip-connections/all`,
|
|
52559
52560
|
CLIP_CONNECTIONS: (orgId, clipId) => `/api/v1/orgs/${orgId}/clip-registry/${clipId}/connections`,
|
|
52560
52561
|
CLIP_CONNECTION_ACCESS: (orgId, connId) => `/api/v1/orgs/${orgId}/clip-connections/${connId}/access`,
|
|
52561
52562
|
CLIP_CONNECTION: (orgId, connId) => `/api/v1/orgs/${orgId}/clip-connections/${connId}`
|
|
@@ -52675,6 +52676,7 @@ var ENDPOINTS = {
|
|
|
52675
52676
|
// Onboarding
|
|
52676
52677
|
SEED_ONBOARDING_DM: (orgId) => `${API_BASE2}/orgs/${orgId}/seed-onboarding-dm`,
|
|
52677
52678
|
DISMISS_ONBOARDING: (orgId) => `${API_BASE2}/orgs/${orgId}/dismiss-onboarding`,
|
|
52679
|
+
ORG_ACCENT_THEME: (orgId) => `${API_BASE2}/orgs/${orgId}/accent-theme`,
|
|
52678
52680
|
// Chats (org-scoped)
|
|
52679
52681
|
CHATS: (orgId) => `${API_BASE2}/orgs/${orgId}/chats`,
|
|
52680
52682
|
CHATS_DISCOVERABLE: (orgId) => `${API_BASE2}/orgs/${orgId}/chats/discoverable`,
|
|
@@ -53846,6 +53848,9 @@ var ClipConnectionClient = class extends ChannelConversationClient {
|
|
|
53846
53848
|
async listClipConnections(orgId, clipId) {
|
|
53847
53849
|
return this.request("GET", ENDPOINTS.CLIP_CONNECTIONS(orgId, clipId));
|
|
53848
53850
|
}
|
|
53851
|
+
async listAllClipConnections(orgId) {
|
|
53852
|
+
return this.request("GET", ENDPOINTS.CLIP_CONNECTIONS_ALL(orgId));
|
|
53853
|
+
}
|
|
53849
53854
|
async createClipConnection(orgId, clipId, input) {
|
|
53850
53855
|
return this.request("POST", ENDPOINTS.CLIP_CONNECTIONS(orgId, clipId), input);
|
|
53851
53856
|
}
|
|
@@ -54018,6 +54023,14 @@ var TriggerJudgeClient = class extends WikiDraftClient {
|
|
|
54018
54023
|
}
|
|
54019
54024
|
};
|
|
54020
54025
|
|
|
54026
|
+
// ts/sdk/dist/org-accent-client.js
|
|
54027
|
+
var OrgAccentClient = class extends TriggerJudgeClient {
|
|
54028
|
+
/** Set the caller's own color theme for this org. */
|
|
54029
|
+
async setOrgAccentTheme(orgId, accentTheme) {
|
|
54030
|
+
return this.request("PUT", ENDPOINTS.ORG_ACCENT_THEME(orgId), { accent_theme: accentTheme });
|
|
54031
|
+
}
|
|
54032
|
+
};
|
|
54033
|
+
|
|
54021
54034
|
// ts/sdk/dist/wiki-upload.js
|
|
54022
54035
|
function createWikiUploadFormData(params) {
|
|
54023
54036
|
const form = new FormData();
|
|
@@ -54154,7 +54167,7 @@ function legacyHeartbeatFromReport(report) {
|
|
|
54154
54167
|
detectedRuntimes
|
|
54155
54168
|
};
|
|
54156
54169
|
}
|
|
54157
|
-
var ParallClient = class _ParallClient extends
|
|
54170
|
+
var ParallClient = class _ParallClient extends OrgAccentClient {
|
|
54158
54171
|
baseUrl;
|
|
54159
54172
|
wikiBaseUrl;
|
|
54160
54173
|
token;
|
package/bundle/parall-daemon.js
CHANGED
|
@@ -602,6 +602,7 @@ var init_clip_connection_endpoints = __esm({
|
|
|
602
602
|
"use strict";
|
|
603
603
|
clipConnectionEndpoints = {
|
|
604
604
|
ORG_CLIP_MCP_OAUTH_ATTEMPT: (orgId, clipId, attemptId) => `/api/v1/orgs/${orgId}/clip-registry/${clipId}/mcp-oauth-attempts/${attemptId}`,
|
|
605
|
+
CLIP_CONNECTIONS_ALL: (orgId) => `/api/v1/orgs/${orgId}/clip-connections/all`,
|
|
605
606
|
CLIP_CONNECTIONS: (orgId, clipId) => `/api/v1/orgs/${orgId}/clip-registry/${clipId}/connections`,
|
|
606
607
|
CLIP_CONNECTION_ACCESS: (orgId, connId) => `/api/v1/orgs/${orgId}/clip-connections/${connId}/access`,
|
|
607
608
|
CLIP_CONNECTION: (orgId, connId) => `/api/v1/orgs/${orgId}/clip-connections/${connId}`
|
|
@@ -1065,6 +1066,7 @@ var init_constants = __esm({
|
|
|
1065
1066
|
// Onboarding
|
|
1066
1067
|
SEED_ONBOARDING_DM: (orgId) => `${API_BASE2}/orgs/${orgId}/seed-onboarding-dm`,
|
|
1067
1068
|
DISMISS_ONBOARDING: (orgId) => `${API_BASE2}/orgs/${orgId}/dismiss-onboarding`,
|
|
1069
|
+
ORG_ACCENT_THEME: (orgId) => `${API_BASE2}/orgs/${orgId}/accent-theme`,
|
|
1068
1070
|
// Chats (org-scoped)
|
|
1069
1071
|
CHATS: (orgId) => `${API_BASE2}/orgs/${orgId}/chats`,
|
|
1070
1072
|
CHATS_DISCOVERABLE: (orgId) => `${API_BASE2}/orgs/${orgId}/chats/discoverable`,
|
|
@@ -2331,6 +2333,9 @@ var init_clip_connection_client = __esm({
|
|
|
2331
2333
|
async listClipConnections(orgId, clipId) {
|
|
2332
2334
|
return this.request("GET", ENDPOINTS.CLIP_CONNECTIONS(orgId, clipId));
|
|
2333
2335
|
}
|
|
2336
|
+
async listAllClipConnections(orgId) {
|
|
2337
|
+
return this.request("GET", ENDPOINTS.CLIP_CONNECTIONS_ALL(orgId));
|
|
2338
|
+
}
|
|
2334
2339
|
async createClipConnection(orgId, clipId, input) {
|
|
2335
2340
|
return this.request("POST", ENDPOINTS.CLIP_CONNECTIONS(orgId, clipId), input);
|
|
2336
2341
|
}
|
|
@@ -2639,6 +2644,22 @@ var init_trigger_judge_client = __esm({
|
|
|
2639
2644
|
}
|
|
2640
2645
|
});
|
|
2641
2646
|
|
|
2647
|
+
// ts/sdk/dist/org-accent-client.js
|
|
2648
|
+
var OrgAccentClient;
|
|
2649
|
+
var init_org_accent_client = __esm({
|
|
2650
|
+
"ts/sdk/dist/org-accent-client.js"() {
|
|
2651
|
+
"use strict";
|
|
2652
|
+
init_constants();
|
|
2653
|
+
init_trigger_judge_client();
|
|
2654
|
+
OrgAccentClient = class extends TriggerJudgeClient {
|
|
2655
|
+
/** Set the caller's own color theme for this org. */
|
|
2656
|
+
async setOrgAccentTheme(orgId, accentTheme) {
|
|
2657
|
+
return this.request("PUT", ENDPOINTS.ORG_ACCENT_THEME(orgId), { accent_theme: accentTheme });
|
|
2658
|
+
}
|
|
2659
|
+
};
|
|
2660
|
+
}
|
|
2661
|
+
});
|
|
2662
|
+
|
|
2642
2663
|
// ts/sdk/dist/wiki-upload.js
|
|
2643
2664
|
function createWikiUploadFormData(params) {
|
|
2644
2665
|
const form = new FormData();
|
|
@@ -2826,12 +2847,12 @@ var init_client = __esm({
|
|
|
2826
2847
|
"ts/sdk/dist/client.js"() {
|
|
2827
2848
|
"use strict";
|
|
2828
2849
|
init_browser_viewer();
|
|
2829
|
-
|
|
2850
|
+
init_org_accent_client();
|
|
2830
2851
|
init_wiki_upload();
|
|
2831
2852
|
init_fetch_cause();
|
|
2832
2853
|
init_wiki_changeset();
|
|
2833
2854
|
init_constants();
|
|
2834
|
-
ParallClient = class _ParallClient extends
|
|
2855
|
+
ParallClient = class _ParallClient extends OrgAccentClient {
|
|
2835
2856
|
baseUrl;
|
|
2836
2857
|
wikiBaseUrl;
|
|
2837
2858
|
token;
|
|
@@ -5527,6 +5548,24 @@ var init_mini_app_types = __esm({
|
|
|
5527
5548
|
}
|
|
5528
5549
|
});
|
|
5529
5550
|
|
|
5551
|
+
// ts/sdk/dist/org-accent-types.js
|
|
5552
|
+
var ACCENT_THEMES;
|
|
5553
|
+
var init_org_accent_types = __esm({
|
|
5554
|
+
"ts/sdk/dist/org-accent-types.js"() {
|
|
5555
|
+
"use strict";
|
|
5556
|
+
ACCENT_THEMES = [
|
|
5557
|
+
"graphite",
|
|
5558
|
+
"durability",
|
|
5559
|
+
"amber",
|
|
5560
|
+
"lime",
|
|
5561
|
+
"teal",
|
|
5562
|
+
"indigo",
|
|
5563
|
+
"purple",
|
|
5564
|
+
"pink"
|
|
5565
|
+
];
|
|
5566
|
+
}
|
|
5567
|
+
});
|
|
5568
|
+
|
|
5530
5569
|
// ts/sdk/dist/org-unread-types.js
|
|
5531
5570
|
var init_org_unread_types = __esm({
|
|
5532
5571
|
"ts/sdk/dist/org-unread-types.js"() {
|
|
@@ -6065,6 +6104,7 @@ var init_ws = __esm({
|
|
|
6065
6104
|
// ts/sdk/dist/index.js
|
|
6066
6105
|
var dist_exports = {};
|
|
6067
6106
|
__export(dist_exports, {
|
|
6107
|
+
ACCENT_THEMES: () => ACCENT_THEMES,
|
|
6068
6108
|
API_BASE: () => API_BASE2,
|
|
6069
6109
|
ApiError: () => ApiError,
|
|
6070
6110
|
BROWSER_USE_ACTIONS: () => BROWSER_USE_ACTIONS,
|
|
@@ -6147,6 +6187,7 @@ var init_dist = __esm({
|
|
|
6147
6187
|
init_fetch_cause();
|
|
6148
6188
|
init_llm_provider_types();
|
|
6149
6189
|
init_mini_app_types();
|
|
6190
|
+
init_org_accent_types();
|
|
6150
6191
|
init_org_unread_types();
|
|
6151
6192
|
init_runtime_observation2();
|
|
6152
6193
|
init_subject();
|
|
@@ -71968,7 +72009,7 @@ function sleepCancellable(ms, signal) {
|
|
|
71968
72009
|
signal.addEventListener("abort", onAbort, { once: true });
|
|
71969
72010
|
});
|
|
71970
72011
|
}
|
|
71971
|
-
var RUNTIME_PACKAGES, WORKSPACE_SETUP_RETRY_DELAY_MS, PARK_KEEPALIVE_MS, AGENT_CONFIG_REFRESH_RETRY_DELAY_MS, CLIP_RECONCILE_INTERVAL_MS, RUNTIME_DETECT_INTERVAL_MS, DaemonSupervisor;
|
|
72012
|
+
var RUNTIME_PACKAGES, WORKSPACE_SETUP_RETRY_DELAY_MS, PARK_KEEPALIVE_MS, MACHINE_KEY_RECOVERY, AGENT_CONFIG_REFRESH_RETRY_DELAY_MS, CLIP_RECONCILE_INTERVAL_MS, RUNTIME_DETECT_INTERVAL_MS, DaemonSupervisor;
|
|
71972
72013
|
var init_supervisor = __esm({
|
|
71973
72014
|
"ts/daemon/dist/supervisor.js"() {
|
|
71974
72015
|
"use strict";
|
|
@@ -71999,6 +72040,7 @@ var init_supervisor = __esm({
|
|
|
71999
72040
|
};
|
|
72000
72041
|
WORKSPACE_SETUP_RETRY_DELAY_MS = 5e3;
|
|
72001
72042
|
PARK_KEEPALIVE_MS = 6e4;
|
|
72043
|
+
MACHINE_KEY_RECOVERY = 'Re-register this machine to get a new key \u2014 Desktop app: "Disable daemon", then "Enable daemon" (this registers a new machine and tries to delete the old one; re-attach its agents); CLI or server: create a machine under Compute in Parall and run `parall-daemon init` with its key \u2014 then restart the daemon. If you left the org or your account was disabled, this machine cannot be registered there again.';
|
|
72002
72044
|
AGENT_CONFIG_REFRESH_RETRY_DELAY_MS = 5e3;
|
|
72003
72045
|
CLIP_RECONCILE_INTERVAL_MS = 5 * 6e4;
|
|
72004
72046
|
RUNTIME_DETECT_INTERVAL_MS = 5 * 6e4;
|
|
@@ -72276,7 +72318,7 @@ var init_supervisor = __esm({
|
|
|
72276
72318
|
}
|
|
72277
72319
|
});
|
|
72278
72320
|
this.ws.onAuthInvalid((event) => {
|
|
72279
|
-
this.log.error(`machine WS auth-invalid: the server rejected this machine's key (status ${event.status}${event.code ? `, code ${event.code}` : ""}) \u2014 ${event.message}. Control-plane events (attach/detach, config updates, update signals) are OFFLINE and reconnects are stopped.
|
|
72321
|
+
this.log.error(`machine WS auth-invalid: the server rejected this machine's key (status ${event.status}${event.code ? `, code ${event.code}` : ""}) \u2014 ${event.message}. Control-plane events (attach/detach, config updates, update signals) are OFFLINE and reconnects are stopped. ${MACHINE_KEY_RECOVERY}`);
|
|
72280
72322
|
});
|
|
72281
72323
|
await this.ws.connect();
|
|
72282
72324
|
await new Promise((resolve9) => {
|
|
@@ -72360,7 +72402,7 @@ var init_supervisor = __esm({
|
|
|
72360
72402
|
return true;
|
|
72361
72403
|
} catch (err) {
|
|
72362
72404
|
if (err instanceof ApiError && err.status === 401) {
|
|
72363
|
-
this.log.error(`machine key rejected by the server (status 401${err.code ? `, code ${err.code}` : ""}): ${err.message}. The daemon cannot start with this machine key
|
|
72405
|
+
this.log.error(`machine key rejected by the server (status 401${err.code ? `, code ${err.code}` : ""}): ${err.message}. The daemon cannot start with this machine key. ${MACHINE_KEY_RECOVERY}`);
|
|
72364
72406
|
const parked = setInterval(() => {
|
|
72365
72407
|
}, PARK_KEEPALIVE_MS);
|
|
72366
72408
|
try {
|
package/dist/browser-pod.d.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* Service hub as the "browser" provider for exactly ONE profile.
|
|
9
9
|
*
|
|
10
10
|
* It is deliberately NOT the daemon supervisor. The daemon (`index.ts`) is a
|
|
11
|
-
* Machine: it authenticates with a
|
|
11
|
+
* Machine: it authenticates with a long-lived `mck_`, polls `/machines/me/*`, and
|
|
12
12
|
* supervises per-agent subprocesses. A hosted browser pod has none of that — it
|
|
13
13
|
* is platform infrastructure with a short-lived, controller-minted platform
|
|
14
14
|
* assignment token (`pba_`) scoped to `(org_id, profile_id, pod_id)`, and serves
|
package/dist/browser-pod.js
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* Service hub as the "browser" provider for exactly ONE profile.
|
|
9
9
|
*
|
|
10
10
|
* It is deliberately NOT the daemon supervisor. The daemon (`index.ts`) is a
|
|
11
|
-
* Machine: it authenticates with a
|
|
11
|
+
* Machine: it authenticates with a long-lived `mck_`, polls `/machines/me/*`, and
|
|
12
12
|
* supervises per-agent subprocesses. A hosted browser pod has none of that — it
|
|
13
13
|
* is platform infrastructure with a short-lived, controller-minted platform
|
|
14
14
|
* assignment token (`pba_`) scoped to `(org_id, profile_id, pod_id)`, and serves
|
package/dist/supervisor.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"supervisor.d.ts","sourceRoot":"","sources":["../src/supervisor.ts"],"names":[],"mappings":"AAmBA,OAAO,EAIL,KAAK,aAAa,EACnB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAiBL,KAAK,YAAY,EAElB,MAAM,aAAa,CAAC;AAIrB,OAAO,EAAE,KAAK,eAAe,EAAyC,MAAM,uBAAuB,CAAC;AAUpG,OAAO,EAKL,KAAK,kBAAkB,EACxB,MAAM,aAAa,CAAC;AAGrB,OAAO,EACL,KAAK,4BAA4B,EAElC,MAAM,4BAA4B,CAAC;AAepC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"supervisor.d.ts","sourceRoot":"","sources":["../src/supervisor.ts"],"names":[],"mappings":"AAmBA,OAAO,EAIL,KAAK,aAAa,EACnB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAiBL,KAAK,YAAY,EAElB,MAAM,aAAa,CAAC;AAIrB,OAAO,EAAE,KAAK,eAAe,EAAyC,MAAM,uBAAuB,CAAC;AAUpG,OAAO,EAKL,KAAK,kBAAkB,EACxB,MAAM,aAAa,CAAC;AAGrB,OAAO,EACL,KAAK,4BAA4B,EAElC,MAAM,4BAA4B,CAAC;AAepC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAsCvE;;;;GAIG;AACH,iBAAS,gBAAgB,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,GAAG,OAAO,CAAC,OAAO,CAAC,CAa3E;AAED,OAAO,EAAE,gBAAgB,EAAE,CAAC;AA4B5B;;;;;;;;;;GAUG;AACH,qBAAa,gBAAgB;IAqGzB,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OA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AC,sBAAsB;IAM9B;;;;;;;OAOG;IACH,OAAO,CAAC,uBAAuB;IAsB/B;;;;;;;OAOG;IACG,8BAA8B,IAAI,OAAO,CAAC,IAAI,CAAC;IAerD,0FAA0F;YAC5E,oBAAoB;IAYlC,OAAO,CAAC,mBAAmB;IAe3B,OAAO,CAAC,uBAAuB;IAyB/B,OAAO,CAAC,aAAa;IAgBrB,OAAO,CAAC,mBAAmB;YAab,mBAAmB;IAyCjC,OAAO,CAAC,wBAAwB;YAelB,6BAA6B;IAqC3C,OAAO,CAAC,2BAA2B;IAYnC,OAAO,CAAC,wBAAwB;YAUlB,oBAAoB;IAwClC;;;;;;;OAOG;IACH,OAAO,CAAC,qBAAqB;IAQ7B;;;;;;OAMG;IACH,OAAO,CAAC,YAAY;IASpB;;;;;;;;OAQG;YACW,sBAAsB;YA4CtB,kBAAkB;IAahC;;;;;;;;;OASG;YACW,wBAAwB;IAwDtC;;;;;;;OAOG;YACW,qBAAqB;IAcnC,OAAO,CAAC,+BAA+B;IAYvC,OAAO,CAAC,4BAA4B;YAQtB,eAAe;YAiEf,UAAU;IA+BxB;;;;;;OAMG;IACH,OAAO,CAAC,sBAAsB;YAgBhB,cAAc;IAsE5B,OAAO,CAAC,UAAU;IA+NlB;;;;;OAKG;YACW,cAAc;CAwB7B"}
|
package/dist/supervisor.js
CHANGED
|
@@ -30,6 +30,18 @@ const RUNTIME_PACKAGES = {
|
|
|
30
30
|
const WORKSPACE_SETUP_RETRY_DELAY_MS = 5_000;
|
|
31
31
|
/** Idle interval that keeps a machine-key-rejected (parked) daemon on the event loop. */
|
|
32
32
|
const PARK_KEEPALIVE_MS = 60_000;
|
|
33
|
+
/**
|
|
34
|
+
* Recovery guidance logged whenever the server rejects this machine's key.
|
|
35
|
+
* Machine keys do not expire; a rejected key was revoked, rotated away, its
|
|
36
|
+
* Machine was deleted, or its owner left the org, and the only way back is a
|
|
37
|
+
* new registration.
|
|
38
|
+
*/
|
|
39
|
+
const MACHINE_KEY_RECOVERY = 'Re-register this machine to get a new key — Desktop app: "Disable daemon", then ' +
|
|
40
|
+
'"Enable daemon" (this registers a new machine and tries to delete the old one; ' +
|
|
41
|
+
're-attach its agents); CLI or server: ' +
|
|
42
|
+
'create a machine under Compute in Parall and run `parall-daemon init` with its key — ' +
|
|
43
|
+
'then restart the daemon. If you left the org or your account was disabled, this machine ' +
|
|
44
|
+
'cannot be registered there again.';
|
|
33
45
|
const AGENT_CONFIG_REFRESH_RETRY_DELAY_MS = 5_000;
|
|
34
46
|
const CLIP_RECONCILE_INTERVAL_MS = 5 * 60_000;
|
|
35
47
|
// Runtime-CLI re-detection cadence. Cheap (three --version probes at most) and
|
|
@@ -388,9 +400,7 @@ export class DaemonSupervisor {
|
|
|
388
400
|
this.log.error(`machine WS auth-invalid: the server rejected this machine's key ` +
|
|
389
401
|
`(status ${event.status}${event.code ? `, code ${event.code}` : ''}) — ` +
|
|
390
402
|
`${event.message}. Control-plane events (attach/detach, config updates, ` +
|
|
391
|
-
|
|
392
|
-
're-authenticate this machine (Desktop app or `parall-daemon register`) to ' +
|
|
393
|
-
'install a new machine key, then restart the daemon.');
|
|
403
|
+
`update signals) are OFFLINE and reconnects are stopped. ${MACHINE_KEY_RECOVERY}`);
|
|
394
404
|
});
|
|
395
405
|
await this.ws.connect();
|
|
396
406
|
await new Promise((resolve) => {
|
|
@@ -487,9 +497,7 @@ export class DaemonSupervisor {
|
|
|
487
497
|
if (err instanceof ApiError && err.status === 401) {
|
|
488
498
|
this.log.error(`machine key rejected by the server ` +
|
|
489
499
|
`(status 401${err.code ? `, code ${err.code}` : ''}): ${err.message}. ` +
|
|
490
|
-
|
|
491
|
-
're-register or re-authenticate this machine (Desktop app or `parall-daemon register`) ' +
|
|
492
|
-
'to install a new machine key, then restart the daemon.');
|
|
500
|
+
`The daemon cannot start with this machine key. ${MACHINE_KEY_RECOVERY}`);
|
|
493
501
|
// Park instead of exiting: managed installations (launchd KeepAlive,
|
|
494
502
|
// systemd Restart=always) relaunch a normally-exited daemon every
|
|
495
503
|
// few seconds with the same rejected key — a process-level restart
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@parall/daemon",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.69.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.
|
|
38
|
-
"@parall/sdk": "1.
|
|
39
|
-
"@parall/claude-agent": "1.
|
|
40
|
-
"@parall/codex-agent": "1.
|
|
41
|
-
"@parall/openclaw-agent": "1.
|
|
37
|
+
"@parall/agent-core": "1.69.0",
|
|
38
|
+
"@parall/sdk": "1.69.0",
|
|
39
|
+
"@parall/claude-agent": "1.69.0",
|
|
40
|
+
"@parall/codex-agent": "1.69.0",
|
|
41
|
+
"@parall/openclaw-agent": "1.69.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@types/node": "^22.0.0",
|