@lumiastream/plugin 0.4.6 → 0.5.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 +66 -0
- package/package.json +6 -3
package/README.md
CHANGED
|
@@ -169,6 +169,9 @@ Plugins execute in an isolated **Node.js** process (no browser DOM). Use Node-co
|
|
|
169
169
|
- `npm run lint` – type-check the source without emitting output.
|
|
170
170
|
- `npm run package-docs` – rebuild the GPT knowledge pack in `gpt-knowledge/lumia-plugin-sdk-docs`.
|
|
171
171
|
- `npm run sync:developer-docs` – sync core SDK docs and generated example pages into `../Developer-Docs/docs/plugin-sdk` (no manual copy/paste).
|
|
172
|
+
- `npm run sync:skills` – refresh Codex skill docs snapshot, Claude skill docs snapshot, and Cursor rules together.
|
|
173
|
+
- `npm run validate:skills` – validate Codex skill + Claude skill + Copilot instructions + Gemini instructions + Cursor rule version alignment.
|
|
174
|
+
- `npm run update:skills -- --target <plugin-path>` – pull latest skill files (Claude/Copilot/Gemini/Cursor, optional Codex) from `main`.
|
|
172
175
|
|
|
173
176
|
## CLI Helpers
|
|
174
177
|
|
|
@@ -178,6 +181,69 @@ The CLI is distributed separately via `lumia-plugin`. Use it with `npx` (require
|
|
|
178
181
|
- `npx lumia-plugin validate ./path/to/plugin` check `manifest.json`, entry files, and config for common mistakes
|
|
179
182
|
- `npx lumia-plugin build ./path/to/plugin --out ./plugin.lumiaplugin` bundle the directory into a distributable archive
|
|
180
183
|
|
|
184
|
+
## AI Editor Support (Codex + Claude + Copilot + Gemini CLI + Cursor)
|
|
185
|
+
|
|
186
|
+
This repository ships cross-tool guidance for all supported tools using this repo as source:
|
|
187
|
+
|
|
188
|
+
- [https://github.com/lumiastream/Plugin-SDK](https://github.com/lumiastream/Plugin-SDK)
|
|
189
|
+
|
|
190
|
+
### Easy Install (Recommended)
|
|
191
|
+
|
|
192
|
+
Install common project skill files (Claude + Copilot + Gemini + Cursor):
|
|
193
|
+
|
|
194
|
+
```bash
|
|
195
|
+
npx lumia-plugin skills --target /path/to/your-plugin
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
Install one specific tool:
|
|
199
|
+
|
|
200
|
+
```bash
|
|
201
|
+
npx lumia-plugin skills claude --target /path/to/your-plugin
|
|
202
|
+
npx lumia-plugin skills copilot --target /path/to/your-plugin
|
|
203
|
+
npx lumia-plugin skills gemini --target /path/to/your-plugin
|
|
204
|
+
npx lumia-plugin skills cursor --target /path/to/your-plugin
|
|
205
|
+
npx lumia-plugin skills codex
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
Optional Codex home override:
|
|
209
|
+
|
|
210
|
+
```bash
|
|
211
|
+
npx lumia-plugin skills codex --codex-home "$CODEX_HOME"
|
|
212
|
+
```
|
|
213
|
+
|
|
214
|
+
List available skill bundles:
|
|
215
|
+
|
|
216
|
+
```bash
|
|
217
|
+
npx lumia-plugin skills list
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
### Easy Updates (No Full Redownload)
|
|
221
|
+
|
|
222
|
+
Run the same command again to update to latest skill files:
|
|
223
|
+
|
|
224
|
+
```bash
|
|
225
|
+
npx lumia-plugin skills --target /path/to/your-plugin
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
Optional tool selection:
|
|
229
|
+
|
|
230
|
+
```bash
|
|
231
|
+
npx lumia-plugin skills --tools claude,copilot,gemini,cursor --target /path/to/your-plugin
|
|
232
|
+
```
|
|
233
|
+
|
|
234
|
+
Optional Codex skill update (for Codex Desktop install path):
|
|
235
|
+
|
|
236
|
+
```bash
|
|
237
|
+
npx lumia-plugin skills codex
|
|
238
|
+
npx lumia-plugin skills codex --codex-home "$CODEX_HOME"
|
|
239
|
+
```
|
|
240
|
+
|
|
241
|
+
### Automatic Sync on Publish
|
|
242
|
+
|
|
243
|
+
- `npm run sync:skills`
|
|
244
|
+
- `npm run validate:skills`
|
|
245
|
+
- `prepublishOnly` runs both before publish (covers Codex + Claude + Copilot + Gemini CLI + Cursor)
|
|
246
|
+
|
|
181
247
|
## Documentation
|
|
182
248
|
|
|
183
249
|
- [Getting Started](./docs/getting-started.md)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lumiastream/plugin",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"description": "Official Lumia Stream Plugin SDK for building Lumia Stream plugins.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -16,11 +16,14 @@
|
|
|
16
16
|
"scripts": {
|
|
17
17
|
"build": "tsc -p tsconfig.json",
|
|
18
18
|
"lint": "tsc --noEmit",
|
|
19
|
-
"package-docs": "node scripts/package-knowledge-pack.js && npm run sync:developer-docs",
|
|
19
|
+
"package-docs": "node scripts/package-knowledge-pack.js && npm run sync:developer-docs && npm run sync:skills",
|
|
20
20
|
"sync:developer-docs": "node scripts/sync-developer-docs.js",
|
|
21
|
+
"sync:skills": "node scripts/sync-skills.js",
|
|
22
|
+
"validate:skills": "node scripts/validate-skills.js",
|
|
23
|
+
"update:skills": "node scripts/update-skills.js",
|
|
21
24
|
"sync-cli-version": "node scripts/sync-cli-version.js",
|
|
22
25
|
"publish-cli": "node scripts/publish-cli.js",
|
|
23
|
-
"prepublishOnly": "npm run build && npm run sync-cli-version",
|
|
26
|
+
"prepublishOnly": "npm run build && npm run sync-cli-version && npm run sync:skills && npm run validate:skills && npm run package-docs",
|
|
24
27
|
"postpublish": "npm run publish-cli"
|
|
25
28
|
},
|
|
26
29
|
"exports": {
|