@ai-matrx/desktop-protocol 0.14.0 → 0.16.0
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 +29 -0
- package/dist/client.cjs +474 -38
- 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 +474 -38
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +587 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +839 -6
- package/dist/index.d.ts +839 -6
- package/dist/index.js +587 -14
- package/dist/index.js.map +1 -1
- package/dist/{models-DqFPqtNS.d.cts → models-k4pDkXUe.d.cts} +1372 -1
- package/dist/{models-DqFPqtNS.d.ts → models-k4pDkXUe.d.ts} +1372 -1
- package/dist/react.d.cts +599 -1
- package/dist/react.d.ts +599 -1
- package/generated/desktop-protocol.schema.json +1918 -19
- package/package.json +1 -1
|
@@ -2997,10 +2997,324 @@
|
|
|
2997
2997
|
],
|
|
2998
2998
|
"additionalProperties": false
|
|
2999
2999
|
},
|
|
3000
|
+
"CodingServiceCredentials": {
|
|
3001
|
+
"type": "object",
|
|
3002
|
+
"properties": {
|
|
3003
|
+
"access_token": {
|
|
3004
|
+
"type": "string",
|
|
3005
|
+
"minLength": 16,
|
|
3006
|
+
"maxLength": 16384
|
|
3007
|
+
},
|
|
3008
|
+
"user_id": {
|
|
3009
|
+
"type": "string",
|
|
3010
|
+
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
|
|
3011
|
+
},
|
|
3012
|
+
"server_url": {
|
|
3013
|
+
"type": "string",
|
|
3014
|
+
"minLength": 1,
|
|
3015
|
+
"maxLength": 2048,
|
|
3016
|
+
"pattern": "^https?:\\/\\/[^\\s/?#]+(\\/[^\\s?#]*)?$"
|
|
3017
|
+
}
|
|
3018
|
+
},
|
|
3019
|
+
"required": [
|
|
3020
|
+
"access_token",
|
|
3021
|
+
"user_id",
|
|
3022
|
+
"server_url"
|
|
3023
|
+
],
|
|
3024
|
+
"additionalProperties": false
|
|
3025
|
+
},
|
|
3026
|
+
"CodingHistoryBlocked": {
|
|
3027
|
+
"type": "string",
|
|
3028
|
+
"enum": [
|
|
3029
|
+
"signed_out",
|
|
3030
|
+
"offline",
|
|
3031
|
+
"organization_required",
|
|
3032
|
+
"claude_unavailable",
|
|
3033
|
+
"cloud_list_unavailable",
|
|
3034
|
+
"history_too_large"
|
|
3035
|
+
]
|
|
3036
|
+
},
|
|
3037
|
+
"CodingHistoryFailure": {
|
|
3038
|
+
"type": "object",
|
|
3039
|
+
"properties": {
|
|
3040
|
+
"session_id": {
|
|
3041
|
+
"type": "string",
|
|
3042
|
+
"maxLength": 64
|
|
3043
|
+
},
|
|
3044
|
+
"reason": {
|
|
3045
|
+
"type": "string",
|
|
3046
|
+
"maxLength": 300
|
|
3047
|
+
}
|
|
3048
|
+
},
|
|
3049
|
+
"required": [
|
|
3050
|
+
"session_id",
|
|
3051
|
+
"reason"
|
|
3052
|
+
],
|
|
3053
|
+
"additionalProperties": false
|
|
3054
|
+
},
|
|
3055
|
+
"CodingHistoryRun": {
|
|
3056
|
+
"type": "object",
|
|
3057
|
+
"properties": {
|
|
3058
|
+
"local_sessions": {
|
|
3059
|
+
"type": "integer",
|
|
3060
|
+
"minimum": 0,
|
|
3061
|
+
"maximum": 9007199254740991
|
|
3062
|
+
},
|
|
3063
|
+
"in_cloud": {
|
|
3064
|
+
"type": "integer",
|
|
3065
|
+
"minimum": 0,
|
|
3066
|
+
"maximum": 9007199254740991
|
|
3067
|
+
},
|
|
3068
|
+
"missing": {
|
|
3069
|
+
"type": "integer",
|
|
3070
|
+
"minimum": 0,
|
|
3071
|
+
"maximum": 9007199254740991
|
|
3072
|
+
},
|
|
3073
|
+
"behind": {
|
|
3074
|
+
"type": "integer",
|
|
3075
|
+
"minimum": 0,
|
|
3076
|
+
"maximum": 9007199254740991
|
|
3077
|
+
},
|
|
3078
|
+
"too_large": {
|
|
3079
|
+
"type": "integer",
|
|
3080
|
+
"minimum": 0,
|
|
3081
|
+
"maximum": 9007199254740991
|
|
3082
|
+
},
|
|
3083
|
+
"imported": {
|
|
3084
|
+
"type": "integer",
|
|
3085
|
+
"minimum": 0,
|
|
3086
|
+
"maximum": 9007199254740991
|
|
3087
|
+
},
|
|
3088
|
+
"changed": {
|
|
3089
|
+
"type": "integer",
|
|
3090
|
+
"minimum": 0,
|
|
3091
|
+
"maximum": 9007199254740991
|
|
3092
|
+
},
|
|
3093
|
+
"failed": {
|
|
3094
|
+
"type": "integer",
|
|
3095
|
+
"minimum": 0,
|
|
3096
|
+
"maximum": 9007199254740991
|
|
3097
|
+
},
|
|
3098
|
+
"failures": {
|
|
3099
|
+
"maxItems": 20,
|
|
3100
|
+
"type": "array",
|
|
3101
|
+
"items": {
|
|
3102
|
+
"$ref": "#/$defs/CodingHistoryFailure"
|
|
3103
|
+
}
|
|
3104
|
+
},
|
|
3105
|
+
"remaining": {
|
|
3106
|
+
"type": "integer",
|
|
3107
|
+
"minimum": 0,
|
|
3108
|
+
"maximum": 9007199254740991
|
|
3109
|
+
},
|
|
3110
|
+
"summary": {
|
|
3111
|
+
"type": "string",
|
|
3112
|
+
"maxLength": 400
|
|
3113
|
+
}
|
|
3114
|
+
},
|
|
3115
|
+
"required": [
|
|
3116
|
+
"local_sessions",
|
|
3117
|
+
"in_cloud",
|
|
3118
|
+
"missing",
|
|
3119
|
+
"behind",
|
|
3120
|
+
"too_large",
|
|
3121
|
+
"imported",
|
|
3122
|
+
"changed",
|
|
3123
|
+
"failed",
|
|
3124
|
+
"failures",
|
|
3125
|
+
"remaining",
|
|
3126
|
+
"summary"
|
|
3127
|
+
],
|
|
3128
|
+
"additionalProperties": false
|
|
3129
|
+
},
|
|
3130
|
+
"CodingHistoryStep": {
|
|
3131
|
+
"type": "object",
|
|
3132
|
+
"properties": {
|
|
3133
|
+
"plan_id": {
|
|
3134
|
+
"anyOf": [
|
|
3135
|
+
{
|
|
3136
|
+
"type": "string",
|
|
3137
|
+
"pattern": "^[0-9a-f]{32}$"
|
|
3138
|
+
},
|
|
3139
|
+
{
|
|
3140
|
+
"type": "null"
|
|
3141
|
+
}
|
|
3142
|
+
]
|
|
3143
|
+
},
|
|
3144
|
+
"finished": {
|
|
3145
|
+
"type": "boolean"
|
|
3146
|
+
},
|
|
3147
|
+
"blocked": {
|
|
3148
|
+
"anyOf": [
|
|
3149
|
+
{
|
|
3150
|
+
"$ref": "#/$defs/CodingHistoryBlocked"
|
|
3151
|
+
},
|
|
3152
|
+
{
|
|
3153
|
+
"type": "null"
|
|
3154
|
+
}
|
|
3155
|
+
]
|
|
3156
|
+
},
|
|
3157
|
+
"run": {
|
|
3158
|
+
"$ref": "#/$defs/CodingHistoryRun"
|
|
3159
|
+
}
|
|
3160
|
+
},
|
|
3161
|
+
"required": [
|
|
3162
|
+
"plan_id",
|
|
3163
|
+
"finished",
|
|
3164
|
+
"blocked",
|
|
3165
|
+
"run"
|
|
3166
|
+
],
|
|
3167
|
+
"additionalProperties": false
|
|
3168
|
+
},
|
|
3169
|
+
"CodingPlanMissingParams": {
|
|
3170
|
+
"type": "object",
|
|
3171
|
+
"properties": {
|
|
3172
|
+
"credentials": {
|
|
3173
|
+
"$ref": "#/$defs/CodingServiceCredentials"
|
|
3174
|
+
}
|
|
3175
|
+
},
|
|
3176
|
+
"required": [
|
|
3177
|
+
"credentials"
|
|
3178
|
+
],
|
|
3179
|
+
"additionalProperties": false
|
|
3180
|
+
},
|
|
3181
|
+
"CodingImportNextParams": {
|
|
3182
|
+
"type": "object",
|
|
3183
|
+
"properties": {
|
|
3184
|
+
"plan_id": {
|
|
3185
|
+
"type": "string",
|
|
3186
|
+
"pattern": "^[0-9a-f]{32}$"
|
|
3187
|
+
},
|
|
3188
|
+
"credentials": {
|
|
3189
|
+
"$ref": "#/$defs/CodingServiceCredentials"
|
|
3190
|
+
}
|
|
3191
|
+
},
|
|
3192
|
+
"required": [
|
|
3193
|
+
"plan_id",
|
|
3194
|
+
"credentials"
|
|
3195
|
+
],
|
|
3196
|
+
"additionalProperties": false
|
|
3197
|
+
},
|
|
3198
|
+
"CodingServiceProgress": {
|
|
3199
|
+
"type": "object",
|
|
3200
|
+
"properties": {
|
|
3201
|
+
"phase": {
|
|
3202
|
+
"type": "string",
|
|
3203
|
+
"enum": [
|
|
3204
|
+
"checking",
|
|
3205
|
+
"importing"
|
|
3206
|
+
]
|
|
3207
|
+
},
|
|
3208
|
+
"done": {
|
|
3209
|
+
"type": "integer",
|
|
3210
|
+
"minimum": 0,
|
|
3211
|
+
"maximum": 9007199254740991
|
|
3212
|
+
},
|
|
3213
|
+
"total": {
|
|
3214
|
+
"type": "integer",
|
|
3215
|
+
"minimum": 0,
|
|
3216
|
+
"maximum": 9007199254740991
|
|
3217
|
+
}
|
|
3218
|
+
},
|
|
3219
|
+
"required": [
|
|
3220
|
+
"phase",
|
|
3221
|
+
"done",
|
|
3222
|
+
"total"
|
|
3223
|
+
],
|
|
3224
|
+
"additionalProperties": false
|
|
3225
|
+
},
|
|
3226
|
+
"CodingHistoryImportMissingParams": {
|
|
3227
|
+
"type": "object",
|
|
3228
|
+
"properties": {},
|
|
3229
|
+
"additionalProperties": false
|
|
3230
|
+
},
|
|
3231
|
+
"CodingHistoryImportMissingResult": {
|
|
3232
|
+
"type": "object",
|
|
3233
|
+
"properties": {
|
|
3234
|
+
"state": {
|
|
3235
|
+
"type": "string",
|
|
3236
|
+
"enum": [
|
|
3237
|
+
"done",
|
|
3238
|
+
"blocked",
|
|
3239
|
+
"cancelled"
|
|
3240
|
+
]
|
|
3241
|
+
},
|
|
3242
|
+
"blocked": {
|
|
3243
|
+
"anyOf": [
|
|
3244
|
+
{
|
|
3245
|
+
"$ref": "#/$defs/CodingHistoryBlocked"
|
|
3246
|
+
},
|
|
3247
|
+
{
|
|
3248
|
+
"type": "null"
|
|
3249
|
+
}
|
|
3250
|
+
]
|
|
3251
|
+
},
|
|
3252
|
+
"run": {
|
|
3253
|
+
"$ref": "#/$defs/CodingHistoryRun"
|
|
3254
|
+
},
|
|
3255
|
+
"elapsed_ms": {
|
|
3256
|
+
"type": "integer",
|
|
3257
|
+
"minimum": 0,
|
|
3258
|
+
"maximum": 9007199254740991
|
|
3259
|
+
}
|
|
3260
|
+
},
|
|
3261
|
+
"required": [
|
|
3262
|
+
"state",
|
|
3263
|
+
"blocked",
|
|
3264
|
+
"run",
|
|
3265
|
+
"elapsed_ms"
|
|
3266
|
+
],
|
|
3267
|
+
"additionalProperties": false
|
|
3268
|
+
},
|
|
3269
|
+
"CodingHistoryProgressEvent": {
|
|
3270
|
+
"type": "object",
|
|
3271
|
+
"properties": {
|
|
3272
|
+
"request_id": {
|
|
3273
|
+
"$ref": "#/$defs/RequestId"
|
|
3274
|
+
},
|
|
3275
|
+
"phase": {
|
|
3276
|
+
"type": "string",
|
|
3277
|
+
"enum": [
|
|
3278
|
+
"checking",
|
|
3279
|
+
"importing"
|
|
3280
|
+
]
|
|
3281
|
+
},
|
|
3282
|
+
"done": {
|
|
3283
|
+
"type": "integer",
|
|
3284
|
+
"minimum": 0,
|
|
3285
|
+
"maximum": 9007199254740991
|
|
3286
|
+
},
|
|
3287
|
+
"total": {
|
|
3288
|
+
"type": "integer",
|
|
3289
|
+
"minimum": 0,
|
|
3290
|
+
"maximum": 9007199254740991
|
|
3291
|
+
},
|
|
3292
|
+
"imported": {
|
|
3293
|
+
"type": "integer",
|
|
3294
|
+
"minimum": 0,
|
|
3295
|
+
"maximum": 9007199254740991
|
|
3296
|
+
},
|
|
3297
|
+
"failed": {
|
|
3298
|
+
"type": "integer",
|
|
3299
|
+
"minimum": 0,
|
|
3300
|
+
"maximum": 9007199254740991
|
|
3301
|
+
}
|
|
3302
|
+
},
|
|
3303
|
+
"required": [
|
|
3304
|
+
"request_id",
|
|
3305
|
+
"phase",
|
|
3306
|
+
"done",
|
|
3307
|
+
"total",
|
|
3308
|
+
"imported",
|
|
3309
|
+
"failed"
|
|
3310
|
+
],
|
|
3311
|
+
"additionalProperties": false
|
|
3312
|
+
},
|
|
3000
3313
|
"ServiceName": {
|
|
3001
3314
|
"type": "string",
|
|
3002
3315
|
"enum": [
|
|
3003
|
-
"ml"
|
|
3316
|
+
"ml",
|
|
3317
|
+
"coding"
|
|
3004
3318
|
]
|
|
3005
3319
|
},
|
|
3006
3320
|
"ContractHash": {
|
|
@@ -3831,47 +4145,1349 @@
|
|
|
3831
4145
|
"properties": {},
|
|
3832
4146
|
"additionalProperties": false
|
|
3833
4147
|
},
|
|
3834
|
-
"ClipboardReadResult": {
|
|
4148
|
+
"ClipboardReadResult": {
|
|
4149
|
+
"type": "object",
|
|
4150
|
+
"properties": {
|
|
4151
|
+
"text": {
|
|
4152
|
+
"type": "string",
|
|
4153
|
+
"maxLength": 1048576
|
|
4154
|
+
},
|
|
4155
|
+
"truncated": {
|
|
4156
|
+
"type": "boolean"
|
|
4157
|
+
}
|
|
4158
|
+
},
|
|
4159
|
+
"required": [
|
|
4160
|
+
"text",
|
|
4161
|
+
"truncated"
|
|
4162
|
+
],
|
|
4163
|
+
"additionalProperties": false
|
|
4164
|
+
},
|
|
4165
|
+
"ClipboardWriteParams": {
|
|
4166
|
+
"type": "object",
|
|
4167
|
+
"properties": {
|
|
4168
|
+
"text": {
|
|
4169
|
+
"type": "string",
|
|
4170
|
+
"maxLength": 1048576
|
|
4171
|
+
}
|
|
4172
|
+
},
|
|
4173
|
+
"required": [
|
|
4174
|
+
"text"
|
|
4175
|
+
],
|
|
4176
|
+
"additionalProperties": false
|
|
4177
|
+
},
|
|
4178
|
+
"ClipboardWriteResult": {
|
|
4179
|
+
"type": "object",
|
|
4180
|
+
"properties": {
|
|
4181
|
+
"bytes": {
|
|
4182
|
+
"type": "integer",
|
|
4183
|
+
"minimum": 0,
|
|
4184
|
+
"maximum": 9007199254740991
|
|
4185
|
+
}
|
|
4186
|
+
},
|
|
4187
|
+
"required": [
|
|
4188
|
+
"bytes"
|
|
4189
|
+
],
|
|
4190
|
+
"additionalProperties": false
|
|
4191
|
+
},
|
|
4192
|
+
"SystemOpenUrlParams": {
|
|
4193
|
+
"type": "object",
|
|
4194
|
+
"properties": {
|
|
4195
|
+
"url": {
|
|
4196
|
+
"type": "string",
|
|
4197
|
+
"minLength": 1,
|
|
4198
|
+
"maxLength": 4096
|
|
4199
|
+
}
|
|
4200
|
+
},
|
|
4201
|
+
"required": [
|
|
4202
|
+
"url"
|
|
4203
|
+
],
|
|
4204
|
+
"additionalProperties": false
|
|
4205
|
+
},
|
|
4206
|
+
"SystemOpenUrlResult": {
|
|
4207
|
+
"type": "object",
|
|
4208
|
+
"properties": {
|
|
4209
|
+
"url": {
|
|
4210
|
+
"type": "string",
|
|
4211
|
+
"maxLength": 4096
|
|
4212
|
+
}
|
|
4213
|
+
},
|
|
4214
|
+
"required": [
|
|
4215
|
+
"url"
|
|
4216
|
+
],
|
|
4217
|
+
"additionalProperties": false
|
|
4218
|
+
},
|
|
4219
|
+
"SystemOpenPathParams": {
|
|
4220
|
+
"type": "object",
|
|
4221
|
+
"properties": {
|
|
4222
|
+
"path": {
|
|
4223
|
+
"$ref": "#/$defs/AbsPath"
|
|
4224
|
+
},
|
|
4225
|
+
"reveal": {
|
|
4226
|
+
"default": false,
|
|
4227
|
+
"type": "boolean"
|
|
4228
|
+
}
|
|
4229
|
+
},
|
|
4230
|
+
"required": [
|
|
4231
|
+
"path"
|
|
4232
|
+
],
|
|
4233
|
+
"additionalProperties": false
|
|
4234
|
+
},
|
|
4235
|
+
"SystemOpenPathResult": {
|
|
4236
|
+
"type": "object",
|
|
4237
|
+
"properties": {
|
|
4238
|
+
"path": {
|
|
4239
|
+
"$ref": "#/$defs/AbsPath"
|
|
4240
|
+
},
|
|
4241
|
+
"revealed": {
|
|
4242
|
+
"type": "boolean"
|
|
4243
|
+
}
|
|
4244
|
+
},
|
|
4245
|
+
"required": [
|
|
4246
|
+
"path",
|
|
4247
|
+
"revealed"
|
|
4248
|
+
],
|
|
4249
|
+
"additionalProperties": false
|
|
4250
|
+
},
|
|
4251
|
+
"SystemNotifyParams": {
|
|
4252
|
+
"type": "object",
|
|
4253
|
+
"properties": {
|
|
4254
|
+
"title": {
|
|
4255
|
+
"type": "string",
|
|
4256
|
+
"minLength": 1,
|
|
4257
|
+
"maxLength": 128
|
|
4258
|
+
},
|
|
4259
|
+
"body": {
|
|
4260
|
+
"default": "",
|
|
4261
|
+
"type": "string",
|
|
4262
|
+
"maxLength": 1024
|
|
4263
|
+
}
|
|
4264
|
+
},
|
|
4265
|
+
"required": [
|
|
4266
|
+
"title"
|
|
4267
|
+
],
|
|
4268
|
+
"additionalProperties": false
|
|
4269
|
+
},
|
|
4270
|
+
"SystemNotifyResult": {
|
|
4271
|
+
"type": "object",
|
|
4272
|
+
"properties": {
|
|
4273
|
+
"shown": {
|
|
4274
|
+
"type": "boolean"
|
|
4275
|
+
}
|
|
4276
|
+
},
|
|
4277
|
+
"required": [
|
|
4278
|
+
"shown"
|
|
4279
|
+
],
|
|
4280
|
+
"additionalProperties": false
|
|
4281
|
+
},
|
|
4282
|
+
"ScreenDisplay": {
|
|
4283
|
+
"type": "object",
|
|
4284
|
+
"properties": {
|
|
4285
|
+
"id": {
|
|
4286
|
+
"type": "integer",
|
|
4287
|
+
"minimum": 0,
|
|
4288
|
+
"maximum": 9007199254740991
|
|
4289
|
+
},
|
|
4290
|
+
"name": {
|
|
4291
|
+
"type": "string",
|
|
4292
|
+
"maxLength": 128
|
|
4293
|
+
},
|
|
4294
|
+
"x": {
|
|
4295
|
+
"type": "integer",
|
|
4296
|
+
"minimum": -9007199254740991,
|
|
4297
|
+
"maximum": 9007199254740991
|
|
4298
|
+
},
|
|
4299
|
+
"y": {
|
|
4300
|
+
"type": "integer",
|
|
4301
|
+
"minimum": -9007199254740991,
|
|
4302
|
+
"maximum": 9007199254740991
|
|
4303
|
+
},
|
|
4304
|
+
"width": {
|
|
4305
|
+
"type": "integer",
|
|
4306
|
+
"minimum": 1,
|
|
4307
|
+
"maximum": 9007199254740991
|
|
4308
|
+
},
|
|
4309
|
+
"height": {
|
|
4310
|
+
"type": "integer",
|
|
4311
|
+
"minimum": 1,
|
|
4312
|
+
"maximum": 9007199254740991
|
|
4313
|
+
},
|
|
4314
|
+
"scale": {
|
|
4315
|
+
"type": "number",
|
|
4316
|
+
"minimum": 0.1,
|
|
4317
|
+
"maximum": 8
|
|
4318
|
+
},
|
|
4319
|
+
"primary": {
|
|
4320
|
+
"type": "boolean"
|
|
4321
|
+
}
|
|
4322
|
+
},
|
|
4323
|
+
"required": [
|
|
4324
|
+
"id",
|
|
4325
|
+
"name",
|
|
4326
|
+
"x",
|
|
4327
|
+
"y",
|
|
4328
|
+
"width",
|
|
4329
|
+
"height",
|
|
4330
|
+
"scale",
|
|
4331
|
+
"primary"
|
|
4332
|
+
],
|
|
4333
|
+
"additionalProperties": false
|
|
4334
|
+
},
|
|
4335
|
+
"ScreenListParams": {
|
|
4336
|
+
"type": "object",
|
|
4337
|
+
"properties": {},
|
|
4338
|
+
"additionalProperties": false
|
|
4339
|
+
},
|
|
4340
|
+
"ScreenListResult": {
|
|
4341
|
+
"type": "object",
|
|
4342
|
+
"properties": {
|
|
4343
|
+
"displays": {
|
|
4344
|
+
"maxItems": 32,
|
|
4345
|
+
"type": "array",
|
|
4346
|
+
"items": {
|
|
4347
|
+
"$ref": "#/$defs/ScreenDisplay"
|
|
4348
|
+
}
|
|
4349
|
+
}
|
|
4350
|
+
},
|
|
4351
|
+
"required": [
|
|
4352
|
+
"displays"
|
|
4353
|
+
],
|
|
4354
|
+
"additionalProperties": false
|
|
4355
|
+
},
|
|
4356
|
+
"ScreenCaptureParams": {
|
|
4357
|
+
"type": "object",
|
|
4358
|
+
"properties": {
|
|
4359
|
+
"display_id": {
|
|
4360
|
+
"type": "integer",
|
|
4361
|
+
"minimum": 0,
|
|
4362
|
+
"maximum": 9007199254740991
|
|
4363
|
+
},
|
|
4364
|
+
"format": {
|
|
4365
|
+
"default": "jpeg",
|
|
4366
|
+
"type": "string",
|
|
4367
|
+
"enum": [
|
|
4368
|
+
"jpeg",
|
|
4369
|
+
"png"
|
|
4370
|
+
]
|
|
4371
|
+
},
|
|
4372
|
+
"max_width": {
|
|
4373
|
+
"default": 1600,
|
|
4374
|
+
"type": "integer",
|
|
4375
|
+
"minimum": 160,
|
|
4376
|
+
"maximum": 7680
|
|
4377
|
+
}
|
|
4378
|
+
},
|
|
4379
|
+
"additionalProperties": false
|
|
4380
|
+
},
|
|
4381
|
+
"ScreenCaptureResult": {
|
|
4382
|
+
"type": "object",
|
|
4383
|
+
"properties": {
|
|
4384
|
+
"display_id": {
|
|
4385
|
+
"type": "integer",
|
|
4386
|
+
"minimum": 0,
|
|
4387
|
+
"maximum": 9007199254740991
|
|
4388
|
+
},
|
|
4389
|
+
"mime_type": {
|
|
4390
|
+
"type": "string",
|
|
4391
|
+
"enum": [
|
|
4392
|
+
"image/jpeg",
|
|
4393
|
+
"image/png"
|
|
4394
|
+
]
|
|
4395
|
+
},
|
|
4396
|
+
"width": {
|
|
4397
|
+
"type": "integer",
|
|
4398
|
+
"minimum": 1,
|
|
4399
|
+
"maximum": 9007199254740991
|
|
4400
|
+
},
|
|
4401
|
+
"height": {
|
|
4402
|
+
"type": "integer",
|
|
4403
|
+
"minimum": 1,
|
|
4404
|
+
"maximum": 9007199254740991
|
|
4405
|
+
},
|
|
4406
|
+
"source_width": {
|
|
4407
|
+
"type": "integer",
|
|
4408
|
+
"minimum": 1,
|
|
4409
|
+
"maximum": 9007199254740991
|
|
4410
|
+
},
|
|
4411
|
+
"source_height": {
|
|
4412
|
+
"type": "integer",
|
|
4413
|
+
"minimum": 1,
|
|
4414
|
+
"maximum": 9007199254740991
|
|
4415
|
+
},
|
|
4416
|
+
"data_base64": {
|
|
4417
|
+
"type": "string",
|
|
4418
|
+
"maxLength": 6291456
|
|
4419
|
+
}
|
|
4420
|
+
},
|
|
4421
|
+
"required": [
|
|
4422
|
+
"display_id",
|
|
4423
|
+
"mime_type",
|
|
4424
|
+
"width",
|
|
4425
|
+
"height",
|
|
4426
|
+
"source_width",
|
|
4427
|
+
"source_height",
|
|
4428
|
+
"data_base64"
|
|
4429
|
+
],
|
|
4430
|
+
"additionalProperties": false
|
|
4431
|
+
},
|
|
4432
|
+
"WindowInfo": {
|
|
4433
|
+
"type": "object",
|
|
4434
|
+
"properties": {
|
|
4435
|
+
"id": {
|
|
4436
|
+
"type": "integer",
|
|
4437
|
+
"minimum": 0,
|
|
4438
|
+
"maximum": 9007199254740991
|
|
4439
|
+
},
|
|
4440
|
+
"title": {
|
|
4441
|
+
"type": "string",
|
|
4442
|
+
"maxLength": 512
|
|
4443
|
+
},
|
|
4444
|
+
"x": {
|
|
4445
|
+
"type": "integer",
|
|
4446
|
+
"minimum": -9007199254740991,
|
|
4447
|
+
"maximum": 9007199254740991
|
|
4448
|
+
},
|
|
4449
|
+
"y": {
|
|
4450
|
+
"type": "integer",
|
|
4451
|
+
"minimum": -9007199254740991,
|
|
4452
|
+
"maximum": 9007199254740991
|
|
4453
|
+
},
|
|
4454
|
+
"width": {
|
|
4455
|
+
"type": "integer",
|
|
4456
|
+
"minimum": 0,
|
|
4457
|
+
"maximum": 9007199254740991
|
|
4458
|
+
},
|
|
4459
|
+
"height": {
|
|
4460
|
+
"type": "integer",
|
|
4461
|
+
"minimum": 0,
|
|
4462
|
+
"maximum": 9007199254740991
|
|
4463
|
+
}
|
|
4464
|
+
},
|
|
4465
|
+
"required": [
|
|
4466
|
+
"id",
|
|
4467
|
+
"title",
|
|
4468
|
+
"x",
|
|
4469
|
+
"y",
|
|
4470
|
+
"width",
|
|
4471
|
+
"height"
|
|
4472
|
+
],
|
|
4473
|
+
"additionalProperties": false
|
|
4474
|
+
},
|
|
4475
|
+
"WindowListParams": {
|
|
4476
|
+
"type": "object",
|
|
4477
|
+
"properties": {
|
|
4478
|
+
"title": {
|
|
4479
|
+
"type": "string",
|
|
4480
|
+
"minLength": 1,
|
|
4481
|
+
"maxLength": 256
|
|
4482
|
+
},
|
|
4483
|
+
"limit": {
|
|
4484
|
+
"default": 100,
|
|
4485
|
+
"type": "integer",
|
|
4486
|
+
"minimum": 1,
|
|
4487
|
+
"maximum": 500
|
|
4488
|
+
}
|
|
4489
|
+
},
|
|
4490
|
+
"additionalProperties": false
|
|
4491
|
+
},
|
|
4492
|
+
"WindowListResult": {
|
|
4493
|
+
"type": "object",
|
|
4494
|
+
"properties": {
|
|
4495
|
+
"windows": {
|
|
4496
|
+
"maxItems": 500,
|
|
4497
|
+
"type": "array",
|
|
4498
|
+
"items": {
|
|
4499
|
+
"$ref": "#/$defs/WindowInfo"
|
|
4500
|
+
}
|
|
4501
|
+
},
|
|
4502
|
+
"total": {
|
|
4503
|
+
"type": "integer",
|
|
4504
|
+
"minimum": 0,
|
|
4505
|
+
"maximum": 9007199254740991
|
|
4506
|
+
},
|
|
4507
|
+
"truncated": {
|
|
4508
|
+
"type": "boolean"
|
|
4509
|
+
}
|
|
4510
|
+
},
|
|
4511
|
+
"required": [
|
|
4512
|
+
"windows",
|
|
4513
|
+
"total",
|
|
4514
|
+
"truncated"
|
|
4515
|
+
],
|
|
4516
|
+
"additionalProperties": false
|
|
4517
|
+
},
|
|
4518
|
+
"WindowFocusParams": {
|
|
4519
|
+
"type": "object",
|
|
4520
|
+
"properties": {
|
|
4521
|
+
"id": {
|
|
4522
|
+
"type": "integer",
|
|
4523
|
+
"minimum": 0,
|
|
4524
|
+
"maximum": 9007199254740991
|
|
4525
|
+
}
|
|
4526
|
+
},
|
|
4527
|
+
"required": [
|
|
4528
|
+
"id"
|
|
4529
|
+
],
|
|
4530
|
+
"additionalProperties": false
|
|
4531
|
+
},
|
|
4532
|
+
"WindowFocusResult": {
|
|
4533
|
+
"type": "object",
|
|
4534
|
+
"properties": {
|
|
4535
|
+
"window": {
|
|
4536
|
+
"$ref": "#/$defs/WindowInfo"
|
|
4537
|
+
}
|
|
4538
|
+
},
|
|
4539
|
+
"required": [
|
|
4540
|
+
"window"
|
|
4541
|
+
],
|
|
4542
|
+
"additionalProperties": false
|
|
4543
|
+
},
|
|
4544
|
+
"WindowMoveParams": {
|
|
4545
|
+
"type": "object",
|
|
4546
|
+
"properties": {
|
|
4547
|
+
"id": {
|
|
4548
|
+
"type": "integer",
|
|
4549
|
+
"minimum": 0,
|
|
4550
|
+
"maximum": 9007199254740991
|
|
4551
|
+
},
|
|
4552
|
+
"x": {
|
|
4553
|
+
"type": "integer",
|
|
4554
|
+
"minimum": -9007199254740991,
|
|
4555
|
+
"maximum": 9007199254740991
|
|
4556
|
+
},
|
|
4557
|
+
"y": {
|
|
4558
|
+
"type": "integer",
|
|
4559
|
+
"minimum": -9007199254740991,
|
|
4560
|
+
"maximum": 9007199254740991
|
|
4561
|
+
},
|
|
4562
|
+
"width": {
|
|
4563
|
+
"type": "integer",
|
|
4564
|
+
"minimum": 50,
|
|
4565
|
+
"maximum": 16384
|
|
4566
|
+
},
|
|
4567
|
+
"height": {
|
|
4568
|
+
"type": "integer",
|
|
4569
|
+
"minimum": 50,
|
|
4570
|
+
"maximum": 16384
|
|
4571
|
+
}
|
|
4572
|
+
},
|
|
4573
|
+
"required": [
|
|
4574
|
+
"id"
|
|
4575
|
+
],
|
|
4576
|
+
"additionalProperties": false
|
|
4577
|
+
},
|
|
4578
|
+
"WindowMoveResult": {
|
|
4579
|
+
"type": "object",
|
|
4580
|
+
"properties": {
|
|
4581
|
+
"window": {
|
|
4582
|
+
"$ref": "#/$defs/WindowInfo"
|
|
4583
|
+
}
|
|
4584
|
+
},
|
|
4585
|
+
"required": [
|
|
4586
|
+
"window"
|
|
4587
|
+
],
|
|
4588
|
+
"additionalProperties": false
|
|
4589
|
+
},
|
|
4590
|
+
"WindowMinimizeParams": {
|
|
4591
|
+
"type": "object",
|
|
4592
|
+
"properties": {
|
|
4593
|
+
"id": {
|
|
4594
|
+
"type": "integer",
|
|
4595
|
+
"minimum": 0,
|
|
4596
|
+
"maximum": 9007199254740991
|
|
4597
|
+
}
|
|
4598
|
+
},
|
|
4599
|
+
"required": [
|
|
4600
|
+
"id"
|
|
4601
|
+
],
|
|
4602
|
+
"additionalProperties": false
|
|
4603
|
+
},
|
|
4604
|
+
"WindowMinimizeResult": {
|
|
4605
|
+
"type": "object",
|
|
4606
|
+
"properties": {
|
|
4607
|
+
"id": {
|
|
4608
|
+
"type": "integer",
|
|
4609
|
+
"minimum": 0,
|
|
4610
|
+
"maximum": 9007199254740991
|
|
4611
|
+
}
|
|
4612
|
+
},
|
|
4613
|
+
"required": [
|
|
4614
|
+
"id"
|
|
4615
|
+
],
|
|
4616
|
+
"additionalProperties": false
|
|
4617
|
+
},
|
|
4618
|
+
"InputKey": {
|
|
4619
|
+
"type": "string",
|
|
4620
|
+
"enum": [
|
|
4621
|
+
"0",
|
|
4622
|
+
"1",
|
|
4623
|
+
"2",
|
|
4624
|
+
"3",
|
|
4625
|
+
"4",
|
|
4626
|
+
"5",
|
|
4627
|
+
"6",
|
|
4628
|
+
"7",
|
|
4629
|
+
"8",
|
|
4630
|
+
"9",
|
|
4631
|
+
"cmd",
|
|
4632
|
+
"ctrl",
|
|
4633
|
+
"alt",
|
|
4634
|
+
"shift",
|
|
4635
|
+
"meta",
|
|
4636
|
+
"a",
|
|
4637
|
+
"b",
|
|
4638
|
+
"c",
|
|
4639
|
+
"d",
|
|
4640
|
+
"e",
|
|
4641
|
+
"f",
|
|
4642
|
+
"g",
|
|
4643
|
+
"h",
|
|
4644
|
+
"i",
|
|
4645
|
+
"j",
|
|
4646
|
+
"k",
|
|
4647
|
+
"l",
|
|
4648
|
+
"m",
|
|
4649
|
+
"n",
|
|
4650
|
+
"o",
|
|
4651
|
+
"p",
|
|
4652
|
+
"q",
|
|
4653
|
+
"r",
|
|
4654
|
+
"s",
|
|
4655
|
+
"t",
|
|
4656
|
+
"u",
|
|
4657
|
+
"v",
|
|
4658
|
+
"w",
|
|
4659
|
+
"x",
|
|
4660
|
+
"y",
|
|
4661
|
+
"z",
|
|
4662
|
+
"f1",
|
|
4663
|
+
"f2",
|
|
4664
|
+
"f3",
|
|
4665
|
+
"f4",
|
|
4666
|
+
"f5",
|
|
4667
|
+
"f6",
|
|
4668
|
+
"f7",
|
|
4669
|
+
"f8",
|
|
4670
|
+
"f9",
|
|
4671
|
+
"f10",
|
|
4672
|
+
"f11",
|
|
4673
|
+
"f12",
|
|
4674
|
+
"enter",
|
|
4675
|
+
"tab",
|
|
4676
|
+
"escape",
|
|
4677
|
+
"space",
|
|
4678
|
+
"backspace",
|
|
4679
|
+
"delete",
|
|
4680
|
+
"up",
|
|
4681
|
+
"down",
|
|
4682
|
+
"left",
|
|
4683
|
+
"right",
|
|
4684
|
+
"home",
|
|
4685
|
+
"end",
|
|
4686
|
+
"pageup",
|
|
4687
|
+
"pagedown",
|
|
4688
|
+
"minus",
|
|
4689
|
+
"equal",
|
|
4690
|
+
"comma",
|
|
4691
|
+
"period",
|
|
4692
|
+
"slash",
|
|
4693
|
+
"semicolon",
|
|
4694
|
+
"quote",
|
|
4695
|
+
"bracketleft",
|
|
4696
|
+
"bracketright",
|
|
4697
|
+
"backslash",
|
|
4698
|
+
"grave"
|
|
4699
|
+
]
|
|
4700
|
+
},
|
|
4701
|
+
"InputPoint": {
|
|
4702
|
+
"type": "object",
|
|
4703
|
+
"properties": {
|
|
4704
|
+
"x": {
|
|
4705
|
+
"type": "integer",
|
|
4706
|
+
"minimum": -9007199254740991,
|
|
4707
|
+
"maximum": 9007199254740991
|
|
4708
|
+
},
|
|
4709
|
+
"y": {
|
|
4710
|
+
"type": "integer",
|
|
4711
|
+
"minimum": -9007199254740991,
|
|
4712
|
+
"maximum": 9007199254740991
|
|
4713
|
+
}
|
|
4714
|
+
},
|
|
4715
|
+
"required": [
|
|
4716
|
+
"x",
|
|
4717
|
+
"y"
|
|
4718
|
+
],
|
|
4719
|
+
"additionalProperties": false
|
|
4720
|
+
},
|
|
4721
|
+
"InputTypeTextParams": {
|
|
4722
|
+
"type": "object",
|
|
4723
|
+
"properties": {
|
|
4724
|
+
"text": {
|
|
4725
|
+
"type": "string",
|
|
4726
|
+
"minLength": 1,
|
|
4727
|
+
"maxLength": 10000
|
|
4728
|
+
}
|
|
4729
|
+
},
|
|
4730
|
+
"required": [
|
|
4731
|
+
"text"
|
|
4732
|
+
],
|
|
4733
|
+
"additionalProperties": false
|
|
4734
|
+
},
|
|
4735
|
+
"InputTypeTextResult": {
|
|
4736
|
+
"type": "object",
|
|
4737
|
+
"properties": {
|
|
4738
|
+
"characters": {
|
|
4739
|
+
"type": "integer",
|
|
4740
|
+
"minimum": 1,
|
|
4741
|
+
"maximum": 9007199254740991
|
|
4742
|
+
}
|
|
4743
|
+
},
|
|
4744
|
+
"required": [
|
|
4745
|
+
"characters"
|
|
4746
|
+
],
|
|
4747
|
+
"additionalProperties": false
|
|
4748
|
+
},
|
|
4749
|
+
"InputHotkeyParams": {
|
|
4750
|
+
"type": "object",
|
|
4751
|
+
"properties": {
|
|
4752
|
+
"keys": {
|
|
4753
|
+
"minItems": 1,
|
|
4754
|
+
"maxItems": 6,
|
|
4755
|
+
"type": "array",
|
|
4756
|
+
"items": {
|
|
4757
|
+
"$ref": "#/$defs/InputKey"
|
|
4758
|
+
}
|
|
4759
|
+
}
|
|
4760
|
+
},
|
|
4761
|
+
"required": [
|
|
4762
|
+
"keys"
|
|
4763
|
+
],
|
|
4764
|
+
"additionalProperties": false
|
|
4765
|
+
},
|
|
4766
|
+
"InputHotkeyResult": {
|
|
4767
|
+
"type": "object",
|
|
4768
|
+
"properties": {
|
|
4769
|
+
"keys": {
|
|
4770
|
+
"type": "array",
|
|
4771
|
+
"items": {
|
|
4772
|
+
"$ref": "#/$defs/InputKey"
|
|
4773
|
+
}
|
|
4774
|
+
}
|
|
4775
|
+
},
|
|
4776
|
+
"required": [
|
|
4777
|
+
"keys"
|
|
4778
|
+
],
|
|
4779
|
+
"additionalProperties": false
|
|
4780
|
+
},
|
|
4781
|
+
"InputMouseMoveParams": {
|
|
4782
|
+
"type": "object",
|
|
4783
|
+
"properties": {
|
|
4784
|
+
"x": {
|
|
4785
|
+
"type": "integer",
|
|
4786
|
+
"minimum": -9007199254740991,
|
|
4787
|
+
"maximum": 9007199254740991
|
|
4788
|
+
},
|
|
4789
|
+
"y": {
|
|
4790
|
+
"type": "integer",
|
|
4791
|
+
"minimum": -9007199254740991,
|
|
4792
|
+
"maximum": 9007199254740991
|
|
4793
|
+
}
|
|
4794
|
+
},
|
|
4795
|
+
"required": [
|
|
4796
|
+
"x",
|
|
4797
|
+
"y"
|
|
4798
|
+
],
|
|
4799
|
+
"additionalProperties": false
|
|
4800
|
+
},
|
|
4801
|
+
"InputMouseMoveResult": {
|
|
4802
|
+
"type": "object",
|
|
4803
|
+
"properties": {
|
|
4804
|
+
"position": {
|
|
4805
|
+
"$ref": "#/$defs/InputPoint"
|
|
4806
|
+
}
|
|
4807
|
+
},
|
|
4808
|
+
"required": [
|
|
4809
|
+
"position"
|
|
4810
|
+
],
|
|
4811
|
+
"additionalProperties": false
|
|
4812
|
+
},
|
|
4813
|
+
"InputMouseClickParams": {
|
|
4814
|
+
"type": "object",
|
|
4815
|
+
"properties": {
|
|
4816
|
+
"x": {
|
|
4817
|
+
"type": "integer",
|
|
4818
|
+
"minimum": -9007199254740991,
|
|
4819
|
+
"maximum": 9007199254740991
|
|
4820
|
+
},
|
|
4821
|
+
"y": {
|
|
4822
|
+
"type": "integer",
|
|
4823
|
+
"minimum": -9007199254740991,
|
|
4824
|
+
"maximum": 9007199254740991
|
|
4825
|
+
},
|
|
4826
|
+
"button": {
|
|
4827
|
+
"default": "left",
|
|
4828
|
+
"type": "string",
|
|
4829
|
+
"enum": [
|
|
4830
|
+
"left",
|
|
4831
|
+
"right",
|
|
4832
|
+
"middle"
|
|
4833
|
+
]
|
|
4834
|
+
},
|
|
4835
|
+
"double": {
|
|
4836
|
+
"default": false,
|
|
4837
|
+
"type": "boolean"
|
|
4838
|
+
}
|
|
4839
|
+
},
|
|
4840
|
+
"additionalProperties": false
|
|
4841
|
+
},
|
|
4842
|
+
"InputMouseClickResult": {
|
|
4843
|
+
"type": "object",
|
|
4844
|
+
"properties": {
|
|
4845
|
+
"position": {
|
|
4846
|
+
"$ref": "#/$defs/InputPoint"
|
|
4847
|
+
},
|
|
4848
|
+
"button": {
|
|
4849
|
+
"type": "string",
|
|
4850
|
+
"enum": [
|
|
4851
|
+
"left",
|
|
4852
|
+
"right",
|
|
4853
|
+
"middle"
|
|
4854
|
+
]
|
|
4855
|
+
},
|
|
4856
|
+
"double": {
|
|
4857
|
+
"type": "boolean"
|
|
4858
|
+
}
|
|
4859
|
+
},
|
|
4860
|
+
"required": [
|
|
4861
|
+
"position",
|
|
4862
|
+
"button",
|
|
4863
|
+
"double"
|
|
4864
|
+
],
|
|
4865
|
+
"additionalProperties": false
|
|
4866
|
+
},
|
|
4867
|
+
"PowerStatusParams": {
|
|
4868
|
+
"type": "object",
|
|
4869
|
+
"properties": {},
|
|
4870
|
+
"additionalProperties": false
|
|
4871
|
+
},
|
|
4872
|
+
"PowerStatusResult": {
|
|
4873
|
+
"type": "object",
|
|
4874
|
+
"properties": {
|
|
4875
|
+
"has_battery": {
|
|
4876
|
+
"type": "boolean"
|
|
4877
|
+
},
|
|
4878
|
+
"percent": {
|
|
4879
|
+
"anyOf": [
|
|
4880
|
+
{
|
|
4881
|
+
"type": "number",
|
|
4882
|
+
"minimum": 0,
|
|
4883
|
+
"maximum": 100
|
|
4884
|
+
},
|
|
4885
|
+
{
|
|
4886
|
+
"type": "null"
|
|
4887
|
+
}
|
|
4888
|
+
]
|
|
4889
|
+
},
|
|
4890
|
+
"charging": {
|
|
4891
|
+
"type": [
|
|
4892
|
+
"boolean",
|
|
4893
|
+
"null"
|
|
4894
|
+
]
|
|
4895
|
+
},
|
|
4896
|
+
"plugged_in": {
|
|
4897
|
+
"type": [
|
|
4898
|
+
"boolean",
|
|
4899
|
+
"null"
|
|
4900
|
+
]
|
|
4901
|
+
},
|
|
4902
|
+
"minutes_left": {
|
|
4903
|
+
"anyOf": [
|
|
4904
|
+
{
|
|
4905
|
+
"type": "integer",
|
|
4906
|
+
"minimum": 0,
|
|
4907
|
+
"maximum": 9007199254740991
|
|
4908
|
+
},
|
|
4909
|
+
{
|
|
4910
|
+
"type": "null"
|
|
4911
|
+
}
|
|
4912
|
+
]
|
|
4913
|
+
},
|
|
4914
|
+
"awake_until_ms": {
|
|
4915
|
+
"anyOf": [
|
|
4916
|
+
{
|
|
4917
|
+
"type": "integer",
|
|
4918
|
+
"minimum": 0,
|
|
4919
|
+
"maximum": 9007199254740991
|
|
4920
|
+
},
|
|
4921
|
+
{
|
|
4922
|
+
"type": "null"
|
|
4923
|
+
}
|
|
4924
|
+
]
|
|
4925
|
+
}
|
|
4926
|
+
},
|
|
4927
|
+
"required": [
|
|
4928
|
+
"has_battery",
|
|
4929
|
+
"percent",
|
|
4930
|
+
"charging",
|
|
4931
|
+
"plugged_in",
|
|
4932
|
+
"minutes_left",
|
|
4933
|
+
"awake_until_ms"
|
|
4934
|
+
],
|
|
4935
|
+
"additionalProperties": false
|
|
4936
|
+
},
|
|
4937
|
+
"PowerPreventSleepParams": {
|
|
4938
|
+
"type": "object",
|
|
4939
|
+
"properties": {
|
|
4940
|
+
"seconds": {
|
|
4941
|
+
"type": "integer",
|
|
4942
|
+
"minimum": 0,
|
|
4943
|
+
"maximum": 86400
|
|
4944
|
+
},
|
|
4945
|
+
"reason": {
|
|
4946
|
+
"default": "Matrx 2 is working",
|
|
4947
|
+
"type": "string",
|
|
4948
|
+
"minLength": 1,
|
|
4949
|
+
"maxLength": 128
|
|
4950
|
+
}
|
|
4951
|
+
},
|
|
4952
|
+
"required": [
|
|
4953
|
+
"seconds"
|
|
4954
|
+
],
|
|
4955
|
+
"additionalProperties": false
|
|
4956
|
+
},
|
|
4957
|
+
"PowerPreventSleepResult": {
|
|
4958
|
+
"type": "object",
|
|
4959
|
+
"properties": {
|
|
4960
|
+
"awake_until_ms": {
|
|
4961
|
+
"anyOf": [
|
|
4962
|
+
{
|
|
4963
|
+
"type": "integer",
|
|
4964
|
+
"minimum": 0,
|
|
4965
|
+
"maximum": 9007199254740991
|
|
4966
|
+
},
|
|
4967
|
+
{
|
|
4968
|
+
"type": "null"
|
|
4969
|
+
}
|
|
4970
|
+
]
|
|
4971
|
+
}
|
|
4972
|
+
},
|
|
4973
|
+
"required": [
|
|
4974
|
+
"awake_until_ms"
|
|
4975
|
+
],
|
|
4976
|
+
"additionalProperties": false
|
|
4977
|
+
},
|
|
4978
|
+
"ResourcesDisk": {
|
|
4979
|
+
"type": "object",
|
|
4980
|
+
"properties": {
|
|
4981
|
+
"mount": {
|
|
4982
|
+
"type": "string",
|
|
4983
|
+
"maxLength": 512
|
|
4984
|
+
},
|
|
4985
|
+
"fs": {
|
|
4986
|
+
"type": "string",
|
|
4987
|
+
"maxLength": 64
|
|
4988
|
+
},
|
|
4989
|
+
"size_bytes": {
|
|
4990
|
+
"type": "integer",
|
|
4991
|
+
"minimum": 0,
|
|
4992
|
+
"maximum": 9007199254740991
|
|
4993
|
+
},
|
|
4994
|
+
"used_bytes": {
|
|
4995
|
+
"type": "integer",
|
|
4996
|
+
"minimum": 0,
|
|
4997
|
+
"maximum": 9007199254740991
|
|
4998
|
+
},
|
|
4999
|
+
"available_bytes": {
|
|
5000
|
+
"type": "integer",
|
|
5001
|
+
"minimum": 0,
|
|
5002
|
+
"maximum": 9007199254740991
|
|
5003
|
+
}
|
|
5004
|
+
},
|
|
5005
|
+
"required": [
|
|
5006
|
+
"mount",
|
|
5007
|
+
"fs",
|
|
5008
|
+
"size_bytes",
|
|
5009
|
+
"used_bytes",
|
|
5010
|
+
"available_bytes"
|
|
5011
|
+
],
|
|
5012
|
+
"additionalProperties": false
|
|
5013
|
+
},
|
|
5014
|
+
"ResourcesSnapshotParams": {
|
|
5015
|
+
"type": "object",
|
|
5016
|
+
"properties": {},
|
|
5017
|
+
"additionalProperties": false
|
|
5018
|
+
},
|
|
5019
|
+
"ResourcesSnapshotResult": {
|
|
5020
|
+
"type": "object",
|
|
5021
|
+
"properties": {
|
|
5022
|
+
"cpu": {
|
|
5023
|
+
"type": "object",
|
|
5024
|
+
"properties": {
|
|
5025
|
+
"percent": {
|
|
5026
|
+
"type": "number",
|
|
5027
|
+
"minimum": 0,
|
|
5028
|
+
"maximum": 100
|
|
5029
|
+
},
|
|
5030
|
+
"cores": {
|
|
5031
|
+
"type": "integer",
|
|
5032
|
+
"minimum": 1,
|
|
5033
|
+
"maximum": 9007199254740991
|
|
5034
|
+
},
|
|
5035
|
+
"load": {
|
|
5036
|
+
"anyOf": [
|
|
5037
|
+
{
|
|
5038
|
+
"minItems": 3,
|
|
5039
|
+
"maxItems": 3,
|
|
5040
|
+
"type": "array",
|
|
5041
|
+
"items": {
|
|
5042
|
+
"type": "number",
|
|
5043
|
+
"minimum": 0
|
|
5044
|
+
}
|
|
5045
|
+
},
|
|
5046
|
+
{
|
|
5047
|
+
"type": "null"
|
|
5048
|
+
}
|
|
5049
|
+
]
|
|
5050
|
+
}
|
|
5051
|
+
},
|
|
5052
|
+
"required": [
|
|
5053
|
+
"percent",
|
|
5054
|
+
"cores",
|
|
5055
|
+
"load"
|
|
5056
|
+
],
|
|
5057
|
+
"additionalProperties": false
|
|
5058
|
+
},
|
|
5059
|
+
"memory": {
|
|
5060
|
+
"type": "object",
|
|
5061
|
+
"properties": {
|
|
5062
|
+
"total_bytes": {
|
|
5063
|
+
"type": "integer",
|
|
5064
|
+
"minimum": 0,
|
|
5065
|
+
"maximum": 9007199254740991
|
|
5066
|
+
},
|
|
5067
|
+
"used_bytes": {
|
|
5068
|
+
"type": "integer",
|
|
5069
|
+
"minimum": 0,
|
|
5070
|
+
"maximum": 9007199254740991
|
|
5071
|
+
},
|
|
5072
|
+
"available_bytes": {
|
|
5073
|
+
"type": "integer",
|
|
5074
|
+
"minimum": 0,
|
|
5075
|
+
"maximum": 9007199254740991
|
|
5076
|
+
}
|
|
5077
|
+
},
|
|
5078
|
+
"required": [
|
|
5079
|
+
"total_bytes",
|
|
5080
|
+
"used_bytes",
|
|
5081
|
+
"available_bytes"
|
|
5082
|
+
],
|
|
5083
|
+
"additionalProperties": false
|
|
5084
|
+
},
|
|
5085
|
+
"swap": {
|
|
5086
|
+
"type": "object",
|
|
5087
|
+
"properties": {
|
|
5088
|
+
"total_bytes": {
|
|
5089
|
+
"type": "integer",
|
|
5090
|
+
"minimum": 0,
|
|
5091
|
+
"maximum": 9007199254740991
|
|
5092
|
+
},
|
|
5093
|
+
"used_bytes": {
|
|
5094
|
+
"type": "integer",
|
|
5095
|
+
"minimum": 0,
|
|
5096
|
+
"maximum": 9007199254740991
|
|
5097
|
+
}
|
|
5098
|
+
},
|
|
5099
|
+
"required": [
|
|
5100
|
+
"total_bytes",
|
|
5101
|
+
"used_bytes"
|
|
5102
|
+
],
|
|
5103
|
+
"additionalProperties": false
|
|
5104
|
+
},
|
|
5105
|
+
"disks": {
|
|
5106
|
+
"maxItems": 64,
|
|
5107
|
+
"type": "array",
|
|
5108
|
+
"items": {
|
|
5109
|
+
"$ref": "#/$defs/ResourcesDisk"
|
|
5110
|
+
}
|
|
5111
|
+
},
|
|
5112
|
+
"uptime_seconds": {
|
|
5113
|
+
"type": "integer",
|
|
5114
|
+
"minimum": 0,
|
|
5115
|
+
"maximum": 9007199254740991
|
|
5116
|
+
}
|
|
5117
|
+
},
|
|
5118
|
+
"required": [
|
|
5119
|
+
"cpu",
|
|
5120
|
+
"memory",
|
|
5121
|
+
"swap",
|
|
5122
|
+
"disks",
|
|
5123
|
+
"uptime_seconds"
|
|
5124
|
+
],
|
|
5125
|
+
"additionalProperties": false
|
|
5126
|
+
},
|
|
5127
|
+
"FsWatchId": {
|
|
5128
|
+
"type": "string",
|
|
5129
|
+
"pattern": "^fw_[A-Za-z0-9]{12,40}$"
|
|
5130
|
+
},
|
|
5131
|
+
"FsWatchStartParams": {
|
|
5132
|
+
"type": "object",
|
|
5133
|
+
"properties": {
|
|
5134
|
+
"path": {
|
|
5135
|
+
"$ref": "#/$defs/AbsPath"
|
|
5136
|
+
},
|
|
5137
|
+
"recursive": {
|
|
5138
|
+
"default": true,
|
|
5139
|
+
"type": "boolean"
|
|
5140
|
+
},
|
|
5141
|
+
"ignore": {
|
|
5142
|
+
"default": [],
|
|
5143
|
+
"maxItems": 64,
|
|
5144
|
+
"type": "array",
|
|
5145
|
+
"items": {
|
|
5146
|
+
"type": "string",
|
|
5147
|
+
"maxLength": 256
|
|
5148
|
+
}
|
|
5149
|
+
}
|
|
5150
|
+
},
|
|
5151
|
+
"required": [
|
|
5152
|
+
"path"
|
|
5153
|
+
],
|
|
5154
|
+
"additionalProperties": false
|
|
5155
|
+
},
|
|
5156
|
+
"FsWatchStartResult": {
|
|
5157
|
+
"type": "object",
|
|
5158
|
+
"properties": {
|
|
5159
|
+
"watch_id": {
|
|
5160
|
+
"$ref": "#/$defs/FsWatchId"
|
|
5161
|
+
},
|
|
5162
|
+
"path": {
|
|
5163
|
+
"$ref": "#/$defs/AbsPath"
|
|
5164
|
+
},
|
|
5165
|
+
"expires_at_ms": {
|
|
5166
|
+
"type": "integer",
|
|
5167
|
+
"minimum": 0,
|
|
5168
|
+
"maximum": 9007199254740991
|
|
5169
|
+
}
|
|
5170
|
+
},
|
|
5171
|
+
"required": [
|
|
5172
|
+
"watch_id",
|
|
5173
|
+
"path",
|
|
5174
|
+
"expires_at_ms"
|
|
5175
|
+
],
|
|
5176
|
+
"additionalProperties": false
|
|
5177
|
+
},
|
|
5178
|
+
"FsWatchEventsParams": {
|
|
5179
|
+
"type": "object",
|
|
5180
|
+
"properties": {
|
|
5181
|
+
"watch_id": {
|
|
5182
|
+
"$ref": "#/$defs/FsWatchId"
|
|
5183
|
+
},
|
|
5184
|
+
"wait_ms": {
|
|
5185
|
+
"default": 0,
|
|
5186
|
+
"type": "integer",
|
|
5187
|
+
"minimum": 0,
|
|
5188
|
+
"maximum": 25000
|
|
5189
|
+
}
|
|
5190
|
+
},
|
|
5191
|
+
"required": [
|
|
5192
|
+
"watch_id"
|
|
5193
|
+
],
|
|
5194
|
+
"additionalProperties": false
|
|
5195
|
+
},
|
|
5196
|
+
"FsWatchEventsResult": {
|
|
5197
|
+
"type": "object",
|
|
5198
|
+
"properties": {
|
|
5199
|
+
"changes": {
|
|
5200
|
+
"maxItems": 1000,
|
|
5201
|
+
"type": "array",
|
|
5202
|
+
"items": {
|
|
5203
|
+
"$ref": "#/$defs/FsChange"
|
|
5204
|
+
}
|
|
5205
|
+
},
|
|
5206
|
+
"overflow": {
|
|
5207
|
+
"type": "boolean"
|
|
5208
|
+
},
|
|
5209
|
+
"expires_at_ms": {
|
|
5210
|
+
"type": "integer",
|
|
5211
|
+
"minimum": 0,
|
|
5212
|
+
"maximum": 9007199254740991
|
|
5213
|
+
}
|
|
5214
|
+
},
|
|
5215
|
+
"required": [
|
|
5216
|
+
"changes",
|
|
5217
|
+
"overflow",
|
|
5218
|
+
"expires_at_ms"
|
|
5219
|
+
],
|
|
5220
|
+
"additionalProperties": false
|
|
5221
|
+
},
|
|
5222
|
+
"FsWatchStopParams": {
|
|
5223
|
+
"type": "object",
|
|
5224
|
+
"properties": {
|
|
5225
|
+
"watch_id": {
|
|
5226
|
+
"$ref": "#/$defs/FsWatchId"
|
|
5227
|
+
}
|
|
5228
|
+
},
|
|
5229
|
+
"required": [
|
|
5230
|
+
"watch_id"
|
|
5231
|
+
],
|
|
5232
|
+
"additionalProperties": false
|
|
5233
|
+
},
|
|
5234
|
+
"FsWatchStopResult": {
|
|
5235
|
+
"type": "object",
|
|
5236
|
+
"properties": {
|
|
5237
|
+
"watch_id": {
|
|
5238
|
+
"$ref": "#/$defs/FsWatchId"
|
|
5239
|
+
}
|
|
5240
|
+
},
|
|
5241
|
+
"required": [
|
|
5242
|
+
"watch_id"
|
|
5243
|
+
],
|
|
5244
|
+
"additionalProperties": false
|
|
5245
|
+
},
|
|
5246
|
+
"ExecJobId": {
|
|
5247
|
+
"type": "string",
|
|
5248
|
+
"pattern": "^job_[A-Za-z0-9]{12,40}$"
|
|
5249
|
+
},
|
|
5250
|
+
"ExecJobStartParams": {
|
|
5251
|
+
"type": "object",
|
|
5252
|
+
"properties": {
|
|
5253
|
+
"command": {
|
|
5254
|
+
"type": "string",
|
|
5255
|
+
"minLength": 1,
|
|
5256
|
+
"maxLength": 131072
|
|
5257
|
+
},
|
|
5258
|
+
"cwd": {
|
|
5259
|
+
"$ref": "#/$defs/AbsPath"
|
|
5260
|
+
},
|
|
5261
|
+
"env": {
|
|
5262
|
+
"type": "object",
|
|
5263
|
+
"propertyNames": {
|
|
5264
|
+
"type": "string",
|
|
5265
|
+
"maxLength": 128,
|
|
5266
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
|
|
5267
|
+
},
|
|
5268
|
+
"additionalProperties": {
|
|
5269
|
+
"type": "string",
|
|
5270
|
+
"maxLength": 32768
|
|
5271
|
+
}
|
|
5272
|
+
}
|
|
5273
|
+
},
|
|
5274
|
+
"required": [
|
|
5275
|
+
"command"
|
|
5276
|
+
],
|
|
5277
|
+
"additionalProperties": false
|
|
5278
|
+
},
|
|
5279
|
+
"ExecJobStartResult": {
|
|
5280
|
+
"type": "object",
|
|
5281
|
+
"properties": {
|
|
5282
|
+
"job_id": {
|
|
5283
|
+
"$ref": "#/$defs/ExecJobId"
|
|
5284
|
+
},
|
|
5285
|
+
"pid": {
|
|
5286
|
+
"type": "integer",
|
|
5287
|
+
"minimum": 1,
|
|
5288
|
+
"maximum": 9007199254740991
|
|
5289
|
+
},
|
|
5290
|
+
"cwd": {
|
|
5291
|
+
"$ref": "#/$defs/AbsPath"
|
|
5292
|
+
}
|
|
5293
|
+
},
|
|
5294
|
+
"required": [
|
|
5295
|
+
"job_id",
|
|
5296
|
+
"pid",
|
|
5297
|
+
"cwd"
|
|
5298
|
+
],
|
|
5299
|
+
"additionalProperties": false
|
|
5300
|
+
},
|
|
5301
|
+
"ExecJobOutputParams": {
|
|
5302
|
+
"type": "object",
|
|
5303
|
+
"properties": {
|
|
5304
|
+
"job_id": {
|
|
5305
|
+
"$ref": "#/$defs/ExecJobId"
|
|
5306
|
+
},
|
|
5307
|
+
"offset": {
|
|
5308
|
+
"default": 0,
|
|
5309
|
+
"type": "integer",
|
|
5310
|
+
"minimum": 0,
|
|
5311
|
+
"maximum": 9007199254740991
|
|
5312
|
+
},
|
|
5313
|
+
"wait_ms": {
|
|
5314
|
+
"default": 0,
|
|
5315
|
+
"type": "integer",
|
|
5316
|
+
"minimum": 0,
|
|
5317
|
+
"maximum": 25000
|
|
5318
|
+
},
|
|
5319
|
+
"max_bytes": {
|
|
5320
|
+
"default": 65536,
|
|
5321
|
+
"type": "integer",
|
|
5322
|
+
"minimum": 1024,
|
|
5323
|
+
"maximum": 1048576
|
|
5324
|
+
}
|
|
5325
|
+
},
|
|
5326
|
+
"required": [
|
|
5327
|
+
"job_id"
|
|
5328
|
+
],
|
|
5329
|
+
"additionalProperties": false
|
|
5330
|
+
},
|
|
5331
|
+
"ExecJobOutputResult": {
|
|
5332
|
+
"type": "object",
|
|
5333
|
+
"properties": {
|
|
5334
|
+
"output": {
|
|
5335
|
+
"type": "string"
|
|
5336
|
+
},
|
|
5337
|
+
"next_offset": {
|
|
5338
|
+
"type": "integer",
|
|
5339
|
+
"minimum": 0,
|
|
5340
|
+
"maximum": 9007199254740991
|
|
5341
|
+
},
|
|
5342
|
+
"dropped_bytes": {
|
|
5343
|
+
"type": "integer",
|
|
5344
|
+
"minimum": 0,
|
|
5345
|
+
"maximum": 9007199254740991
|
|
5346
|
+
},
|
|
5347
|
+
"running": {
|
|
5348
|
+
"type": "boolean"
|
|
5349
|
+
},
|
|
5350
|
+
"exit_code": {
|
|
5351
|
+
"anyOf": [
|
|
5352
|
+
{
|
|
5353
|
+
"type": "integer",
|
|
5354
|
+
"minimum": -9007199254740991,
|
|
5355
|
+
"maximum": 9007199254740991
|
|
5356
|
+
},
|
|
5357
|
+
{
|
|
5358
|
+
"type": "null"
|
|
5359
|
+
}
|
|
5360
|
+
]
|
|
5361
|
+
}
|
|
5362
|
+
},
|
|
5363
|
+
"required": [
|
|
5364
|
+
"output",
|
|
5365
|
+
"next_offset",
|
|
5366
|
+
"dropped_bytes",
|
|
5367
|
+
"running",
|
|
5368
|
+
"exit_code"
|
|
5369
|
+
],
|
|
5370
|
+
"additionalProperties": false
|
|
5371
|
+
},
|
|
5372
|
+
"ExecJobStopParams": {
|
|
5373
|
+
"type": "object",
|
|
5374
|
+
"properties": {
|
|
5375
|
+
"job_id": {
|
|
5376
|
+
"$ref": "#/$defs/ExecJobId"
|
|
5377
|
+
},
|
|
5378
|
+
"force": {
|
|
5379
|
+
"default": false,
|
|
5380
|
+
"type": "boolean"
|
|
5381
|
+
}
|
|
5382
|
+
},
|
|
5383
|
+
"required": [
|
|
5384
|
+
"job_id"
|
|
5385
|
+
],
|
|
5386
|
+
"additionalProperties": false
|
|
5387
|
+
},
|
|
5388
|
+
"ExecJobStopResult": {
|
|
3835
5389
|
"type": "object",
|
|
3836
5390
|
"properties": {
|
|
3837
|
-
"
|
|
3838
|
-
"
|
|
3839
|
-
"maxLength": 1048576
|
|
5391
|
+
"job_id": {
|
|
5392
|
+
"$ref": "#/$defs/ExecJobId"
|
|
3840
5393
|
},
|
|
3841
|
-
"
|
|
5394
|
+
"exited": {
|
|
3842
5395
|
"type": "boolean"
|
|
5396
|
+
},
|
|
5397
|
+
"exit_code": {
|
|
5398
|
+
"anyOf": [
|
|
5399
|
+
{
|
|
5400
|
+
"type": "integer",
|
|
5401
|
+
"minimum": -9007199254740991,
|
|
5402
|
+
"maximum": 9007199254740991
|
|
5403
|
+
},
|
|
5404
|
+
{
|
|
5405
|
+
"type": "null"
|
|
5406
|
+
}
|
|
5407
|
+
]
|
|
3843
5408
|
}
|
|
3844
5409
|
},
|
|
3845
5410
|
"required": [
|
|
3846
|
-
"
|
|
3847
|
-
"
|
|
5411
|
+
"job_id",
|
|
5412
|
+
"exited",
|
|
5413
|
+
"exit_code"
|
|
3848
5414
|
],
|
|
3849
5415
|
"additionalProperties": false
|
|
3850
5416
|
},
|
|
3851
|
-
"
|
|
5417
|
+
"ExecJobInfo": {
|
|
3852
5418
|
"type": "object",
|
|
3853
5419
|
"properties": {
|
|
3854
|
-
"
|
|
5420
|
+
"job_id": {
|
|
5421
|
+
"$ref": "#/$defs/ExecJobId"
|
|
5422
|
+
},
|
|
5423
|
+
"command": {
|
|
3855
5424
|
"type": "string",
|
|
3856
|
-
"maxLength":
|
|
5425
|
+
"maxLength": 1024
|
|
5426
|
+
},
|
|
5427
|
+
"pid": {
|
|
5428
|
+
"type": "integer",
|
|
5429
|
+
"minimum": 1,
|
|
5430
|
+
"maximum": 9007199254740991
|
|
5431
|
+
},
|
|
5432
|
+
"cwd": {
|
|
5433
|
+
"$ref": "#/$defs/AbsPath"
|
|
5434
|
+
},
|
|
5435
|
+
"running": {
|
|
5436
|
+
"type": "boolean"
|
|
5437
|
+
},
|
|
5438
|
+
"exit_code": {
|
|
5439
|
+
"anyOf": [
|
|
5440
|
+
{
|
|
5441
|
+
"type": "integer",
|
|
5442
|
+
"minimum": -9007199254740991,
|
|
5443
|
+
"maximum": 9007199254740991
|
|
5444
|
+
},
|
|
5445
|
+
{
|
|
5446
|
+
"type": "null"
|
|
5447
|
+
}
|
|
5448
|
+
]
|
|
5449
|
+
},
|
|
5450
|
+
"started_at_ms": {
|
|
5451
|
+
"type": "integer",
|
|
5452
|
+
"minimum": 0,
|
|
5453
|
+
"maximum": 9007199254740991
|
|
5454
|
+
},
|
|
5455
|
+
"output_bytes": {
|
|
5456
|
+
"type": "integer",
|
|
5457
|
+
"minimum": 0,
|
|
5458
|
+
"maximum": 9007199254740991
|
|
3857
5459
|
}
|
|
3858
5460
|
},
|
|
3859
5461
|
"required": [
|
|
3860
|
-
"
|
|
5462
|
+
"job_id",
|
|
5463
|
+
"command",
|
|
5464
|
+
"pid",
|
|
5465
|
+
"cwd",
|
|
5466
|
+
"running",
|
|
5467
|
+
"exit_code",
|
|
5468
|
+
"started_at_ms",
|
|
5469
|
+
"output_bytes"
|
|
3861
5470
|
],
|
|
3862
5471
|
"additionalProperties": false
|
|
3863
5472
|
},
|
|
3864
|
-
"
|
|
5473
|
+
"ExecJobListParams": {
|
|
5474
|
+
"type": "object",
|
|
5475
|
+
"properties": {},
|
|
5476
|
+
"additionalProperties": false
|
|
5477
|
+
},
|
|
5478
|
+
"ExecJobListResult": {
|
|
3865
5479
|
"type": "object",
|
|
3866
5480
|
"properties": {
|
|
3867
|
-
"
|
|
3868
|
-
"
|
|
3869
|
-
"
|
|
3870
|
-
"
|
|
5481
|
+
"jobs": {
|
|
5482
|
+
"maxItems": 64,
|
|
5483
|
+
"type": "array",
|
|
5484
|
+
"items": {
|
|
5485
|
+
"$ref": "#/$defs/ExecJobInfo"
|
|
5486
|
+
}
|
|
3871
5487
|
}
|
|
3872
5488
|
},
|
|
3873
5489
|
"required": [
|
|
3874
|
-
"
|
|
5490
|
+
"jobs"
|
|
3875
5491
|
],
|
|
3876
5492
|
"additionalProperties": false
|
|
3877
5493
|
},
|
|
@@ -4857,6 +6473,275 @@
|
|
|
4857
6473
|
"PAYLOAD_TOO_LARGE",
|
|
4858
6474
|
"INTERNAL"
|
|
4859
6475
|
]
|
|
6476
|
+
},
|
|
6477
|
+
"fs.watch.start": {
|
|
6478
|
+
"params": "FsWatchStartParams",
|
|
6479
|
+
"result": "FsWatchStartResult",
|
|
6480
|
+
"kind": "unary",
|
|
6481
|
+
"since": "1.4",
|
|
6482
|
+
"errors": [
|
|
6483
|
+
"NOT_FOUND",
|
|
6484
|
+
"PERMISSION_DENIED_OS",
|
|
6485
|
+
"INVALID_PARAMS",
|
|
6486
|
+
"RESOURCE_BUSY",
|
|
6487
|
+
"INTERNAL",
|
|
6488
|
+
"RATE_LIMITED"
|
|
6489
|
+
]
|
|
6490
|
+
},
|
|
6491
|
+
"fs.watch.events": {
|
|
6492
|
+
"params": "FsWatchEventsParams",
|
|
6493
|
+
"result": "FsWatchEventsResult",
|
|
6494
|
+
"kind": "unary",
|
|
6495
|
+
"since": "1.4",
|
|
6496
|
+
"errors": [
|
|
6497
|
+
"RESOURCE_GONE",
|
|
6498
|
+
"INVALID_PARAMS",
|
|
6499
|
+
"INTERNAL"
|
|
6500
|
+
]
|
|
6501
|
+
},
|
|
6502
|
+
"fs.watch.stop": {
|
|
6503
|
+
"params": "FsWatchStopParams",
|
|
6504
|
+
"result": "FsWatchStopResult",
|
|
6505
|
+
"kind": "unary",
|
|
6506
|
+
"since": "1.4",
|
|
6507
|
+
"errors": [
|
|
6508
|
+
"RESOURCE_GONE",
|
|
6509
|
+
"INVALID_PARAMS"
|
|
6510
|
+
]
|
|
6511
|
+
},
|
|
6512
|
+
"exec.job.start": {
|
|
6513
|
+
"params": "ExecJobStartParams",
|
|
6514
|
+
"result": "ExecJobStartResult",
|
|
6515
|
+
"kind": "unary",
|
|
6516
|
+
"since": "1.4",
|
|
6517
|
+
"errors": [
|
|
6518
|
+
"INVALID_PARAMS",
|
|
6519
|
+
"NOT_FOUND",
|
|
6520
|
+
"RATE_LIMITED",
|
|
6521
|
+
"INTERNAL"
|
|
6522
|
+
]
|
|
6523
|
+
},
|
|
6524
|
+
"exec.job.output": {
|
|
6525
|
+
"params": "ExecJobOutputParams",
|
|
6526
|
+
"result": "ExecJobOutputResult",
|
|
6527
|
+
"kind": "unary",
|
|
6528
|
+
"since": "1.4",
|
|
6529
|
+
"errors": [
|
|
6530
|
+
"RESOURCE_GONE",
|
|
6531
|
+
"INVALID_PARAMS"
|
|
6532
|
+
]
|
|
6533
|
+
},
|
|
6534
|
+
"exec.job.stop": {
|
|
6535
|
+
"params": "ExecJobStopParams",
|
|
6536
|
+
"result": "ExecJobStopResult",
|
|
6537
|
+
"kind": "unary",
|
|
6538
|
+
"since": "1.4",
|
|
6539
|
+
"errors": [
|
|
6540
|
+
"RESOURCE_GONE",
|
|
6541
|
+
"INVALID_PARAMS",
|
|
6542
|
+
"INTERNAL"
|
|
6543
|
+
]
|
|
6544
|
+
},
|
|
6545
|
+
"exec.job.list": {
|
|
6546
|
+
"params": "ExecJobListParams",
|
|
6547
|
+
"result": "ExecJobListResult",
|
|
6548
|
+
"kind": "unary",
|
|
6549
|
+
"since": "1.4",
|
|
6550
|
+
"errors": [
|
|
6551
|
+
"INTERNAL"
|
|
6552
|
+
]
|
|
6553
|
+
},
|
|
6554
|
+
"system.open_url": {
|
|
6555
|
+
"params": "SystemOpenUrlParams",
|
|
6556
|
+
"result": "SystemOpenUrlResult",
|
|
6557
|
+
"kind": "unary",
|
|
6558
|
+
"since": "1.4",
|
|
6559
|
+
"errors": [
|
|
6560
|
+
"INVALID_PARAMS",
|
|
6561
|
+
"PLATFORM_UNSUPPORTED",
|
|
6562
|
+
"INTERNAL"
|
|
6563
|
+
]
|
|
6564
|
+
},
|
|
6565
|
+
"system.open_path": {
|
|
6566
|
+
"params": "SystemOpenPathParams",
|
|
6567
|
+
"result": "SystemOpenPathResult",
|
|
6568
|
+
"kind": "unary",
|
|
6569
|
+
"since": "1.4",
|
|
6570
|
+
"errors": [
|
|
6571
|
+
"NOT_FOUND",
|
|
6572
|
+
"INVALID_PARAMS",
|
|
6573
|
+
"PLATFORM_UNSUPPORTED",
|
|
6574
|
+
"INTERNAL"
|
|
6575
|
+
]
|
|
6576
|
+
},
|
|
6577
|
+
"system.notify": {
|
|
6578
|
+
"params": "SystemNotifyParams",
|
|
6579
|
+
"result": "SystemNotifyResult",
|
|
6580
|
+
"kind": "unary",
|
|
6581
|
+
"since": "1.4",
|
|
6582
|
+
"errors": [
|
|
6583
|
+
"PERMISSION_DENIED_OS",
|
|
6584
|
+
"INTERNAL"
|
|
6585
|
+
]
|
|
6586
|
+
},
|
|
6587
|
+
"screen.list": {
|
|
6588
|
+
"params": "ScreenListParams",
|
|
6589
|
+
"result": "ScreenListResult",
|
|
6590
|
+
"kind": "unary",
|
|
6591
|
+
"since": "1.4",
|
|
6592
|
+
"errors": [
|
|
6593
|
+
"PERMISSION_DENIED_OS",
|
|
6594
|
+
"PLATFORM_UNSUPPORTED",
|
|
6595
|
+
"INTERNAL"
|
|
6596
|
+
]
|
|
6597
|
+
},
|
|
6598
|
+
"screen.capture": {
|
|
6599
|
+
"params": "ScreenCaptureParams",
|
|
6600
|
+
"result": "ScreenCaptureResult",
|
|
6601
|
+
"kind": "unary",
|
|
6602
|
+
"since": "1.4",
|
|
6603
|
+
"errors": [
|
|
6604
|
+
"NOT_FOUND",
|
|
6605
|
+
"PERMISSION_DENIED_OS",
|
|
6606
|
+
"PLATFORM_UNSUPPORTED",
|
|
6607
|
+
"PAYLOAD_TOO_LARGE",
|
|
6608
|
+
"INTERNAL"
|
|
6609
|
+
]
|
|
6610
|
+
},
|
|
6611
|
+
"window.list": {
|
|
6612
|
+
"params": "WindowListParams",
|
|
6613
|
+
"result": "WindowListResult",
|
|
6614
|
+
"kind": "unary",
|
|
6615
|
+
"since": "1.4",
|
|
6616
|
+
"errors": [
|
|
6617
|
+
"PERMISSION_DENIED_OS",
|
|
6618
|
+
"PLATFORM_UNSUPPORTED",
|
|
6619
|
+
"INTERNAL"
|
|
6620
|
+
]
|
|
6621
|
+
},
|
|
6622
|
+
"window.focus": {
|
|
6623
|
+
"params": "WindowFocusParams",
|
|
6624
|
+
"result": "WindowFocusResult",
|
|
6625
|
+
"kind": "unary",
|
|
6626
|
+
"since": "1.4",
|
|
6627
|
+
"errors": [
|
|
6628
|
+
"NOT_FOUND",
|
|
6629
|
+
"PERMISSION_DENIED_OS",
|
|
6630
|
+
"PLATFORM_UNSUPPORTED",
|
|
6631
|
+
"INTERNAL"
|
|
6632
|
+
]
|
|
6633
|
+
},
|
|
6634
|
+
"window.move": {
|
|
6635
|
+
"params": "WindowMoveParams",
|
|
6636
|
+
"result": "WindowMoveResult",
|
|
6637
|
+
"kind": "unary",
|
|
6638
|
+
"since": "1.4",
|
|
6639
|
+
"errors": [
|
|
6640
|
+
"NOT_FOUND",
|
|
6641
|
+
"INVALID_PARAMS",
|
|
6642
|
+
"PERMISSION_DENIED_OS",
|
|
6643
|
+
"PLATFORM_UNSUPPORTED",
|
|
6644
|
+
"INTERNAL"
|
|
6645
|
+
]
|
|
6646
|
+
},
|
|
6647
|
+
"window.minimize": {
|
|
6648
|
+
"params": "WindowMinimizeParams",
|
|
6649
|
+
"result": "WindowMinimizeResult",
|
|
6650
|
+
"kind": "unary",
|
|
6651
|
+
"since": "1.4",
|
|
6652
|
+
"errors": [
|
|
6653
|
+
"NOT_FOUND",
|
|
6654
|
+
"PERMISSION_DENIED_OS",
|
|
6655
|
+
"PLATFORM_UNSUPPORTED",
|
|
6656
|
+
"INTERNAL"
|
|
6657
|
+
]
|
|
6658
|
+
},
|
|
6659
|
+
"input.type_text": {
|
|
6660
|
+
"params": "InputTypeTextParams",
|
|
6661
|
+
"result": "InputTypeTextResult",
|
|
6662
|
+
"kind": "unary",
|
|
6663
|
+
"since": "1.4",
|
|
6664
|
+
"errors": [
|
|
6665
|
+
"PERMISSION_DENIED_OS",
|
|
6666
|
+
"PLATFORM_UNSUPPORTED",
|
|
6667
|
+
"INTERNAL"
|
|
6668
|
+
]
|
|
6669
|
+
},
|
|
6670
|
+
"input.hotkey": {
|
|
6671
|
+
"params": "InputHotkeyParams",
|
|
6672
|
+
"result": "InputHotkeyResult",
|
|
6673
|
+
"kind": "unary",
|
|
6674
|
+
"since": "1.4",
|
|
6675
|
+
"errors": [
|
|
6676
|
+
"INVALID_PARAMS",
|
|
6677
|
+
"PERMISSION_DENIED_OS",
|
|
6678
|
+
"PLATFORM_UNSUPPORTED",
|
|
6679
|
+
"INTERNAL"
|
|
6680
|
+
]
|
|
6681
|
+
},
|
|
6682
|
+
"input.mouse_move": {
|
|
6683
|
+
"params": "InputMouseMoveParams",
|
|
6684
|
+
"result": "InputMouseMoveResult",
|
|
6685
|
+
"kind": "unary",
|
|
6686
|
+
"since": "1.4",
|
|
6687
|
+
"errors": [
|
|
6688
|
+
"PERMISSION_DENIED_OS",
|
|
6689
|
+
"PLATFORM_UNSUPPORTED",
|
|
6690
|
+
"INTERNAL"
|
|
6691
|
+
]
|
|
6692
|
+
},
|
|
6693
|
+
"input.mouse_click": {
|
|
6694
|
+
"params": "InputMouseClickParams",
|
|
6695
|
+
"result": "InputMouseClickResult",
|
|
6696
|
+
"kind": "unary",
|
|
6697
|
+
"since": "1.4",
|
|
6698
|
+
"errors": [
|
|
6699
|
+
"INVALID_PARAMS",
|
|
6700
|
+
"PERMISSION_DENIED_OS",
|
|
6701
|
+
"PLATFORM_UNSUPPORTED",
|
|
6702
|
+
"INTERNAL"
|
|
6703
|
+
]
|
|
6704
|
+
},
|
|
6705
|
+
"power.status": {
|
|
6706
|
+
"params": "PowerStatusParams",
|
|
6707
|
+
"result": "PowerStatusResult",
|
|
6708
|
+
"kind": "unary",
|
|
6709
|
+
"since": "1.4",
|
|
6710
|
+
"errors": [
|
|
6711
|
+
"INTERNAL"
|
|
6712
|
+
]
|
|
6713
|
+
},
|
|
6714
|
+
"power.prevent_sleep": {
|
|
6715
|
+
"params": "PowerPreventSleepParams",
|
|
6716
|
+
"result": "PowerPreventSleepResult",
|
|
6717
|
+
"kind": "unary",
|
|
6718
|
+
"since": "1.4",
|
|
6719
|
+
"errors": [
|
|
6720
|
+
"PERMISSION_DENIED_OS",
|
|
6721
|
+
"PLATFORM_UNSUPPORTED",
|
|
6722
|
+
"INTERNAL"
|
|
6723
|
+
]
|
|
6724
|
+
},
|
|
6725
|
+
"resources.snapshot": {
|
|
6726
|
+
"params": "ResourcesSnapshotParams",
|
|
6727
|
+
"result": "ResourcesSnapshotResult",
|
|
6728
|
+
"kind": "unary",
|
|
6729
|
+
"since": "1.4",
|
|
6730
|
+
"errors": [
|
|
6731
|
+
"INTERNAL"
|
|
6732
|
+
]
|
|
6733
|
+
},
|
|
6734
|
+
"coding.history.import_missing": {
|
|
6735
|
+
"params": "CodingHistoryImportMissingParams",
|
|
6736
|
+
"result": "CodingHistoryImportMissingResult",
|
|
6737
|
+
"kind": "unary",
|
|
6738
|
+
"since": "1.5",
|
|
6739
|
+
"errors": [
|
|
6740
|
+
"RESOURCE_BUSY",
|
|
6741
|
+
"RESOURCE_GONE",
|
|
6742
|
+
"CANCELLED",
|
|
6743
|
+
"INTERNAL"
|
|
6744
|
+
]
|
|
4860
6745
|
}
|
|
4861
6746
|
},
|
|
4862
6747
|
"x-events": {
|
|
@@ -4866,6 +6751,7 @@
|
|
|
4866
6751
|
"exec.cwd": "ExecCwdEvent",
|
|
4867
6752
|
"session.control_changed": "SessionControlChangedEvent",
|
|
4868
6753
|
"models.progress": "ModelsProgressEvent",
|
|
6754
|
+
"coding.history.progress": "CodingHistoryProgressEvent",
|
|
4869
6755
|
"relay.device_status": "RelayDeviceStatusEvent",
|
|
4870
6756
|
"relay.auth_expiring": "RelayAuthExpiringEvent"
|
|
4871
6757
|
},
|
|
@@ -4886,6 +6772,19 @@
|
|
|
4886
6772
|
"result": "ModelsTranscribeResult"
|
|
4887
6773
|
}
|
|
4888
6774
|
}
|
|
6775
|
+
},
|
|
6776
|
+
"coding": {
|
|
6777
|
+
"progress": "CodingServiceProgress",
|
|
6778
|
+
"ops": {
|
|
6779
|
+
"coding.plan_missing": {
|
|
6780
|
+
"params": "CodingPlanMissingParams",
|
|
6781
|
+
"result": "CodingHistoryStep"
|
|
6782
|
+
},
|
|
6783
|
+
"coding.import_next": {
|
|
6784
|
+
"params": "CodingImportNextParams",
|
|
6785
|
+
"result": "CodingHistoryStep"
|
|
6786
|
+
}
|
|
6787
|
+
}
|
|
4889
6788
|
}
|
|
4890
6789
|
},
|
|
4891
6790
|
"x-fields-since": {
|
|
@@ -4909,5 +6808,5 @@
|
|
|
4909
6808
|
"olderPeersGet": 0
|
|
4910
6809
|
}
|
|
4911
6810
|
},
|
|
4912
|
-
"x-protocol-version": "1.
|
|
6811
|
+
"x-protocol-version": "1.5"
|
|
4913
6812
|
}
|