@winspan/claude-forge 8.25.1 → 8.25.3

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.
@@ -1947,7 +1947,7 @@ function renderTraces() {
1947
1947
 
1948
1948
  return `
1949
1949
  <div style="border:1px solid var(--border);border-radius:var(--radius-sm);padding:1rem;margin-bottom:0.75rem;cursor:pointer;transition:background 0.2s"
1950
- onclick="viewTraceDetails('${t.sessionId}')"
1950
+ onclick="viewTraceDetails(${t.id})"
1951
1951
  onmouseover="this.style.background='var(--bg-secondary)'"
1952
1952
  onmouseout="this.style.background='transparent'">
1953
1953
  <div style="display:flex;justify-content:space-between;align-items:start;margin-bottom:0.5rem">
@@ -1979,13 +1979,14 @@ function filterTraces() {
1979
1979
  renderTraces();
1980
1980
  }
1981
1981
 
1982
- async function viewTraceDetails(sessionId) {
1982
+ async function viewTraceDetails(traceId) {
1983
1983
  try {
1984
- const r = await fetch(API + `/api/execution-trace/${sessionId}`);
1984
+ const r = await fetch(API + `/api/execution-trace/${traceId}`);
1985
1985
  if (!r.ok) throw new Error('Failed to load trace details');
1986
1986
  const data = await r.json();
1987
1987
 
1988
1988
  const routing = data.routing;
1989
+ const sessionId = routing.sessionId;
1989
1990
  const obeyedText = routing.obeyed === 1
1990
1991
  ? '<span class="badge badge-allow">✓ 遵守</span>'
1991
1992
  : routing.obeyed === 0
@@ -1995,7 +1996,7 @@ async function viewTraceDetails(sessionId) {
1995
1996
  const html = `
1996
1997
  <div style="margin-bottom:1.5rem">
1997
1998
  <h3>执行追踪详情</h3>
1998
- <div style="font-size:0.875rem;color:var(--text-dim);margin-top:0.5rem">Session: ${sessionId}</div>
1999
+ <div style="font-size:0.875rem;color:var(--text-dim);margin-top:0.5rem">Trace #${routing.id} · Session: ${sessionId}</div>
1999
2000
  </div>
2000
2001
 
2001
2002
  <div style="margin-bottom:1.5rem">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@winspan/claude-forge",
3
- "version": "8.25.1",
3
+ "version": "8.25.3",
4
4
  "description": "SDLC intelligent orchestration engine for Claude Code",
5
5
  "main": "dist/cli/index.js",
6
6
  "type": "module",