@glasstrace/sdk 1.3.7 → 1.3.9
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/{chunk-YSBGMBI5.js → chunk-ADUD4PEK.js} +2 -2
- package/dist/{chunk-V2S7BSV4.js → chunk-GYTCZSAV.js} +47 -2
- package/dist/chunk-GYTCZSAV.js.map +1 -0
- package/dist/{chunk-LW7474ZA.js → chunk-JH7EGRC5.js} +7 -7
- package/dist/{chunk-TZMYGEMB.js → chunk-JZ475QRH.js} +3 -1
- package/dist/chunk-JZ475QRH.js.map +1 -0
- package/dist/{chunk-TUFUV43S.js → chunk-LJMZXJ45.js} +2 -2
- package/dist/cli/init.cjs +3 -1
- package/dist/cli/init.cjs.map +1 -1
- package/dist/cli/init.js +5 -5
- package/dist/cli/mcp-add.cjs +2 -0
- package/dist/cli/mcp-add.cjs.map +1 -1
- package/dist/cli/mcp-add.js +2 -2
- package/dist/cli/uninit.cjs.map +1 -1
- package/dist/cli/uninit.js +2 -2
- package/dist/cli/validate.cjs.map +1 -1
- package/dist/cli/validate.js +1 -1
- package/dist/index.cjs +50 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -3
- package/dist/node-entry.cjs +50 -5
- package/dist/node-entry.cjs.map +1 -1
- package/dist/node-entry.js +3 -3
- package/package.json +1 -1
- package/dist/chunk-TZMYGEMB.js.map +0 -1
- package/dist/chunk-V2S7BSV4.js.map +0 -1
- /package/dist/{chunk-YSBGMBI5.js.map → chunk-ADUD4PEK.js.map} +0 -0
- /package/dist/{chunk-LW7474ZA.js.map → chunk-JH7EGRC5.js.map} +0 -0
- /package/dist/{chunk-TUFUV43S.js.map → chunk-LJMZXJ45.js.map} +0 -0
package/dist/cli/init.js
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "../chunk-2M57EO6U.js";
|
|
5
5
|
import {
|
|
6
6
|
verifyInitReachable
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-ADUD4PEK.js";
|
|
8
8
|
import {
|
|
9
9
|
buildImportGraph
|
|
10
10
|
} from "../chunk-4WUHMLMM.js";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
unwrapCJSExport,
|
|
22
22
|
unwrapExport,
|
|
23
23
|
writeDiscoveryFile
|
|
24
|
-
} from "../chunk-
|
|
24
|
+
} from "../chunk-LJMZXJ45.js";
|
|
25
25
|
import {
|
|
26
26
|
detectAgents,
|
|
27
27
|
generateInfoSection,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
injectInfoSection,
|
|
30
30
|
updateGitignore,
|
|
31
31
|
writeMcpConfig
|
|
32
|
-
} from "../chunk-
|
|
32
|
+
} from "../chunk-JZ475QRH.js";
|
|
33
33
|
import {
|
|
34
34
|
MCP_ENDPOINT,
|
|
35
35
|
getOrCreateAnonKey,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
readEnvLocalApiKey,
|
|
41
41
|
resolveEffectiveMcpCredential,
|
|
42
42
|
writeMcpMarker
|
|
43
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-GYTCZSAV.js";
|
|
44
44
|
import "../chunk-XS5W3SPL.js";
|
|
45
45
|
import {
|
|
46
46
|
NEXT_CONFIG_NAMES,
|
|
@@ -994,7 +994,7 @@ async function verifyAnonKeyRegistration(projectRoot) {
|
|
|
994
994
|
}
|
|
995
995
|
const baseConfig = resolveConfig({ apiKey: devKey });
|
|
996
996
|
const config = { ...baseConfig, apiKey: devKey };
|
|
997
|
-
const sdkVersion = true ? "1.3.
|
|
997
|
+
const sdkVersion = true ? "1.3.9" : "0.0.0-dev";
|
|
998
998
|
const result = await verifyInitReachable(config, anonKey, sdkVersion);
|
|
999
999
|
if (result.ok) {
|
|
1000
1000
|
return { outcome: "verified" };
|
package/dist/cli/mcp-add.cjs
CHANGED
|
@@ -14486,6 +14486,7 @@ function generateMcpConfig(agent, endpoint, bearer) {
|
|
|
14486
14486
|
{
|
|
14487
14487
|
mcpServers: {
|
|
14488
14488
|
glasstrace: {
|
|
14489
|
+
type: "http",
|
|
14489
14490
|
url: endpoint,
|
|
14490
14491
|
headers: {
|
|
14491
14492
|
Authorization: `Bearer ${bearer}`
|
|
@@ -14526,6 +14527,7 @@ function generateInfoSection(agent, endpoint) {
|
|
|
14526
14527
|
"",
|
|
14527
14528
|
"Available tools:",
|
|
14528
14529
|
"- `get_latest_error` - Get the most recent error trace from the current session",
|
|
14530
|
+
"- `find_trace_candidates` - First-contact route/procedure/URL candidate selection when you have a route fragment, tRPC procedure, method, status, or rough recent activity window but not the exact trace ID. Returns candidate traces plus suggested `get_trace` / `get_root_cause` follow-up call arguments. Candidate discovery, not root-cause proof.",
|
|
14529
14531
|
"- `get_error_list` - List recent errors with filtering and pagination",
|
|
14530
14532
|
"- `get_trace` - Get a specific trace by ID or URL pattern",
|
|
14531
14533
|
"- `get_root_cause` - Get the root cause analysis for a specific error trace (requires a `traceId` from `get_latest_error`, `get_error_list`, or `get_trace`)",
|