@inupedia/spotlight-vue 0.3.6 → 0.4.1
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/README.md +7 -89
- package/dist/assets/spotlight-vue.css +1 -1
- package/dist/components/SpotlightCommandPanel.vue.d.ts.map +1 -1
- package/dist/components/SpotlightCommandPanel.vue.js +1 -1
- package/dist/components/SpotlightCommandPanel2.vue.js +88 -85
- package/dist/components/SpotlightRoot.vue.d.ts.map +1 -1
- package/dist/components/SpotlightRoot.vue.js +21 -19
- package/dist/components/SpotlightThinking.vue.d.ts +3 -0
- package/dist/components/SpotlightThinking.vue.d.ts.map +1 -1
- package/dist/components/SpotlightThinking.vue.js +1 -1
- package/dist/components/SpotlightThinking2.vue.js +459 -398
- package/dist/composables/useSpotlightPanelUi.d.ts +3 -1
- package/dist/composables/useSpotlightPanelUi.d.ts.map +1 -1
- package/dist/composables/useSpotlightPanelUi.js +8 -3
- package/dist/config.d.ts +9 -18
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +9 -10
- package/dist/env.d.ts +11 -0
- package/dist/env.d.ts.map +1 -0
- package/dist/env.js +14 -0
- package/dist/index.d.ts +3 -14
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +92 -126
- package/dist/plugin.d.ts +6 -5
- package/dist/plugin.d.ts.map +1 -1
- package/dist/plugin.js +35 -35
- package/dist/remote/hostToolRunner.d.ts +1 -1
- package/dist/remote/hostToolRunner.d.ts.map +1 -1
- package/dist/remote/hostToolRunner.js +38 -20
- package/dist/remote/runPipeline.d.ts +3 -12
- package/dist/remote/runPipeline.d.ts.map +1 -1
- package/dist/remote/runPipeline.js +165 -181
- package/dist/remote/types.d.ts +2 -0
- package/dist/remote/types.d.ts.map +1 -1
- package/dist/skills/skillPaths.js +5 -18
- package/dist/store/memoryPreferenceCopy.d.ts +6 -0
- package/dist/store/memoryPreferenceCopy.d.ts.map +1 -0
- package/dist/store/memoryPreferenceCopy.js +14 -0
- package/dist/store/memoryResultCopy.d.ts +6 -0
- package/dist/store/memoryResultCopy.d.ts.map +1 -0
- package/dist/store/memoryResultCopy.js +12 -0
- package/dist/store/spotlightStore.d.ts +78 -12
- package/dist/store/spotlightStore.d.ts.map +1 -1
- package/dist/store/spotlightStore.js +130 -124
- package/package.json +4 -8
- package/dist/composables/useSpotlightHostCore.d.ts +0 -8
- package/dist/composables/useSpotlightHostCore.d.ts.map +0 -1
- package/dist/composables/useSpotlightHostCore.js +0 -24
- package/dist/createSpotlight.d.ts +0 -38
- package/dist/createSpotlight.d.ts.map +0 -1
- package/dist/createSpotlight.js +0 -79
- package/dist/host/capabilityHost.d.ts +0 -38
- package/dist/host/capabilityHost.d.ts.map +0 -1
- package/dist/host/capabilityHost.js +0 -81
- package/dist/host/defineApp.d.ts +0 -16
- package/dist/host/defineApp.d.ts.map +0 -1
- package/dist/host/defineApp.js +0 -26
- package/dist/host/defineHost.d.ts +0 -55
- package/dist/host/defineHost.d.ts.map +0 -1
- package/dist/host/defineHost.js +0 -54
- package/dist/host/normalizeSkills.d.ts +0 -4
- package/dist/host/normalizeSkills.d.ts.map +0 -1
- package/dist/host/normalizeSkills.js +0 -10
- package/dist/host/skillExecution.d.ts +0 -9
- package/dist/host/skillExecution.d.ts.map +0 -1
- package/dist/host/skillExecution.js +0 -13
- package/dist/resolveConfig.d.ts +0 -21
- package/dist/resolveConfig.d.ts.map +0 -1
- package/dist/resolveConfig.js +0 -13
- package/dist/workflow/createOperateDefinition.d.ts +0 -22
- package/dist/workflow/createOperateDefinition.d.ts.map +0 -1
- package/dist/workflow/createOperateDefinition.js +0 -31
- package/dist/workflow/index.d.ts +0 -6
- package/dist/workflow/index.d.ts.map +0 -1
- package/dist/workflow/index.js +0 -20
- package/dist/workflow/operate.d.ts +0 -23
- package/dist/workflow/operate.d.ts.map +0 -1
- package/dist/workflow/operate.js +0 -95
- package/dist/workflow/runHostTool.d.ts +0 -4
- package/dist/workflow/runHostTool.d.ts.map +0 -1
- package/dist/workflow/runHostTool.js +0 -12
- package/dist/workflow/sessionControl.d.ts +0 -30
- package/dist/workflow/sessionControl.d.ts.map +0 -1
- package/dist/workflow/sessionControl.js +0 -112
- package/dist/workflow/shared.d.ts +0 -6
- package/dist/workflow/shared.d.ts.map +0 -1
- package/dist/workflow/shared.js +0 -14
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as f, ref as k, computed as u, watch as y, openBlock as c, createBlock as l, Teleport as g, unref as n, createCommentVNode as p } from "vue";
|
|
2
2
|
import { storeToRefs as v } from "pinia";
|
|
3
3
|
import { useSpotlightStore as C } from "../store/spotlightStore.js";
|
|
4
4
|
import { useSpotlightCommandShortcuts as K } from "../composables/useSpotlightCommandShortcuts.js";
|
|
5
5
|
import T from "./SpotlightCommandPanel.vue.js";
|
|
6
6
|
import b from "./SpotlightThinking.vue.js";
|
|
7
|
-
const
|
|
7
|
+
const P = /* @__PURE__ */ f({
|
|
8
8
|
__name: "SpotlightRoot",
|
|
9
9
|
props: {
|
|
10
10
|
deckKicker: { default: "" },
|
|
@@ -18,41 +18,43 @@ const H = /* @__PURE__ */ k({
|
|
|
18
18
|
onKeyup: {}
|
|
19
19
|
},
|
|
20
20
|
emits: ["visibleChange"],
|
|
21
|
-
setup(o, { emit:
|
|
22
|
-
const
|
|
23
|
-
() =>
|
|
21
|
+
setup(o, { emit: m }) {
|
|
22
|
+
const t = o, d = m, e = C(), { visible: s, showThinkingBar: r } = v(e), a = k(null), h = u(
|
|
23
|
+
() => t.showThinking ?? r.value
|
|
24
24
|
);
|
|
25
25
|
return K({
|
|
26
26
|
visible: s,
|
|
27
|
-
showThinkingBar:
|
|
27
|
+
showThinkingBar: r,
|
|
28
28
|
open: () => e.open(),
|
|
29
29
|
close: () => e.close(),
|
|
30
30
|
closeThinking: () => e.closeThinking(),
|
|
31
|
-
onEscape:
|
|
32
|
-
onKeydown:
|
|
33
|
-
onKeyup:
|
|
31
|
+
onEscape: t.onEscape,
|
|
32
|
+
onKeydown: t.onKeydown,
|
|
33
|
+
onKeyup: t.onKeyup
|
|
34
34
|
}), y(s, (i) => {
|
|
35
|
-
|
|
36
|
-
}), (i, w) => (
|
|
37
|
-
|
|
35
|
+
d("visibleChange", i), i && a.value?.focusInput();
|
|
36
|
+
}), (i, w) => (c(), l(g, { to: "body" }, [
|
|
37
|
+
n(e).visible ? (c(), l(T, {
|
|
38
38
|
key: 0,
|
|
39
39
|
ref_key: "panelRef",
|
|
40
|
-
ref:
|
|
40
|
+
ref: a,
|
|
41
41
|
"deck-kicker": o.deckKicker,
|
|
42
42
|
"voice-hold-active": o.voiceHoldActive,
|
|
43
43
|
"speech-pending": o.speechPending,
|
|
44
44
|
"voice-key-label": o.voiceKeyLabel
|
|
45
45
|
}, null, 8, ["deck-kicker", "voice-hold-active", "speech-pending", "voice-key-label"])) : p("", !0),
|
|
46
|
-
|
|
46
|
+
h.value ? (c(), l(b, {
|
|
47
47
|
key: 1,
|
|
48
|
-
steps:
|
|
48
|
+
steps: n(e).agentSteps,
|
|
49
49
|
centered: o.thinkingCentered,
|
|
50
|
-
"memory-replay":
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
"memory-replay": n(e).lastMemoryReplay,
|
|
51
|
+
"memory-decision": n(e).lastMemoryDecision,
|
|
52
|
+
onForceRefresh: n(e).forceRefreshLastAnswer,
|
|
53
|
+
onClose: n(e).closeThinking
|
|
54
|
+
}, null, 8, ["steps", "centered", "memory-replay", "memory-decision", "onForceRefresh", "onClose"])) : p("", !0)
|
|
53
55
|
]));
|
|
54
56
|
}
|
|
55
57
|
});
|
|
56
58
|
export {
|
|
57
|
-
|
|
59
|
+
P as default
|
|
58
60
|
};
|
|
@@ -53,11 +53,14 @@ type __VLS_Props = {
|
|
|
53
53
|
entryId: string;
|
|
54
54
|
kind: string;
|
|
55
55
|
} | null;
|
|
56
|
+
memoryDecision?: import("@inupedia/spotlight-protocol").SpotlightMemoryDecision | null;
|
|
56
57
|
};
|
|
57
58
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
58
59
|
close: () => any;
|
|
60
|
+
"force-refresh": () => any;
|
|
59
61
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
60
62
|
onClose?: (() => any) | undefined;
|
|
63
|
+
"onForce-refresh"?: (() => any) | undefined;
|
|
61
64
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
62
65
|
declare const _default: typeof __VLS_export;
|
|
63
66
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpotlightThinking.vue.d.ts","sourceRoot":"","sources":["../../src/components/SpotlightThinking.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SpotlightThinking.vue.d.ts","sourceRoot":"","sources":["../../src/components/SpotlightThinking.vue"],"names":[],"mappings":"AA26CA,OAAO,8BAA8B,CAAC;AAEtC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAWnE,UAAU,cAAc;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;IAChC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,UAAU,QAAQ;IAChB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,UAAU,YAAY;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAA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;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./SpotlightThinking2.vue.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-14571fe9"]]);
|
|
5
5
|
export {
|
|
6
6
|
f as default
|
|
7
7
|
};
|