unbound-cli 1.16.23 → 1.16.24
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/package.json +1 -1
- package/src/commands/download.js +4 -0
- package/src/lib/downloads.js +10 -0
package/package.json
CHANGED
package/src/commands/download.js
CHANGED
|
@@ -201,8 +201,12 @@ Examples:
|
|
|
201
201
|
$ unbound download start logs-tasks-export --start 2026-07-01 --end 2026-07-31
|
|
202
202
|
$ unbound download start users-export --last 30d
|
|
203
203
|
$ unbound download start analytics-export --filter dataset=terminal-runs --last 7d
|
|
204
|
+
$ unbound download start ai-usage-teams-export --filter weeks=12
|
|
204
205
|
$ unbound download start logs-export --check --last 90d --json
|
|
205
206
|
|
|
207
|
+
The two ai-usage kinds cover whole weeks, not a date range: pass
|
|
208
|
+
'--filter weeks=4|8|12' (default 8). --last and --start/--end do not apply.
|
|
209
|
+
|
|
206
210
|
Admin or Analytics Viewer. Exports are kept for ${RETENTION_HOURS} hours.
|
|
207
211
|
${FILTER_HELP}${AGENT_HELP}`)
|
|
208
212
|
.action(async (kind, opts) => {
|
package/src/lib/downloads.js
CHANGED
|
@@ -54,6 +54,16 @@ const KINDS = {
|
|
|
54
54
|
summary: 'Analytics > Users: per-user cost, tokens and activity.',
|
|
55
55
|
filters: ['user_ids', 'sort_field', 'sort_order'],
|
|
56
56
|
},
|
|
57
|
+
'ai-usage-teams-export': {
|
|
58
|
+
summary: 'Analytics > Usage: weekly AI adoption per team, one column per week.',
|
|
59
|
+
filters: ['weeks', 'department_names', 'manager_names', 'search', 'band', 'trend',
|
|
60
|
+
'group_by', 'sort_by', 'sort_dir'],
|
|
61
|
+
},
|
|
62
|
+
'ai-usage-users-export': {
|
|
63
|
+
summary: 'Analytics > Usage: the people inside a team. Needs department_names.',
|
|
64
|
+
filters: ['weeks', 'department_names', 'manager_names', 'search', 'status',
|
|
65
|
+
'sort_by', 'sort_dir'],
|
|
66
|
+
},
|
|
57
67
|
};
|
|
58
68
|
|
|
59
69
|
const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
|