@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ubiquity-os/plugin-sdk",
3
- "version": "3.5.5",
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
- "require": "./dist/index.js",
43
- "import": "./dist/index.mjs"
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
- "sdk:build": "tsup",
86
- "format": "run-s format:lint format:prettier format:cspell",
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
- "jest:test": "cross-env NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" jest --setupFiles dotenv/config --coverage"
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
- "@actions/core": "^1.11.1",
104
- "@actions/github": "^6.0.1",
105
- "@octokit/core": "^7.0.6",
106
- "@octokit/plugin-paginate-graphql": "^6.0.0",
107
- "@octokit/plugin-paginate-rest": "^14.0.0",
108
- "@octokit/plugin-rest-endpoint-methods": "^17.0.0",
109
- "@octokit/plugin-retry": "^8.0.3",
110
- "@octokit/plugin-throttling": "^11.0.3",
111
- "@octokit/types": "^16.0.0",
112
- "@octokit/webhooks": "^14.1.3",
113
- "@ubiquity-os/ubiquity-os-logger": "^1.4.0",
114
- "dotenv": "^17.2.3",
115
- "hono": "^4.10.6",
116
- "js-yaml": "^4.1.1"
117
- },
118
- "peerDependencies": {
119
- "@sinclair/typebox": "0.34.41"
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
- "@commitlint/cli": "^18.6.1",
123
- "@commitlint/config-conventional": "^18.6.3",
124
- "@cspell/dict-node": "^4.0.3",
125
- "@cspell/dict-software-terms": "^3.4.10",
126
- "@cspell/dict-typescript": "^3.2.3",
127
- "@eslint/js": "^9.39.1",
128
- "@jest/globals": "^30.2.0",
129
- "@mswjs/data": "0.15.0",
130
- "@mswjs/http-middleware": "^0.10.3",
131
- "@swc/jest": "^0.2.39",
132
- "@types/js-yaml": "^4.0.9",
133
- "@types/node": "^20.19.25",
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
- "cross-env": "^7.0.3",
136
- "cspell": "^8.19.4",
137
- "eslint": "^9.39.1",
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.5.4",
151
+ "eslint-plugin-prettier": "^5.2.1",
141
152
  "eslint-plugin-sonarjs": "^3.0.5",
142
153
  "husky": "^9.1.7",
143
- "jest": "^30.2.0",
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",