jorgex-stack 1.9.59 → 1.9.60
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 +7 -7
- package/dist/chunk-2CBCBOP7.js +245 -0
- package/dist/{chunk-NNPFC6QV.js → chunk-4USZMJ3I.js} +6 -15
- package/dist/chunk-66WVKOU4.js +693 -0
- package/dist/chunk-B76ZJXXD.js +989 -0
- package/dist/{chunk-M6QX2F3A.js → chunk-BSHTDTJL.js} +5 -6
- package/dist/{chunk-GOLJ5PA3.js → chunk-KKN4OYHD.js} +5 -12
- package/dist/{claude-code-WY4JJAXP.js → claude-code-BBHLN5TD.js} +3 -2
- package/dist/cli.js +232 -217
- package/dist/{codex-WSWHXYJ3.js → codex-ALGP2YBC.js} +3 -2
- package/dist/official-engram-setup-4WIXM4EF.js +34 -0
- package/dist/{opencode-NUDGK6J7.js → opencode-VG2IZRRF.js} +3 -2
- package/dist/pi-CKFSPGJU.js +13 -0
- package/package.json +1 -1
- package/dist/chunk-KB5IQEKL.js +0 -1400
- package/stack/system-prompt/engram-protocol.md +0 -55
|
@@ -6,12 +6,14 @@ import {
|
|
|
6
6
|
hookScriptNames,
|
|
7
7
|
isCanonicalMcpServerEnabled,
|
|
8
8
|
loadCanonicalDefaults,
|
|
9
|
-
readTextIfExists,
|
|
10
|
-
registerOfficialSetupVerifier,
|
|
11
9
|
removeSystemPromptSections,
|
|
12
10
|
resolveAgentModel,
|
|
13
11
|
upsertJson
|
|
14
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-66WVKOU4.js";
|
|
13
|
+
import {
|
|
14
|
+
readTextIfExists,
|
|
15
|
+
registerOfficialSetupVerifier
|
|
16
|
+
} from "./chunk-B76ZJXXD.js";
|
|
15
17
|
import {
|
|
16
18
|
HOME,
|
|
17
19
|
samePath,
|
|
@@ -148,9 +150,6 @@ var opencodeAdapter = {
|
|
|
148
150
|
}] : []
|
|
149
151
|
]);
|
|
150
152
|
},
|
|
151
|
-
injectEngramProtocol() {
|
|
152
|
-
return false;
|
|
153
|
-
},
|
|
154
153
|
paths(configDir) {
|
|
155
154
|
const isRealConfigDir = samePath(
|
|
156
155
|
configDir,
|
|
@@ -9,9 +9,7 @@ import {
|
|
|
9
9
|
isCanonicalMcpServerEnabled,
|
|
10
10
|
loadCanonicalDefaults,
|
|
11
11
|
multilineStringMask,
|
|
12
|
-
readTextIfExists,
|
|
13
12
|
readTomlSection,
|
|
14
|
-
registerOfficialSetupVerifier,
|
|
15
13
|
removeNativeHooks,
|
|
16
14
|
removeSystemPromptSections,
|
|
17
15
|
removeTomlRootKeyIfExact,
|
|
@@ -20,7 +18,11 @@ import {
|
|
|
20
18
|
upsertNativeHooks,
|
|
21
19
|
upsertTomlRootKeyIfMissing,
|
|
22
20
|
upsertTomlSection
|
|
23
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-66WVKOU4.js";
|
|
22
|
+
import {
|
|
23
|
+
readTextIfExists,
|
|
24
|
+
registerOfficialSetupVerifier
|
|
25
|
+
} from "./chunk-B76ZJXXD.js";
|
|
24
26
|
import {
|
|
25
27
|
HOME,
|
|
26
28
|
samePath,
|
|
@@ -66,12 +68,6 @@ function hasActiveEngramPlugin(configDir) {
|
|
|
66
68
|
const match = /\[plugins\."engram@[^"]*"\]([^[]*)/.exec(config);
|
|
67
69
|
return match !== null && !/enabled\s*=\s*false/.test(match[1]);
|
|
68
70
|
}
|
|
69
|
-
function hasEngramProtocol(configDir) {
|
|
70
|
-
if (hasActiveEngramPlugin(configDir)) return true;
|
|
71
|
-
if (fs.existsSync(path.join(configDir, "engram-instructions.md"))) return true;
|
|
72
|
-
const config = readTextIfExists(path.join(configDir, "config.toml"));
|
|
73
|
-
return config !== null && /engram-instructions\.md/.test(config);
|
|
74
|
-
}
|
|
75
71
|
var CODEX_JSON_STRING = String.raw`"(?:\\.|[^"\\\r\n])*"`;
|
|
76
72
|
var CODEX_JSON_VALUE = String.raw`(?:${CODEX_JSON_STRING}|-?(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?|true|false)`;
|
|
77
73
|
var CODEX_JSON_STRING_ARRAY = String.raw`\[(?:\s*${CODEX_JSON_STRING}(?:\s*,\s*${CODEX_JSON_STRING})*\s*)?\]`;
|
|
@@ -343,9 +339,6 @@ var codexAdapter = {
|
|
|
343
339
|
}
|
|
344
340
|
]);
|
|
345
341
|
},
|
|
346
|
-
injectEngramProtocol(ctx) {
|
|
347
|
-
return !hasEngramProtocol(ctx.configDir);
|
|
348
|
-
},
|
|
349
342
|
paths(configDir) {
|
|
350
343
|
const isRealConfigDir = samePath(configDir, process.env.CODEX_HOME ?? path.join(HOME, ".codex"));
|
|
351
344
|
const agentsHome = isRealConfigDir ? HOME : path.dirname(configDir);
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
import {
|
|
3
3
|
claudeCodeAdapter,
|
|
4
4
|
verifyOfficialSetup
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-4USZMJ3I.js";
|
|
6
|
+
import "./chunk-66WVKOU4.js";
|
|
7
|
+
import "./chunk-B76ZJXXD.js";
|
|
7
8
|
import "./chunk-NQZVJFV2.js";
|
|
8
9
|
export {
|
|
9
10
|
claudeCodeAdapter,
|