@askexenow/exe-os 0.9.41 → 0.9.42

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.
@@ -26847,8 +26847,10 @@ function buildMarkdown(input) {
26847
26847
  }
26848
26848
  async function maybeSendUpstream(payload) {
26849
26849
  const config2 = await loadConfig();
26850
- const endpoint = config2.support?.bugReportEndpoint || process.env.EXE_BUG_REPORT_ENDPOINT;
26850
+ const routerUrl = process.env.API_ROUTER_URL?.replace(/\/+$/, "");
26851
+ const endpoint = config2.support?.bugReportEndpoint || process.env.EXE_BUG_REPORT_ENDPOINT || (routerUrl ? `${routerUrl}/v1/support/bug-reports` : "https://askexe.com/v1/support/bug-reports");
26851
26852
  const token = config2.support?.bugReportToken || process.env.EXE_BUG_REPORT_TOKEN;
26853
+ const licenseKey = loadLicense() || process.env.EXE_LICENSE_KEY || config2.cloud?.apiKey;
26852
26854
  if (!endpoint) {
26853
26855
  return "not_configured";
26854
26856
  }
@@ -26861,7 +26863,8 @@ async function maybeSendUpstream(payload) {
26861
26863
  method: "POST",
26862
26864
  headers: {
26863
26865
  "content-type": "application/json",
26864
- ...token ? { authorization: `Bearer ${token}` } : {}
26866
+ ...token ? { authorization: `Bearer ${token}` } : {},
26867
+ ...licenseKey ? { "x-exe-license-key": licenseKey } : {}
26865
26868
  },
26866
26869
  body: JSON.stringify(payload),
26867
26870
  signal: AbortSignal.timeout(1e4)
@@ -27008,6 +27011,7 @@ var init_create_bug_report = __esm({
27008
27011
  init_embedder();
27009
27012
  init_active_agent();
27010
27013
  init_config();
27014
+ init_license();
27011
27015
  init_store();
27012
27016
  CLASSIFICATION = z82.enum([
27013
27017
  "upstream_bug",
@@ -24176,6 +24176,7 @@ Key saved to ~/.exe-os/license.key. Device ID: ${deviceId}`);
24176
24176
  init_embedder();
24177
24177
  init_active_agent();
24178
24178
  init_config();
24179
+ init_license();
24179
24180
  init_store();
24180
24181
  import { z as z82 } from "zod";
24181
24182
  import crypto18 from "crypto";
@@ -24230,8 +24231,10 @@ function buildMarkdown(input) {
24230
24231
  }
24231
24232
  async function maybeSendUpstream(payload) {
24232
24233
  const config2 = await loadConfig();
24233
- const endpoint = config2.support?.bugReportEndpoint || process.env.EXE_BUG_REPORT_ENDPOINT;
24234
+ const routerUrl = process.env.API_ROUTER_URL?.replace(/\/+$/, "");
24235
+ const endpoint = config2.support?.bugReportEndpoint || process.env.EXE_BUG_REPORT_ENDPOINT || (routerUrl ? `${routerUrl}/v1/support/bug-reports` : "https://askexe.com/v1/support/bug-reports");
24234
24236
  const token = config2.support?.bugReportToken || process.env.EXE_BUG_REPORT_TOKEN;
24237
+ const licenseKey = loadLicense() || process.env.EXE_LICENSE_KEY || config2.cloud?.apiKey;
24235
24238
  if (!endpoint) {
24236
24239
  return "not_configured";
24237
24240
  }
@@ -24244,7 +24247,8 @@ async function maybeSendUpstream(payload) {
24244
24247
  method: "POST",
24245
24248
  headers: {
24246
24249
  "content-type": "application/json",
24247
- ...token ? { authorization: `Bearer ${token}` } : {}
24250
+ ...token ? { authorization: `Bearer ${token}` } : {},
24251
+ ...licenseKey ? { "x-exe-license-key": licenseKey } : {}
24248
24252
  },
24249
24253
  body: JSON.stringify(payload),
24250
24254
  signal: AbortSignal.timeout(1e4)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@askexenow/exe-os",
3
- "version": "0.9.41",
3
+ "version": "0.9.42",
4
4
  "description": "AI employee operating system — persistent memory, task management, and multi-agent coordination for Claude Code.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "type": "module",