@linkshell/wire 0.2.20 → 0.2.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/rpc.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import { z } from "zod";
2
+ import { mcpMethods } from "./rpc-mcp.js";
2
3
  export declare const rpcIdSchema: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
3
4
  export type RpcId = z.infer<typeof rpcIdSchema>;
4
5
  export declare const rpcErrorSchema: z.ZodObject<{
@@ -64,6 +65,14 @@ export type AppErrorCode = z.infer<typeof appErrorCodeSchema>;
64
65
  export declare const RPC_INVALID_PARAMS = -32602;
65
66
  export declare const RPC_METHOD_NOT_FOUND = -32601;
66
67
  export declare const RPC_APP_ERROR = -32000;
68
+ /**
69
+ * The host's RPC revision, in `machine.info`. Goes up when the host gains
70
+ * methods or notifications an app may rely on, so an app can tell the
71
+ * computer is older than itself and say so (an absent revision is 0).
72
+ * 1: side conversations (`sessions.side`), `machine.info.protocol` itself.
73
+ * 2: session terminals (`terminals.create` `sessionId`, `TerminalInfo.sessionId`).
74
+ */
75
+ export declare const HOST_PROTOCOL = 2;
67
76
  export declare const directoryEntrySchema: z.ZodObject<{
68
77
  name: z.ZodString;
69
78
  path: z.ZodString;
@@ -3898,6 +3907,7 @@ declare const coreMethods: {
3898
3907
  hostname: z.ZodString;
3899
3908
  platform: z.ZodString;
3900
3909
  hostVersion: z.ZodString;
3910
+ protocol: z.ZodOptional<z.ZodNumber>;
3901
3911
  home: z.ZodOptional<z.ZodString>;
3902
3912
  agents: z.ZodArray<z.ZodObject<{
3903
3913
  id: z.ZodString;
@@ -3928,6 +3938,7 @@ declare const coreMethods: {
3928
3938
  embeddedContext: z.ZodOptional<z.ZodBoolean>;
3929
3939
  acp: z.ZodOptional<z.ZodBoolean>;
3930
3940
  fork: z.ZodBoolean;
3941
+ side: z.ZodOptional<z.ZodBoolean>;
3931
3942
  models: z.ZodBoolean;
3932
3943
  modes: z.ZodBoolean;
3933
3944
  }, "strip", z.ZodTypeAny, {
@@ -3941,6 +3952,7 @@ declare const coreMethods: {
3941
3952
  acp?: boolean | undefined;
3942
3953
  audio?: boolean | undefined;
3943
3954
  embeddedContext?: boolean | undefined;
3955
+ side?: boolean | undefined;
3944
3956
  }, {
3945
3957
  interrupt: boolean;
3946
3958
  steer: boolean;
@@ -3952,6 +3964,7 @@ declare const coreMethods: {
3952
3964
  acp?: boolean | undefined;
3953
3965
  audio?: boolean | undefined;
3954
3966
  embeddedContext?: boolean | undefined;
3967
+ side?: boolean | undefined;
3955
3968
  }>;
3956
3969
  }, "strip", z.ZodTypeAny, {
3957
3970
  id: string;
@@ -3969,6 +3982,7 @@ declare const coreMethods: {
3969
3982
  acp?: boolean | undefined;
3970
3983
  audio?: boolean | undefined;
3971
3984
  embeddedContext?: boolean | undefined;
3985
+ side?: boolean | undefined;
3972
3986
  };
3973
3987
  version?: string | undefined;
3974
3988
  problem?: string | undefined;
@@ -3993,6 +4007,7 @@ declare const coreMethods: {
3993
4007
  acp?: boolean | undefined;
3994
4008
  audio?: boolean | undefined;
3995
4009
  embeddedContext?: boolean | undefined;
4010
+ side?: boolean | undefined;
3996
4011
  };
3997
4012
  version?: string | undefined;
3998
4013
  problem?: string | undefined;
@@ -4027,6 +4042,7 @@ declare const coreMethods: {
4027
4042
  acp?: boolean | undefined;
4028
4043
  audio?: boolean | undefined;
4029
4044
  embeddedContext?: boolean | undefined;
4045
+ side?: boolean | undefined;
4030
4046
  };
4031
4047
  version?: string | undefined;
4032
4048
  problem?: string | undefined;
@@ -4040,6 +4056,7 @@ declare const coreMethods: {
4040
4056
  hostname: string;
4041
4057
  platform: string;
4042
4058
  hostVersion: string;
4059
+ protocol?: number | undefined;
4043
4060
  home?: string | undefined;
4044
4061
  direct?: {
4045
4062
  iceServers: string[];
@@ -4062,6 +4079,7 @@ declare const coreMethods: {
4062
4079
  acp?: boolean | undefined;
4063
4080
  audio?: boolean | undefined;
4064
4081
  embeddedContext?: boolean | undefined;
4082
+ side?: boolean | undefined;
4065
4083
  };
4066
4084
  version?: string | undefined;
4067
4085
  problem?: string | undefined;
@@ -4075,6 +4093,7 @@ declare const coreMethods: {
4075
4093
  hostname: string;
4076
4094
  platform: string;
4077
4095
  hostVersion: string;
4096
+ protocol?: number | undefined;
4078
4097
  home?: string | undefined;
4079
4098
  direct?: {
4080
4099
  iceServers: string[];
@@ -4845,6 +4864,9 @@ declare const coreMethods: {
4845
4864
  branch: string;
4846
4865
  source: string;
4847
4866
  }>>;
4867
+ parentId: z.ZodOptional<z.ZodString>;
4868
+ forkedFrom: z.ZodOptional<z.ZodString>;
4869
+ appId: z.ZodOptional<z.ZodString>;
4848
4870
  subagents: z.ZodOptional<z.ZodObject<{
4849
4871
  total: z.ZodNumber;
4850
4872
  running: z.ZodNumber;
@@ -5030,6 +5052,9 @@ declare const coreMethods: {
5030
5052
  branch: string;
5031
5053
  source: string;
5032
5054
  } | undefined;
5055
+ parentId?: string | undefined;
5056
+ forkedFrom?: string | undefined;
5057
+ appId?: string | undefined;
5033
5058
  subagents?: {
5034
5059
  running: number;
5035
5060
  total: number;
@@ -5141,6 +5166,9 @@ declare const coreMethods: {
5141
5166
  branch: string;
5142
5167
  source: string;
5143
5168
  } | undefined;
5169
+ parentId?: string | undefined;
5170
+ forkedFrom?: string | undefined;
5171
+ appId?: string | undefined;
5144
5172
  subagents?: {
5145
5173
  running: number;
5146
5174
  total: number;
@@ -5317,6 +5345,9 @@ declare const coreMethods: {
5317
5345
  branch: string;
5318
5346
  source: string;
5319
5347
  } | undefined;
5348
+ parentId?: string | undefined;
5349
+ forkedFrom?: string | undefined;
5350
+ appId?: string | undefined;
5320
5351
  subagents?: {
5321
5352
  running: number;
5322
5353
  total: number;
@@ -5431,6 +5462,9 @@ declare const coreMethods: {
5431
5462
  branch: string;
5432
5463
  source: string;
5433
5464
  } | undefined;
5465
+ parentId?: string | undefined;
5466
+ forkedFrom?: string | undefined;
5467
+ appId?: string | undefined;
5434
5468
  subagents?: {
5435
5469
  running: number;
5436
5470
  total: number;
@@ -5443,6 +5477,66 @@ declare const coreMethods: {
5443
5477
  nextBefore?: number | undefined;
5444
5478
  }>;
5445
5479
  };
5480
+ /**
5481
+ * The models a new session of `agent` can start on, for choosing one before
5482
+ * there is a session (whose own list comes later, in its `ls_config`).
5483
+ * `current` is the one the agent takes when `sessions.create` names none:
5484
+ * its own default, which a new session keeps unless another is picked.
5485
+ * Agents that tell their models only to a session give what they said in
5486
+ * the latest one opened on this computer; never asked by starting one, so
5487
+ * empty until there has been one (`current` too may be missing then).
5488
+ * With an empty list `sessions.create` takes no model. Hosts older than
5489
+ * this method answer "method not found".
5490
+ */
5491
+ readonly "agents.models": {
5492
+ readonly params: z.ZodObject<{
5493
+ agent: z.ZodString;
5494
+ /** Where the session will work: an agent's project settings can choose another model. */
5495
+ cwd: z.ZodOptional<z.ZodString>;
5496
+ }, "strip", z.ZodTypeAny, {
5497
+ agent: string;
5498
+ cwd?: string | undefined;
5499
+ }, {
5500
+ agent: string;
5501
+ cwd?: string | undefined;
5502
+ }>;
5503
+ readonly result: z.ZodObject<{
5504
+ /** As a session's model option lists them (`group`: the heading some agents put models under). */
5505
+ models: z.ZodArray<z.ZodObject<{
5506
+ value: z.ZodString;
5507
+ name: z.ZodString;
5508
+ description: z.ZodOptional<z.ZodString>;
5509
+ group: z.ZodOptional<z.ZodString>;
5510
+ }, "strip", z.ZodTypeAny, {
5511
+ value: string;
5512
+ name: string;
5513
+ description?: string | undefined;
5514
+ group?: string | undefined;
5515
+ }, {
5516
+ value: string;
5517
+ name: string;
5518
+ description?: string | undefined;
5519
+ group?: string | undefined;
5520
+ }>, "many">;
5521
+ current: z.ZodOptional<z.ZodString>;
5522
+ }, "strip", z.ZodTypeAny, {
5523
+ models: {
5524
+ value: string;
5525
+ name: string;
5526
+ description?: string | undefined;
5527
+ group?: string | undefined;
5528
+ }[];
5529
+ current?: string | undefined;
5530
+ }, {
5531
+ models: {
5532
+ value: string;
5533
+ name: string;
5534
+ description?: string | undefined;
5535
+ group?: string | undefined;
5536
+ }[];
5537
+ current?: string | undefined;
5538
+ }>;
5539
+ };
5446
5540
  readonly "sessions.create": {
5447
5541
  readonly params: z.ZodObject<{
5448
5542
  agent: z.ZodString;
@@ -5511,6 +5605,7 @@ declare const coreMethods: {
5511
5605
  kind?: "agent" | "file" | "skill" | undefined;
5512
5606
  }, z.ZodTypeDef, unknown>, "many">>;
5513
5607
  clientMessageId: z.ZodOptional<z.ZodString>;
5608
+ /** One of `agents.models`' values; absent: the agent's own default. */
5514
5609
  model: z.ZodOptional<z.ZodString>;
5515
5610
  /**
5516
5611
  * Start in a new git worktree of `cwd`'s repository (its own branch, from
@@ -6297,6 +6392,9 @@ declare const coreMethods: {
6297
6392
  branch: string;
6298
6393
  source: string;
6299
6394
  }>>;
6395
+ parentId: z.ZodOptional<z.ZodString>;
6396
+ forkedFrom: z.ZodOptional<z.ZodString>;
6397
+ appId: z.ZodOptional<z.ZodString>;
6300
6398
  subagents: z.ZodOptional<z.ZodObject<{
6301
6399
  total: z.ZodNumber;
6302
6400
  running: z.ZodNumber;
@@ -6482,6 +6580,9 @@ declare const coreMethods: {
6482
6580
  branch: string;
6483
6581
  source: string;
6484
6582
  } | undefined;
6583
+ parentId?: string | undefined;
6584
+ forkedFrom?: string | undefined;
6585
+ appId?: string | undefined;
6485
6586
  subagents?: {
6486
6587
  running: number;
6487
6588
  total: number;
@@ -6593,6 +6694,9 @@ declare const coreMethods: {
6593
6694
  branch: string;
6594
6695
  source: string;
6595
6696
  } | undefined;
6697
+ parentId?: string | undefined;
6698
+ forkedFrom?: string | undefined;
6699
+ appId?: string | undefined;
6596
6700
  subagents?: {
6597
6701
  running: number;
6598
6702
  total: number;
@@ -6768,6 +6872,9 @@ declare const coreMethods: {
6768
6872
  branch: string;
6769
6873
  source: string;
6770
6874
  } | undefined;
6875
+ parentId?: string | undefined;
6876
+ forkedFrom?: string | undefined;
6877
+ appId?: string | undefined;
6771
6878
  subagents?: {
6772
6879
  running: number;
6773
6880
  total: number;
@@ -6881,6 +6988,9 @@ declare const coreMethods: {
6881
6988
  branch: string;
6882
6989
  source: string;
6883
6990
  } | undefined;
6991
+ parentId?: string | undefined;
6992
+ forkedFrom?: string | undefined;
6993
+ appId?: string | undefined;
6884
6994
  subagents?: {
6885
6995
  running: number;
6886
6996
  total: number;
@@ -7614,6 +7724,9 @@ declare const coreMethods: {
7614
7724
  branch: string;
7615
7725
  source: string;
7616
7726
  }>>;
7727
+ parentId: z.ZodOptional<z.ZodString>;
7728
+ forkedFrom: z.ZodOptional<z.ZodString>;
7729
+ appId: z.ZodOptional<z.ZodString>;
7617
7730
  subagents: z.ZodOptional<z.ZodObject<{
7618
7731
  total: z.ZodNumber;
7619
7732
  running: z.ZodNumber;
@@ -7799,6 +7912,9 @@ declare const coreMethods: {
7799
7912
  branch: string;
7800
7913
  source: string;
7801
7914
  } | undefined;
7915
+ parentId?: string | undefined;
7916
+ forkedFrom?: string | undefined;
7917
+ appId?: string | undefined;
7802
7918
  subagents?: {
7803
7919
  running: number;
7804
7920
  total: number;
@@ -7910,6 +8026,9 @@ declare const coreMethods: {
7910
8026
  branch: string;
7911
8027
  source: string;
7912
8028
  } | undefined;
8029
+ parentId?: string | undefined;
8030
+ forkedFrom?: string | undefined;
8031
+ appId?: string | undefined;
7913
8032
  subagents?: {
7914
8033
  running: number;
7915
8034
  total: number;
@@ -8085,6 +8204,9 @@ declare const coreMethods: {
8085
8204
  branch: string;
8086
8205
  source: string;
8087
8206
  } | undefined;
8207
+ parentId?: string | undefined;
8208
+ forkedFrom?: string | undefined;
8209
+ appId?: string | undefined;
8088
8210
  subagents?: {
8089
8211
  running: number;
8090
8212
  total: number;
@@ -8198,6 +8320,9 @@ declare const coreMethods: {
8198
8320
  branch: string;
8199
8321
  source: string;
8200
8322
  } | undefined;
8323
+ parentId?: string | undefined;
8324
+ forkedFrom?: string | undefined;
8325
+ appId?: string | undefined;
8201
8326
  subagents?: {
8202
8327
  running: number;
8203
8328
  total: number;
@@ -8944,6 +9069,9 @@ declare const coreMethods: {
8944
9069
  branch: string;
8945
9070
  source: string;
8946
9071
  }>>;
9072
+ parentId: z.ZodOptional<z.ZodString>;
9073
+ forkedFrom: z.ZodOptional<z.ZodString>;
9074
+ appId: z.ZodOptional<z.ZodString>;
8947
9075
  subagents: z.ZodOptional<z.ZodObject<{
8948
9076
  total: z.ZodNumber;
8949
9077
  running: z.ZodNumber;
@@ -9129,6 +9257,9 @@ declare const coreMethods: {
9129
9257
  branch: string;
9130
9258
  source: string;
9131
9259
  } | undefined;
9260
+ parentId?: string | undefined;
9261
+ forkedFrom?: string | undefined;
9262
+ appId?: string | undefined;
9132
9263
  subagents?: {
9133
9264
  running: number;
9134
9265
  total: number;
@@ -9240,6 +9371,9 @@ declare const coreMethods: {
9240
9371
  branch: string;
9241
9372
  source: string;
9242
9373
  } | undefined;
9374
+ parentId?: string | undefined;
9375
+ forkedFrom?: string | undefined;
9376
+ appId?: string | undefined;
9243
9377
  subagents?: {
9244
9378
  running: number;
9245
9379
  total: number;
@@ -9416,6 +9550,9 @@ declare const coreMethods: {
9416
9550
  branch: string;
9417
9551
  source: string;
9418
9552
  } | undefined;
9553
+ parentId?: string | undefined;
9554
+ forkedFrom?: string | undefined;
9555
+ appId?: string | undefined;
9419
9556
  subagents?: {
9420
9557
  running: number;
9421
9558
  total: number;
@@ -9530,6 +9667,9 @@ declare const coreMethods: {
9530
9667
  branch: string;
9531
9668
  source: string;
9532
9669
  } | undefined;
9670
+ parentId?: string | undefined;
9671
+ forkedFrom?: string | undefined;
9672
+ appId?: string | undefined;
9533
9673
  subagents?: {
9534
9674
  running: number;
9535
9675
  total: number;
@@ -10327,14 +10467,37 @@ declare const coreMethods: {
10327
10467
  type: z.ZodLiteral<"mcp">;
10328
10468
  server: z.ZodString;
10329
10469
  tool: z.ZodString;
10470
+ app: z.ZodOptional<z.ZodObject<{
10471
+ resourceUri: z.ZodString;
10472
+ displayMode: z.ZodOptional<z.ZodEnum<["inline", "fullscreen"]>>;
10473
+ connector: z.ZodOptional<z.ZodString>;
10474
+ }, "strip", z.ZodTypeAny, {
10475
+ resourceUri: string;
10476
+ displayMode?: "inline" | "fullscreen" | undefined;
10477
+ connector?: string | undefined;
10478
+ }, {
10479
+ resourceUri: string;
10480
+ displayMode?: "inline" | "fullscreen" | undefined;
10481
+ connector?: string | undefined;
10482
+ }>>;
10330
10483
  }, "strip", z.ZodTypeAny, {
10331
10484
  type: "mcp";
10332
10485
  tool: string;
10333
10486
  server: string;
10487
+ app?: {
10488
+ resourceUri: string;
10489
+ displayMode?: "inline" | "fullscreen" | undefined;
10490
+ connector?: string | undefined;
10491
+ } | undefined;
10334
10492
  }, {
10335
10493
  type: "mcp";
10336
10494
  tool: string;
10337
10495
  server: string;
10496
+ app?: {
10497
+ resourceUri: string;
10498
+ displayMode?: "inline" | "fullscreen" | undefined;
10499
+ connector?: string | undefined;
10500
+ } | undefined;
10338
10501
  }>, z.ZodObject<{
10339
10502
  type: z.ZodLiteral<"subagent">;
10340
10503
  action: z.ZodDefault<z.ZodEnum<["spawn", "message", "wait", "stop", "resume", "list"]>>;
@@ -10696,6 +10859,11 @@ declare const coreMethods: {
10696
10859
  type: "mcp";
10697
10860
  tool: string;
10698
10861
  server: string;
10862
+ app?: {
10863
+ resourceUri: string;
10864
+ displayMode?: "inline" | "fullscreen" | undefined;
10865
+ connector?: string | undefined;
10866
+ } | undefined;
10699
10867
  } | {
10700
10868
  type: "subagent";
10701
10869
  action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
@@ -10792,6 +10960,11 @@ declare const coreMethods: {
10792
10960
  type: "mcp";
10793
10961
  tool: string;
10794
10962
  server: string;
10963
+ app?: {
10964
+ resourceUri: string;
10965
+ displayMode?: "inline" | "fullscreen" | undefined;
10966
+ connector?: string | undefined;
10967
+ } | undefined;
10795
10968
  } | {
10796
10969
  type: "subagent";
10797
10970
  name?: string | undefined;
@@ -10882,14 +11055,37 @@ declare const coreMethods: {
10882
11055
  type: z.ZodLiteral<"mcp">;
10883
11056
  server: z.ZodString;
10884
11057
  tool: z.ZodString;
11058
+ app: z.ZodOptional<z.ZodObject<{
11059
+ resourceUri: z.ZodString;
11060
+ displayMode: z.ZodOptional<z.ZodEnum<["inline", "fullscreen"]>>;
11061
+ connector: z.ZodOptional<z.ZodString>;
11062
+ }, "strip", z.ZodTypeAny, {
11063
+ resourceUri: string;
11064
+ displayMode?: "inline" | "fullscreen" | undefined;
11065
+ connector?: string | undefined;
11066
+ }, {
11067
+ resourceUri: string;
11068
+ displayMode?: "inline" | "fullscreen" | undefined;
11069
+ connector?: string | undefined;
11070
+ }>>;
10885
11071
  }, "strip", z.ZodTypeAny, {
10886
11072
  type: "mcp";
10887
11073
  tool: string;
10888
11074
  server: string;
11075
+ app?: {
11076
+ resourceUri: string;
11077
+ displayMode?: "inline" | "fullscreen" | undefined;
11078
+ connector?: string | undefined;
11079
+ } | undefined;
10889
11080
  }, {
10890
11081
  type: "mcp";
10891
11082
  tool: string;
10892
11083
  server: string;
11084
+ app?: {
11085
+ resourceUri: string;
11086
+ displayMode?: "inline" | "fullscreen" | undefined;
11087
+ connector?: string | undefined;
11088
+ } | undefined;
10893
11089
  }>, z.ZodObject<{
10894
11090
  type: z.ZodLiteral<"subagent">;
10895
11091
  action: z.ZodDefault<z.ZodEnum<["spawn", "message", "wait", "stop", "resume", "list"]>>;
@@ -11431,6 +11627,11 @@ declare const coreMethods: {
11431
11627
  type: "mcp";
11432
11628
  tool: string;
11433
11629
  server: string;
11630
+ app?: {
11631
+ resourceUri: string;
11632
+ displayMode?: "inline" | "fullscreen" | undefined;
11633
+ connector?: string | undefined;
11634
+ } | undefined;
11434
11635
  } | {
11435
11636
  type: "subagent";
11436
11637
  action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
@@ -11530,6 +11731,11 @@ declare const coreMethods: {
11530
11731
  type: "mcp";
11531
11732
  tool: string;
11532
11733
  server: string;
11734
+ app?: {
11735
+ resourceUri: string;
11736
+ displayMode?: "inline" | "fullscreen" | undefined;
11737
+ connector?: string | undefined;
11738
+ } | undefined;
11533
11739
  } | {
11534
11740
  type: "subagent";
11535
11741
  name?: string | undefined;
@@ -13182,6 +13388,11 @@ declare const coreMethods: {
13182
13388
  type: "mcp";
13183
13389
  tool: string;
13184
13390
  server: string;
13391
+ app?: {
13392
+ resourceUri: string;
13393
+ displayMode?: "inline" | "fullscreen" | undefined;
13394
+ connector?: string | undefined;
13395
+ } | undefined;
13185
13396
  } | {
13186
13397
  type: "subagent";
13187
13398
  action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
@@ -13340,6 +13551,11 @@ declare const coreMethods: {
13340
13551
  type: "mcp";
13341
13552
  tool: string;
13342
13553
  server: string;
13554
+ app?: {
13555
+ resourceUri: string;
13556
+ displayMode?: "inline" | "fullscreen" | undefined;
13557
+ connector?: string | undefined;
13558
+ } | undefined;
13343
13559
  } | {
13344
13560
  type: "subagent";
13345
13561
  action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
@@ -13741,6 +13957,11 @@ declare const coreMethods: {
13741
13957
  type: "mcp";
13742
13958
  tool: string;
13743
13959
  server: string;
13960
+ app?: {
13961
+ resourceUri: string;
13962
+ displayMode?: "inline" | "fullscreen" | undefined;
13963
+ connector?: string | undefined;
13964
+ } | undefined;
13744
13965
  } | {
13745
13966
  type: "subagent";
13746
13967
  name?: string | undefined;
@@ -13837,6 +14058,11 @@ declare const coreMethods: {
13837
14058
  type: "mcp";
13838
14059
  tool: string;
13839
14060
  server: string;
14061
+ app?: {
14062
+ resourceUri: string;
14063
+ displayMode?: "inline" | "fullscreen" | undefined;
14064
+ connector?: string | undefined;
14065
+ } | undefined;
13840
14066
  } | {
13841
14067
  type: "subagent";
13842
14068
  name?: string | undefined;
@@ -14490,6 +14716,11 @@ declare const coreMethods: {
14490
14716
  type: "mcp";
14491
14717
  tool: string;
14492
14718
  server: string;
14719
+ app?: {
14720
+ resourceUri: string;
14721
+ displayMode?: "inline" | "fullscreen" | undefined;
14722
+ connector?: string | undefined;
14723
+ } | undefined;
14493
14724
  } | {
14494
14725
  type: "subagent";
14495
14726
  action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
@@ -14648,6 +14879,11 @@ declare const coreMethods: {
14648
14879
  type: "mcp";
14649
14880
  tool: string;
14650
14881
  server: string;
14882
+ app?: {
14883
+ resourceUri: string;
14884
+ displayMode?: "inline" | "fullscreen" | undefined;
14885
+ connector?: string | undefined;
14886
+ } | undefined;
14651
14887
  } | {
14652
14888
  type: "subagent";
14653
14889
  action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
@@ -15052,6 +15288,11 @@ declare const coreMethods: {
15052
15288
  type: "mcp";
15053
15289
  tool: string;
15054
15290
  server: string;
15291
+ app?: {
15292
+ resourceUri: string;
15293
+ displayMode?: "inline" | "fullscreen" | undefined;
15294
+ connector?: string | undefined;
15295
+ } | undefined;
15055
15296
  } | {
15056
15297
  type: "subagent";
15057
15298
  name?: string | undefined;
@@ -15148,6 +15389,11 @@ declare const coreMethods: {
15148
15389
  type: "mcp";
15149
15390
  tool: string;
15150
15391
  server: string;
15392
+ app?: {
15393
+ resourceUri: string;
15394
+ displayMode?: "inline" | "fullscreen" | undefined;
15395
+ connector?: string | undefined;
15396
+ } | undefined;
15151
15397
  } | {
15152
15398
  type: "subagent";
15153
15399
  name?: string | undefined;
@@ -16568,14 +16814,37 @@ declare const coreMethods: {
16568
16814
  type: z.ZodLiteral<"mcp">;
16569
16815
  server: z.ZodString;
16570
16816
  tool: z.ZodString;
16817
+ app: z.ZodOptional<z.ZodObject<{
16818
+ resourceUri: z.ZodString;
16819
+ displayMode: z.ZodOptional<z.ZodEnum<["inline", "fullscreen"]>>;
16820
+ connector: z.ZodOptional<z.ZodString>;
16821
+ }, "strip", z.ZodTypeAny, {
16822
+ resourceUri: string;
16823
+ displayMode?: "inline" | "fullscreen" | undefined;
16824
+ connector?: string | undefined;
16825
+ }, {
16826
+ resourceUri: string;
16827
+ displayMode?: "inline" | "fullscreen" | undefined;
16828
+ connector?: string | undefined;
16829
+ }>>;
16571
16830
  }, "strip", z.ZodTypeAny, {
16572
16831
  type: "mcp";
16573
16832
  tool: string;
16574
16833
  server: string;
16834
+ app?: {
16835
+ resourceUri: string;
16836
+ displayMode?: "inline" | "fullscreen" | undefined;
16837
+ connector?: string | undefined;
16838
+ } | undefined;
16575
16839
  }, {
16576
16840
  type: "mcp";
16577
16841
  tool: string;
16578
16842
  server: string;
16843
+ app?: {
16844
+ resourceUri: string;
16845
+ displayMode?: "inline" | "fullscreen" | undefined;
16846
+ connector?: string | undefined;
16847
+ } | undefined;
16579
16848
  }>, z.ZodObject<{
16580
16849
  type: z.ZodLiteral<"subagent">;
16581
16850
  action: z.ZodDefault<z.ZodEnum<["spawn", "message", "wait", "stop", "resume", "list"]>>;
@@ -16937,6 +17206,11 @@ declare const coreMethods: {
16937
17206
  type: "mcp";
16938
17207
  tool: string;
16939
17208
  server: string;
17209
+ app?: {
17210
+ resourceUri: string;
17211
+ displayMode?: "inline" | "fullscreen" | undefined;
17212
+ connector?: string | undefined;
17213
+ } | undefined;
16940
17214
  } | {
16941
17215
  type: "subagent";
16942
17216
  action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
@@ -17033,6 +17307,11 @@ declare const coreMethods: {
17033
17307
  type: "mcp";
17034
17308
  tool: string;
17035
17309
  server: string;
17310
+ app?: {
17311
+ resourceUri: string;
17312
+ displayMode?: "inline" | "fullscreen" | undefined;
17313
+ connector?: string | undefined;
17314
+ } | undefined;
17036
17315
  } | {
17037
17316
  type: "subagent";
17038
17317
  name?: string | undefined;
@@ -17123,14 +17402,37 @@ declare const coreMethods: {
17123
17402
  type: z.ZodLiteral<"mcp">;
17124
17403
  server: z.ZodString;
17125
17404
  tool: z.ZodString;
17405
+ app: z.ZodOptional<z.ZodObject<{
17406
+ resourceUri: z.ZodString;
17407
+ displayMode: z.ZodOptional<z.ZodEnum<["inline", "fullscreen"]>>;
17408
+ connector: z.ZodOptional<z.ZodString>;
17409
+ }, "strip", z.ZodTypeAny, {
17410
+ resourceUri: string;
17411
+ displayMode?: "inline" | "fullscreen" | undefined;
17412
+ connector?: string | undefined;
17413
+ }, {
17414
+ resourceUri: string;
17415
+ displayMode?: "inline" | "fullscreen" | undefined;
17416
+ connector?: string | undefined;
17417
+ }>>;
17126
17418
  }, "strip", z.ZodTypeAny, {
17127
17419
  type: "mcp";
17128
17420
  tool: string;
17129
17421
  server: string;
17422
+ app?: {
17423
+ resourceUri: string;
17424
+ displayMode?: "inline" | "fullscreen" | undefined;
17425
+ connector?: string | undefined;
17426
+ } | undefined;
17130
17427
  }, {
17131
17428
  type: "mcp";
17132
17429
  tool: string;
17133
17430
  server: string;
17431
+ app?: {
17432
+ resourceUri: string;
17433
+ displayMode?: "inline" | "fullscreen" | undefined;
17434
+ connector?: string | undefined;
17435
+ } | undefined;
17134
17436
  }>, z.ZodObject<{
17135
17437
  type: z.ZodLiteral<"subagent">;
17136
17438
  action: z.ZodDefault<z.ZodEnum<["spawn", "message", "wait", "stop", "resume", "list"]>>;
@@ -17672,6 +17974,11 @@ declare const coreMethods: {
17672
17974
  type: "mcp";
17673
17975
  tool: string;
17674
17976
  server: string;
17977
+ app?: {
17978
+ resourceUri: string;
17979
+ displayMode?: "inline" | "fullscreen" | undefined;
17980
+ connector?: string | undefined;
17981
+ } | undefined;
17675
17982
  } | {
17676
17983
  type: "subagent";
17677
17984
  action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
@@ -17771,6 +18078,11 @@ declare const coreMethods: {
17771
18078
  type: "mcp";
17772
18079
  tool: string;
17773
18080
  server: string;
18081
+ app?: {
18082
+ resourceUri: string;
18083
+ displayMode?: "inline" | "fullscreen" | undefined;
18084
+ connector?: string | undefined;
18085
+ } | undefined;
17774
18086
  } | {
17775
18087
  type: "subagent";
17776
18088
  name?: string | undefined;
@@ -19423,6 +19735,11 @@ declare const coreMethods: {
19423
19735
  type: "mcp";
19424
19736
  tool: string;
19425
19737
  server: string;
19738
+ app?: {
19739
+ resourceUri: string;
19740
+ displayMode?: "inline" | "fullscreen" | undefined;
19741
+ connector?: string | undefined;
19742
+ } | undefined;
19426
19743
  } | {
19427
19744
  type: "subagent";
19428
19745
  action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
@@ -19581,6 +19898,11 @@ declare const coreMethods: {
19581
19898
  type: "mcp";
19582
19899
  tool: string;
19583
19900
  server: string;
19901
+ app?: {
19902
+ resourceUri: string;
19903
+ displayMode?: "inline" | "fullscreen" | undefined;
19904
+ connector?: string | undefined;
19905
+ } | undefined;
19584
19906
  } | {
19585
19907
  type: "subagent";
19586
19908
  action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
@@ -19982,6 +20304,11 @@ declare const coreMethods: {
19982
20304
  type: "mcp";
19983
20305
  tool: string;
19984
20306
  server: string;
20307
+ app?: {
20308
+ resourceUri: string;
20309
+ displayMode?: "inline" | "fullscreen" | undefined;
20310
+ connector?: string | undefined;
20311
+ } | undefined;
19985
20312
  } | {
19986
20313
  type: "subagent";
19987
20314
  name?: string | undefined;
@@ -20078,6 +20405,11 @@ declare const coreMethods: {
20078
20405
  type: "mcp";
20079
20406
  tool: string;
20080
20407
  server: string;
20408
+ app?: {
20409
+ resourceUri: string;
20410
+ displayMode?: "inline" | "fullscreen" | undefined;
20411
+ connector?: string | undefined;
20412
+ } | undefined;
20081
20413
  } | {
20082
20414
  type: "subagent";
20083
20415
  name?: string | undefined;
@@ -20729,6 +21061,11 @@ declare const coreMethods: {
20729
21061
  type: "mcp";
20730
21062
  tool: string;
20731
21063
  server: string;
21064
+ app?: {
21065
+ resourceUri: string;
21066
+ displayMode?: "inline" | "fullscreen" | undefined;
21067
+ connector?: string | undefined;
21068
+ } | undefined;
20732
21069
  } | {
20733
21070
  type: "subagent";
20734
21071
  action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
@@ -20887,6 +21224,11 @@ declare const coreMethods: {
20887
21224
  type: "mcp";
20888
21225
  tool: string;
20889
21226
  server: string;
21227
+ app?: {
21228
+ resourceUri: string;
21229
+ displayMode?: "inline" | "fullscreen" | undefined;
21230
+ connector?: string | undefined;
21231
+ } | undefined;
20890
21232
  } | {
20891
21233
  type: "subagent";
20892
21234
  action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
@@ -21290,6 +21632,11 @@ declare const coreMethods: {
21290
21632
  type: "mcp";
21291
21633
  tool: string;
21292
21634
  server: string;
21635
+ app?: {
21636
+ resourceUri: string;
21637
+ displayMode?: "inline" | "fullscreen" | undefined;
21638
+ connector?: string | undefined;
21639
+ } | undefined;
21293
21640
  } | {
21294
21641
  type: "subagent";
21295
21642
  name?: string | undefined;
@@ -21386,6 +21733,11 @@ declare const coreMethods: {
21386
21733
  type: "mcp";
21387
21734
  tool: string;
21388
21735
  server: string;
21736
+ app?: {
21737
+ resourceUri: string;
21738
+ displayMode?: "inline" | "fullscreen" | undefined;
21739
+ connector?: string | undefined;
21740
+ } | undefined;
21389
21741
  } | {
21390
21742
  type: "subagent";
21391
21743
  name?: string | undefined;
@@ -21675,6 +22027,223 @@ declare const coreMethods: {
21675
22027
  }[];
21676
22028
  }>;
21677
22029
  };
22030
+ /**
22031
+ * Asks in a side conversation of the session (a new one without `sideId`):
22032
+ * answered from what the session knows, never added to it. Returns once the
22033
+ * question is on its way; the answer comes in `session.side`. Only for an
22034
+ * agent whose capabilities say `side`.
22035
+ */
22036
+ readonly "sessions.side": {
22037
+ readonly params: z.ZodObject<{
22038
+ sessionId: z.ZodString;
22039
+ sideId: z.ZodOptional<z.ZodString>;
22040
+ text: z.ZodString;
22041
+ }, "strip", z.ZodTypeAny, {
22042
+ text: string;
22043
+ sessionId: string;
22044
+ sideId?: string | undefined;
22045
+ }, {
22046
+ text: string;
22047
+ sessionId: string;
22048
+ sideId?: string | undefined;
22049
+ }>;
22050
+ readonly result: z.ZodObject<{
22051
+ side: z.ZodObject<{
22052
+ sideId: z.ZodString;
22053
+ createdAt: z.ZodNumber;
22054
+ running: z.ZodBoolean;
22055
+ revision: z.ZodNumber;
22056
+ messages: z.ZodArray<z.ZodObject<{
22057
+ id: z.ZodString;
22058
+ role: z.ZodEnum<["user", "assistant"]>;
22059
+ text: z.ZodString;
22060
+ activity: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
22061
+ error: z.ZodOptional<z.ZodString>;
22062
+ }, "strip", z.ZodTypeAny, {
22063
+ id: string;
22064
+ text: string;
22065
+ role: "user" | "assistant";
22066
+ error?: string | undefined;
22067
+ activity?: string[] | undefined;
22068
+ }, {
22069
+ id: string;
22070
+ text: string;
22071
+ role: "user" | "assistant";
22072
+ error?: string | undefined;
22073
+ activity?: string[] | undefined;
22074
+ }>, "many">;
22075
+ }, "strip", z.ZodTypeAny, {
22076
+ running: boolean;
22077
+ createdAt: number;
22078
+ sideId: string;
22079
+ revision: number;
22080
+ messages: {
22081
+ id: string;
22082
+ text: string;
22083
+ role: "user" | "assistant";
22084
+ error?: string | undefined;
22085
+ activity?: string[] | undefined;
22086
+ }[];
22087
+ }, {
22088
+ running: boolean;
22089
+ createdAt: number;
22090
+ sideId: string;
22091
+ revision: number;
22092
+ messages: {
22093
+ id: string;
22094
+ text: string;
22095
+ role: "user" | "assistant";
22096
+ error?: string | undefined;
22097
+ activity?: string[] | undefined;
22098
+ }[];
22099
+ }>;
22100
+ }, "strip", z.ZodTypeAny, {
22101
+ side: {
22102
+ running: boolean;
22103
+ createdAt: number;
22104
+ sideId: string;
22105
+ revision: number;
22106
+ messages: {
22107
+ id: string;
22108
+ text: string;
22109
+ role: "user" | "assistant";
22110
+ error?: string | undefined;
22111
+ activity?: string[] | undefined;
22112
+ }[];
22113
+ };
22114
+ }, {
22115
+ side: {
22116
+ running: boolean;
22117
+ createdAt: number;
22118
+ sideId: string;
22119
+ revision: number;
22120
+ messages: {
22121
+ id: string;
22122
+ text: string;
22123
+ role: "user" | "assistant";
22124
+ error?: string | undefined;
22125
+ activity?: string[] | undefined;
22126
+ }[];
22127
+ };
22128
+ }>;
22129
+ };
22130
+ /** The session's open side conversations, oldest first. */
22131
+ readonly "sessions.sides": {
22132
+ readonly params: z.ZodObject<{
22133
+ sessionId: z.ZodString;
22134
+ }, "strip", z.ZodTypeAny, {
22135
+ sessionId: string;
22136
+ }, {
22137
+ sessionId: string;
22138
+ }>;
22139
+ readonly result: z.ZodObject<{
22140
+ sides: z.ZodArray<z.ZodObject<{
22141
+ sideId: z.ZodString;
22142
+ createdAt: z.ZodNumber;
22143
+ running: z.ZodBoolean;
22144
+ revision: z.ZodNumber;
22145
+ messages: z.ZodArray<z.ZodObject<{
22146
+ id: z.ZodString;
22147
+ role: z.ZodEnum<["user", "assistant"]>;
22148
+ text: z.ZodString;
22149
+ activity: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
22150
+ error: z.ZodOptional<z.ZodString>;
22151
+ }, "strip", z.ZodTypeAny, {
22152
+ id: string;
22153
+ text: string;
22154
+ role: "user" | "assistant";
22155
+ error?: string | undefined;
22156
+ activity?: string[] | undefined;
22157
+ }, {
22158
+ id: string;
22159
+ text: string;
22160
+ role: "user" | "assistant";
22161
+ error?: string | undefined;
22162
+ activity?: string[] | undefined;
22163
+ }>, "many">;
22164
+ }, "strip", z.ZodTypeAny, {
22165
+ running: boolean;
22166
+ createdAt: number;
22167
+ sideId: string;
22168
+ revision: number;
22169
+ messages: {
22170
+ id: string;
22171
+ text: string;
22172
+ role: "user" | "assistant";
22173
+ error?: string | undefined;
22174
+ activity?: string[] | undefined;
22175
+ }[];
22176
+ }, {
22177
+ running: boolean;
22178
+ createdAt: number;
22179
+ sideId: string;
22180
+ revision: number;
22181
+ messages: {
22182
+ id: string;
22183
+ text: string;
22184
+ role: "user" | "assistant";
22185
+ error?: string | undefined;
22186
+ activity?: string[] | undefined;
22187
+ }[];
22188
+ }>, "many">;
22189
+ }, "strip", z.ZodTypeAny, {
22190
+ sides: {
22191
+ running: boolean;
22192
+ createdAt: number;
22193
+ sideId: string;
22194
+ revision: number;
22195
+ messages: {
22196
+ id: string;
22197
+ text: string;
22198
+ role: "user" | "assistant";
22199
+ error?: string | undefined;
22200
+ activity?: string[] | undefined;
22201
+ }[];
22202
+ }[];
22203
+ }, {
22204
+ sides: {
22205
+ running: boolean;
22206
+ createdAt: number;
22207
+ sideId: string;
22208
+ revision: number;
22209
+ messages: {
22210
+ id: string;
22211
+ text: string;
22212
+ role: "user" | "assistant";
22213
+ error?: string | undefined;
22214
+ activity?: string[] | undefined;
22215
+ }[];
22216
+ }[];
22217
+ }>;
22218
+ };
22219
+ /** Stops the answer under way. */
22220
+ readonly "sessions.sideCancel": {
22221
+ readonly params: z.ZodObject<{
22222
+ sessionId: z.ZodString;
22223
+ sideId: z.ZodString;
22224
+ }, "strip", z.ZodTypeAny, {
22225
+ sessionId: string;
22226
+ sideId: string;
22227
+ }, {
22228
+ sessionId: string;
22229
+ sideId: string;
22230
+ }>;
22231
+ readonly result: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
22232
+ };
22233
+ /** Ends a side conversation: it is forgotten, and whatever the agent kept for it let go. */
22234
+ readonly "sessions.sideClose": {
22235
+ readonly params: z.ZodObject<{
22236
+ sessionId: z.ZodString;
22237
+ sideId: z.ZodString;
22238
+ }, "strip", z.ZodTypeAny, {
22239
+ sessionId: string;
22240
+ sideId: string;
22241
+ }, {
22242
+ sessionId: string;
22243
+ sideId: string;
22244
+ }>;
22245
+ readonly result: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
22246
+ };
21678
22247
  /** The commands this session left running in the background, and the ones that have ended; newest first. */
21679
22248
  readonly "sessions.tasks": {
21680
22249
  readonly params: z.ZodObject<{
@@ -22086,20 +22655,20 @@ declare const coreMethods: {
22086
22655
  }>, "many">;
22087
22656
  }, "strip", z.ZodTypeAny, {
22088
22657
  requestId: string;
22658
+ sessionId: string;
22089
22659
  answers: {
22090
22660
  values: string[];
22091
22661
  id: string;
22092
22662
  other?: string | undefined;
22093
22663
  }[];
22094
- sessionId: string;
22095
22664
  }, {
22096
22665
  requestId: string;
22666
+ sessionId: string;
22097
22667
  answers: {
22098
22668
  values: string[];
22099
22669
  id: string;
22100
22670
  other?: string | undefined;
22101
22671
  }[];
22102
- sessionId: string;
22103
22672
  }>;
22104
22673
  readonly result: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
22105
22674
  };
@@ -23004,6 +23573,9 @@ declare const coreMethods: {
23004
23573
  branch: string;
23005
23574
  source: string;
23006
23575
  }>>;
23576
+ parentId: z.ZodOptional<z.ZodString>;
23577
+ forkedFrom: z.ZodOptional<z.ZodString>;
23578
+ appId: z.ZodOptional<z.ZodString>;
23007
23579
  subagents: z.ZodOptional<z.ZodObject<{
23008
23580
  total: z.ZodNumber;
23009
23581
  running: z.ZodNumber;
@@ -23189,6 +23761,9 @@ declare const coreMethods: {
23189
23761
  branch: string;
23190
23762
  source: string;
23191
23763
  } | undefined;
23764
+ parentId?: string | undefined;
23765
+ forkedFrom?: string | undefined;
23766
+ appId?: string | undefined;
23192
23767
  subagents?: {
23193
23768
  running: number;
23194
23769
  total: number;
@@ -23300,6 +23875,9 @@ declare const coreMethods: {
23300
23875
  branch: string;
23301
23876
  source: string;
23302
23877
  } | undefined;
23878
+ parentId?: string | undefined;
23879
+ forkedFrom?: string | undefined;
23880
+ appId?: string | undefined;
23303
23881
  subagents?: {
23304
23882
  running: number;
23305
23883
  total: number;
@@ -23475,6 +24053,9 @@ declare const coreMethods: {
23475
24053
  branch: string;
23476
24054
  source: string;
23477
24055
  } | undefined;
24056
+ parentId?: string | undefined;
24057
+ forkedFrom?: string | undefined;
24058
+ appId?: string | undefined;
23478
24059
  subagents?: {
23479
24060
  running: number;
23480
24061
  total: number;
@@ -23588,6 +24169,9 @@ declare const coreMethods: {
23588
24169
  branch: string;
23589
24170
  source: string;
23590
24171
  } | undefined;
24172
+ parentId?: string | undefined;
24173
+ forkedFrom?: string | undefined;
24174
+ appId?: string | undefined;
23591
24175
  subagents?: {
23592
24176
  running: number;
23593
24177
  total: number;
@@ -24313,6 +24897,9 @@ declare const coreMethods: {
24313
24897
  branch: string;
24314
24898
  source: string;
24315
24899
  }>>;
24900
+ parentId: z.ZodOptional<z.ZodString>;
24901
+ forkedFrom: z.ZodOptional<z.ZodString>;
24902
+ appId: z.ZodOptional<z.ZodString>;
24316
24903
  subagents: z.ZodOptional<z.ZodObject<{
24317
24904
  total: z.ZodNumber;
24318
24905
  running: z.ZodNumber;
@@ -24498,6 +25085,9 @@ declare const coreMethods: {
24498
25085
  branch: string;
24499
25086
  source: string;
24500
25087
  } | undefined;
25088
+ parentId?: string | undefined;
25089
+ forkedFrom?: string | undefined;
25090
+ appId?: string | undefined;
24501
25091
  subagents?: {
24502
25092
  running: number;
24503
25093
  total: number;
@@ -24609,6 +25199,9 @@ declare const coreMethods: {
24609
25199
  branch: string;
24610
25200
  source: string;
24611
25201
  } | undefined;
25202
+ parentId?: string | undefined;
25203
+ forkedFrom?: string | undefined;
25204
+ appId?: string | undefined;
24612
25205
  subagents?: {
24613
25206
  running: number;
24614
25207
  total: number;
@@ -24784,6 +25377,9 @@ declare const coreMethods: {
24784
25377
  branch: string;
24785
25378
  source: string;
24786
25379
  } | undefined;
25380
+ parentId?: string | undefined;
25381
+ forkedFrom?: string | undefined;
25382
+ appId?: string | undefined;
24787
25383
  subagents?: {
24788
25384
  running: number;
24789
25385
  total: number;
@@ -24897,6 +25493,9 @@ declare const coreMethods: {
24897
25493
  branch: string;
24898
25494
  source: string;
24899
25495
  } | undefined;
25496
+ parentId?: string | undefined;
25497
+ forkedFrom?: string | undefined;
25498
+ appId?: string | undefined;
24900
25499
  subagents?: {
24901
25500
  running: number;
24902
25501
  total: number;
@@ -25570,9 +26169,9 @@ declare const coreMethods: {
25570
26169
  revision?: string | undefined;
25571
26170
  }, {
25572
26171
  path: string;
26172
+ revision?: string | undefined;
25573
26173
  offset?: number | undefined;
25574
26174
  maxBytes?: number | undefined;
25575
- revision?: string | undefined;
25576
26175
  }>;
25577
26176
  readonly result: z.ZodObject<{
25578
26177
  size: z.ZodNumber;
@@ -25583,14 +26182,14 @@ declare const coreMethods: {
25583
26182
  }, "strip", z.ZodTypeAny, {
25584
26183
  data: string;
25585
26184
  size: number;
25586
- nextOffset: number;
25587
26185
  revision: string;
26186
+ nextOffset: number;
25588
26187
  done: boolean;
25589
26188
  }, {
25590
26189
  data: string;
25591
26190
  size: number;
25592
- nextOffset: number;
25593
26191
  revision: string;
26192
+ nextOffset: number;
25594
26193
  done: boolean;
25595
26194
  }>;
25596
26195
  };
@@ -25713,6 +26312,7 @@ declare const coreMethods: {
25713
26312
  command: z.ZodOptional<z.ZodString>;
25714
26313
  exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
25715
26314
  interrupted: z.ZodOptional<z.ZodBoolean>;
26315
+ sessionId: z.ZodOptional<z.ZodString>;
25716
26316
  }, "strip", z.ZodTypeAny, {
25717
26317
  id: string;
25718
26318
  title: string;
@@ -25724,6 +26324,7 @@ declare const coreMethods: {
25724
26324
  command?: string | undefined;
25725
26325
  exitCode?: number | null | undefined;
25726
26326
  interrupted?: boolean | undefined;
26327
+ sessionId?: string | undefined;
25727
26328
  }, {
25728
26329
  id: string;
25729
26330
  title: string;
@@ -25735,6 +26336,7 @@ declare const coreMethods: {
25735
26336
  command?: string | undefined;
25736
26337
  exitCode?: number | null | undefined;
25737
26338
  interrupted?: boolean | undefined;
26339
+ sessionId?: string | undefined;
25738
26340
  }>, "many">;
25739
26341
  }, "strip", z.ZodTypeAny, {
25740
26342
  terminals: {
@@ -25748,6 +26350,7 @@ declare const coreMethods: {
25748
26350
  command?: string | undefined;
25749
26351
  exitCode?: number | null | undefined;
25750
26352
  interrupted?: boolean | undefined;
26353
+ sessionId?: string | undefined;
25751
26354
  }[];
25752
26355
  }, {
25753
26356
  terminals: {
@@ -25761,12 +26364,15 @@ declare const coreMethods: {
25761
26364
  command?: string | undefined;
25762
26365
  exitCode?: number | null | undefined;
25763
26366
  interrupted?: boolean | undefined;
26367
+ sessionId?: string | undefined;
25764
26368
  }[];
25765
26369
  }>;
25766
26370
  };
25767
26371
  readonly "terminals.create": {
25768
26372
  readonly params: z.ZodObject<{
25769
26373
  cwd: z.ZodOptional<z.ZodString>;
26374
+ /** Open it for this session, in its directory unless `cwd` says otherwise (see `TerminalInfo.sessionId`). */
26375
+ sessionId: z.ZodOptional<z.ZodString>;
25770
26376
  /** Run this in the shell right away (the shell stays open after it). */
25771
26377
  command: z.ZodOptional<z.ZodString>;
25772
26378
  cols: z.ZodDefault<z.ZodNumber>;
@@ -25776,11 +26382,13 @@ declare const coreMethods: {
25776
26382
  rows: number;
25777
26383
  command?: string | undefined;
25778
26384
  cwd?: string | undefined;
26385
+ sessionId?: string | undefined;
25779
26386
  }, {
25780
26387
  command?: string | undefined;
25781
26388
  cwd?: string | undefined;
25782
26389
  cols?: number | undefined;
25783
26390
  rows?: number | undefined;
26391
+ sessionId?: string | undefined;
25784
26392
  }>;
25785
26393
  readonly result: z.ZodObject<{
25786
26394
  terminal: z.ZodObject<{
@@ -25794,6 +26402,7 @@ declare const coreMethods: {
25794
26402
  command: z.ZodOptional<z.ZodString>;
25795
26403
  exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
25796
26404
  interrupted: z.ZodOptional<z.ZodBoolean>;
26405
+ sessionId: z.ZodOptional<z.ZodString>;
25797
26406
  }, "strip", z.ZodTypeAny, {
25798
26407
  id: string;
25799
26408
  title: string;
@@ -25805,6 +26414,7 @@ declare const coreMethods: {
25805
26414
  command?: string | undefined;
25806
26415
  exitCode?: number | null | undefined;
25807
26416
  interrupted?: boolean | undefined;
26417
+ sessionId?: string | undefined;
25808
26418
  }, {
25809
26419
  id: string;
25810
26420
  title: string;
@@ -25816,6 +26426,7 @@ declare const coreMethods: {
25816
26426
  command?: string | undefined;
25817
26427
  exitCode?: number | null | undefined;
25818
26428
  interrupted?: boolean | undefined;
26429
+ sessionId?: string | undefined;
25819
26430
  }>;
25820
26431
  }, "strip", z.ZodTypeAny, {
25821
26432
  terminal: {
@@ -25829,6 +26440,7 @@ declare const coreMethods: {
25829
26440
  command?: string | undefined;
25830
26441
  exitCode?: number | null | undefined;
25831
26442
  interrupted?: boolean | undefined;
26443
+ sessionId?: string | undefined;
25832
26444
  };
25833
26445
  }, {
25834
26446
  terminal: {
@@ -25842,6 +26454,7 @@ declare const coreMethods: {
25842
26454
  command?: string | undefined;
25843
26455
  exitCode?: number | null | undefined;
25844
26456
  interrupted?: boolean | undefined;
26457
+ sessionId?: string | undefined;
25845
26458
  };
25846
26459
  }>;
25847
26460
  };
@@ -25882,6 +26495,7 @@ declare const coreMethods: {
25882
26495
  command: z.ZodOptional<z.ZodString>;
25883
26496
  exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
25884
26497
  interrupted: z.ZodOptional<z.ZodBoolean>;
26498
+ sessionId: z.ZodOptional<z.ZodString>;
25885
26499
  }, "strip", z.ZodTypeAny, {
25886
26500
  id: string;
25887
26501
  title: string;
@@ -25893,6 +26507,7 @@ declare const coreMethods: {
25893
26507
  command?: string | undefined;
25894
26508
  exitCode?: number | null | undefined;
25895
26509
  interrupted?: boolean | undefined;
26510
+ sessionId?: string | undefined;
25896
26511
  }, {
25897
26512
  id: string;
25898
26513
  title: string;
@@ -25904,6 +26519,7 @@ declare const coreMethods: {
25904
26519
  command?: string | undefined;
25905
26520
  exitCode?: number | null | undefined;
25906
26521
  interrupted?: boolean | undefined;
26522
+ sessionId?: string | undefined;
25907
26523
  }>;
25908
26524
  /** Output to write before any `terminal.output` that follows. */
25909
26525
  replay: z.ZodString;
@@ -25952,6 +26568,7 @@ declare const coreMethods: {
25952
26568
  command?: string | undefined;
25953
26569
  exitCode?: number | null | undefined;
25954
26570
  interrupted?: boolean | undefined;
26571
+ sessionId?: string | undefined;
25955
26572
  };
25956
26573
  seq: number;
25957
26574
  replay: string;
@@ -25979,6 +26596,7 @@ declare const coreMethods: {
25979
26596
  command?: string | undefined;
25980
26597
  exitCode?: number | null | undefined;
25981
26598
  interrupted?: boolean | undefined;
26599
+ sessionId?: string | undefined;
25982
26600
  };
25983
26601
  seq: number;
25984
26602
  replay: string;
@@ -26325,7 +26943,7 @@ declare const coreMethods: {
26325
26943
  readonly result: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
26326
26944
  };
26327
26945
  };
26328
- export declare const methods: typeof coreMethods & typeof acpMethods;
26946
+ export declare const methods: typeof coreMethods & typeof acpMethods & typeof mcpMethods;
26329
26947
  export type MethodName = keyof typeof methods;
26330
26948
  export type MethodParams<M extends MethodName> = z.input<(typeof methods)[M]["params"]>;
26331
26949
  export type MethodResult<M extends MethodName> = z.infer<(typeof methods)[M]["result"]>;
@@ -26361,6 +26979,7 @@ export declare const notifications: {
26361
26979
  embeddedContext: z.ZodOptional<z.ZodBoolean>;
26362
26980
  acp: z.ZodOptional<z.ZodBoolean>;
26363
26981
  fork: z.ZodBoolean;
26982
+ side: z.ZodOptional<z.ZodBoolean>;
26364
26983
  models: z.ZodBoolean;
26365
26984
  modes: z.ZodBoolean;
26366
26985
  }, "strip", z.ZodTypeAny, {
@@ -26374,6 +26993,7 @@ export declare const notifications: {
26374
26993
  acp?: boolean | undefined;
26375
26994
  audio?: boolean | undefined;
26376
26995
  embeddedContext?: boolean | undefined;
26996
+ side?: boolean | undefined;
26377
26997
  }, {
26378
26998
  interrupt: boolean;
26379
26999
  steer: boolean;
@@ -26385,6 +27005,7 @@ export declare const notifications: {
26385
27005
  acp?: boolean | undefined;
26386
27006
  audio?: boolean | undefined;
26387
27007
  embeddedContext?: boolean | undefined;
27008
+ side?: boolean | undefined;
26388
27009
  }>;
26389
27010
  }, "strip", z.ZodTypeAny, {
26390
27011
  id: string;
@@ -26402,6 +27023,7 @@ export declare const notifications: {
26402
27023
  acp?: boolean | undefined;
26403
27024
  audio?: boolean | undefined;
26404
27025
  embeddedContext?: boolean | undefined;
27026
+ side?: boolean | undefined;
26405
27027
  };
26406
27028
  version?: string | undefined;
26407
27029
  problem?: string | undefined;
@@ -26426,6 +27048,7 @@ export declare const notifications: {
26426
27048
  acp?: boolean | undefined;
26427
27049
  audio?: boolean | undefined;
26428
27050
  embeddedContext?: boolean | undefined;
27051
+ side?: boolean | undefined;
26429
27052
  };
26430
27053
  version?: string | undefined;
26431
27054
  problem?: string | undefined;
@@ -26452,6 +27075,7 @@ export declare const notifications: {
26452
27075
  acp?: boolean | undefined;
26453
27076
  audio?: boolean | undefined;
26454
27077
  embeddedContext?: boolean | undefined;
27078
+ side?: boolean | undefined;
26455
27079
  };
26456
27080
  version?: string | undefined;
26457
27081
  problem?: string | undefined;
@@ -26478,6 +27102,7 @@ export declare const notifications: {
26478
27102
  acp?: boolean | undefined;
26479
27103
  audio?: boolean | undefined;
26480
27104
  embeddedContext?: boolean | undefined;
27105
+ side?: boolean | undefined;
26481
27106
  };
26482
27107
  version?: string | undefined;
26483
27108
  problem?: string | undefined;
@@ -28146,14 +28771,37 @@ export declare const notifications: {
28146
28771
  type: z.ZodLiteral<"mcp">;
28147
28772
  server: z.ZodString;
28148
28773
  tool: z.ZodString;
28774
+ app: z.ZodOptional<z.ZodObject<{
28775
+ resourceUri: z.ZodString;
28776
+ displayMode: z.ZodOptional<z.ZodEnum<["inline", "fullscreen"]>>;
28777
+ connector: z.ZodOptional<z.ZodString>;
28778
+ }, "strip", z.ZodTypeAny, {
28779
+ resourceUri: string;
28780
+ displayMode?: "inline" | "fullscreen" | undefined;
28781
+ connector?: string | undefined;
28782
+ }, {
28783
+ resourceUri: string;
28784
+ displayMode?: "inline" | "fullscreen" | undefined;
28785
+ connector?: string | undefined;
28786
+ }>>;
28149
28787
  }, "strip", z.ZodTypeAny, {
28150
28788
  type: "mcp";
28151
28789
  tool: string;
28152
28790
  server: string;
28791
+ app?: {
28792
+ resourceUri: string;
28793
+ displayMode?: "inline" | "fullscreen" | undefined;
28794
+ connector?: string | undefined;
28795
+ } | undefined;
28153
28796
  }, {
28154
28797
  type: "mcp";
28155
28798
  tool: string;
28156
28799
  server: string;
28800
+ app?: {
28801
+ resourceUri: string;
28802
+ displayMode?: "inline" | "fullscreen" | undefined;
28803
+ connector?: string | undefined;
28804
+ } | undefined;
28157
28805
  }>, z.ZodObject<{
28158
28806
  type: z.ZodLiteral<"subagent">;
28159
28807
  action: z.ZodDefault<z.ZodEnum<["spawn", "message", "wait", "stop", "resume", "list"]>>;
@@ -28515,6 +29163,11 @@ export declare const notifications: {
28515
29163
  type: "mcp";
28516
29164
  tool: string;
28517
29165
  server: string;
29166
+ app?: {
29167
+ resourceUri: string;
29168
+ displayMode?: "inline" | "fullscreen" | undefined;
29169
+ connector?: string | undefined;
29170
+ } | undefined;
28518
29171
  } | {
28519
29172
  type: "subagent";
28520
29173
  action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
@@ -28611,6 +29264,11 @@ export declare const notifications: {
28611
29264
  type: "mcp";
28612
29265
  tool: string;
28613
29266
  server: string;
29267
+ app?: {
29268
+ resourceUri: string;
29269
+ displayMode?: "inline" | "fullscreen" | undefined;
29270
+ connector?: string | undefined;
29271
+ } | undefined;
28614
29272
  } | {
28615
29273
  type: "subagent";
28616
29274
  name?: string | undefined;
@@ -28701,14 +29359,37 @@ export declare const notifications: {
28701
29359
  type: z.ZodLiteral<"mcp">;
28702
29360
  server: z.ZodString;
28703
29361
  tool: z.ZodString;
29362
+ app: z.ZodOptional<z.ZodObject<{
29363
+ resourceUri: z.ZodString;
29364
+ displayMode: z.ZodOptional<z.ZodEnum<["inline", "fullscreen"]>>;
29365
+ connector: z.ZodOptional<z.ZodString>;
29366
+ }, "strip", z.ZodTypeAny, {
29367
+ resourceUri: string;
29368
+ displayMode?: "inline" | "fullscreen" | undefined;
29369
+ connector?: string | undefined;
29370
+ }, {
29371
+ resourceUri: string;
29372
+ displayMode?: "inline" | "fullscreen" | undefined;
29373
+ connector?: string | undefined;
29374
+ }>>;
28704
29375
  }, "strip", z.ZodTypeAny, {
28705
29376
  type: "mcp";
28706
29377
  tool: string;
28707
29378
  server: string;
29379
+ app?: {
29380
+ resourceUri: string;
29381
+ displayMode?: "inline" | "fullscreen" | undefined;
29382
+ connector?: string | undefined;
29383
+ } | undefined;
28708
29384
  }, {
28709
29385
  type: "mcp";
28710
29386
  tool: string;
28711
29387
  server: string;
29388
+ app?: {
29389
+ resourceUri: string;
29390
+ displayMode?: "inline" | "fullscreen" | undefined;
29391
+ connector?: string | undefined;
29392
+ } | undefined;
28712
29393
  }>, z.ZodObject<{
28713
29394
  type: z.ZodLiteral<"subagent">;
28714
29395
  action: z.ZodDefault<z.ZodEnum<["spawn", "message", "wait", "stop", "resume", "list"]>>;
@@ -29250,6 +29931,11 @@ export declare const notifications: {
29250
29931
  type: "mcp";
29251
29932
  tool: string;
29252
29933
  server: string;
29934
+ app?: {
29935
+ resourceUri: string;
29936
+ displayMode?: "inline" | "fullscreen" | undefined;
29937
+ connector?: string | undefined;
29938
+ } | undefined;
29253
29939
  } | {
29254
29940
  type: "subagent";
29255
29941
  action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
@@ -29349,6 +30035,11 @@ export declare const notifications: {
29349
30035
  type: "mcp";
29350
30036
  tool: string;
29351
30037
  server: string;
30038
+ app?: {
30039
+ resourceUri: string;
30040
+ displayMode?: "inline" | "fullscreen" | undefined;
30041
+ connector?: string | undefined;
30042
+ } | undefined;
29352
30043
  } | {
29353
30044
  type: "subagent";
29354
30045
  name?: string | undefined;
@@ -31001,6 +31692,11 @@ export declare const notifications: {
31001
31692
  type: "mcp";
31002
31693
  tool: string;
31003
31694
  server: string;
31695
+ app?: {
31696
+ resourceUri: string;
31697
+ displayMode?: "inline" | "fullscreen" | undefined;
31698
+ connector?: string | undefined;
31699
+ } | undefined;
31004
31700
  } | {
31005
31701
  type: "subagent";
31006
31702
  action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
@@ -31159,6 +31855,11 @@ export declare const notifications: {
31159
31855
  type: "mcp";
31160
31856
  tool: string;
31161
31857
  server: string;
31858
+ app?: {
31859
+ resourceUri: string;
31860
+ displayMode?: "inline" | "fullscreen" | undefined;
31861
+ connector?: string | undefined;
31862
+ } | undefined;
31162
31863
  } | {
31163
31864
  type: "subagent";
31164
31865
  action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
@@ -31560,6 +32261,11 @@ export declare const notifications: {
31560
32261
  type: "mcp";
31561
32262
  tool: string;
31562
32263
  server: string;
32264
+ app?: {
32265
+ resourceUri: string;
32266
+ displayMode?: "inline" | "fullscreen" | undefined;
32267
+ connector?: string | undefined;
32268
+ } | undefined;
31563
32269
  } | {
31564
32270
  type: "subagent";
31565
32271
  name?: string | undefined;
@@ -31656,6 +32362,11 @@ export declare const notifications: {
31656
32362
  type: "mcp";
31657
32363
  tool: string;
31658
32364
  server: string;
32365
+ app?: {
32366
+ resourceUri: string;
32367
+ displayMode?: "inline" | "fullscreen" | undefined;
32368
+ connector?: string | undefined;
32369
+ } | undefined;
31659
32370
  } | {
31660
32371
  type: "subagent";
31661
32372
  name?: string | undefined;
@@ -32660,6 +33371,9 @@ export declare const notifications: {
32660
33371
  branch: string;
32661
33372
  source: string;
32662
33373
  }>>;
33374
+ parentId: z.ZodOptional<z.ZodString>;
33375
+ forkedFrom: z.ZodOptional<z.ZodString>;
33376
+ appId: z.ZodOptional<z.ZodString>;
32663
33377
  subagents: z.ZodOptional<z.ZodObject<{
32664
33378
  total: z.ZodNumber;
32665
33379
  running: z.ZodNumber;
@@ -32845,6 +33559,9 @@ export declare const notifications: {
32845
33559
  branch: string;
32846
33560
  source: string;
32847
33561
  } | undefined;
33562
+ parentId?: string | undefined;
33563
+ forkedFrom?: string | undefined;
33564
+ appId?: string | undefined;
32848
33565
  subagents?: {
32849
33566
  running: number;
32850
33567
  total: number;
@@ -32956,6 +33673,9 @@ export declare const notifications: {
32956
33673
  branch: string;
32957
33674
  source: string;
32958
33675
  } | undefined;
33676
+ parentId?: string | undefined;
33677
+ forkedFrom?: string | undefined;
33678
+ appId?: string | undefined;
32959
33679
  subagents?: {
32960
33680
  running: number;
32961
33681
  total: number;
@@ -33131,6 +33851,9 @@ export declare const notifications: {
33131
33851
  branch: string;
33132
33852
  source: string;
33133
33853
  } | undefined;
33854
+ parentId?: string | undefined;
33855
+ forkedFrom?: string | undefined;
33856
+ appId?: string | undefined;
33134
33857
  subagents?: {
33135
33858
  running: number;
33136
33859
  total: number;
@@ -33244,6 +33967,9 @@ export declare const notifications: {
33244
33967
  branch: string;
33245
33968
  source: string;
33246
33969
  } | undefined;
33970
+ parentId?: string | undefined;
33971
+ forkedFrom?: string | undefined;
33972
+ appId?: string | undefined;
33247
33973
  subagents?: {
33248
33974
  running: number;
33249
33975
  total: number;
@@ -33254,6 +33980,92 @@ export declare const notifications: {
33254
33980
  } | undefined;
33255
33981
  };
33256
33982
  }>;
33983
+ /** A side conversation changed (to every client), or ended (`closed`). */
33984
+ readonly "session.side": z.ZodObject<{
33985
+ sessionId: z.ZodString;
33986
+ side: z.ZodObject<{
33987
+ sideId: z.ZodString;
33988
+ createdAt: z.ZodNumber;
33989
+ running: z.ZodBoolean;
33990
+ revision: z.ZodNumber;
33991
+ messages: z.ZodArray<z.ZodObject<{
33992
+ id: z.ZodString;
33993
+ role: z.ZodEnum<["user", "assistant"]>;
33994
+ text: z.ZodString;
33995
+ activity: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
33996
+ error: z.ZodOptional<z.ZodString>;
33997
+ }, "strip", z.ZodTypeAny, {
33998
+ id: string;
33999
+ text: string;
34000
+ role: "user" | "assistant";
34001
+ error?: string | undefined;
34002
+ activity?: string[] | undefined;
34003
+ }, {
34004
+ id: string;
34005
+ text: string;
34006
+ role: "user" | "assistant";
34007
+ error?: string | undefined;
34008
+ activity?: string[] | undefined;
34009
+ }>, "many">;
34010
+ }, "strip", z.ZodTypeAny, {
34011
+ running: boolean;
34012
+ createdAt: number;
34013
+ sideId: string;
34014
+ revision: number;
34015
+ messages: {
34016
+ id: string;
34017
+ text: string;
34018
+ role: "user" | "assistant";
34019
+ error?: string | undefined;
34020
+ activity?: string[] | undefined;
34021
+ }[];
34022
+ }, {
34023
+ running: boolean;
34024
+ createdAt: number;
34025
+ sideId: string;
34026
+ revision: number;
34027
+ messages: {
34028
+ id: string;
34029
+ text: string;
34030
+ role: "user" | "assistant";
34031
+ error?: string | undefined;
34032
+ activity?: string[] | undefined;
34033
+ }[];
34034
+ }>;
34035
+ closed: z.ZodOptional<z.ZodBoolean>;
34036
+ }, "strip", z.ZodTypeAny, {
34037
+ side: {
34038
+ running: boolean;
34039
+ createdAt: number;
34040
+ sideId: string;
34041
+ revision: number;
34042
+ messages: {
34043
+ id: string;
34044
+ text: string;
34045
+ role: "user" | "assistant";
34046
+ error?: string | undefined;
34047
+ activity?: string[] | undefined;
34048
+ }[];
34049
+ };
34050
+ sessionId: string;
34051
+ closed?: boolean | undefined;
34052
+ }, {
34053
+ side: {
34054
+ running: boolean;
34055
+ createdAt: number;
34056
+ sideId: string;
34057
+ revision: number;
34058
+ messages: {
34059
+ id: string;
34060
+ text: string;
34061
+ role: "user" | "assistant";
34062
+ error?: string | undefined;
34063
+ activity?: string[] | undefined;
34064
+ }[];
34065
+ };
34066
+ sessionId: string;
34067
+ closed?: boolean | undefined;
34068
+ }>;
33257
34069
  /** A session was deleted (from any device, or natively by the agent). */
33258
34070
  readonly "session.removed": z.ZodObject<{
33259
34071
  sessionId: z.ZodString;
@@ -33438,6 +34250,7 @@ export declare const notifications: {
33438
34250
  command: z.ZodOptional<z.ZodString>;
33439
34251
  exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
33440
34252
  interrupted: z.ZodOptional<z.ZodBoolean>;
34253
+ sessionId: z.ZodOptional<z.ZodString>;
33441
34254
  }, "strip", z.ZodTypeAny, {
33442
34255
  id: string;
33443
34256
  title: string;
@@ -33449,6 +34262,7 @@ export declare const notifications: {
33449
34262
  command?: string | undefined;
33450
34263
  exitCode?: number | null | undefined;
33451
34264
  interrupted?: boolean | undefined;
34265
+ sessionId?: string | undefined;
33452
34266
  }, {
33453
34267
  id: string;
33454
34268
  title: string;
@@ -33460,6 +34274,7 @@ export declare const notifications: {
33460
34274
  command?: string | undefined;
33461
34275
  exitCode?: number | null | undefined;
33462
34276
  interrupted?: boolean | undefined;
34277
+ sessionId?: string | undefined;
33463
34278
  }>;
33464
34279
  closed: z.ZodOptional<z.ZodBoolean>;
33465
34280
  }, "strip", z.ZodTypeAny, {
@@ -33474,6 +34289,7 @@ export declare const notifications: {
33474
34289
  command?: string | undefined;
33475
34290
  exitCode?: number | null | undefined;
33476
34291
  interrupted?: boolean | undefined;
34292
+ sessionId?: string | undefined;
33477
34293
  };
33478
34294
  closed?: boolean | undefined;
33479
34295
  }, {
@@ -33488,6 +34304,7 @@ export declare const notifications: {
33488
34304
  command?: string | undefined;
33489
34305
  exitCode?: number | null | undefined;
33490
34306
  interrupted?: boolean | undefined;
34307
+ sessionId?: string | undefined;
33491
34308
  };
33492
34309
  closed?: boolean | undefined;
33493
34310
  }>;