@tusi-ai/plugins 0.0.0-stage → 0.0.1-beta.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.
Files changed (38) hide show
  1. package/README.md +87 -2
  2. package/dist/calendar/index.cjs +119 -0
  3. package/dist/calendar/index.d.mts +30 -0
  4. package/dist/calendar/index.d.ts +30 -0
  5. package/dist/calendar/index.js +117 -0
  6. package/dist/camera/index.cjs +351 -0
  7. package/dist/camera/index.d.mts +98 -0
  8. package/dist/camera/index.d.ts +98 -0
  9. package/dist/camera/index.js +349 -0
  10. package/dist/clipboard/index.cjs +139 -0
  11. package/dist/clipboard/index.d.mts +41 -0
  12. package/dist/clipboard/index.d.ts +41 -0
  13. package/dist/clipboard/index.js +137 -0
  14. package/dist/contact-picker/index.cjs +100 -0
  15. package/dist/contact-picker/index.d.mts +37 -0
  16. package/dist/contact-picker/index.d.ts +37 -0
  17. package/dist/contact-picker/index.js +98 -0
  18. package/dist/filesystem/index.cjs +447 -0
  19. package/dist/filesystem/index.d.mts +202 -0
  20. package/dist/filesystem/index.d.ts +202 -0
  21. package/dist/filesystem/index.js +445 -0
  22. package/dist/geolocation/index.cjs +114 -0
  23. package/dist/geolocation/index.d.mts +49 -0
  24. package/dist/geolocation/index.d.ts +49 -0
  25. package/dist/geolocation/index.js +112 -0
  26. package/dist/index.cjs +40 -0
  27. package/dist/index.d.mts +29 -0
  28. package/dist/index.d.ts +29 -0
  29. package/dist/index.js +38 -0
  30. package/dist/local-notifications/index.cjs +152 -0
  31. package/dist/local-notifications/index.d.mts +84 -0
  32. package/dist/local-notifications/index.d.ts +84 -0
  33. package/dist/local-notifications/index.js +150 -0
  34. package/dist/share/index.cjs +145 -0
  35. package/dist/share/index.d.mts +45 -0
  36. package/dist/share/index.d.ts +45 -0
  37. package/dist/share/index.js +143 -0
  38. 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.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "0.0.1-beta.0",
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.0"
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
  }