@parall/daemon 1.86.0 → 1.87.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 +37 -3
- package/bundle/parall-claude-agent.js +37 -3
- package/bundle/parall-codex-agent.js +37 -3
- package/bundle/parall-daemon.js +61 -5
- package/package.json +6 -6
package/bundle/manifest.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
3
|
-
"built_at": "2026-11-
|
|
2
|
+
"version": "1.87.0",
|
|
3
|
+
"built_at": "2026-11-04T13:34:24.747Z",
|
|
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": "8bd6ccb4f2adbc9088752bf04fd6543bfc75f223f614f8214abf66696fa1ef86",
|
|
20
|
+
"size": 3090713
|
|
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": "
|
|
28
|
-
"size":
|
|
27
|
+
"sha256": "3b44cc18cf95bfde8e85dbea3b58aee5098e2ce345f776d6f895d76888e5c827",
|
|
28
|
+
"size": 3104443
|
|
29
29
|
},
|
|
30
30
|
"parall-codex-agent.js": {
|
|
31
|
-
"sha256": "
|
|
32
|
-
"size":
|
|
31
|
+
"sha256": "114744ef59e5d58c4295d9919d54c6213bb22652798360cab60ca1c05550efd3",
|
|
32
|
+
"size": 3116144
|
|
33
33
|
},
|
|
34
34
|
"parall-daemon.js": {
|
|
35
|
-
"sha256": "
|
|
36
|
-
"size":
|
|
35
|
+
"sha256": "73df46d16ecb80391a00453932f4da02b1e952d4d6b7d7c8c9f9cec0853f3ab0",
|
|
36
|
+
"size": 3284711
|
|
37
37
|
},
|
|
38
38
|
"parall-openclaw-agent.js": {
|
|
39
39
|
"sha256": "856a1c3a9ae0ffef8efe2481fa1171dbeb1d67cccb88616aa9bf16da96a69355",
|
|
40
40
|
"size": 9923
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
|
-
"signature": "
|
|
43
|
+
"signature": "ITgUo1Zy94F3Tqi+yiYfpCs1aM8K9maW/fU6BEe2hGkCpdCuFJa4rWuWyJTBlkd+ip8ey7EzeUPAHvL6VdpdCA=="
|
|
44
44
|
}
|
|
@@ -64447,6 +64447,7 @@ function teamInviteEndpoints(apiBase) {
|
|
|
64447
64447
|
TEMPLATE_INVITE_REQUESTS: (orgId, templateId) => `${apiBase}/orgs/${seg(orgId)}/templates/${seg(templateId)}/invite-link/requests`,
|
|
64448
64448
|
TEMPLATE_INVITE_REQUEST_DECIDE: (orgId, templateId, requestId) => `${apiBase}/orgs/${seg(orgId)}/templates/${seg(templateId)}/invite-link/requests/${seg(requestId)}/decide`,
|
|
64449
64449
|
TEAM_INVITE: (token) => `${apiBase}/team-invites/${seg(token)}`,
|
|
64450
|
+
TEAM_INVITE_TEAMS: (token) => `${apiBase}/team-invites/${seg(token)}/teams`,
|
|
64450
64451
|
TEAM_INVITE_REQUESTS: (token) => `${apiBase}/team-invites/${seg(token)}/requests`,
|
|
64451
64452
|
TEAM_INVITE_REQUEST_MINE: (token) => `${apiBase}/team-invites/${seg(token)}/requests/mine`,
|
|
64452
64453
|
TEAM_INVITE_REQUEST_CANCEL: (requestId) => `${apiBase}/team-invite-requests/${seg(requestId)}/cancel`,
|
|
@@ -64511,6 +64512,9 @@ var API_BASE2 = "/api/v1";
|
|
|
64511
64512
|
var WIKI_BASE = "/wiki/v1";
|
|
64512
64513
|
var CLIP_BASE = "/clip/v1";
|
|
64513
64514
|
var ENDPOINTS = {
|
|
64515
|
+
WIKI_PAGE_SHARES: (orgId, wikiId) => `/wiki/v1/orgs/${orgId}/wikis/${wikiId}/page-shares`,
|
|
64516
|
+
WIKI_PAGE_SHARE_CANDIDATES: (orgId, wikiId) => `/wiki/v1/orgs/${orgId}/wikis/${wikiId}/page-share-candidates`,
|
|
64517
|
+
WIKI_SHARED_PAGE: (shareId) => `/wiki/v1/shared-pages/${encodeURIComponent(shareId)}`,
|
|
64514
64518
|
// Auth
|
|
64515
64519
|
AUTH_REGISTER: `${API_BASE2}/auth/register`,
|
|
64516
64520
|
AUTH_LOGIN: `${API_BASE2}/auth/login`,
|
|
@@ -66353,8 +66357,16 @@ var TeamInviteClient = class extends BillingClient {
|
|
|
66353
66357
|
async getTeamInvite(token) {
|
|
66354
66358
|
return this.request("GET", ENDPOINTS.TEAM_INVITE(token));
|
|
66355
66359
|
}
|
|
66356
|
-
/**
|
|
66357
|
-
*
|
|
66360
|
+
/** Signed in: the org's Teams to pick from on a launch link, the caller's
|
|
66361
|
+
* own first, each marked with whether it has (or is getting) the squad and
|
|
66362
|
+
* which Team account would pay. */
|
|
66363
|
+
async getTeamInviteTeams(token) {
|
|
66364
|
+
const res = await this.request("GET", ENDPOINTS.TEAM_INVITE_TEAMS(token));
|
|
66365
|
+
return res.teams ?? [];
|
|
66366
|
+
}
|
|
66367
|
+
/** Ask for a team through a link: pick an existing one (`team_id`) or name
|
|
66368
|
+
* a new one. Submitting again returns the caller's open request instead of
|
|
66369
|
+
* making another. */
|
|
66358
66370
|
async createTeamInviteRequest(token, body) {
|
|
66359
66371
|
return this.request("POST", ENDPOINTS.TEAM_INVITE_REQUESTS(token), body);
|
|
66360
66372
|
}
|
|
@@ -66377,6 +66389,28 @@ function errorCode(err) {
|
|
|
66377
66389
|
return typeof err === "object" && err !== null ? err.code : void 0;
|
|
66378
66390
|
}
|
|
66379
66391
|
|
|
66392
|
+
// ts/sdk/dist/wiki-page-share-client.js
|
|
66393
|
+
var WikiPageShareClient = class extends TeamInviteClient {
|
|
66394
|
+
async listWikiPageShares(orgId, wikiId, path7) {
|
|
66395
|
+
const res = await this.request("GET", ENDPOINTS.WIKI_PAGE_SHARES(orgId, wikiId), void 0, { path: path7 });
|
|
66396
|
+
return res.data;
|
|
66397
|
+
}
|
|
66398
|
+
async createWikiPageShare(orgId, wikiId, path7, userId) {
|
|
66399
|
+
return this.request("POST", ENDPOINTS.WIKI_PAGE_SHARES(orgId, wikiId), { user_id: userId }, { path: path7 });
|
|
66400
|
+
}
|
|
66401
|
+
async revokeWikiPageShare(orgId, wikiId, path7, shareId) {
|
|
66402
|
+
return this.request("DELETE", `${ENDPOINTS.WIKI_PAGE_SHARES(orgId, wikiId)}/${encodeURIComponent(shareId)}`, void 0, { path: path7 });
|
|
66403
|
+
}
|
|
66404
|
+
async listWikiShareCandidates(orgId, wikiId, path7, q2 = "") {
|
|
66405
|
+
const res = await this.request("GET", ENDPOINTS.WIKI_PAGE_SHARE_CANDIDATES(orgId, wikiId), void 0, { path: path7, q: q2 });
|
|
66406
|
+
return res.data;
|
|
66407
|
+
}
|
|
66408
|
+
/** No path or ref override: the server always reads the shared page on main. */
|
|
66409
|
+
async getSharedWikiPage(shareId, opts) {
|
|
66410
|
+
return this.request("GET", ENDPOINTS.WIKI_SHARED_PAGE(shareId), void 0, void 0, false, opts);
|
|
66411
|
+
}
|
|
66412
|
+
};
|
|
66413
|
+
|
|
66380
66414
|
// ts/sdk/dist/wiki-changeset.js
|
|
66381
66415
|
function normalizeWikiChangeset(changeset) {
|
|
66382
66416
|
return {
|
|
@@ -66412,7 +66446,7 @@ function legacyHeartbeatFromReport(report) {
|
|
|
66412
66446
|
detectedRuntimes
|
|
66413
66447
|
};
|
|
66414
66448
|
}
|
|
66415
|
-
var ParallClient = class _ParallClient extends
|
|
66449
|
+
var ParallClient = class _ParallClient extends WikiPageShareClient {
|
|
66416
66450
|
baseUrl;
|
|
66417
66451
|
wikiBaseUrl;
|
|
66418
66452
|
token;
|
|
@@ -52209,6 +52209,7 @@ function teamInviteEndpoints(apiBase) {
|
|
|
52209
52209
|
TEMPLATE_INVITE_REQUESTS: (orgId, templateId) => `${apiBase}/orgs/${seg(orgId)}/templates/${seg(templateId)}/invite-link/requests`,
|
|
52210
52210
|
TEMPLATE_INVITE_REQUEST_DECIDE: (orgId, templateId, requestId) => `${apiBase}/orgs/${seg(orgId)}/templates/${seg(templateId)}/invite-link/requests/${seg(requestId)}/decide`,
|
|
52211
52211
|
TEAM_INVITE: (token) => `${apiBase}/team-invites/${seg(token)}`,
|
|
52212
|
+
TEAM_INVITE_TEAMS: (token) => `${apiBase}/team-invites/${seg(token)}/teams`,
|
|
52212
52213
|
TEAM_INVITE_REQUESTS: (token) => `${apiBase}/team-invites/${seg(token)}/requests`,
|
|
52213
52214
|
TEAM_INVITE_REQUEST_MINE: (token) => `${apiBase}/team-invites/${seg(token)}/requests/mine`,
|
|
52214
52215
|
TEAM_INVITE_REQUEST_CANCEL: (requestId) => `${apiBase}/team-invite-requests/${seg(requestId)}/cancel`,
|
|
@@ -52273,6 +52274,9 @@ var API_BASE2 = "/api/v1";
|
|
|
52273
52274
|
var WIKI_BASE = "/wiki/v1";
|
|
52274
52275
|
var CLIP_BASE = "/clip/v1";
|
|
52275
52276
|
var ENDPOINTS = {
|
|
52277
|
+
WIKI_PAGE_SHARES: (orgId, wikiId) => `/wiki/v1/orgs/${orgId}/wikis/${wikiId}/page-shares`,
|
|
52278
|
+
WIKI_PAGE_SHARE_CANDIDATES: (orgId, wikiId) => `/wiki/v1/orgs/${orgId}/wikis/${wikiId}/page-share-candidates`,
|
|
52279
|
+
WIKI_SHARED_PAGE: (shareId) => `/wiki/v1/shared-pages/${encodeURIComponent(shareId)}`,
|
|
52276
52280
|
// Auth
|
|
52277
52281
|
AUTH_REGISTER: `${API_BASE2}/auth/register`,
|
|
52278
52282
|
AUTH_LOGIN: `${API_BASE2}/auth/login`,
|
|
@@ -54220,8 +54224,16 @@ var TeamInviteClient = class extends BillingClient {
|
|
|
54220
54224
|
async getTeamInvite(token) {
|
|
54221
54225
|
return this.request("GET", ENDPOINTS.TEAM_INVITE(token));
|
|
54222
54226
|
}
|
|
54223
|
-
/**
|
|
54224
|
-
*
|
|
54227
|
+
/** Signed in: the org's Teams to pick from on a launch link, the caller's
|
|
54228
|
+
* own first, each marked with whether it has (or is getting) the squad and
|
|
54229
|
+
* which Team account would pay. */
|
|
54230
|
+
async getTeamInviteTeams(token) {
|
|
54231
|
+
const res = await this.request("GET", ENDPOINTS.TEAM_INVITE_TEAMS(token));
|
|
54232
|
+
return res.teams ?? [];
|
|
54233
|
+
}
|
|
54234
|
+
/** Ask for a team through a link: pick an existing one (`team_id`) or name
|
|
54235
|
+
* a new one. Submitting again returns the caller's open request instead of
|
|
54236
|
+
* making another. */
|
|
54225
54237
|
async createTeamInviteRequest(token, body) {
|
|
54226
54238
|
return this.request("POST", ENDPOINTS.TEAM_INVITE_REQUESTS(token), body);
|
|
54227
54239
|
}
|
|
@@ -54244,6 +54256,28 @@ function errorCode(err) {
|
|
|
54244
54256
|
return typeof err === "object" && err !== null ? err.code : void 0;
|
|
54245
54257
|
}
|
|
54246
54258
|
|
|
54259
|
+
// ts/sdk/dist/wiki-page-share-client.js
|
|
54260
|
+
var WikiPageShareClient = class extends TeamInviteClient {
|
|
54261
|
+
async listWikiPageShares(orgId, wikiId, path15) {
|
|
54262
|
+
const res = await this.request("GET", ENDPOINTS.WIKI_PAGE_SHARES(orgId, wikiId), void 0, { path: path15 });
|
|
54263
|
+
return res.data;
|
|
54264
|
+
}
|
|
54265
|
+
async createWikiPageShare(orgId, wikiId, path15, userId) {
|
|
54266
|
+
return this.request("POST", ENDPOINTS.WIKI_PAGE_SHARES(orgId, wikiId), { user_id: userId }, { path: path15 });
|
|
54267
|
+
}
|
|
54268
|
+
async revokeWikiPageShare(orgId, wikiId, path15, shareId) {
|
|
54269
|
+
return this.request("DELETE", `${ENDPOINTS.WIKI_PAGE_SHARES(orgId, wikiId)}/${encodeURIComponent(shareId)}`, void 0, { path: path15 });
|
|
54270
|
+
}
|
|
54271
|
+
async listWikiShareCandidates(orgId, wikiId, path15, q = "") {
|
|
54272
|
+
const res = await this.request("GET", ENDPOINTS.WIKI_PAGE_SHARE_CANDIDATES(orgId, wikiId), void 0, { path: path15, q });
|
|
54273
|
+
return res.data;
|
|
54274
|
+
}
|
|
54275
|
+
/** No path or ref override: the server always reads the shared page on main. */
|
|
54276
|
+
async getSharedWikiPage(shareId, opts) {
|
|
54277
|
+
return this.request("GET", ENDPOINTS.WIKI_SHARED_PAGE(shareId), void 0, void 0, false, opts);
|
|
54278
|
+
}
|
|
54279
|
+
};
|
|
54280
|
+
|
|
54247
54281
|
// ts/sdk/dist/wiki-changeset.js
|
|
54248
54282
|
function normalizeWikiChangeset(changeset) {
|
|
54249
54283
|
return {
|
|
@@ -54279,7 +54313,7 @@ function legacyHeartbeatFromReport(report) {
|
|
|
54279
54313
|
detectedRuntimes
|
|
54280
54314
|
};
|
|
54281
54315
|
}
|
|
54282
|
-
var ParallClient = class _ParallClient extends
|
|
54316
|
+
var ParallClient = class _ParallClient extends WikiPageShareClient {
|
|
54283
54317
|
baseUrl;
|
|
54284
54318
|
wikiBaseUrl;
|
|
54285
54319
|
token;
|
|
@@ -52209,6 +52209,7 @@ function teamInviteEndpoints(apiBase) {
|
|
|
52209
52209
|
TEMPLATE_INVITE_REQUESTS: (orgId, templateId) => `${apiBase}/orgs/${seg(orgId)}/templates/${seg(templateId)}/invite-link/requests`,
|
|
52210
52210
|
TEMPLATE_INVITE_REQUEST_DECIDE: (orgId, templateId, requestId) => `${apiBase}/orgs/${seg(orgId)}/templates/${seg(templateId)}/invite-link/requests/${seg(requestId)}/decide`,
|
|
52211
52211
|
TEAM_INVITE: (token) => `${apiBase}/team-invites/${seg(token)}`,
|
|
52212
|
+
TEAM_INVITE_TEAMS: (token) => `${apiBase}/team-invites/${seg(token)}/teams`,
|
|
52212
52213
|
TEAM_INVITE_REQUESTS: (token) => `${apiBase}/team-invites/${seg(token)}/requests`,
|
|
52213
52214
|
TEAM_INVITE_REQUEST_MINE: (token) => `${apiBase}/team-invites/${seg(token)}/requests/mine`,
|
|
52214
52215
|
TEAM_INVITE_REQUEST_CANCEL: (requestId) => `${apiBase}/team-invite-requests/${seg(requestId)}/cancel`,
|
|
@@ -52273,6 +52274,9 @@ var API_BASE2 = "/api/v1";
|
|
|
52273
52274
|
var WIKI_BASE = "/wiki/v1";
|
|
52274
52275
|
var CLIP_BASE = "/clip/v1";
|
|
52275
52276
|
var ENDPOINTS = {
|
|
52277
|
+
WIKI_PAGE_SHARES: (orgId, wikiId) => `/wiki/v1/orgs/${orgId}/wikis/${wikiId}/page-shares`,
|
|
52278
|
+
WIKI_PAGE_SHARE_CANDIDATES: (orgId, wikiId) => `/wiki/v1/orgs/${orgId}/wikis/${wikiId}/page-share-candidates`,
|
|
52279
|
+
WIKI_SHARED_PAGE: (shareId) => `/wiki/v1/shared-pages/${encodeURIComponent(shareId)}`,
|
|
52276
52280
|
// Auth
|
|
52277
52281
|
AUTH_REGISTER: `${API_BASE2}/auth/register`,
|
|
52278
52282
|
AUTH_LOGIN: `${API_BASE2}/auth/login`,
|
|
@@ -54220,8 +54224,16 @@ var TeamInviteClient = class extends BillingClient {
|
|
|
54220
54224
|
async getTeamInvite(token) {
|
|
54221
54225
|
return this.request("GET", ENDPOINTS.TEAM_INVITE(token));
|
|
54222
54226
|
}
|
|
54223
|
-
/**
|
|
54224
|
-
*
|
|
54227
|
+
/** Signed in: the org's Teams to pick from on a launch link, the caller's
|
|
54228
|
+
* own first, each marked with whether it has (or is getting) the squad and
|
|
54229
|
+
* which Team account would pay. */
|
|
54230
|
+
async getTeamInviteTeams(token) {
|
|
54231
|
+
const res = await this.request("GET", ENDPOINTS.TEAM_INVITE_TEAMS(token));
|
|
54232
|
+
return res.teams ?? [];
|
|
54233
|
+
}
|
|
54234
|
+
/** Ask for a team through a link: pick an existing one (`team_id`) or name
|
|
54235
|
+
* a new one. Submitting again returns the caller's open request instead of
|
|
54236
|
+
* making another. */
|
|
54225
54237
|
async createTeamInviteRequest(token, body) {
|
|
54226
54238
|
return this.request("POST", ENDPOINTS.TEAM_INVITE_REQUESTS(token), body);
|
|
54227
54239
|
}
|
|
@@ -54244,6 +54256,28 @@ function errorCode(err) {
|
|
|
54244
54256
|
return typeof err === "object" && err !== null ? err.code : void 0;
|
|
54245
54257
|
}
|
|
54246
54258
|
|
|
54259
|
+
// ts/sdk/dist/wiki-page-share-client.js
|
|
54260
|
+
var WikiPageShareClient = class extends TeamInviteClient {
|
|
54261
|
+
async listWikiPageShares(orgId, wikiId, path15) {
|
|
54262
|
+
const res = await this.request("GET", ENDPOINTS.WIKI_PAGE_SHARES(orgId, wikiId), void 0, { path: path15 });
|
|
54263
|
+
return res.data;
|
|
54264
|
+
}
|
|
54265
|
+
async createWikiPageShare(orgId, wikiId, path15, userId) {
|
|
54266
|
+
return this.request("POST", ENDPOINTS.WIKI_PAGE_SHARES(orgId, wikiId), { user_id: userId }, { path: path15 });
|
|
54267
|
+
}
|
|
54268
|
+
async revokeWikiPageShare(orgId, wikiId, path15, shareId) {
|
|
54269
|
+
return this.request("DELETE", `${ENDPOINTS.WIKI_PAGE_SHARES(orgId, wikiId)}/${encodeURIComponent(shareId)}`, void 0, { path: path15 });
|
|
54270
|
+
}
|
|
54271
|
+
async listWikiShareCandidates(orgId, wikiId, path15, q = "") {
|
|
54272
|
+
const res = await this.request("GET", ENDPOINTS.WIKI_PAGE_SHARE_CANDIDATES(orgId, wikiId), void 0, { path: path15, q });
|
|
54273
|
+
return res.data;
|
|
54274
|
+
}
|
|
54275
|
+
/** No path or ref override: the server always reads the shared page on main. */
|
|
54276
|
+
async getSharedWikiPage(shareId, opts) {
|
|
54277
|
+
return this.request("GET", ENDPOINTS.WIKI_SHARED_PAGE(shareId), void 0, void 0, false, opts);
|
|
54278
|
+
}
|
|
54279
|
+
};
|
|
54280
|
+
|
|
54247
54281
|
// ts/sdk/dist/wiki-changeset.js
|
|
54248
54282
|
function normalizeWikiChangeset(changeset) {
|
|
54249
54283
|
return {
|
|
@@ -54279,7 +54313,7 @@ function legacyHeartbeatFromReport(report) {
|
|
|
54279
54313
|
detectedRuntimes
|
|
54280
54314
|
};
|
|
54281
54315
|
}
|
|
54282
|
-
var ParallClient = class _ParallClient extends
|
|
54316
|
+
var ParallClient = class _ParallClient extends WikiPageShareClient {
|
|
54283
54317
|
baseUrl;
|
|
54284
54318
|
wikiBaseUrl;
|
|
54285
54319
|
token;
|
package/bundle/parall-daemon.js
CHANGED
|
@@ -740,6 +740,7 @@ function teamInviteEndpoints(apiBase) {
|
|
|
740
740
|
TEMPLATE_INVITE_REQUESTS: (orgId, templateId) => `${apiBase}/orgs/${seg(orgId)}/templates/${seg(templateId)}/invite-link/requests`,
|
|
741
741
|
TEMPLATE_INVITE_REQUEST_DECIDE: (orgId, templateId, requestId) => `${apiBase}/orgs/${seg(orgId)}/templates/${seg(templateId)}/invite-link/requests/${seg(requestId)}/decide`,
|
|
742
742
|
TEAM_INVITE: (token) => `${apiBase}/team-invites/${seg(token)}`,
|
|
743
|
+
TEAM_INVITE_TEAMS: (token) => `${apiBase}/team-invites/${seg(token)}/teams`,
|
|
743
744
|
TEAM_INVITE_REQUESTS: (token) => `${apiBase}/team-invites/${seg(token)}/requests`,
|
|
744
745
|
TEAM_INVITE_REQUEST_MINE: (token) => `${apiBase}/team-invites/${seg(token)}/requests/mine`,
|
|
745
746
|
TEAM_INVITE_REQUEST_CANCEL: (requestId) => `${apiBase}/team-invite-requests/${seg(requestId)}/cancel`,
|
|
@@ -1155,6 +1156,9 @@ var init_constants = __esm({
|
|
|
1155
1156
|
codex: "openai/gpt-5.4"
|
|
1156
1157
|
};
|
|
1157
1158
|
ENDPOINTS = {
|
|
1159
|
+
WIKI_PAGE_SHARES: (orgId, wikiId) => `/wiki/v1/orgs/${orgId}/wikis/${wikiId}/page-shares`,
|
|
1160
|
+
WIKI_PAGE_SHARE_CANDIDATES: (orgId, wikiId) => `/wiki/v1/orgs/${orgId}/wikis/${wikiId}/page-share-candidates`,
|
|
1161
|
+
WIKI_SHARED_PAGE: (shareId) => `/wiki/v1/shared-pages/${encodeURIComponent(shareId)}`,
|
|
1158
1162
|
// Auth
|
|
1159
1163
|
AUTH_REGISTER: `${API_BASE2}/auth/register`,
|
|
1160
1164
|
AUTH_LOGIN: `${API_BASE2}/auth/login`,
|
|
@@ -3495,8 +3499,16 @@ var init_team_invite_client = __esm({
|
|
|
3495
3499
|
async getTeamInvite(token) {
|
|
3496
3500
|
return this.request("GET", ENDPOINTS.TEAM_INVITE(token));
|
|
3497
3501
|
}
|
|
3498
|
-
/**
|
|
3499
|
-
*
|
|
3502
|
+
/** Signed in: the org's Teams to pick from on a launch link, the caller's
|
|
3503
|
+
* own first, each marked with whether it has (or is getting) the squad and
|
|
3504
|
+
* which Team account would pay. */
|
|
3505
|
+
async getTeamInviteTeams(token) {
|
|
3506
|
+
const res = await this.request("GET", ENDPOINTS.TEAM_INVITE_TEAMS(token));
|
|
3507
|
+
return res.teams ?? [];
|
|
3508
|
+
}
|
|
3509
|
+
/** Ask for a team through a link: pick an existing one (`team_id`) or name
|
|
3510
|
+
* a new one. Submitting again returns the caller's open request instead of
|
|
3511
|
+
* making another. */
|
|
3500
3512
|
async createTeamInviteRequest(token, body) {
|
|
3501
3513
|
return this.request("POST", ENDPOINTS.TEAM_INVITE_REQUESTS(token), body);
|
|
3502
3514
|
}
|
|
@@ -3518,6 +3530,36 @@ var init_team_invite_client = __esm({
|
|
|
3518
3530
|
}
|
|
3519
3531
|
});
|
|
3520
3532
|
|
|
3533
|
+
// ts/sdk/dist/wiki-page-share-client.js
|
|
3534
|
+
var WikiPageShareClient;
|
|
3535
|
+
var init_wiki_page_share_client = __esm({
|
|
3536
|
+
"ts/sdk/dist/wiki-page-share-client.js"() {
|
|
3537
|
+
"use strict";
|
|
3538
|
+
init_team_invite_client();
|
|
3539
|
+
init_constants();
|
|
3540
|
+
WikiPageShareClient = class extends TeamInviteClient {
|
|
3541
|
+
async listWikiPageShares(orgId, wikiId, path27) {
|
|
3542
|
+
const res = await this.request("GET", ENDPOINTS.WIKI_PAGE_SHARES(orgId, wikiId), void 0, { path: path27 });
|
|
3543
|
+
return res.data;
|
|
3544
|
+
}
|
|
3545
|
+
async createWikiPageShare(orgId, wikiId, path27, userId) {
|
|
3546
|
+
return this.request("POST", ENDPOINTS.WIKI_PAGE_SHARES(orgId, wikiId), { user_id: userId }, { path: path27 });
|
|
3547
|
+
}
|
|
3548
|
+
async revokeWikiPageShare(orgId, wikiId, path27, shareId) {
|
|
3549
|
+
return this.request("DELETE", `${ENDPOINTS.WIKI_PAGE_SHARES(orgId, wikiId)}/${encodeURIComponent(shareId)}`, void 0, { path: path27 });
|
|
3550
|
+
}
|
|
3551
|
+
async listWikiShareCandidates(orgId, wikiId, path27, q = "") {
|
|
3552
|
+
const res = await this.request("GET", ENDPOINTS.WIKI_PAGE_SHARE_CANDIDATES(orgId, wikiId), void 0, { path: path27, q });
|
|
3553
|
+
return res.data;
|
|
3554
|
+
}
|
|
3555
|
+
/** No path or ref override: the server always reads the shared page on main. */
|
|
3556
|
+
async getSharedWikiPage(shareId, opts) {
|
|
3557
|
+
return this.request("GET", ENDPOINTS.WIKI_SHARED_PAGE(shareId), void 0, void 0, false, opts);
|
|
3558
|
+
}
|
|
3559
|
+
};
|
|
3560
|
+
}
|
|
3561
|
+
});
|
|
3562
|
+
|
|
3521
3563
|
// ts/sdk/dist/wiki-changeset.js
|
|
3522
3564
|
function normalizeWikiChangeset(changeset) {
|
|
3523
3565
|
return {
|
|
@@ -3595,10 +3637,10 @@ var init_client = __esm({
|
|
|
3595
3637
|
init_browser_viewer();
|
|
3596
3638
|
init_wiki_upload();
|
|
3597
3639
|
init_fetch_cause();
|
|
3598
|
-
|
|
3640
|
+
init_wiki_page_share_client();
|
|
3599
3641
|
init_wiki_changeset();
|
|
3600
3642
|
init_constants();
|
|
3601
|
-
ParallClient = class _ParallClient extends
|
|
3643
|
+
ParallClient = class _ParallClient extends WikiPageShareClient {
|
|
3602
3644
|
baseUrl;
|
|
3603
3645
|
wikiBaseUrl;
|
|
3604
3646
|
token;
|
|
@@ -6456,12 +6498,16 @@ var init_subject = __esm({
|
|
|
6456
6498
|
function resolveChatListMode(value) {
|
|
6457
6499
|
return CHAT_LIST_MODES.includes(value) ? value : DEFAULT_CHAT_LIST_MODE;
|
|
6458
6500
|
}
|
|
6459
|
-
|
|
6501
|
+
function resolveAccountLanguage(value) {
|
|
6502
|
+
return ACCOUNT_LANGUAGES.includes(value) ? value : null;
|
|
6503
|
+
}
|
|
6504
|
+
var CHAT_LIST_MODES, DEFAULT_CHAT_LIST_MODE, ACCOUNT_LANGUAGES;
|
|
6460
6505
|
var init_user_preferences_types = __esm({
|
|
6461
6506
|
"ts/sdk/dist/user-preferences-types.js"() {
|
|
6462
6507
|
"use strict";
|
|
6463
6508
|
CHAT_LIST_MODES = ["sections", "timeline"];
|
|
6464
6509
|
DEFAULT_CHAT_LIST_MODE = "sections";
|
|
6510
|
+
ACCOUNT_LANGUAGES = ["en", "zh-CN", "zh-HK"];
|
|
6465
6511
|
}
|
|
6466
6512
|
});
|
|
6467
6513
|
|
|
@@ -6940,10 +6986,18 @@ var init_ws = __esm({
|
|
|
6940
6986
|
}
|
|
6941
6987
|
});
|
|
6942
6988
|
|
|
6989
|
+
// ts/sdk/dist/wiki-page-share-types.js
|
|
6990
|
+
var init_wiki_page_share_types = __esm({
|
|
6991
|
+
"ts/sdk/dist/wiki-page-share-types.js"() {
|
|
6992
|
+
"use strict";
|
|
6993
|
+
}
|
|
6994
|
+
});
|
|
6995
|
+
|
|
6943
6996
|
// ts/sdk/dist/index.js
|
|
6944
6997
|
var dist_exports = {};
|
|
6945
6998
|
__export(dist_exports, {
|
|
6946
6999
|
ACCENT_THEMES: () => ACCENT_THEMES,
|
|
7000
|
+
ACCOUNT_LANGUAGES: () => ACCOUNT_LANGUAGES,
|
|
6947
7001
|
API_BASE: () => API_BASE2,
|
|
6948
7002
|
ApiError: () => ApiError,
|
|
6949
7003
|
BROWSER_USE_ACTIONS: () => BROWSER_USE_ACTIONS,
|
|
@@ -7012,6 +7066,7 @@ __export(dist_exports, {
|
|
|
7012
7066
|
platformDefaultModelForRuntime: () => platformDefaultModelForRuntime,
|
|
7013
7067
|
readReceiptOf: () => readReceiptOf,
|
|
7014
7068
|
refusedAccountOf: () => refusedAccountOf,
|
|
7069
|
+
resolveAccountLanguage: () => resolveAccountLanguage,
|
|
7015
7070
|
resolveChatListMode: () => resolveChatListMode,
|
|
7016
7071
|
sameWikiDraftScope: () => sameWikiDraftScope,
|
|
7017
7072
|
showsReadReceipt: () => showsReadReceipt,
|
|
@@ -7060,6 +7115,7 @@ var init_dist = __esm({
|
|
|
7060
7115
|
init_wechat_types();
|
|
7061
7116
|
init_wiki_draft_types();
|
|
7062
7117
|
init_ws();
|
|
7118
|
+
init_wiki_page_share_types();
|
|
7063
7119
|
}
|
|
7064
7120
|
});
|
|
7065
7121
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@parall/daemon",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.87.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/
|
|
41
|
-
"@parall/
|
|
37
|
+
"@parall/sdk": "1.87.0",
|
|
38
|
+
"@parall/claude-agent": "1.87.0",
|
|
39
|
+
"@parall/openclaw-agent": "1.87.0",
|
|
40
|
+
"@parall/agent-core": "1.87.0",
|
|
41
|
+
"@parall/codex-agent": "1.87.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@types/node": "^22.0.0",
|