openfox 2.0.133 → 2.0.135
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 +30 -0
- package/dist/CHANGELOG.md +30 -0
- package/dist/{chat-handler-T47GATL5.js → chat-handler-WGDFMOOD.js} +23 -22
- package/dist/chunk-24YKXKCG.js +35 -0
- package/dist/chunk-2OMGR7LN.js +45 -0
- package/dist/{chunk-GFW2HWJ6.js → chunk-4R5GV7RW.js} +37 -16
- package/dist/{chunk-P5MSY7ZI.js → chunk-5H5NRWHA.js} +22 -17
- package/dist/{chunk-MQMPIXON.js → chunk-5UMXFLET.js} +3 -3
- package/dist/{chunk-5JWJEZJ3.js → chunk-5UQ4CKOA.js} +2 -2
- package/dist/{chunk-7JVBDBXE.js → chunk-7QMWYNVF.js} +2 -2
- package/dist/{chunk-P57IBMK4.js → chunk-AATMPL7S.js} +4 -4
- package/dist/{chunk-OUQZZEIQ.js → chunk-BIZFY3QP.js} +487 -210
- package/dist/{chunk-LQKXJPKP.js → chunk-CTWZPN7G.js} +5 -1
- package/dist/{chunk-BKMWZTNO.js → chunk-DWA4IE65.js} +14 -2
- package/dist/{chunk-HXHPKGJE.js → chunk-ESZQTFQP.js} +614 -157
- package/dist/{chunk-KWAHD2JA.js → chunk-F2MOHHXB.js} +15 -2
- package/dist/{chunk-A7CB4USC.js → chunk-GP3CLMPQ.js} +132 -45
- package/dist/{chunk-HCYSGLY2.js → chunk-HF3NDXB4.js} +1 -1
- package/dist/{chunk-Y6ZGHOKM.js → chunk-I5ODJKYM.js} +4 -4
- package/dist/{chunk-OMMPTN6X.js → chunk-IAT2LBIX.js} +69 -27
- package/dist/{chunk-6EZDW4JS.js → chunk-J3NMNYGM.js} +2 -2
- package/dist/{chunk-M5T4RDPJ.js → chunk-MEEUXRFL.js} +2 -2
- package/dist/{chunk-RRUSYVQD.js → chunk-NFEZATSN.js} +8 -8
- 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-FGNJMKDV.js → chunk-QZOV4OVN.js} +29 -5
- package/dist/{chunk-TACWRDDC.js → chunk-S67WIWUG.js} +2 -2
- package/dist/{chunk-ZL4IAFF3.js → chunk-UKIUQAQZ.js} +3 -3
- package/dist/{chunk-VXG3AFFY.js → chunk-VHLD6PCZ.js} +8 -8
- package/dist/chunk-WY3PWHWY.js +7 -0
- package/dist/{chunk-CLDCHOEA.js → chunk-ZMK4VX7V.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-454UEIEX.js} +9 -9
- package/dist/{dynamic-context-NJZKAZE3.js → dynamic-context-LKC6JYLQ.js} +10 -10
- package/dist/{events-ZJPRGVL2.js → events-335XAKFK.js} +6 -6
- package/dist/export-import-3WMRLO4A.js +137 -0
- 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-GJ7EHQRI.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-JGJWTRO5.js} +22 -21
- package/dist/package.json +3 -1
- package/dist/{path-security-CBACXAMS.js → path-security-4LROI7F4.js} +10 -10
- package/dist/{platform-5LQXOZO3.js → platform-XPMZKAUB.js} +3 -3
- package/dist/{processor-V35OLKRV.js → processor-MSQP63ML.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-CW5C3CBZ.js} +47 -36
- package/dist/server/index.d.ts +18 -3
- package/dist/server/index.js +27 -26
- package/dist/{server-GXMZMPXI.js → server-ZHEB7XS2.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-LYW5PJ3R.js} +5 -5
- package/dist/{sessions-NMPX5ICI.js → sessions-AOK3AGHY.js} +6 -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-E63MOJBO.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-XVXNSSDK.js +76 -0
- package/dist/web/assets/{index-Y300llHY.css → index-Bg_Z8i3F.css} +1 -1
- package/dist/web/assets/index-wTFCxQAw.js +313 -0
- package/dist/web/index.html +2 -2
- 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
|
@@ -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
|