@dotcraft/sdk 0.14.4 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/dist/client.d.ts.map +1 -1
  2. package/dist/client.js +0 -1
  3. package/dist/client.js.map +1 -1
  4. package/dist/dotcraft.d.ts +1 -102
  5. package/dist/dotcraft.d.ts.map +1 -1
  6. package/dist/dotcraft.js +0 -191
  7. package/dist/dotcraft.js.map +1 -1
  8. package/dist/dotcraft.test.js +1 -82
  9. package/dist/dotcraft.test.js.map +1 -1
  10. package/dist/generated/appserver/client-requests.generated.d.ts +0 -104
  11. package/dist/generated/appserver/client-requests.generated.d.ts.map +1 -1
  12. package/dist/generated/appserver/method-groups.generated.d.ts +4 -4
  13. package/dist/generated/appserver/method-groups.generated.d.ts.map +1 -1
  14. package/dist/generated/appserver/method-groups.generated.js +5 -38
  15. package/dist/generated/appserver/method-groups.generated.js.map +1 -1
  16. package/dist/generated/appserver/models.generated.d.ts +33 -549
  17. package/dist/generated/appserver/models.generated.d.ts.map +1 -1
  18. package/dist/generated/appserver/protocol-info.generated.d.ts +2 -2
  19. package/dist/generated/appserver/protocol-info.generated.js +2 -2
  20. package/dist/generated/appserver/server-notifications.generated.d.ts +0 -20
  21. package/dist/generated/appserver/server-notifications.generated.d.ts.map +1 -1
  22. package/dist/generated/appserver/server-requests.generated.d.ts +9 -17
  23. package/dist/generated/appserver/server-requests.generated.d.ts.map +1 -1
  24. package/dist/publicApi.test.js +2 -3
  25. package/dist/publicApi.test.js.map +1 -1
  26. package/package.json +1 -5
  27. package/dist/app-binding.d.ts +0 -4
  28. package/dist/app-binding.d.ts.map +0 -1
  29. package/dist/app-binding.js +0 -2
  30. package/dist/app-binding.js.map +0 -1
@@ -2,6 +2,11 @@ export type JsonPrimitive = null | boolean | number | string;
2
2
  export type JsonValue = JsonPrimitive | JsonValue[] | {
3
3
  [key: string]: JsonValue;
4
4
  };
5
+ export interface AcpEnvVariable {
6
+ name?: string;
7
+ value?: string;
8
+ [key: string]: unknown;
9
+ }
5
10
  export interface AcpExtensionCapability {
6
11
  extensions?: string[] | null;
7
12
  fsReadTextFile?: boolean | null;
@@ -11,7 +16,7 @@ export interface AcpExtensionCapability {
11
16
  }
12
17
  export interface AcpFsReadTextFileParams {
13
18
  limit?: number | null;
14
- offset?: number | null;
19
+ line?: number | null;
15
20
  path?: string;
16
21
  threadId?: string;
17
22
  [key: string]: unknown;
@@ -26,14 +31,12 @@ export interface AcpFsWriteTextFileParams {
26
31
  threadId?: string;
27
32
  [key: string]: unknown;
28
33
  }
29
- export interface AcpFsWriteTextFileResult {
30
- success?: boolean;
31
- [key: string]: unknown;
32
- }
33
34
  export interface AcpTerminalCreateParams {
35
+ args?: string[] | null;
34
36
  command?: string;
35
37
  cwd?: string | null;
36
- env?: Record<string, string> | null;
38
+ env?: AcpEnvVariable[] | null;
39
+ outputByteLimit?: number | null;
37
40
  threadId?: string;
38
41
  [key: string]: unknown;
39
42
  }
@@ -41,19 +44,25 @@ export interface AcpTerminalCreateResult {
41
44
  terminalId?: string | null;
42
45
  [key: string]: unknown;
43
46
  }
44
- export interface AcpTerminalGetOutputParams {
47
+ export interface AcpTerminalExitStatus {
48
+ exitCode?: number | null;
49
+ signal?: string | null;
50
+ [key: string]: unknown;
51
+ }
52
+ export interface AcpTerminalKillParams {
45
53
  terminalId?: string;
46
54
  threadId?: string;
47
55
  [key: string]: unknown;
48
56
  }
49
- export interface AcpTerminalKillParams {
57
+ export interface AcpTerminalOutputParams {
50
58
  terminalId?: string;
51
59
  threadId?: string;
52
60
  [key: string]: unknown;
53
61
  }
54
62
  export interface AcpTerminalOutputResult {
55
- exitCode?: number | null;
63
+ exitStatus?: AcpTerminalExitStatus | null;
56
64
  output?: string | null;
65
+ truncated?: boolean;
57
66
  [key: string]: unknown;
58
67
  }
59
68
  export interface AcpTerminalReleaseParams {
@@ -64,7 +73,11 @@ export interface AcpTerminalReleaseParams {
64
73
  export interface AcpTerminalWaitForExitParams {
65
74
  terminalId?: string;
66
75
  threadId?: string;
67
- timeout?: number | null;
76
+ [key: string]: unknown;
77
+ }
78
+ export interface AcpTerminalWaitForExitResult {
79
+ exitCode?: number | null;
80
+ signal?: string | null;
68
81
  [key: string]: unknown;
69
82
  }
70
83
  export interface AgentExportPackage {
@@ -313,328 +326,6 @@ export interface AgentProfileValidateResult {
313
326
  valid?: boolean;
314
327
  [key: string]: unknown;
315
328
  }
316
- export interface AppBinding {
317
- appId?: string;
318
- approvedCapabilityRevision?: number;
319
- approvedTools?: AppBindingToolCapability[];
320
- authorityRevision?: number;
321
- bindingId?: string;
322
- candidateCapabilityRevision?: number | null;
323
- channelTarget?: ChannelTarget | null;
324
- failureReason?: string | null;
325
- pendingChanges?: AppBindingCapabilityChange[];
326
- state?: string;
327
- threadId?: string;
328
- updatedAt?: string;
329
- [key: string]: unknown;
330
- }
331
- export interface AppBindingActivateParams {
332
- bearer?: string;
333
- bearerExpiresAt?: string | null;
334
- bindingRequestId?: string;
335
- endpoint?: string;
336
- [key: string]: unknown;
337
- }
338
- export interface AppBindingCapabilityChange {
339
- detail?: string;
340
- kind?: string;
341
- tool?: string;
342
- [key: string]: unknown;
343
- }
344
- export interface AppBindingRebindParams {
345
- authorityRevision?: number;
346
- bearer?: string;
347
- bearerExpiresAt?: string | null;
348
- bindingId?: string;
349
- endpoint?: string;
350
- [key: string]: unknown;
351
- }
352
- export interface AppBindingRequest {
353
- appId?: string;
354
- bindingId?: string;
355
- bindingRequestId?: string;
356
- expiresAt?: string;
357
- state?: string;
358
- threadId?: string;
359
- [key: string]: unknown;
360
- }
361
- export interface AppBindingRequestGetParams {
362
- bindingRequestId?: string;
363
- requestToken?: string | null;
364
- [key: string]: unknown;
365
- }
366
- export interface AppBindingRequestGetResult {
367
- appId?: string;
368
- bindingId?: string;
369
- bindingKind?: string | null;
370
- bindingRequestId?: string;
371
- channelIntent?: ChannelBindingIntent | null;
372
- developerName?: string;
373
- displayName?: string;
374
- dynamicToolCatalog?: AppDynamicToolCatalogDescriptor;
375
- expiresAt?: string;
376
- reason?: string | null;
377
- requestedScopes?: string[];
378
- requestedTools?: string[];
379
- scopeCatalog?: AppScopeDescriptor[];
380
- source?: string;
381
- state?: string;
382
- threadId?: string;
383
- threadTitle?: string | null;
384
- toolCatalog?: AppToolCatalogEntry[];
385
- [key: string]: unknown;
386
- }
387
- export interface AppBindingRequestedNotification {
388
- appId?: string | null;
389
- bindingId?: string;
390
- bindingRequestId?: string;
391
- channelName?: string | null;
392
- code?: string | null;
393
- expiresAt?: string | null;
394
- threadId?: string | null;
395
- [key: string]: unknown;
396
- }
397
- export interface AppBindingToolCapability {
398
- annotations?: JsonValue;
399
- description?: string;
400
- inputSchema?: JsonValue;
401
- namespaceDescription?: string | null;
402
- outputSchema?: JsonValue;
403
- sourceToolName?: string;
404
- ui?: AppBindingUiCapability | null;
405
- visibility?: string[];
406
- [key: string]: unknown;
407
- }
408
- export interface AppBindingUiCapability {
409
- connectDomains?: string[];
410
- permissions?: string[];
411
- resourceDomains?: string[];
412
- resourceUri?: string;
413
- securityHash?: string;
414
- [key: string]: unknown;
415
- }
416
- export interface AppBindingsListResult {
417
- bindings?: AppBinding[];
418
- [key: string]: unknown;
419
- }
420
- export interface AppChannelBindingResolveParams {
421
- accountId?: string | null;
422
- channelName?: string;
423
- conversationId?: string;
424
- conversationKind?: string;
425
- [key: string]: unknown;
426
- }
427
- export interface AppChannelBindingResolveResult {
428
- binding?: AppBinding | null;
429
- [key: string]: unknown;
430
- }
431
- export interface AppConnectionAuthenticateParams {
432
- appId?: string;
433
- credential?: string;
434
- [key: string]: unknown;
435
- }
436
- export interface AppConnectionAuthenticateResult {
437
- principal?: AppPrincipal;
438
- [key: string]: unknown;
439
- }
440
- export interface AppConnectionChangedNotification {
441
- appId?: string | null;
442
- state?: string;
443
- [key: string]: unknown;
444
- }
445
- export interface AppConnectionConnectParams {
446
- accountLabel?: string | null;
447
- connectionRequestId?: string;
448
- requestToken?: string;
449
- [key: string]: unknown;
450
- }
451
- export interface AppConnectionConnectResult {
452
- credential?: string;
453
- principal?: AppPrincipal;
454
- [key: string]: unknown;
455
- }
456
- export interface AppConnectionRefreshResult {
457
- credential?: string;
458
- principal?: AppPrincipal;
459
- [key: string]: unknown;
460
- }
461
- export interface AppConnectionRequestGetParams {
462
- connectionRequestId?: string;
463
- requestToken?: string;
464
- [key: string]: unknown;
465
- }
466
- export interface AppConnectionRequestGetResult {
467
- appId?: string;
468
- connectionRequestId?: string;
469
- developerName?: string;
470
- displayName?: string;
471
- expiresAt?: string;
472
- userId?: string;
473
- [key: string]: unknown;
474
- }
475
- export interface AppConnectionRevokeParams {
476
- appId?: string;
477
- reason?: string | null;
478
- [key: string]: unknown;
479
- }
480
- export interface AppConnectionRevokeResult {
481
- state?: string;
482
- [key: string]: unknown;
483
- }
484
- export interface AppConnectionStartParams {
485
- appId?: string;
486
- [key: string]: unknown;
487
- }
488
- export interface AppConnectionStartResult {
489
- connectionRequestId?: string;
490
- expiresAt?: string;
491
- handoff?: AppHandoff | null;
492
- requestToken?: string;
493
- [key: string]: unknown;
494
- }
495
- export interface AppConnectionStatusParams {
496
- appId?: string;
497
- [key: string]: unknown;
498
- }
499
- export interface AppConnectionStatusResult {
500
- appId?: string;
501
- principal?: AppPrincipal | null;
502
- state?: string;
503
- [key: string]: unknown;
504
- }
505
- export interface AppDynamicToolCatalogDescriptor {
506
- description?: string | null;
507
- enabled?: boolean;
508
- [key: string]: unknown;
509
- }
510
- export interface AppHandoff {
511
- bindCode?: string | null;
512
- instructions?: string | null;
513
- mode?: string;
514
- uri?: string | null;
515
- [key: string]: unknown;
516
- }
517
- export interface AppHandoffModeDescriptor {
518
- mode?: string;
519
- serviceId?: string | null;
520
- uriTemplate?: string | null;
521
- [key: string]: unknown;
522
- }
523
- export interface AppInfo {
524
- accountLabel?: string | null;
525
- appId?: string;
526
- bindingSummary?: ThreadAppBindingSummary | null;
527
- catalogVisible?: boolean;
528
- category?: string | null;
529
- connectionState?: string;
530
- description?: string;
531
- developerName?: string;
532
- diagnostics?: PluginDiagnostic[];
533
- displayName?: string;
534
- downloadUrl?: string | null;
535
- enabled?: boolean;
536
- handoffModes?: AppHandoffModeDescriptor[];
537
- icon?: string | null;
538
- installed?: boolean;
539
- managed?: boolean;
540
- nativeApp?: AppNativeApplication;
541
- originChannel?: string | null;
542
- pluginId?: string;
543
- releasePage?: string | null;
544
- requiresExternalConnection?: boolean;
545
- [key: string]: unknown;
546
- }
547
- export interface AppListParams {
548
- forceRefresh?: boolean | null;
549
- includeCatalog?: boolean | null;
550
- includeDisabled?: boolean | null;
551
- surface?: string | null;
552
- threadId?: string | null;
553
- [key: string]: unknown;
554
- }
555
- export interface AppListResult {
556
- apps?: AppInfo[];
557
- [key: string]: unknown;
558
- }
559
- export interface AppListUpdatedNotification {
560
- appIds?: string[];
561
- pluginId?: string;
562
- reason?: string;
563
- [key: string]: unknown;
564
- }
565
- export interface AppNativeApplication {
566
- displayName?: string;
567
- installUrl?: string | null;
568
- protocol?: string;
569
- status?: string;
570
- [key: string]: unknown;
571
- }
572
- export interface AppPrincipal {
573
- appId?: string;
574
- expiresAt?: string;
575
- principalId?: string;
576
- userId?: string;
577
- [key: string]: unknown;
578
- }
579
- export interface AppScopeDescriptor {
580
- defaultSelected?: boolean | null;
581
- description?: string;
582
- displayName?: string;
583
- id?: string;
584
- risk?: string;
585
- [key: string]: unknown;
586
- }
587
- export interface AppSurface {
588
- appId?: string;
589
- bearer?: string;
590
- endpoint?: string;
591
- expiresAt?: string;
592
- surfaceId?: string;
593
- [key: string]: unknown;
594
- }
595
- export interface AppSurfacePublishParams {
596
- bearer?: string;
597
- endpoint?: string;
598
- surfaceId?: string;
599
- [key: string]: unknown;
600
- }
601
- export interface AppSurfaceResolveParams {
602
- appId?: string;
603
- surfaceId?: string;
604
- [key: string]: unknown;
605
- }
606
- export interface AppThreadInputEnqueueParams {
607
- bindingId?: string;
608
- displayText?: string | null;
609
- input?: InputPart[];
610
- sender?: SenderContext | null;
611
- startPolicy?: string | null;
612
- triggerLabel?: string | null;
613
- triggerRefId?: string | null;
614
- [key: string]: unknown;
615
- }
616
- export interface AppThreadInputEnqueueResult {
617
- queuedInput?: QueuedTurnInput;
618
- queuedInputs?: QueuedTurnInput[];
619
- [key: string]: unknown;
620
- }
621
- export interface AppToolCatalogEntry {
622
- defaultExposure?: string;
623
- description?: string | null;
624
- name?: string;
625
- risk?: string;
626
- scope?: string;
627
- [key: string]: unknown;
628
- }
629
- export interface AppViewParams {
630
- appId?: string;
631
- threadId?: string | null;
632
- [key: string]: unknown;
633
- }
634
- export interface AppViewResult {
635
- app?: AppInfo;
636
- [key: string]: unknown;
637
- }
638
329
  export interface ApprovalRequestParams {
639
330
  approvalType: string;
640
331
  callId?: string | null;
@@ -834,20 +525,6 @@ export interface BackgroundTerminalSnapshot {
834
525
  workingDirectory?: string;
835
526
  [key: string]: unknown;
836
527
  }
837
- export interface BrowserUseCapability {
838
- backend: string;
839
- backends?: string[] | null;
840
- browserSessionProtocolVersion?: number | null;
841
- defaultCommandTimeoutMs?: number | null;
842
- maxBrowserResultBytes?: number | null;
843
- maxCommandTimeoutMs?: number | null;
844
- protocolVersion?: number | null;
845
- supportsCancel?: boolean | null;
846
- supportsChromeDiagnostics?: boolean | null;
847
- supportsCommandCancel?: boolean | null;
848
- supportsTypedFinalize?: boolean | null;
849
- [key: string]: unknown;
850
- }
851
528
  export interface ChannelAdapterCapability {
852
529
  channelName: string;
853
530
  channelTools?: ChannelToolDescriptor[] | null;
@@ -855,32 +532,6 @@ export interface ChannelAdapterCapability {
855
532
  displayName: string;
856
533
  [key: string]: unknown;
857
534
  }
858
- export interface ChannelBindingAcceptParams {
859
- code?: string;
860
- target?: ChannelTarget;
861
- [key: string]: unknown;
862
- }
863
- export interface ChannelBindingIntent {
864
- channelName?: string;
865
- displayHint?: string | null;
866
- targetSelection?: string;
867
- [key: string]: unknown;
868
- }
869
- export interface ChannelBindingRebindParams {
870
- authorityRevision?: number;
871
- bindingId?: string;
872
- target?: ChannelTarget;
873
- [key: string]: unknown;
874
- }
875
- export interface ChannelBindingRequestGetParams {
876
- code?: string;
877
- [key: string]: unknown;
878
- }
879
- export interface ChannelBoundBy {
880
- displayName?: string | null;
881
- platformUserId?: string;
882
- [key: string]: unknown;
883
- }
884
535
  export interface ChannelChat {
885
536
  kind: string;
886
537
  label?: string | null;
@@ -1006,16 +657,6 @@ export interface ChannelStatusResult {
1006
657
  channels?: ChannelStatusInfo[];
1007
658
  [key: string]: unknown;
1008
659
  }
1009
- export interface ChannelTarget {
1010
- accountId?: string | null;
1011
- boundBy?: ChannelBoundBy | null;
1012
- channelName?: string;
1013
- conversationId?: string;
1014
- conversationKind?: string;
1015
- deliveryTarget?: string;
1016
- displayName?: string | null;
1017
- [key: string]: unknown;
1018
- }
1019
660
  export interface ChannelTargetCapability {
1020
661
  direct: string;
1021
662
  group: boolean;
@@ -1044,20 +685,16 @@ export interface ChannelToolDescriptor {
1044
685
  }
1045
686
  export interface ClientCapabilities {
1046
687
  acpExtensions?: AcpExtensionCapability | null;
1047
- appBindingVersion?: number | null;
1048
688
  approvalSupport?: boolean | null;
1049
689
  backgroundTerminals?: boolean | null;
1050
- browserUse?: BrowserUseCapability | null;
1051
690
  channelAdapter?: ChannelAdapterCapability | null;
1052
691
  commandExecutionStreaming?: boolean | null;
1053
- computerUse?: ComputerUseCapability | null;
1054
692
  configChange?: boolean | null;
1055
693
  extensions?: Record<string, JsonValue> | null;
1056
694
  generativeUi?: boolean | null;
1057
695
  interactiveToolUi?: boolean | null;
1058
696
  mcpApps?: boolean | null;
1059
697
  mcpElicitation?: boolean | null;
1060
- nodeRepl?: NodeReplCapability | null;
1061
698
  optOutNotificationMethods?: string[] | null;
1062
699
  remoteHost?: boolean | null;
1063
700
  requestUserInputSupport?: boolean | null;
@@ -1142,10 +779,6 @@ export interface CommandListResult {
1142
779
  commands?: CommandInfo[];
1143
780
  [key: string]: unknown;
1144
781
  }
1145
- export interface ComputerUseCapability {
1146
- backend: string;
1147
- [key: string]: unknown;
1148
- }
1149
782
  export interface ConfigBatchWriteParams {
1150
783
  edits: ConfigEdit[];
1151
784
  expectedVersion?: string | null;
@@ -1632,11 +1265,14 @@ export interface HookMetadata {
1632
1265
  isManaged?: boolean;
1633
1266
  key?: string;
1634
1267
  matcher?: string | null;
1268
+ mcpServer?: string | null;
1269
+ mcpTool?: string | null;
1635
1270
  once?: boolean;
1636
1271
  pluginId?: string | null;
1637
1272
  rewakeMessage?: string | null;
1638
1273
  rewakeSummary?: string | null;
1639
1274
  shell?: string | null;
1275
+ skipIfDormant?: boolean;
1640
1276
  source?: string;
1641
1277
  sourcePath?: string;
1642
1278
  statusMessage?: string | null;
@@ -2090,6 +1726,7 @@ export interface McpServerConfig {
2090
1726
  [key: string]: unknown;
2091
1727
  }
2092
1728
  export interface McpServerElicitationRequestParams {
1729
+ _meta?: JsonValue;
2093
1730
  elicitationId?: string | null;
2094
1731
  message?: string | null;
2095
1732
  mode?: string;
@@ -2101,6 +1738,7 @@ export interface McpServerElicitationRequestParams {
2101
1738
  [key: string]: unknown;
2102
1739
  }
2103
1740
  export interface McpServerElicitationResponse {
1741
+ _meta?: JsonValue;
2104
1742
  action?: string;
2105
1743
  content?: Record<string, JsonValue> | null;
2106
1744
  [key: string]: unknown;
@@ -2330,67 +1968,6 @@ export interface ModelSpeedCapability {
2330
1968
  supportedModes?: string[];
2331
1969
  [key: string]: unknown;
2332
1970
  }
2333
- export interface NodeReplBrowserSessionParams {
2334
- evaluationId?: string;
2335
- isSubagent?: boolean;
2336
- protocolVersion?: number;
2337
- sessionId?: string;
2338
- threadId?: string;
2339
- turnId?: string | null;
2340
- [key: string]: unknown;
2341
- }
2342
- export interface NodeReplCancelParams {
2343
- evaluationId?: string;
2344
- threadId?: string;
2345
- [key: string]: unknown;
2346
- }
2347
- export interface NodeReplCapability {
2348
- backend: string;
2349
- [key: string]: unknown;
2350
- }
2351
- export interface NodeReplEvaluateParams {
2352
- browserSession?: NodeReplBrowserSessionParams;
2353
- code?: string;
2354
- evaluationId?: string;
2355
- threadId?: string;
2356
- timeoutMs?: number;
2357
- turnId?: string | null;
2358
- [key: string]: unknown;
2359
- }
2360
- export interface NodeReplEvaluateResult {
2361
- error?: string | null;
2362
- images?: NodeReplImageResult[];
2363
- logs?: string[];
2364
- resultText?: string | null;
2365
- surface?: string | null;
2366
- text?: string | null;
2367
- [key: string]: unknown;
2368
- }
2369
- export interface NodeReplImageResult {
2370
- dataBase64?: string;
2371
- mediaType?: string;
2372
- [key: string]: unknown;
2373
- }
2374
- export interface NodeReplRequestApprovalParams {
2375
- approvalType?: string;
2376
- evaluationId?: string;
2377
- operation?: string;
2378
- target?: string;
2379
- targetLabel?: string | null;
2380
- threadId?: string;
2381
- [key: string]: unknown;
2382
- }
2383
- export interface NodeReplRequestApprovalResult {
2384
- approved: boolean;
2385
- [key: string]: unknown;
2386
- }
2387
- export interface NodeReplTurnEndedParams {
2388
- disposeSession?: boolean;
2389
- isSubagent?: boolean;
2390
- threadId: string | null;
2391
- turnId?: string | null;
2392
- [key: string]: unknown;
2393
- }
2394
1971
  export interface PerforceConnection {
2395
1972
  autoOffline?: boolean;
2396
1973
  charset?: string;
@@ -2419,23 +1996,6 @@ export interface PlanUpdatedNotification {
2419
1996
  todos?: PlanTodo[];
2420
1997
  [key: string]: unknown;
2421
1998
  }
2422
- export interface PluginAppInfo {
2423
- appId?: string;
2424
- category?: string | null;
2425
- description?: string;
2426
- developerName?: string;
2427
- displayName?: string;
2428
- icon?: string | null;
2429
- nativeApplication?: PluginAppNativeApplication | null;
2430
- releasePage?: string | null;
2431
- [key: string]: unknown;
2432
- }
2433
- export interface PluginAppNativeApplication {
2434
- displayName?: string;
2435
- installUrl?: string | null;
2436
- protocol?: string;
2437
- [key: string]: unknown;
2438
- }
2439
1999
  export interface PluginChannelCapabilitySummary {
2440
2000
  capabilitySetMayVaryByEnvironment: boolean;
2441
2001
  hasChannelTools: boolean;
@@ -2547,7 +2107,6 @@ export interface PluginHookInfo {
2547
2107
  [key: string]: unknown;
2548
2108
  }
2549
2109
  export interface PluginInfo {
2550
- apps?: PluginAppInfo[];
2551
2110
  channel?: PluginChannelInfo | null;
2552
2111
  dependencies?: PluginDependencyInfo[];
2553
2112
  description?: string | null;
@@ -3091,8 +2650,6 @@ export interface SenderContext {
3091
2650
  }
3092
2651
  export interface ServerCapabilities {
3093
2652
  agentProfileManagement?: boolean;
3094
- appBindingVersion?: number;
3095
- appThreadInputEnqueue?: boolean;
3096
2653
  approvalFlow?: boolean;
3097
2654
  automations?: boolean;
3098
2655
  backgroundTerminals?: boolean;
@@ -3688,71 +3245,6 @@ export interface TerminalWriteResult {
3688
3245
  terminal?: BackgroundTerminalSnapshot;
3689
3246
  [key: string]: unknown;
3690
3247
  }
3691
- export interface ThreadAppBindingConfirmCapabilitiesParams {
3692
- bindingId?: string;
3693
- candidateRevision?: number;
3694
- decision?: string;
3695
- threadId?: string;
3696
- [key: string]: unknown;
3697
- }
3698
- export interface ThreadAppBindingEnableParams {
3699
- appId?: string;
3700
- threadId?: string;
3701
- [key: string]: unknown;
3702
- }
3703
- export interface ThreadAppBindingEnableResult {
3704
- bindingId?: string;
3705
- bindingRequestId?: string;
3706
- expiresAt?: string;
3707
- handoff?: AppHandoff | null;
3708
- state?: string;
3709
- [key: string]: unknown;
3710
- }
3711
- export interface ThreadAppBindingRevokeParams {
3712
- bindingId?: string;
3713
- reason?: string | null;
3714
- threadId?: string;
3715
- [key: string]: unknown;
3716
- }
3717
- export interface ThreadAppBindingSummary {
3718
- appId?: string;
3719
- approvedCapabilityRevision?: number;
3720
- approvedTools?: AppBindingToolCapability[];
3721
- authorityRevision?: number;
3722
- bindingId?: string;
3723
- bindingRequestId?: string | null;
3724
- candidateCapabilityRevision?: number | null;
3725
- channelTarget?: ChannelTarget | null;
3726
- displayName?: string | null;
3727
- failureReason?: string | null;
3728
- icon?: string | null;
3729
- managed?: boolean;
3730
- pendingChanges?: AppBindingCapabilityChange[];
3731
- requiresExternalConnection?: boolean;
3732
- state?: string;
3733
- threadId?: string;
3734
- [key: string]: unknown;
3735
- }
3736
- export interface ThreadAppBindingsChangedNotification {
3737
- appId?: string | null;
3738
- authorityRevision?: number | null;
3739
- bindingId?: string | null;
3740
- changeKind?: string | null;
3741
- failureReason?: string | null;
3742
- previousState?: string | null;
3743
- state?: string;
3744
- threadId?: string;
3745
- [key: string]: unknown;
3746
- }
3747
- export interface ThreadAppBindingsListParams {
3748
- includeRevoked?: boolean | null;
3749
- threadId?: string;
3750
- [key: string]: unknown;
3751
- }
3752
- export interface ThreadAppBindingsListResult {
3753
- bindings?: AppBinding[];
3754
- [key: string]: unknown;
3755
- }
3756
3248
  export interface ThreadArchiveParams {
3757
3249
  threadId?: string;
3758
3250
  [key: string]: unknown;
@@ -3761,19 +3253,6 @@ export interface ThreadArchivedNotification {
3761
3253
  threadId: string;
3762
3254
  [key: string]: unknown;
3763
3255
  }
3764
- export interface ThreadChannelBindingRequestCreateParams {
3765
- channelName?: string;
3766
- threadId?: string;
3767
- [key: string]: unknown;
3768
- }
3769
- export interface ThreadChannelBindingRequestCreateResult {
3770
- bindingId?: string;
3771
- bindingRequestId?: string;
3772
- channelName?: string;
3773
- code?: string;
3774
- expiresAt?: string;
3775
- [key: string]: unknown;
3776
- }
3777
3256
  export interface ThreadCompactStartParams {
3778
3257
  threadId?: string;
3779
3258
  [key: string]: unknown;
@@ -3855,6 +3334,7 @@ export interface ThreadFirstUnreadTurn {
3855
3334
  }
3856
3335
  export interface ThreadForkParams {
3857
3336
  additionalContext?: Record<string, RuntimeAdditionalContextEntry> | null;
3337
+ additionalMcpServers?: ThreadMcpServerConfig[] | null;
3858
3338
  config?: ThreadConfiguration | null;
3859
3339
  cwd?: string | null;
3860
3340
  displayName?: string | null;
@@ -4134,6 +3614,7 @@ export interface ThreadResumeInitialTurnsPageParams {
4134
3614
  }
4135
3615
  export interface ThreadResumeParams {
4136
3616
  additionalContext?: Record<string, RuntimeAdditionalContextEntry> | null;
3617
+ additionalMcpServers?: ThreadMcpServerConfig[] | null;
4137
3618
  chat?: ChannelChat | null;
4138
3619
  cwd?: string | null;
4139
3620
  dynamicTools?: RuntimeDynamicToolDeclaration[] | null;
@@ -4253,6 +3734,7 @@ export interface ThreadSpawnEdge {
4253
3734
  }
4254
3735
  export interface ThreadStartParams {
4255
3736
  additionalContext?: Record<string, RuntimeAdditionalContextEntry> | null;
3737
+ additionalMcpServers?: ThreadMcpServerConfig[] | null;
4256
3738
  chat?: ChannelChat | null;
4257
3739
  config?: ThreadConfiguration | null;
4258
3740
  cwd?: string | null;
@@ -5114,6 +4596,7 @@ export interface WorktreeCancelCreateParams {
5114
4596
  }
5115
4597
  export interface WorktreeCreateAndForkParams {
5116
4598
  additionalContext?: Record<string, RuntimeAdditionalContextEntry> | null;
4599
+ additionalMcpServers?: ThreadMcpServerConfig[] | null;
5117
4600
  baseRef?: string | null;
5118
4601
  branchName?: string | null;
5119
4602
  config?: ThreadConfiguration | null;
@@ -5136,6 +4619,7 @@ export interface WorktreeCreateAndForkResult {
5136
4619
  }
5137
4620
  export interface WorktreeCreateAndStartParams {
5138
4621
  additionalContext?: Record<string, RuntimeAdditionalContextEntry> | null;
4622
+ additionalMcpServers?: ThreadMcpServerConfig[] | null;
5139
4623
  baseRef?: string | null;
5140
4624
  branchName?: string | null;
5141
4625
  config?: ThreadConfiguration | null;