opencode-acp 1.15.0-pr.381.115 → 1.15.0
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 +0 -15
- package/README.zh-CN.md +0 -14
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -425,21 +425,6 @@ Each level overrides the previous, so project settings take priority over global
|
|
|
425
425
|
},
|
|
426
426
|
},
|
|
427
427
|
},
|
|
428
|
-
// Message filters — strip/deduplicate third-party plugin injections
|
|
429
|
-
// (e.g. oh-my-opencode system reminders) from visible context before
|
|
430
|
-
// ACP processes them. Filtered content is never counted toward context
|
|
431
|
-
// usage. Five built-in OMO filters are on by default (v1.14.8+);
|
|
432
|
-
// per-filter reference and examples: CONFIGURATION.md → messageFilters
|
|
433
|
-
"messageFilters": {
|
|
434
|
-
"enabled": true,
|
|
435
|
-
"filters": {
|
|
436
|
-
"omo-system-reminder": { "enabled": true },
|
|
437
|
-
"omo-context": { "enabled": true },
|
|
438
|
-
"omo-task-directive": { "enabled": true },
|
|
439
|
-
"omo-todo-continuation": { "enabled": true },
|
|
440
|
-
"omo-mode-injection": { "enabled": true },
|
|
441
|
-
},
|
|
442
|
-
},
|
|
443
428
|
}
|
|
444
429
|
```
|
|
445
430
|
|
package/README.zh-CN.md
CHANGED
|
@@ -376,20 +376,6 @@ ACP 使用自己的配置文件,按以下顺序搜索:
|
|
|
376
376
|
},
|
|
377
377
|
},
|
|
378
378
|
},
|
|
379
|
-
// 消息过滤器——在 ACP 处理之前,从可见上下文中剥离/去重第三方插件注入
|
|
380
|
-
// (例如 oh-my-opencode 的 system reminder)。被过滤的内容不计入上下文使用量。
|
|
381
|
-
// 5 个内置 OMO 过滤器默认开启(v1.14.8+);
|
|
382
|
-
// 按过滤器的参考与示例见 CONFIGURATION.zh-CN.md → messageFilters
|
|
383
|
-
"messageFilters": {
|
|
384
|
-
"enabled": true,
|
|
385
|
-
"filters": {
|
|
386
|
-
"omo-system-reminder": { "enabled": true },
|
|
387
|
-
"omo-context": { "enabled": true },
|
|
388
|
-
"omo-task-directive": { "enabled": true },
|
|
389
|
-
"omo-todo-continuation": { "enabled": true },
|
|
390
|
-
"omo-mode-injection": { "enabled": true },
|
|
391
|
-
},
|
|
392
|
-
},
|
|
393
379
|
}
|
|
394
380
|
```
|
|
395
381
|
|
package/dist/index.js
CHANGED
|
@@ -9488,7 +9488,7 @@ import { writeFile as writeFile2, mkdir as mkdir2 } from "fs/promises";
|
|
|
9488
9488
|
import { join as join3 } from "path";
|
|
9489
9489
|
import { existsSync as existsSync3 } from "fs";
|
|
9490
9490
|
import { homedir as homedir3 } from "os";
|
|
9491
|
-
var LOG_VERSION = true ? "1.15.0
|
|
9491
|
+
var LOG_VERSION = true ? "1.15.0" : "dev";
|
|
9492
9492
|
var LEVEL_RANK = {
|
|
9493
9493
|
debug: 10,
|
|
9494
9494
|
info: 20,
|
|
@@ -11979,7 +11979,7 @@ var server = (async (ctx) => {
|
|
|
11979
11979
|
}
|
|
11980
11980
|
const logger = new Logger(config.debug, config.debug ? "debug" : config.logLevel);
|
|
11981
11981
|
logger.info("ACP plugin initialized", {
|
|
11982
|
-
version: true ? "1.15.0
|
|
11982
|
+
version: true ? "1.15.0" : "dev",
|
|
11983
11983
|
workspace: ctx.directory,
|
|
11984
11984
|
logLevel: logger.level,
|
|
11985
11985
|
debug: config.debug,
|