openmeld 0.3.233 → 0.3.234
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/dist/{add-me-membership-_O3IzRLn.js → add-me-membership-CmHUjDvu.js} +2 -2
- package/dist/{add-me-membership-_O3IzRLn.js.map → add-me-membership-CmHUjDvu.js.map} +1 -1
- package/dist/{agents-B5E7c7sQ.js → agents-CNW1dony.js} +9 -9
- package/dist/{agents-B5E7c7sQ.js.map → agents-CNW1dony.js.map} +1 -1
- package/dist/{api-client-foundation-1p1VVFJ_.js → api-client-foundation-BHjffwwr.js} +1 -1
- package/dist/{api-client-foundation-C-RPnq_p.js → api-client-foundation-D6zHrrGV.js} +3 -3
- package/dist/{api-client-foundation-C-RPnq_p.js.map → api-client-foundation-D6zHrrGV.js.map} +1 -1
- package/dist/auth-session-CCLabxRT.js +4 -0
- package/dist/{auth-session-iXCJO5oB.js → auth-session-CjxqNKvh.js} +2 -2
- package/dist/{auth-session-iXCJO5oB.js.map → auth-session-CjxqNKvh.js.map} +1 -1
- package/dist/{channel-BciBrA3Y.js → channel-BW2_rI6u.js} +3 -3
- package/dist/{channel-BciBrA3Y.js.map → channel-BW2_rI6u.js.map} +1 -1
- package/dist/{command-D0pcAIoE.js → command-9Iorb5GA.js} +16 -16
- package/dist/{command-D0pcAIoE.js.map → command-9Iorb5GA.js.map} +1 -1
- package/dist/{computer-connection-CHP1-0rK.js → computer-connection-LX1R7jD0.js} +2 -2
- package/dist/{computer-connection-CHP1-0rK.js.map → computer-connection-LX1R7jD0.js.map} +1 -1
- package/dist/{computer-connection-review-dHotFqmD.js → computer-connection-review-CeOHkloT.js} +5 -5
- package/dist/{computer-connection-review-dHotFqmD.js.map → computer-connection-review-CeOHkloT.js.map} +1 -1
- package/dist/{computer-disconnect-B2DLDxWx.js → computer-disconnect-CXDO8zgT.js} +7 -7
- package/dist/{computer-disconnect-B2DLDxWx.js.map → computer-disconnect-CXDO8zgT.js.map} +1 -1
- package/dist/{computer-setup-continuation-Cv_c1B-7.js → computer-setup-continuation-XgvjM0jF.js} +3 -3
- package/dist/{computer-setup-continuation-Cv_c1B-7.js.map → computer-setup-continuation-XgvjM0jF.js.map} +1 -1
- package/dist/{context-BnhlFS8m.js → context-D3GnSqg8.js} +3 -3
- package/dist/{context-BnhlFS8m.js.map → context-D3GnSqg8.js.map} +1 -1
- package/dist/control-plane-QqGL-jtT.js.map +1 -1
- package/dist/{daemon-device-id-DbSIqHoZ.js → daemon-device-id-OMqh2F9_.js} +5 -5
- package/dist/{daemon-device-id-DbSIqHoZ.js.map → daemon-device-id-OMqh2F9_.js.map} +1 -1
- package/dist/{daemon-lifecycle-journal-DsVVvKJe.js → daemon-lifecycle-journal-Dq8W9V9C.js} +4 -4
- package/dist/{daemon-lifecycle-journal-DsVVvKJe.js.map → daemon-lifecycle-journal-Dq8W9V9C.js.map} +1 -1
- package/dist/{daemon-service-runtime-DZI6Ke3_.js → daemon-service-runtime-B-x4bBKx.js} +2 -2
- package/dist/{daemon-service-runtime-DZI6Ke3_.js.map → daemon-service-runtime-B-x4bBKx.js.map} +1 -1
- package/dist/{daemon-service-update-coordinator-BgVBlJ4d.js → daemon-service-update-coordinator-Brv_30Kn.js} +18 -16
- package/dist/{daemon-service-update-coordinator-BgVBlJ4d.js.map → daemon-service-update-coordinator-Brv_30Kn.js.map} +1 -1
- package/dist/{dispatch-owned-runtime-BeIQetEt.js → dispatch-owned-runtime-Czq270vy.js} +50 -617
- package/dist/dispatch-owned-runtime-Czq270vy.js.map +1 -0
- package/dist/{dist-BgYBvEBB.js → dist-CJL7LE-y.js} +193 -358
- package/dist/dist-CJL7LE-y.js.map +1 -0
- package/dist/{dist-DQS0XYkb.js → dist-Ccpvj1tf.js} +2 -2
- package/dist/{dist-DQS0XYkb.js.map → dist-Ccpvj1tf.js.map} +1 -1
- package/dist/{dist-z72xYz5Z.js → dist-MpN-h8da.js} +1 -1
- package/dist/{elapsed-time-C7S-6bWV.js → elapsed-time-BSphCejK.js} +5 -5
- package/dist/{elapsed-time-C7S-6bWV.js.map → elapsed-time-BSphCejK.js.map} +1 -1
- package/dist/{entry-CX24qHnm.js → entry-CDablKgv.js} +7 -7
- package/dist/{entry-CX24qHnm.js.map → entry-CDablKgv.js.map} +1 -1
- package/dist/{installation-inventory-B3mwQFEA.js → installation-inventory-CRnah3Xf.js} +3 -3
- package/dist/{installation-inventory-B3mwQFEA.js.map → installation-inventory-CRnah3Xf.js.map} +1 -1
- package/dist/{installer-DnIJ4y3l.js → installer-BYBrLBth.js} +2 -2
- package/dist/{installer-DnIJ4y3l.js.map → installer-BYBrLBth.js.map} +1 -1
- package/dist/{meta-api-DgHkiIdr.js → meta-api-ClHCkzZB.js} +4 -4
- package/dist/{meta-api-DgHkiIdr.js.map → meta-api-ClHCkzZB.js.map} +1 -1
- package/dist/{openmeld-kYp99hOl.js → openmeld-Yz7J0OaB.js} +32 -32
- package/dist/{openmeld-kYp99hOl.js.map → openmeld-Yz7J0OaB.js.map} +1 -1
- package/dist/openmeld-dev-environment-DwdvL7jg.js +24 -0
- package/dist/openmeld-dev-environment-DwdvL7jg.js.map +1 -0
- package/dist/openmeld-dev.js +1 -19
- package/dist/openmeld-dev.js.map +1 -1
- package/dist/{openmeld-maintenance-worker-BqU1Asrm.js → openmeld-maintenance-worker-CVjbc-dv.js} +9 -9
- package/dist/{openmeld-maintenance-worker-BqU1Asrm.js.map → openmeld-maintenance-worker-CVjbc-dv.js.map} +1 -1
- package/dist/{openmeld-tools-update-join-BKJnGR5h.js → openmeld-tools-update-join-Em7DfQt6.js} +4 -4
- package/dist/{openmeld-tools-update-join-BKJnGR5h.js.map → openmeld-tools-update-join-Em7DfQt6.js.map} +1 -1
- package/dist/openmeld.js +4 -4
- package/dist/{prepare-provider-runtime-CD6XRt7X.js → prepare-provider-runtime-Bf2GBijn.js} +174 -49
- package/dist/prepare-provider-runtime-Bf2GBijn.js.map +1 -0
- package/dist/{prepare-session-executor-DY2s4FuY.js → prepare-session-executor-D8Vbyoq4.js} +18 -18
- package/dist/{prepare-session-executor-DY2s4FuY.js.map → prepare-session-executor-D8Vbyoq4.js.map} +1 -1
- package/dist/{process-channel-CzgOWiuh.js → process-channel-CTPL81j6.js} +2 -2
- package/dist/{process-channel-CzgOWiuh.js.map → process-channel-CTPL81j6.js.map} +1 -1
- package/dist/{runtime-Br4Ga0rJ.js → runtime-aUrBNKSl.js} +7860 -7249
- package/dist/runtime-aUrBNKSl.js.map +1 -0
- package/dist/{runtime-agent-controller-reporting-submission-CQjbBiHh.js → runtime-agent-controller-reporting-submission-BJY9cLyh.js} +16 -46
- package/dist/{runtime-agent-controller-reporting-submission-CQjbBiHh.js.map → runtime-agent-controller-reporting-submission-BJY9cLyh.js.map} +1 -1
- package/dist/{runtime-transport-D4CVffnp.js → runtime-transport-DyBmX7ds.js} +569 -30
- package/dist/runtime-transport-DyBmX7ds.js.map +1 -0
- package/dist/{service-D9QVc4_y.js → service-CMNaJrvV.js} +68 -38
- package/dist/service-CMNaJrvV.js.map +1 -0
- package/dist/{service-account-authorization-DLhUgGDb.js → service-account-authorization-CdyvPbvg.js} +2 -2
- package/dist/{service-account-authorization-DLhUgGDb.js.map → service-account-authorization-CdyvPbvg.js.map} +1 -1
- package/dist/{service-account-control-DIdQILmo.js → service-account-control-jnKTjLAR.js} +9 -9
- package/dist/{service-account-control-DIdQILmo.js.map → service-account-control-jnKTjLAR.js.map} +1 -1
- package/dist/{service-control-capabilities-CGv5Cuxo.js → service-control-capabilities-CRsFO-Jf.js} +3 -3
- package/dist/{service-control-capabilities-CGv5Cuxo.js.map → service-control-capabilities-CRsFO-Jf.js.map} +1 -1
- package/dist/{service-control-capabilities-BvHU_NcX.js → service-control-capabilities-DpJNUd1S.js} +1 -1
- package/dist/{state-AWe5DSV8.js → state-CON1kJsS.js} +2 -2
- package/dist/{state-AWe5DSV8.js.map → state-CON1kJsS.js.map} +1 -1
- package/dist/{runtime-reporting-health-state-a1FUE1S-.js → updates-api-BpWiCpAo.js} +374 -206
- package/dist/updates-api-BpWiCpAo.js.map +1 -0
- package/dist/{upgrade-CcnlL7FH.js → upgrade-Bdh732dG.js} +7 -7
- package/dist/{upgrade-CcnlL7FH.js.map → upgrade-Bdh732dG.js.map} +1 -1
- package/dist/upgrade-frLu7pCB.js +4 -0
- package/package.json +11 -11
- package/dist/auth-session-CmjjkLiB.js +0 -4
- package/dist/dispatch-owned-runtime-BeIQetEt.js.map +0 -1
- package/dist/dist-BgYBvEBB.js.map +0 -1
- package/dist/prepare-provider-runtime-CD6XRt7X.js.map +0 -1
- package/dist/runtime-Br4Ga0rJ.js.map +0 -1
- package/dist/runtime-reporting-health-state-a1FUE1S-.js.map +0 -1
- package/dist/runtime-transport-D4CVffnp.js.map +0 -1
- package/dist/service-D9QVc4_y.js.map +0 -1
- package/dist/upgrade-CLnZ4WBF.js +0 -4
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { a as runtimeDispatchPolicySchema, c as agentControllerConversationRefSchema, h as agentControllerRefSchema, n as runtimeAgentControllerConversationIdMappingSpecSchema, o as runtimeStreamingModeSchema, s as runtimeTransportModeSchema } from "./controller-contract-DAOCaefz.js";
|
|
4
|
-
import { A as boolean, B as nullFactory, F as int, G as strictObject, I as iso, K as string, M as discriminatedUnion, O as ZodIssueCode, P as enumFactory, R as literal, V as number, W as record, X as unknown, Y as union, Z as url, f as localComponentsStatusSchema, g as openMeldToolsControlResultSchema, h as openMeldToolsControlRequestSchema, k as array, m as openMeldToolsControlCapabilitySchema, q as tuple } from "./local-components-DJiMS67S.js";
|
|
5
3
|
import { A as profileKindSchema, E as agentProfileIdSchema, L as nonEmptyTrimmedStringFromUnknown, N as profileWorkingDirectorySchema, O as openMeldRuntimeProfileIdSchema, P as profileWorkspaceModeSchema, S as bootstrapTemplateFactsSchema, _ as openMeldDaemonSetProfileWorkspaceRequestPayloadSchema, a as openMeldDaemonCancelRequestPayloadSchema, b as skippedDaemonProfileSchema, d as openMeldDaemonInterruptRequestPayloadSchema, f as openMeldDaemonManageLocalAgentInstallationPayloadSchema, g as openMeldDaemonSetProfileWorkspacePayloadSchema, h as openMeldDaemonSetLocalAgentEnabledRequestPayloadSchema, i as openMeldDaemonCancelPayloadSchema, j as profileLabelSchema, k as profileHandleSchema, m as openMeldDaemonSetLocalAgentEnabledPayloadSchema, p as openMeldDaemonManageLocalAgentInstallationRequestPayloadSchema, u as openMeldDaemonInterruptPayloadSchema, v as openMeldDaemonSyncRouteCatalogPayloadSchema, w as dispatchExecutionSchema, y as openMeldDaemonSyncRouteCatalogRequestPayloadSchema, z as trimmedStringFromUnknown } from "./control-plane-QqGL-jtT.js";
|
|
4
|
+
import { a as runtimeDispatchPolicySchema, c as agentControllerConversationRefSchema, h as agentControllerRefSchema, n as runtimeAgentControllerConversationIdMappingSpecSchema, o as runtimeStreamingModeSchema, s as runtimeTransportModeSchema } from "./controller-contract-DAOCaefz.js";
|
|
5
|
+
import { A as boolean, B as nullFactory, F as int, G as strictObject, I as iso, K as string, M as discriminatedUnion, N as email, O as ZodIssueCode, P as enumFactory, R as literal, V as number, W as record, X as unknown, Y as union, Z as url, f as localComponentsStatusSchema, g as openMeldToolsControlResultSchema, h as openMeldToolsControlRequestSchema, k as array, m as openMeldToolsControlCapabilitySchema, q as tuple } from "./local-components-DJiMS67S.js";
|
|
6
6
|
import { r as daemonServiceLaneSchema } from "./service-contract-CRyDcIIf.js";
|
|
7
7
|
import * as z$1 from "zod/v4";
|
|
8
|
+
//#region ../../packages/schemas/dist/schemas/protocol/constants.js
|
|
9
|
+
const MAX_TEXT_LENGTH = 1e5;
|
|
10
|
+
//#endregion
|
|
8
11
|
//#region ../../packages/schemas/dist/agent-recovery-action.js
|
|
9
12
|
const agentRecoveryActionLabels = {
|
|
10
13
|
change_model: "Change model",
|
|
@@ -426,9 +429,6 @@ function work(key) {
|
|
|
426
429
|
};
|
|
427
430
|
}
|
|
428
431
|
//#endregion
|
|
429
|
-
//#region ../../packages/schemas/dist/schemas/protocol/constants.js
|
|
430
|
-
const MAX_TEXT_LENGTH = 1e5;
|
|
431
|
-
//#endregion
|
|
432
432
|
//#region ../../packages/schemas/dist/schemas/daemon/profile-identity.js
|
|
433
433
|
const nonEmptyTextSchema = z$1.string().transform((value) => value.trim()).refine((value) => value.length > 0, "Expected non-blank text");
|
|
434
434
|
const OPENMELD_SYSTEM_PROFILE_ID = "openmeld-system";
|
|
@@ -2252,7 +2252,7 @@ const agentWorkActivitySchema = z$1.strictObject({
|
|
|
2252
2252
|
v: z$1.literal(1),
|
|
2253
2253
|
key: agentWorkActivityKeySchema,
|
|
2254
2254
|
subject: agentWorkSubjectSchema.optional(),
|
|
2255
|
-
outcome: z$1.
|
|
2255
|
+
outcome: z$1.enum(["confirmation_required", "outcome_unknown"]).catch("outcome_unknown").optional()
|
|
2256
2256
|
}).superRefine((work, context) => {
|
|
2257
2257
|
if (work.subject && AGENT_WORK_SUBJECT_KIND_BY_KEY[work.key] !== work.subject.kind) context.addIssue({
|
|
2258
2258
|
code: "custom",
|
|
@@ -2381,6 +2381,14 @@ const spaceAgentStreamTerminalFrameSchema = z$1.strictObject({
|
|
|
2381
2381
|
//#endregion
|
|
2382
2382
|
//#region ../../packages/schemas/dist/schemas/protocol/execution-context.js
|
|
2383
2383
|
const reference = z$1.string().trim().min(1).max(2048);
|
|
2384
|
+
z$1.strictObject({
|
|
2385
|
+
commonDirectoryPointerPath: reference,
|
|
2386
|
+
configPath: reference,
|
|
2387
|
+
gitDirectoryPointerPath: reference,
|
|
2388
|
+
hooksPath: reference,
|
|
2389
|
+
worktreeConfigPath: reference,
|
|
2390
|
+
worktreeGitPointerPath: reference
|
|
2391
|
+
});
|
|
2384
2392
|
const executionContextAccessSchema = z$1.enum([
|
|
2385
2393
|
"space_context",
|
|
2386
2394
|
"read_only",
|
|
@@ -2490,7 +2498,7 @@ const CONNECTOR_APP_REQUEST_STATUSES = [
|
|
|
2490
2498
|
"declined"
|
|
2491
2499
|
];
|
|
2492
2500
|
const trimmedNonEmptyStringSchema = string().trim().min(1);
|
|
2493
|
-
const timestampMsSchema = number().int().nonnegative();
|
|
2501
|
+
const timestampMsSchema$1 = number().int().nonnegative();
|
|
2494
2502
|
const connectorCredentialValueSchema = string().min(1).max(8192);
|
|
2495
2503
|
const connectorAppRequestOptionalTextSchema = string().trim().min(1).max(2e3).nullable();
|
|
2496
2504
|
const connectorAppRequestedCapabilitiesSchema = array(string().trim().min(1).max(80)).max(12);
|
|
@@ -2506,14 +2514,14 @@ const githubAppInstallationIdSchema = string().regex(/^[1-9][0-9]*$/u);
|
|
|
2506
2514
|
const connectorConnectionSchema = strictObject({
|
|
2507
2515
|
canDisconnect: boolean(),
|
|
2508
2516
|
connectionName: connectorConnectionNameSchema,
|
|
2509
|
-
createdAtMs: timestampMsSchema,
|
|
2510
|
-
disconnectedAtMs: timestampMsSchema.nullable(),
|
|
2517
|
+
createdAtMs: timestampMsSchema$1,
|
|
2518
|
+
disconnectedAtMs: timestampMsSchema$1.nullable(),
|
|
2511
2519
|
organizationId: trimmedNonEmptyStringSchema,
|
|
2512
2520
|
ownerDisplayName: trimmedNonEmptyStringSchema,
|
|
2513
2521
|
scope: connectorConnectionScopeSchema.default("member"),
|
|
2514
2522
|
service: connectorServiceSchema,
|
|
2515
2523
|
status: connectorConnectionStatusSchema,
|
|
2516
|
-
updatedAtMs: timestampMsSchema,
|
|
2524
|
+
updatedAtMs: timestampMsSchema$1,
|
|
2517
2525
|
userId: trimmedNonEmptyStringSchema
|
|
2518
2526
|
});
|
|
2519
2527
|
strictObject({
|
|
@@ -2522,10 +2530,10 @@ strictObject({
|
|
|
2522
2530
|
organizationId: trimmedNonEmptyStringSchema
|
|
2523
2531
|
});
|
|
2524
2532
|
const connectorAppRequestSchema = strictObject({
|
|
2525
|
-
availableAtMs: timestampMsSchema.nullable(),
|
|
2526
|
-
createdAtMs: timestampMsSchema,
|
|
2533
|
+
availableAtMs: timestampMsSchema$1.nullable(),
|
|
2534
|
+
createdAtMs: timestampMsSchema$1,
|
|
2527
2535
|
id: string().trim().min(1).max(128),
|
|
2528
|
-
notifiedAtMs: timestampMsSchema.nullable(),
|
|
2536
|
+
notifiedAtMs: timestampMsSchema$1.nullable(),
|
|
2529
2537
|
organizationId: trimmedNonEmptyStringSchema,
|
|
2530
2538
|
providerId: string().trim().min(1).max(160).nullable(),
|
|
2531
2539
|
providerName: string().trim().min(1).max(120),
|
|
@@ -2534,7 +2542,7 @@ const connectorAppRequestSchema = strictObject({
|
|
|
2534
2542
|
requesterUserId: trimmedNonEmptyStringSchema.nullable(),
|
|
2535
2543
|
source: connectorAppRequestSourceSchema,
|
|
2536
2544
|
status: connectorAppRequestStatusSchema,
|
|
2537
|
-
updatedAtMs: timestampMsSchema,
|
|
2545
|
+
updatedAtMs: timestampMsSchema$1,
|
|
2538
2546
|
useCase: connectorAppRequestOptionalTextSchema
|
|
2539
2547
|
});
|
|
2540
2548
|
strictObject({
|
|
@@ -2578,11 +2586,11 @@ strictObject({
|
|
|
2578
2586
|
strictObject({
|
|
2579
2587
|
authorizationUrl: url(),
|
|
2580
2588
|
connection: connectorConnectionSchema,
|
|
2581
|
-
expiresAtMs: timestampMsSchema.optional()
|
|
2589
|
+
expiresAtMs: timestampMsSchema$1.optional()
|
|
2582
2590
|
});
|
|
2583
2591
|
strictObject({
|
|
2584
2592
|
connection: connectorConnectionSchema,
|
|
2585
|
-
expiresAtMs: timestampMsSchema,
|
|
2593
|
+
expiresAtMs: timestampMsSchema$1,
|
|
2586
2594
|
state: githubAppInstallationStateSchema,
|
|
2587
2595
|
verificationConnectionName: connectorConnectionNameSchema
|
|
2588
2596
|
});
|
|
@@ -2635,12 +2643,13 @@ strictObject({
|
|
|
2635
2643
|
strictObject({
|
|
2636
2644
|
connectionPreference: connectorConnectionPreferenceSchema.optional(),
|
|
2637
2645
|
includeAccessPolicy: literal(true).optional(),
|
|
2646
|
+
includeDelegatedRequester: literal(true).optional(),
|
|
2638
2647
|
requesterUserId: string().nullable(),
|
|
2639
2648
|
service: connectorServiceSchema
|
|
2640
2649
|
});
|
|
2641
2650
|
//#endregion
|
|
2642
2651
|
//#region ../../packages/schemas/dist/navigation-action.js
|
|
2643
|
-
const nonEmptyStringSchema = z$1.string().trim().min(1);
|
|
2652
|
+
const nonEmptyStringSchema$1 = z$1.string().trim().min(1);
|
|
2644
2653
|
const computerSetupModeSchema = z$1.enum([
|
|
2645
2654
|
"setup",
|
|
2646
2655
|
"reconnect",
|
|
@@ -2656,12 +2665,12 @@ const computerSetupNavigationTargetSchema = z$1.discriminatedUnion("mode", [
|
|
|
2656
2665
|
mode: z$1.literal("setup")
|
|
2657
2666
|
}),
|
|
2658
2667
|
z$1.strictObject({
|
|
2659
|
-
connectedComputerId: nonEmptyStringSchema,
|
|
2668
|
+
connectedComputerId: nonEmptyStringSchema$1,
|
|
2660
2669
|
kind: z$1.literal("computer_setup"),
|
|
2661
2670
|
mode: z$1.literal("reconnect")
|
|
2662
2671
|
}),
|
|
2663
2672
|
z$1.strictObject({
|
|
2664
|
-
connectedComputerId: nonEmptyStringSchema,
|
|
2673
|
+
connectedComputerId: nonEmptyStringSchema$1,
|
|
2665
2674
|
kind: z$1.literal("computer_setup"),
|
|
2666
2675
|
mode: z$1.literal("update_service")
|
|
2667
2676
|
})
|
|
@@ -2682,24 +2691,24 @@ const openMeldNavigationTargetSchema = z$1.union([
|
|
|
2682
2691
|
}),
|
|
2683
2692
|
z$1.strictObject({
|
|
2684
2693
|
kind: z$1.literal("space"),
|
|
2685
|
-
spaceId: nonEmptyStringSchema
|
|
2694
|
+
spaceId: nonEmptyStringSchema$1
|
|
2686
2695
|
}),
|
|
2687
2696
|
z$1.strictObject({ kind: z$1.literal("projects") }),
|
|
2688
2697
|
z$1.strictObject({
|
|
2689
2698
|
kind: z$1.literal("project"),
|
|
2690
|
-
projectId: nonEmptyStringSchema
|
|
2699
|
+
projectId: nonEmptyStringSchema$1
|
|
2691
2700
|
}),
|
|
2692
2701
|
z$1.strictObject({ kind: z$1.literal("slack_identity_link") }),
|
|
2693
2702
|
z$1.strictObject({
|
|
2694
|
-
connectToUserId: nonEmptyStringSchema.optional(),
|
|
2703
|
+
connectToUserId: nonEmptyStringSchema$1.optional(),
|
|
2695
2704
|
kind: z$1.literal("message_channel_identity_link"),
|
|
2696
2705
|
purpose: z$1.enum(["continue_request", "optional_setup"]),
|
|
2697
|
-
requestedAction: nonEmptyStringSchema.max(160).optional()
|
|
2706
|
+
requestedAction: nonEmptyStringSchema$1.max(160).optional()
|
|
2698
2707
|
}),
|
|
2699
2708
|
computerSetupNavigationTargetSchema
|
|
2700
2709
|
]);
|
|
2701
2710
|
const navigationActionSchema = z$1.strictObject({
|
|
2702
|
-
label: nonEmptyStringSchema,
|
|
2711
|
+
label: nonEmptyStringSchema$1,
|
|
2703
2712
|
target: openMeldNavigationTargetSchema,
|
|
2704
2713
|
url: openMeldWebUrlSchema
|
|
2705
2714
|
});
|
|
@@ -3988,12 +3997,22 @@ const legacyAgentTaskContinuationDestinationShape = {
|
|
|
3988
3997
|
const resumeAgentContinuationShape = {
|
|
3989
3998
|
delegationId: nonEmptyIdSchema,
|
|
3990
3999
|
instruction: string().trim().min(1).max(4e3),
|
|
3991
|
-
kind: literal("resume_agent")
|
|
4000
|
+
kind: literal("resume_agent"),
|
|
4001
|
+
replyLanguageTag: workingLanguageTagSchema.optional(),
|
|
4002
|
+
summaryRecoveryIntent: strictObject({
|
|
4003
|
+
recoveryId: nonEmptyIdSchema,
|
|
4004
|
+
operatorUserId: nonEmptyIdSchema
|
|
4005
|
+
}).optional(),
|
|
4006
|
+
summaryRecovery: strictObject({
|
|
4007
|
+
operatorUserId: nonEmptyIdSchema,
|
|
4008
|
+
sourceSubscriptionId: nonEmptyIdSchema
|
|
4009
|
+
}).optional()
|
|
3992
4010
|
};
|
|
3993
4011
|
const resumeTaskWatchContinuationShape = {
|
|
3994
4012
|
instruction: string().trim().min(1).max(4e3),
|
|
3995
4013
|
kind: literal("resume_task_watch"),
|
|
3996
|
-
watchId: nonEmptyIdSchema
|
|
4014
|
+
watchId: nonEmptyIdSchema,
|
|
4015
|
+
replyLanguageTag: workingLanguageTagSchema.optional()
|
|
3997
4016
|
};
|
|
3998
4017
|
union([
|
|
3999
4018
|
strictObject(resumeAgentContinuationShape),
|
|
@@ -4550,6 +4569,7 @@ const buildMissingAgentReplyIdentityCopy = (targetName) => `OpenMeld received a
|
|
|
4550
4569
|
const PUBLIC_FAILURE_RECOVERY_BY_CODE = [
|
|
4551
4570
|
{
|
|
4552
4571
|
body: (targetName) => `${targetName} couldn't connect to its model provider. Ask your OpenMeld admin to check the provider connection, then wake the agent again.`,
|
|
4572
|
+
cause: [(targetName) => `${targetName} couldn't connect to its model provider.`, (targetName) => `${targetName} 无法连接到模型提供方。`],
|
|
4553
4573
|
kind: "account_access",
|
|
4554
4574
|
patterns: ["=remote_agent.provider.connection_missing"],
|
|
4555
4575
|
primaryActionId: "review_agent_settings",
|
|
@@ -4621,6 +4641,7 @@ const PUBLIC_FAILURE_RECOVERY_BY_CODE = [
|
|
|
4621
4641
|
controllerInterfaceDescriptionFallback: "Installed, but this controller is not signed in.",
|
|
4622
4642
|
kind: "local_service",
|
|
4623
4643
|
mappedReasonBody: "The model provider rejected this request because the local provider login expired. Re-authenticate the local agent on its computer, then wake the agent again.",
|
|
4644
|
+
cause: ["The model provider rejected the local agent's sign-in.", "模型提供方拒绝了本地 Agent 的登录凭据。"],
|
|
4624
4645
|
patterns: [
|
|
4625
4646
|
"=controller.auth.unauthenticated",
|
|
4626
4647
|
"auth.",
|
|
@@ -4643,6 +4664,7 @@ const PUBLIC_FAILURE_RECOVERY_BY_CODE = [
|
|
|
4643
4664
|
body: RUNTIME_PERMISSION_DENIAL_PUBLIC_COPY,
|
|
4644
4665
|
kind: "account_access",
|
|
4645
4666
|
mappedReasonBody: RUNTIME_PERMISSION_DENIAL_PUBLIC_COPY,
|
|
4667
|
+
cause: ["The Agent Profile's permission settings blocked an action.", "Agent Profile 的权限设置阻止了一项操作。"],
|
|
4646
4668
|
patterns: ["permission.denied.runtime"],
|
|
4647
4669
|
primaryActionId: "review_agent_permissions",
|
|
4648
4670
|
recoveryTarget: "agents"
|
|
@@ -4687,6 +4709,7 @@ const PUBLIC_FAILURE_RECOVERY_BY_CODE = [
|
|
|
4687
4709
|
body: (targetName) => `${targetName} hit a provider rate limit before this Wake could reply. Wait a moment, then wake the agent again.`,
|
|
4688
4710
|
kind: "system_retry",
|
|
4689
4711
|
mappedReasonBody: "The model provider rate-limited this request. Wait a moment, then wake the agent again.",
|
|
4712
|
+
cause: ["The model provider rate-limited this request.", "模型提供方限制了这次请求的频率。"],
|
|
4690
4713
|
patterns: [
|
|
4691
4714
|
"provider.rate_limited",
|
|
4692
4715
|
"provider.rate_limit",
|
|
@@ -4729,6 +4752,7 @@ const PUBLIC_FAILURE_RECOVERY_BY_CODE = [
|
|
|
4729
4752
|
body: (targetName) => `${targetName}'s selected model is not responding right now. Switch this agent to another model or try again later.`,
|
|
4730
4753
|
kind: "account_access",
|
|
4731
4754
|
mappedReasonBody: PROVIDER_UNAVAILABLE_PUBLIC_COPY,
|
|
4755
|
+
cause: ["The selected model is not responding right now.", "所选模型目前没有响应。"],
|
|
4732
4756
|
patterns: [
|
|
4733
4757
|
"provider.unavailable",
|
|
4734
4758
|
"provider.bad_gateway",
|
|
@@ -5295,7 +5319,7 @@ const PUBLIC_FAILURE_RECOVERY_BY_CODE = [
|
|
|
5295
5319
|
recoveryTarget: "computer"
|
|
5296
5320
|
},
|
|
5297
5321
|
{
|
|
5298
|
-
body: "
|
|
5322
|
+
body: "OpenMeld could not verify this task's file-access boundary with Custom (config.toml), so the task did not start. Choose a supported permission mode in this Agent's settings, then try again.",
|
|
5299
5323
|
kind: "local_agent_prepare",
|
|
5300
5324
|
patterns: ["=execution_context.custom_config_file_access_unverified"],
|
|
5301
5325
|
primaryActionId: "manage_local_agent",
|
|
@@ -5551,10 +5575,13 @@ function resolvePublicAgentFailureRecovery(input) {
|
|
|
5551
5575
|
function resolveMappedPublicAgentFailureReason(errorCode, targetLabel) {
|
|
5552
5576
|
const normalizedErrorCode = normalizeOptionalText(errorCode)?.toLowerCase();
|
|
5553
5577
|
if (!normalizedErrorCode) return null;
|
|
5554
|
-
const mapping =
|
|
5578
|
+
const mapping = findMappedFailureRecovery(normalizedErrorCode);
|
|
5555
5579
|
if (!mapping) return null;
|
|
5556
5580
|
return resolvePublicAgentFailureBody(mapping.mappedReasonBody ?? mapping.body, normalizeOptionalText(targetLabel) ?? "This agent");
|
|
5557
5581
|
}
|
|
5582
|
+
function findMappedFailureRecovery(errorCode) {
|
|
5583
|
+
return PUBLIC_FAILURE_RECOVERY_BY_CODE.find((candidate) => candidate.patterns.some((pattern) => matchesPublicFailureReasonPattern(errorCode, pattern)));
|
|
5584
|
+
}
|
|
5558
5585
|
function shouldPreferMappedPublicAgentFailureReason(errorCode, detail) {
|
|
5559
5586
|
const normalizedErrorCode = normalizeOptionalText(errorCode)?.toLowerCase();
|
|
5560
5587
|
if (!normalizedErrorCode) return false;
|
|
@@ -5606,6 +5633,516 @@ function resolvePublicAgentFailureBody(body, targetName) {
|
|
|
5606
5633
|
return typeof body === "function" ? body(targetName) : body;
|
|
5607
5634
|
}
|
|
5608
5635
|
//#endregion
|
|
5636
|
+
//#region ../../packages/schemas/dist/schemas/runtime/message-channel.js
|
|
5637
|
+
const MESSAGE_CHANNEL_PROVIDERS = [
|
|
5638
|
+
"slack",
|
|
5639
|
+
"lark",
|
|
5640
|
+
"feishu"
|
|
5641
|
+
];
|
|
5642
|
+
const MESSAGE_CHANNEL_TRANSPORTS = ["webhook", "websocket"];
|
|
5643
|
+
const MESSAGE_CHANNEL_EVENT_KINDS = [
|
|
5644
|
+
"message",
|
|
5645
|
+
"card_action",
|
|
5646
|
+
"bot_added",
|
|
5647
|
+
"reaction",
|
|
5648
|
+
"document_comment"
|
|
5649
|
+
];
|
|
5650
|
+
const MESSAGE_CHANNEL_RESOURCE_TYPES = [
|
|
5651
|
+
"image",
|
|
5652
|
+
"file",
|
|
5653
|
+
"audio",
|
|
5654
|
+
"video",
|
|
5655
|
+
"sticker"
|
|
5656
|
+
];
|
|
5657
|
+
const MESSAGE_CHANNEL_MENTION_TYPES = [
|
|
5658
|
+
"direct_message",
|
|
5659
|
+
"group_mention",
|
|
5660
|
+
"group_message",
|
|
5661
|
+
"none"
|
|
5662
|
+
];
|
|
5663
|
+
const MESSAGE_CHANNEL_EVENT_TEXT_MAX_CHARS = 4e3;
|
|
5664
|
+
const nonEmptyStringSchema = string().trim().min(1);
|
|
5665
|
+
const providerIdSchema = nonEmptyStringSchema.max(512);
|
|
5666
|
+
const SLACK_MESSAGE_TIMESTAMP_PATTERN = /^\d+\.\d+$/u;
|
|
5667
|
+
const SLACK_THREAD_PERMALINK_PATH_PATTERN = /^\/archives\/([A-Za-z0-9_-]+)\/p(\d{10})(\d{1,6})\/?$/u;
|
|
5668
|
+
const timestampMsSchema = number().int().nonnegative().max(Number.MAX_SAFE_INTEGER);
|
|
5669
|
+
const slackMessagePermalinkSchema = url().max(2048).refine(isSlackMessagePermalink, { message: "Slack permalinks must use an HTTPS slack.com host." });
|
|
5670
|
+
const slackThreadPublicationPermalinkSchema = slackMessagePermalinkSchema.refine((value) => parseSlackThreadPublicationPermalink(value) !== null, { message: "Slack thread permalinks must identify an exact Slack channel message." });
|
|
5671
|
+
function parseSlackThreadPublicationPermalink(value) {
|
|
5672
|
+
if (!slackMessagePermalinkSchema.safeParse(value).success) return null;
|
|
5673
|
+
const url = new URL(value);
|
|
5674
|
+
const pathMatch = SLACK_THREAD_PERMALINK_PATH_PATTERN.exec(url.pathname);
|
|
5675
|
+
if (!pathMatch) return null;
|
|
5676
|
+
const channelId = pathMatch[1];
|
|
5677
|
+
const seconds = pathMatch[2];
|
|
5678
|
+
const fractional = pathMatch[3];
|
|
5679
|
+
if (!(channelId && seconds && fractional)) return null;
|
|
5680
|
+
const queryChannelId = url.searchParams.get("cid");
|
|
5681
|
+
if (queryChannelId && queryChannelId !== channelId) return null;
|
|
5682
|
+
const queryThreadTs = url.searchParams.get("thread_ts");
|
|
5683
|
+
if (queryThreadTs && !SLACK_MESSAGE_TIMESTAMP_PATTERN.test(queryThreadTs)) return null;
|
|
5684
|
+
return {
|
|
5685
|
+
channelId,
|
|
5686
|
+
threadTs: queryThreadTs ?? `${seconds}.${fractional}`
|
|
5687
|
+
};
|
|
5688
|
+
}
|
|
5689
|
+
function isSlackMessagePermalink(value) {
|
|
5690
|
+
let url;
|
|
5691
|
+
try {
|
|
5692
|
+
url = new URL(value);
|
|
5693
|
+
} catch {
|
|
5694
|
+
return false;
|
|
5695
|
+
}
|
|
5696
|
+
const hostname = url.hostname.toLowerCase();
|
|
5697
|
+
return url.protocol === "https:" && !url.username && !url.password && (hostname === "slack.com" || hostname.endsWith(".slack.com"));
|
|
5698
|
+
}
|
|
5699
|
+
const messageChannelProviderSchema = enumFactory(MESSAGE_CHANNEL_PROVIDERS);
|
|
5700
|
+
const messageChannelParticipantIdentitySchema = strictObject({
|
|
5701
|
+
connectionId: providerIdSchema,
|
|
5702
|
+
provider: messageChannelProviderSchema,
|
|
5703
|
+
providerUserEmail: email().max(320).optional(),
|
|
5704
|
+
providerUserId: providerIdSchema
|
|
5705
|
+
});
|
|
5706
|
+
const messageChannelTransportSchema = enumFactory(MESSAGE_CHANNEL_TRANSPORTS);
|
|
5707
|
+
enumFactory(MESSAGE_CHANNEL_EVENT_KINDS);
|
|
5708
|
+
const messageChannelResourceTypeSchema = enumFactory(MESSAGE_CHANNEL_RESOURCE_TYPES);
|
|
5709
|
+
const messageChannelMentionTypeSchema = enumFactory(MESSAGE_CHANNEL_MENTION_TYPES);
|
|
5710
|
+
const slackMessageChannelConversationLocatorSchema = strictObject({
|
|
5711
|
+
provider: literal("slack"),
|
|
5712
|
+
connectionId: providerIdSchema,
|
|
5713
|
+
teamId: providerIdSchema,
|
|
5714
|
+
channelId: providerIdSchema,
|
|
5715
|
+
rootMessageId: providerIdSchema
|
|
5716
|
+
});
|
|
5717
|
+
const createLarkPlatformConversationLocatorSchema = (provider) => strictObject({
|
|
5718
|
+
provider: literal(provider),
|
|
5719
|
+
connectionId: providerIdSchema,
|
|
5720
|
+
appId: providerIdSchema,
|
|
5721
|
+
tenantKey: providerIdSchema.nullable(),
|
|
5722
|
+
chatId: providerIdSchema,
|
|
5723
|
+
rootMessageId: providerIdSchema,
|
|
5724
|
+
threadId: providerIdSchema.nullable()
|
|
5725
|
+
});
|
|
5726
|
+
const messageChannelConversationLocatorSchema = discriminatedUnion("provider", [
|
|
5727
|
+
slackMessageChannelConversationLocatorSchema,
|
|
5728
|
+
createLarkPlatformConversationLocatorSchema("lark"),
|
|
5729
|
+
createLarkPlatformConversationLocatorSchema("feishu")
|
|
5730
|
+
]);
|
|
5731
|
+
const messageChannelResourceDescriptorSchema = strictObject({
|
|
5732
|
+
type: messageChannelResourceTypeSchema,
|
|
5733
|
+
fileKey: providerIdSchema,
|
|
5734
|
+
fileName: nonEmptyStringSchema.max(512).nullable(),
|
|
5735
|
+
mimeType: nonEmptyStringSchema.max(256).nullable(),
|
|
5736
|
+
sizeBytes: number().int().nonnegative().max(Number.MAX_SAFE_INTEGER).nullable()
|
|
5737
|
+
});
|
|
5738
|
+
const messageChannelConversationEventShape = { locator: messageChannelConversationLocatorSchema };
|
|
5739
|
+
const normalizedMessageChannelMessageEventSchema = strictObject({
|
|
5740
|
+
kind: literal("message"),
|
|
5741
|
+
messageId: providerIdSchema,
|
|
5742
|
+
sentAtMs: timestampMsSchema,
|
|
5743
|
+
senderId: providerIdSchema,
|
|
5744
|
+
senderDisplayName: nonEmptyStringSchema.max(256).optional(),
|
|
5745
|
+
senderTenantKey: providerIdSchema.optional(),
|
|
5746
|
+
...messageChannelConversationEventShape,
|
|
5747
|
+
text: nonEmptyStringSchema.max(MESSAGE_CHANNEL_EVENT_TEXT_MAX_CHARS),
|
|
5748
|
+
mention: messageChannelMentionTypeSchema,
|
|
5749
|
+
resources: array(messageChannelResourceDescriptorSchema).max(10)
|
|
5750
|
+
});
|
|
5751
|
+
const normalizedMessageChannelCardActionEventSchema = strictObject({
|
|
5752
|
+
kind: literal("card_action"),
|
|
5753
|
+
actionId: providerIdSchema,
|
|
5754
|
+
occurredAtMs: timestampMsSchema,
|
|
5755
|
+
senderId: providerIdSchema,
|
|
5756
|
+
...messageChannelConversationEventShape,
|
|
5757
|
+
actionName: nonEmptyStringSchema.max(128),
|
|
5758
|
+
actionValue: nonEmptyStringSchema.max(8192).nullable()
|
|
5759
|
+
});
|
|
5760
|
+
discriminatedUnion("action", [strictObject({
|
|
5761
|
+
v: literal(1),
|
|
5762
|
+
action: literal("stop"),
|
|
5763
|
+
deliveryId: providerIdSchema
|
|
5764
|
+
}), strictObject({
|
|
5765
|
+
v: literal(1),
|
|
5766
|
+
action: literal("reply"),
|
|
5767
|
+
deliveryId: providerIdSchema,
|
|
5768
|
+
text: string().trim().min(1).max(1e3)
|
|
5769
|
+
})]);
|
|
5770
|
+
const normalizedMessageChannelEventSchema = discriminatedUnion("kind", [
|
|
5771
|
+
normalizedMessageChannelMessageEventSchema,
|
|
5772
|
+
normalizedMessageChannelCardActionEventSchema,
|
|
5773
|
+
strictObject({
|
|
5774
|
+
kind: literal("bot_added"),
|
|
5775
|
+
chatId: providerIdSchema,
|
|
5776
|
+
occurredAtMs: timestampMsSchema,
|
|
5777
|
+
addedById: providerIdSchema.nullable()
|
|
5778
|
+
}),
|
|
5779
|
+
strictObject({
|
|
5780
|
+
kind: literal("reaction"),
|
|
5781
|
+
messageId: providerIdSchema,
|
|
5782
|
+
occurredAtMs: timestampMsSchema,
|
|
5783
|
+
senderId: providerIdSchema,
|
|
5784
|
+
...messageChannelConversationEventShape,
|
|
5785
|
+
reaction: nonEmptyStringSchema.max(128),
|
|
5786
|
+
operation: enumFactory(["add", "remove"])
|
|
5787
|
+
}),
|
|
5788
|
+
strictObject({
|
|
5789
|
+
kind: literal("document_comment"),
|
|
5790
|
+
commentId: providerIdSchema,
|
|
5791
|
+
documentToken: providerIdSchema,
|
|
5792
|
+
occurredAtMs: timestampMsSchema,
|
|
5793
|
+
senderId: providerIdSchema,
|
|
5794
|
+
...messageChannelConversationEventShape,
|
|
5795
|
+
text: nonEmptyStringSchema.max(MESSAGE_CHANNEL_EVENT_TEXT_MAX_CHARS)
|
|
5796
|
+
})
|
|
5797
|
+
]);
|
|
5798
|
+
const messageChannelIngressEnvelopeSchema = strictObject({
|
|
5799
|
+
v: literal(1),
|
|
5800
|
+
kind: literal("remote_agent_message_channel_event"),
|
|
5801
|
+
provider: messageChannelProviderSchema,
|
|
5802
|
+
connectionId: providerIdSchema,
|
|
5803
|
+
providerEventId: providerIdSchema,
|
|
5804
|
+
connectionGeneration: number().int().positive().optional(),
|
|
5805
|
+
receivedAtMs: timestampMsSchema,
|
|
5806
|
+
gatewayRequestId: providerIdSchema,
|
|
5807
|
+
event: normalizedMessageChannelEventSchema
|
|
5808
|
+
}).superRefine((envelope, context) => {
|
|
5809
|
+
if (!("locator" in envelope.event)) return;
|
|
5810
|
+
if (envelope.event.locator.provider !== envelope.provider) context.addIssue({
|
|
5811
|
+
code: "custom",
|
|
5812
|
+
message: "Ingress provider must match the conversation locator.",
|
|
5813
|
+
path: [
|
|
5814
|
+
"event",
|
|
5815
|
+
"locator",
|
|
5816
|
+
"provider"
|
|
5817
|
+
]
|
|
5818
|
+
});
|
|
5819
|
+
if (envelope.event.locator.connectionId !== envelope.connectionId) context.addIssue({
|
|
5820
|
+
code: "custom",
|
|
5821
|
+
message: "Ingress connection must match the conversation locator.",
|
|
5822
|
+
path: [
|
|
5823
|
+
"event",
|
|
5824
|
+
"locator",
|
|
5825
|
+
"connectionId"
|
|
5826
|
+
]
|
|
5827
|
+
});
|
|
5828
|
+
});
|
|
5829
|
+
function buildMessageChannelConversationId(locator) {
|
|
5830
|
+
if (locator.provider === "slack") return [
|
|
5831
|
+
locator.provider,
|
|
5832
|
+
locator.connectionId,
|
|
5833
|
+
locator.channelId,
|
|
5834
|
+
locator.rootMessageId
|
|
5835
|
+
].map(encodeConversationIdPart).join(":");
|
|
5836
|
+
return [
|
|
5837
|
+
locator.provider,
|
|
5838
|
+
locator.connectionId,
|
|
5839
|
+
locator.chatId,
|
|
5840
|
+
locator.rootMessageId
|
|
5841
|
+
].map(encodeConversationIdPart).join(":");
|
|
5842
|
+
}
|
|
5843
|
+
function encodeConversationIdPart(value) {
|
|
5844
|
+
return encodeURIComponent(value);
|
|
5845
|
+
}
|
|
5846
|
+
//#endregion
|
|
5847
|
+
//#region ../../packages/schemas/dist/schemas/http/center-agent-speaker.js
|
|
5848
|
+
const CENTER_AGENT_ANONYMOUS_MEMBER_TOOL_NAMES = [
|
|
5849
|
+
"web_search",
|
|
5850
|
+
"web_fetch",
|
|
5851
|
+
"browser_read_page",
|
|
5852
|
+
"browser_get_links",
|
|
5853
|
+
"browser_extract",
|
|
5854
|
+
"browser_scrape",
|
|
5855
|
+
"browser_screenshot",
|
|
5856
|
+
"openmeld_require_identity_for_action",
|
|
5857
|
+
"openmeld_get_navigation_action",
|
|
5858
|
+
"openmeld_read_organization_directory",
|
|
5859
|
+
"openmeld_list_organization_members",
|
|
5860
|
+
"openmeld_read_member_computers",
|
|
5861
|
+
"openmeld_read_member_openmeld_service_status",
|
|
5862
|
+
"openmeld_read_org_documents",
|
|
5863
|
+
"openmeld_read_channel_file",
|
|
5864
|
+
"openmeld_read_organization_skills",
|
|
5865
|
+
"openmeld_list_spaces",
|
|
5866
|
+
"openmeld_list_projects",
|
|
5867
|
+
"openmeld_read_agent_activity",
|
|
5868
|
+
"openmeld_list_agent_activity_sessions",
|
|
5869
|
+
"openmeld_read_changelog",
|
|
5870
|
+
"openmeld_read_center_agent_turn_diagnostics",
|
|
5871
|
+
"openmeld_list_connected_apps",
|
|
5872
|
+
"openmeld_list_app_actions",
|
|
5873
|
+
"openmeld_execute_app_action",
|
|
5874
|
+
"github_execute_action",
|
|
5875
|
+
"github_list_actions",
|
|
5876
|
+
"github_get_current_user",
|
|
5877
|
+
"github_list_my_repositories",
|
|
5878
|
+
"github_get_repository",
|
|
5879
|
+
"github_list_directory_contents",
|
|
5880
|
+
"github_get_file_contents",
|
|
5881
|
+
"github_search_code",
|
|
5882
|
+
"github_list_branches",
|
|
5883
|
+
"github_get_branch",
|
|
5884
|
+
"github_list_commits",
|
|
5885
|
+
"github_get_commit",
|
|
5886
|
+
"github_compare_commits",
|
|
5887
|
+
"github_search_commits",
|
|
5888
|
+
"github_list_repository_issues",
|
|
5889
|
+
"github_get_issue",
|
|
5890
|
+
"github_list_issue_comments",
|
|
5891
|
+
"github_list_repository_labels",
|
|
5892
|
+
"github_search_issues_and_pull_requests",
|
|
5893
|
+
"github_list_pull_requests",
|
|
5894
|
+
"github_get_pull_request",
|
|
5895
|
+
"github_list_pull_request_files",
|
|
5896
|
+
"github_list_pull_request_commits",
|
|
5897
|
+
"github_list_pull_request_reviews",
|
|
5898
|
+
"github_list_pull_request_review_comments",
|
|
5899
|
+
"github_list_pull_request_requested_reviewers",
|
|
5900
|
+
"github_check_pull_request_merged",
|
|
5901
|
+
"github_get_commit_statuses",
|
|
5902
|
+
"github_list_check_runs_for_ref",
|
|
5903
|
+
"github_list_repository_workflows",
|
|
5904
|
+
"github_list_workflow_runs",
|
|
5905
|
+
"github_get_workflow_run",
|
|
5906
|
+
"github_list_workflow_run_jobs",
|
|
5907
|
+
"github_get_release_by_tag",
|
|
5908
|
+
"github_create_issue_batch",
|
|
5909
|
+
"github_create_issue",
|
|
5910
|
+
"github_create_issue_comment",
|
|
5911
|
+
"github_add_issue_labels",
|
|
5912
|
+
"github_remove_issue_label",
|
|
5913
|
+
"github_add_issue_assignees",
|
|
5914
|
+
"github_remove_issue_assignees",
|
|
5915
|
+
"github_create_ref",
|
|
5916
|
+
"github_create_or_update_file",
|
|
5917
|
+
"github_create_pull_request",
|
|
5918
|
+
"github_create_pull_request_review",
|
|
5919
|
+
"github_create_pull_request_review_comment",
|
|
5920
|
+
"github_reply_pull_request_review_comment",
|
|
5921
|
+
"github_request_pull_request_reviewers",
|
|
5922
|
+
"github_remove_pull_request_reviewers",
|
|
5923
|
+
"github_update_issue",
|
|
5924
|
+
"github_update_pull_request",
|
|
5925
|
+
"github_update_pull_request_branch",
|
|
5926
|
+
"github_dispatch_workflow",
|
|
5927
|
+
"github_rerun_workflow"
|
|
5928
|
+
];
|
|
5929
|
+
const trimmedIdentifierSchema = z$1.string().trim().min(1);
|
|
5930
|
+
const centerAgentVerifiedMemberToolSpeakerSchema = z$1.strictObject({
|
|
5931
|
+
memberId: trimmedIdentifierSchema,
|
|
5932
|
+
userId: trimmedIdentifierSchema
|
|
5933
|
+
});
|
|
5934
|
+
const centerAgentAnonymousMemberToolSpeakerSchema = z$1.strictObject({
|
|
5935
|
+
displayName: trimmedIdentifierSchema,
|
|
5936
|
+
kind: z$1.literal("anonymous_member"),
|
|
5937
|
+
messageChannelIdentity: messageChannelParticipantIdentitySchema
|
|
5938
|
+
});
|
|
5939
|
+
const centerAgentToolSpeakerSchema = z$1.union([centerAgentVerifiedMemberToolSpeakerSchema, centerAgentAnonymousMemberToolSpeakerSchema]);
|
|
5940
|
+
const centerAgentAnonymousMemberToolNameSchema = z$1.enum(CENTER_AGENT_ANONYMOUS_MEMBER_TOOL_NAMES);
|
|
5941
|
+
z$1.strictObject({
|
|
5942
|
+
connectToUserId: trimmedIdentifierSchema.optional(),
|
|
5943
|
+
messageChannelIdentityLinkCapabilityVersion: z$1.union([z$1.literal(1), z$1.literal(2)]).optional(),
|
|
5944
|
+
context: openMeldRequestContextSchema,
|
|
5945
|
+
speakerMember: centerAgentAnonymousMemberToolSpeakerSchema,
|
|
5946
|
+
toolName: centerAgentAnonymousMemberToolNameSchema
|
|
5947
|
+
});
|
|
5948
|
+
z$1.strictObject({
|
|
5949
|
+
authorized: z$1.literal(true),
|
|
5950
|
+
messageChannelAccountTargetSupported: z$1.literal(true).optional(),
|
|
5951
|
+
messageChannelIdentityLinkSupported: z$1.literal(true).optional(),
|
|
5952
|
+
slackIdentityLinkSupported: z$1.literal(true).optional(),
|
|
5953
|
+
sourceNativeDeliveryId: trimmedIdentifierSchema
|
|
5954
|
+
});
|
|
5955
|
+
//#endregion
|
|
5956
|
+
//#region ../../packages/schemas/dist/schemas/ai-usage.js
|
|
5957
|
+
const count = z$1.number().int().nonnegative().max(Number.MAX_SAFE_INTEGER);
|
|
5958
|
+
const identifier = z$1.string().trim().min(1).max(256);
|
|
5959
|
+
const aiUsageTokensSchema = z$1.strictObject({
|
|
5960
|
+
input: count,
|
|
5961
|
+
output: count,
|
|
5962
|
+
cacheRead: count.nullable(),
|
|
5963
|
+
cacheWrite: count.nullable(),
|
|
5964
|
+
reasoning: count.nullable(),
|
|
5965
|
+
total: count
|
|
5966
|
+
});
|
|
5967
|
+
const aiUsageObservationSchema = z$1.strictObject({
|
|
5968
|
+
eventId: identifier,
|
|
5969
|
+
provider: identifier,
|
|
5970
|
+
model: identifier.nullable(),
|
|
5971
|
+
source: z$1.enum([
|
|
5972
|
+
"openrouter_response",
|
|
5973
|
+
"codex_event",
|
|
5974
|
+
"claude_message",
|
|
5975
|
+
"opencode_message"
|
|
5976
|
+
]),
|
|
5977
|
+
occurredAtMs: count,
|
|
5978
|
+
tokens: aiUsageTokensSchema.nullable(),
|
|
5979
|
+
cost: z$1.strictObject({
|
|
5980
|
+
nanoUsd: count,
|
|
5981
|
+
kind: z$1.enum(["provider_reported", "provider_estimate"])
|
|
5982
|
+
}).nullable()
|
|
5983
|
+
});
|
|
5984
|
+
const aiUsageRecordSchema = aiUsageObservationSchema.extend({
|
|
5985
|
+
status: z$1.enum([
|
|
5986
|
+
"pending",
|
|
5987
|
+
"reported",
|
|
5988
|
+
"unavailable",
|
|
5989
|
+
"collection_failed"
|
|
5990
|
+
]),
|
|
5991
|
+
collectionFailure: z$1.enum([
|
|
5992
|
+
"request_failed",
|
|
5993
|
+
"stream_interrupted",
|
|
5994
|
+
"invalid_response"
|
|
5995
|
+
]).optional(),
|
|
5996
|
+
providerRequestId: identifier.nullable(),
|
|
5997
|
+
organizationId: identifier,
|
|
5998
|
+
runtime: z$1.enum(["local", "remote"]),
|
|
5999
|
+
purpose: z$1.enum([
|
|
6000
|
+
"agent",
|
|
6001
|
+
"web_research",
|
|
6002
|
+
"image_understanding",
|
|
6003
|
+
"session_title",
|
|
6004
|
+
"activity_digest"
|
|
6005
|
+
]),
|
|
6006
|
+
agentProfileId: identifier.nullable(),
|
|
6007
|
+
spaceId: identifier.nullable(),
|
|
6008
|
+
taskId: identifier.nullable(),
|
|
6009
|
+
dispatchId: identifier.nullable().optional(),
|
|
6010
|
+
attemptId: identifier.nullable(),
|
|
6011
|
+
computerId: identifier.nullable(),
|
|
6012
|
+
controller: identifier.nullable()
|
|
6013
|
+
});
|
|
6014
|
+
z$1.strictObject({
|
|
6015
|
+
phase: z$1.enum(["begin", "settle"]),
|
|
6016
|
+
record: aiUsageRecordSchema
|
|
6017
|
+
});
|
|
6018
|
+
z$1.strictObject({ status: z$1.enum(["accepted", "limit_reached"]) });
|
|
6019
|
+
const aiUsageQuerySchema = z$1.strictObject({
|
|
6020
|
+
fromMs: count,
|
|
6021
|
+
toMs: count,
|
|
6022
|
+
runtime: z$1.enum(["local", "remote"]).optional(),
|
|
6023
|
+
model: identifier.optional(),
|
|
6024
|
+
agentProfileId: identifier.optional(),
|
|
6025
|
+
agentProfileIds: z$1.array(identifier).max(1e3).optional(),
|
|
6026
|
+
spaceId: identifier.optional(),
|
|
6027
|
+
taskId: identifier.optional(),
|
|
6028
|
+
dispatchId: identifier.optional(),
|
|
6029
|
+
computerId: identifier.optional(),
|
|
6030
|
+
controller: identifier.optional(),
|
|
6031
|
+
groupBy: z$1.enum([
|
|
6032
|
+
"model",
|
|
6033
|
+
"task",
|
|
6034
|
+
"agent"
|
|
6035
|
+
]).optional(),
|
|
6036
|
+
sortBy: z$1.enum(["cost", "tokens"]).optional(),
|
|
6037
|
+
limit: z$1.number().int().min(1).max(50).optional(),
|
|
6038
|
+
includeIssues: z$1.boolean().optional(),
|
|
6039
|
+
bucketBoundariesMs: z$1.array(count).min(2).max(32).optional(),
|
|
6040
|
+
groupTimeSeriesBy: z$1.enum(["controller", "model"]).optional()
|
|
6041
|
+
}).refine((value) => !value.groupTimeSeriesBy || !!value.bucketBoundariesMs, { message: "Time series grouping requires bucket boundaries." }).refine((value) => value.toMs > value.fromMs && value.toMs - value.fromMs <= 31 * 864e5, { message: "Choose a period of up to 31 days." }).refine(({ bucketBoundariesMs: edges, fromMs, toMs }) => !edges || edges[0] === fromMs && edges.at(-1) === toMs && edges.every((edge, index) => index === 0 || edge > (edges[index - 1] ?? -1)), { message: "Buckets must increase strictly and cover the query period." });
|
|
6042
|
+
const aiUsageSummarySchema = z$1.strictObject({
|
|
6043
|
+
runtime: z$1.enum(["local", "remote"]),
|
|
6044
|
+
provider: identifier,
|
|
6045
|
+
model: identifier.nullable(),
|
|
6046
|
+
requests: count,
|
|
6047
|
+
inputTokens: count,
|
|
6048
|
+
outputTokens: count,
|
|
6049
|
+
totalTokens: count,
|
|
6050
|
+
reportedCostNanoUsd: count,
|
|
6051
|
+
estimatedCostNanoUsd: count,
|
|
6052
|
+
missingTokenRequests: count,
|
|
6053
|
+
missingCostRequests: count
|
|
6054
|
+
});
|
|
6055
|
+
const aiUsageCoverageSchema = z$1.strictObject({
|
|
6056
|
+
scope: z$1.literal("observed_requests"),
|
|
6057
|
+
reportedRequests: count,
|
|
6058
|
+
pendingRequests: count,
|
|
6059
|
+
stalePendingRequests: count,
|
|
6060
|
+
unavailableRequests: count,
|
|
6061
|
+
collectionFailedRequests: count,
|
|
6062
|
+
missingTokenRequests: count,
|
|
6063
|
+
missingCostRequests: count,
|
|
6064
|
+
unassignedTaskRequests: count,
|
|
6065
|
+
oldestPendingAtMs: count.nullable(),
|
|
6066
|
+
staleAfterMs: count
|
|
6067
|
+
});
|
|
6068
|
+
const aiUsageGroupSchema = z$1.strictObject({
|
|
6069
|
+
runtime: z$1.enum(["local", "remote"]),
|
|
6070
|
+
taskId: identifier.nullable(),
|
|
6071
|
+
agentProfileId: identifier.nullable(),
|
|
6072
|
+
spaceId: identifier.nullable(),
|
|
6073
|
+
requests: count,
|
|
6074
|
+
inputTokens: count,
|
|
6075
|
+
outputTokens: count,
|
|
6076
|
+
totalTokens: count,
|
|
6077
|
+
reportedCostNanoUsd: count,
|
|
6078
|
+
estimatedCostNanoUsd: count,
|
|
6079
|
+
missingTokenRequests: count,
|
|
6080
|
+
missingCostRequests: count,
|
|
6081
|
+
pendingRequests: count,
|
|
6082
|
+
collectionFailedRequests: count,
|
|
6083
|
+
unavailableRequests: count,
|
|
6084
|
+
observedExecutionAttempts: count,
|
|
6085
|
+
observedExecutionRetries: count.nullable(),
|
|
6086
|
+
requestsWithoutAttemptId: count,
|
|
6087
|
+
firstObservedAtMs: count,
|
|
6088
|
+
lastObservedAtMs: count,
|
|
6089
|
+
models: z$1.array(identifier.nullable()),
|
|
6090
|
+
purposes: z$1.array(aiUsageRecordSchema.shape.purpose),
|
|
6091
|
+
dispatchIds: z$1.array(identifier),
|
|
6092
|
+
dispatchIdsTruncated: z$1.boolean(),
|
|
6093
|
+
executionDetailsTruncated: z$1.boolean().optional(),
|
|
6094
|
+
executions: z$1.array(z$1.strictObject({
|
|
6095
|
+
dispatchId: identifier,
|
|
6096
|
+
source: z$1.enum(["runtime_coordinator", "native_delivery"]),
|
|
6097
|
+
status: identifier.nullable(),
|
|
6098
|
+
outcome: identifier.nullable(),
|
|
6099
|
+
updatedAtMs: count.nullable()
|
|
6100
|
+
})).optional()
|
|
6101
|
+
});
|
|
6102
|
+
const aiUsageBucketTotalsSchema = z$1.strictObject({
|
|
6103
|
+
requests: count,
|
|
6104
|
+
inputTokens: count,
|
|
6105
|
+
outputTokens: count,
|
|
6106
|
+
totalTokens: count,
|
|
6107
|
+
missingTokenRequests: count
|
|
6108
|
+
});
|
|
6109
|
+
const aiUsageQueryResponseSchema = z$1.strictObject({
|
|
6110
|
+
fromMs: count,
|
|
6111
|
+
toMs: count,
|
|
6112
|
+
models: z$1.array(aiUsageSummarySchema),
|
|
6113
|
+
timeSeries: z$1.array(aiUsageBucketTotalsSchema.extend({
|
|
6114
|
+
fromMs: count,
|
|
6115
|
+
toMs: count,
|
|
6116
|
+
reportedCostNanoUsd: count.optional(),
|
|
6117
|
+
estimatedCostNanoUsd: count.optional(),
|
|
6118
|
+
missingCostRequests: count.optional(),
|
|
6119
|
+
controllers: z$1.array(aiUsageBucketTotalsSchema.extend({ controller: identifier.nullable() })).optional(),
|
|
6120
|
+
models: z$1.array(aiUsageBucketTotalsSchema.extend({
|
|
6121
|
+
provider: identifier,
|
|
6122
|
+
model: identifier.nullable(),
|
|
6123
|
+
reportedCostNanoUsd: count,
|
|
6124
|
+
estimatedCostNanoUsd: count,
|
|
6125
|
+
missingCostRequests: count
|
|
6126
|
+
})).optional()
|
|
6127
|
+
})).max(31).optional(),
|
|
6128
|
+
coverage: aiUsageCoverageSchema.optional(),
|
|
6129
|
+
issues: z$1.strictObject({
|
|
6130
|
+
records: z$1.array(aiUsageRecordSchema),
|
|
6131
|
+
hasMore: z$1.boolean()
|
|
6132
|
+
}).optional(),
|
|
6133
|
+
breakdown: z$1.strictObject({
|
|
6134
|
+
groupBy: z$1.enum(["task", "agent"]),
|
|
6135
|
+
sortBy: z$1.enum(["cost", "tokens"]),
|
|
6136
|
+
limit: count,
|
|
6137
|
+
hasMore: z$1.boolean(),
|
|
6138
|
+
groups: z$1.array(aiUsageGroupSchema)
|
|
6139
|
+
}).optional()
|
|
6140
|
+
});
|
|
6141
|
+
z$1.strictObject({
|
|
6142
|
+
context: openMeldRequestContextSchema,
|
|
6143
|
+
query: aiUsageQuerySchema.optional()
|
|
6144
|
+
}).extend({ speakerMember: centerAgentToolSpeakerSchema });
|
|
6145
|
+
//#endregion
|
|
5609
6146
|
//#region ../../packages/schemas/dist/schemas/space-mesh/agent-reply-placement.js
|
|
5610
6147
|
const AGENT_REPLY_PLACEMENT_HEADER = "x-openmeld-agent-reply-placement";
|
|
5611
6148
|
const agentReplyPlacementSchema = z$1.enum(["conversation", "thread"]);
|
|
@@ -5810,6 +6347,7 @@ const openMeldDaemonTaskResultTokenUsageSchema = strictObject({
|
|
|
5810
6347
|
total: openMeldDaemonTaskResultTokenUsageBreakdownSchema
|
|
5811
6348
|
});
|
|
5812
6349
|
const openMeldDaemonTaskResultTelemetrySchema = strictObject({
|
|
6350
|
+
aiUsage: array(aiUsageObservationSchema).max(4096).optional(),
|
|
5813
6351
|
completedAtMs: number().int().nonnegative(),
|
|
5814
6352
|
contextCompactionObserved: boolean().optional(),
|
|
5815
6353
|
contextHealed: boolean().optional(),
|
|
@@ -6114,6 +6652,7 @@ strictObject({ status: enumFactory([
|
|
|
6114
6652
|
"successor_conflict",
|
|
6115
6653
|
"unavailable"
|
|
6116
6654
|
]) });
|
|
6655
|
+
runtimeTransportAgentProfileWorkRecoveryTargetSchema.extend({ expectedInterruptedTargetWakeLifecycleId: string().trim().min(1).max(512) });
|
|
6117
6656
|
strictObject({ status: enumFactory([
|
|
6118
6657
|
"approved",
|
|
6119
6658
|
"not_pending",
|
|
@@ -7712,6 +8251,6 @@ strictObject({
|
|
|
7712
8251
|
})
|
|
7713
8252
|
});
|
|
7714
8253
|
//#endregion
|
|
7715
|
-
export { openMeldSpaceEgressActionSchema as $, resolveMessageEnvelopeTargetField as $n, localFolderPickerHelperResultSchema as $r, discardSpaceComposerUploadResponseSchema as $t, runtimeTransportLocalAgentControlRefreshCatalogFramePayloadSchema as A, OPENMELD_COMPUTER_CARE_HEADER as An, runtimeTransportDeliveryExecutionIdentitySchema as Ar, signalTextDataSchema as At, runtimeTransportResumeControllerConversationResultFramePayloadSchema as B, spaceAllowedActionsSchema as Bn, organizationProtectedInformationSchema as Br, conversationCompactionMarkerSchema as Bt, runtimeTransportHeartbeatRequestSchema as C, openMeldProfileIdSchema as Ci, spaceFolderDescriptorSchema as Cn, clientMessageIdSchema as Cr, DISPATCH_ACTIVITY_RETRYING_PURPOSE as Ct, runtimeTransportLocalAgentControlForkSessionFramePayloadSchema as D, trashSpaceFileEntryResponseSchema as Dn, runtimeCoordinatorExecutionRecordSchema as Dr, sanitizeSignalTextPreview as Dt, runtimeTransportLocalAgentControlCancelFramePayloadSchema as E, resolveCommandAgentWorkActivity as Ei, stageSpaceComposerUploadResponseSchema as En, runtimeCoordinatorExecutionEventSchema as Er, SPACE_MENTION_REJECT_NOTICE_PURPOSE as Et, runtimeTransportOpenMeldToolsControlResultFramePayloadSchema as F, spaceThreadSchema as Fn, resolveSingleSpaceMentionLabels as Fr, spaceAttachmentFileNameSchema as Ft, isOriginalErrorSafeForMessageDetails as G, buildTargetWakeLifecycleId as Gn, executeExecutionRecoveryBodySchema as Gr, spaceWorkHandoffSchema as Gt, runtimeTransportRuntimeCoordinatorRespondInteractionResponseSchema as H, spaceDispatchPolicySchema as Hn, LOCAL_AGENT_REASONING_MAX_CHARS as Hr, centerAgentInteractionSourceSchema as Ht, runtimeTransportRegisterSessionRequestSchema as I, spaceThreadSignalPlacementSchema as In, resolveSpaceMentionLabels as Ir, spaceAttachmentMimeTypeSchema as It, openMeldDaemonProviderAccessEvidenceSchema as J, collectCanonicalMentionTextFragments as Jn, agentProfileWorkRecoveryActionKindSchema as Jr, spaceWorkingCopyResultSchema as Jt, openMeldDaemonOriginalErrorSchema as K, targetWakeLifecycleIdentitySchema as Kn, executeExecutionRecoveryResponseSchema as Kr, spaceWorkRelativePathSchema as Kt, runtimeTransportRegisterSessionResponseSchema as L, spaceContractFieldsSchema as Ln, spaceMentionLabelSchema as Lr, spaceAttachmentSizeBytesSchema as Lt, runtimeTransportLocalAgentControlSetProfileWorkspaceFramePayloadSchema as M, executionHostObservationSchema as Mn, SPACE_PASSWORD_RATE_LIMITED_ERROR_CODE as Mr, wakeDeviceWaitTargetSchema as Mt, runtimeTransportLookupRouteOwnerServiceEvidenceSchema as N, spaceThreadContextSchema as Nn, normalizeSpacePasswordText as Nr, spaceAttachmentDescriptorSchema as Nt, runtimeTransportLocalAgentControlInterruptFramePayloadSchema as O, updateSpaceFileEntryResponseSchema as On, runtimeTransportAdmissionEvidenceSchema as Or, signalStatusDataSchema as Ot, runtimeTransportOpenMeldToolsControlFramePayloadSchema as P, spaceThreadEventSchema as Pn, spacePasswordSchema as Pr, spaceAttachmentDimensionSchema as Pt, openMeldDaemonTaskResultProjectFailureContextSchema as Q, normalizeMessageEnvelope as Qn, localFolderPickerHelperProtocolResultSchema as Qr, createSpaceFolderResponseSchema as Qt, runtimeTransportRejectedProfileRegistrationSchema as R, spaceContractSchema as Rn, spaceMentionLabelSourceSchema as Rr, spaceMessageAttachmentSchema as Rt, runtimeTransportForkAgentSessionResultSchema as S, updateProfileResponseSchema as Si, spaceFileRevisionSchema as Sn, postSpaceWakeStopResponseSchema as Sr, DISPATCH_ACTIVITY_FAILED_PURPOSE as St, runtimeTransportLeaseSchema as T, MAX_TEXT_LENGTH as Ti, spaceMessageFileReferencesSchema as Tn, runtimeCoordinatorExecutionCreationDiagnosticSchema as Tr, SPACE_MEMBER_REMOVE_NOTICE_PURPOSE as Tt, runtimeTransportSubmitTaskResultRequestSchema as U, workingLanguageGuidanceSchema as Un, OPENMELD_REASONING_STREAM_HEADER as Ur, SPACE_WORK_HANDOFF_CAPABILITY_HEADER as Ut, runtimeTransportRouteCatalogChangedFramePayloadSchema as V, spacePublicationModeSchema as Vn, updateOrganizationInformationProtectionPolicyBodySchema as Vr, spaceStatusSchema as Vt, OPENMELD_ORIGINAL_ERROR_MAX_LENGTH as W, workingLanguageTagSchema as Wn, localAgentReasoningPreferencesSchema as Wr, SPACE_WORK_MAX_BYTES as Wt, openMeldDaemonTaskResultOpenClawGatewayVisibilityStatusSchema as X, getSpaceMessageAddressingRelationSupportForTargetKind as Xn, OPENMELD_LOCAL_FOLDER_PICKER_CAPABILITY_HEADER as Xr, SPACE_FILE_MAX_SIZE_BYTES as Xt, openMeldDaemonTaskResultEnvelopeWriteSchema as Y, formatCanonicalMentionLiteral as Yn, LOCAL_FOLDER_PICKER_RUNTIME_CAPABILITY as Yr, SPACE_FILE_ERROR_CODES as Yt, openMeldDaemonTaskResultPayloadSchema as Z, messageEnvelopeSchema as Zn, localFolderPickerDaemonFrameSchema as Zr, SPACE_FILE_RAW_UPLOAD_MAX_BYTES as Zt, runtimeTransportDispatchProgressRequestSchema as _, authProfileViewSchema as _i, spaceFileEntryIdSchema as _n, agentInteractionPendingSummarySchema as _r, AGENT_REPLYING_PURPOSE as _t, daemonStreamFrameSchema as a, START_ISO_DATE_TIME_SCHEMA as ai, readSpaceFileTextResponseSchema as an, connectorServiceSchema as ar, shouldPreferMappedPublicAgentFailureReason as at, runtimeTransportDispatchToolActivityRequestSchema as b, updateAgentProfileDefaultProjectBodySchema as bi, spaceFileOriginSchema as bn, agentInteractionResponseSchema as br, CONVERSATION_CONTINUITY_WARNING_PURPOSE as bt, runtimeTransportCapabilitiesSchema as c, localAgentCatalogLaunchStatusSchema as ci, restoreSpaceFileRevisionResponseSchema as cn, executionContextTaskSchema as cr, agentTaskCompletionConditionSchema as ct, runtimeTransportDispatchInteractionRequestSchema as d, ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_CODE as di, spaceFileActorSchema as dn, spaceAgentStreamDeltaFrameSchema as dr, agentTaskTerminalOutcomeSchema as dt, localFolderPickerRequestSchema as ei, getSpaceFileResponseSchema as en, computerSetupModeSchema as er, AGENT_REPLY_PLACEMENT_HEADER as et, runtimeTransportDispatchInteractionResponseFramePayloadSchema as f, ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_MESSAGE as fi, spaceFileBaseRevisionSchema as fn, spaceAgentStreamPartFrameSchema as fr, areAgentTaskTerminalOutcomesEqual as ft, runtimeTransportDispatchPreviewRequestSchema as g, authProfileManagedRoleSchema as gi, spaceFileDescriptorSchema as gn, AGENT_INTERACTION_DEFAULT_TIMEOUT_MS as gr, AGENT_REPLYING_END_PURPOSE as gt, runtimeTransportDispatchPreviewEndRequestSchema as h, authProfileKindSchema as hi, spaceFileClientMutationIdSchema as hn, spaceAgentStreamTerminalFrameSchema as hr, spaceWakeAgentTaskHandleSchema as ht, daemonExecutionCompatibilitySchema as i, START_BOUNDED_VERSION_SCHEMA as ii, publishSpaceComposerUploadResponseSchema as in, connectorConnectionScopeSchema as ir, sanitizeDispatchErrorSummary as it, runtimeTransportLocalAgentControlSetEnabledFramePayloadSchema as j, computerCareObservationSchema as jn, spaceTraceExecutionIdentityProjectionSchema as jr, signalTextSchema as jt, runtimeTransportLocalAgentControlManageInstallationFramePayloadSchema as k, uploadSpaceFileResponseSchema as kn, runtimeCoordinatorExecutionTokenEnvelopeSchema as kr, signalSystemNoticeDataSchema as kt, runtimeTransportDeliverDispatchRequestSchema as l, localAgentCatalogSchema as li, spaceComposerUploadDescriptorSchema as ln, AGENT_STREAM_SNAPSHOT_MAX_CHARS as lr, agentTaskCompletionObservationSchema as lt, runtimeTransportDispatchLifecycleRequestSchema as m, agentAvatarStyleSchema as mi, spaceFileCapabilitiesSchema as mn, spaceAgentStreamSnapshotSchema as mr, controllerAgentTaskHandleSchema as mt, OPENMELD_ADMISSION_EVIDENCE_HEADER as n, localFolderPathSchema as ni, listSpaceFileRevisionsResponseSchema as nn, openMeldWebUrlSchema as nr, resolvePublicAgentAvailabilityCopy as nt, localWakeRouteReportSchema as o, START_TRIMMED_NON_EMPTY_STRING_SCHEMA as oi, resolveSpaceFileMimeType as on, executionContextAssignmentSchema as or, spaceCallerContextSchema as ot, runtimeTransportDispatchLifecycleAcknowledgementSchema as p, CENTER_AGENT_BOT_AVATAR_TYPES as pi, spaceFileBreadcrumbSchema as pn, spaceAgentStreamPresenceSchema as pr, buildAgentTaskKey as pt, openMeldDaemonProviderAccessEvidenceProviderSchema as q, MESSAGE_MENTION_TYPE_VALUES as qn, inspectExecutionRecoveryResponseSchema as qr, spaceWorkSelectionSchema as qt, OPENMELD_EXECUTION_ADMISSION_HEADER as r, START_BOUNDED_ID_SCHEMA as ri, listSpaceFilesResponseSchema as rn, connectorConnectionNameSchema as rr, resolvePublicAgentFailureRecovery as rt, localWakeRouteWorkingFolderObservationSchema as s, startReplyReadinessSummarySchema as si, restoreSpaceFileEntryResponseSchema as sn, executionContextSelectionSchema as sr, agentDelegationSnapshotSchema as st, CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH as t, localFolderPickerResultSchema as ti, isSpaceFileTextEditable as tn, openMeldNavigationTargetSchema as tr, resolveMappedPublicAgentFailureReason as tt, runtimeTransportDispatchInteractionDeliveredRequestSchema as u, localAgentCatalogWithLifecycleSchema as ui, spaceComposerUploadIdSchema as un, agentStreamToolPartSchema as ur, agentTaskHandleSchema as ut, runtimeTransportDispatchReasoningRequestSchema as v, profileCapabilitiesResponseSchema as vi, spaceFileMimeTypeSchema as vn, agentInteractionRequestSchema as vr, AGENT_REPLY_PREVIEW_END_PURPOSE as vt, runtimeTransportHeartbeatResponseSchema as w, openMeldRequestContextSchema as wi, spaceMessageFileReferenceSchema as wn, parseOptionalClientMessageId as wr, SPACE_MEMBER_JOIN_NOTICE_PURPOSE as wt, runtimeTransportErrorCodeSchema as x, updateAgentProfileDefaultProjectResponseSchema as xi, spaceFileRevisionNumberSchema as xn, postSpaceWakeStopBodySchema as xr, DISPATCH_ACTIVITY_DISPATCHING_PURPOSE as xt, runtimeTransportDispatchRuntimeEvidenceRequestSchema as y, profileErrorResponseSchema as yi, spaceFileNameSchema as yn, agentInteractionResolutionSchema as yr, AGENT_REPLY_PREVIEW_PURPOSE as yt, runtimeTransportResumeControllerConversationFramePayloadSchema as z, resultArchivePolicySchema as zn, organizationInformationProtectionPolicyResponseSchema as zr, spaceMessageAttachmentsSchema as zt };
|
|
8254
|
+
export { openMeldSpaceEgressActionSchema as $, resultArchivePolicySchema as $n, organizationInformationProtectionPolicyResponseSchema as $r, spaceMessageAttachmentsSchema as $t, runtimeTransportLocalAgentControlRefreshCatalogFramePayloadSchema as A, authProfileManagedRoleSchema as Ai, spaceFileDescriptorSchema as An, AGENT_INTERACTION_DEFAULT_TIMEOUT_MS as Ar, AGENT_REPLYING_END_PURPOSE as At, runtimeTransportResumeControllerConversationResultFramePayloadSchema as B, MAX_TEXT_LENGTH as Bi, stageSpaceComposerUploadResponseSchema as Bn, runtimeCoordinatorExecutionEventSchema as Br, SPACE_MENTION_REJECT_NOTICE_PURPOSE as Bt, runtimeTransportHeartbeatRequestSchema as C, localAgentCatalogSchema as Ci, spaceComposerUploadDescriptorSchema as Cn, AGENT_STREAM_SNAPSHOT_MAX_CHARS as Cr, agentTaskCompletionObservationSchema as Ct, runtimeTransportLocalAgentControlForkSessionFramePayloadSchema as D, CENTER_AGENT_BOT_AVATAR_TYPES as Di, spaceFileBreadcrumbSchema as Dn, spaceAgentStreamPresenceSchema as Dr, buildAgentTaskKey as Dt, runtimeTransportLocalAgentControlCancelFramePayloadSchema as E, ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_MESSAGE as Ei, spaceFileBaseRevisionSchema as En, spaceAgentStreamPartFrameSchema as Er, areAgentTaskTerminalOutcomesEqual as Et, runtimeTransportOpenMeldToolsControlResultFramePayloadSchema as F, updateAgentProfileDefaultProjectResponseSchema as Fi, spaceFileRevisionNumberSchema as Fn, postSpaceWakeStopBodySchema as Fr, DISPATCH_ACTIVITY_DISPATCHING_PURPOSE as Ft, isOriginalErrorSafeForMessageDetails as G, computerCareObservationSchema as Gn, spaceTraceExecutionIdentityProjectionSchema as Gr, signalTextSchema as Gt, runtimeTransportRuntimeCoordinatorRespondInteractionResponseSchema as H, updateSpaceFileEntryResponseSchema as Hn, runtimeTransportAdmissionEvidenceSchema as Hr, signalStatusDataSchema as Ht, runtimeTransportRegisterSessionRequestSchema as I, updateProfileResponseSchema as Ii, spaceFileRevisionSchema as In, postSpaceWakeStopResponseSchema as Ir, DISPATCH_ACTIVITY_FAILED_PURPOSE as It, openMeldDaemonProviderAccessEvidenceSchema as J, spaceThreadEventSchema as Jn, spacePasswordSchema as Jr, spaceAttachmentDimensionSchema as Jt, openMeldDaemonOriginalErrorSchema as K, executionHostObservationSchema as Kn, SPACE_PASSWORD_RATE_LIMITED_ERROR_CODE as Kr, wakeDeviceWaitTargetSchema as Kt, runtimeTransportRegisterSessionResponseSchema as L, openMeldProfileIdSchema as Li, spaceFolderDescriptorSchema as Ln, clientMessageIdSchema as Lr, DISPATCH_ACTIVITY_RETRYING_PURPOSE as Lt, runtimeTransportLocalAgentControlSetProfileWorkspaceFramePayloadSchema as M, profileCapabilitiesResponseSchema as Mi, spaceFileMimeTypeSchema as Mn, agentInteractionRequestSchema as Mr, AGENT_REPLY_PREVIEW_END_PURPOSE as Mt, runtimeTransportLookupRouteOwnerServiceEvidenceSchema as N, profileErrorResponseSchema as Ni, spaceFileNameSchema as Nn, agentInteractionResolutionSchema as Nr, AGENT_REPLY_PREVIEW_PURPOSE as Nt, runtimeTransportLocalAgentControlInterruptFramePayloadSchema as O, agentAvatarStyleSchema as Oi, spaceFileCapabilitiesSchema as On, spaceAgentStreamSnapshotSchema as Or, controllerAgentTaskHandleSchema as Ot, runtimeTransportOpenMeldToolsControlFramePayloadSchema as P, updateAgentProfileDefaultProjectBodySchema as Pi, spaceFileOriginSchema as Pn, agentInteractionResponseSchema as Pr, CONVERSATION_CONTINUITY_WARNING_PURPOSE as Pt, openMeldDaemonTaskResultProjectFailureContextSchema as Q, spaceContractSchema as Qn, spaceMentionLabelSourceSchema as Qr, spaceMessageAttachmentSchema as Qt, runtimeTransportRejectedProfileRegistrationSchema as R, openMeldRequestContextSchema as Ri, spaceMessageFileReferenceSchema as Rn, parseOptionalClientMessageId as Rr, SPACE_MEMBER_JOIN_NOTICE_PURPOSE as Rt, runtimeTransportForkAgentSessionResultSchema as S, localAgentCatalogLaunchStatusSchema as Si, restoreSpaceFileRevisionResponseSchema as Sn, executionContextTaskSchema as Sr, agentTaskCompletionConditionSchema as St, runtimeTransportLeaseSchema as T, ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_CODE as Ti, spaceFileActorSchema as Tn, spaceAgentStreamDeltaFrameSchema as Tr, agentTaskTerminalOutcomeSchema as Tt, runtimeTransportSubmitTaskResultRequestSchema as U, uploadSpaceFileResponseSchema as Un, runtimeCoordinatorExecutionTokenEnvelopeSchema as Ur, signalSystemNoticeDataSchema as Ut, runtimeTransportRouteCatalogChangedFramePayloadSchema as V, trashSpaceFileEntryResponseSchema as Vn, runtimeCoordinatorExecutionRecordSchema as Vr, sanitizeSignalTextPreview as Vt, OPENMELD_ORIGINAL_ERROR_MAX_LENGTH as W, OPENMELD_COMPUTER_CARE_HEADER as Wn, runtimeTransportDeliveryExecutionIdentitySchema as Wr, signalTextDataSchema as Wt, openMeldDaemonTaskResultOpenClawGatewayVisibilityStatusSchema as X, spaceThreadSignalPlacementSchema as Xn, resolveSpaceMentionLabels as Xr, spaceAttachmentMimeTypeSchema as Xt, openMeldDaemonTaskResultEnvelopeWriteSchema as Y, spaceThreadSchema as Yn, resolveSingleSpaceMentionLabels as Yr, spaceAttachmentFileNameSchema as Yt, openMeldDaemonTaskResultPayloadSchema as Z, spaceContractFieldsSchema as Zn, spaceMentionLabelSchema as Zr, spaceAttachmentSizeBytesSchema as Zt, runtimeTransportDispatchProgressRequestSchema as _, START_BOUNDED_ID_SCHEMA as _i, listSpaceFilesResponseSchema as _n, connectorConnectionNameSchema as _r, resolvePublicAgentFailureRecovery as _t, daemonStreamFrameSchema as a, executeExecutionRecoveryBodySchema as ai, spaceWorkHandoffSchema as an, buildTargetWakeLifecycleId as ar, MESSAGE_CHANNEL_PROVIDERS as at, runtimeTransportDispatchToolActivityRequestSchema as b, START_TRIMMED_NON_EMPTY_STRING_SCHEMA as bi, resolveSpaceFileMimeType as bn, executionContextAssignmentSchema as br, spaceCallerContextSchema as bt, runtimeTransportCapabilitiesSchema as c, agentProfileWorkRecoveryActionKindSchema as ci, spaceWorkingCopyResultSchema as cn, collectCanonicalMentionTextFragments as cr, messageChannelIngressEnvelopeSchema as ct, runtimeTransportDispatchInteractionRequestSchema as d, localFolderPickerDaemonFrameSchema as di, SPACE_FILE_RAW_UPLOAD_MAX_BYTES as dn, messageEnvelopeSchema as dr, messageChannelResourceDescriptorSchema as dt, organizationProtectedInformationSchema as ei, conversationCompactionMarkerSchema as en, spaceAllowedActionsSchema as er, AGENT_REPLY_PLACEMENT_HEADER as et, runtimeTransportDispatchInteractionResponseFramePayloadSchema as f, localFolderPickerHelperProtocolResultSchema as fi, createSpaceFolderResponseSchema as fn, normalizeMessageEnvelope as fr, messageChannelTransportSchema as ft, runtimeTransportDispatchPreviewRequestSchema as g, localFolderPathSchema as gi, listSpaceFileRevisionsResponseSchema as gn, openMeldWebUrlSchema as gr, resolvePublicAgentAvailabilityCopy as gt, runtimeTransportDispatchPreviewEndRequestSchema as h, localFolderPickerResultSchema as hi, isSpaceFileTextEditable as hn, openMeldNavigationTargetSchema as hr, resolveMappedPublicAgentFailureReason as ht, daemonExecutionCompatibilitySchema as i, localAgentReasoningPreferencesSchema as ii, SPACE_WORK_MAX_BYTES as in, workingLanguageTagSchema as ir, centerAgentVerifiedMemberToolSpeakerSchema as it, runtimeTransportLocalAgentControlSetEnabledFramePayloadSchema as j, authProfileViewSchema as ji, spaceFileEntryIdSchema as jn, agentInteractionPendingSummarySchema as jr, AGENT_REPLYING_PURPOSE as jt, runtimeTransportLocalAgentControlManageInstallationFramePayloadSchema as k, authProfileKindSchema as ki, spaceFileClientMutationIdSchema as kn, spaceAgentStreamTerminalFrameSchema as kr, spaceWakeAgentTaskHandleSchema as kt, runtimeTransportDeliverDispatchRequestSchema as l, LOCAL_FOLDER_PICKER_RUNTIME_CAPABILITY as li, SPACE_FILE_ERROR_CODES as ln, formatCanonicalMentionLiteral as lr, messageChannelParticipantIdentitySchema as lt, runtimeTransportDispatchLifecycleRequestSchema as m, localFolderPickerRequestSchema as mi, getSpaceFileResponseSchema as mn, computerSetupModeSchema as mr, slackThreadPublicationPermalinkSchema as mt, OPENMELD_ADMISSION_EVIDENCE_HEADER as n, LOCAL_AGENT_REASONING_MAX_CHARS as ni, centerAgentInteractionSourceSchema as nn, spaceDispatchPolicySchema as nr, aiUsageQueryResponseSchema as nt, localWakeRouteReportSchema as o, executeExecutionRecoveryResponseSchema as oi, spaceWorkRelativePathSchema as on, targetWakeLifecycleIdentitySchema as or, buildMessageChannelConversationId as ot, runtimeTransportDispatchLifecycleAcknowledgementSchema as p, localFolderPickerHelperResultSchema as pi, discardSpaceComposerUploadResponseSchema as pn, resolveMessageEnvelopeTargetField as pr, slackMessagePermalinkSchema as pt, openMeldDaemonProviderAccessEvidenceProviderSchema as q, spaceThreadContextSchema as qn, normalizeSpacePasswordText as qr, spaceAttachmentDescriptorSchema as qt, OPENMELD_EXECUTION_ADMISSION_HEADER as r, OPENMELD_REASONING_STREAM_HEADER as ri, SPACE_WORK_HANDOFF_CAPABILITY_HEADER as rn, workingLanguageGuidanceSchema as rr, centerAgentToolSpeakerSchema as rt, localWakeRouteWorkingFolderObservationSchema as s, inspectExecutionRecoveryResponseSchema as si, spaceWorkSelectionSchema as sn, MESSAGE_MENTION_TYPE_VALUES as sr, messageChannelConversationLocatorSchema as st, CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH as t, updateOrganizationInformationProtectionPolicyBodySchema as ti, spaceStatusSchema as tn, spacePublicationModeSchema as tr, aiUsageObservationSchema as tt, runtimeTransportDispatchInteractionDeliveredRequestSchema as u, OPENMELD_LOCAL_FOLDER_PICKER_CAPABILITY_HEADER as ui, SPACE_FILE_MAX_SIZE_BYTES as un, getSpaceMessageAddressingRelationSupportForTargetKind as ur, messageChannelProviderSchema as ut, runtimeTransportDispatchReasoningRequestSchema as v, START_BOUNDED_VERSION_SCHEMA as vi, publishSpaceComposerUploadResponseSchema as vn, connectorConnectionScopeSchema as vr, sanitizeDispatchErrorSummary as vt, runtimeTransportHeartbeatResponseSchema as w, localAgentCatalogWithLifecycleSchema as wi, spaceComposerUploadIdSchema as wn, agentStreamToolPartSchema as wr, agentTaskHandleSchema as wt, runtimeTransportErrorCodeSchema as x, startReplyReadinessSummarySchema as xi, restoreSpaceFileEntryResponseSchema as xn, executionContextSelectionSchema as xr, agentDelegationSnapshotSchema as xt, runtimeTransportDispatchRuntimeEvidenceRequestSchema as y, START_ISO_DATE_TIME_SCHEMA as yi, readSpaceFileTextResponseSchema as yn, connectorServiceSchema as yr, shouldPreferMappedPublicAgentFailureReason as yt, runtimeTransportResumeControllerConversationFramePayloadSchema as z, resolveCommandAgentWorkActivity as zi, spaceMessageFileReferencesSchema as zn, runtimeCoordinatorExecutionCreationDiagnosticSchema as zr, SPACE_MEMBER_REMOVE_NOTICE_PURPOSE as zt };
|
|
7716
8255
|
|
|
7717
|
-
//# sourceMappingURL=runtime-transport-
|
|
8256
|
+
//# sourceMappingURL=runtime-transport-DyBmX7ds.js.map
|