@ai-matrx/desktop-protocol 0.21.14 → 0.21.16
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 +12 -0
- package/dist/client.cjs +675 -599
- 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 +675 -599
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +844 -744
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +162 -6
- package/dist/index.d.ts +162 -6
- package/dist/index.js +844 -744
- package/dist/index.js.map +1 -1
- package/dist/{models-BFxuhPGw.d.cts → models-BpZriuN2.d.cts} +206 -1
- package/dist/{models-BFxuhPGw.d.ts → models-BpZriuN2.d.ts} +206 -1
- package/dist/react.d.cts +80 -0
- package/dist/react.d.ts +80 -0
- package/generated/desktop-protocol.schema.json +352 -1
- package/package.json +4 -4
|
@@ -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" | "1.16" | "1.17" | "1.19" | "1.20" | "1.21" | "1.22";
|
|
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" | "1.17" | "1.19" | "1.20" | "1.21" | "1.22" | "1.23";
|
|
691
691
|
readonly errors: readonly z.infer<typeof ErrorCode>[];
|
|
692
692
|
};
|
|
693
693
|
declare const OPS: {
|
|
@@ -3949,6 +3949,86 @@ declare const OPS: {
|
|
|
3949
3949
|
readonly since: "1.22";
|
|
3950
3950
|
readonly errors: readonly ["INVALID_PARAMS", "TIMEOUT", "RESOURCE_BUSY", "AUTH_REQUIRED", "INTERNAL"];
|
|
3951
3951
|
};
|
|
3952
|
+
readonly "account.agents.list": {
|
|
3953
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
3954
|
+
readonly result: z.ZodObject<{
|
|
3955
|
+
state: z.ZodEnum<{
|
|
3956
|
+
ok: "ok";
|
|
3957
|
+
signed_out: "signed_out";
|
|
3958
|
+
unavailable: "unavailable";
|
|
3959
|
+
}>;
|
|
3960
|
+
problem: z.ZodNullable<z.ZodString>;
|
|
3961
|
+
agents: z.ZodArray<z.ZodObject<{
|
|
3962
|
+
id: z.ZodString;
|
|
3963
|
+
name: z.ZodString;
|
|
3964
|
+
description: z.ZodString;
|
|
3965
|
+
category: z.ZodString;
|
|
3966
|
+
agent_type: z.ZodString;
|
|
3967
|
+
is_favorite: z.ZodBoolean;
|
|
3968
|
+
is_owner: z.ZodBoolean;
|
|
3969
|
+
shared_by: z.ZodNullable<z.ZodString>;
|
|
3970
|
+
organization: z.ZodNullable<z.ZodString>;
|
|
3971
|
+
updated_at_ms: z.ZodInt;
|
|
3972
|
+
}, z.core.$strict>>;
|
|
3973
|
+
}, z.core.$strict>;
|
|
3974
|
+
readonly kind: "unary";
|
|
3975
|
+
readonly since: "1.23";
|
|
3976
|
+
readonly errors: readonly ["INTERNAL"];
|
|
3977
|
+
};
|
|
3978
|
+
readonly "account.vault.list": {
|
|
3979
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
3980
|
+
readonly result: z.ZodObject<{
|
|
3981
|
+
state: z.ZodEnum<{
|
|
3982
|
+
ok: "ok";
|
|
3983
|
+
signed_out: "signed_out";
|
|
3984
|
+
unavailable: "unavailable";
|
|
3985
|
+
}>;
|
|
3986
|
+
problem: z.ZodNullable<z.ZodString>;
|
|
3987
|
+
items: z.ZodArray<z.ZodObject<{
|
|
3988
|
+
id: z.ZodString;
|
|
3989
|
+
name: z.ZodString;
|
|
3990
|
+
kind: z.ZodEnum<{
|
|
3991
|
+
login: "login";
|
|
3992
|
+
passkey: "passkey";
|
|
3993
|
+
key: "key";
|
|
3994
|
+
other: "other";
|
|
3995
|
+
}>;
|
|
3996
|
+
definition: z.ZodString;
|
|
3997
|
+
username: z.ZodNullable<z.ZodString>;
|
|
3998
|
+
urls: z.ZodArray<z.ZodString>;
|
|
3999
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
4000
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
4001
|
+
key: z.ZodString;
|
|
4002
|
+
handling: z.ZodEnum<{
|
|
4003
|
+
visible: "visible";
|
|
4004
|
+
revealable: "revealable";
|
|
4005
|
+
sealed: "sealed";
|
|
4006
|
+
}>;
|
|
4007
|
+
hint: z.ZodString;
|
|
4008
|
+
}, z.core.$strict>>;
|
|
4009
|
+
shared: z.ZodBoolean;
|
|
4010
|
+
status: z.ZodString;
|
|
4011
|
+
created_at_ms: z.ZodInt;
|
|
4012
|
+
updated_at_ms: z.ZodInt;
|
|
4013
|
+
}, z.core.$strict>>;
|
|
4014
|
+
}, z.core.$strict>;
|
|
4015
|
+
readonly kind: "unary";
|
|
4016
|
+
readonly since: "1.23";
|
|
4017
|
+
readonly errors: readonly ["INTERNAL"];
|
|
4018
|
+
};
|
|
4019
|
+
readonly "account.vault.copy": {
|
|
4020
|
+
readonly params: z.ZodObject<{
|
|
4021
|
+
item_id: z.ZodString;
|
|
4022
|
+
field_key: z.ZodString;
|
|
4023
|
+
}, z.core.$strict>;
|
|
4024
|
+
readonly result: z.ZodObject<{
|
|
4025
|
+
copied: z.ZodBoolean;
|
|
4026
|
+
clears_at_ms: z.ZodInt;
|
|
4027
|
+
}, z.core.$strict>;
|
|
4028
|
+
readonly kind: "unary";
|
|
4029
|
+
readonly since: "1.23";
|
|
4030
|
+
readonly errors: readonly ["AUTH_REQUIRED", "AUTH_FORBIDDEN", "NOT_FOUND", "INVALID_PARAMS", "DEVICE_OFFLINE", "INTERNAL"];
|
|
4031
|
+
};
|
|
3952
4032
|
};
|
|
3953
4033
|
type OpName = keyof typeof OPS;
|
|
3954
4034
|
type OpParams<N extends OpName> = z.input<(typeof OPS)[N]["params"]>;
|
|
@@ -9103,6 +9183,131 @@ declare const NAMED_SCHEMAS: {
|
|
|
9103
9183
|
done: z.ZodInt;
|
|
9104
9184
|
total: z.ZodInt;
|
|
9105
9185
|
}, z.core.$strict>;
|
|
9186
|
+
readonly AccountRowId: z.ZodString;
|
|
9187
|
+
readonly AccountReadState: z.ZodEnum<{
|
|
9188
|
+
ok: "ok";
|
|
9189
|
+
signed_out: "signed_out";
|
|
9190
|
+
unavailable: "unavailable";
|
|
9191
|
+
}>;
|
|
9192
|
+
readonly AccountAgent: z.ZodObject<{
|
|
9193
|
+
id: z.ZodString;
|
|
9194
|
+
name: z.ZodString;
|
|
9195
|
+
description: z.ZodString;
|
|
9196
|
+
category: z.ZodString;
|
|
9197
|
+
agent_type: z.ZodString;
|
|
9198
|
+
is_favorite: z.ZodBoolean;
|
|
9199
|
+
is_owner: z.ZodBoolean;
|
|
9200
|
+
shared_by: z.ZodNullable<z.ZodString>;
|
|
9201
|
+
organization: z.ZodNullable<z.ZodString>;
|
|
9202
|
+
updated_at_ms: z.ZodInt;
|
|
9203
|
+
}, z.core.$strict>;
|
|
9204
|
+
readonly AccountAgentsListParams: z.ZodObject<{}, z.core.$strict>;
|
|
9205
|
+
readonly AccountAgentsListResult: z.ZodObject<{
|
|
9206
|
+
state: z.ZodEnum<{
|
|
9207
|
+
ok: "ok";
|
|
9208
|
+
signed_out: "signed_out";
|
|
9209
|
+
unavailable: "unavailable";
|
|
9210
|
+
}>;
|
|
9211
|
+
problem: z.ZodNullable<z.ZodString>;
|
|
9212
|
+
agents: z.ZodArray<z.ZodObject<{
|
|
9213
|
+
id: z.ZodString;
|
|
9214
|
+
name: z.ZodString;
|
|
9215
|
+
description: z.ZodString;
|
|
9216
|
+
category: z.ZodString;
|
|
9217
|
+
agent_type: z.ZodString;
|
|
9218
|
+
is_favorite: z.ZodBoolean;
|
|
9219
|
+
is_owner: z.ZodBoolean;
|
|
9220
|
+
shared_by: z.ZodNullable<z.ZodString>;
|
|
9221
|
+
organization: z.ZodNullable<z.ZodString>;
|
|
9222
|
+
updated_at_ms: z.ZodInt;
|
|
9223
|
+
}, z.core.$strict>>;
|
|
9224
|
+
}, z.core.$strict>;
|
|
9225
|
+
readonly VaultItemKind: z.ZodEnum<{
|
|
9226
|
+
login: "login";
|
|
9227
|
+
passkey: "passkey";
|
|
9228
|
+
key: "key";
|
|
9229
|
+
other: "other";
|
|
9230
|
+
}>;
|
|
9231
|
+
readonly VaultFieldSummary: z.ZodObject<{
|
|
9232
|
+
key: z.ZodString;
|
|
9233
|
+
handling: z.ZodEnum<{
|
|
9234
|
+
visible: "visible";
|
|
9235
|
+
revealable: "revealable";
|
|
9236
|
+
sealed: "sealed";
|
|
9237
|
+
}>;
|
|
9238
|
+
hint: z.ZodString;
|
|
9239
|
+
}, z.core.$strict>;
|
|
9240
|
+
readonly VaultItemSummary: z.ZodObject<{
|
|
9241
|
+
id: z.ZodString;
|
|
9242
|
+
name: z.ZodString;
|
|
9243
|
+
kind: z.ZodEnum<{
|
|
9244
|
+
login: "login";
|
|
9245
|
+
passkey: "passkey";
|
|
9246
|
+
key: "key";
|
|
9247
|
+
other: "other";
|
|
9248
|
+
}>;
|
|
9249
|
+
definition: z.ZodString;
|
|
9250
|
+
username: z.ZodNullable<z.ZodString>;
|
|
9251
|
+
urls: z.ZodArray<z.ZodString>;
|
|
9252
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
9253
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
9254
|
+
key: z.ZodString;
|
|
9255
|
+
handling: z.ZodEnum<{
|
|
9256
|
+
visible: "visible";
|
|
9257
|
+
revealable: "revealable";
|
|
9258
|
+
sealed: "sealed";
|
|
9259
|
+
}>;
|
|
9260
|
+
hint: z.ZodString;
|
|
9261
|
+
}, z.core.$strict>>;
|
|
9262
|
+
shared: z.ZodBoolean;
|
|
9263
|
+
status: z.ZodString;
|
|
9264
|
+
created_at_ms: z.ZodInt;
|
|
9265
|
+
updated_at_ms: z.ZodInt;
|
|
9266
|
+
}, z.core.$strict>;
|
|
9267
|
+
readonly AccountVaultListParams: z.ZodObject<{}, z.core.$strict>;
|
|
9268
|
+
readonly AccountVaultListResult: z.ZodObject<{
|
|
9269
|
+
state: z.ZodEnum<{
|
|
9270
|
+
ok: "ok";
|
|
9271
|
+
signed_out: "signed_out";
|
|
9272
|
+
unavailable: "unavailable";
|
|
9273
|
+
}>;
|
|
9274
|
+
problem: z.ZodNullable<z.ZodString>;
|
|
9275
|
+
items: z.ZodArray<z.ZodObject<{
|
|
9276
|
+
id: z.ZodString;
|
|
9277
|
+
name: z.ZodString;
|
|
9278
|
+
kind: z.ZodEnum<{
|
|
9279
|
+
login: "login";
|
|
9280
|
+
passkey: "passkey";
|
|
9281
|
+
key: "key";
|
|
9282
|
+
other: "other";
|
|
9283
|
+
}>;
|
|
9284
|
+
definition: z.ZodString;
|
|
9285
|
+
username: z.ZodNullable<z.ZodString>;
|
|
9286
|
+
urls: z.ZodArray<z.ZodString>;
|
|
9287
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
9288
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
9289
|
+
key: z.ZodString;
|
|
9290
|
+
handling: z.ZodEnum<{
|
|
9291
|
+
visible: "visible";
|
|
9292
|
+
revealable: "revealable";
|
|
9293
|
+
sealed: "sealed";
|
|
9294
|
+
}>;
|
|
9295
|
+
hint: z.ZodString;
|
|
9296
|
+
}, z.core.$strict>>;
|
|
9297
|
+
shared: z.ZodBoolean;
|
|
9298
|
+
status: z.ZodString;
|
|
9299
|
+
created_at_ms: z.ZodInt;
|
|
9300
|
+
updated_at_ms: z.ZodInt;
|
|
9301
|
+
}, z.core.$strict>>;
|
|
9302
|
+
}, z.core.$strict>;
|
|
9303
|
+
readonly AccountVaultCopyParams: z.ZodObject<{
|
|
9304
|
+
item_id: z.ZodString;
|
|
9305
|
+
field_key: z.ZodString;
|
|
9306
|
+
}, z.core.$strict>;
|
|
9307
|
+
readonly AccountVaultCopyResult: z.ZodObject<{
|
|
9308
|
+
copied: z.ZodBoolean;
|
|
9309
|
+
clears_at_ms: z.ZodInt;
|
|
9310
|
+
}, z.core.$strict>;
|
|
9106
9311
|
};
|
|
9107
9312
|
type NamedSchemaId = keyof typeof NAMED_SCHEMAS;
|
|
9108
9313
|
|
|
@@ -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" | "1.16" | "1.17" | "1.19" | "1.20" | "1.21" | "1.22";
|
|
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" | "1.17" | "1.19" | "1.20" | "1.21" | "1.22" | "1.23";
|
|
691
691
|
readonly errors: readonly z.infer<typeof ErrorCode>[];
|
|
692
692
|
};
|
|
693
693
|
declare const OPS: {
|
|
@@ -3949,6 +3949,86 @@ declare const OPS: {
|
|
|
3949
3949
|
readonly since: "1.22";
|
|
3950
3950
|
readonly errors: readonly ["INVALID_PARAMS", "TIMEOUT", "RESOURCE_BUSY", "AUTH_REQUIRED", "INTERNAL"];
|
|
3951
3951
|
};
|
|
3952
|
+
readonly "account.agents.list": {
|
|
3953
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
3954
|
+
readonly result: z.ZodObject<{
|
|
3955
|
+
state: z.ZodEnum<{
|
|
3956
|
+
ok: "ok";
|
|
3957
|
+
signed_out: "signed_out";
|
|
3958
|
+
unavailable: "unavailable";
|
|
3959
|
+
}>;
|
|
3960
|
+
problem: z.ZodNullable<z.ZodString>;
|
|
3961
|
+
agents: z.ZodArray<z.ZodObject<{
|
|
3962
|
+
id: z.ZodString;
|
|
3963
|
+
name: z.ZodString;
|
|
3964
|
+
description: z.ZodString;
|
|
3965
|
+
category: z.ZodString;
|
|
3966
|
+
agent_type: z.ZodString;
|
|
3967
|
+
is_favorite: z.ZodBoolean;
|
|
3968
|
+
is_owner: z.ZodBoolean;
|
|
3969
|
+
shared_by: z.ZodNullable<z.ZodString>;
|
|
3970
|
+
organization: z.ZodNullable<z.ZodString>;
|
|
3971
|
+
updated_at_ms: z.ZodInt;
|
|
3972
|
+
}, z.core.$strict>>;
|
|
3973
|
+
}, z.core.$strict>;
|
|
3974
|
+
readonly kind: "unary";
|
|
3975
|
+
readonly since: "1.23";
|
|
3976
|
+
readonly errors: readonly ["INTERNAL"];
|
|
3977
|
+
};
|
|
3978
|
+
readonly "account.vault.list": {
|
|
3979
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
3980
|
+
readonly result: z.ZodObject<{
|
|
3981
|
+
state: z.ZodEnum<{
|
|
3982
|
+
ok: "ok";
|
|
3983
|
+
signed_out: "signed_out";
|
|
3984
|
+
unavailable: "unavailable";
|
|
3985
|
+
}>;
|
|
3986
|
+
problem: z.ZodNullable<z.ZodString>;
|
|
3987
|
+
items: z.ZodArray<z.ZodObject<{
|
|
3988
|
+
id: z.ZodString;
|
|
3989
|
+
name: z.ZodString;
|
|
3990
|
+
kind: z.ZodEnum<{
|
|
3991
|
+
login: "login";
|
|
3992
|
+
passkey: "passkey";
|
|
3993
|
+
key: "key";
|
|
3994
|
+
other: "other";
|
|
3995
|
+
}>;
|
|
3996
|
+
definition: z.ZodString;
|
|
3997
|
+
username: z.ZodNullable<z.ZodString>;
|
|
3998
|
+
urls: z.ZodArray<z.ZodString>;
|
|
3999
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
4000
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
4001
|
+
key: z.ZodString;
|
|
4002
|
+
handling: z.ZodEnum<{
|
|
4003
|
+
visible: "visible";
|
|
4004
|
+
revealable: "revealable";
|
|
4005
|
+
sealed: "sealed";
|
|
4006
|
+
}>;
|
|
4007
|
+
hint: z.ZodString;
|
|
4008
|
+
}, z.core.$strict>>;
|
|
4009
|
+
shared: z.ZodBoolean;
|
|
4010
|
+
status: z.ZodString;
|
|
4011
|
+
created_at_ms: z.ZodInt;
|
|
4012
|
+
updated_at_ms: z.ZodInt;
|
|
4013
|
+
}, z.core.$strict>>;
|
|
4014
|
+
}, z.core.$strict>;
|
|
4015
|
+
readonly kind: "unary";
|
|
4016
|
+
readonly since: "1.23";
|
|
4017
|
+
readonly errors: readonly ["INTERNAL"];
|
|
4018
|
+
};
|
|
4019
|
+
readonly "account.vault.copy": {
|
|
4020
|
+
readonly params: z.ZodObject<{
|
|
4021
|
+
item_id: z.ZodString;
|
|
4022
|
+
field_key: z.ZodString;
|
|
4023
|
+
}, z.core.$strict>;
|
|
4024
|
+
readonly result: z.ZodObject<{
|
|
4025
|
+
copied: z.ZodBoolean;
|
|
4026
|
+
clears_at_ms: z.ZodInt;
|
|
4027
|
+
}, z.core.$strict>;
|
|
4028
|
+
readonly kind: "unary";
|
|
4029
|
+
readonly since: "1.23";
|
|
4030
|
+
readonly errors: readonly ["AUTH_REQUIRED", "AUTH_FORBIDDEN", "NOT_FOUND", "INVALID_PARAMS", "DEVICE_OFFLINE", "INTERNAL"];
|
|
4031
|
+
};
|
|
3952
4032
|
};
|
|
3953
4033
|
type OpName = keyof typeof OPS;
|
|
3954
4034
|
type OpParams<N extends OpName> = z.input<(typeof OPS)[N]["params"]>;
|
|
@@ -9103,6 +9183,131 @@ declare const NAMED_SCHEMAS: {
|
|
|
9103
9183
|
done: z.ZodInt;
|
|
9104
9184
|
total: z.ZodInt;
|
|
9105
9185
|
}, z.core.$strict>;
|
|
9186
|
+
readonly AccountRowId: z.ZodString;
|
|
9187
|
+
readonly AccountReadState: z.ZodEnum<{
|
|
9188
|
+
ok: "ok";
|
|
9189
|
+
signed_out: "signed_out";
|
|
9190
|
+
unavailable: "unavailable";
|
|
9191
|
+
}>;
|
|
9192
|
+
readonly AccountAgent: z.ZodObject<{
|
|
9193
|
+
id: z.ZodString;
|
|
9194
|
+
name: z.ZodString;
|
|
9195
|
+
description: z.ZodString;
|
|
9196
|
+
category: z.ZodString;
|
|
9197
|
+
agent_type: z.ZodString;
|
|
9198
|
+
is_favorite: z.ZodBoolean;
|
|
9199
|
+
is_owner: z.ZodBoolean;
|
|
9200
|
+
shared_by: z.ZodNullable<z.ZodString>;
|
|
9201
|
+
organization: z.ZodNullable<z.ZodString>;
|
|
9202
|
+
updated_at_ms: z.ZodInt;
|
|
9203
|
+
}, z.core.$strict>;
|
|
9204
|
+
readonly AccountAgentsListParams: z.ZodObject<{}, z.core.$strict>;
|
|
9205
|
+
readonly AccountAgentsListResult: z.ZodObject<{
|
|
9206
|
+
state: z.ZodEnum<{
|
|
9207
|
+
ok: "ok";
|
|
9208
|
+
signed_out: "signed_out";
|
|
9209
|
+
unavailable: "unavailable";
|
|
9210
|
+
}>;
|
|
9211
|
+
problem: z.ZodNullable<z.ZodString>;
|
|
9212
|
+
agents: z.ZodArray<z.ZodObject<{
|
|
9213
|
+
id: z.ZodString;
|
|
9214
|
+
name: z.ZodString;
|
|
9215
|
+
description: z.ZodString;
|
|
9216
|
+
category: z.ZodString;
|
|
9217
|
+
agent_type: z.ZodString;
|
|
9218
|
+
is_favorite: z.ZodBoolean;
|
|
9219
|
+
is_owner: z.ZodBoolean;
|
|
9220
|
+
shared_by: z.ZodNullable<z.ZodString>;
|
|
9221
|
+
organization: z.ZodNullable<z.ZodString>;
|
|
9222
|
+
updated_at_ms: z.ZodInt;
|
|
9223
|
+
}, z.core.$strict>>;
|
|
9224
|
+
}, z.core.$strict>;
|
|
9225
|
+
readonly VaultItemKind: z.ZodEnum<{
|
|
9226
|
+
login: "login";
|
|
9227
|
+
passkey: "passkey";
|
|
9228
|
+
key: "key";
|
|
9229
|
+
other: "other";
|
|
9230
|
+
}>;
|
|
9231
|
+
readonly VaultFieldSummary: z.ZodObject<{
|
|
9232
|
+
key: z.ZodString;
|
|
9233
|
+
handling: z.ZodEnum<{
|
|
9234
|
+
visible: "visible";
|
|
9235
|
+
revealable: "revealable";
|
|
9236
|
+
sealed: "sealed";
|
|
9237
|
+
}>;
|
|
9238
|
+
hint: z.ZodString;
|
|
9239
|
+
}, z.core.$strict>;
|
|
9240
|
+
readonly VaultItemSummary: z.ZodObject<{
|
|
9241
|
+
id: z.ZodString;
|
|
9242
|
+
name: z.ZodString;
|
|
9243
|
+
kind: z.ZodEnum<{
|
|
9244
|
+
login: "login";
|
|
9245
|
+
passkey: "passkey";
|
|
9246
|
+
key: "key";
|
|
9247
|
+
other: "other";
|
|
9248
|
+
}>;
|
|
9249
|
+
definition: z.ZodString;
|
|
9250
|
+
username: z.ZodNullable<z.ZodString>;
|
|
9251
|
+
urls: z.ZodArray<z.ZodString>;
|
|
9252
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
9253
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
9254
|
+
key: z.ZodString;
|
|
9255
|
+
handling: z.ZodEnum<{
|
|
9256
|
+
visible: "visible";
|
|
9257
|
+
revealable: "revealable";
|
|
9258
|
+
sealed: "sealed";
|
|
9259
|
+
}>;
|
|
9260
|
+
hint: z.ZodString;
|
|
9261
|
+
}, z.core.$strict>>;
|
|
9262
|
+
shared: z.ZodBoolean;
|
|
9263
|
+
status: z.ZodString;
|
|
9264
|
+
created_at_ms: z.ZodInt;
|
|
9265
|
+
updated_at_ms: z.ZodInt;
|
|
9266
|
+
}, z.core.$strict>;
|
|
9267
|
+
readonly AccountVaultListParams: z.ZodObject<{}, z.core.$strict>;
|
|
9268
|
+
readonly AccountVaultListResult: z.ZodObject<{
|
|
9269
|
+
state: z.ZodEnum<{
|
|
9270
|
+
ok: "ok";
|
|
9271
|
+
signed_out: "signed_out";
|
|
9272
|
+
unavailable: "unavailable";
|
|
9273
|
+
}>;
|
|
9274
|
+
problem: z.ZodNullable<z.ZodString>;
|
|
9275
|
+
items: z.ZodArray<z.ZodObject<{
|
|
9276
|
+
id: z.ZodString;
|
|
9277
|
+
name: z.ZodString;
|
|
9278
|
+
kind: z.ZodEnum<{
|
|
9279
|
+
login: "login";
|
|
9280
|
+
passkey: "passkey";
|
|
9281
|
+
key: "key";
|
|
9282
|
+
other: "other";
|
|
9283
|
+
}>;
|
|
9284
|
+
definition: z.ZodString;
|
|
9285
|
+
username: z.ZodNullable<z.ZodString>;
|
|
9286
|
+
urls: z.ZodArray<z.ZodString>;
|
|
9287
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
9288
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
9289
|
+
key: z.ZodString;
|
|
9290
|
+
handling: z.ZodEnum<{
|
|
9291
|
+
visible: "visible";
|
|
9292
|
+
revealable: "revealable";
|
|
9293
|
+
sealed: "sealed";
|
|
9294
|
+
}>;
|
|
9295
|
+
hint: z.ZodString;
|
|
9296
|
+
}, z.core.$strict>>;
|
|
9297
|
+
shared: z.ZodBoolean;
|
|
9298
|
+
status: z.ZodString;
|
|
9299
|
+
created_at_ms: z.ZodInt;
|
|
9300
|
+
updated_at_ms: z.ZodInt;
|
|
9301
|
+
}, z.core.$strict>>;
|
|
9302
|
+
}, z.core.$strict>;
|
|
9303
|
+
readonly AccountVaultCopyParams: z.ZodObject<{
|
|
9304
|
+
item_id: z.ZodString;
|
|
9305
|
+
field_key: z.ZodString;
|
|
9306
|
+
}, z.core.$strict>;
|
|
9307
|
+
readonly AccountVaultCopyResult: z.ZodObject<{
|
|
9308
|
+
copied: z.ZodBoolean;
|
|
9309
|
+
clears_at_ms: z.ZodInt;
|
|
9310
|
+
}, z.core.$strict>;
|
|
9106
9311
|
};
|
|
9107
9312
|
type NamedSchemaId = keyof typeof NAMED_SCHEMAS;
|
|
9108
9313
|
|
package/dist/react.d.cts
CHANGED
|
@@ -3409,6 +3409,86 @@ declare const OPS: {
|
|
|
3409
3409
|
readonly since: "1.22";
|
|
3410
3410
|
readonly errors: readonly ["INVALID_PARAMS", "TIMEOUT", "RESOURCE_BUSY", "AUTH_REQUIRED", "INTERNAL"];
|
|
3411
3411
|
};
|
|
3412
|
+
readonly "account.agents.list": {
|
|
3413
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
3414
|
+
readonly result: z.ZodObject<{
|
|
3415
|
+
state: z.ZodEnum<{
|
|
3416
|
+
ok: "ok";
|
|
3417
|
+
signed_out: "signed_out";
|
|
3418
|
+
unavailable: "unavailable";
|
|
3419
|
+
}>;
|
|
3420
|
+
problem: z.ZodNullable<z.ZodString>;
|
|
3421
|
+
agents: z.ZodArray<z.ZodObject<{
|
|
3422
|
+
id: z.ZodString;
|
|
3423
|
+
name: z.ZodString;
|
|
3424
|
+
description: z.ZodString;
|
|
3425
|
+
category: z.ZodString;
|
|
3426
|
+
agent_type: z.ZodString;
|
|
3427
|
+
is_favorite: z.ZodBoolean;
|
|
3428
|
+
is_owner: z.ZodBoolean;
|
|
3429
|
+
shared_by: z.ZodNullable<z.ZodString>;
|
|
3430
|
+
organization: z.ZodNullable<z.ZodString>;
|
|
3431
|
+
updated_at_ms: z.ZodInt;
|
|
3432
|
+
}, z.core.$strict>>;
|
|
3433
|
+
}, z.core.$strict>;
|
|
3434
|
+
readonly kind: "unary";
|
|
3435
|
+
readonly since: "1.23";
|
|
3436
|
+
readonly errors: readonly ["INTERNAL"];
|
|
3437
|
+
};
|
|
3438
|
+
readonly "account.vault.list": {
|
|
3439
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
3440
|
+
readonly result: z.ZodObject<{
|
|
3441
|
+
state: z.ZodEnum<{
|
|
3442
|
+
ok: "ok";
|
|
3443
|
+
signed_out: "signed_out";
|
|
3444
|
+
unavailable: "unavailable";
|
|
3445
|
+
}>;
|
|
3446
|
+
problem: z.ZodNullable<z.ZodString>;
|
|
3447
|
+
items: z.ZodArray<z.ZodObject<{
|
|
3448
|
+
id: z.ZodString;
|
|
3449
|
+
name: z.ZodString;
|
|
3450
|
+
kind: z.ZodEnum<{
|
|
3451
|
+
key: "key";
|
|
3452
|
+
login: "login";
|
|
3453
|
+
passkey: "passkey";
|
|
3454
|
+
other: "other";
|
|
3455
|
+
}>;
|
|
3456
|
+
definition: z.ZodString;
|
|
3457
|
+
username: z.ZodNullable<z.ZodString>;
|
|
3458
|
+
urls: z.ZodArray<z.ZodString>;
|
|
3459
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
3460
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
3461
|
+
key: z.ZodString;
|
|
3462
|
+
handling: z.ZodEnum<{
|
|
3463
|
+
visible: "visible";
|
|
3464
|
+
revealable: "revealable";
|
|
3465
|
+
sealed: "sealed";
|
|
3466
|
+
}>;
|
|
3467
|
+
hint: z.ZodString;
|
|
3468
|
+
}, z.core.$strict>>;
|
|
3469
|
+
shared: z.ZodBoolean;
|
|
3470
|
+
status: z.ZodString;
|
|
3471
|
+
created_at_ms: z.ZodInt;
|
|
3472
|
+
updated_at_ms: z.ZodInt;
|
|
3473
|
+
}, z.core.$strict>>;
|
|
3474
|
+
}, z.core.$strict>;
|
|
3475
|
+
readonly kind: "unary";
|
|
3476
|
+
readonly since: "1.23";
|
|
3477
|
+
readonly errors: readonly ["INTERNAL"];
|
|
3478
|
+
};
|
|
3479
|
+
readonly "account.vault.copy": {
|
|
3480
|
+
readonly params: z.ZodObject<{
|
|
3481
|
+
item_id: z.ZodString;
|
|
3482
|
+
field_key: z.ZodString;
|
|
3483
|
+
}, z.core.$strict>;
|
|
3484
|
+
readonly result: z.ZodObject<{
|
|
3485
|
+
copied: z.ZodBoolean;
|
|
3486
|
+
clears_at_ms: z.ZodInt;
|
|
3487
|
+
}, z.core.$strict>;
|
|
3488
|
+
readonly kind: "unary";
|
|
3489
|
+
readonly since: "1.23";
|
|
3490
|
+
readonly errors: readonly ["AUTH_REQUIRED", "AUTH_FORBIDDEN", "NOT_FOUND", "INVALID_PARAMS", "DEVICE_OFFLINE", "INTERNAL"];
|
|
3491
|
+
};
|
|
3412
3492
|
};
|
|
3413
3493
|
type OpName = keyof typeof OPS;
|
|
3414
3494
|
type OpParams<N extends OpName> = z.input<(typeof OPS)[N]["params"]>;
|
package/dist/react.d.ts
CHANGED
|
@@ -3409,6 +3409,86 @@ declare const OPS: {
|
|
|
3409
3409
|
readonly since: "1.22";
|
|
3410
3410
|
readonly errors: readonly ["INVALID_PARAMS", "TIMEOUT", "RESOURCE_BUSY", "AUTH_REQUIRED", "INTERNAL"];
|
|
3411
3411
|
};
|
|
3412
|
+
readonly "account.agents.list": {
|
|
3413
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
3414
|
+
readonly result: z.ZodObject<{
|
|
3415
|
+
state: z.ZodEnum<{
|
|
3416
|
+
ok: "ok";
|
|
3417
|
+
signed_out: "signed_out";
|
|
3418
|
+
unavailable: "unavailable";
|
|
3419
|
+
}>;
|
|
3420
|
+
problem: z.ZodNullable<z.ZodString>;
|
|
3421
|
+
agents: z.ZodArray<z.ZodObject<{
|
|
3422
|
+
id: z.ZodString;
|
|
3423
|
+
name: z.ZodString;
|
|
3424
|
+
description: z.ZodString;
|
|
3425
|
+
category: z.ZodString;
|
|
3426
|
+
agent_type: z.ZodString;
|
|
3427
|
+
is_favorite: z.ZodBoolean;
|
|
3428
|
+
is_owner: z.ZodBoolean;
|
|
3429
|
+
shared_by: z.ZodNullable<z.ZodString>;
|
|
3430
|
+
organization: z.ZodNullable<z.ZodString>;
|
|
3431
|
+
updated_at_ms: z.ZodInt;
|
|
3432
|
+
}, z.core.$strict>>;
|
|
3433
|
+
}, z.core.$strict>;
|
|
3434
|
+
readonly kind: "unary";
|
|
3435
|
+
readonly since: "1.23";
|
|
3436
|
+
readonly errors: readonly ["INTERNAL"];
|
|
3437
|
+
};
|
|
3438
|
+
readonly "account.vault.list": {
|
|
3439
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
3440
|
+
readonly result: z.ZodObject<{
|
|
3441
|
+
state: z.ZodEnum<{
|
|
3442
|
+
ok: "ok";
|
|
3443
|
+
signed_out: "signed_out";
|
|
3444
|
+
unavailable: "unavailable";
|
|
3445
|
+
}>;
|
|
3446
|
+
problem: z.ZodNullable<z.ZodString>;
|
|
3447
|
+
items: z.ZodArray<z.ZodObject<{
|
|
3448
|
+
id: z.ZodString;
|
|
3449
|
+
name: z.ZodString;
|
|
3450
|
+
kind: z.ZodEnum<{
|
|
3451
|
+
key: "key";
|
|
3452
|
+
login: "login";
|
|
3453
|
+
passkey: "passkey";
|
|
3454
|
+
other: "other";
|
|
3455
|
+
}>;
|
|
3456
|
+
definition: z.ZodString;
|
|
3457
|
+
username: z.ZodNullable<z.ZodString>;
|
|
3458
|
+
urls: z.ZodArray<z.ZodString>;
|
|
3459
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
3460
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
3461
|
+
key: z.ZodString;
|
|
3462
|
+
handling: z.ZodEnum<{
|
|
3463
|
+
visible: "visible";
|
|
3464
|
+
revealable: "revealable";
|
|
3465
|
+
sealed: "sealed";
|
|
3466
|
+
}>;
|
|
3467
|
+
hint: z.ZodString;
|
|
3468
|
+
}, z.core.$strict>>;
|
|
3469
|
+
shared: z.ZodBoolean;
|
|
3470
|
+
status: z.ZodString;
|
|
3471
|
+
created_at_ms: z.ZodInt;
|
|
3472
|
+
updated_at_ms: z.ZodInt;
|
|
3473
|
+
}, z.core.$strict>>;
|
|
3474
|
+
}, z.core.$strict>;
|
|
3475
|
+
readonly kind: "unary";
|
|
3476
|
+
readonly since: "1.23";
|
|
3477
|
+
readonly errors: readonly ["INTERNAL"];
|
|
3478
|
+
};
|
|
3479
|
+
readonly "account.vault.copy": {
|
|
3480
|
+
readonly params: z.ZodObject<{
|
|
3481
|
+
item_id: z.ZodString;
|
|
3482
|
+
field_key: z.ZodString;
|
|
3483
|
+
}, z.core.$strict>;
|
|
3484
|
+
readonly result: z.ZodObject<{
|
|
3485
|
+
copied: z.ZodBoolean;
|
|
3486
|
+
clears_at_ms: z.ZodInt;
|
|
3487
|
+
}, z.core.$strict>;
|
|
3488
|
+
readonly kind: "unary";
|
|
3489
|
+
readonly since: "1.23";
|
|
3490
|
+
readonly errors: readonly ["AUTH_REQUIRED", "AUTH_FORBIDDEN", "NOT_FOUND", "INVALID_PARAMS", "DEVICE_OFFLINE", "INTERNAL"];
|
|
3491
|
+
};
|
|
3412
3492
|
};
|
|
3413
3493
|
type OpName = keyof typeof OPS;
|
|
3414
3494
|
type OpParams<N extends OpName> = z.input<(typeof OPS)[N]["params"]>;
|