@boxes-dev/dvb-runtime 1.0.815 → 1.0.816

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/bin/dvb.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  "use strict";
3
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="502e6549-01df-5b11-ab53-6389a4c3d2b7")}catch(e){}}();
3
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="06267b3f-714c-591f-8a87-530a9daacb8e")}catch(e){}}();
4
4
 
5
5
  var __create = Object.create;
6
6
  var __defProp = Object.defineProperty;
@@ -75471,8 +75471,8 @@ var init_otel = __esm({
75471
75471
  return trimmed && trimmed.length > 0 ? trimmed : void 0;
75472
75472
  };
75473
75473
  readBuildMetadata = () => {
75474
- const rawPackageVersion = "1.0.815";
75475
- const rawGitSha = "d62544ad1a74615ddb6ea2a6e98304c5fffbdcfa";
75474
+ const rawPackageVersion = "1.0.816";
75475
+ const rawGitSha = "e0bbb0ccb60b5d9f4091242dd70ac465f6d14df9";
75476
75476
  const packageVersion = typeof rawPackageVersion === "string" ? rawPackageVersion : void 0;
75477
75477
  const gitSha = typeof rawGitSha === "string" ? rawGitSha : void 0;
75478
75478
  return { packageVersion, gitSha };
@@ -107836,9 +107836,9 @@ var init_sentry = __esm({
107836
107836
  uncaughtExceptionMonitorInstalled = false;
107837
107837
  currentDevboxSentryUser = null;
107838
107838
  readBuildMetadata2 = () => {
107839
- const rawPackageVersion = "1.0.815";
107840
- const rawGitSha = "d62544ad1a74615ddb6ea2a6e98304c5fffbdcfa";
107841
- const rawSentryRelease = "boxes-dev-dvb@1.0.815+d62544ad1a74615ddb6ea2a6e98304c5fffbdcfa";
107839
+ const rawPackageVersion = "1.0.816";
107840
+ const rawGitSha = "e0bbb0ccb60b5d9f4091242dd70ac465f6d14df9";
107841
+ const rawSentryRelease = "boxes-dev-dvb@1.0.816+e0bbb0ccb60b5d9f4091242dd70ac465f6d14df9";
107842
107842
  const packageVersion = typeof rawPackageVersion === "string" ? rawPackageVersion : void 0;
107843
107843
  const gitSha = typeof rawGitSha === "string" ? rawGitSha : void 0;
107844
107844
  const sentryRelease = typeof rawSentryRelease === "string" ? rawSentryRelease : void 0;
@@ -115064,7 +115064,7 @@ var init_packageVersion = __esm({
115064
115064
  return import_node_path20.default.join(process.cwd(), "dvb");
115065
115065
  };
115066
115066
  readEmbeddedPackageVersion = () => {
115067
- const raw = "1.0.815";
115067
+ const raw = "1.0.816";
115068
115068
  return trimVersion(raw);
115069
115069
  };
115070
115070
  readNearestPackageMetadata = (basePath) => {
@@ -130725,14 +130725,27 @@ var init_controlPlane = __esm({
130725
130725
  };
130726
130726
  reportClaudeRuntimeAuthFailureForViewer = async (token, reason) => {
130727
130727
  await withConvexClient(token, async (client) => {
130728
+ const status = await client.query(claudeTokenGet, {});
130729
+ if (typeof status?.updatedAt !== "number") {
130730
+ return;
130731
+ }
130728
130732
  await client.mutation(claudeTokenReportRuntimeAuthFailureForViewer, {
130733
+ credentialUpdatedAt: status.updatedAt,
130734
+ observedAt: Date.now(),
130729
130735
  reason
130730
130736
  });
130731
130737
  });
130732
130738
  };
130733
130739
  reportClaudeRuntimeValidatedForViewer = async (token) => {
130734
130740
  await withConvexClient(token, async (client) => {
130735
- await client.mutation(claudeTokenReportRuntimeValidatedForViewer, {});
130741
+ const status = await client.query(claudeTokenGet, {});
130742
+ if (typeof status?.updatedAt !== "number") {
130743
+ return;
130744
+ }
130745
+ await client.mutation(claudeTokenReportRuntimeValidatedForViewer, {
130746
+ credentialUpdatedAt: status.updatedAt,
130747
+ observedAt: Date.now()
130748
+ });
130736
130749
  });
130737
130750
  };
130738
130751
  fetchCodexAuthCacheStatus = async (token) => {
@@ -209704,4 +209717,4 @@ platform/platform.js:
209704
209717
  */
209705
209718
  //# sourceMappingURL=dvb.cjs.map
209706
209719
 
209707
- //# debugId=502e6549-01df-5b11-ab53-6389a4c3d2b7
209720
+ //# debugId=06267b3f-714c-591f-8a87-530a9daacb8e