@ubiquity-os/plugin-sdk 3.5.5 → 3.6.2
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 +35 -93
- package/dist/configuration.d.mts +2 -2
- package/dist/configuration.d.ts +2 -2
- package/dist/configuration.js +2633 -13
- package/dist/configuration.mjs +2633 -3
- package/dist/{context-DOUnUNNN.d.ts → context-BbEmsEct.d.ts} +2 -0
- package/dist/{context-3Ck9sBZI.d.mts → context-sqbr2o6i.d.mts} +2 -0
- package/dist/index.d.mts +6 -3
- package/dist/index.d.ts +6 -3
- package/dist/index.js +2242 -94
- package/dist/index.mjs +2237 -90
- package/dist/llm.d.mts +23 -0
- package/dist/llm.d.ts +23 -0
- package/dist/llm.js +109 -0
- package/dist/llm.mjs +84 -0
- package/dist/octokit.d.mts +2 -2
- package/dist/octokit.d.ts +2 -2
- package/dist/octokit.js +164 -2
- package/dist/octokit.mjs +163 -1
- package/dist/signature.d.mts +1 -0
- package/dist/signature.d.ts +1 -0
- package/dist/signature.js +1 -0
- package/dist/signature.mjs +1 -0
- package/package.json +51 -40
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ubiquity-os/plugin-sdk",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.6.2",
|
|
4
4
|
"description": "SDK for plugin support.",
|
|
5
5
|
"author": "Ubiquity DAO",
|
|
6
6
|
"license": "MIT",
|
|
@@ -33,14 +33,17 @@
|
|
|
33
33
|
],
|
|
34
34
|
"configuration": [
|
|
35
35
|
"dist/configuration.d.ts"
|
|
36
|
+
],
|
|
37
|
+
"llm": [
|
|
38
|
+
"dist/llm.d.ts"
|
|
36
39
|
]
|
|
37
40
|
}
|
|
38
41
|
},
|
|
39
42
|
"exports": {
|
|
40
43
|
".": {
|
|
41
44
|
"types": "./dist/index.d.ts",
|
|
42
|
-
"
|
|
43
|
-
"
|
|
45
|
+
"import": "./dist/index.mjs",
|
|
46
|
+
"require": "./dist/index.js"
|
|
44
47
|
},
|
|
45
48
|
"./manifest": {
|
|
46
49
|
"types": "./dist/manifest.d.ts",
|
|
@@ -76,21 +79,28 @@
|
|
|
76
79
|
"types": "./dist/configuration.d.ts",
|
|
77
80
|
"import": "./dist/configuration.mjs",
|
|
78
81
|
"require": "./dist/configuration.js"
|
|
82
|
+
},
|
|
83
|
+
"./llm": {
|
|
84
|
+
"types": "./dist/llm.d.ts",
|
|
85
|
+
"import": "./dist/llm.mjs",
|
|
86
|
+
"require": "./dist/llm.js"
|
|
79
87
|
}
|
|
80
88
|
},
|
|
81
89
|
"files": [
|
|
82
90
|
"dist"
|
|
83
91
|
],
|
|
84
92
|
"scripts": {
|
|
85
|
-
"
|
|
86
|
-
"
|
|
93
|
+
"build": "tsup",
|
|
94
|
+
"dev": "run-p worker proxy",
|
|
95
|
+
"format": "run-s format:*",
|
|
87
96
|
"format:lint": "eslint --fix .",
|
|
88
97
|
"format:prettier": "prettier --write .",
|
|
89
98
|
"format:cspell": "cspell **/*",
|
|
99
|
+
"jest:test": "jest --coverage",
|
|
90
100
|
"knip": "knip --config .github/knip.ts",
|
|
91
101
|
"knip-ci": "knip --no-exit-code --reporter json --config .github/knip.ts",
|
|
92
102
|
"prepare": "node .husky/install.mjs",
|
|
93
|
-
"
|
|
103
|
+
"prebuild": "rimraf dist"
|
|
94
104
|
},
|
|
95
105
|
"keywords": [
|
|
96
106
|
"typescript",
|
|
@@ -100,47 +110,48 @@
|
|
|
100
110
|
"open-source"
|
|
101
111
|
],
|
|
102
112
|
"dependencies": {
|
|
103
|
-
"@
|
|
104
|
-
"@
|
|
105
|
-
"@octokit/
|
|
106
|
-
"@octokit/plugin-
|
|
107
|
-
"@octokit/plugin-
|
|
108
|
-
"@octokit/plugin-
|
|
109
|
-
"@octokit/plugin-
|
|
110
|
-
"@octokit/
|
|
111
|
-
"@octokit/types": "^
|
|
112
|
-
"@octokit/webhooks": "^
|
|
113
|
-
"@
|
|
114
|
-
"
|
|
115
|
-
"
|
|
116
|
-
"
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
"
|
|
113
|
+
"@octokit/auth-app": "^7.1.1",
|
|
114
|
+
"@octokit/core": "^6.1.3",
|
|
115
|
+
"@octokit/plugin-paginate-rest": "^11.4.2",
|
|
116
|
+
"@octokit/plugin-request-log": "^5.3.1",
|
|
117
|
+
"@octokit/plugin-rest-endpoint-methods": "^13.2.1",
|
|
118
|
+
"@octokit/plugin-retry": "^7.1.2",
|
|
119
|
+
"@octokit/plugin-throttling": "^9.3.2",
|
|
120
|
+
"@octokit/rest": "^21.0.2",
|
|
121
|
+
"@octokit/types": "^13.6.1",
|
|
122
|
+
"@octokit/webhooks": "^13.4.1",
|
|
123
|
+
"@octokit/webhooks-types": "^7.6.1",
|
|
124
|
+
"@sinclair/typebox": "^0.33.17",
|
|
125
|
+
"libsodium-wrappers": "^0.7.15",
|
|
126
|
+
"openai": "^4.70.2",
|
|
127
|
+
"pino": "^9.7.0",
|
|
128
|
+
"typebox-validators": "^0.3.5",
|
|
129
|
+
"yaml": "^2.7.0"
|
|
120
130
|
},
|
|
121
131
|
"devDependencies": {
|
|
122
|
-
"@
|
|
123
|
-
"@commitlint/
|
|
124
|
-
"@
|
|
125
|
-
"@cspell/dict-
|
|
126
|
-
"@cspell/dict-
|
|
127
|
-
"@
|
|
128
|
-
"@
|
|
129
|
-
"@
|
|
130
|
-
"@
|
|
131
|
-
"@swc/jest": "^0.2.
|
|
132
|
-
"@types/
|
|
133
|
-
"@types/
|
|
132
|
+
"@cloudflare/workers-types": "^4.20241224.0",
|
|
133
|
+
"@commitlint/cli": "^19.7.1",
|
|
134
|
+
"@commitlint/config-conventional": "^19.6.0",
|
|
135
|
+
"@cspell/dict-node": "^5.0.8",
|
|
136
|
+
"@cspell/dict-software-terms": "^4.2.1",
|
|
137
|
+
"@cspell/dict-typescript": "^3.1.6",
|
|
138
|
+
"@eslint/js": "^9.17.0",
|
|
139
|
+
"@jest/globals": "^29.7.0",
|
|
140
|
+
"@swc/core": "^1.10.1",
|
|
141
|
+
"@swc/jest": "^0.2.36",
|
|
142
|
+
"@types/jest": "^29.5.14",
|
|
143
|
+
"@types/libsodium-wrappers": "^0.7.14",
|
|
144
|
+
"@types/node": "^22.10.1",
|
|
134
145
|
"@ubiquity-os/eslint-plugin-no-empty-strings": "^1.0.3",
|
|
135
|
-
"
|
|
136
|
-
"
|
|
137
|
-
"eslint": "^9.
|
|
146
|
+
"cspell": "^8.17.0",
|
|
147
|
+
"esbuild": "^0.24.0",
|
|
148
|
+
"eslint": "^9.17.0",
|
|
138
149
|
"eslint-config-prettier": "^9.1.2",
|
|
139
150
|
"eslint-plugin-check-file": "^2.8.0",
|
|
140
|
-
"eslint-plugin-prettier": "^5.
|
|
151
|
+
"eslint-plugin-prettier": "^5.2.1",
|
|
141
152
|
"eslint-plugin-sonarjs": "^3.0.5",
|
|
142
153
|
"husky": "^9.1.7",
|
|
143
|
-
"jest": "^
|
|
154
|
+
"jest": "^29.7.0",
|
|
144
155
|
"jest-junit": "^16.0.0",
|
|
145
156
|
"jest-md-dashboard": "^0.8.1",
|
|
146
157
|
"knip": "^5.69.1",
|