@qvac/core 0.6.7 → 0.7.0
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 +145 -1
- package/README.md +2 -0
- package/dist-lib/lib/api/app-config.d.ts +3 -1
- package/dist-lib/lib/api/app-config.js +15 -4
- package/dist-lib/lib/assistant/fake-models.d.ts +22 -0
- package/dist-lib/lib/assistant/fake-models.js +112 -0
- package/dist-lib/lib/assistant/harness.d.ts +10 -0
- package/dist-lib/lib/assistant/harness.js +26 -0
- package/dist-lib/lib/assistant/history.d.ts +5 -1
- package/dist-lib/lib/assistant/history.js +14 -2
- package/dist-lib/lib/assistant-tree.d.ts +4 -0
- package/dist-lib/lib/assistant-tree.js +45 -7
- package/dist-lib/lib/assistant.d.ts +15 -2
- package/dist-lib/lib/assistant.js +175 -41
- package/dist-lib/lib/constants.d.ts +6 -0
- package/dist-lib/lib/constants.js +6 -0
- package/dist-lib/lib/core/chat-activity.d.ts +1 -1
- package/dist-lib/lib/core/chat-activity.js +3 -0
- package/dist-lib/lib/core/collections.d.ts +1 -0
- package/dist-lib/lib/core/collections.js +1 -0
- package/dist-lib/lib/core/contract/compute.d.ts +1 -1
- package/dist-lib/lib/core/contract/compute.js +2 -1
- package/dist-lib/lib/core/contract/index.js +6 -1
- package/dist-lib/lib/core/contract/invites.d.ts +1 -11
- package/dist-lib/lib/core/contract/invites.js +3 -3
- package/dist-lib/lib/core/contract/mesh-seeds.d.ts +2 -0
- package/dist-lib/lib/core/contract/mesh-seeds.js +26 -0
- package/dist-lib/lib/core/contract/open-join.d.ts +2 -0
- package/dist-lib/lib/core/contract/open-join.js +57 -0
- package/dist-lib/lib/core/departures.d.ts +3 -0
- package/dist-lib/lib/core/departures.js +44 -1
- package/dist-lib/lib/core/identity.d.ts +1 -1
- package/dist-lib/lib/core/identity.js +6 -4
- package/dist-lib/lib/core/invite.d.ts +2 -0
- package/dist-lib/lib/core/invite.js +6 -2
- package/dist-lib/lib/core/membership.d.ts +1 -12
- package/dist-lib/lib/core/membership.js +1 -94
- package/dist-lib/lib/core/mesh.d.ts +8 -13
- package/dist-lib/lib/core/mesh.js +41 -87
- package/dist-lib/lib/core/sync/index.js +2 -16
- package/dist-lib/lib/core.d.ts +30 -49
- package/dist-lib/lib/core.js +341 -868
- package/dist-lib/lib/diagnostics.d.ts +7 -0
- package/dist-lib/lib/diagnostics.js +22 -0
- package/dist-lib/lib/doctor/checks.d.ts +15 -0
- package/dist-lib/lib/doctor/checks.js +269 -0
- package/dist-lib/lib/doctor/redact.d.ts +4 -0
- package/dist-lib/lib/doctor/redact.js +31 -0
- package/dist-lib/lib/doctor/render.d.ts +8 -0
- package/dist-lib/lib/doctor/render.js +83 -0
- package/dist-lib/lib/doctor/tree.d.ts +5 -0
- package/dist-lib/lib/doctor/tree.js +167 -0
- package/dist-lib/lib/downloads-allowed-pusher.d.ts +10 -0
- package/dist-lib/lib/downloads-allowed-pusher.js +37 -0
- package/dist-lib/lib/guards.d.ts +1 -0
- package/dist-lib/lib/guards.js +4 -0
- package/dist-lib/lib/inference-calls.js +1 -5
- package/dist-lib/lib/kv-cache-reclaim.d.ts +2 -1
- package/dist-lib/lib/kv-cache-reclaim.js +24 -0
- package/dist-lib/lib/mesh-scoped-engine.js +1 -0
- package/dist-lib/lib/model-download-status.d.ts +1 -1
- package/dist-lib/lib/model-download.d.ts +9 -1
- package/dist-lib/lib/model-download.js +48 -3
- package/dist-lib/lib/model-memory-cap.d.ts +29 -0
- package/dist-lib/lib/model-memory-cap.js +69 -0
- package/dist-lib/lib/models-watch.d.ts +1 -1
- package/dist-lib/lib/models-watch.js +4 -4
- package/dist-lib/lib/oauth/flow.js +1 -1
- package/dist-lib/lib/oauth/loopback.js +16 -2
- package/dist-lib/lib/oauth/redirect-types.d.ts +1 -0
- package/dist-lib/lib/run-replay.d.ts +26 -0
- package/dist-lib/lib/run-replay.js +107 -0
- package/dist-lib/schema/config.d.ts +1 -1
- package/dist-lib/schema/config.js +1 -1
- package/dist-lib/schema/content.js +9 -1
- package/dist-lib/schema/engine.js +30 -5
- package/dist-lib/schema/local.js +3 -2
- package/dist-lib/schema/qvac.js +18 -1
- package/dist-lib/spec/bind.js +3 -0
- package/dist-lib/spec/calls.js +1 -0
- package/dist-lib/spec/capabilities.d.ts +2 -0
- package/dist-lib/spec/config/hyperconf/index.js +1 -1
- package/dist-lib/spec/hrpc/hrpc.json +13 -0
- package/dist-lib/spec/hrpc/index.js +15 -3
- package/dist-lib/spec/hrpc/messages.js +646 -557
- package/dist-lib/spec/hyperschema/index.js +646 -557
- package/dist-lib/spec/hyperschema/schema.json +80 -0
- package/dist-lib/spec/hyperschema/types.d.ts +20 -3
- package/dist-lib/spec/local/hyperdb/messages.js +22 -10
- package/dist-lib/spec/local/hyperschema/index.js +16 -7
- package/dist-lib/spec/local/hyperschema/schema.json +10 -1
- package/dist-lib/spec/local/hyperschema/types.d.ts +3 -2
- package/dist-lib/spec/mesh/hyperdb/db.json +16 -1
- package/dist-lib/spec/mesh/hyperdb/index.js +71 -2
- package/dist-lib/spec/mesh/hyperdb/messages.js +477 -240
- package/dist-lib/spec/mesh/hyperdispatch/dispatch.json +13 -1
- package/dist-lib/spec/mesh/hyperdispatch/index.js +35 -1
- package/dist-lib/spec/mesh/hyperdispatch/messages.js +180 -7
- package/dist-lib/spec/mesh/hyperschema/index.js +180 -7
- package/dist-lib/spec/mesh/hyperschema/schema.json +98 -1
- package/dist-lib/spec/mesh/hyperschema/types.d.ts +26 -2
- package/package.json +8 -16
- package/tui/README.md +7 -1
- package/tui/app.mjs +245 -11
- package/tui/boot.mjs +1 -0
- package/tui/index.mjs +1 -0
- package/tui/lib/render.mjs +25 -1
- package/worker/assistant-sidecar.mjs +5 -2
- package/dist-lib/lib/core/device-invites.d.ts +0 -11
- package/dist-lib/lib/core/device-invites.js +0 -63
- package/dist-lib/lib/core/grant-expiry.d.ts +0 -11
- package/dist-lib/lib/core/grant-expiry.js +0 -66
- package/dist-lib/lib/core/mesh-seed-handoff.d.ts +0 -27
- package/dist-lib/lib/core/mesh-seed-handoff.js +0 -53
- package/dist-lib/lib/oauth/loopback.stub.d.ts +0 -3
- package/dist-lib/lib/oauth/loopback.stub.js +0 -6
|
@@ -1249,13 +1249,14 @@ const encoding29_enum = {
|
|
|
1249
1249
|
"generating-image": 'generating-image',
|
|
1250
1250
|
"generating-audio": 'generating-audio',
|
|
1251
1251
|
"transcribing-audio": 'transcribing-audio',
|
|
1252
|
-
"awaiting-approval": 'awaiting-approval'
|
|
1252
|
+
"awaiting-approval": 'awaiting-approval',
|
|
1253
|
+
"awaiting-download": 'awaiting-download'
|
|
1253
1254
|
}
|
|
1254
1255
|
|
|
1255
1256
|
// @assistant/chat-activity-state enum
|
|
1256
1257
|
const encoding29 = {
|
|
1257
1258
|
preencode (state, m) {
|
|
1258
|
-
state.end++ // max enum is
|
|
1259
|
+
state.end++ // max enum is 7 so always one byte
|
|
1259
1260
|
},
|
|
1260
1261
|
encode (state, m) {
|
|
1261
1262
|
switch (m) {
|
|
@@ -1277,6 +1278,9 @@ const encoding29 = {
|
|
|
1277
1278
|
case 'awaiting-approval':
|
|
1278
1279
|
c.uint.encode(state, 6)
|
|
1279
1280
|
break
|
|
1281
|
+
case 'awaiting-download':
|
|
1282
|
+
c.uint.encode(state, 7)
|
|
1283
|
+
break
|
|
1280
1284
|
default:
|
|
1281
1285
|
throw new Error('Unknown enum')
|
|
1282
1286
|
}
|
|
@@ -1295,6 +1299,8 @@ const encoding29 = {
|
|
|
1295
1299
|
return 'transcribing-audio'
|
|
1296
1300
|
case 6:
|
|
1297
1301
|
return 'awaiting-approval'
|
|
1302
|
+
case 7:
|
|
1303
|
+
return 'awaiting-download'
|
|
1298
1304
|
default: return null
|
|
1299
1305
|
}
|
|
1300
1306
|
}
|
|
@@ -2615,13 +2621,14 @@ const encoding70_enum = {
|
|
|
2615
2621
|
queued: 'queued',
|
|
2616
2622
|
generating: 'generating',
|
|
2617
2623
|
transcribing: 'transcribing',
|
|
2618
|
-
compacting: 'compacting'
|
|
2624
|
+
compacting: 'compacting',
|
|
2625
|
+
"awaiting-download": 'awaiting-download'
|
|
2619
2626
|
}
|
|
2620
2627
|
|
|
2621
2628
|
// @assistant/progress-phase enum
|
|
2622
2629
|
const encoding70 = {
|
|
2623
2630
|
preencode (state, m) {
|
|
2624
|
-
state.end++ // max enum is
|
|
2631
|
+
state.end++ // max enum is 7 so always one byte
|
|
2625
2632
|
},
|
|
2626
2633
|
encode (state, m) {
|
|
2627
2634
|
switch (m) {
|
|
@@ -2643,6 +2650,9 @@ const encoding70 = {
|
|
|
2643
2650
|
case 'compacting':
|
|
2644
2651
|
c.uint.encode(state, 6)
|
|
2645
2652
|
break
|
|
2653
|
+
case 'awaiting-download':
|
|
2654
|
+
c.uint.encode(state, 7)
|
|
2655
|
+
break
|
|
2646
2656
|
default:
|
|
2647
2657
|
throw new Error('Unknown enum')
|
|
2648
2658
|
}
|
|
@@ -2661,6 +2671,8 @@ const encoding70 = {
|
|
|
2661
2671
|
return 'transcribing'
|
|
2662
2672
|
case 6:
|
|
2663
2673
|
return 'compacting'
|
|
2674
|
+
case 7:
|
|
2675
|
+
return 'awaiting-download'
|
|
2664
2676
|
default: return null
|
|
2665
2677
|
}
|
|
2666
2678
|
}
|
|
@@ -5758,11 +5770,12 @@ const encoding151 = {
|
|
|
5758
5770
|
c.string.preencode(state, m.type)
|
|
5759
5771
|
c.string.preencode(state, m.registryPath)
|
|
5760
5772
|
c.string.preencode(state, m.registrySource)
|
|
5761
|
-
state.end++ // max flag is
|
|
5773
|
+
state.end++ // max flag is 64 so always one byte
|
|
5762
5774
|
c.uint.preencode(state, m.expectedSize)
|
|
5763
5775
|
|
|
5764
5776
|
if (m.actualSize) c.uint.preencode(state, m.actualSize)
|
|
5765
5777
|
if (m.taskType) encoding149.preencode(state, m.taskType)
|
|
5778
|
+
if (m.memoryBytes) c.uint.preencode(state, m.memoryBytes)
|
|
5766
5779
|
},
|
|
5767
5780
|
encode(state, m) {
|
|
5768
5781
|
const flags =
|
|
@@ -5771,7 +5784,8 @@ const encoding151 = {
|
|
|
5771
5784
|
(m.actualSize ? 4 : 0) |
|
|
5772
5785
|
(m.supportsImages ? 8 : 0) |
|
|
5773
5786
|
(m.taskType ? 16 : 0) |
|
|
5774
|
-
(m.isLoading ? 32 : 0)
|
|
5787
|
+
(m.isLoading ? 32 : 0) |
|
|
5788
|
+
(m.memoryBytes ? 64 : 0)
|
|
5775
5789
|
|
|
5776
5790
|
c.string.encode(state, m.name)
|
|
5777
5791
|
c.string.encode(state, m.type)
|
|
@@ -5782,6 +5796,7 @@ const encoding151 = {
|
|
|
5782
5796
|
|
|
5783
5797
|
if (m.actualSize) c.uint.encode(state, m.actualSize)
|
|
5784
5798
|
if (m.taskType) encoding149.encode(state, m.taskType)
|
|
5799
|
+
if (m.memoryBytes) c.uint.encode(state, m.memoryBytes)
|
|
5785
5800
|
},
|
|
5786
5801
|
decode(state) {
|
|
5787
5802
|
const r0 = c.string.decode(state)
|
|
@@ -5801,7 +5816,8 @@ const encoding151 = {
|
|
|
5801
5816
|
actualSize: (flags & 4) !== 0 ? c.uint.decode(state) : 0,
|
|
5802
5817
|
supportsImages: (flags & 8) !== 0,
|
|
5803
5818
|
taskType: (flags & 16) !== 0 ? encoding149.decode(state) : null,
|
|
5804
|
-
isLoading: (flags & 32) !== 0
|
|
5819
|
+
isLoading: (flags & 32) !== 0,
|
|
5820
|
+
memoryBytes: (flags & 64) !== 0 ? c.uint.decode(state) : 0
|
|
5805
5821
|
}
|
|
5806
5822
|
}
|
|
5807
5823
|
}
|
|
@@ -5812,22 +5828,25 @@ const encoding152_0 = c.array(c.frame(encoding151))
|
|
|
5812
5828
|
// @assistant/model-info-list
|
|
5813
5829
|
const encoding152 = {
|
|
5814
5830
|
preencode(state, m) {
|
|
5815
|
-
state.end++ // max flag is
|
|
5831
|
+
state.end++ // max flag is 2 so always one byte
|
|
5816
5832
|
|
|
5817
5833
|
if (m.models) encoding152_0.preencode(state, m.models)
|
|
5834
|
+
if (m.memory) encoding152_1.preencode(state, m.memory)
|
|
5818
5835
|
},
|
|
5819
5836
|
encode(state, m) {
|
|
5820
|
-
const flags = m.models ? 1 : 0
|
|
5837
|
+
const flags = (m.models ? 1 : 0) | (m.memory ? 2 : 0)
|
|
5821
5838
|
|
|
5822
5839
|
c.uint.encode(state, flags)
|
|
5823
5840
|
|
|
5824
5841
|
if (m.models) encoding152_0.encode(state, m.models)
|
|
5842
|
+
if (m.memory) encoding152_1.encode(state, m.memory)
|
|
5825
5843
|
},
|
|
5826
5844
|
decode(state) {
|
|
5827
5845
|
const flags = c.uint.decode(state)
|
|
5828
5846
|
|
|
5829
5847
|
return {
|
|
5830
|
-
models: (flags & 1) !== 0 ? encoding152_0.decode(state) : null
|
|
5848
|
+
models: (flags & 1) !== 0 ? encoding152_0.decode(state) : null,
|
|
5849
|
+
memory: (flags & 2) !== 0 ? encoding152_1.decode(state) : null
|
|
5831
5850
|
}
|
|
5832
5851
|
}
|
|
5833
5852
|
}
|
|
@@ -6076,7 +6095,8 @@ const encoding164 = {
|
|
|
6076
6095
|
(m.lastModelName ? 16 : 0) |
|
|
6077
6096
|
(m.onboardingCompleted ? 32 : 0) |
|
|
6078
6097
|
(m.pausedModels ? 64 : 0) |
|
|
6079
|
-
(m.releasedModels ? 128 : 0)
|
|
6098
|
+
(m.releasedModels ? 128 : 0) |
|
|
6099
|
+
(m.autoDownloadModels ? 256 : 0)
|
|
6080
6100
|
|
|
6081
6101
|
c.uint.preencode(state, flags)
|
|
6082
6102
|
|
|
@@ -6097,7 +6117,8 @@ const encoding164 = {
|
|
|
6097
6117
|
(m.lastModelName ? 16 : 0) |
|
|
6098
6118
|
(m.onboardingCompleted ? 32 : 0) |
|
|
6099
6119
|
(m.pausedModels ? 64 : 0) |
|
|
6100
|
-
(m.releasedModels ? 128 : 0)
|
|
6120
|
+
(m.releasedModels ? 128 : 0) |
|
|
6121
|
+
(m.autoDownloadModels ? 256 : 0)
|
|
6101
6122
|
|
|
6102
6123
|
c.uint.encode(state, flags)
|
|
6103
6124
|
|
|
@@ -6121,7 +6142,8 @@ const encoding164 = {
|
|
|
6121
6142
|
onboardingCompleted: (flags & 32) !== 0,
|
|
6122
6143
|
delegation: encoding164_6.decode(state),
|
|
6123
6144
|
pausedModels: (flags & 64) !== 0 ? encoding164_7.decode(state) : null,
|
|
6124
|
-
releasedModels: (flags & 128) !== 0 ? encoding164_8.decode(state) : null
|
|
6145
|
+
releasedModels: (flags & 128) !== 0 ? encoding164_8.decode(state) : null,
|
|
6146
|
+
autoDownloadModels: (flags & 256) !== 0
|
|
6125
6147
|
}
|
|
6126
6148
|
}
|
|
6127
6149
|
}
|
|
@@ -6214,17 +6236,37 @@ const encoding167 = {
|
|
|
6214
6236
|
}
|
|
6215
6237
|
}
|
|
6216
6238
|
|
|
6217
|
-
|
|
6239
|
+
// @assistant/set-auto-download-models-request
|
|
6240
|
+
const encoding168 = {
|
|
6241
|
+
preencode(state, m) {
|
|
6242
|
+
state.end++ // max flag is 1 so always one byte
|
|
6243
|
+
},
|
|
6244
|
+
encode(state, m) {
|
|
6245
|
+
const flags = m.enabled ? 1 : 0
|
|
6246
|
+
|
|
6247
|
+
c.uint.encode(state, flags)
|
|
6248
|
+
},
|
|
6249
|
+
decode(state) {
|
|
6250
|
+
const flags = c.uint.decode(state)
|
|
6251
|
+
|
|
6252
|
+
return {
|
|
6253
|
+
enabled: (flags & 1) !== 0
|
|
6254
|
+
}
|
|
6255
|
+
}
|
|
6256
|
+
}
|
|
6257
|
+
|
|
6258
|
+
const encoding169_enum = {
|
|
6218
6259
|
queued: 'queued',
|
|
6219
6260
|
downloading: 'downloading',
|
|
6220
6261
|
paused: 'paused',
|
|
6221
|
-
error: 'error'
|
|
6262
|
+
error: 'error',
|
|
6263
|
+
held: 'held'
|
|
6222
6264
|
}
|
|
6223
6265
|
|
|
6224
6266
|
// @assistant/model-download-phase enum
|
|
6225
|
-
const
|
|
6267
|
+
const encoding169 = {
|
|
6226
6268
|
preencode (state, m) {
|
|
6227
|
-
state.end++ // max enum is
|
|
6269
|
+
state.end++ // max enum is 5 so always one byte
|
|
6228
6270
|
},
|
|
6229
6271
|
encode (state, m) {
|
|
6230
6272
|
switch (m) {
|
|
@@ -6240,6 +6282,9 @@ const encoding168 = {
|
|
|
6240
6282
|
case 'error':
|
|
6241
6283
|
c.uint.encode(state, 4)
|
|
6242
6284
|
break
|
|
6285
|
+
case 'held':
|
|
6286
|
+
c.uint.encode(state, 5)
|
|
6287
|
+
break
|
|
6243
6288
|
default:
|
|
6244
6289
|
throw new Error('Unknown enum')
|
|
6245
6290
|
}
|
|
@@ -6254,16 +6299,18 @@ const encoding168 = {
|
|
|
6254
6299
|
return 'paused'
|
|
6255
6300
|
case 4:
|
|
6256
6301
|
return 'error'
|
|
6302
|
+
case 5:
|
|
6303
|
+
return 'held'
|
|
6257
6304
|
default: return null
|
|
6258
6305
|
}
|
|
6259
6306
|
}
|
|
6260
6307
|
}
|
|
6261
6308
|
|
|
6262
6309
|
// @assistant/model-download
|
|
6263
|
-
const
|
|
6310
|
+
const encoding170 = {
|
|
6264
6311
|
preencode(state, m) {
|
|
6265
6312
|
c.string.preencode(state, m.name)
|
|
6266
|
-
|
|
6313
|
+
encoding169.preencode(state, m.phase)
|
|
6267
6314
|
state.end++ // max flag is 16 so always one byte
|
|
6268
6315
|
|
|
6269
6316
|
if (m.percentage) c.uint.preencode(state, m.percentage)
|
|
@@ -6282,7 +6329,7 @@ const encoding169 = {
|
|
|
6282
6329
|
(m.bytesPerSecond ? 16 : 0)
|
|
6283
6330
|
|
|
6284
6331
|
c.string.encode(state, m.name)
|
|
6285
|
-
|
|
6332
|
+
encoding169.encode(state, m.phase)
|
|
6286
6333
|
c.uint.encode(state, flags)
|
|
6287
6334
|
|
|
6288
6335
|
if (m.percentage) c.uint.encode(state, m.percentage)
|
|
@@ -6294,7 +6341,7 @@ const encoding169 = {
|
|
|
6294
6341
|
},
|
|
6295
6342
|
decode(state) {
|
|
6296
6343
|
const r0 = c.string.decode(state)
|
|
6297
|
-
const r1 =
|
|
6344
|
+
const r1 = encoding169.decode(state)
|
|
6298
6345
|
const flags = c.uint.decode(state)
|
|
6299
6346
|
|
|
6300
6347
|
return {
|
|
@@ -6311,36 +6358,36 @@ const encoding169 = {
|
|
|
6311
6358
|
}
|
|
6312
6359
|
|
|
6313
6360
|
// @assistant/model-download-list.downloads
|
|
6314
|
-
const
|
|
6361
|
+
const encoding171_0 = c.array(c.frame(encoding170))
|
|
6315
6362
|
|
|
6316
6363
|
// @assistant/model-download-list
|
|
6317
|
-
const
|
|
6364
|
+
const encoding171 = {
|
|
6318
6365
|
preencode(state, m) {
|
|
6319
6366
|
state.end++ // max flag is 1 so always one byte
|
|
6320
6367
|
|
|
6321
|
-
if (m.downloads)
|
|
6368
|
+
if (m.downloads) encoding171_0.preencode(state, m.downloads)
|
|
6322
6369
|
},
|
|
6323
6370
|
encode(state, m) {
|
|
6324
6371
|
const flags = m.downloads ? 1 : 0
|
|
6325
6372
|
|
|
6326
6373
|
c.uint.encode(state, flags)
|
|
6327
6374
|
|
|
6328
|
-
if (m.downloads)
|
|
6375
|
+
if (m.downloads) encoding171_0.encode(state, m.downloads)
|
|
6329
6376
|
},
|
|
6330
6377
|
decode(state) {
|
|
6331
6378
|
const flags = c.uint.decode(state)
|
|
6332
6379
|
|
|
6333
6380
|
return {
|
|
6334
|
-
downloads: (flags & 1) !== 0 ?
|
|
6381
|
+
downloads: (flags & 1) !== 0 ? encoding171_0.decode(state) : null
|
|
6335
6382
|
}
|
|
6336
6383
|
}
|
|
6337
6384
|
}
|
|
6338
6385
|
|
|
6339
6386
|
// @assistant/set-model-download-status-request
|
|
6340
|
-
const
|
|
6387
|
+
const encoding172 = {
|
|
6341
6388
|
preencode(state, m) {
|
|
6342
6389
|
c.string.preencode(state, m.name)
|
|
6343
|
-
|
|
6390
|
+
encoding169.preencode(state, m.phase)
|
|
6344
6391
|
state.end++ // max flag is 16 so always one byte
|
|
6345
6392
|
|
|
6346
6393
|
if (m.percentage) c.uint.preencode(state, m.percentage)
|
|
@@ -6358,7 +6405,7 @@ const encoding171 = {
|
|
|
6358
6405
|
(m.bytesPerSecond ? 16 : 0)
|
|
6359
6406
|
|
|
6360
6407
|
c.string.encode(state, m.name)
|
|
6361
|
-
|
|
6408
|
+
encoding169.encode(state, m.phase)
|
|
6362
6409
|
c.uint.encode(state, flags)
|
|
6363
6410
|
|
|
6364
6411
|
if (m.percentage) c.uint.encode(state, m.percentage)
|
|
@@ -6369,7 +6416,7 @@ const encoding171 = {
|
|
|
6369
6416
|
},
|
|
6370
6417
|
decode(state) {
|
|
6371
6418
|
const r0 = c.string.decode(state)
|
|
6372
|
-
const r1 =
|
|
6419
|
+
const r1 = encoding169.decode(state)
|
|
6373
6420
|
const flags = c.uint.decode(state)
|
|
6374
6421
|
|
|
6375
6422
|
return {
|
|
@@ -6385,10 +6432,10 @@ const encoding171 = {
|
|
|
6385
6432
|
}
|
|
6386
6433
|
|
|
6387
6434
|
// @assistant/clear-model-download-request
|
|
6388
|
-
const
|
|
6435
|
+
const encoding173 = encoding48
|
|
6389
6436
|
|
|
6390
6437
|
// @assistant/custom-model
|
|
6391
|
-
const
|
|
6438
|
+
const encoding174 = {
|
|
6392
6439
|
preencode(state, m) {
|
|
6393
6440
|
const flags =
|
|
6394
6441
|
(m.mmprojSrc ? 1 : 0) |
|
|
@@ -6460,33 +6507,33 @@ const encoding173 = {
|
|
|
6460
6507
|
}
|
|
6461
6508
|
|
|
6462
6509
|
// @assistant/custom-model-list.models
|
|
6463
|
-
const
|
|
6510
|
+
const encoding175_0 = c.array(c.frame(encoding174))
|
|
6464
6511
|
|
|
6465
6512
|
// @assistant/custom-model-list
|
|
6466
|
-
const
|
|
6513
|
+
const encoding175 = {
|
|
6467
6514
|
preencode(state, m) {
|
|
6468
6515
|
state.end++ // max flag is 1 so always one byte
|
|
6469
6516
|
|
|
6470
|
-
if (m.models)
|
|
6517
|
+
if (m.models) encoding175_0.preencode(state, m.models)
|
|
6471
6518
|
},
|
|
6472
6519
|
encode(state, m) {
|
|
6473
6520
|
const flags = m.models ? 1 : 0
|
|
6474
6521
|
|
|
6475
6522
|
c.uint.encode(state, flags)
|
|
6476
6523
|
|
|
6477
|
-
if (m.models)
|
|
6524
|
+
if (m.models) encoding175_0.encode(state, m.models)
|
|
6478
6525
|
},
|
|
6479
6526
|
decode(state) {
|
|
6480
6527
|
const flags = c.uint.decode(state)
|
|
6481
6528
|
|
|
6482
6529
|
return {
|
|
6483
|
-
models: (flags & 1) !== 0 ?
|
|
6530
|
+
models: (flags & 1) !== 0 ? encoding175_0.decode(state) : null
|
|
6484
6531
|
}
|
|
6485
6532
|
}
|
|
6486
6533
|
}
|
|
6487
6534
|
|
|
6488
6535
|
// @assistant/add-custom-model-request
|
|
6489
|
-
const
|
|
6536
|
+
const encoding176 = {
|
|
6490
6537
|
preencode(state, m) {
|
|
6491
6538
|
c.string.preencode(state, m.label)
|
|
6492
6539
|
c.string.preencode(state, m.src)
|
|
@@ -6528,13 +6575,13 @@ const encoding175 = {
|
|
|
6528
6575
|
}
|
|
6529
6576
|
|
|
6530
6577
|
// @assistant/add-custom-model-response
|
|
6531
|
-
const
|
|
6578
|
+
const encoding177 = encoding95
|
|
6532
6579
|
|
|
6533
6580
|
// @assistant/remove-custom-model-request
|
|
6534
|
-
const
|
|
6581
|
+
const encoding178 = encoding48
|
|
6535
6582
|
|
|
6536
6583
|
// @assistant/preview-custom-model-request
|
|
6537
|
-
const
|
|
6584
|
+
const encoding179 = {
|
|
6538
6585
|
preencode(state, m) {
|
|
6539
6586
|
c.string.preencode(state, m.src)
|
|
6540
6587
|
state.end++ // max flag is 1 so always one byte
|
|
@@ -6561,7 +6608,7 @@ const encoding178 = {
|
|
|
6561
6608
|
}
|
|
6562
6609
|
|
|
6563
6610
|
// @assistant/custom-model-source-file
|
|
6564
|
-
const
|
|
6611
|
+
const encoding180 = {
|
|
6565
6612
|
preencode(state, m) {
|
|
6566
6613
|
c.string.preencode(state, m.src)
|
|
6567
6614
|
c.string.preencode(state, m.label)
|
|
@@ -6592,12 +6639,12 @@ const encoding179 = {
|
|
|
6592
6639
|
}
|
|
6593
6640
|
|
|
6594
6641
|
// @assistant/custom-model-preview.files
|
|
6595
|
-
const
|
|
6642
|
+
const encoding181_4 = c.array(c.frame(encoding180))
|
|
6596
6643
|
// @assistant/custom-model-preview.fitReasons
|
|
6597
|
-
const
|
|
6644
|
+
const encoding181_12 = encoding14_6
|
|
6598
6645
|
|
|
6599
6646
|
// @assistant/custom-model-preview
|
|
6600
|
-
const
|
|
6647
|
+
const encoding181 = {
|
|
6601
6648
|
preencode(state, m) {
|
|
6602
6649
|
const flags =
|
|
6603
6650
|
(m.ok ? 1 : 0) |
|
|
@@ -6620,7 +6667,7 @@ const encoding180 = {
|
|
|
6620
6667
|
if (m.refusal) c.string.preencode(state, m.refusal)
|
|
6621
6668
|
if (m.reason) c.string.preencode(state, m.reason)
|
|
6622
6669
|
if (m.src) c.string.preencode(state, m.src)
|
|
6623
|
-
if (m.files)
|
|
6670
|
+
if (m.files) encoding181_4.preencode(state, m.files)
|
|
6624
6671
|
if (m.sizeBytes) c.uint.preencode(state, m.sizeBytes)
|
|
6625
6672
|
if (m.contextLength) c.uint.preencode(state, m.contextLength)
|
|
6626
6673
|
if (m.architecture) c.string.preencode(state, m.architecture)
|
|
@@ -6628,7 +6675,7 @@ const encoding180 = {
|
|
|
6628
6675
|
if (m.taskType) c.string.preencode(state, m.taskType)
|
|
6629
6676
|
if (m.license) c.string.preencode(state, m.license)
|
|
6630
6677
|
if (m.fit) c.string.preencode(state, m.fit)
|
|
6631
|
-
if (m.fitReasons)
|
|
6678
|
+
if (m.fitReasons) encoding181_12.preencode(state, m.fitReasons)
|
|
6632
6679
|
if (m.mmprojSrc) c.string.preencode(state, m.mmprojSrc)
|
|
6633
6680
|
},
|
|
6634
6681
|
encode(state, m) {
|
|
@@ -6653,7 +6700,7 @@ const encoding180 = {
|
|
|
6653
6700
|
if (m.refusal) c.string.encode(state, m.refusal)
|
|
6654
6701
|
if (m.reason) c.string.encode(state, m.reason)
|
|
6655
6702
|
if (m.src) c.string.encode(state, m.src)
|
|
6656
|
-
if (m.files)
|
|
6703
|
+
if (m.files) encoding181_4.encode(state, m.files)
|
|
6657
6704
|
if (m.sizeBytes) c.uint.encode(state, m.sizeBytes)
|
|
6658
6705
|
if (m.contextLength) c.uint.encode(state, m.contextLength)
|
|
6659
6706
|
if (m.architecture) c.string.encode(state, m.architecture)
|
|
@@ -6661,7 +6708,7 @@ const encoding180 = {
|
|
|
6661
6708
|
if (m.taskType) c.string.encode(state, m.taskType)
|
|
6662
6709
|
if (m.license) c.string.encode(state, m.license)
|
|
6663
6710
|
if (m.fit) c.string.encode(state, m.fit)
|
|
6664
|
-
if (m.fitReasons)
|
|
6711
|
+
if (m.fitReasons) encoding181_12.encode(state, m.fitReasons)
|
|
6665
6712
|
if (m.mmprojSrc) c.string.encode(state, m.mmprojSrc)
|
|
6666
6713
|
},
|
|
6667
6714
|
decode(state) {
|
|
@@ -6672,7 +6719,7 @@ const encoding180 = {
|
|
|
6672
6719
|
refusal: (flags & 2) !== 0 ? c.string.decode(state) : null,
|
|
6673
6720
|
reason: (flags & 4) !== 0 ? c.string.decode(state) : null,
|
|
6674
6721
|
src: (flags & 8) !== 0 ? c.string.decode(state) : null,
|
|
6675
|
-
files: (flags & 16) !== 0 ?
|
|
6722
|
+
files: (flags & 16) !== 0 ? encoding181_4.decode(state) : null,
|
|
6676
6723
|
sizeBytes: (flags & 32) !== 0 ? c.uint.decode(state) : 0,
|
|
6677
6724
|
contextLength: (flags & 64) !== 0 ? c.uint.decode(state) : 0,
|
|
6678
6725
|
architecture: (flags & 128) !== 0 ? c.string.decode(state) : null,
|
|
@@ -6680,13 +6727,13 @@ const encoding180 = {
|
|
|
6680
6727
|
taskType: (flags & 512) !== 0 ? c.string.decode(state) : null,
|
|
6681
6728
|
license: (flags & 1024) !== 0 ? c.string.decode(state) : null,
|
|
6682
6729
|
fit: (flags & 2048) !== 0 ? c.string.decode(state) : null,
|
|
6683
|
-
fitReasons: (flags & 4096) !== 0 ?
|
|
6730
|
+
fitReasons: (flags & 4096) !== 0 ? encoding181_12.decode(state) : null,
|
|
6684
6731
|
mmprojSrc: (flags & 8192) !== 0 ? c.string.decode(state) : null
|
|
6685
6732
|
}
|
|
6686
6733
|
}
|
|
6687
6734
|
}
|
|
6688
6735
|
|
|
6689
|
-
const
|
|
6736
|
+
const encoding182_enum = {
|
|
6690
6737
|
debug: 'debug',
|
|
6691
6738
|
info: 'info',
|
|
6692
6739
|
warn: 'warn',
|
|
@@ -6694,7 +6741,7 @@ const encoding181_enum = {
|
|
|
6694
6741
|
}
|
|
6695
6742
|
|
|
6696
6743
|
// @assistant/log-level enum
|
|
6697
|
-
const
|
|
6744
|
+
const encoding182 = {
|
|
6698
6745
|
preencode (state, m) {
|
|
6699
6746
|
state.end++ // max enum is 4 so always one byte
|
|
6700
6747
|
},
|
|
@@ -6731,13 +6778,13 @@ const encoding181 = {
|
|
|
6731
6778
|
}
|
|
6732
6779
|
}
|
|
6733
6780
|
|
|
6734
|
-
const
|
|
6781
|
+
const encoding183_enum = {
|
|
6735
6782
|
core: 'core',
|
|
6736
6783
|
client: 'client'
|
|
6737
6784
|
}
|
|
6738
6785
|
|
|
6739
6786
|
// @assistant/log-origin enum
|
|
6740
|
-
const
|
|
6787
|
+
const encoding183 = {
|
|
6741
6788
|
preencode (state, m) {
|
|
6742
6789
|
state.end++ // max enum is 2 so always one byte
|
|
6743
6790
|
},
|
|
@@ -6765,19 +6812,19 @@ const encoding182 = {
|
|
|
6765
6812
|
}
|
|
6766
6813
|
|
|
6767
6814
|
// @assistant/log-line.scope
|
|
6768
|
-
const
|
|
6815
|
+
const encoding184_3 = encoding14_6
|
|
6769
6816
|
|
|
6770
6817
|
// @assistant/log-line
|
|
6771
|
-
const
|
|
6818
|
+
const encoding184 = {
|
|
6772
6819
|
preencode(state, m) {
|
|
6773
6820
|
c.uint.preencode(state, m.seq)
|
|
6774
6821
|
c.uint.preencode(state, m.at)
|
|
6775
|
-
|
|
6822
|
+
encoding182.preencode(state, m.level)
|
|
6776
6823
|
state.end++ // max flag is 2 so always one byte
|
|
6777
6824
|
|
|
6778
|
-
if (m.scope)
|
|
6825
|
+
if (m.scope) encoding184_3.preencode(state, m.scope)
|
|
6779
6826
|
c.string.preencode(state, m.message)
|
|
6780
|
-
|
|
6827
|
+
encoding183.preencode(state, m.origin)
|
|
6781
6828
|
if (m.originDeviceId) c.fixed32.preencode(state, m.originDeviceId)
|
|
6782
6829
|
},
|
|
6783
6830
|
encode(state, m) {
|
|
@@ -6785,123 +6832,123 @@ const encoding183 = {
|
|
|
6785
6832
|
|
|
6786
6833
|
c.uint.encode(state, m.seq)
|
|
6787
6834
|
c.uint.encode(state, m.at)
|
|
6788
|
-
|
|
6835
|
+
encoding182.encode(state, m.level)
|
|
6789
6836
|
c.uint.encode(state, flags)
|
|
6790
6837
|
|
|
6791
|
-
if (m.scope)
|
|
6838
|
+
if (m.scope) encoding184_3.encode(state, m.scope)
|
|
6792
6839
|
c.string.encode(state, m.message)
|
|
6793
|
-
|
|
6840
|
+
encoding183.encode(state, m.origin)
|
|
6794
6841
|
if (m.originDeviceId) c.fixed32.encode(state, m.originDeviceId)
|
|
6795
6842
|
},
|
|
6796
6843
|
decode(state) {
|
|
6797
6844
|
const r0 = c.uint.decode(state)
|
|
6798
6845
|
const r1 = c.uint.decode(state)
|
|
6799
|
-
const r2 =
|
|
6846
|
+
const r2 = encoding182.decode(state)
|
|
6800
6847
|
const flags = c.uint.decode(state)
|
|
6801
6848
|
|
|
6802
6849
|
return {
|
|
6803
6850
|
seq: r0,
|
|
6804
6851
|
at: r1,
|
|
6805
6852
|
level: r2,
|
|
6806
|
-
scope: (flags & 1) !== 0 ?
|
|
6853
|
+
scope: (flags & 1) !== 0 ? encoding184_3.decode(state) : null,
|
|
6807
6854
|
message: c.string.decode(state),
|
|
6808
|
-
origin:
|
|
6855
|
+
origin: encoding183.decode(state),
|
|
6809
6856
|
originDeviceId: (flags & 2) !== 0 ? c.fixed32.decode(state) : null
|
|
6810
6857
|
}
|
|
6811
6858
|
}
|
|
6812
6859
|
}
|
|
6813
6860
|
|
|
6814
6861
|
// @assistant/log-line-list.lines
|
|
6815
|
-
const
|
|
6862
|
+
const encoding185_0 = c.array(c.frame(encoding184))
|
|
6816
6863
|
|
|
6817
6864
|
// @assistant/log-line-list
|
|
6818
|
-
const
|
|
6865
|
+
const encoding185 = {
|
|
6819
6866
|
preencode(state, m) {
|
|
6820
6867
|
state.end++ // max flag is 1 so always one byte
|
|
6821
6868
|
|
|
6822
|
-
if (m.lines)
|
|
6869
|
+
if (m.lines) encoding185_0.preencode(state, m.lines)
|
|
6823
6870
|
},
|
|
6824
6871
|
encode(state, m) {
|
|
6825
6872
|
const flags = m.lines ? 1 : 0
|
|
6826
6873
|
|
|
6827
6874
|
c.uint.encode(state, flags)
|
|
6828
6875
|
|
|
6829
|
-
if (m.lines)
|
|
6876
|
+
if (m.lines) encoding185_0.encode(state, m.lines)
|
|
6830
6877
|
},
|
|
6831
6878
|
decode(state) {
|
|
6832
6879
|
const flags = c.uint.decode(state)
|
|
6833
6880
|
|
|
6834
6881
|
return {
|
|
6835
|
-
lines: (flags & 1) !== 0 ?
|
|
6882
|
+
lines: (flags & 1) !== 0 ? encoding185_0.decode(state) : null
|
|
6836
6883
|
}
|
|
6837
6884
|
}
|
|
6838
6885
|
}
|
|
6839
6886
|
|
|
6840
6887
|
// @assistant/logs-watch-request.scope
|
|
6841
|
-
const
|
|
6888
|
+
const encoding186_1 = encoding14_6
|
|
6842
6889
|
|
|
6843
6890
|
// @assistant/logs-watch-request
|
|
6844
|
-
const
|
|
6891
|
+
const encoding186 = {
|
|
6845
6892
|
preencode(state, m) {
|
|
6846
6893
|
state.end++ // max flag is 8 so always one byte
|
|
6847
6894
|
|
|
6848
|
-
if (m.level)
|
|
6849
|
-
if (m.scope)
|
|
6895
|
+
if (m.level) encoding182.preencode(state, m.level)
|
|
6896
|
+
if (m.scope) encoding186_1.preencode(state, m.scope)
|
|
6850
6897
|
if (m.backfill) c.uint.preencode(state, m.backfill)
|
|
6851
|
-
if (m.origin)
|
|
6898
|
+
if (m.origin) encoding183.preencode(state, m.origin)
|
|
6852
6899
|
},
|
|
6853
6900
|
encode(state, m) {
|
|
6854
6901
|
const flags = (m.level ? 1 : 0) | (m.scope ? 2 : 0) | (m.backfill ? 4 : 0) | (m.origin ? 8 : 0)
|
|
6855
6902
|
|
|
6856
6903
|
c.uint.encode(state, flags)
|
|
6857
6904
|
|
|
6858
|
-
if (m.level)
|
|
6859
|
-
if (m.scope)
|
|
6905
|
+
if (m.level) encoding182.encode(state, m.level)
|
|
6906
|
+
if (m.scope) encoding186_1.encode(state, m.scope)
|
|
6860
6907
|
if (m.backfill) c.uint.encode(state, m.backfill)
|
|
6861
|
-
if (m.origin)
|
|
6908
|
+
if (m.origin) encoding183.encode(state, m.origin)
|
|
6862
6909
|
},
|
|
6863
6910
|
decode(state) {
|
|
6864
6911
|
const flags = c.uint.decode(state)
|
|
6865
6912
|
|
|
6866
6913
|
return {
|
|
6867
|
-
level: (flags & 1) !== 0 ?
|
|
6868
|
-
scope: (flags & 2) !== 0 ?
|
|
6914
|
+
level: (flags & 1) !== 0 ? encoding182.decode(state) : null,
|
|
6915
|
+
scope: (flags & 2) !== 0 ? encoding186_1.decode(state) : null,
|
|
6869
6916
|
backfill: (flags & 4) !== 0 ? c.uint.decode(state) : 0,
|
|
6870
|
-
origin: (flags & 8) !== 0 ?
|
|
6917
|
+
origin: (flags & 8) !== 0 ? encoding183.decode(state) : null
|
|
6871
6918
|
}
|
|
6872
6919
|
}
|
|
6873
6920
|
}
|
|
6874
6921
|
|
|
6875
6922
|
// @assistant/write-log-request.scope
|
|
6876
|
-
const
|
|
6923
|
+
const encoding187_1 = encoding14_6
|
|
6877
6924
|
|
|
6878
6925
|
// @assistant/write-log-request
|
|
6879
|
-
const
|
|
6926
|
+
const encoding187 = {
|
|
6880
6927
|
preencode(state, m) {
|
|
6881
|
-
|
|
6928
|
+
encoding182.preencode(state, m.level)
|
|
6882
6929
|
state.end++ // max flag is 1 so always one byte
|
|
6883
6930
|
|
|
6884
|
-
if (m.scope)
|
|
6931
|
+
if (m.scope) encoding187_1.preencode(state, m.scope)
|
|
6885
6932
|
c.string.preencode(state, m.message)
|
|
6886
6933
|
c.uint.preencode(state, m.at)
|
|
6887
6934
|
},
|
|
6888
6935
|
encode(state, m) {
|
|
6889
6936
|
const flags = m.scope ? 1 : 0
|
|
6890
6937
|
|
|
6891
|
-
|
|
6938
|
+
encoding182.encode(state, m.level)
|
|
6892
6939
|
c.uint.encode(state, flags)
|
|
6893
6940
|
|
|
6894
|
-
if (m.scope)
|
|
6941
|
+
if (m.scope) encoding187_1.encode(state, m.scope)
|
|
6895
6942
|
c.string.encode(state, m.message)
|
|
6896
6943
|
c.uint.encode(state, m.at)
|
|
6897
6944
|
},
|
|
6898
6945
|
decode(state) {
|
|
6899
|
-
const r0 =
|
|
6946
|
+
const r0 = encoding182.decode(state)
|
|
6900
6947
|
const flags = c.uint.decode(state)
|
|
6901
6948
|
|
|
6902
6949
|
return {
|
|
6903
6950
|
level: r0,
|
|
6904
|
-
scope: (flags & 1) !== 0 ?
|
|
6951
|
+
scope: (flags & 1) !== 0 ? encoding187_1.decode(state) : null,
|
|
6905
6952
|
message: c.string.decode(state),
|
|
6906
6953
|
at: c.uint.decode(state)
|
|
6907
6954
|
}
|
|
@@ -6909,7 +6956,7 @@ const encoding186 = {
|
|
|
6909
6956
|
}
|
|
6910
6957
|
|
|
6911
6958
|
// @assistant/transcribe-request
|
|
6912
|
-
const
|
|
6959
|
+
const encoding188 = {
|
|
6913
6960
|
preencode(state, m) {
|
|
6914
6961
|
c.buffer.preencode(state, m.audio)
|
|
6915
6962
|
state.end++ // max flag is 1 so always one byte
|
|
@@ -6936,7 +6983,7 @@ const encoding187 = {
|
|
|
6936
6983
|
}
|
|
6937
6984
|
|
|
6938
6985
|
// @assistant/transcribe-response
|
|
6939
|
-
const
|
|
6986
|
+
const encoding189 = {
|
|
6940
6987
|
preencode(state, m) {
|
|
6941
6988
|
c.string.preencode(state, m.text)
|
|
6942
6989
|
},
|
|
@@ -6953,7 +7000,7 @@ const encoding188 = {
|
|
|
6953
7000
|
}
|
|
6954
7001
|
|
|
6955
7002
|
// @assistant/detect-language-request
|
|
6956
|
-
const
|
|
7003
|
+
const encoding190 = {
|
|
6957
7004
|
preencode(state, m) {
|
|
6958
7005
|
c.string.preencode(state, m.text)
|
|
6959
7006
|
state.end++ // max flag is 1 so always one byte
|
|
@@ -6980,7 +7027,7 @@ const encoding189 = {
|
|
|
6980
7027
|
}
|
|
6981
7028
|
|
|
6982
7029
|
// @assistant/detected-language
|
|
6983
|
-
const
|
|
7030
|
+
const encoding191 = {
|
|
6984
7031
|
preencode(state, m) {
|
|
6985
7032
|
c.string.preencode(state, m.code)
|
|
6986
7033
|
c.string.preencode(state, m.language)
|
|
@@ -7011,18 +7058,18 @@ const encoding190 = {
|
|
|
7011
7058
|
}
|
|
7012
7059
|
|
|
7013
7060
|
// @assistant/detect-language-response.languages
|
|
7014
|
-
const
|
|
7061
|
+
const encoding192_0 = c.array(c.frame(encoding191))
|
|
7015
7062
|
|
|
7016
7063
|
// @assistant/detect-language-response
|
|
7017
|
-
const
|
|
7064
|
+
const encoding192 = {
|
|
7018
7065
|
preencode(state, m) {
|
|
7019
|
-
|
|
7066
|
+
encoding192_0.preencode(state, m.languages)
|
|
7020
7067
|
},
|
|
7021
7068
|
encode(state, m) {
|
|
7022
|
-
|
|
7069
|
+
encoding192_0.encode(state, m.languages)
|
|
7023
7070
|
},
|
|
7024
7071
|
decode(state) {
|
|
7025
|
-
const r0 =
|
|
7072
|
+
const r0 = encoding192_0.decode(state)
|
|
7026
7073
|
|
|
7027
7074
|
return {
|
|
7028
7075
|
languages: r0
|
|
@@ -7031,7 +7078,7 @@ const encoding191 = {
|
|
|
7031
7078
|
}
|
|
7032
7079
|
|
|
7033
7080
|
// @assistant/speak-request
|
|
7034
|
-
const
|
|
7081
|
+
const encoding193 = {
|
|
7035
7082
|
preencode(state, m) {
|
|
7036
7083
|
c.string.preencode(state, m.text)
|
|
7037
7084
|
state.end++ // max flag is 1 so always one byte
|
|
@@ -7058,7 +7105,7 @@ const encoding192 = {
|
|
|
7058
7105
|
}
|
|
7059
7106
|
|
|
7060
7107
|
// @assistant/speak-response
|
|
7061
|
-
const
|
|
7108
|
+
const encoding194 = {
|
|
7062
7109
|
preencode(state, m) {
|
|
7063
7110
|
c.buffer.preencode(state, m.audio)
|
|
7064
7111
|
c.uint.preencode(state, m.sampleRate)
|
|
@@ -7079,7 +7126,7 @@ const encoding193 = {
|
|
|
7079
7126
|
}
|
|
7080
7127
|
|
|
7081
7128
|
// @assistant/skill-binary-requirement
|
|
7082
|
-
const
|
|
7129
|
+
const encoding195 = {
|
|
7083
7130
|
preencode(state, m) {
|
|
7084
7131
|
c.string.preencode(state, m.bin)
|
|
7085
7132
|
state.end++ // max flag is 2 so always one byte
|
|
@@ -7109,41 +7156,41 @@ const encoding194 = {
|
|
|
7109
7156
|
}
|
|
7110
7157
|
|
|
7111
7158
|
// @assistant/skill-requirements.binaries
|
|
7112
|
-
const
|
|
7159
|
+
const encoding196_0 = c.array(c.frame(encoding195))
|
|
7113
7160
|
// @assistant/skill-requirements.credentials
|
|
7114
|
-
const
|
|
7161
|
+
const encoding196_1 = encoding14_6
|
|
7115
7162
|
|
|
7116
7163
|
// @assistant/skill-requirements
|
|
7117
|
-
const
|
|
7164
|
+
const encoding196 = {
|
|
7118
7165
|
preencode(state, m) {
|
|
7119
7166
|
state.end++ // max flag is 2 so always one byte
|
|
7120
7167
|
|
|
7121
|
-
if (m.binaries)
|
|
7122
|
-
if (m.credentials)
|
|
7168
|
+
if (m.binaries) encoding196_0.preencode(state, m.binaries)
|
|
7169
|
+
if (m.credentials) encoding196_1.preencode(state, m.credentials)
|
|
7123
7170
|
},
|
|
7124
7171
|
encode(state, m) {
|
|
7125
7172
|
const flags = (m.binaries ? 1 : 0) | (m.credentials ? 2 : 0)
|
|
7126
7173
|
|
|
7127
7174
|
c.uint.encode(state, flags)
|
|
7128
7175
|
|
|
7129
|
-
if (m.binaries)
|
|
7130
|
-
if (m.credentials)
|
|
7176
|
+
if (m.binaries) encoding196_0.encode(state, m.binaries)
|
|
7177
|
+
if (m.credentials) encoding196_1.encode(state, m.credentials)
|
|
7131
7178
|
},
|
|
7132
7179
|
decode(state) {
|
|
7133
7180
|
const flags = c.uint.decode(state)
|
|
7134
7181
|
|
|
7135
7182
|
return {
|
|
7136
|
-
binaries: (flags & 1) !== 0 ?
|
|
7137
|
-
credentials: (flags & 2) !== 0 ?
|
|
7183
|
+
binaries: (flags & 1) !== 0 ? encoding196_0.decode(state) : null,
|
|
7184
|
+
credentials: (flags & 2) !== 0 ? encoding196_1.decode(state) : null
|
|
7138
7185
|
}
|
|
7139
7186
|
}
|
|
7140
7187
|
}
|
|
7141
7188
|
|
|
7142
7189
|
// @assistant/skill-install-step.bins
|
|
7143
|
-
const
|
|
7190
|
+
const encoding197_6 = encoding14_6
|
|
7144
7191
|
|
|
7145
7192
|
// @assistant/skill-install-step
|
|
7146
|
-
const
|
|
7193
|
+
const encoding197 = {
|
|
7147
7194
|
preencode(state, m) {
|
|
7148
7195
|
c.string.preencode(state, m.id)
|
|
7149
7196
|
c.string.preencode(state, m.kind)
|
|
@@ -7152,7 +7199,7 @@ const encoding196 = {
|
|
|
7152
7199
|
|
|
7153
7200
|
if (m.formula) c.string.preencode(state, m.formula)
|
|
7154
7201
|
if (m.command) c.string.preencode(state, m.command)
|
|
7155
|
-
if (m.bins)
|
|
7202
|
+
if (m.bins) encoding197_6.preencode(state, m.bins)
|
|
7156
7203
|
},
|
|
7157
7204
|
encode(state, m) {
|
|
7158
7205
|
const flags = (m.formula ? 1 : 0) | (m.command ? 2 : 0) | (m.manual ? 4 : 0) | (m.bins ? 8 : 0)
|
|
@@ -7164,7 +7211,7 @@ const encoding196 = {
|
|
|
7164
7211
|
|
|
7165
7212
|
if (m.formula) c.string.encode(state, m.formula)
|
|
7166
7213
|
if (m.command) c.string.encode(state, m.command)
|
|
7167
|
-
if (m.bins)
|
|
7214
|
+
if (m.bins) encoding197_6.encode(state, m.bins)
|
|
7168
7215
|
},
|
|
7169
7216
|
decode(state) {
|
|
7170
7217
|
const r0 = c.string.decode(state)
|
|
@@ -7179,13 +7226,13 @@ const encoding196 = {
|
|
|
7179
7226
|
formula: (flags & 1) !== 0 ? c.string.decode(state) : null,
|
|
7180
7227
|
command: (flags & 2) !== 0 ? c.string.decode(state) : null,
|
|
7181
7228
|
manual: (flags & 4) !== 0,
|
|
7182
|
-
bins: (flags & 8) !== 0 ?
|
|
7229
|
+
bins: (flags & 8) !== 0 ? encoding197_6.decode(state) : null
|
|
7183
7230
|
}
|
|
7184
7231
|
}
|
|
7185
7232
|
}
|
|
7186
7233
|
|
|
7187
7234
|
// @assistant/skill-setup-field
|
|
7188
|
-
const
|
|
7235
|
+
const encoding198 = {
|
|
7189
7236
|
preencode(state, m) {
|
|
7190
7237
|
c.string.preencode(state, m.key)
|
|
7191
7238
|
c.string.preencode(state, m.label)
|
|
@@ -7217,14 +7264,14 @@ const encoding197 = {
|
|
|
7217
7264
|
}
|
|
7218
7265
|
}
|
|
7219
7266
|
|
|
7220
|
-
const
|
|
7267
|
+
const encoding199_enum = {
|
|
7221
7268
|
"pkce-only": 'pkce-only',
|
|
7222
7269
|
"secret-in-body": 'secret-in-body',
|
|
7223
7270
|
"secret-in-basic": 'secret-in-basic'
|
|
7224
7271
|
}
|
|
7225
7272
|
|
|
7226
7273
|
// @assistant/skill-setup-token-auth enum
|
|
7227
|
-
const
|
|
7274
|
+
const encoding199 = {
|
|
7228
7275
|
preencode (state, m) {
|
|
7229
7276
|
state.end++ // max enum is 3 so always one byte
|
|
7230
7277
|
},
|
|
@@ -7257,18 +7304,18 @@ const encoding198 = {
|
|
|
7257
7304
|
}
|
|
7258
7305
|
|
|
7259
7306
|
// @assistant/skill-setup-oauth.scopes
|
|
7260
|
-
const
|
|
7307
|
+
const encoding200_4 = encoding14_6
|
|
7261
7308
|
|
|
7262
7309
|
// @assistant/skill-setup-oauth
|
|
7263
|
-
const
|
|
7310
|
+
const encoding200 = {
|
|
7264
7311
|
preencode(state, m) {
|
|
7265
7312
|
c.string.preencode(state, m.stateKey)
|
|
7266
7313
|
c.string.preencode(state, m.authUrl)
|
|
7267
7314
|
c.string.preencode(state, m.tokenUrl)
|
|
7268
|
-
|
|
7315
|
+
encoding199.preencode(state, m.tokenAuth)
|
|
7269
7316
|
state.end++ // max flag is 16 so always one byte
|
|
7270
7317
|
|
|
7271
|
-
if (m.scopes)
|
|
7318
|
+
if (m.scopes) encoding200_4.preencode(state, m.scopes)
|
|
7272
7319
|
if (m.extraAuthParams) c.json.preencode(state, m.extraAuthParams)
|
|
7273
7320
|
if (m.registrationEndpoint) c.string.preencode(state, m.registrationEndpoint)
|
|
7274
7321
|
if (m.port) c.uint.preencode(state, m.port)
|
|
@@ -7284,10 +7331,10 @@ const encoding199 = {
|
|
|
7284
7331
|
c.string.encode(state, m.stateKey)
|
|
7285
7332
|
c.string.encode(state, m.authUrl)
|
|
7286
7333
|
c.string.encode(state, m.tokenUrl)
|
|
7287
|
-
|
|
7334
|
+
encoding199.encode(state, m.tokenAuth)
|
|
7288
7335
|
c.uint.encode(state, flags)
|
|
7289
7336
|
|
|
7290
|
-
if (m.scopes)
|
|
7337
|
+
if (m.scopes) encoding200_4.encode(state, m.scopes)
|
|
7291
7338
|
if (m.extraAuthParams) c.json.encode(state, m.extraAuthParams)
|
|
7292
7339
|
if (m.registrationEndpoint) c.string.encode(state, m.registrationEndpoint)
|
|
7293
7340
|
if (m.port) c.uint.encode(state, m.port)
|
|
@@ -7296,7 +7343,7 @@ const encoding199 = {
|
|
|
7296
7343
|
const r0 = c.string.decode(state)
|
|
7297
7344
|
const r1 = c.string.decode(state)
|
|
7298
7345
|
const r2 = c.string.decode(state)
|
|
7299
|
-
const r3 =
|
|
7346
|
+
const r3 = encoding199.decode(state)
|
|
7300
7347
|
const flags = c.uint.decode(state)
|
|
7301
7348
|
|
|
7302
7349
|
return {
|
|
@@ -7304,7 +7351,7 @@ const encoding199 = {
|
|
|
7304
7351
|
authUrl: r1,
|
|
7305
7352
|
tokenUrl: r2,
|
|
7306
7353
|
tokenAuth: r3,
|
|
7307
|
-
scopes: (flags & 1) !== 0 ?
|
|
7354
|
+
scopes: (flags & 1) !== 0 ? encoding200_4.decode(state) : null,
|
|
7308
7355
|
extraAuthParams: (flags & 2) !== 0 ? c.json.decode(state) : null,
|
|
7309
7356
|
registrationEndpoint: (flags & 4) !== 0 ? c.string.decode(state) : null,
|
|
7310
7357
|
port: (flags & 8) !== 0 ? c.uint.decode(state) : 0,
|
|
@@ -7313,7 +7360,7 @@ const encoding199 = {
|
|
|
7313
7360
|
}
|
|
7314
7361
|
}
|
|
7315
7362
|
|
|
7316
|
-
const
|
|
7363
|
+
const encoding201_enum = {
|
|
7317
7364
|
oauth: 'oauth',
|
|
7318
7365
|
token: 'token',
|
|
7319
7366
|
install: 'install',
|
|
@@ -7322,7 +7369,7 @@ const encoding200_enum = {
|
|
|
7322
7369
|
}
|
|
7323
7370
|
|
|
7324
7371
|
// @assistant/skill-setup-route-kind enum
|
|
7325
|
-
const
|
|
7372
|
+
const encoding201 = {
|
|
7326
7373
|
preencode (state, m) {
|
|
7327
7374
|
state.end++ // max enum is 5 so always one byte
|
|
7328
7375
|
},
|
|
@@ -7365,16 +7412,16 @@ const encoding200 = {
|
|
|
7365
7412
|
}
|
|
7366
7413
|
|
|
7367
7414
|
// @assistant/skill-setup-route.steps
|
|
7368
|
-
const
|
|
7415
|
+
const encoding202_6 = encoding14_6
|
|
7369
7416
|
// @assistant/skill-setup-route.configSteps
|
|
7370
|
-
const
|
|
7417
|
+
const encoding202_7 = encoding14_6
|
|
7371
7418
|
// @assistant/skill-setup-route.fields
|
|
7372
|
-
const
|
|
7419
|
+
const encoding202_8 = c.array(c.frame(encoding198))
|
|
7373
7420
|
// @assistant/skill-setup-route.oauth
|
|
7374
|
-
const
|
|
7421
|
+
const encoding202_10 = c.frame(encoding200)
|
|
7375
7422
|
|
|
7376
7423
|
// @assistant/skill-setup-route
|
|
7377
|
-
const
|
|
7424
|
+
const encoding202 = {
|
|
7378
7425
|
preencode(state, m) {
|
|
7379
7426
|
const flags =
|
|
7380
7427
|
(m.provider ? 1 : 0) |
|
|
@@ -7387,7 +7434,7 @@ const encoding201 = {
|
|
|
7387
7434
|
(m.satisfied ? 128 : 0) |
|
|
7388
7435
|
(m.oauth ? 256 : 0)
|
|
7389
7436
|
|
|
7390
|
-
|
|
7437
|
+
encoding201.preencode(state, m.kind)
|
|
7391
7438
|
c.string.preencode(state, m.label)
|
|
7392
7439
|
c.uint.preencode(state, flags)
|
|
7393
7440
|
|
|
@@ -7395,10 +7442,10 @@ const encoding201 = {
|
|
|
7395
7442
|
if (m.credentialKey) c.string.preencode(state, m.credentialKey)
|
|
7396
7443
|
if (m.description) c.string.preencode(state, m.description)
|
|
7397
7444
|
if (m.helpUrl) c.string.preencode(state, m.helpUrl)
|
|
7398
|
-
if (m.steps)
|
|
7399
|
-
if (m.configSteps)
|
|
7400
|
-
if (m.fields)
|
|
7401
|
-
if (m.oauth)
|
|
7445
|
+
if (m.steps) encoding202_6.preencode(state, m.steps)
|
|
7446
|
+
if (m.configSteps) encoding202_7.preencode(state, m.configSteps)
|
|
7447
|
+
if (m.fields) encoding202_8.preencode(state, m.fields)
|
|
7448
|
+
if (m.oauth) encoding202_10.preencode(state, m.oauth)
|
|
7402
7449
|
},
|
|
7403
7450
|
encode(state, m) {
|
|
7404
7451
|
const flags =
|
|
@@ -7412,7 +7459,7 @@ const encoding201 = {
|
|
|
7412
7459
|
(m.satisfied ? 128 : 0) |
|
|
7413
7460
|
(m.oauth ? 256 : 0)
|
|
7414
7461
|
|
|
7415
|
-
|
|
7462
|
+
encoding201.encode(state, m.kind)
|
|
7416
7463
|
c.string.encode(state, m.label)
|
|
7417
7464
|
c.uint.encode(state, flags)
|
|
7418
7465
|
|
|
@@ -7420,13 +7467,13 @@ const encoding201 = {
|
|
|
7420
7467
|
if (m.credentialKey) c.string.encode(state, m.credentialKey)
|
|
7421
7468
|
if (m.description) c.string.encode(state, m.description)
|
|
7422
7469
|
if (m.helpUrl) c.string.encode(state, m.helpUrl)
|
|
7423
|
-
if (m.steps)
|
|
7424
|
-
if (m.configSteps)
|
|
7425
|
-
if (m.fields)
|
|
7426
|
-
if (m.oauth)
|
|
7470
|
+
if (m.steps) encoding202_6.encode(state, m.steps)
|
|
7471
|
+
if (m.configSteps) encoding202_7.encode(state, m.configSteps)
|
|
7472
|
+
if (m.fields) encoding202_8.encode(state, m.fields)
|
|
7473
|
+
if (m.oauth) encoding202_10.encode(state, m.oauth)
|
|
7427
7474
|
},
|
|
7428
7475
|
decode(state) {
|
|
7429
|
-
const r0 =
|
|
7476
|
+
const r0 = encoding201.decode(state)
|
|
7430
7477
|
const r1 = c.string.decode(state)
|
|
7431
7478
|
const flags = c.uint.decode(state)
|
|
7432
7479
|
|
|
@@ -7437,25 +7484,25 @@ const encoding201 = {
|
|
|
7437
7484
|
credentialKey: (flags & 2) !== 0 ? c.string.decode(state) : null,
|
|
7438
7485
|
description: (flags & 4) !== 0 ? c.string.decode(state) : null,
|
|
7439
7486
|
helpUrl: (flags & 8) !== 0 ? c.string.decode(state) : null,
|
|
7440
|
-
steps: (flags & 16) !== 0 ?
|
|
7441
|
-
configSteps: (flags & 32) !== 0 ?
|
|
7442
|
-
fields: (flags & 64) !== 0 ?
|
|
7487
|
+
steps: (flags & 16) !== 0 ? encoding202_6.decode(state) : null,
|
|
7488
|
+
configSteps: (flags & 32) !== 0 ? encoding202_7.decode(state) : null,
|
|
7489
|
+
fields: (flags & 64) !== 0 ? encoding202_8.decode(state) : null,
|
|
7443
7490
|
satisfied: (flags & 128) !== 0,
|
|
7444
|
-
oauth: (flags & 256) !== 0 ?
|
|
7491
|
+
oauth: (flags & 256) !== 0 ? encoding202_10.decode(state) : null
|
|
7445
7492
|
}
|
|
7446
7493
|
}
|
|
7447
7494
|
}
|
|
7448
7495
|
|
|
7449
7496
|
// @assistant/skill-setup.routes
|
|
7450
|
-
const
|
|
7497
|
+
const encoding203_1 = c.array(c.frame(encoding202))
|
|
7451
7498
|
|
|
7452
7499
|
// @assistant/skill-setup
|
|
7453
|
-
const
|
|
7500
|
+
const encoding203 = {
|
|
7454
7501
|
preencode(state, m) {
|
|
7455
7502
|
state.end++ // max flag is 2 so always one byte
|
|
7456
7503
|
|
|
7457
7504
|
if (m.summary) c.string.preencode(state, m.summary)
|
|
7458
|
-
if (m.routes)
|
|
7505
|
+
if (m.routes) encoding203_1.preencode(state, m.routes)
|
|
7459
7506
|
},
|
|
7460
7507
|
encode(state, m) {
|
|
7461
7508
|
const flags = (m.summary ? 1 : 0) | (m.routes ? 2 : 0)
|
|
@@ -7463,35 +7510,35 @@ const encoding202 = {
|
|
|
7463
7510
|
c.uint.encode(state, flags)
|
|
7464
7511
|
|
|
7465
7512
|
if (m.summary) c.string.encode(state, m.summary)
|
|
7466
|
-
if (m.routes)
|
|
7513
|
+
if (m.routes) encoding203_1.encode(state, m.routes)
|
|
7467
7514
|
},
|
|
7468
7515
|
decode(state) {
|
|
7469
7516
|
const flags = c.uint.decode(state)
|
|
7470
7517
|
|
|
7471
7518
|
return {
|
|
7472
7519
|
summary: (flags & 1) !== 0 ? c.string.decode(state) : null,
|
|
7473
|
-
routes: (flags & 2) !== 0 ?
|
|
7520
|
+
routes: (flags & 2) !== 0 ? encoding203_1.decode(state) : null
|
|
7474
7521
|
}
|
|
7475
7522
|
}
|
|
7476
7523
|
}
|
|
7477
7524
|
|
|
7478
7525
|
// @assistant/skill.tools
|
|
7479
|
-
const
|
|
7526
|
+
const encoding204_2 = encoding14_6
|
|
7480
7527
|
// @assistant/skill.credentials
|
|
7481
|
-
const
|
|
7528
|
+
const encoding204_3 = encoding14_6
|
|
7482
7529
|
// @assistant/skill.allowList
|
|
7483
|
-
const
|
|
7530
|
+
const encoding204_4 = encoding14_6
|
|
7484
7531
|
// @assistant/skill.platforms
|
|
7485
|
-
const
|
|
7532
|
+
const encoding204_5 = encoding14_6
|
|
7486
7533
|
// @assistant/skill.requirements
|
|
7487
|
-
const
|
|
7534
|
+
const encoding204_6 = c.frame(encoding196)
|
|
7488
7535
|
// @assistant/skill.install
|
|
7489
|
-
const
|
|
7536
|
+
const encoding204_7 = c.array(c.frame(encoding197))
|
|
7490
7537
|
// @assistant/skill.setup
|
|
7491
|
-
const
|
|
7538
|
+
const encoding204_8 = c.frame(encoding203)
|
|
7492
7539
|
|
|
7493
7540
|
// @assistant/skill
|
|
7494
|
-
const
|
|
7541
|
+
const encoding204 = {
|
|
7495
7542
|
preencode(state, m) {
|
|
7496
7543
|
const flags =
|
|
7497
7544
|
(m.tools ? 1 : 0) |
|
|
@@ -7509,13 +7556,13 @@ const encoding203 = {
|
|
|
7509
7556
|
c.string.preencode(state, m.description)
|
|
7510
7557
|
c.uint.preencode(state, flags)
|
|
7511
7558
|
|
|
7512
|
-
if (m.tools)
|
|
7513
|
-
if (m.credentials)
|
|
7514
|
-
if (m.allowList)
|
|
7515
|
-
if (m.platforms)
|
|
7516
|
-
if (m.requirements)
|
|
7517
|
-
if (m.install)
|
|
7518
|
-
if (m.setup)
|
|
7559
|
+
if (m.tools) encoding204_2.preencode(state, m.tools)
|
|
7560
|
+
if (m.credentials) encoding204_3.preencode(state, m.credentials)
|
|
7561
|
+
if (m.allowList) encoding204_4.preencode(state, m.allowList)
|
|
7562
|
+
if (m.platforms) encoding204_5.preencode(state, m.platforms)
|
|
7563
|
+
if (m.requirements) encoding204_6.preencode(state, m.requirements)
|
|
7564
|
+
if (m.install) encoding204_7.preencode(state, m.install)
|
|
7565
|
+
if (m.setup) encoding204_8.preencode(state, m.setup)
|
|
7519
7566
|
c.string.preencode(state, m.status)
|
|
7520
7567
|
if (m.minCapabilityProfile) c.string.preencode(state, m.minCapabilityProfile)
|
|
7521
7568
|
if (m.emoji) c.string.preencode(state, m.emoji)
|
|
@@ -7537,13 +7584,13 @@ const encoding203 = {
|
|
|
7537
7584
|
c.string.encode(state, m.description)
|
|
7538
7585
|
c.uint.encode(state, flags)
|
|
7539
7586
|
|
|
7540
|
-
if (m.tools)
|
|
7541
|
-
if (m.credentials)
|
|
7542
|
-
if (m.allowList)
|
|
7543
|
-
if (m.platforms)
|
|
7544
|
-
if (m.requirements)
|
|
7545
|
-
if (m.install)
|
|
7546
|
-
if (m.setup)
|
|
7587
|
+
if (m.tools) encoding204_2.encode(state, m.tools)
|
|
7588
|
+
if (m.credentials) encoding204_3.encode(state, m.credentials)
|
|
7589
|
+
if (m.allowList) encoding204_4.encode(state, m.allowList)
|
|
7590
|
+
if (m.platforms) encoding204_5.encode(state, m.platforms)
|
|
7591
|
+
if (m.requirements) encoding204_6.encode(state, m.requirements)
|
|
7592
|
+
if (m.install) encoding204_7.encode(state, m.install)
|
|
7593
|
+
if (m.setup) encoding204_8.encode(state, m.setup)
|
|
7547
7594
|
c.string.encode(state, m.status)
|
|
7548
7595
|
if (m.minCapabilityProfile) c.string.encode(state, m.minCapabilityProfile)
|
|
7549
7596
|
if (m.emoji) c.string.encode(state, m.emoji)
|
|
@@ -7556,13 +7603,13 @@ const encoding203 = {
|
|
|
7556
7603
|
return {
|
|
7557
7604
|
name: r0,
|
|
7558
7605
|
description: r1,
|
|
7559
|
-
tools: (flags & 1) !== 0 ?
|
|
7560
|
-
credentials: (flags & 2) !== 0 ?
|
|
7561
|
-
allowList: (flags & 4) !== 0 ?
|
|
7562
|
-
platforms: (flags & 8) !== 0 ?
|
|
7563
|
-
requirements: (flags & 16) !== 0 ?
|
|
7564
|
-
install: (flags & 32) !== 0 ?
|
|
7565
|
-
setup: (flags & 64) !== 0 ?
|
|
7606
|
+
tools: (flags & 1) !== 0 ? encoding204_2.decode(state) : null,
|
|
7607
|
+
credentials: (flags & 2) !== 0 ? encoding204_3.decode(state) : null,
|
|
7608
|
+
allowList: (flags & 4) !== 0 ? encoding204_4.decode(state) : null,
|
|
7609
|
+
platforms: (flags & 8) !== 0 ? encoding204_5.decode(state) : null,
|
|
7610
|
+
requirements: (flags & 16) !== 0 ? encoding204_6.decode(state) : null,
|
|
7611
|
+
install: (flags & 32) !== 0 ? encoding204_7.decode(state) : null,
|
|
7612
|
+
setup: (flags & 64) !== 0 ? encoding204_8.decode(state) : null,
|
|
7566
7613
|
status: c.string.decode(state),
|
|
7567
7614
|
stub: (flags & 128) !== 0,
|
|
7568
7615
|
minCapabilityProfile: (flags & 256) !== 0 ? c.string.decode(state) : null,
|
|
@@ -7572,18 +7619,18 @@ const encoding203 = {
|
|
|
7572
7619
|
}
|
|
7573
7620
|
|
|
7574
7621
|
// @assistant/skill-catalog-response.skills
|
|
7575
|
-
const
|
|
7622
|
+
const encoding205_0 = c.array(c.frame(encoding204))
|
|
7576
7623
|
|
|
7577
7624
|
// @assistant/skill-catalog-response
|
|
7578
|
-
const
|
|
7625
|
+
const encoding205 = {
|
|
7579
7626
|
preencode(state, m) {
|
|
7580
|
-
|
|
7627
|
+
encoding205_0.preencode(state, m.skills)
|
|
7581
7628
|
},
|
|
7582
7629
|
encode(state, m) {
|
|
7583
|
-
|
|
7630
|
+
encoding205_0.encode(state, m.skills)
|
|
7584
7631
|
},
|
|
7585
7632
|
decode(state) {
|
|
7586
|
-
const r0 =
|
|
7633
|
+
const r0 = encoding205_0.decode(state)
|
|
7587
7634
|
|
|
7588
7635
|
return {
|
|
7589
7636
|
skills: r0
|
|
@@ -7592,7 +7639,7 @@ const encoding204 = {
|
|
|
7592
7639
|
}
|
|
7593
7640
|
|
|
7594
7641
|
// @assistant/tool-catalog-entry
|
|
7595
|
-
const
|
|
7642
|
+
const encoding206 = {
|
|
7596
7643
|
preencode(state, m) {
|
|
7597
7644
|
c.string.preencode(state, m.name)
|
|
7598
7645
|
c.string.preencode(state, m.description)
|
|
@@ -7636,18 +7683,18 @@ const encoding205 = {
|
|
|
7636
7683
|
}
|
|
7637
7684
|
|
|
7638
7685
|
// @assistant/tool-catalog-response.tools
|
|
7639
|
-
const
|
|
7686
|
+
const encoding207_0 = c.array(c.frame(encoding206))
|
|
7640
7687
|
|
|
7641
7688
|
// @assistant/tool-catalog-response
|
|
7642
|
-
const
|
|
7689
|
+
const encoding207 = {
|
|
7643
7690
|
preencode(state, m) {
|
|
7644
|
-
|
|
7691
|
+
encoding207_0.preencode(state, m.tools)
|
|
7645
7692
|
},
|
|
7646
7693
|
encode(state, m) {
|
|
7647
|
-
|
|
7694
|
+
encoding207_0.encode(state, m.tools)
|
|
7648
7695
|
},
|
|
7649
7696
|
decode(state) {
|
|
7650
|
-
const r0 =
|
|
7697
|
+
const r0 = encoding207_0.decode(state)
|
|
7651
7698
|
|
|
7652
7699
|
return {
|
|
7653
7700
|
tools: r0
|
|
@@ -7656,10 +7703,10 @@ const encoding206 = {
|
|
|
7656
7703
|
}
|
|
7657
7704
|
|
|
7658
7705
|
// @assistant/speak-stream-frame
|
|
7659
|
-
const
|
|
7706
|
+
const encoding208 = encoding189
|
|
7660
7707
|
|
|
7661
7708
|
// @assistant/tool-configs
|
|
7662
|
-
const
|
|
7709
|
+
const encoding209 = {
|
|
7663
7710
|
preencode(state, m) {
|
|
7664
7711
|
c.string.preencode(state, m.agentId)
|
|
7665
7712
|
c.string.preencode(state, m.toolName)
|
|
@@ -7702,33 +7749,33 @@ const encoding208 = {
|
|
|
7702
7749
|
}
|
|
7703
7750
|
|
|
7704
7751
|
// @assistant/tool-configs-list.configs
|
|
7705
|
-
const
|
|
7752
|
+
const encoding210_0 = c.array(c.frame(encoding209))
|
|
7706
7753
|
|
|
7707
7754
|
// @assistant/tool-configs-list
|
|
7708
|
-
const
|
|
7755
|
+
const encoding210 = {
|
|
7709
7756
|
preencode(state, m) {
|
|
7710
7757
|
state.end++ // max flag is 1 so always one byte
|
|
7711
7758
|
|
|
7712
|
-
if (m.configs)
|
|
7759
|
+
if (m.configs) encoding210_0.preencode(state, m.configs)
|
|
7713
7760
|
},
|
|
7714
7761
|
encode(state, m) {
|
|
7715
7762
|
const flags = m.configs ? 1 : 0
|
|
7716
7763
|
|
|
7717
7764
|
c.uint.encode(state, flags)
|
|
7718
7765
|
|
|
7719
|
-
if (m.configs)
|
|
7766
|
+
if (m.configs) encoding210_0.encode(state, m.configs)
|
|
7720
7767
|
},
|
|
7721
7768
|
decode(state) {
|
|
7722
7769
|
const flags = c.uint.decode(state)
|
|
7723
7770
|
|
|
7724
7771
|
return {
|
|
7725
|
-
configs: (flags & 1) !== 0 ?
|
|
7772
|
+
configs: (flags & 1) !== 0 ? encoding210_0.decode(state) : null
|
|
7726
7773
|
}
|
|
7727
7774
|
}
|
|
7728
7775
|
}
|
|
7729
7776
|
|
|
7730
7777
|
// @assistant/set-tool-configs-request
|
|
7731
|
-
const
|
|
7778
|
+
const encoding211 = {
|
|
7732
7779
|
preencode(state, m) {
|
|
7733
7780
|
c.string.preencode(state, m.agentId)
|
|
7734
7781
|
c.string.preencode(state, m.toolName)
|
|
@@ -7757,7 +7804,7 @@ const encoding210 = {
|
|
|
7757
7804
|
}
|
|
7758
7805
|
|
|
7759
7806
|
// @assistant/delete-tool-configs-request
|
|
7760
|
-
const
|
|
7807
|
+
const encoding212 = {
|
|
7761
7808
|
preencode(state, m) {
|
|
7762
7809
|
c.string.preencode(state, m.agentId)
|
|
7763
7810
|
c.string.preencode(state, m.toolName)
|
|
@@ -7782,10 +7829,10 @@ const encoding211 = {
|
|
|
7782
7829
|
}
|
|
7783
7830
|
|
|
7784
7831
|
// @assistant/list-tool-configs-request
|
|
7785
|
-
const
|
|
7832
|
+
const encoding213 = encoding16
|
|
7786
7833
|
|
|
7787
7834
|
// @assistant/skill-secret-value
|
|
7788
|
-
const
|
|
7835
|
+
const encoding214 = {
|
|
7789
7836
|
preencode(state, m) {
|
|
7790
7837
|
c.string.preencode(state, m.key)
|
|
7791
7838
|
c.string.preencode(state, m.value)
|
|
@@ -7806,24 +7853,24 @@ const encoding213 = {
|
|
|
7806
7853
|
}
|
|
7807
7854
|
|
|
7808
7855
|
// @assistant/push-skill-secret-request.values
|
|
7809
|
-
const
|
|
7856
|
+
const encoding215_2 = c.array(c.frame(encoding214))
|
|
7810
7857
|
|
|
7811
7858
|
// @assistant/push-skill-secret-request
|
|
7812
|
-
const
|
|
7859
|
+
const encoding215 = {
|
|
7813
7860
|
preencode(state, m) {
|
|
7814
7861
|
c.string.preencode(state, m.agentId)
|
|
7815
7862
|
c.string.preencode(state, m.skillName)
|
|
7816
|
-
|
|
7863
|
+
encoding215_2.preencode(state, m.values)
|
|
7817
7864
|
},
|
|
7818
7865
|
encode(state, m) {
|
|
7819
7866
|
c.string.encode(state, m.agentId)
|
|
7820
7867
|
c.string.encode(state, m.skillName)
|
|
7821
|
-
|
|
7868
|
+
encoding215_2.encode(state, m.values)
|
|
7822
7869
|
},
|
|
7823
7870
|
decode(state) {
|
|
7824
7871
|
const r0 = c.string.decode(state)
|
|
7825
7872
|
const r1 = c.string.decode(state)
|
|
7826
|
-
const r2 =
|
|
7873
|
+
const r2 = encoding215_2.decode(state)
|
|
7827
7874
|
|
|
7828
7875
|
return {
|
|
7829
7876
|
agentId: r0,
|
|
@@ -7834,21 +7881,21 @@ const encoding214 = {
|
|
|
7834
7881
|
}
|
|
7835
7882
|
|
|
7836
7883
|
// @assistant/skill-secret-handoff.request
|
|
7837
|
-
const
|
|
7884
|
+
const encoding216_1 = c.frame(encoding215)
|
|
7838
7885
|
|
|
7839
7886
|
// @assistant/skill-secret-handoff
|
|
7840
|
-
const
|
|
7887
|
+
const encoding216 = {
|
|
7841
7888
|
preencode(state, m) {
|
|
7842
7889
|
c.uint.preencode(state, m.id)
|
|
7843
|
-
|
|
7890
|
+
encoding216_1.preencode(state, m.request)
|
|
7844
7891
|
},
|
|
7845
7892
|
encode(state, m) {
|
|
7846
7893
|
c.uint.encode(state, m.id)
|
|
7847
|
-
|
|
7894
|
+
encoding216_1.encode(state, m.request)
|
|
7848
7895
|
},
|
|
7849
7896
|
decode(state) {
|
|
7850
7897
|
const r0 = c.uint.decode(state)
|
|
7851
|
-
const r1 =
|
|
7898
|
+
const r1 = encoding216_1.decode(state)
|
|
7852
7899
|
|
|
7853
7900
|
return {
|
|
7854
7901
|
id: r0,
|
|
@@ -7858,7 +7905,7 @@ const encoding215 = {
|
|
|
7858
7905
|
}
|
|
7859
7906
|
|
|
7860
7907
|
// @assistant/skill-secret-handoff-ack
|
|
7861
|
-
const
|
|
7908
|
+
const encoding217 = {
|
|
7862
7909
|
preencode(state, m) {
|
|
7863
7910
|
c.uint.preencode(state, m.id)
|
|
7864
7911
|
state.end++ // max flag is 1 so always one byte
|
|
@@ -7885,10 +7932,10 @@ const encoding216 = {
|
|
|
7885
7932
|
}
|
|
7886
7933
|
|
|
7887
7934
|
// @assistant/tool-activity-entry.resource
|
|
7888
|
-
const
|
|
7935
|
+
const encoding218_7 = encoding74_3
|
|
7889
7936
|
|
|
7890
7937
|
// @assistant/tool-activity-entry
|
|
7891
|
-
const
|
|
7938
|
+
const encoding218 = {
|
|
7892
7939
|
preencode(state, m) {
|
|
7893
7940
|
c.string.preencode(state, m.id)
|
|
7894
7941
|
c.string.preencode(state, m.agentId)
|
|
@@ -7899,7 +7946,7 @@ const encoding217 = {
|
|
|
7899
7946
|
if (m.runId) c.string.preencode(state, m.runId)
|
|
7900
7947
|
c.string.preencode(state, m.toolName)
|
|
7901
7948
|
if (m.arguments) c.json.preencode(state, m.arguments)
|
|
7902
|
-
if (m.resource)
|
|
7949
|
+
if (m.resource) encoding218_7.preencode(state, m.resource)
|
|
7903
7950
|
if (m.effect) c.string.preencode(state, m.effect)
|
|
7904
7951
|
c.string.preencode(state, m.decision)
|
|
7905
7952
|
c.uint.preencode(state, m.at)
|
|
@@ -7922,7 +7969,7 @@ const encoding217 = {
|
|
|
7922
7969
|
if (m.runId) c.string.encode(state, m.runId)
|
|
7923
7970
|
c.string.encode(state, m.toolName)
|
|
7924
7971
|
if (m.arguments) c.json.encode(state, m.arguments)
|
|
7925
|
-
if (m.resource)
|
|
7972
|
+
if (m.resource) encoding218_7.encode(state, m.resource)
|
|
7926
7973
|
if (m.effect) c.string.encode(state, m.effect)
|
|
7927
7974
|
c.string.encode(state, m.decision)
|
|
7928
7975
|
c.uint.encode(state, m.at)
|
|
@@ -7942,7 +7989,7 @@ const encoding217 = {
|
|
|
7942
7989
|
runId: (flags & 2) !== 0 ? c.string.decode(state) : null,
|
|
7943
7990
|
toolName: c.string.decode(state),
|
|
7944
7991
|
arguments: (flags & 4) !== 0 ? c.json.decode(state) : null,
|
|
7945
|
-
resource: (flags & 8) !== 0 ?
|
|
7992
|
+
resource: (flags & 8) !== 0 ? encoding218_7.decode(state) : null,
|
|
7946
7993
|
effect: (flags & 16) !== 0 ? c.string.decode(state) : null,
|
|
7947
7994
|
decision: c.string.decode(state),
|
|
7948
7995
|
at: c.uint.decode(state),
|
|
@@ -7952,33 +7999,33 @@ const encoding217 = {
|
|
|
7952
7999
|
}
|
|
7953
8000
|
|
|
7954
8001
|
// @assistant/tool-activity-list.activities
|
|
7955
|
-
const
|
|
8002
|
+
const encoding219_0 = c.array(c.frame(encoding218))
|
|
7956
8003
|
|
|
7957
8004
|
// @assistant/tool-activity-list
|
|
7958
|
-
const
|
|
8005
|
+
const encoding219 = {
|
|
7959
8006
|
preencode(state, m) {
|
|
7960
8007
|
state.end++ // max flag is 1 so always one byte
|
|
7961
8008
|
|
|
7962
|
-
if (m.activities)
|
|
8009
|
+
if (m.activities) encoding219_0.preencode(state, m.activities)
|
|
7963
8010
|
},
|
|
7964
8011
|
encode(state, m) {
|
|
7965
8012
|
const flags = m.activities ? 1 : 0
|
|
7966
8013
|
|
|
7967
8014
|
c.uint.encode(state, flags)
|
|
7968
8015
|
|
|
7969
|
-
if (m.activities)
|
|
8016
|
+
if (m.activities) encoding219_0.encode(state, m.activities)
|
|
7970
8017
|
},
|
|
7971
8018
|
decode(state) {
|
|
7972
8019
|
const flags = c.uint.decode(state)
|
|
7973
8020
|
|
|
7974
8021
|
return {
|
|
7975
|
-
activities: (flags & 1) !== 0 ?
|
|
8022
|
+
activities: (flags & 1) !== 0 ? encoding219_0.decode(state) : null
|
|
7976
8023
|
}
|
|
7977
8024
|
}
|
|
7978
8025
|
}
|
|
7979
8026
|
|
|
7980
8027
|
// @assistant/list-tool-activity-request
|
|
7981
|
-
const
|
|
8028
|
+
const encoding220 = {
|
|
7982
8029
|
preencode(state, m) {
|
|
7983
8030
|
c.string.preencode(state, m.agentId)
|
|
7984
8031
|
state.end++ // max flag is 16 so always one byte
|
|
@@ -8021,10 +8068,10 @@ const encoding219 = {
|
|
|
8021
8068
|
}
|
|
8022
8069
|
|
|
8023
8070
|
// @assistant/record-tool-activity-request.resource
|
|
8024
|
-
const
|
|
8071
|
+
const encoding221_5 = encoding74_3
|
|
8025
8072
|
|
|
8026
8073
|
// @assistant/record-tool-activity-request
|
|
8027
|
-
const
|
|
8074
|
+
const encoding221 = {
|
|
8028
8075
|
preencode(state, m) {
|
|
8029
8076
|
c.string.preencode(state, m.agentId)
|
|
8030
8077
|
c.string.preencode(state, m.toolName)
|
|
@@ -8033,7 +8080,7 @@ const encoding220 = {
|
|
|
8033
8080
|
|
|
8034
8081
|
if (m.effect) c.string.preencode(state, m.effect)
|
|
8035
8082
|
if (m.arguments) c.json.preencode(state, m.arguments)
|
|
8036
|
-
if (m.resource)
|
|
8083
|
+
if (m.resource) encoding221_5.preencode(state, m.resource)
|
|
8037
8084
|
if (m.chatId) c.string.preencode(state, m.chatId)
|
|
8038
8085
|
if (m.runId) c.string.preencode(state, m.runId)
|
|
8039
8086
|
c.uint.preencode(state, m.at)
|
|
@@ -8054,7 +8101,7 @@ const encoding220 = {
|
|
|
8054
8101
|
|
|
8055
8102
|
if (m.effect) c.string.encode(state, m.effect)
|
|
8056
8103
|
if (m.arguments) c.json.encode(state, m.arguments)
|
|
8057
|
-
if (m.resource)
|
|
8104
|
+
if (m.resource) encoding221_5.encode(state, m.resource)
|
|
8058
8105
|
if (m.chatId) c.string.encode(state, m.chatId)
|
|
8059
8106
|
if (m.runId) c.string.encode(state, m.runId)
|
|
8060
8107
|
c.uint.encode(state, m.at)
|
|
@@ -8072,7 +8119,7 @@ const encoding220 = {
|
|
|
8072
8119
|
decision: r2,
|
|
8073
8120
|
effect: (flags & 1) !== 0 ? c.string.decode(state) : null,
|
|
8074
8121
|
arguments: (flags & 2) !== 0 ? c.json.decode(state) : null,
|
|
8075
|
-
resource: (flags & 4) !== 0 ?
|
|
8122
|
+
resource: (flags & 4) !== 0 ? encoding221_5.decode(state) : null,
|
|
8076
8123
|
chatId: (flags & 8) !== 0 ? c.string.decode(state) : null,
|
|
8077
8124
|
runId: (flags & 16) !== 0 ? c.string.decode(state) : null,
|
|
8078
8125
|
at: c.uint.decode(state),
|
|
@@ -8082,10 +8129,10 @@ const encoding220 = {
|
|
|
8082
8129
|
}
|
|
8083
8130
|
|
|
8084
8131
|
// @assistant/tool-activity-id
|
|
8085
|
-
const
|
|
8132
|
+
const encoding222 = encoding95
|
|
8086
8133
|
|
|
8087
8134
|
// @assistant/managed-skill
|
|
8088
|
-
const
|
|
8135
|
+
const encoding223 = {
|
|
8089
8136
|
preencode(state, m) {
|
|
8090
8137
|
c.string.preencode(state, m.name)
|
|
8091
8138
|
c.string.preencode(state, m.origin)
|
|
@@ -8112,18 +8159,18 @@ const encoding222 = {
|
|
|
8112
8159
|
}
|
|
8113
8160
|
|
|
8114
8161
|
// @assistant/managed-skills-response.skills
|
|
8115
|
-
const
|
|
8162
|
+
const encoding224_0 = c.array(c.frame(encoding223))
|
|
8116
8163
|
|
|
8117
8164
|
// @assistant/managed-skills-response
|
|
8118
|
-
const
|
|
8165
|
+
const encoding224 = {
|
|
8119
8166
|
preencode(state, m) {
|
|
8120
|
-
|
|
8167
|
+
encoding224_0.preencode(state, m.skills)
|
|
8121
8168
|
},
|
|
8122
8169
|
encode(state, m) {
|
|
8123
|
-
|
|
8170
|
+
encoding224_0.encode(state, m.skills)
|
|
8124
8171
|
},
|
|
8125
8172
|
decode(state) {
|
|
8126
|
-
const r0 =
|
|
8173
|
+
const r0 = encoding224_0.decode(state)
|
|
8127
8174
|
|
|
8128
8175
|
return {
|
|
8129
8176
|
skills: r0
|
|
@@ -8132,7 +8179,7 @@ const encoding223 = {
|
|
|
8132
8179
|
}
|
|
8133
8180
|
|
|
8134
8181
|
// @assistant/list-managed-skills-request
|
|
8135
|
-
const
|
|
8182
|
+
const encoding225 = {
|
|
8136
8183
|
preencode(state, m) {
|
|
8137
8184
|
state.end++ // max flag is 1 so always one byte
|
|
8138
8185
|
|
|
@@ -8155,7 +8202,7 @@ const encoding224 = {
|
|
|
8155
8202
|
}
|
|
8156
8203
|
|
|
8157
8204
|
// @assistant/skill-name-request
|
|
8158
|
-
const
|
|
8205
|
+
const encoding226 = {
|
|
8159
8206
|
preencode(state, m) {
|
|
8160
8207
|
c.string.preencode(state, m.name)
|
|
8161
8208
|
state.end++ // max flag is 1 so always one byte
|
|
@@ -8182,7 +8229,7 @@ const encoding225 = {
|
|
|
8182
8229
|
}
|
|
8183
8230
|
|
|
8184
8231
|
// @assistant/skill-file-response
|
|
8185
|
-
const
|
|
8232
|
+
const encoding227 = {
|
|
8186
8233
|
preencode(state, m) {
|
|
8187
8234
|
state.end++ // max flag is 4 so always one byte
|
|
8188
8235
|
|
|
@@ -8209,7 +8256,7 @@ const encoding226 = {
|
|
|
8209
8256
|
}
|
|
8210
8257
|
|
|
8211
8258
|
// @assistant/write-skill-request
|
|
8212
|
-
const
|
|
8259
|
+
const encoding228 = {
|
|
8213
8260
|
preencode(state, m) {
|
|
8214
8261
|
c.string.preencode(state, m.name)
|
|
8215
8262
|
c.string.preencode(state, m.content)
|
|
@@ -8240,7 +8287,7 @@ const encoding227 = {
|
|
|
8240
8287
|
}
|
|
8241
8288
|
|
|
8242
8289
|
// @assistant/copy-skill-response
|
|
8243
|
-
const
|
|
8290
|
+
const encoding229 = {
|
|
8244
8291
|
preencode(state, m) {
|
|
8245
8292
|
state.end++ // max flag is 1 so always one byte
|
|
8246
8293
|
},
|
|
@@ -8259,7 +8306,7 @@ const encoding228 = {
|
|
|
8259
8306
|
}
|
|
8260
8307
|
|
|
8261
8308
|
// @assistant/delete-skill-response
|
|
8262
|
-
const
|
|
8309
|
+
const encoding230 = {
|
|
8263
8310
|
preencode(state, m) {
|
|
8264
8311
|
state.end++ // max flag is 1 so always one byte
|
|
8265
8312
|
},
|
|
@@ -8278,7 +8325,7 @@ const encoding229 = {
|
|
|
8278
8325
|
}
|
|
8279
8326
|
|
|
8280
8327
|
// @assistant/skill-overlay-op
|
|
8281
|
-
const
|
|
8328
|
+
const encoding231 = {
|
|
8282
8329
|
preencode(state, m) {
|
|
8283
8330
|
c.string.preencode(state, m.op)
|
|
8284
8331
|
state.end++ // max flag is 4 so always one byte
|
|
@@ -8311,21 +8358,21 @@ const encoding230 = {
|
|
|
8311
8358
|
}
|
|
8312
8359
|
|
|
8313
8360
|
// @assistant/skill-overlay-handoff.request
|
|
8314
|
-
const
|
|
8361
|
+
const encoding232_1 = c.frame(encoding231)
|
|
8315
8362
|
|
|
8316
8363
|
// @assistant/skill-overlay-handoff
|
|
8317
|
-
const
|
|
8364
|
+
const encoding232 = {
|
|
8318
8365
|
preencode(state, m) {
|
|
8319
8366
|
c.uint.preencode(state, m.id)
|
|
8320
|
-
|
|
8367
|
+
encoding232_1.preencode(state, m.request)
|
|
8321
8368
|
},
|
|
8322
8369
|
encode(state, m) {
|
|
8323
8370
|
c.uint.encode(state, m.id)
|
|
8324
|
-
|
|
8371
|
+
encoding232_1.encode(state, m.request)
|
|
8325
8372
|
},
|
|
8326
8373
|
decode(state) {
|
|
8327
8374
|
const r0 = c.uint.decode(state)
|
|
8328
|
-
const r1 =
|
|
8375
|
+
const r1 = encoding232_1.decode(state)
|
|
8329
8376
|
|
|
8330
8377
|
return {
|
|
8331
8378
|
id: r0,
|
|
@@ -8335,10 +8382,10 @@ const encoding231 = {
|
|
|
8335
8382
|
}
|
|
8336
8383
|
|
|
8337
8384
|
// @assistant/skill-overlay-handoff-ack.skills
|
|
8338
|
-
const
|
|
8385
|
+
const encoding233_2 = encoding224_0
|
|
8339
8386
|
|
|
8340
8387
|
// @assistant/skill-overlay-handoff-ack
|
|
8341
|
-
const
|
|
8388
|
+
const encoding233 = {
|
|
8342
8389
|
preencode(state, m) {
|
|
8343
8390
|
const flags =
|
|
8344
8391
|
(m.error ? 1 : 0) |
|
|
@@ -8354,7 +8401,7 @@ const encoding232 = {
|
|
|
8354
8401
|
c.uint.preencode(state, flags)
|
|
8355
8402
|
|
|
8356
8403
|
if (m.error) c.string.preencode(state, m.error)
|
|
8357
|
-
if (m.skills)
|
|
8404
|
+
if (m.skills) encoding233_2.preencode(state, m.skills)
|
|
8358
8405
|
if (m.content) c.string.preencode(state, m.content)
|
|
8359
8406
|
if (m.origin) c.string.preencode(state, m.origin)
|
|
8360
8407
|
},
|
|
@@ -8373,7 +8420,7 @@ const encoding232 = {
|
|
|
8373
8420
|
c.uint.encode(state, flags)
|
|
8374
8421
|
|
|
8375
8422
|
if (m.error) c.string.encode(state, m.error)
|
|
8376
|
-
if (m.skills)
|
|
8423
|
+
if (m.skills) encoding233_2.encode(state, m.skills)
|
|
8377
8424
|
if (m.content) c.string.encode(state, m.content)
|
|
8378
8425
|
if (m.origin) c.string.encode(state, m.origin)
|
|
8379
8426
|
},
|
|
@@ -8384,7 +8431,7 @@ const encoding232 = {
|
|
|
8384
8431
|
return {
|
|
8385
8432
|
id: r0,
|
|
8386
8433
|
error: (flags & 1) !== 0 ? c.string.decode(state) : null,
|
|
8387
|
-
skills: (flags & 2) !== 0 ?
|
|
8434
|
+
skills: (flags & 2) !== 0 ? encoding233_2.decode(state) : null,
|
|
8388
8435
|
found: (flags & 4) !== 0,
|
|
8389
8436
|
content: (flags & 8) !== 0 ? c.string.decode(state) : null,
|
|
8390
8437
|
origin: (flags & 16) !== 0 ? c.string.decode(state) : null,
|
|
@@ -8395,7 +8442,7 @@ const encoding232 = {
|
|
|
8395
8442
|
}
|
|
8396
8443
|
}
|
|
8397
8444
|
|
|
8398
|
-
const
|
|
8445
|
+
const encoding234_enum = {
|
|
8399
8446
|
uploading: 'uploading',
|
|
8400
8447
|
pending: 'pending',
|
|
8401
8448
|
running: 'running',
|
|
@@ -8406,7 +8453,7 @@ const encoding233_enum = {
|
|
|
8406
8453
|
}
|
|
8407
8454
|
|
|
8408
8455
|
// @assistant/file-state enum
|
|
8409
|
-
const
|
|
8456
|
+
const encoding234 = {
|
|
8410
8457
|
preencode (state, m) {
|
|
8411
8458
|
state.end++ // max enum is 7 so always one byte
|
|
8412
8459
|
},
|
|
@@ -8458,13 +8505,13 @@ const encoding233 = {
|
|
|
8458
8505
|
}
|
|
8459
8506
|
}
|
|
8460
8507
|
|
|
8461
|
-
const
|
|
8508
|
+
const encoding235_enum = {
|
|
8462
8509
|
bytes: 'bytes',
|
|
8463
8510
|
chunks: 'chunks'
|
|
8464
8511
|
}
|
|
8465
8512
|
|
|
8466
8513
|
// @assistant/file-progress-unit enum
|
|
8467
|
-
const
|
|
8514
|
+
const encoding235 = {
|
|
8468
8515
|
preencode (state, m) {
|
|
8469
8516
|
state.end++ // max enum is 2 so always one byte
|
|
8470
8517
|
},
|
|
@@ -8492,13 +8539,13 @@ const encoding234 = {
|
|
|
8492
8539
|
}
|
|
8493
8540
|
|
|
8494
8541
|
// @assistant/file-progress
|
|
8495
|
-
const
|
|
8542
|
+
const encoding236 = {
|
|
8496
8543
|
preencode(state, m) {
|
|
8497
8544
|
c.uint.preencode(state, m.completed)
|
|
8498
8545
|
state.end++ // max flag is 1 so always one byte
|
|
8499
8546
|
|
|
8500
8547
|
if (m.total) c.uint.preencode(state, m.total)
|
|
8501
|
-
|
|
8548
|
+
encoding235.preencode(state, m.unit)
|
|
8502
8549
|
},
|
|
8503
8550
|
encode(state, m) {
|
|
8504
8551
|
const flags = m.total ? 1 : 0
|
|
@@ -8507,7 +8554,7 @@ const encoding235 = {
|
|
|
8507
8554
|
c.uint.encode(state, flags)
|
|
8508
8555
|
|
|
8509
8556
|
if (m.total) c.uint.encode(state, m.total)
|
|
8510
|
-
|
|
8557
|
+
encoding235.encode(state, m.unit)
|
|
8511
8558
|
},
|
|
8512
8559
|
decode(state) {
|
|
8513
8560
|
const r0 = c.uint.decode(state)
|
|
@@ -8516,16 +8563,16 @@ const encoding235 = {
|
|
|
8516
8563
|
return {
|
|
8517
8564
|
completed: r0,
|
|
8518
8565
|
total: (flags & 1) !== 0 ? c.uint.decode(state) : 0,
|
|
8519
|
-
unit:
|
|
8566
|
+
unit: encoding235.decode(state)
|
|
8520
8567
|
}
|
|
8521
8568
|
}
|
|
8522
8569
|
}
|
|
8523
8570
|
|
|
8524
8571
|
// @assistant/file-processor-status.progress
|
|
8525
|
-
const
|
|
8572
|
+
const encoding237_7 = c.frame(encoding236)
|
|
8526
8573
|
|
|
8527
8574
|
// @assistant/file-processor-status
|
|
8528
|
-
const
|
|
8575
|
+
const encoding237 = {
|
|
8529
8576
|
preencode(state, m) {
|
|
8530
8577
|
const flags =
|
|
8531
8578
|
(m.reason ? 1 : 0) |
|
|
@@ -8538,7 +8585,7 @@ const encoding236 = {
|
|
|
8538
8585
|
(m.outputId ? 128 : 0)
|
|
8539
8586
|
|
|
8540
8587
|
c.string.preencode(state, m.processorId)
|
|
8541
|
-
|
|
8588
|
+
encoding234.preencode(state, m.state)
|
|
8542
8589
|
c.uint.preencode(state, flags)
|
|
8543
8590
|
|
|
8544
8591
|
if (m.reason) c.string.preencode(state, m.reason)
|
|
@@ -8546,7 +8593,7 @@ const encoding236 = {
|
|
|
8546
8593
|
if (m.claimedBy) c.buffer.preencode(state, m.claimedBy)
|
|
8547
8594
|
if (m.agentId) c.string.preencode(state, m.agentId)
|
|
8548
8595
|
if (m.expiresAt) c.uint.preencode(state, m.expiresAt)
|
|
8549
|
-
if (m.progress)
|
|
8596
|
+
if (m.progress) encoding237_7.preencode(state, m.progress)
|
|
8550
8597
|
if (m.outputId) c.string.preencode(state, m.outputId)
|
|
8551
8598
|
},
|
|
8552
8599
|
encode(state, m) {
|
|
@@ -8561,7 +8608,7 @@ const encoding236 = {
|
|
|
8561
8608
|
(m.outputId ? 128 : 0)
|
|
8562
8609
|
|
|
8563
8610
|
c.string.encode(state, m.processorId)
|
|
8564
|
-
|
|
8611
|
+
encoding234.encode(state, m.state)
|
|
8565
8612
|
c.uint.encode(state, flags)
|
|
8566
8613
|
|
|
8567
8614
|
if (m.reason) c.string.encode(state, m.reason)
|
|
@@ -8569,12 +8616,12 @@ const encoding236 = {
|
|
|
8569
8616
|
if (m.claimedBy) c.buffer.encode(state, m.claimedBy)
|
|
8570
8617
|
if (m.agentId) c.string.encode(state, m.agentId)
|
|
8571
8618
|
if (m.expiresAt) c.uint.encode(state, m.expiresAt)
|
|
8572
|
-
if (m.progress)
|
|
8619
|
+
if (m.progress) encoding237_7.encode(state, m.progress)
|
|
8573
8620
|
if (m.outputId) c.string.encode(state, m.outputId)
|
|
8574
8621
|
},
|
|
8575
8622
|
decode(state) {
|
|
8576
8623
|
const r0 = c.string.decode(state)
|
|
8577
|
-
const r1 =
|
|
8624
|
+
const r1 = encoding234.decode(state)
|
|
8578
8625
|
const flags = c.uint.decode(state)
|
|
8579
8626
|
|
|
8580
8627
|
return {
|
|
@@ -8585,7 +8632,7 @@ const encoding236 = {
|
|
|
8585
8632
|
claimedBy: (flags & 4) !== 0 ? c.buffer.decode(state) : null,
|
|
8586
8633
|
agentId: (flags & 8) !== 0 ? c.string.decode(state) : null,
|
|
8587
8634
|
expiresAt: (flags & 16) !== 0 ? c.uint.decode(state) : 0,
|
|
8588
|
-
progress: (flags & 32) !== 0 ?
|
|
8635
|
+
progress: (flags & 32) !== 0 ? encoding237_7.decode(state) : null,
|
|
8589
8636
|
published: (flags & 64) !== 0,
|
|
8590
8637
|
outputId: (flags & 128) !== 0 ? c.string.decode(state) : null
|
|
8591
8638
|
}
|
|
@@ -8593,23 +8640,23 @@ const encoding236 = {
|
|
|
8593
8640
|
}
|
|
8594
8641
|
|
|
8595
8642
|
// @assistant/file-status.uploadProgress
|
|
8596
|
-
const
|
|
8643
|
+
const encoding238_6 = encoding237_7
|
|
8597
8644
|
// @assistant/file-status.processors
|
|
8598
|
-
const
|
|
8645
|
+
const encoding238_7 = c.array(c.frame(encoding237))
|
|
8599
8646
|
|
|
8600
8647
|
// @assistant/file-status
|
|
8601
|
-
const
|
|
8648
|
+
const encoding238 = {
|
|
8602
8649
|
preencode(state, m) {
|
|
8603
8650
|
c.string.preencode(state, m.fileId)
|
|
8604
8651
|
c.string.preencode(state, m.chatId)
|
|
8605
8652
|
c.string.preencode(state, m.fileName)
|
|
8606
8653
|
c.string.preencode(state, m.mimeType)
|
|
8607
|
-
|
|
8654
|
+
encoding234.preencode(state, m.state)
|
|
8608
8655
|
state.end++ // max flag is 4 so always one byte
|
|
8609
8656
|
|
|
8610
8657
|
if (m.reason) c.string.preencode(state, m.reason)
|
|
8611
|
-
if (m.uploadProgress)
|
|
8612
|
-
|
|
8658
|
+
if (m.uploadProgress) encoding238_6.preencode(state, m.uploadProgress)
|
|
8659
|
+
encoding238_7.preencode(state, m.processors)
|
|
8613
8660
|
},
|
|
8614
8661
|
encode(state, m) {
|
|
8615
8662
|
const flags = (m.reason ? 1 : 0) | (m.uploadProgress ? 2 : 0) | (m.readyForChat ? 4 : 0)
|
|
@@ -8618,19 +8665,19 @@ const encoding237 = {
|
|
|
8618
8665
|
c.string.encode(state, m.chatId)
|
|
8619
8666
|
c.string.encode(state, m.fileName)
|
|
8620
8667
|
c.string.encode(state, m.mimeType)
|
|
8621
|
-
|
|
8668
|
+
encoding234.encode(state, m.state)
|
|
8622
8669
|
c.uint.encode(state, flags)
|
|
8623
8670
|
|
|
8624
8671
|
if (m.reason) c.string.encode(state, m.reason)
|
|
8625
|
-
if (m.uploadProgress)
|
|
8626
|
-
|
|
8672
|
+
if (m.uploadProgress) encoding238_6.encode(state, m.uploadProgress)
|
|
8673
|
+
encoding238_7.encode(state, m.processors)
|
|
8627
8674
|
},
|
|
8628
8675
|
decode(state) {
|
|
8629
8676
|
const r0 = c.string.decode(state)
|
|
8630
8677
|
const r1 = c.string.decode(state)
|
|
8631
8678
|
const r2 = c.string.decode(state)
|
|
8632
8679
|
const r3 = c.string.decode(state)
|
|
8633
|
-
const r4 =
|
|
8680
|
+
const r4 = encoding234.decode(state)
|
|
8634
8681
|
const flags = c.uint.decode(state)
|
|
8635
8682
|
|
|
8636
8683
|
return {
|
|
@@ -8640,26 +8687,26 @@ const encoding237 = {
|
|
|
8640
8687
|
mimeType: r3,
|
|
8641
8688
|
state: r4,
|
|
8642
8689
|
reason: (flags & 1) !== 0 ? c.string.decode(state) : null,
|
|
8643
|
-
uploadProgress: (flags & 2) !== 0 ?
|
|
8644
|
-
processors:
|
|
8690
|
+
uploadProgress: (flags & 2) !== 0 ? encoding238_6.decode(state) : null,
|
|
8691
|
+
processors: encoding238_7.decode(state),
|
|
8645
8692
|
readyForChat: (flags & 4) !== 0
|
|
8646
8693
|
}
|
|
8647
8694
|
}
|
|
8648
8695
|
}
|
|
8649
8696
|
|
|
8650
8697
|
// @assistant/file-status-list.files
|
|
8651
|
-
const
|
|
8698
|
+
const encoding239_0 = c.array(c.frame(encoding238))
|
|
8652
8699
|
|
|
8653
8700
|
// @assistant/file-status-list
|
|
8654
|
-
const
|
|
8701
|
+
const encoding239 = {
|
|
8655
8702
|
preencode(state, m) {
|
|
8656
|
-
|
|
8703
|
+
encoding239_0.preencode(state, m.files)
|
|
8657
8704
|
},
|
|
8658
8705
|
encode(state, m) {
|
|
8659
|
-
|
|
8706
|
+
encoding239_0.encode(state, m.files)
|
|
8660
8707
|
},
|
|
8661
8708
|
decode(state) {
|
|
8662
|
-
const r0 =
|
|
8709
|
+
const r0 = encoding239_0.decode(state)
|
|
8663
8710
|
|
|
8664
8711
|
return {
|
|
8665
8712
|
files: r0
|
|
@@ -8668,7 +8715,7 @@ const encoding238 = {
|
|
|
8668
8715
|
}
|
|
8669
8716
|
|
|
8670
8717
|
// @assistant/compact-chat-response
|
|
8671
|
-
const
|
|
8718
|
+
const encoding240 = {
|
|
8672
8719
|
preencode(state, m) {
|
|
8673
8720
|
state.end++ // max flag is 4 so always one byte
|
|
8674
8721
|
|
|
@@ -8694,7 +8741,7 @@ const encoding239 = {
|
|
|
8694
8741
|
}
|
|
8695
8742
|
}
|
|
8696
8743
|
|
|
8697
|
-
const
|
|
8744
|
+
const encoding241_enum = {
|
|
8698
8745
|
"assistant-reply": 'assistant-reply',
|
|
8699
8746
|
"approval-required": 'approval-required',
|
|
8700
8747
|
"run-failed": 'run-failed',
|
|
@@ -8703,7 +8750,7 @@ const encoding240_enum = {
|
|
|
8703
8750
|
}
|
|
8704
8751
|
|
|
8705
8752
|
// @assistant/notification-kind enum
|
|
8706
|
-
const
|
|
8753
|
+
const encoding241 = {
|
|
8707
8754
|
preencode (state, m) {
|
|
8708
8755
|
state.end++ // max enum is 5 so always one byte
|
|
8709
8756
|
},
|
|
@@ -8746,7 +8793,7 @@ const encoding240 = {
|
|
|
8746
8793
|
}
|
|
8747
8794
|
|
|
8748
8795
|
// @assistant/notification
|
|
8749
|
-
const
|
|
8796
|
+
const encoding242 = {
|
|
8750
8797
|
preencode(state, m) {
|
|
8751
8798
|
const flags =
|
|
8752
8799
|
(m.chatId ? 1 : 0) |
|
|
@@ -8767,7 +8814,7 @@ const encoding241 = {
|
|
|
8767
8814
|
if (m.chatId) c.string.preencode(state, m.chatId)
|
|
8768
8815
|
if (m.agentId) c.string.preencode(state, m.agentId)
|
|
8769
8816
|
if (m.chunkId) c.string.preencode(state, m.chunkId)
|
|
8770
|
-
|
|
8817
|
+
encoding241.preencode(state, m.kind)
|
|
8771
8818
|
if (m.seq) c.uint.preencode(state, m.seq)
|
|
8772
8819
|
c.uint.preencode(state, m.createdAt)
|
|
8773
8820
|
if (m.preview) c.string.preencode(state, m.preview)
|
|
@@ -8799,7 +8846,7 @@ const encoding241 = {
|
|
|
8799
8846
|
if (m.chatId) c.string.encode(state, m.chatId)
|
|
8800
8847
|
if (m.agentId) c.string.encode(state, m.agentId)
|
|
8801
8848
|
if (m.chunkId) c.string.encode(state, m.chunkId)
|
|
8802
|
-
|
|
8849
|
+
encoding241.encode(state, m.kind)
|
|
8803
8850
|
if (m.seq) c.uint.encode(state, m.seq)
|
|
8804
8851
|
c.uint.encode(state, m.createdAt)
|
|
8805
8852
|
if (m.preview) c.string.encode(state, m.preview)
|
|
@@ -8818,7 +8865,7 @@ const encoding241 = {
|
|
|
8818
8865
|
chatId: (flags & 1) !== 0 ? c.string.decode(state) : undefined,
|
|
8819
8866
|
agentId: (flags & 2) !== 0 ? c.string.decode(state) : undefined,
|
|
8820
8867
|
chunkId: (flags & 4) !== 0 ? c.string.decode(state) : undefined,
|
|
8821
|
-
kind:
|
|
8868
|
+
kind: encoding241.decode(state),
|
|
8822
8869
|
seq: (flags & 8) !== 0 ? c.uint.decode(state) : 0,
|
|
8823
8870
|
createdAt: c.uint.decode(state),
|
|
8824
8871
|
preview: (flags & 16) !== 0 ? c.string.decode(state) : null,
|
|
@@ -8834,34 +8881,34 @@ const encoding241 = {
|
|
|
8834
8881
|
}
|
|
8835
8882
|
|
|
8836
8883
|
// @assistant/notification-list.notifications
|
|
8837
|
-
const
|
|
8884
|
+
const encoding243_0 = c.array(c.frame(encoding242))
|
|
8838
8885
|
|
|
8839
8886
|
// @assistant/notification-list
|
|
8840
|
-
const
|
|
8887
|
+
const encoding243 = {
|
|
8841
8888
|
preencode(state, m) {
|
|
8842
8889
|
state.end++ // max flag is 2 so always one byte
|
|
8843
8890
|
|
|
8844
|
-
if (m.notifications)
|
|
8891
|
+
if (m.notifications) encoding243_0.preencode(state, m.notifications)
|
|
8845
8892
|
},
|
|
8846
8893
|
encode(state, m) {
|
|
8847
8894
|
const flags = (m.notifications ? 1 : 0) | (m.truncated ? 2 : 0)
|
|
8848
8895
|
|
|
8849
8896
|
c.uint.encode(state, flags)
|
|
8850
8897
|
|
|
8851
|
-
if (m.notifications)
|
|
8898
|
+
if (m.notifications) encoding243_0.encode(state, m.notifications)
|
|
8852
8899
|
},
|
|
8853
8900
|
decode(state) {
|
|
8854
8901
|
const flags = c.uint.decode(state)
|
|
8855
8902
|
|
|
8856
8903
|
return {
|
|
8857
|
-
notifications: (flags & 1) !== 0 ?
|
|
8904
|
+
notifications: (flags & 1) !== 0 ? encoding243_0.decode(state) : null,
|
|
8858
8905
|
truncated: (flags & 2) !== 0
|
|
8859
8906
|
}
|
|
8860
8907
|
}
|
|
8861
8908
|
}
|
|
8862
8909
|
|
|
8863
8910
|
// @assistant/notification-request
|
|
8864
|
-
const
|
|
8911
|
+
const encoding244 = {
|
|
8865
8912
|
preencode(state, m) {
|
|
8866
8913
|
state.end++ // max flag is 1 so always one byte
|
|
8867
8914
|
|
|
@@ -8887,7 +8934,7 @@ const encoding243 = {
|
|
|
8887
8934
|
}
|
|
8888
8935
|
|
|
8889
8936
|
// @assistant/notification-ack
|
|
8890
|
-
const
|
|
8937
|
+
const encoding245 = {
|
|
8891
8938
|
preencode(state, m) {
|
|
8892
8939
|
state.end++ // max flag is 4 so always one byte
|
|
8893
8940
|
|
|
@@ -8919,7 +8966,7 @@ const encoding244 = {
|
|
|
8919
8966
|
}
|
|
8920
8967
|
|
|
8921
8968
|
// @assistant/model-transfer-start
|
|
8922
|
-
const
|
|
8969
|
+
const encoding246 = {
|
|
8923
8970
|
preencode(state, m) {
|
|
8924
8971
|
c.string.preencode(state, m.name)
|
|
8925
8972
|
state.end++ // max flag is 1 so always one byte
|
|
@@ -8942,7 +8989,7 @@ const encoding245 = {
|
|
|
8942
8989
|
}
|
|
8943
8990
|
|
|
8944
8991
|
// @assistant/model-transfer
|
|
8945
|
-
const
|
|
8992
|
+
const encoding247 = {
|
|
8946
8993
|
preencode(state, m) {
|
|
8947
8994
|
c.string.preencode(state, m.name)
|
|
8948
8995
|
c.string.preencode(state, m.transferId)
|
|
@@ -8969,7 +9016,7 @@ const encoding246 = {
|
|
|
8969
9016
|
}
|
|
8970
9017
|
|
|
8971
9018
|
// @assistant/file-read-request
|
|
8972
|
-
const
|
|
9019
|
+
const encoding248 = {
|
|
8973
9020
|
preencode(state, m) {
|
|
8974
9021
|
c.string.preencode(state, m.chatId)
|
|
8975
9022
|
c.string.preencode(state, m.fileId)
|
|
@@ -8999,7 +9046,7 @@ const encoding247 = {
|
|
|
8999
9046
|
}
|
|
9000
9047
|
|
|
9001
9048
|
// @assistant/file-read-frame
|
|
9002
|
-
const
|
|
9049
|
+
const encoding249 = {
|
|
9003
9050
|
preencode(state, m) {
|
|
9004
9051
|
state.end++ // max flag is 8 so always one byte
|
|
9005
9052
|
|
|
@@ -9032,7 +9079,7 @@ const encoding248 = {
|
|
|
9032
9079
|
}
|
|
9033
9080
|
|
|
9034
9081
|
// @assistant/file-request
|
|
9035
|
-
const
|
|
9082
|
+
const encoding250 = {
|
|
9036
9083
|
preencode(state, m) {
|
|
9037
9084
|
c.string.preencode(state, m.chatId)
|
|
9038
9085
|
c.string.preencode(state, m.fileId)
|
|
@@ -9057,7 +9104,7 @@ const encoding249 = {
|
|
|
9057
9104
|
}
|
|
9058
9105
|
|
|
9059
9106
|
// @assistant/file-preview-response
|
|
9060
|
-
const
|
|
9107
|
+
const encoding251 = {
|
|
9061
9108
|
preencode(state, m) {
|
|
9062
9109
|
state.end++ // max flag is 4 so always one byte
|
|
9063
9110
|
|
|
@@ -9086,7 +9133,7 @@ const encoding250 = {
|
|
|
9086
9133
|
}
|
|
9087
9134
|
|
|
9088
9135
|
// @assistant/file-retry-request
|
|
9089
|
-
const
|
|
9136
|
+
const encoding252 = {
|
|
9090
9137
|
preencode(state, m) {
|
|
9091
9138
|
c.string.preencode(state, m.chatId)
|
|
9092
9139
|
c.string.preencode(state, m.fileId)
|
|
@@ -9115,7 +9162,7 @@ const encoding251 = {
|
|
|
9115
9162
|
}
|
|
9116
9163
|
|
|
9117
9164
|
// @assistant/mesh-entry
|
|
9118
|
-
const
|
|
9165
|
+
const encoding253 = {
|
|
9119
9166
|
preencode(state, m) {
|
|
9120
9167
|
const flags =
|
|
9121
9168
|
(m.writable ? 1 : 0) |
|
|
@@ -9190,7 +9237,7 @@ const encoding252 = {
|
|
|
9190
9237
|
}
|
|
9191
9238
|
|
|
9192
9239
|
// @assistant/mesh-label-request
|
|
9193
|
-
const
|
|
9240
|
+
const encoding254 = {
|
|
9194
9241
|
preencode(state, m) {
|
|
9195
9242
|
c.string.preencode(state, m.meshId)
|
|
9196
9243
|
state.end++ // max flag is 1 so always one byte
|
|
@@ -9217,7 +9264,7 @@ const encoding253 = {
|
|
|
9217
9264
|
}
|
|
9218
9265
|
|
|
9219
9266
|
// @assistant/mesh-name-request
|
|
9220
|
-
const
|
|
9267
|
+
const encoding255 = {
|
|
9221
9268
|
preencode(state, m) {
|
|
9222
9269
|
c.string.preencode(state, m.meshId)
|
|
9223
9270
|
state.end++ // max flag is 1 so always one byte
|
|
@@ -9244,33 +9291,33 @@ const encoding254 = {
|
|
|
9244
9291
|
}
|
|
9245
9292
|
|
|
9246
9293
|
// @assistant/mesh-list.meshes
|
|
9247
|
-
const
|
|
9294
|
+
const encoding256_0 = c.array(c.frame(encoding253))
|
|
9248
9295
|
|
|
9249
9296
|
// @assistant/mesh-list
|
|
9250
|
-
const
|
|
9297
|
+
const encoding256 = {
|
|
9251
9298
|
preencode(state, m) {
|
|
9252
9299
|
state.end++ // max flag is 1 so always one byte
|
|
9253
9300
|
|
|
9254
|
-
if (m.meshes)
|
|
9301
|
+
if (m.meshes) encoding256_0.preencode(state, m.meshes)
|
|
9255
9302
|
},
|
|
9256
9303
|
encode(state, m) {
|
|
9257
9304
|
const flags = m.meshes ? 1 : 0
|
|
9258
9305
|
|
|
9259
9306
|
c.uint.encode(state, flags)
|
|
9260
9307
|
|
|
9261
|
-
if (m.meshes)
|
|
9308
|
+
if (m.meshes) encoding256_0.encode(state, m.meshes)
|
|
9262
9309
|
},
|
|
9263
9310
|
decode(state) {
|
|
9264
9311
|
const flags = c.uint.decode(state)
|
|
9265
9312
|
|
|
9266
9313
|
return {
|
|
9267
|
-
meshes: (flags & 1) !== 0 ?
|
|
9314
|
+
meshes: (flags & 1) !== 0 ? encoding256_0.decode(state) : null
|
|
9268
9315
|
}
|
|
9269
9316
|
}
|
|
9270
9317
|
}
|
|
9271
9318
|
|
|
9272
9319
|
// @assistant/account
|
|
9273
|
-
const
|
|
9320
|
+
const encoding257 = {
|
|
9274
9321
|
preencode(state, m) {
|
|
9275
9322
|
state.end++ // max flag is 4 so always one byte
|
|
9276
9323
|
|
|
@@ -9297,7 +9344,7 @@ const encoding256 = {
|
|
|
9297
9344
|
}
|
|
9298
9345
|
|
|
9299
9346
|
// @assistant/mesh-target
|
|
9300
|
-
const
|
|
9347
|
+
const encoding258 = {
|
|
9301
9348
|
preencode(state, m) {
|
|
9302
9349
|
c.string.preencode(state, m.meshId)
|
|
9303
9350
|
},
|
|
@@ -9314,10 +9361,10 @@ const encoding257 = {
|
|
|
9314
9361
|
}
|
|
9315
9362
|
|
|
9316
9363
|
// @assistant/mesh-scope
|
|
9317
|
-
const
|
|
9364
|
+
const encoding259 = encoding258
|
|
9318
9365
|
|
|
9319
9366
|
// @assistant/room-config
|
|
9320
|
-
const
|
|
9367
|
+
const encoding260 = {
|
|
9321
9368
|
preencode(state, m) {
|
|
9322
9369
|
state.end++ // max flag is 1 so always one byte
|
|
9323
9370
|
},
|
|
@@ -9336,33 +9383,33 @@ const encoding259 = {
|
|
|
9336
9383
|
}
|
|
9337
9384
|
|
|
9338
9385
|
// @assistant/create-room-request.config
|
|
9339
|
-
const
|
|
9386
|
+
const encoding261_0 = c.frame(encoding260)
|
|
9340
9387
|
|
|
9341
9388
|
// @assistant/create-room-request
|
|
9342
|
-
const
|
|
9389
|
+
const encoding261 = {
|
|
9343
9390
|
preencode(state, m) {
|
|
9344
9391
|
state.end++ // max flag is 1 so always one byte
|
|
9345
9392
|
|
|
9346
|
-
if (m.config)
|
|
9393
|
+
if (m.config) encoding261_0.preencode(state, m.config)
|
|
9347
9394
|
},
|
|
9348
9395
|
encode(state, m) {
|
|
9349
9396
|
const flags = m.config ? 1 : 0
|
|
9350
9397
|
|
|
9351
9398
|
c.uint.encode(state, flags)
|
|
9352
9399
|
|
|
9353
|
-
if (m.config)
|
|
9400
|
+
if (m.config) encoding261_0.encode(state, m.config)
|
|
9354
9401
|
},
|
|
9355
9402
|
decode(state) {
|
|
9356
9403
|
const flags = c.uint.decode(state)
|
|
9357
9404
|
|
|
9358
9405
|
return {
|
|
9359
|
-
config: (flags & 1) !== 0 ?
|
|
9406
|
+
config: (flags & 1) !== 0 ? encoding261_0.decode(state) : null
|
|
9360
9407
|
}
|
|
9361
9408
|
}
|
|
9362
9409
|
}
|
|
9363
9410
|
|
|
9364
9411
|
// @assistant/mesh-seed-request
|
|
9365
|
-
const
|
|
9412
|
+
const encoding262 = {
|
|
9366
9413
|
preencode(state, m) {
|
|
9367
9414
|
c.fixed32.preencode(state, m.meshKey)
|
|
9368
9415
|
},
|
|
@@ -9379,21 +9426,21 @@ const encoding261 = {
|
|
|
9379
9426
|
}
|
|
9380
9427
|
|
|
9381
9428
|
// @assistant/mesh-seed-handoff.request
|
|
9382
|
-
const
|
|
9429
|
+
const encoding263_1 = c.frame(encoding262)
|
|
9383
9430
|
|
|
9384
9431
|
// @assistant/mesh-seed-handoff
|
|
9385
|
-
const
|
|
9432
|
+
const encoding263 = {
|
|
9386
9433
|
preencode(state, m) {
|
|
9387
9434
|
c.uint.preencode(state, m.id)
|
|
9388
|
-
|
|
9435
|
+
encoding263_1.preencode(state, m.request)
|
|
9389
9436
|
},
|
|
9390
9437
|
encode(state, m) {
|
|
9391
9438
|
c.uint.encode(state, m.id)
|
|
9392
|
-
|
|
9439
|
+
encoding263_1.encode(state, m.request)
|
|
9393
9440
|
},
|
|
9394
9441
|
decode(state) {
|
|
9395
9442
|
const r0 = c.uint.decode(state)
|
|
9396
|
-
const r1 =
|
|
9443
|
+
const r1 = encoding263_1.decode(state)
|
|
9397
9444
|
|
|
9398
9445
|
return {
|
|
9399
9446
|
id: r0,
|
|
@@ -9403,7 +9450,7 @@ const encoding262 = {
|
|
|
9403
9450
|
}
|
|
9404
9451
|
|
|
9405
9452
|
// @assistant/mesh-seed-handoff-ack
|
|
9406
|
-
const
|
|
9453
|
+
const encoding264 = {
|
|
9407
9454
|
preencode(state, m) {
|
|
9408
9455
|
c.uint.preencode(state, m.id)
|
|
9409
9456
|
state.end++ // max flag is 4 so always one byte
|
|
@@ -9434,7 +9481,7 @@ const encoding263 = {
|
|
|
9434
9481
|
}
|
|
9435
9482
|
|
|
9436
9483
|
// @assistant/mesh-admission-request
|
|
9437
|
-
const
|
|
9484
|
+
const encoding265 = {
|
|
9438
9485
|
preencode(state, m) {
|
|
9439
9486
|
c.fixed32.preencode(state, m.meshKey)
|
|
9440
9487
|
c.fixed32.preencode(state, m.writerKey)
|
|
@@ -9490,21 +9537,21 @@ const encoding264 = {
|
|
|
9490
9537
|
}
|
|
9491
9538
|
|
|
9492
9539
|
// @assistant/mesh-admission-handoff.request
|
|
9493
|
-
const
|
|
9540
|
+
const encoding266_1 = c.frame(encoding265)
|
|
9494
9541
|
|
|
9495
9542
|
// @assistant/mesh-admission-handoff
|
|
9496
|
-
const
|
|
9543
|
+
const encoding266 = {
|
|
9497
9544
|
preencode(state, m) {
|
|
9498
9545
|
c.uint.preencode(state, m.id)
|
|
9499
|
-
|
|
9546
|
+
encoding266_1.preencode(state, m.request)
|
|
9500
9547
|
},
|
|
9501
9548
|
encode(state, m) {
|
|
9502
9549
|
c.uint.encode(state, m.id)
|
|
9503
|
-
|
|
9550
|
+
encoding266_1.encode(state, m.request)
|
|
9504
9551
|
},
|
|
9505
9552
|
decode(state) {
|
|
9506
9553
|
const r0 = c.uint.decode(state)
|
|
9507
|
-
const r1 =
|
|
9554
|
+
const r1 = encoding266_1.decode(state)
|
|
9508
9555
|
|
|
9509
9556
|
return {
|
|
9510
9557
|
id: r0,
|
|
@@ -9514,21 +9561,21 @@ const encoding265 = {
|
|
|
9514
9561
|
}
|
|
9515
9562
|
|
|
9516
9563
|
// @assistant/member-config
|
|
9517
|
-
const
|
|
9564
|
+
const encoding267 = encoding48
|
|
9518
9565
|
|
|
9519
9566
|
// @assistant/update-member-request.config
|
|
9520
|
-
const
|
|
9567
|
+
const encoding268_0 = c.frame(encoding267)
|
|
9521
9568
|
|
|
9522
9569
|
// @assistant/update-member-request
|
|
9523
|
-
const
|
|
9570
|
+
const encoding268 = {
|
|
9524
9571
|
preencode(state, m) {
|
|
9525
|
-
|
|
9572
|
+
encoding268_0.preencode(state, m.config)
|
|
9526
9573
|
},
|
|
9527
9574
|
encode(state, m) {
|
|
9528
|
-
|
|
9575
|
+
encoding268_0.encode(state, m.config)
|
|
9529
9576
|
},
|
|
9530
9577
|
decode(state) {
|
|
9531
|
-
const r0 =
|
|
9578
|
+
const r0 = encoding268_0.decode(state)
|
|
9532
9579
|
|
|
9533
9580
|
return {
|
|
9534
9581
|
config: r0
|
|
@@ -9537,7 +9584,7 @@ const encoding267 = {
|
|
|
9537
9584
|
}
|
|
9538
9585
|
|
|
9539
9586
|
// @assistant/remove-member-request
|
|
9540
|
-
const
|
|
9587
|
+
const encoding269 = {
|
|
9541
9588
|
preencode(state, m) {
|
|
9542
9589
|
c.fixed32.preencode(state, m.memberId)
|
|
9543
9590
|
c.string.preencode(state, m.meshId)
|
|
@@ -9558,7 +9605,7 @@ const encoding268 = {
|
|
|
9558
9605
|
}
|
|
9559
9606
|
|
|
9560
9607
|
// @assistant/archived-mesh-contents
|
|
9561
|
-
const
|
|
9608
|
+
const encoding270 = {
|
|
9562
9609
|
preencode(state, m) {
|
|
9563
9610
|
c.string.preencode(state, m.meshId)
|
|
9564
9611
|
c.uint.preencode(state, m.chats)
|
|
@@ -9587,7 +9634,7 @@ const encoding269 = {
|
|
|
9587
9634
|
}
|
|
9588
9635
|
|
|
9589
9636
|
// @assistant/archived-mesh-migration
|
|
9590
|
-
const
|
|
9637
|
+
const encoding271 = {
|
|
9591
9638
|
preencode(state, m) {
|
|
9592
9639
|
c.string.preencode(state, m.meshId)
|
|
9593
9640
|
state.end++ // max flag is 1 so always one byte
|
|
@@ -9622,7 +9669,7 @@ const encoding270 = {
|
|
|
9622
9669
|
}
|
|
9623
9670
|
|
|
9624
9671
|
// @assistant/archived-mesh
|
|
9625
|
-
const
|
|
9672
|
+
const encoding272 = {
|
|
9626
9673
|
preencode(state, m) {
|
|
9627
9674
|
c.string.preencode(state, m.meshId)
|
|
9628
9675
|
c.uint.preencode(state, m.leftAt)
|
|
@@ -9654,33 +9701,33 @@ const encoding271 = {
|
|
|
9654
9701
|
}
|
|
9655
9702
|
|
|
9656
9703
|
// @assistant/archived-mesh-list.meshes
|
|
9657
|
-
const
|
|
9704
|
+
const encoding273_0 = c.array(c.frame(encoding272))
|
|
9658
9705
|
|
|
9659
9706
|
// @assistant/archived-mesh-list
|
|
9660
|
-
const
|
|
9707
|
+
const encoding273 = {
|
|
9661
9708
|
preencode(state, m) {
|
|
9662
9709
|
state.end++ // max flag is 1 so always one byte
|
|
9663
9710
|
|
|
9664
|
-
if (m.meshes)
|
|
9711
|
+
if (m.meshes) encoding273_0.preencode(state, m.meshes)
|
|
9665
9712
|
},
|
|
9666
9713
|
encode(state, m) {
|
|
9667
9714
|
const flags = m.meshes ? 1 : 0
|
|
9668
9715
|
|
|
9669
9716
|
c.uint.encode(state, flags)
|
|
9670
9717
|
|
|
9671
|
-
if (m.meshes)
|
|
9718
|
+
if (m.meshes) encoding273_0.encode(state, m.meshes)
|
|
9672
9719
|
},
|
|
9673
9720
|
decode(state) {
|
|
9674
9721
|
const flags = c.uint.decode(state)
|
|
9675
9722
|
|
|
9676
9723
|
return {
|
|
9677
|
-
meshes: (flags & 1) !== 0 ?
|
|
9724
|
+
meshes: (flags & 1) !== 0 ? encoding273_0.decode(state) : null
|
|
9678
9725
|
}
|
|
9679
9726
|
}
|
|
9680
9727
|
}
|
|
9681
9728
|
|
|
9682
9729
|
// @assistant/account-recovery-state
|
|
9683
|
-
const
|
|
9730
|
+
const encoding274 = {
|
|
9684
9731
|
preencode(state, m) {
|
|
9685
9732
|
state.end++ // max flag is 1 so always one byte
|
|
9686
9733
|
},
|
|
@@ -9699,7 +9746,7 @@ const encoding273 = {
|
|
|
9699
9746
|
}
|
|
9700
9747
|
|
|
9701
9748
|
// @assistant/display-name
|
|
9702
|
-
const
|
|
9749
|
+
const encoding275 = {
|
|
9703
9750
|
preencode(state, m) {
|
|
9704
9751
|
state.end++ // max flag is 1 so always one byte
|
|
9705
9752
|
|
|
@@ -9722,7 +9769,7 @@ const encoding274 = {
|
|
|
9722
9769
|
}
|
|
9723
9770
|
|
|
9724
9771
|
// @assistant/local-file
|
|
9725
|
-
const
|
|
9772
|
+
const encoding276 = {
|
|
9726
9773
|
preencode(state, m) {
|
|
9727
9774
|
c.string.preencode(state, m.meshId)
|
|
9728
9775
|
state.end++ // max flag is 64 so always one byte
|
|
@@ -9776,33 +9823,33 @@ const encoding275 = {
|
|
|
9776
9823
|
}
|
|
9777
9824
|
|
|
9778
9825
|
// @assistant/local-file-list.files
|
|
9779
|
-
const
|
|
9826
|
+
const encoding277_0 = c.array(c.frame(encoding276))
|
|
9780
9827
|
|
|
9781
9828
|
// @assistant/local-file-list
|
|
9782
|
-
const
|
|
9829
|
+
const encoding277 = {
|
|
9783
9830
|
preencode(state, m) {
|
|
9784
9831
|
state.end++ // max flag is 1 so always one byte
|
|
9785
9832
|
|
|
9786
|
-
if (m.files)
|
|
9833
|
+
if (m.files) encoding277_0.preencode(state, m.files)
|
|
9787
9834
|
},
|
|
9788
9835
|
encode(state, m) {
|
|
9789
9836
|
const flags = m.files ? 1 : 0
|
|
9790
9837
|
|
|
9791
9838
|
c.uint.encode(state, flags)
|
|
9792
9839
|
|
|
9793
|
-
if (m.files)
|
|
9840
|
+
if (m.files) encoding277_0.encode(state, m.files)
|
|
9794
9841
|
},
|
|
9795
9842
|
decode(state) {
|
|
9796
9843
|
const flags = c.uint.decode(state)
|
|
9797
9844
|
|
|
9798
9845
|
return {
|
|
9799
|
-
files: (flags & 1) !== 0 ?
|
|
9846
|
+
files: (flags & 1) !== 0 ? encoding277_0.decode(state) : null
|
|
9800
9847
|
}
|
|
9801
9848
|
}
|
|
9802
9849
|
}
|
|
9803
9850
|
|
|
9804
9851
|
// @assistant/local-files-request
|
|
9805
|
-
const
|
|
9852
|
+
const encoding278 = {
|
|
9806
9853
|
preencode(state, m) {
|
|
9807
9854
|
state.end++ // max flag is 1 so always one byte
|
|
9808
9855
|
|
|
@@ -9825,7 +9872,7 @@ const encoding277 = {
|
|
|
9825
9872
|
}
|
|
9826
9873
|
|
|
9827
9874
|
// @assistant/inference-call-entry
|
|
9828
|
-
const
|
|
9875
|
+
const encoding279 = {
|
|
9829
9876
|
preencode(state, m) {
|
|
9830
9877
|
c.string.preencode(state, m.runId)
|
|
9831
9878
|
c.uint.preencode(state, m.at)
|
|
@@ -9850,54 +9897,54 @@ const encoding278 = {
|
|
|
9850
9897
|
}
|
|
9851
9898
|
|
|
9852
9899
|
// @assistant/inference-call-list.calls
|
|
9853
|
-
const
|
|
9900
|
+
const encoding280_0 = c.array(c.frame(encoding279))
|
|
9854
9901
|
|
|
9855
9902
|
// @assistant/inference-call-list
|
|
9856
|
-
const
|
|
9903
|
+
const encoding280 = {
|
|
9857
9904
|
preencode(state, m) {
|
|
9858
9905
|
state.end++ // max flag is 2 so always one byte
|
|
9859
9906
|
|
|
9860
|
-
if (m.calls)
|
|
9907
|
+
if (m.calls) encoding280_0.preencode(state, m.calls)
|
|
9861
9908
|
},
|
|
9862
9909
|
encode(state, m) {
|
|
9863
9910
|
const flags = (m.calls ? 1 : 0) | (m.truncated ? 2 : 0)
|
|
9864
9911
|
|
|
9865
9912
|
c.uint.encode(state, flags)
|
|
9866
9913
|
|
|
9867
|
-
if (m.calls)
|
|
9914
|
+
if (m.calls) encoding280_0.encode(state, m.calls)
|
|
9868
9915
|
},
|
|
9869
9916
|
decode(state) {
|
|
9870
9917
|
const flags = c.uint.decode(state)
|
|
9871
9918
|
|
|
9872
9919
|
return {
|
|
9873
|
-
calls: (flags & 1) !== 0 ?
|
|
9920
|
+
calls: (flags & 1) !== 0 ? encoding280_0.decode(state) : null,
|
|
9874
9921
|
truncated: (flags & 2) !== 0
|
|
9875
9922
|
}
|
|
9876
9923
|
}
|
|
9877
9924
|
}
|
|
9878
9925
|
|
|
9879
9926
|
// @assistant/inference-calls-request
|
|
9880
|
-
const
|
|
9927
|
+
const encoding281 = encoding37
|
|
9881
9928
|
|
|
9882
9929
|
// @assistant/inference-calls-query
|
|
9883
|
-
const
|
|
9930
|
+
const encoding282 = encoding38
|
|
9884
9931
|
|
|
9885
9932
|
// @assistant/inference-calls-handoff.request
|
|
9886
|
-
const
|
|
9933
|
+
const encoding283_1 = c.frame(encoding281)
|
|
9887
9934
|
|
|
9888
9935
|
// @assistant/inference-calls-handoff
|
|
9889
|
-
const
|
|
9936
|
+
const encoding283 = {
|
|
9890
9937
|
preencode(state, m) {
|
|
9891
9938
|
c.uint.preencode(state, m.id)
|
|
9892
|
-
|
|
9939
|
+
encoding283_1.preencode(state, m.request)
|
|
9893
9940
|
},
|
|
9894
9941
|
encode(state, m) {
|
|
9895
9942
|
c.uint.encode(state, m.id)
|
|
9896
|
-
|
|
9943
|
+
encoding283_1.encode(state, m.request)
|
|
9897
9944
|
},
|
|
9898
9945
|
decode(state) {
|
|
9899
9946
|
const r0 = c.uint.decode(state)
|
|
9900
|
-
const r1 =
|
|
9947
|
+
const r1 = encoding283_1.decode(state)
|
|
9901
9948
|
|
|
9902
9949
|
return {
|
|
9903
9950
|
id: r0,
|
|
@@ -9907,16 +9954,16 @@ const encoding282 = {
|
|
|
9907
9954
|
}
|
|
9908
9955
|
|
|
9909
9956
|
// @assistant/inference-calls-handoff-ack.calls
|
|
9910
|
-
const
|
|
9957
|
+
const encoding284_2 = encoding280_0
|
|
9911
9958
|
|
|
9912
9959
|
// @assistant/inference-calls-handoff-ack
|
|
9913
|
-
const
|
|
9960
|
+
const encoding284 = {
|
|
9914
9961
|
preencode(state, m) {
|
|
9915
9962
|
c.uint.preencode(state, m.id)
|
|
9916
9963
|
state.end++ // max flag is 4 so always one byte
|
|
9917
9964
|
|
|
9918
9965
|
if (m.error) c.string.preencode(state, m.error)
|
|
9919
|
-
if (m.calls)
|
|
9966
|
+
if (m.calls) encoding284_2.preencode(state, m.calls)
|
|
9920
9967
|
},
|
|
9921
9968
|
encode(state, m) {
|
|
9922
9969
|
const flags = (m.error ? 1 : 0) | (m.calls ? 2 : 0) | (m.truncated ? 4 : 0)
|
|
@@ -9925,7 +9972,7 @@ const encoding283 = {
|
|
|
9925
9972
|
c.uint.encode(state, flags)
|
|
9926
9973
|
|
|
9927
9974
|
if (m.error) c.string.encode(state, m.error)
|
|
9928
|
-
if (m.calls)
|
|
9975
|
+
if (m.calls) encoding284_2.encode(state, m.calls)
|
|
9929
9976
|
},
|
|
9930
9977
|
decode(state) {
|
|
9931
9978
|
const r0 = c.uint.decode(state)
|
|
@@ -9934,46 +9981,46 @@ const encoding283 = {
|
|
|
9934
9981
|
return {
|
|
9935
9982
|
id: r0,
|
|
9936
9983
|
error: (flags & 1) !== 0 ? c.string.decode(state) : null,
|
|
9937
|
-
calls: (flags & 2) !== 0 ?
|
|
9984
|
+
calls: (flags & 2) !== 0 ? encoding284_2.decode(state) : null,
|
|
9938
9985
|
truncated: (flags & 4) !== 0
|
|
9939
9986
|
}
|
|
9940
9987
|
}
|
|
9941
9988
|
}
|
|
9942
9989
|
|
|
9943
9990
|
// @assistant/mesh-config
|
|
9944
|
-
const
|
|
9991
|
+
const encoding285 = encoding260
|
|
9945
9992
|
|
|
9946
9993
|
// @assistant/create-mesh-request.config
|
|
9947
|
-
const
|
|
9994
|
+
const encoding286_0 = c.frame(encoding285)
|
|
9948
9995
|
|
|
9949
9996
|
// @assistant/create-mesh-request
|
|
9950
|
-
const
|
|
9997
|
+
const encoding286 = {
|
|
9951
9998
|
preencode(state, m) {
|
|
9952
9999
|
state.end++ // max flag is 1 so always one byte
|
|
9953
10000
|
|
|
9954
|
-
if (m.config)
|
|
10001
|
+
if (m.config) encoding286_0.preencode(state, m.config)
|
|
9955
10002
|
},
|
|
9956
10003
|
encode(state, m) {
|
|
9957
10004
|
const flags = m.config ? 1 : 0
|
|
9958
10005
|
|
|
9959
10006
|
c.uint.encode(state, flags)
|
|
9960
10007
|
|
|
9961
|
-
if (m.config)
|
|
10008
|
+
if (m.config) encoding286_0.encode(state, m.config)
|
|
9962
10009
|
},
|
|
9963
10010
|
decode(state) {
|
|
9964
10011
|
const flags = c.uint.decode(state)
|
|
9965
10012
|
|
|
9966
10013
|
return {
|
|
9967
|
-
config: (flags & 1) !== 0 ?
|
|
10014
|
+
config: (flags & 1) !== 0 ? encoding286_0.decode(state) : null
|
|
9968
10015
|
}
|
|
9969
10016
|
}
|
|
9970
10017
|
}
|
|
9971
10018
|
|
|
9972
10019
|
// @assistant/preview-mesh-invite-request
|
|
9973
|
-
const
|
|
10020
|
+
const encoding287 = encoding148
|
|
9974
10021
|
|
|
9975
10022
|
// @assistant/preview-mesh-invite-response
|
|
9976
|
-
const
|
|
10023
|
+
const encoding288 = {
|
|
9977
10024
|
preencode(state, m) {
|
|
9978
10025
|
state.end++ // max flag is 2 so always one byte
|
|
9979
10026
|
|
|
@@ -9997,10 +10044,10 @@ const encoding287 = {
|
|
|
9997
10044
|
}
|
|
9998
10045
|
|
|
9999
10046
|
// @assistant/load-model-request
|
|
10000
|
-
const
|
|
10047
|
+
const encoding289 = encoding48
|
|
10001
10048
|
|
|
10002
10049
|
// @assistant/load-model-response
|
|
10003
|
-
const
|
|
10050
|
+
const encoding290 = {
|
|
10004
10051
|
preencode(state, m) {
|
|
10005
10052
|
state.end++ // max flag is 2 so always one byte
|
|
10006
10053
|
|
|
@@ -10024,10 +10071,10 @@ const encoding289 = {
|
|
|
10024
10071
|
}
|
|
10025
10072
|
|
|
10026
10073
|
// @assistant/unload-model-request
|
|
10027
|
-
const
|
|
10074
|
+
const encoding291 = encoding48
|
|
10028
10075
|
|
|
10029
10076
|
// @assistant/unload-model-response
|
|
10030
|
-
const
|
|
10077
|
+
const encoding292 = {
|
|
10031
10078
|
preencode(state, m) {
|
|
10032
10079
|
state.end++ // max flag is 1 so always one byte
|
|
10033
10080
|
},
|
|
@@ -10045,14 +10092,14 @@ const encoding291 = {
|
|
|
10045
10092
|
}
|
|
10046
10093
|
}
|
|
10047
10094
|
|
|
10048
|
-
const
|
|
10095
|
+
const encoding293_enum = {
|
|
10049
10096
|
chat: 'chat',
|
|
10050
10097
|
image: 'image',
|
|
10051
10098
|
music: 'music'
|
|
10052
10099
|
}
|
|
10053
10100
|
|
|
10054
10101
|
// @assistant/model-use enum
|
|
10055
|
-
const
|
|
10102
|
+
const encoding293 = {
|
|
10056
10103
|
preencode (state, m) {
|
|
10057
10104
|
state.end++ // max enum is 3 so always one byte
|
|
10058
10105
|
},
|
|
@@ -10085,27 +10132,27 @@ const encoding292 = {
|
|
|
10085
10132
|
}
|
|
10086
10133
|
|
|
10087
10134
|
// @assistant/model-users-request
|
|
10088
|
-
const
|
|
10135
|
+
const encoding294 = encoding48
|
|
10089
10136
|
|
|
10090
10137
|
// @assistant/model-user
|
|
10091
|
-
const
|
|
10138
|
+
const encoding295 = {
|
|
10092
10139
|
preencode(state, m) {
|
|
10093
10140
|
c.string.preencode(state, m.agentId)
|
|
10094
10141
|
c.string.preencode(state, m.meshId)
|
|
10095
10142
|
c.string.preencode(state, m.agentName)
|
|
10096
|
-
|
|
10143
|
+
encoding293.preencode(state, m.via)
|
|
10097
10144
|
},
|
|
10098
10145
|
encode(state, m) {
|
|
10099
10146
|
c.string.encode(state, m.agentId)
|
|
10100
10147
|
c.string.encode(state, m.meshId)
|
|
10101
10148
|
c.string.encode(state, m.agentName)
|
|
10102
|
-
|
|
10149
|
+
encoding293.encode(state, m.via)
|
|
10103
10150
|
},
|
|
10104
10151
|
decode(state) {
|
|
10105
10152
|
const r0 = c.string.decode(state)
|
|
10106
10153
|
const r1 = c.string.decode(state)
|
|
10107
10154
|
const r2 = c.string.decode(state)
|
|
10108
|
-
const r3 =
|
|
10155
|
+
const r3 = encoding293.decode(state)
|
|
10109
10156
|
|
|
10110
10157
|
return {
|
|
10111
10158
|
agentId: r0,
|
|
@@ -10117,43 +10164,43 @@ const encoding294 = {
|
|
|
10117
10164
|
}
|
|
10118
10165
|
|
|
10119
10166
|
// @assistant/model-users.agents
|
|
10120
|
-
const
|
|
10167
|
+
const encoding296_0 = c.array(c.frame(encoding295))
|
|
10121
10168
|
|
|
10122
10169
|
// @assistant/model-users
|
|
10123
|
-
const
|
|
10170
|
+
const encoding296 = {
|
|
10124
10171
|
preencode(state, m) {
|
|
10125
10172
|
state.end++ // max flag is 1 so always one byte
|
|
10126
10173
|
|
|
10127
|
-
if (m.agents)
|
|
10174
|
+
if (m.agents) encoding296_0.preencode(state, m.agents)
|
|
10128
10175
|
},
|
|
10129
10176
|
encode(state, m) {
|
|
10130
10177
|
const flags = m.agents ? 1 : 0
|
|
10131
10178
|
|
|
10132
10179
|
c.uint.encode(state, flags)
|
|
10133
10180
|
|
|
10134
|
-
if (m.agents)
|
|
10181
|
+
if (m.agents) encoding296_0.encode(state, m.agents)
|
|
10135
10182
|
},
|
|
10136
10183
|
decode(state) {
|
|
10137
10184
|
const flags = c.uint.decode(state)
|
|
10138
10185
|
|
|
10139
10186
|
return {
|
|
10140
|
-
agents: (flags & 1) !== 0 ?
|
|
10187
|
+
agents: (flags & 1) !== 0 ? encoding296_0.decode(state) : null
|
|
10141
10188
|
}
|
|
10142
10189
|
}
|
|
10143
10190
|
}
|
|
10144
10191
|
|
|
10145
10192
|
// @assistant/chunk-delta.chunks
|
|
10146
|
-
const
|
|
10193
|
+
const encoding297_1 = encoding98_0
|
|
10147
10194
|
// @assistant/chunk-delta.removed
|
|
10148
|
-
const
|
|
10195
|
+
const encoding297_2 = encoding14_6
|
|
10149
10196
|
|
|
10150
10197
|
// @assistant/chunk-delta
|
|
10151
|
-
const
|
|
10198
|
+
const encoding297 = {
|
|
10152
10199
|
preencode(state, m) {
|
|
10153
10200
|
state.end++ // max flag is 4 so always one byte
|
|
10154
10201
|
|
|
10155
|
-
if (m.chunks)
|
|
10156
|
-
if (m.removed)
|
|
10202
|
+
if (m.chunks) encoding297_1.preencode(state, m.chunks)
|
|
10203
|
+
if (m.removed) encoding297_2.preencode(state, m.removed)
|
|
10157
10204
|
c.uint.preencode(state, m.count)
|
|
10158
10205
|
},
|
|
10159
10206
|
encode(state, m) {
|
|
@@ -10161,8 +10208,8 @@ const encoding296 = {
|
|
|
10161
10208
|
|
|
10162
10209
|
c.uint.encode(state, flags)
|
|
10163
10210
|
|
|
10164
|
-
if (m.chunks)
|
|
10165
|
-
if (m.removed)
|
|
10211
|
+
if (m.chunks) encoding297_1.encode(state, m.chunks)
|
|
10212
|
+
if (m.removed) encoding297_2.encode(state, m.removed)
|
|
10166
10213
|
c.uint.encode(state, m.count)
|
|
10167
10214
|
},
|
|
10168
10215
|
decode(state) {
|
|
@@ -10170,18 +10217,56 @@ const encoding296 = {
|
|
|
10170
10217
|
|
|
10171
10218
|
return {
|
|
10172
10219
|
reset: (flags & 1) !== 0,
|
|
10173
|
-
chunks: (flags & 2) !== 0 ?
|
|
10174
|
-
removed: (flags & 4) !== 0 ?
|
|
10220
|
+
chunks: (flags & 2) !== 0 ? encoding297_1.decode(state) : null,
|
|
10221
|
+
removed: (flags & 4) !== 0 ? encoding297_2.decode(state) : null,
|
|
10175
10222
|
count: c.uint.decode(state)
|
|
10176
10223
|
}
|
|
10177
10224
|
}
|
|
10178
10225
|
}
|
|
10179
10226
|
|
|
10180
|
-
|
|
10181
|
-
|
|
10182
|
-
|
|
10227
|
+
// @assistant/model-memory
|
|
10228
|
+
const encoding298 = {
|
|
10229
|
+
preencode(state, m) {
|
|
10230
|
+
c.uint.preencode(state, m.usableBytes)
|
|
10231
|
+
c.uint.preencode(state, m.capPercent)
|
|
10232
|
+
c.uint.preencode(state, m.capBytes)
|
|
10233
|
+
c.uint.preencode(state, m.usedBytes)
|
|
10234
|
+
state.end++ // max flag is 1 so always one byte
|
|
10235
|
+
},
|
|
10236
|
+
encode(state, m) {
|
|
10237
|
+
const flags = m.overCap ? 1 : 0
|
|
10183
10238
|
|
|
10184
|
-
|
|
10239
|
+
c.uint.encode(state, m.usableBytes)
|
|
10240
|
+
c.uint.encode(state, m.capPercent)
|
|
10241
|
+
c.uint.encode(state, m.capBytes)
|
|
10242
|
+
c.uint.encode(state, m.usedBytes)
|
|
10243
|
+
c.uint.encode(state, flags)
|
|
10244
|
+
},
|
|
10245
|
+
decode(state) {
|
|
10246
|
+
const r0 = c.uint.decode(state)
|
|
10247
|
+
const r1 = c.uint.decode(state)
|
|
10248
|
+
const r2 = c.uint.decode(state)
|
|
10249
|
+
const r3 = c.uint.decode(state)
|
|
10250
|
+
const flags = c.uint.decode(state)
|
|
10251
|
+
|
|
10252
|
+
return {
|
|
10253
|
+
usableBytes: r0,
|
|
10254
|
+
capPercent: r1,
|
|
10255
|
+
capBytes: r2,
|
|
10256
|
+
usedBytes: r3,
|
|
10257
|
+
overCap: (flags & 1) !== 0
|
|
10258
|
+
}
|
|
10259
|
+
}
|
|
10260
|
+
}
|
|
10261
|
+
|
|
10262
|
+
// @assistant/model-info-list.memory, deferred due to recusive use
|
|
10263
|
+
const encoding152_1 = c.frame(encoding298)
|
|
10264
|
+
|
|
10265
|
+
function setVersion(v) {
|
|
10266
|
+
version = v
|
|
10267
|
+
}
|
|
10268
|
+
|
|
10269
|
+
function encode(name, value, v = VERSION) {
|
|
10185
10270
|
version = v
|
|
10186
10271
|
return c.encode(getEncoding(name), value)
|
|
10187
10272
|
}
|
|
@@ -10250,23 +10335,23 @@ function getEnum(name) {
|
|
|
10250
10335
|
case '@assistant/kv-cache-deletion-status':
|
|
10251
10336
|
return encoding155_enum
|
|
10252
10337
|
case '@assistant/model-download-phase':
|
|
10253
|
-
return
|
|
10338
|
+
return encoding169_enum
|
|
10254
10339
|
case '@assistant/log-level':
|
|
10255
|
-
return encoding181_enum
|
|
10256
|
-
case '@assistant/log-origin':
|
|
10257
10340
|
return encoding182_enum
|
|
10341
|
+
case '@assistant/log-origin':
|
|
10342
|
+
return encoding183_enum
|
|
10258
10343
|
case '@assistant/skill-setup-token-auth':
|
|
10259
|
-
return
|
|
10344
|
+
return encoding199_enum
|
|
10260
10345
|
case '@assistant/skill-setup-route-kind':
|
|
10261
|
-
return
|
|
10346
|
+
return encoding201_enum
|
|
10262
10347
|
case '@assistant/file-state':
|
|
10263
|
-
return encoding233_enum
|
|
10264
|
-
case '@assistant/file-progress-unit':
|
|
10265
10348
|
return encoding234_enum
|
|
10349
|
+
case '@assistant/file-progress-unit':
|
|
10350
|
+
return encoding235_enum
|
|
10266
10351
|
case '@assistant/notification-kind':
|
|
10267
|
-
return
|
|
10352
|
+
return encoding241_enum
|
|
10268
10353
|
case '@assistant/model-use':
|
|
10269
|
-
return
|
|
10354
|
+
return encoding293_enum
|
|
10270
10355
|
default:
|
|
10271
10356
|
throw new Error('Enum not found ' + name)
|
|
10272
10357
|
}
|
|
@@ -10610,264 +10695,268 @@ function getEncoding(name) {
|
|
|
10610
10695
|
return encoding166
|
|
10611
10696
|
case '@assistant/set-model-released-request':
|
|
10612
10697
|
return encoding167
|
|
10613
|
-
case '@assistant/
|
|
10698
|
+
case '@assistant/set-auto-download-models-request':
|
|
10614
10699
|
return encoding168
|
|
10615
|
-
case '@assistant/model-download':
|
|
10700
|
+
case '@assistant/model-download-phase':
|
|
10616
10701
|
return encoding169
|
|
10617
|
-
case '@assistant/model-download
|
|
10702
|
+
case '@assistant/model-download':
|
|
10618
10703
|
return encoding170
|
|
10619
|
-
case '@assistant/
|
|
10704
|
+
case '@assistant/model-download-list':
|
|
10620
10705
|
return encoding171
|
|
10621
|
-
case '@assistant/
|
|
10706
|
+
case '@assistant/set-model-download-status-request':
|
|
10622
10707
|
return encoding172
|
|
10623
|
-
case '@assistant/
|
|
10708
|
+
case '@assistant/clear-model-download-request':
|
|
10624
10709
|
return encoding173
|
|
10625
|
-
case '@assistant/custom-model
|
|
10710
|
+
case '@assistant/custom-model':
|
|
10626
10711
|
return encoding174
|
|
10627
|
-
case '@assistant/
|
|
10712
|
+
case '@assistant/custom-model-list':
|
|
10628
10713
|
return encoding175
|
|
10629
|
-
case '@assistant/add-custom-model-
|
|
10714
|
+
case '@assistant/add-custom-model-request':
|
|
10630
10715
|
return encoding176
|
|
10631
|
-
case '@assistant/
|
|
10716
|
+
case '@assistant/add-custom-model-response':
|
|
10632
10717
|
return encoding177
|
|
10633
|
-
case '@assistant/
|
|
10718
|
+
case '@assistant/remove-custom-model-request':
|
|
10634
10719
|
return encoding178
|
|
10635
|
-
case '@assistant/custom-model-
|
|
10720
|
+
case '@assistant/preview-custom-model-request':
|
|
10636
10721
|
return encoding179
|
|
10637
|
-
case '@assistant/custom-model-
|
|
10722
|
+
case '@assistant/custom-model-source-file':
|
|
10638
10723
|
return encoding180
|
|
10639
|
-
case '@assistant/
|
|
10724
|
+
case '@assistant/custom-model-preview':
|
|
10640
10725
|
return encoding181
|
|
10641
|
-
case '@assistant/log-
|
|
10726
|
+
case '@assistant/log-level':
|
|
10642
10727
|
return encoding182
|
|
10643
|
-
case '@assistant/log-
|
|
10728
|
+
case '@assistant/log-origin':
|
|
10644
10729
|
return encoding183
|
|
10645
|
-
case '@assistant/log-line
|
|
10730
|
+
case '@assistant/log-line':
|
|
10646
10731
|
return encoding184
|
|
10647
|
-
case '@assistant/
|
|
10732
|
+
case '@assistant/log-line-list':
|
|
10648
10733
|
return encoding185
|
|
10649
|
-
case '@assistant/
|
|
10734
|
+
case '@assistant/logs-watch-request':
|
|
10650
10735
|
return encoding186
|
|
10651
|
-
case '@assistant/
|
|
10736
|
+
case '@assistant/write-log-request':
|
|
10652
10737
|
return encoding187
|
|
10653
|
-
case '@assistant/transcribe-
|
|
10738
|
+
case '@assistant/transcribe-request':
|
|
10654
10739
|
return encoding188
|
|
10655
|
-
case '@assistant/
|
|
10740
|
+
case '@assistant/transcribe-response':
|
|
10656
10741
|
return encoding189
|
|
10657
|
-
case '@assistant/
|
|
10742
|
+
case '@assistant/detect-language-request':
|
|
10658
10743
|
return encoding190
|
|
10659
|
-
case '@assistant/
|
|
10744
|
+
case '@assistant/detected-language':
|
|
10660
10745
|
return encoding191
|
|
10661
|
-
case '@assistant/
|
|
10746
|
+
case '@assistant/detect-language-response':
|
|
10662
10747
|
return encoding192
|
|
10663
|
-
case '@assistant/speak-
|
|
10748
|
+
case '@assistant/speak-request':
|
|
10664
10749
|
return encoding193
|
|
10665
|
-
case '@assistant/
|
|
10750
|
+
case '@assistant/speak-response':
|
|
10666
10751
|
return encoding194
|
|
10667
|
-
case '@assistant/skill-
|
|
10752
|
+
case '@assistant/skill-binary-requirement':
|
|
10668
10753
|
return encoding195
|
|
10669
|
-
case '@assistant/skill-
|
|
10754
|
+
case '@assistant/skill-requirements':
|
|
10670
10755
|
return encoding196
|
|
10671
|
-
case '@assistant/skill-
|
|
10756
|
+
case '@assistant/skill-install-step':
|
|
10672
10757
|
return encoding197
|
|
10673
|
-
case '@assistant/skill-setup-
|
|
10758
|
+
case '@assistant/skill-setup-field':
|
|
10674
10759
|
return encoding198
|
|
10675
|
-
case '@assistant/skill-setup-
|
|
10760
|
+
case '@assistant/skill-setup-token-auth':
|
|
10676
10761
|
return encoding199
|
|
10677
|
-
case '@assistant/skill-setup-
|
|
10762
|
+
case '@assistant/skill-setup-oauth':
|
|
10678
10763
|
return encoding200
|
|
10679
|
-
case '@assistant/skill-setup-route':
|
|
10764
|
+
case '@assistant/skill-setup-route-kind':
|
|
10680
10765
|
return encoding201
|
|
10681
|
-
case '@assistant/skill-setup':
|
|
10766
|
+
case '@assistant/skill-setup-route':
|
|
10682
10767
|
return encoding202
|
|
10683
|
-
case '@assistant/skill':
|
|
10768
|
+
case '@assistant/skill-setup':
|
|
10684
10769
|
return encoding203
|
|
10685
|
-
case '@assistant/skill
|
|
10770
|
+
case '@assistant/skill':
|
|
10686
10771
|
return encoding204
|
|
10687
|
-
case '@assistant/
|
|
10772
|
+
case '@assistant/skill-catalog-response':
|
|
10688
10773
|
return encoding205
|
|
10689
|
-
case '@assistant/tool-catalog-
|
|
10774
|
+
case '@assistant/tool-catalog-entry':
|
|
10690
10775
|
return encoding206
|
|
10691
|
-
case '@assistant/
|
|
10776
|
+
case '@assistant/tool-catalog-response':
|
|
10692
10777
|
return encoding207
|
|
10693
|
-
case '@assistant/
|
|
10778
|
+
case '@assistant/speak-stream-frame':
|
|
10694
10779
|
return encoding208
|
|
10695
|
-
case '@assistant/tool-configs
|
|
10780
|
+
case '@assistant/tool-configs':
|
|
10696
10781
|
return encoding209
|
|
10697
|
-
case '@assistant/
|
|
10782
|
+
case '@assistant/tool-configs-list':
|
|
10698
10783
|
return encoding210
|
|
10699
|
-
case '@assistant/
|
|
10784
|
+
case '@assistant/set-tool-configs-request':
|
|
10700
10785
|
return encoding211
|
|
10701
|
-
case '@assistant/
|
|
10786
|
+
case '@assistant/delete-tool-configs-request':
|
|
10702
10787
|
return encoding212
|
|
10703
|
-
case '@assistant/
|
|
10788
|
+
case '@assistant/list-tool-configs-request':
|
|
10704
10789
|
return encoding213
|
|
10705
|
-
case '@assistant/
|
|
10790
|
+
case '@assistant/skill-secret-value':
|
|
10706
10791
|
return encoding214
|
|
10707
|
-
case '@assistant/skill-secret-
|
|
10792
|
+
case '@assistant/push-skill-secret-request':
|
|
10708
10793
|
return encoding215
|
|
10709
|
-
case '@assistant/skill-secret-handoff
|
|
10794
|
+
case '@assistant/skill-secret-handoff':
|
|
10710
10795
|
return encoding216
|
|
10711
|
-
case '@assistant/
|
|
10796
|
+
case '@assistant/skill-secret-handoff-ack':
|
|
10712
10797
|
return encoding217
|
|
10713
|
-
case '@assistant/tool-activity-
|
|
10798
|
+
case '@assistant/tool-activity-entry':
|
|
10714
10799
|
return encoding218
|
|
10715
|
-
case '@assistant/
|
|
10800
|
+
case '@assistant/tool-activity-list':
|
|
10716
10801
|
return encoding219
|
|
10717
|
-
case '@assistant/
|
|
10802
|
+
case '@assistant/list-tool-activity-request':
|
|
10718
10803
|
return encoding220
|
|
10719
|
-
case '@assistant/tool-activity-
|
|
10804
|
+
case '@assistant/record-tool-activity-request':
|
|
10720
10805
|
return encoding221
|
|
10721
|
-
case '@assistant/
|
|
10806
|
+
case '@assistant/tool-activity-id':
|
|
10722
10807
|
return encoding222
|
|
10723
|
-
case '@assistant/managed-
|
|
10808
|
+
case '@assistant/managed-skill':
|
|
10724
10809
|
return encoding223
|
|
10725
|
-
case '@assistant/
|
|
10810
|
+
case '@assistant/managed-skills-response':
|
|
10726
10811
|
return encoding224
|
|
10727
|
-
case '@assistant/
|
|
10812
|
+
case '@assistant/list-managed-skills-request':
|
|
10728
10813
|
return encoding225
|
|
10729
|
-
case '@assistant/skill-
|
|
10814
|
+
case '@assistant/skill-name-request':
|
|
10730
10815
|
return encoding226
|
|
10731
|
-
case '@assistant/
|
|
10816
|
+
case '@assistant/skill-file-response':
|
|
10732
10817
|
return encoding227
|
|
10733
|
-
case '@assistant/
|
|
10818
|
+
case '@assistant/write-skill-request':
|
|
10734
10819
|
return encoding228
|
|
10735
|
-
case '@assistant/
|
|
10820
|
+
case '@assistant/copy-skill-response':
|
|
10736
10821
|
return encoding229
|
|
10737
|
-
case '@assistant/skill-
|
|
10822
|
+
case '@assistant/delete-skill-response':
|
|
10738
10823
|
return encoding230
|
|
10739
|
-
case '@assistant/skill-overlay-
|
|
10824
|
+
case '@assistant/skill-overlay-op':
|
|
10740
10825
|
return encoding231
|
|
10741
|
-
case '@assistant/skill-overlay-handoff
|
|
10826
|
+
case '@assistant/skill-overlay-handoff':
|
|
10742
10827
|
return encoding232
|
|
10743
|
-
case '@assistant/
|
|
10828
|
+
case '@assistant/skill-overlay-handoff-ack':
|
|
10744
10829
|
return encoding233
|
|
10745
|
-
case '@assistant/file-
|
|
10830
|
+
case '@assistant/file-state':
|
|
10746
10831
|
return encoding234
|
|
10747
|
-
case '@assistant/file-progress':
|
|
10832
|
+
case '@assistant/file-progress-unit':
|
|
10748
10833
|
return encoding235
|
|
10749
|
-
case '@assistant/file-
|
|
10834
|
+
case '@assistant/file-progress':
|
|
10750
10835
|
return encoding236
|
|
10751
|
-
case '@assistant/file-status':
|
|
10836
|
+
case '@assistant/file-processor-status':
|
|
10752
10837
|
return encoding237
|
|
10753
|
-
case '@assistant/file-status
|
|
10838
|
+
case '@assistant/file-status':
|
|
10754
10839
|
return encoding238
|
|
10755
|
-
case '@assistant/
|
|
10840
|
+
case '@assistant/file-status-list':
|
|
10756
10841
|
return encoding239
|
|
10757
|
-
case '@assistant/
|
|
10842
|
+
case '@assistant/compact-chat-response':
|
|
10758
10843
|
return encoding240
|
|
10759
|
-
case '@assistant/notification':
|
|
10844
|
+
case '@assistant/notification-kind':
|
|
10760
10845
|
return encoding241
|
|
10761
|
-
case '@assistant/notification
|
|
10846
|
+
case '@assistant/notification':
|
|
10762
10847
|
return encoding242
|
|
10763
|
-
case '@assistant/notification-
|
|
10848
|
+
case '@assistant/notification-list':
|
|
10764
10849
|
return encoding243
|
|
10765
|
-
case '@assistant/notification-
|
|
10850
|
+
case '@assistant/notification-request':
|
|
10766
10851
|
return encoding244
|
|
10767
|
-
case '@assistant/
|
|
10852
|
+
case '@assistant/notification-ack':
|
|
10768
10853
|
return encoding245
|
|
10769
|
-
case '@assistant/model-transfer':
|
|
10854
|
+
case '@assistant/model-transfer-start':
|
|
10770
10855
|
return encoding246
|
|
10771
|
-
case '@assistant/
|
|
10856
|
+
case '@assistant/model-transfer':
|
|
10772
10857
|
return encoding247
|
|
10773
|
-
case '@assistant/file-read-
|
|
10858
|
+
case '@assistant/file-read-request':
|
|
10774
10859
|
return encoding248
|
|
10775
|
-
case '@assistant/file-
|
|
10860
|
+
case '@assistant/file-read-frame':
|
|
10776
10861
|
return encoding249
|
|
10777
|
-
case '@assistant/file-
|
|
10862
|
+
case '@assistant/file-request':
|
|
10778
10863
|
return encoding250
|
|
10779
|
-
case '@assistant/file-
|
|
10864
|
+
case '@assistant/file-preview-response':
|
|
10780
10865
|
return encoding251
|
|
10781
|
-
case '@assistant/
|
|
10866
|
+
case '@assistant/file-retry-request':
|
|
10782
10867
|
return encoding252
|
|
10783
|
-
case '@assistant/mesh-
|
|
10868
|
+
case '@assistant/mesh-entry':
|
|
10784
10869
|
return encoding253
|
|
10785
|
-
case '@assistant/mesh-
|
|
10870
|
+
case '@assistant/mesh-label-request':
|
|
10786
10871
|
return encoding254
|
|
10787
|
-
case '@assistant/mesh-
|
|
10872
|
+
case '@assistant/mesh-name-request':
|
|
10788
10873
|
return encoding255
|
|
10789
|
-
case '@assistant/
|
|
10874
|
+
case '@assistant/mesh-list':
|
|
10790
10875
|
return encoding256
|
|
10791
|
-
case '@assistant/
|
|
10876
|
+
case '@assistant/account':
|
|
10792
10877
|
return encoding257
|
|
10793
|
-
case '@assistant/mesh-
|
|
10878
|
+
case '@assistant/mesh-target':
|
|
10794
10879
|
return encoding258
|
|
10795
|
-
case '@assistant/
|
|
10880
|
+
case '@assistant/mesh-scope':
|
|
10796
10881
|
return encoding259
|
|
10797
|
-
case '@assistant/
|
|
10882
|
+
case '@assistant/room-config':
|
|
10798
10883
|
return encoding260
|
|
10799
|
-
case '@assistant/
|
|
10884
|
+
case '@assistant/create-room-request':
|
|
10800
10885
|
return encoding261
|
|
10801
|
-
case '@assistant/mesh-seed-
|
|
10886
|
+
case '@assistant/mesh-seed-request':
|
|
10802
10887
|
return encoding262
|
|
10803
|
-
case '@assistant/mesh-seed-handoff
|
|
10888
|
+
case '@assistant/mesh-seed-handoff':
|
|
10804
10889
|
return encoding263
|
|
10805
|
-
case '@assistant/mesh-
|
|
10890
|
+
case '@assistant/mesh-seed-handoff-ack':
|
|
10806
10891
|
return encoding264
|
|
10807
|
-
case '@assistant/mesh-admission-
|
|
10892
|
+
case '@assistant/mesh-admission-request':
|
|
10808
10893
|
return encoding265
|
|
10809
|
-
case '@assistant/
|
|
10894
|
+
case '@assistant/mesh-admission-handoff':
|
|
10810
10895
|
return encoding266
|
|
10811
|
-
case '@assistant/
|
|
10896
|
+
case '@assistant/member-config':
|
|
10812
10897
|
return encoding267
|
|
10813
|
-
case '@assistant/
|
|
10898
|
+
case '@assistant/update-member-request':
|
|
10814
10899
|
return encoding268
|
|
10815
|
-
case '@assistant/
|
|
10900
|
+
case '@assistant/remove-member-request':
|
|
10816
10901
|
return encoding269
|
|
10817
|
-
case '@assistant/archived-mesh-
|
|
10902
|
+
case '@assistant/archived-mesh-contents':
|
|
10818
10903
|
return encoding270
|
|
10819
|
-
case '@assistant/archived-mesh':
|
|
10904
|
+
case '@assistant/archived-mesh-migration':
|
|
10820
10905
|
return encoding271
|
|
10821
|
-
case '@assistant/archived-mesh
|
|
10906
|
+
case '@assistant/archived-mesh':
|
|
10822
10907
|
return encoding272
|
|
10823
|
-
case '@assistant/
|
|
10908
|
+
case '@assistant/archived-mesh-list':
|
|
10824
10909
|
return encoding273
|
|
10825
|
-
case '@assistant/
|
|
10910
|
+
case '@assistant/account-recovery-state':
|
|
10826
10911
|
return encoding274
|
|
10827
|
-
case '@assistant/
|
|
10912
|
+
case '@assistant/display-name':
|
|
10828
10913
|
return encoding275
|
|
10829
|
-
case '@assistant/local-file
|
|
10914
|
+
case '@assistant/local-file':
|
|
10830
10915
|
return encoding276
|
|
10831
|
-
case '@assistant/local-
|
|
10916
|
+
case '@assistant/local-file-list':
|
|
10832
10917
|
return encoding277
|
|
10833
|
-
case '@assistant/
|
|
10918
|
+
case '@assistant/local-files-request':
|
|
10834
10919
|
return encoding278
|
|
10835
|
-
case '@assistant/inference-call-
|
|
10920
|
+
case '@assistant/inference-call-entry':
|
|
10836
10921
|
return encoding279
|
|
10837
|
-
case '@assistant/inference-
|
|
10922
|
+
case '@assistant/inference-call-list':
|
|
10838
10923
|
return encoding280
|
|
10839
|
-
case '@assistant/inference-calls-
|
|
10924
|
+
case '@assistant/inference-calls-request':
|
|
10840
10925
|
return encoding281
|
|
10841
|
-
case '@assistant/inference-calls-
|
|
10926
|
+
case '@assistant/inference-calls-query':
|
|
10842
10927
|
return encoding282
|
|
10843
|
-
case '@assistant/inference-calls-handoff
|
|
10928
|
+
case '@assistant/inference-calls-handoff':
|
|
10844
10929
|
return encoding283
|
|
10845
|
-
case '@assistant/
|
|
10930
|
+
case '@assistant/inference-calls-handoff-ack':
|
|
10846
10931
|
return encoding284
|
|
10847
|
-
case '@assistant/
|
|
10932
|
+
case '@assistant/mesh-config':
|
|
10848
10933
|
return encoding285
|
|
10849
|
-
case '@assistant/
|
|
10934
|
+
case '@assistant/create-mesh-request':
|
|
10850
10935
|
return encoding286
|
|
10851
|
-
case '@assistant/preview-mesh-invite-
|
|
10936
|
+
case '@assistant/preview-mesh-invite-request':
|
|
10852
10937
|
return encoding287
|
|
10853
|
-
case '@assistant/
|
|
10938
|
+
case '@assistant/preview-mesh-invite-response':
|
|
10854
10939
|
return encoding288
|
|
10855
|
-
case '@assistant/load-model-
|
|
10940
|
+
case '@assistant/load-model-request':
|
|
10856
10941
|
return encoding289
|
|
10857
|
-
case '@assistant/
|
|
10942
|
+
case '@assistant/load-model-response':
|
|
10858
10943
|
return encoding290
|
|
10859
|
-
case '@assistant/unload-model-
|
|
10944
|
+
case '@assistant/unload-model-request':
|
|
10860
10945
|
return encoding291
|
|
10861
|
-
case '@assistant/model-
|
|
10946
|
+
case '@assistant/unload-model-response':
|
|
10862
10947
|
return encoding292
|
|
10863
|
-
case '@assistant/model-
|
|
10948
|
+
case '@assistant/model-use':
|
|
10864
10949
|
return encoding293
|
|
10865
|
-
case '@assistant/model-
|
|
10950
|
+
case '@assistant/model-users-request':
|
|
10866
10951
|
return encoding294
|
|
10867
|
-
case '@assistant/model-
|
|
10952
|
+
case '@assistant/model-user':
|
|
10868
10953
|
return encoding295
|
|
10869
|
-
case '@assistant/
|
|
10954
|
+
case '@assistant/model-users':
|
|
10870
10955
|
return encoding296
|
|
10956
|
+
case '@assistant/chunk-delta':
|
|
10957
|
+
return encoding297
|
|
10958
|
+
case '@assistant/model-memory':
|
|
10959
|
+
return encoding298
|
|
10871
10960
|
default:
|
|
10872
10961
|
throw new Error('Encoder not found ' + name)
|
|
10873
10962
|
}
|