@get-bb/plugin-sdk 0.6.121 → 0.6.125
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/bundled-types/bb-plugin-sdk-app.d.ts +301 -1
- package/bundled-types/bb-plugin-sdk-internal-host-policy.d.ts +68 -1
- package/bundled-types/bb-plugin-sdk-provider-bridge-testing.d.ts +1 -0
- package/bundled-types/bb-plugin-sdk.d.ts +303 -3
- package/dist/internal/host-policy.js +3 -5
- package/dist/internal/rpc-query-host.js +7 -3
- package/dist/provider-bridge-acp-next.js +1 -0
- package/dist/provider-bridge-acp.js +1 -0
- package/dist/provider-bridge-testing.js +1 -0
- package/dist/provider-bridge.js +1 -0
- package/dist/testing/app.js +7 -3
- package/dist/testing/index.js +3 -5
- package/package.json +1 -1
|
@@ -420,6 +420,7 @@ declare const changedMessageSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
420
420
|
"queue-changed": "queue-changed";
|
|
421
421
|
"read-state-changed": "read-state-changed";
|
|
422
422
|
"status-changed": "status-changed";
|
|
423
|
+
"storage-changed": "storage-changed";
|
|
423
424
|
"tabs-changed": "tabs-changed";
|
|
424
425
|
"terminals-changed": "terminals-changed";
|
|
425
426
|
"thread-created": "thread-created";
|
|
@@ -486,7 +487,6 @@ declare const changedMessageSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
486
487
|
"git-refs-changed": "git-refs-changed";
|
|
487
488
|
"metadata-changed": "metadata-changed";
|
|
488
489
|
"status-changed": "status-changed";
|
|
489
|
-
"thread-storage-changed": "thread-storage-changed";
|
|
490
490
|
"work-status-changed": "work-status-changed";
|
|
491
491
|
}>>>;
|
|
492
492
|
entity: z$1.ZodLiteral<"environment">;
|
|
@@ -3165,6 +3165,7 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
3165
3165
|
"child-outcome-batch": "child-outcome-batch";
|
|
3166
3166
|
"environment-directory-updated": "environment-directory-updated";
|
|
3167
3167
|
"ownership-assigned": "ownership-assigned";
|
|
3168
|
+
"ownership-batch": "ownership-batch";
|
|
3168
3169
|
"ownership-removed": "ownership-removed";
|
|
3169
3170
|
"tool-result-delivered": "tool-result-delivered";
|
|
3170
3171
|
unlabeled: "unlabeled";
|
|
@@ -4479,6 +4480,70 @@ declare const threadQueuedMessageSchema: z$1.ZodObject<{
|
|
|
4479
4480
|
scheduled: "scheduled";
|
|
4480
4481
|
waiting: "waiting";
|
|
4481
4482
|
}>;
|
|
4483
|
+
systemNotice: z$1.ZodNullable<z$1.ZodObject<{
|
|
4484
|
+
kind: z$1.ZodEnum<{
|
|
4485
|
+
"child-completed": "child-completed";
|
|
4486
|
+
"child-failed": "child-failed";
|
|
4487
|
+
"child-interrupted": "child-interrupted";
|
|
4488
|
+
"child-needs-attention": "child-needs-attention";
|
|
4489
|
+
"child-outcome-batch": "child-outcome-batch";
|
|
4490
|
+
"environment-directory-updated": "environment-directory-updated";
|
|
4491
|
+
"ownership-assigned": "ownership-assigned";
|
|
4492
|
+
"ownership-batch": "ownership-batch";
|
|
4493
|
+
"ownership-removed": "ownership-removed";
|
|
4494
|
+
"tool-result-delivered": "tool-result-delivered";
|
|
4495
|
+
unlabeled: "unlabeled";
|
|
4496
|
+
}>;
|
|
4497
|
+
subject: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
4498
|
+
kind: z$1.ZodLiteral<"thread">;
|
|
4499
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
4500
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
4501
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
4502
|
+
reason: z$1.ZodEnum<{
|
|
4503
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
4504
|
+
"host-removed": "host-removed";
|
|
4505
|
+
"manual-stop": "manual-stop";
|
|
4506
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
4507
|
+
}>;
|
|
4508
|
+
}, z$1.core.$strip>>;
|
|
4509
|
+
status: z$1.ZodEnum<{
|
|
4510
|
+
completed: "completed";
|
|
4511
|
+
failed: "failed";
|
|
4512
|
+
interrupted: "interrupted";
|
|
4513
|
+
}>;
|
|
4514
|
+
threadId: z$1.ZodString;
|
|
4515
|
+
}, z$1.core.$strip>>>;
|
|
4516
|
+
threadId: z$1.ZodString;
|
|
4517
|
+
threadName: z$1.ZodString;
|
|
4518
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
4519
|
+
count: z$1.ZodNumber;
|
|
4520
|
+
kind: z$1.ZodLiteral<"thread-batch">;
|
|
4521
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
4522
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
4523
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
4524
|
+
reason: z$1.ZodEnum<{
|
|
4525
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
4526
|
+
"host-removed": "host-removed";
|
|
4527
|
+
"manual-stop": "manual-stop";
|
|
4528
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
4529
|
+
}>;
|
|
4530
|
+
}, z$1.core.$strip>>;
|
|
4531
|
+
status: z$1.ZodEnum<{
|
|
4532
|
+
completed: "completed";
|
|
4533
|
+
failed: "failed";
|
|
4534
|
+
interrupted: "interrupted";
|
|
4535
|
+
}>;
|
|
4536
|
+
threadId: z$1.ZodString;
|
|
4537
|
+
}, z$1.core.$strip>>>;
|
|
4538
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
4539
|
+
kind: z$1.ZodLiteral<"tool-call">;
|
|
4540
|
+
suppress: z$1.ZodBoolean;
|
|
4541
|
+
toolName: z$1.ZodString;
|
|
4542
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
4543
|
+
kind: z$1.ZodLiteral<"directory">;
|
|
4544
|
+
path: z$1.ZodString;
|
|
4545
|
+
}, z$1.core.$strip>], "kind">>;
|
|
4546
|
+
}, z$1.core.$strip>>;
|
|
4482
4547
|
threadId: z$1.ZodString;
|
|
4483
4548
|
updatedAt: z$1.ZodNumber;
|
|
4484
4549
|
waitingOn: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
@@ -4496,6 +4561,8 @@ declare const threadQueuedMessageSchema: z$1.ZodObject<{
|
|
|
4496
4561
|
kind: z$1.ZodLiteral<"host-offline">;
|
|
4497
4562
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
4498
4563
|
kind: z$1.ZodLiteral<"interaction">;
|
|
4564
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
4565
|
+
kind: z$1.ZodLiteral<"app-update">;
|
|
4499
4566
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
4500
4567
|
kind: z$1.ZodLiteral<"plugin">;
|
|
4501
4568
|
pluginId: z$1.ZodString;
|
|
@@ -7605,6 +7672,25 @@ declare const hostDaemonCommandRegistry: {
|
|
|
7605
7672
|
}, z$1.core.$strip>], "kind">;
|
|
7606
7673
|
originDefaultBranch: z$1.ZodNullable<z$1.ZodString>;
|
|
7607
7674
|
}, z$1.core.$strip>, "onlineRpc", true>;
|
|
7675
|
+
"host.inspect_git_checkout": HostDaemonCommandDescriptor<"host.inspect_git_checkout", z$1.ZodObject<{
|
|
7676
|
+
path: z$1.ZodString;
|
|
7677
|
+
type: z$1.ZodLiteral<"host.inspect_git_checkout">;
|
|
7678
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
7679
|
+
checkout: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
7680
|
+
branchName: z$1.ZodString;
|
|
7681
|
+
headSha: z$1.ZodNullable<z$1.ZodString>;
|
|
7682
|
+
kind: z$1.ZodLiteral<"branch">;
|
|
7683
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
7684
|
+
headSha: z$1.ZodNullable<z$1.ZodString>;
|
|
7685
|
+
kind: z$1.ZodLiteral<"detached">;
|
|
7686
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
7687
|
+
branchName: z$1.ZodNullable<z$1.ZodString>;
|
|
7688
|
+
kind: z$1.ZodLiteral<"unborn">;
|
|
7689
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
7690
|
+
kind: z$1.ZodLiteral<"unknown">;
|
|
7691
|
+
reason: z$1.ZodString;
|
|
7692
|
+
}, z$1.core.$strip>], "kind">;
|
|
7693
|
+
}, z$1.core.$strip>, "onlineRpc", true>;
|
|
7608
7694
|
"host.list_branch_options": HostDaemonCommandDescriptor<"host.list_branch_options", z$1.ZodObject<{
|
|
7609
7695
|
limit: z$1.ZodNumber;
|
|
7610
7696
|
path: z$1.ZodString;
|
|
@@ -8817,6 +8903,7 @@ declare const installedPluginSchema: z$1.ZodObject<{
|
|
|
8817
8903
|
}, z$1.core.$strip>>;
|
|
8818
8904
|
source: z$1.ZodString;
|
|
8819
8905
|
sourceDisplay: z$1.ZodString;
|
|
8906
|
+
sourceNotice: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
|
|
8820
8907
|
status: z$1.ZodEnum<{
|
|
8821
8908
|
"needs-configuration": "needs-configuration";
|
|
8822
8909
|
degraded: "degraded";
|
|
@@ -8941,6 +9028,7 @@ declare const pluginListResponseSchema: z$1.ZodObject<{
|
|
|
8941
9028
|
}, z$1.core.$strip>>;
|
|
8942
9029
|
source: z$1.ZodString;
|
|
8943
9030
|
sourceDisplay: z$1.ZodString;
|
|
9031
|
+
sourceNotice: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
|
|
8944
9032
|
status: z$1.ZodEnum<{
|
|
8945
9033
|
"needs-configuration": "needs-configuration";
|
|
8946
9034
|
degraded: "degraded";
|
|
@@ -9131,6 +9219,7 @@ declare const pluginInstallJobSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
9131
9219
|
}, z$1.core.$strip>>;
|
|
9132
9220
|
source: z$1.ZodString;
|
|
9133
9221
|
sourceDisplay: z$1.ZodString;
|
|
9222
|
+
sourceNotice: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
|
|
9134
9223
|
status: z$1.ZodEnum<{
|
|
9135
9224
|
"needs-configuration": "needs-configuration";
|
|
9136
9225
|
degraded: "degraded";
|
|
@@ -9318,6 +9407,7 @@ declare const pluginReloadResponseSchema: z$1.ZodObject<{
|
|
|
9318
9407
|
}, z$1.core.$strip>>;
|
|
9319
9408
|
source: z$1.ZodString;
|
|
9320
9409
|
sourceDisplay: z$1.ZodString;
|
|
9410
|
+
sourceNotice: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
|
|
9321
9411
|
status: z$1.ZodEnum<{
|
|
9322
9412
|
"needs-configuration": "needs-configuration";
|
|
9323
9413
|
degraded: "degraded";
|
|
@@ -10732,6 +10822,7 @@ declare const systemAppUpdateStatusSchema: z$1.ZodObject<{
|
|
|
10732
10822
|
targetCommit: z$1.ZodNullable<z$1.ZodString>;
|
|
10733
10823
|
targetVersion: z$1.ZodString;
|
|
10734
10824
|
}, z$1.core.$strip>], "phase">;
|
|
10825
|
+
autoUpdate: z$1.ZodBoolean;
|
|
10735
10826
|
available: z$1.ZodNullable<z$1.ZodObject<{
|
|
10736
10827
|
behindSince: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
10737
10828
|
channel: z$1.ZodEnum<{
|
|
@@ -10744,6 +10835,7 @@ declare const systemAppUpdateStatusSchema: z$1.ZodObject<{
|
|
|
10744
10835
|
subjects: z$1.ZodArray<z$1.ZodString>;
|
|
10745
10836
|
version: z$1.ZodString;
|
|
10746
10837
|
}, z$1.core.$strip>>;
|
|
10838
|
+
availableSkipped: z$1.ZodBoolean;
|
|
10747
10839
|
blocked: z$1.ZodNullable<z$1.ZodObject<{
|
|
10748
10840
|
message: z$1.ZodString;
|
|
10749
10841
|
reason: z$1.ZodEnum<{
|
|
@@ -10786,6 +10878,7 @@ declare const systemAppUpdateStatusSchema: z$1.ZodObject<{
|
|
|
10786
10878
|
runningThreadCount: z$1.ZodNumber;
|
|
10787
10879
|
scheduled: z$1.ZodNullable<z$1.ZodObject<{
|
|
10788
10880
|
requestedAt: z$1.ZodString;
|
|
10881
|
+
requiredIdleMs: z$1.ZodNumber;
|
|
10789
10882
|
}, z$1.core.$strip>>;
|
|
10790
10883
|
support: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
10791
10884
|
kind: z$1.ZodLiteral<"supported">;
|
|
@@ -11231,6 +11324,7 @@ declare const timelineConversationRowSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodO
|
|
|
11231
11324
|
"child-outcome-batch": "child-outcome-batch";
|
|
11232
11325
|
"environment-directory-updated": "environment-directory-updated";
|
|
11233
11326
|
"ownership-assigned": "ownership-assigned";
|
|
11327
|
+
"ownership-batch": "ownership-batch";
|
|
11234
11328
|
"ownership-removed": "ownership-removed";
|
|
11235
11329
|
"tool-result-delivered": "tool-result-delivered";
|
|
11236
11330
|
unlabeled: "unlabeled";
|
|
@@ -13072,6 +13166,70 @@ declare const sendMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObjec
|
|
|
13072
13166
|
scheduled: "scheduled";
|
|
13073
13167
|
waiting: "waiting";
|
|
13074
13168
|
}>;
|
|
13169
|
+
systemNotice: z$1.ZodNullable<z$1.ZodObject<{
|
|
13170
|
+
kind: z$1.ZodEnum<{
|
|
13171
|
+
"child-completed": "child-completed";
|
|
13172
|
+
"child-failed": "child-failed";
|
|
13173
|
+
"child-interrupted": "child-interrupted";
|
|
13174
|
+
"child-needs-attention": "child-needs-attention";
|
|
13175
|
+
"child-outcome-batch": "child-outcome-batch";
|
|
13176
|
+
"environment-directory-updated": "environment-directory-updated";
|
|
13177
|
+
"ownership-assigned": "ownership-assigned";
|
|
13178
|
+
"ownership-batch": "ownership-batch";
|
|
13179
|
+
"ownership-removed": "ownership-removed";
|
|
13180
|
+
"tool-result-delivered": "tool-result-delivered";
|
|
13181
|
+
unlabeled: "unlabeled";
|
|
13182
|
+
}>;
|
|
13183
|
+
subject: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
13184
|
+
kind: z$1.ZodLiteral<"thread">;
|
|
13185
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
13186
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
13187
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
13188
|
+
reason: z$1.ZodEnum<{
|
|
13189
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
13190
|
+
"host-removed": "host-removed";
|
|
13191
|
+
"manual-stop": "manual-stop";
|
|
13192
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
13193
|
+
}>;
|
|
13194
|
+
}, z$1.core.$strip>>;
|
|
13195
|
+
status: z$1.ZodEnum<{
|
|
13196
|
+
completed: "completed";
|
|
13197
|
+
failed: "failed";
|
|
13198
|
+
interrupted: "interrupted";
|
|
13199
|
+
}>;
|
|
13200
|
+
threadId: z$1.ZodString;
|
|
13201
|
+
}, z$1.core.$strip>>>;
|
|
13202
|
+
threadId: z$1.ZodString;
|
|
13203
|
+
threadName: z$1.ZodString;
|
|
13204
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13205
|
+
count: z$1.ZodNumber;
|
|
13206
|
+
kind: z$1.ZodLiteral<"thread-batch">;
|
|
13207
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
13208
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
13209
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
13210
|
+
reason: z$1.ZodEnum<{
|
|
13211
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
13212
|
+
"host-removed": "host-removed";
|
|
13213
|
+
"manual-stop": "manual-stop";
|
|
13214
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
13215
|
+
}>;
|
|
13216
|
+
}, z$1.core.$strip>>;
|
|
13217
|
+
status: z$1.ZodEnum<{
|
|
13218
|
+
completed: "completed";
|
|
13219
|
+
failed: "failed";
|
|
13220
|
+
interrupted: "interrupted";
|
|
13221
|
+
}>;
|
|
13222
|
+
threadId: z$1.ZodString;
|
|
13223
|
+
}, z$1.core.$strip>>>;
|
|
13224
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13225
|
+
kind: z$1.ZodLiteral<"tool-call">;
|
|
13226
|
+
suppress: z$1.ZodBoolean;
|
|
13227
|
+
toolName: z$1.ZodString;
|
|
13228
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13229
|
+
kind: z$1.ZodLiteral<"directory">;
|
|
13230
|
+
path: z$1.ZodString;
|
|
13231
|
+
}, z$1.core.$strip>], "kind">>;
|
|
13232
|
+
}, z$1.core.$strip>>;
|
|
13075
13233
|
threadId: z$1.ZodString;
|
|
13076
13234
|
updatedAt: z$1.ZodNumber;
|
|
13077
13235
|
waitingOn: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
@@ -13089,6 +13247,8 @@ declare const sendMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObjec
|
|
|
13089
13247
|
kind: z$1.ZodLiteral<"host-offline">;
|
|
13090
13248
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13091
13249
|
kind: z$1.ZodLiteral<"interaction">;
|
|
13250
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13251
|
+
kind: z$1.ZodLiteral<"app-update">;
|
|
13092
13252
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13093
13253
|
kind: z$1.ZodLiteral<"plugin">;
|
|
13094
13254
|
pluginId: z$1.ZodString;
|
|
@@ -13262,6 +13422,8 @@ declare const retryTurnResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<
|
|
|
13262
13422
|
kind: z$1.ZodLiteral<"host-offline">;
|
|
13263
13423
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13264
13424
|
kind: z$1.ZodLiteral<"interaction">;
|
|
13425
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13426
|
+
kind: z$1.ZodLiteral<"app-update">;
|
|
13265
13427
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13266
13428
|
kind: z$1.ZodLiteral<"plugin">;
|
|
13267
13429
|
pluginId: z$1.ZodString;
|
|
@@ -13656,6 +13818,70 @@ declare const sendQueuedMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.Zo
|
|
|
13656
13818
|
scheduled: "scheduled";
|
|
13657
13819
|
waiting: "waiting";
|
|
13658
13820
|
}>;
|
|
13821
|
+
systemNotice: z$1.ZodNullable<z$1.ZodObject<{
|
|
13822
|
+
kind: z$1.ZodEnum<{
|
|
13823
|
+
"child-completed": "child-completed";
|
|
13824
|
+
"child-failed": "child-failed";
|
|
13825
|
+
"child-interrupted": "child-interrupted";
|
|
13826
|
+
"child-needs-attention": "child-needs-attention";
|
|
13827
|
+
"child-outcome-batch": "child-outcome-batch";
|
|
13828
|
+
"environment-directory-updated": "environment-directory-updated";
|
|
13829
|
+
"ownership-assigned": "ownership-assigned";
|
|
13830
|
+
"ownership-batch": "ownership-batch";
|
|
13831
|
+
"ownership-removed": "ownership-removed";
|
|
13832
|
+
"tool-result-delivered": "tool-result-delivered";
|
|
13833
|
+
unlabeled: "unlabeled";
|
|
13834
|
+
}>;
|
|
13835
|
+
subject: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
13836
|
+
kind: z$1.ZodLiteral<"thread">;
|
|
13837
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
13838
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
13839
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
13840
|
+
reason: z$1.ZodEnum<{
|
|
13841
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
13842
|
+
"host-removed": "host-removed";
|
|
13843
|
+
"manual-stop": "manual-stop";
|
|
13844
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
13845
|
+
}>;
|
|
13846
|
+
}, z$1.core.$strip>>;
|
|
13847
|
+
status: z$1.ZodEnum<{
|
|
13848
|
+
completed: "completed";
|
|
13849
|
+
failed: "failed";
|
|
13850
|
+
interrupted: "interrupted";
|
|
13851
|
+
}>;
|
|
13852
|
+
threadId: z$1.ZodString;
|
|
13853
|
+
}, z$1.core.$strip>>>;
|
|
13854
|
+
threadId: z$1.ZodString;
|
|
13855
|
+
threadName: z$1.ZodString;
|
|
13856
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13857
|
+
count: z$1.ZodNumber;
|
|
13858
|
+
kind: z$1.ZodLiteral<"thread-batch">;
|
|
13859
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
13860
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
13861
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
13862
|
+
reason: z$1.ZodEnum<{
|
|
13863
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
13864
|
+
"host-removed": "host-removed";
|
|
13865
|
+
"manual-stop": "manual-stop";
|
|
13866
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
13867
|
+
}>;
|
|
13868
|
+
}, z$1.core.$strip>>;
|
|
13869
|
+
status: z$1.ZodEnum<{
|
|
13870
|
+
completed: "completed";
|
|
13871
|
+
failed: "failed";
|
|
13872
|
+
interrupted: "interrupted";
|
|
13873
|
+
}>;
|
|
13874
|
+
threadId: z$1.ZodString;
|
|
13875
|
+
}, z$1.core.$strip>>>;
|
|
13876
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13877
|
+
kind: z$1.ZodLiteral<"tool-call">;
|
|
13878
|
+
suppress: z$1.ZodBoolean;
|
|
13879
|
+
toolName: z$1.ZodString;
|
|
13880
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13881
|
+
kind: z$1.ZodLiteral<"directory">;
|
|
13882
|
+
path: z$1.ZodString;
|
|
13883
|
+
}, z$1.core.$strip>], "kind">>;
|
|
13884
|
+
}, z$1.core.$strip>>;
|
|
13659
13885
|
threadId: z$1.ZodString;
|
|
13660
13886
|
updatedAt: z$1.ZodNumber;
|
|
13661
13887
|
waitingOn: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
@@ -13673,6 +13899,8 @@ declare const sendQueuedMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.Zo
|
|
|
13673
13899
|
kind: z$1.ZodLiteral<"host-offline">;
|
|
13674
13900
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13675
13901
|
kind: z$1.ZodLiteral<"interaction">;
|
|
13902
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13903
|
+
kind: z$1.ZodLiteral<"app-update">;
|
|
13676
13904
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13677
13905
|
kind: z$1.ZodLiteral<"plugin">;
|
|
13678
13906
|
pluginId: z$1.ZodString;
|
|
@@ -14653,6 +14881,70 @@ declare const threadQueuedMessageListResponseSchema: z$1.ZodArray<z$1.ZodObject<
|
|
|
14653
14881
|
scheduled: "scheduled";
|
|
14654
14882
|
waiting: "waiting";
|
|
14655
14883
|
}>;
|
|
14884
|
+
systemNotice: z$1.ZodNullable<z$1.ZodObject<{
|
|
14885
|
+
kind: z$1.ZodEnum<{
|
|
14886
|
+
"child-completed": "child-completed";
|
|
14887
|
+
"child-failed": "child-failed";
|
|
14888
|
+
"child-interrupted": "child-interrupted";
|
|
14889
|
+
"child-needs-attention": "child-needs-attention";
|
|
14890
|
+
"child-outcome-batch": "child-outcome-batch";
|
|
14891
|
+
"environment-directory-updated": "environment-directory-updated";
|
|
14892
|
+
"ownership-assigned": "ownership-assigned";
|
|
14893
|
+
"ownership-batch": "ownership-batch";
|
|
14894
|
+
"ownership-removed": "ownership-removed";
|
|
14895
|
+
"tool-result-delivered": "tool-result-delivered";
|
|
14896
|
+
unlabeled: "unlabeled";
|
|
14897
|
+
}>;
|
|
14898
|
+
subject: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
14899
|
+
kind: z$1.ZodLiteral<"thread">;
|
|
14900
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
14901
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
14902
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
14903
|
+
reason: z$1.ZodEnum<{
|
|
14904
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
14905
|
+
"host-removed": "host-removed";
|
|
14906
|
+
"manual-stop": "manual-stop";
|
|
14907
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
14908
|
+
}>;
|
|
14909
|
+
}, z$1.core.$strip>>;
|
|
14910
|
+
status: z$1.ZodEnum<{
|
|
14911
|
+
completed: "completed";
|
|
14912
|
+
failed: "failed";
|
|
14913
|
+
interrupted: "interrupted";
|
|
14914
|
+
}>;
|
|
14915
|
+
threadId: z$1.ZodString;
|
|
14916
|
+
}, z$1.core.$strip>>>;
|
|
14917
|
+
threadId: z$1.ZodString;
|
|
14918
|
+
threadName: z$1.ZodString;
|
|
14919
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14920
|
+
count: z$1.ZodNumber;
|
|
14921
|
+
kind: z$1.ZodLiteral<"thread-batch">;
|
|
14922
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
14923
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
14924
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
14925
|
+
reason: z$1.ZodEnum<{
|
|
14926
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
14927
|
+
"host-removed": "host-removed";
|
|
14928
|
+
"manual-stop": "manual-stop";
|
|
14929
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
14930
|
+
}>;
|
|
14931
|
+
}, z$1.core.$strip>>;
|
|
14932
|
+
status: z$1.ZodEnum<{
|
|
14933
|
+
completed: "completed";
|
|
14934
|
+
failed: "failed";
|
|
14935
|
+
interrupted: "interrupted";
|
|
14936
|
+
}>;
|
|
14937
|
+
threadId: z$1.ZodString;
|
|
14938
|
+
}, z$1.core.$strip>>>;
|
|
14939
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14940
|
+
kind: z$1.ZodLiteral<"tool-call">;
|
|
14941
|
+
suppress: z$1.ZodBoolean;
|
|
14942
|
+
toolName: z$1.ZodString;
|
|
14943
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14944
|
+
kind: z$1.ZodLiteral<"directory">;
|
|
14945
|
+
path: z$1.ZodString;
|
|
14946
|
+
}, z$1.core.$strip>], "kind">>;
|
|
14947
|
+
}, z$1.core.$strip>>;
|
|
14656
14948
|
threadId: z$1.ZodString;
|
|
14657
14949
|
updatedAt: z$1.ZodNumber;
|
|
14658
14950
|
waitingOn: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
@@ -14670,6 +14962,8 @@ declare const threadQueuedMessageListResponseSchema: z$1.ZodArray<z$1.ZodObject<
|
|
|
14670
14962
|
kind: z$1.ZodLiteral<"host-offline">;
|
|
14671
14963
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14672
14964
|
kind: z$1.ZodLiteral<"interaction">;
|
|
14965
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14966
|
+
kind: z$1.ZodLiteral<"app-update">;
|
|
14673
14967
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14674
14968
|
kind: z$1.ZodLiteral<"plugin">;
|
|
14675
14969
|
pluginId: z$1.ZodString;
|
|
@@ -14931,6 +15225,7 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
|
|
|
14931
15225
|
"child-outcome-batch": "child-outcome-batch";
|
|
14932
15226
|
"environment-directory-updated": "environment-directory-updated";
|
|
14933
15227
|
"ownership-assigned": "ownership-assigned";
|
|
15228
|
+
"ownership-batch": "ownership-batch";
|
|
14934
15229
|
"ownership-removed": "ownership-removed";
|
|
14935
15230
|
"tool-result-delivered": "tool-result-delivered";
|
|
14936
15231
|
unlabeled: "unlabeled";
|
|
@@ -15120,6 +15415,7 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
|
|
|
15120
15415
|
"child-outcome-batch": "child-outcome-batch";
|
|
15121
15416
|
"environment-directory-updated": "environment-directory-updated";
|
|
15122
15417
|
"ownership-assigned": "ownership-assigned";
|
|
15418
|
+
"ownership-batch": "ownership-batch";
|
|
15123
15419
|
"ownership-removed": "ownership-removed";
|
|
15124
15420
|
"tool-result-delivered": "tool-result-delivered";
|
|
15125
15421
|
unlabeled: "unlabeled";
|
|
@@ -15309,6 +15605,7 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
|
|
|
15309
15605
|
"child-outcome-batch": "child-outcome-batch";
|
|
15310
15606
|
"environment-directory-updated": "environment-directory-updated";
|
|
15311
15607
|
"ownership-assigned": "ownership-assigned";
|
|
15608
|
+
"ownership-batch": "ownership-batch";
|
|
15312
15609
|
"ownership-removed": "ownership-removed";
|
|
15313
15610
|
"tool-result-delivered": "tool-result-delivered";
|
|
15314
15611
|
unlabeled: "unlabeled";
|
|
@@ -18136,6 +18433,9 @@ interface SystemArea {
|
|
|
18136
18433
|
acknowledgeAppUpdate(args: SystemAcknowledgeAppUpdateArgs): Promise<SystemAppUpdateStatusResult>;
|
|
18137
18434
|
experimental_scheduleAppUpdate(): Promise<SystemAppUpdateStatusResult>;
|
|
18138
18435
|
experimental_cancelScheduledAppUpdate(): Promise<SystemAppUpdateStatusResult>;
|
|
18436
|
+
experimental_setAppUpdateAuto(args: {
|
|
18437
|
+
enabled: boolean;
|
|
18438
|
+
}): Promise<SystemAppUpdateStatusResult>;
|
|
18139
18439
|
experimental_cliCommand(args?: SystemCliCommandArgs): Promise<SystemCliCommandStatusResult>;
|
|
18140
18440
|
experimental_installCliCommand(): Promise<SystemCliCommandStatusResult>;
|
|
18141
18441
|
experimental_removeCliCommand(): Promise<SystemCliCommandStatusResult>;
|
|
@@ -451,6 +451,70 @@ declare const threadQueuedMessageSchema: z.ZodObject<{
|
|
|
451
451
|
scheduled: "scheduled";
|
|
452
452
|
waiting: "waiting";
|
|
453
453
|
}>;
|
|
454
|
+
systemNotice: z.ZodNullable<z.ZodObject<{
|
|
455
|
+
kind: z.ZodEnum<{
|
|
456
|
+
"child-completed": "child-completed";
|
|
457
|
+
"child-failed": "child-failed";
|
|
458
|
+
"child-interrupted": "child-interrupted";
|
|
459
|
+
"child-needs-attention": "child-needs-attention";
|
|
460
|
+
"child-outcome-batch": "child-outcome-batch";
|
|
461
|
+
"environment-directory-updated": "environment-directory-updated";
|
|
462
|
+
"ownership-assigned": "ownership-assigned";
|
|
463
|
+
"ownership-batch": "ownership-batch";
|
|
464
|
+
"ownership-removed": "ownership-removed";
|
|
465
|
+
"tool-result-delivered": "tool-result-delivered";
|
|
466
|
+
unlabeled: "unlabeled";
|
|
467
|
+
}>;
|
|
468
|
+
subject: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
469
|
+
kind: z.ZodLiteral<"thread">;
|
|
470
|
+
outcomes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
471
|
+
interruption: z.ZodOptional<z.ZodObject<{
|
|
472
|
+
cause: z.ZodOptional<z.ZodLiteral<"host-connection-lost">>;
|
|
473
|
+
reason: z.ZodEnum<{
|
|
474
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
475
|
+
"host-removed": "host-removed";
|
|
476
|
+
"manual-stop": "manual-stop";
|
|
477
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
478
|
+
}>;
|
|
479
|
+
}, z.core.$strip>>;
|
|
480
|
+
status: z.ZodEnum<{
|
|
481
|
+
completed: "completed";
|
|
482
|
+
failed: "failed";
|
|
483
|
+
interrupted: "interrupted";
|
|
484
|
+
}>;
|
|
485
|
+
threadId: z.ZodString;
|
|
486
|
+
}, z.core.$strip>>>;
|
|
487
|
+
threadId: z.ZodString;
|
|
488
|
+
threadName: z.ZodString;
|
|
489
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
490
|
+
count: z.ZodNumber;
|
|
491
|
+
kind: z.ZodLiteral<"thread-batch">;
|
|
492
|
+
outcomes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
493
|
+
interruption: z.ZodOptional<z.ZodObject<{
|
|
494
|
+
cause: z.ZodOptional<z.ZodLiteral<"host-connection-lost">>;
|
|
495
|
+
reason: z.ZodEnum<{
|
|
496
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
497
|
+
"host-removed": "host-removed";
|
|
498
|
+
"manual-stop": "manual-stop";
|
|
499
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
500
|
+
}>;
|
|
501
|
+
}, z.core.$strip>>;
|
|
502
|
+
status: z.ZodEnum<{
|
|
503
|
+
completed: "completed";
|
|
504
|
+
failed: "failed";
|
|
505
|
+
interrupted: "interrupted";
|
|
506
|
+
}>;
|
|
507
|
+
threadId: z.ZodString;
|
|
508
|
+
}, z.core.$strip>>>;
|
|
509
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
510
|
+
kind: z.ZodLiteral<"tool-call">;
|
|
511
|
+
suppress: z.ZodBoolean;
|
|
512
|
+
toolName: z.ZodString;
|
|
513
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
514
|
+
kind: z.ZodLiteral<"directory">;
|
|
515
|
+
path: z.ZodString;
|
|
516
|
+
}, z.core.$strip>], "kind">>;
|
|
517
|
+
}, z.core.$strip>>;
|
|
454
518
|
threadId: z.ZodString;
|
|
455
519
|
updatedAt: z.ZodNumber;
|
|
456
520
|
waitingOn: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -468,6 +532,8 @@ declare const threadQueuedMessageSchema: z.ZodObject<{
|
|
|
468
532
|
kind: z.ZodLiteral<"host-offline">;
|
|
469
533
|
}, z.core.$strip>, z.ZodObject<{
|
|
470
534
|
kind: z.ZodLiteral<"interaction">;
|
|
535
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
536
|
+
kind: z.ZodLiteral<"app-update">;
|
|
471
537
|
}, z.core.$strip>, z.ZodObject<{
|
|
472
538
|
kind: z.ZodLiteral<"plugin">;
|
|
473
539
|
pluginId: z.ZodString;
|
|
@@ -1842,6 +1908,7 @@ declare const PLUGIN_PROVIDER_ENV_MAX_ENTRIES = 32;
|
|
|
1842
1908
|
declare function validatePluginProviderEnvEntries(value: unknown): ExperimentalPluginProviderEnvEntry[];
|
|
1843
1909
|
/** Status labels ride on every tool-call event and share one timeline row. */
|
|
1844
1910
|
declare const PLUGIN_AGENT_STATUS_LABEL_MAX_CHARS = 80;
|
|
1911
|
+
declare const PLUGIN_DYNAMIC_INSTRUCTIONS_MAX_CHARS = 32768;
|
|
1845
1912
|
declare const PROVIDER_ID_PATTERN: RegExp;
|
|
1846
1913
|
declare const PLUGIN_PROVIDER_BRIDGE_OPTIONS_MAX_BYTES: number;
|
|
1847
1914
|
declare const SETTING_KEY_PATTERN: RegExp;
|
|
@@ -2173,5 +2240,5 @@ declare function readPluginRpcRefusal(error: unknown): PluginRpcError | null;
|
|
|
2173
2240
|
declare function validateRpcValue(schema: StandardSchemaV1, value: unknown, phase: "input" | "output", fail: (error: PluginRpcError) => never): Promise<unknown>;
|
|
2174
2241
|
declare function normalizeRpcJsonResult(value: unknown, fail: (error: PluginRpcError) => never): JsonValue;
|
|
2175
2242
|
|
|
2176
|
-
export { ENVIRONMENT_PROVIDER_DESCRIPTION_MAX_CHARS, ENVIRONMENT_PROVIDER_DISPLAY_NAME_MAX_CHARS, ENVIRONMENT_PROVIDER_ID_PATTERN, ENVIRONMENT_PROVIDER_REQUIREMENT_NAMES, KV_VALUE_MAX_BYTES, MACHINE_PROVIDER_DESCRIPTION_MAX_CHARS, PLUGIN_AGENT_STATUS_LABEL_MAX_CHARS, PLUGIN_MENTION_TRIGGER_VALUES, PLUGIN_PROVIDER_BRIDGE_OPTIONS_MAX_BYTES, PLUGIN_PROVIDER_COMPOSER_ACTION_VALUES, PLUGIN_PROVIDER_DISPLAY_NAME_MAX_CHARS, PLUGIN_PROVIDER_ENV_MAX_ENTRIES, PLUGIN_PROVIDER_ENV_NAME_PATTERN, PLUGIN_PROVIDER_PERMISSION_MODE_VALUES, PLUGIN_PROVIDER_REASONING_LEVEL_VALUES, PROVIDER_ID_PATTERN, RESERVED_AGENT_TOOL_NAMES, RESERVED_BB_CLI_COMMANDS, SETTING_KEY_PATTERN, adoptHttpRouteResponse, aiServiceAlreadyRegisteredMessage, coerceStoredPluginSettingValue, deriveValidatedProviderOptions, enforcePluginCliOutputLimit, environmentCompositionSchema, isPluginMentionTrigger, isStandardSchema, normalizeAgentToolRegistration, normalizeCliRegistration, normalizeHttpRouteRegistration, normalizeInteractionRequest, normalizeMentionProviderRegistration, normalizePluginAgentConfiguration, normalizeRealtimePayload, normalizeRpcJsonResult, normalizeRpcRegistration, normalizeWebSocketRouteRegistration, parsePluginRowPresentation, pluginCliCollisionWarning, pluginHookAlreadyRegisteredMessage, providerAlreadyRegisteredMessage, providerDeclarationIconRefusal, providerIconRefusalMessage, providerWithoutBridgeMessage, publishRpcMethod, readPluginRpcRefusal, readRpcPublicationOptions, registerSettingDescriptors, runPluginStorageMigrations, storePluginHook, summarizeStandardIssues, undeclaredIconProblem, validateBackgroundServiceRegistration, validatePluginAiServiceDeclaration, validatePluginEnvironmentProviderDeclaration, validatePluginMachineProviderDeclaration, validatePluginProviderDeclaration, validatePluginProviderEnvEntries, validateProviderEnvContribution, validateRpcValue, validateScheduleRegistration, validateServerAccessProviderDeclaration, validateSettingsUpdate };
|
|
2243
|
+
export { ENVIRONMENT_PROVIDER_DESCRIPTION_MAX_CHARS, ENVIRONMENT_PROVIDER_DISPLAY_NAME_MAX_CHARS, ENVIRONMENT_PROVIDER_ID_PATTERN, ENVIRONMENT_PROVIDER_REQUIREMENT_NAMES, KV_VALUE_MAX_BYTES, MACHINE_PROVIDER_DESCRIPTION_MAX_CHARS, PLUGIN_AGENT_STATUS_LABEL_MAX_CHARS, PLUGIN_DYNAMIC_INSTRUCTIONS_MAX_CHARS, PLUGIN_MENTION_TRIGGER_VALUES, PLUGIN_PROVIDER_BRIDGE_OPTIONS_MAX_BYTES, PLUGIN_PROVIDER_COMPOSER_ACTION_VALUES, PLUGIN_PROVIDER_DISPLAY_NAME_MAX_CHARS, PLUGIN_PROVIDER_ENV_MAX_ENTRIES, PLUGIN_PROVIDER_ENV_NAME_PATTERN, PLUGIN_PROVIDER_PERMISSION_MODE_VALUES, PLUGIN_PROVIDER_REASONING_LEVEL_VALUES, PROVIDER_ID_PATTERN, RESERVED_AGENT_TOOL_NAMES, RESERVED_BB_CLI_COMMANDS, SETTING_KEY_PATTERN, adoptHttpRouteResponse, aiServiceAlreadyRegisteredMessage, coerceStoredPluginSettingValue, deriveValidatedProviderOptions, enforcePluginCliOutputLimit, environmentCompositionSchema, isPluginMentionTrigger, isStandardSchema, normalizeAgentToolRegistration, normalizeCliRegistration, normalizeHttpRouteRegistration, normalizeInteractionRequest, normalizeMentionProviderRegistration, normalizePluginAgentConfiguration, normalizeRealtimePayload, normalizeRpcJsonResult, normalizeRpcRegistration, normalizeWebSocketRouteRegistration, parsePluginRowPresentation, pluginCliCollisionWarning, pluginHookAlreadyRegisteredMessage, providerAlreadyRegisteredMessage, providerDeclarationIconRefusal, providerIconRefusalMessage, providerWithoutBridgeMessage, publishRpcMethod, readPluginRpcRefusal, readRpcPublicationOptions, registerSettingDescriptors, runPluginStorageMigrations, storePluginHook, summarizeStandardIssues, undeclaredIconProblem, validateBackgroundServiceRegistration, validatePluginAiServiceDeclaration, validatePluginEnvironmentProviderDeclaration, validatePluginMachineProviderDeclaration, validatePluginProviderDeclaration, validatePluginProviderEnvEntries, validateProviderEnvContribution, validateRpcValue, validateScheduleRegistration, validateServerAccessProviderDeclaration, validateSettingsUpdate };
|
|
2177
2244
|
export type { NormalizedPluginAiService, NormalizedPluginEnvironmentComposition, NormalizedPluginEnvironmentProvider, NormalizedPluginEnvironmentProviderRequirements, NormalizedPluginInteractionRequest, NormalizedPluginMachineProvider, NormalizedPluginProviderDeclaration };
|
|
@@ -3622,6 +3622,7 @@ declare const threadEventSchema: z.ZodUnion<readonly [z.ZodIntersection<z.ZodDis
|
|
|
3622
3622
|
"child-outcome-batch": "child-outcome-batch";
|
|
3623
3623
|
"environment-directory-updated": "environment-directory-updated";
|
|
3624
3624
|
"ownership-assigned": "ownership-assigned";
|
|
3625
|
+
"ownership-batch": "ownership-batch";
|
|
3625
3626
|
"ownership-removed": "ownership-removed";
|
|
3626
3627
|
"tool-result-delivered": "tool-result-delivered";
|
|
3627
3628
|
unlabeled: "unlabeled";
|
|
@@ -505,6 +505,7 @@ declare const changedMessageSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
505
505
|
"queue-changed": "queue-changed";
|
|
506
506
|
"read-state-changed": "read-state-changed";
|
|
507
507
|
"status-changed": "status-changed";
|
|
508
|
+
"storage-changed": "storage-changed";
|
|
508
509
|
"tabs-changed": "tabs-changed";
|
|
509
510
|
"terminals-changed": "terminals-changed";
|
|
510
511
|
"thread-created": "thread-created";
|
|
@@ -571,7 +572,6 @@ declare const changedMessageSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
571
572
|
"git-refs-changed": "git-refs-changed";
|
|
572
573
|
"metadata-changed": "metadata-changed";
|
|
573
574
|
"status-changed": "status-changed";
|
|
574
|
-
"thread-storage-changed": "thread-storage-changed";
|
|
575
575
|
"work-status-changed": "work-status-changed";
|
|
576
576
|
}>>>;
|
|
577
577
|
entity: z$1.ZodLiteral<"environment">;
|
|
@@ -3317,6 +3317,7 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
3317
3317
|
"child-outcome-batch": "child-outcome-batch";
|
|
3318
3318
|
"environment-directory-updated": "environment-directory-updated";
|
|
3319
3319
|
"ownership-assigned": "ownership-assigned";
|
|
3320
|
+
"ownership-batch": "ownership-batch";
|
|
3320
3321
|
"ownership-removed": "ownership-removed";
|
|
3321
3322
|
"tool-result-delivered": "tool-result-delivered";
|
|
3322
3323
|
unlabeled: "unlabeled";
|
|
@@ -4686,6 +4687,70 @@ declare const threadQueuedMessageSchema: z$1.ZodObject<{
|
|
|
4686
4687
|
scheduled: "scheduled";
|
|
4687
4688
|
waiting: "waiting";
|
|
4688
4689
|
}>;
|
|
4690
|
+
systemNotice: z$1.ZodNullable<z$1.ZodObject<{
|
|
4691
|
+
kind: z$1.ZodEnum<{
|
|
4692
|
+
"child-completed": "child-completed";
|
|
4693
|
+
"child-failed": "child-failed";
|
|
4694
|
+
"child-interrupted": "child-interrupted";
|
|
4695
|
+
"child-needs-attention": "child-needs-attention";
|
|
4696
|
+
"child-outcome-batch": "child-outcome-batch";
|
|
4697
|
+
"environment-directory-updated": "environment-directory-updated";
|
|
4698
|
+
"ownership-assigned": "ownership-assigned";
|
|
4699
|
+
"ownership-batch": "ownership-batch";
|
|
4700
|
+
"ownership-removed": "ownership-removed";
|
|
4701
|
+
"tool-result-delivered": "tool-result-delivered";
|
|
4702
|
+
unlabeled: "unlabeled";
|
|
4703
|
+
}>;
|
|
4704
|
+
subject: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
4705
|
+
kind: z$1.ZodLiteral<"thread">;
|
|
4706
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
4707
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
4708
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
4709
|
+
reason: z$1.ZodEnum<{
|
|
4710
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
4711
|
+
"host-removed": "host-removed";
|
|
4712
|
+
"manual-stop": "manual-stop";
|
|
4713
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
4714
|
+
}>;
|
|
4715
|
+
}, z$1.core.$strip>>;
|
|
4716
|
+
status: z$1.ZodEnum<{
|
|
4717
|
+
completed: "completed";
|
|
4718
|
+
failed: "failed";
|
|
4719
|
+
interrupted: "interrupted";
|
|
4720
|
+
}>;
|
|
4721
|
+
threadId: z$1.ZodString;
|
|
4722
|
+
}, z$1.core.$strip>>>;
|
|
4723
|
+
threadId: z$1.ZodString;
|
|
4724
|
+
threadName: z$1.ZodString;
|
|
4725
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
4726
|
+
count: z$1.ZodNumber;
|
|
4727
|
+
kind: z$1.ZodLiteral<"thread-batch">;
|
|
4728
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
4729
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
4730
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
4731
|
+
reason: z$1.ZodEnum<{
|
|
4732
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
4733
|
+
"host-removed": "host-removed";
|
|
4734
|
+
"manual-stop": "manual-stop";
|
|
4735
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
4736
|
+
}>;
|
|
4737
|
+
}, z$1.core.$strip>>;
|
|
4738
|
+
status: z$1.ZodEnum<{
|
|
4739
|
+
completed: "completed";
|
|
4740
|
+
failed: "failed";
|
|
4741
|
+
interrupted: "interrupted";
|
|
4742
|
+
}>;
|
|
4743
|
+
threadId: z$1.ZodString;
|
|
4744
|
+
}, z$1.core.$strip>>>;
|
|
4745
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
4746
|
+
kind: z$1.ZodLiteral<"tool-call">;
|
|
4747
|
+
suppress: z$1.ZodBoolean;
|
|
4748
|
+
toolName: z$1.ZodString;
|
|
4749
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
4750
|
+
kind: z$1.ZodLiteral<"directory">;
|
|
4751
|
+
path: z$1.ZodString;
|
|
4752
|
+
}, z$1.core.$strip>], "kind">>;
|
|
4753
|
+
}, z$1.core.$strip>>;
|
|
4689
4754
|
threadId: z$1.ZodString;
|
|
4690
4755
|
updatedAt: z$1.ZodNumber;
|
|
4691
4756
|
waitingOn: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
@@ -4703,6 +4768,8 @@ declare const threadQueuedMessageSchema: z$1.ZodObject<{
|
|
|
4703
4768
|
kind: z$1.ZodLiteral<"host-offline">;
|
|
4704
4769
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
4705
4770
|
kind: z$1.ZodLiteral<"interaction">;
|
|
4771
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
4772
|
+
kind: z$1.ZodLiteral<"app-update">;
|
|
4706
4773
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
4707
4774
|
kind: z$1.ZodLiteral<"plugin">;
|
|
4708
4775
|
pluginId: z$1.ZodString;
|
|
@@ -7820,6 +7887,25 @@ declare const hostDaemonCommandRegistry: {
|
|
|
7820
7887
|
}, z$1.core.$strip>], "kind">;
|
|
7821
7888
|
originDefaultBranch: z$1.ZodNullable<z$1.ZodString>;
|
|
7822
7889
|
}, z$1.core.$strip>, "onlineRpc", true>;
|
|
7890
|
+
"host.inspect_git_checkout": HostDaemonCommandDescriptor<"host.inspect_git_checkout", z$1.ZodObject<{
|
|
7891
|
+
path: z$1.ZodString;
|
|
7892
|
+
type: z$1.ZodLiteral<"host.inspect_git_checkout">;
|
|
7893
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
7894
|
+
checkout: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
7895
|
+
branchName: z$1.ZodString;
|
|
7896
|
+
headSha: z$1.ZodNullable<z$1.ZodString>;
|
|
7897
|
+
kind: z$1.ZodLiteral<"branch">;
|
|
7898
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
7899
|
+
headSha: z$1.ZodNullable<z$1.ZodString>;
|
|
7900
|
+
kind: z$1.ZodLiteral<"detached">;
|
|
7901
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
7902
|
+
branchName: z$1.ZodNullable<z$1.ZodString>;
|
|
7903
|
+
kind: z$1.ZodLiteral<"unborn">;
|
|
7904
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
7905
|
+
kind: z$1.ZodLiteral<"unknown">;
|
|
7906
|
+
reason: z$1.ZodString;
|
|
7907
|
+
}, z$1.core.$strip>], "kind">;
|
|
7908
|
+
}, z$1.core.$strip>, "onlineRpc", true>;
|
|
7823
7909
|
"host.list_branch_options": HostDaemonCommandDescriptor<"host.list_branch_options", z$1.ZodObject<{
|
|
7824
7910
|
limit: z$1.ZodNumber;
|
|
7825
7911
|
path: z$1.ZodString;
|
|
@@ -9032,6 +9118,7 @@ declare const installedPluginSchema: z$1.ZodObject<{
|
|
|
9032
9118
|
}, z$1.core.$strip>>;
|
|
9033
9119
|
source: z$1.ZodString;
|
|
9034
9120
|
sourceDisplay: z$1.ZodString;
|
|
9121
|
+
sourceNotice: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
|
|
9035
9122
|
status: z$1.ZodEnum<{
|
|
9036
9123
|
"needs-configuration": "needs-configuration";
|
|
9037
9124
|
degraded: "degraded";
|
|
@@ -9156,6 +9243,7 @@ declare const pluginListResponseSchema: z$1.ZodObject<{
|
|
|
9156
9243
|
}, z$1.core.$strip>>;
|
|
9157
9244
|
source: z$1.ZodString;
|
|
9158
9245
|
sourceDisplay: z$1.ZodString;
|
|
9246
|
+
sourceNotice: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
|
|
9159
9247
|
status: z$1.ZodEnum<{
|
|
9160
9248
|
"needs-configuration": "needs-configuration";
|
|
9161
9249
|
degraded: "degraded";
|
|
@@ -9346,6 +9434,7 @@ declare const pluginInstallJobSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
9346
9434
|
}, z$1.core.$strip>>;
|
|
9347
9435
|
source: z$1.ZodString;
|
|
9348
9436
|
sourceDisplay: z$1.ZodString;
|
|
9437
|
+
sourceNotice: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
|
|
9349
9438
|
status: z$1.ZodEnum<{
|
|
9350
9439
|
"needs-configuration": "needs-configuration";
|
|
9351
9440
|
degraded: "degraded";
|
|
@@ -9533,6 +9622,7 @@ declare const pluginReloadResponseSchema: z$1.ZodObject<{
|
|
|
9533
9622
|
}, z$1.core.$strip>>;
|
|
9534
9623
|
source: z$1.ZodString;
|
|
9535
9624
|
sourceDisplay: z$1.ZodString;
|
|
9625
|
+
sourceNotice: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
|
|
9536
9626
|
status: z$1.ZodEnum<{
|
|
9537
9627
|
"needs-configuration": "needs-configuration";
|
|
9538
9628
|
degraded: "degraded";
|
|
@@ -10947,6 +11037,7 @@ declare const systemAppUpdateStatusSchema: z$1.ZodObject<{
|
|
|
10947
11037
|
targetCommit: z$1.ZodNullable<z$1.ZodString>;
|
|
10948
11038
|
targetVersion: z$1.ZodString;
|
|
10949
11039
|
}, z$1.core.$strip>], "phase">;
|
|
11040
|
+
autoUpdate: z$1.ZodBoolean;
|
|
10950
11041
|
available: z$1.ZodNullable<z$1.ZodObject<{
|
|
10951
11042
|
behindSince: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
10952
11043
|
channel: z$1.ZodEnum<{
|
|
@@ -10959,6 +11050,7 @@ declare const systemAppUpdateStatusSchema: z$1.ZodObject<{
|
|
|
10959
11050
|
subjects: z$1.ZodArray<z$1.ZodString>;
|
|
10960
11051
|
version: z$1.ZodString;
|
|
10961
11052
|
}, z$1.core.$strip>>;
|
|
11053
|
+
availableSkipped: z$1.ZodBoolean;
|
|
10962
11054
|
blocked: z$1.ZodNullable<z$1.ZodObject<{
|
|
10963
11055
|
message: z$1.ZodString;
|
|
10964
11056
|
reason: z$1.ZodEnum<{
|
|
@@ -11001,6 +11093,7 @@ declare const systemAppUpdateStatusSchema: z$1.ZodObject<{
|
|
|
11001
11093
|
runningThreadCount: z$1.ZodNumber;
|
|
11002
11094
|
scheduled: z$1.ZodNullable<z$1.ZodObject<{
|
|
11003
11095
|
requestedAt: z$1.ZodString;
|
|
11096
|
+
requiredIdleMs: z$1.ZodNumber;
|
|
11004
11097
|
}, z$1.core.$strip>>;
|
|
11005
11098
|
support: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
11006
11099
|
kind: z$1.ZodLiteral<"supported">;
|
|
@@ -11446,6 +11539,7 @@ declare const timelineConversationRowSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodO
|
|
|
11446
11539
|
"child-outcome-batch": "child-outcome-batch";
|
|
11447
11540
|
"environment-directory-updated": "environment-directory-updated";
|
|
11448
11541
|
"ownership-assigned": "ownership-assigned";
|
|
11542
|
+
"ownership-batch": "ownership-batch";
|
|
11449
11543
|
"ownership-removed": "ownership-removed";
|
|
11450
11544
|
"tool-result-delivered": "tool-result-delivered";
|
|
11451
11545
|
unlabeled: "unlabeled";
|
|
@@ -13288,6 +13382,70 @@ declare const sendMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObjec
|
|
|
13288
13382
|
scheduled: "scheduled";
|
|
13289
13383
|
waiting: "waiting";
|
|
13290
13384
|
}>;
|
|
13385
|
+
systemNotice: z$1.ZodNullable<z$1.ZodObject<{
|
|
13386
|
+
kind: z$1.ZodEnum<{
|
|
13387
|
+
"child-completed": "child-completed";
|
|
13388
|
+
"child-failed": "child-failed";
|
|
13389
|
+
"child-interrupted": "child-interrupted";
|
|
13390
|
+
"child-needs-attention": "child-needs-attention";
|
|
13391
|
+
"child-outcome-batch": "child-outcome-batch";
|
|
13392
|
+
"environment-directory-updated": "environment-directory-updated";
|
|
13393
|
+
"ownership-assigned": "ownership-assigned";
|
|
13394
|
+
"ownership-batch": "ownership-batch";
|
|
13395
|
+
"ownership-removed": "ownership-removed";
|
|
13396
|
+
"tool-result-delivered": "tool-result-delivered";
|
|
13397
|
+
unlabeled: "unlabeled";
|
|
13398
|
+
}>;
|
|
13399
|
+
subject: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
13400
|
+
kind: z$1.ZodLiteral<"thread">;
|
|
13401
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
13402
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
13403
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
13404
|
+
reason: z$1.ZodEnum<{
|
|
13405
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
13406
|
+
"host-removed": "host-removed";
|
|
13407
|
+
"manual-stop": "manual-stop";
|
|
13408
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
13409
|
+
}>;
|
|
13410
|
+
}, z$1.core.$strip>>;
|
|
13411
|
+
status: z$1.ZodEnum<{
|
|
13412
|
+
completed: "completed";
|
|
13413
|
+
failed: "failed";
|
|
13414
|
+
interrupted: "interrupted";
|
|
13415
|
+
}>;
|
|
13416
|
+
threadId: z$1.ZodString;
|
|
13417
|
+
}, z$1.core.$strip>>>;
|
|
13418
|
+
threadId: z$1.ZodString;
|
|
13419
|
+
threadName: z$1.ZodString;
|
|
13420
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13421
|
+
count: z$1.ZodNumber;
|
|
13422
|
+
kind: z$1.ZodLiteral<"thread-batch">;
|
|
13423
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
13424
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
13425
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
13426
|
+
reason: z$1.ZodEnum<{
|
|
13427
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
13428
|
+
"host-removed": "host-removed";
|
|
13429
|
+
"manual-stop": "manual-stop";
|
|
13430
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
13431
|
+
}>;
|
|
13432
|
+
}, z$1.core.$strip>>;
|
|
13433
|
+
status: z$1.ZodEnum<{
|
|
13434
|
+
completed: "completed";
|
|
13435
|
+
failed: "failed";
|
|
13436
|
+
interrupted: "interrupted";
|
|
13437
|
+
}>;
|
|
13438
|
+
threadId: z$1.ZodString;
|
|
13439
|
+
}, z$1.core.$strip>>>;
|
|
13440
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13441
|
+
kind: z$1.ZodLiteral<"tool-call">;
|
|
13442
|
+
suppress: z$1.ZodBoolean;
|
|
13443
|
+
toolName: z$1.ZodString;
|
|
13444
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13445
|
+
kind: z$1.ZodLiteral<"directory">;
|
|
13446
|
+
path: z$1.ZodString;
|
|
13447
|
+
}, z$1.core.$strip>], "kind">>;
|
|
13448
|
+
}, z$1.core.$strip>>;
|
|
13291
13449
|
threadId: z$1.ZodString;
|
|
13292
13450
|
updatedAt: z$1.ZodNumber;
|
|
13293
13451
|
waitingOn: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
@@ -13305,6 +13463,8 @@ declare const sendMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObjec
|
|
|
13305
13463
|
kind: z$1.ZodLiteral<"host-offline">;
|
|
13306
13464
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13307
13465
|
kind: z$1.ZodLiteral<"interaction">;
|
|
13466
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13467
|
+
kind: z$1.ZodLiteral<"app-update">;
|
|
13308
13468
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13309
13469
|
kind: z$1.ZodLiteral<"plugin">;
|
|
13310
13470
|
pluginId: z$1.ZodString;
|
|
@@ -13478,6 +13638,8 @@ declare const retryTurnResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<
|
|
|
13478
13638
|
kind: z$1.ZodLiteral<"host-offline">;
|
|
13479
13639
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13480
13640
|
kind: z$1.ZodLiteral<"interaction">;
|
|
13641
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13642
|
+
kind: z$1.ZodLiteral<"app-update">;
|
|
13481
13643
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13482
13644
|
kind: z$1.ZodLiteral<"plugin">;
|
|
13483
13645
|
pluginId: z$1.ZodString;
|
|
@@ -13872,6 +14034,70 @@ declare const sendQueuedMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.Zo
|
|
|
13872
14034
|
scheduled: "scheduled";
|
|
13873
14035
|
waiting: "waiting";
|
|
13874
14036
|
}>;
|
|
14037
|
+
systemNotice: z$1.ZodNullable<z$1.ZodObject<{
|
|
14038
|
+
kind: z$1.ZodEnum<{
|
|
14039
|
+
"child-completed": "child-completed";
|
|
14040
|
+
"child-failed": "child-failed";
|
|
14041
|
+
"child-interrupted": "child-interrupted";
|
|
14042
|
+
"child-needs-attention": "child-needs-attention";
|
|
14043
|
+
"child-outcome-batch": "child-outcome-batch";
|
|
14044
|
+
"environment-directory-updated": "environment-directory-updated";
|
|
14045
|
+
"ownership-assigned": "ownership-assigned";
|
|
14046
|
+
"ownership-batch": "ownership-batch";
|
|
14047
|
+
"ownership-removed": "ownership-removed";
|
|
14048
|
+
"tool-result-delivered": "tool-result-delivered";
|
|
14049
|
+
unlabeled: "unlabeled";
|
|
14050
|
+
}>;
|
|
14051
|
+
subject: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
14052
|
+
kind: z$1.ZodLiteral<"thread">;
|
|
14053
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
14054
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
14055
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
14056
|
+
reason: z$1.ZodEnum<{
|
|
14057
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
14058
|
+
"host-removed": "host-removed";
|
|
14059
|
+
"manual-stop": "manual-stop";
|
|
14060
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
14061
|
+
}>;
|
|
14062
|
+
}, z$1.core.$strip>>;
|
|
14063
|
+
status: z$1.ZodEnum<{
|
|
14064
|
+
completed: "completed";
|
|
14065
|
+
failed: "failed";
|
|
14066
|
+
interrupted: "interrupted";
|
|
14067
|
+
}>;
|
|
14068
|
+
threadId: z$1.ZodString;
|
|
14069
|
+
}, z$1.core.$strip>>>;
|
|
14070
|
+
threadId: z$1.ZodString;
|
|
14071
|
+
threadName: z$1.ZodString;
|
|
14072
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14073
|
+
count: z$1.ZodNumber;
|
|
14074
|
+
kind: z$1.ZodLiteral<"thread-batch">;
|
|
14075
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
14076
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
14077
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
14078
|
+
reason: z$1.ZodEnum<{
|
|
14079
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
14080
|
+
"host-removed": "host-removed";
|
|
14081
|
+
"manual-stop": "manual-stop";
|
|
14082
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
14083
|
+
}>;
|
|
14084
|
+
}, z$1.core.$strip>>;
|
|
14085
|
+
status: z$1.ZodEnum<{
|
|
14086
|
+
completed: "completed";
|
|
14087
|
+
failed: "failed";
|
|
14088
|
+
interrupted: "interrupted";
|
|
14089
|
+
}>;
|
|
14090
|
+
threadId: z$1.ZodString;
|
|
14091
|
+
}, z$1.core.$strip>>>;
|
|
14092
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14093
|
+
kind: z$1.ZodLiteral<"tool-call">;
|
|
14094
|
+
suppress: z$1.ZodBoolean;
|
|
14095
|
+
toolName: z$1.ZodString;
|
|
14096
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14097
|
+
kind: z$1.ZodLiteral<"directory">;
|
|
14098
|
+
path: z$1.ZodString;
|
|
14099
|
+
}, z$1.core.$strip>], "kind">>;
|
|
14100
|
+
}, z$1.core.$strip>>;
|
|
13875
14101
|
threadId: z$1.ZodString;
|
|
13876
14102
|
updatedAt: z$1.ZodNumber;
|
|
13877
14103
|
waitingOn: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
@@ -13889,6 +14115,8 @@ declare const sendQueuedMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.Zo
|
|
|
13889
14115
|
kind: z$1.ZodLiteral<"host-offline">;
|
|
13890
14116
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13891
14117
|
kind: z$1.ZodLiteral<"interaction">;
|
|
14118
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14119
|
+
kind: z$1.ZodLiteral<"app-update">;
|
|
13892
14120
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13893
14121
|
kind: z$1.ZodLiteral<"plugin">;
|
|
13894
14122
|
pluginId: z$1.ZodString;
|
|
@@ -14869,6 +15097,70 @@ declare const threadQueuedMessageListResponseSchema: z$1.ZodArray<z$1.ZodObject<
|
|
|
14869
15097
|
scheduled: "scheduled";
|
|
14870
15098
|
waiting: "waiting";
|
|
14871
15099
|
}>;
|
|
15100
|
+
systemNotice: z$1.ZodNullable<z$1.ZodObject<{
|
|
15101
|
+
kind: z$1.ZodEnum<{
|
|
15102
|
+
"child-completed": "child-completed";
|
|
15103
|
+
"child-failed": "child-failed";
|
|
15104
|
+
"child-interrupted": "child-interrupted";
|
|
15105
|
+
"child-needs-attention": "child-needs-attention";
|
|
15106
|
+
"child-outcome-batch": "child-outcome-batch";
|
|
15107
|
+
"environment-directory-updated": "environment-directory-updated";
|
|
15108
|
+
"ownership-assigned": "ownership-assigned";
|
|
15109
|
+
"ownership-batch": "ownership-batch";
|
|
15110
|
+
"ownership-removed": "ownership-removed";
|
|
15111
|
+
"tool-result-delivered": "tool-result-delivered";
|
|
15112
|
+
unlabeled: "unlabeled";
|
|
15113
|
+
}>;
|
|
15114
|
+
subject: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
15115
|
+
kind: z$1.ZodLiteral<"thread">;
|
|
15116
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
15117
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
15118
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
15119
|
+
reason: z$1.ZodEnum<{
|
|
15120
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
15121
|
+
"host-removed": "host-removed";
|
|
15122
|
+
"manual-stop": "manual-stop";
|
|
15123
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
15124
|
+
}>;
|
|
15125
|
+
}, z$1.core.$strip>>;
|
|
15126
|
+
status: z$1.ZodEnum<{
|
|
15127
|
+
completed: "completed";
|
|
15128
|
+
failed: "failed";
|
|
15129
|
+
interrupted: "interrupted";
|
|
15130
|
+
}>;
|
|
15131
|
+
threadId: z$1.ZodString;
|
|
15132
|
+
}, z$1.core.$strip>>>;
|
|
15133
|
+
threadId: z$1.ZodString;
|
|
15134
|
+
threadName: z$1.ZodString;
|
|
15135
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15136
|
+
count: z$1.ZodNumber;
|
|
15137
|
+
kind: z$1.ZodLiteral<"thread-batch">;
|
|
15138
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
15139
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
15140
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
15141
|
+
reason: z$1.ZodEnum<{
|
|
15142
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
15143
|
+
"host-removed": "host-removed";
|
|
15144
|
+
"manual-stop": "manual-stop";
|
|
15145
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
15146
|
+
}>;
|
|
15147
|
+
}, z$1.core.$strip>>;
|
|
15148
|
+
status: z$1.ZodEnum<{
|
|
15149
|
+
completed: "completed";
|
|
15150
|
+
failed: "failed";
|
|
15151
|
+
interrupted: "interrupted";
|
|
15152
|
+
}>;
|
|
15153
|
+
threadId: z$1.ZodString;
|
|
15154
|
+
}, z$1.core.$strip>>>;
|
|
15155
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15156
|
+
kind: z$1.ZodLiteral<"tool-call">;
|
|
15157
|
+
suppress: z$1.ZodBoolean;
|
|
15158
|
+
toolName: z$1.ZodString;
|
|
15159
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15160
|
+
kind: z$1.ZodLiteral<"directory">;
|
|
15161
|
+
path: z$1.ZodString;
|
|
15162
|
+
}, z$1.core.$strip>], "kind">>;
|
|
15163
|
+
}, z$1.core.$strip>>;
|
|
14872
15164
|
threadId: z$1.ZodString;
|
|
14873
15165
|
updatedAt: z$1.ZodNumber;
|
|
14874
15166
|
waitingOn: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
@@ -14886,6 +15178,8 @@ declare const threadQueuedMessageListResponseSchema: z$1.ZodArray<z$1.ZodObject<
|
|
|
14886
15178
|
kind: z$1.ZodLiteral<"host-offline">;
|
|
14887
15179
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14888
15180
|
kind: z$1.ZodLiteral<"interaction">;
|
|
15181
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15182
|
+
kind: z$1.ZodLiteral<"app-update">;
|
|
14889
15183
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14890
15184
|
kind: z$1.ZodLiteral<"plugin">;
|
|
14891
15185
|
pluginId: z$1.ZodString;
|
|
@@ -15147,6 +15441,7 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
|
|
|
15147
15441
|
"child-outcome-batch": "child-outcome-batch";
|
|
15148
15442
|
"environment-directory-updated": "environment-directory-updated";
|
|
15149
15443
|
"ownership-assigned": "ownership-assigned";
|
|
15444
|
+
"ownership-batch": "ownership-batch";
|
|
15150
15445
|
"ownership-removed": "ownership-removed";
|
|
15151
15446
|
"tool-result-delivered": "tool-result-delivered";
|
|
15152
15447
|
unlabeled: "unlabeled";
|
|
@@ -15336,6 +15631,7 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
|
|
|
15336
15631
|
"child-outcome-batch": "child-outcome-batch";
|
|
15337
15632
|
"environment-directory-updated": "environment-directory-updated";
|
|
15338
15633
|
"ownership-assigned": "ownership-assigned";
|
|
15634
|
+
"ownership-batch": "ownership-batch";
|
|
15339
15635
|
"ownership-removed": "ownership-removed";
|
|
15340
15636
|
"tool-result-delivered": "tool-result-delivered";
|
|
15341
15637
|
unlabeled: "unlabeled";
|
|
@@ -15525,6 +15821,7 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
|
|
|
15525
15821
|
"child-outcome-batch": "child-outcome-batch";
|
|
15526
15822
|
"environment-directory-updated": "environment-directory-updated";
|
|
15527
15823
|
"ownership-assigned": "ownership-assigned";
|
|
15824
|
+
"ownership-batch": "ownership-batch";
|
|
15528
15825
|
"ownership-removed": "ownership-removed";
|
|
15529
15826
|
"tool-result-delivered": "tool-result-delivered";
|
|
15530
15827
|
unlabeled: "unlabeled";
|
|
@@ -18363,6 +18660,9 @@ interface SystemArea {
|
|
|
18363
18660
|
acknowledgeAppUpdate(args: SystemAcknowledgeAppUpdateArgs): Promise<SystemAppUpdateStatusResult>;
|
|
18364
18661
|
experimental_scheduleAppUpdate(): Promise<SystemAppUpdateStatusResult>;
|
|
18365
18662
|
experimental_cancelScheduledAppUpdate(): Promise<SystemAppUpdateStatusResult>;
|
|
18663
|
+
experimental_setAppUpdateAuto(args: {
|
|
18664
|
+
enabled: boolean;
|
|
18665
|
+
}): Promise<SystemAppUpdateStatusResult>;
|
|
18366
18666
|
experimental_cliCommand(args?: SystemCliCommandArgs): Promise<SystemCliCommandStatusResult>;
|
|
18367
18667
|
experimental_installCliCommand(): Promise<SystemCliCommandStatusResult>;
|
|
18368
18668
|
experimental_removeCliCommand(): Promise<SystemCliCommandStatusResult>;
|
|
@@ -20474,7 +20774,7 @@ interface PluginAgentConfiguration {
|
|
|
20474
20774
|
/** Skill frontmatter names from this plugin's manifest skill roots.
|
|
20475
20775
|
* Duplicate or unknown names reject this plugin's complete selection. */
|
|
20476
20776
|
skills: string[];
|
|
20477
|
-
/** Optional dynamic instructions. Output is truncated to
|
|
20777
|
+
/** Optional dynamic instructions. Output is truncated to 32768 characters. */
|
|
20478
20778
|
instructions?: string;
|
|
20479
20779
|
}
|
|
20480
20780
|
/**
|
|
@@ -20891,7 +21191,7 @@ interface PluginAgents {
|
|
|
20891
21191
|
* provider session is next constructed (thread start or resume after a
|
|
20892
21192
|
* daemon restart, environment switch, or provider restart), never
|
|
20893
21193
|
* mid-session. Must be synchronous and fast — it sits on the
|
|
20894
|
-
* thread-start path. Output longer than
|
|
21194
|
+
* thread-start path. Output longer than 32768 characters is truncated; a
|
|
20895
21195
|
* throwing provider is logged against the plugin and contributes nothing.
|
|
20896
21196
|
* A repeated registration within one factory execution is rejected.
|
|
20897
21197
|
*/
|
|
@@ -350,7 +350,7 @@ function validatePluginProviderEnvEntries(value) {
|
|
|
350
350
|
var PLUGIN_AGENT_STATIC_INSTRUCTIONS_MAX_CHARS = 4096;
|
|
351
351
|
var PLUGIN_AGENT_STATUS_LABEL_MAX_CHARS = 80;
|
|
352
352
|
var PLUGIN_AGENT_SELECTION_MAX_IDS = 256;
|
|
353
|
-
var
|
|
353
|
+
var PLUGIN_DYNAMIC_INSTRUCTIONS_MAX_CHARS = 32768;
|
|
354
354
|
var PLUGIN_AGENT_TOOL_PARAMETERS_MAX_BYTES = 128 * 1024;
|
|
355
355
|
var MENTION_PROVIDER_ID_PATTERN = /^[a-zA-Z0-9_-]+$/;
|
|
356
356
|
var PROVIDER_ID_PATTERN = /^[a-z0-9][a-z0-9-]{1,63}$/;
|
|
@@ -2693,10 +2693,7 @@ function normalizePluginAgentConfiguration(args) {
|
|
|
2693
2693
|
if (output.instructions !== void 0 && typeof output.instructions !== "string") {
|
|
2694
2694
|
throw new Error("configure() output.instructions must be a string");
|
|
2695
2695
|
}
|
|
2696
|
-
const instructions = typeof output.instructions === "string" && output.instructions.trim().length > 0 ? output.instructions.slice(
|
|
2697
|
-
0,
|
|
2698
|
-
PLUGIN_AGENT_DYNAMIC_INSTRUCTIONS_MAX_CHARS
|
|
2699
|
-
) : null;
|
|
2696
|
+
const instructions = typeof output.instructions === "string" && output.instructions.trim().length > 0 ? output.instructions.slice(0, PLUGIN_DYNAMIC_INSTRUCTIONS_MAX_CHARS) : null;
|
|
2700
2697
|
const toolSelections = normalizePluginAgentToolSelections({
|
|
2701
2698
|
knownIds: args.knownToolIds,
|
|
2702
2699
|
pluginId: args.pluginId,
|
|
@@ -2832,6 +2829,7 @@ export {
|
|
|
2832
2829
|
KV_VALUE_MAX_BYTES,
|
|
2833
2830
|
MACHINE_PROVIDER_DESCRIPTION_MAX_CHARS,
|
|
2834
2831
|
PLUGIN_AGENT_STATUS_LABEL_MAX_CHARS,
|
|
2832
|
+
PLUGIN_DYNAMIC_INSTRUCTIONS_MAX_CHARS,
|
|
2835
2833
|
PLUGIN_MENTION_TRIGGER_VALUES,
|
|
2836
2834
|
PLUGIN_PROVIDER_BRIDGE_OPTIONS_MAX_BYTES,
|
|
2837
2835
|
PLUGIN_PROVIDER_COMPOSER_ACTION_VALUES,
|
|
@@ -1696,6 +1696,7 @@ import { z as z8 } from "zod";
|
|
|
1696
1696
|
var systemMessageKindValues = [
|
|
1697
1697
|
"ownership-assigned",
|
|
1698
1698
|
"ownership-removed",
|
|
1699
|
+
"ownership-batch",
|
|
1699
1700
|
"child-needs-attention",
|
|
1700
1701
|
"child-completed",
|
|
1701
1702
|
"child-failed",
|
|
@@ -1752,6 +1753,7 @@ var queuedMessageWaitingOnKindValues = [
|
|
|
1752
1753
|
"provisioning",
|
|
1753
1754
|
"host-offline",
|
|
1754
1755
|
"interaction",
|
|
1756
|
+
"app-update",
|
|
1755
1757
|
"plugin",
|
|
1756
1758
|
"superseded"
|
|
1757
1759
|
];
|
|
@@ -1772,6 +1774,7 @@ var queuedMessageWaitingOnSchema = z9.discriminatedUnion("kind", [
|
|
|
1772
1774
|
hostName: queuedMessageWaitHostNameSchema
|
|
1773
1775
|
}),
|
|
1774
1776
|
z9.object({ kind: z9.literal("interaction") }),
|
|
1777
|
+
z9.object({ kind: z9.literal("app-update") }),
|
|
1775
1778
|
z9.object({
|
|
1776
1779
|
kind: z9.literal("plugin"),
|
|
1777
1780
|
pluginId: pluginIdSchema,
|
|
@@ -1933,6 +1936,7 @@ var threadQueuedMessageSchema = z16.object({
|
|
|
1933
1936
|
*/
|
|
1934
1937
|
failureReason: queuedMessageFailureReasonSchema.nullable(),
|
|
1935
1938
|
payload: queuedMessagePayloadSchema,
|
|
1939
|
+
systemNotice: queuedMessageSystemNoticeSchema.nullable(),
|
|
1936
1940
|
/**
|
|
1937
1941
|
* Whether the sender may still rewrite this row's input. Not derivable from
|
|
1938
1942
|
* `payload` alone: a `retry` row is never editable, and an `inline` row
|
|
@@ -2005,7 +2009,8 @@ var THREAD_CHANGE_KINDS = [
|
|
|
2005
2009
|
"environment-changed",
|
|
2006
2010
|
"read-state-changed",
|
|
2007
2011
|
"tabs-changed",
|
|
2008
|
-
"terminals-changed"
|
|
2012
|
+
"terminals-changed",
|
|
2013
|
+
"storage-changed"
|
|
2009
2014
|
];
|
|
2010
2015
|
var PROJECT_CHANGE_KINDS = [
|
|
2011
2016
|
"project-created",
|
|
@@ -2021,8 +2026,7 @@ var ENVIRONMENT_CHANGE_KINDS = [
|
|
|
2021
2026
|
"metadata-changed",
|
|
2022
2027
|
"status-changed",
|
|
2023
2028
|
"work-status-changed",
|
|
2024
|
-
"git-refs-changed"
|
|
2025
|
-
"thread-storage-changed"
|
|
2029
|
+
"git-refs-changed"
|
|
2026
2030
|
];
|
|
2027
2031
|
var HOST_CHANGE_KINDS = [
|
|
2028
2032
|
"host-connected",
|
package/dist/provider-bridge.js
CHANGED
package/dist/testing/app.js
CHANGED
|
@@ -1699,6 +1699,7 @@ import { z as z8 } from "zod";
|
|
|
1699
1699
|
var systemMessageKindValues = [
|
|
1700
1700
|
"ownership-assigned",
|
|
1701
1701
|
"ownership-removed",
|
|
1702
|
+
"ownership-batch",
|
|
1702
1703
|
"child-needs-attention",
|
|
1703
1704
|
"child-completed",
|
|
1704
1705
|
"child-failed",
|
|
@@ -1755,6 +1756,7 @@ var queuedMessageWaitingOnKindValues = [
|
|
|
1755
1756
|
"provisioning",
|
|
1756
1757
|
"host-offline",
|
|
1757
1758
|
"interaction",
|
|
1759
|
+
"app-update",
|
|
1758
1760
|
"plugin",
|
|
1759
1761
|
"superseded"
|
|
1760
1762
|
];
|
|
@@ -1775,6 +1777,7 @@ var queuedMessageWaitingOnSchema = z9.discriminatedUnion("kind", [
|
|
|
1775
1777
|
hostName: queuedMessageWaitHostNameSchema
|
|
1776
1778
|
}),
|
|
1777
1779
|
z9.object({ kind: z9.literal("interaction") }),
|
|
1780
|
+
z9.object({ kind: z9.literal("app-update") }),
|
|
1778
1781
|
z9.object({
|
|
1779
1782
|
kind: z9.literal("plugin"),
|
|
1780
1783
|
pluginId: pluginIdSchema,
|
|
@@ -1936,6 +1939,7 @@ var threadQueuedMessageSchema = z16.object({
|
|
|
1936
1939
|
*/
|
|
1937
1940
|
failureReason: queuedMessageFailureReasonSchema.nullable(),
|
|
1938
1941
|
payload: queuedMessagePayloadSchema,
|
|
1942
|
+
systemNotice: queuedMessageSystemNoticeSchema.nullable(),
|
|
1939
1943
|
/**
|
|
1940
1944
|
* Whether the sender may still rewrite this row's input. Not derivable from
|
|
1941
1945
|
* `payload` alone: a `retry` row is never editable, and an `inline` row
|
|
@@ -2008,7 +2012,8 @@ var THREAD_CHANGE_KINDS = [
|
|
|
2008
2012
|
"environment-changed",
|
|
2009
2013
|
"read-state-changed",
|
|
2010
2014
|
"tabs-changed",
|
|
2011
|
-
"terminals-changed"
|
|
2015
|
+
"terminals-changed",
|
|
2016
|
+
"storage-changed"
|
|
2012
2017
|
];
|
|
2013
2018
|
var PROJECT_CHANGE_KINDS = [
|
|
2014
2019
|
"project-created",
|
|
@@ -2024,8 +2029,7 @@ var ENVIRONMENT_CHANGE_KINDS = [
|
|
|
2024
2029
|
"metadata-changed",
|
|
2025
2030
|
"status-changed",
|
|
2026
2031
|
"work-status-changed",
|
|
2027
|
-
"git-refs-changed"
|
|
2028
|
-
"thread-storage-changed"
|
|
2032
|
+
"git-refs-changed"
|
|
2029
2033
|
];
|
|
2030
2034
|
var HOST_CHANGE_KINDS = [
|
|
2031
2035
|
"host-connected",
|
package/dist/testing/index.js
CHANGED
|
@@ -491,7 +491,7 @@ function validatePluginProviderEnvEntries(value) {
|
|
|
491
491
|
var PLUGIN_AGENT_STATIC_INSTRUCTIONS_MAX_CHARS = 4096;
|
|
492
492
|
var PLUGIN_AGENT_STATUS_LABEL_MAX_CHARS = 80;
|
|
493
493
|
var PLUGIN_AGENT_SELECTION_MAX_IDS = 256;
|
|
494
|
-
var
|
|
494
|
+
var PLUGIN_DYNAMIC_INSTRUCTIONS_MAX_CHARS = 32768;
|
|
495
495
|
var PLUGIN_AGENT_TOOL_PARAMETERS_MAX_BYTES = 128 * 1024;
|
|
496
496
|
var MENTION_PROVIDER_ID_PATTERN = /^[a-zA-Z0-9_-]+$/;
|
|
497
497
|
var PROVIDER_ID_PATTERN = /^[a-z0-9][a-z0-9-]{1,63}$/;
|
|
@@ -2814,10 +2814,7 @@ function normalizePluginAgentConfiguration(args) {
|
|
|
2814
2814
|
if (output.instructions !== void 0 && typeof output.instructions !== "string") {
|
|
2815
2815
|
throw new Error("configure() output.instructions must be a string");
|
|
2816
2816
|
}
|
|
2817
|
-
const instructions = typeof output.instructions === "string" && output.instructions.trim().length > 0 ? output.instructions.slice(
|
|
2818
|
-
0,
|
|
2819
|
-
PLUGIN_AGENT_DYNAMIC_INSTRUCTIONS_MAX_CHARS
|
|
2820
|
-
) : null;
|
|
2817
|
+
const instructions = typeof output.instructions === "string" && output.instructions.trim().length > 0 ? output.instructions.slice(0, PLUGIN_DYNAMIC_INSTRUCTIONS_MAX_CHARS) : null;
|
|
2821
2818
|
const toolSelections = normalizePluginAgentToolSelections({
|
|
2822
2819
|
knownIds: args.knownToolIds,
|
|
2823
2820
|
pluginId: args.pluginId,
|
|
@@ -4739,6 +4736,7 @@ function makeQueueEntry(overrides = {}) {
|
|
|
4739
4736
|
},
|
|
4740
4737
|
failureReason: null,
|
|
4741
4738
|
payload: { kind: "inline" },
|
|
4739
|
+
systemNotice: null,
|
|
4742
4740
|
editable: true,
|
|
4743
4741
|
createdAt: 0,
|
|
4744
4742
|
updatedAt: 0,
|