@trilogy-data/trilogy-studio-components 0.1.29 → 0.1.30
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 +1 -0
- package/dist/AssetAutoImporter-BA8C4p09.js +403 -0
- package/dist/{ChatCreatorModal-C0OHgrEB.js → ChatCreatorModal-94gZ9D-y.js} +1 -1
- package/dist/{CodeBlock-CS86Ipg1.js → CodeBlock-C9o09ipr.js} +1 -1
- package/dist/{CommunityModels-BxJKe8_v.js → CommunityModels-D48H9Bqt.js} +6 -6
- package/dist/{ConnectionView-D-1gQNQ7.js → ConnectionView-sEXGE8Vs.js} +5 -5
- package/dist/{CreateEditorFromDatasourcePopup-RkNgUdzU.js → CreateEditorFromDatasourcePopup-BUoegyem.js} +2 -2
- package/dist/{Dashboard-DWJPKIeQ.js → Dashboard-C6adKZ7q.js} +202 -203
- package/dist/{DashboardImportSelector-t6tKq5N4.js → DashboardImportSelector-CQqXshDj.js} +1 -1
- package/dist/{DashboardMobile-CxObMuv6.js → DashboardMobile-BU1nDLQv.js} +42 -42
- package/dist/{Editor-DD1inQuU.js → Editor-DO4VRvek.js} +9 -10
- package/dist/{ErrorMessage-D5JeF3Iz.js → ErrorMessage-Cz7q7vJI.js} +1 -1
- package/dist/{GlobalChatPanel-BArWsM8Y.js → GlobalChatPanel-Ct6oSj_A.js} +6 -6
- package/dist/{IDE-D5GKLVYn.js → IDE-kdaEhA4g.js} +19 -20
- package/dist/{JobsView-By7OZgj_.js → JobsView-BcyWrDRf.js} +11 -11
- package/dist/{LLMChat-B-q_7sa4.js → LLMChat-Dg8VvTIP.js} +19 -19
- package/dist/{LLMView-8BKf70Ay.js → LLMView-CZNNYXC1.js} +61 -61
- package/dist/{LoadingView-Da0HfQ56.js → LoadingView-k2CIKiN7.js} +1 -1
- package/dist/{MarkdownRenderer-CQppLv_n.js → MarkdownRenderer-Dlb_KGmk.js} +1 -1
- package/dist/{MobileIDE-C81gvbco.js → MobileIDE-BQcdjWUT.js} +26 -27
- package/dist/{ModelCard-BMDgFDyQ.js → ModelCard-Dn2b5WLs.js} +5 -5
- package/dist/{ModelView-C4B8qJwX.js → ModelView-BEi83zrX.js} +6 -6
- package/dist/{PageLoading-CRl9HNIg.js → PageLoading-C7H6q6U6.js} +233 -233
- package/dist/{ResultComponent-C-A8sbr1.js → ResultComponent-DW9Q9tp9.js} +5 -5
- package/dist/{Results-C1nNHU7C.js → Results-N2OttUlb.js} +14 -14
- package/dist/{StatusIcon-v2EhaU49.js → StatusIcon-B21tjIXx.js} +1 -1
- package/dist/{StoreTokenModal-BV_gLE94.js → StoreTokenModal-CHgvjLGl.js} +1 -1
- package/dist/{SymbolsPane-CuVCamJf.js → SymbolsPane-DUrLpSSw.js} +11 -11
- package/dist/{TutorialPage-DGQGx3vF.js → TutorialPage-DHgPuFN0.js} +11 -11
- package/dist/{VegaLiteChart-BIeSuNU8.js → VegaLiteChart-BqHLSptG.js} +6689 -6690
- package/dist/{WelcomePage-T757Ynnn.js → WelcomePage-CN6ptsoF.js} +3 -3
- package/dist/agent.js +1349 -0
- package/dist/{cssMode-zpO2ap2B.js → cssMode-DW4OByy3.js} +2 -2
- package/dist/dashboard.js +66 -66
- package/dist/{editor.main-BQh6DxDB.js → editor.main-TuTbSVcN.js} +22 -22
- package/dist/{editorStore-k4IbmW9-.js → editorStore-Czhpct1j.js} +1695 -1125
- package/dist/entry.agent.d.ts +12 -0
- package/dist/entry.agent.d.ts.map +1 -0
- package/dist/entry.llm.d.ts +1 -1
- package/dist/entry.llm.d.ts.map +1 -1
- package/dist/{freemarker2-DQBqlEXc.js → freemarker2-ZGcKAI8o.js} +1 -1
- package/dist/{globalChatRuntime-BWahbZxZ.js → globalChatRuntime-BnMYNYqe.js} +30 -30
- package/dist/{handlebars-tgYxaM70.js → handlebars-B3s0Qrrb.js} +1 -1
- package/dist/{helpers-DDKx6kkf.js → helpers-B3tq3RZK.js} +17 -17
- package/dist/{html-jJahD3Mi.js → html-DM1koKCG.js} +1 -1
- package/dist/{htmlMode-BA1-8l2e.js → htmlMode-CpPImbDh.js} +2 -2
- package/dist/{javascript-Cypfo7va.js → javascript-jClqu73w.js} +1 -1
- package/dist/{jsonMode-xJye8PWS.js → jsonMode-CwFYTPO9.js} +2 -2
- package/dist/{liquid-BGDrv5da.js → liquid-C6l-UINC.js} +1 -1
- package/dist/llm/chatAgentPrompt.d.ts +4 -16
- package/dist/llm/chatAgentPrompt.d.ts.map +1 -1
- package/dist/llm/dashboardAgentRuntime.d.ts +10 -10
- package/dist/llm/dashboardAgentTools.d.ts +10 -10
- package/dist/llm/data/prompts.d.ts +1 -1
- package/dist/llm/data/prompts.d.ts.map +1 -1
- package/dist/llm/data/trilogySyntax.generated.d.ts +3 -3
- package/dist/llm/data/trilogySyntax.generated.d.ts.map +1 -1
- package/dist/llm/returnToUserTool.d.ts +20 -0
- package/dist/llm/returnToUserTool.d.ts.map +1 -0
- package/dist/llm/toolLoopCore.d.ts +7 -0
- package/dist/llm/toolLoopCore.d.ts.map +1 -1
- package/dist/llm/utils.d.ts.map +1 -1
- package/dist/{llm--BDQ6qkZ.js → llm-Bc1CfjOE.js} +2233 -2786
- package/dist/llm.js +3 -3
- package/dist/{localStorage-BYwXjN4M.js → localStorage-Cy0sHlT0.js} +18 -18
- package/dist/{lspLanguageFeatures-V3e_p9oN.js → lspLanguageFeatures-GDtuGOTD.js} +1 -1
- package/dist/{mdx-BUR1aImW.js → mdx-BQEQ0k1f.js} +1 -1
- package/dist/monaco.js +3 -3
- package/dist/{python-YLkl0pc6.js → python-USoVCfWY.js} +1 -1
- package/dist/{razor-BP8TRMDY.js → razor-BxmgiR-q.js} +1 -1
- package/dist/{reconcile-D-vMtlgJ.js → reconcile-DtPcgEjQ.js} +1 -1
- package/dist/{remoteStoreSync-PLFQCOmY.js → remoteStoreSync-CscErZ-I.js} +2 -2
- package/dist/{stores-S6dQ5cjI.js → stores-DgdADCiH.js} +325 -325
- package/dist/stores.js +3 -4
- package/dist/{tsMode-BH9HS_sH.js → tsMode-BEQ7aXX4.js} +1 -1
- package/dist/{typescript-BM-ynfk9.js → typescript-CzBSjjfY.js} +1 -1
- package/dist/{useChatWithTools-Bkd9MeMh.js → useChatWithTools-CMhGxdyr.js} +7 -7
- package/dist/{useDashboard-50rwbG0x.js → useDashboard-CjZgjmgb.js} +1148 -1148
- package/dist/{useGlobalChatPanel-JJZaHao8.js → useGlobalChatPanel-Doeilj18.js} +69 -70
- package/dist/views/LLMView.vue.d.ts +23 -23
- package/dist/views/TutorialPage.vue.d.ts +10 -10
- package/dist/views.js +147 -148
- package/dist/vite.agent.config.d.ts +3 -0
- package/dist/vite.agent.config.d.ts.map +1 -0
- package/dist/{workers-B9Eybl-M.js → workers-CHvkad0r.js} +2 -2
- package/dist/{xml-M5WFPSpA.js → xml-ODdyS0gX.js} +1 -1
- package/dist/{yaml-CEeFwjz9.js → yaml-PCBTA2qD.js} +1 -1
- package/package.json +7 -2
- package/dist/AssetAutoImporter-CCbTLQ9v.js +0 -403
- package/dist/rolldown-runtime-B0aSnxlc.js +0 -20
package/dist/stores.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as
|
|
3
|
-
|
|
4
|
-
export { c as ConnectionStoreExecutionConnectionProvider, o as QueryExecutionService, e as TrilogyResolver, p as useChatStore, u as useCommunityApiStore, f as useConnectionStore, s as useDashboardStore, m as useEditorStore, r as useJobsApiStore, i as useLLMConnectionStore, a as useMobileSidebarNavigation, d as useModelConfigStore, l as useProjectStore, n as useScreenNavigation, t as useUserSettingsStore };
|
|
1
|
+
import { C as e, Q as t, S as n, ft as r, i, pt as a, t as o } from "./editorStore-Czhpct1j.js";
|
|
2
|
+
import { a as s, d as c, g as l, i as u, n as d, p as f, t as p, u as m } from "./stores-DgdADCiH.js";
|
|
3
|
+
export { p as ConnectionStoreExecutionConnectionProvider, d as QueryExecutionService, r as TrilogyResolver, i as useChatStore, e as useCommunityApiStore, n as useConnectionStore, f as useDashboardStore, o as useEditorStore, c as useJobsApiStore, l as useLLMConnectionStore, u as useMobileSidebarNavigation, t as useModelConfigStore, m as useProjectStore, s as useScreenNavigation, a as useUserSettingsStore };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as e, d as t, l as n, p as r, r as i, s as a, t as o, u as s } from "./workers-
|
|
1
|
+
import { c as e, d as t, l as n, p as r, r as i, s as a, t as o, u as s } from "./workers-CHvkad0r.js";
|
|
2
2
|
//#region node_modules/.pnpm/monaco-editor@0.55.1/node_modules/monaco-editor/esm/vs/language/typescript/workerManager.js
|
|
3
3
|
var c = class {
|
|
4
4
|
constructor(e, t) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as e } from "./workers-
|
|
1
|
+
import { p as e } from "./workers-CHvkad0r.js";
|
|
2
2
|
//#region node_modules/.pnpm/monaco-editor@0.55.1/node_modules/monaco-editor/esm/vs/basic-languages/typescript/typescript.js
|
|
3
3
|
var t = {
|
|
4
4
|
wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { W as e,
|
|
1
|
+
import { W as e, lt as t, tt as n } from "./llm-Bc1CfjOE.js";
|
|
2
2
|
import { computed as r, ref as i, toValue as a, watch as o } from "vue";
|
|
3
3
|
//#region composables/useChatWithTools.ts
|
|
4
4
|
function s(s) {
|
|
@@ -63,10 +63,10 @@ function s(s) {
|
|
|
63
63
|
await H();
|
|
64
64
|
}, { immediate: !0 });
|
|
65
65
|
let U = r(() => {
|
|
66
|
-
let e = M.value,
|
|
67
|
-
return
|
|
66
|
+
let e = M.value, n = l ? Object.values(l.connections).map((e) => e.name) : [], r = e && l ? l.connectionByName(e)?.connected ?? !1 : !1;
|
|
67
|
+
return t({
|
|
68
68
|
dataConnectionName: e,
|
|
69
|
-
availableConnections:
|
|
69
|
+
availableConnections: n,
|
|
70
70
|
availableConcepts: A.value,
|
|
71
71
|
activeImports: V.value,
|
|
72
72
|
availableImportsForConnection: B.value,
|
|
@@ -85,7 +85,7 @@ function s(s) {
|
|
|
85
85
|
}, { deep: !0 }), o(() => d?.activeChat?.activeArtifactIndex, (e) => {
|
|
86
86
|
e !== void 0 && (k.value = e);
|
|
87
87
|
}));
|
|
88
|
-
let G = async (e,
|
|
88
|
+
let G = async (e, t) => {
|
|
89
89
|
if (d?.activeChatId && l && u && f) return d.executeMessage(d.activeChatId, e, {
|
|
90
90
|
llmConnectionStore: c,
|
|
91
91
|
connectionStore: l,
|
|
@@ -103,7 +103,7 @@ function s(s) {
|
|
|
103
103
|
D.value = [...D.value, {
|
|
104
104
|
role: "user",
|
|
105
105
|
content: e
|
|
106
|
-
}], await
|
|
106
|
+
}], await n(e, c.activeConnection, { generateCompletion: (e, t, n) => c.generateCompletion(e, t, n) }, {
|
|
107
107
|
addMessage: (e) => {
|
|
108
108
|
D.value = [...D.value, e];
|
|
109
109
|
},
|
|
@@ -142,7 +142,7 @@ function s(s) {
|
|
|
142
142
|
return { response: (await c.generateCompletion(c.activeConnection, {
|
|
143
143
|
prompt: e,
|
|
144
144
|
systemPrompt: U.value
|
|
145
|
-
},
|
|
145
|
+
}, t)).text };
|
|
146
146
|
} catch (e) {
|
|
147
147
|
if (e instanceof DOMException && e.name === "AbortError") return;
|
|
148
148
|
let t = e instanceof Error ? e.message : "An unknown error occurred";
|