billion-context-omp 0.3.2-pr.140.6 → 0.3.2-pr.142.7
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.js +11 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
// src/index.ts
|
|
2
|
+
import { settings } from "@oh-my-pi/pi-coding-agent";
|
|
3
|
+
|
|
1
4
|
// node_modules/acp-kernel/dist/chunk-MWXUJVMN.js
|
|
2
5
|
import { createRequire } from "module";
|
|
3
6
|
var require2 = createRequire(import.meta.url);
|
|
@@ -6557,8 +6560,16 @@ function applyUserConfig(adapter, user) {
|
|
|
6557
6560
|
}
|
|
6558
6561
|
|
|
6559
6562
|
// src/index.ts
|
|
6563
|
+
function disableHostCompaction() {
|
|
6564
|
+
try {
|
|
6565
|
+
settings.override("compaction.enabled", false);
|
|
6566
|
+
settings.override("compaction.strategy", "off");
|
|
6567
|
+
} catch {
|
|
6568
|
+
}
|
|
6569
|
+
}
|
|
6560
6570
|
function createAcpExtension(adapter = {}) {
|
|
6561
6571
|
return (pi) => {
|
|
6572
|
+
disableHostCompaction();
|
|
6562
6573
|
const runtime = createRuntime(adapter);
|
|
6563
6574
|
const warnDelivery = makeDeliveryWarner();
|
|
6564
6575
|
wireSessionLifecycle(pi, runtime);
|