@glasstrace/sdk 1.8.0 → 1.9.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/dist/async-context/index.cjs +15005 -0
- package/dist/async-context/index.cjs.map +1 -0
- package/dist/async-context/index.d.cts +174 -0
- package/dist/async-context/index.d.ts +174 -0
- package/dist/async-context/index.js +13 -0
- package/dist/{capture-error-Dzz7_-v4.d.ts → capture-error-BeuEXXJO.d.cts} +2 -2
- package/dist/{capture-error-C95zvSvF.d.cts → capture-error-D02pzB7q.d.ts} +2 -2
- package/dist/chunk-CL3OVHPO.js +23 -0
- package/dist/chunk-CL3OVHPO.js.map +1 -0
- package/dist/{chunk-WL6BXEJ5.js → chunk-DKV53A2C.js} +2 -2
- package/dist/{chunk-3PJP5Y3U.js → chunk-GWIEUBFR.js} +3 -3
- package/dist/{chunk-H57MQGNU.js → chunk-H6WJ63X2.js} +2 -2
- package/dist/{chunk-NN5YCETI.js → chunk-HD6JIFKN.js} +2 -2
- package/dist/{chunk-P45NZR4J.js → chunk-JHUNLPSS.js} +35 -1
- package/dist/{chunk-P45NZR4J.js.map → chunk-JHUNLPSS.js.map} +1 -1
- package/dist/{chunk-UQKI476D.js → chunk-M6EWJCAT.js} +2 -2
- package/dist/chunk-QHV7NFON.js +130 -0
- package/dist/chunk-QHV7NFON.js.map +1 -0
- package/dist/{chunk-M2TLX6NM.js → chunk-QXITSNYM.js} +3 -3
- package/dist/chunk-RQ5BIWDT.js +119 -0
- package/dist/chunk-RQ5BIWDT.js.map +1 -0
- package/dist/{chunk-JJL2M64Z.js → chunk-XEPC4NFL.js} +19 -10
- package/dist/chunk-XEPC4NFL.js.map +1 -0
- package/dist/cli/init.cjs +4 -4
- package/dist/cli/init.cjs.map +1 -1
- package/dist/cli/init.js +7 -7
- package/dist/cli/mcp-add.cjs +1 -1
- package/dist/cli/mcp-add.cjs.map +1 -1
- package/dist/cli/mcp-add.js +3 -3
- package/dist/cli/uninit.js +3 -3
- package/dist/cli/upgrade-instructions.cjs +1 -1
- package/dist/cli/upgrade-instructions.js +3 -3
- package/dist/cli/validate.cjs.map +1 -1
- package/dist/cli/validate.js +2 -2
- package/dist/{edge-entry-AWO70gje.d.ts → correlation-id-B_K8adD6.d.ts} +1 -1
- package/dist/{edge-entry-DaeG7D7S.d.cts → correlation-id-NAapJ5jn.d.cts} +1 -1
- package/dist/edge-entry.cjs +295 -26
- package/dist/edge-entry.cjs.map +1 -1
- package/dist/edge-entry.d.cts +5 -2
- package/dist/edge-entry.d.ts +5 -2
- package/dist/edge-entry.js +12 -3
- package/dist/index.cjs +55 -5
- package/dist/index.cjs.map +1 -1
- package/dist/{index.d-Dq33YwFT.d.cts → index.d-CkTf_boH.d.cts} +1 -1
- package/dist/{index.d-Dq33YwFT.d.ts → index.d-CkTf_boH.d.ts} +1 -1
- package/dist/index.d.cts +7 -4
- package/dist/index.d.ts +7 -4
- package/dist/index.js +6 -5
- package/dist/index.js.map +1 -1
- package/dist/middleware/index.cjs +15014 -0
- package/dist/middleware/index.cjs.map +1 -0
- package/dist/middleware/index.d.cts +183 -0
- package/dist/middleware/index.d.ts +183 -0
- package/dist/middleware/index.js +13 -0
- package/dist/middleware/index.js.map +1 -0
- package/dist/node-entry.cjs +55 -5
- package/dist/node-entry.cjs.map +1 -1
- package/dist/node-entry.d.cts +3 -3
- package/dist/node-entry.d.ts +3 -3
- package/dist/node-entry.js +8 -7
- package/dist/node-subpath.cjs.map +1 -1
- package/dist/node-subpath.d.cts +1 -1
- package/dist/node-subpath.d.ts +1 -1
- package/dist/node-subpath.js +3 -3
- package/dist/{source-map-uploader-XFUEVV7I.js → source-map-uploader-MMJ2WCL4.js} +3 -3
- package/dist/source-map-uploader-MMJ2WCL4.js.map +1 -0
- package/package.json +13 -1
- package/dist/chunk-JJL2M64Z.js.map +0 -1
- /package/dist/{source-map-uploader-XFUEVV7I.js.map → async-context/index.js.map} +0 -0
- /package/dist/{chunk-WL6BXEJ5.js.map → chunk-DKV53A2C.js.map} +0 -0
- /package/dist/{chunk-3PJP5Y3U.js.map → chunk-GWIEUBFR.js.map} +0 -0
- /package/dist/{chunk-H57MQGNU.js.map → chunk-H6WJ63X2.js.map} +0 -0
- /package/dist/{chunk-NN5YCETI.js.map → chunk-HD6JIFKN.js.map} +0 -0
- /package/dist/{chunk-UQKI476D.js.map → chunk-M6EWJCAT.js.map} +0 -0
- /package/dist/{chunk-M2TLX6NM.js.map → chunk-QXITSNYM.js.map} +0 -0
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.
|
|
16997
|
+
const sdkVersion = true ? "1.9.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.
|
|
17265
|
+
const sdkVersion = true ? "1.9.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.
|
|
18905
|
+
const sdkVersionForInject = true ? "1.9.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.
|
|
19011
|
+
const sdkVersion = true ? "1.9.0" : "0.0.0-dev";
|
|
19012
19012
|
const result = await verifyInitReachable(config2, anonKey, sdkVersion);
|
|
19013
19013
|
if (result.ok) {
|
|
19014
19014
|
return { outcome: "verified" };
|