Skip to content

Commit 322551f

Browse files
build: let Agent Bundle emit the repository marketplace (#17)
1 parent 3f3820c commit 322551f

6 files changed

Lines changed: 9 additions & 30 deletions

File tree

‎.cursor-plugin/marketplace.json‎

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1 @@
1-
{
2-
"name": "plugin-library-marketplace",
3-
"owner": {
4-
"name": "plugin-library"
5-
},
6-
"plugins": [
7-
{
8-
"description": "Browse installed and marketplace plugins, read every skill in full, and hand one to a Grok Bot.",
9-
"name": "plugin-library",
10-
"source": "./artifact"
11-
}
12-
]
13-
}
1+
{"name":"plugin-library-marketplace","owner":{"name":"plugin-library"},"plugins":[{"description":"Browse installed and marketplace plugins, read every skill in full, and hand one to a Grok Bot.","name":"plugin-library","source":"./artifact"}]}

‎.github/workflows/publish-agent-bundle.yml‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,6 @@ jobs:
3333
- name: Build and verify artifact
3434
run: npm run check
3535

36-
- name: Generate repository marketplace from artifact
37-
run: |
38-
node --input-type=module <<'JS'
39-
import { readFileSync, writeFileSync } from 'node:fs';
40-
const marketplace = JSON.parse(readFileSync('artifact/.cursor-plugin/marketplace.json', 'utf8'));
41-
for (const plugin of marketplace.plugins) plugin.source = './artifact';
42-
writeFileSync('.cursor-plugin/marketplace.json', JSON.stringify(marketplace, null, 2) + '\n');
43-
JS
44-
4536
- name: Commit generated artifact on main
4637
run: |
4738
git config user.name github-actions[bot]

‎agent-bundle.config.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default defineConfig({
88
assets: ['public', 'data'],
99
lib: false,
1010
marketplace: true,
11-
output: { distPath: 'artifact' },
11+
output: { distPath: 'artifact', repositoryMarketplace: true },
1212
plugin: {
1313
description:
1414
'Browse installed and marketplace plugins, read every skill in full, and hand one to a Grok Bot.',

‎artifact/agent-bundle.manifest.json‎

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

‎package-lock.json‎

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
},
2828
"devDependencies": {
2929
"@types/node": "^24.0.0",
30-
"agent-bundle": "https://pkg.pr.new/ScriptedAlchemy/agent-bundle/agent-bundle@ab5ae66e1d9c2829a092640c586e2b3eacc4be88",
30+
"agent-bundle": "https://pkg.pr.new/ScriptedAlchemy/agent-bundle/agent-bundle@e5bdc7d25e45b1a8e6abeba64e6865871ecf6026",
3131
"typescript": "^7.0.0"
3232
}
3333
}

0 commit comments

Comments
 (0)