@spotpatch/runtime 1.3.0 → 1.5.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 +21 -7
- package/dist/index.cjs +603 -376
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -15
- package/dist/index.d.ts +2 -15
- package/dist/index.js +601 -374
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,9 +1,23 @@
|
|
|
1
|
-
|
|
1
|
+
<h1><a href="https://github.com/huanglvjing/spotpatch"><img src="https://raw.githubusercontent.com/huanglvjing/spotpatch/main/docs/assets/spotpatch-npm-icon.png" alt="SpotPatch" width="48" height="48" align="absmiddle" /></a> <code>@spotpatch/runtime</code></h1>
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
and CSS collectors, localized Shadow DOM workbench, and prompt composer.
|
|
3
|
+
## English
|
|
5
4
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
The browser Runtime used by SpotPatch framework adapters. It contains the element picker, bounded DOM and CSS collectors, source-context client, localized Shadow DOM workbench, session-scoped multi-page target drafts, prompt composer, and optional Agent review UI.
|
|
6
|
+
|
|
7
|
+
Applications should install and configure [`@spotpatch/vite`](https://www.npmjs.com/package/@spotpatch/vite) rather than bootstrap this package directly. The adapter supplies authenticated development configuration and guarantees that the Runtime is absent from production output.
|
|
8
|
+
|
|
9
|
+
This package never owns provider credentials or unrestricted filesystem access.
|
|
10
|
+
|
|
11
|
+
## 简体中文
|
|
12
|
+
|
|
13
|
+
这是 SpotPatch 框架适配器使用的浏览器 Runtime,包含元素选择器、有界 DOM/CSS 采集器、源码上下文客户端、本地化 Shadow DOM 工作台、会话级跨页面目标草稿、Prompt 生成器和可选 Agent 审阅界面。
|
|
14
|
+
|
|
15
|
+
业务应用应安装并配置 [`@spotpatch/vite`](https://www.npmjs.com/package/@spotpatch/vite),而不是直接启动本包。框架适配器负责提供经过认证的开发期配置,并保证生产产物不包含 Runtime。
|
|
16
|
+
|
|
17
|
+
本包不持有 Provider 凭据,也不具备不受限制的文件系统访问能力。
|
|
18
|
+
|
|
19
|
+
## Links / 链接
|
|
20
|
+
|
|
21
|
+
- [Repository / 仓库](https://github.com/huanglvjing/spotpatch)
|
|
22
|
+
- [UI and diagnostics / UI 与诊断](https://github.com/huanglvjing/spotpatch/blob/main/docs/%E6%8A%80%E6%9C%AF%E6%96%B9%E6%A1%88/10-UI%E4%B8%8E%E8%AF%8A%E6%96%AD.md)
|
|
23
|
+
- [MIT License / 许可证](https://github.com/huanglvjing/spotpatch/blob/main/LICENSE)
|