@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.
Files changed (90) hide show
  1. package/README.md +1 -0
  2. package/dist/AssetAutoImporter-BA8C4p09.js +403 -0
  3. package/dist/{ChatCreatorModal-C0OHgrEB.js → ChatCreatorModal-94gZ9D-y.js} +1 -1
  4. package/dist/{CodeBlock-CS86Ipg1.js → CodeBlock-C9o09ipr.js} +1 -1
  5. package/dist/{CommunityModels-BxJKe8_v.js → CommunityModels-D48H9Bqt.js} +6 -6
  6. package/dist/{ConnectionView-D-1gQNQ7.js → ConnectionView-sEXGE8Vs.js} +5 -5
  7. package/dist/{CreateEditorFromDatasourcePopup-RkNgUdzU.js → CreateEditorFromDatasourcePopup-BUoegyem.js} +2 -2
  8. package/dist/{Dashboard-DWJPKIeQ.js → Dashboard-C6adKZ7q.js} +202 -203
  9. package/dist/{DashboardImportSelector-t6tKq5N4.js → DashboardImportSelector-CQqXshDj.js} +1 -1
  10. package/dist/{DashboardMobile-CxObMuv6.js → DashboardMobile-BU1nDLQv.js} +42 -42
  11. package/dist/{Editor-DD1inQuU.js → Editor-DO4VRvek.js} +9 -10
  12. package/dist/{ErrorMessage-D5JeF3Iz.js → ErrorMessage-Cz7q7vJI.js} +1 -1
  13. package/dist/{GlobalChatPanel-BArWsM8Y.js → GlobalChatPanel-Ct6oSj_A.js} +6 -6
  14. package/dist/{IDE-D5GKLVYn.js → IDE-kdaEhA4g.js} +19 -20
  15. package/dist/{JobsView-By7OZgj_.js → JobsView-BcyWrDRf.js} +11 -11
  16. package/dist/{LLMChat-B-q_7sa4.js → LLMChat-Dg8VvTIP.js} +19 -19
  17. package/dist/{LLMView-8BKf70Ay.js → LLMView-CZNNYXC1.js} +61 -61
  18. package/dist/{LoadingView-Da0HfQ56.js → LoadingView-k2CIKiN7.js} +1 -1
  19. package/dist/{MarkdownRenderer-CQppLv_n.js → MarkdownRenderer-Dlb_KGmk.js} +1 -1
  20. package/dist/{MobileIDE-C81gvbco.js → MobileIDE-BQcdjWUT.js} +26 -27
  21. package/dist/{ModelCard-BMDgFDyQ.js → ModelCard-Dn2b5WLs.js} +5 -5
  22. package/dist/{ModelView-C4B8qJwX.js → ModelView-BEi83zrX.js} +6 -6
  23. package/dist/{PageLoading-CRl9HNIg.js → PageLoading-C7H6q6U6.js} +233 -233
  24. package/dist/{ResultComponent-C-A8sbr1.js → ResultComponent-DW9Q9tp9.js} +5 -5
  25. package/dist/{Results-C1nNHU7C.js → Results-N2OttUlb.js} +14 -14
  26. package/dist/{StatusIcon-v2EhaU49.js → StatusIcon-B21tjIXx.js} +1 -1
  27. package/dist/{StoreTokenModal-BV_gLE94.js → StoreTokenModal-CHgvjLGl.js} +1 -1
  28. package/dist/{SymbolsPane-CuVCamJf.js → SymbolsPane-DUrLpSSw.js} +11 -11
  29. package/dist/{TutorialPage-DGQGx3vF.js → TutorialPage-DHgPuFN0.js} +11 -11
  30. package/dist/{VegaLiteChart-BIeSuNU8.js → VegaLiteChart-BqHLSptG.js} +6689 -6690
  31. package/dist/{WelcomePage-T757Ynnn.js → WelcomePage-CN6ptsoF.js} +3 -3
  32. package/dist/agent.js +1349 -0
  33. package/dist/{cssMode-zpO2ap2B.js → cssMode-DW4OByy3.js} +2 -2
  34. package/dist/dashboard.js +66 -66
  35. package/dist/{editor.main-BQh6DxDB.js → editor.main-TuTbSVcN.js} +22 -22
  36. package/dist/{editorStore-k4IbmW9-.js → editorStore-Czhpct1j.js} +1695 -1125
  37. package/dist/entry.agent.d.ts +12 -0
  38. package/dist/entry.agent.d.ts.map +1 -0
  39. package/dist/entry.llm.d.ts +1 -1
  40. package/dist/entry.llm.d.ts.map +1 -1
  41. package/dist/{freemarker2-DQBqlEXc.js → freemarker2-ZGcKAI8o.js} +1 -1
  42. package/dist/{globalChatRuntime-BWahbZxZ.js → globalChatRuntime-BnMYNYqe.js} +30 -30
  43. package/dist/{handlebars-tgYxaM70.js → handlebars-B3s0Qrrb.js} +1 -1
  44. package/dist/{helpers-DDKx6kkf.js → helpers-B3tq3RZK.js} +17 -17
  45. package/dist/{html-jJahD3Mi.js → html-DM1koKCG.js} +1 -1
  46. package/dist/{htmlMode-BA1-8l2e.js → htmlMode-CpPImbDh.js} +2 -2
  47. package/dist/{javascript-Cypfo7va.js → javascript-jClqu73w.js} +1 -1
  48. package/dist/{jsonMode-xJye8PWS.js → jsonMode-CwFYTPO9.js} +2 -2
  49. package/dist/{liquid-BGDrv5da.js → liquid-C6l-UINC.js} +1 -1
  50. package/dist/llm/chatAgentPrompt.d.ts +4 -16
  51. package/dist/llm/chatAgentPrompt.d.ts.map +1 -1
  52. package/dist/llm/dashboardAgentRuntime.d.ts +10 -10
  53. package/dist/llm/dashboardAgentTools.d.ts +10 -10
  54. package/dist/llm/data/prompts.d.ts +1 -1
  55. package/dist/llm/data/prompts.d.ts.map +1 -1
  56. package/dist/llm/data/trilogySyntax.generated.d.ts +3 -3
  57. package/dist/llm/data/trilogySyntax.generated.d.ts.map +1 -1
  58. package/dist/llm/returnToUserTool.d.ts +20 -0
  59. package/dist/llm/returnToUserTool.d.ts.map +1 -0
  60. package/dist/llm/toolLoopCore.d.ts +7 -0
  61. package/dist/llm/toolLoopCore.d.ts.map +1 -1
  62. package/dist/llm/utils.d.ts.map +1 -1
  63. package/dist/{llm--BDQ6qkZ.js → llm-Bc1CfjOE.js} +2233 -2786
  64. package/dist/llm.js +3 -3
  65. package/dist/{localStorage-BYwXjN4M.js → localStorage-Cy0sHlT0.js} +18 -18
  66. package/dist/{lspLanguageFeatures-V3e_p9oN.js → lspLanguageFeatures-GDtuGOTD.js} +1 -1
  67. package/dist/{mdx-BUR1aImW.js → mdx-BQEQ0k1f.js} +1 -1
  68. package/dist/monaco.js +3 -3
  69. package/dist/{python-YLkl0pc6.js → python-USoVCfWY.js} +1 -1
  70. package/dist/{razor-BP8TRMDY.js → razor-BxmgiR-q.js} +1 -1
  71. package/dist/{reconcile-D-vMtlgJ.js → reconcile-DtPcgEjQ.js} +1 -1
  72. package/dist/{remoteStoreSync-PLFQCOmY.js → remoteStoreSync-CscErZ-I.js} +2 -2
  73. package/dist/{stores-S6dQ5cjI.js → stores-DgdADCiH.js} +325 -325
  74. package/dist/stores.js +3 -4
  75. package/dist/{tsMode-BH9HS_sH.js → tsMode-BEQ7aXX4.js} +1 -1
  76. package/dist/{typescript-BM-ynfk9.js → typescript-CzBSjjfY.js} +1 -1
  77. package/dist/{useChatWithTools-Bkd9MeMh.js → useChatWithTools-CMhGxdyr.js} +7 -7
  78. package/dist/{useDashboard-50rwbG0x.js → useDashboard-CjZgjmgb.js} +1148 -1148
  79. package/dist/{useGlobalChatPanel-JJZaHao8.js → useGlobalChatPanel-Doeilj18.js} +69 -70
  80. package/dist/views/LLMView.vue.d.ts +23 -23
  81. package/dist/views/TutorialPage.vue.d.ts +10 -10
  82. package/dist/views.js +147 -148
  83. package/dist/vite.agent.config.d.ts +3 -0
  84. package/dist/vite.agent.config.d.ts.map +1 -0
  85. package/dist/{workers-B9Eybl-M.js → workers-CHvkad0r.js} +2 -2
  86. package/dist/{xml-M5WFPSpA.js → xml-ODdyS0gX.js} +1 -1
  87. package/dist/{yaml-CEeFwjz9.js → yaml-PCBTA2qD.js} +1 -1
  88. package/package.json +7 -2
  89. package/dist/AssetAutoImporter-CCbTLQ9v.js +0 -403
  90. package/dist/rolldown-runtime-B0aSnxlc.js +0 -20
package/dist/stores.js CHANGED
@@ -1,4 +1,3 @@
1
- import { fn as e, pn as t } from "./llm--BDQ6qkZ.js";
2
- import { a as n, d as r, g as i, i as a, n as o, p as s, t as c, u as l } from "./stores-S6dQ5cjI.js";
3
- import { C as u, Q as d, S as f, i as p, t as m } from "./editorStore-k4IbmW9-.js";
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-B9Eybl-M.js";
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-B9Eybl-M.js";
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, et as t, lt as n } from "./llm--BDQ6qkZ.js";
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, t = l ? Object.values(l.connections).map((e) => e.name) : [], r = e && l ? l.connectionByName(e)?.connected ?? !1 : !1;
67
- return n({
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: t,
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, n) => {
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 t(e, c.activeConnection, { generateCompletion: (e, t, n) => c.generateCompletion(e, t, n) }, {
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
- }, n)).text };
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";