@vcp-dev/site-edit-engine 0.11.5 → 0.11.7
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 +4 -0
- package/dist/index.js +13 -13
- package/dist/site-edit-instrumentation-loader.cjs +1 -1
- package/dist/webpack-loader.cjs +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -86,6 +86,10 @@ Next.js 插件平台,也不承诺覆盖 preview instrumentation 之外的构
|
|
|
86
86
|
`site-edit-instrumentation-loader` 的兼容别名,不维护第二套转换逻辑;新接入建议优先使用
|
|
87
87
|
bundler-neutral 子路径。
|
|
88
88
|
|
|
89
|
+
CMS 预览身份 helper 从已安装 Bridge 包中定位,注入的 import 必须相对于当前源文件,不能使用绝对磁盘路径(Turbopack 会将其当作不支持的 server-relative import)。同目录路径也保留 `./`,不能退化为裸模块名;该注入仍仅限开发预览。
|
|
90
|
+
|
|
91
|
+
CMS 来源追踪沿被选字段进入实际查询实现及转发参数。`/content/by-url` 的实际源码请求若具有确定的 `query.path = "/<collection>/<record>"` 命名空间,可提供应用来源;动态不明、冲突或可覆写的请求不提供该证明。不读取浏览器当前 URL、页面路径或 adapter 文件名推导应用。预览候选仍须与来源匹配,并经站点集合绑定及当前会话/选区校验。
|
|
92
|
+
|
|
89
93
|
## 内部职责边界
|
|
90
94
|
|
|
91
95
|
内部组织遵循 [Site Edit 核心复杂度合同 #71](https://github.com/trojanbox/project-documents/issues/71),不改变公开入口、Bridge 协议、operation 或 History/Recovery 语义。
|