@ai-matrx/desktop-protocol 0.21.2 → 0.21.4

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/react.d.cts CHANGED
@@ -3133,6 +3133,282 @@ declare const OPS: {
3133
3133
  readonly since: "1.5";
3134
3134
  readonly errors: readonly ["RESOURCE_BUSY", "RESOURCE_GONE", "CANCELLED", "INTERNAL"];
3135
3135
  };
3136
+ readonly "git.status": {
3137
+ readonly params: z.ZodObject<{
3138
+ cwd: z.ZodString;
3139
+ }, z.core.$strict>;
3140
+ readonly result: z.ZodObject<{
3141
+ branch: z.ZodNullable<z.ZodString>;
3142
+ upstream: z.ZodNullable<z.ZodString>;
3143
+ ahead: z.ZodInt;
3144
+ behind: z.ZodInt;
3145
+ files: z.ZodArray<z.ZodObject<{
3146
+ path: z.ZodString;
3147
+ index: z.ZodString;
3148
+ worktree: z.ZodString;
3149
+ }, z.core.$strict>>;
3150
+ clean: z.ZodBoolean;
3151
+ truncated: z.ZodBoolean;
3152
+ }, z.core.$strict>;
3153
+ readonly kind: "unary";
3154
+ readonly since: "1.22";
3155
+ readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
3156
+ };
3157
+ readonly "git.diff": {
3158
+ readonly params: z.ZodObject<{
3159
+ cwd: z.ZodString;
3160
+ path: z.ZodOptional<z.ZodString>;
3161
+ staged: z.ZodDefault<z.ZodBoolean>;
3162
+ }, z.core.$strict>;
3163
+ readonly result: z.ZodObject<{
3164
+ diff: z.ZodString;
3165
+ truncated: z.ZodBoolean;
3166
+ }, z.core.$strict>;
3167
+ readonly kind: "unary";
3168
+ readonly since: "1.22";
3169
+ readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
3170
+ };
3171
+ readonly "git.log": {
3172
+ readonly params: z.ZodObject<{
3173
+ cwd: z.ZodString;
3174
+ limit: z.ZodDefault<z.ZodInt>;
3175
+ }, z.core.$strict>;
3176
+ readonly result: z.ZodObject<{
3177
+ commits: z.ZodArray<z.ZodObject<{
3178
+ sha: z.ZodString;
3179
+ short: z.ZodString;
3180
+ author: z.ZodString;
3181
+ date: z.ZodString;
3182
+ subject: z.ZodString;
3183
+ }, z.core.$strict>>;
3184
+ }, z.core.$strict>;
3185
+ readonly kind: "unary";
3186
+ readonly since: "1.22";
3187
+ readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
3188
+ };
3189
+ readonly "git.add": {
3190
+ readonly params: z.ZodObject<{
3191
+ cwd: z.ZodString;
3192
+ paths: z.ZodArray<z.ZodString>;
3193
+ }, z.core.$strict>;
3194
+ readonly result: z.ZodObject<{
3195
+ output: z.ZodString;
3196
+ truncated: z.ZodBoolean;
3197
+ }, z.core.$strict>;
3198
+ readonly kind: "unary";
3199
+ readonly since: "1.22";
3200
+ readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
3201
+ };
3202
+ readonly "git.commit": {
3203
+ readonly params: z.ZodObject<{
3204
+ cwd: z.ZodString;
3205
+ message: z.ZodString;
3206
+ amend: z.ZodDefault<z.ZodBoolean>;
3207
+ author: z.ZodOptional<z.ZodString>;
3208
+ }, z.core.$strict>;
3209
+ readonly result: z.ZodObject<{
3210
+ sha: z.ZodString;
3211
+ output: z.ZodString;
3212
+ truncated: z.ZodBoolean;
3213
+ }, z.core.$strict>;
3214
+ readonly kind: "unary";
3215
+ readonly since: "1.22";
3216
+ readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
3217
+ };
3218
+ readonly "git.push": {
3219
+ readonly params: z.ZodObject<{
3220
+ cwd: z.ZodString;
3221
+ remote: z.ZodDefault<z.ZodString>;
3222
+ branch: z.ZodOptional<z.ZodString>;
3223
+ force_with_lease: z.ZodDefault<z.ZodBoolean>;
3224
+ }, z.core.$strict>;
3225
+ readonly result: z.ZodObject<{
3226
+ output: z.ZodString;
3227
+ truncated: z.ZodBoolean;
3228
+ }, z.core.$strict>;
3229
+ readonly kind: "unary";
3230
+ readonly since: "1.22";
3231
+ readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
3232
+ };
3233
+ readonly "git.pull": {
3234
+ readonly params: z.ZodObject<{
3235
+ cwd: z.ZodString;
3236
+ remote: z.ZodDefault<z.ZodString>;
3237
+ branch: z.ZodOptional<z.ZodString>;
3238
+ rebase: z.ZodDefault<z.ZodBoolean>;
3239
+ }, z.core.$strict>;
3240
+ readonly result: z.ZodObject<{
3241
+ output: z.ZodString;
3242
+ truncated: z.ZodBoolean;
3243
+ }, z.core.$strict>;
3244
+ readonly kind: "unary";
3245
+ readonly since: "1.22";
3246
+ readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
3247
+ };
3248
+ readonly "git.branch": {
3249
+ readonly params: z.ZodObject<{
3250
+ cwd: z.ZodString;
3251
+ action: z.ZodEnum<{
3252
+ switch: "switch";
3253
+ create: "create";
3254
+ delete: "delete";
3255
+ list: "list";
3256
+ }>;
3257
+ name: z.ZodOptional<z.ZodString>;
3258
+ }, z.core.$strict>;
3259
+ readonly result: z.ZodObject<{
3260
+ current: z.ZodNullable<z.ZodString>;
3261
+ branches: z.ZodArray<z.ZodString>;
3262
+ output: z.ZodString;
3263
+ truncated: z.ZodBoolean;
3264
+ }, z.core.$strict>;
3265
+ readonly kind: "unary";
3266
+ readonly since: "1.22";
3267
+ readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
3268
+ };
3269
+ readonly "git.stash": {
3270
+ readonly params: z.ZodObject<{
3271
+ cwd: z.ZodString;
3272
+ action: z.ZodEnum<{
3273
+ pop: "pop";
3274
+ push: "push";
3275
+ list: "list";
3276
+ drop: "drop";
3277
+ }>;
3278
+ message: z.ZodOptional<z.ZodString>;
3279
+ }, z.core.$strict>;
3280
+ readonly result: z.ZodObject<{
3281
+ output: z.ZodString;
3282
+ truncated: z.ZodBoolean;
3283
+ }, z.core.$strict>;
3284
+ readonly kind: "unary";
3285
+ readonly since: "1.22";
3286
+ readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
3287
+ };
3288
+ readonly "git.clone": {
3289
+ readonly params: z.ZodObject<{
3290
+ url: z.ZodString;
3291
+ dest: z.ZodString;
3292
+ branch: z.ZodOptional<z.ZodString>;
3293
+ depth: z.ZodOptional<z.ZodInt>;
3294
+ }, z.core.$strict>;
3295
+ readonly result: z.ZodObject<{
3296
+ output: z.ZodString;
3297
+ truncated: z.ZodBoolean;
3298
+ }, z.core.$strict>;
3299
+ readonly kind: "unary";
3300
+ readonly since: "1.22";
3301
+ readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
3302
+ };
3303
+ readonly "web.fetch": {
3304
+ readonly params: z.ZodObject<{
3305
+ url: z.ZodString;
3306
+ method: z.ZodDefault<z.ZodEnum<{
3307
+ GET: "GET";
3308
+ POST: "POST";
3309
+ PUT: "PUT";
3310
+ PATCH: "PATCH";
3311
+ DELETE: "DELETE";
3312
+ HEAD: "HEAD";
3313
+ OPTIONS: "OPTIONS";
3314
+ }>>;
3315
+ headers: z.ZodDefault<z.ZodArray<z.ZodObject<{
3316
+ name: z.ZodString;
3317
+ value: z.ZodString;
3318
+ }, z.core.$strict>>>;
3319
+ body: z.ZodOptional<z.ZodString>;
3320
+ follow_redirects: z.ZodDefault<z.ZodBoolean>;
3321
+ timeout_s: z.ZodDefault<z.ZodInt>;
3322
+ }, z.core.$strict>;
3323
+ readonly result: z.ZodObject<{
3324
+ status: z.ZodInt;
3325
+ reason: z.ZodString;
3326
+ url: z.ZodString;
3327
+ content_type: z.ZodNullable<z.ZodString>;
3328
+ headers: z.ZodArray<z.ZodObject<{
3329
+ name: z.ZodString;
3330
+ value: z.ZodString;
3331
+ }, z.core.$strict>>;
3332
+ body: z.ZodString;
3333
+ truncated: z.ZodBoolean;
3334
+ bytes: z.ZodInt;
3335
+ elapsed_ms: z.ZodInt;
3336
+ }, z.core.$strict>;
3337
+ readonly kind: "unary";
3338
+ readonly since: "1.22";
3339
+ readonly errors: readonly ["INVALID_PARAMS", "TIMEOUT", "RESOURCE_BUSY", "AUTH_REQUIRED", "INTERNAL"];
3340
+ };
3341
+ readonly "web.scrape": {
3342
+ readonly params: z.ZodObject<{
3343
+ urls: z.ZodArray<z.ZodString>;
3344
+ use_cache: z.ZodDefault<z.ZodBoolean>;
3345
+ get_links: z.ZodDefault<z.ZodBoolean>;
3346
+ }, z.core.$strict>;
3347
+ readonly result: z.ZodObject<{
3348
+ pages: z.ZodArray<z.ZodObject<{
3349
+ url: z.ZodString;
3350
+ ok: z.ZodBoolean;
3351
+ status: z.ZodNullable<z.ZodInt>;
3352
+ title: z.ZodNullable<z.ZodString>;
3353
+ text: z.ZodString;
3354
+ truncated: z.ZodBoolean;
3355
+ links: z.ZodArray<z.ZodString>;
3356
+ error: z.ZodNullable<z.ZodString>;
3357
+ via: z.ZodNullable<z.ZodString>;
3358
+ }, z.core.$strict>>;
3359
+ elapsed_ms: z.ZodInt;
3360
+ }, z.core.$strict>;
3361
+ readonly kind: "unary";
3362
+ readonly since: "1.22";
3363
+ readonly errors: readonly ["INVALID_PARAMS", "TIMEOUT", "RESOURCE_BUSY", "AUTH_REQUIRED", "INTERNAL"];
3364
+ };
3365
+ readonly "web.search": {
3366
+ readonly params: z.ZodObject<{
3367
+ keywords: z.ZodArray<z.ZodString>;
3368
+ country: z.ZodDefault<z.ZodString>;
3369
+ count: z.ZodDefault<z.ZodInt>;
3370
+ freshness: z.ZodOptional<z.ZodEnum<{
3371
+ pd: "pd";
3372
+ pw: "pw";
3373
+ pm: "pm";
3374
+ py: "py";
3375
+ }>>;
3376
+ }, z.core.$strict>;
3377
+ readonly result: z.ZodObject<{
3378
+ queries: z.ZodArray<z.ZodObject<{
3379
+ keyword: z.ZodString;
3380
+ hits: z.ZodArray<z.ZodObject<{
3381
+ title: z.ZodString;
3382
+ url: z.ZodString;
3383
+ description: z.ZodString;
3384
+ }, z.core.$strict>>;
3385
+ error: z.ZodNullable<z.ZodString>;
3386
+ }, z.core.$strict>>;
3387
+ elapsed_ms: z.ZodInt;
3388
+ }, z.core.$strict>;
3389
+ readonly kind: "unary";
3390
+ readonly since: "1.22";
3391
+ readonly errors: readonly ["INVALID_PARAMS", "TIMEOUT", "RESOURCE_BUSY", "AUTH_REQUIRED", "INTERNAL"];
3392
+ };
3393
+ readonly "web.fetch_with_browser": {
3394
+ readonly params: z.ZodObject<{
3395
+ url: z.ZodString;
3396
+ wait_for: z.ZodOptional<z.ZodString>;
3397
+ wait_timeout_ms: z.ZodDefault<z.ZodInt>;
3398
+ extract_text: z.ZodDefault<z.ZodBoolean>;
3399
+ }, z.core.$strict>;
3400
+ readonly result: z.ZodObject<{
3401
+ url: z.ZodString;
3402
+ status: z.ZodNullable<z.ZodInt>;
3403
+ title: z.ZodNullable<z.ZodString>;
3404
+ content: z.ZodString;
3405
+ truncated: z.ZodBoolean;
3406
+ elapsed_ms: z.ZodInt;
3407
+ }, z.core.$strict>;
3408
+ readonly kind: "unary";
3409
+ readonly since: "1.22";
3410
+ readonly errors: readonly ["INVALID_PARAMS", "TIMEOUT", "RESOURCE_BUSY", "AUTH_REQUIRED", "INTERNAL"];
3411
+ };
3136
3412
  };
3137
3413
  type OpName = keyof typeof OPS;
3138
3414
  type OpParams<N extends OpName> = z.input<(typeof OPS)[N]["params"]>;
package/dist/react.d.ts CHANGED
@@ -3133,6 +3133,282 @@ declare const OPS: {
3133
3133
  readonly since: "1.5";
3134
3134
  readonly errors: readonly ["RESOURCE_BUSY", "RESOURCE_GONE", "CANCELLED", "INTERNAL"];
3135
3135
  };
3136
+ readonly "git.status": {
3137
+ readonly params: z.ZodObject<{
3138
+ cwd: z.ZodString;
3139
+ }, z.core.$strict>;
3140
+ readonly result: z.ZodObject<{
3141
+ branch: z.ZodNullable<z.ZodString>;
3142
+ upstream: z.ZodNullable<z.ZodString>;
3143
+ ahead: z.ZodInt;
3144
+ behind: z.ZodInt;
3145
+ files: z.ZodArray<z.ZodObject<{
3146
+ path: z.ZodString;
3147
+ index: z.ZodString;
3148
+ worktree: z.ZodString;
3149
+ }, z.core.$strict>>;
3150
+ clean: z.ZodBoolean;
3151
+ truncated: z.ZodBoolean;
3152
+ }, z.core.$strict>;
3153
+ readonly kind: "unary";
3154
+ readonly since: "1.22";
3155
+ readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
3156
+ };
3157
+ readonly "git.diff": {
3158
+ readonly params: z.ZodObject<{
3159
+ cwd: z.ZodString;
3160
+ path: z.ZodOptional<z.ZodString>;
3161
+ staged: z.ZodDefault<z.ZodBoolean>;
3162
+ }, z.core.$strict>;
3163
+ readonly result: z.ZodObject<{
3164
+ diff: z.ZodString;
3165
+ truncated: z.ZodBoolean;
3166
+ }, z.core.$strict>;
3167
+ readonly kind: "unary";
3168
+ readonly since: "1.22";
3169
+ readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
3170
+ };
3171
+ readonly "git.log": {
3172
+ readonly params: z.ZodObject<{
3173
+ cwd: z.ZodString;
3174
+ limit: z.ZodDefault<z.ZodInt>;
3175
+ }, z.core.$strict>;
3176
+ readonly result: z.ZodObject<{
3177
+ commits: z.ZodArray<z.ZodObject<{
3178
+ sha: z.ZodString;
3179
+ short: z.ZodString;
3180
+ author: z.ZodString;
3181
+ date: z.ZodString;
3182
+ subject: z.ZodString;
3183
+ }, z.core.$strict>>;
3184
+ }, z.core.$strict>;
3185
+ readonly kind: "unary";
3186
+ readonly since: "1.22";
3187
+ readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
3188
+ };
3189
+ readonly "git.add": {
3190
+ readonly params: z.ZodObject<{
3191
+ cwd: z.ZodString;
3192
+ paths: z.ZodArray<z.ZodString>;
3193
+ }, z.core.$strict>;
3194
+ readonly result: z.ZodObject<{
3195
+ output: z.ZodString;
3196
+ truncated: z.ZodBoolean;
3197
+ }, z.core.$strict>;
3198
+ readonly kind: "unary";
3199
+ readonly since: "1.22";
3200
+ readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
3201
+ };
3202
+ readonly "git.commit": {
3203
+ readonly params: z.ZodObject<{
3204
+ cwd: z.ZodString;
3205
+ message: z.ZodString;
3206
+ amend: z.ZodDefault<z.ZodBoolean>;
3207
+ author: z.ZodOptional<z.ZodString>;
3208
+ }, z.core.$strict>;
3209
+ readonly result: z.ZodObject<{
3210
+ sha: z.ZodString;
3211
+ output: z.ZodString;
3212
+ truncated: z.ZodBoolean;
3213
+ }, z.core.$strict>;
3214
+ readonly kind: "unary";
3215
+ readonly since: "1.22";
3216
+ readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
3217
+ };
3218
+ readonly "git.push": {
3219
+ readonly params: z.ZodObject<{
3220
+ cwd: z.ZodString;
3221
+ remote: z.ZodDefault<z.ZodString>;
3222
+ branch: z.ZodOptional<z.ZodString>;
3223
+ force_with_lease: z.ZodDefault<z.ZodBoolean>;
3224
+ }, z.core.$strict>;
3225
+ readonly result: z.ZodObject<{
3226
+ output: z.ZodString;
3227
+ truncated: z.ZodBoolean;
3228
+ }, z.core.$strict>;
3229
+ readonly kind: "unary";
3230
+ readonly since: "1.22";
3231
+ readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
3232
+ };
3233
+ readonly "git.pull": {
3234
+ readonly params: z.ZodObject<{
3235
+ cwd: z.ZodString;
3236
+ remote: z.ZodDefault<z.ZodString>;
3237
+ branch: z.ZodOptional<z.ZodString>;
3238
+ rebase: z.ZodDefault<z.ZodBoolean>;
3239
+ }, z.core.$strict>;
3240
+ readonly result: z.ZodObject<{
3241
+ output: z.ZodString;
3242
+ truncated: z.ZodBoolean;
3243
+ }, z.core.$strict>;
3244
+ readonly kind: "unary";
3245
+ readonly since: "1.22";
3246
+ readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
3247
+ };
3248
+ readonly "git.branch": {
3249
+ readonly params: z.ZodObject<{
3250
+ cwd: z.ZodString;
3251
+ action: z.ZodEnum<{
3252
+ switch: "switch";
3253
+ create: "create";
3254
+ delete: "delete";
3255
+ list: "list";
3256
+ }>;
3257
+ name: z.ZodOptional<z.ZodString>;
3258
+ }, z.core.$strict>;
3259
+ readonly result: z.ZodObject<{
3260
+ current: z.ZodNullable<z.ZodString>;
3261
+ branches: z.ZodArray<z.ZodString>;
3262
+ output: z.ZodString;
3263
+ truncated: z.ZodBoolean;
3264
+ }, z.core.$strict>;
3265
+ readonly kind: "unary";
3266
+ readonly since: "1.22";
3267
+ readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
3268
+ };
3269
+ readonly "git.stash": {
3270
+ readonly params: z.ZodObject<{
3271
+ cwd: z.ZodString;
3272
+ action: z.ZodEnum<{
3273
+ pop: "pop";
3274
+ push: "push";
3275
+ list: "list";
3276
+ drop: "drop";
3277
+ }>;
3278
+ message: z.ZodOptional<z.ZodString>;
3279
+ }, z.core.$strict>;
3280
+ readonly result: z.ZodObject<{
3281
+ output: z.ZodString;
3282
+ truncated: z.ZodBoolean;
3283
+ }, z.core.$strict>;
3284
+ readonly kind: "unary";
3285
+ readonly since: "1.22";
3286
+ readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
3287
+ };
3288
+ readonly "git.clone": {
3289
+ readonly params: z.ZodObject<{
3290
+ url: z.ZodString;
3291
+ dest: z.ZodString;
3292
+ branch: z.ZodOptional<z.ZodString>;
3293
+ depth: z.ZodOptional<z.ZodInt>;
3294
+ }, z.core.$strict>;
3295
+ readonly result: z.ZodObject<{
3296
+ output: z.ZodString;
3297
+ truncated: z.ZodBoolean;
3298
+ }, z.core.$strict>;
3299
+ readonly kind: "unary";
3300
+ readonly since: "1.22";
3301
+ readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
3302
+ };
3303
+ readonly "web.fetch": {
3304
+ readonly params: z.ZodObject<{
3305
+ url: z.ZodString;
3306
+ method: z.ZodDefault<z.ZodEnum<{
3307
+ GET: "GET";
3308
+ POST: "POST";
3309
+ PUT: "PUT";
3310
+ PATCH: "PATCH";
3311
+ DELETE: "DELETE";
3312
+ HEAD: "HEAD";
3313
+ OPTIONS: "OPTIONS";
3314
+ }>>;
3315
+ headers: z.ZodDefault<z.ZodArray<z.ZodObject<{
3316
+ name: z.ZodString;
3317
+ value: z.ZodString;
3318
+ }, z.core.$strict>>>;
3319
+ body: z.ZodOptional<z.ZodString>;
3320
+ follow_redirects: z.ZodDefault<z.ZodBoolean>;
3321
+ timeout_s: z.ZodDefault<z.ZodInt>;
3322
+ }, z.core.$strict>;
3323
+ readonly result: z.ZodObject<{
3324
+ status: z.ZodInt;
3325
+ reason: z.ZodString;
3326
+ url: z.ZodString;
3327
+ content_type: z.ZodNullable<z.ZodString>;
3328
+ headers: z.ZodArray<z.ZodObject<{
3329
+ name: z.ZodString;
3330
+ value: z.ZodString;
3331
+ }, z.core.$strict>>;
3332
+ body: z.ZodString;
3333
+ truncated: z.ZodBoolean;
3334
+ bytes: z.ZodInt;
3335
+ elapsed_ms: z.ZodInt;
3336
+ }, z.core.$strict>;
3337
+ readonly kind: "unary";
3338
+ readonly since: "1.22";
3339
+ readonly errors: readonly ["INVALID_PARAMS", "TIMEOUT", "RESOURCE_BUSY", "AUTH_REQUIRED", "INTERNAL"];
3340
+ };
3341
+ readonly "web.scrape": {
3342
+ readonly params: z.ZodObject<{
3343
+ urls: z.ZodArray<z.ZodString>;
3344
+ use_cache: z.ZodDefault<z.ZodBoolean>;
3345
+ get_links: z.ZodDefault<z.ZodBoolean>;
3346
+ }, z.core.$strict>;
3347
+ readonly result: z.ZodObject<{
3348
+ pages: z.ZodArray<z.ZodObject<{
3349
+ url: z.ZodString;
3350
+ ok: z.ZodBoolean;
3351
+ status: z.ZodNullable<z.ZodInt>;
3352
+ title: z.ZodNullable<z.ZodString>;
3353
+ text: z.ZodString;
3354
+ truncated: z.ZodBoolean;
3355
+ links: z.ZodArray<z.ZodString>;
3356
+ error: z.ZodNullable<z.ZodString>;
3357
+ via: z.ZodNullable<z.ZodString>;
3358
+ }, z.core.$strict>>;
3359
+ elapsed_ms: z.ZodInt;
3360
+ }, z.core.$strict>;
3361
+ readonly kind: "unary";
3362
+ readonly since: "1.22";
3363
+ readonly errors: readonly ["INVALID_PARAMS", "TIMEOUT", "RESOURCE_BUSY", "AUTH_REQUIRED", "INTERNAL"];
3364
+ };
3365
+ readonly "web.search": {
3366
+ readonly params: z.ZodObject<{
3367
+ keywords: z.ZodArray<z.ZodString>;
3368
+ country: z.ZodDefault<z.ZodString>;
3369
+ count: z.ZodDefault<z.ZodInt>;
3370
+ freshness: z.ZodOptional<z.ZodEnum<{
3371
+ pd: "pd";
3372
+ pw: "pw";
3373
+ pm: "pm";
3374
+ py: "py";
3375
+ }>>;
3376
+ }, z.core.$strict>;
3377
+ readonly result: z.ZodObject<{
3378
+ queries: z.ZodArray<z.ZodObject<{
3379
+ keyword: z.ZodString;
3380
+ hits: z.ZodArray<z.ZodObject<{
3381
+ title: z.ZodString;
3382
+ url: z.ZodString;
3383
+ description: z.ZodString;
3384
+ }, z.core.$strict>>;
3385
+ error: z.ZodNullable<z.ZodString>;
3386
+ }, z.core.$strict>>;
3387
+ elapsed_ms: z.ZodInt;
3388
+ }, z.core.$strict>;
3389
+ readonly kind: "unary";
3390
+ readonly since: "1.22";
3391
+ readonly errors: readonly ["INVALID_PARAMS", "TIMEOUT", "RESOURCE_BUSY", "AUTH_REQUIRED", "INTERNAL"];
3392
+ };
3393
+ readonly "web.fetch_with_browser": {
3394
+ readonly params: z.ZodObject<{
3395
+ url: z.ZodString;
3396
+ wait_for: z.ZodOptional<z.ZodString>;
3397
+ wait_timeout_ms: z.ZodDefault<z.ZodInt>;
3398
+ extract_text: z.ZodDefault<z.ZodBoolean>;
3399
+ }, z.core.$strict>;
3400
+ readonly result: z.ZodObject<{
3401
+ url: z.ZodString;
3402
+ status: z.ZodNullable<z.ZodInt>;
3403
+ title: z.ZodNullable<z.ZodString>;
3404
+ content: z.ZodString;
3405
+ truncated: z.ZodBoolean;
3406
+ elapsed_ms: z.ZodInt;
3407
+ }, z.core.$strict>;
3408
+ readonly kind: "unary";
3409
+ readonly since: "1.22";
3410
+ readonly errors: readonly ["INVALID_PARAMS", "TIMEOUT", "RESOURCE_BUSY", "AUTH_REQUIRED", "INTERNAL"];
3411
+ };
3136
3412
  };
3137
3413
  type OpName = keyof typeof OPS;
3138
3414
  type OpParams<N extends OpName> = z.input<(typeof OPS)[N]["params"]>;