@hubspot/cli 7.7.18-experimental.0 → 7.7.19-experimental.0
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/lib/usageTracking.js +5 -2
- package/package.json +1 -1
package/lib/usageTracking.js
CHANGED
|
@@ -121,8 +121,6 @@ function trackCliInteraction({ action, accountId, command, authType, meta = {},
|
|
|
121
121
|
authType,
|
|
122
122
|
...meta,
|
|
123
123
|
};
|
|
124
|
-
logger_1.logger.debug('LFFFFFGGGGGG');
|
|
125
|
-
logger_1.logger.debug(process.env);
|
|
126
124
|
if (process.env.HUBSPOT_MCP_AI_AGENT) {
|
|
127
125
|
setImmediate(async () => {
|
|
128
126
|
try {
|
|
@@ -131,6 +129,11 @@ function trackCliInteraction({ action, accountId, command, authType, meta = {},
|
|
|
131
129
|
action: 'cli-mcp-server',
|
|
132
130
|
type: process.env.HUBSPOT_MCP_AI_AGENT,
|
|
133
131
|
}, accountId);
|
|
132
|
+
logger_1.logger.debug('Sent AI usage tracking command event: %o', {
|
|
133
|
+
...usageTrackingEvent,
|
|
134
|
+
action: 'cli-mcp-server',
|
|
135
|
+
type: process.env.HUBSPOT_MCP_AI_AGENT,
|
|
136
|
+
});
|
|
134
137
|
}
|
|
135
138
|
catch (error) {
|
|
136
139
|
(0, errorHandlers_1.debugError)(error);
|
package/package.json
CHANGED