@tusi-ai/plugins 0.0.1-beta.1 → 0.0.1-beta.3
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 +1 -1
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -30,7 +30,7 @@ const picked = await Filesystem.pickMedia({ mediaType: 'image', maxCount: 1 });
|
|
|
30
30
|
| 预览 iframe | `native.ts`,经 Penpal 交给预览壳,再发 `jsb://` |
|
|
31
31
|
| 包壳 WebView | UA 含 `yyb_ai_version`、`yyb_version` 或 `tusiAppShell/<version>`。`native.ts` 直接发 `jsb://` |
|
|
32
32
|
|
|
33
|
-
预览 iframe
|
|
33
|
+
预览 iframe 要同时是包壳 UA,并且当前页在 iframe 里。页面不用声明父页面 origin。
|
|
34
34
|
|
|
35
35
|
失败抛 `TusiError`。参数在进入适配器之前校验,不合法为 `1001`。
|
|
36
36
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tusi-ai/plugins",
|
|
3
|
-
"version": "0.0.1-beta.
|
|
3
|
+
"version": "0.0.1-beta.3",
|
|
4
4
|
"description": "吐司端能力插件",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
],
|
|
103
103
|
"sideEffects": false,
|
|
104
104
|
"dependencies": {
|
|
105
|
-
"@tusi-ai/core": "^0.0.1-beta.
|
|
105
|
+
"@tusi-ai/core": "^0.0.1-beta.3"
|
|
106
106
|
},
|
|
107
107
|
"devDependencies": {
|
|
108
108
|
"@types/node": "^22.19.0",
|
|
@@ -117,6 +117,8 @@
|
|
|
117
117
|
"lint": "eslint src playground vite.config.ts --no-warn-ignored",
|
|
118
118
|
"playground": "vite",
|
|
119
119
|
"playground:build": "vite build",
|
|
120
|
+
"skills": "node scripts/copy-skills.mjs",
|
|
121
|
+
"skills:pack": "pnpm skills && tar -czf tusi-ai-skills.tar.gz skills",
|
|
120
122
|
"test": "vitest run --root ../.. packages/plugins",
|
|
121
123
|
"typecheck": "tsc --noEmit",
|
|
122
124
|
"verify": "pnpm lint && pnpm test && pnpm typecheck",
|