@parall/daemon 1.90.0 → 1.91.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 +38 -4
- package/bundle/parall-claude-agent.js +280 -206
- package/bundle/parall-codex-agent.js +291 -214
- package/bundle/parall-daemon.js +46 -4
- package/package.json +6 -6
package/bundle/parall-daemon.js
CHANGED
|
@@ -1603,6 +1603,7 @@ var init_constants = __esm({
|
|
|
1603
1603
|
WIKI_UPLOADS: (orgId, wikiId) => `${WIKI_BASE}/orgs/${orgId}/wikis/${wikiId}/uploads`,
|
|
1604
1604
|
WIKI_FILES: (orgId, wikiId) => `${WIKI_BASE}/orgs/${orgId}/wikis/${wikiId}/files`,
|
|
1605
1605
|
WIKI_FILE_PREVIEW_URL: (orgId, wikiId) => `${WIKI_BASE}/orgs/${orgId}/wikis/${wikiId}/files/preview-url`,
|
|
1606
|
+
WIKI_DOCUMENT_IMAGE_PREVIEW_URL: (orgId, wikiId) => `${WIKI_BASE}/orgs/${orgId}/wikis/${wikiId}/document-images/preview-url`,
|
|
1606
1607
|
// Wiki Path Scopes (AFCS ACL)
|
|
1607
1608
|
WIKI_PATH_SCOPES: (orgId, wikiId) => `${WIKI_BASE}/orgs/${orgId}/wikis/${wikiId}/path-scopes`,
|
|
1608
1609
|
WIKI_PATH_SCOPE: (orgId, wikiId, scopeId) => `${WIKI_BASE}/orgs/${orgId}/wikis/${wikiId}/path-scopes/${scopeId}`,
|
|
@@ -2878,18 +2879,37 @@ var init_browser_profile_client = __esm({
|
|
|
2878
2879
|
const me = await this.request("GET", ENDPOINTS.USERS_ME);
|
|
2879
2880
|
const devices = await this.request("GET", ENDPOINTS.ORG_EDGE_DEVICES(orgId));
|
|
2880
2881
|
const data = [];
|
|
2882
|
+
const warnings = [];
|
|
2881
2883
|
for (const device of devices.data) {
|
|
2882
2884
|
const personal = device.managed_by === "member";
|
|
2883
2885
|
if (personal && device.owner_user_id !== me.id)
|
|
2884
2886
|
continue;
|
|
2885
|
-
|
|
2887
|
+
if (!profileId && device.hosted_state === "deleting") {
|
|
2888
|
+
warnings.push({ device_id: device.id, code: "DEVICE_DELETING" });
|
|
2889
|
+
continue;
|
|
2890
|
+
}
|
|
2891
|
+
const skipMissingDevice = (err) => {
|
|
2892
|
+
const status = typeof err === "object" && err !== null ? err.status : void 0;
|
|
2893
|
+
if (profileId || status !== 404)
|
|
2894
|
+
throw err;
|
|
2895
|
+
warnings.push({ device_id: device.id, code: "DEVICE_NOT_FOUND" });
|
|
2896
|
+
return void 0;
|
|
2897
|
+
};
|
|
2898
|
+
const profiles = await this.request("GET", ENDPOINTS.ORG_EDGE_PROFILES(orgId, device.id)).catch(skipMissingDevice);
|
|
2899
|
+
if (!profiles)
|
|
2900
|
+
continue;
|
|
2901
|
+
const deviceData = [];
|
|
2886
2902
|
for (const profile of profiles) {
|
|
2887
2903
|
if (profileId && profile.id !== profileId)
|
|
2888
2904
|
continue;
|
|
2889
|
-
const access2 = personal ? null : await this.getBrowserProfileAccess(orgId, device.id, profile.name);
|
|
2905
|
+
const access2 = personal ? null : await this.getBrowserProfileAccess(orgId, device.id, profile.name).catch(skipMissingDevice);
|
|
2906
|
+
if (access2 === void 0) {
|
|
2907
|
+
deviceData.length = 0;
|
|
2908
|
+
break;
|
|
2909
|
+
}
|
|
2890
2910
|
if (!personal && !access2?.org_public && !(access2?.grants ?? []).some((g) => g.user_id === me.id && g.grants.length > 0))
|
|
2891
2911
|
continue;
|
|
2892
|
-
|
|
2912
|
+
deviceData.push({
|
|
2893
2913
|
profile_id: profile.id,
|
|
2894
2914
|
name: profile.name,
|
|
2895
2915
|
device_name: device.name,
|
|
@@ -2899,8 +2919,9 @@ var init_browser_profile_client = __esm({
|
|
|
2899
2919
|
availability: device.placement === "hosted" ? device.hosted_state ?? "unknown" : device.status
|
|
2900
2920
|
});
|
|
2901
2921
|
}
|
|
2922
|
+
data.push(...deviceData);
|
|
2902
2923
|
}
|
|
2903
|
-
return { data };
|
|
2924
|
+
return { data, ...warnings.length ? { warnings } : {} };
|
|
2904
2925
|
}
|
|
2905
2926
|
/** Submit once: even refresh-enabled clients must not replay browser actions. */
|
|
2906
2927
|
async createBrowserUseOperation(orgId, request3) {
|
|
@@ -5706,6 +5727,19 @@ var init_client = __esm({
|
|
|
5706
5727
|
res.url = this.absoluteMediaUrl(res.url);
|
|
5707
5728
|
return res;
|
|
5708
5729
|
}
|
|
5730
|
+
/**
|
|
5731
|
+
* Sign the same kind of URL for a picture a Wiki document references.
|
|
5732
|
+
* `src` goes as the document's renderer hands it over (written or
|
|
5733
|
+
* percent-encoded); the server resolves it against `document_path`, applies
|
|
5734
|
+
* a `rev=` pin in it over `ref`, and checks read access on the file it
|
|
5735
|
+
* names. A src that is not a wiki path answers 400 `NOT_WIKI_FILE`.
|
|
5736
|
+
*/
|
|
5737
|
+
async getWikiDocumentImagePreviewUrl(orgId, wikiId, params) {
|
|
5738
|
+
const res = await this.request("POST", ENDPOINTS.WIKI_DOCUMENT_IMAGE_PREVIEW_URL(orgId, wikiId), params);
|
|
5739
|
+
if (res.url)
|
|
5740
|
+
res.url = this.absoluteMediaUrl(res.url);
|
|
5741
|
+
return res;
|
|
5742
|
+
}
|
|
5709
5743
|
// ---- Wiki Path Scopes (AFCS ACL) ----
|
|
5710
5744
|
async getWikiPathScopes(orgId, wikiId) {
|
|
5711
5745
|
const res = await this.request("GET", ENDPOINTS.WIKI_PATH_SCOPES(orgId, wikiId));
|
|
@@ -7551,6 +7585,13 @@ var init_channel_token = __esm({
|
|
|
7551
7585
|
}
|
|
7552
7586
|
});
|
|
7553
7587
|
|
|
7588
|
+
// ts/agent-core/dist/cli-features.js
|
|
7589
|
+
var init_cli_features = __esm({
|
|
7590
|
+
"ts/agent-core/dist/cli-features.js"() {
|
|
7591
|
+
"use strict";
|
|
7592
|
+
}
|
|
7593
|
+
});
|
|
7594
|
+
|
|
7554
7595
|
// ts/agent-core/dist/config-refresh.js
|
|
7555
7596
|
var init_config_refresh = __esm({
|
|
7556
7597
|
"ts/agent-core/dist/config-refresh.js"() {
|
|
@@ -60817,6 +60858,7 @@ var init_dist2 = __esm({
|
|
|
60817
60858
|
init_bridge_workspace();
|
|
60818
60859
|
init_channel_capability();
|
|
60819
60860
|
init_channel_token();
|
|
60861
|
+
init_cli_features();
|
|
60820
60862
|
init_config_refresh();
|
|
60821
60863
|
init_dispatch_adapter();
|
|
60822
60864
|
init_runtime_observation2();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@parall/daemon",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.91.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/
|
|
38
|
-
"@parall/claude-agent": "1.
|
|
39
|
-
"@parall/
|
|
40
|
-
"@parall/openclaw-agent": "1.
|
|
41
|
-
"@parall/
|
|
37
|
+
"@parall/sdk": "1.91.0",
|
|
38
|
+
"@parall/claude-agent": "1.91.0",
|
|
39
|
+
"@parall/agent-core": "1.91.0",
|
|
40
|
+
"@parall/openclaw-agent": "1.91.0",
|
|
41
|
+
"@parall/codex-agent": "1.91.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@types/node": "^22.0.0",
|