@ai-matrx/desktop-protocol 0.17.11 → 0.17.12
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 +7 -0
- package/dist/client.cjs +391 -298
- 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 +391 -298
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +203 -80
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +142 -6
- package/dist/index.d.ts +142 -6
- package/dist/index.js +203 -80
- package/dist/index.js.map +1 -1
- package/dist/{models-dIUgWoHB.d.cts → models-A0PWllJz.d.cts} +230 -1
- package/dist/{models-dIUgWoHB.d.ts → models-A0PWllJz.d.ts} +230 -1
- package/dist/react.d.cts +115 -0
- package/dist/react.d.ts +115 -0
- package/generated/desktop-protocol.schema.json +510 -1
- package/package.json +1 -1
|
@@ -687,7 +687,7 @@ type OpSpec = {
|
|
|
687
687
|
readonly params: z.ZodType;
|
|
688
688
|
readonly result: z.ZodType;
|
|
689
689
|
readonly kind: "unary" | "stream" | "resource";
|
|
690
|
-
readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6" | "1.8" | "1.9" | "1.10" | "1.11";
|
|
690
|
+
readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6" | "1.8" | "1.9" | "1.10" | "1.11" | "1.16";
|
|
691
691
|
readonly errors: readonly z.infer<typeof ErrorCode>[];
|
|
692
692
|
};
|
|
693
693
|
declare const OPS: {
|
|
@@ -3227,6 +3227,121 @@ declare const OPS: {
|
|
|
3227
3227
|
readonly since: "1.6";
|
|
3228
3228
|
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
3229
3229
|
};
|
|
3230
|
+
readonly "stack.state": {
|
|
3231
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
3232
|
+
readonly result: z.ZodObject<{
|
|
3233
|
+
config_path: z.ZodNullable<z.ZodString>;
|
|
3234
|
+
problem: z.ZodNullable<z.ZodString>;
|
|
3235
|
+
stack_up: z.ZodBoolean;
|
|
3236
|
+
stack_started_at_ms: z.ZodNullable<z.ZodInt>;
|
|
3237
|
+
servers: z.ZodArray<z.ZodObject<{
|
|
3238
|
+
name: z.ZodString;
|
|
3239
|
+
label: z.ZodString;
|
|
3240
|
+
tone: z.ZodEnum<{
|
|
3241
|
+
good: "good";
|
|
3242
|
+
wait: "wait";
|
|
3243
|
+
bad: "bad";
|
|
3244
|
+
off: "off";
|
|
3245
|
+
}>;
|
|
3246
|
+
sentence: z.ZodString;
|
|
3247
|
+
description: z.ZodString;
|
|
3248
|
+
open_url: z.ZodNullable<z.ZodString>;
|
|
3249
|
+
log_file: z.ZodString;
|
|
3250
|
+
last_output_at_ms: z.ZodNullable<z.ZodInt>;
|
|
3251
|
+
started_at_ms: z.ZodNullable<z.ZodInt>;
|
|
3252
|
+
restarts: z.ZodInt;
|
|
3253
|
+
exit_code: z.ZodNullable<z.ZodInt>;
|
|
3254
|
+
pid: z.ZodNullable<z.ZodInt>;
|
|
3255
|
+
}, z.core.$strict>>;
|
|
3256
|
+
setup_note: z.ZodNullable<z.ZodString>;
|
|
3257
|
+
pending: z.ZodNullable<z.ZodObject<{
|
|
3258
|
+
verb: z.ZodEnum<{
|
|
3259
|
+
start: "start";
|
|
3260
|
+
stop: "stop";
|
|
3261
|
+
}>;
|
|
3262
|
+
label: z.ZodString;
|
|
3263
|
+
since_ms: z.ZodInt;
|
|
3264
|
+
}, z.core.$strict>>;
|
|
3265
|
+
events: z.ZodArray<z.ZodObject<{
|
|
3266
|
+
at_ms: z.ZodInt;
|
|
3267
|
+
server: z.ZodString;
|
|
3268
|
+
kind: z.ZodString;
|
|
3269
|
+
text: z.ZodString;
|
|
3270
|
+
}, z.core.$strict>>;
|
|
3271
|
+
}, z.core.$strict>;
|
|
3272
|
+
readonly kind: "unary";
|
|
3273
|
+
readonly since: "1.16";
|
|
3274
|
+
readonly errors: readonly ["INTERNAL"];
|
|
3275
|
+
};
|
|
3276
|
+
readonly "stack.start": {
|
|
3277
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
3278
|
+
readonly result: z.ZodObject<{
|
|
3279
|
+
accepted: z.ZodBoolean;
|
|
3280
|
+
}, z.core.$strict>;
|
|
3281
|
+
readonly kind: "unary";
|
|
3282
|
+
readonly since: "1.16";
|
|
3283
|
+
readonly errors: readonly ["RESOURCE_BUSY", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
3284
|
+
};
|
|
3285
|
+
readonly "stack.stop": {
|
|
3286
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
3287
|
+
readonly result: z.ZodObject<{
|
|
3288
|
+
accepted: z.ZodBoolean;
|
|
3289
|
+
}, z.core.$strict>;
|
|
3290
|
+
readonly kind: "unary";
|
|
3291
|
+
readonly since: "1.16";
|
|
3292
|
+
readonly errors: readonly ["RESOURCE_BUSY", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
3293
|
+
};
|
|
3294
|
+
readonly "stack.server.action": {
|
|
3295
|
+
readonly params: z.ZodObject<{
|
|
3296
|
+
name: z.ZodString;
|
|
3297
|
+
verb: z.ZodEnum<{
|
|
3298
|
+
start: "start";
|
|
3299
|
+
stop: "stop";
|
|
3300
|
+
restart: "restart";
|
|
3301
|
+
}>;
|
|
3302
|
+
}, z.core.$strict>;
|
|
3303
|
+
readonly result: z.ZodObject<{
|
|
3304
|
+
message: z.ZodString;
|
|
3305
|
+
}, z.core.$strict>;
|
|
3306
|
+
readonly kind: "unary";
|
|
3307
|
+
readonly since: "1.16";
|
|
3308
|
+
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "INTERNAL"];
|
|
3309
|
+
};
|
|
3310
|
+
readonly "stack.logs": {
|
|
3311
|
+
readonly params: z.ZodObject<{
|
|
3312
|
+
name: z.ZodString;
|
|
3313
|
+
lines: z.ZodDefault<z.ZodInt>;
|
|
3314
|
+
offset: z.ZodOptional<z.ZodInt>;
|
|
3315
|
+
since: z.ZodOptional<z.ZodInt>;
|
|
3316
|
+
wait_ms: z.ZodDefault<z.ZodInt>;
|
|
3317
|
+
}, z.core.$strict>;
|
|
3318
|
+
readonly result: z.ZodObject<{
|
|
3319
|
+
lines: z.ZodArray<z.ZodString>;
|
|
3320
|
+
offset: z.ZodInt;
|
|
3321
|
+
since_valid: z.ZodBoolean;
|
|
3322
|
+
reset: z.ZodBoolean;
|
|
3323
|
+
log_file: z.ZodString;
|
|
3324
|
+
}, z.core.$strict>;
|
|
3325
|
+
readonly kind: "unary";
|
|
3326
|
+
readonly since: "1.16";
|
|
3327
|
+
readonly errors: readonly ["NOT_FOUND", "INTERNAL"];
|
|
3328
|
+
};
|
|
3329
|
+
readonly "stack.errors": {
|
|
3330
|
+
readonly params: z.ZodObject<{
|
|
3331
|
+
window_minutes: z.ZodDefault<z.ZodInt>;
|
|
3332
|
+
}, z.core.$strict>;
|
|
3333
|
+
readonly result: z.ZodObject<{
|
|
3334
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
3335
|
+
name: z.ZodString;
|
|
3336
|
+
heading: z.ZodString;
|
|
3337
|
+
lines: z.ZodArray<z.ZodString>;
|
|
3338
|
+
}, z.core.$strict>>;
|
|
3339
|
+
window_minutes: z.ZodInt;
|
|
3340
|
+
}, z.core.$strict>;
|
|
3341
|
+
readonly kind: "unary";
|
|
3342
|
+
readonly since: "1.16";
|
|
3343
|
+
readonly errors: readonly ["INTERNAL"];
|
|
3344
|
+
};
|
|
3230
3345
|
readonly "coding.history.import_missing": {
|
|
3231
3346
|
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
3232
3347
|
readonly result: z.ZodObject<{
|
|
@@ -6029,6 +6144,120 @@ declare const NAMED_SCHEMAS: {
|
|
|
6029
6144
|
path: z.ZodString;
|
|
6030
6145
|
seconds: z.ZodNumber;
|
|
6031
6146
|
}, z.core.$strict>;
|
|
6147
|
+
readonly StackServerName: z.ZodString;
|
|
6148
|
+
readonly StackTone: z.ZodEnum<{
|
|
6149
|
+
good: "good";
|
|
6150
|
+
wait: "wait";
|
|
6151
|
+
bad: "bad";
|
|
6152
|
+
off: "off";
|
|
6153
|
+
}>;
|
|
6154
|
+
readonly StackServer: z.ZodObject<{
|
|
6155
|
+
name: z.ZodString;
|
|
6156
|
+
label: z.ZodString;
|
|
6157
|
+
tone: z.ZodEnum<{
|
|
6158
|
+
good: "good";
|
|
6159
|
+
wait: "wait";
|
|
6160
|
+
bad: "bad";
|
|
6161
|
+
off: "off";
|
|
6162
|
+
}>;
|
|
6163
|
+
sentence: z.ZodString;
|
|
6164
|
+
description: z.ZodString;
|
|
6165
|
+
open_url: z.ZodNullable<z.ZodString>;
|
|
6166
|
+
log_file: z.ZodString;
|
|
6167
|
+
last_output_at_ms: z.ZodNullable<z.ZodInt>;
|
|
6168
|
+
started_at_ms: z.ZodNullable<z.ZodInt>;
|
|
6169
|
+
restarts: z.ZodInt;
|
|
6170
|
+
exit_code: z.ZodNullable<z.ZodInt>;
|
|
6171
|
+
pid: z.ZodNullable<z.ZodInt>;
|
|
6172
|
+
}, z.core.$strict>;
|
|
6173
|
+
readonly StackEvent: z.ZodObject<{
|
|
6174
|
+
at_ms: z.ZodInt;
|
|
6175
|
+
server: z.ZodString;
|
|
6176
|
+
kind: z.ZodString;
|
|
6177
|
+
text: z.ZodString;
|
|
6178
|
+
}, z.core.$strict>;
|
|
6179
|
+
readonly StackStateParams: z.ZodObject<{}, z.core.$strict>;
|
|
6180
|
+
readonly StackStateResult: z.ZodObject<{
|
|
6181
|
+
config_path: z.ZodNullable<z.ZodString>;
|
|
6182
|
+
problem: z.ZodNullable<z.ZodString>;
|
|
6183
|
+
stack_up: z.ZodBoolean;
|
|
6184
|
+
stack_started_at_ms: z.ZodNullable<z.ZodInt>;
|
|
6185
|
+
servers: z.ZodArray<z.ZodObject<{
|
|
6186
|
+
name: z.ZodString;
|
|
6187
|
+
label: z.ZodString;
|
|
6188
|
+
tone: z.ZodEnum<{
|
|
6189
|
+
good: "good";
|
|
6190
|
+
wait: "wait";
|
|
6191
|
+
bad: "bad";
|
|
6192
|
+
off: "off";
|
|
6193
|
+
}>;
|
|
6194
|
+
sentence: z.ZodString;
|
|
6195
|
+
description: z.ZodString;
|
|
6196
|
+
open_url: z.ZodNullable<z.ZodString>;
|
|
6197
|
+
log_file: z.ZodString;
|
|
6198
|
+
last_output_at_ms: z.ZodNullable<z.ZodInt>;
|
|
6199
|
+
started_at_ms: z.ZodNullable<z.ZodInt>;
|
|
6200
|
+
restarts: z.ZodInt;
|
|
6201
|
+
exit_code: z.ZodNullable<z.ZodInt>;
|
|
6202
|
+
pid: z.ZodNullable<z.ZodInt>;
|
|
6203
|
+
}, z.core.$strict>>;
|
|
6204
|
+
setup_note: z.ZodNullable<z.ZodString>;
|
|
6205
|
+
pending: z.ZodNullable<z.ZodObject<{
|
|
6206
|
+
verb: z.ZodEnum<{
|
|
6207
|
+
start: "start";
|
|
6208
|
+
stop: "stop";
|
|
6209
|
+
}>;
|
|
6210
|
+
label: z.ZodString;
|
|
6211
|
+
since_ms: z.ZodInt;
|
|
6212
|
+
}, z.core.$strict>>;
|
|
6213
|
+
events: z.ZodArray<z.ZodObject<{
|
|
6214
|
+
at_ms: z.ZodInt;
|
|
6215
|
+
server: z.ZodString;
|
|
6216
|
+
kind: z.ZodString;
|
|
6217
|
+
text: z.ZodString;
|
|
6218
|
+
}, z.core.$strict>>;
|
|
6219
|
+
}, z.core.$strict>;
|
|
6220
|
+
readonly StackStartParams: z.ZodObject<{}, z.core.$strict>;
|
|
6221
|
+
readonly StackStopParams: z.ZodObject<{}, z.core.$strict>;
|
|
6222
|
+
readonly StackRunResult: z.ZodObject<{
|
|
6223
|
+
accepted: z.ZodBoolean;
|
|
6224
|
+
}, z.core.$strict>;
|
|
6225
|
+
readonly StackServerActionParams: z.ZodObject<{
|
|
6226
|
+
name: z.ZodString;
|
|
6227
|
+
verb: z.ZodEnum<{
|
|
6228
|
+
start: "start";
|
|
6229
|
+
stop: "stop";
|
|
6230
|
+
restart: "restart";
|
|
6231
|
+
}>;
|
|
6232
|
+
}, z.core.$strict>;
|
|
6233
|
+
readonly StackServerActionResult: z.ZodObject<{
|
|
6234
|
+
message: z.ZodString;
|
|
6235
|
+
}, z.core.$strict>;
|
|
6236
|
+
readonly StackLogsParams: z.ZodObject<{
|
|
6237
|
+
name: z.ZodString;
|
|
6238
|
+
lines: z.ZodDefault<z.ZodInt>;
|
|
6239
|
+
offset: z.ZodOptional<z.ZodInt>;
|
|
6240
|
+
since: z.ZodOptional<z.ZodInt>;
|
|
6241
|
+
wait_ms: z.ZodDefault<z.ZodInt>;
|
|
6242
|
+
}, z.core.$strict>;
|
|
6243
|
+
readonly StackLogsResult: z.ZodObject<{
|
|
6244
|
+
lines: z.ZodArray<z.ZodString>;
|
|
6245
|
+
offset: z.ZodInt;
|
|
6246
|
+
since_valid: z.ZodBoolean;
|
|
6247
|
+
reset: z.ZodBoolean;
|
|
6248
|
+
log_file: z.ZodString;
|
|
6249
|
+
}, z.core.$strict>;
|
|
6250
|
+
readonly StackErrorsParams: z.ZodObject<{
|
|
6251
|
+
window_minutes: z.ZodDefault<z.ZodInt>;
|
|
6252
|
+
}, z.core.$strict>;
|
|
6253
|
+
readonly StackErrorsResult: z.ZodObject<{
|
|
6254
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
6255
|
+
name: z.ZodString;
|
|
6256
|
+
heading: z.ZodString;
|
|
6257
|
+
lines: z.ZodArray<z.ZodString>;
|
|
6258
|
+
}, z.core.$strict>>;
|
|
6259
|
+
window_minutes: z.ZodInt;
|
|
6260
|
+
}, z.core.$strict>;
|
|
6032
6261
|
readonly FsWatchId: z.ZodString;
|
|
6033
6262
|
readonly FsWatchStartParams: z.ZodObject<{
|
|
6034
6263
|
path: z.ZodString;
|
|
@@ -687,7 +687,7 @@ type OpSpec = {
|
|
|
687
687
|
readonly params: z.ZodType;
|
|
688
688
|
readonly result: z.ZodType;
|
|
689
689
|
readonly kind: "unary" | "stream" | "resource";
|
|
690
|
-
readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6" | "1.8" | "1.9" | "1.10" | "1.11";
|
|
690
|
+
readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6" | "1.8" | "1.9" | "1.10" | "1.11" | "1.16";
|
|
691
691
|
readonly errors: readonly z.infer<typeof ErrorCode>[];
|
|
692
692
|
};
|
|
693
693
|
declare const OPS: {
|
|
@@ -3227,6 +3227,121 @@ declare const OPS: {
|
|
|
3227
3227
|
readonly since: "1.6";
|
|
3228
3228
|
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
3229
3229
|
};
|
|
3230
|
+
readonly "stack.state": {
|
|
3231
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
3232
|
+
readonly result: z.ZodObject<{
|
|
3233
|
+
config_path: z.ZodNullable<z.ZodString>;
|
|
3234
|
+
problem: z.ZodNullable<z.ZodString>;
|
|
3235
|
+
stack_up: z.ZodBoolean;
|
|
3236
|
+
stack_started_at_ms: z.ZodNullable<z.ZodInt>;
|
|
3237
|
+
servers: z.ZodArray<z.ZodObject<{
|
|
3238
|
+
name: z.ZodString;
|
|
3239
|
+
label: z.ZodString;
|
|
3240
|
+
tone: z.ZodEnum<{
|
|
3241
|
+
good: "good";
|
|
3242
|
+
wait: "wait";
|
|
3243
|
+
bad: "bad";
|
|
3244
|
+
off: "off";
|
|
3245
|
+
}>;
|
|
3246
|
+
sentence: z.ZodString;
|
|
3247
|
+
description: z.ZodString;
|
|
3248
|
+
open_url: z.ZodNullable<z.ZodString>;
|
|
3249
|
+
log_file: z.ZodString;
|
|
3250
|
+
last_output_at_ms: z.ZodNullable<z.ZodInt>;
|
|
3251
|
+
started_at_ms: z.ZodNullable<z.ZodInt>;
|
|
3252
|
+
restarts: z.ZodInt;
|
|
3253
|
+
exit_code: z.ZodNullable<z.ZodInt>;
|
|
3254
|
+
pid: z.ZodNullable<z.ZodInt>;
|
|
3255
|
+
}, z.core.$strict>>;
|
|
3256
|
+
setup_note: z.ZodNullable<z.ZodString>;
|
|
3257
|
+
pending: z.ZodNullable<z.ZodObject<{
|
|
3258
|
+
verb: z.ZodEnum<{
|
|
3259
|
+
start: "start";
|
|
3260
|
+
stop: "stop";
|
|
3261
|
+
}>;
|
|
3262
|
+
label: z.ZodString;
|
|
3263
|
+
since_ms: z.ZodInt;
|
|
3264
|
+
}, z.core.$strict>>;
|
|
3265
|
+
events: z.ZodArray<z.ZodObject<{
|
|
3266
|
+
at_ms: z.ZodInt;
|
|
3267
|
+
server: z.ZodString;
|
|
3268
|
+
kind: z.ZodString;
|
|
3269
|
+
text: z.ZodString;
|
|
3270
|
+
}, z.core.$strict>>;
|
|
3271
|
+
}, z.core.$strict>;
|
|
3272
|
+
readonly kind: "unary";
|
|
3273
|
+
readonly since: "1.16";
|
|
3274
|
+
readonly errors: readonly ["INTERNAL"];
|
|
3275
|
+
};
|
|
3276
|
+
readonly "stack.start": {
|
|
3277
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
3278
|
+
readonly result: z.ZodObject<{
|
|
3279
|
+
accepted: z.ZodBoolean;
|
|
3280
|
+
}, z.core.$strict>;
|
|
3281
|
+
readonly kind: "unary";
|
|
3282
|
+
readonly since: "1.16";
|
|
3283
|
+
readonly errors: readonly ["RESOURCE_BUSY", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
3284
|
+
};
|
|
3285
|
+
readonly "stack.stop": {
|
|
3286
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
3287
|
+
readonly result: z.ZodObject<{
|
|
3288
|
+
accepted: z.ZodBoolean;
|
|
3289
|
+
}, z.core.$strict>;
|
|
3290
|
+
readonly kind: "unary";
|
|
3291
|
+
readonly since: "1.16";
|
|
3292
|
+
readonly errors: readonly ["RESOURCE_BUSY", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
3293
|
+
};
|
|
3294
|
+
readonly "stack.server.action": {
|
|
3295
|
+
readonly params: z.ZodObject<{
|
|
3296
|
+
name: z.ZodString;
|
|
3297
|
+
verb: z.ZodEnum<{
|
|
3298
|
+
start: "start";
|
|
3299
|
+
stop: "stop";
|
|
3300
|
+
restart: "restart";
|
|
3301
|
+
}>;
|
|
3302
|
+
}, z.core.$strict>;
|
|
3303
|
+
readonly result: z.ZodObject<{
|
|
3304
|
+
message: z.ZodString;
|
|
3305
|
+
}, z.core.$strict>;
|
|
3306
|
+
readonly kind: "unary";
|
|
3307
|
+
readonly since: "1.16";
|
|
3308
|
+
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "INTERNAL"];
|
|
3309
|
+
};
|
|
3310
|
+
readonly "stack.logs": {
|
|
3311
|
+
readonly params: z.ZodObject<{
|
|
3312
|
+
name: z.ZodString;
|
|
3313
|
+
lines: z.ZodDefault<z.ZodInt>;
|
|
3314
|
+
offset: z.ZodOptional<z.ZodInt>;
|
|
3315
|
+
since: z.ZodOptional<z.ZodInt>;
|
|
3316
|
+
wait_ms: z.ZodDefault<z.ZodInt>;
|
|
3317
|
+
}, z.core.$strict>;
|
|
3318
|
+
readonly result: z.ZodObject<{
|
|
3319
|
+
lines: z.ZodArray<z.ZodString>;
|
|
3320
|
+
offset: z.ZodInt;
|
|
3321
|
+
since_valid: z.ZodBoolean;
|
|
3322
|
+
reset: z.ZodBoolean;
|
|
3323
|
+
log_file: z.ZodString;
|
|
3324
|
+
}, z.core.$strict>;
|
|
3325
|
+
readonly kind: "unary";
|
|
3326
|
+
readonly since: "1.16";
|
|
3327
|
+
readonly errors: readonly ["NOT_FOUND", "INTERNAL"];
|
|
3328
|
+
};
|
|
3329
|
+
readonly "stack.errors": {
|
|
3330
|
+
readonly params: z.ZodObject<{
|
|
3331
|
+
window_minutes: z.ZodDefault<z.ZodInt>;
|
|
3332
|
+
}, z.core.$strict>;
|
|
3333
|
+
readonly result: z.ZodObject<{
|
|
3334
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
3335
|
+
name: z.ZodString;
|
|
3336
|
+
heading: z.ZodString;
|
|
3337
|
+
lines: z.ZodArray<z.ZodString>;
|
|
3338
|
+
}, z.core.$strict>>;
|
|
3339
|
+
window_minutes: z.ZodInt;
|
|
3340
|
+
}, z.core.$strict>;
|
|
3341
|
+
readonly kind: "unary";
|
|
3342
|
+
readonly since: "1.16";
|
|
3343
|
+
readonly errors: readonly ["INTERNAL"];
|
|
3344
|
+
};
|
|
3230
3345
|
readonly "coding.history.import_missing": {
|
|
3231
3346
|
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
3232
3347
|
readonly result: z.ZodObject<{
|
|
@@ -6029,6 +6144,120 @@ declare const NAMED_SCHEMAS: {
|
|
|
6029
6144
|
path: z.ZodString;
|
|
6030
6145
|
seconds: z.ZodNumber;
|
|
6031
6146
|
}, z.core.$strict>;
|
|
6147
|
+
readonly StackServerName: z.ZodString;
|
|
6148
|
+
readonly StackTone: z.ZodEnum<{
|
|
6149
|
+
good: "good";
|
|
6150
|
+
wait: "wait";
|
|
6151
|
+
bad: "bad";
|
|
6152
|
+
off: "off";
|
|
6153
|
+
}>;
|
|
6154
|
+
readonly StackServer: z.ZodObject<{
|
|
6155
|
+
name: z.ZodString;
|
|
6156
|
+
label: z.ZodString;
|
|
6157
|
+
tone: z.ZodEnum<{
|
|
6158
|
+
good: "good";
|
|
6159
|
+
wait: "wait";
|
|
6160
|
+
bad: "bad";
|
|
6161
|
+
off: "off";
|
|
6162
|
+
}>;
|
|
6163
|
+
sentence: z.ZodString;
|
|
6164
|
+
description: z.ZodString;
|
|
6165
|
+
open_url: z.ZodNullable<z.ZodString>;
|
|
6166
|
+
log_file: z.ZodString;
|
|
6167
|
+
last_output_at_ms: z.ZodNullable<z.ZodInt>;
|
|
6168
|
+
started_at_ms: z.ZodNullable<z.ZodInt>;
|
|
6169
|
+
restarts: z.ZodInt;
|
|
6170
|
+
exit_code: z.ZodNullable<z.ZodInt>;
|
|
6171
|
+
pid: z.ZodNullable<z.ZodInt>;
|
|
6172
|
+
}, z.core.$strict>;
|
|
6173
|
+
readonly StackEvent: z.ZodObject<{
|
|
6174
|
+
at_ms: z.ZodInt;
|
|
6175
|
+
server: z.ZodString;
|
|
6176
|
+
kind: z.ZodString;
|
|
6177
|
+
text: z.ZodString;
|
|
6178
|
+
}, z.core.$strict>;
|
|
6179
|
+
readonly StackStateParams: z.ZodObject<{}, z.core.$strict>;
|
|
6180
|
+
readonly StackStateResult: z.ZodObject<{
|
|
6181
|
+
config_path: z.ZodNullable<z.ZodString>;
|
|
6182
|
+
problem: z.ZodNullable<z.ZodString>;
|
|
6183
|
+
stack_up: z.ZodBoolean;
|
|
6184
|
+
stack_started_at_ms: z.ZodNullable<z.ZodInt>;
|
|
6185
|
+
servers: z.ZodArray<z.ZodObject<{
|
|
6186
|
+
name: z.ZodString;
|
|
6187
|
+
label: z.ZodString;
|
|
6188
|
+
tone: z.ZodEnum<{
|
|
6189
|
+
good: "good";
|
|
6190
|
+
wait: "wait";
|
|
6191
|
+
bad: "bad";
|
|
6192
|
+
off: "off";
|
|
6193
|
+
}>;
|
|
6194
|
+
sentence: z.ZodString;
|
|
6195
|
+
description: z.ZodString;
|
|
6196
|
+
open_url: z.ZodNullable<z.ZodString>;
|
|
6197
|
+
log_file: z.ZodString;
|
|
6198
|
+
last_output_at_ms: z.ZodNullable<z.ZodInt>;
|
|
6199
|
+
started_at_ms: z.ZodNullable<z.ZodInt>;
|
|
6200
|
+
restarts: z.ZodInt;
|
|
6201
|
+
exit_code: z.ZodNullable<z.ZodInt>;
|
|
6202
|
+
pid: z.ZodNullable<z.ZodInt>;
|
|
6203
|
+
}, z.core.$strict>>;
|
|
6204
|
+
setup_note: z.ZodNullable<z.ZodString>;
|
|
6205
|
+
pending: z.ZodNullable<z.ZodObject<{
|
|
6206
|
+
verb: z.ZodEnum<{
|
|
6207
|
+
start: "start";
|
|
6208
|
+
stop: "stop";
|
|
6209
|
+
}>;
|
|
6210
|
+
label: z.ZodString;
|
|
6211
|
+
since_ms: z.ZodInt;
|
|
6212
|
+
}, z.core.$strict>>;
|
|
6213
|
+
events: z.ZodArray<z.ZodObject<{
|
|
6214
|
+
at_ms: z.ZodInt;
|
|
6215
|
+
server: z.ZodString;
|
|
6216
|
+
kind: z.ZodString;
|
|
6217
|
+
text: z.ZodString;
|
|
6218
|
+
}, z.core.$strict>>;
|
|
6219
|
+
}, z.core.$strict>;
|
|
6220
|
+
readonly StackStartParams: z.ZodObject<{}, z.core.$strict>;
|
|
6221
|
+
readonly StackStopParams: z.ZodObject<{}, z.core.$strict>;
|
|
6222
|
+
readonly StackRunResult: z.ZodObject<{
|
|
6223
|
+
accepted: z.ZodBoolean;
|
|
6224
|
+
}, z.core.$strict>;
|
|
6225
|
+
readonly StackServerActionParams: z.ZodObject<{
|
|
6226
|
+
name: z.ZodString;
|
|
6227
|
+
verb: z.ZodEnum<{
|
|
6228
|
+
start: "start";
|
|
6229
|
+
stop: "stop";
|
|
6230
|
+
restart: "restart";
|
|
6231
|
+
}>;
|
|
6232
|
+
}, z.core.$strict>;
|
|
6233
|
+
readonly StackServerActionResult: z.ZodObject<{
|
|
6234
|
+
message: z.ZodString;
|
|
6235
|
+
}, z.core.$strict>;
|
|
6236
|
+
readonly StackLogsParams: z.ZodObject<{
|
|
6237
|
+
name: z.ZodString;
|
|
6238
|
+
lines: z.ZodDefault<z.ZodInt>;
|
|
6239
|
+
offset: z.ZodOptional<z.ZodInt>;
|
|
6240
|
+
since: z.ZodOptional<z.ZodInt>;
|
|
6241
|
+
wait_ms: z.ZodDefault<z.ZodInt>;
|
|
6242
|
+
}, z.core.$strict>;
|
|
6243
|
+
readonly StackLogsResult: z.ZodObject<{
|
|
6244
|
+
lines: z.ZodArray<z.ZodString>;
|
|
6245
|
+
offset: z.ZodInt;
|
|
6246
|
+
since_valid: z.ZodBoolean;
|
|
6247
|
+
reset: z.ZodBoolean;
|
|
6248
|
+
log_file: z.ZodString;
|
|
6249
|
+
}, z.core.$strict>;
|
|
6250
|
+
readonly StackErrorsParams: z.ZodObject<{
|
|
6251
|
+
window_minutes: z.ZodDefault<z.ZodInt>;
|
|
6252
|
+
}, z.core.$strict>;
|
|
6253
|
+
readonly StackErrorsResult: z.ZodObject<{
|
|
6254
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
6255
|
+
name: z.ZodString;
|
|
6256
|
+
heading: z.ZodString;
|
|
6257
|
+
lines: z.ZodArray<z.ZodString>;
|
|
6258
|
+
}, z.core.$strict>>;
|
|
6259
|
+
window_minutes: z.ZodInt;
|
|
6260
|
+
}, z.core.$strict>;
|
|
6032
6261
|
readonly FsWatchId: z.ZodString;
|
|
6033
6262
|
readonly FsWatchStartParams: z.ZodObject<{
|
|
6034
6263
|
path: z.ZodString;
|
package/dist/react.d.cts
CHANGED
|
@@ -2687,6 +2687,121 @@ declare const OPS: {
|
|
|
2687
2687
|
readonly since: "1.6";
|
|
2688
2688
|
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2689
2689
|
};
|
|
2690
|
+
readonly "stack.state": {
|
|
2691
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
2692
|
+
readonly result: z.ZodObject<{
|
|
2693
|
+
config_path: z.ZodNullable<z.ZodString>;
|
|
2694
|
+
problem: z.ZodNullable<z.ZodString>;
|
|
2695
|
+
stack_up: z.ZodBoolean;
|
|
2696
|
+
stack_started_at_ms: z.ZodNullable<z.ZodInt>;
|
|
2697
|
+
servers: z.ZodArray<z.ZodObject<{
|
|
2698
|
+
name: z.ZodString;
|
|
2699
|
+
label: z.ZodString;
|
|
2700
|
+
tone: z.ZodEnum<{
|
|
2701
|
+
good: "good";
|
|
2702
|
+
wait: "wait";
|
|
2703
|
+
bad: "bad";
|
|
2704
|
+
off: "off";
|
|
2705
|
+
}>;
|
|
2706
|
+
sentence: z.ZodString;
|
|
2707
|
+
description: z.ZodString;
|
|
2708
|
+
open_url: z.ZodNullable<z.ZodString>;
|
|
2709
|
+
log_file: z.ZodString;
|
|
2710
|
+
last_output_at_ms: z.ZodNullable<z.ZodInt>;
|
|
2711
|
+
started_at_ms: z.ZodNullable<z.ZodInt>;
|
|
2712
|
+
restarts: z.ZodInt;
|
|
2713
|
+
exit_code: z.ZodNullable<z.ZodInt>;
|
|
2714
|
+
pid: z.ZodNullable<z.ZodInt>;
|
|
2715
|
+
}, z.core.$strict>>;
|
|
2716
|
+
setup_note: z.ZodNullable<z.ZodString>;
|
|
2717
|
+
pending: z.ZodNullable<z.ZodObject<{
|
|
2718
|
+
verb: z.ZodEnum<{
|
|
2719
|
+
stop: "stop";
|
|
2720
|
+
start: "start";
|
|
2721
|
+
}>;
|
|
2722
|
+
label: z.ZodString;
|
|
2723
|
+
since_ms: z.ZodInt;
|
|
2724
|
+
}, z.core.$strict>>;
|
|
2725
|
+
events: z.ZodArray<z.ZodObject<{
|
|
2726
|
+
at_ms: z.ZodInt;
|
|
2727
|
+
server: z.ZodString;
|
|
2728
|
+
kind: z.ZodString;
|
|
2729
|
+
text: z.ZodString;
|
|
2730
|
+
}, z.core.$strict>>;
|
|
2731
|
+
}, z.core.$strict>;
|
|
2732
|
+
readonly kind: "unary";
|
|
2733
|
+
readonly since: "1.16";
|
|
2734
|
+
readonly errors: readonly ["INTERNAL"];
|
|
2735
|
+
};
|
|
2736
|
+
readonly "stack.start": {
|
|
2737
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
2738
|
+
readonly result: z.ZodObject<{
|
|
2739
|
+
accepted: z.ZodBoolean;
|
|
2740
|
+
}, z.core.$strict>;
|
|
2741
|
+
readonly kind: "unary";
|
|
2742
|
+
readonly since: "1.16";
|
|
2743
|
+
readonly errors: readonly ["RESOURCE_BUSY", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2744
|
+
};
|
|
2745
|
+
readonly "stack.stop": {
|
|
2746
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
2747
|
+
readonly result: z.ZodObject<{
|
|
2748
|
+
accepted: z.ZodBoolean;
|
|
2749
|
+
}, z.core.$strict>;
|
|
2750
|
+
readonly kind: "unary";
|
|
2751
|
+
readonly since: "1.16";
|
|
2752
|
+
readonly errors: readonly ["RESOURCE_BUSY", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2753
|
+
};
|
|
2754
|
+
readonly "stack.server.action": {
|
|
2755
|
+
readonly params: z.ZodObject<{
|
|
2756
|
+
name: z.ZodString;
|
|
2757
|
+
verb: z.ZodEnum<{
|
|
2758
|
+
stop: "stop";
|
|
2759
|
+
start: "start";
|
|
2760
|
+
restart: "restart";
|
|
2761
|
+
}>;
|
|
2762
|
+
}, z.core.$strict>;
|
|
2763
|
+
readonly result: z.ZodObject<{
|
|
2764
|
+
message: z.ZodString;
|
|
2765
|
+
}, z.core.$strict>;
|
|
2766
|
+
readonly kind: "unary";
|
|
2767
|
+
readonly since: "1.16";
|
|
2768
|
+
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "INTERNAL"];
|
|
2769
|
+
};
|
|
2770
|
+
readonly "stack.logs": {
|
|
2771
|
+
readonly params: z.ZodObject<{
|
|
2772
|
+
name: z.ZodString;
|
|
2773
|
+
lines: z.ZodDefault<z.ZodInt>;
|
|
2774
|
+
offset: z.ZodOptional<z.ZodInt>;
|
|
2775
|
+
since: z.ZodOptional<z.ZodInt>;
|
|
2776
|
+
wait_ms: z.ZodDefault<z.ZodInt>;
|
|
2777
|
+
}, z.core.$strict>;
|
|
2778
|
+
readonly result: z.ZodObject<{
|
|
2779
|
+
lines: z.ZodArray<z.ZodString>;
|
|
2780
|
+
offset: z.ZodInt;
|
|
2781
|
+
since_valid: z.ZodBoolean;
|
|
2782
|
+
reset: z.ZodBoolean;
|
|
2783
|
+
log_file: z.ZodString;
|
|
2784
|
+
}, z.core.$strict>;
|
|
2785
|
+
readonly kind: "unary";
|
|
2786
|
+
readonly since: "1.16";
|
|
2787
|
+
readonly errors: readonly ["NOT_FOUND", "INTERNAL"];
|
|
2788
|
+
};
|
|
2789
|
+
readonly "stack.errors": {
|
|
2790
|
+
readonly params: z.ZodObject<{
|
|
2791
|
+
window_minutes: z.ZodDefault<z.ZodInt>;
|
|
2792
|
+
}, z.core.$strict>;
|
|
2793
|
+
readonly result: z.ZodObject<{
|
|
2794
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
2795
|
+
name: z.ZodString;
|
|
2796
|
+
heading: z.ZodString;
|
|
2797
|
+
lines: z.ZodArray<z.ZodString>;
|
|
2798
|
+
}, z.core.$strict>>;
|
|
2799
|
+
window_minutes: z.ZodInt;
|
|
2800
|
+
}, z.core.$strict>;
|
|
2801
|
+
readonly kind: "unary";
|
|
2802
|
+
readonly since: "1.16";
|
|
2803
|
+
readonly errors: readonly ["INTERNAL"];
|
|
2804
|
+
};
|
|
2690
2805
|
readonly "coding.history.import_missing": {
|
|
2691
2806
|
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
2692
2807
|
readonly result: z.ZodObject<{
|