@parall/daemon 1.91.0 → 1.93.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 +76 -14
- package/bundle/parall-claude-agent.js +490 -51
- package/bundle/parall-codex-agent.js +480 -56
- package/bundle/parall-daemon.js +143 -19
- package/package.json +6 -6
package/bundle/parall-daemon.js
CHANGED
|
@@ -692,6 +692,8 @@ var init_clip_connection_endpoints = __esm({
|
|
|
692
692
|
CLIP_CONNECTIONS_ALL: (orgId) => `/api/v1/orgs/${orgId}/clip-connections/all`,
|
|
693
693
|
CLIP_CONNECTIONS: (orgId, clipId) => `/api/v1/orgs/${orgId}/clip-registry/${clipId}/connections`,
|
|
694
694
|
CLIP_CONNECTION_ACCESS: (orgId, connId) => `/api/v1/orgs/${orgId}/clip-connections/${connId}/access`,
|
|
695
|
+
/** Who among the org's agents may use one account (per-account setting). */
|
|
696
|
+
CLIP_CONNECTION_AGENT_ACCESS: (orgId, connId) => `/api/v1/orgs/${orgId}/clip-connections/${connId}/agent-access`,
|
|
695
697
|
CLIP_CONNECTION: (orgId, connId) => `/api/v1/orgs/${orgId}/clip-connections/${connId}`,
|
|
696
698
|
/** The caller's own (person-owned) connections; login session only. */
|
|
697
699
|
ORG_MY_CONNECTIONS: (orgId) => `/api/v1/orgs/${orgId}/me/connections`,
|
|
@@ -1335,6 +1337,7 @@ var init_constants = __esm({
|
|
|
1335
1337
|
AGENT_ME: (orgId) => `${API_BASE2}/orgs/${orgId}/agents/me`,
|
|
1336
1338
|
AGENT_REPLY_POLICY_CAPABILITY: (orgId) => `${API_BASE2}/orgs/${orgId}/agents/me/reply-policy-capability`,
|
|
1337
1339
|
AGENT_RUNTIME_REPORT: (orgId) => `${API_BASE2}/orgs/${orgId}/agents/me/runtime-report`,
|
|
1340
|
+
AGENT_LLM_USAGE: (orgId) => `${API_BASE2}/orgs/${orgId}/agents/me/llm-usage`,
|
|
1338
1341
|
...secretEndpoints(API_BASE2),
|
|
1339
1342
|
AGENT_NEW_SESSION: (orgId, agentId) => `${API_BASE2}/orgs/${orgId}/agents/${agentId}/new-session`,
|
|
1340
1343
|
AGENT_DEEP_RESET: (orgId, agentId) => `${API_BASE2}/orgs/${orgId}/agents/${agentId}/deep-reset`,
|
|
@@ -2490,8 +2493,16 @@ var init_mini_app_access_client = __esm({
|
|
|
2490
2493
|
async removeMiniAppAccessGrant(orgId, appId, userId) {
|
|
2491
2494
|
return this.request("DELETE", `${access(orgId, appId)}/grants/${encodeURIComponent(userId)}`);
|
|
2492
2495
|
}
|
|
2493
|
-
/**
|
|
2494
|
-
* the
|
|
2496
|
+
/** Puts a team of the organization on the app's access list, or changes
|
|
2497
|
+
* its level: everyone the team reaches gets at least that much. */
|
|
2498
|
+
async setMiniAppAccessTeamGrant(orgId, appId, teamId, level) {
|
|
2499
|
+
return this.request("PUT", `${access(orgId, appId)}/team-grants/${encodeURIComponent(teamId)}`, { access: level });
|
|
2500
|
+
}
|
|
2501
|
+
async removeMiniAppAccessTeamGrant(orgId, appId, teamId) {
|
|
2502
|
+
return this.request("DELETE", `${access(orgId, appId)}/team-grants/${encodeURIComponent(teamId)}`);
|
|
2503
|
+
}
|
|
2504
|
+
/** The change record, newest first: member_access, the access list (people
|
|
2505
|
+
* and teams) and the author roster. */
|
|
2495
2506
|
async getMiniAppAccessLog(orgId, appId, query = {}) {
|
|
2496
2507
|
const response = await this.request("GET", `${access(orgId, appId)}/log`, void 0, { limit: query.limit, before_id: query.before_id });
|
|
2497
2508
|
return response.data;
|
|
@@ -2769,6 +2780,10 @@ var init_clip_connection_client = __esm({
|
|
|
2769
2780
|
};
|
|
2770
2781
|
return this.request("PUT", ENDPOINTS.ORG_CLIP_MCP_CONFIG_BY_ID(orgId, clipId, configId), req, void 0, false, { headers: { "If-Match": `"${expectedVersion}"` }, timeoutMs: 4e4 });
|
|
2771
2782
|
}
|
|
2783
|
+
/** Server-resolved hosted authorization; no client URL or secret fields. */
|
|
2784
|
+
async connectManagedMCP(orgId, clipId, alias, target) {
|
|
2785
|
+
return this.request(target ? "PUT" : "POST", target ? ENDPOINTS.ORG_CLIP_MCP_CONFIG_BY_ID(orgId, clipId, target.config_id) : ENDPOINTS.ORG_CLIP_MCP_CONFIGS(orgId, clipId), { auth_type: "managed", ...alias ? { alias } : {} }, void 0, false, { headers: target ? { "If-Match": `"${target.version}"` } : void 0, timeoutMs: 11e4 });
|
|
2786
|
+
}
|
|
2772
2787
|
// ---- Clip connections ----
|
|
2773
2788
|
/** Missing keys are unknown/hidden; present empty arrays are known empty. */
|
|
2774
2789
|
async listClipMCPSummaries(orgId, clipIds) {
|
|
@@ -2807,6 +2822,17 @@ var init_clip_connection_client = __esm({
|
|
|
2807
2822
|
async putClipConnectionAccess(orgId, connId, input) {
|
|
2808
2823
|
return this.request("PUT", ENDPOINTS.CLIP_CONNECTION_ACCESS(orgId, connId), input);
|
|
2809
2824
|
}
|
|
2825
|
+
/** Who among the org's agents may use this account. Any org member may read. */
|
|
2826
|
+
async getClipConnectionAgentAccess(orgId, connId) {
|
|
2827
|
+
return this.request("GET", ENDPOINTS.CLIP_CONNECTION_AGENT_ACCESS(orgId, connId));
|
|
2828
|
+
}
|
|
2829
|
+
/**
|
|
2830
|
+
* Replace this account's agent access. Human org owner/admin only (JWT or
|
|
2831
|
+
* personal key); saving `selected` also turns `org_public` off.
|
|
2832
|
+
*/
|
|
2833
|
+
async putClipConnectionAgentAccess(orgId, connId, input) {
|
|
2834
|
+
return this.request("PUT", ENDPOINTS.CLIP_CONNECTION_AGENT_ACCESS(orgId, connId), input);
|
|
2835
|
+
}
|
|
2810
2836
|
/** Start OAuth using the reviewed platform app or provider registration ladder.
|
|
2811
2837
|
* Allow discovery (30s), persistence (10s), and network overhead to finish. */
|
|
2812
2838
|
async createClipMCPOAuthConnection(orgId, clipId, serverUrl, alias, oauthClient) {
|
|
@@ -3524,16 +3550,39 @@ var init_agent_owning_team_client = __esm({
|
|
|
3524
3550
|
}
|
|
3525
3551
|
});
|
|
3526
3552
|
|
|
3553
|
+
// ts/sdk/dist/runtime-auth-llm-usage-client.js
|
|
3554
|
+
var RuntimeAuthLlmUsageClient;
|
|
3555
|
+
var init_runtime_auth_llm_usage_client = __esm({
|
|
3556
|
+
"ts/sdk/dist/runtime-auth-llm-usage-client.js"() {
|
|
3557
|
+
"use strict";
|
|
3558
|
+
init_agent_owning_team_client();
|
|
3559
|
+
init_constants();
|
|
3560
|
+
RuntimeAuthLlmUsageClient = class extends AgentOwningTeamClient {
|
|
3561
|
+
/**
|
|
3562
|
+
* Record one batch of usage. The agent's own API key only (403 AGENT_ONLY
|
|
3563
|
+
* otherwise); 204 also for a batch already recorded; 400 for a batch out of
|
|
3564
|
+
* bounds; 409 LLM_ROUTE_NOT_RUNTIME_AUTH when the agent's model route is
|
|
3565
|
+
* not runtime_auth. A server without the endpoint answers 404 with no error
|
|
3566
|
+
* code. Every refusal surfaces as an ApiError with its status and code: what
|
|
3567
|
+
* to do about it is the caller's decision.
|
|
3568
|
+
*/
|
|
3569
|
+
async reportRuntimeAuthLlmUsage(orgId, report, opts) {
|
|
3570
|
+
await this.request("POST", ENDPOINTS.AGENT_LLM_USAGE(orgId), report, void 0, false, opts);
|
|
3571
|
+
}
|
|
3572
|
+
};
|
|
3573
|
+
}
|
|
3574
|
+
});
|
|
3575
|
+
|
|
3527
3576
|
// ts/sdk/dist/team-graph-client.js
|
|
3528
3577
|
var TeamGraphClient;
|
|
3529
3578
|
var init_team_graph_client = __esm({
|
|
3530
3579
|
"ts/sdk/dist/team-graph-client.js"() {
|
|
3531
3580
|
"use strict";
|
|
3532
|
-
init_agent_owning_team_client();
|
|
3533
3581
|
init_constants();
|
|
3534
|
-
|
|
3582
|
+
init_runtime_auth_llm_usage_client();
|
|
3583
|
+
TeamGraphClient = class extends RuntimeAuthLlmUsageClient {
|
|
3535
3584
|
async getTeamGraph(orgId, opts) {
|
|
3536
|
-
const query = opts?.includeAccess ? "?include=access" : "";
|
|
3585
|
+
const query = opts?.includeAccess ? "?include=access&include=apps" : "";
|
|
3537
3586
|
return this.request("GET", `${ENDPOINTS.TEAM_GRAPH(orgId)}${query}`);
|
|
3538
3587
|
}
|
|
3539
3588
|
/**
|
|
@@ -3543,9 +3592,12 @@ var init_team_graph_client = __esm({
|
|
|
3543
3592
|
* would refuse, with the same codes. 503 when it cannot compute the whole answer
|
|
3544
3593
|
* (`TEAM_MOVE_PREVIEW_WIKI_UNAVAILABLE`, `TEAM_MOVE_PREVIEW_TIMEOUT`,
|
|
3545
3594
|
* `TEAM_MOVE_PREVIEW_TOO_LARGE`). Send `tree_revision` back on `setTeamParent`.
|
|
3595
|
+
* Asks for Mini Apps too (`include=apps`): without it, a move that changes
|
|
3596
|
+
* someone's access to an app answers 503 `TEAM_MOVE_PREVIEW_APPS_UNSUPPORTED`
|
|
3597
|
+
* (mini-app-access-team-grants-design.md §5).
|
|
3546
3598
|
*/
|
|
3547
3599
|
async previewTeamMove(orgId, teamId, parentTeamId) {
|
|
3548
|
-
return this.request("POST", ENDPOINTS.TEAM_PARENT_PREVIEW(orgId, teamId)
|
|
3600
|
+
return this.request("POST", `${ENDPOINTS.TEAM_PARENT_PREVIEW(orgId, teamId)}?include=apps`, {
|
|
3549
3601
|
parent_team_id: parentTeamId
|
|
3550
3602
|
});
|
|
3551
3603
|
}
|
|
@@ -3842,6 +3894,28 @@ var init_chat_bookmarks_client = __esm({
|
|
|
3842
3894
|
}
|
|
3843
3895
|
});
|
|
3844
3896
|
|
|
3897
|
+
// ts/sdk/dist/template-catalog-client.js
|
|
3898
|
+
var templateCatalogPath, TemplateCatalogClient;
|
|
3899
|
+
var init_template_catalog_client = __esm({
|
|
3900
|
+
"ts/sdk/dist/template-catalog-client.js"() {
|
|
3901
|
+
"use strict";
|
|
3902
|
+
init_chat_bookmarks_client();
|
|
3903
|
+
init_constants();
|
|
3904
|
+
templateCatalogPath = (orgId) => `${API_BASE2}/orgs/${orgId}/templates/catalog`;
|
|
3905
|
+
TemplateCatalogClient = class extends ChatBookmarksClient {
|
|
3906
|
+
/**
|
|
3907
|
+
* The published team templates this organization can hire. Open to every
|
|
3908
|
+
* member, people and agents alike (owners and admins also have the full
|
|
3909
|
+
* definitions through `listOfficialTemplates`).
|
|
3910
|
+
*/
|
|
3911
|
+
async listTemplateCatalog(orgId) {
|
|
3912
|
+
const res = await this.request("GET", templateCatalogPath(orgId));
|
|
3913
|
+
return res.templates ?? [];
|
|
3914
|
+
}
|
|
3915
|
+
};
|
|
3916
|
+
}
|
|
3917
|
+
});
|
|
3918
|
+
|
|
3845
3919
|
// ts/sdk/dist/wiki-changeset.js
|
|
3846
3920
|
function normalizeWikiChangeset(changeset) {
|
|
3847
3921
|
return {
|
|
@@ -3919,11 +3993,11 @@ var init_client = __esm({
|
|
|
3919
3993
|
init_browser_viewer();
|
|
3920
3994
|
init_wiki_upload();
|
|
3921
3995
|
init_fetch_cause();
|
|
3922
|
-
|
|
3996
|
+
init_template_catalog_client();
|
|
3923
3997
|
init_wiki_changeset();
|
|
3924
3998
|
init_pagination();
|
|
3925
3999
|
init_constants();
|
|
3926
|
-
ParallClient = class _ParallClient extends
|
|
4000
|
+
ParallClient = class _ParallClient extends TemplateCatalogClient {
|
|
3927
4001
|
baseUrl;
|
|
3928
4002
|
wikiBaseUrl;
|
|
3929
4003
|
token;
|
|
@@ -6227,9 +6301,11 @@ var init_client = __esm({
|
|
|
6227
6301
|
});
|
|
6228
6302
|
}
|
|
6229
6303
|
/** Idempotently begin deleting a hosted Cloud Profile; every repeat returns
|
|
6230
|
-
* `202 deleting` until the pod and stored browser state are finalized.
|
|
6231
|
-
|
|
6232
|
-
|
|
6304
|
+
* `202 deleting` until the pod and stored browser state are finalized.
|
|
6305
|
+
* `ifUnused` deletes only when no connection runs on it and no browser
|
|
6306
|
+
* profile on it is shared or granted; otherwise `409 EDGE_IN_USE`. */
|
|
6307
|
+
async deleteEdgeDevice(orgId, edgeId, options) {
|
|
6308
|
+
return this.request("DELETE", ENDPOINTS.ORG_EDGE_DEVICE(orgId, edgeId), void 0, options?.ifUnused ? { if_unused: "true" } : void 0);
|
|
6233
6309
|
}
|
|
6234
6310
|
/** Move the human caller's OWN BYOC device between the org layer and their
|
|
6235
6311
|
* personal layer (ADR-020). `member` takes the device — and every clip
|
|
@@ -6462,9 +6538,8 @@ var init_client = __esm({
|
|
|
6462
6538
|
}
|
|
6463
6539
|
async createClipMCPConnection(orgId, clipId, req) {
|
|
6464
6540
|
return this.request("POST", ENDPOINTS.ORG_CLIP_MCP_CONFIGS(orgId, clipId), req, void 0, false, {
|
|
6465
|
-
//
|
|
6466
|
-
|
|
6467
|
-
timeoutMs: "approval_id" in req ? 5e4 : 4e4
|
|
6541
|
+
// Managed no-auth cards also perform a bounded session probe and completion.
|
|
6542
|
+
timeoutMs: "approval_id" in req ? 11e4 : 4e4
|
|
6468
6543
|
});
|
|
6469
6544
|
}
|
|
6470
6545
|
/** Delete one MCP config and its paired connection. */
|
|
@@ -6491,8 +6566,8 @@ var init_client = __esm({
|
|
|
6491
6566
|
void 0,
|
|
6492
6567
|
void 0,
|
|
6493
6568
|
false,
|
|
6494
|
-
//
|
|
6495
|
-
{ timeoutMs:
|
|
6569
|
+
// Managed refresh includes account readback and session creation (60s).
|
|
6570
|
+
{ timeoutMs: 7e4 }
|
|
6496
6571
|
);
|
|
6497
6572
|
}
|
|
6498
6573
|
// ---- Deprecated method aliases (External* → Trigger* rename; same endpoints) ----
|
|
@@ -6731,6 +6806,16 @@ var init_runtime_observation = __esm({
|
|
|
6731
6806
|
}
|
|
6732
6807
|
});
|
|
6733
6808
|
|
|
6809
|
+
// ts/sdk/dist/runtime-auth-llm-usage-types.js
|
|
6810
|
+
var RUNTIME_AUTH_LLM_USAGE_MAX_MODELS, LLM_ROUTE_NOT_RUNTIME_AUTH_ERROR_CODE;
|
|
6811
|
+
var init_runtime_auth_llm_usage_types = __esm({
|
|
6812
|
+
"ts/sdk/dist/runtime-auth-llm-usage-types.js"() {
|
|
6813
|
+
"use strict";
|
|
6814
|
+
RUNTIME_AUTH_LLM_USAGE_MAX_MODELS = 8;
|
|
6815
|
+
LLM_ROUTE_NOT_RUNTIME_AUTH_ERROR_CODE = "LLM_ROUTE_NOT_RUNTIME_AUTH";
|
|
6816
|
+
}
|
|
6817
|
+
});
|
|
6818
|
+
|
|
6734
6819
|
// ts/sdk/dist/secret-types.js
|
|
6735
6820
|
var AGENT_SECRET_GRANT_ONCE, AGENT_SECRET_GRANT_LONG, AGENT_SECRET_GRANT_INPUT, AGENT_SECRET_REQUEST_ACTION, ORG_SECRET_AGENT_ADD_ACTION, USER_SECRET_AGENT_ADD_ACTION, TEAM_SECRET_AGENT_ADD_ACTION, USER_SECRET_REQUEST_ACTION, TEAM_SECRET_REQUEST_ACTION, ORG_SECRET_REQUEST_ACTION, AGENT_SECRET_LAYER_ACTIONS, AGENT_SECRET_REQUEST_ACTIONS;
|
|
6736
6821
|
var init_secret_types = __esm({
|
|
@@ -6854,6 +6939,13 @@ var init_team_invite_types = __esm({
|
|
|
6854
6939
|
}
|
|
6855
6940
|
});
|
|
6856
6941
|
|
|
6942
|
+
// ts/sdk/dist/template-catalog-types.js
|
|
6943
|
+
var init_template_catalog_types = __esm({
|
|
6944
|
+
"ts/sdk/dist/template-catalog-types.js"() {
|
|
6945
|
+
"use strict";
|
|
6946
|
+
}
|
|
6947
|
+
});
|
|
6948
|
+
|
|
6857
6949
|
// ts/sdk/dist/template-intake-types.js
|
|
6858
6950
|
var init_template_intake_types = __esm({
|
|
6859
6951
|
"ts/sdk/dist/template-intake-types.js"() {
|
|
@@ -6876,9 +6968,11 @@ var init_trigger_judge_types = __esm({
|
|
|
6876
6968
|
});
|
|
6877
6969
|
|
|
6878
6970
|
// ts/sdk/dist/action-cards.js
|
|
6971
|
+
var TEMPLATE_TEAM_HIRE_ACTION;
|
|
6879
6972
|
var init_action_cards = __esm({
|
|
6880
6973
|
"ts/sdk/dist/action-cards.js"() {
|
|
6881
6974
|
"use strict";
|
|
6975
|
+
TEMPLATE_TEAM_HIRE_ACTION = "template.team.hire";
|
|
6882
6976
|
}
|
|
6883
6977
|
});
|
|
6884
6978
|
|
|
@@ -7364,6 +7458,7 @@ __export(dist_exports, {
|
|
|
7364
7458
|
COMMENT_TARGET: () => COMMENT_TARGET,
|
|
7365
7459
|
DEFAULT_CHAT_LIST_MODE: () => DEFAULT_CHAT_LIST_MODE,
|
|
7366
7460
|
ENDPOINTS: () => ENDPOINTS,
|
|
7461
|
+
LLM_ROUTE_NOT_RUNTIME_AUTH_ERROR_CODE: () => LLM_ROUTE_NOT_RUNTIME_AUTH_ERROR_CODE,
|
|
7367
7462
|
MACHINE_DIAGNOSTICS_NOTE_MAX_CHARS: () => MACHINE_DIAGNOSTICS_NOTE_MAX_CHARS,
|
|
7368
7463
|
MAX_TEAM_SUBJECTS_PER_WRITE: () => MAX_TEAM_SUBJECTS_PER_WRITE,
|
|
7369
7464
|
MENTION_ALL_AGENTS_USER_ID: () => MENTION_ALL_AGENTS_USER_ID,
|
|
@@ -7376,10 +7471,12 @@ __export(dist_exports, {
|
|
|
7376
7471
|
PLATFORM_MODELS: () => PLATFORM_MODELS,
|
|
7377
7472
|
ParallClient: () => ParallClient,
|
|
7378
7473
|
ParallWs: () => ParallWs,
|
|
7474
|
+
RUNTIME_AUTH_LLM_USAGE_MAX_MODELS: () => RUNTIME_AUTH_LLM_USAGE_MAX_MODELS,
|
|
7379
7475
|
RUNTIME_OBSERVATION_EVENTS: () => RUNTIME_OBSERVATION_EVENTS,
|
|
7380
7476
|
RUNTIME_OBSERVATION_STATUSES: () => RUNTIME_OBSERVATION_STATUSES,
|
|
7381
7477
|
TEAM_SECRET_AGENT_ADD_ACTION: () => TEAM_SECRET_AGENT_ADD_ACTION,
|
|
7382
7478
|
TEAM_SECRET_REQUEST_ACTION: () => TEAM_SECRET_REQUEST_ACTION,
|
|
7479
|
+
TEMPLATE_TEAM_HIRE_ACTION: () => TEMPLATE_TEAM_HIRE_ACTION,
|
|
7383
7480
|
USER_SECRET_AGENT_ADD_ACTION: () => USER_SECRET_AGENT_ADD_ACTION,
|
|
7384
7481
|
USER_SECRET_REQUEST_ACTION: () => USER_SECRET_REQUEST_ACTION,
|
|
7385
7482
|
WIKI_BASE: () => WIKI_BASE,
|
|
@@ -7466,12 +7563,14 @@ var init_dist = __esm({
|
|
|
7466
7563
|
init_org_unread_types();
|
|
7467
7564
|
init_read_receipt();
|
|
7468
7565
|
init_runtime_observation();
|
|
7566
|
+
init_runtime_auth_llm_usage_types();
|
|
7469
7567
|
init_secret_types();
|
|
7470
7568
|
init_subject();
|
|
7471
7569
|
init_user_preferences_types();
|
|
7472
7570
|
init_task_label_types();
|
|
7473
7571
|
init_chat_bookmarks_types();
|
|
7474
7572
|
init_team_invite_types();
|
|
7573
|
+
init_template_catalog_types();
|
|
7475
7574
|
init_template_intake_types();
|
|
7476
7575
|
init_member_field_types();
|
|
7477
7576
|
init_trigger_judge_types();
|
|
@@ -34634,7 +34733,7 @@ async function initAgentTelemetry(serviceName, runtimeType, opts = {}) {
|
|
|
34634
34733
|
const metricExporter = spooled(new OTLPMetricExporter({ url: `${otelEndpoint}/v1/metrics`, headers: authHeaders }), "metrics", serializers?.ProtobufMetricsSerializer);
|
|
34635
34734
|
const metricReader = new PeriodicExportingMetricReader({
|
|
34636
34735
|
exporter: metricExporter,
|
|
34637
|
-
exportIntervalMillis:
|
|
34736
|
+
exportIntervalMillis: 6e4
|
|
34638
34737
|
});
|
|
34639
34738
|
const meterProvider = new MeterProvider({ resource, readers: [metricReader] });
|
|
34640
34739
|
metrics.setGlobalMeterProvider(meterProvider);
|
|
@@ -34648,7 +34747,8 @@ async function initAgentTelemetry(serviceName, runtimeType, opts = {}) {
|
|
|
34648
34747
|
});
|
|
34649
34748
|
dispatchDuration = meter.createHistogram("parall.dispatch.duration", {
|
|
34650
34749
|
description: "Dispatch cycle duration in milliseconds",
|
|
34651
|
-
unit: "ms"
|
|
34750
|
+
unit: "ms",
|
|
34751
|
+
advice: { explicitBucketBoundaries: DISPATCH_DURATION_BUCKETS_MS }
|
|
34652
34752
|
});
|
|
34653
34753
|
missingReplyCounter = meter.createCounter("parall.dispatch.missing_reply", {
|
|
34654
34754
|
description: "Dispatches where agent produced text but sent no reply message"
|
|
@@ -34755,7 +34855,7 @@ function createOtelLogger(layer, prefix) {
|
|
|
34755
34855
|
child: (sub) => createOtelLogger(layer, `${prefix}:${sub}`)
|
|
34756
34856
|
};
|
|
34757
34857
|
}
|
|
34758
|
-
var import_api_logs, initialized, shutdownFn, dispatchCounter, dispatchDuration, missingReplyCounter, turnTokensCounter, turnCostCounter, otelLogger, spoolCounters, PRODUCTION_API_HOSTS, STAGING_API_HOSTS, DIAG_THROTTLE_MS, DIAG_THROTTLE_KEYS, dispatchContextStorage;
|
|
34858
|
+
var import_api_logs, initialized, shutdownFn, dispatchCounter, dispatchDuration, DISPATCH_DURATION_BUCKETS_MS, missingReplyCounter, turnTokensCounter, turnCostCounter, otelLogger, spoolCounters, PRODUCTION_API_HOSTS, STAGING_API_HOSTS, DIAG_THROTTLE_MS, DIAG_THROTTLE_KEYS, dispatchContextStorage;
|
|
34759
34859
|
var init_telemetry = __esm({
|
|
34760
34860
|
"ts/agent-core/dist/telemetry.js"() {
|
|
34761
34861
|
"use strict";
|
|
@@ -34768,6 +34868,19 @@ var init_telemetry = __esm({
|
|
|
34768
34868
|
shutdownFn = null;
|
|
34769
34869
|
dispatchCounter = null;
|
|
34770
34870
|
dispatchDuration = null;
|
|
34871
|
+
DISPATCH_DURATION_BUCKETS_MS = [
|
|
34872
|
+
1e3,
|
|
34873
|
+
2500,
|
|
34874
|
+
5e3,
|
|
34875
|
+
1e4,
|
|
34876
|
+
2e4,
|
|
34877
|
+
3e4,
|
|
34878
|
+
6e4,
|
|
34879
|
+
12e4,
|
|
34880
|
+
3e5,
|
|
34881
|
+
6e5,
|
|
34882
|
+
18e5
|
|
34883
|
+
];
|
|
34771
34884
|
missingReplyCounter = null;
|
|
34772
34885
|
turnTokensCounter = null;
|
|
34773
34886
|
turnCostCounter = null;
|
|
@@ -34892,6 +35005,16 @@ var init_runtime_turns = __esm({
|
|
|
34892
35005
|
}
|
|
34893
35006
|
});
|
|
34894
35007
|
|
|
35008
|
+
// ts/agent-core/dist/gateway/runtime-usage-reporter.js
|
|
35009
|
+
var DEFAULT_INTERVAL_MS;
|
|
35010
|
+
var init_runtime_usage_reporter = __esm({
|
|
35011
|
+
"ts/agent-core/dist/gateway/runtime-usage-reporter.js"() {
|
|
35012
|
+
"use strict";
|
|
35013
|
+
init_dist();
|
|
35014
|
+
DEFAULT_INTERVAL_MS = 5 * 6e4;
|
|
35015
|
+
}
|
|
35016
|
+
});
|
|
35017
|
+
|
|
34895
35018
|
// ts/agent-core/dist/gateway/drain.js
|
|
34896
35019
|
var init_drain = __esm({
|
|
34897
35020
|
"ts/agent-core/dist/gateway/drain.js"() {
|
|
@@ -35072,6 +35195,7 @@ var init_base = __esm({
|
|
|
35072
35195
|
init_lane_flow();
|
|
35073
35196
|
init_idle_compact();
|
|
35074
35197
|
init_runtime_turns();
|
|
35198
|
+
init_runtime_usage_reporter();
|
|
35075
35199
|
init_drain();
|
|
35076
35200
|
init_session_binding();
|
|
35077
35201
|
init_ledger();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@parall/daemon",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.93.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/
|
|
39
|
-
"@parall/agent
|
|
40
|
-
"@parall/openclaw-agent": "1.
|
|
41
|
-
"@parall/codex-agent": "1.
|
|
37
|
+
"@parall/agent-core": "1.93.0",
|
|
38
|
+
"@parall/sdk": "1.93.0",
|
|
39
|
+
"@parall/claude-agent": "1.93.0",
|
|
40
|
+
"@parall/openclaw-agent": "1.93.0",
|
|
41
|
+
"@parall/codex-agent": "1.93.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@types/node": "^22.0.0",
|