@gopherhole/cli 0.1.14 → 0.1.16

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,18 @@ ${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
1091
+ $ gopherhole discover search --owner "GopherHole Official"
1090
1092
  `)
1091
1093
  .option('-c, --category <category>', 'Filter by category')
1092
1094
  .option('-t, --tag <tag>', 'Filter by tag')
1095
+ .option('--skill-tag <skillTag>', 'Filter by skill tag')
1096
+ .option('--content-mode <contentMode>', 'Filter by content mode (MIME type)')
1097
+ .option('--owner <owner>', 'Filter by organization/tenant name')
1093
1098
  .option('-s, --sort <sort>', 'Sort by: rating, popular, recent', 'rating')
1094
- .option('-l, --limit <limit>', 'Number of results', '20')
1099
+ .option('-l, --limit <limit>', 'Number of results (max 50)', '10')
1100
+ .option('-o, --offset <offset>', 'Pagination offset')
1101
+ .option('--scope <scope>', 'Scope: tenant (same-tenant agents only)')
1095
1102
  .action(async (query, options) => {
1096
1103
  const spinner = (0, ora_1.default)('Searching agents...').start();
1097
1104
  try {
@@ -1102,10 +1109,20 @@ ${chalk_1.default.bold('Examples:')}
1102
1109
  params.set('category', options.category);
1103
1110
  if (options.tag)
1104
1111
  params.set('tag', options.tag);
1112
+ if (options.skillTag)
1113
+ params.set('skillTag', options.skillTag);
1114
+ if (options.contentMode)
1115
+ params.set('contentMode', options.contentMode);
1116
+ if (options.owner)
1117
+ params.set('owner', options.owner);
1105
1118
  if (options.sort)
1106
1119
  params.set('sort', options.sort);
1107
1120
  if (options.limit)
1108
1121
  params.set('limit', options.limit);
1122
+ if (options.offset)
1123
+ params.set('offset', options.offset);
1124
+ if (options.scope)
1125
+ params.set('scope', options.scope);
1109
1126
  log('GET /discover/agents?' + params.toString());
1110
1127
  const sessionId = config.get('sessionId');
1111
1128
  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.16",
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,18 @@ ${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
1212
+ $ gopherhole discover search --owner "GopherHole Official"
1211
1213
  `)
1212
1214
  .option('-c, --category <category>', 'Filter by category')
1213
1215
  .option('-t, --tag <tag>', 'Filter by tag')
1216
+ .option('--skill-tag <skillTag>', 'Filter by skill tag')
1217
+ .option('--content-mode <contentMode>', 'Filter by content mode (MIME type)')
1218
+ .option('--owner <owner>', 'Filter by organization/tenant name')
1214
1219
  .option('-s, --sort <sort>', 'Sort by: rating, popular, recent', 'rating')
1215
- .option('-l, --limit <limit>', 'Number of results', '20')
1220
+ .option('-l, --limit <limit>', 'Number of results (max 50)', '10')
1221
+ .option('-o, --offset <offset>', 'Pagination offset')
1222
+ .option('--scope <scope>', 'Scope: tenant (same-tenant agents only)')
1216
1223
  .action(async (query, options) => {
1217
1224
  const spinner = ora('Searching agents...').start();
1218
1225
 
@@ -1221,8 +1228,13 @@ ${chalk.bold('Examples:')}
1221
1228
  if (query) params.set('q', query);
1222
1229
  if (options.category) params.set('category', options.category);
1223
1230
  if (options.tag) params.set('tag', options.tag);
1231
+ if (options.skillTag) params.set('skillTag', options.skillTag);
1232
+ if (options.contentMode) params.set('contentMode', options.contentMode);
1233
+ if (options.owner) params.set('owner', options.owner);
1224
1234
  if (options.sort) params.set('sort', options.sort);
1225
1235
  if (options.limit) params.set('limit', options.limit);
1236
+ if (options.offset) params.set('offset', options.offset);
1237
+ if (options.scope) params.set('scope', options.scope);
1226
1238
 
1227
1239
  log('GET /discover/agents?' + params.toString());
1228
1240
  const sessionId = config.get('sessionId') as string | undefined;