@glasstrace/sdk 1.9.1 → 1.10.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.
Files changed (65) hide show
  1. package/dist/async-context/index.cjs +44 -0
  2. package/dist/async-context/index.cjs.map +1 -1
  3. package/dist/async-context/index.js +2 -2
  4. package/dist/{chunk-JHUNLPSS.js → chunk-6RKS3DNA.js} +45 -1
  5. package/dist/{chunk-JHUNLPSS.js.map → chunk-6RKS3DNA.js.map} +1 -1
  6. package/dist/{chunk-HD6JIFKN.js → chunk-BSVWJSVX.js} +2 -2
  7. package/dist/{chunk-QOHKZOKB.js → chunk-D54FMQHF.js} +2 -2
  8. package/dist/chunk-I2DVVSKW.js +419 -0
  9. package/dist/chunk-I2DVVSKW.js.map +1 -0
  10. package/dist/{chunk-H6WJ63X2.js → chunk-M5GO2SSO.js} +2 -2
  11. package/dist/{chunk-2F2MGFLO.js → chunk-OXA4IHQX.js} +39 -405
  12. package/dist/chunk-OXA4IHQX.js.map +1 -0
  13. package/dist/{chunk-QEXRCXSY.js → chunk-OXM2BZMF.js} +2 -2
  14. package/dist/{chunk-M6EWJCAT.js → chunk-QVTONMVZ.js} +2 -2
  15. package/dist/{chunk-DKV53A2C.js → chunk-RL43PU2X.js} +2 -2
  16. package/dist/{chunk-GWIEUBFR.js → chunk-UMGZJYC4.js} +3 -3
  17. package/dist/{chunk-QXITSNYM.js → chunk-XG6WR2KS.js} +3 -3
  18. package/dist/cli/init.cjs +4 -4
  19. package/dist/cli/init.cjs.map +1 -1
  20. package/dist/cli/init.js +7 -7
  21. package/dist/cli/init.js.map +1 -1
  22. package/dist/cli/mcp-add.cjs +1 -1
  23. package/dist/cli/mcp-add.cjs.map +1 -1
  24. package/dist/cli/mcp-add.js +3 -3
  25. package/dist/cli/mcp-add.js.map +1 -1
  26. package/dist/cli/uninit.js +3 -3
  27. package/dist/cli/upgrade-instructions.cjs +1 -1
  28. package/dist/cli/upgrade-instructions.cjs.map +1 -1
  29. package/dist/cli/upgrade-instructions.js +3 -3
  30. package/dist/cli/upgrade-instructions.js.map +1 -1
  31. package/dist/cli/validate.cjs.map +1 -1
  32. package/dist/cli/validate.js +2 -2
  33. package/dist/edge-entry.cjs +44 -0
  34. package/dist/edge-entry.cjs.map +1 -1
  35. package/dist/edge-entry.js +4 -4
  36. package/dist/index.cjs +58 -5
  37. package/dist/index.cjs.map +1 -1
  38. package/dist/index.js +10 -8
  39. package/dist/index.js.map +1 -1
  40. package/dist/middleware/index.cjs +44 -0
  41. package/dist/middleware/index.cjs.map +1 -1
  42. package/dist/middleware/index.js +2 -2
  43. package/dist/node-entry.cjs +58 -5
  44. package/dist/node-entry.cjs.map +1 -1
  45. package/dist/node-entry.js +12 -10
  46. package/dist/node-subpath.cjs.map +1 -1
  47. package/dist/node-subpath.js +3 -3
  48. package/dist/{source-map-uploader-MMJ2WCL4.js → source-map-uploader-CLYCE2TZ.js} +3 -3
  49. package/dist/trpc/index.cjs +15164 -503
  50. package/dist/trpc/index.cjs.map +1 -1
  51. package/dist/trpc/index.d.cts +62 -1
  52. package/dist/trpc/index.d.ts +62 -1
  53. package/dist/trpc/index.js +200 -1
  54. package/dist/trpc/index.js.map +1 -1
  55. package/package.json +1 -1
  56. package/dist/chunk-2F2MGFLO.js.map +0 -1
  57. /package/dist/{chunk-HD6JIFKN.js.map → chunk-BSVWJSVX.js.map} +0 -0
  58. /package/dist/{chunk-QOHKZOKB.js.map → chunk-D54FMQHF.js.map} +0 -0
  59. /package/dist/{chunk-H6WJ63X2.js.map → chunk-M5GO2SSO.js.map} +0 -0
  60. /package/dist/{chunk-QEXRCXSY.js.map → chunk-OXM2BZMF.js.map} +0 -0
  61. /package/dist/{chunk-M6EWJCAT.js.map → chunk-QVTONMVZ.js.map} +0 -0
  62. /package/dist/{chunk-DKV53A2C.js.map → chunk-RL43PU2X.js.map} +0 -0
  63. /package/dist/{chunk-GWIEUBFR.js.map → chunk-UMGZJYC4.js.map} +0 -0
  64. /package/dist/{chunk-QXITSNYM.js.map → chunk-XG6WR2KS.js.map} +0 -0
  65. /package/dist/{source-map-uploader-MMJ2WCL4.js.map → source-map-uploader-CLYCE2TZ.js.map} +0 -0
@@ -8,7 +8,7 @@ import {
8
8
  } from "./chunk-DQ25VOKK.js";
9
9
  import {
10
10
  GLASSTRACE_ATTRIBUTE_NAMES
11
- } from "./chunk-JHUNLPSS.js";
11
+ } from "./chunk-6RKS3DNA.js";
12
12
 
13
13
  // src/async-context/index.ts
14
14
  var ATTR = GLASSTRACE_ATTRIBUTE_NAMES;
@@ -121,4 +121,4 @@ export {
121
121
  _resetForTesting,
122
122
  withAsyncCausality
123
123
  };
124
- //# sourceMappingURL=chunk-QEXRCXSY.js.map
124
+ //# sourceMappingURL=chunk-OXM2BZMF.js.map
@@ -5,7 +5,7 @@ import {
5
5
  PresignedUploadResponseSchema,
6
6
  SourceMapManifestResponseSchema,
7
7
  SourceMapUploadResponseSchema
8
- } from "./chunk-JHUNLPSS.js";
8
+ } from "./chunk-6RKS3DNA.js";
9
9
 
10
10
  // src/source-map-uploader.ts
11
11
  import * as fs from "node:fs/promises";
@@ -331,4 +331,4 @@ export {
331
331
  uploadSourceMapsPresigned,
332
332
  uploadSourceMapsAuto
333
333
  };
334
- //# sourceMappingURL=chunk-M6EWJCAT.js.map
334
+ //# sourceMappingURL=chunk-QVTONMVZ.js.map
@@ -2,7 +2,7 @@ import {
2
2
  AnonApiKeySchema,
3
3
  DevApiKeySchema,
4
4
  createAnonApiKey
5
- } from "./chunk-JHUNLPSS.js";
5
+ } from "./chunk-6RKS3DNA.js";
6
6
  import {
7
7
  __require
8
8
  } from "./chunk-NSBPE2FW.js";
@@ -659,4 +659,4 @@ export {
659
659
  writeMcpMarker,
660
660
  refreshGenericMcpConfigAtRuntime
661
661
  };
662
- //# sourceMappingURL=chunk-DKV53A2C.js.map
662
+ //# sourceMappingURL=chunk-RL43PU2X.js.map
@@ -5,10 +5,10 @@ import {
5
5
  isDevApiKey,
6
6
  readEnvLocalApiKey,
7
7
  writeAndFsyncTempSync
8
- } from "./chunk-DKV53A2C.js";
8
+ } from "./chunk-RL43PU2X.js";
9
9
  import {
10
10
  AnonApiKeySchema
11
- } from "./chunk-JHUNLPSS.js";
11
+ } from "./chunk-6RKS3DNA.js";
12
12
  import {
13
13
  NEXT_CONFIG_NAMES
14
14
  } from "./chunk-NB7GJE4S.js";
@@ -917,4 +917,4 @@ export {
917
917
  writeShutdownMarker,
918
918
  runUninit
919
919
  };
920
- //# sourceMappingURL=chunk-GWIEUBFR.js.map
920
+ //# sourceMappingURL=chunk-UMGZJYC4.js.map
@@ -2,12 +2,12 @@ import {
2
2
  atomicWriteFile,
3
3
  refreshGenericMcpConfigAtRuntime,
4
4
  resolveEffectiveMcpCredential
5
- } from "./chunk-DKV53A2C.js";
5
+ } from "./chunk-RL43PU2X.js";
6
6
  import {
7
7
  DEFAULT_CAPTURE_CONFIG,
8
8
  SdkCachedConfigSchema,
9
9
  SdkInitResponseSchema
10
- } from "./chunk-JHUNLPSS.js";
10
+ } from "./chunk-6RKS3DNA.js";
11
11
  import {
12
12
  __require
13
13
  } from "./chunk-NSBPE2FW.js";
@@ -692,4 +692,4 @@ export {
692
692
  didLastInitSucceed,
693
693
  verifyInitReachable
694
694
  };
695
- //# sourceMappingURL=chunk-QXITSNYM.js.map
695
+ //# sourceMappingURL=chunk-XG6WR2KS.js.map
package/dist/cli/init.cjs CHANGED
@@ -16994,7 +16994,7 @@ async function mcpAdd(options) {
16994
16994
  const bearer = resolved.effective.key;
16995
16995
  for (const agent of targetAgents) {
16996
16996
  const name = formatAgentName(agent.name);
16997
- const sdkVersion = true ? "1.9.1" : "0.0.0-dev";
16997
+ const sdkVersion = true ? "1.10.0" : "0.0.0-dev";
16998
16998
  if (agent.name !== "generic") {
16999
16999
  const cliSuccess = await registerViaCli(agent, bearer);
17000
17000
  if (cliSuccess) {
@@ -17262,7 +17262,7 @@ async function runUpgradeInstructions(options) {
17262
17262
  );
17263
17263
  return { exitCode: 1, refreshed, skipped, warnings, errors };
17264
17264
  }
17265
- const sdkVersion = true ? "1.9.1" : "0.0.0-dev";
17265
+ const sdkVersion = true ? "1.10.0" : "0.0.0-dev";
17266
17266
  for (const agent of agents) {
17267
17267
  if (agent.infoFilePath === null) {
17268
17268
  continue;
@@ -18902,7 +18902,7 @@ Then add this as the first statement in your register() function:
18902
18902
  }
18903
18903
  anyConfigWritten = true;
18904
18904
  anyConfigRewrittenWithBearer = true;
18905
- const sdkVersionForInject = true ? "1.9.1" : "0.0.0-dev";
18905
+ const sdkVersionForInject = true ? "1.10.0" : "0.0.0-dev";
18906
18906
  const infoContent = generateInfoSection(
18907
18907
  agent,
18908
18908
  MCP_ENDPOINT,
@@ -19008,7 +19008,7 @@ async function verifyAnonKeyRegistration(projectRoot) {
19008
19008
  }
19009
19009
  const baseConfig = resolveConfig({ apiKey: devKey });
19010
19010
  const config2 = { ...baseConfig, apiKey: devKey };
19011
- const sdkVersion = true ? "1.9.1" : "0.0.0-dev";
19011
+ const sdkVersion = true ? "1.10.0" : "0.0.0-dev";
19012
19012
  const result = await verifyInitReachable(config2, anonKey, sdkVersion);
19013
19013
  if (result.ok) {
19014
19014
  return { outcome: "verified" };