@cortexkit/pi-magic-context 0.44.0 → 0.44.1
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/dist/{index-tfzybajk.js → index-59dmj4zs.js} +4 -1
- package/dist/{index-jscq7067.js → index-5fw91enm.js} +1 -1
- package/dist/{index-mmkdxa5j.js → index-97e5fzy3.js} +1 -1
- package/dist/{index-8ytss1hp.js → index-mwpk0wn9.js} +439 -277
- package/dist/{index-2kj55q4e.js → index-nm3c0sn8.js} +105 -13
- package/dist/index.js +631 -447
- package/dist/{message-time-backfill-3rp0w2z9.js → message-time-backfill-5yrp95cx.js} +2 -2
- package/dist/{read-session-chunk-2s116ah5.js → read-session-chunk-ka7n4kah.js} +4 -2
- package/dist/{safe-notification-target-pd09ybr0.js → safe-notification-target-y3hg2m7p.js} +2 -2
- package/dist/subagent-entry.js +6 -6
- package/package.json +1 -1
|
@@ -11,6 +11,9 @@ function setHarness(value) {
|
|
|
11
11
|
function getHarness() {
|
|
12
12
|
return currentHarness;
|
|
13
13
|
}
|
|
14
|
+
function harnessOwnsOpenCodeStore(harness = currentHarness) {
|
|
15
|
+
return harness === "opencode" || harness === "opencode2";
|
|
16
|
+
}
|
|
14
17
|
|
|
15
18
|
// ../plugin/src/shared/data-path.ts
|
|
16
19
|
import { existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs";
|
|
@@ -485,4 +488,4 @@ if (!isTestEnv) {
|
|
|
485
488
|
process.on("exit", flush);
|
|
486
489
|
}
|
|
487
490
|
|
|
488
|
-
export { setHarness, getHarness, getDataDir, ensureCortexKitArtifactGitignore, getProjectMagicContextHistorianDir, getMagicContextStorageDir, getLegacyOpenCodeMagicContextStorageDir, sanitizeDiagnosticText, hasShareabilitySensitiveText, log, sessionLog, flushLogger };
|
|
491
|
+
export { setHarness, getHarness, harnessOwnsOpenCodeStore, getDataDir, ensureCortexKitArtifactGitignore, getProjectMagicContextHistorianDir, getMagicContextStorageDir, getLegacyOpenCodeMagicContextStorageDir, sanitizeDiagnosticText, hasShareabilitySensitiveText, log, sessionLog, flushLogger };
|