@glasstrace/sdk 1.6.0 → 1.7.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 +13 -1
- package/dist/{chunk-D3QXU2VM.js → chunk-KI7YJ7XD.js} +2 -2
- package/dist/{chunk-D3QXU2VM.js.map → chunk-KI7YJ7XD.js.map} +1 -1
- package/dist/{chunk-ZU5XO77C.js → chunk-OWPA7GHV.js} +6 -6
- package/dist/cli/init.cjs +22 -6
- package/dist/cli/init.cjs.map +1 -1
- package/dist/cli/init.d.cts +13 -1
- package/dist/cli/init.d.ts +13 -1
- package/dist/cli/init.js +19 -4
- package/dist/cli/init.js.map +1 -1
- package/dist/cli/mcp-add.cjs +2 -2
- package/dist/cli/mcp-add.cjs.map +1 -1
- package/dist/cli/mcp-add.js +2 -2
- package/dist/cli/upgrade-instructions.cjs +2 -2
- package/dist/cli/upgrade-instructions.cjs.map +1 -1
- package/dist/cli/upgrade-instructions.js +2 -2
- package/dist/index.cjs +5 -5
- package/dist/index.js +1 -1
- package/dist/node-entry.cjs +5 -5
- package/dist/node-entry.js +1 -1
- package/package.json +2 -2
- /package/dist/{chunk-ZU5XO77C.js.map → chunk-OWPA7GHV.js.map} +0 -0
package/dist/cli/mcp-add.cjs
CHANGED
|
@@ -14553,7 +14553,7 @@ function generateInfoSection(agent, endpoint, sdkVersion) {
|
|
|
14553
14553
|
"- `get_error_list` - List recent errors with filtering and pagination",
|
|
14554
14554
|
"- `get_trace` - Get a specific trace by ID or URL pattern",
|
|
14555
14555
|
"- `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`)",
|
|
14556
|
-
"- `get_test_suggestions` - Get test suggestions
|
|
14556
|
+
"- `get_test_suggestions` - Get test suggestions for a specific error trace (requires a `traceId` from `get_latest_error`, `get_error_list`, or `get_trace`)",
|
|
14557
14557
|
"- `get_session_timeline` - Get the timeline of all traces in the current session",
|
|
14558
14558
|
"",
|
|
14559
14559
|
"To refresh this managed section after a `@glasstrace/sdk` upgrade, run: `npx glasstrace upgrade-instructions`. To reconfigure MCP credentials, run: `npx glasstrace mcp add`.",
|
|
@@ -14929,7 +14929,7 @@ async function mcpAdd(options) {
|
|
|
14929
14929
|
const bearer = resolved.effective.key;
|
|
14930
14930
|
for (const agent of targetAgents) {
|
|
14931
14931
|
const name = formatAgentName(agent.name);
|
|
14932
|
-
const sdkVersion = true ? "1.
|
|
14932
|
+
const sdkVersion = true ? "1.7.0" : "0.0.0-dev";
|
|
14933
14933
|
if (agent.name !== "generic") {
|
|
14934
14934
|
const cliSuccess = await registerViaCli(agent, bearer);
|
|
14935
14935
|
if (cliSuccess) {
|