@tusi-ai/plugins 0.0.0-stage → 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 +87 -2
- package/dist/calendar/index.cjs +119 -0
- package/dist/calendar/index.d.mts +30 -0
- package/dist/calendar/index.d.ts +30 -0
- package/dist/calendar/index.js +117 -0
- package/dist/camera/index.cjs +351 -0
- package/dist/camera/index.d.mts +98 -0
- package/dist/camera/index.d.ts +98 -0
- package/dist/camera/index.js +349 -0
- package/dist/clipboard/index.cjs +139 -0
- package/dist/clipboard/index.d.mts +41 -0
- package/dist/clipboard/index.d.ts +41 -0
- package/dist/clipboard/index.js +137 -0
- package/dist/contact-picker/index.cjs +100 -0
- package/dist/contact-picker/index.d.mts +37 -0
- package/dist/contact-picker/index.d.ts +37 -0
- package/dist/contact-picker/index.js +98 -0
- package/dist/filesystem/index.cjs +447 -0
- package/dist/filesystem/index.d.mts +202 -0
- package/dist/filesystem/index.d.ts +202 -0
- package/dist/filesystem/index.js +445 -0
- package/dist/geolocation/index.cjs +114 -0
- package/dist/geolocation/index.d.mts +49 -0
- package/dist/geolocation/index.d.ts +49 -0
- package/dist/geolocation/index.js +112 -0
- package/dist/index.cjs +40 -0
- package/dist/index.d.mts +29 -0
- package/dist/index.d.ts +29 -0
- package/dist/index.js +38 -0
- package/dist/local-notifications/index.cjs +152 -0
- package/dist/local-notifications/index.d.mts +84 -0
- package/dist/local-notifications/index.d.ts +84 -0
- package/dist/local-notifications/index.js +150 -0
- package/dist/share/index.cjs +145 -0
- package/dist/share/index.d.mts +45 -0
- package/dist/share/index.d.ts +45 -0
- package/dist/share/index.js +143 -0
- package/package.json +123 -3
package/package.json
CHANGED
|
@@ -1,6 +1,126 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tusi-ai/plugins",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.0.1-beta.1",
|
|
4
|
+
"description": "吐司端能力插件",
|
|
5
|
+
"main": "dist/index.cjs",
|
|
6
|
+
"module": "dist/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"default": "./dist/index.js"
|
|
13
|
+
},
|
|
14
|
+
"require": {
|
|
15
|
+
"types": "./dist/index.d.ts",
|
|
16
|
+
"default": "./dist/index.cjs"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"./camera": {
|
|
20
|
+
"import": {
|
|
21
|
+
"types": "./dist/camera/index.d.ts",
|
|
22
|
+
"default": "./dist/camera/index.js"
|
|
23
|
+
},
|
|
24
|
+
"require": {
|
|
25
|
+
"types": "./dist/camera/index.d.ts",
|
|
26
|
+
"default": "./dist/camera/index.cjs"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"./filesystem": {
|
|
30
|
+
"import": {
|
|
31
|
+
"types": "./dist/filesystem/index.d.ts",
|
|
32
|
+
"default": "./dist/filesystem/index.js"
|
|
33
|
+
},
|
|
34
|
+
"require": {
|
|
35
|
+
"types": "./dist/filesystem/index.d.ts",
|
|
36
|
+
"default": "./dist/filesystem/index.cjs"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"./geolocation": {
|
|
40
|
+
"import": {
|
|
41
|
+
"types": "./dist/geolocation/index.d.ts",
|
|
42
|
+
"default": "./dist/geolocation/index.js"
|
|
43
|
+
},
|
|
44
|
+
"require": {
|
|
45
|
+
"types": "./dist/geolocation/index.d.ts",
|
|
46
|
+
"default": "./dist/geolocation/index.cjs"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"./contact-picker": {
|
|
50
|
+
"import": {
|
|
51
|
+
"types": "./dist/contact-picker/index.d.ts",
|
|
52
|
+
"default": "./dist/contact-picker/index.js"
|
|
53
|
+
},
|
|
54
|
+
"require": {
|
|
55
|
+
"types": "./dist/contact-picker/index.d.ts",
|
|
56
|
+
"default": "./dist/contact-picker/index.cjs"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"./local-notifications": {
|
|
60
|
+
"import": {
|
|
61
|
+
"types": "./dist/local-notifications/index.d.ts",
|
|
62
|
+
"default": "./dist/local-notifications/index.js"
|
|
63
|
+
},
|
|
64
|
+
"require": {
|
|
65
|
+
"types": "./dist/local-notifications/index.d.ts",
|
|
66
|
+
"default": "./dist/local-notifications/index.cjs"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"./share": {
|
|
70
|
+
"import": {
|
|
71
|
+
"types": "./dist/share/index.d.ts",
|
|
72
|
+
"default": "./dist/share/index.js"
|
|
73
|
+
},
|
|
74
|
+
"require": {
|
|
75
|
+
"types": "./dist/share/index.d.ts",
|
|
76
|
+
"default": "./dist/share/index.cjs"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"./clipboard": {
|
|
80
|
+
"import": {
|
|
81
|
+
"types": "./dist/clipboard/index.d.ts",
|
|
82
|
+
"default": "./dist/clipboard/index.js"
|
|
83
|
+
},
|
|
84
|
+
"require": {
|
|
85
|
+
"types": "./dist/clipboard/index.d.ts",
|
|
86
|
+
"default": "./dist/clipboard/index.cjs"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"./calendar": {
|
|
90
|
+
"import": {
|
|
91
|
+
"types": "./dist/calendar/index.d.ts",
|
|
92
|
+
"default": "./dist/calendar/index.js"
|
|
93
|
+
},
|
|
94
|
+
"require": {
|
|
95
|
+
"types": "./dist/calendar/index.d.ts",
|
|
96
|
+
"default": "./dist/calendar/index.cjs"
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"files": [
|
|
101
|
+
"dist"
|
|
102
|
+
],
|
|
103
|
+
"sideEffects": false,
|
|
104
|
+
"dependencies": {
|
|
105
|
+
"@tusi-ai/core": "^0.0.1-beta.1"
|
|
106
|
+
},
|
|
107
|
+
"devDependencies": {
|
|
108
|
+
"@types/node": "^22.19.0",
|
|
109
|
+
"vite": "^6.4.1",
|
|
110
|
+
"vite-tsconfig-paths": "^6.1.1"
|
|
111
|
+
},
|
|
112
|
+
"publishConfig": {
|
|
113
|
+
"access": "public",
|
|
114
|
+
"registry": "https://registry.npmjs.org/"
|
|
115
|
+
},
|
|
116
|
+
"scripts": {
|
|
117
|
+
"lint": "eslint src playground vite.config.ts --no-warn-ignored",
|
|
118
|
+
"playground": "vite",
|
|
119
|
+
"playground:build": "vite build",
|
|
120
|
+
"test": "vitest run --root ../.. packages/plugins",
|
|
121
|
+
"typecheck": "tsc --noEmit",
|
|
122
|
+
"verify": "pnpm lint && pnpm test && pnpm typecheck",
|
|
123
|
+
"build": "pnpm verify && tsup",
|
|
124
|
+
"dev": "tsup --watch"
|
|
125
|
+
}
|
|
6
126
|
}
|