@trilogy-data/trilogy-studio-components 0.1.28 → 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 (110) hide show
  1. package/README.md +1 -0
  2. package/dist/AssetAutoImporter-BA8C4p09.js +403 -0
  3. package/dist/{ChatCreatorModal-Cd40SvdM.js → ChatCreatorModal-94gZ9D-y.js} +1 -1
  4. package/dist/{CodeBlock-Dj-GfTbW.js → CodeBlock-C9o09ipr.js} +1 -1
  5. package/dist/{CommunityModels-lX2RhHCG.js → CommunityModels-D48H9Bqt.js} +6 -6
  6. package/dist/{ConnectionView-CZ06qjjE.js → ConnectionView-sEXGE8Vs.js} +5 -5
  7. package/dist/{CreateEditorFromDatasourcePopup-DwA938kf.js → CreateEditorFromDatasourcePopup-BUoegyem.js} +2 -2
  8. package/dist/{Dashboard-CQsIqWZC.js → Dashboard-C6adKZ7q.js} +202 -203
  9. package/dist/{DashboardImportSelector-CkqH52FX.js → DashboardImportSelector-CQqXshDj.js} +1 -1
  10. package/dist/{DashboardMobile-DWFlel5p.js → DashboardMobile-BU1nDLQv.js} +42 -42
  11. package/dist/{Editor-DQ66Vp6v.js → Editor-DO4VRvek.js} +9 -10
  12. package/dist/{ErrorMessage-D5JeF3Iz.js → ErrorMessage-Cz7q7vJI.js} +1 -1
  13. package/dist/{GlobalChatPanel-B_s3COHE.js → GlobalChatPanel-Ct6oSj_A.js} +20 -20
  14. package/dist/{IDE-4-Jg6gsM.js → IDE-kdaEhA4g.js} +19 -20
  15. package/dist/{JobsView-B5NWDUgP.js → JobsView-BcyWrDRf.js} +11 -11
  16. package/dist/{LLMChat-eKgEc-I3.js → LLMChat-Dg8VvTIP.js} +19 -19
  17. package/dist/{LLMView-CdTwMLVV.js → LLMView-CZNNYXC1.js} +61 -61
  18. package/dist/{LoadingView-Bu3wLJ7J.js → LoadingView-k2CIKiN7.js} +1 -1
  19. package/dist/{MarkdownRenderer-B6lqdkgc.js → MarkdownRenderer-Dlb_KGmk.js} +1 -1
  20. package/dist/{MobileIDE-CZlg20oa.js → MobileIDE-BQcdjWUT.js} +26 -27
  21. package/dist/{ModelCard-Bs_d7Jis.js → ModelCard-Dn2b5WLs.js} +5 -5
  22. package/dist/{ModelView-BP5yyecx.js → ModelView-BEi83zrX.js} +6 -6
  23. package/dist/{PageLoading-DKFeqkmK.js → PageLoading-C7H6q6U6.js} +248 -248
  24. package/dist/{ResultComponent-BaDheojB.js → ResultComponent-DW9Q9tp9.js} +5 -5
  25. package/dist/{Results-CrpHB101.js → Results-N2OttUlb.js} +19 -19
  26. package/dist/{StatusIcon-Clfyy-Yn.js → StatusIcon-B21tjIXx.js} +1 -1
  27. package/dist/{StoreTokenModal-CO5hXMs3.js → StoreTokenModal-CHgvjLGl.js} +1 -1
  28. package/dist/{SymbolsPane-XFVErDFb.js → SymbolsPane-DUrLpSSw.js} +11 -11
  29. package/dist/{TutorialPage-CMcTYDOV.js → TutorialPage-DHgPuFN0.js} +11 -11
  30. package/dist/{VegaLiteChart-DX_LbF3g.js → VegaLiteChart-BqHLSptG.js} +11116 -11067
  31. package/dist/{WelcomePage-B6E35FUa.js → WelcomePage-CN6ptsoF.js} +3 -3
  32. package/dist/agent.js +1349 -0
  33. package/dist/components/VegaLiteChart.vue.d.ts.map +1 -1
  34. package/dist/components/chartControlsManager.d.ts +0 -1
  35. package/dist/components/chartControlsManager.d.ts.map +1 -1
  36. package/dist/{cssMode-zpO2ap2B.js → cssMode-DW4OByy3.js} +2 -2
  37. package/dist/dashboard.js +63 -63
  38. package/dist/dashboards/chartTheme.d.ts +68 -0
  39. package/dist/dashboards/chartTheme.d.ts.map +1 -0
  40. package/dist/dashboards/donutSpec.d.ts +2 -1
  41. package/dist/dashboards/donutSpec.d.ts.map +1 -1
  42. package/dist/dashboards/headlineSpec.d.ts +2 -1
  43. package/dist/dashboards/headlineSpec.d.ts.map +1 -1
  44. package/dist/dashboards/helpers.d.ts +23 -0
  45. package/dist/dashboards/helpers.d.ts.map +1 -1
  46. package/dist/dashboards/index.d.ts +2 -0
  47. package/dist/dashboards/index.d.ts.map +1 -1
  48. package/dist/dashboards/layerSpec.d.ts +4 -1
  49. package/dist/dashboards/layerSpec.d.ts.map +1 -1
  50. package/dist/dashboards/pointSpec.d.ts +2 -1
  51. package/dist/dashboards/pointSpec.d.ts.map +1 -1
  52. package/dist/dashboards/spec.d.ts +8 -1
  53. package/dist/dashboards/spec.d.ts.map +1 -1
  54. package/dist/{editor.main-BQh6DxDB.js → editor.main-TuTbSVcN.js} +22 -22
  55. package/dist/{editorStore-CiWH_nGN.js → editorStore-Czhpct1j.js} +1751 -1181
  56. package/dist/entry.agent.d.ts +12 -0
  57. package/dist/entry.agent.d.ts.map +1 -0
  58. package/dist/entry.llm.d.ts +1 -1
  59. package/dist/entry.llm.d.ts.map +1 -1
  60. package/dist/{freemarker2-DQBqlEXc.js → freemarker2-ZGcKAI8o.js} +1 -1
  61. package/dist/{globalChatRuntime-DAERmOdu.js → globalChatRuntime-BnMYNYqe.js} +35 -35
  62. package/dist/{handlebars-tgYxaM70.js → handlebars-B3s0Qrrb.js} +1 -1
  63. package/dist/{helpers-C2pARJoZ.js → helpers-B3tq3RZK.js} +17 -17
  64. package/dist/{html-jJahD3Mi.js → html-DM1koKCG.js} +1 -1
  65. package/dist/{htmlMode-BA1-8l2e.js → htmlMode-CpPImbDh.js} +2 -2
  66. package/dist/{javascript-Cypfo7va.js → javascript-jClqu73w.js} +1 -1
  67. package/dist/{jsonMode-xJye8PWS.js → jsonMode-CwFYTPO9.js} +2 -2
  68. package/dist/{liquid-BGDrv5da.js → liquid-C6l-UINC.js} +1 -1
  69. package/dist/llm/chatAgentPrompt.d.ts +4 -16
  70. package/dist/llm/chatAgentPrompt.d.ts.map +1 -1
  71. package/dist/llm/dashboardAgentRuntime.d.ts +10 -10
  72. package/dist/llm/dashboardAgentTools.d.ts +10 -10
  73. package/dist/llm/data/prompts.d.ts +1 -1
  74. package/dist/llm/data/prompts.d.ts.map +1 -1
  75. package/dist/llm/data/trilogySyntax.generated.d.ts +3 -3
  76. package/dist/llm/data/trilogySyntax.generated.d.ts.map +1 -1
  77. package/dist/llm/returnToUserTool.d.ts +20 -0
  78. package/dist/llm/returnToUserTool.d.ts.map +1 -0
  79. package/dist/llm/toolLoopCore.d.ts +7 -0
  80. package/dist/llm/toolLoopCore.d.ts.map +1 -1
  81. package/dist/llm/utils.d.ts.map +1 -1
  82. package/dist/{llm-Wf4Etiu9.js → llm-Bc1CfjOE.js} +2203 -2722
  83. package/dist/llm.js +3 -3
  84. package/dist/{localStorage-C3xms-ab.js → localStorage-Cy0sHlT0.js} +19 -19
  85. package/dist/{lspLanguageFeatures-V3e_p9oN.js → lspLanguageFeatures-GDtuGOTD.js} +1 -1
  86. package/dist/{mdx-BUR1aImW.js → mdx-BQEQ0k1f.js} +1 -1
  87. package/dist/monaco.js +3 -3
  88. package/dist/{python-YLkl0pc6.js → python-USoVCfWY.js} +1 -1
  89. package/dist/{razor-BP8TRMDY.js → razor-BxmgiR-q.js} +1 -1
  90. package/dist/{reconcile-BH_ReGDR.js → reconcile-DtPcgEjQ.js} +1 -1
  91. package/dist/{remoteStoreSync-B0K8QScO.js → remoteStoreSync-CscErZ-I.js} +2 -2
  92. package/dist/{stores-DTGQZ4_B.js → stores-DgdADCiH.js} +323 -323
  93. package/dist/stores.js +3 -4
  94. package/dist/trilogy-studio-components.css +1 -1
  95. package/dist/{tsMode-BH9HS_sH.js → tsMode-BEQ7aXX4.js} +1 -1
  96. package/dist/{typescript-BM-ynfk9.js → typescript-CzBSjjfY.js} +1 -1
  97. package/dist/{useChatWithTools-BSrzJtYI.js → useChatWithTools-CMhGxdyr.js} +14 -14
  98. package/dist/{useDashboard-CGeIdDuX.js → useDashboard-CjZgjmgb.js} +553 -553
  99. package/dist/{useGlobalChatPanel-D9kMZLeF.js → useGlobalChatPanel-Doeilj18.js} +69 -70
  100. package/dist/views/LLMView.vue.d.ts +23 -23
  101. package/dist/views/TutorialPage.vue.d.ts +10 -10
  102. package/dist/views.js +147 -148
  103. package/dist/vite.agent.config.d.ts +3 -0
  104. package/dist/vite.agent.config.d.ts.map +1 -0
  105. package/dist/{workers-B9Eybl-M.js → workers-CHvkad0r.js} +2 -2
  106. package/dist/{xml-M5WFPSpA.js → xml-ODdyS0gX.js} +1 -1
  107. package/dist/{yaml-CEeFwjz9.js → yaml-PCBTA2qD.js} +1 -1
  108. package/package.json +7 -2
  109. package/dist/AssetAutoImporter-C_7Ms9xe.js +0 -403
  110. package/dist/rolldown-runtime-B0aSnxlc.js +0 -20
@@ -6642,7 +6642,7 @@ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractP
6642
6642
  getMessageTextWithoutArtifact: (message: import('../main').ChatMessage) => string;
6643
6643
  getToolDisplayText: (toolName: string) => string;
6644
6644
  getToolDisplayName: typeof import('../components/llm/toolCallDisplay').getToolDisplayName;
6645
- getCondensedToolCalls: (toolCalls: import('../chats/chat').ChatToolCall[]) => import('../components/llm/toolCallDisplay').CondensedToolCallDisplay[];
6645
+ getCondensedToolCalls: (toolCalls: import('../entry.agent').ChatToolCall[]) => import('../components/llm/toolCallDisplay').CondensedToolCallDisplay[];
6646
6646
  shouldSummarizeToolCalls: (message: import('../main').ChatMessage) => boolean;
6647
6647
  getToolCallSummary: (message: import('../main').ChatMessage) => string;
6648
6648
  getToolCallSummaryTitle: (message: import('../main').ChatMessage) => string;
@@ -6957,7 +6957,7 @@ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractP
6957
6957
  getMessageTextWithoutArtifact: (message: import('../main').ChatMessage) => string;
6958
6958
  getToolDisplayText: (toolName: string) => string;
6959
6959
  getToolDisplayName: typeof import('../components/llm/toolCallDisplay').getToolDisplayName;
6960
- getCondensedToolCalls: (toolCalls: import('../chats/chat').ChatToolCall[]) => import('../components/llm/toolCallDisplay').CondensedToolCallDisplay[];
6960
+ getCondensedToolCalls: (toolCalls: import('../entry.agent').ChatToolCall[]) => import('../components/llm/toolCallDisplay').CondensedToolCallDisplay[];
6961
6961
  shouldSummarizeToolCalls: (message: import('../main').ChatMessage) => boolean;
6962
6962
  getToolCallSummary: (message: import('../main').ChatMessage) => string;
6963
6963
  getToolCallSummaryTitle: (message: import('../main').ChatMessage) => string;
@@ -7198,7 +7198,7 @@ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractP
7198
7198
  getMessageTextWithoutArtifact: (message: import('../main').ChatMessage) => string;
7199
7199
  getToolDisplayText: (toolName: string) => string;
7200
7200
  getToolDisplayName: typeof import('../components/llm/toolCallDisplay').getToolDisplayName;
7201
- getCondensedToolCalls: (toolCalls: import('../chats/chat').ChatToolCall[]) => import('../components/llm/toolCallDisplay').CondensedToolCallDisplay[];
7201
+ getCondensedToolCalls: (toolCalls: import('../entry.agent').ChatToolCall[]) => import('../components/llm/toolCallDisplay').CondensedToolCallDisplay[];
7202
7202
  shouldSummarizeToolCalls: (message: import('../main').ChatMessage) => boolean;
7203
7203
  getToolCallSummary: (message: import('../main').ChatMessage) => string;
7204
7204
  getToolCallSummaryTitle: (message: import('../main').ChatMessage) => string;
@@ -7513,7 +7513,7 @@ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractP
7513
7513
  getMessageTextWithoutArtifact: (message: import('../main').ChatMessage) => string;
7514
7514
  getToolDisplayText: (toolName: string) => string;
7515
7515
  getToolDisplayName: typeof import('../components/llm/toolCallDisplay').getToolDisplayName;
7516
- getCondensedToolCalls: (toolCalls: import('../chats/chat').ChatToolCall[]) => import('../components/llm/toolCallDisplay').CondensedToolCallDisplay[];
7516
+ getCondensedToolCalls: (toolCalls: import('../entry.agent').ChatToolCall[]) => import('../components/llm/toolCallDisplay').CondensedToolCallDisplay[];
7517
7517
  shouldSummarizeToolCalls: (message: import('../main').ChatMessage) => boolean;
7518
7518
  getToolCallSummary: (message: import('../main').ChatMessage) => string;
7519
7519
  getToolCallSummaryTitle: (message: import('../main').ChatMessage) => string;
@@ -7777,7 +7777,7 @@ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractP
7777
7777
  getMessageTextWithoutArtifact: (message: import('../main').ChatMessage) => string;
7778
7778
  getToolDisplayText: (toolName: string) => string;
7779
7779
  getToolDisplayName: typeof import('../components/llm/toolCallDisplay').getToolDisplayName;
7780
- getCondensedToolCalls: (toolCalls: import('../chats/chat').ChatToolCall[]) => import('../components/llm/toolCallDisplay').CondensedToolCallDisplay[];
7780
+ getCondensedToolCalls: (toolCalls: import('../entry.agent').ChatToolCall[]) => import('../components/llm/toolCallDisplay').CondensedToolCallDisplay[];
7781
7781
  shouldSummarizeToolCalls: (message: import('../main').ChatMessage) => boolean;
7782
7782
  getToolCallSummary: (message: import('../main').ChatMessage) => string;
7783
7783
  getToolCallSummaryTitle: (message: import('../main').ChatMessage) => string;
@@ -11257,7 +11257,7 @@ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractP
11257
11257
  getMessageTextWithoutArtifact: (message: import('../main').ChatMessage) => string;
11258
11258
  getToolDisplayText: (toolName: string) => string;
11259
11259
  getToolDisplayName: typeof import('../components/llm/toolCallDisplay').getToolDisplayName;
11260
- getCondensedToolCalls: (toolCalls: import('../chats/chat').ChatToolCall[]) => import('../components/llm/toolCallDisplay').CondensedToolCallDisplay[];
11260
+ getCondensedToolCalls: (toolCalls: import('../entry.agent').ChatToolCall[]) => import('../components/llm/toolCallDisplay').CondensedToolCallDisplay[];
11261
11261
  shouldSummarizeToolCalls: (message: import('../main').ChatMessage) => boolean;
11262
11262
  getToolCallSummary: (message: import('../main').ChatMessage) => string;
11263
11263
  getToolCallSummaryTitle: (message: import('../main').ChatMessage) => string;
@@ -11572,7 +11572,7 @@ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractP
11572
11572
  getMessageTextWithoutArtifact: (message: import('../main').ChatMessage) => string;
11573
11573
  getToolDisplayText: (toolName: string) => string;
11574
11574
  getToolDisplayName: typeof import('../components/llm/toolCallDisplay').getToolDisplayName;
11575
- getCondensedToolCalls: (toolCalls: import('../chats/chat').ChatToolCall[]) => import('../components/llm/toolCallDisplay').CondensedToolCallDisplay[];
11575
+ getCondensedToolCalls: (toolCalls: import('../entry.agent').ChatToolCall[]) => import('../components/llm/toolCallDisplay').CondensedToolCallDisplay[];
11576
11576
  shouldSummarizeToolCalls: (message: import('../main').ChatMessage) => boolean;
11577
11577
  getToolCallSummary: (message: import('../main').ChatMessage) => string;
11578
11578
  getToolCallSummaryTitle: (message: import('../main').ChatMessage) => string;
@@ -11813,7 +11813,7 @@ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractP
11813
11813
  getMessageTextWithoutArtifact: (message: import('../main').ChatMessage) => string;
11814
11814
  getToolDisplayText: (toolName: string) => string;
11815
11815
  getToolDisplayName: typeof import('../components/llm/toolCallDisplay').getToolDisplayName;
11816
- getCondensedToolCalls: (toolCalls: import('../chats/chat').ChatToolCall[]) => import('../components/llm/toolCallDisplay').CondensedToolCallDisplay[];
11816
+ getCondensedToolCalls: (toolCalls: import('../entry.agent').ChatToolCall[]) => import('../components/llm/toolCallDisplay').CondensedToolCallDisplay[];
11817
11817
  shouldSummarizeToolCalls: (message: import('../main').ChatMessage) => boolean;
11818
11818
  getToolCallSummary: (message: import('../main').ChatMessage) => string;
11819
11819
  getToolCallSummaryTitle: (message: import('../main').ChatMessage) => string;
@@ -12128,7 +12128,7 @@ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractP
12128
12128
  getMessageTextWithoutArtifact: (message: import('../main').ChatMessage) => string;
12129
12129
  getToolDisplayText: (toolName: string) => string;
12130
12130
  getToolDisplayName: typeof import('../components/llm/toolCallDisplay').getToolDisplayName;
12131
- getCondensedToolCalls: (toolCalls: import('../chats/chat').ChatToolCall[]) => import('../components/llm/toolCallDisplay').CondensedToolCallDisplay[];
12131
+ getCondensedToolCalls: (toolCalls: import('../entry.agent').ChatToolCall[]) => import('../components/llm/toolCallDisplay').CondensedToolCallDisplay[];
12132
12132
  shouldSummarizeToolCalls: (message: import('../main').ChatMessage) => boolean;
12133
12133
  getToolCallSummary: (message: import('../main').ChatMessage) => string;
12134
12134
  getToolCallSummaryTitle: (message: import('../main').ChatMessage) => string;
@@ -12392,7 +12392,7 @@ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractP
12392
12392
  getMessageTextWithoutArtifact: (message: import('../main').ChatMessage) => string;
12393
12393
  getToolDisplayText: (toolName: string) => string;
12394
12394
  getToolDisplayName: typeof import('../components/llm/toolCallDisplay').getToolDisplayName;
12395
- getCondensedToolCalls: (toolCalls: import('../chats/chat').ChatToolCall[]) => import('../components/llm/toolCallDisplay').CondensedToolCallDisplay[];
12395
+ getCondensedToolCalls: (toolCalls: import('../entry.agent').ChatToolCall[]) => import('../components/llm/toolCallDisplay').CondensedToolCallDisplay[];
12396
12396
  shouldSummarizeToolCalls: (message: import('../main').ChatMessage) => boolean;
12397
12397
  getToolCallSummary: (message: import('../main').ChatMessage) => string;
12398
12398
  getToolCallSummaryTitle: (message: import('../main').ChatMessage) => string;
package/dist/views.js CHANGED
@@ -1,9 +1,8 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-f9Rw-Il4.js";
2
- import { dn as t, fn as n, pn as r } from "./llm-Wf4Etiu9.js";
3
- import { a as i, d as a, g as o, n as s, p as c } from "./stores-DTGQZ4_B.js";
4
- import { C as l, O as u, Q as d, S as f, i as p, t as m, y as h } from "./editorStore-CiWH_nGN.js";
5
- import { t as g } from "./localStorage-C3xms-ab.js";
6
- import { Fragment as _, Suspense as v, Teleport as y, computed as b, createBlock as x, createCommentVNode as S, createElementBlock as C, createElementVNode as w, createVNode as T, defineAsyncComponent as E, defineComponent as D, onBeforeUnmount as ee, onMounted as te, openBlock as O, provide as k, ref as A, renderList as j, toDisplayString as M, unref as N, vModelText as P, withCtx as F, withDirectives as ne, withKeys as I } from "vue";
2
+ import { C as t, O as n, Q as r, S as i, ft as a, i as o, mt as s, pt as c, t as l, y as u } from "./editorStore-Czhpct1j.js";
3
+ import { a as ee, d, g as f, n as p, p as m } from "./stores-DgdADCiH.js";
4
+ import { t as h } from "./localStorage-Cy0sHlT0.js";
5
+ import { Fragment as g, Suspense as _, Teleport as v, computed as y, createBlock as b, createCommentVNode as x, createElementBlock as S, createElementVNode as C, createVNode as w, defineAsyncComponent as T, defineComponent as E, onBeforeUnmount as te, onMounted as ne, openBlock as D, provide as O, ref as k, renderList as A, toDisplayString as j, unref as M, vModelText as N, withCtx as P, withDirectives as F, withKeys as I } from "vue";
7
6
  //#region stores/CredentialManager.vue?vue&type=script&setup=true&lang.ts
8
7
  var re = { class: "confirmation-overlay" }, ie = { class: "confirmation-dialog" }, L = {
9
8
  key: 0,
@@ -17,7 +16,7 @@ var re = { class: "confirmation-overlay" }, ie = { class: "confirmation-dialog"
17
16
  }, H = {
18
17
  key: 1,
19
18
  class: "credential-prompt-content"
20
- }, ae = /*#__PURE__*/ e(/* @__PURE__ */ D({
19
+ }, ae = /*#__PURE__*/ e(/* @__PURE__ */ E({
21
20
  __name: "CredentialManager",
22
21
  props: {
23
22
  showPrompt: {
@@ -44,7 +43,7 @@ var re = { class: "confirmation-overlay" }, ie = { class: "confirmation-dialog"
44
43
  "cancel-bypass"
45
44
  ],
46
45
  setup(e, { emit: t }) {
47
- let n = t, r = A(""), i = () => {
46
+ let n = t, r = k(""), i = () => {
48
47
  n("submit-keyphrase", r.value), r.value = "";
49
48
  }, a = () => {
50
49
  n("show-bypass-warning");
@@ -53,47 +52,47 @@ var re = { class: "confirmation-overlay" }, ie = { class: "confirmation-dialog"
53
52
  }, s = () => {
54
53
  n("cancel-bypass");
55
54
  };
56
- return (t, n) => (O(), C("div", null, [e.showPrompt ? (O(), x(y, {
55
+ return (t, n) => (D(), S("div", null, [e.showPrompt ? (D(), b(v, {
57
56
  key: 0,
58
57
  to: "body"
59
- }, [w("div", re, [w("div", ie, [
60
- n[6] ||= w("h2", null, "One Moment", -1),
61
- n[7] ||= w("h3", null, "Loading Your Saved Studio Credentials", -1),
62
- e.bypassMode ? (O(), C("div", H, [
63
- n[4] ||= w("p", { class: "warning-message" }, " ⚠️ Warning: Bypassing encryption will cause all your saved credentials to become inaccessible. ", -1),
64
- n[5] ||= w("p", null, "Your saved credentials will be lost and you will need to re-enter them.", -1),
65
- w("div", { class: "credential-actions" }, [w("button", {
58
+ }, [C("div", re, [C("div", ie, [
59
+ n[6] ||= C("h2", null, "One Moment", -1),
60
+ n[7] ||= C("h3", null, "Loading Your Saved Studio Credentials", -1),
61
+ e.bypassMode ? (D(), S("div", H, [
62
+ n[4] ||= C("p", { class: "warning-message" }, " ⚠️ Warning: Bypassing encryption will cause all your saved credentials to become inaccessible. ", -1),
63
+ n[5] ||= C("p", null, "Your saved credentials will be lost and you will need to re-enter them.", -1),
64
+ C("div", { class: "credential-actions" }, [C("button", {
66
65
  onClick: o,
67
66
  class: "confirm-btn"
68
- }, "Confirm Skip"), w("button", {
67
+ }, "Confirm Skip"), C("button", {
69
68
  onClick: s,
70
69
  class: "cancel-btn"
71
70
  }, "Go Back")])
72
- ])) : (O(), C("div", L, [
73
- n[3] ||= w("p", null, " Enter a keyphrase to use saved credentials. (This is a secret phrase you created to encrypt your credentials. It's not stored anywhere, so keep it safe.) You'll be asked for it once per session. Credentials are encrypted in your browser local storage and are never sent anywhere. ", -1),
74
- e.storedCredentialLabels.length > 0 ? (O(), C("div", R, [n[1] ||= w("div", { class: "text-bold" }, "Your stored credentials:", -1), w("ul", z, [(O(!0), C(_, null, j(e.storedCredentialLabels, (e) => (O(), C("li", {
71
+ ])) : (D(), S("div", L, [
72
+ n[3] ||= C("p", null, " Enter a keyphrase to use saved credentials. (This is a secret phrase you created to encrypt your credentials. It's not stored anywhere, so keep it safe.) You'll be asked for it once per session. Credentials are encrypted in your browser local storage and are never sent anywhere. ", -1),
73
+ e.storedCredentialLabels.length > 0 ? (D(), S("div", R, [n[1] ||= C("div", { class: "text-bold" }, "Your stored credentials:", -1), C("ul", z, [(D(!0), S(g, null, A(e.storedCredentialLabels, (e) => (D(), S("li", {
75
74
  key: e,
76
75
  class: "truncate-text"
77
- }, M(e), 1))), 128))])])) : S("", !0),
78
- w("div", B, [n[2] ||= w("label", { for: "keyphrase" }, "Keyphrase", -1), ne(w("input", {
76
+ }, j(e), 1))), 128))])])) : x("", !0),
77
+ C("div", B, [n[2] ||= C("label", { for: "keyphrase" }, "Keyphrase", -1), F(C("input", {
79
78
  type: "password",
80
79
  id: "keyphrase",
81
80
  "onUpdate:modelValue": n[0] ||= (e) => r.value = e,
82
81
  onKeyup: I(i, ["enter"]),
83
82
  placeholder: "Enter the keyphrase you used to save credentials",
84
83
  "data-testid": "keyphrase-input"
85
- }, null, 544), [[P, r.value]])]),
86
- e.error ? (O(), C("div", V, M(e.error), 1)) : S("", !0),
87
- w("div", { class: "credential-actions" }, [w("button", {
84
+ }, null, 544), [[N, r.value]])]),
85
+ e.error ? (D(), S("div", V, j(e.error), 1)) : x("", !0),
86
+ C("div", { class: "credential-actions" }, [C("button", {
88
87
  onClick: i,
89
88
  class: "primary-button",
90
89
  "data-testid": "submit-keyphrase"
91
- }, " Submit "), w("button", {
90
+ }, " Submit "), C("button", {
92
91
  onClick: a,
93
92
  class: "cancel-btn"
94
93
  }, "Skip")])
95
94
  ]))
96
- ])])])) : S("", !0)]));
95
+ ])])])) : x("", !0)]));
97
96
  }
98
97
  }), [["__scopeId", "data-v-bce47d59"]]), oe = "trilogy_studio_";
99
98
  function U(e) {
@@ -317,17 +316,17 @@ var G = class extends Error {
317
316
  }, J = { class: "ide-placeholder" }, Y = {
318
317
  key: 0,
319
318
  class: "ide-placeholder__sidebar"
320
- }, ce = /*#__PURE__*/ e(/* @__PURE__ */ D({
319
+ }, ce = /*#__PURE__*/ e(/* @__PURE__ */ E({
321
320
  __name: "IDEPlaceholder",
322
321
  setup(e) {
323
- let t = b(() => window.location.href.includes("dashboard-import"));
324
- return (e, n) => (O(), C("div", J, [t.value ? S("", !0) : (O(), C("div", Y)), n[0] ||= w("div", { class: "ide-placeholder__main" }, [w("div", { class: "ide-placeholder__editor" })], -1)]));
322
+ let t = y(() => window.location.href.includes("dashboard-import"));
323
+ return (e, n) => (D(), S("div", J, [t.value ? x("", !0) : (D(), S("div", Y)), n[0] ||= C("div", { class: "ide-placeholder__main" }, [C("div", { class: "ide-placeholder__editor" })], -1)]));
325
324
  }
326
325
  }), [["__scopeId", "data-v-4c31bd0b"]]), le = {}, ue = { class: "mobile-ide-placeholder" };
327
326
  function X(e, t) {
328
- return O(), C("div", ue, [...t[0] ||= [w("div", { class: "mobile-ide-placeholder__header" }, null, -1), w("div", { class: "mobile-ide-placeholder__content" }, null, -1)]]);
327
+ return D(), S("div", ue, [...t[0] ||= [C("div", { class: "mobile-ide-placeholder__header" }, null, -1), C("div", { class: "mobile-ide-placeholder__content" }, null, -1)]]);
329
328
  }
330
- var de = /*#__PURE__*/ e(le, [["render", X], ["__scopeId", "data-v-263dbb39"]]), Z = /* @__PURE__ */ D({
329
+ var de = /*#__PURE__*/ e(le, [["render", X], ["__scopeId", "data-v-263dbb39"]]), Z = /* @__PURE__ */ E({
331
330
  __name: "Manager",
332
331
  props: {
333
332
  connectionStore: {
@@ -367,7 +366,7 @@ var de = /*#__PURE__*/ e(le, [["render", X], ["__scopeId", "data-v-263dbb39"]]),
367
366
  required: !0
368
367
  },
369
368
  trilogyResolver: {
370
- type: t,
369
+ type: a,
371
370
  required: !0
372
371
  },
373
372
  storageSources: {
@@ -377,28 +376,28 @@ var de = /*#__PURE__*/ e(le, [["render", X], ["__scopeId", "data-v-263dbb39"]]),
377
376
  }
378
377
  },
379
378
  setup(e) {
380
- let t = E(() => import("./IDE-4-Jg6gsM.js")), n = E(() => import("./MobileIDE-CZlg20oa.js")), a = e, o = A(!1), c = A(!1), l = A(""), u = A(null), d = A(!1), f = A([]), p = A([]), m = new se({ credentialPrefix: oe });
381
- m.getIsCredentialApiSupported() && (console.log("Native Credential API supported"), d.value = !0);
382
- let g = async (e = null) => {
379
+ let t = T(() => import("./IDE-kdaEhA4g.js")), n = T(() => import("./MobileIDE-BQcdjWUT.js")), r = e, i = k(!1), a = k(!1), o = k(""), c = k(null), l = k(!1), d = k([]), f = k([]), m = new se({ credentialPrefix: oe });
380
+ m.getIsCredentialApiSupported() && (console.log("Native Credential API supported"), l.value = !0);
381
+ let h = async (e = null) => {
383
382
  try {
384
383
  let t = await m.listCredentials();
385
- return f.value = t.map((e) => e.label), e ? f.value.includes(e) : t.length > 0;
384
+ return d.value = t.map((e) => e.label), e ? d.value.includes(e) : t.length > 0;
386
385
  } catch (e) {
387
- return console.error("Error checking for credentials:", e), f.value = [], !1;
386
+ return console.error("Error checking for credentials:", e), d.value = [], !1;
388
387
  }
389
- }, _ = async (e) => {
388
+ }, g = async (e) => {
390
389
  if (!e.trim()) {
391
- l.value = "Keyphrase cannot be empty";
390
+ o.value = "Keyphrase cannot be empty";
392
391
  return;
393
392
  }
394
- let t = await y(e), n = f.value.length > 0;
393
+ let t = await v(e), n = d.value.length > 0;
395
394
  if (!t && n) {
396
- l.value = "Invalid keyphrase. Please try again.";
395
+ o.value = "Invalid keyphrase. Please try again.";
397
396
  return;
398
397
  }
399
- if (u.value = e, o.value = !1, l.value = "", p.value.length > 0) {
400
- let t = [...p.value];
401
- p.value = [];
398
+ if (c.value = e, i.value = !1, o.value = "", f.value.length > 0) {
399
+ let t = [...f.value];
400
+ f.value = [];
402
401
  for (let { resolve: n, operation: r, params: i } of t) try {
403
402
  if (r === "save") {
404
403
  let { label: t, type: r, value: a } = i;
@@ -413,9 +412,9 @@ var de = /*#__PURE__*/ e(le, [["render", X], ["__scopeId", "data-v-263dbb39"]]),
413
412
  } catch (e) {
414
413
  console.error("Error in credential operation:", e), n(null);
415
414
  }
416
- await g();
415
+ await h();
417
416
  }
418
- }, y = async (e) => {
417
+ }, v = async (e) => {
419
418
  let t = await m.listCredentials();
420
419
  if (!t || t.length < 1) return !0;
421
420
  try {
@@ -424,52 +423,52 @@ var de = /*#__PURE__*/ e(le, [["render", X], ["__scopeId", "data-v-263dbb39"]]),
424
423
  } catch (e) {
425
424
  return console.error("Error verifying keyphrase:", e), !1;
426
425
  }
427
- }, S = () => {
428
- c.value = !0;
429
- }, w = () => {
430
- if (u.value = null, o.value = !1, c.value = !1, p.value.length > 0) {
431
- let e = [...p.value];
432
- p.value = [];
426
+ }, x = () => {
427
+ a.value = !0;
428
+ }, C = () => {
429
+ if (c.value = null, i.value = !1, a.value = !1, f.value.length > 0) {
430
+ let e = [...f.value];
431
+ f.value = [];
433
432
  for (let t of e) t.resolve(null);
434
433
  }
435
- }, D = () => {
436
- c.value = !1;
437
- }, j = async (e) => {
438
- if (u.value || d.value) try {
439
- let t = await m.storeCredentials(e, u.value || "");
440
- return await g(), !!t;
434
+ }, E = () => {
435
+ a.value = !1;
436
+ }, A = async (e) => {
437
+ if (c.value || l.value) try {
438
+ let t = await m.storeCredentials(e, c.value || "");
439
+ return await h(), !!t;
441
440
  } catch (e) {
442
441
  return console.error("Error saving credentials:", e), !1;
443
442
  }
444
443
  return new Promise((t, n) => {
445
- p.value.push({
444
+ f.value.push({
446
445
  resolve: t,
447
446
  reject: n,
448
447
  operation: "saveBulk",
449
448
  params: { credentials: e }
450
- }), o.value ||= !0;
449
+ }), i.value ||= !0;
451
450
  });
452
- }, M = async (e, t, n) => {
453
- if (u.value || d.value) try {
454
- let r = await m.storeCredential(e, t, n, u.value);
455
- return await g(), !!r;
451
+ }, j = async (e, t, n) => {
452
+ if (c.value || l.value) try {
453
+ let r = await m.storeCredential(e, t, n, c.value);
454
+ return await h(), !!r;
456
455
  } catch (e) {
457
456
  return console.error("Error saving credential:", e), !1;
458
457
  }
459
- return new Promise((r, i) => {
460
- p.value.push({
458
+ return new Promise((r, a) => {
459
+ f.value.push({
461
460
  resolve: r,
462
- reject: i,
461
+ reject: a,
463
462
  operation: "save",
464
463
  params: {
465
464
  label: e,
466
465
  type: t,
467
466
  value: n
468
467
  }
469
- }), o.value ||= !0;
468
+ }), i.value ||= !0;
470
469
  });
471
- }, P = async (e, t) => u.value || d.value ? await m.getCredential(e, t, u.value || "") : new Promise((n, r) => {
472
- p.value.push({
470
+ }, N = async (e, t) => c.value || l.value ? await m.getCredential(e, t, c.value || "") : new Promise((n, r) => {
471
+ f.value.push({
473
472
  resolve: n,
474
473
  reject: r,
475
474
  operation: "get",
@@ -477,51 +476,51 @@ var de = /*#__PURE__*/ e(le, [["render", X], ["__scopeId", "data-v-263dbb39"]]),
477
476
  label: e,
478
477
  type: t
479
478
  }
480
- }), o.value ||= !0;
479
+ }), i.value ||= !0;
481
480
  });
482
- g(), k("credentialManager", {
483
- saveCredential: M,
484
- getCredential: P,
485
- hasKeyphrase: () => u.value !== null,
486
- refreshCredentials: g
487
- }), k("editorStore", a.editorStore), k("connectionStore", a.connectionStore), k("modelStore", a.modelStore), k("trilogyResolver", a.trilogyResolver), k("storageSources", a.storageSources), k("userSettingsStore", a.userSettingsStore), k("llmConnectionStore", a.llmConnectionStore), k("dashboardStore", a.dashboardStore), k("communityApiStore", a.communityApiStore), k("jobsApiStore", a.jobsApiStore), k("chatStore", a.chatStore);
488
- let { setActiveScreen: ne, setActiveEditor: I, setActiveDashboard: re } = i();
489
- k("setActiveScreen", ne), k("setActiveEditor", I), k("setActiveDashboard", re);
490
- let ie = r();
491
- k("analyticsStore", ie), k("queryExecutionService", new s(a.trilogyResolver, a.connectionStore));
492
- let L = A(window.innerWidth), R = A(!1), z = [];
493
- for (let e of a.storageSources) z.push(e.loadEditors().then((e) => {
494
- for (let t of Object.values(e)) a.editorStore.addEditor(t);
481
+ h(), O("credentialManager", {
482
+ saveCredential: j,
483
+ getCredential: N,
484
+ hasKeyphrase: () => c.value !== null,
485
+ refreshCredentials: h
486
+ }), O("editorStore", r.editorStore), O("connectionStore", r.connectionStore), O("modelStore", r.modelStore), O("trilogyResolver", r.trilogyResolver), O("storageSources", r.storageSources), O("userSettingsStore", r.userSettingsStore), O("llmConnectionStore", r.llmConnectionStore), O("dashboardStore", r.dashboardStore), O("communityApiStore", r.communityApiStore), O("jobsApiStore", r.jobsApiStore), O("chatStore", r.chatStore);
487
+ let { setActiveScreen: F, setActiveEditor: I, setActiveDashboard: re } = ee();
488
+ O("setActiveScreen", F), O("setActiveEditor", I), O("setActiveDashboard", re);
489
+ let ie = s();
490
+ O("analyticsStore", ie), O("queryExecutionService", new p(r.trilogyResolver, r.connectionStore));
491
+ let L = k(window.innerWidth), R = k(!1), z = [];
492
+ for (let e of r.storageSources) z.push(e.loadEditors().then((e) => {
493
+ for (let t of Object.values(e)) r.editorStore.addEditor(t);
495
494
  })), z.push((async () => {
496
495
  let t = await e.loadConnections();
497
496
  for (let e of Object.values(t)) {
498
497
  if (e.getSecret() == "saved") {
499
- let t = await P(e.getSecretName(), "connection");
498
+ let t = await N(e.getSecretName(), "connection");
500
499
  e.setSecret(t ? t.value : ""), e.changed = !1;
501
500
  }
502
- a.connectionStore.addConnection(e);
501
+ r.connectionStore.addConnection(e);
503
502
  }
504
503
  })()), z.push(e.loadModelConfig().then((e) => {
505
- for (let t of Object.values(e)) a.modelStore.addModelConfig(t);
504
+ for (let t of Object.values(e)) r.modelStore.addModelConfig(t);
506
505
  })), z.push((async () => {
507
506
  let t = await e.loadLLMConnections();
508
507
  for (let e of Object.values(t)) {
509
508
  if (e.getApiKey() == "saved") {
510
- let t = await P(e.getCredentialName(), "llm");
509
+ let t = await N(e.getCredentialName(), "llm");
511
510
  e.setApiKey(t ? t.value : ""), e.changed = !1;
512
511
  }
513
- a.llmConnectionStore.addConnection(e, !1), e.isDefault && (a.llmConnectionStore.activeConnection = e.name, a.llmConnectionStore.resetConnectionInBackground(e.name));
512
+ r.llmConnectionStore.addConnection(e, !1), e.isDefault && (r.llmConnectionStore.activeConnection = e.name, r.llmConnectionStore.resetConnectionInBackground(e.name));
514
513
  }
515
514
  })()), z.push(e.loadDashboards().then((e) => {
516
- for (let t of Object.values(e)) a.dashboardStore.addDashboard(t);
515
+ for (let t of Object.values(e)) r.dashboardStore.addDashboard(t);
517
516
  })), z.push(e.loadChats().then((e) => {
518
- for (let t of Object.values(e)) a.chatStore.addChat(t);
517
+ for (let t of Object.values(e)) r.chatStore.addChat(t);
519
518
  }));
520
- let B = A(null);
519
+ let B = k(null);
521
520
  Promise.all(z).then(() => {
522
- h(Object.values(a.dashboardStore.dashboards), a.connectionStore);
523
- for (let e of Object.values(a.chatStore.chats)) if (!e.dataConnectionId && e.dataConnectionName) {
524
- let t = a.connectionStore.connectionByName(e.dataConnectionName);
521
+ u(Object.values(r.dashboardStore.dashboards), r.connectionStore);
522
+ for (let e of Object.values(r.chatStore.chats)) if (!e.dataConnectionId && e.dataConnectionName) {
523
+ let t = r.connectionStore.connectionByName(e.dataConnectionName);
525
524
  t && (e.dataConnectionId = t.id, e.changed = !0);
526
525
  }
527
526
  }).catch((e) => {
@@ -530,11 +529,11 @@ var de = /*#__PURE__*/ e(le, [["render", X], ["__scopeId", "data-v-263dbb39"]]),
530
529
  R.value = !0;
531
530
  });
532
531
  let V = async () => {
533
- for (let e of a.storageSources) await e.saveEditors(Object.values(a.editorStore.editors).filter((t) => t.storage == e.type));
532
+ for (let e of r.storageSources) await e.saveEditors(Object.values(r.editorStore.editors).filter((t) => t.storage == e.type));
534
533
  console.log("Editors saved");
535
534
  }, H = async () => {
536
- for (let e of a.storageSources) await e.saveConnections(Object.values(a.connectionStore.connections).filter((t) => t.storage == e.type));
537
- let e = (await Promise.all(Object.values(a.connectionStore.connections).map(async (e) => {
535
+ for (let e of r.storageSources) await e.saveConnections(Object.values(r.connectionStore.connections).filter((t) => t.storage == e.type));
536
+ let e = (await Promise.all(Object.values(r.connectionStore.connections).map(async (e) => {
538
537
  if (e.getSecret() && e.saveCredential) {
539
538
  let t = e.getSecret();
540
539
  if (t) return {
@@ -545,13 +544,13 @@ var de = /*#__PURE__*/ e(le, [["render", X], ["__scopeId", "data-v-263dbb39"]]),
545
544
  }
546
545
  return null;
547
546
  }))).filter((e) => e !== null);
548
- e.length > 0 && (await j(e), console.log("Connections saved"));
547
+ e.length > 0 && (await A(e), console.log("Connections saved"));
549
548
  }, U = async () => {
550
- for (let e of a.storageSources) await e.saveModelConfig(Object.values(a.modelStore.models).filter((t) => t.storage == e.type));
549
+ for (let e of r.storageSources) await e.saveModelConfig(Object.values(r.modelStore.models).filter((t) => t.storage == e.type));
551
550
  console.log("Models saved");
552
551
  }, W = async () => {
553
- for (let e of a.storageSources) await e.saveLLMConnections(Object.values(a.llmConnectionStore.connections).filter((t) => t.storage == e.type));
554
- let e = Object.values(a.llmConnectionStore.connections).map((e) => {
552
+ for (let e of r.storageSources) await e.saveLLMConnections(Object.values(r.llmConnectionStore.connections).filter((t) => t.storage == e.type));
553
+ let e = Object.values(r.llmConnectionStore.connections).map((e) => {
555
554
  let t = e.getApiKey();
556
555
  return t ? {
557
556
  label: e.getCredentialName(),
@@ -559,13 +558,13 @@ var de = /*#__PURE__*/ e(le, [["render", X], ["__scopeId", "data-v-263dbb39"]]),
559
558
  value: t
560
559
  } : null;
561
560
  }).filter((e) => e !== null);
562
- e.length > 0 && (await j(e), console.log("LLM connections saved"));
561
+ e.length > 0 && (await A(e), console.log("LLM connections saved"));
563
562
  }, G = async () => {
564
563
  console.log("saving dashboards");
565
- for (let e of a.storageSources) await e.saveDashboards(Object.values(a.dashboardStore.dashboards).filter((t) => t.storage == e.type));
564
+ for (let e of r.storageSources) await e.saveDashboards(Object.values(r.dashboardStore.dashboards).filter((t) => t.storage == e.type));
566
565
  }, K = async () => {
567
566
  console.log("saving chats");
568
- for (let e of a.storageSources) await e.saveChats(Object.values(a.chatStore.chats).filter((t) => t.storage == e.type));
567
+ for (let e of r.storageSources) await e.saveChats(Object.values(r.chatStore.chats).filter((t) => t.storage == e.type));
569
568
  }, q = async () => {
570
569
  await Promise.all([
571
570
  V(),
@@ -575,7 +574,7 @@ var de = /*#__PURE__*/ e(le, [["render", X], ["__scopeId", "data-v-263dbb39"]]),
575
574
  G(),
576
575
  K()
577
576
  ]);
578
- }, J = b(() => Number(a.editorStore.unsavedEditors || 0) + Number(a.connectionStore.unsavedConnections || 0) + Number(a.modelStore.unsavedModels || 0) + Number(a.llmConnectionStore.unsavedConnections || 0) + Number(a.dashboardStore.unsavedDashboards || 0) + Number(a.chatStore.unsavedChats || 0)), Y = A(null), le = () => {
577
+ }, J = y(() => Number(r.editorStore.unsavedEditors || 0) + Number(r.connectionStore.unsavedConnections || 0) + Number(r.modelStore.unsavedModels || 0) + Number(r.llmConnectionStore.unsavedConnections || 0) + Number(r.dashboardStore.unsavedDashboards || 0) + Number(r.chatStore.unsavedChats || 0)), Y = k(null), le = () => {
579
578
  Y.value && clearInterval(Y.value), Y.value = setInterval(async () => {
580
579
  if (J.value > 0) {
581
580
  console.log(`Auto-saving ${J.value} unsaved changes...`);
@@ -591,65 +590,65 @@ var de = /*#__PURE__*/ e(le, [["render", X], ["__scopeId", "data-v-263dbb39"]]),
591
590
  }, X = (e) => {
592
591
  if (J.value > 0) return e.preventDefault(), "";
593
592
  };
594
- te(() => {
593
+ ne(() => {
595
594
  le(), window.addEventListener("beforeunload", X), window.addEventListener("resize", $);
596
- }), ee(() => {
595
+ }), te(() => {
597
596
  ue(), window.removeEventListener("beforeunload", X), window.removeEventListener("resize", $);
598
- }), k("saveEditors", V), k("saveConnections", H), k("saveModels", U), k("saveLLMConnections", W), k("saveDashboards", G), k("saveChats", K), k("saveAll", q), k("unSaved", J);
599
- let Z = window.innerWidth <= 768, Q = b(() => R.value ? L.value <= 768 : Z), $ = () => {
597
+ }), O("saveEditors", V), O("saveConnections", H), O("saveModels", U), O("saveLLMConnections", W), O("saveDashboards", G), O("saveChats", K), O("saveAll", q), O("unSaved", J);
598
+ let Z = window.innerWidth <= 768, Q = y(() => R.value ? L.value <= 768 : Z), $ = () => {
600
599
  L.value = window.innerWidth;
601
600
  };
602
- return k("isMobile", Q), k("storesLoaded", R), k("storesLoadError", B), (e, r) => (O(), C("div", null, [T(ae, {
603
- showPrompt: o.value,
604
- bypassMode: c.value,
605
- error: l.value,
606
- storedCredentialLabels: f.value,
607
- onSubmitKeyphrase: _,
608
- onShowBypassWarning: S,
609
- onConfirmBypass: w,
610
- onCancelBypass: D
601
+ return O("isMobile", Q), O("storesLoaded", R), O("storesLoadError", B), (e, r) => (D(), S("div", null, [w(ae, {
602
+ showPrompt: i.value,
603
+ bypassMode: a.value,
604
+ error: o.value,
605
+ storedCredentialLabels: d.value,
606
+ onSubmitKeyphrase: g,
607
+ onShowBypassWarning: x,
608
+ onConfirmBypass: C,
609
+ onCancelBypass: E
611
610
  }, null, 8, [
612
611
  "showPrompt",
613
612
  "bypassMode",
614
613
  "error",
615
614
  "storedCredentialLabels"
616
- ]), Q.value ? (O(), x(v, { key: 0 }, {
617
- default: F(() => [T(N(n))]),
618
- fallback: F(() => [T(de)]),
615
+ ]), Q.value ? (D(), b(_, { key: 0 }, {
616
+ default: P(() => [w(M(n))]),
617
+ fallback: P(() => [w(de)]),
619
618
  _: 1
620
- })) : (O(), x(v, { key: 1 }, {
621
- default: F(() => [T(N(t), { showingCredentialPrompt: o.value }, null, 8, ["showingCredentialPrompt"])]),
622
- fallback: F(() => [T(ce)]),
619
+ })) : (D(), b(_, { key: 1 }, {
620
+ default: P(() => [w(M(t), { showingCredentialPrompt: i.value }, null, 8, ["showingCredentialPrompt"])]),
621
+ fallback: P(() => [w(ce)]),
623
622
  _: 1
624
623
  }))]));
625
624
  }
626
- }), Q = { class: "main" }, $ = /*#__PURE__*/ e(/* @__PURE__ */ D({
625
+ }), Q = { class: "main" }, $ = /*#__PURE__*/ e(/* @__PURE__ */ E({
627
626
  __name: "ResponsiveIDE",
628
627
  setup(e) {
629
- function r(e) {
628
+ function s(e) {
630
629
  return !/^https?:\/\/(localhost|127\.0\.0\.1)(?::\d+)?(?:\/|$)/i.test(e);
631
630
  }
632
- let i = n();
633
- i.loadSettings();
634
- let s = window.matchMedia("(prefers-color-scheme: dark)").matches;
635
- i.settings.theme || i.updateSetting("theme", s ? "dark" : "light"), i.settings.trilogyResolver === "" && i.updateSetting("trilogyResolver", "https://trilogy-service.fly.dev"), i.toggleTheme();
636
- let h = new t(i);
637
- r(i.settings.trilogyResolver) && h.warmResolver();
638
- let _ = new g(), v = m(), y = f(), b = d(), x = o(), S = c(), w = l();
639
- w.loadStoresFromStorage();
640
- let E = a(), D = new u(w), ee = p(), te = [_, D];
641
- return (e, t) => (O(), C("div", Q, [T(Z, {
642
- connectionStore: N(y),
643
- editorStore: N(v),
644
- trilogyResolver: N(h),
645
- modelStore: N(b),
646
- storageSources: N(te),
647
- userSettingsStore: N(i),
648
- dashboardStore: N(S),
649
- llmConnectionStore: N(x),
650
- communityApiStore: N(w),
651
- jobsApiStore: N(E),
652
- chatStore: N(ee)
631
+ let u = c();
632
+ u.loadSettings();
633
+ let ee = window.matchMedia("(prefers-color-scheme: dark)").matches;
634
+ u.settings.theme || u.updateSetting("theme", ee ? "dark" : "light"), u.settings.trilogyResolver === "" && u.updateSetting("trilogyResolver", "https://trilogy-service.fly.dev"), u.toggleTheme();
635
+ let p = new a(u);
636
+ s(u.settings.trilogyResolver) && p.warmResolver();
637
+ let g = new h(), _ = l(), v = i(), y = r(), b = f(), x = m(), C = t();
638
+ C.loadStoresFromStorage();
639
+ let T = d(), E = new n(C), te = o(), ne = [g, E];
640
+ return (e, t) => (D(), S("div", Q, [w(Z, {
641
+ connectionStore: M(v),
642
+ editorStore: M(_),
643
+ trilogyResolver: M(p),
644
+ modelStore: M(y),
645
+ storageSources: M(ne),
646
+ userSettingsStore: M(u),
647
+ dashboardStore: M(x),
648
+ llmConnectionStore: M(b),
649
+ communityApiStore: M(C),
650
+ jobsApiStore: M(T),
651
+ chatStore: M(te)
653
652
  }, null, 8, [
654
653
  "connectionStore",
655
654
  "editorStore",
@@ -0,0 +1,3 @@
1
+ declare const _default: import('vite').UserConfig;
2
+ export default _default;
3
+ //# sourceMappingURL=vite.agent.config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vite.agent.config.d.ts","sourceRoot":"","sources":["../vite.agent.config.ts"],"names":[],"mappings":";AAUA,wBASE"}
@@ -1,4 +1,4 @@
1
- import { n as e } from "./rolldown-runtime-B0aSnxlc.js";
1
+ import { pn as e } from "./llm-Bc1CfjOE.js";
2
2
  import { n as t, t as n } from "./dist-Bv3D2p5A.js";
3
3
  //#region node_modules/.pnpm/monaco-editor@0.55.1/node_modules/monaco-editor/esm/vs/nls.messages.js
4
4
  function r() {
@@ -113696,7 +113696,7 @@ var QNe = "5.9.3", $Ne = /* @__PURE__ */ e({
113696
113696
  onlyVisible: !1
113697
113697
  }, {}, {}, Y9), tPe = () => Q9().then((e) => e.getTypeScriptWorker()), nPe = () => Q9().then((e) => e.getJavaScriptWorker());
113698
113698
  function Q9() {
113699
- return import("./tsMode-BH9HS_sH.js");
113699
+ return import("./tsMode-BEQ7aXX4.js");
113700
113700
  }
113701
113701
  V9.onLanguage("typescript", () => Q9().then((e) => e.setupTypeScript(X9))), V9.onLanguage("javascript", () => Q9().then((e) => e.setupJavaScript(Z9)));
113702
113702
  //#endregion