promptgraph-mcp 1.5.14 → 1.5.15
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/index.js +9 -4
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -123,7 +123,7 @@ if (args[0] === 'marketplace') {
|
|
|
123
123
|
console.log();
|
|
124
124
|
console.log(' ' + purple.bold('PromptGraph Marketplace'));
|
|
125
125
|
console.log(' ' + chalk.gray(`${all.length} skill${all.length === 1 ? '' : 's'} · page ${page}/${totalPages}`));
|
|
126
|
-
console.log(' ' + chalk.gray('─'.repeat(
|
|
126
|
+
console.log(' ' + chalk.gray('─'.repeat(54)));
|
|
127
127
|
console.log();
|
|
128
128
|
|
|
129
129
|
slice.forEach((s, i) => {
|
|
@@ -132,18 +132,23 @@ if (args[0] === 'marketplace') {
|
|
|
132
132
|
console.log(' ' + num + ' ' + chalk.white.bold(s.id) + ' ' + stars);
|
|
133
133
|
console.log(wrap(s.description, 64, ' '));
|
|
134
134
|
if (s.tags?.length) console.log(' ' + purple(s.tags.map(t => '#' + t).join(' ')));
|
|
135
|
-
console.log(' ' + chalk.gray('install:
|
|
135
|
+
console.log(' ' + chalk.gray('install: ') + chalk.cyan(`pg_marketplace_install("${s.id}")`));
|
|
136
|
+
console.log(' ' + chalk.gray('use: ') + chalk.cyan(`pg_search("${s.id}")`) + chalk.gray(' → read the file'));
|
|
136
137
|
console.log();
|
|
137
138
|
});
|
|
138
139
|
|
|
139
|
-
console.log(' ' + chalk.gray('─'.repeat(
|
|
140
|
+
console.log(' ' + chalk.gray('─'.repeat(54)));
|
|
140
141
|
if (totalPages > 1) {
|
|
141
142
|
const nav = [];
|
|
142
143
|
if (page > 1) nav.push(chalk.cyan(`${bin} marketplace ${page - 1}`) + chalk.gray(' ‹ prev'));
|
|
143
144
|
if (page < totalPages) nav.push(chalk.gray('next › ') + chalk.cyan(`${bin} marketplace ${page + 1}`));
|
|
144
145
|
console.log(' ' + nav.join(' '));
|
|
146
|
+
console.log();
|
|
145
147
|
}
|
|
146
|
-
console.log(' ' + chalk.gray('
|
|
148
|
+
console.log(' ' + chalk.gray('These run through your AI assistant via the PromptGraph MCP server:'));
|
|
149
|
+
console.log(' ' + chalk.cyan('pg_marketplace_install') + chalk.gray(' install a skill ') + chalk.gray('(or /pg-fetch <id>)'));
|
|
150
|
+
console.log(' ' + chalk.cyan('pg_marketplace_publish') + chalk.gray(' share your own ') + chalk.gray('(or /pg-publish <file>)'));
|
|
151
|
+
console.log(' ' + chalk.cyan('pg_search') + chalk.gray(' find & apply any installed skill'));
|
|
147
152
|
console.log();
|
|
148
153
|
process.exit(0);
|
|
149
154
|
}
|