@qvac/harness 1.0.0-rc.17 → 1.0.0-rc.19
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 +59 -6
- package/dist-lib/index.d.ts +3 -1
- package/dist-lib/index.js +30 -0
- package/dist-lib/lib/capabilities/completion-engine/loop.d.ts +3 -2
- package/dist-lib/lib/capabilities/completion-engine/loop.js +4 -1
- package/dist-lib/lib/connect.d.ts +2 -0
- package/dist-lib/lib/connect.js +57 -0
- package/dist-lib/lib/contract/completion.d.ts +2 -0
- package/dist-lib/lib/contract/index.d.ts +1 -0
- package/dist-lib/lib/contract/media.d.ts +51 -0
- package/dist-lib/lib/contract/media.js +1 -0
- package/dist-lib/lib/contract/models.d.ts +2 -0
- package/dist-lib/lib/contract-types.d.ts +3 -1
- package/dist-lib/lib/errors.d.ts +8 -0
- package/dist-lib/lib/errors.js +9 -1
- package/dist-lib/lib/machine/completion/actions/completion.d.ts +1 -1
- package/dist-lib/lib/machine/completion/actions/completion.js +3 -7
- package/dist-lib/lib/machine/completion/implementations.d.ts +3 -3
- package/dist-lib/lib/machine/completion/implementations.js +4 -4
- package/dist-lib/lib/machine/completion/machine.d.ts +3 -3
- package/dist-lib/lib/machine/completion/machine.js +3 -3
- package/dist-lib/lib/machine/index.d.ts +3 -3
- package/dist-lib/lib/media-host.d.ts +12 -0
- package/dist-lib/lib/media-host.js +52 -0
- package/dist-lib/lib/media-port.d.ts +20 -0
- package/dist-lib/lib/media-port.js +77 -0
- package/dist-lib/lib/media-wire.d.ts +8 -0
- package/dist-lib/lib/media-wire.js +96 -0
- package/dist-lib/lib/office/engine/xlsx/sheet.js +10 -4
- package/dist-lib/lib/plugins/registry.d.ts +3 -0
- package/dist-lib/lib/serve.js +37 -1
- package/dist-lib/lib/sidecar/index.d.ts +1 -1
- package/dist-lib/lib/sidecar/index.js +3 -5
- package/dist-lib/lib/skills-host/index.js +6 -7
- package/dist-lib/lib/tools/index.d.ts +1 -0
- package/dist-lib/lib/tools/index.js +1 -1
- package/dist-lib/lib/tools/pdf/pages.js +6 -3
- package/dist-lib/lib/tools/pdf/recognize.js +2 -1
- package/dist-lib/lib/tools/skills/bundled-dir.d.ts +5 -1
- package/dist-lib/lib/tools/skills/bundled-dir.js +23 -20
- package/dist-lib/lib/tools/skills/catalog.d.ts +1 -1
- package/dist-lib/lib/tools/skills/catalog.js +1 -1
- package/dist-lib/lib/tools/skills/overlay-crud.d.ts +3 -3
- package/dist-lib/lib/tools/skills/overlay-crud.js +4 -4
- package/dist-lib/plugins/image/edit-image.js +3 -9
- package/dist-lib/plugins/image/generate-image.d.ts +14 -2
- package/dist-lib/plugins/image/generate-image.js +94 -8
- package/dist-lib/plugins/image/index.d.ts +2 -1
- package/dist-lib/plugins/image/index.js +8 -3
- package/dist-lib/plugins/music/generate-music.d.ts +18 -2
- package/dist-lib/plugins/music/generate-music.js +98 -16
- package/dist-lib/plugins/music/index.d.ts +2 -1
- package/dist-lib/plugins/music/index.js +6 -2
- package/dist-lib/plugins/python/bare-floor.js +1 -1
- package/dist-lib/plugins/sandbox-windows/prebuilds/win32-arm64/qvac-sandbox.exe +0 -0
- package/dist-lib/plugins/sandbox-windows/prebuilds/win32-x64/qvac-sandbox.exe +0 -0
- package/dist-lib/plugins/walkie-talkie/index.d.ts +2 -0
- package/dist-lib/plugins/walkie-talkie/index.js +6 -1
- package/dist-lib/schema/generate.js +8 -1
- package/dist-lib/schema/harness.js +9 -2
- package/dist-lib/spec/hrpc/messages.js +46 -4
- package/dist-lib/spec/hyperschema/index.js +46 -4
- package/dist-lib/spec/hyperschema/schema.json +28 -0
- package/dist-lib/spec/hyperschema/types.d.ts +2 -2
- package/package.json +8 -9
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { MusicClamps, MusicModelStages } from '../../lib/models/model-catalog.ts';
|
|
2
2
|
import type { HarnessPlugin, PluginContext, PluginSetup } from '../../lib/plugins/index.ts';
|
|
3
|
-
export { audioDurationSeconds, backendDevice, backendName, CPU_FALLBACK_NOTICE, createGenerateMusicTool, createMusicRuntime, gpuFallback, musicPercentTick, pcmToWav, presentStats, type GeneratedAudio, type MusicGenSdk, type MusicRuntime, type MusicRuntimeOptions, type MusicStats, type MusicTick } from './generate-music.ts';
|
|
3
|
+
export { audioDurationSeconds, audioGenServer, backendDevice, backendName, CPU_FALLBACK_NOTICE, createGenerateMusicTool, createMusicRuntime, gpuFallback, musicPercentTick, pcmToWav, presentStats, type GeneratedAudio, type MusicGenSdk, type MusicRuntime, type MusicRuntimeOptions, type MusicStats, type MusicTick } from './generate-music.ts';
|
|
4
4
|
export interface MusicOptions {
|
|
5
5
|
model: MusicModelStages & {
|
|
6
6
|
inferenceSteps?: number;
|
|
@@ -13,6 +13,7 @@ export declare class Music implements HarnessPlugin {
|
|
|
13
13
|
readonly name = "music";
|
|
14
14
|
readonly api = 1;
|
|
15
15
|
readonly needs: string[];
|
|
16
|
+
readonly provides: string[];
|
|
16
17
|
readonly addons: {
|
|
17
18
|
'audiogen-ggml': () => Promise<any>;
|
|
18
19
|
};
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { HarnessError } from '../../lib/errors.js';
|
|
2
2
|
import { retryMemo } from '../../lib/helpers/retry-memo.js';
|
|
3
3
|
import { PluginRegistry } from '../../lib/plugins/index.js';
|
|
4
|
-
import { createGenerateMusicTool, createMusicRuntime } from './generate-music.js';
|
|
5
|
-
export { audioDurationSeconds, backendDevice, backendName, CPU_FALLBACK_NOTICE, createGenerateMusicTool, createMusicRuntime, gpuFallback, musicPercentTick, pcmToWav, presentStats } from './generate-music.js';
|
|
4
|
+
import { audioGenServer, createGenerateMusicTool, createMusicRuntime } from './generate-music.js';
|
|
5
|
+
export { audioDurationSeconds, audioGenServer, backendDevice, backendName, CPU_FALLBACK_NOTICE, createGenerateMusicTool, createMusicRuntime, gpuFallback, musicPercentTick, pcmToWav, presentStats } from './generate-music.js';
|
|
6
6
|
export class Music {
|
|
7
7
|
name = 'music';
|
|
8
8
|
api = PluginRegistry.API_VERSION;
|
|
9
9
|
needs = ['models'];
|
|
10
|
+
provides = ['music-rounds'];
|
|
10
11
|
addons = { 'audiogen-ggml': () => import('@qvac/audiogen-ggml/binding.js') };
|
|
11
12
|
read;
|
|
12
13
|
_options;
|
|
@@ -49,6 +50,9 @@ export class Music {
|
|
|
49
50
|
});
|
|
50
51
|
return {
|
|
51
52
|
tools: [createGenerateMusicTool(runtime, clamps)],
|
|
53
|
+
services: {
|
|
54
|
+
'music-rounds': audioGenServer(runtime, (name, addon) => models.isCached(name, addon), clamps)
|
|
55
|
+
},
|
|
52
56
|
unload: () => runtime.unload(),
|
|
53
57
|
unloadIdle: () => runtime.unloadIdle()
|
|
54
58
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { PluginRegistry } from '../../lib/plugins/index.js';
|
|
2
|
-
PluginRegistry.requireBare('python', '1.
|
|
2
|
+
PluginRegistry.requireBare('python', '1.35.0');
|
|
Binary file
|
|
Binary file
|
|
@@ -97,6 +97,7 @@ export declare class WalkieTalkie implements HarnessPlugin {
|
|
|
97
97
|
private readonly _working;
|
|
98
98
|
private readonly _waiters;
|
|
99
99
|
private readonly _dropped;
|
|
100
|
+
private readonly _announced;
|
|
100
101
|
private _stopped;
|
|
101
102
|
constructor(options: WalkieTalkieOptions);
|
|
102
103
|
validate(): string | null;
|
|
@@ -104,6 +105,7 @@ export declare class WalkieTalkie implements HarnessPlugin {
|
|
|
104
105
|
agents(): AgentInfo[];
|
|
105
106
|
crew(options?: CrewOptions): Crew;
|
|
106
107
|
teammates(): string[];
|
|
108
|
+
announced(): Promise<void>;
|
|
107
109
|
teammate(name: string): Promise<void>;
|
|
108
110
|
send(to: string, { text, attachments }: Outgoing, sending?: Sending): Promise<Reply>;
|
|
109
111
|
ask(question: string, signal?: Pick<AbortSignal, 'aborted' | 'addEventListener'>): Promise<Answer>;
|
|
@@ -25,6 +25,7 @@ export class WalkieTalkie {
|
|
|
25
25
|
_working = new Map();
|
|
26
26
|
_waiters = [];
|
|
27
27
|
_dropped = new Map();
|
|
28
|
+
_announced = Promise.withResolvers();
|
|
28
29
|
_stopped = false;
|
|
29
30
|
constructor(options) {
|
|
30
31
|
this._options = options;
|
|
@@ -74,7 +75,8 @@ export class WalkieTalkie {
|
|
|
74
75
|
void joined
|
|
75
76
|
.flushed()
|
|
76
77
|
.then(() => joined.refresh())
|
|
77
|
-
.catch(noop)
|
|
78
|
+
.catch(noop)
|
|
79
|
+
.then(this._announced.resolve);
|
|
78
80
|
const teardown = async () => {
|
|
79
81
|
this._stopped = true;
|
|
80
82
|
swarm.off('connection', onConnection);
|
|
@@ -102,6 +104,9 @@ export class WalkieTalkie {
|
|
|
102
104
|
teammates() {
|
|
103
105
|
return [...this._lines.keys()];
|
|
104
106
|
}
|
|
107
|
+
announced() {
|
|
108
|
+
return this._announced.promise;
|
|
109
|
+
}
|
|
105
110
|
async teammate(name) {
|
|
106
111
|
while (!this._lines.has(name)) {
|
|
107
112
|
await new Promise((resolve) => this._waiters.push(resolve));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import fs from '
|
|
1
|
+
import fs from 'fs';
|
|
2
2
|
function tsName(fqn) {
|
|
3
3
|
return fqn
|
|
4
4
|
.slice(1)
|
|
@@ -87,6 +87,7 @@ export function writeCapabilities(builder, outFile, options = {}) {
|
|
|
87
87
|
s +=
|
|
88
88
|
'// the generated client pre-arms an error observer - a dying stream never crashes a host that only listens to data\n';
|
|
89
89
|
s += 'export interface WatchStream<Frame> extends AsyncIterable<Frame> {\n';
|
|
90
|
+
s += ' readonly destroyed: boolean\n';
|
|
90
91
|
s += " on(event: 'data', listener: (frame: Frame) => void): this\n";
|
|
91
92
|
s += " on(event: 'error', listener: (err: Error) => void): this\n";
|
|
92
93
|
s += " on(event: 'close' | 'end', listener: () => void): this\n";
|
|
@@ -96,6 +97,12 @@ export function writeCapabilities(builder, outFile, options = {}) {
|
|
|
96
97
|
s += ' destroy(): void\n';
|
|
97
98
|
s += '}\n\n';
|
|
98
99
|
s += 'export interface UploadStream<In, Out> extends WatchStream<Out> {\n';
|
|
100
|
+
s += " on(event: 'data', listener: (frame: Out) => void): this\n";
|
|
101
|
+
s += " on(event: 'error', listener: (err: Error) => void): this\n";
|
|
102
|
+
s += " on(event: 'close' | 'end' | 'drain', listener: () => void): this\n";
|
|
103
|
+
s += " off(event: 'data', listener: (frame: Out) => void): this\n";
|
|
104
|
+
s += " off(event: 'error', listener: (err: Error) => void): this\n";
|
|
105
|
+
s += " off(event: 'close' | 'end' | 'drain', listener: () => void): this\n";
|
|
99
106
|
s += ' write(frame: In): boolean\n';
|
|
100
107
|
s += ' end(): void\n';
|
|
101
108
|
s += '}\n\n';
|
|
@@ -96,7 +96,10 @@ export function registerHarnessTypes(ns) {
|
|
|
96
96
|
'model-round-chunk',
|
|
97
97
|
'model-round-retake',
|
|
98
98
|
'model-round-result',
|
|
99
|
-
'round-cut'
|
|
99
|
+
'round-cut',
|
|
100
|
+
'media-round-ask',
|
|
101
|
+
'media-round-tick',
|
|
102
|
+
'media-round-result'
|
|
100
103
|
],
|
|
101
104
|
strings: true
|
|
102
105
|
});
|
|
@@ -180,7 +183,11 @@ export function registerHarnessTypes(ns) {
|
|
|
180
183
|
'model-round-ask',
|
|
181
184
|
'model-round-cancel',
|
|
182
185
|
'model-round-retake',
|
|
183
|
-
'model-round-result'
|
|
186
|
+
'model-round-result',
|
|
187
|
+
'media-round-ask',
|
|
188
|
+
'media-round-cancel',
|
|
189
|
+
'media-round-tick',
|
|
190
|
+
'media-round-result'
|
|
184
191
|
],
|
|
185
192
|
strings: true
|
|
186
193
|
});
|
|
@@ -439,13 +439,16 @@ const encoding10_enum = {
|
|
|
439
439
|
"model-round-chunk": 'model-round-chunk',
|
|
440
440
|
"model-round-retake": 'model-round-retake',
|
|
441
441
|
"model-round-result": 'model-round-result',
|
|
442
|
-
"round-cut": 'round-cut'
|
|
442
|
+
"round-cut": 'round-cut',
|
|
443
|
+
"media-round-ask": 'media-round-ask',
|
|
444
|
+
"media-round-tick": 'media-round-tick',
|
|
445
|
+
"media-round-result": 'media-round-result'
|
|
443
446
|
}
|
|
444
447
|
|
|
445
448
|
// @harness/completion-frame-type enum
|
|
446
449
|
const encoding10 = {
|
|
447
450
|
preencode (state, m) {
|
|
448
|
-
state.end++ // max enum is
|
|
451
|
+
state.end++ // max enum is 20 so always one byte
|
|
449
452
|
},
|
|
450
453
|
encode (state, m) {
|
|
451
454
|
switch (m) {
|
|
@@ -500,6 +503,15 @@ const encoding10 = {
|
|
|
500
503
|
case 'round-cut':
|
|
501
504
|
c.uint.encode(state, 17)
|
|
502
505
|
break
|
|
506
|
+
case 'media-round-ask':
|
|
507
|
+
c.uint.encode(state, 18)
|
|
508
|
+
break
|
|
509
|
+
case 'media-round-tick':
|
|
510
|
+
c.uint.encode(state, 19)
|
|
511
|
+
break
|
|
512
|
+
case 'media-round-result':
|
|
513
|
+
c.uint.encode(state, 20)
|
|
514
|
+
break
|
|
503
515
|
default:
|
|
504
516
|
throw new Error('Unknown enum')
|
|
505
517
|
}
|
|
@@ -540,6 +552,12 @@ const encoding10 = {
|
|
|
540
552
|
return 'model-round-result'
|
|
541
553
|
case 17:
|
|
542
554
|
return 'round-cut'
|
|
555
|
+
case 18:
|
|
556
|
+
return 'media-round-ask'
|
|
557
|
+
case 19:
|
|
558
|
+
return 'media-round-tick'
|
|
559
|
+
case 20:
|
|
560
|
+
return 'media-round-result'
|
|
543
561
|
default: return null
|
|
544
562
|
}
|
|
545
563
|
}
|
|
@@ -764,13 +782,17 @@ const encoding12_enum = {
|
|
|
764
782
|
"model-round-ask": 'model-round-ask',
|
|
765
783
|
"model-round-cancel": 'model-round-cancel',
|
|
766
784
|
"model-round-retake": 'model-round-retake',
|
|
767
|
-
"model-round-result": 'model-round-result'
|
|
785
|
+
"model-round-result": 'model-round-result',
|
|
786
|
+
"media-round-ask": 'media-round-ask',
|
|
787
|
+
"media-round-cancel": 'media-round-cancel',
|
|
788
|
+
"media-round-tick": 'media-round-tick',
|
|
789
|
+
"media-round-result": 'media-round-result'
|
|
768
790
|
}
|
|
769
791
|
|
|
770
792
|
// @harness/completion-event-type enum
|
|
771
793
|
const encoding12 = {
|
|
772
794
|
preencode (state, m) {
|
|
773
|
-
state.end++ // max enum is
|
|
795
|
+
state.end++ // max enum is 37 so always one byte
|
|
774
796
|
},
|
|
775
797
|
encode (state, m) {
|
|
776
798
|
switch (m) {
|
|
@@ -873,6 +895,18 @@ const encoding12 = {
|
|
|
873
895
|
case 'model-round-result':
|
|
874
896
|
c.uint.encode(state, 33)
|
|
875
897
|
break
|
|
898
|
+
case 'media-round-ask':
|
|
899
|
+
c.uint.encode(state, 34)
|
|
900
|
+
break
|
|
901
|
+
case 'media-round-cancel':
|
|
902
|
+
c.uint.encode(state, 35)
|
|
903
|
+
break
|
|
904
|
+
case 'media-round-tick':
|
|
905
|
+
c.uint.encode(state, 36)
|
|
906
|
+
break
|
|
907
|
+
case 'media-round-result':
|
|
908
|
+
c.uint.encode(state, 37)
|
|
909
|
+
break
|
|
876
910
|
default:
|
|
877
911
|
throw new Error('Unknown enum')
|
|
878
912
|
}
|
|
@@ -945,6 +979,14 @@ const encoding12 = {
|
|
|
945
979
|
return 'model-round-retake'
|
|
946
980
|
case 33:
|
|
947
981
|
return 'model-round-result'
|
|
982
|
+
case 34:
|
|
983
|
+
return 'media-round-ask'
|
|
984
|
+
case 35:
|
|
985
|
+
return 'media-round-cancel'
|
|
986
|
+
case 36:
|
|
987
|
+
return 'media-round-tick'
|
|
988
|
+
case 37:
|
|
989
|
+
return 'media-round-result'
|
|
948
990
|
default: return null
|
|
949
991
|
}
|
|
950
992
|
}
|
|
@@ -439,13 +439,16 @@ const encoding10_enum = {
|
|
|
439
439
|
"model-round-chunk": 'model-round-chunk',
|
|
440
440
|
"model-round-retake": 'model-round-retake',
|
|
441
441
|
"model-round-result": 'model-round-result',
|
|
442
|
-
"round-cut": 'round-cut'
|
|
442
|
+
"round-cut": 'round-cut',
|
|
443
|
+
"media-round-ask": 'media-round-ask',
|
|
444
|
+
"media-round-tick": 'media-round-tick',
|
|
445
|
+
"media-round-result": 'media-round-result'
|
|
443
446
|
}
|
|
444
447
|
|
|
445
448
|
// @harness/completion-frame-type enum
|
|
446
449
|
const encoding10 = {
|
|
447
450
|
preencode (state, m) {
|
|
448
|
-
state.end++ // max enum is
|
|
451
|
+
state.end++ // max enum is 20 so always one byte
|
|
449
452
|
},
|
|
450
453
|
encode (state, m) {
|
|
451
454
|
switch (m) {
|
|
@@ -500,6 +503,15 @@ const encoding10 = {
|
|
|
500
503
|
case 'round-cut':
|
|
501
504
|
c.uint.encode(state, 17)
|
|
502
505
|
break
|
|
506
|
+
case 'media-round-ask':
|
|
507
|
+
c.uint.encode(state, 18)
|
|
508
|
+
break
|
|
509
|
+
case 'media-round-tick':
|
|
510
|
+
c.uint.encode(state, 19)
|
|
511
|
+
break
|
|
512
|
+
case 'media-round-result':
|
|
513
|
+
c.uint.encode(state, 20)
|
|
514
|
+
break
|
|
503
515
|
default:
|
|
504
516
|
throw new Error('Unknown enum')
|
|
505
517
|
}
|
|
@@ -540,6 +552,12 @@ const encoding10 = {
|
|
|
540
552
|
return 'model-round-result'
|
|
541
553
|
case 17:
|
|
542
554
|
return 'round-cut'
|
|
555
|
+
case 18:
|
|
556
|
+
return 'media-round-ask'
|
|
557
|
+
case 19:
|
|
558
|
+
return 'media-round-tick'
|
|
559
|
+
case 20:
|
|
560
|
+
return 'media-round-result'
|
|
543
561
|
default: return null
|
|
544
562
|
}
|
|
545
563
|
}
|
|
@@ -764,13 +782,17 @@ const encoding12_enum = {
|
|
|
764
782
|
"model-round-ask": 'model-round-ask',
|
|
765
783
|
"model-round-cancel": 'model-round-cancel',
|
|
766
784
|
"model-round-retake": 'model-round-retake',
|
|
767
|
-
"model-round-result": 'model-round-result'
|
|
785
|
+
"model-round-result": 'model-round-result',
|
|
786
|
+
"media-round-ask": 'media-round-ask',
|
|
787
|
+
"media-round-cancel": 'media-round-cancel',
|
|
788
|
+
"media-round-tick": 'media-round-tick',
|
|
789
|
+
"media-round-result": 'media-round-result'
|
|
768
790
|
}
|
|
769
791
|
|
|
770
792
|
// @harness/completion-event-type enum
|
|
771
793
|
const encoding12 = {
|
|
772
794
|
preencode (state, m) {
|
|
773
|
-
state.end++ // max enum is
|
|
795
|
+
state.end++ // max enum is 37 so always one byte
|
|
774
796
|
},
|
|
775
797
|
encode (state, m) {
|
|
776
798
|
switch (m) {
|
|
@@ -873,6 +895,18 @@ const encoding12 = {
|
|
|
873
895
|
case 'model-round-result':
|
|
874
896
|
c.uint.encode(state, 33)
|
|
875
897
|
break
|
|
898
|
+
case 'media-round-ask':
|
|
899
|
+
c.uint.encode(state, 34)
|
|
900
|
+
break
|
|
901
|
+
case 'media-round-cancel':
|
|
902
|
+
c.uint.encode(state, 35)
|
|
903
|
+
break
|
|
904
|
+
case 'media-round-tick':
|
|
905
|
+
c.uint.encode(state, 36)
|
|
906
|
+
break
|
|
907
|
+
case 'media-round-result':
|
|
908
|
+
c.uint.encode(state, 37)
|
|
909
|
+
break
|
|
876
910
|
default:
|
|
877
911
|
throw new Error('Unknown enum')
|
|
878
912
|
}
|
|
@@ -945,6 +979,14 @@ const encoding12 = {
|
|
|
945
979
|
return 'model-round-retake'
|
|
946
980
|
case 33:
|
|
947
981
|
return 'model-round-result'
|
|
982
|
+
case 34:
|
|
983
|
+
return 'media-round-ask'
|
|
984
|
+
case 35:
|
|
985
|
+
return 'media-round-cancel'
|
|
986
|
+
case 36:
|
|
987
|
+
return 'media-round-tick'
|
|
988
|
+
case 37:
|
|
989
|
+
return 'media-round-result'
|
|
948
990
|
default: return null
|
|
949
991
|
}
|
|
950
992
|
}
|
|
@@ -398,6 +398,18 @@
|
|
|
398
398
|
{
|
|
399
399
|
"key": "round-cut",
|
|
400
400
|
"version": 23
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
"key": "media-round-ask",
|
|
404
|
+
"version": 23
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"key": "media-round-tick",
|
|
408
|
+
"version": 23
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
"key": "media-round-result",
|
|
412
|
+
"version": 23
|
|
401
413
|
}
|
|
402
414
|
],
|
|
403
415
|
"strings": true
|
|
@@ -711,6 +723,22 @@
|
|
|
711
723
|
{
|
|
712
724
|
"key": "model-round-result",
|
|
713
725
|
"version": 23
|
|
726
|
+
},
|
|
727
|
+
{
|
|
728
|
+
"key": "media-round-ask",
|
|
729
|
+
"version": 23
|
|
730
|
+
},
|
|
731
|
+
{
|
|
732
|
+
"key": "media-round-cancel",
|
|
733
|
+
"version": 23
|
|
734
|
+
},
|
|
735
|
+
{
|
|
736
|
+
"key": "media-round-tick",
|
|
737
|
+
"version": 23
|
|
738
|
+
},
|
|
739
|
+
{
|
|
740
|
+
"key": "media-round-result",
|
|
741
|
+
"version": 23
|
|
714
742
|
}
|
|
715
743
|
],
|
|
716
744
|
"strings": true
|
|
@@ -68,7 +68,7 @@ export interface HarnessAttachmentRecord {
|
|
|
68
68
|
byteLength: number
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
export type HarnessCompletionFrameType = "start" | "decision" | "attach-result" | "fetch-result" | "rag-result" | "question-result" | "drive-result" | "invoke" | "run-log-result" | "pause" | "steer" | "follow-up" | "model-round-ask" | "model-round-chunk" | "model-round-retake" | "model-round-result" | "round-cut"
|
|
71
|
+
export type HarnessCompletionFrameType = "start" | "decision" | "attach-result" | "fetch-result" | "rag-result" | "question-result" | "drive-result" | "invoke" | "run-log-result" | "pause" | "steer" | "follow-up" | "model-round-ask" | "model-round-chunk" | "model-round-retake" | "model-round-result" | "round-cut" | "media-round-ask" | "media-round-tick" | "media-round-result"
|
|
72
72
|
|
|
73
73
|
export interface HarnessCompletionFrame {
|
|
74
74
|
type: HarnessCompletionFrameType
|
|
@@ -105,7 +105,7 @@ export interface HarnessCompletionFrame {
|
|
|
105
105
|
runId?: string | null
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
export type HarnessCompletionEventType = "content" | "thinking" | "tool-call" | "tool-result" | "approval-ask" | "metrics" | "error" | "aborted" | "attach-ask" | "fetch-ask" | "progress" | "rag-ask" | "question-ask" | "done" | "tool-activity" | "drive-ask" | "inference-call" | "inference-sent" | "run-started" | "run-resumed" | "paused" | "recovery-required" | "round-reset" | "run-log-append" | "input" | "goal" | "fold" | "input-rejected" | "context" | "model-round-ask" | "model-round-cancel" | "model-round-retake" | "model-round-result"
|
|
108
|
+
export type HarnessCompletionEventType = "content" | "thinking" | "tool-call" | "tool-result" | "approval-ask" | "metrics" | "error" | "aborted" | "attach-ask" | "fetch-ask" | "progress" | "rag-ask" | "question-ask" | "done" | "tool-activity" | "drive-ask" | "inference-call" | "inference-sent" | "run-started" | "run-resumed" | "paused" | "recovery-required" | "round-reset" | "run-log-append" | "input" | "goal" | "fold" | "input-rejected" | "context" | "model-round-ask" | "model-round-cancel" | "model-round-retake" | "model-round-result" | "media-round-ask" | "media-round-cancel" | "media-round-tick" | "media-round-result"
|
|
109
109
|
|
|
110
110
|
export interface HarnessCompletionEvent {
|
|
111
111
|
type: HarnessCompletionEventType
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qvac/harness",
|
|
3
|
-
"version": "1.0.0-rc.
|
|
3
|
+
"version": "1.0.0-rc.19",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"engines": {
|
|
6
6
|
"bare": ">=1.33.4",
|
|
@@ -589,7 +589,6 @@
|
|
|
589
589
|
"@qvac/error": "^0.1.1",
|
|
590
590
|
"@qvac/inference": "^0.23.0",
|
|
591
591
|
"@qvac/logging": "0.1.1",
|
|
592
|
-
"@qvac/skills": "^0.1.20",
|
|
593
592
|
"@xmldom/xmldom": "^0.9.12",
|
|
594
593
|
"asenion": "^0.1.0",
|
|
595
594
|
"b4a": "^1.9.0",
|
|
@@ -605,12 +604,11 @@
|
|
|
605
604
|
"bare-gpu-info": "^0.1.3",
|
|
606
605
|
"bare-http1": "4.5.9",
|
|
607
606
|
"bare-https": "^3.0.0",
|
|
608
|
-
"bare-module": "~7.1.0",
|
|
609
607
|
"bare-os": "^3.9.1",
|
|
610
608
|
"bare-path": "^3.0.1",
|
|
611
609
|
"bare-pdfium": "^1.6.0",
|
|
612
610
|
"bare-process": "4.5.1",
|
|
613
|
-
"bare-sidecar": "0.5.
|
|
611
|
+
"bare-sidecar": "0.5.15",
|
|
614
612
|
"bare-storage": "^1.1.0",
|
|
615
613
|
"bare-stow": "^0.1.7",
|
|
616
614
|
"bare-stream": "^2.13.3",
|
|
@@ -619,7 +617,7 @@
|
|
|
619
617
|
"bare-tls": "^3.1.13",
|
|
620
618
|
"bare-tty": "^5.1.2",
|
|
621
619
|
"bare-url": "^2.5.6",
|
|
622
|
-
"bare-worker": "4.5.
|
|
620
|
+
"bare-worker": "^4.5.3",
|
|
623
621
|
"bare-zlib": "^1.4.1",
|
|
624
622
|
"compact-encoding": "^3.4.0",
|
|
625
623
|
"hrpc": "^4.3.0",
|
|
@@ -745,6 +743,7 @@
|
|
|
745
743
|
"@qvac/llm-llamacpp": "^0.65.0",
|
|
746
744
|
"@qvac/ocr-ggml": "^0.31.0",
|
|
747
745
|
"@qvac/sdk": "^0.23.0",
|
|
746
|
+
"@qvac/skills": "^0.1.20",
|
|
748
747
|
"@qvac/translation-nmtcpp": "^0.23.0",
|
|
749
748
|
"@qvac/tts-ggml": "^0.14.0",
|
|
750
749
|
"@qvac/turbovec-ggml": "^0.3.1",
|
|
@@ -754,7 +753,7 @@
|
|
|
754
753
|
"bare-media": "^2.10.0",
|
|
755
754
|
"bare-module-traverse": "~2.5.8",
|
|
756
755
|
"bare-net": "^2.3.2",
|
|
757
|
-
"bare-runtime": "1.
|
|
756
|
+
"bare-runtime": "1.36.0",
|
|
758
757
|
"bare-semver": "^1.1.0",
|
|
759
758
|
"bare-tui": "0.3.0",
|
|
760
759
|
"barevisor": "0.1.0",
|
|
@@ -792,10 +791,10 @@
|
|
|
792
791
|
"overrides": {
|
|
793
792
|
"@jitl/quickjs-singlefile-mjs-release-sync": "0.32.0",
|
|
794
793
|
"quickjs-emscripten-core": "0.32.0",
|
|
795
|
-
"bare-sidecar": "0.5.
|
|
794
|
+
"bare-sidecar": "0.5.15",
|
|
796
795
|
"bare-module-traverse": "~2.5.8",
|
|
797
|
-
"bare-thread": "
|
|
798
|
-
"bare-runtime": "1.
|
|
796
|
+
"bare-thread": "~1.4.0",
|
|
797
|
+
"bare-runtime": "1.36.0",
|
|
799
798
|
"bare-process": "4.5.1",
|
|
800
799
|
"lodash": "4.18.1",
|
|
801
800
|
"hyperschema": "^1.23.0",
|