@glasstrace/sdk 1.16.0 → 1.18.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/README.md +44 -3
- package/dist/async-context/index.cjs.map +1 -1
- package/dist/async-context/index.js +2 -2
- package/dist/{capture-error-B0txjNut.d.cts → capture-error-B8qiXFeC.d.cts} +2 -2
- package/dist/{capture-error-Dc01rYNR.d.ts → capture-error-BTI6mCH2.d.ts} +2 -2
- package/dist/{chunk-WOYJAG7H.js → chunk-BJOZBAP7.js} +3 -3
- package/dist/{chunk-AFTCLH77.js → chunk-CN5EP25B.js} +2 -2
- package/dist/{chunk-KM4UNN3Q.js → chunk-EVX6D2TX.js} +2 -2
- package/dist/{chunk-BGJKEFBN.js → chunk-M3QGJUEI.js} +2 -2
- package/dist/{chunk-GBVMPMVV.js → chunk-MKT54VEH.js} +2 -2
- package/dist/{chunk-GBVMPMVV.js.map → chunk-MKT54VEH.js.map} +1 -1
- package/dist/{chunk-OHSX224U.js → chunk-O7IJP2TQ.js} +2 -2
- package/dist/{chunk-T7B752NF.js → chunk-SONZOTBP.js} +11 -3
- package/dist/{chunk-T7B752NF.js.map → chunk-SONZOTBP.js.map} +1 -1
- package/dist/{chunk-774XIOZG.js → chunk-UOAG72NR.js} +2 -2
- package/dist/{chunk-DW3CZDS6.js → chunk-YKE6HJLW.js} +2 -2
- package/dist/{chunk-EWW3TZ52.js → chunk-Z2DSC3YI.js} +61 -11
- package/dist/{chunk-EWW3TZ52.js.map → chunk-Z2DSC3YI.js.map} +1 -1
- 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/{correlation-id-CelUvw7j.d.cts → correlation-id-CClOq8Wn.d.cts} +1 -1
- package/dist/{correlation-id-B9YYmoZw.d.ts → correlation-id-Ct86Ug4s.d.ts} +1 -1
- package/dist/edge-entry.cjs.map +1 -1
- package/dist/edge-entry.d.cts +2 -2
- package/dist/edge-entry.d.ts +2 -2
- package/dist/edge-entry.js +4 -4
- package/dist/{import-graph-Dka_Fm7j.d.ts → import-graph-DZjTJdJ5.d.ts} +1 -1
- package/dist/{import-graph-DBLGNjcI.d.cts → import-graph-DyQfZU2f.d.cts} +1 -1
- package/dist/index.cjs +202 -7
- package/dist/index.cjs.map +1 -1
- package/dist/{index.d-3-cJoY8y.d.cts → index.d-DhatN7mq.d.cts} +1 -1
- package/dist/{index.d-3-cJoY8y.d.ts → index.d-DhatN7mq.d.ts} +1 -1
- package/dist/index.d.cts +243 -5
- package/dist/index.d.ts +243 -5
- package/dist/index.js +151 -6
- package/dist/index.js.map +1 -1
- package/dist/middleware/index.cjs.map +1 -1
- package/dist/middleware/index.js +2 -2
- package/dist/node-entry.cjs +5 -5
- package/dist/node-entry.cjs.map +1 -1
- package/dist/node-entry.d.cts +4 -4
- package/dist/node-entry.d.ts +4 -4
- package/dist/node-entry.js +7 -7
- package/dist/node-subpath.cjs.map +1 -1
- package/dist/node-subpath.d.cts +2 -2
- package/dist/node-subpath.d.ts +2 -2
- package/dist/node-subpath.js +3 -3
- package/dist/{source-map-uploader-UJPZCUFN.js → source-map-uploader-U7SLSKIZ.js} +3 -3
- package/dist/trpc/index.cjs.map +1 -1
- package/dist/trpc/index.js +1 -1
- package/package.json +1 -1
- /package/dist/{chunk-WOYJAG7H.js.map → chunk-BJOZBAP7.js.map} +0 -0
- /package/dist/{chunk-AFTCLH77.js.map → chunk-CN5EP25B.js.map} +0 -0
- /package/dist/{chunk-KM4UNN3Q.js.map → chunk-EVX6D2TX.js.map} +0 -0
- /package/dist/{chunk-BGJKEFBN.js.map → chunk-M3QGJUEI.js.map} +0 -0
- /package/dist/{chunk-OHSX224U.js.map → chunk-O7IJP2TQ.js.map} +0 -0
- /package/dist/{chunk-774XIOZG.js.map → chunk-UOAG72NR.js.map} +0 -0
- /package/dist/{chunk-DW3CZDS6.js.map → chunk-YKE6HJLW.js.map} +0 -0
- /package/dist/{source-map-uploader-UJPZCUFN.js.map → source-map-uploader-U7SLSKIZ.js.map} +0 -0
package/dist/cli/mcp-add.js
CHANGED
|
@@ -10,8 +10,8 @@ import {
|
|
|
10
10
|
readMcpMarker,
|
|
11
11
|
resolveEffectiveMcpCredential,
|
|
12
12
|
writeMcpMarker
|
|
13
|
-
} from "../chunk-
|
|
14
|
-
import "../chunk-
|
|
13
|
+
} from "../chunk-UOAG72NR.js";
|
|
14
|
+
import "../chunk-MKT54VEH.js";
|
|
15
15
|
import {
|
|
16
16
|
formatAgentName
|
|
17
17
|
} from "../chunk-NB7GJE4S.js";
|
|
@@ -230,7 +230,7 @@ async function mcpAdd(options) {
|
|
|
230
230
|
);
|
|
231
231
|
const dispatchSetMcpAdd = detectedNonGenericMcpAdd.length === 0 ? agentsWithMcpReady : nonGenericReadyMcpAdd;
|
|
232
232
|
if (dispatchSetMcpAdd.length > 0) {
|
|
233
|
-
const sdkVersion = true ? "1.
|
|
233
|
+
const sdkVersion = true ? "1.18.0" : "0.0.0-dev";
|
|
234
234
|
try {
|
|
235
235
|
await injectAllTargets(
|
|
236
236
|
dispatchSetMcpAdd,
|
package/dist/cli/uninit.js
CHANGED
|
@@ -12,9 +12,9 @@ import {
|
|
|
12
12
|
unwrapCJSExport,
|
|
13
13
|
unwrapExport,
|
|
14
14
|
writeShutdownMarker
|
|
15
|
-
} from "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
15
|
+
} from "../chunk-BJOZBAP7.js";
|
|
16
|
+
import "../chunk-UOAG72NR.js";
|
|
17
|
+
import "../chunk-MKT54VEH.js";
|
|
18
18
|
import "../chunk-NB7GJE4S.js";
|
|
19
19
|
import "../chunk-YIEXKQYP.js";
|
|
20
20
|
import "../chunk-NSBPE2FW.js";
|
|
@@ -672,7 +672,7 @@ async function runUpgradeInstructions(options) {
|
|
|
672
672
|
);
|
|
673
673
|
return { exitCode: 1, refreshed, skipped, warnings, errors };
|
|
674
674
|
}
|
|
675
|
-
const sdkVersion = true ? "1.
|
|
675
|
+
const sdkVersion = true ? "1.18.0" : "0.0.0-dev";
|
|
676
676
|
const optedInAgents = [];
|
|
677
677
|
for (const agent of agents) {
|
|
678
678
|
if (agent.infoFilePath === null) {
|
|
@@ -5,8 +5,8 @@ import {
|
|
|
5
5
|
} from "../chunk-3A25EBAC.js";
|
|
6
6
|
import {
|
|
7
7
|
MCP_ENDPOINT
|
|
8
|
-
} from "../chunk-
|
|
9
|
-
import "../chunk-
|
|
8
|
+
} from "../chunk-UOAG72NR.js";
|
|
9
|
+
import "../chunk-MKT54VEH.js";
|
|
10
10
|
import {
|
|
11
11
|
hasManagedSection
|
|
12
12
|
} from "../chunk-YIEXKQYP.js";
|
|
@@ -67,7 +67,7 @@ async function runUpgradeInstructions(options) {
|
|
|
67
67
|
);
|
|
68
68
|
return { exitCode: 1, refreshed, skipped, warnings, errors };
|
|
69
69
|
}
|
|
70
|
-
const sdkVersion = true ? "1.
|
|
70
|
+
const sdkVersion = true ? "1.18.0" : "0.0.0-dev";
|
|
71
71
|
const optedInAgents = [];
|
|
72
72
|
for (const agent of agents) {
|
|
73
73
|
if (agent.infoFilePath === null) {
|