opencode-acp 1.18.1-pr.403.160 → 1.18.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.js
CHANGED
|
@@ -3949,7 +3949,7 @@ function createSearchContextTool(factoryCtx) {
|
|
|
3949
3949
|
|
|
3950
3950
|
// lib/protected-patterns.ts
|
|
3951
3951
|
function normalizePath(input) {
|
|
3952
|
-
return input.replaceAll("
|
|
3952
|
+
return input.replaceAll("\\\\", "/");
|
|
3953
3953
|
}
|
|
3954
3954
|
function escapeRegExpChar(ch) {
|
|
3955
3955
|
return /[\\.^$+{}()|\[\]]/.test(ch) ? `\\${ch}` : ch;
|
|
@@ -10544,7 +10544,7 @@ import { writeFile as writeFile2, mkdir as mkdir2 } from "fs/promises";
|
|
|
10544
10544
|
import { join as join4 } from "path";
|
|
10545
10545
|
import { existsSync as existsSync4 } from "fs";
|
|
10546
10546
|
import { homedir as homedir3 } from "os";
|
|
10547
|
-
var LOG_VERSION = true ? "1.18.1
|
|
10547
|
+
var LOG_VERSION = true ? "1.18.1" : "dev";
|
|
10548
10548
|
var LEVEL_RANK = {
|
|
10549
10549
|
debug: 10,
|
|
10550
10550
|
info: 20,
|
|
@@ -13228,7 +13228,7 @@ var server = (async (ctx) => {
|
|
|
13228
13228
|
}
|
|
13229
13229
|
const logger = new Logger(config.debug, config.debug ? "debug" : config.logLevel);
|
|
13230
13230
|
logger.info("ACP plugin initialized", {
|
|
13231
|
-
version: true ? "1.18.1
|
|
13231
|
+
version: true ? "1.18.1" : "dev",
|
|
13232
13232
|
workspace: ctx.directory,
|
|
13233
13233
|
logLevel: logger.level,
|
|
13234
13234
|
debug: config.debug,
|