@wenaixi/cfbridge 0.1.1 → 0.1.2

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 CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  [![npm](https://img.shields.io/npm/v/@wenaixi/cfbridge?color=cb3837)](https://www.npmjs.com/package/@wenaixi/cfbridge)
6
6
  [![CI](https://github.com/Wenaixi/dsh-cfbridge/actions/workflows/ci.yml/badge.svg)](https://github.com/Wenaixi/dsh-cfbridge/actions/workflows/ci.yml)
7
- [![版本](https://img.shields.io/badge/version-0.1.1-2563eb)](#版本与维护)
7
+ [![版本](https://img.shields.io/badge/version-0.1.2-2563eb)](#版本与维护)
8
8
  [![许可](https://img.shields.io/badge/license-MIT-16a34a)](./LICENSE)
9
9
 
10
10
  cfbridge 是一个 **DSH Bundle(组合包)**,通过 `dsh plugin --profile web add` 装到 **web** profile 后,**所有会话全局可见** Cloudflare 官方 Code Mode MCP 三工具(docs / search / execute)与配套 Skill,配合项目本地 Wrangler CLI 透传。走 `dsh.bundle` 原生分发,无需 `prepare` 构建。
@@ -18,7 +18,7 @@ cfbridge 是一个 **DSH Bundle(组合包)**,通过 `dsh plugin --profile
18
18
  dsh plugin --profile web add @wenaixi/cfbridge
19
19
 
20
20
  # 方式 B — GitHub 直装(免构建)
21
- dsh plugin --profile web add github:Wenaixi/dsh-cfbridge#v0.1.1
21
+ dsh plugin --profile web add github:Wenaixi/dsh-cfbridge#v0.1.2
22
22
 
23
23
  # 验证
24
24
  dsh --profile web --dump-config | Select-String "cfbridge"
@@ -79,7 +79,7 @@ dsh plugin --profile web add @wenaixi/cfbridge
79
79
  ```powershell
80
80
  dsh plugin --profile web add github:Wenaixi/dsh-cfbridge
81
81
  # 锁定版本更稳妥:
82
- dsh plugin --profile web add github:Wenaixi/dsh-cfbridge#v0.1.1
82
+ dsh plugin --profile web add github:Wenaixi/dsh-cfbridge#v0.1.2
83
83
  ```
84
84
 
85
85
  > 直装前提:仓库含 `dsh.bundle` 声明且无 TypeScript 编译步骤(本仓库满足 —— 纯 JS + YAML + Markdown,GitHub 拉到的就是可运行形态,无需 `prepare`/`allowBuilds`)。
@@ -136,7 +136,7 @@ npm run dump:config
136
136
  dsh plugin --profile web add @wenaixi/cfbridge
137
137
 
138
138
  # 启用(GitHub 直装)
139
- dsh plugin --profile web add github:Wenaixi/dsh-cfbridge#v0.1.1
139
+ dsh plugin --profile web add github:Wenaixi/dsh-cfbridge#v0.1.2
140
140
 
141
141
  # 停用
142
142
  dsh plugin --profile web remove @wenaixi/cfbridge
@@ -193,7 +193,7 @@ dsh plugin --profile web remove @wenaixi/cfbridge
193
193
 
194
194
  ## 版本与维护
195
195
 
196
- - 当前版本:**v0.1.1**(首个公开发布;Bundle 形态,运行时 Skill,全局可见)。
196
+ - 当前版本:**v0.1.2**(首个公开发布;Bundle 形态,运行时 Skill,全局可见)。
197
197
  - 作者:**Wenaixi**
198
198
  - 许可证:MIT
199
199
  - 决策与历史记录见 [`CLAUDE.md`](./CLAUDE.md) 与 [`docs/plan-v0.3.0-global-bundle.md`](./docs/plan-v0.3.0-global-bundle.md)
package/cordis.patch.yml CHANGED
@@ -1,4 +1,4 @@
1
- # @wenaixi/cfbridge — DSH Bundle Patch (host composition, v0.1.1)
1
+ # @wenaixi/cfbridge — DSH Bundle Patch (host composition, v0.1.2)
2
2
  #
3
3
  # 安装后作为 web profile 的一个 bundle 层全局生效;所有会话均自动看到
4
4
  # Cloudflare Code Mode MCP 三工具(docs / search / execute)与 cfbridge Skill。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wenaixi/cfbridge",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Cloudflare Code Mode MCP 全局 Bundle,安装后所有 DSH 会话自动获得 docs/search/execute 三工具与 cfbridge Skill,配合项目本地 Wrangler CLI 透传。",
5
5
  "author": "Wenaixi <wenxiloveyou@gmail.com>",
6
6
  "license": "MIT",
package/scripts/check.js CHANGED
@@ -42,7 +42,7 @@ function hasTokenLeak(text) {
42
42
  const pkg = readJson(path.join(ROOT, 'package.json'))
43
43
  if (pkg) {
44
44
  check('package name is @wenaixi/cfbridge', pkg.name === '@wenaixi/cfbridge', `got: ${pkg.name}`)
45
- check('package version is 0.1.1', pkg.version === '0.1.1', `got: ${pkg.version}`)
45
+ check('package version is 0.1.2', pkg.version === '0.1.2', `got: ${pkg.version}`)
46
46
  check('package is not private', pkg.private !== true, pkg.private ? 'package.json must not be private for npm publish' : '')
47
47
  check('package publishConfig.access is public', pkg.publishConfig?.access === 'public', `got: ${pkg.publishConfig?.access}`)
48
48
  check('package repository points to Wenaixi/dsh-cfbridge', /github\.com\/Wenaixi\/dsh-cfbridge(\.git)?$/i.test(pkg.repository?.url || ''), `got: ${pkg.repository?.url}`)
@@ -57,8 +57,8 @@ function main() {
57
57
 
58
58
  if (pkg.name === '@wenaixi/cfbridge') pass('package name is @wenaixi/cfbridge')
59
59
  else fail('package name is @wenaixi/cfbridge', pkg.name)
60
- if (pkg.version === '0.1.1') pass('package version is 0.1.1')
61
- else fail('package version is 0.1.1', pkg.version)
60
+ if (pkg.version === '0.1.2') pass('package version is 0.1.2')
61
+ else fail('package version is 0.1.2', pkg.version)
62
62
  if (pkg.private !== true) pass('package is not private (npm publishable)')
63
63
  else fail('package is not private (npm publishable)', 'private must be absent/false')
64
64
  if (pkg.publishConfig && pkg.publishConfig.access === 'public') pass('publishConfig.access is public')