axios+telemetry cleanup
This commit is contained in:
@@ -14,6 +14,7 @@ import {
|
||||
import { tmpdir } from 'os'
|
||||
import { extname, join } from 'path'
|
||||
import type { Command } from '../commands.js'
|
||||
import { VERSION } from '../constants/product.js'
|
||||
import { queryWithModel } from '../services/api/claude.js'
|
||||
import {
|
||||
AGENT_TOOL_NAME,
|
||||
@@ -2682,7 +2683,7 @@ export function buildExportData(
|
||||
facets: Map<string, SessionFacets>,
|
||||
remoteStats?: { hosts: RemoteHostInfo[]; totalCopied: number },
|
||||
): InsightsExport {
|
||||
const version = typeof MACRO !== 'undefined' ? MACRO.VERSION : 'unknown'
|
||||
const version = VERSION
|
||||
|
||||
const remote_hosts_collected = remoteStats?.hosts
|
||||
.filter(h => h.sessionCount > 0)
|
||||
|
||||
Reference in New Issue
Block a user