@ai-matrx/desktop-protocol 0.16.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.
@@ -2487,11 +2487,11 @@ declare const SERVICES: {
2487
2487
  readonly ops: {
2488
2488
  readonly "coding.plan_missing": {
2489
2489
  readonly params: z.ZodObject<{
2490
- credentials: z.ZodObject<{
2490
+ credentials: z.ZodNullable<z.ZodObject<{
2491
2491
  access_token: z.ZodString;
2492
2492
  user_id: z.ZodString;
2493
2493
  server_url: z.ZodString;
2494
- }, z.core.$strict>;
2494
+ }, z.core.$strict>>;
2495
2495
  }, z.core.$strict>;
2496
2496
  readonly result: z.ZodObject<{
2497
2497
  plan_id: z.ZodNullable<z.ZodString>;
@@ -2525,11 +2525,11 @@ declare const SERVICES: {
2525
2525
  readonly "coding.import_next": {
2526
2526
  readonly params: z.ZodObject<{
2527
2527
  plan_id: z.ZodString;
2528
- credentials: z.ZodObject<{
2528
+ credentials: z.ZodNullable<z.ZodObject<{
2529
2529
  access_token: z.ZodString;
2530
2530
  user_id: z.ZodString;
2531
2531
  server_url: z.ZodString;
2532
- }, z.core.$strict>;
2532
+ }, z.core.$strict>>;
2533
2533
  }, z.core.$strict>;
2534
2534
  readonly result: z.ZodObject<{
2535
2535
  plan_id: z.ZodNullable<z.ZodString>;
@@ -3984,19 +3984,19 @@ declare const NAMED_SCHEMAS: {
3984
3984
  }, z.core.$strict>;
3985
3985
  }, z.core.$strict>;
3986
3986
  readonly CodingPlanMissingParams: z.ZodObject<{
3987
- credentials: z.ZodObject<{
3987
+ credentials: z.ZodNullable<z.ZodObject<{
3988
3988
  access_token: z.ZodString;
3989
3989
  user_id: z.ZodString;
3990
3990
  server_url: z.ZodString;
3991
- }, z.core.$strict>;
3991
+ }, z.core.$strict>>;
3992
3992
  }, z.core.$strict>;
3993
3993
  readonly CodingImportNextParams: z.ZodObject<{
3994
3994
  plan_id: z.ZodString;
3995
- credentials: z.ZodObject<{
3995
+ credentials: z.ZodNullable<z.ZodObject<{
3996
3996
  access_token: z.ZodString;
3997
3997
  user_id: z.ZodString;
3998
3998
  server_url: z.ZodString;
3999
- }, z.core.$strict>;
3999
+ }, z.core.$strict>>;
4000
4000
  }, z.core.$strict>;
4001
4001
  readonly CodingServiceProgress: z.ZodObject<{
4002
4002
  phase: z.ZodEnum<{
@@ -2487,11 +2487,11 @@ declare const SERVICES: {
2487
2487
  readonly ops: {
2488
2488
  readonly "coding.plan_missing": {
2489
2489
  readonly params: z.ZodObject<{
2490
- credentials: z.ZodObject<{
2490
+ credentials: z.ZodNullable<z.ZodObject<{
2491
2491
  access_token: z.ZodString;
2492
2492
  user_id: z.ZodString;
2493
2493
  server_url: z.ZodString;
2494
- }, z.core.$strict>;
2494
+ }, z.core.$strict>>;
2495
2495
  }, z.core.$strict>;
2496
2496
  readonly result: z.ZodObject<{
2497
2497
  plan_id: z.ZodNullable<z.ZodString>;
@@ -2525,11 +2525,11 @@ declare const SERVICES: {
2525
2525
  readonly "coding.import_next": {
2526
2526
  readonly params: z.ZodObject<{
2527
2527
  plan_id: z.ZodString;
2528
- credentials: z.ZodObject<{
2528
+ credentials: z.ZodNullable<z.ZodObject<{
2529
2529
  access_token: z.ZodString;
2530
2530
  user_id: z.ZodString;
2531
2531
  server_url: z.ZodString;
2532
- }, z.core.$strict>;
2532
+ }, z.core.$strict>>;
2533
2533
  }, z.core.$strict>;
2534
2534
  readonly result: z.ZodObject<{
2535
2535
  plan_id: z.ZodNullable<z.ZodString>;
@@ -3984,19 +3984,19 @@ declare const NAMED_SCHEMAS: {
3984
3984
  }, z.core.$strict>;
3985
3985
  }, z.core.$strict>;
3986
3986
  readonly CodingPlanMissingParams: z.ZodObject<{
3987
- credentials: z.ZodObject<{
3987
+ credentials: z.ZodNullable<z.ZodObject<{
3988
3988
  access_token: z.ZodString;
3989
3989
  user_id: z.ZodString;
3990
3990
  server_url: z.ZodString;
3991
- }, z.core.$strict>;
3991
+ }, z.core.$strict>>;
3992
3992
  }, z.core.$strict>;
3993
3993
  readonly CodingImportNextParams: z.ZodObject<{
3994
3994
  plan_id: z.ZodString;
3995
- credentials: z.ZodObject<{
3995
+ credentials: z.ZodNullable<z.ZodObject<{
3996
3996
  access_token: z.ZodString;
3997
3997
  user_id: z.ZodString;
3998
3998
  server_url: z.ZodString;
3999
- }, z.core.$strict>;
3999
+ }, z.core.$strict>>;
4000
4000
  }, z.core.$strict>;
4001
4001
  readonly CodingServiceProgress: z.ZodObject<{
4002
4002
  phase: z.ZodEnum<{
@@ -3170,7 +3170,14 @@
3170
3170
  "type": "object",
3171
3171
  "properties": {
3172
3172
  "credentials": {
3173
- "$ref": "#/$defs/CodingServiceCredentials"
3173
+ "anyOf": [
3174
+ {
3175
+ "$ref": "#/$defs/CodingServiceCredentials"
3176
+ },
3177
+ {
3178
+ "type": "null"
3179
+ }
3180
+ ]
3174
3181
  }
3175
3182
  },
3176
3183
  "required": [
@@ -3186,7 +3193,14 @@
3186
3193
  "pattern": "^[0-9a-f]{32}$"
3187
3194
  },
3188
3195
  "credentials": {
3189
- "$ref": "#/$defs/CodingServiceCredentials"
3196
+ "anyOf": [
3197
+ {
3198
+ "$ref": "#/$defs/CodingServiceCredentials"
3199
+ },
3200
+ {
3201
+ "type": "null"
3202
+ }
3203
+ ]
3190
3204
  }
3191
3205
  },
3192
3206
  "required": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-matrx/desktop-protocol",
3
- "version": "0.16.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",