@inupedia/spotlight-vue 0.8.4 → 0.8.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/spotlight-vue.css +1 -1
- package/dist/avatar/config.d.ts +2 -0
- package/dist/avatar/config.d.ts.map +1 -1
- package/dist/avatar/speech/spotlightSpeech.d.ts.map +1 -1
- package/dist/avatar/speech/spotlightSpeech.js +17 -13
- package/dist/components/Live2dPanel.vue.d.ts +16 -1
- package/dist/components/Live2dPanel.vue.d.ts.map +1 -1
- package/dist/components/Live2dPanel.vue.js +3 -3
- package/dist/components/Live2dPanel2.vue.js +85 -42
- package/dist/components/SpotlightShell.vue.d.ts.map +1 -1
- package/dist/components/SpotlightShell.vue.js +5 -2
- package/dist/components/SpotlightShell2.vue.js +226 -220
- package/dist/plugin.js +1 -1
- package/dist/remote/audio.d.ts.map +1 -1
- package/dist/remote/audio.js +4 -4
- package/dist/remote/runPipeline.d.ts +9 -3
- package/dist/remote/runPipeline.d.ts.map +1 -1
- package/dist/remote/runPipeline.js +110 -88
- package/dist/store/pipeline/constants.d.ts +2 -0
- package/dist/store/pipeline/constants.d.ts.map +1 -1
- package/dist/store/pipeline/constants.js +2 -0
- package/dist/store/runtime/types.d.ts +1 -1
- package/dist/store/runtime/types.d.ts.map +1 -1
- package/dist/store/spotlightStore.d.ts +1 -3
- package/dist/store/spotlightStore.d.ts.map +1 -1
- package/package.json +3 -3
- package/dist/avatar/speech/live2dBriefingSummarizer.js +0 -91
- package/dist/avatar/speech/live2dStreamSpeech.js +0 -4
- package/dist/avatar/speech/llmUtils.js +0 -18
|
@@ -1,311 +1,317 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { buildFastLive2dBriefing as Se, summarizeLive2dBriefing as ke } from "../avatar/speech/live2dBriefingSummarizer.js";
|
|
3
|
-
import { isGenericHostExecutionReply as X } from "../avatar/speech/live2dAnswerSpeechPolicy.js";
|
|
4
|
-
import { LIVE2D_ANSWER_STEP_ID as Le } from "../avatar/speech/live2dStreamSpeech.js";
|
|
1
|
+
import { defineComponent as me, computed as P, ref as u, watch as ge, onMounted as be, onUnmounted as we, openBlock as N, createElementBlock as G, Fragment as ye, createVNode as Se, unref as _, createBlock as Le, createElementVNode as $, createCommentVNode as ke, nextTick as j } from "vue";
|
|
5
2
|
import { waitForAudioNaturalEnd as Te } from "../avatar/speech/live2dTtsPlayback.js";
|
|
6
|
-
import {
|
|
7
|
-
import { storeToRefs as
|
|
8
|
-
import { useSpotlightStore as
|
|
3
|
+
import { SpotlightSpeechService as Ce, hasSpotlightSpeechConfig as Ee } from "../avatar/speech/spotlightSpeech.js";
|
|
4
|
+
import { storeToRefs as Ve } from "pinia";
|
|
5
|
+
import { useSpotlightStore as Ae } from "../store/spotlightStore.js";
|
|
9
6
|
import { useSpotlightAvatarConfig as Pe } from "../avatar/config.js";
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import { useLive2dOverlayStore as
|
|
13
|
-
import { useLive2dSpeechStore as
|
|
14
|
-
import { useLive2dVoiceChannelStore as
|
|
15
|
-
import { devWarn as
|
|
16
|
-
const
|
|
7
|
+
import Ke from "./SpotlightRoot.vue.js";
|
|
8
|
+
import xe from "./Live2dPanel.vue.js";
|
|
9
|
+
import { useLive2dOverlayStore as Be } from "../store/live2dOverlayStore.js";
|
|
10
|
+
import { useLive2dSpeechStore as He } from "../store/live2dSpeechStore.js";
|
|
11
|
+
import { useLive2dVoiceChannelStore as Re } from "../store/live2dVoiceChannelStore.js";
|
|
12
|
+
import { devWarn as _e } from "../utils/devConsole.js";
|
|
13
|
+
const Y = "Backquote", Fe = "`", Ye = /* @__PURE__ */ me({
|
|
17
14
|
__name: "SpotlightShell",
|
|
18
15
|
props: {
|
|
19
16
|
avatarEnabled: { type: Boolean, default: !1 }
|
|
20
17
|
},
|
|
21
|
-
setup(
|
|
22
|
-
const
|
|
23
|
-
() =>
|
|
24
|
-
),
|
|
25
|
-
() =>
|
|
26
|
-
), n =
|
|
18
|
+
setup(F) {
|
|
19
|
+
const k = F, K = Pe(), Q = P(
|
|
20
|
+
() => K.deckKicker?.trim() || "SPOTLIGHT"
|
|
21
|
+
), x = P(
|
|
22
|
+
() => K.greetingText?.trim() || "您好,我是 Spotlight 助手"
|
|
23
|
+
), n = Ae(), T = Be(), { visible: v } = Ve(T), o = He(), s = Re(), p = new Ce(), w = u(null), l = u(!1), h = u(!1), y = u(!1), C = u(null), E = u(null), B = u(null), f = u(null), m = u(0), g = u(!1), D = P(
|
|
27
24
|
() => Math.max(
|
|
28
25
|
0,
|
|
29
|
-
|
|
26
|
+
K.briefingKeepLastMs ?? 0
|
|
30
27
|
)
|
|
31
28
|
);
|
|
32
29
|
let b = null;
|
|
33
|
-
const
|
|
30
|
+
const d = u(!1);
|
|
31
|
+
let H = Promise.resolve(), O = 0;
|
|
32
|
+
const J = P(() => n.showThinkingBar ? !k.avatarEnabled || !v.value || n.pipelinePhase === "running" || g.value ? !0 : n.pipelinePhase === "done" : !1), X = P(() => {
|
|
34
33
|
const e = n.agentSteps.length === 1 && n.agentSteps[0]?.label === "回答";
|
|
35
|
-
return n.pipelinePhase === "running" || e ||
|
|
34
|
+
return n.pipelinePhase === "running" || e || g.value;
|
|
36
35
|
});
|
|
37
|
-
function
|
|
38
|
-
|
|
39
|
-
}
|
|
40
|
-
function z() {
|
|
41
|
-
k.value != null && (window.clearTimeout(k.value), k.value = null);
|
|
36
|
+
function Z() {
|
|
37
|
+
g.value = !1, v.value && (n.showThinkingBar = !1);
|
|
42
38
|
}
|
|
43
39
|
function I() {
|
|
44
|
-
|
|
40
|
+
w.value != null && (window.clearTimeout(w.value), w.value = null);
|
|
41
|
+
}
|
|
42
|
+
function U() {
|
|
43
|
+
I(), C.value && (C.value.abort(), C.value = null), h.value = !1, y.value = !1, l.value = !1, d.value = !1, s.reset(), p.cancel();
|
|
45
44
|
}
|
|
46
|
-
function
|
|
47
|
-
b && (b.abort(), b = null),
|
|
45
|
+
function S() {
|
|
46
|
+
b && (b.abort(), b = null), f.value && (f.value.abort(), f.value = null), V(), o.reset(), import("../avatar/spine/live2dApp.js").then(
|
|
48
47
|
(e) => e.stopLive2dLipSync()
|
|
49
48
|
);
|
|
50
49
|
}
|
|
51
|
-
function
|
|
52
|
-
return e <= 0 ? Promise.resolve() : new Promise((i,
|
|
53
|
-
const
|
|
54
|
-
t?.removeEventListener("abort",
|
|
55
|
-
}, e),
|
|
56
|
-
window.clearTimeout(
|
|
50
|
+
function ee(e, t) {
|
|
51
|
+
return e <= 0 ? Promise.resolve() : new Promise((i, a) => {
|
|
52
|
+
const r = window.setTimeout(() => {
|
|
53
|
+
t?.removeEventListener("abort", L), i();
|
|
54
|
+
}, e), L = () => {
|
|
55
|
+
window.clearTimeout(r), a(new DOMException("Aborted", "AbortError"));
|
|
57
56
|
};
|
|
58
57
|
if (t?.aborted) {
|
|
59
|
-
|
|
58
|
+
L();
|
|
60
59
|
return;
|
|
61
60
|
}
|
|
62
|
-
t?.addEventListener("abort",
|
|
61
|
+
t?.addEventListener("abort", L, { once: !0 });
|
|
63
62
|
});
|
|
64
63
|
}
|
|
65
|
-
async function
|
|
66
|
-
if (!
|
|
67
|
-
|
|
68
|
-
const e =
|
|
69
|
-
if (b = t, !
|
|
70
|
-
b = null, await
|
|
64
|
+
async function te() {
|
|
65
|
+
if (!v.value || n.pipelinePhase === "running") return;
|
|
66
|
+
S(), m.value += 1;
|
|
67
|
+
const e = m.value, t = new AbortController();
|
|
68
|
+
if (b = t, !Ee()) {
|
|
69
|
+
b = null, await j(), (await import("../avatar/spine/live2dApp.js")).playLive2dHello(), o.start(x.value, { instant: !0 }), o.reset();
|
|
71
70
|
return;
|
|
72
71
|
}
|
|
73
|
-
const i =
|
|
74
|
-
|
|
72
|
+
const i = p.synthesize(
|
|
73
|
+
x.value,
|
|
75
74
|
t.signal
|
|
76
75
|
);
|
|
77
|
-
if (await
|
|
78
|
-
requestAnimationFrame(() =>
|
|
79
|
-
}), !!
|
|
76
|
+
if (await j(), await new Promise((a) => {
|
|
77
|
+
requestAnimationFrame(() => a());
|
|
78
|
+
}), !!c(t, e))
|
|
80
79
|
try {
|
|
81
|
-
const { blob:
|
|
82
|
-
if (!
|
|
83
|
-
await
|
|
84
|
-
|
|
85
|
-
|
|
80
|
+
const { blob: a } = await i;
|
|
81
|
+
if (!c(t, e)) return;
|
|
82
|
+
await W(
|
|
83
|
+
x.value,
|
|
84
|
+
a,
|
|
86
85
|
t,
|
|
87
86
|
e,
|
|
88
87
|
{ instantText: !0, playHelloWithSpeech: !0 }
|
|
89
88
|
);
|
|
90
|
-
} catch (
|
|
89
|
+
} catch (a) {
|
|
91
90
|
if (t.signal.aborted) return;
|
|
92
|
-
const
|
|
93
|
-
|
|
91
|
+
const r = a instanceof Error ? a.message : "数字人招呼语音失败,请稍后重试。";
|
|
92
|
+
_e("[live2d-greeting]", r), c(t, e) && ((await import("../avatar/spine/live2dApp.js")).playLive2dHello(), o.start(x.value, { instant: !0 }), o.reset());
|
|
94
93
|
} finally {
|
|
95
94
|
b === t && (b = null);
|
|
96
95
|
}
|
|
97
96
|
}
|
|
98
|
-
function
|
|
99
|
-
|
|
97
|
+
function V() {
|
|
98
|
+
E.value && (E.value.pause(), E.value.src = "", E.value = null), B.value && (URL.revokeObjectURL(B.value), B.value = null);
|
|
100
99
|
}
|
|
101
|
-
function
|
|
102
|
-
|
|
100
|
+
function ne() {
|
|
101
|
+
S(), m.value += 1;
|
|
102
|
+
const e = new AbortController();
|
|
103
|
+
f.value = e, H = Promise.resolve(), O = 0, g.value = !0;
|
|
103
104
|
}
|
|
104
|
-
|
|
105
|
-
const
|
|
106
|
-
if (!
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
const w = ke(e, i.signal).then((s) => {
|
|
121
|
-
s.sentences.length > 0 && (v = s.sentences);
|
|
122
|
-
}).catch(() => {
|
|
123
|
-
});
|
|
124
|
-
let h = -1, y = null;
|
|
125
|
-
const F = (s) => {
|
|
126
|
-
s < 0 || s >= a.length || h === s && y || (h = s, y = S.synthesize(a[s].text, i.signal).then((O) => O.blob));
|
|
127
|
-
};
|
|
128
|
-
let c = 0;
|
|
129
|
-
for (; c < a.length; ) {
|
|
130
|
-
if (!u(i, t)) return;
|
|
131
|
-
if (!K && v && (a = v, K = !0, h = -1, y = null, c >= a.length))
|
|
132
|
-
break;
|
|
133
|
-
const s = a[c];
|
|
134
|
-
F(c);
|
|
135
|
-
const O = h === c && y ? await y : (await S.synthesize(s.text, i.signal)).blob;
|
|
136
|
-
if (!u(i, t)) return;
|
|
137
|
-
F(c + 1), c === 0 && re(), await j(s.text, O, i, t, {
|
|
105
|
+
function ie(e) {
|
|
106
|
+
const t = f.value;
|
|
107
|
+
if (!t || t.signal.aborted || !e.text.trim()) return;
|
|
108
|
+
const i = m.value, a = p.synthesize(e.text, t.signal).then(
|
|
109
|
+
(r) => ({ blob: r.blob, error: null }),
|
|
110
|
+
(r) => ({ blob: null, error: r })
|
|
111
|
+
);
|
|
112
|
+
O += 1, H = H.then(async () => {
|
|
113
|
+
const r = await a;
|
|
114
|
+
if (r.error) throw r.error;
|
|
115
|
+
r.blob && c(t, i) && (e.index === 0 && Z(), await W(
|
|
116
|
+
e.text,
|
|
117
|
+
r.blob,
|
|
118
|
+
t,
|
|
119
|
+
i,
|
|
120
|
+
{
|
|
138
121
|
instantText: !0,
|
|
139
|
-
hasFollowingClip:
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
if (o.value = !1, B(), (await import("../avatar/spine/live2dApp.js")).stopLive2dLipSync(), u(i, t)) {
|
|
158
|
-
if (W.value > 0)
|
|
159
|
-
try {
|
|
160
|
-
await G(W.value, i.signal);
|
|
161
|
-
} catch {
|
|
162
|
-
}
|
|
163
|
-
u(i, t) && l.reset();
|
|
164
|
-
}
|
|
165
|
-
T.value === i && (T.value = null);
|
|
122
|
+
hasFollowingClip: !0
|
|
123
|
+
}
|
|
124
|
+
));
|
|
125
|
+
}).catch((r) => {
|
|
126
|
+
t.signal.aborted || (n.error = r instanceof Error ? r.message : "数字人语音播放失败,请稍后重试。");
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
async function re() {
|
|
130
|
+
const e = f.value;
|
|
131
|
+
if (!e) return;
|
|
132
|
+
const t = m.value;
|
|
133
|
+
if (await H, g.value = !1, V(), (await import("../avatar/spine/live2dApp.js")).stopLive2dLipSync(), c(e, t)) {
|
|
134
|
+
if (D.value > 0 && O > 0)
|
|
135
|
+
try {
|
|
136
|
+
await ee(D.value, e.signal);
|
|
137
|
+
} catch {
|
|
138
|
+
}
|
|
139
|
+
c(e, t) && o.reset();
|
|
166
140
|
}
|
|
141
|
+
f.value === e && (f.value = null);
|
|
167
142
|
}
|
|
168
|
-
function
|
|
169
|
-
return !e.signal.aborted &&
|
|
143
|
+
function c(e, t) {
|
|
144
|
+
return !e.signal.aborted && m.value === t;
|
|
170
145
|
}
|
|
171
|
-
async function
|
|
172
|
-
if (!
|
|
173
|
-
const
|
|
174
|
-
|
|
175
|
-
const
|
|
176
|
-
|
|
177
|
-
const
|
|
178
|
-
|
|
179
|
-
const
|
|
180
|
-
if (
|
|
181
|
-
|
|
146
|
+
async function W(e, t, i, a, r) {
|
|
147
|
+
if (!c(i, a)) return;
|
|
148
|
+
const L = r?.hasFollowingClip ?? !1;
|
|
149
|
+
V();
|
|
150
|
+
const z = URL.createObjectURL(t);
|
|
151
|
+
B.value = z;
|
|
152
|
+
const A = new Audio(z);
|
|
153
|
+
A.volume = 1, E.value = A;
|
|
154
|
+
const R = await import("../avatar/spine/live2dApp.js"), { buildWavEnvelopeFromBlob: de } = await import("../avatar/spine/spineLipSync.js"), pe = r?.lipSyncEnvelope ?? await de(t);
|
|
155
|
+
if (c(i, a)) {
|
|
156
|
+
r?.playHelloWithSpeech && R.playLive2dHello(), R.bindLive2dLipSyncToAudio(A, pe), o.start(e, { instant: r?.instantText ?? !0 });
|
|
182
157
|
try {
|
|
183
|
-
await
|
|
184
|
-
} catch (
|
|
185
|
-
throw
|
|
158
|
+
await A.play();
|
|
159
|
+
} catch (he) {
|
|
160
|
+
throw R.stopLive2dLipSync(), V(), he;
|
|
186
161
|
}
|
|
187
|
-
if (await Te(
|
|
188
|
-
if (
|
|
189
|
-
|
|
162
|
+
if (await Te(A, i.signal), R.stopLive2dLipSync(), V(), !!c(i, a)) {
|
|
163
|
+
if (L) {
|
|
164
|
+
o.finish();
|
|
190
165
|
return;
|
|
191
166
|
}
|
|
192
|
-
|
|
167
|
+
o.reset();
|
|
193
168
|
}
|
|
194
169
|
}
|
|
195
170
|
}
|
|
196
|
-
function
|
|
197
|
-
return
|
|
171
|
+
function M() {
|
|
172
|
+
return k.avatarEnabled ? v.value && !n.visible && !n.loading && !y.value && !h.value : !1;
|
|
198
173
|
}
|
|
199
|
-
async function
|
|
200
|
-
if (
|
|
201
|
-
const e =
|
|
202
|
-
|
|
174
|
+
async function q() {
|
|
175
|
+
if (h.value) return;
|
|
176
|
+
const e = d.value;
|
|
177
|
+
l.value = !1, e && s.setTranscribing(!0), h.value = !0;
|
|
203
178
|
const t = new AbortController();
|
|
204
|
-
|
|
179
|
+
C.value = t;
|
|
205
180
|
try {
|
|
206
|
-
const { text: i } = await
|
|
181
|
+
const { text: i } = await p.stopAndTranscribe(t.signal), a = i.trim();
|
|
207
182
|
if (e) {
|
|
208
|
-
if (
|
|
209
|
-
n.prompt =
|
|
183
|
+
if (d.value = !1, s.setTranscribing(!1), !a) return;
|
|
184
|
+
n.prompt = a, ne();
|
|
185
|
+
try {
|
|
186
|
+
await n.submit({
|
|
187
|
+
interactionMode: "voice",
|
|
188
|
+
onVoiceSentence: ie
|
|
189
|
+
});
|
|
190
|
+
} finally {
|
|
191
|
+
await re();
|
|
192
|
+
}
|
|
210
193
|
return;
|
|
211
194
|
}
|
|
212
|
-
const
|
|
213
|
-
n.prompt =
|
|
195
|
+
const r = n.prompt.trim();
|
|
196
|
+
n.prompt = r ? `${r} ${i}` : i;
|
|
214
197
|
} catch (i) {
|
|
215
198
|
if (t.signal.aborted) return;
|
|
216
|
-
const
|
|
217
|
-
n.error =
|
|
199
|
+
const a = i instanceof Error ? i.message : "语音识别失败,请重试。";
|
|
200
|
+
n.error = a;
|
|
218
201
|
} finally {
|
|
219
|
-
|
|
202
|
+
C.value = null, h.value = !1, l.value = !1, d.value = !1, s.reset();
|
|
220
203
|
}
|
|
221
204
|
}
|
|
222
|
-
function
|
|
205
|
+
function ae(e) {
|
|
223
206
|
if (e.repeat || e.metaKey || e.ctrlKey || e.altKey || e.shiftKey) return;
|
|
224
|
-
const t =
|
|
225
|
-
!n.visible && !t || n.visible && n.loading || (e.preventDefault(), !(
|
|
226
|
-
|
|
227
|
-
const i =
|
|
207
|
+
const t = M();
|
|
208
|
+
!n.visible && !t || n.visible && n.loading || (e.preventDefault(), !(w.value != null || l.value) && (w.value = window.setTimeout(async () => {
|
|
209
|
+
w.value = null;
|
|
210
|
+
const i = M();
|
|
228
211
|
if (!(!n.visible && !i) && !(n.visible && n.loading))
|
|
229
212
|
try {
|
|
230
|
-
await
|
|
231
|
-
} catch (
|
|
232
|
-
const
|
|
233
|
-
n.error =
|
|
213
|
+
await p.startRecording(), l.value = !0, d.value = i, i ? s.setRecording(!0) : s.reset(), n.error = "";
|
|
214
|
+
} catch (a) {
|
|
215
|
+
const r = a instanceof Error ? a.message : "无法启动语音录制。";
|
|
216
|
+
n.error = r, l.value = !1, d.value = !1, s.reset();
|
|
234
217
|
}
|
|
235
218
|
}, 450)));
|
|
236
219
|
}
|
|
237
|
-
function
|
|
238
|
-
if (
|
|
220
|
+
async function oe() {
|
|
221
|
+
if (!(!M() || y.value)) {
|
|
222
|
+
y.value = !0;
|
|
223
|
+
try {
|
|
224
|
+
if (S(), await p.startRecording(), !v.value) {
|
|
225
|
+
p.cancel();
|
|
226
|
+
return;
|
|
227
|
+
}
|
|
228
|
+
l.value = !0, d.value = !0, s.setRecording(!0), n.error = "";
|
|
229
|
+
} catch (e) {
|
|
230
|
+
const t = e instanceof Error ? e.message : "无法启动语音录制。";
|
|
231
|
+
n.error = t, l.value = !1, d.value = !1, s.reset();
|
|
232
|
+
} finally {
|
|
233
|
+
y.value = !1;
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
function le() {
|
|
238
|
+
l.value && q();
|
|
239
|
+
}
|
|
240
|
+
function se(e) {
|
|
241
|
+
if (e.code !== Y || !n.visible && !l.value) return;
|
|
239
242
|
e.preventDefault();
|
|
240
|
-
const t =
|
|
241
|
-
|
|
243
|
+
const t = l.value;
|
|
244
|
+
I(), t && q();
|
|
242
245
|
}
|
|
243
|
-
function
|
|
244
|
-
if (e.code ===
|
|
245
|
-
|
|
246
|
+
function ue(e) {
|
|
247
|
+
if (e.code === Y) {
|
|
248
|
+
ae(e);
|
|
246
249
|
return;
|
|
247
250
|
}
|
|
248
251
|
const t = e.key.toLowerCase(), i = e.metaKey || e.ctrlKey;
|
|
249
|
-
|
|
252
|
+
k.avatarEnabled && i && t === "l" && (e.preventDefault(), T.toggle());
|
|
250
253
|
}
|
|
251
|
-
function
|
|
252
|
-
|
|
254
|
+
function ce() {
|
|
255
|
+
T.show();
|
|
253
256
|
}
|
|
254
|
-
function ve(
|
|
257
|
+
function ve() {
|
|
258
|
+
g.value = !1, m.value += 1, S(), o.reset(), n.showThinkingBar ? n.closeThinking() : n.visible && n.close();
|
|
259
|
+
}
|
|
260
|
+
function fe(e) {
|
|
255
261
|
if (!e) {
|
|
256
|
-
|
|
262
|
+
U(), v.value && n.prepareLive2dVoiceChannel();
|
|
257
263
|
return;
|
|
258
264
|
}
|
|
259
265
|
}
|
|
260
|
-
return
|
|
261
|
-
if (
|
|
266
|
+
return ge(v, (e) => {
|
|
267
|
+
if (k.avatarEnabled) {
|
|
262
268
|
if (!e) {
|
|
263
|
-
|
|
269
|
+
g.value = !1, U(), S(), o.reset(), s.reset();
|
|
264
270
|
return;
|
|
265
271
|
}
|
|
266
|
-
n.visible || n.prepareLive2dVoiceChannel(),
|
|
267
|
-
}
|
|
268
|
-
}), Q(
|
|
269
|
-
() => [n.pipelinePhase, n.pipelineRunId, p.value],
|
|
270
|
-
([e, t, i]) => {
|
|
271
|
-
if (C.avatarEnabled) {
|
|
272
|
-
if (e === "running") {
|
|
273
|
-
o.value = !1, m();
|
|
274
|
-
return;
|
|
275
|
-
}
|
|
276
|
-
if (e !== "done") {
|
|
277
|
-
(e === "error" || e === "cancelled") && (o.value = !1, m());
|
|
278
|
-
return;
|
|
279
|
-
}
|
|
280
|
-
i && (t <= N.value || (N.value = t, U(() => {
|
|
281
|
-
const r = $().trim();
|
|
282
|
-
if (!r || X(r) || !Z()) {
|
|
283
|
-
o.value = !1;
|
|
284
|
-
return;
|
|
285
|
-
}
|
|
286
|
-
o.value = !0, E.value += 1, le();
|
|
287
|
-
})));
|
|
288
|
-
}
|
|
272
|
+
n.visible || n.prepareLive2dVoiceChannel(), te();
|
|
289
273
|
}
|
|
290
|
-
),
|
|
291
|
-
|
|
292
|
-
}), (
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
"
|
|
274
|
+
}), be(() => {
|
|
275
|
+
k.avatarEnabled && K.initiallyVisible && T.show();
|
|
276
|
+
}), we(() => {
|
|
277
|
+
U(), S(), o.reset(), s.reset();
|
|
278
|
+
}), (e, t) => (N(), G(ye, null, [
|
|
279
|
+
Se(Ke, {
|
|
280
|
+
"deck-kicker": Q.value,
|
|
281
|
+
"voice-hold-active": l.value,
|
|
282
|
+
"speech-pending": h.value,
|
|
297
283
|
"voice-key-label": Fe,
|
|
298
|
-
"show-thinking":
|
|
299
|
-
"thinking-centered":
|
|
300
|
-
"on-escape":
|
|
301
|
-
"on-keydown":
|
|
302
|
-
"on-keyup":
|
|
303
|
-
onVisibleChange:
|
|
284
|
+
"show-thinking": J.value,
|
|
285
|
+
"thinking-centered": X.value,
|
|
286
|
+
"on-escape": ve,
|
|
287
|
+
"on-keydown": ue,
|
|
288
|
+
"on-keyup": se,
|
|
289
|
+
onVisibleChange: fe
|
|
304
290
|
}, null, 8, ["deck-kicker", "voice-hold-active", "speech-pending", "show-thinking", "thinking-centered"]),
|
|
305
|
-
|
|
291
|
+
F.avatarEnabled && _(v) ? (N(), Le(xe, {
|
|
292
|
+
key: 0,
|
|
293
|
+
"voice-disabled": _(n).loading || h.value || y.value,
|
|
294
|
+
"voice-error": _(n).error,
|
|
295
|
+
onVoiceStart: oe,
|
|
296
|
+
onVoiceStop: le,
|
|
297
|
+
onClose: _(T).hide
|
|
298
|
+
}, null, 8, ["voice-disabled", "voice-error", "onClose"])) : F.avatarEnabled ? (N(), G("button", {
|
|
299
|
+
key: 1,
|
|
300
|
+
type: "button",
|
|
301
|
+
class: "spotlight-avatar-reopen",
|
|
302
|
+
"aria-label": "再次打开数字人小滴",
|
|
303
|
+
title: "再次打开小滴(Ctrl/Command + L)",
|
|
304
|
+
onClick: ce
|
|
305
|
+
}, [...t[0] || (t[0] = [
|
|
306
|
+
$("span", {
|
|
307
|
+
class: "spotlight-avatar-reopen__drop",
|
|
308
|
+
"aria-hidden": "true"
|
|
309
|
+
}, null, -1),
|
|
310
|
+
$("span", { class: "spotlight-avatar-reopen__label" }, "小滴", -1)
|
|
311
|
+
])])) : ke("", !0)
|
|
306
312
|
], 64));
|
|
307
313
|
}
|
|
308
314
|
});
|
|
309
315
|
export {
|
|
310
|
-
|
|
316
|
+
Ye as default
|
|
311
317
|
};
|
package/dist/plugin.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"audio.d.ts","sourceRoot":"","sources":["../../src/remote/audio.ts"],"names":[],"mappings":"AAUA,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"audio.d.ts","sourceRoot":"","sources":["../../src/remote/audio.ts"],"names":[],"mappings":"AAUA,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAUxD;AAED,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,CAMjE;AAED,MAAM,MAAM,6BAA6B,GAAG;IAC1C,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,wBAAsB,wBAAwB,CAC5C,OAAO,EAAE,6BAA6B,EACtC,MAAM,CAAC,EAAE,WAAW,GACnB,OAAO,CAAC,OAAO,CAAC,CAWlB;AAED,wBAAsB,yBAAyB,CAC7C,IAAI,EAAE,MAAM,EACZ,MAAM,CAAC,EAAE,WAAW,GACnB,OAAO,CAAC;IAAE,IAAI,EAAE,IAAI,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,CAAC,CA6B7C"}
|
package/dist/remote/audio.js
CHANGED
|
@@ -2,8 +2,8 @@ import { withRequestTimeout as s } from "../utils/requestTimeout.js";
|
|
|
2
2
|
import { getSpotlightServerBase as p, buildSpotlightJsonHeaders as u } from "./httpConfig.js";
|
|
3
3
|
import { postSpotlightJson as T } from "./serverJson.js";
|
|
4
4
|
const l = 3e4, f = 45e3;
|
|
5
|
-
function
|
|
6
|
-
return t.replace(/```[\s\S]*?```/g, " ").replace(/`([^`]+)`/g, "$1").replace(/\[(.*?)\]\((.*?)\)/g, "$1").replace(/[#>*_-]+/g, " ").replace(/\s+/g, " ").trim().slice(0, 3e3);
|
|
5
|
+
function g(t) {
|
|
6
|
+
return t.replace(/```[\s\S]*?```/g, " ").replace(/`([^`]+)`/g, "$1").replace(/\[(.*?)\]\((.*?)\)/g, "$1").replace(/[#>*_-]+/g, " ").replace(/\s+/g, " ").replace(/\s+([,。!?、;:,.!?;:])/g, "$1").trim().slice(0, 3e3);
|
|
7
7
|
}
|
|
8
8
|
function w(t) {
|
|
9
9
|
if (typeof t == "string") return t.trim();
|
|
@@ -24,7 +24,7 @@ async function b(t, e) {
|
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
async function E(t, e) {
|
|
27
|
-
const r =
|
|
27
|
+
const r = g(t);
|
|
28
28
|
if (!r)
|
|
29
29
|
throw new Error("TTS 输入为空。");
|
|
30
30
|
const i = s(f, e);
|
|
@@ -49,7 +49,7 @@ async function E(t, e) {
|
|
|
49
49
|
}
|
|
50
50
|
export {
|
|
51
51
|
w as extractTranscriptionText,
|
|
52
|
-
|
|
52
|
+
g as normalizeSpeakText,
|
|
53
53
|
E as spotlightSynthesizeSpeech,
|
|
54
54
|
b as spotlightTranscribeAudio
|
|
55
55
|
};
|
|
@@ -3,6 +3,14 @@ import type { HandlerApi } from "../store/pipeline/types.js";
|
|
|
3
3
|
import type { SpotlightExecutionEvent } from "../store/runtime/types.js";
|
|
4
4
|
import { executeRemoteHostTool } from "./hostToolRunner.js";
|
|
5
5
|
import type { SpotlightPipelineRunOutcome } from "./types.js";
|
|
6
|
+
export interface SpotlightPipelineRunOptions {
|
|
7
|
+
forceMemoryRefresh?: boolean;
|
|
8
|
+
interactionMode?: "text" | "voice";
|
|
9
|
+
onVoiceSentence?: (sentence: {
|
|
10
|
+
index: number;
|
|
11
|
+
text: string;
|
|
12
|
+
}) => void;
|
|
13
|
+
}
|
|
6
14
|
type RemoteRunEvent = SpotlightExecutionEvent | {
|
|
7
15
|
type: "host_action_request";
|
|
8
16
|
at: number;
|
|
@@ -102,9 +110,7 @@ export declare function applyRemoteEvent(api: HandlerApi, event: RemoteRunEvent,
|
|
|
102
110
|
/** Render only stable Thread / Turn / Item events; LangGraph phases stay server-side. */
|
|
103
111
|
export declare function applyLifecycleEvent(api: HandlerApi, event: SpotlightTurnEvent, lookup?: ToolLaneLookup): Promise<void>;
|
|
104
112
|
export declare function warmupSpotlightRemoteContext(signal?: AbortSignal): Promise<void>;
|
|
105
|
-
export declare function runRemoteSpotlightPipeline(userQuestion: string, api: HandlerApi, options?:
|
|
106
|
-
forceMemoryRefresh?: boolean;
|
|
107
|
-
}): Promise<SpotlightPipelineRunOutcome>;
|
|
113
|
+
export declare function runRemoteSpotlightPipeline(userQuestion: string, api: HandlerApi, options?: SpotlightPipelineRunOptions): Promise<SpotlightPipelineRunOutcome>;
|
|
108
114
|
export declare function cancelRemoteSpotlightRun(runId: string): Promise<void>;
|
|
109
115
|
export declare function cancelRemoteSpotlightRunForSignal(signal?: AbortSignal): void;
|
|
110
116
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runPipeline.d.ts","sourceRoot":"","sources":["../../src/remote/runPipeline.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,uBAAuB,EACvB,kBAAkB,EAClB,mBAAmB,EACnB,kBAAkB,EAGlB,gBAAgB,EACjB,MAAM,8BAA8B,CAAC;AActC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAE7D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAEzE,OAAO,EAEL,qBAAqB,EACtB,MAAM,qBAAqB,CAAC;AAO7B,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,YAAY,CAAC;AAI9D,KAAK,cAAc,GACf,uBAAuB,GACvB;IACE,IAAI,EAAE,qBAAqB,CAAC;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE;QACP,aAAa,EAAE,MAAM,CAAC;QACtB,IAAI,EAAE;YACJ,EAAE,EAAE,MAAM,CAAC;YACX,IAAI,EAAE,MAAM,CAAC;YACb,KAAK,EAAE,MAAM,CA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