@velaro/cli 1.4.65 → 1.4.66

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.
@@ -12,15 +12,18 @@ export const experienceImpactCommand = {
12
12
  .option('from', { type: 'string', describe: 'yyyy-MM-dd (default: 7 days ago)' })
13
13
  .option('to', { type: 'string', describe: 'yyyy-MM-dd (default: today)' })
14
14
  .option('team-id', { type: 'number', describe: 'Narrow to one team' })
15
+ .option('include-demo', { type: 'boolean', default: false, describe: 'Show only the seeded sample (demo) data instead of real conversations' })
15
16
  .option('json', { type: 'boolean', default: false, describe: 'Raw JSON output' }),
16
17
  handler: runCommand(async (argv) => {
17
18
  const qs = new URLSearchParams();
18
19
  if (argv.from) qs.set('from', argv.from);
19
20
  if (argv.to) qs.set('to', argv.to);
20
21
  if (argv.teamId) qs.set('teamId', String(argv.teamId));
22
+ if (argv.includeDemo) qs.set('includeDemo', 'true');
21
23
  const q = qs.toString();
22
24
  const d = await messagingGet(`/Reports/experience-impact${q ? `?${q}` : ''}`);
23
25
  if (argv.json) { console.log(JSON.stringify(d, null, 2)); return; }
26
+ if (d.demoAvailable && !argv.includeDemo) console.log('(Sample data is available for this range: re-run with --include-demo)');
24
27
  const s = d.summary ?? {};
25
28
  console.log(`\nExperience Impact ${d.range?.from}..${d.range?.to}`);
26
29
  console.log(` Experience index: ${s.experienceIndex} / 100`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@velaro/cli",
3
- "version": "1.4.65",
3
+ "version": "1.4.66",
4
4
  "description": "Velaro Workspace v20 — command-line interface for managing bots, knowledge base ingestion, MCP API keys, search indexes, and ops health.",
5
5
  "type": "module",
6
6
  "bin": {