@linkshell/wire 0.2.30 → 0.2.32
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/direct.d.ts +2 -0
- package/dist/direct.js +3 -1
- package/dist/direct.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/live-activity.d.ts +59 -2
- package/dist/live-activity.js +26 -0
- package/dist/live-activity.js.map +1 -1
- package/dist/lsa.d.ts +308 -0
- package/dist/lsa.js +144 -0
- package/dist/lsa.js.map +1 -0
- package/dist/model.d.ts +66 -0
- package/dist/model.js +19 -0
- package/dist/model.js.map +1 -1
- package/dist/peer.d.ts +3 -1
- package/dist/peer.js +60 -22
- package/dist/peer.js.map +1 -1
- package/dist/relay-client.d.ts +7 -1
- package/dist/relay-client.js +83 -6
- package/dist/relay-client.js.map +1 -1
- package/dist/relay.d.ts +1 -0
- package/dist/relay.js +1 -1
- package/dist/relay.js.map +1 -1
- package/dist/rpc.d.ts +593 -8
- package/dist/rpc.js +132 -8
- package/dist/rpc.js.map +1 -1
- package/dist/updates.d.ts +7 -3
- package/dist/updates.js +4 -0
- package/dist/updates.js.map +1 -1
- package/dist/usage.d.ts +32 -0
- package/dist/usage.js +93 -5
- package/dist/usage.js.map +1 -1
- package/dist/watch.d.ts +7 -7
- package/package.json +1 -1
- package/src/direct.ts +4 -1
- package/src/index.ts +1 -0
- package/src/live-activity.ts +35 -0
- package/src/lsa.ts +159 -0
- package/src/model.ts +25 -0
- package/src/peer.ts +56 -18
- package/src/relay-client.ts +84 -8
- package/src/relay.ts +1 -1
- package/src/rpc.ts +143 -7
- package/src/updates.ts +4 -0
- package/src/usage.ts +117 -5
package/dist/rpc.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { mcpMethods } from "./rpc-mcp.js";
|
|
3
|
+
import { lsaMethods } from "./lsa.js";
|
|
3
4
|
export declare const rpcIdSchema: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
4
5
|
export type RpcId = z.infer<typeof rpcIdSchema>;
|
|
5
6
|
export declare const rpcErrorSchema: z.ZodObject<{
|
|
@@ -44,8 +45,70 @@ export declare const RPC_APP_ERROR = -32000;
|
|
|
44
45
|
* 1: side conversations (`sessions.side`), `machine.info.protocol` itself.
|
|
45
46
|
* 2: session terminals (`terminals.create` `sessionId`, `TerminalInfo.sessionId`).
|
|
46
47
|
* 3: whole-computer CPU and physical memory sampling (`machine.metrics`).
|
|
48
|
+
* 4: smart keep-awake & battery telemetry (`machine.keepAwake`), real git working-tree
|
|
49
|
+
* diff/revert (`git.diff`, `git.revertFile`), fast `@file` search (`fs.projectFiles`),
|
|
50
|
+
* clipboard & screen privacy (`clipboard.*`, `screen.privacy`), push-to-start wakeup
|
|
51
|
+
* (`liveActivities.registerPushToStart`), and LSA Phase 1 steward RPCs (`lsa.*`).
|
|
47
52
|
*/
|
|
48
|
-
export declare const HOST_PROTOCOL =
|
|
53
|
+
export declare const HOST_PROTOCOL = 4;
|
|
54
|
+
export declare const gitDiffFileStatusSchema: z.ZodEnum<{
|
|
55
|
+
modified: "modified";
|
|
56
|
+
added: "added";
|
|
57
|
+
deleted: "deleted";
|
|
58
|
+
renamed: "renamed";
|
|
59
|
+
untracked: "untracked";
|
|
60
|
+
}>;
|
|
61
|
+
export type GitDiffFileStatus = z.infer<typeof gitDiffFileStatusSchema>;
|
|
62
|
+
export declare const gitDiffFileSchema: z.ZodObject<{
|
|
63
|
+
path: z.ZodString;
|
|
64
|
+
oldPath: z.ZodOptional<z.ZodString>;
|
|
65
|
+
status: z.ZodEnum<{
|
|
66
|
+
modified: "modified";
|
|
67
|
+
added: "added";
|
|
68
|
+
deleted: "deleted";
|
|
69
|
+
renamed: "renamed";
|
|
70
|
+
untracked: "untracked";
|
|
71
|
+
}>;
|
|
72
|
+
oldText: z.ZodString;
|
|
73
|
+
newText: z.ZodString;
|
|
74
|
+
additions: z.ZodNumber;
|
|
75
|
+
deletions: z.ZodNumber;
|
|
76
|
+
binary: z.ZodOptional<z.ZodBoolean>;
|
|
77
|
+
}, z.core.$strip>;
|
|
78
|
+
export type GitDiffFile = z.infer<typeof gitDiffFileSchema>;
|
|
79
|
+
export declare const gitDiffResultSchema: z.ZodObject<{
|
|
80
|
+
files: z.ZodArray<z.ZodObject<{
|
|
81
|
+
path: z.ZodString;
|
|
82
|
+
oldPath: z.ZodOptional<z.ZodString>;
|
|
83
|
+
status: z.ZodEnum<{
|
|
84
|
+
modified: "modified";
|
|
85
|
+
added: "added";
|
|
86
|
+
deleted: "deleted";
|
|
87
|
+
renamed: "renamed";
|
|
88
|
+
untracked: "untracked";
|
|
89
|
+
}>;
|
|
90
|
+
oldText: z.ZodString;
|
|
91
|
+
newText: z.ZodString;
|
|
92
|
+
additions: z.ZodNumber;
|
|
93
|
+
deletions: z.ZodNumber;
|
|
94
|
+
binary: z.ZodOptional<z.ZodBoolean>;
|
|
95
|
+
}, z.core.$strip>>;
|
|
96
|
+
truncated: z.ZodBoolean;
|
|
97
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
98
|
+
}, z.core.$strip>;
|
|
99
|
+
export type GitDiffResult = z.infer<typeof gitDiffResultSchema>;
|
|
100
|
+
export declare const projectFileEntrySchema: z.ZodObject<{
|
|
101
|
+
path: z.ZodString;
|
|
102
|
+
relativePath: z.ZodString;
|
|
103
|
+
isDir: z.ZodOptional<z.ZodBoolean>;
|
|
104
|
+
}, z.core.$strip>;
|
|
105
|
+
export type ProjectFileEntry = z.infer<typeof projectFileEntrySchema>;
|
|
106
|
+
export declare const screenPrivacyStateSchema: z.ZodObject<{
|
|
107
|
+
curtain: z.ZodBoolean;
|
|
108
|
+
lockOnDisconnect: z.ZodBoolean;
|
|
109
|
+
supported: z.ZodBoolean;
|
|
110
|
+
}, z.core.$strip>;
|
|
111
|
+
export type ScreenPrivacyState = z.infer<typeof screenPrivacyStateSchema>;
|
|
49
112
|
export declare const directoryEntrySchema: z.ZodObject<{
|
|
50
113
|
name: z.ZodString;
|
|
51
114
|
path: z.ZodString;
|
|
@@ -860,6 +923,23 @@ declare const coreMethods: {
|
|
|
860
923
|
}, z.core.$strip>;
|
|
861
924
|
readonly result: z.ZodObject<{}, z.core.$loose>;
|
|
862
925
|
};
|
|
926
|
+
/** Opens a local path in the chosen desktop editor, file manager, or terminal (local only). */
|
|
927
|
+
readonly "desktop.openPath": {
|
|
928
|
+
readonly params: z.ZodObject<{
|
|
929
|
+
path: z.ZodString;
|
|
930
|
+
app: z.ZodOptional<z.ZodEnum<{
|
|
931
|
+
default: "default";
|
|
932
|
+
terminal: "terminal";
|
|
933
|
+
reveal: "reveal";
|
|
934
|
+
cursor: "cursor";
|
|
935
|
+
vscode: "vscode";
|
|
936
|
+
zed: "zed";
|
|
937
|
+
}>>;
|
|
938
|
+
}, z.core.$strip>;
|
|
939
|
+
readonly result: z.ZodObject<{
|
|
940
|
+
ok: z.ZodBoolean;
|
|
941
|
+
}, z.core.$strip>;
|
|
942
|
+
};
|
|
863
943
|
readonly "usage.summary": {
|
|
864
944
|
readonly params: z.ZodObject<{
|
|
865
945
|
days: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<7>, z.ZodLiteral<30>]>>;
|
|
@@ -878,6 +958,7 @@ declare const coreMethods: {
|
|
|
878
958
|
cacheReadTokens: z.ZodNumber;
|
|
879
959
|
cacheWriteTokens: z.ZodNumber;
|
|
880
960
|
totalTokens: z.ZodNumber;
|
|
961
|
+
estimatedCostUsd: z.ZodOptional<z.ZodNumber>;
|
|
881
962
|
}, z.core.$strip>;
|
|
882
963
|
daily: z.ZodArray<z.ZodObject<{
|
|
883
964
|
records: z.ZodNumber;
|
|
@@ -887,6 +968,7 @@ declare const coreMethods: {
|
|
|
887
968
|
cacheReadTokens: z.ZodNumber;
|
|
888
969
|
cacheWriteTokens: z.ZodNumber;
|
|
889
970
|
totalTokens: z.ZodNumber;
|
|
971
|
+
estimatedCostUsd: z.ZodOptional<z.ZodNumber>;
|
|
890
972
|
date: z.ZodString;
|
|
891
973
|
}, z.core.$strip>>;
|
|
892
974
|
models: z.ZodArray<z.ZodObject<{
|
|
@@ -897,6 +979,7 @@ declare const coreMethods: {
|
|
|
897
979
|
cacheReadTokens: z.ZodNumber;
|
|
898
980
|
cacheWriteTokens: z.ZodNumber;
|
|
899
981
|
totalTokens: z.ZodNumber;
|
|
982
|
+
estimatedCostUsd: z.ZodOptional<z.ZodNumber>;
|
|
900
983
|
agent: z.ZodString;
|
|
901
984
|
model: z.ZodString;
|
|
902
985
|
}, z.core.$strip>>;
|
|
@@ -914,7 +997,13 @@ declare const coreMethods: {
|
|
|
914
997
|
records: z.ZodNumber;
|
|
915
998
|
totalTokens: z.ZodNumber;
|
|
916
999
|
note: z.ZodString;
|
|
1000
|
+
estimatedCostUsd: z.ZodOptional<z.ZodNumber>;
|
|
917
1001
|
}, z.core.$strip>>>;
|
|
1002
|
+
estimatedCostUsd: z.ZodOptional<z.ZodNumber>;
|
|
1003
|
+
remoteStats: z.ZodOptional<z.ZodObject<{
|
|
1004
|
+
remoteTurns: z.ZodNumber;
|
|
1005
|
+
remoteApprovals: z.ZodNumber;
|
|
1006
|
+
}, z.core.$strip>>;
|
|
918
1007
|
warnings: z.ZodArray<z.ZodString>;
|
|
919
1008
|
}, z.core.$strip>;
|
|
920
1009
|
};
|
|
@@ -934,6 +1023,23 @@ declare const coreMethods: {
|
|
|
934
1023
|
}, z.core.$strip>;
|
|
935
1024
|
readonly result: z.ZodObject<{}, z.core.$strip>;
|
|
936
1025
|
};
|
|
1026
|
+
readonly "liveActivities.registerPushToStart": {
|
|
1027
|
+
readonly params: z.ZodObject<{
|
|
1028
|
+
deviceId: z.ZodString;
|
|
1029
|
+
pushToStartToken: z.ZodString;
|
|
1030
|
+
platform: z.ZodEnum<{
|
|
1031
|
+
ios: "ios";
|
|
1032
|
+
android: "android";
|
|
1033
|
+
}>;
|
|
1034
|
+
serviceUrl: z.ZodURL;
|
|
1035
|
+
grant: z.ZodString;
|
|
1036
|
+
expiresAt: z.ZodNumber;
|
|
1037
|
+
computerKey: z.ZodString;
|
|
1038
|
+
}, z.core.$strip>;
|
|
1039
|
+
readonly result: z.ZodObject<{
|
|
1040
|
+
ok: z.ZodOptional<z.ZodBoolean>;
|
|
1041
|
+
}, z.core.$loose>;
|
|
1042
|
+
};
|
|
937
1043
|
readonly "machine.info": {
|
|
938
1044
|
readonly params: z.ZodObject<{}, z.core.$loose>;
|
|
939
1045
|
readonly result: z.ZodObject<{
|
|
@@ -1012,6 +1118,20 @@ declare const coreMethods: {
|
|
|
1012
1118
|
usedBytes: z.ZodNumber;
|
|
1013
1119
|
availableBytes: z.ZodNumber;
|
|
1014
1120
|
}, z.core.$strip>>;
|
|
1121
|
+
power: z.ZodOptional<z.ZodObject<{
|
|
1122
|
+
onBattery: z.ZodBoolean;
|
|
1123
|
+
percent: z.ZodNullable<z.ZodNumber>;
|
|
1124
|
+
charging: z.ZodOptional<z.ZodBoolean>;
|
|
1125
|
+
}, z.core.$strip>>;
|
|
1126
|
+
keepAwake: z.ZodOptional<z.ZodObject<{
|
|
1127
|
+
mode: z.ZodEnum<{
|
|
1128
|
+
smart: "smart";
|
|
1129
|
+
always: "always";
|
|
1130
|
+
off: "off";
|
|
1131
|
+
}>;
|
|
1132
|
+
active: z.ZodBoolean;
|
|
1133
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1134
|
+
}, z.core.$strip>>;
|
|
1015
1135
|
history: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1016
1136
|
sampledAt: z.ZodNumber;
|
|
1017
1137
|
sampleIntervalMs: z.ZodNumber;
|
|
@@ -1032,9 +1152,41 @@ declare const coreMethods: {
|
|
|
1032
1152
|
usedBytes: z.ZodNumber;
|
|
1033
1153
|
availableBytes: z.ZodNumber;
|
|
1034
1154
|
}, z.core.$strip>>;
|
|
1155
|
+
power: z.ZodOptional<z.ZodObject<{
|
|
1156
|
+
onBattery: z.ZodBoolean;
|
|
1157
|
+
percent: z.ZodNullable<z.ZodNumber>;
|
|
1158
|
+
charging: z.ZodOptional<z.ZodBoolean>;
|
|
1159
|
+
}, z.core.$strip>>;
|
|
1160
|
+
keepAwake: z.ZodOptional<z.ZodObject<{
|
|
1161
|
+
mode: z.ZodEnum<{
|
|
1162
|
+
smart: "smart";
|
|
1163
|
+
always: "always";
|
|
1164
|
+
off: "off";
|
|
1165
|
+
}>;
|
|
1166
|
+
active: z.ZodBoolean;
|
|
1167
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1168
|
+
}, z.core.$strip>>;
|
|
1035
1169
|
}, z.core.$strip>>>;
|
|
1036
1170
|
}, z.core.$strip>;
|
|
1037
1171
|
};
|
|
1172
|
+
readonly "machine.keepAwake": {
|
|
1173
|
+
readonly params: z.ZodObject<{
|
|
1174
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
1175
|
+
smart: "smart";
|
|
1176
|
+
always: "always";
|
|
1177
|
+
off: "off";
|
|
1178
|
+
}>>;
|
|
1179
|
+
}, z.core.$strip>;
|
|
1180
|
+
readonly result: z.ZodObject<{
|
|
1181
|
+
mode: z.ZodEnum<{
|
|
1182
|
+
smart: "smart";
|
|
1183
|
+
always: "always";
|
|
1184
|
+
off: "off";
|
|
1185
|
+
}>;
|
|
1186
|
+
active: z.ZodBoolean;
|
|
1187
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1188
|
+
}, z.core.$strip>;
|
|
1189
|
+
};
|
|
1038
1190
|
readonly "machine.rename": {
|
|
1039
1191
|
/** Empty restores the configured default; names never change peer identities. */
|
|
1040
1192
|
readonly params: z.ZodObject<{
|
|
@@ -1113,6 +1265,7 @@ declare const coreMethods: {
|
|
|
1113
1265
|
readonly params: z.ZodObject<{
|
|
1114
1266
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
1115
1267
|
before: z.ZodOptional<z.ZodNumber>;
|
|
1268
|
+
beforeId: z.ZodOptional<z.ZodString>;
|
|
1116
1269
|
includeArchived: z.ZodOptional<z.ZodBoolean>;
|
|
1117
1270
|
}, z.core.$strip>;
|
|
1118
1271
|
readonly result: z.ZodObject<{
|
|
@@ -1422,6 +1575,319 @@ declare const coreMethods: {
|
|
|
1422
1575
|
}, z.core.$strip>>;
|
|
1423
1576
|
}, z.core.$strip>>;
|
|
1424
1577
|
nextBefore: z.ZodOptional<z.ZodNumber>;
|
|
1578
|
+
nextBeforeId: z.ZodOptional<z.ZodString>;
|
|
1579
|
+
}, z.core.$strip>;
|
|
1580
|
+
};
|
|
1581
|
+
readonly "sessions.get": {
|
|
1582
|
+
readonly params: z.ZodObject<{
|
|
1583
|
+
sessionId: z.ZodString;
|
|
1584
|
+
}, z.core.$strip>;
|
|
1585
|
+
readonly result: z.ZodObject<{
|
|
1586
|
+
session: z.ZodOptional<z.ZodObject<{
|
|
1587
|
+
id: z.ZodString;
|
|
1588
|
+
agent: z.ZodString;
|
|
1589
|
+
nativeId: z.ZodString;
|
|
1590
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1591
|
+
preview: z.ZodOptional<z.ZodString>;
|
|
1592
|
+
cwd: z.ZodString;
|
|
1593
|
+
state: z.ZodEnum<{
|
|
1594
|
+
unknown: "unknown";
|
|
1595
|
+
error: "error";
|
|
1596
|
+
running: "running";
|
|
1597
|
+
idle: "idle";
|
|
1598
|
+
waiting: "waiting";
|
|
1599
|
+
offline: "offline";
|
|
1600
|
+
}>;
|
|
1601
|
+
driver: z.ZodOptional<z.ZodEnum<{
|
|
1602
|
+
remote: "remote";
|
|
1603
|
+
desktop: "desktop";
|
|
1604
|
+
none: "none";
|
|
1605
|
+
}>>;
|
|
1606
|
+
pendingPermissions: z.ZodNumber;
|
|
1607
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1608
|
+
createdAt: z.ZodNumber;
|
|
1609
|
+
updatedAt: z.ZodNumber;
|
|
1610
|
+
lastSeq: z.ZodNumber;
|
|
1611
|
+
archived: z.ZodBoolean;
|
|
1612
|
+
activity: z.ZodOptional<z.ZodObject<{
|
|
1613
|
+
kind: z.ZodEnum<{
|
|
1614
|
+
thinking: "thinking";
|
|
1615
|
+
responding: "responding";
|
|
1616
|
+
tool: "tool";
|
|
1617
|
+
}>;
|
|
1618
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1619
|
+
toolKind: z.ZodOptional<z.ZodEnum<{
|
|
1620
|
+
search: "search";
|
|
1621
|
+
delete: "delete";
|
|
1622
|
+
read: "read";
|
|
1623
|
+
edit: "edit";
|
|
1624
|
+
move: "move";
|
|
1625
|
+
execute: "execute";
|
|
1626
|
+
think: "think";
|
|
1627
|
+
fetch: "fetch";
|
|
1628
|
+
switch_mode: "switch_mode";
|
|
1629
|
+
other: "other";
|
|
1630
|
+
}>>;
|
|
1631
|
+
}, z.core.$strip>>;
|
|
1632
|
+
permission: z.ZodOptional<z.ZodObject<{
|
|
1633
|
+
requestId: z.ZodString;
|
|
1634
|
+
childSessionId: z.ZodOptional<z.ZodString>;
|
|
1635
|
+
toolCallId: z.ZodOptional<z.ZodString>;
|
|
1636
|
+
title: z.ZodString;
|
|
1637
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
1638
|
+
tool: z.ZodOptional<z.ZodObject<{
|
|
1639
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1640
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
1641
|
+
search: "search";
|
|
1642
|
+
delete: "delete";
|
|
1643
|
+
read: "read";
|
|
1644
|
+
edit: "edit";
|
|
1645
|
+
move: "move";
|
|
1646
|
+
execute: "execute";
|
|
1647
|
+
think: "think";
|
|
1648
|
+
fetch: "fetch";
|
|
1649
|
+
switch_mode: "switch_mode";
|
|
1650
|
+
other: "other";
|
|
1651
|
+
}>>;
|
|
1652
|
+
rawInput: z.ZodOptional<z.ZodUnknown>;
|
|
1653
|
+
content: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1654
|
+
type: z.ZodLiteral<"content">;
|
|
1655
|
+
content: z.ZodType<{
|
|
1656
|
+
type: "text";
|
|
1657
|
+
text: string;
|
|
1658
|
+
annotations?: {
|
|
1659
|
+
[x: string]: unknown;
|
|
1660
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
1661
|
+
priority?: number | undefined;
|
|
1662
|
+
lastModified?: string | undefined;
|
|
1663
|
+
} | undefined;
|
|
1664
|
+
_meta?: Record<string, unknown> | undefined;
|
|
1665
|
+
} | {
|
|
1666
|
+
type: "image";
|
|
1667
|
+
mimeType: string;
|
|
1668
|
+
annotations?: {
|
|
1669
|
+
[x: string]: unknown;
|
|
1670
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
1671
|
+
priority?: number | undefined;
|
|
1672
|
+
lastModified?: string | undefined;
|
|
1673
|
+
} | undefined;
|
|
1674
|
+
_meta?: Record<string, unknown> | undefined;
|
|
1675
|
+
data?: string | undefined;
|
|
1676
|
+
uri?: string | undefined;
|
|
1677
|
+
} | {
|
|
1678
|
+
type: "audio";
|
|
1679
|
+
mimeType: string;
|
|
1680
|
+
annotations?: {
|
|
1681
|
+
[x: string]: unknown;
|
|
1682
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
1683
|
+
priority?: number | undefined;
|
|
1684
|
+
lastModified?: string | undefined;
|
|
1685
|
+
} | undefined;
|
|
1686
|
+
_meta?: Record<string, unknown> | undefined;
|
|
1687
|
+
data?: string | undefined;
|
|
1688
|
+
uri?: string | undefined;
|
|
1689
|
+
} | {
|
|
1690
|
+
type: "resource";
|
|
1691
|
+
resource: {
|
|
1692
|
+
uri: string;
|
|
1693
|
+
mimeType?: string | undefined;
|
|
1694
|
+
text?: string | undefined;
|
|
1695
|
+
blob?: string | undefined;
|
|
1696
|
+
assetUri?: string | undefined;
|
|
1697
|
+
_meta?: Record<string, unknown> | undefined;
|
|
1698
|
+
};
|
|
1699
|
+
annotations?: {
|
|
1700
|
+
[x: string]: unknown;
|
|
1701
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
1702
|
+
priority?: number | undefined;
|
|
1703
|
+
lastModified?: string | undefined;
|
|
1704
|
+
} | undefined;
|
|
1705
|
+
_meta?: Record<string, unknown> | undefined;
|
|
1706
|
+
} | {
|
|
1707
|
+
type: "resource_link";
|
|
1708
|
+
uri: string;
|
|
1709
|
+
name: string;
|
|
1710
|
+
kind?: "file" | "agent" | "skill" | undefined;
|
|
1711
|
+
annotations?: {
|
|
1712
|
+
[x: string]: unknown;
|
|
1713
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
1714
|
+
priority?: number | undefined;
|
|
1715
|
+
lastModified?: string | undefined;
|
|
1716
|
+
} | undefined;
|
|
1717
|
+
_meta?: Record<string, unknown> | undefined;
|
|
1718
|
+
title?: string | undefined;
|
|
1719
|
+
description?: string | undefined;
|
|
1720
|
+
mimeType?: string | undefined;
|
|
1721
|
+
size?: number | undefined;
|
|
1722
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
1723
|
+
type: "text";
|
|
1724
|
+
text: string;
|
|
1725
|
+
annotations?: {
|
|
1726
|
+
[x: string]: unknown;
|
|
1727
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
1728
|
+
priority?: number | undefined;
|
|
1729
|
+
lastModified?: string | undefined;
|
|
1730
|
+
} | undefined;
|
|
1731
|
+
_meta?: Record<string, unknown> | undefined;
|
|
1732
|
+
} | {
|
|
1733
|
+
type: "image";
|
|
1734
|
+
mimeType: string;
|
|
1735
|
+
annotations?: {
|
|
1736
|
+
[x: string]: unknown;
|
|
1737
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
1738
|
+
priority?: number | undefined;
|
|
1739
|
+
lastModified?: string | undefined;
|
|
1740
|
+
} | undefined;
|
|
1741
|
+
_meta?: Record<string, unknown> | undefined;
|
|
1742
|
+
data?: string | undefined;
|
|
1743
|
+
uri?: string | undefined;
|
|
1744
|
+
} | {
|
|
1745
|
+
type: "audio";
|
|
1746
|
+
mimeType: string;
|
|
1747
|
+
annotations?: {
|
|
1748
|
+
[x: string]: unknown;
|
|
1749
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
1750
|
+
priority?: number | undefined;
|
|
1751
|
+
lastModified?: string | undefined;
|
|
1752
|
+
} | undefined;
|
|
1753
|
+
_meta?: Record<string, unknown> | undefined;
|
|
1754
|
+
data?: string | undefined;
|
|
1755
|
+
uri?: string | undefined;
|
|
1756
|
+
} | {
|
|
1757
|
+
type: "resource";
|
|
1758
|
+
resource: {
|
|
1759
|
+
uri: string;
|
|
1760
|
+
mimeType?: string | undefined;
|
|
1761
|
+
text?: string | undefined;
|
|
1762
|
+
blob?: string | undefined;
|
|
1763
|
+
assetUri?: string | undefined;
|
|
1764
|
+
_meta?: Record<string, unknown> | undefined;
|
|
1765
|
+
};
|
|
1766
|
+
annotations?: {
|
|
1767
|
+
[x: string]: unknown;
|
|
1768
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
1769
|
+
priority?: number | undefined;
|
|
1770
|
+
lastModified?: string | undefined;
|
|
1771
|
+
} | undefined;
|
|
1772
|
+
_meta?: Record<string, unknown> | undefined;
|
|
1773
|
+
} | {
|
|
1774
|
+
type: "resource_link";
|
|
1775
|
+
uri: string;
|
|
1776
|
+
name: string;
|
|
1777
|
+
kind?: "file" | "agent" | "skill" | undefined;
|
|
1778
|
+
annotations?: {
|
|
1779
|
+
[x: string]: unknown;
|
|
1780
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
1781
|
+
priority?: number | undefined;
|
|
1782
|
+
lastModified?: string | undefined;
|
|
1783
|
+
} | undefined;
|
|
1784
|
+
_meta?: Record<string, unknown> | undefined;
|
|
1785
|
+
title?: string | undefined;
|
|
1786
|
+
description?: string | undefined;
|
|
1787
|
+
mimeType?: string | undefined;
|
|
1788
|
+
size?: number | undefined;
|
|
1789
|
+
}, unknown>>;
|
|
1790
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1791
|
+
type: z.ZodLiteral<"diff">;
|
|
1792
|
+
path: z.ZodString;
|
|
1793
|
+
oldText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1794
|
+
newText: z.ZodString;
|
|
1795
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1796
|
+
type: z.ZodLiteral<"patch">;
|
|
1797
|
+
path: z.ZodString;
|
|
1798
|
+
change: z.ZodEnum<{
|
|
1799
|
+
add: "add";
|
|
1800
|
+
delete: "delete";
|
|
1801
|
+
update: "update";
|
|
1802
|
+
}>;
|
|
1803
|
+
movePath: z.ZodOptional<z.ZodString>;
|
|
1804
|
+
diff: z.ZodString;
|
|
1805
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1806
|
+
type: z.ZodLiteral<"terminal">;
|
|
1807
|
+
terminalId: z.ZodString;
|
|
1808
|
+
}, z.core.$strip>], "type">>>;
|
|
1809
|
+
locations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1810
|
+
path: z.ZodString;
|
|
1811
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
1812
|
+
}, z.core.$strip>>>;
|
|
1813
|
+
}, z.core.$strip>>;
|
|
1814
|
+
url: z.ZodOptional<z.ZodObject<{
|
|
1815
|
+
url: z.ZodString;
|
|
1816
|
+
elicitationId: z.ZodString;
|
|
1817
|
+
}, z.core.$strip>>;
|
|
1818
|
+
options: z.ZodArray<z.ZodObject<{
|
|
1819
|
+
optionId: z.ZodString;
|
|
1820
|
+
name: z.ZodString;
|
|
1821
|
+
kind: z.ZodEnum<{
|
|
1822
|
+
allow_once: "allow_once";
|
|
1823
|
+
allow_always: "allow_always";
|
|
1824
|
+
reject_once: "reject_once";
|
|
1825
|
+
reject_always: "reject_always";
|
|
1826
|
+
}>;
|
|
1827
|
+
}, z.core.$strip>>;
|
|
1828
|
+
questions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1829
|
+
id: z.ZodString;
|
|
1830
|
+
constraints: z.ZodOptional<z.ZodObject<{
|
|
1831
|
+
type: z.ZodEnum<{
|
|
1832
|
+
string: "string";
|
|
1833
|
+
number: "number";
|
|
1834
|
+
boolean: "boolean";
|
|
1835
|
+
array: "array";
|
|
1836
|
+
integer: "integer";
|
|
1837
|
+
}>;
|
|
1838
|
+
minimum: z.ZodOptional<z.ZodNumber>;
|
|
1839
|
+
maximum: z.ZodOptional<z.ZodNumber>;
|
|
1840
|
+
minLength: z.ZodOptional<z.ZodNumber>;
|
|
1841
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
1842
|
+
minItems: z.ZodOptional<z.ZodNumber>;
|
|
1843
|
+
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
1844
|
+
pattern: z.ZodOptional<z.ZodString>;
|
|
1845
|
+
format: z.ZodOptional<z.ZodString>;
|
|
1846
|
+
}, z.core.$strip>>;
|
|
1847
|
+
defaults: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1848
|
+
header: z.ZodOptional<z.ZodString>;
|
|
1849
|
+
text: z.ZodString;
|
|
1850
|
+
kind: z.ZodEnum<{
|
|
1851
|
+
text: "text";
|
|
1852
|
+
choice: "choice";
|
|
1853
|
+
choices: "choices";
|
|
1854
|
+
}>;
|
|
1855
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1856
|
+
value: z.ZodString;
|
|
1857
|
+
label: z.ZodString;
|
|
1858
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1859
|
+
}, z.core.$strip>>>;
|
|
1860
|
+
other: z.ZodOptional<z.ZodBoolean>;
|
|
1861
|
+
secret: z.ZodOptional<z.ZodBoolean>;
|
|
1862
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
1863
|
+
}, z.core.$strip>>>;
|
|
1864
|
+
}, z.core.$strip>>;
|
|
1865
|
+
asyncQuestions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1866
|
+
id: z.ZodString;
|
|
1867
|
+
title: z.ZodString;
|
|
1868
|
+
options: z.ZodArray<z.ZodString>;
|
|
1869
|
+
}, z.core.$strip>>>;
|
|
1870
|
+
queue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1871
|
+
clientMessageId: z.ZodString;
|
|
1872
|
+
text: z.ZodString;
|
|
1873
|
+
images: z.ZodNumber;
|
|
1874
|
+
}, z.core.$strip>>>;
|
|
1875
|
+
worktree: z.ZodOptional<z.ZodObject<{
|
|
1876
|
+
branch: z.ZodString;
|
|
1877
|
+
source: z.ZodString;
|
|
1878
|
+
}, z.core.$strip>>;
|
|
1879
|
+
parentId: z.ZodOptional<z.ZodString>;
|
|
1880
|
+
forkedFrom: z.ZodOptional<z.ZodString>;
|
|
1881
|
+
appId: z.ZodOptional<z.ZodString>;
|
|
1882
|
+
subagents: z.ZodOptional<z.ZodObject<{
|
|
1883
|
+
total: z.ZodNumber;
|
|
1884
|
+
running: z.ZodNumber;
|
|
1885
|
+
}, z.core.$strip>>;
|
|
1886
|
+
tasks: z.ZodOptional<z.ZodObject<{
|
|
1887
|
+
total: z.ZodNumber;
|
|
1888
|
+
running: z.ZodNumber;
|
|
1889
|
+
}, z.core.$strip>>;
|
|
1890
|
+
}, z.core.$strip>>;
|
|
1425
1891
|
}, z.core.$strip>;
|
|
1426
1892
|
};
|
|
1427
1893
|
/**
|
|
@@ -1460,8 +1926,8 @@ declare const coreMethods: {
|
|
|
1460
1926
|
category: z.ZodDefault<z.ZodEnum<{
|
|
1461
1927
|
model: "model";
|
|
1462
1928
|
other: "other";
|
|
1463
|
-
model_config: "model_config";
|
|
1464
1929
|
mode: "mode";
|
|
1930
|
+
model_config: "model_config";
|
|
1465
1931
|
effort: "effort";
|
|
1466
1932
|
}>>;
|
|
1467
1933
|
current: z.ZodString;
|
|
@@ -1614,6 +2080,7 @@ declare const coreMethods: {
|
|
|
1614
2080
|
size?: number | undefined;
|
|
1615
2081
|
}, unknown>>>>;
|
|
1616
2082
|
clientMessageId: z.ZodOptional<z.ZodString>;
|
|
2083
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
1617
2084
|
model: z.ZodOptional<z.ZodString>;
|
|
1618
2085
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1619
2086
|
worktree: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3004,6 +3471,7 @@ declare const coreMethods: {
|
|
|
3004
3471
|
mimeType?: string | undefined;
|
|
3005
3472
|
size?: number | undefined;
|
|
3006
3473
|
}, unknown>>;
|
|
3474
|
+
replace: z.ZodOptional<z.ZodBoolean>;
|
|
3007
3475
|
}, z.core.$strip>, z.ZodObject<{
|
|
3008
3476
|
sessionUpdate: z.ZodLiteral<"agent_thought_chunk">;
|
|
3009
3477
|
parentToolCallId: z.ZodOptional<z.ZodString>;
|
|
@@ -3143,6 +3611,7 @@ declare const coreMethods: {
|
|
|
3143
3611
|
mimeType?: string | undefined;
|
|
3144
3612
|
size?: number | undefined;
|
|
3145
3613
|
}, unknown>>;
|
|
3614
|
+
replace: z.ZodOptional<z.ZodBoolean>;
|
|
3146
3615
|
}, z.core.$strip>, z.ZodObject<{
|
|
3147
3616
|
sessionUpdate: z.ZodLiteral<"tool_call">;
|
|
3148
3617
|
toolCallId: z.ZodString;
|
|
@@ -3838,8 +4307,8 @@ declare const coreMethods: {
|
|
|
3838
4307
|
category: z.ZodDefault<z.ZodEnum<{
|
|
3839
4308
|
model: "model";
|
|
3840
4309
|
other: "other";
|
|
3841
|
-
model_config: "model_config";
|
|
3842
4310
|
mode: "mode";
|
|
4311
|
+
model_config: "model_config";
|
|
3843
4312
|
effort: "effort";
|
|
3844
4313
|
}>>;
|
|
3845
4314
|
current: z.ZodString;
|
|
@@ -4695,6 +5164,7 @@ declare const coreMethods: {
|
|
|
4695
5164
|
mimeType?: string | undefined;
|
|
4696
5165
|
size?: number | undefined;
|
|
4697
5166
|
}, unknown>>;
|
|
5167
|
+
replace: z.ZodOptional<z.ZodBoolean>;
|
|
4698
5168
|
}, z.core.$strip>, z.ZodObject<{
|
|
4699
5169
|
sessionUpdate: z.ZodLiteral<"agent_thought_chunk">;
|
|
4700
5170
|
parentToolCallId: z.ZodOptional<z.ZodString>;
|
|
@@ -4834,6 +5304,7 @@ declare const coreMethods: {
|
|
|
4834
5304
|
mimeType?: string | undefined;
|
|
4835
5305
|
size?: number | undefined;
|
|
4836
5306
|
}, unknown>>;
|
|
5307
|
+
replace: z.ZodOptional<z.ZodBoolean>;
|
|
4837
5308
|
}, z.core.$strip>, z.ZodObject<{
|
|
4838
5309
|
sessionUpdate: z.ZodLiteral<"tool_call">;
|
|
4839
5310
|
toolCallId: z.ZodString;
|
|
@@ -5529,8 +6000,8 @@ declare const coreMethods: {
|
|
|
5529
6000
|
category: z.ZodDefault<z.ZodEnum<{
|
|
5530
6001
|
model: "model";
|
|
5531
6002
|
other: "other";
|
|
5532
|
-
model_config: "model_config";
|
|
5533
6003
|
mode: "mode";
|
|
6004
|
+
model_config: "model_config";
|
|
5534
6005
|
effort: "effort";
|
|
5535
6006
|
}>>;
|
|
5536
6007
|
current: z.ZodString;
|
|
@@ -6173,8 +6644,8 @@ declare const coreMethods: {
|
|
|
6173
6644
|
readonly result: z.ZodObject<{
|
|
6174
6645
|
delivery: z.ZodEnum<{
|
|
6175
6646
|
started: "started";
|
|
6176
|
-
steered: "steered";
|
|
6177
6647
|
queued: "queued";
|
|
6648
|
+
steered: "steered";
|
|
6178
6649
|
duplicate: "duplicate";
|
|
6179
6650
|
}>;
|
|
6180
6651
|
}, z.core.$strip>;
|
|
@@ -7125,9 +7596,64 @@ declare const coreMethods: {
|
|
|
7125
7596
|
branch: z.ZodOptional<z.ZodString>;
|
|
7126
7597
|
head: z.ZodOptional<z.ZodString>;
|
|
7127
7598
|
dirty: z.ZodBoolean;
|
|
7599
|
+
remote: z.ZodOptional<z.ZodString>;
|
|
7600
|
+
rootCommit: z.ZodOptional<z.ZodString>;
|
|
7128
7601
|
}, z.core.$strip>>;
|
|
7129
7602
|
}, z.core.$strip>;
|
|
7130
7603
|
};
|
|
7604
|
+
/** Real git working-tree diff (or against `base`), bounded by `maxBytes` and including untracked text files by default. */
|
|
7605
|
+
readonly "git.diff": {
|
|
7606
|
+
readonly params: z.ZodObject<{
|
|
7607
|
+
cwd: z.ZodString;
|
|
7608
|
+
base: z.ZodOptional<z.ZodString>;
|
|
7609
|
+
includeUntracked: z.ZodOptional<z.ZodBoolean>;
|
|
7610
|
+
maxBytes: z.ZodOptional<z.ZodNumber>;
|
|
7611
|
+
}, z.core.$strip>;
|
|
7612
|
+
readonly result: z.ZodObject<{
|
|
7613
|
+
files: z.ZodArray<z.ZodObject<{
|
|
7614
|
+
path: z.ZodString;
|
|
7615
|
+
oldPath: z.ZodOptional<z.ZodString>;
|
|
7616
|
+
status: z.ZodEnum<{
|
|
7617
|
+
modified: "modified";
|
|
7618
|
+
added: "added";
|
|
7619
|
+
deleted: "deleted";
|
|
7620
|
+
renamed: "renamed";
|
|
7621
|
+
untracked: "untracked";
|
|
7622
|
+
}>;
|
|
7623
|
+
oldText: z.ZodString;
|
|
7624
|
+
newText: z.ZodString;
|
|
7625
|
+
additions: z.ZodNumber;
|
|
7626
|
+
deletions: z.ZodNumber;
|
|
7627
|
+
binary: z.ZodOptional<z.ZodBoolean>;
|
|
7628
|
+
}, z.core.$strip>>;
|
|
7629
|
+
truncated: z.ZodBoolean;
|
|
7630
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
7631
|
+
}, z.core.$strip>;
|
|
7632
|
+
};
|
|
7633
|
+
/** Restores a tracked file or removes an untracked file strictly inside the repository root. */
|
|
7634
|
+
readonly "git.revertFile": {
|
|
7635
|
+
readonly params: z.ZodObject<{
|
|
7636
|
+
cwd: z.ZodString;
|
|
7637
|
+
path: z.ZodString;
|
|
7638
|
+
}, z.core.$strip>;
|
|
7639
|
+
readonly result: z.ZodObject<{
|
|
7640
|
+
ok: z.ZodBoolean;
|
|
7641
|
+
}, z.core.$strip>;
|
|
7642
|
+
};
|
|
7643
|
+
/** Commits staged or specified paths inside `cwd`'s repository. */
|
|
7644
|
+
readonly "git.commit": {
|
|
7645
|
+
readonly params: z.ZodObject<{
|
|
7646
|
+
cwd: z.ZodString;
|
|
7647
|
+
message: z.ZodString;
|
|
7648
|
+
stageAll: z.ZodOptional<z.ZodBoolean>;
|
|
7649
|
+
paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7650
|
+
}, z.core.$strip>;
|
|
7651
|
+
readonly result: z.ZodObject<{
|
|
7652
|
+
sha: z.ZodString;
|
|
7653
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
7654
|
+
summary: z.ZodString;
|
|
7655
|
+
}, z.core.$strip>;
|
|
7656
|
+
};
|
|
7131
7657
|
/** The worktrees LinkShell made, newest first. */
|
|
7132
7658
|
readonly "worktrees.list": {
|
|
7133
7659
|
readonly params: z.ZodObject<{}, z.core.$loose>;
|
|
@@ -7219,13 +7745,16 @@ declare const coreMethods: {
|
|
|
7219
7745
|
};
|
|
7220
7746
|
/**
|
|
7221
7747
|
* Saves a file from the device into `dir`. A name that's taken gets a
|
|
7222
|
-
* numbered suffix ("photo 2.jpg") rather than overwriting
|
|
7748
|
+
* numbered suffix ("photo 2.jpg") rather than overwriting; subsequent chunks
|
|
7749
|
+
* pass `appendPath` and `offset` so each chunk stays below the relay frame cap.
|
|
7223
7750
|
*/
|
|
7224
7751
|
readonly "fs.upload": {
|
|
7225
7752
|
readonly params: z.ZodObject<{
|
|
7226
7753
|
dir: z.ZodString;
|
|
7227
7754
|
name: z.ZodString;
|
|
7228
7755
|
data: z.ZodString;
|
|
7756
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
7757
|
+
appendPath: z.ZodOptional<z.ZodString>;
|
|
7229
7758
|
}, z.core.$strip>;
|
|
7230
7759
|
readonly result: z.ZodObject<{
|
|
7231
7760
|
path: z.ZodString;
|
|
@@ -7259,6 +7788,36 @@ declare const coreMethods: {
|
|
|
7259
7788
|
truncated: z.ZodBoolean;
|
|
7260
7789
|
}, z.core.$strip>;
|
|
7261
7790
|
};
|
|
7791
|
+
/** Fast project file listing under `cwd` (`git ls-files` with directory walk fallback) for `@file` autocomplete. */
|
|
7792
|
+
readonly "fs.projectFiles": {
|
|
7793
|
+
readonly params: z.ZodObject<{
|
|
7794
|
+
cwd: z.ZodString;
|
|
7795
|
+
query: z.ZodOptional<z.ZodString>;
|
|
7796
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
7797
|
+
}, z.core.$strip>;
|
|
7798
|
+
readonly result: z.ZodObject<{
|
|
7799
|
+
files: z.ZodArray<z.ZodObject<{
|
|
7800
|
+
path: z.ZodString;
|
|
7801
|
+
relativePath: z.ZodString;
|
|
7802
|
+
isDir: z.ZodOptional<z.ZodBoolean>;
|
|
7803
|
+
}, z.core.$strip>>;
|
|
7804
|
+
truncated: z.ZodBoolean;
|
|
7805
|
+
}, z.core.$strip>;
|
|
7806
|
+
};
|
|
7807
|
+
readonly "clipboard.read": {
|
|
7808
|
+
readonly params: z.ZodObject<{}, z.core.$loose>;
|
|
7809
|
+
readonly result: z.ZodObject<{
|
|
7810
|
+
text: z.ZodString;
|
|
7811
|
+
}, z.core.$strip>;
|
|
7812
|
+
};
|
|
7813
|
+
readonly "clipboard.write": {
|
|
7814
|
+
readonly params: z.ZodObject<{
|
|
7815
|
+
text: z.ZodString;
|
|
7816
|
+
}, z.core.$strip>;
|
|
7817
|
+
readonly result: z.ZodObject<{
|
|
7818
|
+
ok: z.ZodBoolean;
|
|
7819
|
+
}, z.core.$strip>;
|
|
7820
|
+
};
|
|
7262
7821
|
readonly "terminals.list": {
|
|
7263
7822
|
readonly params: z.ZodObject<{}, z.core.$loose>;
|
|
7264
7823
|
readonly result: z.ZodObject<{
|
|
@@ -7479,6 +8038,18 @@ declare const coreMethods: {
|
|
|
7479
8038
|
problem: z.ZodOptional<z.ZodString>;
|
|
7480
8039
|
}, z.core.$strip>;
|
|
7481
8040
|
};
|
|
8041
|
+
/** Privacy curtain (dim/blank physical screen while viewing remotely) and auto-lock on disconnect. */
|
|
8042
|
+
readonly "screen.privacy": {
|
|
8043
|
+
readonly params: z.ZodObject<{
|
|
8044
|
+
curtain: z.ZodOptional<z.ZodBoolean>;
|
|
8045
|
+
lockOnDisconnect: z.ZodOptional<z.ZodBoolean>;
|
|
8046
|
+
}, z.core.$strip>;
|
|
8047
|
+
readonly result: z.ZodObject<{
|
|
8048
|
+
curtain: z.ZodBoolean;
|
|
8049
|
+
lockOnDisconnect: z.ZodBoolean;
|
|
8050
|
+
supported: z.ZodBoolean;
|
|
8051
|
+
}, z.core.$strip>;
|
|
8052
|
+
};
|
|
7482
8053
|
/** Bytes to the host's end of a stream (base64). */
|
|
7483
8054
|
readonly "proxy.write": {
|
|
7484
8055
|
readonly params: z.ZodObject<{
|
|
@@ -7494,7 +8065,7 @@ declare const coreMethods: {
|
|
|
7494
8065
|
readonly result: z.ZodObject<{}, z.core.$loose>;
|
|
7495
8066
|
};
|
|
7496
8067
|
};
|
|
7497
|
-
export declare const methods: typeof coreMethods & typeof acpMethods & typeof mcpMethods;
|
|
8068
|
+
export declare const methods: typeof coreMethods & typeof acpMethods & typeof mcpMethods & typeof lsaMethods;
|
|
7498
8069
|
export type MethodName = keyof typeof methods;
|
|
7499
8070
|
export type MethodParams<M extends MethodName> = z.input<(typeof methods)[M]["params"]>;
|
|
7500
8071
|
export type MethodResult<M extends MethodName> = z.infer<(typeof methods)[M]["result"]>;
|
|
@@ -8267,6 +8838,7 @@ export declare const notifications: {
|
|
|
8267
8838
|
mimeType?: string | undefined;
|
|
8268
8839
|
size?: number | undefined;
|
|
8269
8840
|
}, unknown>>;
|
|
8841
|
+
replace: z.ZodOptional<z.ZodBoolean>;
|
|
8270
8842
|
}, z.core.$strip>, z.ZodObject<{
|
|
8271
8843
|
sessionUpdate: z.ZodLiteral<"agent_thought_chunk">;
|
|
8272
8844
|
parentToolCallId: z.ZodOptional<z.ZodString>;
|
|
@@ -8406,6 +8978,7 @@ export declare const notifications: {
|
|
|
8406
8978
|
mimeType?: string | undefined;
|
|
8407
8979
|
size?: number | undefined;
|
|
8408
8980
|
}, unknown>>;
|
|
8981
|
+
replace: z.ZodOptional<z.ZodBoolean>;
|
|
8409
8982
|
}, z.core.$strip>, z.ZodObject<{
|
|
8410
8983
|
sessionUpdate: z.ZodLiteral<"tool_call">;
|
|
8411
8984
|
toolCallId: z.ZodString;
|
|
@@ -9101,8 +9674,8 @@ export declare const notifications: {
|
|
|
9101
9674
|
category: z.ZodDefault<z.ZodEnum<{
|
|
9102
9675
|
model: "model";
|
|
9103
9676
|
other: "other";
|
|
9104
|
-
model_config: "model_config";
|
|
9105
9677
|
mode: "mode";
|
|
9678
|
+
model_config: "model_config";
|
|
9106
9679
|
effort: "effort";
|
|
9107
9680
|
}>>;
|
|
9108
9681
|
current: z.ZodString;
|
|
@@ -9854,6 +10427,18 @@ export declare const notifications: {
|
|
|
9854
10427
|
streamId: z.ZodString;
|
|
9855
10428
|
error: z.ZodOptional<z.ZodString>;
|
|
9856
10429
|
}, z.core.$strip>;
|
|
10430
|
+
/** Zero-plaintext transition wakeup metadata. */
|
|
10431
|
+
readonly "liveActivities.wakeup": z.ZodObject<{
|
|
10432
|
+
machineId: z.ZodString;
|
|
10433
|
+
sessionId: z.ZodString;
|
|
10434
|
+
eventType: z.ZodEnum<{
|
|
10435
|
+
error: "error";
|
|
10436
|
+
completed: "completed";
|
|
10437
|
+
question: "question";
|
|
10438
|
+
approval: "approval";
|
|
10439
|
+
}>;
|
|
10440
|
+
createdAt: z.ZodNumber;
|
|
10441
|
+
}, z.core.$strip>;
|
|
9857
10442
|
};
|
|
9858
10443
|
export type NotificationName = keyof typeof notifications;
|
|
9859
10444
|
export type NotificationParams<N extends NotificationName> = z.infer<(typeof notifications)[N]>;
|