@dotcraft/sdk 0.14.3 → 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 -37
  15. package/dist/generated/appserver/method-groups.generated.js.map +1 -1
  16. package/dist/generated/appserver/models.generated.d.ts +33 -541
  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 -16
  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,59 +1968,6 @@ export interface ModelSpeedCapability {
2330
1968
  supportedModes?: string[];
2331
1969
  [key: string]: unknown;
2332
1970
  }
2333
- export interface NodeReplBrowserSessionParams {
2334
- evaluationId?: string;
2335
- protocolVersion?: number;
2336
- sessionId?: string;
2337
- threadId?: string;
2338
- turnId?: string | null;
2339
- [key: string]: unknown;
2340
- }
2341
- export interface NodeReplCancelParams {
2342
- evaluationId?: string;
2343
- threadId?: string;
2344
- [key: string]: unknown;
2345
- }
2346
- export interface NodeReplCapability {
2347
- backend: string;
2348
- [key: string]: unknown;
2349
- }
2350
- export interface NodeReplEvaluateParams {
2351
- browserSession?: NodeReplBrowserSessionParams;
2352
- code?: string;
2353
- evaluationId?: string;
2354
- threadId?: string;
2355
- timeoutMs?: number;
2356
- turnId?: string | null;
2357
- [key: string]: unknown;
2358
- }
2359
- export interface NodeReplEvaluateResult {
2360
- error?: string | null;
2361
- images?: NodeReplImageResult[];
2362
- logs?: string[];
2363
- resultText?: string | null;
2364
- surface?: string | null;
2365
- text?: string | null;
2366
- [key: string]: unknown;
2367
- }
2368
- export interface NodeReplImageResult {
2369
- dataBase64?: string;
2370
- mediaType?: string;
2371
- [key: string]: unknown;
2372
- }
2373
- export interface NodeReplRequestApprovalParams {
2374
- approvalType?: string;
2375
- evaluationId?: string;
2376
- operation?: string;
2377
- target?: string;
2378
- targetLabel?: string | null;
2379
- threadId?: string;
2380
- [key: string]: unknown;
2381
- }
2382
- export interface NodeReplRequestApprovalResult {
2383
- approved: boolean;
2384
- [key: string]: unknown;
2385
- }
2386
1971
  export interface PerforceConnection {
2387
1972
  autoOffline?: boolean;
2388
1973
  charset?: string;
@@ -2411,23 +1996,6 @@ export interface PlanUpdatedNotification {
2411
1996
  todos?: PlanTodo[];
2412
1997
  [key: string]: unknown;
2413
1998
  }
2414
- export interface PluginAppInfo {
2415
- appId?: string;
2416
- category?: string | null;
2417
- description?: string;
2418
- developerName?: string;
2419
- displayName?: string;
2420
- icon?: string | null;
2421
- nativeApplication?: PluginAppNativeApplication | null;
2422
- releasePage?: string | null;
2423
- [key: string]: unknown;
2424
- }
2425
- export interface PluginAppNativeApplication {
2426
- displayName?: string;
2427
- installUrl?: string | null;
2428
- protocol?: string;
2429
- [key: string]: unknown;
2430
- }
2431
1999
  export interface PluginChannelCapabilitySummary {
2432
2000
  capabilitySetMayVaryByEnvironment: boolean;
2433
2001
  hasChannelTools: boolean;
@@ -2539,7 +2107,6 @@ export interface PluginHookInfo {
2539
2107
  [key: string]: unknown;
2540
2108
  }
2541
2109
  export interface PluginInfo {
2542
- apps?: PluginAppInfo[];
2543
2110
  channel?: PluginChannelInfo | null;
2544
2111
  dependencies?: PluginDependencyInfo[];
2545
2112
  description?: string | null;
@@ -3083,8 +2650,6 @@ export interface SenderContext {
3083
2650
  }
3084
2651
  export interface ServerCapabilities {
3085
2652
  agentProfileManagement?: boolean;
3086
- appBindingVersion?: number;
3087
- appThreadInputEnqueue?: boolean;
3088
2653
  approvalFlow?: boolean;
3089
2654
  automations?: boolean;
3090
2655
  backgroundTerminals?: boolean;
@@ -3680,71 +3245,6 @@ export interface TerminalWriteResult {
3680
3245
  terminal?: BackgroundTerminalSnapshot;
3681
3246
  [key: string]: unknown;
3682
3247
  }
3683
- export interface ThreadAppBindingConfirmCapabilitiesParams {
3684
- bindingId?: string;
3685
- candidateRevision?: number;
3686
- decision?: string;
3687
- threadId?: string;
3688
- [key: string]: unknown;
3689
- }
3690
- export interface ThreadAppBindingEnableParams {
3691
- appId?: string;
3692
- threadId?: string;
3693
- [key: string]: unknown;
3694
- }
3695
- export interface ThreadAppBindingEnableResult {
3696
- bindingId?: string;
3697
- bindingRequestId?: string;
3698
- expiresAt?: string;
3699
- handoff?: AppHandoff | null;
3700
- state?: string;
3701
- [key: string]: unknown;
3702
- }
3703
- export interface ThreadAppBindingRevokeParams {
3704
- bindingId?: string;
3705
- reason?: string | null;
3706
- threadId?: string;
3707
- [key: string]: unknown;
3708
- }
3709
- export interface ThreadAppBindingSummary {
3710
- appId?: string;
3711
- approvedCapabilityRevision?: number;
3712
- approvedTools?: AppBindingToolCapability[];
3713
- authorityRevision?: number;
3714
- bindingId?: string;
3715
- bindingRequestId?: string | null;
3716
- candidateCapabilityRevision?: number | null;
3717
- channelTarget?: ChannelTarget | null;
3718
- displayName?: string | null;
3719
- failureReason?: string | null;
3720
- icon?: string | null;
3721
- managed?: boolean;
3722
- pendingChanges?: AppBindingCapabilityChange[];
3723
- requiresExternalConnection?: boolean;
3724
- state?: string;
3725
- threadId?: string;
3726
- [key: string]: unknown;
3727
- }
3728
- export interface ThreadAppBindingsChangedNotification {
3729
- appId?: string | null;
3730
- authorityRevision?: number | null;
3731
- bindingId?: string | null;
3732
- changeKind?: string | null;
3733
- failureReason?: string | null;
3734
- previousState?: string | null;
3735
- state?: string;
3736
- threadId?: string;
3737
- [key: string]: unknown;
3738
- }
3739
- export interface ThreadAppBindingsListParams {
3740
- includeRevoked?: boolean | null;
3741
- threadId?: string;
3742
- [key: string]: unknown;
3743
- }
3744
- export interface ThreadAppBindingsListResult {
3745
- bindings?: AppBinding[];
3746
- [key: string]: unknown;
3747
- }
3748
3248
  export interface ThreadArchiveParams {
3749
3249
  threadId?: string;
3750
3250
  [key: string]: unknown;
@@ -3753,19 +3253,6 @@ export interface ThreadArchivedNotification {
3753
3253
  threadId: string;
3754
3254
  [key: string]: unknown;
3755
3255
  }
3756
- export interface ThreadChannelBindingRequestCreateParams {
3757
- channelName?: string;
3758
- threadId?: string;
3759
- [key: string]: unknown;
3760
- }
3761
- export interface ThreadChannelBindingRequestCreateResult {
3762
- bindingId?: string;
3763
- bindingRequestId?: string;
3764
- channelName?: string;
3765
- code?: string;
3766
- expiresAt?: string;
3767
- [key: string]: unknown;
3768
- }
3769
3256
  export interface ThreadCompactStartParams {
3770
3257
  threadId?: string;
3771
3258
  [key: string]: unknown;
@@ -3847,6 +3334,7 @@ export interface ThreadFirstUnreadTurn {
3847
3334
  }
3848
3335
  export interface ThreadForkParams {
3849
3336
  additionalContext?: Record<string, RuntimeAdditionalContextEntry> | null;
3337
+ additionalMcpServers?: ThreadMcpServerConfig[] | null;
3850
3338
  config?: ThreadConfiguration | null;
3851
3339
  cwd?: string | null;
3852
3340
  displayName?: string | null;
@@ -4126,6 +3614,7 @@ export interface ThreadResumeInitialTurnsPageParams {
4126
3614
  }
4127
3615
  export interface ThreadResumeParams {
4128
3616
  additionalContext?: Record<string, RuntimeAdditionalContextEntry> | null;
3617
+ additionalMcpServers?: ThreadMcpServerConfig[] | null;
4129
3618
  chat?: ChannelChat | null;
4130
3619
  cwd?: string | null;
4131
3620
  dynamicTools?: RuntimeDynamicToolDeclaration[] | null;
@@ -4245,6 +3734,7 @@ export interface ThreadSpawnEdge {
4245
3734
  }
4246
3735
  export interface ThreadStartParams {
4247
3736
  additionalContext?: Record<string, RuntimeAdditionalContextEntry> | null;
3737
+ additionalMcpServers?: ThreadMcpServerConfig[] | null;
4248
3738
  chat?: ChannelChat | null;
4249
3739
  config?: ThreadConfiguration | null;
4250
3740
  cwd?: string | null;
@@ -5106,6 +4596,7 @@ export interface WorktreeCancelCreateParams {
5106
4596
  }
5107
4597
  export interface WorktreeCreateAndForkParams {
5108
4598
  additionalContext?: Record<string, RuntimeAdditionalContextEntry> | null;
4599
+ additionalMcpServers?: ThreadMcpServerConfig[] | null;
5109
4600
  baseRef?: string | null;
5110
4601
  branchName?: string | null;
5111
4602
  config?: ThreadConfiguration | null;
@@ -5128,6 +4619,7 @@ export interface WorktreeCreateAndForkResult {
5128
4619
  }
5129
4620
  export interface WorktreeCreateAndStartParams {
5130
4621
  additionalContext?: Record<string, RuntimeAdditionalContextEntry> | null;
4622
+ additionalMcpServers?: ThreadMcpServerConfig[] | null;
5131
4623
  baseRef?: string | null;
5132
4624
  branchName?: string | null;
5133
4625
  config?: ThreadConfiguration | null;