openfox 2.0.133 → 2.0.134
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/CHANGELOG.md +12 -0
- package/dist/CHANGELOG.md +12 -0
- package/dist/{chat-handler-T47GATL5.js → chat-handler-YCZE2XEJ.js} +23 -22
- package/dist/chunk-24YKXKCG.js +35 -0
- package/dist/chunk-2OMGR7LN.js +45 -0
- package/dist/{chunk-OUQZZEIQ.js → chunk-5IXCCMFU.js} +335 -187
- package/dist/{chunk-MQMPIXON.js → chunk-5UMXFLET.js} +3 -3
- package/dist/{chunk-5JWJEZJ3.js → chunk-5UQ4CKOA.js} +2 -2
- package/dist/{chunk-P5MSY7ZI.js → chunk-7HGBJFIJ.js} +22 -17
- package/dist/{chunk-7JVBDBXE.js → chunk-7QMWYNVF.js} +2 -2
- package/dist/{chunk-P57IBMK4.js → chunk-AATMPL7S.js} +4 -4
- package/dist/{chunk-ZL4IAFF3.js → chunk-BZND27IB.js} +3 -3
- package/dist/{chunk-FGNJMKDV.js → chunk-CSYOWFPU.js} +5 -5
- package/dist/{chunk-LQKXJPKP.js → chunk-CTWZPN7G.js} +5 -1
- package/dist/{chunk-BKMWZTNO.js → chunk-DWA4IE65.js} +14 -2
- package/dist/{chunk-RRUSYVQD.js → chunk-FAQDLL2X.js} +8 -8
- package/dist/{chunk-HCYSGLY2.js → chunk-HF3NDXB4.js} +1 -1
- package/dist/{chunk-6EZDW4JS.js → chunk-J3NMNYGM.js} +2 -2
- package/dist/{chunk-HXHPKGJE.js → chunk-J5HOUEPE.js} +614 -157
- package/dist/{chunk-A7CB4USC.js → chunk-M4J2L4VH.js} +132 -45
- package/dist/{chunk-M5T4RDPJ.js → chunk-MEEUXRFL.js} +2 -2
- package/dist/{chunk-OMMPTN6X.js → chunk-MRE4OYKI.js} +69 -27
- package/dist/{chunk-MGEYAYGU.js → chunk-O3RCSKUH.js} +2 -2
- package/dist/{chunk-ELYHHEYL.js → chunk-ORCQ3EXQ.js} +2 -2
- package/dist/{chunk-FEIRWXLX.js → chunk-OZWHRBDY.js} +64 -17
- package/dist/{chunk-TACWRDDC.js → chunk-QDARWVQ2.js} +2 -2
- package/dist/{chunk-VXG3AFFY.js → chunk-QICVOQNX.js} +8 -8
- package/dist/chunk-QTLYD2FF.js +7 -0
- package/dist/{chunk-Y6ZGHOKM.js → chunk-YLVOU7T7.js} +4 -4
- package/dist/{chunk-GFW2HWJ6.js → chunk-YOPXAI2W.js} +37 -16
- package/dist/{chunk-CLDCHOEA.js → chunk-ZMK4VX7V.js} +2 -2
- package/dist/{chunk-KWAHD2JA.js → chunk-ZTBKMVV6.js} +2 -2
- package/dist/cli/dev.js +4 -1
- package/dist/cli/index.js +4 -1
- package/dist/{client-2K6PPPJJ.js → client-VVYOWXRR.js} +4 -4
- package/dist/{compactor-OEJAA2YP.js → compactor-PD6DQ4NY.js} +9 -9
- package/dist/{dynamic-context-NJZKAZE3.js → dynamic-context-WKEXQCTK.js} +10 -10
- package/dist/{events-ZJPRGVL2.js → events-3WSNI7XC.js} +6 -6
- package/dist/{folding-QRZOHY2I.js → folding-H7JTX6KI.js} +4 -4
- package/dist/{http-client-P4XTKAZA.js → http-client-A445WYZU.js} +3 -3
- package/dist/{install-VA2F6X6Z.js → install-AVTFA344.js} +64 -15
- package/dist/{launch-UKXVO37B.js → launch-FJ65HRV4.js} +23 -22
- package/dist/{manager-TMBFBCQL.js → manager-ZACEUL5P.js} +4 -4
- package/dist/{mcp-YU7AM3UV.js → mcp-SQ4DOGPT.js} +22 -9
- package/dist/{orchestrator-GX22Y5EM.js → orchestrator-OT66EDXO.js} +22 -21
- package/dist/package.json +3 -1
- package/dist/{path-security-CBACXAMS.js → path-security-5CFMMULR.js} +10 -10
- package/dist/{platform-5LQXOZO3.js → platform-XPMZKAUB.js} +3 -3
- package/dist/{processor-V35OLKRV.js → processor-CHMHMMIE.js} +22 -21
- package/dist/{project-creator-6AGQTNXB.js → project-creator-T3A4H3YV.js} +42 -29
- package/dist/{protocol-BMUoqwYH.d.ts → protocol-Nr_H1_oC.d.ts} +3 -1
- package/dist/{protocol-Y7MRKRUO.js → protocol-XO4ZROAU.js} +3 -3
- package/dist/provider/index.d.ts +4 -4
- package/dist/provider-JWUNG2TD.js +507 -0
- package/dist/{provider-manager-BO5ZBG3T.js → provider-manager-2KKZ37XJ.js} +5 -5
- package/dist/pwa-V5PFB4OQ.js +502 -0
- package/dist/{registry-CMSSZHDC.js → registry-BEIR7Y5G.js} +3 -3
- package/dist/{serve-XRVT3D7Z.js → serve-HSDVY37K.js} +47 -36
- package/dist/server/index.d.ts +3 -3
- package/dist/server/index.js +27 -26
- package/dist/{server-GXMZMPXI.js → server-3UVLECD5.js} +26 -25
- package/dist/{service-WKABQHKL.js → service-M77VWL2M.js} +97 -32
- package/dist/{service-O3LCO3TQ.js → service-XIUNS5XV.js} +7 -6
- package/dist/{session-overrides-OECQYRDK.js → session-overrides-Y5B4XQPU.js} +5 -5
- package/dist/{sessions-NMPX5ICI.js → sessions-IGINPPBP.js} +4 -4
- package/dist/{settings-MDCRNQBY.js → settings-ZJPM6PQV.js} +2 -2
- package/dist/shared/index.d.ts +31 -4
- package/dist/shared/index.js +16 -2
- package/dist/{tasks-WOC3QUFA.js → tasks-3JJWJJ3X.js} +34 -18
- package/dist/{tools-CW6POKUL.js → tools-WWIWD3O7.js} +20 -19
- package/dist/{types-CoY8Ka1C.d.ts → types-BlQjLBui.d.ts} +1 -1
- package/dist/{types-BIkpxjaj.d.ts → types-G10ho8PT.d.ts} +1 -1
- package/dist/update-Q6SH7UP2.js +76 -0
- package/dist/web/assets/index-C48qmBAI.js +313 -0
- package/dist/web/index.html +1 -1
- package/dist/web/sw.js +1 -1
- package/package.json +3 -1
- package/dist/chunk-JKGHTBEV.js +0 -7
- package/dist/provider-NWRGNGS3.js +0 -403
- package/dist/pwa-2GRFSXD7.js +0 -363
- package/dist/update-VC3Y3EOP.js +0 -49
- package/dist/web/assets/index-ATAQvBwl.js +0 -312
|
@@ -11,11 +11,11 @@ import {
|
|
|
11
11
|
} from "./chunk-I72ACQ6R.js";
|
|
12
12
|
import {
|
|
13
13
|
getPlatformShell
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-O3RCSKUH.js";
|
|
15
15
|
import {
|
|
16
16
|
SETTINGS_KEYS,
|
|
17
17
|
getSetting
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-CTWZPN7G.js";
|
|
19
19
|
|
|
20
20
|
// src/server/utils/shell.ts
|
|
21
21
|
import { spawn } from "child_process";
|
|
@@ -214,4 +214,4 @@ export {
|
|
|
214
214
|
getSessionProcesses2 as getSessionProcesses,
|
|
215
215
|
getProcessLogs
|
|
216
216
|
};
|
|
217
|
-
//# sourceMappingURL=chunk-
|
|
217
|
+
//# sourceMappingURL=chunk-5UMXFLET.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-OA2FURC3.js";
|
|
5
5
|
import {
|
|
6
6
|
createLLMClient
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ZMK4VX7V.js";
|
|
8
8
|
import {
|
|
9
9
|
getModelProfile
|
|
10
10
|
} from "./chunk-TS5WKTFB.js";
|
|
@@ -895,4 +895,4 @@ export {
|
|
|
895
895
|
parseDefaultModelSelection,
|
|
896
896
|
createProviderManager
|
|
897
897
|
};
|
|
898
|
-
//# sourceMappingURL=chunk-
|
|
898
|
+
//# sourceMappingURL=chunk-5UQ4CKOA.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runAgentTurn
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YOPXAI2W.js";
|
|
4
4
|
import {
|
|
5
5
|
executeSubAgent,
|
|
6
6
|
getToolRegistryForAgent
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-J5HOUEPE.js";
|
|
8
8
|
import {
|
|
9
9
|
gitSpawnEnv
|
|
10
10
|
} from "./chunk-J7GAZGZT.js";
|
|
@@ -14,8 +14,9 @@ import {
|
|
|
14
14
|
loadDefaultWorkflows,
|
|
15
15
|
loadProjectWorkflows,
|
|
16
16
|
loadUserWorkflows,
|
|
17
|
-
normalizeWorkflowScope
|
|
18
|
-
|
|
17
|
+
normalizeWorkflowScope,
|
|
18
|
+
serverT
|
|
19
|
+
} from "./chunk-OZWHRBDY.js";
|
|
19
20
|
import {
|
|
20
21
|
TurnMetrics,
|
|
21
22
|
createMessageStartEvent
|
|
@@ -24,27 +25,27 @@ import {
|
|
|
24
25
|
checkAborted,
|
|
25
26
|
decodeUtf8,
|
|
26
27
|
spawnShellProcess
|
|
27
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-5UMXFLET.js";
|
|
28
29
|
import {
|
|
29
30
|
terminateProcessTree
|
|
30
31
|
} from "./chunk-I72ACQ6R.js";
|
|
31
32
|
import {
|
|
32
33
|
getCurrentContextWindowId,
|
|
33
34
|
getEventStore
|
|
34
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-CSYOWFPU.js";
|
|
35
36
|
import {
|
|
36
37
|
findAgentById,
|
|
37
38
|
getRuntimeConfig,
|
|
38
39
|
loadAllAgentsDefault,
|
|
39
40
|
resolveDefaultAgentId
|
|
40
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-ORCQ3EXQ.js";
|
|
41
42
|
import {
|
|
42
43
|
createChatMessageMessage,
|
|
43
44
|
createSessionRunningMessage
|
|
44
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-AATMPL7S.js";
|
|
45
46
|
import {
|
|
46
47
|
LLMError
|
|
47
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-J3NMNYGM.js";
|
|
48
49
|
import {
|
|
49
50
|
logger
|
|
50
51
|
} from "./chunk-K44MW7JJ.js";
|
|
@@ -53,7 +54,7 @@ import {
|
|
|
53
54
|
} from "./chunk-7OHXF5GW.js";
|
|
54
55
|
import {
|
|
55
56
|
createServerMessage
|
|
56
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-HF3NDXB4.js";
|
|
57
58
|
import {
|
|
58
59
|
getGlobalConfigDir
|
|
59
60
|
} from "./chunk-CQGTEGKL.js";
|
|
@@ -679,9 +680,10 @@ async function executeWorkflow(workflow, options, subGroup) {
|
|
|
679
680
|
const timeout = shellStep.timeout ?? 6e4;
|
|
680
681
|
const successCodes = shellStep.successExitCodes ?? [0];
|
|
681
682
|
const shellMsgId = crypto.randomUUID();
|
|
683
|
+
const runningContent = serverT({ en: "Running: `{{command}}`", fr: "Ex\xE9cution : `{{command}}`" }, { command });
|
|
682
684
|
eventStore.append(
|
|
683
685
|
sessionId,
|
|
684
|
-
createMessageStartEvent(shellMsgId, "user",
|
|
686
|
+
createMessageStartEvent(shellMsgId, "user", runningContent, {
|
|
685
687
|
...currentWindowMessageOptions ?? {},
|
|
686
688
|
isSystemGenerated: true,
|
|
687
689
|
messageKind: "auto-prompt",
|
|
@@ -693,7 +695,7 @@ async function executeWorkflow(workflow, options, subGroup) {
|
|
|
693
695
|
createChatMessageMessage({
|
|
694
696
|
id: shellMsgId,
|
|
695
697
|
role: "user",
|
|
696
|
-
content:
|
|
698
|
+
content: runningContent,
|
|
697
699
|
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
698
700
|
isSystemGenerated: true,
|
|
699
701
|
messageKind: "auto-prompt",
|
|
@@ -709,10 +711,13 @@ async function executeWorkflow(workflow, options, subGroup) {
|
|
|
709
711
|
);
|
|
710
712
|
const output = [result.stdout, result.stderr].filter(Boolean).join("\n").trim();
|
|
711
713
|
lastStepOutput = { stdout: result.stdout ?? "", stderr: result.stderr ?? "", exitCode: String(result.exitCode) };
|
|
712
|
-
const outputContent = output ?
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
714
|
+
const outputContent = output ? serverT(
|
|
715
|
+
{
|
|
716
|
+
en: "Exit code: {{code}}\n```\n{{output}}\n```",
|
|
717
|
+
fr: "Code de sortie : {{code}}\n```\n{{output}}\n```"
|
|
718
|
+
},
|
|
719
|
+
{ code: result.exitCode, output: output.slice(0, 1e4) }
|
|
720
|
+
) : serverT({ en: "Exit code: {{code}}", fr: "Code de sortie : {{code}}" }, { code: result.exitCode });
|
|
716
721
|
eventStore.append(sessionId, { type: "message.done", data: { messageId: shellMsgId } });
|
|
717
722
|
const outputMsgId = crypto.randomUUID();
|
|
718
723
|
eventStore.append(
|
|
@@ -1016,4 +1021,4 @@ export {
|
|
|
1016
1021
|
abortRunnerRun,
|
|
1017
1022
|
launchWorkflowRun
|
|
1018
1023
|
};
|
|
1019
|
-
//# sourceMappingURL=chunk-
|
|
1024
|
+
//# sourceMappingURL=chunk-7HGBJFIJ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getPlatformShell
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-O3RCSKUH.js";
|
|
4
4
|
|
|
5
5
|
// src/server/tools/tool-policy.ts
|
|
6
6
|
var ALWAYS_ALLOWED = /* @__PURE__ */ new Set(["step_done"]);
|
|
@@ -246,4 +246,4 @@ export {
|
|
|
246
246
|
buildAgentSmallReminder,
|
|
247
247
|
COMPACTION_PROMPT
|
|
248
248
|
};
|
|
249
|
-
//# sourceMappingURL=chunk-
|
|
249
|
+
//# sourceMappingURL=chunk-7QMWYNVF.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
createServerMessage,
|
|
6
6
|
isClientMessage
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HF3NDXB4.js";
|
|
8
8
|
|
|
9
9
|
// src/server/session/client-session.ts
|
|
10
10
|
function toClientSession(session) {
|
|
@@ -143,8 +143,8 @@ function createChatStatsMessage(stats) {
|
|
|
143
143
|
function createChatErrorMessage(error, recoverable) {
|
|
144
144
|
return createServerMessage("chat.error", { error, recoverable });
|
|
145
145
|
}
|
|
146
|
-
function createChatLLMRetryMessage(attempt, retryInMs) {
|
|
147
|
-
return createServerMessage("chat.llm_retry", { attempt, retryInMs });
|
|
146
|
+
function createChatLLMRetryMessage(attempt, retryInMs, error) {
|
|
147
|
+
return createServerMessage("chat.llm_retry", { attempt, retryInMs, error });
|
|
148
148
|
}
|
|
149
149
|
function createChatLLMRetryFailedMessage(error, attempts) {
|
|
150
150
|
return createServerMessage("chat.llm_retry_failed", { error, attempts });
|
|
@@ -378,4 +378,4 @@ export {
|
|
|
378
378
|
createQueueStateMessage,
|
|
379
379
|
storedEventToServerMessage
|
|
380
380
|
};
|
|
381
|
-
//# sourceMappingURL=chunk-
|
|
381
|
+
//# sourceMappingURL=chunk-AATMPL7S.js.map
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-7ET46SNE.js";
|
|
4
4
|
import {
|
|
5
5
|
COMPACTION_PROMPT
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7QMWYNVF.js";
|
|
7
7
|
import {
|
|
8
8
|
getCurrentWindowMessageOptions
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-CSYOWFPU.js";
|
|
10
10
|
|
|
11
11
|
// src/server/context/compactor.ts
|
|
12
12
|
function appendCompactionPrompt(sessionId, append) {
|
|
@@ -36,4 +36,4 @@ export {
|
|
|
36
36
|
COMPACTION_MAX_RATIO,
|
|
37
37
|
shouldCompact
|
|
38
38
|
};
|
|
39
|
-
//# sourceMappingURL=chunk-
|
|
39
|
+
//# sourceMappingURL=chunk-BZND27IB.js.map
|
|
@@ -6,16 +6,16 @@ import {
|
|
|
6
6
|
foldSessionState,
|
|
7
7
|
spreadOptionalMessageFields,
|
|
8
8
|
trimSnapshotStreamingOutput
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MEEUXRFL.js";
|
|
10
10
|
import {
|
|
11
11
|
updateSessionMessageCount
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ZTBKMVV6.js";
|
|
13
13
|
import {
|
|
14
14
|
getRuntimeConfig
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ORCQ3EXQ.js";
|
|
16
16
|
import {
|
|
17
17
|
SETTINGS_KEYS
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-CTWZPN7G.js";
|
|
19
19
|
import {
|
|
20
20
|
logger
|
|
21
21
|
} from "./chunk-K44MW7JJ.js";
|
|
@@ -1465,4 +1465,4 @@ export {
|
|
|
1465
1465
|
truncateSessionMessages,
|
|
1466
1466
|
getRecentUserPromptsForSession
|
|
1467
1467
|
};
|
|
1468
|
-
//# sourceMappingURL=chunk-
|
|
1468
|
+
//# sourceMappingURL=chunk-CSYOWFPU.js.map
|
|
@@ -5,12 +5,14 @@ import {
|
|
|
5
5
|
// src/server/db/settings.ts
|
|
6
6
|
var SETTINGS_KEYS = {
|
|
7
7
|
GLOBAL_INSTRUCTIONS: "global_instructions",
|
|
8
|
+
LANGUAGE: "agent.language",
|
|
8
9
|
DISPLAY_SHOW_THINKING: "display.showThinking",
|
|
9
10
|
DISPLAY_SHOW_VERBOSE_TOOL_OUTPUT: "display.showVerboseToolOutput",
|
|
10
11
|
DISPLAY_SHOW_STATS: "display.showStats",
|
|
11
12
|
DISPLAY_SHOW_AGENT_DEFINITIONS: "display.showAgentDefinitions",
|
|
12
13
|
DISPLAY_SHOW_WORKFLOW_BARS: "display.showWorkflowBars",
|
|
13
14
|
DISPLAY_SHOW_SYNTAX_HIGHLIGHTING: "display.showSyntaxHighlighting",
|
|
15
|
+
DISPLAY_LOCALE: "display.locale",
|
|
14
16
|
DISPLAY_THEME: "display.theme",
|
|
15
17
|
DISPLAY_USER_PRESETS: "display.userPresets",
|
|
16
18
|
DISPLAY_FOLLOW_SYSTEM_THEME: "display.followSystemTheme",
|
|
@@ -43,6 +45,8 @@ var SETTINGS_KEYS = {
|
|
|
43
45
|
AGENT_MODEL_OVERRIDES: "agent.modelOverrides"
|
|
44
46
|
};
|
|
45
47
|
var SETTINGS_DEFAULTS = {
|
|
48
|
+
[SETTINGS_KEYS.LANGUAGE]: "automatic",
|
|
49
|
+
[SETTINGS_KEYS.DISPLAY_LOCALE]: "automatic",
|
|
46
50
|
[SETTINGS_KEYS.DISPLAY_SHOW_THINKING]: "true",
|
|
47
51
|
[SETTINGS_KEYS.DISPLAY_SHOW_VERBOSE_TOOL_OUTPUT]: "true",
|
|
48
52
|
[SETTINGS_KEYS.DISPLAY_SHOW_STATS]: "true",
|
|
@@ -136,4 +140,4 @@ export {
|
|
|
136
140
|
getAllSettings,
|
|
137
141
|
getMaxVisibleItems
|
|
138
142
|
};
|
|
139
|
-
//# sourceMappingURL=chunk-
|
|
143
|
+
//# sourceMappingURL=chunk-CTWZPN7G.js.map
|
|
@@ -11,12 +11,20 @@ import {
|
|
|
11
11
|
deleteSetting,
|
|
12
12
|
getSetting,
|
|
13
13
|
setSetting
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-CTWZPN7G.js";
|
|
15
15
|
|
|
16
16
|
// src/server/context/instructions.ts
|
|
17
17
|
import { readFile, access } from "fs/promises";
|
|
18
18
|
import { join, dirname } from "path";
|
|
19
19
|
import { constants } from "fs";
|
|
20
|
+
function buildLanguageInstruction(language) {
|
|
21
|
+
const trimmed = language?.trim();
|
|
22
|
+
if (!trimmed || trimmed.toLowerCase() === "automatic") return null;
|
|
23
|
+
const display = trimmed[0].toUpperCase() + trimmed.slice(1);
|
|
24
|
+
return `## LANGUAGE
|
|
25
|
+
|
|
26
|
+
Always respond to the user in ${display}.`;
|
|
27
|
+
}
|
|
20
28
|
var INSTRUCTION_FILENAMES = ["AGENTS.md", "CLAUDE.md"];
|
|
21
29
|
async function findInstructionFiles(workdir) {
|
|
22
30
|
const foundFiles = [];
|
|
@@ -59,6 +67,10 @@ ${content}`);
|
|
|
59
67
|
async function getAllInstructions(workdir, projectId) {
|
|
60
68
|
const sections = [];
|
|
61
69
|
const allFiles = [];
|
|
70
|
+
const languageInstruction = buildLanguageInstruction(getSetting(SETTINGS_KEYS.LANGUAGE));
|
|
71
|
+
if (languageInstruction) {
|
|
72
|
+
sections.push(languageInstruction);
|
|
73
|
+
}
|
|
62
74
|
const globalInstructions = getSetting(SETTINGS_KEYS.GLOBAL_INSTRUCTIONS);
|
|
63
75
|
if (globalInstructions) {
|
|
64
76
|
sections.push(`## GLOBAL INSTRUCTIONS
|
|
@@ -440,4 +452,4 @@ export {
|
|
|
440
452
|
deleteSkill,
|
|
441
453
|
deleteProjectSkill
|
|
442
454
|
};
|
|
443
|
-
//# sourceMappingURL=chunk-
|
|
455
|
+
//# sourceMappingURL=chunk-DWA4IE65.js.map
|
|
@@ -4,24 +4,24 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
combineEventsWithSnapshot,
|
|
6
6
|
getEventStore
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-CSYOWFPU.js";
|
|
8
8
|
import {
|
|
9
9
|
buildMessagesFromStoredEvents,
|
|
10
10
|
foldPendingConfirmations
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-MEEUXRFL.js";
|
|
12
12
|
import {
|
|
13
13
|
updateSessionMetadata
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ZTBKMVV6.js";
|
|
15
15
|
import {
|
|
16
16
|
getRuntimeConfig
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-ORCQ3EXQ.js";
|
|
18
18
|
import {
|
|
19
19
|
createContextStateMessage,
|
|
20
20
|
createSessionStateMessage
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-AATMPL7S.js";
|
|
22
22
|
import {
|
|
23
23
|
getMaxVisibleItems
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-CTWZPN7G.js";
|
|
25
25
|
import {
|
|
26
26
|
logger
|
|
27
27
|
} from "./chunk-K44MW7JJ.js";
|
|
@@ -162,7 +162,7 @@ async function generateSessionNameForSession(sessionId, userMessage, deps, signa
|
|
|
162
162
|
client = deps.getLLMClient();
|
|
163
163
|
client.setModel(providerConfig.model);
|
|
164
164
|
} else if (providerConfig) {
|
|
165
|
-
const { createLLMClient } = await import("./client-
|
|
165
|
+
const { createLLMClient } = await import("./client-VVYOWXRR.js");
|
|
166
166
|
client = createLLMClient(
|
|
167
167
|
{
|
|
168
168
|
llm: {
|
|
@@ -216,4 +216,4 @@ export {
|
|
|
216
216
|
needsNameGeneration,
|
|
217
217
|
generateSessionNameForSession
|
|
218
218
|
};
|
|
219
|
-
//# sourceMappingURL=chunk-
|
|
219
|
+
//# sourceMappingURL=chunk-FAQDLL2X.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SETTINGS_KEYS,
|
|
3
3
|
getSetting
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-CTWZPN7G.js";
|
|
5
5
|
import {
|
|
6
6
|
logger
|
|
7
7
|
} from "./chunk-K44MW7JJ.js";
|
|
@@ -194,4 +194,4 @@ export {
|
|
|
194
194
|
ChatHttpClient,
|
|
195
195
|
OpenAIHttpClient
|
|
196
196
|
};
|
|
197
|
-
//# sourceMappingURL=chunk-
|
|
197
|
+
//# sourceMappingURL=chunk-J3NMNYGM.js.map
|