@qvac/core 0.6.1 → 0.6.3
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 +102 -1
- package/dist-lib/lib/api/chat.d.ts +1 -1
- package/dist-lib/lib/api/chat.js +2 -1
- package/dist-lib/lib/api/index.d.ts +3 -1
- package/dist-lib/lib/api/index.js +2 -0
- package/dist-lib/lib/api/watchable.d.ts +1 -0
- package/dist-lib/lib/api/watchable.js +1 -1
- package/dist-lib/lib/assistant/harness.d.ts +2 -0
- package/dist-lib/lib/assistant/harness.js +13 -9
- package/dist-lib/lib/assistant-tree.js +4 -0
- package/dist-lib/lib/assistant.d.ts +4 -1
- package/dist-lib/lib/assistant.js +44 -8
- package/dist-lib/lib/client.js +2 -1
- package/dist-lib/lib/collabora/entry.js +13 -19
- package/dist-lib/lib/collabora/worker.js +77 -18
- package/dist-lib/lib/core/chat.d.ts +1 -0
- package/dist-lib/lib/core/chat.js +17 -0
- package/dist-lib/lib/core/contract/chat.js +10 -3
- package/dist-lib/lib/core.d.ts +12 -2
- package/dist-lib/lib/core.js +57 -14
- package/dist-lib/lib/mesh-scoped-engine.js +3 -0
- package/dist-lib/lib/model-download.d.ts +11 -7
- package/dist-lib/lib/model-download.js +22 -21
- package/dist-lib/lib/models-watch.d.ts +6 -0
- package/dist-lib/lib/models-watch.js +45 -0
- package/dist-lib/schema/engine.d.ts +1 -0
- package/dist-lib/schema/engine.js +57 -3
- package/dist-lib/schema/field-order.js +3 -1
- package/dist-lib/schema/qvac.js +2 -1
- package/dist-lib/spec/bind.js +14 -0
- package/dist-lib/spec/calls.js +3 -0
- package/dist-lib/spec/capabilities.d.ts +6 -0
- package/dist-lib/spec/hrpc/hrpc.json +39 -0
- package/dist-lib/spec/hrpc/index.js +41 -4
- package/dist-lib/spec/hrpc/messages.js +788 -583
- package/dist-lib/spec/hyperschema/index.js +788 -583
- package/dist-lib/spec/hyperschema/schema.json +149 -0
- package/dist-lib/spec/hyperschema/types.d.ts +29 -0
- package/dist-lib/spec/mesh/hyperdb/messages.js +36 -8
- package/dist-lib/spec/mesh/hyperdispatch/messages.js +19 -5
- package/dist-lib/spec/mesh/hyperschema/index.js +19 -5
- package/dist-lib/spec/mesh/hyperschema/schema.json +6 -1
- package/dist-lib/spec/mesh/hyperschema/types.d.ts +2 -1
- package/package.json +22 -9
- package/tui/app.mjs +3 -2
- package/dist-lib/lib/model-clamp.d.ts +0 -6
- package/dist-lib/lib/model-clamp.js +0 -23
|
@@ -1062,12 +1062,13 @@ const encoding24 = {
|
|
|
1062
1062
|
c.string.preencode(state, m.agentId)
|
|
1063
1063
|
c.string.preencode(state, m.title)
|
|
1064
1064
|
c.uint.preencode(state, m.createdAt)
|
|
1065
|
-
state.end++ // max flag is
|
|
1065
|
+
state.end++ // max flag is 64 so always one byte
|
|
1066
1066
|
|
|
1067
1067
|
if (m.deletedAt) c.uint.preencode(state, m.deletedAt)
|
|
1068
1068
|
if (m.updatedAt) c.uint.preencode(state, m.updatedAt)
|
|
1069
1069
|
if (m.lastActivityAt) c.uint.preencode(state, m.lastActivityAt)
|
|
1070
1070
|
if (m.groupId) c.string.preencode(state, m.groupId)
|
|
1071
|
+
if (m.readThrough) c.uint.preencode(state, m.readThrough)
|
|
1071
1072
|
},
|
|
1072
1073
|
encode(state, m) {
|
|
1073
1074
|
const flags =
|
|
@@ -1076,7 +1077,8 @@ const encoding24 = {
|
|
|
1076
1077
|
(m.webSearchEnabled ? 4 : 0) |
|
|
1077
1078
|
(m.updatedAt ? 8 : 0) |
|
|
1078
1079
|
(m.lastActivityAt ? 16 : 0) |
|
|
1079
|
-
(m.groupId ? 32 : 0)
|
|
1080
|
+
(m.groupId ? 32 : 0) |
|
|
1081
|
+
(m.readThrough ? 64 : 0)
|
|
1080
1082
|
|
|
1081
1083
|
c.string.encode(state, m.id)
|
|
1082
1084
|
c.string.encode(state, m.agentId)
|
|
@@ -1088,6 +1090,7 @@ const encoding24 = {
|
|
|
1088
1090
|
if (m.updatedAt) c.uint.encode(state, m.updatedAt)
|
|
1089
1091
|
if (m.lastActivityAt) c.uint.encode(state, m.lastActivityAt)
|
|
1090
1092
|
if (m.groupId) c.string.encode(state, m.groupId)
|
|
1093
|
+
if (m.readThrough) c.uint.encode(state, m.readThrough)
|
|
1091
1094
|
},
|
|
1092
1095
|
decode(state) {
|
|
1093
1096
|
const r0 = c.string.decode(state)
|
|
@@ -1106,7 +1109,8 @@ const encoding24 = {
|
|
|
1106
1109
|
webSearchEnabled: (flags & 4) !== 0,
|
|
1107
1110
|
updatedAt: (flags & 8) !== 0 ? c.uint.decode(state) : 0,
|
|
1108
1111
|
lastActivityAt: (flags & 16) !== 0 ? c.uint.decode(state) : 0,
|
|
1109
|
-
groupId: (flags & 32) !== 0 ? c.string.decode(state) : null
|
|
1112
|
+
groupId: (flags & 32) !== 0 ? c.string.decode(state) : null,
|
|
1113
|
+
readThrough: (flags & 64) !== 0 ? c.uint.decode(state) : 0
|
|
1110
1114
|
}
|
|
1111
1115
|
}
|
|
1112
1116
|
}
|
|
@@ -5475,19 +5479,101 @@ const encoding144 = {
|
|
|
5475
5479
|
}
|
|
5476
5480
|
}
|
|
5477
5481
|
|
|
5478
|
-
|
|
5482
|
+
const encoding145_enum = {
|
|
5483
|
+
llm: 'llm',
|
|
5484
|
+
embeddings: 'embeddings',
|
|
5485
|
+
"speech-to-text": 'speech-to-text',
|
|
5486
|
+
"text-to-speech": 'text-to-speech',
|
|
5487
|
+
"image-generation": 'image-generation',
|
|
5488
|
+
"audio-generation": 'audio-generation',
|
|
5489
|
+
translation: 'translation',
|
|
5490
|
+
"text-recognition": 'text-recognition',
|
|
5491
|
+
other: 'other'
|
|
5492
|
+
}
|
|
5493
|
+
|
|
5494
|
+
// @assistant/model-task-type enum
|
|
5479
5495
|
const encoding145 = {
|
|
5496
|
+
preencode (state, m) {
|
|
5497
|
+
state.end++ // max enum is 9 so always one byte
|
|
5498
|
+
},
|
|
5499
|
+
encode (state, m) {
|
|
5500
|
+
switch (m) {
|
|
5501
|
+
case 'llm':
|
|
5502
|
+
c.uint.encode(state, 1)
|
|
5503
|
+
break
|
|
5504
|
+
case 'embeddings':
|
|
5505
|
+
c.uint.encode(state, 2)
|
|
5506
|
+
break
|
|
5507
|
+
case 'speech-to-text':
|
|
5508
|
+
c.uint.encode(state, 3)
|
|
5509
|
+
break
|
|
5510
|
+
case 'text-to-speech':
|
|
5511
|
+
c.uint.encode(state, 4)
|
|
5512
|
+
break
|
|
5513
|
+
case 'image-generation':
|
|
5514
|
+
c.uint.encode(state, 5)
|
|
5515
|
+
break
|
|
5516
|
+
case 'audio-generation':
|
|
5517
|
+
c.uint.encode(state, 6)
|
|
5518
|
+
break
|
|
5519
|
+
case 'translation':
|
|
5520
|
+
c.uint.encode(state, 7)
|
|
5521
|
+
break
|
|
5522
|
+
case 'text-recognition':
|
|
5523
|
+
c.uint.encode(state, 8)
|
|
5524
|
+
break
|
|
5525
|
+
case 'other':
|
|
5526
|
+
c.uint.encode(state, 9)
|
|
5527
|
+
break
|
|
5528
|
+
default:
|
|
5529
|
+
throw new Error('Unknown enum')
|
|
5530
|
+
}
|
|
5531
|
+
},
|
|
5532
|
+
decode (state) {
|
|
5533
|
+
switch (c.uint.decode(state)) {
|
|
5534
|
+
case 1:
|
|
5535
|
+
return 'llm'
|
|
5536
|
+
case 2:
|
|
5537
|
+
return 'embeddings'
|
|
5538
|
+
case 3:
|
|
5539
|
+
return 'speech-to-text'
|
|
5540
|
+
case 4:
|
|
5541
|
+
return 'text-to-speech'
|
|
5542
|
+
case 5:
|
|
5543
|
+
return 'image-generation'
|
|
5544
|
+
case 6:
|
|
5545
|
+
return 'audio-generation'
|
|
5546
|
+
case 7:
|
|
5547
|
+
return 'translation'
|
|
5548
|
+
case 8:
|
|
5549
|
+
return 'text-recognition'
|
|
5550
|
+
case 9:
|
|
5551
|
+
return 'other'
|
|
5552
|
+
default: return null
|
|
5553
|
+
}
|
|
5554
|
+
}
|
|
5555
|
+
}
|
|
5556
|
+
|
|
5557
|
+
// @assistant/list-models-request
|
|
5558
|
+
const encoding146 = {
|
|
5480
5559
|
preencode(state, m) {
|
|
5481
|
-
state.end++ // max flag is
|
|
5560
|
+
state.end++ // max flag is 16 so always one byte
|
|
5482
5561
|
|
|
5483
5562
|
if (m.type) c.string.preencode(state, m.type)
|
|
5563
|
+
if (m.taskType) encoding145.preencode(state, m.taskType)
|
|
5484
5564
|
},
|
|
5485
5565
|
encode(state, m) {
|
|
5486
|
-
const flags =
|
|
5566
|
+
const flags =
|
|
5567
|
+
(m.type ? 1 : 0) |
|
|
5568
|
+
(m.cachedOnly ? 2 : 0) |
|
|
5569
|
+
(m.fullRegistry ? 4 : 0) |
|
|
5570
|
+
(m.taskType ? 8 : 0) |
|
|
5571
|
+
(m.excludeCustom ? 16 : 0)
|
|
5487
5572
|
|
|
5488
5573
|
c.uint.encode(state, flags)
|
|
5489
5574
|
|
|
5490
5575
|
if (m.type) c.string.encode(state, m.type)
|
|
5576
|
+
if (m.taskType) encoding145.encode(state, m.taskType)
|
|
5491
5577
|
},
|
|
5492
5578
|
decode(state) {
|
|
5493
5579
|
const flags = c.uint.decode(state)
|
|
@@ -5495,29 +5581,34 @@ const encoding145 = {
|
|
|
5495
5581
|
return {
|
|
5496
5582
|
type: (flags & 1) !== 0 ? c.string.decode(state) : null,
|
|
5497
5583
|
cachedOnly: (flags & 2) !== 0,
|
|
5498
|
-
fullRegistry: (flags & 4) !== 0
|
|
5584
|
+
fullRegistry: (flags & 4) !== 0,
|
|
5585
|
+
taskType: (flags & 8) !== 0 ? encoding145.decode(state) : null,
|
|
5586
|
+
excludeCustom: (flags & 16) !== 0
|
|
5499
5587
|
}
|
|
5500
5588
|
}
|
|
5501
5589
|
}
|
|
5502
5590
|
|
|
5503
5591
|
// @assistant/model-info
|
|
5504
|
-
const
|
|
5592
|
+
const encoding147 = {
|
|
5505
5593
|
preencode(state, m) {
|
|
5506
5594
|
c.string.preencode(state, m.name)
|
|
5507
5595
|
c.string.preencode(state, m.type)
|
|
5508
5596
|
c.string.preencode(state, m.registryPath)
|
|
5509
5597
|
c.string.preencode(state, m.registrySource)
|
|
5510
|
-
state.end++ // max flag is
|
|
5598
|
+
state.end++ // max flag is 32 so always one byte
|
|
5511
5599
|
c.uint.preencode(state, m.expectedSize)
|
|
5512
5600
|
|
|
5513
5601
|
if (m.actualSize) c.uint.preencode(state, m.actualSize)
|
|
5602
|
+
if (m.taskType) encoding145.preencode(state, m.taskType)
|
|
5514
5603
|
},
|
|
5515
5604
|
encode(state, m) {
|
|
5516
5605
|
const flags =
|
|
5517
5606
|
(m.isCached ? 1 : 0) |
|
|
5518
5607
|
(m.isLoaded ? 2 : 0) |
|
|
5519
5608
|
(m.actualSize ? 4 : 0) |
|
|
5520
|
-
(m.supportsImages ? 8 : 0)
|
|
5609
|
+
(m.supportsImages ? 8 : 0) |
|
|
5610
|
+
(m.taskType ? 16 : 0) |
|
|
5611
|
+
(m.isLoading ? 32 : 0)
|
|
5521
5612
|
|
|
5522
5613
|
c.string.encode(state, m.name)
|
|
5523
5614
|
c.string.encode(state, m.type)
|
|
@@ -5527,6 +5618,7 @@ const encoding146 = {
|
|
|
5527
5618
|
c.uint.encode(state, m.expectedSize)
|
|
5528
5619
|
|
|
5529
5620
|
if (m.actualSize) c.uint.encode(state, m.actualSize)
|
|
5621
|
+
if (m.taskType) encoding145.encode(state, m.taskType)
|
|
5530
5622
|
},
|
|
5531
5623
|
decode(state) {
|
|
5532
5624
|
const r0 = c.string.decode(state)
|
|
@@ -5544,42 +5636,44 @@ const encoding146 = {
|
|
|
5544
5636
|
isLoaded: (flags & 2) !== 0,
|
|
5545
5637
|
expectedSize: c.uint.decode(state),
|
|
5546
5638
|
actualSize: (flags & 4) !== 0 ? c.uint.decode(state) : 0,
|
|
5547
|
-
supportsImages: (flags & 8) !== 0
|
|
5639
|
+
supportsImages: (flags & 8) !== 0,
|
|
5640
|
+
taskType: (flags & 16) !== 0 ? encoding145.decode(state) : null,
|
|
5641
|
+
isLoading: (flags & 32) !== 0
|
|
5548
5642
|
}
|
|
5549
5643
|
}
|
|
5550
5644
|
}
|
|
5551
5645
|
|
|
5552
5646
|
// @assistant/model-info-list.models
|
|
5553
|
-
const
|
|
5647
|
+
const encoding148_0 = c.array(c.frame(encoding147))
|
|
5554
5648
|
|
|
5555
5649
|
// @assistant/model-info-list
|
|
5556
|
-
const
|
|
5650
|
+
const encoding148 = {
|
|
5557
5651
|
preencode(state, m) {
|
|
5558
5652
|
state.end++ // max flag is 1 so always one byte
|
|
5559
5653
|
|
|
5560
|
-
if (m.models)
|
|
5654
|
+
if (m.models) encoding148_0.preencode(state, m.models)
|
|
5561
5655
|
},
|
|
5562
5656
|
encode(state, m) {
|
|
5563
5657
|
const flags = m.models ? 1 : 0
|
|
5564
5658
|
|
|
5565
5659
|
c.uint.encode(state, flags)
|
|
5566
5660
|
|
|
5567
|
-
if (m.models)
|
|
5661
|
+
if (m.models) encoding148_0.encode(state, m.models)
|
|
5568
5662
|
},
|
|
5569
5663
|
decode(state) {
|
|
5570
5664
|
const flags = c.uint.decode(state)
|
|
5571
5665
|
|
|
5572
5666
|
return {
|
|
5573
|
-
models: (flags & 1) !== 0 ?
|
|
5667
|
+
models: (flags & 1) !== 0 ? encoding148_0.decode(state) : null
|
|
5574
5668
|
}
|
|
5575
5669
|
}
|
|
5576
5670
|
}
|
|
5577
5671
|
|
|
5578
5672
|
// @assistant/delete-model-request
|
|
5579
|
-
const
|
|
5673
|
+
const encoding149 = encoding44
|
|
5580
5674
|
|
|
5581
5675
|
// @assistant/delete-model-response
|
|
5582
|
-
const
|
|
5676
|
+
const encoding150 = {
|
|
5583
5677
|
preencode(state, m) {
|
|
5584
5678
|
c.string.preencode(state, m.name)
|
|
5585
5679
|
c.uint.preencode(state, m.removed)
|
|
@@ -5603,14 +5697,14 @@ const encoding149 = {
|
|
|
5603
5697
|
}
|
|
5604
5698
|
}
|
|
5605
5699
|
|
|
5606
|
-
const
|
|
5700
|
+
const encoding151_enum = {
|
|
5607
5701
|
success: 'success',
|
|
5608
5702
|
failure: 'failure',
|
|
5609
5703
|
unsupported: 'unsupported'
|
|
5610
5704
|
}
|
|
5611
5705
|
|
|
5612
5706
|
// @assistant/kv-cache-deletion-status enum
|
|
5613
|
-
const
|
|
5707
|
+
const encoding151 = {
|
|
5614
5708
|
preencode (state, m) {
|
|
5615
5709
|
state.end++ // max enum is 3 so always one byte
|
|
5616
5710
|
},
|
|
@@ -5643,9 +5737,9 @@ const encoding150 = {
|
|
|
5643
5737
|
}
|
|
5644
5738
|
|
|
5645
5739
|
// @assistant/kv-cache-deletion-response
|
|
5646
|
-
const
|
|
5740
|
+
const encoding152 = {
|
|
5647
5741
|
preencode(state, m) {
|
|
5648
|
-
|
|
5742
|
+
encoding151.preencode(state, m.status)
|
|
5649
5743
|
state.end++ // max flag is 1 so always one byte
|
|
5650
5744
|
|
|
5651
5745
|
if (m.error) c.string.preencode(state, m.error)
|
|
@@ -5653,13 +5747,13 @@ const encoding151 = {
|
|
|
5653
5747
|
encode(state, m) {
|
|
5654
5748
|
const flags = m.error ? 1 : 0
|
|
5655
5749
|
|
|
5656
|
-
|
|
5750
|
+
encoding151.encode(state, m.status)
|
|
5657
5751
|
c.uint.encode(state, flags)
|
|
5658
5752
|
|
|
5659
5753
|
if (m.error) c.string.encode(state, m.error)
|
|
5660
5754
|
},
|
|
5661
5755
|
decode(state) {
|
|
5662
|
-
const r0 =
|
|
5756
|
+
const r0 = encoding151.decode(state)
|
|
5663
5757
|
const flags = c.uint.decode(state)
|
|
5664
5758
|
|
|
5665
5759
|
return {
|
|
@@ -5670,7 +5764,7 @@ const encoding151 = {
|
|
|
5670
5764
|
}
|
|
5671
5765
|
|
|
5672
5766
|
// @assistant/model-catalog-revision
|
|
5673
|
-
const
|
|
5767
|
+
const encoding153 = {
|
|
5674
5768
|
preencode(state, m) {
|
|
5675
5769
|
c.uint.preencode(state, m.revision)
|
|
5676
5770
|
},
|
|
@@ -5687,7 +5781,7 @@ const encoding152 = {
|
|
|
5687
5781
|
}
|
|
5688
5782
|
|
|
5689
5783
|
// @assistant/skill-request
|
|
5690
|
-
const
|
|
5784
|
+
const encoding154 = {
|
|
5691
5785
|
preencode(state, m) {
|
|
5692
5786
|
state.end++ // max flag is 8 so always one byte
|
|
5693
5787
|
|
|
@@ -5718,7 +5812,7 @@ const encoding153 = {
|
|
|
5718
5812
|
}
|
|
5719
5813
|
|
|
5720
5814
|
// @assistant/skill-response
|
|
5721
|
-
const
|
|
5815
|
+
const encoding155 = {
|
|
5722
5816
|
preencode(state, m) {
|
|
5723
5817
|
c.json.preencode(state, m.skills)
|
|
5724
5818
|
},
|
|
@@ -5735,13 +5829,13 @@ const encoding154 = {
|
|
|
5735
5829
|
}
|
|
5736
5830
|
|
|
5737
5831
|
// @assistant/download-knowledge-request
|
|
5738
|
-
const
|
|
5832
|
+
const encoding156 = encoding108
|
|
5739
5833
|
|
|
5740
5834
|
// @assistant/download-knowledge-response
|
|
5741
|
-
const
|
|
5835
|
+
const encoding157 = encoding110
|
|
5742
5836
|
|
|
5743
5837
|
// @assistant/delegation-capabilities
|
|
5744
|
-
const
|
|
5838
|
+
const encoding158 = {
|
|
5745
5839
|
preencode(state, m) {
|
|
5746
5840
|
state.end++ // max flag is 16 so always one byte
|
|
5747
5841
|
},
|
|
@@ -5769,16 +5863,16 @@ const encoding157 = {
|
|
|
5769
5863
|
}
|
|
5770
5864
|
|
|
5771
5865
|
// @assistant/delegation.capabilities
|
|
5772
|
-
const
|
|
5866
|
+
const encoding159_3 = c.frame(encoding158)
|
|
5773
5867
|
|
|
5774
5868
|
// @assistant/delegation
|
|
5775
|
-
const
|
|
5869
|
+
const encoding159 = {
|
|
5776
5870
|
preencode(state, m) {
|
|
5777
5871
|
state.end++ // max flag is 4 so always one byte
|
|
5778
5872
|
|
|
5779
5873
|
if (m.targetDeviceId) c.string.preencode(state, m.targetDeviceId)
|
|
5780
5874
|
if (m.targetAgentId) c.string.preencode(state, m.targetAgentId)
|
|
5781
|
-
|
|
5875
|
+
encoding159_3.preencode(state, m.capabilities)
|
|
5782
5876
|
},
|
|
5783
5877
|
encode(state, m) {
|
|
5784
5878
|
const flags = (m.enabled ? 1 : 0) | (m.targetDeviceId ? 2 : 0) | (m.targetAgentId ? 4 : 0)
|
|
@@ -5787,7 +5881,7 @@ const encoding158 = {
|
|
|
5787
5881
|
|
|
5788
5882
|
if (m.targetDeviceId) c.string.encode(state, m.targetDeviceId)
|
|
5789
5883
|
if (m.targetAgentId) c.string.encode(state, m.targetAgentId)
|
|
5790
|
-
|
|
5884
|
+
encoding159_3.encode(state, m.capabilities)
|
|
5791
5885
|
},
|
|
5792
5886
|
decode(state) {
|
|
5793
5887
|
const flags = c.uint.decode(state)
|
|
@@ -5796,20 +5890,20 @@ const encoding158 = {
|
|
|
5796
5890
|
enabled: (flags & 1) !== 0,
|
|
5797
5891
|
targetDeviceId: (flags & 2) !== 0 ? c.string.decode(state) : null,
|
|
5798
5892
|
targetAgentId: (flags & 4) !== 0 ? c.string.decode(state) : null,
|
|
5799
|
-
capabilities:
|
|
5893
|
+
capabilities: encoding159_3.decode(state)
|
|
5800
5894
|
}
|
|
5801
5895
|
}
|
|
5802
5896
|
}
|
|
5803
5897
|
|
|
5804
5898
|
// @assistant/app-config.delegation
|
|
5805
|
-
const
|
|
5899
|
+
const encoding160_6 = c.frame(encoding159)
|
|
5806
5900
|
// @assistant/app-config.pausedModels
|
|
5807
|
-
const
|
|
5901
|
+
const encoding160_7 = encoding14_6
|
|
5808
5902
|
// @assistant/app-config.releasedModels
|
|
5809
|
-
const
|
|
5903
|
+
const encoding160_8 = encoding14_6
|
|
5810
5904
|
|
|
5811
5905
|
// @assistant/app-config
|
|
5812
|
-
const
|
|
5906
|
+
const encoding160 = {
|
|
5813
5907
|
preencode(state, m) {
|
|
5814
5908
|
const flags =
|
|
5815
5909
|
(m.activeAgentId ? 1 : 0) |
|
|
@@ -5827,9 +5921,9 @@ const encoding159 = {
|
|
|
5827
5921
|
if (m.activeChatId) c.string.preencode(state, m.activeChatId)
|
|
5828
5922
|
if (m.ctxSize) c.uint.preencode(state, m.ctxSize)
|
|
5829
5923
|
if (m.lastModelName) c.string.preencode(state, m.lastModelName)
|
|
5830
|
-
|
|
5831
|
-
if (m.pausedModels)
|
|
5832
|
-
if (m.releasedModels)
|
|
5924
|
+
encoding160_6.preencode(state, m.delegation)
|
|
5925
|
+
if (m.pausedModels) encoding160_7.preencode(state, m.pausedModels)
|
|
5926
|
+
if (m.releasedModels) encoding160_8.preencode(state, m.releasedModels)
|
|
5833
5927
|
},
|
|
5834
5928
|
encode(state, m) {
|
|
5835
5929
|
const flags =
|
|
@@ -5848,9 +5942,9 @@ const encoding159 = {
|
|
|
5848
5942
|
if (m.activeChatId) c.string.encode(state, m.activeChatId)
|
|
5849
5943
|
if (m.ctxSize) c.uint.encode(state, m.ctxSize)
|
|
5850
5944
|
if (m.lastModelName) c.string.encode(state, m.lastModelName)
|
|
5851
|
-
|
|
5852
|
-
if (m.pausedModels)
|
|
5853
|
-
if (m.releasedModels)
|
|
5945
|
+
encoding160_6.encode(state, m.delegation)
|
|
5946
|
+
if (m.pausedModels) encoding160_7.encode(state, m.pausedModels)
|
|
5947
|
+
if (m.releasedModels) encoding160_8.encode(state, m.releasedModels)
|
|
5854
5948
|
},
|
|
5855
5949
|
decode(state) {
|
|
5856
5950
|
const flags = c.uint.decode(state)
|
|
@@ -5862,25 +5956,25 @@ const encoding159 = {
|
|
|
5862
5956
|
ctxSize: (flags & 8) !== 0 ? c.uint.decode(state) : 0,
|
|
5863
5957
|
lastModelName: (flags & 16) !== 0 ? c.string.decode(state) : null,
|
|
5864
5958
|
onboardingCompleted: (flags & 32) !== 0,
|
|
5865
|
-
delegation:
|
|
5866
|
-
pausedModels: (flags & 64) !== 0 ?
|
|
5867
|
-
releasedModels: (flags & 128) !== 0 ?
|
|
5959
|
+
delegation: encoding160_6.decode(state),
|
|
5960
|
+
pausedModels: (flags & 64) !== 0 ? encoding160_7.decode(state) : null,
|
|
5961
|
+
releasedModels: (flags & 128) !== 0 ? encoding160_8.decode(state) : null
|
|
5868
5962
|
}
|
|
5869
5963
|
}
|
|
5870
5964
|
}
|
|
5871
5965
|
|
|
5872
5966
|
// @assistant/app-config-update.delegation
|
|
5873
|
-
const
|
|
5967
|
+
const encoding161_5 = encoding160_6
|
|
5874
5968
|
|
|
5875
5969
|
// @assistant/app-config-update
|
|
5876
|
-
const
|
|
5970
|
+
const encoding161 = {
|
|
5877
5971
|
preencode(state, m) {
|
|
5878
5972
|
state.end++ // max flag is 16 so always one byte
|
|
5879
5973
|
|
|
5880
5974
|
if (m.activeAgentId) c.string.preencode(state, m.activeAgentId)
|
|
5881
5975
|
if (m.activeChatId) c.string.preencode(state, m.activeChatId)
|
|
5882
5976
|
if (m.ctxSize) c.uint.preencode(state, m.ctxSize)
|
|
5883
|
-
|
|
5977
|
+
encoding161_5.preencode(state, m.delegation)
|
|
5884
5978
|
},
|
|
5885
5979
|
encode(state, m) {
|
|
5886
5980
|
const flags =
|
|
@@ -5895,7 +5989,7 @@ const encoding160 = {
|
|
|
5895
5989
|
if (m.activeAgentId) c.string.encode(state, m.activeAgentId)
|
|
5896
5990
|
if (m.activeChatId) c.string.encode(state, m.activeChatId)
|
|
5897
5991
|
if (m.ctxSize) c.uint.encode(state, m.ctxSize)
|
|
5898
|
-
|
|
5992
|
+
encoding161_5.encode(state, m.delegation)
|
|
5899
5993
|
},
|
|
5900
5994
|
decode(state) {
|
|
5901
5995
|
const flags = c.uint.decode(state)
|
|
@@ -5906,13 +6000,13 @@ const encoding160 = {
|
|
|
5906
6000
|
thinkingEnabled: (flags & 4) !== 0,
|
|
5907
6001
|
ctxSize: (flags & 8) !== 0 ? c.uint.decode(state) : 0,
|
|
5908
6002
|
onboardingCompleted: (flags & 16) !== 0,
|
|
5909
|
-
delegation:
|
|
6003
|
+
delegation: encoding161_5.decode(state)
|
|
5910
6004
|
}
|
|
5911
6005
|
}
|
|
5912
6006
|
}
|
|
5913
6007
|
|
|
5914
6008
|
// @assistant/set-model-paused-request
|
|
5915
|
-
const
|
|
6009
|
+
const encoding162 = {
|
|
5916
6010
|
preencode(state, m) {
|
|
5917
6011
|
c.string.preencode(state, m.name)
|
|
5918
6012
|
state.end++ // max flag is 1 so always one byte
|
|
@@ -5935,7 +6029,7 @@ const encoding161 = {
|
|
|
5935
6029
|
}
|
|
5936
6030
|
|
|
5937
6031
|
// @assistant/set-model-released-request
|
|
5938
|
-
const
|
|
6032
|
+
const encoding163 = {
|
|
5939
6033
|
preencode(state, m) {
|
|
5940
6034
|
c.string.preencode(state, m.name)
|
|
5941
6035
|
state.end++ // max flag is 1 so always one byte
|
|
@@ -5957,7 +6051,7 @@ const encoding162 = {
|
|
|
5957
6051
|
}
|
|
5958
6052
|
}
|
|
5959
6053
|
|
|
5960
|
-
const
|
|
6054
|
+
const encoding164_enum = {
|
|
5961
6055
|
queued: 'queued',
|
|
5962
6056
|
downloading: 'downloading',
|
|
5963
6057
|
paused: 'paused',
|
|
@@ -5965,7 +6059,7 @@ const encoding163_enum = {
|
|
|
5965
6059
|
}
|
|
5966
6060
|
|
|
5967
6061
|
// @assistant/model-download-phase enum
|
|
5968
|
-
const
|
|
6062
|
+
const encoding164 = {
|
|
5969
6063
|
preencode (state, m) {
|
|
5970
6064
|
state.end++ // max enum is 4 so always one byte
|
|
5971
6065
|
},
|
|
@@ -6003,10 +6097,10 @@ const encoding163 = {
|
|
|
6003
6097
|
}
|
|
6004
6098
|
|
|
6005
6099
|
// @assistant/model-download
|
|
6006
|
-
const
|
|
6100
|
+
const encoding165 = {
|
|
6007
6101
|
preencode(state, m) {
|
|
6008
6102
|
c.string.preencode(state, m.name)
|
|
6009
|
-
|
|
6103
|
+
encoding164.preencode(state, m.phase)
|
|
6010
6104
|
state.end++ // max flag is 16 so always one byte
|
|
6011
6105
|
|
|
6012
6106
|
if (m.percentage) c.uint.preencode(state, m.percentage)
|
|
@@ -6025,7 +6119,7 @@ const encoding164 = {
|
|
|
6025
6119
|
(m.bytesPerSecond ? 16 : 0)
|
|
6026
6120
|
|
|
6027
6121
|
c.string.encode(state, m.name)
|
|
6028
|
-
|
|
6122
|
+
encoding164.encode(state, m.phase)
|
|
6029
6123
|
c.uint.encode(state, flags)
|
|
6030
6124
|
|
|
6031
6125
|
if (m.percentage) c.uint.encode(state, m.percentage)
|
|
@@ -6037,7 +6131,7 @@ const encoding164 = {
|
|
|
6037
6131
|
},
|
|
6038
6132
|
decode(state) {
|
|
6039
6133
|
const r0 = c.string.decode(state)
|
|
6040
|
-
const r1 =
|
|
6134
|
+
const r1 = encoding164.decode(state)
|
|
6041
6135
|
const flags = c.uint.decode(state)
|
|
6042
6136
|
|
|
6043
6137
|
return {
|
|
@@ -6054,36 +6148,36 @@ const encoding164 = {
|
|
|
6054
6148
|
}
|
|
6055
6149
|
|
|
6056
6150
|
// @assistant/model-download-list.downloads
|
|
6057
|
-
const
|
|
6151
|
+
const encoding166_0 = c.array(c.frame(encoding165))
|
|
6058
6152
|
|
|
6059
6153
|
// @assistant/model-download-list
|
|
6060
|
-
const
|
|
6154
|
+
const encoding166 = {
|
|
6061
6155
|
preencode(state, m) {
|
|
6062
6156
|
state.end++ // max flag is 1 so always one byte
|
|
6063
6157
|
|
|
6064
|
-
if (m.downloads)
|
|
6158
|
+
if (m.downloads) encoding166_0.preencode(state, m.downloads)
|
|
6065
6159
|
},
|
|
6066
6160
|
encode(state, m) {
|
|
6067
6161
|
const flags = m.downloads ? 1 : 0
|
|
6068
6162
|
|
|
6069
6163
|
c.uint.encode(state, flags)
|
|
6070
6164
|
|
|
6071
|
-
if (m.downloads)
|
|
6165
|
+
if (m.downloads) encoding166_0.encode(state, m.downloads)
|
|
6072
6166
|
},
|
|
6073
6167
|
decode(state) {
|
|
6074
6168
|
const flags = c.uint.decode(state)
|
|
6075
6169
|
|
|
6076
6170
|
return {
|
|
6077
|
-
downloads: (flags & 1) !== 0 ?
|
|
6171
|
+
downloads: (flags & 1) !== 0 ? encoding166_0.decode(state) : null
|
|
6078
6172
|
}
|
|
6079
6173
|
}
|
|
6080
6174
|
}
|
|
6081
6175
|
|
|
6082
6176
|
// @assistant/set-model-download-status-request
|
|
6083
|
-
const
|
|
6177
|
+
const encoding167 = {
|
|
6084
6178
|
preencode(state, m) {
|
|
6085
6179
|
c.string.preencode(state, m.name)
|
|
6086
|
-
|
|
6180
|
+
encoding164.preencode(state, m.phase)
|
|
6087
6181
|
state.end++ // max flag is 16 so always one byte
|
|
6088
6182
|
|
|
6089
6183
|
if (m.percentage) c.uint.preencode(state, m.percentage)
|
|
@@ -6101,7 +6195,7 @@ const encoding166 = {
|
|
|
6101
6195
|
(m.bytesPerSecond ? 16 : 0)
|
|
6102
6196
|
|
|
6103
6197
|
c.string.encode(state, m.name)
|
|
6104
|
-
|
|
6198
|
+
encoding164.encode(state, m.phase)
|
|
6105
6199
|
c.uint.encode(state, flags)
|
|
6106
6200
|
|
|
6107
6201
|
if (m.percentage) c.uint.encode(state, m.percentage)
|
|
@@ -6112,7 +6206,7 @@ const encoding166 = {
|
|
|
6112
6206
|
},
|
|
6113
6207
|
decode(state) {
|
|
6114
6208
|
const r0 = c.string.decode(state)
|
|
6115
|
-
const r1 =
|
|
6209
|
+
const r1 = encoding164.decode(state)
|
|
6116
6210
|
const flags = c.uint.decode(state)
|
|
6117
6211
|
|
|
6118
6212
|
return {
|
|
@@ -6128,10 +6222,10 @@ const encoding166 = {
|
|
|
6128
6222
|
}
|
|
6129
6223
|
|
|
6130
6224
|
// @assistant/clear-model-download-request
|
|
6131
|
-
const
|
|
6225
|
+
const encoding168 = encoding44
|
|
6132
6226
|
|
|
6133
6227
|
// @assistant/custom-model
|
|
6134
|
-
const
|
|
6228
|
+
const encoding169 = {
|
|
6135
6229
|
preencode(state, m) {
|
|
6136
6230
|
const flags =
|
|
6137
6231
|
(m.mmprojSrc ? 1 : 0) |
|
|
@@ -6203,33 +6297,33 @@ const encoding168 = {
|
|
|
6203
6297
|
}
|
|
6204
6298
|
|
|
6205
6299
|
// @assistant/custom-model-list.models
|
|
6206
|
-
const
|
|
6300
|
+
const encoding170_0 = c.array(c.frame(encoding169))
|
|
6207
6301
|
|
|
6208
6302
|
// @assistant/custom-model-list
|
|
6209
|
-
const
|
|
6303
|
+
const encoding170 = {
|
|
6210
6304
|
preencode(state, m) {
|
|
6211
6305
|
state.end++ // max flag is 1 so always one byte
|
|
6212
6306
|
|
|
6213
|
-
if (m.models)
|
|
6307
|
+
if (m.models) encoding170_0.preencode(state, m.models)
|
|
6214
6308
|
},
|
|
6215
6309
|
encode(state, m) {
|
|
6216
6310
|
const flags = m.models ? 1 : 0
|
|
6217
6311
|
|
|
6218
6312
|
c.uint.encode(state, flags)
|
|
6219
6313
|
|
|
6220
|
-
if (m.models)
|
|
6314
|
+
if (m.models) encoding170_0.encode(state, m.models)
|
|
6221
6315
|
},
|
|
6222
6316
|
decode(state) {
|
|
6223
6317
|
const flags = c.uint.decode(state)
|
|
6224
6318
|
|
|
6225
6319
|
return {
|
|
6226
|
-
models: (flags & 1) !== 0 ?
|
|
6320
|
+
models: (flags & 1) !== 0 ? encoding170_0.decode(state) : null
|
|
6227
6321
|
}
|
|
6228
6322
|
}
|
|
6229
6323
|
}
|
|
6230
6324
|
|
|
6231
6325
|
// @assistant/add-custom-model-request
|
|
6232
|
-
const
|
|
6326
|
+
const encoding171 = {
|
|
6233
6327
|
preencode(state, m) {
|
|
6234
6328
|
c.string.preencode(state, m.label)
|
|
6235
6329
|
c.string.preencode(state, m.src)
|
|
@@ -6271,13 +6365,13 @@ const encoding170 = {
|
|
|
6271
6365
|
}
|
|
6272
6366
|
|
|
6273
6367
|
// @assistant/add-custom-model-response
|
|
6274
|
-
const
|
|
6368
|
+
const encoding172 = encoding91
|
|
6275
6369
|
|
|
6276
6370
|
// @assistant/remove-custom-model-request
|
|
6277
|
-
const
|
|
6371
|
+
const encoding173 = encoding44
|
|
6278
6372
|
|
|
6279
6373
|
// @assistant/preview-custom-model-request
|
|
6280
|
-
const
|
|
6374
|
+
const encoding174 = {
|
|
6281
6375
|
preencode(state, m) {
|
|
6282
6376
|
c.string.preencode(state, m.src)
|
|
6283
6377
|
state.end++ // max flag is 1 so always one byte
|
|
@@ -6304,7 +6398,7 @@ const encoding173 = {
|
|
|
6304
6398
|
}
|
|
6305
6399
|
|
|
6306
6400
|
// @assistant/custom-model-source-file
|
|
6307
|
-
const
|
|
6401
|
+
const encoding175 = {
|
|
6308
6402
|
preencode(state, m) {
|
|
6309
6403
|
c.string.preencode(state, m.src)
|
|
6310
6404
|
c.string.preencode(state, m.label)
|
|
@@ -6335,12 +6429,12 @@ const encoding174 = {
|
|
|
6335
6429
|
}
|
|
6336
6430
|
|
|
6337
6431
|
// @assistant/custom-model-preview.files
|
|
6338
|
-
const
|
|
6432
|
+
const encoding176_4 = c.array(c.frame(encoding175))
|
|
6339
6433
|
// @assistant/custom-model-preview.fitReasons
|
|
6340
|
-
const
|
|
6434
|
+
const encoding176_12 = encoding14_6
|
|
6341
6435
|
|
|
6342
6436
|
// @assistant/custom-model-preview
|
|
6343
|
-
const
|
|
6437
|
+
const encoding176 = {
|
|
6344
6438
|
preencode(state, m) {
|
|
6345
6439
|
const flags =
|
|
6346
6440
|
(m.ok ? 1 : 0) |
|
|
@@ -6363,7 +6457,7 @@ const encoding175 = {
|
|
|
6363
6457
|
if (m.refusal) c.string.preencode(state, m.refusal)
|
|
6364
6458
|
if (m.reason) c.string.preencode(state, m.reason)
|
|
6365
6459
|
if (m.src) c.string.preencode(state, m.src)
|
|
6366
|
-
if (m.files)
|
|
6460
|
+
if (m.files) encoding176_4.preencode(state, m.files)
|
|
6367
6461
|
if (m.sizeBytes) c.uint.preencode(state, m.sizeBytes)
|
|
6368
6462
|
if (m.contextLength) c.uint.preencode(state, m.contextLength)
|
|
6369
6463
|
if (m.architecture) c.string.preencode(state, m.architecture)
|
|
@@ -6371,7 +6465,7 @@ const encoding175 = {
|
|
|
6371
6465
|
if (m.taskType) c.string.preencode(state, m.taskType)
|
|
6372
6466
|
if (m.license) c.string.preencode(state, m.license)
|
|
6373
6467
|
if (m.fit) c.string.preencode(state, m.fit)
|
|
6374
|
-
if (m.fitReasons)
|
|
6468
|
+
if (m.fitReasons) encoding176_12.preencode(state, m.fitReasons)
|
|
6375
6469
|
if (m.mmprojSrc) c.string.preencode(state, m.mmprojSrc)
|
|
6376
6470
|
},
|
|
6377
6471
|
encode(state, m) {
|
|
@@ -6396,7 +6490,7 @@ const encoding175 = {
|
|
|
6396
6490
|
if (m.refusal) c.string.encode(state, m.refusal)
|
|
6397
6491
|
if (m.reason) c.string.encode(state, m.reason)
|
|
6398
6492
|
if (m.src) c.string.encode(state, m.src)
|
|
6399
|
-
if (m.files)
|
|
6493
|
+
if (m.files) encoding176_4.encode(state, m.files)
|
|
6400
6494
|
if (m.sizeBytes) c.uint.encode(state, m.sizeBytes)
|
|
6401
6495
|
if (m.contextLength) c.uint.encode(state, m.contextLength)
|
|
6402
6496
|
if (m.architecture) c.string.encode(state, m.architecture)
|
|
@@ -6404,7 +6498,7 @@ const encoding175 = {
|
|
|
6404
6498
|
if (m.taskType) c.string.encode(state, m.taskType)
|
|
6405
6499
|
if (m.license) c.string.encode(state, m.license)
|
|
6406
6500
|
if (m.fit) c.string.encode(state, m.fit)
|
|
6407
|
-
if (m.fitReasons)
|
|
6501
|
+
if (m.fitReasons) encoding176_12.encode(state, m.fitReasons)
|
|
6408
6502
|
if (m.mmprojSrc) c.string.encode(state, m.mmprojSrc)
|
|
6409
6503
|
},
|
|
6410
6504
|
decode(state) {
|
|
@@ -6415,7 +6509,7 @@ const encoding175 = {
|
|
|
6415
6509
|
refusal: (flags & 2) !== 0 ? c.string.decode(state) : null,
|
|
6416
6510
|
reason: (flags & 4) !== 0 ? c.string.decode(state) : null,
|
|
6417
6511
|
src: (flags & 8) !== 0 ? c.string.decode(state) : null,
|
|
6418
|
-
files: (flags & 16) !== 0 ?
|
|
6512
|
+
files: (flags & 16) !== 0 ? encoding176_4.decode(state) : null,
|
|
6419
6513
|
sizeBytes: (flags & 32) !== 0 ? c.uint.decode(state) : 0,
|
|
6420
6514
|
contextLength: (flags & 64) !== 0 ? c.uint.decode(state) : 0,
|
|
6421
6515
|
architecture: (flags & 128) !== 0 ? c.string.decode(state) : null,
|
|
@@ -6423,13 +6517,13 @@ const encoding175 = {
|
|
|
6423
6517
|
taskType: (flags & 512) !== 0 ? c.string.decode(state) : null,
|
|
6424
6518
|
license: (flags & 1024) !== 0 ? c.string.decode(state) : null,
|
|
6425
6519
|
fit: (flags & 2048) !== 0 ? c.string.decode(state) : null,
|
|
6426
|
-
fitReasons: (flags & 4096) !== 0 ?
|
|
6520
|
+
fitReasons: (flags & 4096) !== 0 ? encoding176_12.decode(state) : null,
|
|
6427
6521
|
mmprojSrc: (flags & 8192) !== 0 ? c.string.decode(state) : null
|
|
6428
6522
|
}
|
|
6429
6523
|
}
|
|
6430
6524
|
}
|
|
6431
6525
|
|
|
6432
|
-
const
|
|
6526
|
+
const encoding177_enum = {
|
|
6433
6527
|
debug: 'debug',
|
|
6434
6528
|
info: 'info',
|
|
6435
6529
|
warn: 'warn',
|
|
@@ -6437,7 +6531,7 @@ const encoding176_enum = {
|
|
|
6437
6531
|
}
|
|
6438
6532
|
|
|
6439
6533
|
// @assistant/log-level enum
|
|
6440
|
-
const
|
|
6534
|
+
const encoding177 = {
|
|
6441
6535
|
preencode (state, m) {
|
|
6442
6536
|
state.end++ // max enum is 4 so always one byte
|
|
6443
6537
|
},
|
|
@@ -6474,13 +6568,13 @@ const encoding176 = {
|
|
|
6474
6568
|
}
|
|
6475
6569
|
}
|
|
6476
6570
|
|
|
6477
|
-
const
|
|
6571
|
+
const encoding178_enum = {
|
|
6478
6572
|
core: 'core',
|
|
6479
6573
|
client: 'client'
|
|
6480
6574
|
}
|
|
6481
6575
|
|
|
6482
6576
|
// @assistant/log-origin enum
|
|
6483
|
-
const
|
|
6577
|
+
const encoding178 = {
|
|
6484
6578
|
preencode (state, m) {
|
|
6485
6579
|
state.end++ // max enum is 2 so always one byte
|
|
6486
6580
|
},
|
|
@@ -6508,19 +6602,19 @@ const encoding177 = {
|
|
|
6508
6602
|
}
|
|
6509
6603
|
|
|
6510
6604
|
// @assistant/log-line.scope
|
|
6511
|
-
const
|
|
6605
|
+
const encoding179_3 = encoding14_6
|
|
6512
6606
|
|
|
6513
6607
|
// @assistant/log-line
|
|
6514
|
-
const
|
|
6608
|
+
const encoding179 = {
|
|
6515
6609
|
preencode(state, m) {
|
|
6516
6610
|
c.uint.preencode(state, m.seq)
|
|
6517
6611
|
c.uint.preencode(state, m.at)
|
|
6518
|
-
|
|
6612
|
+
encoding177.preencode(state, m.level)
|
|
6519
6613
|
state.end++ // max flag is 2 so always one byte
|
|
6520
6614
|
|
|
6521
|
-
if (m.scope)
|
|
6615
|
+
if (m.scope) encoding179_3.preencode(state, m.scope)
|
|
6522
6616
|
c.string.preencode(state, m.message)
|
|
6523
|
-
|
|
6617
|
+
encoding178.preencode(state, m.origin)
|
|
6524
6618
|
if (m.originDeviceId) c.fixed32.preencode(state, m.originDeviceId)
|
|
6525
6619
|
},
|
|
6526
6620
|
encode(state, m) {
|
|
@@ -6528,123 +6622,123 @@ const encoding178 = {
|
|
|
6528
6622
|
|
|
6529
6623
|
c.uint.encode(state, m.seq)
|
|
6530
6624
|
c.uint.encode(state, m.at)
|
|
6531
|
-
|
|
6625
|
+
encoding177.encode(state, m.level)
|
|
6532
6626
|
c.uint.encode(state, flags)
|
|
6533
6627
|
|
|
6534
|
-
if (m.scope)
|
|
6628
|
+
if (m.scope) encoding179_3.encode(state, m.scope)
|
|
6535
6629
|
c.string.encode(state, m.message)
|
|
6536
|
-
|
|
6630
|
+
encoding178.encode(state, m.origin)
|
|
6537
6631
|
if (m.originDeviceId) c.fixed32.encode(state, m.originDeviceId)
|
|
6538
6632
|
},
|
|
6539
6633
|
decode(state) {
|
|
6540
6634
|
const r0 = c.uint.decode(state)
|
|
6541
6635
|
const r1 = c.uint.decode(state)
|
|
6542
|
-
const r2 =
|
|
6636
|
+
const r2 = encoding177.decode(state)
|
|
6543
6637
|
const flags = c.uint.decode(state)
|
|
6544
6638
|
|
|
6545
6639
|
return {
|
|
6546
6640
|
seq: r0,
|
|
6547
6641
|
at: r1,
|
|
6548
6642
|
level: r2,
|
|
6549
|
-
scope: (flags & 1) !== 0 ?
|
|
6643
|
+
scope: (flags & 1) !== 0 ? encoding179_3.decode(state) : null,
|
|
6550
6644
|
message: c.string.decode(state),
|
|
6551
|
-
origin:
|
|
6645
|
+
origin: encoding178.decode(state),
|
|
6552
6646
|
originDeviceId: (flags & 2) !== 0 ? c.fixed32.decode(state) : null
|
|
6553
6647
|
}
|
|
6554
6648
|
}
|
|
6555
6649
|
}
|
|
6556
6650
|
|
|
6557
6651
|
// @assistant/log-line-list.lines
|
|
6558
|
-
const
|
|
6652
|
+
const encoding180_0 = c.array(c.frame(encoding179))
|
|
6559
6653
|
|
|
6560
6654
|
// @assistant/log-line-list
|
|
6561
|
-
const
|
|
6655
|
+
const encoding180 = {
|
|
6562
6656
|
preencode(state, m) {
|
|
6563
6657
|
state.end++ // max flag is 1 so always one byte
|
|
6564
6658
|
|
|
6565
|
-
if (m.lines)
|
|
6659
|
+
if (m.lines) encoding180_0.preencode(state, m.lines)
|
|
6566
6660
|
},
|
|
6567
6661
|
encode(state, m) {
|
|
6568
6662
|
const flags = m.lines ? 1 : 0
|
|
6569
6663
|
|
|
6570
6664
|
c.uint.encode(state, flags)
|
|
6571
6665
|
|
|
6572
|
-
if (m.lines)
|
|
6666
|
+
if (m.lines) encoding180_0.encode(state, m.lines)
|
|
6573
6667
|
},
|
|
6574
6668
|
decode(state) {
|
|
6575
6669
|
const flags = c.uint.decode(state)
|
|
6576
6670
|
|
|
6577
6671
|
return {
|
|
6578
|
-
lines: (flags & 1) !== 0 ?
|
|
6672
|
+
lines: (flags & 1) !== 0 ? encoding180_0.decode(state) : null
|
|
6579
6673
|
}
|
|
6580
6674
|
}
|
|
6581
6675
|
}
|
|
6582
6676
|
|
|
6583
6677
|
// @assistant/logs-watch-request.scope
|
|
6584
|
-
const
|
|
6678
|
+
const encoding181_1 = encoding14_6
|
|
6585
6679
|
|
|
6586
6680
|
// @assistant/logs-watch-request
|
|
6587
|
-
const
|
|
6681
|
+
const encoding181 = {
|
|
6588
6682
|
preencode(state, m) {
|
|
6589
6683
|
state.end++ // max flag is 8 so always one byte
|
|
6590
6684
|
|
|
6591
|
-
if (m.level)
|
|
6592
|
-
if (m.scope)
|
|
6685
|
+
if (m.level) encoding177.preencode(state, m.level)
|
|
6686
|
+
if (m.scope) encoding181_1.preencode(state, m.scope)
|
|
6593
6687
|
if (m.backfill) c.uint.preencode(state, m.backfill)
|
|
6594
|
-
if (m.origin)
|
|
6688
|
+
if (m.origin) encoding178.preencode(state, m.origin)
|
|
6595
6689
|
},
|
|
6596
6690
|
encode(state, m) {
|
|
6597
6691
|
const flags = (m.level ? 1 : 0) | (m.scope ? 2 : 0) | (m.backfill ? 4 : 0) | (m.origin ? 8 : 0)
|
|
6598
6692
|
|
|
6599
6693
|
c.uint.encode(state, flags)
|
|
6600
6694
|
|
|
6601
|
-
if (m.level)
|
|
6602
|
-
if (m.scope)
|
|
6695
|
+
if (m.level) encoding177.encode(state, m.level)
|
|
6696
|
+
if (m.scope) encoding181_1.encode(state, m.scope)
|
|
6603
6697
|
if (m.backfill) c.uint.encode(state, m.backfill)
|
|
6604
|
-
if (m.origin)
|
|
6698
|
+
if (m.origin) encoding178.encode(state, m.origin)
|
|
6605
6699
|
},
|
|
6606
6700
|
decode(state) {
|
|
6607
6701
|
const flags = c.uint.decode(state)
|
|
6608
6702
|
|
|
6609
6703
|
return {
|
|
6610
|
-
level: (flags & 1) !== 0 ?
|
|
6611
|
-
scope: (flags & 2) !== 0 ?
|
|
6704
|
+
level: (flags & 1) !== 0 ? encoding177.decode(state) : null,
|
|
6705
|
+
scope: (flags & 2) !== 0 ? encoding181_1.decode(state) : null,
|
|
6612
6706
|
backfill: (flags & 4) !== 0 ? c.uint.decode(state) : 0,
|
|
6613
|
-
origin: (flags & 8) !== 0 ?
|
|
6707
|
+
origin: (flags & 8) !== 0 ? encoding178.decode(state) : null
|
|
6614
6708
|
}
|
|
6615
6709
|
}
|
|
6616
6710
|
}
|
|
6617
6711
|
|
|
6618
6712
|
// @assistant/write-log-request.scope
|
|
6619
|
-
const
|
|
6713
|
+
const encoding182_1 = encoding14_6
|
|
6620
6714
|
|
|
6621
6715
|
// @assistant/write-log-request
|
|
6622
|
-
const
|
|
6716
|
+
const encoding182 = {
|
|
6623
6717
|
preencode(state, m) {
|
|
6624
|
-
|
|
6718
|
+
encoding177.preencode(state, m.level)
|
|
6625
6719
|
state.end++ // max flag is 1 so always one byte
|
|
6626
6720
|
|
|
6627
|
-
if (m.scope)
|
|
6721
|
+
if (m.scope) encoding182_1.preencode(state, m.scope)
|
|
6628
6722
|
c.string.preencode(state, m.message)
|
|
6629
6723
|
c.uint.preencode(state, m.at)
|
|
6630
6724
|
},
|
|
6631
6725
|
encode(state, m) {
|
|
6632
6726
|
const flags = m.scope ? 1 : 0
|
|
6633
6727
|
|
|
6634
|
-
|
|
6728
|
+
encoding177.encode(state, m.level)
|
|
6635
6729
|
c.uint.encode(state, flags)
|
|
6636
6730
|
|
|
6637
|
-
if (m.scope)
|
|
6731
|
+
if (m.scope) encoding182_1.encode(state, m.scope)
|
|
6638
6732
|
c.string.encode(state, m.message)
|
|
6639
6733
|
c.uint.encode(state, m.at)
|
|
6640
6734
|
},
|
|
6641
6735
|
decode(state) {
|
|
6642
|
-
const r0 =
|
|
6736
|
+
const r0 = encoding177.decode(state)
|
|
6643
6737
|
const flags = c.uint.decode(state)
|
|
6644
6738
|
|
|
6645
6739
|
return {
|
|
6646
6740
|
level: r0,
|
|
6647
|
-
scope: (flags & 1) !== 0 ?
|
|
6741
|
+
scope: (flags & 1) !== 0 ? encoding182_1.decode(state) : null,
|
|
6648
6742
|
message: c.string.decode(state),
|
|
6649
6743
|
at: c.uint.decode(state)
|
|
6650
6744
|
}
|
|
@@ -6652,7 +6746,7 @@ const encoding181 = {
|
|
|
6652
6746
|
}
|
|
6653
6747
|
|
|
6654
6748
|
// @assistant/transcribe-request
|
|
6655
|
-
const
|
|
6749
|
+
const encoding183 = {
|
|
6656
6750
|
preencode(state, m) {
|
|
6657
6751
|
c.buffer.preencode(state, m.audio)
|
|
6658
6752
|
state.end++ // max flag is 1 so always one byte
|
|
@@ -6679,7 +6773,7 @@ const encoding182 = {
|
|
|
6679
6773
|
}
|
|
6680
6774
|
|
|
6681
6775
|
// @assistant/transcribe-response
|
|
6682
|
-
const
|
|
6776
|
+
const encoding184 = {
|
|
6683
6777
|
preencode(state, m) {
|
|
6684
6778
|
c.string.preencode(state, m.text)
|
|
6685
6779
|
},
|
|
@@ -6696,7 +6790,7 @@ const encoding183 = {
|
|
|
6696
6790
|
}
|
|
6697
6791
|
|
|
6698
6792
|
// @assistant/detect-language-request
|
|
6699
|
-
const
|
|
6793
|
+
const encoding185 = {
|
|
6700
6794
|
preencode(state, m) {
|
|
6701
6795
|
c.string.preencode(state, m.text)
|
|
6702
6796
|
state.end++ // max flag is 1 so always one byte
|
|
@@ -6723,7 +6817,7 @@ const encoding184 = {
|
|
|
6723
6817
|
}
|
|
6724
6818
|
|
|
6725
6819
|
// @assistant/detected-language
|
|
6726
|
-
const
|
|
6820
|
+
const encoding186 = {
|
|
6727
6821
|
preencode(state, m) {
|
|
6728
6822
|
c.string.preencode(state, m.code)
|
|
6729
6823
|
c.string.preencode(state, m.language)
|
|
@@ -6754,18 +6848,18 @@ const encoding185 = {
|
|
|
6754
6848
|
}
|
|
6755
6849
|
|
|
6756
6850
|
// @assistant/detect-language-response.languages
|
|
6757
|
-
const
|
|
6851
|
+
const encoding187_0 = c.array(c.frame(encoding186))
|
|
6758
6852
|
|
|
6759
6853
|
// @assistant/detect-language-response
|
|
6760
|
-
const
|
|
6854
|
+
const encoding187 = {
|
|
6761
6855
|
preencode(state, m) {
|
|
6762
|
-
|
|
6856
|
+
encoding187_0.preencode(state, m.languages)
|
|
6763
6857
|
},
|
|
6764
6858
|
encode(state, m) {
|
|
6765
|
-
|
|
6859
|
+
encoding187_0.encode(state, m.languages)
|
|
6766
6860
|
},
|
|
6767
6861
|
decode(state) {
|
|
6768
|
-
const r0 =
|
|
6862
|
+
const r0 = encoding187_0.decode(state)
|
|
6769
6863
|
|
|
6770
6864
|
return {
|
|
6771
6865
|
languages: r0
|
|
@@ -6774,7 +6868,7 @@ const encoding186 = {
|
|
|
6774
6868
|
}
|
|
6775
6869
|
|
|
6776
6870
|
// @assistant/speak-request
|
|
6777
|
-
const
|
|
6871
|
+
const encoding188 = {
|
|
6778
6872
|
preencode(state, m) {
|
|
6779
6873
|
c.string.preencode(state, m.text)
|
|
6780
6874
|
state.end++ // max flag is 1 so always one byte
|
|
@@ -6801,7 +6895,7 @@ const encoding187 = {
|
|
|
6801
6895
|
}
|
|
6802
6896
|
|
|
6803
6897
|
// @assistant/speak-response
|
|
6804
|
-
const
|
|
6898
|
+
const encoding189 = {
|
|
6805
6899
|
preencode(state, m) {
|
|
6806
6900
|
c.buffer.preencode(state, m.audio)
|
|
6807
6901
|
c.uint.preencode(state, m.sampleRate)
|
|
@@ -6822,7 +6916,7 @@ const encoding188 = {
|
|
|
6822
6916
|
}
|
|
6823
6917
|
|
|
6824
6918
|
// @assistant/skill-binary-requirement
|
|
6825
|
-
const
|
|
6919
|
+
const encoding190 = {
|
|
6826
6920
|
preencode(state, m) {
|
|
6827
6921
|
c.string.preencode(state, m.bin)
|
|
6828
6922
|
state.end++ // max flag is 2 so always one byte
|
|
@@ -6852,41 +6946,41 @@ const encoding189 = {
|
|
|
6852
6946
|
}
|
|
6853
6947
|
|
|
6854
6948
|
// @assistant/skill-requirements.binaries
|
|
6855
|
-
const
|
|
6949
|
+
const encoding191_0 = c.array(c.frame(encoding190))
|
|
6856
6950
|
// @assistant/skill-requirements.credentials
|
|
6857
|
-
const
|
|
6951
|
+
const encoding191_1 = encoding14_6
|
|
6858
6952
|
|
|
6859
6953
|
// @assistant/skill-requirements
|
|
6860
|
-
const
|
|
6954
|
+
const encoding191 = {
|
|
6861
6955
|
preencode(state, m) {
|
|
6862
6956
|
state.end++ // max flag is 2 so always one byte
|
|
6863
6957
|
|
|
6864
|
-
if (m.binaries)
|
|
6865
|
-
if (m.credentials)
|
|
6958
|
+
if (m.binaries) encoding191_0.preencode(state, m.binaries)
|
|
6959
|
+
if (m.credentials) encoding191_1.preencode(state, m.credentials)
|
|
6866
6960
|
},
|
|
6867
6961
|
encode(state, m) {
|
|
6868
6962
|
const flags = (m.binaries ? 1 : 0) | (m.credentials ? 2 : 0)
|
|
6869
6963
|
|
|
6870
6964
|
c.uint.encode(state, flags)
|
|
6871
6965
|
|
|
6872
|
-
if (m.binaries)
|
|
6873
|
-
if (m.credentials)
|
|
6966
|
+
if (m.binaries) encoding191_0.encode(state, m.binaries)
|
|
6967
|
+
if (m.credentials) encoding191_1.encode(state, m.credentials)
|
|
6874
6968
|
},
|
|
6875
6969
|
decode(state) {
|
|
6876
6970
|
const flags = c.uint.decode(state)
|
|
6877
6971
|
|
|
6878
6972
|
return {
|
|
6879
|
-
binaries: (flags & 1) !== 0 ?
|
|
6880
|
-
credentials: (flags & 2) !== 0 ?
|
|
6973
|
+
binaries: (flags & 1) !== 0 ? encoding191_0.decode(state) : null,
|
|
6974
|
+
credentials: (flags & 2) !== 0 ? encoding191_1.decode(state) : null
|
|
6881
6975
|
}
|
|
6882
6976
|
}
|
|
6883
6977
|
}
|
|
6884
6978
|
|
|
6885
6979
|
// @assistant/skill-install-step.bins
|
|
6886
|
-
const
|
|
6980
|
+
const encoding192_6 = encoding14_6
|
|
6887
6981
|
|
|
6888
6982
|
// @assistant/skill-install-step
|
|
6889
|
-
const
|
|
6983
|
+
const encoding192 = {
|
|
6890
6984
|
preencode(state, m) {
|
|
6891
6985
|
c.string.preencode(state, m.id)
|
|
6892
6986
|
c.string.preencode(state, m.kind)
|
|
@@ -6895,7 +6989,7 @@ const encoding191 = {
|
|
|
6895
6989
|
|
|
6896
6990
|
if (m.formula) c.string.preencode(state, m.formula)
|
|
6897
6991
|
if (m.command) c.string.preencode(state, m.command)
|
|
6898
|
-
if (m.bins)
|
|
6992
|
+
if (m.bins) encoding192_6.preencode(state, m.bins)
|
|
6899
6993
|
},
|
|
6900
6994
|
encode(state, m) {
|
|
6901
6995
|
const flags = (m.formula ? 1 : 0) | (m.command ? 2 : 0) | (m.manual ? 4 : 0) | (m.bins ? 8 : 0)
|
|
@@ -6907,7 +7001,7 @@ const encoding191 = {
|
|
|
6907
7001
|
|
|
6908
7002
|
if (m.formula) c.string.encode(state, m.formula)
|
|
6909
7003
|
if (m.command) c.string.encode(state, m.command)
|
|
6910
|
-
if (m.bins)
|
|
7004
|
+
if (m.bins) encoding192_6.encode(state, m.bins)
|
|
6911
7005
|
},
|
|
6912
7006
|
decode(state) {
|
|
6913
7007
|
const r0 = c.string.decode(state)
|
|
@@ -6922,13 +7016,13 @@ const encoding191 = {
|
|
|
6922
7016
|
formula: (flags & 1) !== 0 ? c.string.decode(state) : null,
|
|
6923
7017
|
command: (flags & 2) !== 0 ? c.string.decode(state) : null,
|
|
6924
7018
|
manual: (flags & 4) !== 0,
|
|
6925
|
-
bins: (flags & 8) !== 0 ?
|
|
7019
|
+
bins: (flags & 8) !== 0 ? encoding192_6.decode(state) : null
|
|
6926
7020
|
}
|
|
6927
7021
|
}
|
|
6928
7022
|
}
|
|
6929
7023
|
|
|
6930
7024
|
// @assistant/skill-setup-field
|
|
6931
|
-
const
|
|
7025
|
+
const encoding193 = {
|
|
6932
7026
|
preencode(state, m) {
|
|
6933
7027
|
c.string.preencode(state, m.key)
|
|
6934
7028
|
c.string.preencode(state, m.label)
|
|
@@ -6960,14 +7054,14 @@ const encoding192 = {
|
|
|
6960
7054
|
}
|
|
6961
7055
|
}
|
|
6962
7056
|
|
|
6963
|
-
const
|
|
7057
|
+
const encoding194_enum = {
|
|
6964
7058
|
"pkce-only": 'pkce-only',
|
|
6965
7059
|
"secret-in-body": 'secret-in-body',
|
|
6966
7060
|
"secret-in-basic": 'secret-in-basic'
|
|
6967
7061
|
}
|
|
6968
7062
|
|
|
6969
7063
|
// @assistant/skill-setup-token-auth enum
|
|
6970
|
-
const
|
|
7064
|
+
const encoding194 = {
|
|
6971
7065
|
preencode (state, m) {
|
|
6972
7066
|
state.end++ // max enum is 3 so always one byte
|
|
6973
7067
|
},
|
|
@@ -7000,18 +7094,18 @@ const encoding193 = {
|
|
|
7000
7094
|
}
|
|
7001
7095
|
|
|
7002
7096
|
// @assistant/skill-setup-oauth.scopes
|
|
7003
|
-
const
|
|
7097
|
+
const encoding195_4 = encoding14_6
|
|
7004
7098
|
|
|
7005
7099
|
// @assistant/skill-setup-oauth
|
|
7006
|
-
const
|
|
7100
|
+
const encoding195 = {
|
|
7007
7101
|
preencode(state, m) {
|
|
7008
7102
|
c.string.preencode(state, m.stateKey)
|
|
7009
7103
|
c.string.preencode(state, m.authUrl)
|
|
7010
7104
|
c.string.preencode(state, m.tokenUrl)
|
|
7011
|
-
|
|
7105
|
+
encoding194.preencode(state, m.tokenAuth)
|
|
7012
7106
|
state.end++ // max flag is 16 so always one byte
|
|
7013
7107
|
|
|
7014
|
-
if (m.scopes)
|
|
7108
|
+
if (m.scopes) encoding195_4.preencode(state, m.scopes)
|
|
7015
7109
|
if (m.extraAuthParams) c.json.preencode(state, m.extraAuthParams)
|
|
7016
7110
|
if (m.registrationEndpoint) c.string.preencode(state, m.registrationEndpoint)
|
|
7017
7111
|
if (m.port) c.uint.preencode(state, m.port)
|
|
@@ -7027,10 +7121,10 @@ const encoding194 = {
|
|
|
7027
7121
|
c.string.encode(state, m.stateKey)
|
|
7028
7122
|
c.string.encode(state, m.authUrl)
|
|
7029
7123
|
c.string.encode(state, m.tokenUrl)
|
|
7030
|
-
|
|
7124
|
+
encoding194.encode(state, m.tokenAuth)
|
|
7031
7125
|
c.uint.encode(state, flags)
|
|
7032
7126
|
|
|
7033
|
-
if (m.scopes)
|
|
7127
|
+
if (m.scopes) encoding195_4.encode(state, m.scopes)
|
|
7034
7128
|
if (m.extraAuthParams) c.json.encode(state, m.extraAuthParams)
|
|
7035
7129
|
if (m.registrationEndpoint) c.string.encode(state, m.registrationEndpoint)
|
|
7036
7130
|
if (m.port) c.uint.encode(state, m.port)
|
|
@@ -7039,7 +7133,7 @@ const encoding194 = {
|
|
|
7039
7133
|
const r0 = c.string.decode(state)
|
|
7040
7134
|
const r1 = c.string.decode(state)
|
|
7041
7135
|
const r2 = c.string.decode(state)
|
|
7042
|
-
const r3 =
|
|
7136
|
+
const r3 = encoding194.decode(state)
|
|
7043
7137
|
const flags = c.uint.decode(state)
|
|
7044
7138
|
|
|
7045
7139
|
return {
|
|
@@ -7047,7 +7141,7 @@ const encoding194 = {
|
|
|
7047
7141
|
authUrl: r1,
|
|
7048
7142
|
tokenUrl: r2,
|
|
7049
7143
|
tokenAuth: r3,
|
|
7050
|
-
scopes: (flags & 1) !== 0 ?
|
|
7144
|
+
scopes: (flags & 1) !== 0 ? encoding195_4.decode(state) : null,
|
|
7051
7145
|
extraAuthParams: (flags & 2) !== 0 ? c.json.decode(state) : null,
|
|
7052
7146
|
registrationEndpoint: (flags & 4) !== 0 ? c.string.decode(state) : null,
|
|
7053
7147
|
port: (flags & 8) !== 0 ? c.uint.decode(state) : 0,
|
|
@@ -7056,7 +7150,7 @@ const encoding194 = {
|
|
|
7056
7150
|
}
|
|
7057
7151
|
}
|
|
7058
7152
|
|
|
7059
|
-
const
|
|
7153
|
+
const encoding196_enum = {
|
|
7060
7154
|
oauth: 'oauth',
|
|
7061
7155
|
token: 'token',
|
|
7062
7156
|
install: 'install',
|
|
@@ -7065,7 +7159,7 @@ const encoding195_enum = {
|
|
|
7065
7159
|
}
|
|
7066
7160
|
|
|
7067
7161
|
// @assistant/skill-setup-route-kind enum
|
|
7068
|
-
const
|
|
7162
|
+
const encoding196 = {
|
|
7069
7163
|
preencode (state, m) {
|
|
7070
7164
|
state.end++ // max enum is 5 so always one byte
|
|
7071
7165
|
},
|
|
@@ -7108,16 +7202,16 @@ const encoding195 = {
|
|
|
7108
7202
|
}
|
|
7109
7203
|
|
|
7110
7204
|
// @assistant/skill-setup-route.steps
|
|
7111
|
-
const
|
|
7205
|
+
const encoding197_6 = encoding14_6
|
|
7112
7206
|
// @assistant/skill-setup-route.configSteps
|
|
7113
|
-
const
|
|
7207
|
+
const encoding197_7 = encoding14_6
|
|
7114
7208
|
// @assistant/skill-setup-route.fields
|
|
7115
|
-
const
|
|
7209
|
+
const encoding197_8 = c.array(c.frame(encoding193))
|
|
7116
7210
|
// @assistant/skill-setup-route.oauth
|
|
7117
|
-
const
|
|
7211
|
+
const encoding197_10 = c.frame(encoding195)
|
|
7118
7212
|
|
|
7119
7213
|
// @assistant/skill-setup-route
|
|
7120
|
-
const
|
|
7214
|
+
const encoding197 = {
|
|
7121
7215
|
preencode(state, m) {
|
|
7122
7216
|
const flags =
|
|
7123
7217
|
(m.provider ? 1 : 0) |
|
|
@@ -7130,7 +7224,7 @@ const encoding196 = {
|
|
|
7130
7224
|
(m.satisfied ? 128 : 0) |
|
|
7131
7225
|
(m.oauth ? 256 : 0)
|
|
7132
7226
|
|
|
7133
|
-
|
|
7227
|
+
encoding196.preencode(state, m.kind)
|
|
7134
7228
|
c.string.preencode(state, m.label)
|
|
7135
7229
|
c.uint.preencode(state, flags)
|
|
7136
7230
|
|
|
@@ -7138,10 +7232,10 @@ const encoding196 = {
|
|
|
7138
7232
|
if (m.credentialKey) c.string.preencode(state, m.credentialKey)
|
|
7139
7233
|
if (m.description) c.string.preencode(state, m.description)
|
|
7140
7234
|
if (m.helpUrl) c.string.preencode(state, m.helpUrl)
|
|
7141
|
-
if (m.steps)
|
|
7142
|
-
if (m.configSteps)
|
|
7143
|
-
if (m.fields)
|
|
7144
|
-
if (m.oauth)
|
|
7235
|
+
if (m.steps) encoding197_6.preencode(state, m.steps)
|
|
7236
|
+
if (m.configSteps) encoding197_7.preencode(state, m.configSteps)
|
|
7237
|
+
if (m.fields) encoding197_8.preencode(state, m.fields)
|
|
7238
|
+
if (m.oauth) encoding197_10.preencode(state, m.oauth)
|
|
7145
7239
|
},
|
|
7146
7240
|
encode(state, m) {
|
|
7147
7241
|
const flags =
|
|
@@ -7155,7 +7249,7 @@ const encoding196 = {
|
|
|
7155
7249
|
(m.satisfied ? 128 : 0) |
|
|
7156
7250
|
(m.oauth ? 256 : 0)
|
|
7157
7251
|
|
|
7158
|
-
|
|
7252
|
+
encoding196.encode(state, m.kind)
|
|
7159
7253
|
c.string.encode(state, m.label)
|
|
7160
7254
|
c.uint.encode(state, flags)
|
|
7161
7255
|
|
|
@@ -7163,13 +7257,13 @@ const encoding196 = {
|
|
|
7163
7257
|
if (m.credentialKey) c.string.encode(state, m.credentialKey)
|
|
7164
7258
|
if (m.description) c.string.encode(state, m.description)
|
|
7165
7259
|
if (m.helpUrl) c.string.encode(state, m.helpUrl)
|
|
7166
|
-
if (m.steps)
|
|
7167
|
-
if (m.configSteps)
|
|
7168
|
-
if (m.fields)
|
|
7169
|
-
if (m.oauth)
|
|
7260
|
+
if (m.steps) encoding197_6.encode(state, m.steps)
|
|
7261
|
+
if (m.configSteps) encoding197_7.encode(state, m.configSteps)
|
|
7262
|
+
if (m.fields) encoding197_8.encode(state, m.fields)
|
|
7263
|
+
if (m.oauth) encoding197_10.encode(state, m.oauth)
|
|
7170
7264
|
},
|
|
7171
7265
|
decode(state) {
|
|
7172
|
-
const r0 =
|
|
7266
|
+
const r0 = encoding196.decode(state)
|
|
7173
7267
|
const r1 = c.string.decode(state)
|
|
7174
7268
|
const flags = c.uint.decode(state)
|
|
7175
7269
|
|
|
@@ -7180,25 +7274,25 @@ const encoding196 = {
|
|
|
7180
7274
|
credentialKey: (flags & 2) !== 0 ? c.string.decode(state) : null,
|
|
7181
7275
|
description: (flags & 4) !== 0 ? c.string.decode(state) : null,
|
|
7182
7276
|
helpUrl: (flags & 8) !== 0 ? c.string.decode(state) : null,
|
|
7183
|
-
steps: (flags & 16) !== 0 ?
|
|
7184
|
-
configSteps: (flags & 32) !== 0 ?
|
|
7185
|
-
fields: (flags & 64) !== 0 ?
|
|
7277
|
+
steps: (flags & 16) !== 0 ? encoding197_6.decode(state) : null,
|
|
7278
|
+
configSteps: (flags & 32) !== 0 ? encoding197_7.decode(state) : null,
|
|
7279
|
+
fields: (flags & 64) !== 0 ? encoding197_8.decode(state) : null,
|
|
7186
7280
|
satisfied: (flags & 128) !== 0,
|
|
7187
|
-
oauth: (flags & 256) !== 0 ?
|
|
7281
|
+
oauth: (flags & 256) !== 0 ? encoding197_10.decode(state) : null
|
|
7188
7282
|
}
|
|
7189
7283
|
}
|
|
7190
7284
|
}
|
|
7191
7285
|
|
|
7192
7286
|
// @assistant/skill-setup.routes
|
|
7193
|
-
const
|
|
7287
|
+
const encoding198_1 = c.array(c.frame(encoding197))
|
|
7194
7288
|
|
|
7195
7289
|
// @assistant/skill-setup
|
|
7196
|
-
const
|
|
7290
|
+
const encoding198 = {
|
|
7197
7291
|
preencode(state, m) {
|
|
7198
7292
|
state.end++ // max flag is 2 so always one byte
|
|
7199
7293
|
|
|
7200
7294
|
if (m.summary) c.string.preencode(state, m.summary)
|
|
7201
|
-
if (m.routes)
|
|
7295
|
+
if (m.routes) encoding198_1.preencode(state, m.routes)
|
|
7202
7296
|
},
|
|
7203
7297
|
encode(state, m) {
|
|
7204
7298
|
const flags = (m.summary ? 1 : 0) | (m.routes ? 2 : 0)
|
|
@@ -7206,35 +7300,35 @@ const encoding197 = {
|
|
|
7206
7300
|
c.uint.encode(state, flags)
|
|
7207
7301
|
|
|
7208
7302
|
if (m.summary) c.string.encode(state, m.summary)
|
|
7209
|
-
if (m.routes)
|
|
7303
|
+
if (m.routes) encoding198_1.encode(state, m.routes)
|
|
7210
7304
|
},
|
|
7211
7305
|
decode(state) {
|
|
7212
7306
|
const flags = c.uint.decode(state)
|
|
7213
7307
|
|
|
7214
7308
|
return {
|
|
7215
7309
|
summary: (flags & 1) !== 0 ? c.string.decode(state) : null,
|
|
7216
|
-
routes: (flags & 2) !== 0 ?
|
|
7310
|
+
routes: (flags & 2) !== 0 ? encoding198_1.decode(state) : null
|
|
7217
7311
|
}
|
|
7218
7312
|
}
|
|
7219
7313
|
}
|
|
7220
7314
|
|
|
7221
7315
|
// @assistant/skill.tools
|
|
7222
|
-
const
|
|
7316
|
+
const encoding199_2 = encoding14_6
|
|
7223
7317
|
// @assistant/skill.credentials
|
|
7224
|
-
const
|
|
7318
|
+
const encoding199_3 = encoding14_6
|
|
7225
7319
|
// @assistant/skill.allowList
|
|
7226
|
-
const
|
|
7320
|
+
const encoding199_4 = encoding14_6
|
|
7227
7321
|
// @assistant/skill.platforms
|
|
7228
|
-
const
|
|
7322
|
+
const encoding199_5 = encoding14_6
|
|
7229
7323
|
// @assistant/skill.requirements
|
|
7230
|
-
const
|
|
7324
|
+
const encoding199_6 = c.frame(encoding191)
|
|
7231
7325
|
// @assistant/skill.install
|
|
7232
|
-
const
|
|
7326
|
+
const encoding199_7 = c.array(c.frame(encoding192))
|
|
7233
7327
|
// @assistant/skill.setup
|
|
7234
|
-
const
|
|
7328
|
+
const encoding199_8 = c.frame(encoding198)
|
|
7235
7329
|
|
|
7236
7330
|
// @assistant/skill
|
|
7237
|
-
const
|
|
7331
|
+
const encoding199 = {
|
|
7238
7332
|
preencode(state, m) {
|
|
7239
7333
|
const flags =
|
|
7240
7334
|
(m.tools ? 1 : 0) |
|
|
@@ -7252,13 +7346,13 @@ const encoding198 = {
|
|
|
7252
7346
|
c.string.preencode(state, m.description)
|
|
7253
7347
|
c.uint.preencode(state, flags)
|
|
7254
7348
|
|
|
7255
|
-
if (m.tools)
|
|
7256
|
-
if (m.credentials)
|
|
7257
|
-
if (m.allowList)
|
|
7258
|
-
if (m.platforms)
|
|
7259
|
-
if (m.requirements)
|
|
7260
|
-
if (m.install)
|
|
7261
|
-
if (m.setup)
|
|
7349
|
+
if (m.tools) encoding199_2.preencode(state, m.tools)
|
|
7350
|
+
if (m.credentials) encoding199_3.preencode(state, m.credentials)
|
|
7351
|
+
if (m.allowList) encoding199_4.preencode(state, m.allowList)
|
|
7352
|
+
if (m.platforms) encoding199_5.preencode(state, m.platforms)
|
|
7353
|
+
if (m.requirements) encoding199_6.preencode(state, m.requirements)
|
|
7354
|
+
if (m.install) encoding199_7.preencode(state, m.install)
|
|
7355
|
+
if (m.setup) encoding199_8.preencode(state, m.setup)
|
|
7262
7356
|
c.string.preencode(state, m.status)
|
|
7263
7357
|
if (m.minCapabilityProfile) c.string.preencode(state, m.minCapabilityProfile)
|
|
7264
7358
|
if (m.emoji) c.string.preencode(state, m.emoji)
|
|
@@ -7280,13 +7374,13 @@ const encoding198 = {
|
|
|
7280
7374
|
c.string.encode(state, m.description)
|
|
7281
7375
|
c.uint.encode(state, flags)
|
|
7282
7376
|
|
|
7283
|
-
if (m.tools)
|
|
7284
|
-
if (m.credentials)
|
|
7285
|
-
if (m.allowList)
|
|
7286
|
-
if (m.platforms)
|
|
7287
|
-
if (m.requirements)
|
|
7288
|
-
if (m.install)
|
|
7289
|
-
if (m.setup)
|
|
7377
|
+
if (m.tools) encoding199_2.encode(state, m.tools)
|
|
7378
|
+
if (m.credentials) encoding199_3.encode(state, m.credentials)
|
|
7379
|
+
if (m.allowList) encoding199_4.encode(state, m.allowList)
|
|
7380
|
+
if (m.platforms) encoding199_5.encode(state, m.platforms)
|
|
7381
|
+
if (m.requirements) encoding199_6.encode(state, m.requirements)
|
|
7382
|
+
if (m.install) encoding199_7.encode(state, m.install)
|
|
7383
|
+
if (m.setup) encoding199_8.encode(state, m.setup)
|
|
7290
7384
|
c.string.encode(state, m.status)
|
|
7291
7385
|
if (m.minCapabilityProfile) c.string.encode(state, m.minCapabilityProfile)
|
|
7292
7386
|
if (m.emoji) c.string.encode(state, m.emoji)
|
|
@@ -7299,13 +7393,13 @@ const encoding198 = {
|
|
|
7299
7393
|
return {
|
|
7300
7394
|
name: r0,
|
|
7301
7395
|
description: r1,
|
|
7302
|
-
tools: (flags & 1) !== 0 ?
|
|
7303
|
-
credentials: (flags & 2) !== 0 ?
|
|
7304
|
-
allowList: (flags & 4) !== 0 ?
|
|
7305
|
-
platforms: (flags & 8) !== 0 ?
|
|
7306
|
-
requirements: (flags & 16) !== 0 ?
|
|
7307
|
-
install: (flags & 32) !== 0 ?
|
|
7308
|
-
setup: (flags & 64) !== 0 ?
|
|
7396
|
+
tools: (flags & 1) !== 0 ? encoding199_2.decode(state) : null,
|
|
7397
|
+
credentials: (flags & 2) !== 0 ? encoding199_3.decode(state) : null,
|
|
7398
|
+
allowList: (flags & 4) !== 0 ? encoding199_4.decode(state) : null,
|
|
7399
|
+
platforms: (flags & 8) !== 0 ? encoding199_5.decode(state) : null,
|
|
7400
|
+
requirements: (flags & 16) !== 0 ? encoding199_6.decode(state) : null,
|
|
7401
|
+
install: (flags & 32) !== 0 ? encoding199_7.decode(state) : null,
|
|
7402
|
+
setup: (flags & 64) !== 0 ? encoding199_8.decode(state) : null,
|
|
7309
7403
|
status: c.string.decode(state),
|
|
7310
7404
|
stub: (flags & 128) !== 0,
|
|
7311
7405
|
minCapabilityProfile: (flags & 256) !== 0 ? c.string.decode(state) : null,
|
|
@@ -7315,18 +7409,18 @@ const encoding198 = {
|
|
|
7315
7409
|
}
|
|
7316
7410
|
|
|
7317
7411
|
// @assistant/skill-catalog-response.skills
|
|
7318
|
-
const
|
|
7412
|
+
const encoding200_0 = c.array(c.frame(encoding199))
|
|
7319
7413
|
|
|
7320
7414
|
// @assistant/skill-catalog-response
|
|
7321
|
-
const
|
|
7415
|
+
const encoding200 = {
|
|
7322
7416
|
preencode(state, m) {
|
|
7323
|
-
|
|
7417
|
+
encoding200_0.preencode(state, m.skills)
|
|
7324
7418
|
},
|
|
7325
7419
|
encode(state, m) {
|
|
7326
|
-
|
|
7420
|
+
encoding200_0.encode(state, m.skills)
|
|
7327
7421
|
},
|
|
7328
7422
|
decode(state) {
|
|
7329
|
-
const r0 =
|
|
7423
|
+
const r0 = encoding200_0.decode(state)
|
|
7330
7424
|
|
|
7331
7425
|
return {
|
|
7332
7426
|
skills: r0
|
|
@@ -7335,7 +7429,7 @@ const encoding199 = {
|
|
|
7335
7429
|
}
|
|
7336
7430
|
|
|
7337
7431
|
// @assistant/tool-catalog-entry
|
|
7338
|
-
const
|
|
7432
|
+
const encoding201 = {
|
|
7339
7433
|
preencode(state, m) {
|
|
7340
7434
|
c.string.preencode(state, m.name)
|
|
7341
7435
|
c.string.preencode(state, m.description)
|
|
@@ -7379,18 +7473,18 @@ const encoding200 = {
|
|
|
7379
7473
|
}
|
|
7380
7474
|
|
|
7381
7475
|
// @assistant/tool-catalog-response.tools
|
|
7382
|
-
const
|
|
7476
|
+
const encoding202_0 = c.array(c.frame(encoding201))
|
|
7383
7477
|
|
|
7384
7478
|
// @assistant/tool-catalog-response
|
|
7385
|
-
const
|
|
7479
|
+
const encoding202 = {
|
|
7386
7480
|
preencode(state, m) {
|
|
7387
|
-
|
|
7481
|
+
encoding202_0.preencode(state, m.tools)
|
|
7388
7482
|
},
|
|
7389
7483
|
encode(state, m) {
|
|
7390
|
-
|
|
7484
|
+
encoding202_0.encode(state, m.tools)
|
|
7391
7485
|
},
|
|
7392
7486
|
decode(state) {
|
|
7393
|
-
const r0 =
|
|
7487
|
+
const r0 = encoding202_0.decode(state)
|
|
7394
7488
|
|
|
7395
7489
|
return {
|
|
7396
7490
|
tools: r0
|
|
@@ -7399,10 +7493,10 @@ const encoding201 = {
|
|
|
7399
7493
|
}
|
|
7400
7494
|
|
|
7401
7495
|
// @assistant/speak-stream-frame
|
|
7402
|
-
const
|
|
7496
|
+
const encoding203 = encoding184
|
|
7403
7497
|
|
|
7404
7498
|
// @assistant/tool-configs
|
|
7405
|
-
const
|
|
7499
|
+
const encoding204 = {
|
|
7406
7500
|
preencode(state, m) {
|
|
7407
7501
|
c.string.preencode(state, m.agentId)
|
|
7408
7502
|
c.string.preencode(state, m.toolName)
|
|
@@ -7445,33 +7539,33 @@ const encoding203 = {
|
|
|
7445
7539
|
}
|
|
7446
7540
|
|
|
7447
7541
|
// @assistant/tool-configs-list.configs
|
|
7448
|
-
const
|
|
7542
|
+
const encoding205_0 = c.array(c.frame(encoding204))
|
|
7449
7543
|
|
|
7450
7544
|
// @assistant/tool-configs-list
|
|
7451
|
-
const
|
|
7545
|
+
const encoding205 = {
|
|
7452
7546
|
preencode(state, m) {
|
|
7453
7547
|
state.end++ // max flag is 1 so always one byte
|
|
7454
7548
|
|
|
7455
|
-
if (m.configs)
|
|
7549
|
+
if (m.configs) encoding205_0.preencode(state, m.configs)
|
|
7456
7550
|
},
|
|
7457
7551
|
encode(state, m) {
|
|
7458
7552
|
const flags = m.configs ? 1 : 0
|
|
7459
7553
|
|
|
7460
7554
|
c.uint.encode(state, flags)
|
|
7461
7555
|
|
|
7462
|
-
if (m.configs)
|
|
7556
|
+
if (m.configs) encoding205_0.encode(state, m.configs)
|
|
7463
7557
|
},
|
|
7464
7558
|
decode(state) {
|
|
7465
7559
|
const flags = c.uint.decode(state)
|
|
7466
7560
|
|
|
7467
7561
|
return {
|
|
7468
|
-
configs: (flags & 1) !== 0 ?
|
|
7562
|
+
configs: (flags & 1) !== 0 ? encoding205_0.decode(state) : null
|
|
7469
7563
|
}
|
|
7470
7564
|
}
|
|
7471
7565
|
}
|
|
7472
7566
|
|
|
7473
7567
|
// @assistant/set-tool-configs-request
|
|
7474
|
-
const
|
|
7568
|
+
const encoding206 = {
|
|
7475
7569
|
preencode(state, m) {
|
|
7476
7570
|
c.string.preencode(state, m.agentId)
|
|
7477
7571
|
c.string.preencode(state, m.toolName)
|
|
@@ -7500,7 +7594,7 @@ const encoding205 = {
|
|
|
7500
7594
|
}
|
|
7501
7595
|
|
|
7502
7596
|
// @assistant/delete-tool-configs-request
|
|
7503
|
-
const
|
|
7597
|
+
const encoding207 = {
|
|
7504
7598
|
preencode(state, m) {
|
|
7505
7599
|
c.string.preencode(state, m.agentId)
|
|
7506
7600
|
c.string.preencode(state, m.toolName)
|
|
@@ -7525,10 +7619,10 @@ const encoding206 = {
|
|
|
7525
7619
|
}
|
|
7526
7620
|
|
|
7527
7621
|
// @assistant/list-tool-configs-request
|
|
7528
|
-
const
|
|
7622
|
+
const encoding208 = encoding16
|
|
7529
7623
|
|
|
7530
7624
|
// @assistant/skill-secret-value
|
|
7531
|
-
const
|
|
7625
|
+
const encoding209 = {
|
|
7532
7626
|
preencode(state, m) {
|
|
7533
7627
|
c.string.preencode(state, m.key)
|
|
7534
7628
|
c.string.preencode(state, m.value)
|
|
@@ -7549,24 +7643,24 @@ const encoding208 = {
|
|
|
7549
7643
|
}
|
|
7550
7644
|
|
|
7551
7645
|
// @assistant/push-skill-secret-request.values
|
|
7552
|
-
const
|
|
7646
|
+
const encoding210_2 = c.array(c.frame(encoding209))
|
|
7553
7647
|
|
|
7554
7648
|
// @assistant/push-skill-secret-request
|
|
7555
|
-
const
|
|
7649
|
+
const encoding210 = {
|
|
7556
7650
|
preencode(state, m) {
|
|
7557
7651
|
c.string.preencode(state, m.agentId)
|
|
7558
7652
|
c.string.preencode(state, m.skillName)
|
|
7559
|
-
|
|
7653
|
+
encoding210_2.preencode(state, m.values)
|
|
7560
7654
|
},
|
|
7561
7655
|
encode(state, m) {
|
|
7562
7656
|
c.string.encode(state, m.agentId)
|
|
7563
7657
|
c.string.encode(state, m.skillName)
|
|
7564
|
-
|
|
7658
|
+
encoding210_2.encode(state, m.values)
|
|
7565
7659
|
},
|
|
7566
7660
|
decode(state) {
|
|
7567
7661
|
const r0 = c.string.decode(state)
|
|
7568
7662
|
const r1 = c.string.decode(state)
|
|
7569
|
-
const r2 =
|
|
7663
|
+
const r2 = encoding210_2.decode(state)
|
|
7570
7664
|
|
|
7571
7665
|
return {
|
|
7572
7666
|
agentId: r0,
|
|
@@ -7577,21 +7671,21 @@ const encoding209 = {
|
|
|
7577
7671
|
}
|
|
7578
7672
|
|
|
7579
7673
|
// @assistant/skill-secret-handoff.request
|
|
7580
|
-
const
|
|
7674
|
+
const encoding211_1 = c.frame(encoding210)
|
|
7581
7675
|
|
|
7582
7676
|
// @assistant/skill-secret-handoff
|
|
7583
|
-
const
|
|
7677
|
+
const encoding211 = {
|
|
7584
7678
|
preencode(state, m) {
|
|
7585
7679
|
c.uint.preencode(state, m.id)
|
|
7586
|
-
|
|
7680
|
+
encoding211_1.preencode(state, m.request)
|
|
7587
7681
|
},
|
|
7588
7682
|
encode(state, m) {
|
|
7589
7683
|
c.uint.encode(state, m.id)
|
|
7590
|
-
|
|
7684
|
+
encoding211_1.encode(state, m.request)
|
|
7591
7685
|
},
|
|
7592
7686
|
decode(state) {
|
|
7593
7687
|
const r0 = c.uint.decode(state)
|
|
7594
|
-
const r1 =
|
|
7688
|
+
const r1 = encoding211_1.decode(state)
|
|
7595
7689
|
|
|
7596
7690
|
return {
|
|
7597
7691
|
id: r0,
|
|
@@ -7601,7 +7695,7 @@ const encoding210 = {
|
|
|
7601
7695
|
}
|
|
7602
7696
|
|
|
7603
7697
|
// @assistant/skill-secret-handoff-ack
|
|
7604
|
-
const
|
|
7698
|
+
const encoding212 = {
|
|
7605
7699
|
preencode(state, m) {
|
|
7606
7700
|
c.uint.preencode(state, m.id)
|
|
7607
7701
|
state.end++ // max flag is 1 so always one byte
|
|
@@ -7628,10 +7722,10 @@ const encoding211 = {
|
|
|
7628
7722
|
}
|
|
7629
7723
|
|
|
7630
7724
|
// @assistant/tool-activity-entry.resource
|
|
7631
|
-
const
|
|
7725
|
+
const encoding213_7 = encoding70_3
|
|
7632
7726
|
|
|
7633
7727
|
// @assistant/tool-activity-entry
|
|
7634
|
-
const
|
|
7728
|
+
const encoding213 = {
|
|
7635
7729
|
preencode(state, m) {
|
|
7636
7730
|
c.string.preencode(state, m.id)
|
|
7637
7731
|
c.string.preencode(state, m.agentId)
|
|
@@ -7642,7 +7736,7 @@ const encoding212 = {
|
|
|
7642
7736
|
if (m.runId) c.string.preencode(state, m.runId)
|
|
7643
7737
|
c.string.preencode(state, m.toolName)
|
|
7644
7738
|
if (m.arguments) c.json.preencode(state, m.arguments)
|
|
7645
|
-
if (m.resource)
|
|
7739
|
+
if (m.resource) encoding213_7.preencode(state, m.resource)
|
|
7646
7740
|
if (m.effect) c.string.preencode(state, m.effect)
|
|
7647
7741
|
c.string.preencode(state, m.decision)
|
|
7648
7742
|
c.uint.preencode(state, m.at)
|
|
@@ -7665,7 +7759,7 @@ const encoding212 = {
|
|
|
7665
7759
|
if (m.runId) c.string.encode(state, m.runId)
|
|
7666
7760
|
c.string.encode(state, m.toolName)
|
|
7667
7761
|
if (m.arguments) c.json.encode(state, m.arguments)
|
|
7668
|
-
if (m.resource)
|
|
7762
|
+
if (m.resource) encoding213_7.encode(state, m.resource)
|
|
7669
7763
|
if (m.effect) c.string.encode(state, m.effect)
|
|
7670
7764
|
c.string.encode(state, m.decision)
|
|
7671
7765
|
c.uint.encode(state, m.at)
|
|
@@ -7685,7 +7779,7 @@ const encoding212 = {
|
|
|
7685
7779
|
runId: (flags & 2) !== 0 ? c.string.decode(state) : null,
|
|
7686
7780
|
toolName: c.string.decode(state),
|
|
7687
7781
|
arguments: (flags & 4) !== 0 ? c.json.decode(state) : null,
|
|
7688
|
-
resource: (flags & 8) !== 0 ?
|
|
7782
|
+
resource: (flags & 8) !== 0 ? encoding213_7.decode(state) : null,
|
|
7689
7783
|
effect: (flags & 16) !== 0 ? c.string.decode(state) : null,
|
|
7690
7784
|
decision: c.string.decode(state),
|
|
7691
7785
|
at: c.uint.decode(state),
|
|
@@ -7695,33 +7789,33 @@ const encoding212 = {
|
|
|
7695
7789
|
}
|
|
7696
7790
|
|
|
7697
7791
|
// @assistant/tool-activity-list.activities
|
|
7698
|
-
const
|
|
7792
|
+
const encoding214_0 = c.array(c.frame(encoding213))
|
|
7699
7793
|
|
|
7700
7794
|
// @assistant/tool-activity-list
|
|
7701
|
-
const
|
|
7795
|
+
const encoding214 = {
|
|
7702
7796
|
preencode(state, m) {
|
|
7703
7797
|
state.end++ // max flag is 1 so always one byte
|
|
7704
7798
|
|
|
7705
|
-
if (m.activities)
|
|
7799
|
+
if (m.activities) encoding214_0.preencode(state, m.activities)
|
|
7706
7800
|
},
|
|
7707
7801
|
encode(state, m) {
|
|
7708
7802
|
const flags = m.activities ? 1 : 0
|
|
7709
7803
|
|
|
7710
7804
|
c.uint.encode(state, flags)
|
|
7711
7805
|
|
|
7712
|
-
if (m.activities)
|
|
7806
|
+
if (m.activities) encoding214_0.encode(state, m.activities)
|
|
7713
7807
|
},
|
|
7714
7808
|
decode(state) {
|
|
7715
7809
|
const flags = c.uint.decode(state)
|
|
7716
7810
|
|
|
7717
7811
|
return {
|
|
7718
|
-
activities: (flags & 1) !== 0 ?
|
|
7812
|
+
activities: (flags & 1) !== 0 ? encoding214_0.decode(state) : null
|
|
7719
7813
|
}
|
|
7720
7814
|
}
|
|
7721
7815
|
}
|
|
7722
7816
|
|
|
7723
7817
|
// @assistant/list-tool-activity-request
|
|
7724
|
-
const
|
|
7818
|
+
const encoding215 = {
|
|
7725
7819
|
preencode(state, m) {
|
|
7726
7820
|
c.string.preencode(state, m.agentId)
|
|
7727
7821
|
state.end++ // max flag is 16 so always one byte
|
|
@@ -7764,10 +7858,10 @@ const encoding214 = {
|
|
|
7764
7858
|
}
|
|
7765
7859
|
|
|
7766
7860
|
// @assistant/record-tool-activity-request.resource
|
|
7767
|
-
const
|
|
7861
|
+
const encoding216_5 = encoding70_3
|
|
7768
7862
|
|
|
7769
7863
|
// @assistant/record-tool-activity-request
|
|
7770
|
-
const
|
|
7864
|
+
const encoding216 = {
|
|
7771
7865
|
preencode(state, m) {
|
|
7772
7866
|
c.string.preencode(state, m.agentId)
|
|
7773
7867
|
c.string.preencode(state, m.toolName)
|
|
@@ -7776,7 +7870,7 @@ const encoding215 = {
|
|
|
7776
7870
|
|
|
7777
7871
|
if (m.effect) c.string.preencode(state, m.effect)
|
|
7778
7872
|
if (m.arguments) c.json.preencode(state, m.arguments)
|
|
7779
|
-
if (m.resource)
|
|
7873
|
+
if (m.resource) encoding216_5.preencode(state, m.resource)
|
|
7780
7874
|
if (m.chatId) c.string.preencode(state, m.chatId)
|
|
7781
7875
|
if (m.runId) c.string.preencode(state, m.runId)
|
|
7782
7876
|
c.uint.preencode(state, m.at)
|
|
@@ -7797,7 +7891,7 @@ const encoding215 = {
|
|
|
7797
7891
|
|
|
7798
7892
|
if (m.effect) c.string.encode(state, m.effect)
|
|
7799
7893
|
if (m.arguments) c.json.encode(state, m.arguments)
|
|
7800
|
-
if (m.resource)
|
|
7894
|
+
if (m.resource) encoding216_5.encode(state, m.resource)
|
|
7801
7895
|
if (m.chatId) c.string.encode(state, m.chatId)
|
|
7802
7896
|
if (m.runId) c.string.encode(state, m.runId)
|
|
7803
7897
|
c.uint.encode(state, m.at)
|
|
@@ -7815,7 +7909,7 @@ const encoding215 = {
|
|
|
7815
7909
|
decision: r2,
|
|
7816
7910
|
effect: (flags & 1) !== 0 ? c.string.decode(state) : null,
|
|
7817
7911
|
arguments: (flags & 2) !== 0 ? c.json.decode(state) : null,
|
|
7818
|
-
resource: (flags & 4) !== 0 ?
|
|
7912
|
+
resource: (flags & 4) !== 0 ? encoding216_5.decode(state) : null,
|
|
7819
7913
|
chatId: (flags & 8) !== 0 ? c.string.decode(state) : null,
|
|
7820
7914
|
runId: (flags & 16) !== 0 ? c.string.decode(state) : null,
|
|
7821
7915
|
at: c.uint.decode(state),
|
|
@@ -7825,10 +7919,10 @@ const encoding215 = {
|
|
|
7825
7919
|
}
|
|
7826
7920
|
|
|
7827
7921
|
// @assistant/tool-activity-id
|
|
7828
|
-
const
|
|
7922
|
+
const encoding217 = encoding91
|
|
7829
7923
|
|
|
7830
7924
|
// @assistant/managed-skill
|
|
7831
|
-
const
|
|
7925
|
+
const encoding218 = {
|
|
7832
7926
|
preencode(state, m) {
|
|
7833
7927
|
c.string.preencode(state, m.name)
|
|
7834
7928
|
c.string.preencode(state, m.origin)
|
|
@@ -7855,18 +7949,18 @@ const encoding217 = {
|
|
|
7855
7949
|
}
|
|
7856
7950
|
|
|
7857
7951
|
// @assistant/managed-skills-response.skills
|
|
7858
|
-
const
|
|
7952
|
+
const encoding219_0 = c.array(c.frame(encoding218))
|
|
7859
7953
|
|
|
7860
7954
|
// @assistant/managed-skills-response
|
|
7861
|
-
const
|
|
7955
|
+
const encoding219 = {
|
|
7862
7956
|
preencode(state, m) {
|
|
7863
|
-
|
|
7957
|
+
encoding219_0.preencode(state, m.skills)
|
|
7864
7958
|
},
|
|
7865
7959
|
encode(state, m) {
|
|
7866
|
-
|
|
7960
|
+
encoding219_0.encode(state, m.skills)
|
|
7867
7961
|
},
|
|
7868
7962
|
decode(state) {
|
|
7869
|
-
const r0 =
|
|
7963
|
+
const r0 = encoding219_0.decode(state)
|
|
7870
7964
|
|
|
7871
7965
|
return {
|
|
7872
7966
|
skills: r0
|
|
@@ -7875,7 +7969,7 @@ const encoding218 = {
|
|
|
7875
7969
|
}
|
|
7876
7970
|
|
|
7877
7971
|
// @assistant/list-managed-skills-request
|
|
7878
|
-
const
|
|
7972
|
+
const encoding220 = {
|
|
7879
7973
|
preencode(state, m) {
|
|
7880
7974
|
state.end++ // max flag is 1 so always one byte
|
|
7881
7975
|
|
|
@@ -7898,7 +7992,7 @@ const encoding219 = {
|
|
|
7898
7992
|
}
|
|
7899
7993
|
|
|
7900
7994
|
// @assistant/skill-name-request
|
|
7901
|
-
const
|
|
7995
|
+
const encoding221 = {
|
|
7902
7996
|
preencode(state, m) {
|
|
7903
7997
|
c.string.preencode(state, m.name)
|
|
7904
7998
|
state.end++ // max flag is 1 so always one byte
|
|
@@ -7925,7 +8019,7 @@ const encoding220 = {
|
|
|
7925
8019
|
}
|
|
7926
8020
|
|
|
7927
8021
|
// @assistant/skill-file-response
|
|
7928
|
-
const
|
|
8022
|
+
const encoding222 = {
|
|
7929
8023
|
preencode(state, m) {
|
|
7930
8024
|
state.end++ // max flag is 4 so always one byte
|
|
7931
8025
|
|
|
@@ -7952,7 +8046,7 @@ const encoding221 = {
|
|
|
7952
8046
|
}
|
|
7953
8047
|
|
|
7954
8048
|
// @assistant/write-skill-request
|
|
7955
|
-
const
|
|
8049
|
+
const encoding223 = {
|
|
7956
8050
|
preencode(state, m) {
|
|
7957
8051
|
c.string.preencode(state, m.name)
|
|
7958
8052
|
c.string.preencode(state, m.content)
|
|
@@ -7983,7 +8077,7 @@ const encoding222 = {
|
|
|
7983
8077
|
}
|
|
7984
8078
|
|
|
7985
8079
|
// @assistant/copy-skill-response
|
|
7986
|
-
const
|
|
8080
|
+
const encoding224 = {
|
|
7987
8081
|
preencode(state, m) {
|
|
7988
8082
|
state.end++ // max flag is 1 so always one byte
|
|
7989
8083
|
},
|
|
@@ -8002,7 +8096,7 @@ const encoding223 = {
|
|
|
8002
8096
|
}
|
|
8003
8097
|
|
|
8004
8098
|
// @assistant/delete-skill-response
|
|
8005
|
-
const
|
|
8099
|
+
const encoding225 = {
|
|
8006
8100
|
preencode(state, m) {
|
|
8007
8101
|
state.end++ // max flag is 1 so always one byte
|
|
8008
8102
|
},
|
|
@@ -8021,7 +8115,7 @@ const encoding224 = {
|
|
|
8021
8115
|
}
|
|
8022
8116
|
|
|
8023
8117
|
// @assistant/skill-overlay-op
|
|
8024
|
-
const
|
|
8118
|
+
const encoding226 = {
|
|
8025
8119
|
preencode(state, m) {
|
|
8026
8120
|
c.string.preencode(state, m.op)
|
|
8027
8121
|
state.end++ // max flag is 4 so always one byte
|
|
@@ -8054,21 +8148,21 @@ const encoding225 = {
|
|
|
8054
8148
|
}
|
|
8055
8149
|
|
|
8056
8150
|
// @assistant/skill-overlay-handoff.request
|
|
8057
|
-
const
|
|
8151
|
+
const encoding227_1 = c.frame(encoding226)
|
|
8058
8152
|
|
|
8059
8153
|
// @assistant/skill-overlay-handoff
|
|
8060
|
-
const
|
|
8154
|
+
const encoding227 = {
|
|
8061
8155
|
preencode(state, m) {
|
|
8062
8156
|
c.uint.preencode(state, m.id)
|
|
8063
|
-
|
|
8157
|
+
encoding227_1.preencode(state, m.request)
|
|
8064
8158
|
},
|
|
8065
8159
|
encode(state, m) {
|
|
8066
8160
|
c.uint.encode(state, m.id)
|
|
8067
|
-
|
|
8161
|
+
encoding227_1.encode(state, m.request)
|
|
8068
8162
|
},
|
|
8069
8163
|
decode(state) {
|
|
8070
8164
|
const r0 = c.uint.decode(state)
|
|
8071
|
-
const r1 =
|
|
8165
|
+
const r1 = encoding227_1.decode(state)
|
|
8072
8166
|
|
|
8073
8167
|
return {
|
|
8074
8168
|
id: r0,
|
|
@@ -8078,10 +8172,10 @@ const encoding226 = {
|
|
|
8078
8172
|
}
|
|
8079
8173
|
|
|
8080
8174
|
// @assistant/skill-overlay-handoff-ack.skills
|
|
8081
|
-
const
|
|
8175
|
+
const encoding228_2 = encoding219_0
|
|
8082
8176
|
|
|
8083
8177
|
// @assistant/skill-overlay-handoff-ack
|
|
8084
|
-
const
|
|
8178
|
+
const encoding228 = {
|
|
8085
8179
|
preencode(state, m) {
|
|
8086
8180
|
const flags =
|
|
8087
8181
|
(m.error ? 1 : 0) |
|
|
@@ -8097,7 +8191,7 @@ const encoding227 = {
|
|
|
8097
8191
|
c.uint.preencode(state, flags)
|
|
8098
8192
|
|
|
8099
8193
|
if (m.error) c.string.preencode(state, m.error)
|
|
8100
|
-
if (m.skills)
|
|
8194
|
+
if (m.skills) encoding228_2.preencode(state, m.skills)
|
|
8101
8195
|
if (m.content) c.string.preencode(state, m.content)
|
|
8102
8196
|
if (m.origin) c.string.preencode(state, m.origin)
|
|
8103
8197
|
},
|
|
@@ -8116,7 +8210,7 @@ const encoding227 = {
|
|
|
8116
8210
|
c.uint.encode(state, flags)
|
|
8117
8211
|
|
|
8118
8212
|
if (m.error) c.string.encode(state, m.error)
|
|
8119
|
-
if (m.skills)
|
|
8213
|
+
if (m.skills) encoding228_2.encode(state, m.skills)
|
|
8120
8214
|
if (m.content) c.string.encode(state, m.content)
|
|
8121
8215
|
if (m.origin) c.string.encode(state, m.origin)
|
|
8122
8216
|
},
|
|
@@ -8127,7 +8221,7 @@ const encoding227 = {
|
|
|
8127
8221
|
return {
|
|
8128
8222
|
id: r0,
|
|
8129
8223
|
error: (flags & 1) !== 0 ? c.string.decode(state) : null,
|
|
8130
|
-
skills: (flags & 2) !== 0 ?
|
|
8224
|
+
skills: (flags & 2) !== 0 ? encoding228_2.decode(state) : null,
|
|
8131
8225
|
found: (flags & 4) !== 0,
|
|
8132
8226
|
content: (flags & 8) !== 0 ? c.string.decode(state) : null,
|
|
8133
8227
|
origin: (flags & 16) !== 0 ? c.string.decode(state) : null,
|
|
@@ -8138,7 +8232,7 @@ const encoding227 = {
|
|
|
8138
8232
|
}
|
|
8139
8233
|
}
|
|
8140
8234
|
|
|
8141
|
-
const
|
|
8235
|
+
const encoding229_enum = {
|
|
8142
8236
|
uploading: 'uploading',
|
|
8143
8237
|
pending: 'pending',
|
|
8144
8238
|
running: 'running',
|
|
@@ -8149,7 +8243,7 @@ const encoding228_enum = {
|
|
|
8149
8243
|
}
|
|
8150
8244
|
|
|
8151
8245
|
// @assistant/file-state enum
|
|
8152
|
-
const
|
|
8246
|
+
const encoding229 = {
|
|
8153
8247
|
preencode (state, m) {
|
|
8154
8248
|
state.end++ // max enum is 7 so always one byte
|
|
8155
8249
|
},
|
|
@@ -8201,13 +8295,13 @@ const encoding228 = {
|
|
|
8201
8295
|
}
|
|
8202
8296
|
}
|
|
8203
8297
|
|
|
8204
|
-
const
|
|
8298
|
+
const encoding230_enum = {
|
|
8205
8299
|
bytes: 'bytes',
|
|
8206
8300
|
chunks: 'chunks'
|
|
8207
8301
|
}
|
|
8208
8302
|
|
|
8209
8303
|
// @assistant/file-progress-unit enum
|
|
8210
|
-
const
|
|
8304
|
+
const encoding230 = {
|
|
8211
8305
|
preencode (state, m) {
|
|
8212
8306
|
state.end++ // max enum is 2 so always one byte
|
|
8213
8307
|
},
|
|
@@ -8235,13 +8329,13 @@ const encoding229 = {
|
|
|
8235
8329
|
}
|
|
8236
8330
|
|
|
8237
8331
|
// @assistant/file-progress
|
|
8238
|
-
const
|
|
8332
|
+
const encoding231 = {
|
|
8239
8333
|
preencode(state, m) {
|
|
8240
8334
|
c.uint.preencode(state, m.completed)
|
|
8241
8335
|
state.end++ // max flag is 1 so always one byte
|
|
8242
8336
|
|
|
8243
8337
|
if (m.total) c.uint.preencode(state, m.total)
|
|
8244
|
-
|
|
8338
|
+
encoding230.preencode(state, m.unit)
|
|
8245
8339
|
},
|
|
8246
8340
|
encode(state, m) {
|
|
8247
8341
|
const flags = m.total ? 1 : 0
|
|
@@ -8250,7 +8344,7 @@ const encoding230 = {
|
|
|
8250
8344
|
c.uint.encode(state, flags)
|
|
8251
8345
|
|
|
8252
8346
|
if (m.total) c.uint.encode(state, m.total)
|
|
8253
|
-
|
|
8347
|
+
encoding230.encode(state, m.unit)
|
|
8254
8348
|
},
|
|
8255
8349
|
decode(state) {
|
|
8256
8350
|
const r0 = c.uint.decode(state)
|
|
@@ -8259,16 +8353,16 @@ const encoding230 = {
|
|
|
8259
8353
|
return {
|
|
8260
8354
|
completed: r0,
|
|
8261
8355
|
total: (flags & 1) !== 0 ? c.uint.decode(state) : 0,
|
|
8262
|
-
unit:
|
|
8356
|
+
unit: encoding230.decode(state)
|
|
8263
8357
|
}
|
|
8264
8358
|
}
|
|
8265
8359
|
}
|
|
8266
8360
|
|
|
8267
8361
|
// @assistant/file-processor-status.progress
|
|
8268
|
-
const
|
|
8362
|
+
const encoding232_7 = c.frame(encoding231)
|
|
8269
8363
|
|
|
8270
8364
|
// @assistant/file-processor-status
|
|
8271
|
-
const
|
|
8365
|
+
const encoding232 = {
|
|
8272
8366
|
preencode(state, m) {
|
|
8273
8367
|
const flags =
|
|
8274
8368
|
(m.reason ? 1 : 0) |
|
|
@@ -8281,7 +8375,7 @@ const encoding231 = {
|
|
|
8281
8375
|
(m.outputId ? 128 : 0)
|
|
8282
8376
|
|
|
8283
8377
|
c.string.preencode(state, m.processorId)
|
|
8284
|
-
|
|
8378
|
+
encoding229.preencode(state, m.state)
|
|
8285
8379
|
c.uint.preencode(state, flags)
|
|
8286
8380
|
|
|
8287
8381
|
if (m.reason) c.string.preencode(state, m.reason)
|
|
@@ -8289,7 +8383,7 @@ const encoding231 = {
|
|
|
8289
8383
|
if (m.claimedBy) c.buffer.preencode(state, m.claimedBy)
|
|
8290
8384
|
if (m.agentId) c.string.preencode(state, m.agentId)
|
|
8291
8385
|
if (m.expiresAt) c.uint.preencode(state, m.expiresAt)
|
|
8292
|
-
if (m.progress)
|
|
8386
|
+
if (m.progress) encoding232_7.preencode(state, m.progress)
|
|
8293
8387
|
if (m.outputId) c.string.preencode(state, m.outputId)
|
|
8294
8388
|
},
|
|
8295
8389
|
encode(state, m) {
|
|
@@ -8304,7 +8398,7 @@ const encoding231 = {
|
|
|
8304
8398
|
(m.outputId ? 128 : 0)
|
|
8305
8399
|
|
|
8306
8400
|
c.string.encode(state, m.processorId)
|
|
8307
|
-
|
|
8401
|
+
encoding229.encode(state, m.state)
|
|
8308
8402
|
c.uint.encode(state, flags)
|
|
8309
8403
|
|
|
8310
8404
|
if (m.reason) c.string.encode(state, m.reason)
|
|
@@ -8312,12 +8406,12 @@ const encoding231 = {
|
|
|
8312
8406
|
if (m.claimedBy) c.buffer.encode(state, m.claimedBy)
|
|
8313
8407
|
if (m.agentId) c.string.encode(state, m.agentId)
|
|
8314
8408
|
if (m.expiresAt) c.uint.encode(state, m.expiresAt)
|
|
8315
|
-
if (m.progress)
|
|
8409
|
+
if (m.progress) encoding232_7.encode(state, m.progress)
|
|
8316
8410
|
if (m.outputId) c.string.encode(state, m.outputId)
|
|
8317
8411
|
},
|
|
8318
8412
|
decode(state) {
|
|
8319
8413
|
const r0 = c.string.decode(state)
|
|
8320
|
-
const r1 =
|
|
8414
|
+
const r1 = encoding229.decode(state)
|
|
8321
8415
|
const flags = c.uint.decode(state)
|
|
8322
8416
|
|
|
8323
8417
|
return {
|
|
@@ -8328,7 +8422,7 @@ const encoding231 = {
|
|
|
8328
8422
|
claimedBy: (flags & 4) !== 0 ? c.buffer.decode(state) : null,
|
|
8329
8423
|
agentId: (flags & 8) !== 0 ? c.string.decode(state) : null,
|
|
8330
8424
|
expiresAt: (flags & 16) !== 0 ? c.uint.decode(state) : 0,
|
|
8331
|
-
progress: (flags & 32) !== 0 ?
|
|
8425
|
+
progress: (flags & 32) !== 0 ? encoding232_7.decode(state) : null,
|
|
8332
8426
|
published: (flags & 64) !== 0,
|
|
8333
8427
|
outputId: (flags & 128) !== 0 ? c.string.decode(state) : null
|
|
8334
8428
|
}
|
|
@@ -8336,23 +8430,23 @@ const encoding231 = {
|
|
|
8336
8430
|
}
|
|
8337
8431
|
|
|
8338
8432
|
// @assistant/file-status.uploadProgress
|
|
8339
|
-
const
|
|
8433
|
+
const encoding233_6 = encoding232_7
|
|
8340
8434
|
// @assistant/file-status.processors
|
|
8341
|
-
const
|
|
8435
|
+
const encoding233_7 = c.array(c.frame(encoding232))
|
|
8342
8436
|
|
|
8343
8437
|
// @assistant/file-status
|
|
8344
|
-
const
|
|
8438
|
+
const encoding233 = {
|
|
8345
8439
|
preencode(state, m) {
|
|
8346
8440
|
c.string.preencode(state, m.fileId)
|
|
8347
8441
|
c.string.preencode(state, m.chatId)
|
|
8348
8442
|
c.string.preencode(state, m.fileName)
|
|
8349
8443
|
c.string.preencode(state, m.mimeType)
|
|
8350
|
-
|
|
8444
|
+
encoding229.preencode(state, m.state)
|
|
8351
8445
|
state.end++ // max flag is 4 so always one byte
|
|
8352
8446
|
|
|
8353
8447
|
if (m.reason) c.string.preencode(state, m.reason)
|
|
8354
|
-
if (m.uploadProgress)
|
|
8355
|
-
|
|
8448
|
+
if (m.uploadProgress) encoding233_6.preencode(state, m.uploadProgress)
|
|
8449
|
+
encoding233_7.preencode(state, m.processors)
|
|
8356
8450
|
},
|
|
8357
8451
|
encode(state, m) {
|
|
8358
8452
|
const flags = (m.reason ? 1 : 0) | (m.uploadProgress ? 2 : 0) | (m.readyForChat ? 4 : 0)
|
|
@@ -8361,19 +8455,19 @@ const encoding232 = {
|
|
|
8361
8455
|
c.string.encode(state, m.chatId)
|
|
8362
8456
|
c.string.encode(state, m.fileName)
|
|
8363
8457
|
c.string.encode(state, m.mimeType)
|
|
8364
|
-
|
|
8458
|
+
encoding229.encode(state, m.state)
|
|
8365
8459
|
c.uint.encode(state, flags)
|
|
8366
8460
|
|
|
8367
8461
|
if (m.reason) c.string.encode(state, m.reason)
|
|
8368
|
-
if (m.uploadProgress)
|
|
8369
|
-
|
|
8462
|
+
if (m.uploadProgress) encoding233_6.encode(state, m.uploadProgress)
|
|
8463
|
+
encoding233_7.encode(state, m.processors)
|
|
8370
8464
|
},
|
|
8371
8465
|
decode(state) {
|
|
8372
8466
|
const r0 = c.string.decode(state)
|
|
8373
8467
|
const r1 = c.string.decode(state)
|
|
8374
8468
|
const r2 = c.string.decode(state)
|
|
8375
8469
|
const r3 = c.string.decode(state)
|
|
8376
|
-
const r4 =
|
|
8470
|
+
const r4 = encoding229.decode(state)
|
|
8377
8471
|
const flags = c.uint.decode(state)
|
|
8378
8472
|
|
|
8379
8473
|
return {
|
|
@@ -8383,26 +8477,26 @@ const encoding232 = {
|
|
|
8383
8477
|
mimeType: r3,
|
|
8384
8478
|
state: r4,
|
|
8385
8479
|
reason: (flags & 1) !== 0 ? c.string.decode(state) : null,
|
|
8386
|
-
uploadProgress: (flags & 2) !== 0 ?
|
|
8387
|
-
processors:
|
|
8480
|
+
uploadProgress: (flags & 2) !== 0 ? encoding233_6.decode(state) : null,
|
|
8481
|
+
processors: encoding233_7.decode(state),
|
|
8388
8482
|
readyForChat: (flags & 4) !== 0
|
|
8389
8483
|
}
|
|
8390
8484
|
}
|
|
8391
8485
|
}
|
|
8392
8486
|
|
|
8393
8487
|
// @assistant/file-status-list.files
|
|
8394
|
-
const
|
|
8488
|
+
const encoding234_0 = c.array(c.frame(encoding233))
|
|
8395
8489
|
|
|
8396
8490
|
// @assistant/file-status-list
|
|
8397
|
-
const
|
|
8491
|
+
const encoding234 = {
|
|
8398
8492
|
preencode(state, m) {
|
|
8399
|
-
|
|
8493
|
+
encoding234_0.preencode(state, m.files)
|
|
8400
8494
|
},
|
|
8401
8495
|
encode(state, m) {
|
|
8402
|
-
|
|
8496
|
+
encoding234_0.encode(state, m.files)
|
|
8403
8497
|
},
|
|
8404
8498
|
decode(state) {
|
|
8405
|
-
const r0 =
|
|
8499
|
+
const r0 = encoding234_0.decode(state)
|
|
8406
8500
|
|
|
8407
8501
|
return {
|
|
8408
8502
|
files: r0
|
|
@@ -8411,7 +8505,7 @@ const encoding233 = {
|
|
|
8411
8505
|
}
|
|
8412
8506
|
|
|
8413
8507
|
// @assistant/compact-chat-response
|
|
8414
|
-
const
|
|
8508
|
+
const encoding235 = {
|
|
8415
8509
|
preencode(state, m) {
|
|
8416
8510
|
state.end++ // max flag is 4 so always one byte
|
|
8417
8511
|
|
|
@@ -8437,7 +8531,7 @@ const encoding234 = {
|
|
|
8437
8531
|
}
|
|
8438
8532
|
}
|
|
8439
8533
|
|
|
8440
|
-
const
|
|
8534
|
+
const encoding236_enum = {
|
|
8441
8535
|
"assistant-reply": 'assistant-reply',
|
|
8442
8536
|
"approval-required": 'approval-required',
|
|
8443
8537
|
"run-failed": 'run-failed',
|
|
@@ -8446,7 +8540,7 @@ const encoding235_enum = {
|
|
|
8446
8540
|
}
|
|
8447
8541
|
|
|
8448
8542
|
// @assistant/notification-kind enum
|
|
8449
|
-
const
|
|
8543
|
+
const encoding236 = {
|
|
8450
8544
|
preencode (state, m) {
|
|
8451
8545
|
state.end++ // max enum is 5 so always one byte
|
|
8452
8546
|
},
|
|
@@ -8489,7 +8583,7 @@ const encoding235 = {
|
|
|
8489
8583
|
}
|
|
8490
8584
|
|
|
8491
8585
|
// @assistant/notification
|
|
8492
|
-
const
|
|
8586
|
+
const encoding237 = {
|
|
8493
8587
|
preencode(state, m) {
|
|
8494
8588
|
const flags =
|
|
8495
8589
|
(m.chatId ? 1 : 0) |
|
|
@@ -8510,7 +8604,7 @@ const encoding236 = {
|
|
|
8510
8604
|
if (m.chatId) c.string.preencode(state, m.chatId)
|
|
8511
8605
|
if (m.agentId) c.string.preencode(state, m.agentId)
|
|
8512
8606
|
if (m.chunkId) c.string.preencode(state, m.chunkId)
|
|
8513
|
-
|
|
8607
|
+
encoding236.preencode(state, m.kind)
|
|
8514
8608
|
if (m.seq) c.uint.preencode(state, m.seq)
|
|
8515
8609
|
c.uint.preencode(state, m.createdAt)
|
|
8516
8610
|
if (m.preview) c.string.preencode(state, m.preview)
|
|
@@ -8542,7 +8636,7 @@ const encoding236 = {
|
|
|
8542
8636
|
if (m.chatId) c.string.encode(state, m.chatId)
|
|
8543
8637
|
if (m.agentId) c.string.encode(state, m.agentId)
|
|
8544
8638
|
if (m.chunkId) c.string.encode(state, m.chunkId)
|
|
8545
|
-
|
|
8639
|
+
encoding236.encode(state, m.kind)
|
|
8546
8640
|
if (m.seq) c.uint.encode(state, m.seq)
|
|
8547
8641
|
c.uint.encode(state, m.createdAt)
|
|
8548
8642
|
if (m.preview) c.string.encode(state, m.preview)
|
|
@@ -8561,7 +8655,7 @@ const encoding236 = {
|
|
|
8561
8655
|
chatId: (flags & 1) !== 0 ? c.string.decode(state) : undefined,
|
|
8562
8656
|
agentId: (flags & 2) !== 0 ? c.string.decode(state) : undefined,
|
|
8563
8657
|
chunkId: (flags & 4) !== 0 ? c.string.decode(state) : undefined,
|
|
8564
|
-
kind:
|
|
8658
|
+
kind: encoding236.decode(state),
|
|
8565
8659
|
seq: (flags & 8) !== 0 ? c.uint.decode(state) : 0,
|
|
8566
8660
|
createdAt: c.uint.decode(state),
|
|
8567
8661
|
preview: (flags & 16) !== 0 ? c.string.decode(state) : null,
|
|
@@ -8577,34 +8671,34 @@ const encoding236 = {
|
|
|
8577
8671
|
}
|
|
8578
8672
|
|
|
8579
8673
|
// @assistant/notification-list.notifications
|
|
8580
|
-
const
|
|
8674
|
+
const encoding238_0 = c.array(c.frame(encoding237))
|
|
8581
8675
|
|
|
8582
8676
|
// @assistant/notification-list
|
|
8583
|
-
const
|
|
8677
|
+
const encoding238 = {
|
|
8584
8678
|
preencode(state, m) {
|
|
8585
8679
|
state.end++ // max flag is 2 so always one byte
|
|
8586
8680
|
|
|
8587
|
-
if (m.notifications)
|
|
8681
|
+
if (m.notifications) encoding238_0.preencode(state, m.notifications)
|
|
8588
8682
|
},
|
|
8589
8683
|
encode(state, m) {
|
|
8590
8684
|
const flags = (m.notifications ? 1 : 0) | (m.truncated ? 2 : 0)
|
|
8591
8685
|
|
|
8592
8686
|
c.uint.encode(state, flags)
|
|
8593
8687
|
|
|
8594
|
-
if (m.notifications)
|
|
8688
|
+
if (m.notifications) encoding238_0.encode(state, m.notifications)
|
|
8595
8689
|
},
|
|
8596
8690
|
decode(state) {
|
|
8597
8691
|
const flags = c.uint.decode(state)
|
|
8598
8692
|
|
|
8599
8693
|
return {
|
|
8600
|
-
notifications: (flags & 1) !== 0 ?
|
|
8694
|
+
notifications: (flags & 1) !== 0 ? encoding238_0.decode(state) : null,
|
|
8601
8695
|
truncated: (flags & 2) !== 0
|
|
8602
8696
|
}
|
|
8603
8697
|
}
|
|
8604
8698
|
}
|
|
8605
8699
|
|
|
8606
8700
|
// @assistant/notification-request
|
|
8607
|
-
const
|
|
8701
|
+
const encoding239 = {
|
|
8608
8702
|
preencode(state, m) {
|
|
8609
8703
|
state.end++ // max flag is 1 so always one byte
|
|
8610
8704
|
|
|
@@ -8630,7 +8724,7 @@ const encoding238 = {
|
|
|
8630
8724
|
}
|
|
8631
8725
|
|
|
8632
8726
|
// @assistant/notification-ack
|
|
8633
|
-
const
|
|
8727
|
+
const encoding240 = {
|
|
8634
8728
|
preencode(state, m) {
|
|
8635
8729
|
state.end++ // max flag is 4 so always one byte
|
|
8636
8730
|
|
|
@@ -8662,7 +8756,7 @@ const encoding239 = {
|
|
|
8662
8756
|
}
|
|
8663
8757
|
|
|
8664
8758
|
// @assistant/model-transfer-start
|
|
8665
|
-
const
|
|
8759
|
+
const encoding241 = {
|
|
8666
8760
|
preencode(state, m) {
|
|
8667
8761
|
c.string.preencode(state, m.name)
|
|
8668
8762
|
state.end++ // max flag is 1 so always one byte
|
|
@@ -8685,7 +8779,7 @@ const encoding240 = {
|
|
|
8685
8779
|
}
|
|
8686
8780
|
|
|
8687
8781
|
// @assistant/model-transfer
|
|
8688
|
-
const
|
|
8782
|
+
const encoding242 = {
|
|
8689
8783
|
preencode(state, m) {
|
|
8690
8784
|
c.string.preencode(state, m.name)
|
|
8691
8785
|
c.string.preencode(state, m.transferId)
|
|
@@ -8712,7 +8806,7 @@ const encoding241 = {
|
|
|
8712
8806
|
}
|
|
8713
8807
|
|
|
8714
8808
|
// @assistant/file-read-request
|
|
8715
|
-
const
|
|
8809
|
+
const encoding243 = {
|
|
8716
8810
|
preencode(state, m) {
|
|
8717
8811
|
c.string.preencode(state, m.chatId)
|
|
8718
8812
|
c.string.preencode(state, m.fileId)
|
|
@@ -8742,7 +8836,7 @@ const encoding242 = {
|
|
|
8742
8836
|
}
|
|
8743
8837
|
|
|
8744
8838
|
// @assistant/file-read-frame
|
|
8745
|
-
const
|
|
8839
|
+
const encoding244 = {
|
|
8746
8840
|
preencode(state, m) {
|
|
8747
8841
|
state.end++ // max flag is 8 so always one byte
|
|
8748
8842
|
|
|
@@ -8775,7 +8869,7 @@ const encoding243 = {
|
|
|
8775
8869
|
}
|
|
8776
8870
|
|
|
8777
8871
|
// @assistant/file-request
|
|
8778
|
-
const
|
|
8872
|
+
const encoding245 = {
|
|
8779
8873
|
preencode(state, m) {
|
|
8780
8874
|
c.string.preencode(state, m.chatId)
|
|
8781
8875
|
c.string.preencode(state, m.fileId)
|
|
@@ -8800,7 +8894,7 @@ const encoding244 = {
|
|
|
8800
8894
|
}
|
|
8801
8895
|
|
|
8802
8896
|
// @assistant/file-preview-response
|
|
8803
|
-
const
|
|
8897
|
+
const encoding246 = {
|
|
8804
8898
|
preencode(state, m) {
|
|
8805
8899
|
state.end++ // max flag is 4 so always one byte
|
|
8806
8900
|
|
|
@@ -8829,7 +8923,7 @@ const encoding245 = {
|
|
|
8829
8923
|
}
|
|
8830
8924
|
|
|
8831
8925
|
// @assistant/file-retry-request
|
|
8832
|
-
const
|
|
8926
|
+
const encoding247 = {
|
|
8833
8927
|
preencode(state, m) {
|
|
8834
8928
|
c.string.preencode(state, m.chatId)
|
|
8835
8929
|
c.string.preencode(state, m.fileId)
|
|
@@ -8858,7 +8952,7 @@ const encoding246 = {
|
|
|
8858
8952
|
}
|
|
8859
8953
|
|
|
8860
8954
|
// @assistant/mesh-entry
|
|
8861
|
-
const
|
|
8955
|
+
const encoding248 = {
|
|
8862
8956
|
preencode(state, m) {
|
|
8863
8957
|
const flags =
|
|
8864
8958
|
(m.writable ? 1 : 0) |
|
|
@@ -8928,7 +9022,7 @@ const encoding247 = {
|
|
|
8928
9022
|
}
|
|
8929
9023
|
|
|
8930
9024
|
// @assistant/mesh-label-request
|
|
8931
|
-
const
|
|
9025
|
+
const encoding249 = {
|
|
8932
9026
|
preencode(state, m) {
|
|
8933
9027
|
c.string.preencode(state, m.meshId)
|
|
8934
9028
|
state.end++ // max flag is 1 so always one byte
|
|
@@ -8955,33 +9049,33 @@ const encoding248 = {
|
|
|
8955
9049
|
}
|
|
8956
9050
|
|
|
8957
9051
|
// @assistant/mesh-list.meshes
|
|
8958
|
-
const
|
|
9052
|
+
const encoding250_0 = c.array(c.frame(encoding248))
|
|
8959
9053
|
|
|
8960
9054
|
// @assistant/mesh-list
|
|
8961
|
-
const
|
|
9055
|
+
const encoding250 = {
|
|
8962
9056
|
preencode(state, m) {
|
|
8963
9057
|
state.end++ // max flag is 1 so always one byte
|
|
8964
9058
|
|
|
8965
|
-
if (m.meshes)
|
|
9059
|
+
if (m.meshes) encoding250_0.preencode(state, m.meshes)
|
|
8966
9060
|
},
|
|
8967
9061
|
encode(state, m) {
|
|
8968
9062
|
const flags = m.meshes ? 1 : 0
|
|
8969
9063
|
|
|
8970
9064
|
c.uint.encode(state, flags)
|
|
8971
9065
|
|
|
8972
|
-
if (m.meshes)
|
|
9066
|
+
if (m.meshes) encoding250_0.encode(state, m.meshes)
|
|
8973
9067
|
},
|
|
8974
9068
|
decode(state) {
|
|
8975
9069
|
const flags = c.uint.decode(state)
|
|
8976
9070
|
|
|
8977
9071
|
return {
|
|
8978
|
-
meshes: (flags & 1) !== 0 ?
|
|
9072
|
+
meshes: (flags & 1) !== 0 ? encoding250_0.decode(state) : null
|
|
8979
9073
|
}
|
|
8980
9074
|
}
|
|
8981
9075
|
}
|
|
8982
9076
|
|
|
8983
9077
|
// @assistant/account
|
|
8984
|
-
const
|
|
9078
|
+
const encoding251 = {
|
|
8985
9079
|
preencode(state, m) {
|
|
8986
9080
|
state.end++ // max flag is 4 so always one byte
|
|
8987
9081
|
|
|
@@ -9008,7 +9102,7 @@ const encoding250 = {
|
|
|
9008
9102
|
}
|
|
9009
9103
|
|
|
9010
9104
|
// @assistant/mesh-target
|
|
9011
|
-
const
|
|
9105
|
+
const encoding252 = {
|
|
9012
9106
|
preencode(state, m) {
|
|
9013
9107
|
c.string.preencode(state, m.meshId)
|
|
9014
9108
|
},
|
|
@@ -9025,10 +9119,10 @@ const encoding251 = {
|
|
|
9025
9119
|
}
|
|
9026
9120
|
|
|
9027
9121
|
// @assistant/mesh-scope
|
|
9028
|
-
const
|
|
9122
|
+
const encoding253 = encoding252
|
|
9029
9123
|
|
|
9030
9124
|
// @assistant/room-config
|
|
9031
|
-
const
|
|
9125
|
+
const encoding254 = {
|
|
9032
9126
|
preencode(state, m) {
|
|
9033
9127
|
state.end++ // max flag is 1 so always one byte
|
|
9034
9128
|
},
|
|
@@ -9047,33 +9141,33 @@ const encoding253 = {
|
|
|
9047
9141
|
}
|
|
9048
9142
|
|
|
9049
9143
|
// @assistant/create-room-request.config
|
|
9050
|
-
const
|
|
9144
|
+
const encoding255_0 = c.frame(encoding254)
|
|
9051
9145
|
|
|
9052
9146
|
// @assistant/create-room-request
|
|
9053
|
-
const
|
|
9147
|
+
const encoding255 = {
|
|
9054
9148
|
preencode(state, m) {
|
|
9055
9149
|
state.end++ // max flag is 1 so always one byte
|
|
9056
9150
|
|
|
9057
|
-
if (m.config)
|
|
9151
|
+
if (m.config) encoding255_0.preencode(state, m.config)
|
|
9058
9152
|
},
|
|
9059
9153
|
encode(state, m) {
|
|
9060
9154
|
const flags = m.config ? 1 : 0
|
|
9061
9155
|
|
|
9062
9156
|
c.uint.encode(state, flags)
|
|
9063
9157
|
|
|
9064
|
-
if (m.config)
|
|
9158
|
+
if (m.config) encoding255_0.encode(state, m.config)
|
|
9065
9159
|
},
|
|
9066
9160
|
decode(state) {
|
|
9067
9161
|
const flags = c.uint.decode(state)
|
|
9068
9162
|
|
|
9069
9163
|
return {
|
|
9070
|
-
config: (flags & 1) !== 0 ?
|
|
9164
|
+
config: (flags & 1) !== 0 ? encoding255_0.decode(state) : null
|
|
9071
9165
|
}
|
|
9072
9166
|
}
|
|
9073
9167
|
}
|
|
9074
9168
|
|
|
9075
9169
|
// @assistant/mesh-seed-request
|
|
9076
|
-
const
|
|
9170
|
+
const encoding256 = {
|
|
9077
9171
|
preencode(state, m) {
|
|
9078
9172
|
c.fixed32.preencode(state, m.meshKey)
|
|
9079
9173
|
},
|
|
@@ -9090,21 +9184,21 @@ const encoding255 = {
|
|
|
9090
9184
|
}
|
|
9091
9185
|
|
|
9092
9186
|
// @assistant/mesh-seed-handoff.request
|
|
9093
|
-
const
|
|
9187
|
+
const encoding257_1 = c.frame(encoding256)
|
|
9094
9188
|
|
|
9095
9189
|
// @assistant/mesh-seed-handoff
|
|
9096
|
-
const
|
|
9190
|
+
const encoding257 = {
|
|
9097
9191
|
preencode(state, m) {
|
|
9098
9192
|
c.uint.preencode(state, m.id)
|
|
9099
|
-
|
|
9193
|
+
encoding257_1.preencode(state, m.request)
|
|
9100
9194
|
},
|
|
9101
9195
|
encode(state, m) {
|
|
9102
9196
|
c.uint.encode(state, m.id)
|
|
9103
|
-
|
|
9197
|
+
encoding257_1.encode(state, m.request)
|
|
9104
9198
|
},
|
|
9105
9199
|
decode(state) {
|
|
9106
9200
|
const r0 = c.uint.decode(state)
|
|
9107
|
-
const r1 =
|
|
9201
|
+
const r1 = encoding257_1.decode(state)
|
|
9108
9202
|
|
|
9109
9203
|
return {
|
|
9110
9204
|
id: r0,
|
|
@@ -9114,7 +9208,7 @@ const encoding256 = {
|
|
|
9114
9208
|
}
|
|
9115
9209
|
|
|
9116
9210
|
// @assistant/mesh-seed-handoff-ack
|
|
9117
|
-
const
|
|
9211
|
+
const encoding258 = {
|
|
9118
9212
|
preencode(state, m) {
|
|
9119
9213
|
c.uint.preencode(state, m.id)
|
|
9120
9214
|
state.end++ // max flag is 4 so always one byte
|
|
@@ -9145,7 +9239,7 @@ const encoding257 = {
|
|
|
9145
9239
|
}
|
|
9146
9240
|
|
|
9147
9241
|
// @assistant/mesh-admission-request
|
|
9148
|
-
const
|
|
9242
|
+
const encoding259 = {
|
|
9149
9243
|
preencode(state, m) {
|
|
9150
9244
|
c.fixed32.preencode(state, m.meshKey)
|
|
9151
9245
|
c.fixed32.preencode(state, m.writerKey)
|
|
@@ -9201,21 +9295,21 @@ const encoding258 = {
|
|
|
9201
9295
|
}
|
|
9202
9296
|
|
|
9203
9297
|
// @assistant/mesh-admission-handoff.request
|
|
9204
|
-
const
|
|
9298
|
+
const encoding260_1 = c.frame(encoding259)
|
|
9205
9299
|
|
|
9206
9300
|
// @assistant/mesh-admission-handoff
|
|
9207
|
-
const
|
|
9301
|
+
const encoding260 = {
|
|
9208
9302
|
preencode(state, m) {
|
|
9209
9303
|
c.uint.preencode(state, m.id)
|
|
9210
|
-
|
|
9304
|
+
encoding260_1.preencode(state, m.request)
|
|
9211
9305
|
},
|
|
9212
9306
|
encode(state, m) {
|
|
9213
9307
|
c.uint.encode(state, m.id)
|
|
9214
|
-
|
|
9308
|
+
encoding260_1.encode(state, m.request)
|
|
9215
9309
|
},
|
|
9216
9310
|
decode(state) {
|
|
9217
9311
|
const r0 = c.uint.decode(state)
|
|
9218
|
-
const r1 =
|
|
9312
|
+
const r1 = encoding260_1.decode(state)
|
|
9219
9313
|
|
|
9220
9314
|
return {
|
|
9221
9315
|
id: r0,
|
|
@@ -9225,21 +9319,21 @@ const encoding259 = {
|
|
|
9225
9319
|
}
|
|
9226
9320
|
|
|
9227
9321
|
// @assistant/member-config
|
|
9228
|
-
const
|
|
9322
|
+
const encoding261 = encoding44
|
|
9229
9323
|
|
|
9230
9324
|
// @assistant/update-member-request.config
|
|
9231
|
-
const
|
|
9325
|
+
const encoding262_0 = c.frame(encoding261)
|
|
9232
9326
|
|
|
9233
9327
|
// @assistant/update-member-request
|
|
9234
|
-
const
|
|
9328
|
+
const encoding262 = {
|
|
9235
9329
|
preencode(state, m) {
|
|
9236
|
-
|
|
9330
|
+
encoding262_0.preencode(state, m.config)
|
|
9237
9331
|
},
|
|
9238
9332
|
encode(state, m) {
|
|
9239
|
-
|
|
9333
|
+
encoding262_0.encode(state, m.config)
|
|
9240
9334
|
},
|
|
9241
9335
|
decode(state) {
|
|
9242
|
-
const r0 =
|
|
9336
|
+
const r0 = encoding262_0.decode(state)
|
|
9243
9337
|
|
|
9244
9338
|
return {
|
|
9245
9339
|
config: r0
|
|
@@ -9248,7 +9342,7 @@ const encoding261 = {
|
|
|
9248
9342
|
}
|
|
9249
9343
|
|
|
9250
9344
|
// @assistant/remove-member-request
|
|
9251
|
-
const
|
|
9345
|
+
const encoding263 = {
|
|
9252
9346
|
preencode(state, m) {
|
|
9253
9347
|
c.fixed32.preencode(state, m.memberId)
|
|
9254
9348
|
c.string.preencode(state, m.meshId)
|
|
@@ -9269,7 +9363,7 @@ const encoding262 = {
|
|
|
9269
9363
|
}
|
|
9270
9364
|
|
|
9271
9365
|
// @assistant/archived-mesh-contents
|
|
9272
|
-
const
|
|
9366
|
+
const encoding264 = {
|
|
9273
9367
|
preencode(state, m) {
|
|
9274
9368
|
c.string.preencode(state, m.meshId)
|
|
9275
9369
|
c.uint.preencode(state, m.chats)
|
|
@@ -9298,7 +9392,7 @@ const encoding263 = {
|
|
|
9298
9392
|
}
|
|
9299
9393
|
|
|
9300
9394
|
// @assistant/archived-mesh-migration
|
|
9301
|
-
const
|
|
9395
|
+
const encoding265 = {
|
|
9302
9396
|
preencode(state, m) {
|
|
9303
9397
|
c.string.preencode(state, m.meshId)
|
|
9304
9398
|
state.end++ // max flag is 1 so always one byte
|
|
@@ -9333,7 +9427,7 @@ const encoding264 = {
|
|
|
9333
9427
|
}
|
|
9334
9428
|
|
|
9335
9429
|
// @assistant/archived-mesh
|
|
9336
|
-
const
|
|
9430
|
+
const encoding266 = {
|
|
9337
9431
|
preencode(state, m) {
|
|
9338
9432
|
c.string.preencode(state, m.meshId)
|
|
9339
9433
|
c.uint.preencode(state, m.leftAt)
|
|
@@ -9365,33 +9459,33 @@ const encoding265 = {
|
|
|
9365
9459
|
}
|
|
9366
9460
|
|
|
9367
9461
|
// @assistant/archived-mesh-list.meshes
|
|
9368
|
-
const
|
|
9462
|
+
const encoding267_0 = c.array(c.frame(encoding266))
|
|
9369
9463
|
|
|
9370
9464
|
// @assistant/archived-mesh-list
|
|
9371
|
-
const
|
|
9465
|
+
const encoding267 = {
|
|
9372
9466
|
preencode(state, m) {
|
|
9373
9467
|
state.end++ // max flag is 1 so always one byte
|
|
9374
9468
|
|
|
9375
|
-
if (m.meshes)
|
|
9469
|
+
if (m.meshes) encoding267_0.preencode(state, m.meshes)
|
|
9376
9470
|
},
|
|
9377
9471
|
encode(state, m) {
|
|
9378
9472
|
const flags = m.meshes ? 1 : 0
|
|
9379
9473
|
|
|
9380
9474
|
c.uint.encode(state, flags)
|
|
9381
9475
|
|
|
9382
|
-
if (m.meshes)
|
|
9476
|
+
if (m.meshes) encoding267_0.encode(state, m.meshes)
|
|
9383
9477
|
},
|
|
9384
9478
|
decode(state) {
|
|
9385
9479
|
const flags = c.uint.decode(state)
|
|
9386
9480
|
|
|
9387
9481
|
return {
|
|
9388
|
-
meshes: (flags & 1) !== 0 ?
|
|
9482
|
+
meshes: (flags & 1) !== 0 ? encoding267_0.decode(state) : null
|
|
9389
9483
|
}
|
|
9390
9484
|
}
|
|
9391
9485
|
}
|
|
9392
9486
|
|
|
9393
9487
|
// @assistant/account-recovery-state
|
|
9394
|
-
const
|
|
9488
|
+
const encoding268 = {
|
|
9395
9489
|
preencode(state, m) {
|
|
9396
9490
|
state.end++ // max flag is 1 so always one byte
|
|
9397
9491
|
},
|
|
@@ -9410,7 +9504,7 @@ const encoding267 = {
|
|
|
9410
9504
|
}
|
|
9411
9505
|
|
|
9412
9506
|
// @assistant/display-name
|
|
9413
|
-
const
|
|
9507
|
+
const encoding269 = {
|
|
9414
9508
|
preencode(state, m) {
|
|
9415
9509
|
state.end++ // max flag is 1 so always one byte
|
|
9416
9510
|
|
|
@@ -9433,7 +9527,7 @@ const encoding268 = {
|
|
|
9433
9527
|
}
|
|
9434
9528
|
|
|
9435
9529
|
// @assistant/local-file
|
|
9436
|
-
const
|
|
9530
|
+
const encoding270 = {
|
|
9437
9531
|
preencode(state, m) {
|
|
9438
9532
|
c.string.preencode(state, m.meshId)
|
|
9439
9533
|
state.end++ // max flag is 64 so always one byte
|
|
@@ -9487,33 +9581,33 @@ const encoding269 = {
|
|
|
9487
9581
|
}
|
|
9488
9582
|
|
|
9489
9583
|
// @assistant/local-file-list.files
|
|
9490
|
-
const
|
|
9584
|
+
const encoding271_0 = c.array(c.frame(encoding270))
|
|
9491
9585
|
|
|
9492
9586
|
// @assistant/local-file-list
|
|
9493
|
-
const
|
|
9587
|
+
const encoding271 = {
|
|
9494
9588
|
preencode(state, m) {
|
|
9495
9589
|
state.end++ // max flag is 1 so always one byte
|
|
9496
9590
|
|
|
9497
|
-
if (m.files)
|
|
9591
|
+
if (m.files) encoding271_0.preencode(state, m.files)
|
|
9498
9592
|
},
|
|
9499
9593
|
encode(state, m) {
|
|
9500
9594
|
const flags = m.files ? 1 : 0
|
|
9501
9595
|
|
|
9502
9596
|
c.uint.encode(state, flags)
|
|
9503
9597
|
|
|
9504
|
-
if (m.files)
|
|
9598
|
+
if (m.files) encoding271_0.encode(state, m.files)
|
|
9505
9599
|
},
|
|
9506
9600
|
decode(state) {
|
|
9507
9601
|
const flags = c.uint.decode(state)
|
|
9508
9602
|
|
|
9509
9603
|
return {
|
|
9510
|
-
files: (flags & 1) !== 0 ?
|
|
9604
|
+
files: (flags & 1) !== 0 ? encoding271_0.decode(state) : null
|
|
9511
9605
|
}
|
|
9512
9606
|
}
|
|
9513
9607
|
}
|
|
9514
9608
|
|
|
9515
9609
|
// @assistant/local-files-request
|
|
9516
|
-
const
|
|
9610
|
+
const encoding272 = {
|
|
9517
9611
|
preencode(state, m) {
|
|
9518
9612
|
state.end++ // max flag is 1 so always one byte
|
|
9519
9613
|
|
|
@@ -9536,7 +9630,7 @@ const encoding271 = {
|
|
|
9536
9630
|
}
|
|
9537
9631
|
|
|
9538
9632
|
// @assistant/inference-call-entry
|
|
9539
|
-
const
|
|
9633
|
+
const encoding273 = {
|
|
9540
9634
|
preencode(state, m) {
|
|
9541
9635
|
c.string.preencode(state, m.runId)
|
|
9542
9636
|
c.uint.preencode(state, m.at)
|
|
@@ -9561,54 +9655,54 @@ const encoding272 = {
|
|
|
9561
9655
|
}
|
|
9562
9656
|
|
|
9563
9657
|
// @assistant/inference-call-list.calls
|
|
9564
|
-
const
|
|
9658
|
+
const encoding274_0 = c.array(c.frame(encoding273))
|
|
9565
9659
|
|
|
9566
9660
|
// @assistant/inference-call-list
|
|
9567
|
-
const
|
|
9661
|
+
const encoding274 = {
|
|
9568
9662
|
preencode(state, m) {
|
|
9569
9663
|
state.end++ // max flag is 2 so always one byte
|
|
9570
9664
|
|
|
9571
|
-
if (m.calls)
|
|
9665
|
+
if (m.calls) encoding274_0.preencode(state, m.calls)
|
|
9572
9666
|
},
|
|
9573
9667
|
encode(state, m) {
|
|
9574
9668
|
const flags = (m.calls ? 1 : 0) | (m.truncated ? 2 : 0)
|
|
9575
9669
|
|
|
9576
9670
|
c.uint.encode(state, flags)
|
|
9577
9671
|
|
|
9578
|
-
if (m.calls)
|
|
9672
|
+
if (m.calls) encoding274_0.encode(state, m.calls)
|
|
9579
9673
|
},
|
|
9580
9674
|
decode(state) {
|
|
9581
9675
|
const flags = c.uint.decode(state)
|
|
9582
9676
|
|
|
9583
9677
|
return {
|
|
9584
|
-
calls: (flags & 1) !== 0 ?
|
|
9678
|
+
calls: (flags & 1) !== 0 ? encoding274_0.decode(state) : null,
|
|
9585
9679
|
truncated: (flags & 2) !== 0
|
|
9586
9680
|
}
|
|
9587
9681
|
}
|
|
9588
9682
|
}
|
|
9589
9683
|
|
|
9590
9684
|
// @assistant/inference-calls-request
|
|
9591
|
-
const
|
|
9685
|
+
const encoding275 = encoding37
|
|
9592
9686
|
|
|
9593
9687
|
// @assistant/inference-calls-query
|
|
9594
|
-
const
|
|
9688
|
+
const encoding276 = encoding38
|
|
9595
9689
|
|
|
9596
9690
|
// @assistant/inference-calls-handoff.request
|
|
9597
|
-
const
|
|
9691
|
+
const encoding277_1 = c.frame(encoding275)
|
|
9598
9692
|
|
|
9599
9693
|
// @assistant/inference-calls-handoff
|
|
9600
|
-
const
|
|
9694
|
+
const encoding277 = {
|
|
9601
9695
|
preencode(state, m) {
|
|
9602
9696
|
c.uint.preencode(state, m.id)
|
|
9603
|
-
|
|
9697
|
+
encoding277_1.preencode(state, m.request)
|
|
9604
9698
|
},
|
|
9605
9699
|
encode(state, m) {
|
|
9606
9700
|
c.uint.encode(state, m.id)
|
|
9607
|
-
|
|
9701
|
+
encoding277_1.encode(state, m.request)
|
|
9608
9702
|
},
|
|
9609
9703
|
decode(state) {
|
|
9610
9704
|
const r0 = c.uint.decode(state)
|
|
9611
|
-
const r1 =
|
|
9705
|
+
const r1 = encoding277_1.decode(state)
|
|
9612
9706
|
|
|
9613
9707
|
return {
|
|
9614
9708
|
id: r0,
|
|
@@ -9618,16 +9712,16 @@ const encoding276 = {
|
|
|
9618
9712
|
}
|
|
9619
9713
|
|
|
9620
9714
|
// @assistant/inference-calls-handoff-ack.calls
|
|
9621
|
-
const
|
|
9715
|
+
const encoding278_2 = encoding274_0
|
|
9622
9716
|
|
|
9623
9717
|
// @assistant/inference-calls-handoff-ack
|
|
9624
|
-
const
|
|
9718
|
+
const encoding278 = {
|
|
9625
9719
|
preencode(state, m) {
|
|
9626
9720
|
c.uint.preencode(state, m.id)
|
|
9627
9721
|
state.end++ // max flag is 4 so always one byte
|
|
9628
9722
|
|
|
9629
9723
|
if (m.error) c.string.preencode(state, m.error)
|
|
9630
|
-
if (m.calls)
|
|
9724
|
+
if (m.calls) encoding278_2.preencode(state, m.calls)
|
|
9631
9725
|
},
|
|
9632
9726
|
encode(state, m) {
|
|
9633
9727
|
const flags = (m.error ? 1 : 0) | (m.calls ? 2 : 0) | (m.truncated ? 4 : 0)
|
|
@@ -9636,7 +9730,7 @@ const encoding277 = {
|
|
|
9636
9730
|
c.uint.encode(state, flags)
|
|
9637
9731
|
|
|
9638
9732
|
if (m.error) c.string.encode(state, m.error)
|
|
9639
|
-
if (m.calls)
|
|
9733
|
+
if (m.calls) encoding278_2.encode(state, m.calls)
|
|
9640
9734
|
},
|
|
9641
9735
|
decode(state) {
|
|
9642
9736
|
const r0 = c.uint.decode(state)
|
|
@@ -9645,46 +9739,46 @@ const encoding277 = {
|
|
|
9645
9739
|
return {
|
|
9646
9740
|
id: r0,
|
|
9647
9741
|
error: (flags & 1) !== 0 ? c.string.decode(state) : null,
|
|
9648
|
-
calls: (flags & 2) !== 0 ?
|
|
9742
|
+
calls: (flags & 2) !== 0 ? encoding278_2.decode(state) : null,
|
|
9649
9743
|
truncated: (flags & 4) !== 0
|
|
9650
9744
|
}
|
|
9651
9745
|
}
|
|
9652
9746
|
}
|
|
9653
9747
|
|
|
9654
9748
|
// @assistant/mesh-config
|
|
9655
|
-
const
|
|
9749
|
+
const encoding279 = encoding254
|
|
9656
9750
|
|
|
9657
9751
|
// @assistant/create-mesh-request.config
|
|
9658
|
-
const
|
|
9752
|
+
const encoding280_0 = c.frame(encoding279)
|
|
9659
9753
|
|
|
9660
9754
|
// @assistant/create-mesh-request
|
|
9661
|
-
const
|
|
9755
|
+
const encoding280 = {
|
|
9662
9756
|
preencode(state, m) {
|
|
9663
9757
|
state.end++ // max flag is 1 so always one byte
|
|
9664
9758
|
|
|
9665
|
-
if (m.config)
|
|
9759
|
+
if (m.config) encoding280_0.preencode(state, m.config)
|
|
9666
9760
|
},
|
|
9667
9761
|
encode(state, m) {
|
|
9668
9762
|
const flags = m.config ? 1 : 0
|
|
9669
9763
|
|
|
9670
9764
|
c.uint.encode(state, flags)
|
|
9671
9765
|
|
|
9672
|
-
if (m.config)
|
|
9766
|
+
if (m.config) encoding280_0.encode(state, m.config)
|
|
9673
9767
|
},
|
|
9674
9768
|
decode(state) {
|
|
9675
9769
|
const flags = c.uint.decode(state)
|
|
9676
9770
|
|
|
9677
9771
|
return {
|
|
9678
|
-
config: (flags & 1) !== 0 ?
|
|
9772
|
+
config: (flags & 1) !== 0 ? encoding280_0.decode(state) : null
|
|
9679
9773
|
}
|
|
9680
9774
|
}
|
|
9681
9775
|
}
|
|
9682
9776
|
|
|
9683
9777
|
// @assistant/preview-mesh-invite-request
|
|
9684
|
-
const
|
|
9778
|
+
const encoding281 = encoding144
|
|
9685
9779
|
|
|
9686
9780
|
// @assistant/preview-mesh-invite-response
|
|
9687
|
-
const
|
|
9781
|
+
const encoding282 = {
|
|
9688
9782
|
preencode(state, m) {
|
|
9689
9783
|
state.end++ // max flag is 2 so always one byte
|
|
9690
9784
|
|
|
@@ -9708,10 +9802,10 @@ const encoding281 = {
|
|
|
9708
9802
|
}
|
|
9709
9803
|
|
|
9710
9804
|
// @assistant/load-model-request
|
|
9711
|
-
const
|
|
9805
|
+
const encoding283 = encoding44
|
|
9712
9806
|
|
|
9713
9807
|
// @assistant/load-model-response
|
|
9714
|
-
const
|
|
9808
|
+
const encoding284 = {
|
|
9715
9809
|
preencode(state, m) {
|
|
9716
9810
|
state.end++ // max flag is 2 so always one byte
|
|
9717
9811
|
|
|
@@ -9735,10 +9829,10 @@ const encoding283 = {
|
|
|
9735
9829
|
}
|
|
9736
9830
|
|
|
9737
9831
|
// @assistant/unload-model-request
|
|
9738
|
-
const
|
|
9832
|
+
const encoding285 = encoding44
|
|
9739
9833
|
|
|
9740
9834
|
// @assistant/unload-model-response
|
|
9741
|
-
const
|
|
9835
|
+
const encoding286 = {
|
|
9742
9836
|
preencode(state, m) {
|
|
9743
9837
|
state.end++ // max flag is 1 so always one byte
|
|
9744
9838
|
},
|
|
@@ -9756,6 +9850,103 @@ const encoding285 = {
|
|
|
9756
9850
|
}
|
|
9757
9851
|
}
|
|
9758
9852
|
|
|
9853
|
+
const encoding287_enum = {
|
|
9854
|
+
chat: 'chat',
|
|
9855
|
+
image: 'image',
|
|
9856
|
+
music: 'music'
|
|
9857
|
+
}
|
|
9858
|
+
|
|
9859
|
+
// @assistant/model-use enum
|
|
9860
|
+
const encoding287 = {
|
|
9861
|
+
preencode (state, m) {
|
|
9862
|
+
state.end++ // max enum is 3 so always one byte
|
|
9863
|
+
},
|
|
9864
|
+
encode (state, m) {
|
|
9865
|
+
switch (m) {
|
|
9866
|
+
case 'chat':
|
|
9867
|
+
c.uint.encode(state, 1)
|
|
9868
|
+
break
|
|
9869
|
+
case 'image':
|
|
9870
|
+
c.uint.encode(state, 2)
|
|
9871
|
+
break
|
|
9872
|
+
case 'music':
|
|
9873
|
+
c.uint.encode(state, 3)
|
|
9874
|
+
break
|
|
9875
|
+
default:
|
|
9876
|
+
throw new Error('Unknown enum')
|
|
9877
|
+
}
|
|
9878
|
+
},
|
|
9879
|
+
decode (state) {
|
|
9880
|
+
switch (c.uint.decode(state)) {
|
|
9881
|
+
case 1:
|
|
9882
|
+
return 'chat'
|
|
9883
|
+
case 2:
|
|
9884
|
+
return 'image'
|
|
9885
|
+
case 3:
|
|
9886
|
+
return 'music'
|
|
9887
|
+
default: return null
|
|
9888
|
+
}
|
|
9889
|
+
}
|
|
9890
|
+
}
|
|
9891
|
+
|
|
9892
|
+
// @assistant/model-users-request
|
|
9893
|
+
const encoding288 = encoding44
|
|
9894
|
+
|
|
9895
|
+
// @assistant/model-user
|
|
9896
|
+
const encoding289 = {
|
|
9897
|
+
preencode(state, m) {
|
|
9898
|
+
c.string.preencode(state, m.agentId)
|
|
9899
|
+
c.string.preencode(state, m.meshId)
|
|
9900
|
+
c.string.preencode(state, m.agentName)
|
|
9901
|
+
encoding287.preencode(state, m.via)
|
|
9902
|
+
},
|
|
9903
|
+
encode(state, m) {
|
|
9904
|
+
c.string.encode(state, m.agentId)
|
|
9905
|
+
c.string.encode(state, m.meshId)
|
|
9906
|
+
c.string.encode(state, m.agentName)
|
|
9907
|
+
encoding287.encode(state, m.via)
|
|
9908
|
+
},
|
|
9909
|
+
decode(state) {
|
|
9910
|
+
const r0 = c.string.decode(state)
|
|
9911
|
+
const r1 = c.string.decode(state)
|
|
9912
|
+
const r2 = c.string.decode(state)
|
|
9913
|
+
const r3 = encoding287.decode(state)
|
|
9914
|
+
|
|
9915
|
+
return {
|
|
9916
|
+
agentId: r0,
|
|
9917
|
+
meshId: r1,
|
|
9918
|
+
agentName: r2,
|
|
9919
|
+
via: r3
|
|
9920
|
+
}
|
|
9921
|
+
}
|
|
9922
|
+
}
|
|
9923
|
+
|
|
9924
|
+
// @assistant/model-users.agents
|
|
9925
|
+
const encoding290_0 = c.array(c.frame(encoding289))
|
|
9926
|
+
|
|
9927
|
+
// @assistant/model-users
|
|
9928
|
+
const encoding290 = {
|
|
9929
|
+
preencode(state, m) {
|
|
9930
|
+
state.end++ // max flag is 1 so always one byte
|
|
9931
|
+
|
|
9932
|
+
if (m.agents) encoding290_0.preencode(state, m.agents)
|
|
9933
|
+
},
|
|
9934
|
+
encode(state, m) {
|
|
9935
|
+
const flags = m.agents ? 1 : 0
|
|
9936
|
+
|
|
9937
|
+
c.uint.encode(state, flags)
|
|
9938
|
+
|
|
9939
|
+
if (m.agents) encoding290_0.encode(state, m.agents)
|
|
9940
|
+
},
|
|
9941
|
+
decode(state) {
|
|
9942
|
+
const flags = c.uint.decode(state)
|
|
9943
|
+
|
|
9944
|
+
return {
|
|
9945
|
+
agents: (flags & 1) !== 0 ? encoding290_0.decode(state) : null
|
|
9946
|
+
}
|
|
9947
|
+
}
|
|
9948
|
+
}
|
|
9949
|
+
|
|
9759
9950
|
function setVersion(v) {
|
|
9760
9951
|
version = v
|
|
9761
9952
|
}
|
|
@@ -9822,24 +10013,28 @@ function getEnum(name) {
|
|
|
9822
10013
|
return encoding138_enum
|
|
9823
10014
|
case '@assistant/sync-status-state':
|
|
9824
10015
|
return encoding140_enum
|
|
10016
|
+
case '@assistant/model-task-type':
|
|
10017
|
+
return encoding145_enum
|
|
9825
10018
|
case '@assistant/kv-cache-deletion-status':
|
|
9826
|
-
return
|
|
10019
|
+
return encoding151_enum
|
|
9827
10020
|
case '@assistant/model-download-phase':
|
|
9828
|
-
return
|
|
10021
|
+
return encoding164_enum
|
|
9829
10022
|
case '@assistant/log-level':
|
|
9830
|
-
return encoding176_enum
|
|
9831
|
-
case '@assistant/log-origin':
|
|
9832
10023
|
return encoding177_enum
|
|
10024
|
+
case '@assistant/log-origin':
|
|
10025
|
+
return encoding178_enum
|
|
9833
10026
|
case '@assistant/skill-setup-token-auth':
|
|
9834
|
-
return
|
|
10027
|
+
return encoding194_enum
|
|
9835
10028
|
case '@assistant/skill-setup-route-kind':
|
|
9836
|
-
return
|
|
10029
|
+
return encoding196_enum
|
|
9837
10030
|
case '@assistant/file-state':
|
|
9838
|
-
return encoding228_enum
|
|
9839
|
-
case '@assistant/file-progress-unit':
|
|
9840
10031
|
return encoding229_enum
|
|
10032
|
+
case '@assistant/file-progress-unit':
|
|
10033
|
+
return encoding230_enum
|
|
9841
10034
|
case '@assistant/notification-kind':
|
|
9842
|
-
return
|
|
10035
|
+
return encoding236_enum
|
|
10036
|
+
case '@assistant/model-use':
|
|
10037
|
+
return encoding287_enum
|
|
9843
10038
|
default:
|
|
9844
10039
|
throw new Error('Enum not found ' + name)
|
|
9845
10040
|
}
|
|
@@ -10137,288 +10332,298 @@ function getEncoding(name) {
|
|
|
10137
10332
|
return encoding143
|
|
10138
10333
|
case '@assistant/join-mesh-request':
|
|
10139
10334
|
return encoding144
|
|
10140
|
-
case '@assistant/
|
|
10335
|
+
case '@assistant/model-task-type':
|
|
10141
10336
|
return encoding145
|
|
10142
|
-
case '@assistant/
|
|
10337
|
+
case '@assistant/list-models-request':
|
|
10143
10338
|
return encoding146
|
|
10144
|
-
case '@assistant/model-info
|
|
10339
|
+
case '@assistant/model-info':
|
|
10145
10340
|
return encoding147
|
|
10146
|
-
case '@assistant/
|
|
10341
|
+
case '@assistant/model-info-list':
|
|
10147
10342
|
return encoding148
|
|
10148
|
-
case '@assistant/delete-model-
|
|
10343
|
+
case '@assistant/delete-model-request':
|
|
10149
10344
|
return encoding149
|
|
10150
|
-
case '@assistant/
|
|
10345
|
+
case '@assistant/delete-model-response':
|
|
10151
10346
|
return encoding150
|
|
10152
|
-
case '@assistant/kv-cache-deletion-
|
|
10347
|
+
case '@assistant/kv-cache-deletion-status':
|
|
10153
10348
|
return encoding151
|
|
10154
|
-
case '@assistant/
|
|
10349
|
+
case '@assistant/kv-cache-deletion-response':
|
|
10155
10350
|
return encoding152
|
|
10156
|
-
case '@assistant/
|
|
10351
|
+
case '@assistant/model-catalog-revision':
|
|
10157
10352
|
return encoding153
|
|
10158
|
-
case '@assistant/skill-
|
|
10353
|
+
case '@assistant/skill-request':
|
|
10159
10354
|
return encoding154
|
|
10160
|
-
case '@assistant/
|
|
10355
|
+
case '@assistant/skill-response':
|
|
10161
10356
|
return encoding155
|
|
10162
|
-
case '@assistant/download-knowledge-
|
|
10357
|
+
case '@assistant/download-knowledge-request':
|
|
10163
10358
|
return encoding156
|
|
10164
|
-
case '@assistant/
|
|
10359
|
+
case '@assistant/download-knowledge-response':
|
|
10165
10360
|
return encoding157
|
|
10166
|
-
case '@assistant/delegation':
|
|
10361
|
+
case '@assistant/delegation-capabilities':
|
|
10167
10362
|
return encoding158
|
|
10168
|
-
case '@assistant/
|
|
10363
|
+
case '@assistant/delegation':
|
|
10169
10364
|
return encoding159
|
|
10170
|
-
case '@assistant/app-config
|
|
10365
|
+
case '@assistant/app-config':
|
|
10171
10366
|
return encoding160
|
|
10172
|
-
case '@assistant/
|
|
10367
|
+
case '@assistant/app-config-update':
|
|
10173
10368
|
return encoding161
|
|
10174
|
-
case '@assistant/set-model-
|
|
10369
|
+
case '@assistant/set-model-paused-request':
|
|
10175
10370
|
return encoding162
|
|
10176
|
-
case '@assistant/model-
|
|
10371
|
+
case '@assistant/set-model-released-request':
|
|
10177
10372
|
return encoding163
|
|
10178
|
-
case '@assistant/model-download':
|
|
10373
|
+
case '@assistant/model-download-phase':
|
|
10179
10374
|
return encoding164
|
|
10180
|
-
case '@assistant/model-download
|
|
10375
|
+
case '@assistant/model-download':
|
|
10181
10376
|
return encoding165
|
|
10182
|
-
case '@assistant/
|
|
10377
|
+
case '@assistant/model-download-list':
|
|
10183
10378
|
return encoding166
|
|
10184
|
-
case '@assistant/
|
|
10379
|
+
case '@assistant/set-model-download-status-request':
|
|
10185
10380
|
return encoding167
|
|
10186
|
-
case '@assistant/
|
|
10381
|
+
case '@assistant/clear-model-download-request':
|
|
10187
10382
|
return encoding168
|
|
10188
|
-
case '@assistant/custom-model
|
|
10383
|
+
case '@assistant/custom-model':
|
|
10189
10384
|
return encoding169
|
|
10190
|
-
case '@assistant/
|
|
10385
|
+
case '@assistant/custom-model-list':
|
|
10191
10386
|
return encoding170
|
|
10192
|
-
case '@assistant/add-custom-model-
|
|
10387
|
+
case '@assistant/add-custom-model-request':
|
|
10193
10388
|
return encoding171
|
|
10194
|
-
case '@assistant/
|
|
10389
|
+
case '@assistant/add-custom-model-response':
|
|
10195
10390
|
return encoding172
|
|
10196
|
-
case '@assistant/
|
|
10391
|
+
case '@assistant/remove-custom-model-request':
|
|
10197
10392
|
return encoding173
|
|
10198
|
-
case '@assistant/custom-model-
|
|
10393
|
+
case '@assistant/preview-custom-model-request':
|
|
10199
10394
|
return encoding174
|
|
10200
|
-
case '@assistant/custom-model-
|
|
10395
|
+
case '@assistant/custom-model-source-file':
|
|
10201
10396
|
return encoding175
|
|
10202
|
-
case '@assistant/
|
|
10397
|
+
case '@assistant/custom-model-preview':
|
|
10203
10398
|
return encoding176
|
|
10204
|
-
case '@assistant/log-
|
|
10399
|
+
case '@assistant/log-level':
|
|
10205
10400
|
return encoding177
|
|
10206
|
-
case '@assistant/log-
|
|
10401
|
+
case '@assistant/log-origin':
|
|
10207
10402
|
return encoding178
|
|
10208
|
-
case '@assistant/log-line
|
|
10403
|
+
case '@assistant/log-line':
|
|
10209
10404
|
return encoding179
|
|
10210
|
-
case '@assistant/
|
|
10405
|
+
case '@assistant/log-line-list':
|
|
10211
10406
|
return encoding180
|
|
10212
|
-
case '@assistant/
|
|
10407
|
+
case '@assistant/logs-watch-request':
|
|
10213
10408
|
return encoding181
|
|
10214
|
-
case '@assistant/
|
|
10409
|
+
case '@assistant/write-log-request':
|
|
10215
10410
|
return encoding182
|
|
10216
|
-
case '@assistant/transcribe-
|
|
10411
|
+
case '@assistant/transcribe-request':
|
|
10217
10412
|
return encoding183
|
|
10218
|
-
case '@assistant/
|
|
10413
|
+
case '@assistant/transcribe-response':
|
|
10219
10414
|
return encoding184
|
|
10220
|
-
case '@assistant/
|
|
10415
|
+
case '@assistant/detect-language-request':
|
|
10221
10416
|
return encoding185
|
|
10222
|
-
case '@assistant/
|
|
10417
|
+
case '@assistant/detected-language':
|
|
10223
10418
|
return encoding186
|
|
10224
|
-
case '@assistant/
|
|
10419
|
+
case '@assistant/detect-language-response':
|
|
10225
10420
|
return encoding187
|
|
10226
|
-
case '@assistant/speak-
|
|
10421
|
+
case '@assistant/speak-request':
|
|
10227
10422
|
return encoding188
|
|
10228
|
-
case '@assistant/
|
|
10423
|
+
case '@assistant/speak-response':
|
|
10229
10424
|
return encoding189
|
|
10230
|
-
case '@assistant/skill-
|
|
10425
|
+
case '@assistant/skill-binary-requirement':
|
|
10231
10426
|
return encoding190
|
|
10232
|
-
case '@assistant/skill-
|
|
10427
|
+
case '@assistant/skill-requirements':
|
|
10233
10428
|
return encoding191
|
|
10234
|
-
case '@assistant/skill-
|
|
10429
|
+
case '@assistant/skill-install-step':
|
|
10235
10430
|
return encoding192
|
|
10236
|
-
case '@assistant/skill-setup-
|
|
10431
|
+
case '@assistant/skill-setup-field':
|
|
10237
10432
|
return encoding193
|
|
10238
|
-
case '@assistant/skill-setup-
|
|
10433
|
+
case '@assistant/skill-setup-token-auth':
|
|
10239
10434
|
return encoding194
|
|
10240
|
-
case '@assistant/skill-setup-
|
|
10435
|
+
case '@assistant/skill-setup-oauth':
|
|
10241
10436
|
return encoding195
|
|
10242
|
-
case '@assistant/skill-setup-route':
|
|
10437
|
+
case '@assistant/skill-setup-route-kind':
|
|
10243
10438
|
return encoding196
|
|
10244
|
-
case '@assistant/skill-setup':
|
|
10439
|
+
case '@assistant/skill-setup-route':
|
|
10245
10440
|
return encoding197
|
|
10246
|
-
case '@assistant/skill':
|
|
10441
|
+
case '@assistant/skill-setup':
|
|
10247
10442
|
return encoding198
|
|
10248
|
-
case '@assistant/skill
|
|
10443
|
+
case '@assistant/skill':
|
|
10249
10444
|
return encoding199
|
|
10250
|
-
case '@assistant/
|
|
10445
|
+
case '@assistant/skill-catalog-response':
|
|
10251
10446
|
return encoding200
|
|
10252
|
-
case '@assistant/tool-catalog-
|
|
10447
|
+
case '@assistant/tool-catalog-entry':
|
|
10253
10448
|
return encoding201
|
|
10254
|
-
case '@assistant/
|
|
10449
|
+
case '@assistant/tool-catalog-response':
|
|
10255
10450
|
return encoding202
|
|
10256
|
-
case '@assistant/
|
|
10451
|
+
case '@assistant/speak-stream-frame':
|
|
10257
10452
|
return encoding203
|
|
10258
|
-
case '@assistant/tool-configs
|
|
10453
|
+
case '@assistant/tool-configs':
|
|
10259
10454
|
return encoding204
|
|
10260
|
-
case '@assistant/
|
|
10455
|
+
case '@assistant/tool-configs-list':
|
|
10261
10456
|
return encoding205
|
|
10262
|
-
case '@assistant/
|
|
10457
|
+
case '@assistant/set-tool-configs-request':
|
|
10263
10458
|
return encoding206
|
|
10264
|
-
case '@assistant/
|
|
10459
|
+
case '@assistant/delete-tool-configs-request':
|
|
10265
10460
|
return encoding207
|
|
10266
|
-
case '@assistant/
|
|
10461
|
+
case '@assistant/list-tool-configs-request':
|
|
10267
10462
|
return encoding208
|
|
10268
|
-
case '@assistant/
|
|
10463
|
+
case '@assistant/skill-secret-value':
|
|
10269
10464
|
return encoding209
|
|
10270
|
-
case '@assistant/skill-secret-
|
|
10465
|
+
case '@assistant/push-skill-secret-request':
|
|
10271
10466
|
return encoding210
|
|
10272
|
-
case '@assistant/skill-secret-handoff
|
|
10467
|
+
case '@assistant/skill-secret-handoff':
|
|
10273
10468
|
return encoding211
|
|
10274
|
-
case '@assistant/
|
|
10469
|
+
case '@assistant/skill-secret-handoff-ack':
|
|
10275
10470
|
return encoding212
|
|
10276
|
-
case '@assistant/tool-activity-
|
|
10471
|
+
case '@assistant/tool-activity-entry':
|
|
10277
10472
|
return encoding213
|
|
10278
|
-
case '@assistant/
|
|
10473
|
+
case '@assistant/tool-activity-list':
|
|
10279
10474
|
return encoding214
|
|
10280
|
-
case '@assistant/
|
|
10475
|
+
case '@assistant/list-tool-activity-request':
|
|
10281
10476
|
return encoding215
|
|
10282
|
-
case '@assistant/tool-activity-
|
|
10477
|
+
case '@assistant/record-tool-activity-request':
|
|
10283
10478
|
return encoding216
|
|
10284
|
-
case '@assistant/
|
|
10479
|
+
case '@assistant/tool-activity-id':
|
|
10285
10480
|
return encoding217
|
|
10286
|
-
case '@assistant/managed-
|
|
10481
|
+
case '@assistant/managed-skill':
|
|
10287
10482
|
return encoding218
|
|
10288
|
-
case '@assistant/
|
|
10483
|
+
case '@assistant/managed-skills-response':
|
|
10289
10484
|
return encoding219
|
|
10290
|
-
case '@assistant/
|
|
10485
|
+
case '@assistant/list-managed-skills-request':
|
|
10291
10486
|
return encoding220
|
|
10292
|
-
case '@assistant/skill-
|
|
10487
|
+
case '@assistant/skill-name-request':
|
|
10293
10488
|
return encoding221
|
|
10294
|
-
case '@assistant/
|
|
10489
|
+
case '@assistant/skill-file-response':
|
|
10295
10490
|
return encoding222
|
|
10296
|
-
case '@assistant/
|
|
10491
|
+
case '@assistant/write-skill-request':
|
|
10297
10492
|
return encoding223
|
|
10298
|
-
case '@assistant/
|
|
10493
|
+
case '@assistant/copy-skill-response':
|
|
10299
10494
|
return encoding224
|
|
10300
|
-
case '@assistant/skill-
|
|
10495
|
+
case '@assistant/delete-skill-response':
|
|
10301
10496
|
return encoding225
|
|
10302
|
-
case '@assistant/skill-overlay-
|
|
10497
|
+
case '@assistant/skill-overlay-op':
|
|
10303
10498
|
return encoding226
|
|
10304
|
-
case '@assistant/skill-overlay-handoff
|
|
10499
|
+
case '@assistant/skill-overlay-handoff':
|
|
10305
10500
|
return encoding227
|
|
10306
|
-
case '@assistant/
|
|
10501
|
+
case '@assistant/skill-overlay-handoff-ack':
|
|
10307
10502
|
return encoding228
|
|
10308
|
-
case '@assistant/file-
|
|
10503
|
+
case '@assistant/file-state':
|
|
10309
10504
|
return encoding229
|
|
10310
|
-
case '@assistant/file-progress':
|
|
10505
|
+
case '@assistant/file-progress-unit':
|
|
10311
10506
|
return encoding230
|
|
10312
|
-
case '@assistant/file-
|
|
10507
|
+
case '@assistant/file-progress':
|
|
10313
10508
|
return encoding231
|
|
10314
|
-
case '@assistant/file-status':
|
|
10509
|
+
case '@assistant/file-processor-status':
|
|
10315
10510
|
return encoding232
|
|
10316
|
-
case '@assistant/file-status
|
|
10511
|
+
case '@assistant/file-status':
|
|
10317
10512
|
return encoding233
|
|
10318
|
-
case '@assistant/
|
|
10513
|
+
case '@assistant/file-status-list':
|
|
10319
10514
|
return encoding234
|
|
10320
|
-
case '@assistant/
|
|
10515
|
+
case '@assistant/compact-chat-response':
|
|
10321
10516
|
return encoding235
|
|
10322
|
-
case '@assistant/notification':
|
|
10517
|
+
case '@assistant/notification-kind':
|
|
10323
10518
|
return encoding236
|
|
10324
|
-
case '@assistant/notification
|
|
10519
|
+
case '@assistant/notification':
|
|
10325
10520
|
return encoding237
|
|
10326
|
-
case '@assistant/notification-
|
|
10521
|
+
case '@assistant/notification-list':
|
|
10327
10522
|
return encoding238
|
|
10328
|
-
case '@assistant/notification-
|
|
10523
|
+
case '@assistant/notification-request':
|
|
10329
10524
|
return encoding239
|
|
10330
|
-
case '@assistant/
|
|
10525
|
+
case '@assistant/notification-ack':
|
|
10331
10526
|
return encoding240
|
|
10332
|
-
case '@assistant/model-transfer':
|
|
10527
|
+
case '@assistant/model-transfer-start':
|
|
10333
10528
|
return encoding241
|
|
10334
|
-
case '@assistant/
|
|
10529
|
+
case '@assistant/model-transfer':
|
|
10335
10530
|
return encoding242
|
|
10336
|
-
case '@assistant/file-read-
|
|
10531
|
+
case '@assistant/file-read-request':
|
|
10337
10532
|
return encoding243
|
|
10338
|
-
case '@assistant/file-
|
|
10533
|
+
case '@assistant/file-read-frame':
|
|
10339
10534
|
return encoding244
|
|
10340
|
-
case '@assistant/file-
|
|
10535
|
+
case '@assistant/file-request':
|
|
10341
10536
|
return encoding245
|
|
10342
|
-
case '@assistant/file-
|
|
10537
|
+
case '@assistant/file-preview-response':
|
|
10343
10538
|
return encoding246
|
|
10344
|
-
case '@assistant/
|
|
10539
|
+
case '@assistant/file-retry-request':
|
|
10345
10540
|
return encoding247
|
|
10346
|
-
case '@assistant/mesh-
|
|
10541
|
+
case '@assistant/mesh-entry':
|
|
10347
10542
|
return encoding248
|
|
10348
|
-
case '@assistant/mesh-
|
|
10543
|
+
case '@assistant/mesh-label-request':
|
|
10349
10544
|
return encoding249
|
|
10350
|
-
case '@assistant/
|
|
10545
|
+
case '@assistant/mesh-list':
|
|
10351
10546
|
return encoding250
|
|
10352
|
-
case '@assistant/
|
|
10547
|
+
case '@assistant/account':
|
|
10353
10548
|
return encoding251
|
|
10354
|
-
case '@assistant/mesh-
|
|
10549
|
+
case '@assistant/mesh-target':
|
|
10355
10550
|
return encoding252
|
|
10356
|
-
case '@assistant/
|
|
10551
|
+
case '@assistant/mesh-scope':
|
|
10357
10552
|
return encoding253
|
|
10358
|
-
case '@assistant/
|
|
10553
|
+
case '@assistant/room-config':
|
|
10359
10554
|
return encoding254
|
|
10360
|
-
case '@assistant/
|
|
10555
|
+
case '@assistant/create-room-request':
|
|
10361
10556
|
return encoding255
|
|
10362
|
-
case '@assistant/mesh-seed-
|
|
10557
|
+
case '@assistant/mesh-seed-request':
|
|
10363
10558
|
return encoding256
|
|
10364
|
-
case '@assistant/mesh-seed-handoff
|
|
10559
|
+
case '@assistant/mesh-seed-handoff':
|
|
10365
10560
|
return encoding257
|
|
10366
|
-
case '@assistant/mesh-
|
|
10561
|
+
case '@assistant/mesh-seed-handoff-ack':
|
|
10367
10562
|
return encoding258
|
|
10368
|
-
case '@assistant/mesh-admission-
|
|
10563
|
+
case '@assistant/mesh-admission-request':
|
|
10369
10564
|
return encoding259
|
|
10370
|
-
case '@assistant/
|
|
10565
|
+
case '@assistant/mesh-admission-handoff':
|
|
10371
10566
|
return encoding260
|
|
10372
|
-
case '@assistant/
|
|
10567
|
+
case '@assistant/member-config':
|
|
10373
10568
|
return encoding261
|
|
10374
|
-
case '@assistant/
|
|
10569
|
+
case '@assistant/update-member-request':
|
|
10375
10570
|
return encoding262
|
|
10376
|
-
case '@assistant/
|
|
10571
|
+
case '@assistant/remove-member-request':
|
|
10377
10572
|
return encoding263
|
|
10378
|
-
case '@assistant/archived-mesh-
|
|
10573
|
+
case '@assistant/archived-mesh-contents':
|
|
10379
10574
|
return encoding264
|
|
10380
|
-
case '@assistant/archived-mesh':
|
|
10575
|
+
case '@assistant/archived-mesh-migration':
|
|
10381
10576
|
return encoding265
|
|
10382
|
-
case '@assistant/archived-mesh
|
|
10577
|
+
case '@assistant/archived-mesh':
|
|
10383
10578
|
return encoding266
|
|
10384
|
-
case '@assistant/
|
|
10579
|
+
case '@assistant/archived-mesh-list':
|
|
10385
10580
|
return encoding267
|
|
10386
|
-
case '@assistant/
|
|
10581
|
+
case '@assistant/account-recovery-state':
|
|
10387
10582
|
return encoding268
|
|
10388
|
-
case '@assistant/
|
|
10583
|
+
case '@assistant/display-name':
|
|
10389
10584
|
return encoding269
|
|
10390
|
-
case '@assistant/local-file
|
|
10585
|
+
case '@assistant/local-file':
|
|
10391
10586
|
return encoding270
|
|
10392
|
-
case '@assistant/local-
|
|
10587
|
+
case '@assistant/local-file-list':
|
|
10393
10588
|
return encoding271
|
|
10394
|
-
case '@assistant/
|
|
10589
|
+
case '@assistant/local-files-request':
|
|
10395
10590
|
return encoding272
|
|
10396
|
-
case '@assistant/inference-call-
|
|
10591
|
+
case '@assistant/inference-call-entry':
|
|
10397
10592
|
return encoding273
|
|
10398
|
-
case '@assistant/inference-
|
|
10593
|
+
case '@assistant/inference-call-list':
|
|
10399
10594
|
return encoding274
|
|
10400
|
-
case '@assistant/inference-calls-
|
|
10595
|
+
case '@assistant/inference-calls-request':
|
|
10401
10596
|
return encoding275
|
|
10402
|
-
case '@assistant/inference-calls-
|
|
10597
|
+
case '@assistant/inference-calls-query':
|
|
10403
10598
|
return encoding276
|
|
10404
|
-
case '@assistant/inference-calls-handoff
|
|
10599
|
+
case '@assistant/inference-calls-handoff':
|
|
10405
10600
|
return encoding277
|
|
10406
|
-
case '@assistant/
|
|
10601
|
+
case '@assistant/inference-calls-handoff-ack':
|
|
10407
10602
|
return encoding278
|
|
10408
|
-
case '@assistant/
|
|
10603
|
+
case '@assistant/mesh-config':
|
|
10409
10604
|
return encoding279
|
|
10410
|
-
case '@assistant/
|
|
10605
|
+
case '@assistant/create-mesh-request':
|
|
10411
10606
|
return encoding280
|
|
10412
|
-
case '@assistant/preview-mesh-invite-
|
|
10607
|
+
case '@assistant/preview-mesh-invite-request':
|
|
10413
10608
|
return encoding281
|
|
10414
|
-
case '@assistant/
|
|
10609
|
+
case '@assistant/preview-mesh-invite-response':
|
|
10415
10610
|
return encoding282
|
|
10416
|
-
case '@assistant/load-model-
|
|
10611
|
+
case '@assistant/load-model-request':
|
|
10417
10612
|
return encoding283
|
|
10418
|
-
case '@assistant/
|
|
10613
|
+
case '@assistant/load-model-response':
|
|
10419
10614
|
return encoding284
|
|
10420
|
-
case '@assistant/unload-model-
|
|
10615
|
+
case '@assistant/unload-model-request':
|
|
10421
10616
|
return encoding285
|
|
10617
|
+
case '@assistant/unload-model-response':
|
|
10618
|
+
return encoding286
|
|
10619
|
+
case '@assistant/model-use':
|
|
10620
|
+
return encoding287
|
|
10621
|
+
case '@assistant/model-users-request':
|
|
10622
|
+
return encoding288
|
|
10623
|
+
case '@assistant/model-user':
|
|
10624
|
+
return encoding289
|
|
10625
|
+
case '@assistant/model-users':
|
|
10626
|
+
return encoding290
|
|
10422
10627
|
default:
|
|
10423
10628
|
throw new Error('Encoder not found ' + name)
|
|
10424
10629
|
}
|