@done-coding/forge-kit-agent 0.100.0 → 0.100.1-alpha.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 +25 -12
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -2,15 +2,35 @@
|
|
|
2
2
|
|
|
3
3
|
Vue 3 AI 对话与智能体 UI 组件库。
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
本包独立安装和使用,不进入 `@done-coding/forge` 聚合。
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
## 安装与使用
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
```bash
|
|
10
|
+
pnpm add @done-coding/forge-kit-agent
|
|
11
|
+
```
|
|
10
12
|
|
|
11
|
-
|
|
13
|
+
```ts
|
|
14
|
+
import { AiDialogue } from "@done-coding/forge-kit-agent";
|
|
15
|
+
import "@done-coding/forge-kit-agent/style.css";
|
|
16
|
+
```
|
|
12
17
|
|
|
13
|
-
|
|
18
|
+
## 消费边界
|
|
19
|
+
|
|
20
|
+
注入键沿用历史 namespace,保持既有 bridge 配对。
|
|
21
|
+
|
|
22
|
+
宿主须满足以下 peer 要求:
|
|
23
|
+
|
|
24
|
+
| 包 | 范围 |
|
|
25
|
+
| ------------------------- | ---------- |
|
|
26
|
+
| `@element-plus/icons-vue` | `^2.3.1` |
|
|
27
|
+
| `element-plus` | `^2.7.0` |
|
|
28
|
+
| `lodash` | `^4.17.21` |
|
|
29
|
+
| `vue` | `^3.4.0` |
|
|
30
|
+
|
|
31
|
+
文档与完整 API:[使用文档](https://done-coding.github.io/done-coding-showcase/docs/)。
|
|
32
|
+
|
|
33
|
+
MIT,Copyright (c) JustSoSu。完整许可见本包 LICENSE。
|
|
14
34
|
|
|
15
35
|
<!-- repo-map:start -->
|
|
16
36
|
|
|
@@ -24,7 +44,6 @@ Vue 3 AI 对话与智能体 UI 组件库。
|
|
|
24
44
|
- `type-tests/` — 按目录名分组的源码或资源
|
|
25
45
|
- `docs/` — 文档
|
|
26
46
|
- `e2e/` — 浏览器测试
|
|
27
|
-
- `migrations/` — 版本迁移说明
|
|
28
47
|
- `recording/` — 录制脚本
|
|
29
48
|
- `src/` — 源码
|
|
30
49
|
- `bridge/` — 跨包桥接(provide/inject 通道)
|
|
@@ -46,9 +65,3 @@ Vue 3 AI 对话与智能体 UI 组件库。
|
|
|
46
65
|
> (模块根的本段展开该模块**内部**结构;深层大目录 ≥8 项或继续分叉则嵌套列出,叶子小目录不展。)
|
|
47
66
|
|
|
48
67
|
<!-- repo-map:end -->
|
|
49
|
-
|
|
50
|
-
## 自动验证与消费边界(tc7f1a)
|
|
51
|
-
|
|
52
|
-
声明构建保留 `vue-element-plus-x` 的公开模块引用,避免将其改写为包内 `node_modules` 相对路径;Vue 推导的 MentionSender 类型使用上游公开 `types/MentionSender` 子路径。代码块 hook 的返回类型从上游公开 `XMarkdown` props 提取,不要求消费者解析上游未导出的内部路径。运行行为不变,bundler 类型检查由真实 tgz ATTW 闸门验证。
|
|
53
|
-
|
|
54
|
-
仓根 `pnpm verify` 检查受影响包,`pnpm verify --all` 检查全量;`pnpm test:consumer` 用十二个真实 tgz 建仓外宿主;`pnpm verify:release` 绑定当前 HEAD 与工作树生成发行戳。任何失败均非零退出,未通过不得发布。本包 prepublishOnly 校验发行戳,不执行发布。exports 的 types 条件优先于运行时条件。ESM 产物的 lodash 子路径使用 `.js` 扩展名;不改变组件 API。消费配置和已知失败见 `scripts/forge-testing.md`,既有工程验证说明保留于 `migrations/v1.0.0-dev.2.md`(历史文件);当前候选为 `0.100.0-dev.1`,不发行。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@done-coding/forge-kit-agent",
|
|
3
|
-
"version": "0.100.0",
|
|
3
|
+
"version": "0.100.1-alpha.0",
|
|
4
4
|
"description": "Vue 3 AI 对话与智能体 UI 组件库",
|
|
5
5
|
"private": false,
|
|
6
6
|
"module": "es/index.mjs",
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
"node": ">=18.0.0",
|
|
82
82
|
"pnpm": ">=9.0.0"
|
|
83
83
|
},
|
|
84
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "354498c11f54da99165284b76d898d6aaaf92ece"
|
|
85
85
|
}
|