chore: 文档库全量重新入库(2026-10-20)
build / build-and-scan (push) Canceled after 0s

This commit is contained in:
admin committed 2026-10-20 15:05:55 +08:00
commit 5ec99ce227
668 files changed
+164448

No files matched your search

File diff suppressed because it is too large. Load diff
+21
View File
@@ -0,0 +1,21 @@
// @dsh-local/business-plugins — host plugin (dsh 0.1.2-rc.1)
// 功能插件启停:功能全在 client 面(settings.section),host 面仅写加载标记,
// 证明 bundle 被 cordis 实例化。无任何 ctx 服务依赖,无副作用可抛出。
import { appendFileSync } from "node:fs";
import { join } from "node:path";
const MARKER = ".dsh-biz-plugins.log";
function log(line) {
try {
const home = process.env.DSH_HOME || process.env.HOME || ".";
appendFileSync(join(home, MARKER), `${new Date().toISOString()} ${line}\n`);
} catch {
// marker 写入绝不拖垮 profile
}
}
export function apply(_ctx) {
log(`apply pid=${process.pid}`);
}