@tusi-ai/plugins 0.0.1-beta.0 → 0.0.1-beta.1
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 +2 -2
package/README.md
CHANGED
|
@@ -28,7 +28,7 @@ const picked = await Filesystem.pickMedia({ mediaType: 'image', maxCount: 1 });
|
|
|
28
28
|
|---|---|
|
|
29
29
|
| 浏览器 | `browser.ts`。没有对应 Web API 时抛 `ErrorCode.Unsupported`(`9002`) |
|
|
30
30
|
| 预览 iframe | `native.ts`,经 Penpal 交给预览壳,再发 `jsb://` |
|
|
31
|
-
| 包壳 WebView | `native.ts
|
|
31
|
+
| 包壳 WebView | UA 含 `yyb_ai_version`、`yyb_version` 或 `tusiAppShell/<version>`。`native.ts` 直接发 `jsb://` |
|
|
32
32
|
|
|
33
33
|
预览 iframe 要求父页面是 `http` 或 `https` 的 `qq.com` 子域。页面不用声明父页面 origin。
|
|
34
34
|
|
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.1",
|
|
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.1"
|
|
106
106
|
},
|
|
107
107
|
"devDependencies": {
|
|
108
108
|
"@types/node": "^22.19.0",
|