@insforge/cli 0.1.85 → 0.1.86

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
@@ -1172,7 +1172,7 @@ import * as clack5 from "@clack/prompts";
1172
1172
 
1173
1173
  // src/lib/analytics.ts
1174
1174
  import { PostHog } from "posthog-node";
1175
- var POSTHOG_API_KEY = "";
1175
+ var POSTHOG_API_KEY = "phc_ueV1ii62wdBTkH7E70ugyeqHIHu8dFDdjs0qq3TZhJz";
1176
1176
  var POSTHOG_HOST = process.env.POSTHOG_HOST || "https://us.i.posthog.com";
1177
1177
  var client = null;
1178
1178
  function getClient() {
@@ -3033,6 +3033,9 @@ Browse available templates: https://insforge.dev/templates`
3033
3033
  json
3034
3034
  );
3035
3035
  if (downloaded) {
3036
+ captureEvent(orgId, "marketplace_template_downloaded", {
3037
+ template: opts.marketplace
3038
+ });
3036
3039
  void reportMarketplaceDownload(opts.marketplace);
3037
3040
  }
3038
3041
  } else if (githubTemplates.includes(template)) {
@@ -7185,7 +7188,7 @@ function registerDiagnoseCommands(diagnoseCmd2) {
7185
7188
  const s = !json ? clack16.spinner() : null;
7186
7189
  s?.start("Collecting diagnostic data...");
7187
7190
  const data2 = await collectDiagnosticData(projectId, ossMode, apiUrl);
7188
- const cliVersion = "0.1.85";
7191
+ const cliVersion = "0.1.86";
7189
7192
  s?.stop("Data collected");
7190
7193
  if (!json) {
7191
7194
  console.log(`