@linkshell/wire 0.2.21 → 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/envelopes.d.ts +53 -0
- package/dist/envelopes.js +251 -0
- package/dist/envelopes.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/live-activity.d.ts +6 -6
- package/dist/model.d.ts +32 -0
- package/dist/model.js +24 -0
- package/dist/model.js.map +1 -1
- package/dist/rpc-mcp.d.ts +199 -0
- package/dist/rpc-mcp.js +78 -0
- package/dist/rpc-mcp.js.map +1 -0
- package/dist/rpc.d.ts +494 -4
- package/dist/rpc.js +30 -2
- package/dist/rpc.js.map +1 -1
- package/dist/updates.d.ts +211 -0
- package/dist/updates.js +14 -1
- package/dist/updates.js.map +1 -1
- package/dist/watch.d.ts +16 -16
- package/package.json +1 -1
- package/src/envelopes.ts +278 -0
- package/src/index.ts +2 -0
- package/src/model.ts +24 -0
- package/src/rpc-mcp.ts +81 -0
- package/src/rpc.ts +30 -2
- package/src/updates.ts +15 -1
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<{
|
|
@@ -69,8 +70,9 @@ export declare const RPC_APP_ERROR = -32000;
|
|
|
69
70
|
* methods or notifications an app may rely on, so an app can tell the
|
|
70
71
|
* computer is older than itself and say so (an absent revision is 0).
|
|
71
72
|
* 1: side conversations (`sessions.side`), `machine.info.protocol` itself.
|
|
73
|
+
* 2: session terminals (`terminals.create` `sessionId`, `TerminalInfo.sessionId`).
|
|
72
74
|
*/
|
|
73
|
-
export declare const HOST_PROTOCOL =
|
|
75
|
+
export declare const HOST_PROTOCOL = 2;
|
|
74
76
|
export declare const directoryEntrySchema: z.ZodObject<{
|
|
75
77
|
name: z.ZodString;
|
|
76
78
|
path: z.ZodString;
|
|
@@ -4862,6 +4864,9 @@ declare const coreMethods: {
|
|
|
4862
4864
|
branch: string;
|
|
4863
4865
|
source: string;
|
|
4864
4866
|
}>>;
|
|
4867
|
+
parentId: z.ZodOptional<z.ZodString>;
|
|
4868
|
+
forkedFrom: z.ZodOptional<z.ZodString>;
|
|
4869
|
+
appId: z.ZodOptional<z.ZodString>;
|
|
4865
4870
|
subagents: z.ZodOptional<z.ZodObject<{
|
|
4866
4871
|
total: z.ZodNumber;
|
|
4867
4872
|
running: z.ZodNumber;
|
|
@@ -5047,6 +5052,9 @@ declare const coreMethods: {
|
|
|
5047
5052
|
branch: string;
|
|
5048
5053
|
source: string;
|
|
5049
5054
|
} | undefined;
|
|
5055
|
+
parentId?: string | undefined;
|
|
5056
|
+
forkedFrom?: string | undefined;
|
|
5057
|
+
appId?: string | undefined;
|
|
5050
5058
|
subagents?: {
|
|
5051
5059
|
running: number;
|
|
5052
5060
|
total: number;
|
|
@@ -5158,6 +5166,9 @@ declare const coreMethods: {
|
|
|
5158
5166
|
branch: string;
|
|
5159
5167
|
source: string;
|
|
5160
5168
|
} | undefined;
|
|
5169
|
+
parentId?: string | undefined;
|
|
5170
|
+
forkedFrom?: string | undefined;
|
|
5171
|
+
appId?: string | undefined;
|
|
5161
5172
|
subagents?: {
|
|
5162
5173
|
running: number;
|
|
5163
5174
|
total: number;
|
|
@@ -5334,6 +5345,9 @@ declare const coreMethods: {
|
|
|
5334
5345
|
branch: string;
|
|
5335
5346
|
source: string;
|
|
5336
5347
|
} | undefined;
|
|
5348
|
+
parentId?: string | undefined;
|
|
5349
|
+
forkedFrom?: string | undefined;
|
|
5350
|
+
appId?: string | undefined;
|
|
5337
5351
|
subagents?: {
|
|
5338
5352
|
running: number;
|
|
5339
5353
|
total: number;
|
|
@@ -5448,6 +5462,9 @@ declare const coreMethods: {
|
|
|
5448
5462
|
branch: string;
|
|
5449
5463
|
source: string;
|
|
5450
5464
|
} | undefined;
|
|
5465
|
+
parentId?: string | undefined;
|
|
5466
|
+
forkedFrom?: string | undefined;
|
|
5467
|
+
appId?: string | undefined;
|
|
5451
5468
|
subagents?: {
|
|
5452
5469
|
running: number;
|
|
5453
5470
|
total: number;
|
|
@@ -5460,6 +5477,66 @@ declare const coreMethods: {
|
|
|
5460
5477
|
nextBefore?: number | undefined;
|
|
5461
5478
|
}>;
|
|
5462
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
|
+
};
|
|
5463
5540
|
readonly "sessions.create": {
|
|
5464
5541
|
readonly params: z.ZodObject<{
|
|
5465
5542
|
agent: z.ZodString;
|
|
@@ -5528,6 +5605,7 @@ declare const coreMethods: {
|
|
|
5528
5605
|
kind?: "agent" | "file" | "skill" | undefined;
|
|
5529
5606
|
}, z.ZodTypeDef, unknown>, "many">>;
|
|
5530
5607
|
clientMessageId: z.ZodOptional<z.ZodString>;
|
|
5608
|
+
/** One of `agents.models`' values; absent: the agent's own default. */
|
|
5531
5609
|
model: z.ZodOptional<z.ZodString>;
|
|
5532
5610
|
/**
|
|
5533
5611
|
* Start in a new git worktree of `cwd`'s repository (its own branch, from
|
|
@@ -6314,6 +6392,9 @@ declare const coreMethods: {
|
|
|
6314
6392
|
branch: string;
|
|
6315
6393
|
source: string;
|
|
6316
6394
|
}>>;
|
|
6395
|
+
parentId: z.ZodOptional<z.ZodString>;
|
|
6396
|
+
forkedFrom: z.ZodOptional<z.ZodString>;
|
|
6397
|
+
appId: z.ZodOptional<z.ZodString>;
|
|
6317
6398
|
subagents: z.ZodOptional<z.ZodObject<{
|
|
6318
6399
|
total: z.ZodNumber;
|
|
6319
6400
|
running: z.ZodNumber;
|
|
@@ -6499,6 +6580,9 @@ declare const coreMethods: {
|
|
|
6499
6580
|
branch: string;
|
|
6500
6581
|
source: string;
|
|
6501
6582
|
} | undefined;
|
|
6583
|
+
parentId?: string | undefined;
|
|
6584
|
+
forkedFrom?: string | undefined;
|
|
6585
|
+
appId?: string | undefined;
|
|
6502
6586
|
subagents?: {
|
|
6503
6587
|
running: number;
|
|
6504
6588
|
total: number;
|
|
@@ -6610,6 +6694,9 @@ declare const coreMethods: {
|
|
|
6610
6694
|
branch: string;
|
|
6611
6695
|
source: string;
|
|
6612
6696
|
} | undefined;
|
|
6697
|
+
parentId?: string | undefined;
|
|
6698
|
+
forkedFrom?: string | undefined;
|
|
6699
|
+
appId?: string | undefined;
|
|
6613
6700
|
subagents?: {
|
|
6614
6701
|
running: number;
|
|
6615
6702
|
total: number;
|
|
@@ -6785,6 +6872,9 @@ declare const coreMethods: {
|
|
|
6785
6872
|
branch: string;
|
|
6786
6873
|
source: string;
|
|
6787
6874
|
} | undefined;
|
|
6875
|
+
parentId?: string | undefined;
|
|
6876
|
+
forkedFrom?: string | undefined;
|
|
6877
|
+
appId?: string | undefined;
|
|
6788
6878
|
subagents?: {
|
|
6789
6879
|
running: number;
|
|
6790
6880
|
total: number;
|
|
@@ -6898,6 +6988,9 @@ declare const coreMethods: {
|
|
|
6898
6988
|
branch: string;
|
|
6899
6989
|
source: string;
|
|
6900
6990
|
} | undefined;
|
|
6991
|
+
parentId?: string | undefined;
|
|
6992
|
+
forkedFrom?: string | undefined;
|
|
6993
|
+
appId?: string | undefined;
|
|
6901
6994
|
subagents?: {
|
|
6902
6995
|
running: number;
|
|
6903
6996
|
total: number;
|
|
@@ -7631,6 +7724,9 @@ declare const coreMethods: {
|
|
|
7631
7724
|
branch: string;
|
|
7632
7725
|
source: string;
|
|
7633
7726
|
}>>;
|
|
7727
|
+
parentId: z.ZodOptional<z.ZodString>;
|
|
7728
|
+
forkedFrom: z.ZodOptional<z.ZodString>;
|
|
7729
|
+
appId: z.ZodOptional<z.ZodString>;
|
|
7634
7730
|
subagents: z.ZodOptional<z.ZodObject<{
|
|
7635
7731
|
total: z.ZodNumber;
|
|
7636
7732
|
running: z.ZodNumber;
|
|
@@ -7816,6 +7912,9 @@ declare const coreMethods: {
|
|
|
7816
7912
|
branch: string;
|
|
7817
7913
|
source: string;
|
|
7818
7914
|
} | undefined;
|
|
7915
|
+
parentId?: string | undefined;
|
|
7916
|
+
forkedFrom?: string | undefined;
|
|
7917
|
+
appId?: string | undefined;
|
|
7819
7918
|
subagents?: {
|
|
7820
7919
|
running: number;
|
|
7821
7920
|
total: number;
|
|
@@ -7927,6 +8026,9 @@ declare const coreMethods: {
|
|
|
7927
8026
|
branch: string;
|
|
7928
8027
|
source: string;
|
|
7929
8028
|
} | undefined;
|
|
8029
|
+
parentId?: string | undefined;
|
|
8030
|
+
forkedFrom?: string | undefined;
|
|
8031
|
+
appId?: string | undefined;
|
|
7930
8032
|
subagents?: {
|
|
7931
8033
|
running: number;
|
|
7932
8034
|
total: number;
|
|
@@ -8102,6 +8204,9 @@ declare const coreMethods: {
|
|
|
8102
8204
|
branch: string;
|
|
8103
8205
|
source: string;
|
|
8104
8206
|
} | undefined;
|
|
8207
|
+
parentId?: string | undefined;
|
|
8208
|
+
forkedFrom?: string | undefined;
|
|
8209
|
+
appId?: string | undefined;
|
|
8105
8210
|
subagents?: {
|
|
8106
8211
|
running: number;
|
|
8107
8212
|
total: number;
|
|
@@ -8215,6 +8320,9 @@ declare const coreMethods: {
|
|
|
8215
8320
|
branch: string;
|
|
8216
8321
|
source: string;
|
|
8217
8322
|
} | undefined;
|
|
8323
|
+
parentId?: string | undefined;
|
|
8324
|
+
forkedFrom?: string | undefined;
|
|
8325
|
+
appId?: string | undefined;
|
|
8218
8326
|
subagents?: {
|
|
8219
8327
|
running: number;
|
|
8220
8328
|
total: number;
|
|
@@ -8961,6 +9069,9 @@ declare const coreMethods: {
|
|
|
8961
9069
|
branch: string;
|
|
8962
9070
|
source: string;
|
|
8963
9071
|
}>>;
|
|
9072
|
+
parentId: z.ZodOptional<z.ZodString>;
|
|
9073
|
+
forkedFrom: z.ZodOptional<z.ZodString>;
|
|
9074
|
+
appId: z.ZodOptional<z.ZodString>;
|
|
8964
9075
|
subagents: z.ZodOptional<z.ZodObject<{
|
|
8965
9076
|
total: z.ZodNumber;
|
|
8966
9077
|
running: z.ZodNumber;
|
|
@@ -9146,6 +9257,9 @@ declare const coreMethods: {
|
|
|
9146
9257
|
branch: string;
|
|
9147
9258
|
source: string;
|
|
9148
9259
|
} | undefined;
|
|
9260
|
+
parentId?: string | undefined;
|
|
9261
|
+
forkedFrom?: string | undefined;
|
|
9262
|
+
appId?: string | undefined;
|
|
9149
9263
|
subagents?: {
|
|
9150
9264
|
running: number;
|
|
9151
9265
|
total: number;
|
|
@@ -9257,6 +9371,9 @@ declare const coreMethods: {
|
|
|
9257
9371
|
branch: string;
|
|
9258
9372
|
source: string;
|
|
9259
9373
|
} | undefined;
|
|
9374
|
+
parentId?: string | undefined;
|
|
9375
|
+
forkedFrom?: string | undefined;
|
|
9376
|
+
appId?: string | undefined;
|
|
9260
9377
|
subagents?: {
|
|
9261
9378
|
running: number;
|
|
9262
9379
|
total: number;
|
|
@@ -9433,6 +9550,9 @@ declare const coreMethods: {
|
|
|
9433
9550
|
branch: string;
|
|
9434
9551
|
source: string;
|
|
9435
9552
|
} | undefined;
|
|
9553
|
+
parentId?: string | undefined;
|
|
9554
|
+
forkedFrom?: string | undefined;
|
|
9555
|
+
appId?: string | undefined;
|
|
9436
9556
|
subagents?: {
|
|
9437
9557
|
running: number;
|
|
9438
9558
|
total: number;
|
|
@@ -9547,6 +9667,9 @@ declare const coreMethods: {
|
|
|
9547
9667
|
branch: string;
|
|
9548
9668
|
source: string;
|
|
9549
9669
|
} | undefined;
|
|
9670
|
+
parentId?: string | undefined;
|
|
9671
|
+
forkedFrom?: string | undefined;
|
|
9672
|
+
appId?: string | undefined;
|
|
9550
9673
|
subagents?: {
|
|
9551
9674
|
running: number;
|
|
9552
9675
|
total: number;
|
|
@@ -10344,14 +10467,37 @@ declare const coreMethods: {
|
|
|
10344
10467
|
type: z.ZodLiteral<"mcp">;
|
|
10345
10468
|
server: z.ZodString;
|
|
10346
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
|
+
}>>;
|
|
10347
10483
|
}, "strip", z.ZodTypeAny, {
|
|
10348
10484
|
type: "mcp";
|
|
10349
10485
|
tool: string;
|
|
10350
10486
|
server: string;
|
|
10487
|
+
app?: {
|
|
10488
|
+
resourceUri: string;
|
|
10489
|
+
displayMode?: "inline" | "fullscreen" | undefined;
|
|
10490
|
+
connector?: string | undefined;
|
|
10491
|
+
} | undefined;
|
|
10351
10492
|
}, {
|
|
10352
10493
|
type: "mcp";
|
|
10353
10494
|
tool: string;
|
|
10354
10495
|
server: string;
|
|
10496
|
+
app?: {
|
|
10497
|
+
resourceUri: string;
|
|
10498
|
+
displayMode?: "inline" | "fullscreen" | undefined;
|
|
10499
|
+
connector?: string | undefined;
|
|
10500
|
+
} | undefined;
|
|
10355
10501
|
}>, z.ZodObject<{
|
|
10356
10502
|
type: z.ZodLiteral<"subagent">;
|
|
10357
10503
|
action: z.ZodDefault<z.ZodEnum<["spawn", "message", "wait", "stop", "resume", "list"]>>;
|
|
@@ -10713,6 +10859,11 @@ declare const coreMethods: {
|
|
|
10713
10859
|
type: "mcp";
|
|
10714
10860
|
tool: string;
|
|
10715
10861
|
server: string;
|
|
10862
|
+
app?: {
|
|
10863
|
+
resourceUri: string;
|
|
10864
|
+
displayMode?: "inline" | "fullscreen" | undefined;
|
|
10865
|
+
connector?: string | undefined;
|
|
10866
|
+
} | undefined;
|
|
10716
10867
|
} | {
|
|
10717
10868
|
type: "subagent";
|
|
10718
10869
|
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
@@ -10809,6 +10960,11 @@ declare const coreMethods: {
|
|
|
10809
10960
|
type: "mcp";
|
|
10810
10961
|
tool: string;
|
|
10811
10962
|
server: string;
|
|
10963
|
+
app?: {
|
|
10964
|
+
resourceUri: string;
|
|
10965
|
+
displayMode?: "inline" | "fullscreen" | undefined;
|
|
10966
|
+
connector?: string | undefined;
|
|
10967
|
+
} | undefined;
|
|
10812
10968
|
} | {
|
|
10813
10969
|
type: "subagent";
|
|
10814
10970
|
name?: string | undefined;
|
|
@@ -10899,14 +11055,37 @@ declare const coreMethods: {
|
|
|
10899
11055
|
type: z.ZodLiteral<"mcp">;
|
|
10900
11056
|
server: z.ZodString;
|
|
10901
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
|
+
}>>;
|
|
10902
11071
|
}, "strip", z.ZodTypeAny, {
|
|
10903
11072
|
type: "mcp";
|
|
10904
11073
|
tool: string;
|
|
10905
11074
|
server: string;
|
|
11075
|
+
app?: {
|
|
11076
|
+
resourceUri: string;
|
|
11077
|
+
displayMode?: "inline" | "fullscreen" | undefined;
|
|
11078
|
+
connector?: string | undefined;
|
|
11079
|
+
} | undefined;
|
|
10906
11080
|
}, {
|
|
10907
11081
|
type: "mcp";
|
|
10908
11082
|
tool: string;
|
|
10909
11083
|
server: string;
|
|
11084
|
+
app?: {
|
|
11085
|
+
resourceUri: string;
|
|
11086
|
+
displayMode?: "inline" | "fullscreen" | undefined;
|
|
11087
|
+
connector?: string | undefined;
|
|
11088
|
+
} | undefined;
|
|
10910
11089
|
}>, z.ZodObject<{
|
|
10911
11090
|
type: z.ZodLiteral<"subagent">;
|
|
10912
11091
|
action: z.ZodDefault<z.ZodEnum<["spawn", "message", "wait", "stop", "resume", "list"]>>;
|
|
@@ -11448,6 +11627,11 @@ declare const coreMethods: {
|
|
|
11448
11627
|
type: "mcp";
|
|
11449
11628
|
tool: string;
|
|
11450
11629
|
server: string;
|
|
11630
|
+
app?: {
|
|
11631
|
+
resourceUri: string;
|
|
11632
|
+
displayMode?: "inline" | "fullscreen" | undefined;
|
|
11633
|
+
connector?: string | undefined;
|
|
11634
|
+
} | undefined;
|
|
11451
11635
|
} | {
|
|
11452
11636
|
type: "subagent";
|
|
11453
11637
|
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
@@ -11547,6 +11731,11 @@ declare const coreMethods: {
|
|
|
11547
11731
|
type: "mcp";
|
|
11548
11732
|
tool: string;
|
|
11549
11733
|
server: string;
|
|
11734
|
+
app?: {
|
|
11735
|
+
resourceUri: string;
|
|
11736
|
+
displayMode?: "inline" | "fullscreen" | undefined;
|
|
11737
|
+
connector?: string | undefined;
|
|
11738
|
+
} | undefined;
|
|
11550
11739
|
} | {
|
|
11551
11740
|
type: "subagent";
|
|
11552
11741
|
name?: string | undefined;
|
|
@@ -13199,6 +13388,11 @@ declare const coreMethods: {
|
|
|
13199
13388
|
type: "mcp";
|
|
13200
13389
|
tool: string;
|
|
13201
13390
|
server: string;
|
|
13391
|
+
app?: {
|
|
13392
|
+
resourceUri: string;
|
|
13393
|
+
displayMode?: "inline" | "fullscreen" | undefined;
|
|
13394
|
+
connector?: string | undefined;
|
|
13395
|
+
} | undefined;
|
|
13202
13396
|
} | {
|
|
13203
13397
|
type: "subagent";
|
|
13204
13398
|
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
@@ -13357,6 +13551,11 @@ declare const coreMethods: {
|
|
|
13357
13551
|
type: "mcp";
|
|
13358
13552
|
tool: string;
|
|
13359
13553
|
server: string;
|
|
13554
|
+
app?: {
|
|
13555
|
+
resourceUri: string;
|
|
13556
|
+
displayMode?: "inline" | "fullscreen" | undefined;
|
|
13557
|
+
connector?: string | undefined;
|
|
13558
|
+
} | undefined;
|
|
13360
13559
|
} | {
|
|
13361
13560
|
type: "subagent";
|
|
13362
13561
|
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
@@ -13758,6 +13957,11 @@ declare const coreMethods: {
|
|
|
13758
13957
|
type: "mcp";
|
|
13759
13958
|
tool: string;
|
|
13760
13959
|
server: string;
|
|
13960
|
+
app?: {
|
|
13961
|
+
resourceUri: string;
|
|
13962
|
+
displayMode?: "inline" | "fullscreen" | undefined;
|
|
13963
|
+
connector?: string | undefined;
|
|
13964
|
+
} | undefined;
|
|
13761
13965
|
} | {
|
|
13762
13966
|
type: "subagent";
|
|
13763
13967
|
name?: string | undefined;
|
|
@@ -13854,6 +14058,11 @@ declare const coreMethods: {
|
|
|
13854
14058
|
type: "mcp";
|
|
13855
14059
|
tool: string;
|
|
13856
14060
|
server: string;
|
|
14061
|
+
app?: {
|
|
14062
|
+
resourceUri: string;
|
|
14063
|
+
displayMode?: "inline" | "fullscreen" | undefined;
|
|
14064
|
+
connector?: string | undefined;
|
|
14065
|
+
} | undefined;
|
|
13857
14066
|
} | {
|
|
13858
14067
|
type: "subagent";
|
|
13859
14068
|
name?: string | undefined;
|
|
@@ -14507,6 +14716,11 @@ declare const coreMethods: {
|
|
|
14507
14716
|
type: "mcp";
|
|
14508
14717
|
tool: string;
|
|
14509
14718
|
server: string;
|
|
14719
|
+
app?: {
|
|
14720
|
+
resourceUri: string;
|
|
14721
|
+
displayMode?: "inline" | "fullscreen" | undefined;
|
|
14722
|
+
connector?: string | undefined;
|
|
14723
|
+
} | undefined;
|
|
14510
14724
|
} | {
|
|
14511
14725
|
type: "subagent";
|
|
14512
14726
|
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
@@ -14665,6 +14879,11 @@ declare const coreMethods: {
|
|
|
14665
14879
|
type: "mcp";
|
|
14666
14880
|
tool: string;
|
|
14667
14881
|
server: string;
|
|
14882
|
+
app?: {
|
|
14883
|
+
resourceUri: string;
|
|
14884
|
+
displayMode?: "inline" | "fullscreen" | undefined;
|
|
14885
|
+
connector?: string | undefined;
|
|
14886
|
+
} | undefined;
|
|
14668
14887
|
} | {
|
|
14669
14888
|
type: "subagent";
|
|
14670
14889
|
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
@@ -15069,6 +15288,11 @@ declare const coreMethods: {
|
|
|
15069
15288
|
type: "mcp";
|
|
15070
15289
|
tool: string;
|
|
15071
15290
|
server: string;
|
|
15291
|
+
app?: {
|
|
15292
|
+
resourceUri: string;
|
|
15293
|
+
displayMode?: "inline" | "fullscreen" | undefined;
|
|
15294
|
+
connector?: string | undefined;
|
|
15295
|
+
} | undefined;
|
|
15072
15296
|
} | {
|
|
15073
15297
|
type: "subagent";
|
|
15074
15298
|
name?: string | undefined;
|
|
@@ -15165,6 +15389,11 @@ declare const coreMethods: {
|
|
|
15165
15389
|
type: "mcp";
|
|
15166
15390
|
tool: string;
|
|
15167
15391
|
server: string;
|
|
15392
|
+
app?: {
|
|
15393
|
+
resourceUri: string;
|
|
15394
|
+
displayMode?: "inline" | "fullscreen" | undefined;
|
|
15395
|
+
connector?: string | undefined;
|
|
15396
|
+
} | undefined;
|
|
15168
15397
|
} | {
|
|
15169
15398
|
type: "subagent";
|
|
15170
15399
|
name?: string | undefined;
|
|
@@ -16585,14 +16814,37 @@ declare const coreMethods: {
|
|
|
16585
16814
|
type: z.ZodLiteral<"mcp">;
|
|
16586
16815
|
server: z.ZodString;
|
|
16587
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
|
+
}>>;
|
|
16588
16830
|
}, "strip", z.ZodTypeAny, {
|
|
16589
16831
|
type: "mcp";
|
|
16590
16832
|
tool: string;
|
|
16591
16833
|
server: string;
|
|
16834
|
+
app?: {
|
|
16835
|
+
resourceUri: string;
|
|
16836
|
+
displayMode?: "inline" | "fullscreen" | undefined;
|
|
16837
|
+
connector?: string | undefined;
|
|
16838
|
+
} | undefined;
|
|
16592
16839
|
}, {
|
|
16593
16840
|
type: "mcp";
|
|
16594
16841
|
tool: string;
|
|
16595
16842
|
server: string;
|
|
16843
|
+
app?: {
|
|
16844
|
+
resourceUri: string;
|
|
16845
|
+
displayMode?: "inline" | "fullscreen" | undefined;
|
|
16846
|
+
connector?: string | undefined;
|
|
16847
|
+
} | undefined;
|
|
16596
16848
|
}>, z.ZodObject<{
|
|
16597
16849
|
type: z.ZodLiteral<"subagent">;
|
|
16598
16850
|
action: z.ZodDefault<z.ZodEnum<["spawn", "message", "wait", "stop", "resume", "list"]>>;
|
|
@@ -16954,6 +17206,11 @@ declare const coreMethods: {
|
|
|
16954
17206
|
type: "mcp";
|
|
16955
17207
|
tool: string;
|
|
16956
17208
|
server: string;
|
|
17209
|
+
app?: {
|
|
17210
|
+
resourceUri: string;
|
|
17211
|
+
displayMode?: "inline" | "fullscreen" | undefined;
|
|
17212
|
+
connector?: string | undefined;
|
|
17213
|
+
} | undefined;
|
|
16957
17214
|
} | {
|
|
16958
17215
|
type: "subagent";
|
|
16959
17216
|
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
@@ -17050,6 +17307,11 @@ declare const coreMethods: {
|
|
|
17050
17307
|
type: "mcp";
|
|
17051
17308
|
tool: string;
|
|
17052
17309
|
server: string;
|
|
17310
|
+
app?: {
|
|
17311
|
+
resourceUri: string;
|
|
17312
|
+
displayMode?: "inline" | "fullscreen" | undefined;
|
|
17313
|
+
connector?: string | undefined;
|
|
17314
|
+
} | undefined;
|
|
17053
17315
|
} | {
|
|
17054
17316
|
type: "subagent";
|
|
17055
17317
|
name?: string | undefined;
|
|
@@ -17140,14 +17402,37 @@ declare const coreMethods: {
|
|
|
17140
17402
|
type: z.ZodLiteral<"mcp">;
|
|
17141
17403
|
server: z.ZodString;
|
|
17142
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
|
+
}>>;
|
|
17143
17418
|
}, "strip", z.ZodTypeAny, {
|
|
17144
17419
|
type: "mcp";
|
|
17145
17420
|
tool: string;
|
|
17146
17421
|
server: string;
|
|
17422
|
+
app?: {
|
|
17423
|
+
resourceUri: string;
|
|
17424
|
+
displayMode?: "inline" | "fullscreen" | undefined;
|
|
17425
|
+
connector?: string | undefined;
|
|
17426
|
+
} | undefined;
|
|
17147
17427
|
}, {
|
|
17148
17428
|
type: "mcp";
|
|
17149
17429
|
tool: string;
|
|
17150
17430
|
server: string;
|
|
17431
|
+
app?: {
|
|
17432
|
+
resourceUri: string;
|
|
17433
|
+
displayMode?: "inline" | "fullscreen" | undefined;
|
|
17434
|
+
connector?: string | undefined;
|
|
17435
|
+
} | undefined;
|
|
17151
17436
|
}>, z.ZodObject<{
|
|
17152
17437
|
type: z.ZodLiteral<"subagent">;
|
|
17153
17438
|
action: z.ZodDefault<z.ZodEnum<["spawn", "message", "wait", "stop", "resume", "list"]>>;
|
|
@@ -17689,6 +17974,11 @@ declare const coreMethods: {
|
|
|
17689
17974
|
type: "mcp";
|
|
17690
17975
|
tool: string;
|
|
17691
17976
|
server: string;
|
|
17977
|
+
app?: {
|
|
17978
|
+
resourceUri: string;
|
|
17979
|
+
displayMode?: "inline" | "fullscreen" | undefined;
|
|
17980
|
+
connector?: string | undefined;
|
|
17981
|
+
} | undefined;
|
|
17692
17982
|
} | {
|
|
17693
17983
|
type: "subagent";
|
|
17694
17984
|
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
@@ -17788,6 +18078,11 @@ declare const coreMethods: {
|
|
|
17788
18078
|
type: "mcp";
|
|
17789
18079
|
tool: string;
|
|
17790
18080
|
server: string;
|
|
18081
|
+
app?: {
|
|
18082
|
+
resourceUri: string;
|
|
18083
|
+
displayMode?: "inline" | "fullscreen" | undefined;
|
|
18084
|
+
connector?: string | undefined;
|
|
18085
|
+
} | undefined;
|
|
17791
18086
|
} | {
|
|
17792
18087
|
type: "subagent";
|
|
17793
18088
|
name?: string | undefined;
|
|
@@ -19440,6 +19735,11 @@ declare const coreMethods: {
|
|
|
19440
19735
|
type: "mcp";
|
|
19441
19736
|
tool: string;
|
|
19442
19737
|
server: string;
|
|
19738
|
+
app?: {
|
|
19739
|
+
resourceUri: string;
|
|
19740
|
+
displayMode?: "inline" | "fullscreen" | undefined;
|
|
19741
|
+
connector?: string | undefined;
|
|
19742
|
+
} | undefined;
|
|
19443
19743
|
} | {
|
|
19444
19744
|
type: "subagent";
|
|
19445
19745
|
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
@@ -19598,6 +19898,11 @@ declare const coreMethods: {
|
|
|
19598
19898
|
type: "mcp";
|
|
19599
19899
|
tool: string;
|
|
19600
19900
|
server: string;
|
|
19901
|
+
app?: {
|
|
19902
|
+
resourceUri: string;
|
|
19903
|
+
displayMode?: "inline" | "fullscreen" | undefined;
|
|
19904
|
+
connector?: string | undefined;
|
|
19905
|
+
} | undefined;
|
|
19601
19906
|
} | {
|
|
19602
19907
|
type: "subagent";
|
|
19603
19908
|
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
@@ -19999,6 +20304,11 @@ declare const coreMethods: {
|
|
|
19999
20304
|
type: "mcp";
|
|
20000
20305
|
tool: string;
|
|
20001
20306
|
server: string;
|
|
20307
|
+
app?: {
|
|
20308
|
+
resourceUri: string;
|
|
20309
|
+
displayMode?: "inline" | "fullscreen" | undefined;
|
|
20310
|
+
connector?: string | undefined;
|
|
20311
|
+
} | undefined;
|
|
20002
20312
|
} | {
|
|
20003
20313
|
type: "subagent";
|
|
20004
20314
|
name?: string | undefined;
|
|
@@ -20095,6 +20405,11 @@ declare const coreMethods: {
|
|
|
20095
20405
|
type: "mcp";
|
|
20096
20406
|
tool: string;
|
|
20097
20407
|
server: string;
|
|
20408
|
+
app?: {
|
|
20409
|
+
resourceUri: string;
|
|
20410
|
+
displayMode?: "inline" | "fullscreen" | undefined;
|
|
20411
|
+
connector?: string | undefined;
|
|
20412
|
+
} | undefined;
|
|
20098
20413
|
} | {
|
|
20099
20414
|
type: "subagent";
|
|
20100
20415
|
name?: string | undefined;
|
|
@@ -20746,6 +21061,11 @@ declare const coreMethods: {
|
|
|
20746
21061
|
type: "mcp";
|
|
20747
21062
|
tool: string;
|
|
20748
21063
|
server: string;
|
|
21064
|
+
app?: {
|
|
21065
|
+
resourceUri: string;
|
|
21066
|
+
displayMode?: "inline" | "fullscreen" | undefined;
|
|
21067
|
+
connector?: string | undefined;
|
|
21068
|
+
} | undefined;
|
|
20749
21069
|
} | {
|
|
20750
21070
|
type: "subagent";
|
|
20751
21071
|
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
@@ -20904,6 +21224,11 @@ declare const coreMethods: {
|
|
|
20904
21224
|
type: "mcp";
|
|
20905
21225
|
tool: string;
|
|
20906
21226
|
server: string;
|
|
21227
|
+
app?: {
|
|
21228
|
+
resourceUri: string;
|
|
21229
|
+
displayMode?: "inline" | "fullscreen" | undefined;
|
|
21230
|
+
connector?: string | undefined;
|
|
21231
|
+
} | undefined;
|
|
20907
21232
|
} | {
|
|
20908
21233
|
type: "subagent";
|
|
20909
21234
|
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
@@ -21307,6 +21632,11 @@ declare const coreMethods: {
|
|
|
21307
21632
|
type: "mcp";
|
|
21308
21633
|
tool: string;
|
|
21309
21634
|
server: string;
|
|
21635
|
+
app?: {
|
|
21636
|
+
resourceUri: string;
|
|
21637
|
+
displayMode?: "inline" | "fullscreen" | undefined;
|
|
21638
|
+
connector?: string | undefined;
|
|
21639
|
+
} | undefined;
|
|
21310
21640
|
} | {
|
|
21311
21641
|
type: "subagent";
|
|
21312
21642
|
name?: string | undefined;
|
|
@@ -21403,6 +21733,11 @@ declare const coreMethods: {
|
|
|
21403
21733
|
type: "mcp";
|
|
21404
21734
|
tool: string;
|
|
21405
21735
|
server: string;
|
|
21736
|
+
app?: {
|
|
21737
|
+
resourceUri: string;
|
|
21738
|
+
displayMode?: "inline" | "fullscreen" | undefined;
|
|
21739
|
+
connector?: string | undefined;
|
|
21740
|
+
} | undefined;
|
|
21406
21741
|
} | {
|
|
21407
21742
|
type: "subagent";
|
|
21408
21743
|
name?: string | undefined;
|
|
@@ -22320,20 +22655,20 @@ declare const coreMethods: {
|
|
|
22320
22655
|
}>, "many">;
|
|
22321
22656
|
}, "strip", z.ZodTypeAny, {
|
|
22322
22657
|
requestId: string;
|
|
22658
|
+
sessionId: string;
|
|
22323
22659
|
answers: {
|
|
22324
22660
|
values: string[];
|
|
22325
22661
|
id: string;
|
|
22326
22662
|
other?: string | undefined;
|
|
22327
22663
|
}[];
|
|
22328
|
-
sessionId: string;
|
|
22329
22664
|
}, {
|
|
22330
22665
|
requestId: string;
|
|
22666
|
+
sessionId: string;
|
|
22331
22667
|
answers: {
|
|
22332
22668
|
values: string[];
|
|
22333
22669
|
id: string;
|
|
22334
22670
|
other?: string | undefined;
|
|
22335
22671
|
}[];
|
|
22336
|
-
sessionId: string;
|
|
22337
22672
|
}>;
|
|
22338
22673
|
readonly result: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
22339
22674
|
};
|
|
@@ -23238,6 +23573,9 @@ declare const coreMethods: {
|
|
|
23238
23573
|
branch: string;
|
|
23239
23574
|
source: string;
|
|
23240
23575
|
}>>;
|
|
23576
|
+
parentId: z.ZodOptional<z.ZodString>;
|
|
23577
|
+
forkedFrom: z.ZodOptional<z.ZodString>;
|
|
23578
|
+
appId: z.ZodOptional<z.ZodString>;
|
|
23241
23579
|
subagents: z.ZodOptional<z.ZodObject<{
|
|
23242
23580
|
total: z.ZodNumber;
|
|
23243
23581
|
running: z.ZodNumber;
|
|
@@ -23423,6 +23761,9 @@ declare const coreMethods: {
|
|
|
23423
23761
|
branch: string;
|
|
23424
23762
|
source: string;
|
|
23425
23763
|
} | undefined;
|
|
23764
|
+
parentId?: string | undefined;
|
|
23765
|
+
forkedFrom?: string | undefined;
|
|
23766
|
+
appId?: string | undefined;
|
|
23426
23767
|
subagents?: {
|
|
23427
23768
|
running: number;
|
|
23428
23769
|
total: number;
|
|
@@ -23534,6 +23875,9 @@ declare const coreMethods: {
|
|
|
23534
23875
|
branch: string;
|
|
23535
23876
|
source: string;
|
|
23536
23877
|
} | undefined;
|
|
23878
|
+
parentId?: string | undefined;
|
|
23879
|
+
forkedFrom?: string | undefined;
|
|
23880
|
+
appId?: string | undefined;
|
|
23537
23881
|
subagents?: {
|
|
23538
23882
|
running: number;
|
|
23539
23883
|
total: number;
|
|
@@ -23709,6 +24053,9 @@ declare const coreMethods: {
|
|
|
23709
24053
|
branch: string;
|
|
23710
24054
|
source: string;
|
|
23711
24055
|
} | undefined;
|
|
24056
|
+
parentId?: string | undefined;
|
|
24057
|
+
forkedFrom?: string | undefined;
|
|
24058
|
+
appId?: string | undefined;
|
|
23712
24059
|
subagents?: {
|
|
23713
24060
|
running: number;
|
|
23714
24061
|
total: number;
|
|
@@ -23822,6 +24169,9 @@ declare const coreMethods: {
|
|
|
23822
24169
|
branch: string;
|
|
23823
24170
|
source: string;
|
|
23824
24171
|
} | undefined;
|
|
24172
|
+
parentId?: string | undefined;
|
|
24173
|
+
forkedFrom?: string | undefined;
|
|
24174
|
+
appId?: string | undefined;
|
|
23825
24175
|
subagents?: {
|
|
23826
24176
|
running: number;
|
|
23827
24177
|
total: number;
|
|
@@ -24547,6 +24897,9 @@ declare const coreMethods: {
|
|
|
24547
24897
|
branch: string;
|
|
24548
24898
|
source: string;
|
|
24549
24899
|
}>>;
|
|
24900
|
+
parentId: z.ZodOptional<z.ZodString>;
|
|
24901
|
+
forkedFrom: z.ZodOptional<z.ZodString>;
|
|
24902
|
+
appId: z.ZodOptional<z.ZodString>;
|
|
24550
24903
|
subagents: z.ZodOptional<z.ZodObject<{
|
|
24551
24904
|
total: z.ZodNumber;
|
|
24552
24905
|
running: z.ZodNumber;
|
|
@@ -24732,6 +25085,9 @@ declare const coreMethods: {
|
|
|
24732
25085
|
branch: string;
|
|
24733
25086
|
source: string;
|
|
24734
25087
|
} | undefined;
|
|
25088
|
+
parentId?: string | undefined;
|
|
25089
|
+
forkedFrom?: string | undefined;
|
|
25090
|
+
appId?: string | undefined;
|
|
24735
25091
|
subagents?: {
|
|
24736
25092
|
running: number;
|
|
24737
25093
|
total: number;
|
|
@@ -24843,6 +25199,9 @@ declare const coreMethods: {
|
|
|
24843
25199
|
branch: string;
|
|
24844
25200
|
source: string;
|
|
24845
25201
|
} | undefined;
|
|
25202
|
+
parentId?: string | undefined;
|
|
25203
|
+
forkedFrom?: string | undefined;
|
|
25204
|
+
appId?: string | undefined;
|
|
24846
25205
|
subagents?: {
|
|
24847
25206
|
running: number;
|
|
24848
25207
|
total: number;
|
|
@@ -25018,6 +25377,9 @@ declare const coreMethods: {
|
|
|
25018
25377
|
branch: string;
|
|
25019
25378
|
source: string;
|
|
25020
25379
|
} | undefined;
|
|
25380
|
+
parentId?: string | undefined;
|
|
25381
|
+
forkedFrom?: string | undefined;
|
|
25382
|
+
appId?: string | undefined;
|
|
25021
25383
|
subagents?: {
|
|
25022
25384
|
running: number;
|
|
25023
25385
|
total: number;
|
|
@@ -25131,6 +25493,9 @@ declare const coreMethods: {
|
|
|
25131
25493
|
branch: string;
|
|
25132
25494
|
source: string;
|
|
25133
25495
|
} | undefined;
|
|
25496
|
+
parentId?: string | undefined;
|
|
25497
|
+
forkedFrom?: string | undefined;
|
|
25498
|
+
appId?: string | undefined;
|
|
25134
25499
|
subagents?: {
|
|
25135
25500
|
running: number;
|
|
25136
25501
|
total: number;
|
|
@@ -25947,6 +26312,7 @@ declare const coreMethods: {
|
|
|
25947
26312
|
command: z.ZodOptional<z.ZodString>;
|
|
25948
26313
|
exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25949
26314
|
interrupted: z.ZodOptional<z.ZodBoolean>;
|
|
26315
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
25950
26316
|
}, "strip", z.ZodTypeAny, {
|
|
25951
26317
|
id: string;
|
|
25952
26318
|
title: string;
|
|
@@ -25958,6 +26324,7 @@ declare const coreMethods: {
|
|
|
25958
26324
|
command?: string | undefined;
|
|
25959
26325
|
exitCode?: number | null | undefined;
|
|
25960
26326
|
interrupted?: boolean | undefined;
|
|
26327
|
+
sessionId?: string | undefined;
|
|
25961
26328
|
}, {
|
|
25962
26329
|
id: string;
|
|
25963
26330
|
title: string;
|
|
@@ -25969,6 +26336,7 @@ declare const coreMethods: {
|
|
|
25969
26336
|
command?: string | undefined;
|
|
25970
26337
|
exitCode?: number | null | undefined;
|
|
25971
26338
|
interrupted?: boolean | undefined;
|
|
26339
|
+
sessionId?: string | undefined;
|
|
25972
26340
|
}>, "many">;
|
|
25973
26341
|
}, "strip", z.ZodTypeAny, {
|
|
25974
26342
|
terminals: {
|
|
@@ -25982,6 +26350,7 @@ declare const coreMethods: {
|
|
|
25982
26350
|
command?: string | undefined;
|
|
25983
26351
|
exitCode?: number | null | undefined;
|
|
25984
26352
|
interrupted?: boolean | undefined;
|
|
26353
|
+
sessionId?: string | undefined;
|
|
25985
26354
|
}[];
|
|
25986
26355
|
}, {
|
|
25987
26356
|
terminals: {
|
|
@@ -25995,12 +26364,15 @@ declare const coreMethods: {
|
|
|
25995
26364
|
command?: string | undefined;
|
|
25996
26365
|
exitCode?: number | null | undefined;
|
|
25997
26366
|
interrupted?: boolean | undefined;
|
|
26367
|
+
sessionId?: string | undefined;
|
|
25998
26368
|
}[];
|
|
25999
26369
|
}>;
|
|
26000
26370
|
};
|
|
26001
26371
|
readonly "terminals.create": {
|
|
26002
26372
|
readonly params: z.ZodObject<{
|
|
26003
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>;
|
|
26004
26376
|
/** Run this in the shell right away (the shell stays open after it). */
|
|
26005
26377
|
command: z.ZodOptional<z.ZodString>;
|
|
26006
26378
|
cols: z.ZodDefault<z.ZodNumber>;
|
|
@@ -26010,11 +26382,13 @@ declare const coreMethods: {
|
|
|
26010
26382
|
rows: number;
|
|
26011
26383
|
command?: string | undefined;
|
|
26012
26384
|
cwd?: string | undefined;
|
|
26385
|
+
sessionId?: string | undefined;
|
|
26013
26386
|
}, {
|
|
26014
26387
|
command?: string | undefined;
|
|
26015
26388
|
cwd?: string | undefined;
|
|
26016
26389
|
cols?: number | undefined;
|
|
26017
26390
|
rows?: number | undefined;
|
|
26391
|
+
sessionId?: string | undefined;
|
|
26018
26392
|
}>;
|
|
26019
26393
|
readonly result: z.ZodObject<{
|
|
26020
26394
|
terminal: z.ZodObject<{
|
|
@@ -26028,6 +26402,7 @@ declare const coreMethods: {
|
|
|
26028
26402
|
command: z.ZodOptional<z.ZodString>;
|
|
26029
26403
|
exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26030
26404
|
interrupted: z.ZodOptional<z.ZodBoolean>;
|
|
26405
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
26031
26406
|
}, "strip", z.ZodTypeAny, {
|
|
26032
26407
|
id: string;
|
|
26033
26408
|
title: string;
|
|
@@ -26039,6 +26414,7 @@ declare const coreMethods: {
|
|
|
26039
26414
|
command?: string | undefined;
|
|
26040
26415
|
exitCode?: number | null | undefined;
|
|
26041
26416
|
interrupted?: boolean | undefined;
|
|
26417
|
+
sessionId?: string | undefined;
|
|
26042
26418
|
}, {
|
|
26043
26419
|
id: string;
|
|
26044
26420
|
title: string;
|
|
@@ -26050,6 +26426,7 @@ declare const coreMethods: {
|
|
|
26050
26426
|
command?: string | undefined;
|
|
26051
26427
|
exitCode?: number | null | undefined;
|
|
26052
26428
|
interrupted?: boolean | undefined;
|
|
26429
|
+
sessionId?: string | undefined;
|
|
26053
26430
|
}>;
|
|
26054
26431
|
}, "strip", z.ZodTypeAny, {
|
|
26055
26432
|
terminal: {
|
|
@@ -26063,6 +26440,7 @@ declare const coreMethods: {
|
|
|
26063
26440
|
command?: string | undefined;
|
|
26064
26441
|
exitCode?: number | null | undefined;
|
|
26065
26442
|
interrupted?: boolean | undefined;
|
|
26443
|
+
sessionId?: string | undefined;
|
|
26066
26444
|
};
|
|
26067
26445
|
}, {
|
|
26068
26446
|
terminal: {
|
|
@@ -26076,6 +26454,7 @@ declare const coreMethods: {
|
|
|
26076
26454
|
command?: string | undefined;
|
|
26077
26455
|
exitCode?: number | null | undefined;
|
|
26078
26456
|
interrupted?: boolean | undefined;
|
|
26457
|
+
sessionId?: string | undefined;
|
|
26079
26458
|
};
|
|
26080
26459
|
}>;
|
|
26081
26460
|
};
|
|
@@ -26116,6 +26495,7 @@ declare const coreMethods: {
|
|
|
26116
26495
|
command: z.ZodOptional<z.ZodString>;
|
|
26117
26496
|
exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26118
26497
|
interrupted: z.ZodOptional<z.ZodBoolean>;
|
|
26498
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
26119
26499
|
}, "strip", z.ZodTypeAny, {
|
|
26120
26500
|
id: string;
|
|
26121
26501
|
title: string;
|
|
@@ -26127,6 +26507,7 @@ declare const coreMethods: {
|
|
|
26127
26507
|
command?: string | undefined;
|
|
26128
26508
|
exitCode?: number | null | undefined;
|
|
26129
26509
|
interrupted?: boolean | undefined;
|
|
26510
|
+
sessionId?: string | undefined;
|
|
26130
26511
|
}, {
|
|
26131
26512
|
id: string;
|
|
26132
26513
|
title: string;
|
|
@@ -26138,6 +26519,7 @@ declare const coreMethods: {
|
|
|
26138
26519
|
command?: string | undefined;
|
|
26139
26520
|
exitCode?: number | null | undefined;
|
|
26140
26521
|
interrupted?: boolean | undefined;
|
|
26522
|
+
sessionId?: string | undefined;
|
|
26141
26523
|
}>;
|
|
26142
26524
|
/** Output to write before any `terminal.output` that follows. */
|
|
26143
26525
|
replay: z.ZodString;
|
|
@@ -26186,6 +26568,7 @@ declare const coreMethods: {
|
|
|
26186
26568
|
command?: string | undefined;
|
|
26187
26569
|
exitCode?: number | null | undefined;
|
|
26188
26570
|
interrupted?: boolean | undefined;
|
|
26571
|
+
sessionId?: string | undefined;
|
|
26189
26572
|
};
|
|
26190
26573
|
seq: number;
|
|
26191
26574
|
replay: string;
|
|
@@ -26213,6 +26596,7 @@ declare const coreMethods: {
|
|
|
26213
26596
|
command?: string | undefined;
|
|
26214
26597
|
exitCode?: number | null | undefined;
|
|
26215
26598
|
interrupted?: boolean | undefined;
|
|
26599
|
+
sessionId?: string | undefined;
|
|
26216
26600
|
};
|
|
26217
26601
|
seq: number;
|
|
26218
26602
|
replay: string;
|
|
@@ -26559,7 +26943,7 @@ declare const coreMethods: {
|
|
|
26559
26943
|
readonly result: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
26560
26944
|
};
|
|
26561
26945
|
};
|
|
26562
|
-
export declare const methods: typeof coreMethods & typeof acpMethods;
|
|
26946
|
+
export declare const methods: typeof coreMethods & typeof acpMethods & typeof mcpMethods;
|
|
26563
26947
|
export type MethodName = keyof typeof methods;
|
|
26564
26948
|
export type MethodParams<M extends MethodName> = z.input<(typeof methods)[M]["params"]>;
|
|
26565
26949
|
export type MethodResult<M extends MethodName> = z.infer<(typeof methods)[M]["result"]>;
|
|
@@ -28387,14 +28771,37 @@ export declare const notifications: {
|
|
|
28387
28771
|
type: z.ZodLiteral<"mcp">;
|
|
28388
28772
|
server: z.ZodString;
|
|
28389
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
|
+
}>>;
|
|
28390
28787
|
}, "strip", z.ZodTypeAny, {
|
|
28391
28788
|
type: "mcp";
|
|
28392
28789
|
tool: string;
|
|
28393
28790
|
server: string;
|
|
28791
|
+
app?: {
|
|
28792
|
+
resourceUri: string;
|
|
28793
|
+
displayMode?: "inline" | "fullscreen" | undefined;
|
|
28794
|
+
connector?: string | undefined;
|
|
28795
|
+
} | undefined;
|
|
28394
28796
|
}, {
|
|
28395
28797
|
type: "mcp";
|
|
28396
28798
|
tool: string;
|
|
28397
28799
|
server: string;
|
|
28800
|
+
app?: {
|
|
28801
|
+
resourceUri: string;
|
|
28802
|
+
displayMode?: "inline" | "fullscreen" | undefined;
|
|
28803
|
+
connector?: string | undefined;
|
|
28804
|
+
} | undefined;
|
|
28398
28805
|
}>, z.ZodObject<{
|
|
28399
28806
|
type: z.ZodLiteral<"subagent">;
|
|
28400
28807
|
action: z.ZodDefault<z.ZodEnum<["spawn", "message", "wait", "stop", "resume", "list"]>>;
|
|
@@ -28756,6 +29163,11 @@ export declare const notifications: {
|
|
|
28756
29163
|
type: "mcp";
|
|
28757
29164
|
tool: string;
|
|
28758
29165
|
server: string;
|
|
29166
|
+
app?: {
|
|
29167
|
+
resourceUri: string;
|
|
29168
|
+
displayMode?: "inline" | "fullscreen" | undefined;
|
|
29169
|
+
connector?: string | undefined;
|
|
29170
|
+
} | undefined;
|
|
28759
29171
|
} | {
|
|
28760
29172
|
type: "subagent";
|
|
28761
29173
|
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
@@ -28852,6 +29264,11 @@ export declare const notifications: {
|
|
|
28852
29264
|
type: "mcp";
|
|
28853
29265
|
tool: string;
|
|
28854
29266
|
server: string;
|
|
29267
|
+
app?: {
|
|
29268
|
+
resourceUri: string;
|
|
29269
|
+
displayMode?: "inline" | "fullscreen" | undefined;
|
|
29270
|
+
connector?: string | undefined;
|
|
29271
|
+
} | undefined;
|
|
28855
29272
|
} | {
|
|
28856
29273
|
type: "subagent";
|
|
28857
29274
|
name?: string | undefined;
|
|
@@ -28942,14 +29359,37 @@ export declare const notifications: {
|
|
|
28942
29359
|
type: z.ZodLiteral<"mcp">;
|
|
28943
29360
|
server: z.ZodString;
|
|
28944
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
|
+
}>>;
|
|
28945
29375
|
}, "strip", z.ZodTypeAny, {
|
|
28946
29376
|
type: "mcp";
|
|
28947
29377
|
tool: string;
|
|
28948
29378
|
server: string;
|
|
29379
|
+
app?: {
|
|
29380
|
+
resourceUri: string;
|
|
29381
|
+
displayMode?: "inline" | "fullscreen" | undefined;
|
|
29382
|
+
connector?: string | undefined;
|
|
29383
|
+
} | undefined;
|
|
28949
29384
|
}, {
|
|
28950
29385
|
type: "mcp";
|
|
28951
29386
|
tool: string;
|
|
28952
29387
|
server: string;
|
|
29388
|
+
app?: {
|
|
29389
|
+
resourceUri: string;
|
|
29390
|
+
displayMode?: "inline" | "fullscreen" | undefined;
|
|
29391
|
+
connector?: string | undefined;
|
|
29392
|
+
} | undefined;
|
|
28953
29393
|
}>, z.ZodObject<{
|
|
28954
29394
|
type: z.ZodLiteral<"subagent">;
|
|
28955
29395
|
action: z.ZodDefault<z.ZodEnum<["spawn", "message", "wait", "stop", "resume", "list"]>>;
|
|
@@ -29491,6 +29931,11 @@ export declare const notifications: {
|
|
|
29491
29931
|
type: "mcp";
|
|
29492
29932
|
tool: string;
|
|
29493
29933
|
server: string;
|
|
29934
|
+
app?: {
|
|
29935
|
+
resourceUri: string;
|
|
29936
|
+
displayMode?: "inline" | "fullscreen" | undefined;
|
|
29937
|
+
connector?: string | undefined;
|
|
29938
|
+
} | undefined;
|
|
29494
29939
|
} | {
|
|
29495
29940
|
type: "subagent";
|
|
29496
29941
|
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
@@ -29590,6 +30035,11 @@ export declare const notifications: {
|
|
|
29590
30035
|
type: "mcp";
|
|
29591
30036
|
tool: string;
|
|
29592
30037
|
server: string;
|
|
30038
|
+
app?: {
|
|
30039
|
+
resourceUri: string;
|
|
30040
|
+
displayMode?: "inline" | "fullscreen" | undefined;
|
|
30041
|
+
connector?: string | undefined;
|
|
30042
|
+
} | undefined;
|
|
29593
30043
|
} | {
|
|
29594
30044
|
type: "subagent";
|
|
29595
30045
|
name?: string | undefined;
|
|
@@ -31242,6 +31692,11 @@ export declare const notifications: {
|
|
|
31242
31692
|
type: "mcp";
|
|
31243
31693
|
tool: string;
|
|
31244
31694
|
server: string;
|
|
31695
|
+
app?: {
|
|
31696
|
+
resourceUri: string;
|
|
31697
|
+
displayMode?: "inline" | "fullscreen" | undefined;
|
|
31698
|
+
connector?: string | undefined;
|
|
31699
|
+
} | undefined;
|
|
31245
31700
|
} | {
|
|
31246
31701
|
type: "subagent";
|
|
31247
31702
|
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
@@ -31400,6 +31855,11 @@ export declare const notifications: {
|
|
|
31400
31855
|
type: "mcp";
|
|
31401
31856
|
tool: string;
|
|
31402
31857
|
server: string;
|
|
31858
|
+
app?: {
|
|
31859
|
+
resourceUri: string;
|
|
31860
|
+
displayMode?: "inline" | "fullscreen" | undefined;
|
|
31861
|
+
connector?: string | undefined;
|
|
31862
|
+
} | undefined;
|
|
31403
31863
|
} | {
|
|
31404
31864
|
type: "subagent";
|
|
31405
31865
|
action: "message" | "resume" | "spawn" | "wait" | "stop" | "list";
|
|
@@ -31801,6 +32261,11 @@ export declare const notifications: {
|
|
|
31801
32261
|
type: "mcp";
|
|
31802
32262
|
tool: string;
|
|
31803
32263
|
server: string;
|
|
32264
|
+
app?: {
|
|
32265
|
+
resourceUri: string;
|
|
32266
|
+
displayMode?: "inline" | "fullscreen" | undefined;
|
|
32267
|
+
connector?: string | undefined;
|
|
32268
|
+
} | undefined;
|
|
31804
32269
|
} | {
|
|
31805
32270
|
type: "subagent";
|
|
31806
32271
|
name?: string | undefined;
|
|
@@ -31897,6 +32362,11 @@ export declare const notifications: {
|
|
|
31897
32362
|
type: "mcp";
|
|
31898
32363
|
tool: string;
|
|
31899
32364
|
server: string;
|
|
32365
|
+
app?: {
|
|
32366
|
+
resourceUri: string;
|
|
32367
|
+
displayMode?: "inline" | "fullscreen" | undefined;
|
|
32368
|
+
connector?: string | undefined;
|
|
32369
|
+
} | undefined;
|
|
31900
32370
|
} | {
|
|
31901
32371
|
type: "subagent";
|
|
31902
32372
|
name?: string | undefined;
|
|
@@ -32901,6 +33371,9 @@ export declare const notifications: {
|
|
|
32901
33371
|
branch: string;
|
|
32902
33372
|
source: string;
|
|
32903
33373
|
}>>;
|
|
33374
|
+
parentId: z.ZodOptional<z.ZodString>;
|
|
33375
|
+
forkedFrom: z.ZodOptional<z.ZodString>;
|
|
33376
|
+
appId: z.ZodOptional<z.ZodString>;
|
|
32904
33377
|
subagents: z.ZodOptional<z.ZodObject<{
|
|
32905
33378
|
total: z.ZodNumber;
|
|
32906
33379
|
running: z.ZodNumber;
|
|
@@ -33086,6 +33559,9 @@ export declare const notifications: {
|
|
|
33086
33559
|
branch: string;
|
|
33087
33560
|
source: string;
|
|
33088
33561
|
} | undefined;
|
|
33562
|
+
parentId?: string | undefined;
|
|
33563
|
+
forkedFrom?: string | undefined;
|
|
33564
|
+
appId?: string | undefined;
|
|
33089
33565
|
subagents?: {
|
|
33090
33566
|
running: number;
|
|
33091
33567
|
total: number;
|
|
@@ -33197,6 +33673,9 @@ export declare const notifications: {
|
|
|
33197
33673
|
branch: string;
|
|
33198
33674
|
source: string;
|
|
33199
33675
|
} | undefined;
|
|
33676
|
+
parentId?: string | undefined;
|
|
33677
|
+
forkedFrom?: string | undefined;
|
|
33678
|
+
appId?: string | undefined;
|
|
33200
33679
|
subagents?: {
|
|
33201
33680
|
running: number;
|
|
33202
33681
|
total: number;
|
|
@@ -33372,6 +33851,9 @@ export declare const notifications: {
|
|
|
33372
33851
|
branch: string;
|
|
33373
33852
|
source: string;
|
|
33374
33853
|
} | undefined;
|
|
33854
|
+
parentId?: string | undefined;
|
|
33855
|
+
forkedFrom?: string | undefined;
|
|
33856
|
+
appId?: string | undefined;
|
|
33375
33857
|
subagents?: {
|
|
33376
33858
|
running: number;
|
|
33377
33859
|
total: number;
|
|
@@ -33485,6 +33967,9 @@ export declare const notifications: {
|
|
|
33485
33967
|
branch: string;
|
|
33486
33968
|
source: string;
|
|
33487
33969
|
} | undefined;
|
|
33970
|
+
parentId?: string | undefined;
|
|
33971
|
+
forkedFrom?: string | undefined;
|
|
33972
|
+
appId?: string | undefined;
|
|
33488
33973
|
subagents?: {
|
|
33489
33974
|
running: number;
|
|
33490
33975
|
total: number;
|
|
@@ -33765,6 +34250,7 @@ export declare const notifications: {
|
|
|
33765
34250
|
command: z.ZodOptional<z.ZodString>;
|
|
33766
34251
|
exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
33767
34252
|
interrupted: z.ZodOptional<z.ZodBoolean>;
|
|
34253
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
33768
34254
|
}, "strip", z.ZodTypeAny, {
|
|
33769
34255
|
id: string;
|
|
33770
34256
|
title: string;
|
|
@@ -33776,6 +34262,7 @@ export declare const notifications: {
|
|
|
33776
34262
|
command?: string | undefined;
|
|
33777
34263
|
exitCode?: number | null | undefined;
|
|
33778
34264
|
interrupted?: boolean | undefined;
|
|
34265
|
+
sessionId?: string | undefined;
|
|
33779
34266
|
}, {
|
|
33780
34267
|
id: string;
|
|
33781
34268
|
title: string;
|
|
@@ -33787,6 +34274,7 @@ export declare const notifications: {
|
|
|
33787
34274
|
command?: string | undefined;
|
|
33788
34275
|
exitCode?: number | null | undefined;
|
|
33789
34276
|
interrupted?: boolean | undefined;
|
|
34277
|
+
sessionId?: string | undefined;
|
|
33790
34278
|
}>;
|
|
33791
34279
|
closed: z.ZodOptional<z.ZodBoolean>;
|
|
33792
34280
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -33801,6 +34289,7 @@ export declare const notifications: {
|
|
|
33801
34289
|
command?: string | undefined;
|
|
33802
34290
|
exitCode?: number | null | undefined;
|
|
33803
34291
|
interrupted?: boolean | undefined;
|
|
34292
|
+
sessionId?: string | undefined;
|
|
33804
34293
|
};
|
|
33805
34294
|
closed?: boolean | undefined;
|
|
33806
34295
|
}, {
|
|
@@ -33815,6 +34304,7 @@ export declare const notifications: {
|
|
|
33815
34304
|
command?: string | undefined;
|
|
33816
34305
|
exitCode?: number | null | undefined;
|
|
33817
34306
|
interrupted?: boolean | undefined;
|
|
34307
|
+
sessionId?: string | undefined;
|
|
33818
34308
|
};
|
|
33819
34309
|
closed?: boolean | undefined;
|
|
33820
34310
|
}>;
|