zeyu.fz
7bc1c49cb6
feat(release): 给 publish.yml 加 bailian-kb-dsh 通道
...
复用同一个 Publish workflow 入口(package 下拉多一项 bailian-kb-dsh),路由到
独立的 publish-kb-dsh.mjs 处理:
- 版本读自身 package.json(不广播全套 bl 版本)
- stable 打 bailian-kb-dsh-v<version> tag(与 bl 的 v<version> 错开命名空间)
- channel 临时 bump 到 0.0.0-beta-<sha>-<stamp>(形态与 bl channel 一致),
finally 还原 package.json
- 走自身的 tsc + tsdown build,无 binary,无 OSS CDN
- 复用 lib/git.mjs / lib/npm.mjs / lib/proc.mjs 三个薄工具
- 复用 workflow 入口 UI 与 setup 步骤(checkout / pnpm / node 24 / gitleaks
/ install),stable 走 environment: production Required Reviewers gate
不复用 publish-stable.mjs / publish-channel.mjs:它们的 loadAndValidatePackages
会广播 core 版本给全套锁步包并强校验一致性,把 kb-dsh 塞进去第一步就 throw。
故意分开是为了保住这个隔离。
本地 --dry-run 端到端跑通:build → 幂等性查重 → pack + publint + gitleaks →
pnpm publish --tag latest|<channel> --provenance --dry-run;channel 模式的
finally 还原后 git diff 干净。
文档:dsh-plugin.md 补发布小节 + 已知待办(publint 那条 web bundle CJS/ESM
warning);publish.md 加 bailian-kb-dsh 定位;packages.mjs 与 AGENTS.md 的
注释同步指向新的 job 与 script 名。
2026-08-24 15:44:19 +08:00
zeyu.fz
d24104f7dc
feat(kb-dsh): 接入仓库工程约定并改名为公开包 bailian-kb-dsh
...
包名 @ali/bailian-kb-dsh → bailian-kb-dsh(公开 npm):package.json name +
cordis.patch.yml insert.name + tsdown PLUGIN_ID 三处同步(漏一处即 dsh 运行时崩)。
产物 lib/ → dist/(本仓 .gitignore 忽略 dist 不忽略 lib),连带 main/types/
exports/files/tsdown outDir 同步;.gitignore 补 *.tsbuildinfo。
依赖接 catalog(yaml/typescript/@types/node/vite-plus);测试导入 vitest →
vite-plus/test(全仓统一约定,消掉唯一的 vitest 依赖漂移)。
tsconfig 拆三件套:tsconfig.json 纯类型检查覆盖 src+tests(供 oxlint 自动发现,
含 jsx/DOM),tsconfig.build.json 产出 node 半,tsconfig.web.json 隔离检查 web 半。
补齐 tests 从未被类型检查暴露的一处 partial 输入类型错误。
根 vite.config.ts 新增两条 override:web 半 no-restricted-imports 把 tsdown 构建期
的 bundle purity gate 提前到 lint 期;全包放开 _ 前缀的 no-unused-vars。
文档:新增 docs/agents/dsh-plugin.md,AGENTS.md 项目地图/版本锁步例外/分层边界/
场景索引同步,packages.mjs 注释说明故意不进发布白名单。
格式化(单引号无分号 → 双引号加分号)由 pre-commit 的 vp check --fix 自动完成,
无法单独成 commit,一并纳入。
全仓 vp check 0 error;插件 13 文件 85 测试全绿;build + typecheck 通过。
2026-08-24 11:02:44 +08:00
clh02467605
abad3a6643
feat(skills): add bailian-web-search routing skill
2026-08-19 17:12:16 +08:00
若麒
06210a4e33
feat(i18n): localize newly added CLI help content
2026-08-18 15:58:39 +08:00
clh02467605
9ae5dc924d
docs(cli): update skill installation command from add --name all to init
...
- Replace `bl skill add --name all` with `bl skill init` across documentation
- Update installation instructions in README, INSTALL, and agent skill guides
- Modify code references in update checker and UI components
- Adjust documentation links and cross-references accordingly
- Revise command examples in protocol and asset files
- Update versioning and setup instructions to reflect new command
- Modify HTML UI rendering for skill installation guidance
- Change internal command constants and execution calls
2026-08-07 17:56:30 +08:00
clh02467605
0e33c70e65
docs: update skill installation instructions to use bl skill add
...
- Replace all instances of `npx skills add modelstudioai/cli --all -g` with `bl skill add --name all`
- Update installation documentation in INSTALL.md, README.md, and related files
- Modify code references in config/inventory.ts, generate-reference.ts, and other files
- Update HTML UI messages to reflect new installation command
- Correct setup.md to include binary installation option and update subset install instructions
- Adjust versioning documentation to use new skill installation command
- Update all SKILL.md files with consistent installation instructions
2026-08-07 14:09:23 +08:00
若麒
01ec13aad8
feat: add CLI source config tags
2026-08-05 17:37:14 +08:00
clh02467605
8cdd54cf7a
docs(skills): remove companions claim; make --all -g the supported install path
2026-08-05 10:27:39 +08:00
clh02467605
ca98d8a25d
refactor(skills): introduce bailian-protocol companion and slim bailian-cli routing
2026-08-04 18:16:30 +08:00
clh02467605
13158856e8
feat: Refactor skills by granularity and optimize constraints
2026-08-04 15:31:07 +08:00
若麒
3e249279bc
docs: fix installation guide flags
2026-07-24 11:08:06 +08:00
若麒
de9f1a3889
feat(config): add active profile selection
...
- persist the active profile in config.json
- resolve config with --config > active_config > default
- add config list and config use commands
- make auth and config writes target the selected profile
- reset activation to default when deleting the active profile
- update config UI with profile activation controls
- keep token refresh and pipeline execution profile-aware
- add loader, UI, auth, and CLI interaction coverage
2026-07-16 11:05:59 +08:00
若麒
e932495560
Merge branch 'main' into feat/command-pack
2026-07-13 15:38:45 +08:00
若麒
b2ca78512f
feat: add command pack protocol and plugin management
...
- define the Command Pack API and integrate pack loading into the CLI runtime
- add product-specific package, command prefix, and credential access policies
- add plugin install, link, list, and remove commands
- add validation, tests, documentation, and generated command references
2026-07-13 15:02:35 +08:00
故璃
19b7aacb2e
Merge branch 'main' into feat/model-deploy-update
2026-07-10 10:15:25 +08:00
若麒
749549aa28
docs: align agent and skill docs with kscli split
...
- replace stale rag/package references with kscli/knowledge-studio-cli
- update release docs for core/runtime/commands/cli plus kscli publishing
- refresh skill setup notes and generated reference output defaults
2026-07-09 17:31:49 +08:00
故璃
8fd072bcd1
feat: merge self-built-framework
2026-07-09 10:02:56 +08:00
若麒
b3b1a08baf
docs(agents): align maintenance guides with split CLI architecture
2026-07-06 21:50:50 +08:00
lishengzxc
60cad1001c
chore: remove redundant "(global flag)" from option descriptions
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-06-16 19:44:08 +08:00
lishengzxc
d320d36ba7
docs: add console gateway flags convention to AGENTS.md and command help
...
Add console global flags (--console-region, --console-site, --console-switch-agent)
to the options of all 12 commands that depend on callConsoleGateway, so they appear
in --help output. Document this as convention #4 in AGENTS.md for future commands.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-06-16 17:50:58 +08:00
若麒
ab0cf8c78e
docs: rename README_CN.md to README.zh.md and add bailian-cli skill READMEs
2026-06-08 18:38:15 +08:00
qcq01083097
00934973e9
feat: The version synchronization and skills generation are executed in the pre-commit hook
2026-06-08 17:41:33 +08:00
qcq01083097
d75ddb407a
feat: Version synchronization & automatic build generation skills
2026-06-08 17:12:25 +08:00
qcq01083097
db5a96158d
feat: Migrate official skills back to this repository
2026-06-08 15:29:51 +08:00
若麒
fddab1a1b2
docs: rewrite publish docs and rename release.md to publish.md
2026-06-05 11:55:17 +08:00
若麒
1533e2013e
Initial commit
2026-05-28 18:37:07 +08:00