@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.
- package/README.md +1 -0
- package/dist/AssetAutoImporter-BA8C4p09.js +403 -0
- package/dist/{ChatCreatorModal-Cd40SvdM.js → ChatCreatorModal-94gZ9D-y.js} +1 -1
- package/dist/{CodeBlock-Dj-GfTbW.js → CodeBlock-C9o09ipr.js} +1 -1
- package/dist/{CommunityModels-lX2RhHCG.js → CommunityModels-D48H9Bqt.js} +6 -6
- package/dist/{ConnectionView-CZ06qjjE.js → ConnectionView-sEXGE8Vs.js} +5 -5
- package/dist/{CreateEditorFromDatasourcePopup-DwA938kf.js → CreateEditorFromDatasourcePopup-BUoegyem.js} +2 -2
- package/dist/{Dashboard-CQsIqWZC.js → Dashboard-C6adKZ7q.js} +202 -203
- package/dist/{DashboardImportSelector-CkqH52FX.js → DashboardImportSelector-CQqXshDj.js} +1 -1
- package/dist/{DashboardMobile-DWFlel5p.js → DashboardMobile-BU1nDLQv.js} +42 -42
- package/dist/{Editor-DQ66Vp6v.js → Editor-DO4VRvek.js} +9 -10
- package/dist/{ErrorMessage-D5JeF3Iz.js → ErrorMessage-Cz7q7vJI.js} +1 -1
- package/dist/{GlobalChatPanel-B_s3COHE.js → GlobalChatPanel-Ct6oSj_A.js} +20 -20
- package/dist/{IDE-4-Jg6gsM.js → IDE-kdaEhA4g.js} +19 -20
- package/dist/{JobsView-B5NWDUgP.js → JobsView-BcyWrDRf.js} +11 -11
- package/dist/{LLMChat-eKgEc-I3.js → LLMChat-Dg8VvTIP.js} +19 -19
- package/dist/{LLMView-CdTwMLVV.js → LLMView-CZNNYXC1.js} +61 -61
- package/dist/{LoadingView-Bu3wLJ7J.js → LoadingView-k2CIKiN7.js} +1 -1
- package/dist/{MarkdownRenderer-B6lqdkgc.js → MarkdownRenderer-Dlb_KGmk.js} +1 -1
- package/dist/{MobileIDE-CZlg20oa.js → MobileIDE-BQcdjWUT.js} +26 -27
- package/dist/{ModelCard-Bs_d7Jis.js → ModelCard-Dn2b5WLs.js} +5 -5
- package/dist/{ModelView-BP5yyecx.js → ModelView-BEi83zrX.js} +6 -6
- package/dist/{PageLoading-DKFeqkmK.js → PageLoading-C7H6q6U6.js} +248 -248
- package/dist/{ResultComponent-BaDheojB.js → ResultComponent-DW9Q9tp9.js} +5 -5
- package/dist/{Results-CrpHB101.js → Results-N2OttUlb.js} +19 -19
- package/dist/{StatusIcon-Clfyy-Yn.js → StatusIcon-B21tjIXx.js} +1 -1
- package/dist/{StoreTokenModal-CO5hXMs3.js → StoreTokenModal-CHgvjLGl.js} +1 -1
- package/dist/{SymbolsPane-XFVErDFb.js → SymbolsPane-DUrLpSSw.js} +11 -11
- package/dist/{TutorialPage-CMcTYDOV.js → TutorialPage-DHgPuFN0.js} +11 -11
- package/dist/{VegaLiteChart-DX_LbF3g.js → VegaLiteChart-BqHLSptG.js} +11116 -11067
- package/dist/{WelcomePage-B6E35FUa.js → WelcomePage-CN6ptsoF.js} +3 -3
- package/dist/agent.js +1349 -0
- package/dist/components/VegaLiteChart.vue.d.ts.map +1 -1
- package/dist/components/chartControlsManager.d.ts +0 -1
- package/dist/components/chartControlsManager.d.ts.map +1 -1
- package/dist/{cssMode-zpO2ap2B.js → cssMode-DW4OByy3.js} +2 -2
- package/dist/dashboard.js +63 -63
- package/dist/dashboards/chartTheme.d.ts +68 -0
- package/dist/dashboards/chartTheme.d.ts.map +1 -0
- package/dist/dashboards/donutSpec.d.ts +2 -1
- package/dist/dashboards/donutSpec.d.ts.map +1 -1
- package/dist/dashboards/headlineSpec.d.ts +2 -1
- package/dist/dashboards/headlineSpec.d.ts.map +1 -1
- package/dist/dashboards/helpers.d.ts +23 -0
- package/dist/dashboards/helpers.d.ts.map +1 -1
- package/dist/dashboards/index.d.ts +2 -0
- package/dist/dashboards/index.d.ts.map +1 -1
- package/dist/dashboards/layerSpec.d.ts +4 -1
- package/dist/dashboards/layerSpec.d.ts.map +1 -1
- package/dist/dashboards/pointSpec.d.ts +2 -1
- package/dist/dashboards/pointSpec.d.ts.map +1 -1
- package/dist/dashboards/spec.d.ts +8 -1
- package/dist/dashboards/spec.d.ts.map +1 -1
- package/dist/{editor.main-BQh6DxDB.js → editor.main-TuTbSVcN.js} +22 -22
- package/dist/{editorStore-CiWH_nGN.js → editorStore-Czhpct1j.js} +1751 -1181
- 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-DAERmOdu.js → globalChatRuntime-BnMYNYqe.js} +35 -35
- package/dist/{handlebars-tgYxaM70.js → handlebars-B3s0Qrrb.js} +1 -1
- package/dist/{helpers-C2pARJoZ.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-Wf4Etiu9.js → llm-Bc1CfjOE.js} +2203 -2722
- package/dist/llm.js +3 -3
- package/dist/{localStorage-C3xms-ab.js → localStorage-Cy0sHlT0.js} +19 -19
- 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-BH_ReGDR.js → reconcile-DtPcgEjQ.js} +1 -1
- package/dist/{remoteStoreSync-B0K8QScO.js → remoteStoreSync-CscErZ-I.js} +2 -2
- package/dist/{stores-DTGQZ4_B.js → stores-DgdADCiH.js} +323 -323
- package/dist/stores.js +3 -4
- package/dist/trilogy-studio-components.css +1 -1
- 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-BSrzJtYI.js → useChatWithTools-CMhGxdyr.js} +14 -14
- package/dist/{useDashboard-CGeIdDuX.js → useDashboard-CjZgjmgb.js} +553 -553
- package/dist/{useGlobalChatPanel-D9kMZLeF.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-C_7Ms9xe.js +0 -403
- 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('../
|
|
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('../
|
|
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('../
|
|
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('../
|
|
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('../
|
|
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('../
|
|
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('../
|
|
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('../
|
|
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('../
|
|
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('../
|
|
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 {
|
|
3
|
-
import { a as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
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__ */
|
|
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 =
|
|
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) => (
|
|
55
|
+
return (t, n) => (D(), S("div", null, [e.showPrompt ? (D(), b(v, {
|
|
57
56
|
key: 0,
|
|
58
57
|
to: "body"
|
|
59
|
-
}, [
|
|
60
|
-
n[6] ||=
|
|
61
|
-
n[7] ||=
|
|
62
|
-
e.bypassMode ? (
|
|
63
|
-
n[4] ||=
|
|
64
|
-
n[5] ||=
|
|
65
|
-
|
|
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"),
|
|
67
|
+
}, "Confirm Skip"), C("button", {
|
|
69
68
|
onClick: s,
|
|
70
69
|
class: "cancel-btn"
|
|
71
70
|
}, "Go Back")])
|
|
72
|
-
])) : (
|
|
73
|
-
n[3] ||=
|
|
74
|
-
e.storedCredentialLabels.length > 0 ? (
|
|
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
|
-
},
|
|
78
|
-
|
|
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), [[
|
|
86
|
-
e.error ? (
|
|
87
|
-
|
|
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 "),
|
|
90
|
+
}, " Submit "), C("button", {
|
|
92
91
|
onClick: a,
|
|
93
92
|
class: "cancel-btn"
|
|
94
93
|
}, "Skip")])
|
|
95
94
|
]))
|
|
96
|
-
])])])) :
|
|
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__ */
|
|
319
|
+
}, ce = /*#__PURE__*/ e(/* @__PURE__ */ E({
|
|
321
320
|
__name: "IDEPlaceholder",
|
|
322
321
|
setup(e) {
|
|
323
|
-
let t =
|
|
324
|
-
return (e, n) => (
|
|
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
|
|
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__ */
|
|
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:
|
|
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 =
|
|
381
|
-
m.getIsCredentialApiSupported() && (console.log("Native Credential API supported"),
|
|
382
|
-
let
|
|
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
|
|
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),
|
|
386
|
+
return console.error("Error checking for credentials:", e), d.value = [], !1;
|
|
388
387
|
}
|
|
389
|
-
},
|
|
388
|
+
}, g = async (e) => {
|
|
390
389
|
if (!e.trim()) {
|
|
391
|
-
|
|
390
|
+
o.value = "Keyphrase cannot be empty";
|
|
392
391
|
return;
|
|
393
392
|
}
|
|
394
|
-
let t = await
|
|
393
|
+
let t = await v(e), n = d.value.length > 0;
|
|
395
394
|
if (!t && n) {
|
|
396
|
-
|
|
395
|
+
o.value = "Invalid keyphrase. Please try again.";
|
|
397
396
|
return;
|
|
398
397
|
}
|
|
399
|
-
if (
|
|
400
|
-
let t = [...
|
|
401
|
-
|
|
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
|
|
415
|
+
await h();
|
|
417
416
|
}
|
|
418
|
-
},
|
|
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
|
-
},
|
|
428
|
-
|
|
429
|
-
},
|
|
430
|
-
if (
|
|
431
|
-
let e = [...
|
|
432
|
-
|
|
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
|
-
},
|
|
436
|
-
|
|
437
|
-
},
|
|
438
|
-
if (
|
|
439
|
-
let t = await m.storeCredentials(e,
|
|
440
|
-
return await
|
|
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
|
-
|
|
444
|
+
f.value.push({
|
|
446
445
|
resolve: t,
|
|
447
446
|
reject: n,
|
|
448
447
|
operation: "saveBulk",
|
|
449
448
|
params: { credentials: e }
|
|
450
|
-
}),
|
|
449
|
+
}), i.value ||= !0;
|
|
451
450
|
});
|
|
452
|
-
},
|
|
453
|
-
if (
|
|
454
|
-
let r = await m.storeCredential(e, t, n,
|
|
455
|
-
return await
|
|
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,
|
|
460
|
-
|
|
458
|
+
return new Promise((r, a) => {
|
|
459
|
+
f.value.push({
|
|
461
460
|
resolve: r,
|
|
462
|
-
reject:
|
|
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
|
-
}),
|
|
468
|
+
}), i.value ||= !0;
|
|
470
469
|
});
|
|
471
|
-
},
|
|
472
|
-
|
|
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
|
-
}),
|
|
479
|
+
}), i.value ||= !0;
|
|
481
480
|
});
|
|
482
|
-
|
|
483
|
-
saveCredential:
|
|
484
|
-
getCredential:
|
|
485
|
-
hasKeyphrase: () =>
|
|
486
|
-
refreshCredentials:
|
|
487
|
-
}),
|
|
488
|
-
let { setActiveScreen:
|
|
489
|
-
|
|
490
|
-
let ie =
|
|
491
|
-
|
|
492
|
-
let L =
|
|
493
|
-
for (let e of
|
|
494
|
-
for (let t of Object.values(e))
|
|
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
|
|
498
|
+
let t = await N(e.getSecretName(), "connection");
|
|
500
499
|
e.setSecret(t ? t.value : ""), e.changed = !1;
|
|
501
500
|
}
|
|
502
|
-
|
|
501
|
+
r.connectionStore.addConnection(e);
|
|
503
502
|
}
|
|
504
503
|
})()), z.push(e.loadModelConfig().then((e) => {
|
|
505
|
-
for (let t of Object.values(e))
|
|
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
|
|
509
|
+
let t = await N(e.getCredentialName(), "llm");
|
|
511
510
|
e.setApiKey(t ? t.value : ""), e.changed = !1;
|
|
512
511
|
}
|
|
513
|
-
|
|
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))
|
|
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))
|
|
517
|
+
for (let t of Object.values(e)) r.chatStore.addChat(t);
|
|
519
518
|
}));
|
|
520
|
-
let B =
|
|
519
|
+
let B = k(null);
|
|
521
520
|
Promise.all(z).then(() => {
|
|
522
|
-
|
|
523
|
-
for (let e of Object.values(
|
|
524
|
-
let t =
|
|
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
|
|
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
|
|
537
|
-
let e = (await Promise.all(Object.values(
|
|
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
|
|
547
|
+
e.length > 0 && (await A(e), console.log("Connections saved"));
|
|
549
548
|
}, U = async () => {
|
|
550
|
-
for (let e of
|
|
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
|
|
554
|
-
let e = Object.values(
|
|
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
|
|
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
|
|
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
|
|
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 =
|
|
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
|
-
|
|
593
|
+
ne(() => {
|
|
595
594
|
le(), window.addEventListener("beforeunload", X), window.addEventListener("resize", $);
|
|
596
|
-
}),
|
|
595
|
+
}), te(() => {
|
|
597
596
|
ue(), window.removeEventListener("beforeunload", X), window.removeEventListener("resize", $);
|
|
598
|
-
}),
|
|
599
|
-
let Z = window.innerWidth <= 768, Q =
|
|
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
|
|
603
|
-
showPrompt:
|
|
604
|
-
bypassMode:
|
|
605
|
-
error:
|
|
606
|
-
storedCredentialLabels:
|
|
607
|
-
onSubmitKeyphrase:
|
|
608
|
-
onShowBypassWarning:
|
|
609
|
-
onConfirmBypass:
|
|
610
|
-
onCancelBypass:
|
|
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 ? (
|
|
617
|
-
default:
|
|
618
|
-
fallback:
|
|
615
|
+
]), Q.value ? (D(), b(_, { key: 0 }, {
|
|
616
|
+
default: P(() => [w(M(n))]),
|
|
617
|
+
fallback: P(() => [w(de)]),
|
|
619
618
|
_: 1
|
|
620
|
-
})) : (
|
|
621
|
-
default:
|
|
622
|
-
fallback:
|
|
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__ */
|
|
625
|
+
}), Q = { class: "main" }, $ = /*#__PURE__*/ e(/* @__PURE__ */ E({
|
|
627
626
|
__name: "ResponsiveIDE",
|
|
628
627
|
setup(e) {
|
|
629
|
-
function
|
|
628
|
+
function s(e) {
|
|
630
629
|
return !/^https?:\/\/(localhost|127\.0\.0\.1)(?::\d+)?(?:\/|$)/i.test(e);
|
|
631
630
|
}
|
|
632
|
-
let
|
|
633
|
-
|
|
634
|
-
let
|
|
635
|
-
|
|
636
|
-
let
|
|
637
|
-
|
|
638
|
-
let
|
|
639
|
-
|
|
640
|
-
let
|
|
641
|
-
return (e, t) => (
|
|
642
|
-
connectionStore:
|
|
643
|
-
editorStore:
|
|
644
|
-
trilogyResolver:
|
|
645
|
-
modelStore:
|
|
646
|
-
storageSources:
|
|
647
|
-
userSettingsStore:
|
|
648
|
-
dashboardStore:
|
|
649
|
-
llmConnectionStore:
|
|
650
|
-
communityApiStore:
|
|
651
|
-
jobsApiStore:
|
|
652
|
-
chatStore:
|
|
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 @@
|
|
|
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 {
|
|
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-
|
|
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
|