@ai-matrx/desktop-protocol 0.17.11 → 0.17.12
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 +7 -0
- package/dist/client.cjs +391 -298
- 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 +391 -298
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +203 -80
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +142 -6
- package/dist/index.d.ts +142 -6
- package/dist/index.js +203 -80
- package/dist/index.js.map +1 -1
- package/dist/{models-dIUgWoHB.d.cts → models-A0PWllJz.d.cts} +230 -1
- package/dist/{models-dIUgWoHB.d.ts → models-A0PWllJz.d.ts} +230 -1
- package/dist/react.d.cts +115 -0
- package/dist/react.d.ts +115 -0
- package/generated/desktop-protocol.schema.json +510 -1
- package/package.json +1 -1
package/dist/react.d.ts
CHANGED
|
@@ -2687,6 +2687,121 @@ declare const OPS: {
|
|
|
2687
2687
|
readonly since: "1.6";
|
|
2688
2688
|
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2689
2689
|
};
|
|
2690
|
+
readonly "stack.state": {
|
|
2691
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
2692
|
+
readonly result: z.ZodObject<{
|
|
2693
|
+
config_path: z.ZodNullable<z.ZodString>;
|
|
2694
|
+
problem: z.ZodNullable<z.ZodString>;
|
|
2695
|
+
stack_up: z.ZodBoolean;
|
|
2696
|
+
stack_started_at_ms: z.ZodNullable<z.ZodInt>;
|
|
2697
|
+
servers: z.ZodArray<z.ZodObject<{
|
|
2698
|
+
name: z.ZodString;
|
|
2699
|
+
label: z.ZodString;
|
|
2700
|
+
tone: z.ZodEnum<{
|
|
2701
|
+
good: "good";
|
|
2702
|
+
wait: "wait";
|
|
2703
|
+
bad: "bad";
|
|
2704
|
+
off: "off";
|
|
2705
|
+
}>;
|
|
2706
|
+
sentence: z.ZodString;
|
|
2707
|
+
description: z.ZodString;
|
|
2708
|
+
open_url: z.ZodNullable<z.ZodString>;
|
|
2709
|
+
log_file: z.ZodString;
|
|
2710
|
+
last_output_at_ms: z.ZodNullable<z.ZodInt>;
|
|
2711
|
+
started_at_ms: z.ZodNullable<z.ZodInt>;
|
|
2712
|
+
restarts: z.ZodInt;
|
|
2713
|
+
exit_code: z.ZodNullable<z.ZodInt>;
|
|
2714
|
+
pid: z.ZodNullable<z.ZodInt>;
|
|
2715
|
+
}, z.core.$strict>>;
|
|
2716
|
+
setup_note: z.ZodNullable<z.ZodString>;
|
|
2717
|
+
pending: z.ZodNullable<z.ZodObject<{
|
|
2718
|
+
verb: z.ZodEnum<{
|
|
2719
|
+
stop: "stop";
|
|
2720
|
+
start: "start";
|
|
2721
|
+
}>;
|
|
2722
|
+
label: z.ZodString;
|
|
2723
|
+
since_ms: z.ZodInt;
|
|
2724
|
+
}, z.core.$strict>>;
|
|
2725
|
+
events: z.ZodArray<z.ZodObject<{
|
|
2726
|
+
at_ms: z.ZodInt;
|
|
2727
|
+
server: z.ZodString;
|
|
2728
|
+
kind: z.ZodString;
|
|
2729
|
+
text: z.ZodString;
|
|
2730
|
+
}, z.core.$strict>>;
|
|
2731
|
+
}, z.core.$strict>;
|
|
2732
|
+
readonly kind: "unary";
|
|
2733
|
+
readonly since: "1.16";
|
|
2734
|
+
readonly errors: readonly ["INTERNAL"];
|
|
2735
|
+
};
|
|
2736
|
+
readonly "stack.start": {
|
|
2737
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
2738
|
+
readonly result: z.ZodObject<{
|
|
2739
|
+
accepted: z.ZodBoolean;
|
|
2740
|
+
}, z.core.$strict>;
|
|
2741
|
+
readonly kind: "unary";
|
|
2742
|
+
readonly since: "1.16";
|
|
2743
|
+
readonly errors: readonly ["RESOURCE_BUSY", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2744
|
+
};
|
|
2745
|
+
readonly "stack.stop": {
|
|
2746
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
2747
|
+
readonly result: z.ZodObject<{
|
|
2748
|
+
accepted: z.ZodBoolean;
|
|
2749
|
+
}, z.core.$strict>;
|
|
2750
|
+
readonly kind: "unary";
|
|
2751
|
+
readonly since: "1.16";
|
|
2752
|
+
readonly errors: readonly ["RESOURCE_BUSY", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2753
|
+
};
|
|
2754
|
+
readonly "stack.server.action": {
|
|
2755
|
+
readonly params: z.ZodObject<{
|
|
2756
|
+
name: z.ZodString;
|
|
2757
|
+
verb: z.ZodEnum<{
|
|
2758
|
+
stop: "stop";
|
|
2759
|
+
start: "start";
|
|
2760
|
+
restart: "restart";
|
|
2761
|
+
}>;
|
|
2762
|
+
}, z.core.$strict>;
|
|
2763
|
+
readonly result: z.ZodObject<{
|
|
2764
|
+
message: z.ZodString;
|
|
2765
|
+
}, z.core.$strict>;
|
|
2766
|
+
readonly kind: "unary";
|
|
2767
|
+
readonly since: "1.16";
|
|
2768
|
+
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "INTERNAL"];
|
|
2769
|
+
};
|
|
2770
|
+
readonly "stack.logs": {
|
|
2771
|
+
readonly params: z.ZodObject<{
|
|
2772
|
+
name: z.ZodString;
|
|
2773
|
+
lines: z.ZodDefault<z.ZodInt>;
|
|
2774
|
+
offset: z.ZodOptional<z.ZodInt>;
|
|
2775
|
+
since: z.ZodOptional<z.ZodInt>;
|
|
2776
|
+
wait_ms: z.ZodDefault<z.ZodInt>;
|
|
2777
|
+
}, z.core.$strict>;
|
|
2778
|
+
readonly result: z.ZodObject<{
|
|
2779
|
+
lines: z.ZodArray<z.ZodString>;
|
|
2780
|
+
offset: z.ZodInt;
|
|
2781
|
+
since_valid: z.ZodBoolean;
|
|
2782
|
+
reset: z.ZodBoolean;
|
|
2783
|
+
log_file: z.ZodString;
|
|
2784
|
+
}, z.core.$strict>;
|
|
2785
|
+
readonly kind: "unary";
|
|
2786
|
+
readonly since: "1.16";
|
|
2787
|
+
readonly errors: readonly ["NOT_FOUND", "INTERNAL"];
|
|
2788
|
+
};
|
|
2789
|
+
readonly "stack.errors": {
|
|
2790
|
+
readonly params: z.ZodObject<{
|
|
2791
|
+
window_minutes: z.ZodDefault<z.ZodInt>;
|
|
2792
|
+
}, z.core.$strict>;
|
|
2793
|
+
readonly result: z.ZodObject<{
|
|
2794
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
2795
|
+
name: z.ZodString;
|
|
2796
|
+
heading: z.ZodString;
|
|
2797
|
+
lines: z.ZodArray<z.ZodString>;
|
|
2798
|
+
}, z.core.$strict>>;
|
|
2799
|
+
window_minutes: z.ZodInt;
|
|
2800
|
+
}, z.core.$strict>;
|
|
2801
|
+
readonly kind: "unary";
|
|
2802
|
+
readonly since: "1.16";
|
|
2803
|
+
readonly errors: readonly ["INTERNAL"];
|
|
2804
|
+
};
|
|
2690
2805
|
readonly "coding.history.import_missing": {
|
|
2691
2806
|
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
2692
2807
|
readonly result: z.ZodObject<{
|
|
@@ -5279,6 +5279,454 @@
|
|
|
5279
5279
|
],
|
|
5280
5280
|
"additionalProperties": false
|
|
5281
5281
|
},
|
|
5282
|
+
"StackServerName": {
|
|
5283
|
+
"type": "string",
|
|
5284
|
+
"pattern": "^[a-z0-9_-]{1,64}$"
|
|
5285
|
+
},
|
|
5286
|
+
"StackTone": {
|
|
5287
|
+
"type": "string",
|
|
5288
|
+
"enum": [
|
|
5289
|
+
"good",
|
|
5290
|
+
"wait",
|
|
5291
|
+
"bad",
|
|
5292
|
+
"off"
|
|
5293
|
+
]
|
|
5294
|
+
},
|
|
5295
|
+
"StackServer": {
|
|
5296
|
+
"type": "object",
|
|
5297
|
+
"properties": {
|
|
5298
|
+
"name": {
|
|
5299
|
+
"$ref": "#/$defs/StackServerName"
|
|
5300
|
+
},
|
|
5301
|
+
"label": {
|
|
5302
|
+
"type": "string",
|
|
5303
|
+
"maxLength": 32
|
|
5304
|
+
},
|
|
5305
|
+
"tone": {
|
|
5306
|
+
"$ref": "#/$defs/StackTone"
|
|
5307
|
+
},
|
|
5308
|
+
"sentence": {
|
|
5309
|
+
"type": "string",
|
|
5310
|
+
"maxLength": 2000
|
|
5311
|
+
},
|
|
5312
|
+
"description": {
|
|
5313
|
+
"type": "string",
|
|
5314
|
+
"maxLength": 512
|
|
5315
|
+
},
|
|
5316
|
+
"open_url": {
|
|
5317
|
+
"anyOf": [
|
|
5318
|
+
{
|
|
5319
|
+
"type": "string",
|
|
5320
|
+
"maxLength": 2048
|
|
5321
|
+
},
|
|
5322
|
+
{
|
|
5323
|
+
"type": "null"
|
|
5324
|
+
}
|
|
5325
|
+
]
|
|
5326
|
+
},
|
|
5327
|
+
"log_file": {
|
|
5328
|
+
"type": "string",
|
|
5329
|
+
"maxLength": 4096
|
|
5330
|
+
},
|
|
5331
|
+
"last_output_at_ms": {
|
|
5332
|
+
"anyOf": [
|
|
5333
|
+
{
|
|
5334
|
+
"type": "integer",
|
|
5335
|
+
"minimum": 0,
|
|
5336
|
+
"maximum": 9007199254740991
|
|
5337
|
+
},
|
|
5338
|
+
{
|
|
5339
|
+
"type": "null"
|
|
5340
|
+
}
|
|
5341
|
+
]
|
|
5342
|
+
},
|
|
5343
|
+
"started_at_ms": {
|
|
5344
|
+
"anyOf": [
|
|
5345
|
+
{
|
|
5346
|
+
"type": "integer",
|
|
5347
|
+
"minimum": 0,
|
|
5348
|
+
"maximum": 9007199254740991
|
|
5349
|
+
},
|
|
5350
|
+
{
|
|
5351
|
+
"type": "null"
|
|
5352
|
+
}
|
|
5353
|
+
]
|
|
5354
|
+
},
|
|
5355
|
+
"restarts": {
|
|
5356
|
+
"type": "integer",
|
|
5357
|
+
"minimum": 0,
|
|
5358
|
+
"maximum": 9007199254740991
|
|
5359
|
+
},
|
|
5360
|
+
"exit_code": {
|
|
5361
|
+
"anyOf": [
|
|
5362
|
+
{
|
|
5363
|
+
"type": "integer",
|
|
5364
|
+
"minimum": -9007199254740991,
|
|
5365
|
+
"maximum": 9007199254740991
|
|
5366
|
+
},
|
|
5367
|
+
{
|
|
5368
|
+
"type": "null"
|
|
5369
|
+
}
|
|
5370
|
+
]
|
|
5371
|
+
},
|
|
5372
|
+
"pid": {
|
|
5373
|
+
"anyOf": [
|
|
5374
|
+
{
|
|
5375
|
+
"type": "integer",
|
|
5376
|
+
"minimum": -9007199254740991,
|
|
5377
|
+
"maximum": 9007199254740991
|
|
5378
|
+
},
|
|
5379
|
+
{
|
|
5380
|
+
"type": "null"
|
|
5381
|
+
}
|
|
5382
|
+
]
|
|
5383
|
+
}
|
|
5384
|
+
},
|
|
5385
|
+
"required": [
|
|
5386
|
+
"name",
|
|
5387
|
+
"label",
|
|
5388
|
+
"tone",
|
|
5389
|
+
"sentence",
|
|
5390
|
+
"description",
|
|
5391
|
+
"open_url",
|
|
5392
|
+
"log_file",
|
|
5393
|
+
"last_output_at_ms",
|
|
5394
|
+
"started_at_ms",
|
|
5395
|
+
"restarts",
|
|
5396
|
+
"exit_code",
|
|
5397
|
+
"pid"
|
|
5398
|
+
],
|
|
5399
|
+
"additionalProperties": false
|
|
5400
|
+
},
|
|
5401
|
+
"StackEvent": {
|
|
5402
|
+
"type": "object",
|
|
5403
|
+
"properties": {
|
|
5404
|
+
"at_ms": {
|
|
5405
|
+
"type": "integer",
|
|
5406
|
+
"minimum": 0,
|
|
5407
|
+
"maximum": 9007199254740991
|
|
5408
|
+
},
|
|
5409
|
+
"server": {
|
|
5410
|
+
"type": "string",
|
|
5411
|
+
"maxLength": 64
|
|
5412
|
+
},
|
|
5413
|
+
"kind": {
|
|
5414
|
+
"type": "string",
|
|
5415
|
+
"maxLength": 32
|
|
5416
|
+
},
|
|
5417
|
+
"text": {
|
|
5418
|
+
"type": "string",
|
|
5419
|
+
"maxLength": 4000
|
|
5420
|
+
}
|
|
5421
|
+
},
|
|
5422
|
+
"required": [
|
|
5423
|
+
"at_ms",
|
|
5424
|
+
"server",
|
|
5425
|
+
"kind",
|
|
5426
|
+
"text"
|
|
5427
|
+
],
|
|
5428
|
+
"additionalProperties": false
|
|
5429
|
+
},
|
|
5430
|
+
"StackStateParams": {
|
|
5431
|
+
"type": "object",
|
|
5432
|
+
"properties": {},
|
|
5433
|
+
"additionalProperties": false
|
|
5434
|
+
},
|
|
5435
|
+
"StackStateResult": {
|
|
5436
|
+
"type": "object",
|
|
5437
|
+
"properties": {
|
|
5438
|
+
"config_path": {
|
|
5439
|
+
"anyOf": [
|
|
5440
|
+
{
|
|
5441
|
+
"type": "string",
|
|
5442
|
+
"maxLength": 4096
|
|
5443
|
+
},
|
|
5444
|
+
{
|
|
5445
|
+
"type": "null"
|
|
5446
|
+
}
|
|
5447
|
+
]
|
|
5448
|
+
},
|
|
5449
|
+
"problem": {
|
|
5450
|
+
"anyOf": [
|
|
5451
|
+
{
|
|
5452
|
+
"type": "string",
|
|
5453
|
+
"maxLength": 1000
|
|
5454
|
+
},
|
|
5455
|
+
{
|
|
5456
|
+
"type": "null"
|
|
5457
|
+
}
|
|
5458
|
+
]
|
|
5459
|
+
},
|
|
5460
|
+
"stack_up": {
|
|
5461
|
+
"type": "boolean"
|
|
5462
|
+
},
|
|
5463
|
+
"stack_started_at_ms": {
|
|
5464
|
+
"anyOf": [
|
|
5465
|
+
{
|
|
5466
|
+
"type": "integer",
|
|
5467
|
+
"minimum": 0,
|
|
5468
|
+
"maximum": 9007199254740991
|
|
5469
|
+
},
|
|
5470
|
+
{
|
|
5471
|
+
"type": "null"
|
|
5472
|
+
}
|
|
5473
|
+
]
|
|
5474
|
+
},
|
|
5475
|
+
"servers": {
|
|
5476
|
+
"maxItems": 64,
|
|
5477
|
+
"type": "array",
|
|
5478
|
+
"items": {
|
|
5479
|
+
"$ref": "#/$defs/StackServer"
|
|
5480
|
+
}
|
|
5481
|
+
},
|
|
5482
|
+
"setup_note": {
|
|
5483
|
+
"anyOf": [
|
|
5484
|
+
{
|
|
5485
|
+
"type": "string",
|
|
5486
|
+
"maxLength": 500
|
|
5487
|
+
},
|
|
5488
|
+
{
|
|
5489
|
+
"type": "null"
|
|
5490
|
+
}
|
|
5491
|
+
]
|
|
5492
|
+
},
|
|
5493
|
+
"pending": {
|
|
5494
|
+
"anyOf": [
|
|
5495
|
+
{
|
|
5496
|
+
"type": "object",
|
|
5497
|
+
"properties": {
|
|
5498
|
+
"verb": {
|
|
5499
|
+
"type": "string",
|
|
5500
|
+
"enum": [
|
|
5501
|
+
"start",
|
|
5502
|
+
"stop"
|
|
5503
|
+
]
|
|
5504
|
+
},
|
|
5505
|
+
"label": {
|
|
5506
|
+
"type": "string",
|
|
5507
|
+
"maxLength": 64
|
|
5508
|
+
},
|
|
5509
|
+
"since_ms": {
|
|
5510
|
+
"type": "integer",
|
|
5511
|
+
"minimum": 0,
|
|
5512
|
+
"maximum": 9007199254740991
|
|
5513
|
+
}
|
|
5514
|
+
},
|
|
5515
|
+
"required": [
|
|
5516
|
+
"verb",
|
|
5517
|
+
"label",
|
|
5518
|
+
"since_ms"
|
|
5519
|
+
],
|
|
5520
|
+
"additionalProperties": false
|
|
5521
|
+
},
|
|
5522
|
+
{
|
|
5523
|
+
"type": "null"
|
|
5524
|
+
}
|
|
5525
|
+
]
|
|
5526
|
+
},
|
|
5527
|
+
"events": {
|
|
5528
|
+
"maxItems": 300,
|
|
5529
|
+
"type": "array",
|
|
5530
|
+
"items": {
|
|
5531
|
+
"$ref": "#/$defs/StackEvent"
|
|
5532
|
+
}
|
|
5533
|
+
}
|
|
5534
|
+
},
|
|
5535
|
+
"required": [
|
|
5536
|
+
"config_path",
|
|
5537
|
+
"problem",
|
|
5538
|
+
"stack_up",
|
|
5539
|
+
"stack_started_at_ms",
|
|
5540
|
+
"servers",
|
|
5541
|
+
"setup_note",
|
|
5542
|
+
"pending",
|
|
5543
|
+
"events"
|
|
5544
|
+
],
|
|
5545
|
+
"additionalProperties": false
|
|
5546
|
+
},
|
|
5547
|
+
"StackStartParams": {
|
|
5548
|
+
"type": "object",
|
|
5549
|
+
"properties": {},
|
|
5550
|
+
"additionalProperties": false
|
|
5551
|
+
},
|
|
5552
|
+
"StackStopParams": {
|
|
5553
|
+
"type": "object",
|
|
5554
|
+
"properties": {},
|
|
5555
|
+
"additionalProperties": false
|
|
5556
|
+
},
|
|
5557
|
+
"StackRunResult": {
|
|
5558
|
+
"type": "object",
|
|
5559
|
+
"properties": {
|
|
5560
|
+
"accepted": {
|
|
5561
|
+
"type": "boolean"
|
|
5562
|
+
}
|
|
5563
|
+
},
|
|
5564
|
+
"required": [
|
|
5565
|
+
"accepted"
|
|
5566
|
+
],
|
|
5567
|
+
"additionalProperties": false
|
|
5568
|
+
},
|
|
5569
|
+
"StackServerActionParams": {
|
|
5570
|
+
"type": "object",
|
|
5571
|
+
"properties": {
|
|
5572
|
+
"name": {
|
|
5573
|
+
"$ref": "#/$defs/StackServerName"
|
|
5574
|
+
},
|
|
5575
|
+
"verb": {
|
|
5576
|
+
"type": "string",
|
|
5577
|
+
"enum": [
|
|
5578
|
+
"start",
|
|
5579
|
+
"stop",
|
|
5580
|
+
"restart"
|
|
5581
|
+
]
|
|
5582
|
+
}
|
|
5583
|
+
},
|
|
5584
|
+
"required": [
|
|
5585
|
+
"name",
|
|
5586
|
+
"verb"
|
|
5587
|
+
],
|
|
5588
|
+
"additionalProperties": false
|
|
5589
|
+
},
|
|
5590
|
+
"StackServerActionResult": {
|
|
5591
|
+
"type": "object",
|
|
5592
|
+
"properties": {
|
|
5593
|
+
"message": {
|
|
5594
|
+
"type": "string",
|
|
5595
|
+
"maxLength": 1000
|
|
5596
|
+
}
|
|
5597
|
+
},
|
|
5598
|
+
"required": [
|
|
5599
|
+
"message"
|
|
5600
|
+
],
|
|
5601
|
+
"additionalProperties": false
|
|
5602
|
+
},
|
|
5603
|
+
"StackLogsParams": {
|
|
5604
|
+
"type": "object",
|
|
5605
|
+
"properties": {
|
|
5606
|
+
"name": {
|
|
5607
|
+
"$ref": "#/$defs/StackServerName"
|
|
5608
|
+
},
|
|
5609
|
+
"lines": {
|
|
5610
|
+
"default": 2000,
|
|
5611
|
+
"type": "integer",
|
|
5612
|
+
"minimum": 1,
|
|
5613
|
+
"maximum": 200000
|
|
5614
|
+
},
|
|
5615
|
+
"offset": {
|
|
5616
|
+
"type": "integer",
|
|
5617
|
+
"minimum": 0,
|
|
5618
|
+
"maximum": 9007199254740991
|
|
5619
|
+
},
|
|
5620
|
+
"since": {
|
|
5621
|
+
"type": "integer",
|
|
5622
|
+
"minimum": 0,
|
|
5623
|
+
"maximum": 9007199254740991
|
|
5624
|
+
},
|
|
5625
|
+
"wait_ms": {
|
|
5626
|
+
"default": 0,
|
|
5627
|
+
"type": "integer",
|
|
5628
|
+
"minimum": 0,
|
|
5629
|
+
"maximum": 25000
|
|
5630
|
+
}
|
|
5631
|
+
},
|
|
5632
|
+
"required": [
|
|
5633
|
+
"name"
|
|
5634
|
+
],
|
|
5635
|
+
"additionalProperties": false
|
|
5636
|
+
},
|
|
5637
|
+
"StackLogsResult": {
|
|
5638
|
+
"type": "object",
|
|
5639
|
+
"properties": {
|
|
5640
|
+
"lines": {
|
|
5641
|
+
"maxItems": 200000,
|
|
5642
|
+
"type": "array",
|
|
5643
|
+
"items": {
|
|
5644
|
+
"type": "string",
|
|
5645
|
+
"maxLength": 65536
|
|
5646
|
+
}
|
|
5647
|
+
},
|
|
5648
|
+
"offset": {
|
|
5649
|
+
"type": "integer",
|
|
5650
|
+
"minimum": 0,
|
|
5651
|
+
"maximum": 9007199254740991
|
|
5652
|
+
},
|
|
5653
|
+
"since_valid": {
|
|
5654
|
+
"type": "boolean"
|
|
5655
|
+
},
|
|
5656
|
+
"reset": {
|
|
5657
|
+
"type": "boolean"
|
|
5658
|
+
},
|
|
5659
|
+
"log_file": {
|
|
5660
|
+
"type": "string",
|
|
5661
|
+
"maxLength": 4096
|
|
5662
|
+
}
|
|
5663
|
+
},
|
|
5664
|
+
"required": [
|
|
5665
|
+
"lines",
|
|
5666
|
+
"offset",
|
|
5667
|
+
"since_valid",
|
|
5668
|
+
"reset",
|
|
5669
|
+
"log_file"
|
|
5670
|
+
],
|
|
5671
|
+
"additionalProperties": false
|
|
5672
|
+
},
|
|
5673
|
+
"StackErrorsParams": {
|
|
5674
|
+
"type": "object",
|
|
5675
|
+
"properties": {
|
|
5676
|
+
"window_minutes": {
|
|
5677
|
+
"default": 60,
|
|
5678
|
+
"type": "integer",
|
|
5679
|
+
"minimum": 1,
|
|
5680
|
+
"maximum": 1440
|
|
5681
|
+
}
|
|
5682
|
+
},
|
|
5683
|
+
"additionalProperties": false
|
|
5684
|
+
},
|
|
5685
|
+
"StackErrorsResult": {
|
|
5686
|
+
"type": "object",
|
|
5687
|
+
"properties": {
|
|
5688
|
+
"sections": {
|
|
5689
|
+
"maxItems": 64,
|
|
5690
|
+
"type": "array",
|
|
5691
|
+
"items": {
|
|
5692
|
+
"type": "object",
|
|
5693
|
+
"properties": {
|
|
5694
|
+
"name": {
|
|
5695
|
+
"$ref": "#/$defs/StackServerName"
|
|
5696
|
+
},
|
|
5697
|
+
"heading": {
|
|
5698
|
+
"type": "string",
|
|
5699
|
+
"maxLength": 4096
|
|
5700
|
+
},
|
|
5701
|
+
"lines": {
|
|
5702
|
+
"maxItems": 5000,
|
|
5703
|
+
"type": "array",
|
|
5704
|
+
"items": {
|
|
5705
|
+
"type": "string",
|
|
5706
|
+
"maxLength": 65536
|
|
5707
|
+
}
|
|
5708
|
+
}
|
|
5709
|
+
},
|
|
5710
|
+
"required": [
|
|
5711
|
+
"name",
|
|
5712
|
+
"heading",
|
|
5713
|
+
"lines"
|
|
5714
|
+
],
|
|
5715
|
+
"additionalProperties": false
|
|
5716
|
+
}
|
|
5717
|
+
},
|
|
5718
|
+
"window_minutes": {
|
|
5719
|
+
"type": "integer",
|
|
5720
|
+
"minimum": 1,
|
|
5721
|
+
"maximum": 1440
|
|
5722
|
+
}
|
|
5723
|
+
},
|
|
5724
|
+
"required": [
|
|
5725
|
+
"sections",
|
|
5726
|
+
"window_minutes"
|
|
5727
|
+
],
|
|
5728
|
+
"additionalProperties": false
|
|
5729
|
+
},
|
|
5282
5730
|
"FsWatchId": {
|
|
5283
5731
|
"type": "string",
|
|
5284
5732
|
"pattern": "^fw_[A-Za-z0-9]{12,40}$"
|
|
@@ -9455,6 +9903,67 @@
|
|
|
9455
9903
|
"INTERNAL"
|
|
9456
9904
|
]
|
|
9457
9905
|
},
|
|
9906
|
+
"stack.state": {
|
|
9907
|
+
"params": "StackStateParams",
|
|
9908
|
+
"result": "StackStateResult",
|
|
9909
|
+
"kind": "unary",
|
|
9910
|
+
"since": "1.16",
|
|
9911
|
+
"errors": [
|
|
9912
|
+
"INTERNAL"
|
|
9913
|
+
]
|
|
9914
|
+
},
|
|
9915
|
+
"stack.start": {
|
|
9916
|
+
"params": "StackStartParams",
|
|
9917
|
+
"result": "StackRunResult",
|
|
9918
|
+
"kind": "unary",
|
|
9919
|
+
"since": "1.16",
|
|
9920
|
+
"errors": [
|
|
9921
|
+
"RESOURCE_BUSY",
|
|
9922
|
+
"PLATFORM_UNSUPPORTED",
|
|
9923
|
+
"INTERNAL"
|
|
9924
|
+
]
|
|
9925
|
+
},
|
|
9926
|
+
"stack.stop": {
|
|
9927
|
+
"params": "StackStopParams",
|
|
9928
|
+
"result": "StackRunResult",
|
|
9929
|
+
"kind": "unary",
|
|
9930
|
+
"since": "1.16",
|
|
9931
|
+
"errors": [
|
|
9932
|
+
"RESOURCE_BUSY",
|
|
9933
|
+
"PLATFORM_UNSUPPORTED",
|
|
9934
|
+
"INTERNAL"
|
|
9935
|
+
]
|
|
9936
|
+
},
|
|
9937
|
+
"stack.server.action": {
|
|
9938
|
+
"params": "StackServerActionParams",
|
|
9939
|
+
"result": "StackServerActionResult",
|
|
9940
|
+
"kind": "unary",
|
|
9941
|
+
"since": "1.16",
|
|
9942
|
+
"errors": [
|
|
9943
|
+
"NOT_FOUND",
|
|
9944
|
+
"CONFLICT",
|
|
9945
|
+
"INTERNAL"
|
|
9946
|
+
]
|
|
9947
|
+
},
|
|
9948
|
+
"stack.logs": {
|
|
9949
|
+
"params": "StackLogsParams",
|
|
9950
|
+
"result": "StackLogsResult",
|
|
9951
|
+
"kind": "unary",
|
|
9952
|
+
"since": "1.16",
|
|
9953
|
+
"errors": [
|
|
9954
|
+
"NOT_FOUND",
|
|
9955
|
+
"INTERNAL"
|
|
9956
|
+
]
|
|
9957
|
+
},
|
|
9958
|
+
"stack.errors": {
|
|
9959
|
+
"params": "StackErrorsParams",
|
|
9960
|
+
"result": "StackErrorsResult",
|
|
9961
|
+
"kind": "unary",
|
|
9962
|
+
"since": "1.16",
|
|
9963
|
+
"errors": [
|
|
9964
|
+
"INTERNAL"
|
|
9965
|
+
]
|
|
9966
|
+
},
|
|
9458
9967
|
"coding.history.import_missing": {
|
|
9459
9968
|
"params": "CodingHistoryImportMissingParams",
|
|
9460
9969
|
"result": "CodingHistoryImportMissingResult",
|
|
@@ -9561,5 +10070,5 @@
|
|
|
9561
10070
|
"olderPeersGet": 0
|
|
9562
10071
|
}
|
|
9563
10072
|
},
|
|
9564
|
-
"x-protocol-version": "1.
|
|
10073
|
+
"x-protocol-version": "1.16"
|
|
9565
10074
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-matrx/desktop-protocol",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.12",
|
|
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",
|