@openllmsh/sdk 2.10.19-alpha.0 → 2.10.19-alpha.2
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/dist/openapi/openapi.json +116 -158
- package/dist/openapi/operations.js +18 -18
- package/dist/protocol/daemon.d.ts +1 -1
- package/dist/protocol/daemon.js +1 -1
- package/dist/protocol/index.d.ts +1 -1
- package/dist/protocol/index.js +1 -1
- package/dist/protocol/local-device-control.d.ts +5 -5
- package/dist/protocol/local-device-control.js +5 -5
- package/dist/protocol/mux.js +1 -1
- package/dist/protocol/routebox.d.ts +7 -0
- package/dist/protocol/routebox.js +7 -0
- package/dist/vault/cli-auth-seal.js +22 -47
- package/dist/vault/device-control.d.ts +1 -1
- package/dist/vault/device-control.js +3 -4
- package/dist/vault/public-key-seal.js +22 -49
- package/dist/vault/routebox-key.d.ts +3 -0
- package/dist/vault/{routing-box-key.js → routebox-key.js} +5 -5
- package/dist/vault/{routing-box-seal.d.ts → routebox-seal.d.ts} +10 -10
- package/dist/vault/routebox-seal.js +91 -0
- package/dist/vault/x25519-seal.d.ts +48 -0
- package/dist/vault/x25519-seal.js +78 -0
- package/package.json +1 -1
- package/dist/protocol/routing-box.d.ts +0 -7
- package/dist/protocol/routing-box.js +0 -7
- package/dist/vault/routing-box-key.d.ts +0 -3
- package/dist/vault/routing-box-seal.js +0 -93
|
@@ -23249,7 +23249,7 @@
|
|
|
23249
23249
|
"type": "string",
|
|
23250
23250
|
"enum": [
|
|
23251
23251
|
"user",
|
|
23252
|
-
"
|
|
23252
|
+
"routebox"
|
|
23253
23253
|
]
|
|
23254
23254
|
},
|
|
23255
23255
|
"usage": {
|
|
@@ -26371,7 +26371,7 @@
|
|
|
26371
26371
|
"type": "string",
|
|
26372
26372
|
"enum": [
|
|
26373
26373
|
"user",
|
|
26374
|
-
"
|
|
26374
|
+
"routebox"
|
|
26375
26375
|
]
|
|
26376
26376
|
},
|
|
26377
26377
|
"usage": {
|
|
@@ -26755,12 +26755,12 @@
|
|
|
26755
26755
|
}
|
|
26756
26756
|
}
|
|
26757
26757
|
},
|
|
26758
|
-
"/
|
|
26758
|
+
"/routebox": {
|
|
26759
26759
|
"get": {
|
|
26760
26760
|
"tags": [
|
|
26761
|
-
"
|
|
26761
|
+
"routebox"
|
|
26762
26762
|
],
|
|
26763
|
-
"operationId": "
|
|
26763
|
+
"operationId": "routebox.get",
|
|
26764
26764
|
"parameters": [],
|
|
26765
26765
|
"security": [],
|
|
26766
26766
|
"responses": {
|
|
@@ -26779,27 +26779,6 @@
|
|
|
26779
26779
|
"id": {
|
|
26780
26780
|
"type": "string"
|
|
26781
26781
|
},
|
|
26782
|
-
"kind": {
|
|
26783
|
-
"type": "string",
|
|
26784
|
-
"enum": [
|
|
26785
|
-
"routing"
|
|
26786
|
-
]
|
|
26787
|
-
},
|
|
26788
|
-
"capabilities": {
|
|
26789
|
-
"type": "object",
|
|
26790
|
-
"properties": {
|
|
26791
|
-
"device_sessions": {
|
|
26792
|
-
"type": "boolean",
|
|
26793
|
-
"enum": [
|
|
26794
|
-
false
|
|
26795
|
-
]
|
|
26796
|
-
}
|
|
26797
|
-
},
|
|
26798
|
-
"required": [
|
|
26799
|
-
"device_sessions"
|
|
26800
|
-
],
|
|
26801
|
-
"additionalProperties": false
|
|
26802
|
-
},
|
|
26803
26782
|
"state": {
|
|
26804
26783
|
"type": "string",
|
|
26805
26784
|
"enum": [
|
|
@@ -26914,8 +26893,6 @@
|
|
|
26914
26893
|
},
|
|
26915
26894
|
"required": [
|
|
26916
26895
|
"id",
|
|
26917
|
-
"kind",
|
|
26918
|
-
"capabilities",
|
|
26919
26896
|
"state",
|
|
26920
26897
|
"generation",
|
|
26921
26898
|
"public_ipv4",
|
|
@@ -26933,6 +26910,22 @@
|
|
|
26933
26910
|
"type": "null"
|
|
26934
26911
|
}
|
|
26935
26912
|
]
|
|
26913
|
+
},
|
|
26914
|
+
"notice": {
|
|
26915
|
+
"anyOf": [
|
|
26916
|
+
{
|
|
26917
|
+
"type": "string",
|
|
26918
|
+
"enum": [
|
|
26919
|
+
"machine_gone"
|
|
26920
|
+
]
|
|
26921
|
+
},
|
|
26922
|
+
{
|
|
26923
|
+
"type": "null"
|
|
26924
|
+
},
|
|
26925
|
+
{
|
|
26926
|
+
"type": "null"
|
|
26927
|
+
}
|
|
26928
|
+
]
|
|
26936
26929
|
}
|
|
26937
26930
|
},
|
|
26938
26931
|
"required": [
|
|
@@ -27331,9 +27324,9 @@
|
|
|
27331
27324
|
},
|
|
27332
27325
|
"post": {
|
|
27333
27326
|
"tags": [
|
|
27334
|
-
"
|
|
27327
|
+
"routebox"
|
|
27335
27328
|
],
|
|
27336
|
-
"operationId": "
|
|
27329
|
+
"operationId": "routebox.create",
|
|
27337
27330
|
"parameters": [],
|
|
27338
27331
|
"security": [],
|
|
27339
27332
|
"responses": {
|
|
@@ -27352,27 +27345,6 @@
|
|
|
27352
27345
|
"id": {
|
|
27353
27346
|
"type": "string"
|
|
27354
27347
|
},
|
|
27355
|
-
"kind": {
|
|
27356
|
-
"type": "string",
|
|
27357
|
-
"enum": [
|
|
27358
|
-
"routing"
|
|
27359
|
-
]
|
|
27360
|
-
},
|
|
27361
|
-
"capabilities": {
|
|
27362
|
-
"type": "object",
|
|
27363
|
-
"properties": {
|
|
27364
|
-
"device_sessions": {
|
|
27365
|
-
"type": "boolean",
|
|
27366
|
-
"enum": [
|
|
27367
|
-
false
|
|
27368
|
-
]
|
|
27369
|
-
}
|
|
27370
|
-
},
|
|
27371
|
-
"required": [
|
|
27372
|
-
"device_sessions"
|
|
27373
|
-
],
|
|
27374
|
-
"additionalProperties": false
|
|
27375
|
-
},
|
|
27376
27348
|
"state": {
|
|
27377
27349
|
"type": "string",
|
|
27378
27350
|
"enum": [
|
|
@@ -27487,8 +27459,6 @@
|
|
|
27487
27459
|
},
|
|
27488
27460
|
"required": [
|
|
27489
27461
|
"id",
|
|
27490
|
-
"kind",
|
|
27491
|
-
"capabilities",
|
|
27492
27462
|
"state",
|
|
27493
27463
|
"generation",
|
|
27494
27464
|
"public_ipv4",
|
|
@@ -27506,6 +27476,22 @@
|
|
|
27506
27476
|
"type": "null"
|
|
27507
27477
|
}
|
|
27508
27478
|
]
|
|
27479
|
+
},
|
|
27480
|
+
"notice": {
|
|
27481
|
+
"anyOf": [
|
|
27482
|
+
{
|
|
27483
|
+
"type": "string",
|
|
27484
|
+
"enum": [
|
|
27485
|
+
"machine_gone"
|
|
27486
|
+
]
|
|
27487
|
+
},
|
|
27488
|
+
{
|
|
27489
|
+
"type": "null"
|
|
27490
|
+
},
|
|
27491
|
+
{
|
|
27492
|
+
"type": "null"
|
|
27493
|
+
}
|
|
27494
|
+
]
|
|
27509
27495
|
}
|
|
27510
27496
|
},
|
|
27511
27497
|
"required": [
|
|
@@ -27531,27 +27517,6 @@
|
|
|
27531
27517
|
"id": {
|
|
27532
27518
|
"type": "string"
|
|
27533
27519
|
},
|
|
27534
|
-
"kind": {
|
|
27535
|
-
"type": "string",
|
|
27536
|
-
"enum": [
|
|
27537
|
-
"routing"
|
|
27538
|
-
]
|
|
27539
|
-
},
|
|
27540
|
-
"capabilities": {
|
|
27541
|
-
"type": "object",
|
|
27542
|
-
"properties": {
|
|
27543
|
-
"device_sessions": {
|
|
27544
|
-
"type": "boolean",
|
|
27545
|
-
"enum": [
|
|
27546
|
-
false
|
|
27547
|
-
]
|
|
27548
|
-
}
|
|
27549
|
-
},
|
|
27550
|
-
"required": [
|
|
27551
|
-
"device_sessions"
|
|
27552
|
-
],
|
|
27553
|
-
"additionalProperties": false
|
|
27554
|
-
},
|
|
27555
27520
|
"state": {
|
|
27556
27521
|
"type": "string",
|
|
27557
27522
|
"enum": [
|
|
@@ -27666,8 +27631,6 @@
|
|
|
27666
27631
|
},
|
|
27667
27632
|
"required": [
|
|
27668
27633
|
"id",
|
|
27669
|
-
"kind",
|
|
27670
|
-
"capabilities",
|
|
27671
27634
|
"state",
|
|
27672
27635
|
"generation",
|
|
27673
27636
|
"public_ipv4",
|
|
@@ -27685,6 +27648,22 @@
|
|
|
27685
27648
|
"type": "null"
|
|
27686
27649
|
}
|
|
27687
27650
|
]
|
|
27651
|
+
},
|
|
27652
|
+
"notice": {
|
|
27653
|
+
"anyOf": [
|
|
27654
|
+
{
|
|
27655
|
+
"type": "string",
|
|
27656
|
+
"enum": [
|
|
27657
|
+
"machine_gone"
|
|
27658
|
+
]
|
|
27659
|
+
},
|
|
27660
|
+
{
|
|
27661
|
+
"type": "null"
|
|
27662
|
+
},
|
|
27663
|
+
{
|
|
27664
|
+
"type": "null"
|
|
27665
|
+
}
|
|
27666
|
+
]
|
|
27688
27667
|
}
|
|
27689
27668
|
},
|
|
27690
27669
|
"required": [
|
|
@@ -28082,12 +28061,12 @@
|
|
|
28082
28061
|
}
|
|
28083
28062
|
}
|
|
28084
28063
|
},
|
|
28085
|
-
"/
|
|
28064
|
+
"/routebox/{id}/restart": {
|
|
28086
28065
|
"post": {
|
|
28087
28066
|
"tags": [
|
|
28088
|
-
"
|
|
28067
|
+
"routebox"
|
|
28089
28068
|
],
|
|
28090
|
-
"operationId": "
|
|
28069
|
+
"operationId": "routebox.restart",
|
|
28091
28070
|
"parameters": [
|
|
28092
28071
|
{
|
|
28093
28072
|
"name": "id",
|
|
@@ -28115,27 +28094,6 @@
|
|
|
28115
28094
|
"id": {
|
|
28116
28095
|
"type": "string"
|
|
28117
28096
|
},
|
|
28118
|
-
"kind": {
|
|
28119
|
-
"type": "string",
|
|
28120
|
-
"enum": [
|
|
28121
|
-
"routing"
|
|
28122
|
-
]
|
|
28123
|
-
},
|
|
28124
|
-
"capabilities": {
|
|
28125
|
-
"type": "object",
|
|
28126
|
-
"properties": {
|
|
28127
|
-
"device_sessions": {
|
|
28128
|
-
"type": "boolean",
|
|
28129
|
-
"enum": [
|
|
28130
|
-
false
|
|
28131
|
-
]
|
|
28132
|
-
}
|
|
28133
|
-
},
|
|
28134
|
-
"required": [
|
|
28135
|
-
"device_sessions"
|
|
28136
|
-
],
|
|
28137
|
-
"additionalProperties": false
|
|
28138
|
-
},
|
|
28139
28097
|
"state": {
|
|
28140
28098
|
"type": "string",
|
|
28141
28099
|
"enum": [
|
|
@@ -28250,8 +28208,6 @@
|
|
|
28250
28208
|
},
|
|
28251
28209
|
"required": [
|
|
28252
28210
|
"id",
|
|
28253
|
-
"kind",
|
|
28254
|
-
"capabilities",
|
|
28255
28211
|
"state",
|
|
28256
28212
|
"generation",
|
|
28257
28213
|
"public_ipv4",
|
|
@@ -28269,6 +28225,22 @@
|
|
|
28269
28225
|
"type": "null"
|
|
28270
28226
|
}
|
|
28271
28227
|
]
|
|
28228
|
+
},
|
|
28229
|
+
"notice": {
|
|
28230
|
+
"anyOf": [
|
|
28231
|
+
{
|
|
28232
|
+
"type": "string",
|
|
28233
|
+
"enum": [
|
|
28234
|
+
"machine_gone"
|
|
28235
|
+
]
|
|
28236
|
+
},
|
|
28237
|
+
{
|
|
28238
|
+
"type": "null"
|
|
28239
|
+
},
|
|
28240
|
+
{
|
|
28241
|
+
"type": "null"
|
|
28242
|
+
}
|
|
28243
|
+
]
|
|
28272
28244
|
}
|
|
28273
28245
|
},
|
|
28274
28246
|
"required": [
|
|
@@ -28666,12 +28638,12 @@
|
|
|
28666
28638
|
}
|
|
28667
28639
|
}
|
|
28668
28640
|
},
|
|
28669
|
-
"/
|
|
28641
|
+
"/routebox/{id}/reset": {
|
|
28670
28642
|
"post": {
|
|
28671
28643
|
"tags": [
|
|
28672
|
-
"
|
|
28644
|
+
"routebox"
|
|
28673
28645
|
],
|
|
28674
|
-
"operationId": "
|
|
28646
|
+
"operationId": "routebox.reset",
|
|
28675
28647
|
"parameters": [
|
|
28676
28648
|
{
|
|
28677
28649
|
"name": "id",
|
|
@@ -28699,27 +28671,6 @@
|
|
|
28699
28671
|
"id": {
|
|
28700
28672
|
"type": "string"
|
|
28701
28673
|
},
|
|
28702
|
-
"kind": {
|
|
28703
|
-
"type": "string",
|
|
28704
|
-
"enum": [
|
|
28705
|
-
"routing"
|
|
28706
|
-
]
|
|
28707
|
-
},
|
|
28708
|
-
"capabilities": {
|
|
28709
|
-
"type": "object",
|
|
28710
|
-
"properties": {
|
|
28711
|
-
"device_sessions": {
|
|
28712
|
-
"type": "boolean",
|
|
28713
|
-
"enum": [
|
|
28714
|
-
false
|
|
28715
|
-
]
|
|
28716
|
-
}
|
|
28717
|
-
},
|
|
28718
|
-
"required": [
|
|
28719
|
-
"device_sessions"
|
|
28720
|
-
],
|
|
28721
|
-
"additionalProperties": false
|
|
28722
|
-
},
|
|
28723
28674
|
"state": {
|
|
28724
28675
|
"type": "string",
|
|
28725
28676
|
"enum": [
|
|
@@ -28834,8 +28785,6 @@
|
|
|
28834
28785
|
},
|
|
28835
28786
|
"required": [
|
|
28836
28787
|
"id",
|
|
28837
|
-
"kind",
|
|
28838
|
-
"capabilities",
|
|
28839
28788
|
"state",
|
|
28840
28789
|
"generation",
|
|
28841
28790
|
"public_ipv4",
|
|
@@ -28853,6 +28802,22 @@
|
|
|
28853
28802
|
"type": "null"
|
|
28854
28803
|
}
|
|
28855
28804
|
]
|
|
28805
|
+
},
|
|
28806
|
+
"notice": {
|
|
28807
|
+
"anyOf": [
|
|
28808
|
+
{
|
|
28809
|
+
"type": "string",
|
|
28810
|
+
"enum": [
|
|
28811
|
+
"machine_gone"
|
|
28812
|
+
]
|
|
28813
|
+
},
|
|
28814
|
+
{
|
|
28815
|
+
"type": "null"
|
|
28816
|
+
},
|
|
28817
|
+
{
|
|
28818
|
+
"type": "null"
|
|
28819
|
+
}
|
|
28820
|
+
]
|
|
28856
28821
|
}
|
|
28857
28822
|
},
|
|
28858
28823
|
"required": [
|
|
@@ -29250,12 +29215,12 @@
|
|
|
29250
29215
|
}
|
|
29251
29216
|
}
|
|
29252
29217
|
},
|
|
29253
|
-
"/
|
|
29218
|
+
"/routebox/{id}": {
|
|
29254
29219
|
"delete": {
|
|
29255
29220
|
"tags": [
|
|
29256
|
-
"
|
|
29221
|
+
"routebox"
|
|
29257
29222
|
],
|
|
29258
|
-
"operationId": "
|
|
29223
|
+
"operationId": "routebox.remove",
|
|
29259
29224
|
"parameters": [
|
|
29260
29225
|
{
|
|
29261
29226
|
"name": "id",
|
|
@@ -29283,27 +29248,6 @@
|
|
|
29283
29248
|
"id": {
|
|
29284
29249
|
"type": "string"
|
|
29285
29250
|
},
|
|
29286
|
-
"kind": {
|
|
29287
|
-
"type": "string",
|
|
29288
|
-
"enum": [
|
|
29289
|
-
"routing"
|
|
29290
|
-
]
|
|
29291
|
-
},
|
|
29292
|
-
"capabilities": {
|
|
29293
|
-
"type": "object",
|
|
29294
|
-
"properties": {
|
|
29295
|
-
"device_sessions": {
|
|
29296
|
-
"type": "boolean",
|
|
29297
|
-
"enum": [
|
|
29298
|
-
false
|
|
29299
|
-
]
|
|
29300
|
-
}
|
|
29301
|
-
},
|
|
29302
|
-
"required": [
|
|
29303
|
-
"device_sessions"
|
|
29304
|
-
],
|
|
29305
|
-
"additionalProperties": false
|
|
29306
|
-
},
|
|
29307
29251
|
"state": {
|
|
29308
29252
|
"type": "string",
|
|
29309
29253
|
"enum": [
|
|
@@ -29418,8 +29362,6 @@
|
|
|
29418
29362
|
},
|
|
29419
29363
|
"required": [
|
|
29420
29364
|
"id",
|
|
29421
|
-
"kind",
|
|
29422
|
-
"capabilities",
|
|
29423
29365
|
"state",
|
|
29424
29366
|
"generation",
|
|
29425
29367
|
"public_ipv4",
|
|
@@ -29437,6 +29379,22 @@
|
|
|
29437
29379
|
"type": "null"
|
|
29438
29380
|
}
|
|
29439
29381
|
]
|
|
29382
|
+
},
|
|
29383
|
+
"notice": {
|
|
29384
|
+
"anyOf": [
|
|
29385
|
+
{
|
|
29386
|
+
"type": "string",
|
|
29387
|
+
"enum": [
|
|
29388
|
+
"machine_gone"
|
|
29389
|
+
]
|
|
29390
|
+
},
|
|
29391
|
+
{
|
|
29392
|
+
"type": "null"
|
|
29393
|
+
},
|
|
29394
|
+
{
|
|
29395
|
+
"type": "null"
|
|
29396
|
+
}
|
|
29397
|
+
]
|
|
29440
29398
|
}
|
|
29441
29399
|
},
|
|
29442
29400
|
"required": [
|
|
@@ -29834,12 +29792,12 @@
|
|
|
29834
29792
|
}
|
|
29835
29793
|
}
|
|
29836
29794
|
},
|
|
29837
|
-
"/
|
|
29795
|
+
"/routebox/{id}/unlock": {
|
|
29838
29796
|
"post": {
|
|
29839
29797
|
"tags": [
|
|
29840
|
-
"
|
|
29798
|
+
"routebox"
|
|
29841
29799
|
],
|
|
29842
|
-
"operationId": "
|
|
29800
|
+
"operationId": "routebox.unlock",
|
|
29843
29801
|
"parameters": [
|
|
29844
29802
|
{
|
|
29845
29803
|
"name": "id",
|
|
@@ -84107,7 +84065,7 @@
|
|
|
84107
84065
|
"name": "keys"
|
|
84108
84066
|
},
|
|
84109
84067
|
{
|
|
84110
|
-
"name": "
|
|
84068
|
+
"name": "routebox"
|
|
84111
84069
|
},
|
|
84112
84070
|
{
|
|
84113
84071
|
"name": "connect"
|
|
@@ -922,36 +922,36 @@ export const API_OPERATIONS = [
|
|
|
922
922
|
"hasBody": false
|
|
923
923
|
},
|
|
924
924
|
{
|
|
925
|
-
"id": "
|
|
925
|
+
"id": "routebox.get",
|
|
926
926
|
"method": "get",
|
|
927
|
-
"path": "/
|
|
927
|
+
"path": "/routebox",
|
|
928
928
|
"summary": "",
|
|
929
929
|
"tags": [
|
|
930
|
-
"
|
|
930
|
+
"routebox"
|
|
931
931
|
],
|
|
932
932
|
"pathParams": [],
|
|
933
933
|
"queryParams": [],
|
|
934
934
|
"hasBody": false
|
|
935
935
|
},
|
|
936
936
|
{
|
|
937
|
-
"id": "
|
|
937
|
+
"id": "routebox.create",
|
|
938
938
|
"method": "post",
|
|
939
|
-
"path": "/
|
|
939
|
+
"path": "/routebox",
|
|
940
940
|
"summary": "",
|
|
941
941
|
"tags": [
|
|
942
|
-
"
|
|
942
|
+
"routebox"
|
|
943
943
|
],
|
|
944
944
|
"pathParams": [],
|
|
945
945
|
"queryParams": [],
|
|
946
946
|
"hasBody": false
|
|
947
947
|
},
|
|
948
948
|
{
|
|
949
|
-
"id": "
|
|
949
|
+
"id": "routebox.remove",
|
|
950
950
|
"method": "delete",
|
|
951
|
-
"path": "/
|
|
951
|
+
"path": "/routebox/{id}",
|
|
952
952
|
"summary": "",
|
|
953
953
|
"tags": [
|
|
954
|
-
"
|
|
954
|
+
"routebox"
|
|
955
955
|
],
|
|
956
956
|
"pathParams": [
|
|
957
957
|
"id"
|
|
@@ -960,12 +960,12 @@ export const API_OPERATIONS = [
|
|
|
960
960
|
"hasBody": false
|
|
961
961
|
},
|
|
962
962
|
{
|
|
963
|
-
"id": "
|
|
963
|
+
"id": "routebox.reset",
|
|
964
964
|
"method": "post",
|
|
965
|
-
"path": "/
|
|
965
|
+
"path": "/routebox/{id}/reset",
|
|
966
966
|
"summary": "",
|
|
967
967
|
"tags": [
|
|
968
|
-
"
|
|
968
|
+
"routebox"
|
|
969
969
|
],
|
|
970
970
|
"pathParams": [
|
|
971
971
|
"id"
|
|
@@ -974,12 +974,12 @@ export const API_OPERATIONS = [
|
|
|
974
974
|
"hasBody": false
|
|
975
975
|
},
|
|
976
976
|
{
|
|
977
|
-
"id": "
|
|
977
|
+
"id": "routebox.restart",
|
|
978
978
|
"method": "post",
|
|
979
|
-
"path": "/
|
|
979
|
+
"path": "/routebox/{id}/restart",
|
|
980
980
|
"summary": "",
|
|
981
981
|
"tags": [
|
|
982
|
-
"
|
|
982
|
+
"routebox"
|
|
983
983
|
],
|
|
984
984
|
"pathParams": [
|
|
985
985
|
"id"
|
|
@@ -988,12 +988,12 @@ export const API_OPERATIONS = [
|
|
|
988
988
|
"hasBody": false
|
|
989
989
|
},
|
|
990
990
|
{
|
|
991
|
-
"id": "
|
|
991
|
+
"id": "routebox.unlock",
|
|
992
992
|
"method": "post",
|
|
993
|
-
"path": "/
|
|
993
|
+
"path": "/routebox/{id}/unlock",
|
|
994
994
|
"summary": "",
|
|
995
995
|
"tags": [
|
|
996
|
-
"
|
|
996
|
+
"routebox"
|
|
997
997
|
],
|
|
998
998
|
"pathParams": [
|
|
999
999
|
"id"
|
|
@@ -1632,7 +1632,7 @@ export declare const DaemonStatus: S.Struct<{
|
|
|
1632
1632
|
}>>;
|
|
1633
1633
|
/** Device sessions readiness + the dpk proof (`DeviceSessionsReport`).
|
|
1634
1634
|
* `enabled` == sessions on (anchor present, sessions flag not off, not a
|
|
1635
|
-
*
|
|
1635
|
+
* Routebox). Absent on daemons too old to report it — treat as off. */
|
|
1636
1636
|
readonly device_sessions: S.optional<S.Struct<{
|
|
1637
1637
|
readonly enabled: S.Boolean;
|
|
1638
1638
|
readonly dpk_proof: S.optional<S.String>;
|
package/dist/protocol/daemon.js
CHANGED
|
@@ -1099,7 +1099,7 @@ export const DaemonStatus = S.Struct({
|
|
|
1099
1099
|
device_access_pin: S.optional(DeviceAccessPinReport),
|
|
1100
1100
|
/** Device sessions readiness + the dpk proof (`DeviceSessionsReport`).
|
|
1101
1101
|
* `enabled` == sessions on (anchor present, sessions flag not off, not a
|
|
1102
|
-
*
|
|
1102
|
+
* Routebox). Absent on daemons too old to report it — treat as off. */
|
|
1103
1103
|
device_sessions: S.optional(DeviceSessionsReport),
|
|
1104
1104
|
/** The loopback port this daemon's `/v1/*` + `/whoami` surface listens on
|
|
1105
1105
|
* (`OPENLLM_DAEMON_PORT`, default 8787). Reported in `daemon_status_json`
|
package/dist/protocol/index.d.ts
CHANGED
|
@@ -56,7 +56,7 @@ export * from "./registry-pointer.js";
|
|
|
56
56
|
export * from "./relay.js";
|
|
57
57
|
export * from "./replay-session.js";
|
|
58
58
|
export * from "./responses.js";
|
|
59
|
-
export * from "./
|
|
59
|
+
export * from "./routebox.js";
|
|
60
60
|
export * from "./semver.js";
|
|
61
61
|
export * from "./setup-mode.js";
|
|
62
62
|
export * from "./stats.js";
|
package/dist/protocol/index.js
CHANGED
|
@@ -56,7 +56,7 @@ export * from "./registry-pointer.js";
|
|
|
56
56
|
export * from "./relay.js";
|
|
57
57
|
export * from "./replay-session.js";
|
|
58
58
|
export * from "./responses.js";
|
|
59
|
-
export * from "./
|
|
59
|
+
export * from "./routebox.js";
|
|
60
60
|
export * from "./semver.js";
|
|
61
61
|
export * from "./setup-mode.js";
|
|
62
62
|
export * from "./stats.js";
|
|
@@ -31,9 +31,9 @@ export type TDeviceAccessPinReport = S.Schema.Type<typeof DeviceAccessPinReport>
|
|
|
31
31
|
*
|
|
32
32
|
* - `enabled`: sessions on — the install/login/loopback trust anchor is
|
|
33
33
|
* present (agent-eligible pin), the `OPENLLM_DEVICE_SESSIONS` flag is not
|
|
34
|
-
* off, and this is not a
|
|
34
|
+
* off, and this is not a Routebox. False → agent sessions fail closed
|
|
35
35
|
* with `device_not_anchored` (no anchor) or `device_sessions_disabled`
|
|
36
|
-
* (flag off /
|
|
36
|
+
* (flag off / Routebox); offer local enable or re-install with sessions.
|
|
37
37
|
* - `dpk_proof`: `HMAC-SHA256(pair_secret, "openllm-dpk-proof-v1" ||
|
|
38
38
|
* key_id || pubkey)`, base64url. Verify with `@openllmsh/sdk/vault`
|
|
39
39
|
* `verifyDpkProof` BEFORE using `DaemonStatus.pubkey` as `dpk`. Absent when
|
|
@@ -78,7 +78,7 @@ export type TLocalDeviceControlRequest = S.Schema.Type<typeof LocalDeviceControl
|
|
|
78
78
|
* `key_id` is the key this daemon runs on, writes `OPENLLM_DEVICE_ANCHOR` with
|
|
79
79
|
* the same writer as `openllm daemon anchor`, turns sessions on, and
|
|
80
80
|
* re-derives its pin. `{ sessions: true|false }` sets `OPENLLM_DEVICE_SESSIONS`
|
|
81
|
-
* only — the anchor is never removed. Enable is refused on a
|
|
81
|
+
* only — the anchor is never removed. Enable is refused on a Routebox.
|
|
82
82
|
* The anchor is never logged or echoed back.
|
|
83
83
|
*/
|
|
84
84
|
export declare const DEVICE_ANCHOR_LOCAL_PATH = "/local/device-anchor";
|
|
@@ -96,7 +96,7 @@ export declare const LocalDeviceAnchorRequest: S.Union<readonly [S.Struct<{
|
|
|
96
96
|
}>]>;
|
|
97
97
|
export type TLocalDeviceAnchorRequest = S.Schema.Type<typeof LocalDeviceAnchorRequest>;
|
|
98
98
|
/** Why `POST /local/device-anchor` refused. */
|
|
99
|
-
export declare const LocalDeviceAnchorRefusal: S.Literals<readonly ["invalid_body", "body_too_large", "malformed_anchor", "key_id_mismatch", "persist_failed", "
|
|
99
|
+
export declare const LocalDeviceAnchorRefusal: S.Literals<readonly ["invalid_body", "body_too_large", "malformed_anchor", "key_id_mismatch", "persist_failed", "routebox"]>;
|
|
100
100
|
export type TLocalDeviceAnchorRefusal = S.Schema.Type<typeof LocalDeviceAnchorRefusal>;
|
|
101
101
|
/** `POST /local/device-anchor` response. */
|
|
102
102
|
export declare const LocalDeviceAnchorResponse: S.Union<readonly [S.Struct<{
|
|
@@ -107,6 +107,6 @@ export declare const LocalDeviceAnchorResponse: S.Union<readonly [S.Struct<{
|
|
|
107
107
|
}>;
|
|
108
108
|
}>, S.Struct<{
|
|
109
109
|
readonly ok: S.Literal<false>;
|
|
110
|
-
readonly error: S.Literals<readonly ["invalid_body", "body_too_large", "malformed_anchor", "key_id_mismatch", "persist_failed", "
|
|
110
|
+
readonly error: S.Literals<readonly ["invalid_body", "body_too_large", "malformed_anchor", "key_id_mismatch", "persist_failed", "routebox"]>;
|
|
111
111
|
}>]>;
|
|
112
112
|
export type TLocalDeviceAnchorResponse = S.Schema.Type<typeof LocalDeviceAnchorResponse>;
|