@ai-matrx/desktop-protocol 0.21.49 → 0.21.51
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/CHANGELOG.md +20 -0
- package/dist/client.cjs +69 -1
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +2 -2
- package/dist/client.d.ts +2 -2
- package/dist/client.js +69 -1
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +93 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +317 -10
- package/dist/index.d.ts +317 -10
- package/dist/index.js +93 -3
- package/dist/index.js.map +1 -1
- package/dist/{models-B_TX5A-H.d.cts → models-pdHTZ3YT.d.cts} +530 -9
- package/dist/{models-B_TX5A-H.d.ts → models-pdHTZ3YT.d.ts} +530 -9
- package/dist/react.d.cts +258 -2
- package/dist/react.d.ts +258 -2
- package/generated/desktop-protocol.schema.json +625 -1
- package/package.json +4 -4
package/dist/react.d.cts
CHANGED
|
@@ -2016,6 +2016,52 @@ declare const OPS: {
|
|
|
2016
2016
|
readonly since: "1.47";
|
|
2017
2017
|
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2018
2018
|
};
|
|
2019
|
+
readonly "apps.windows.set_account": {
|
|
2020
|
+
readonly params: z.ZodObject<{
|
|
2021
|
+
app_key: z.ZodString;
|
|
2022
|
+
window: z.ZodString;
|
|
2023
|
+
email: z.ZodString;
|
|
2024
|
+
}, z.core.$strict>;
|
|
2025
|
+
readonly result: z.ZodObject<{
|
|
2026
|
+
message: z.ZodString;
|
|
2027
|
+
}, z.core.$strict>;
|
|
2028
|
+
readonly kind: "unary";
|
|
2029
|
+
readonly since: "1.56";
|
|
2030
|
+
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2031
|
+
};
|
|
2032
|
+
readonly "apps.windows.forget": {
|
|
2033
|
+
readonly params: z.ZodObject<{
|
|
2034
|
+
app_key: z.ZodString;
|
|
2035
|
+
window: z.ZodString;
|
|
2036
|
+
}, z.core.$strict>;
|
|
2037
|
+
readonly result: z.ZodObject<{
|
|
2038
|
+
message: z.ZodString;
|
|
2039
|
+
}, z.core.$strict>;
|
|
2040
|
+
readonly kind: "unary";
|
|
2041
|
+
readonly since: "1.56";
|
|
2042
|
+
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2043
|
+
};
|
|
2044
|
+
readonly "apps.chats.probe": {
|
|
2045
|
+
readonly params: z.ZodObject<{
|
|
2046
|
+
app_key: z.ZodString;
|
|
2047
|
+
chat_id: z.ZodString;
|
|
2048
|
+
}, z.core.$strict>;
|
|
2049
|
+
readonly result: z.ZodObject<{
|
|
2050
|
+
app_key: z.ZodString;
|
|
2051
|
+
chat_id: z.ZodString;
|
|
2052
|
+
sources: z.ZodArray<z.ZodObject<{
|
|
2053
|
+
source: z.ZodString;
|
|
2054
|
+
instance: z.ZodNullable<z.ZodString>;
|
|
2055
|
+
facts: z.ZodArray<z.ZodObject<{
|
|
2056
|
+
key: z.ZodString;
|
|
2057
|
+
value: z.ZodString;
|
|
2058
|
+
}, z.core.$strict>>;
|
|
2059
|
+
}, z.core.$strict>>;
|
|
2060
|
+
}, z.core.$strict>;
|
|
2061
|
+
readonly kind: "unary";
|
|
2062
|
+
readonly since: "1.56";
|
|
2063
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2064
|
+
};
|
|
2019
2065
|
readonly "apps.projects.move": {
|
|
2020
2066
|
readonly params: z.ZodObject<{
|
|
2021
2067
|
app_key: z.ZodString;
|
|
@@ -2122,6 +2168,103 @@ declare const OPS: {
|
|
|
2122
2168
|
readonly since: "1.10";
|
|
2123
2169
|
readonly errors: readonly ["CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2124
2170
|
};
|
|
2171
|
+
readonly "apps.chats.copy_to_account": {
|
|
2172
|
+
readonly params: z.ZodObject<{
|
|
2173
|
+
app_key: z.ZodString;
|
|
2174
|
+
origin: z.ZodString;
|
|
2175
|
+
target: z.ZodString;
|
|
2176
|
+
chat_ids: z.ZodArray<z.ZodString>;
|
|
2177
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
2178
|
+
copy: "copy";
|
|
2179
|
+
move: "move";
|
|
2180
|
+
}>>;
|
|
2181
|
+
restart: z.ZodDefault<z.ZodEnum<{
|
|
2182
|
+
queued: "queued";
|
|
2183
|
+
restart_verify: "restart_verify";
|
|
2184
|
+
}>>;
|
|
2185
|
+
mirror_groups: z.ZodDefault<z.ZodBoolean>;
|
|
2186
|
+
pins_follow: z.ZodDefault<z.ZodBoolean>;
|
|
2187
|
+
source_group: z.ZodOptional<z.ZodString>;
|
|
2188
|
+
}, z.core.$strict>;
|
|
2189
|
+
readonly result: z.ZodObject<{
|
|
2190
|
+
message: z.ZodString;
|
|
2191
|
+
origin: z.ZodString;
|
|
2192
|
+
target: z.ZodString;
|
|
2193
|
+
mode: z.ZodEnum<{
|
|
2194
|
+
copy: "copy";
|
|
2195
|
+
move: "move";
|
|
2196
|
+
}>;
|
|
2197
|
+
project: z.ZodObject<{
|
|
2198
|
+
id: z.ZodString;
|
|
2199
|
+
name: z.ZodString;
|
|
2200
|
+
}, z.core.$strict>;
|
|
2201
|
+
groups: z.ZodArray<z.ZodObject<{
|
|
2202
|
+
name: z.ZodString;
|
|
2203
|
+
chats: z.ZodNumber;
|
|
2204
|
+
ok: z.ZodBoolean;
|
|
2205
|
+
when: z.ZodNullable<z.ZodEnum<{
|
|
2206
|
+
now: "now";
|
|
2207
|
+
next_close: "next_close";
|
|
2208
|
+
}>>;
|
|
2209
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
2210
|
+
}, z.core.$strict>>;
|
|
2211
|
+
source_group: z.ZodNullable<z.ZodObject<{
|
|
2212
|
+
name: z.ZodString;
|
|
2213
|
+
ok: z.ZodBoolean;
|
|
2214
|
+
when: z.ZodNullable<z.ZodEnum<{
|
|
2215
|
+
now: "now";
|
|
2216
|
+
next_close: "next_close";
|
|
2217
|
+
}>>;
|
|
2218
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
2219
|
+
}, z.core.$strict>>;
|
|
2220
|
+
chats: z.ZodArray<z.ZodObject<{
|
|
2221
|
+
chat_id: z.ZodString;
|
|
2222
|
+
title: z.ZodString;
|
|
2223
|
+
outcome: z.ZodEnum<{
|
|
2224
|
+
copied: "copied";
|
|
2225
|
+
moved: "moved";
|
|
2226
|
+
already: "already";
|
|
2227
|
+
skipped: "skipped";
|
|
2228
|
+
}>;
|
|
2229
|
+
group: z.ZodNullable<z.ZodString>;
|
|
2230
|
+
group_state: z.ZodNullable<z.ZodEnum<{
|
|
2231
|
+
failed: "failed";
|
|
2232
|
+
now: "now";
|
|
2233
|
+
next_close: "next_close";
|
|
2234
|
+
}>>;
|
|
2235
|
+
pinned: z.ZodBoolean;
|
|
2236
|
+
pin_state: z.ZodNullable<z.ZodEnum<{
|
|
2237
|
+
failed: "failed";
|
|
2238
|
+
now: "now";
|
|
2239
|
+
next_close: "next_close";
|
|
2240
|
+
}>>;
|
|
2241
|
+
state: z.ZodEnum<{
|
|
2242
|
+
failed: "failed";
|
|
2243
|
+
queued: "queued";
|
|
2244
|
+
verified: "verified";
|
|
2245
|
+
}>;
|
|
2246
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
2247
|
+
}, z.core.$strict>>;
|
|
2248
|
+
verified: z.ZodNumber;
|
|
2249
|
+
queued: z.ZodNumber;
|
|
2250
|
+
failed: z.ZodNumber;
|
|
2251
|
+
restart: z.ZodObject<{
|
|
2252
|
+
asked: z.ZodEnum<{
|
|
2253
|
+
queued: "queued";
|
|
2254
|
+
restart_verify: "restart_verify";
|
|
2255
|
+
}>;
|
|
2256
|
+
done: z.ZodEnum<{
|
|
2257
|
+
queued: "queued";
|
|
2258
|
+
restart_verify: "restart_verify";
|
|
2259
|
+
}>;
|
|
2260
|
+
windows: z.ZodArray<z.ZodString>;
|
|
2261
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
2262
|
+
}, z.core.$strict>;
|
|
2263
|
+
}, z.core.$strict>;
|
|
2264
|
+
readonly kind: "unary";
|
|
2265
|
+
readonly since: "1.55";
|
|
2266
|
+
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2267
|
+
};
|
|
2125
2268
|
readonly "apps.projects.to_window": {
|
|
2126
2269
|
readonly params: z.ZodObject<{
|
|
2127
2270
|
app_key: z.ZodString;
|
|
@@ -2189,10 +2332,10 @@ declare const OPS: {
|
|
|
2189
2332
|
chat_id: z.ZodString;
|
|
2190
2333
|
title: z.ZodString;
|
|
2191
2334
|
outcome: z.ZodEnum<{
|
|
2192
|
-
already: "already";
|
|
2193
|
-
skipped: "skipped";
|
|
2194
2335
|
copied: "copied";
|
|
2195
2336
|
moved: "moved";
|
|
2337
|
+
already: "already";
|
|
2338
|
+
skipped: "skipped";
|
|
2196
2339
|
}>;
|
|
2197
2340
|
off: z.ZodArray<z.ZodString>;
|
|
2198
2341
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -4753,6 +4896,119 @@ declare const OPS: {
|
|
|
4753
4896
|
readonly since: "1.38";
|
|
4754
4897
|
readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "INTERNAL"];
|
|
4755
4898
|
};
|
|
4899
|
+
readonly "coding.account.continue": {
|
|
4900
|
+
readonly params: z.ZodObject<{
|
|
4901
|
+
session_id: z.ZodString;
|
|
4902
|
+
account_profile_id: z.ZodOptional<z.ZodString>;
|
|
4903
|
+
client_request_id: z.ZodString;
|
|
4904
|
+
}, z.core.$strict>;
|
|
4905
|
+
readonly result: z.ZodObject<{
|
|
4906
|
+
session: z.ZodObject<{
|
|
4907
|
+
id: z.ZodString;
|
|
4908
|
+
provider: z.ZodEnum<{
|
|
4909
|
+
claude: "claude";
|
|
4910
|
+
codex: "codex";
|
|
4911
|
+
}>;
|
|
4912
|
+
providerSessionId: z.ZodNullable<z.ZodString>;
|
|
4913
|
+
cwd: z.ZodString;
|
|
4914
|
+
title: z.ZodString;
|
|
4915
|
+
model: z.ZodNullable<z.ZodString>;
|
|
4916
|
+
effort: z.ZodNullable<z.ZodString>;
|
|
4917
|
+
origin: z.ZodEnum<{
|
|
4918
|
+
started: "started";
|
|
4919
|
+
takeover: "takeover";
|
|
4920
|
+
}>;
|
|
4921
|
+
createdAt: z.ZodString;
|
|
4922
|
+
updatedAt: z.ZodString;
|
|
4923
|
+
lastRunId: z.ZodNullable<z.ZodString>;
|
|
4924
|
+
lastRunStatus: z.ZodNullable<z.ZodEnum<{
|
|
4925
|
+
running: "running";
|
|
4926
|
+
starting: "starting";
|
|
4927
|
+
failed: "failed";
|
|
4928
|
+
stopped: "stopped";
|
|
4929
|
+
completed: "completed";
|
|
4930
|
+
}>>;
|
|
4931
|
+
queued: z.ZodArray<z.ZodString>;
|
|
4932
|
+
agent: z.ZodNullable<z.ZodObject<{
|
|
4933
|
+
agentId: z.ZodString;
|
|
4934
|
+
versionId: z.ZodNullable<z.ZodString>;
|
|
4935
|
+
versionNumber: z.ZodNullable<z.ZodInt>;
|
|
4936
|
+
name: z.ZodString;
|
|
4937
|
+
definitionHash: z.ZodString;
|
|
4938
|
+
loaded: z.ZodArray<z.ZodObject<{
|
|
4939
|
+
part: z.ZodEnum<{
|
|
4940
|
+
instructions: "instructions";
|
|
4941
|
+
skills: "skills";
|
|
4942
|
+
tools: "tools";
|
|
4943
|
+
}>;
|
|
4944
|
+
loaded: z.ZodInt;
|
|
4945
|
+
total: z.ZodInt;
|
|
4946
|
+
}, z.core.$strict>>;
|
|
4947
|
+
unavailable: z.ZodArray<z.ZodObject<{
|
|
4948
|
+
kind: z.ZodString;
|
|
4949
|
+
name: z.ZodString;
|
|
4950
|
+
reason: z.ZodString;
|
|
4951
|
+
}, z.core.$strict>>;
|
|
4952
|
+
skills: z.ZodArray<z.ZodString>;
|
|
4953
|
+
tools: z.ZodArray<z.ZodString>;
|
|
4954
|
+
variables: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4955
|
+
blockDue: z.ZodBoolean;
|
|
4956
|
+
deliveredAt: z.ZodNullable<z.ZodString>;
|
|
4957
|
+
replaces: z.ZodNullable<z.ZodString>;
|
|
4958
|
+
}, z.core.$strict>>;
|
|
4959
|
+
agentRemovedDue: z.ZodBoolean;
|
|
4960
|
+
}, z.core.$strict>;
|
|
4961
|
+
run: z.ZodNullable<z.ZodObject<{
|
|
4962
|
+
runId: z.ZodString;
|
|
4963
|
+
sessionId: z.ZodString;
|
|
4964
|
+
provider: z.ZodEnum<{
|
|
4965
|
+
claude: "claude";
|
|
4966
|
+
codex: "codex";
|
|
4967
|
+
}>;
|
|
4968
|
+
cwd: z.ZodString;
|
|
4969
|
+
prompt: z.ZodString;
|
|
4970
|
+
model: z.ZodNullable<z.ZodString>;
|
|
4971
|
+
status: z.ZodEnum<{
|
|
4972
|
+
running: "running";
|
|
4973
|
+
starting: "starting";
|
|
4974
|
+
failed: "failed";
|
|
4975
|
+
stopped: "stopped";
|
|
4976
|
+
completed: "completed";
|
|
4977
|
+
}>;
|
|
4978
|
+
startedAt: z.ZodString;
|
|
4979
|
+
endedAt: z.ZodNullable<z.ZodString>;
|
|
4980
|
+
error: z.ZodNullable<z.ZodString>;
|
|
4981
|
+
usage: z.ZodNullable<z.ZodObject<{
|
|
4982
|
+
inputTokens: z.ZodInt;
|
|
4983
|
+
outputTokens: z.ZodInt;
|
|
4984
|
+
cachedInputTokens: z.ZodInt;
|
|
4985
|
+
}, z.core.$strict>>;
|
|
4986
|
+
costUsd: z.ZodNullable<z.ZodNumber>;
|
|
4987
|
+
billing: z.ZodNullable<z.ZodEnum<{
|
|
4988
|
+
unknown: "unknown";
|
|
4989
|
+
subscription: "subscription";
|
|
4990
|
+
api: "api";
|
|
4991
|
+
}>>;
|
|
4992
|
+
startedBy: z.ZodNullable<z.ZodObject<{
|
|
4993
|
+
kind: z.ZodEnum<{
|
|
4994
|
+
agent: "agent";
|
|
4995
|
+
this_computer: "this_computer";
|
|
4996
|
+
web: "web";
|
|
4997
|
+
phone: "phone";
|
|
4998
|
+
other: "other";
|
|
4999
|
+
}>;
|
|
5000
|
+
label: z.ZodString;
|
|
5001
|
+
}, z.core.$strict>>;
|
|
5002
|
+
}, z.core.$strict>>;
|
|
5003
|
+
how: z.ZodEnum<{
|
|
5004
|
+
fresh: "fresh";
|
|
5005
|
+
moved: "moved";
|
|
5006
|
+
}>;
|
|
5007
|
+
}, z.core.$strict>;
|
|
5008
|
+
readonly kind: "unary";
|
|
5009
|
+
readonly since: "1.56";
|
|
5010
|
+
readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "RESOURCE_BUSY", "AUTH_FORBIDDEN", "INTERNAL"];
|
|
5011
|
+
};
|
|
4756
5012
|
readonly "coding.agent.set": {
|
|
4757
5013
|
readonly params: z.ZodObject<{
|
|
4758
5014
|
session_id: z.ZodString;
|
package/dist/react.d.ts
CHANGED
|
@@ -2016,6 +2016,52 @@ declare const OPS: {
|
|
|
2016
2016
|
readonly since: "1.47";
|
|
2017
2017
|
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2018
2018
|
};
|
|
2019
|
+
readonly "apps.windows.set_account": {
|
|
2020
|
+
readonly params: z.ZodObject<{
|
|
2021
|
+
app_key: z.ZodString;
|
|
2022
|
+
window: z.ZodString;
|
|
2023
|
+
email: z.ZodString;
|
|
2024
|
+
}, z.core.$strict>;
|
|
2025
|
+
readonly result: z.ZodObject<{
|
|
2026
|
+
message: z.ZodString;
|
|
2027
|
+
}, z.core.$strict>;
|
|
2028
|
+
readonly kind: "unary";
|
|
2029
|
+
readonly since: "1.56";
|
|
2030
|
+
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2031
|
+
};
|
|
2032
|
+
readonly "apps.windows.forget": {
|
|
2033
|
+
readonly params: z.ZodObject<{
|
|
2034
|
+
app_key: z.ZodString;
|
|
2035
|
+
window: z.ZodString;
|
|
2036
|
+
}, z.core.$strict>;
|
|
2037
|
+
readonly result: z.ZodObject<{
|
|
2038
|
+
message: z.ZodString;
|
|
2039
|
+
}, z.core.$strict>;
|
|
2040
|
+
readonly kind: "unary";
|
|
2041
|
+
readonly since: "1.56";
|
|
2042
|
+
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2043
|
+
};
|
|
2044
|
+
readonly "apps.chats.probe": {
|
|
2045
|
+
readonly params: z.ZodObject<{
|
|
2046
|
+
app_key: z.ZodString;
|
|
2047
|
+
chat_id: z.ZodString;
|
|
2048
|
+
}, z.core.$strict>;
|
|
2049
|
+
readonly result: z.ZodObject<{
|
|
2050
|
+
app_key: z.ZodString;
|
|
2051
|
+
chat_id: z.ZodString;
|
|
2052
|
+
sources: z.ZodArray<z.ZodObject<{
|
|
2053
|
+
source: z.ZodString;
|
|
2054
|
+
instance: z.ZodNullable<z.ZodString>;
|
|
2055
|
+
facts: z.ZodArray<z.ZodObject<{
|
|
2056
|
+
key: z.ZodString;
|
|
2057
|
+
value: z.ZodString;
|
|
2058
|
+
}, z.core.$strict>>;
|
|
2059
|
+
}, z.core.$strict>>;
|
|
2060
|
+
}, z.core.$strict>;
|
|
2061
|
+
readonly kind: "unary";
|
|
2062
|
+
readonly since: "1.56";
|
|
2063
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2064
|
+
};
|
|
2019
2065
|
readonly "apps.projects.move": {
|
|
2020
2066
|
readonly params: z.ZodObject<{
|
|
2021
2067
|
app_key: z.ZodString;
|
|
@@ -2122,6 +2168,103 @@ declare const OPS: {
|
|
|
2122
2168
|
readonly since: "1.10";
|
|
2123
2169
|
readonly errors: readonly ["CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2124
2170
|
};
|
|
2171
|
+
readonly "apps.chats.copy_to_account": {
|
|
2172
|
+
readonly params: z.ZodObject<{
|
|
2173
|
+
app_key: z.ZodString;
|
|
2174
|
+
origin: z.ZodString;
|
|
2175
|
+
target: z.ZodString;
|
|
2176
|
+
chat_ids: z.ZodArray<z.ZodString>;
|
|
2177
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
2178
|
+
copy: "copy";
|
|
2179
|
+
move: "move";
|
|
2180
|
+
}>>;
|
|
2181
|
+
restart: z.ZodDefault<z.ZodEnum<{
|
|
2182
|
+
queued: "queued";
|
|
2183
|
+
restart_verify: "restart_verify";
|
|
2184
|
+
}>>;
|
|
2185
|
+
mirror_groups: z.ZodDefault<z.ZodBoolean>;
|
|
2186
|
+
pins_follow: z.ZodDefault<z.ZodBoolean>;
|
|
2187
|
+
source_group: z.ZodOptional<z.ZodString>;
|
|
2188
|
+
}, z.core.$strict>;
|
|
2189
|
+
readonly result: z.ZodObject<{
|
|
2190
|
+
message: z.ZodString;
|
|
2191
|
+
origin: z.ZodString;
|
|
2192
|
+
target: z.ZodString;
|
|
2193
|
+
mode: z.ZodEnum<{
|
|
2194
|
+
copy: "copy";
|
|
2195
|
+
move: "move";
|
|
2196
|
+
}>;
|
|
2197
|
+
project: z.ZodObject<{
|
|
2198
|
+
id: z.ZodString;
|
|
2199
|
+
name: z.ZodString;
|
|
2200
|
+
}, z.core.$strict>;
|
|
2201
|
+
groups: z.ZodArray<z.ZodObject<{
|
|
2202
|
+
name: z.ZodString;
|
|
2203
|
+
chats: z.ZodNumber;
|
|
2204
|
+
ok: z.ZodBoolean;
|
|
2205
|
+
when: z.ZodNullable<z.ZodEnum<{
|
|
2206
|
+
now: "now";
|
|
2207
|
+
next_close: "next_close";
|
|
2208
|
+
}>>;
|
|
2209
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
2210
|
+
}, z.core.$strict>>;
|
|
2211
|
+
source_group: z.ZodNullable<z.ZodObject<{
|
|
2212
|
+
name: z.ZodString;
|
|
2213
|
+
ok: z.ZodBoolean;
|
|
2214
|
+
when: z.ZodNullable<z.ZodEnum<{
|
|
2215
|
+
now: "now";
|
|
2216
|
+
next_close: "next_close";
|
|
2217
|
+
}>>;
|
|
2218
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
2219
|
+
}, z.core.$strict>>;
|
|
2220
|
+
chats: z.ZodArray<z.ZodObject<{
|
|
2221
|
+
chat_id: z.ZodString;
|
|
2222
|
+
title: z.ZodString;
|
|
2223
|
+
outcome: z.ZodEnum<{
|
|
2224
|
+
copied: "copied";
|
|
2225
|
+
moved: "moved";
|
|
2226
|
+
already: "already";
|
|
2227
|
+
skipped: "skipped";
|
|
2228
|
+
}>;
|
|
2229
|
+
group: z.ZodNullable<z.ZodString>;
|
|
2230
|
+
group_state: z.ZodNullable<z.ZodEnum<{
|
|
2231
|
+
failed: "failed";
|
|
2232
|
+
now: "now";
|
|
2233
|
+
next_close: "next_close";
|
|
2234
|
+
}>>;
|
|
2235
|
+
pinned: z.ZodBoolean;
|
|
2236
|
+
pin_state: z.ZodNullable<z.ZodEnum<{
|
|
2237
|
+
failed: "failed";
|
|
2238
|
+
now: "now";
|
|
2239
|
+
next_close: "next_close";
|
|
2240
|
+
}>>;
|
|
2241
|
+
state: z.ZodEnum<{
|
|
2242
|
+
failed: "failed";
|
|
2243
|
+
queued: "queued";
|
|
2244
|
+
verified: "verified";
|
|
2245
|
+
}>;
|
|
2246
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
2247
|
+
}, z.core.$strict>>;
|
|
2248
|
+
verified: z.ZodNumber;
|
|
2249
|
+
queued: z.ZodNumber;
|
|
2250
|
+
failed: z.ZodNumber;
|
|
2251
|
+
restart: z.ZodObject<{
|
|
2252
|
+
asked: z.ZodEnum<{
|
|
2253
|
+
queued: "queued";
|
|
2254
|
+
restart_verify: "restart_verify";
|
|
2255
|
+
}>;
|
|
2256
|
+
done: z.ZodEnum<{
|
|
2257
|
+
queued: "queued";
|
|
2258
|
+
restart_verify: "restart_verify";
|
|
2259
|
+
}>;
|
|
2260
|
+
windows: z.ZodArray<z.ZodString>;
|
|
2261
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
2262
|
+
}, z.core.$strict>;
|
|
2263
|
+
}, z.core.$strict>;
|
|
2264
|
+
readonly kind: "unary";
|
|
2265
|
+
readonly since: "1.55";
|
|
2266
|
+
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2267
|
+
};
|
|
2125
2268
|
readonly "apps.projects.to_window": {
|
|
2126
2269
|
readonly params: z.ZodObject<{
|
|
2127
2270
|
app_key: z.ZodString;
|
|
@@ -2189,10 +2332,10 @@ declare const OPS: {
|
|
|
2189
2332
|
chat_id: z.ZodString;
|
|
2190
2333
|
title: z.ZodString;
|
|
2191
2334
|
outcome: z.ZodEnum<{
|
|
2192
|
-
already: "already";
|
|
2193
|
-
skipped: "skipped";
|
|
2194
2335
|
copied: "copied";
|
|
2195
2336
|
moved: "moved";
|
|
2337
|
+
already: "already";
|
|
2338
|
+
skipped: "skipped";
|
|
2196
2339
|
}>;
|
|
2197
2340
|
off: z.ZodArray<z.ZodString>;
|
|
2198
2341
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -4753,6 +4896,119 @@ declare const OPS: {
|
|
|
4753
4896
|
readonly since: "1.38";
|
|
4754
4897
|
readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "INTERNAL"];
|
|
4755
4898
|
};
|
|
4899
|
+
readonly "coding.account.continue": {
|
|
4900
|
+
readonly params: z.ZodObject<{
|
|
4901
|
+
session_id: z.ZodString;
|
|
4902
|
+
account_profile_id: z.ZodOptional<z.ZodString>;
|
|
4903
|
+
client_request_id: z.ZodString;
|
|
4904
|
+
}, z.core.$strict>;
|
|
4905
|
+
readonly result: z.ZodObject<{
|
|
4906
|
+
session: z.ZodObject<{
|
|
4907
|
+
id: z.ZodString;
|
|
4908
|
+
provider: z.ZodEnum<{
|
|
4909
|
+
claude: "claude";
|
|
4910
|
+
codex: "codex";
|
|
4911
|
+
}>;
|
|
4912
|
+
providerSessionId: z.ZodNullable<z.ZodString>;
|
|
4913
|
+
cwd: z.ZodString;
|
|
4914
|
+
title: z.ZodString;
|
|
4915
|
+
model: z.ZodNullable<z.ZodString>;
|
|
4916
|
+
effort: z.ZodNullable<z.ZodString>;
|
|
4917
|
+
origin: z.ZodEnum<{
|
|
4918
|
+
started: "started";
|
|
4919
|
+
takeover: "takeover";
|
|
4920
|
+
}>;
|
|
4921
|
+
createdAt: z.ZodString;
|
|
4922
|
+
updatedAt: z.ZodString;
|
|
4923
|
+
lastRunId: z.ZodNullable<z.ZodString>;
|
|
4924
|
+
lastRunStatus: z.ZodNullable<z.ZodEnum<{
|
|
4925
|
+
running: "running";
|
|
4926
|
+
starting: "starting";
|
|
4927
|
+
failed: "failed";
|
|
4928
|
+
stopped: "stopped";
|
|
4929
|
+
completed: "completed";
|
|
4930
|
+
}>>;
|
|
4931
|
+
queued: z.ZodArray<z.ZodString>;
|
|
4932
|
+
agent: z.ZodNullable<z.ZodObject<{
|
|
4933
|
+
agentId: z.ZodString;
|
|
4934
|
+
versionId: z.ZodNullable<z.ZodString>;
|
|
4935
|
+
versionNumber: z.ZodNullable<z.ZodInt>;
|
|
4936
|
+
name: z.ZodString;
|
|
4937
|
+
definitionHash: z.ZodString;
|
|
4938
|
+
loaded: z.ZodArray<z.ZodObject<{
|
|
4939
|
+
part: z.ZodEnum<{
|
|
4940
|
+
instructions: "instructions";
|
|
4941
|
+
skills: "skills";
|
|
4942
|
+
tools: "tools";
|
|
4943
|
+
}>;
|
|
4944
|
+
loaded: z.ZodInt;
|
|
4945
|
+
total: z.ZodInt;
|
|
4946
|
+
}, z.core.$strict>>;
|
|
4947
|
+
unavailable: z.ZodArray<z.ZodObject<{
|
|
4948
|
+
kind: z.ZodString;
|
|
4949
|
+
name: z.ZodString;
|
|
4950
|
+
reason: z.ZodString;
|
|
4951
|
+
}, z.core.$strict>>;
|
|
4952
|
+
skills: z.ZodArray<z.ZodString>;
|
|
4953
|
+
tools: z.ZodArray<z.ZodString>;
|
|
4954
|
+
variables: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4955
|
+
blockDue: z.ZodBoolean;
|
|
4956
|
+
deliveredAt: z.ZodNullable<z.ZodString>;
|
|
4957
|
+
replaces: z.ZodNullable<z.ZodString>;
|
|
4958
|
+
}, z.core.$strict>>;
|
|
4959
|
+
agentRemovedDue: z.ZodBoolean;
|
|
4960
|
+
}, z.core.$strict>;
|
|
4961
|
+
run: z.ZodNullable<z.ZodObject<{
|
|
4962
|
+
runId: z.ZodString;
|
|
4963
|
+
sessionId: z.ZodString;
|
|
4964
|
+
provider: z.ZodEnum<{
|
|
4965
|
+
claude: "claude";
|
|
4966
|
+
codex: "codex";
|
|
4967
|
+
}>;
|
|
4968
|
+
cwd: z.ZodString;
|
|
4969
|
+
prompt: z.ZodString;
|
|
4970
|
+
model: z.ZodNullable<z.ZodString>;
|
|
4971
|
+
status: z.ZodEnum<{
|
|
4972
|
+
running: "running";
|
|
4973
|
+
starting: "starting";
|
|
4974
|
+
failed: "failed";
|
|
4975
|
+
stopped: "stopped";
|
|
4976
|
+
completed: "completed";
|
|
4977
|
+
}>;
|
|
4978
|
+
startedAt: z.ZodString;
|
|
4979
|
+
endedAt: z.ZodNullable<z.ZodString>;
|
|
4980
|
+
error: z.ZodNullable<z.ZodString>;
|
|
4981
|
+
usage: z.ZodNullable<z.ZodObject<{
|
|
4982
|
+
inputTokens: z.ZodInt;
|
|
4983
|
+
outputTokens: z.ZodInt;
|
|
4984
|
+
cachedInputTokens: z.ZodInt;
|
|
4985
|
+
}, z.core.$strict>>;
|
|
4986
|
+
costUsd: z.ZodNullable<z.ZodNumber>;
|
|
4987
|
+
billing: z.ZodNullable<z.ZodEnum<{
|
|
4988
|
+
unknown: "unknown";
|
|
4989
|
+
subscription: "subscription";
|
|
4990
|
+
api: "api";
|
|
4991
|
+
}>>;
|
|
4992
|
+
startedBy: z.ZodNullable<z.ZodObject<{
|
|
4993
|
+
kind: z.ZodEnum<{
|
|
4994
|
+
agent: "agent";
|
|
4995
|
+
this_computer: "this_computer";
|
|
4996
|
+
web: "web";
|
|
4997
|
+
phone: "phone";
|
|
4998
|
+
other: "other";
|
|
4999
|
+
}>;
|
|
5000
|
+
label: z.ZodString;
|
|
5001
|
+
}, z.core.$strict>>;
|
|
5002
|
+
}, z.core.$strict>>;
|
|
5003
|
+
how: z.ZodEnum<{
|
|
5004
|
+
fresh: "fresh";
|
|
5005
|
+
moved: "moved";
|
|
5006
|
+
}>;
|
|
5007
|
+
}, z.core.$strict>;
|
|
5008
|
+
readonly kind: "unary";
|
|
5009
|
+
readonly since: "1.56";
|
|
5010
|
+
readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "RESOURCE_BUSY", "AUTH_FORBIDDEN", "INTERNAL"];
|
|
5011
|
+
};
|
|
4756
5012
|
readonly "coding.agent.set": {
|
|
4757
5013
|
readonly params: z.ZodObject<{
|
|
4758
5014
|
session_id: z.ZodString;
|