@ai-matrx/desktop-protocol 0.15.0 → 0.16.1
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 +21 -0
- package/dist/client.cjs +116 -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 +116 -38
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +111 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +181 -6
- package/dist/index.d.ts +181 -6
- package/dist/index.js +111 -4
- package/dist/index.js.map +1 -1
- package/dist/{models-iOvmEOHd.d.cts → models-CCOaAWaM.d.cts} +268 -1
- package/dist/{models-iOvmEOHd.d.ts → models-CCOaAWaM.d.ts} +268 -1
- package/dist/react.d.cts +50 -1
- package/dist/react.d.ts +50 -1
- package/generated/desktop-protocol.schema.json +356 -2
- package/package.json +1 -1
package/dist/react.d.cts
CHANGED
|
@@ -135,9 +135,9 @@ declare const StreamMeta: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
135
135
|
type StreamMeta = z.output<typeof StreamMeta>;
|
|
136
136
|
declare const EndReason: z.ZodEnum<{
|
|
137
137
|
error: "error";
|
|
138
|
+
cancelled: "cancelled";
|
|
138
139
|
resource_exited: "resource_exited";
|
|
139
140
|
completed: "completed";
|
|
140
|
-
cancelled: "cancelled";
|
|
141
141
|
detached: "detached";
|
|
142
142
|
}>;
|
|
143
143
|
type EndReason = z.output<typeof EndReason>;
|
|
@@ -1662,6 +1662,44 @@ declare const OPS: {
|
|
|
1662
1662
|
readonly since: "1.4";
|
|
1663
1663
|
readonly errors: readonly ["INTERNAL"];
|
|
1664
1664
|
};
|
|
1665
|
+
readonly "coding.history.import_missing": {
|
|
1666
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
1667
|
+
readonly result: z.ZodObject<{
|
|
1668
|
+
state: z.ZodEnum<{
|
|
1669
|
+
done: "done";
|
|
1670
|
+
blocked: "blocked";
|
|
1671
|
+
cancelled: "cancelled";
|
|
1672
|
+
}>;
|
|
1673
|
+
blocked: z.ZodNullable<z.ZodEnum<{
|
|
1674
|
+
signed_out: "signed_out";
|
|
1675
|
+
offline: "offline";
|
|
1676
|
+
organization_required: "organization_required";
|
|
1677
|
+
claude_unavailable: "claude_unavailable";
|
|
1678
|
+
cloud_list_unavailable: "cloud_list_unavailable";
|
|
1679
|
+
history_too_large: "history_too_large";
|
|
1680
|
+
}>>;
|
|
1681
|
+
run: z.ZodObject<{
|
|
1682
|
+
local_sessions: z.ZodInt;
|
|
1683
|
+
in_cloud: z.ZodInt;
|
|
1684
|
+
missing: z.ZodInt;
|
|
1685
|
+
behind: z.ZodInt;
|
|
1686
|
+
too_large: z.ZodInt;
|
|
1687
|
+
imported: z.ZodInt;
|
|
1688
|
+
changed: z.ZodInt;
|
|
1689
|
+
failed: z.ZodInt;
|
|
1690
|
+
failures: z.ZodArray<z.ZodObject<{
|
|
1691
|
+
session_id: z.ZodString;
|
|
1692
|
+
reason: z.ZodString;
|
|
1693
|
+
}, z.core.$strict>>;
|
|
1694
|
+
remaining: z.ZodInt;
|
|
1695
|
+
summary: z.ZodString;
|
|
1696
|
+
}, z.core.$strict>;
|
|
1697
|
+
elapsed_ms: z.ZodInt;
|
|
1698
|
+
}, z.core.$strict>;
|
|
1699
|
+
readonly kind: "unary";
|
|
1700
|
+
readonly since: "1.5";
|
|
1701
|
+
readonly errors: readonly ["RESOURCE_BUSY", "RESOURCE_GONE", "CANCELLED", "INTERNAL"];
|
|
1702
|
+
};
|
|
1665
1703
|
};
|
|
1666
1704
|
type OpName = keyof typeof OPS;
|
|
1667
1705
|
type OpParams<N extends OpName> = z.input<(typeof OPS)[N]["params"]>;
|
|
@@ -1738,6 +1776,17 @@ declare const EVENTS: {
|
|
|
1738
1776
|
}, z.core.$strict>>;
|
|
1739
1777
|
}, z.core.$strict>;
|
|
1740
1778
|
}, z.core.$strict>;
|
|
1779
|
+
readonly "coding.history.progress": z.ZodObject<{
|
|
1780
|
+
request_id: z.ZodString;
|
|
1781
|
+
phase: z.ZodEnum<{
|
|
1782
|
+
checking: "checking";
|
|
1783
|
+
importing: "importing";
|
|
1784
|
+
}>;
|
|
1785
|
+
done: z.ZodInt;
|
|
1786
|
+
total: z.ZodInt;
|
|
1787
|
+
imported: z.ZodInt;
|
|
1788
|
+
failed: z.ZodInt;
|
|
1789
|
+
}, z.core.$strict>;
|
|
1741
1790
|
readonly "relay.device_status": z.ZodObject<{
|
|
1742
1791
|
online: z.ZodBoolean;
|
|
1743
1792
|
since_ms: z.ZodNullable<z.ZodInt>;
|
package/dist/react.d.ts
CHANGED
|
@@ -135,9 +135,9 @@ declare const StreamMeta: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
135
135
|
type StreamMeta = z.output<typeof StreamMeta>;
|
|
136
136
|
declare const EndReason: z.ZodEnum<{
|
|
137
137
|
error: "error";
|
|
138
|
+
cancelled: "cancelled";
|
|
138
139
|
resource_exited: "resource_exited";
|
|
139
140
|
completed: "completed";
|
|
140
|
-
cancelled: "cancelled";
|
|
141
141
|
detached: "detached";
|
|
142
142
|
}>;
|
|
143
143
|
type EndReason = z.output<typeof EndReason>;
|
|
@@ -1662,6 +1662,44 @@ declare const OPS: {
|
|
|
1662
1662
|
readonly since: "1.4";
|
|
1663
1663
|
readonly errors: readonly ["INTERNAL"];
|
|
1664
1664
|
};
|
|
1665
|
+
readonly "coding.history.import_missing": {
|
|
1666
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
1667
|
+
readonly result: z.ZodObject<{
|
|
1668
|
+
state: z.ZodEnum<{
|
|
1669
|
+
done: "done";
|
|
1670
|
+
blocked: "blocked";
|
|
1671
|
+
cancelled: "cancelled";
|
|
1672
|
+
}>;
|
|
1673
|
+
blocked: z.ZodNullable<z.ZodEnum<{
|
|
1674
|
+
signed_out: "signed_out";
|
|
1675
|
+
offline: "offline";
|
|
1676
|
+
organization_required: "organization_required";
|
|
1677
|
+
claude_unavailable: "claude_unavailable";
|
|
1678
|
+
cloud_list_unavailable: "cloud_list_unavailable";
|
|
1679
|
+
history_too_large: "history_too_large";
|
|
1680
|
+
}>>;
|
|
1681
|
+
run: z.ZodObject<{
|
|
1682
|
+
local_sessions: z.ZodInt;
|
|
1683
|
+
in_cloud: z.ZodInt;
|
|
1684
|
+
missing: z.ZodInt;
|
|
1685
|
+
behind: z.ZodInt;
|
|
1686
|
+
too_large: z.ZodInt;
|
|
1687
|
+
imported: z.ZodInt;
|
|
1688
|
+
changed: z.ZodInt;
|
|
1689
|
+
failed: z.ZodInt;
|
|
1690
|
+
failures: z.ZodArray<z.ZodObject<{
|
|
1691
|
+
session_id: z.ZodString;
|
|
1692
|
+
reason: z.ZodString;
|
|
1693
|
+
}, z.core.$strict>>;
|
|
1694
|
+
remaining: z.ZodInt;
|
|
1695
|
+
summary: z.ZodString;
|
|
1696
|
+
}, z.core.$strict>;
|
|
1697
|
+
elapsed_ms: z.ZodInt;
|
|
1698
|
+
}, z.core.$strict>;
|
|
1699
|
+
readonly kind: "unary";
|
|
1700
|
+
readonly since: "1.5";
|
|
1701
|
+
readonly errors: readonly ["RESOURCE_BUSY", "RESOURCE_GONE", "CANCELLED", "INTERNAL"];
|
|
1702
|
+
};
|
|
1665
1703
|
};
|
|
1666
1704
|
type OpName = keyof typeof OPS;
|
|
1667
1705
|
type OpParams<N extends OpName> = z.input<(typeof OPS)[N]["params"]>;
|
|
@@ -1738,6 +1776,17 @@ declare const EVENTS: {
|
|
|
1738
1776
|
}, z.core.$strict>>;
|
|
1739
1777
|
}, z.core.$strict>;
|
|
1740
1778
|
}, z.core.$strict>;
|
|
1779
|
+
readonly "coding.history.progress": z.ZodObject<{
|
|
1780
|
+
request_id: z.ZodString;
|
|
1781
|
+
phase: z.ZodEnum<{
|
|
1782
|
+
checking: "checking";
|
|
1783
|
+
importing: "importing";
|
|
1784
|
+
}>;
|
|
1785
|
+
done: z.ZodInt;
|
|
1786
|
+
total: z.ZodInt;
|
|
1787
|
+
imported: z.ZodInt;
|
|
1788
|
+
failed: z.ZodInt;
|
|
1789
|
+
}, z.core.$strict>;
|
|
1741
1790
|
readonly "relay.device_status": z.ZodObject<{
|
|
1742
1791
|
online: z.ZodBoolean;
|
|
1743
1792
|
since_ms: z.ZodNullable<z.ZodInt>;
|
|
@@ -2997,10 +2997,338 @@
|
|
|
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
|
+
"anyOf": [
|
|
3174
|
+
{
|
|
3175
|
+
"$ref": "#/$defs/CodingServiceCredentials"
|
|
3176
|
+
},
|
|
3177
|
+
{
|
|
3178
|
+
"type": "null"
|
|
3179
|
+
}
|
|
3180
|
+
]
|
|
3181
|
+
}
|
|
3182
|
+
},
|
|
3183
|
+
"required": [
|
|
3184
|
+
"credentials"
|
|
3185
|
+
],
|
|
3186
|
+
"additionalProperties": false
|
|
3187
|
+
},
|
|
3188
|
+
"CodingImportNextParams": {
|
|
3189
|
+
"type": "object",
|
|
3190
|
+
"properties": {
|
|
3191
|
+
"plan_id": {
|
|
3192
|
+
"type": "string",
|
|
3193
|
+
"pattern": "^[0-9a-f]{32}$"
|
|
3194
|
+
},
|
|
3195
|
+
"credentials": {
|
|
3196
|
+
"anyOf": [
|
|
3197
|
+
{
|
|
3198
|
+
"$ref": "#/$defs/CodingServiceCredentials"
|
|
3199
|
+
},
|
|
3200
|
+
{
|
|
3201
|
+
"type": "null"
|
|
3202
|
+
}
|
|
3203
|
+
]
|
|
3204
|
+
}
|
|
3205
|
+
},
|
|
3206
|
+
"required": [
|
|
3207
|
+
"plan_id",
|
|
3208
|
+
"credentials"
|
|
3209
|
+
],
|
|
3210
|
+
"additionalProperties": false
|
|
3211
|
+
},
|
|
3212
|
+
"CodingServiceProgress": {
|
|
3213
|
+
"type": "object",
|
|
3214
|
+
"properties": {
|
|
3215
|
+
"phase": {
|
|
3216
|
+
"type": "string",
|
|
3217
|
+
"enum": [
|
|
3218
|
+
"checking",
|
|
3219
|
+
"importing"
|
|
3220
|
+
]
|
|
3221
|
+
},
|
|
3222
|
+
"done": {
|
|
3223
|
+
"type": "integer",
|
|
3224
|
+
"minimum": 0,
|
|
3225
|
+
"maximum": 9007199254740991
|
|
3226
|
+
},
|
|
3227
|
+
"total": {
|
|
3228
|
+
"type": "integer",
|
|
3229
|
+
"minimum": 0,
|
|
3230
|
+
"maximum": 9007199254740991
|
|
3231
|
+
}
|
|
3232
|
+
},
|
|
3233
|
+
"required": [
|
|
3234
|
+
"phase",
|
|
3235
|
+
"done",
|
|
3236
|
+
"total"
|
|
3237
|
+
],
|
|
3238
|
+
"additionalProperties": false
|
|
3239
|
+
},
|
|
3240
|
+
"CodingHistoryImportMissingParams": {
|
|
3241
|
+
"type": "object",
|
|
3242
|
+
"properties": {},
|
|
3243
|
+
"additionalProperties": false
|
|
3244
|
+
},
|
|
3245
|
+
"CodingHistoryImportMissingResult": {
|
|
3246
|
+
"type": "object",
|
|
3247
|
+
"properties": {
|
|
3248
|
+
"state": {
|
|
3249
|
+
"type": "string",
|
|
3250
|
+
"enum": [
|
|
3251
|
+
"done",
|
|
3252
|
+
"blocked",
|
|
3253
|
+
"cancelled"
|
|
3254
|
+
]
|
|
3255
|
+
},
|
|
3256
|
+
"blocked": {
|
|
3257
|
+
"anyOf": [
|
|
3258
|
+
{
|
|
3259
|
+
"$ref": "#/$defs/CodingHistoryBlocked"
|
|
3260
|
+
},
|
|
3261
|
+
{
|
|
3262
|
+
"type": "null"
|
|
3263
|
+
}
|
|
3264
|
+
]
|
|
3265
|
+
},
|
|
3266
|
+
"run": {
|
|
3267
|
+
"$ref": "#/$defs/CodingHistoryRun"
|
|
3268
|
+
},
|
|
3269
|
+
"elapsed_ms": {
|
|
3270
|
+
"type": "integer",
|
|
3271
|
+
"minimum": 0,
|
|
3272
|
+
"maximum": 9007199254740991
|
|
3273
|
+
}
|
|
3274
|
+
},
|
|
3275
|
+
"required": [
|
|
3276
|
+
"state",
|
|
3277
|
+
"blocked",
|
|
3278
|
+
"run",
|
|
3279
|
+
"elapsed_ms"
|
|
3280
|
+
],
|
|
3281
|
+
"additionalProperties": false
|
|
3282
|
+
},
|
|
3283
|
+
"CodingHistoryProgressEvent": {
|
|
3284
|
+
"type": "object",
|
|
3285
|
+
"properties": {
|
|
3286
|
+
"request_id": {
|
|
3287
|
+
"$ref": "#/$defs/RequestId"
|
|
3288
|
+
},
|
|
3289
|
+
"phase": {
|
|
3290
|
+
"type": "string",
|
|
3291
|
+
"enum": [
|
|
3292
|
+
"checking",
|
|
3293
|
+
"importing"
|
|
3294
|
+
]
|
|
3295
|
+
},
|
|
3296
|
+
"done": {
|
|
3297
|
+
"type": "integer",
|
|
3298
|
+
"minimum": 0,
|
|
3299
|
+
"maximum": 9007199254740991
|
|
3300
|
+
},
|
|
3301
|
+
"total": {
|
|
3302
|
+
"type": "integer",
|
|
3303
|
+
"minimum": 0,
|
|
3304
|
+
"maximum": 9007199254740991
|
|
3305
|
+
},
|
|
3306
|
+
"imported": {
|
|
3307
|
+
"type": "integer",
|
|
3308
|
+
"minimum": 0,
|
|
3309
|
+
"maximum": 9007199254740991
|
|
3310
|
+
},
|
|
3311
|
+
"failed": {
|
|
3312
|
+
"type": "integer",
|
|
3313
|
+
"minimum": 0,
|
|
3314
|
+
"maximum": 9007199254740991
|
|
3315
|
+
}
|
|
3316
|
+
},
|
|
3317
|
+
"required": [
|
|
3318
|
+
"request_id",
|
|
3319
|
+
"phase",
|
|
3320
|
+
"done",
|
|
3321
|
+
"total",
|
|
3322
|
+
"imported",
|
|
3323
|
+
"failed"
|
|
3324
|
+
],
|
|
3325
|
+
"additionalProperties": false
|
|
3326
|
+
},
|
|
3000
3327
|
"ServiceName": {
|
|
3001
3328
|
"type": "string",
|
|
3002
3329
|
"enum": [
|
|
3003
|
-
"ml"
|
|
3330
|
+
"ml",
|
|
3331
|
+
"coding"
|
|
3004
3332
|
]
|
|
3005
3333
|
},
|
|
3006
3334
|
"ContractHash": {
|
|
@@ -6416,6 +6744,18 @@
|
|
|
6416
6744
|
"errors": [
|
|
6417
6745
|
"INTERNAL"
|
|
6418
6746
|
]
|
|
6747
|
+
},
|
|
6748
|
+
"coding.history.import_missing": {
|
|
6749
|
+
"params": "CodingHistoryImportMissingParams",
|
|
6750
|
+
"result": "CodingHistoryImportMissingResult",
|
|
6751
|
+
"kind": "unary",
|
|
6752
|
+
"since": "1.5",
|
|
6753
|
+
"errors": [
|
|
6754
|
+
"RESOURCE_BUSY",
|
|
6755
|
+
"RESOURCE_GONE",
|
|
6756
|
+
"CANCELLED",
|
|
6757
|
+
"INTERNAL"
|
|
6758
|
+
]
|
|
6419
6759
|
}
|
|
6420
6760
|
},
|
|
6421
6761
|
"x-events": {
|
|
@@ -6425,6 +6765,7 @@
|
|
|
6425
6765
|
"exec.cwd": "ExecCwdEvent",
|
|
6426
6766
|
"session.control_changed": "SessionControlChangedEvent",
|
|
6427
6767
|
"models.progress": "ModelsProgressEvent",
|
|
6768
|
+
"coding.history.progress": "CodingHistoryProgressEvent",
|
|
6428
6769
|
"relay.device_status": "RelayDeviceStatusEvent",
|
|
6429
6770
|
"relay.auth_expiring": "RelayAuthExpiringEvent"
|
|
6430
6771
|
},
|
|
@@ -6445,6 +6786,19 @@
|
|
|
6445
6786
|
"result": "ModelsTranscribeResult"
|
|
6446
6787
|
}
|
|
6447
6788
|
}
|
|
6789
|
+
},
|
|
6790
|
+
"coding": {
|
|
6791
|
+
"progress": "CodingServiceProgress",
|
|
6792
|
+
"ops": {
|
|
6793
|
+
"coding.plan_missing": {
|
|
6794
|
+
"params": "CodingPlanMissingParams",
|
|
6795
|
+
"result": "CodingHistoryStep"
|
|
6796
|
+
},
|
|
6797
|
+
"coding.import_next": {
|
|
6798
|
+
"params": "CodingImportNextParams",
|
|
6799
|
+
"result": "CodingHistoryStep"
|
|
6800
|
+
}
|
|
6801
|
+
}
|
|
6448
6802
|
}
|
|
6449
6803
|
},
|
|
6450
6804
|
"x-fields-since": {
|
|
@@ -6468,5 +6822,5 @@
|
|
|
6468
6822
|
"olderPeersGet": 0
|
|
6469
6823
|
}
|
|
6470
6824
|
},
|
|
6471
|
-
"x-protocol-version": "1.
|
|
6825
|
+
"x-protocol-version": "1.5"
|
|
6472
6826
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-matrx/desktop-protocol",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.1",
|
|
4
4
|
"description": "The one wire contract between Matrx 2 (the desktop app) and every client that drives it — phone, web app, extension, server: zod schemas for the envelope and every cap.op, the 16-byte binary frame codec, a reconnecting request/stream/credit/reattach client, React hooks, and a generated JSON Schema + Pydantic twin that CI keeps byte-identical.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|