@gopherhole/cli 0.1.14 → 0.1.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/dist/index.js CHANGED
@@ -1087,11 +1087,16 @@ ${chalk_1.default.bold('Examples:')}
1087
1087
  $ gopherhole discover search "email assistant"
1088
1088
  $ gopherhole discover search --category productivity
1089
1089
  $ gopherhole discover search --tag ai --sort popular
1090
+ $ gopherhole discover search --skill-tag memory --scope tenant
1090
1091
  `)
1091
1092
  .option('-c, --category <category>', 'Filter by category')
1092
1093
  .option('-t, --tag <tag>', 'Filter by tag')
1094
+ .option('--skill-tag <skillTag>', 'Filter by skill tag')
1095
+ .option('--content-mode <contentMode>', 'Filter by content mode (MIME type)')
1093
1096
  .option('-s, --sort <sort>', 'Sort by: rating, popular, recent', 'rating')
1094
- .option('-l, --limit <limit>', 'Number of results', '20')
1097
+ .option('-l, --limit <limit>', 'Number of results (max 50)', '10')
1098
+ .option('-o, --offset <offset>', 'Pagination offset')
1099
+ .option('--scope <scope>', 'Scope: tenant (same-tenant agents only)')
1095
1100
  .action(async (query, options) => {
1096
1101
  const spinner = (0, ora_1.default)('Searching agents...').start();
1097
1102
  try {
@@ -1102,10 +1107,18 @@ ${chalk_1.default.bold('Examples:')}
1102
1107
  params.set('category', options.category);
1103
1108
  if (options.tag)
1104
1109
  params.set('tag', options.tag);
1110
+ if (options.skillTag)
1111
+ params.set('skillTag', options.skillTag);
1112
+ if (options.contentMode)
1113
+ params.set('contentMode', options.contentMode);
1105
1114
  if (options.sort)
1106
1115
  params.set('sort', options.sort);
1107
1116
  if (options.limit)
1108
1117
  params.set('limit', options.limit);
1118
+ if (options.offset)
1119
+ params.set('offset', options.offset);
1120
+ if (options.scope)
1121
+ params.set('scope', options.scope);
1109
1122
  log('GET /discover/agents?' + params.toString());
1110
1123
  const sessionId = config.get('sessionId');
1111
1124
  const headers = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gopherhole/cli",
3
- "version": "0.1.14",
3
+ "version": "0.1.15",
4
4
  "description": "GopherHole CLI - Connect AI agents to the world",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
package/src/index.ts CHANGED
@@ -1208,11 +1208,16 @@ ${chalk.bold('Examples:')}
1208
1208
  $ gopherhole discover search "email assistant"
1209
1209
  $ gopherhole discover search --category productivity
1210
1210
  $ gopherhole discover search --tag ai --sort popular
1211
+ $ gopherhole discover search --skill-tag memory --scope tenant
1211
1212
  `)
1212
1213
  .option('-c, --category <category>', 'Filter by category')
1213
1214
  .option('-t, --tag <tag>', 'Filter by tag')
1215
+ .option('--skill-tag <skillTag>', 'Filter by skill tag')
1216
+ .option('--content-mode <contentMode>', 'Filter by content mode (MIME type)')
1214
1217
  .option('-s, --sort <sort>', 'Sort by: rating, popular, recent', 'rating')
1215
- .option('-l, --limit <limit>', 'Number of results', '20')
1218
+ .option('-l, --limit <limit>', 'Number of results (max 50)', '10')
1219
+ .option('-o, --offset <offset>', 'Pagination offset')
1220
+ .option('--scope <scope>', 'Scope: tenant (same-tenant agents only)')
1216
1221
  .action(async (query, options) => {
1217
1222
  const spinner = ora('Searching agents...').start();
1218
1223
 
@@ -1221,8 +1226,12 @@ ${chalk.bold('Examples:')}
1221
1226
  if (query) params.set('q', query);
1222
1227
  if (options.category) params.set('category', options.category);
1223
1228
  if (options.tag) params.set('tag', options.tag);
1229
+ if (options.skillTag) params.set('skillTag', options.skillTag);
1230
+ if (options.contentMode) params.set('contentMode', options.contentMode);
1224
1231
  if (options.sort) params.set('sort', options.sort);
1225
1232
  if (options.limit) params.set('limit', options.limit);
1233
+ if (options.offset) params.set('offset', options.offset);
1234
+ if (options.scope) params.set('scope', options.scope);
1226
1235
 
1227
1236
  log('GET /discover/agents?' + params.toString());
1228
1237
  const sessionId = config.get('sessionId') as string | undefined;