@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.
- package/dist/agents/official-agents.d.ts +0 -10
- package/dist/agents/official-agents.d.ts.map +1 -1
- package/dist/agents/official-agents.js +101 -58
- package/dist/agents/official-agents.js.map +1 -1
- package/dist/daemon/handlers/user-prompt.js +2 -2
- package/dist/daemon/handlers/user-prompt.js.map +1 -1
- package/dist/engine/agent-router.d.ts +1 -1
- package/dist/engine/agent-router.d.ts.map +1 -1
- package/dist/engine/agent-router.js.map +1 -1
- package/dist/engine/conventions/routing.yaml +90 -12
- package/dist/engine/recommender.d.ts.map +1 -1
- package/dist/engine/recommender.js +4 -1
- package/dist/engine/recommender.js.map +1 -1
- package/dist/intelligence/classifier.d.ts +1 -1
- package/dist/intelligence/classifier.d.ts.map +1 -1
- package/dist/intelligence/classifier.js +16 -2
- package/dist/intelligence/classifier.js.map +1 -1
- package/dist/web/server.d.ts.map +1 -1
- package/dist/web/server.js +16 -9
- package/dist/web/server.js.map +1 -1
- package/dist/web/static/index.html +5 -4
- package/package.json +1 -1
|
@@ -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(
|
|
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(
|
|
1982
|
+
async function viewTraceDetails(traceId) {
|
|
1983
1983
|
try {
|
|
1984
|
-
const r = await fetch(API + `/api/execution-trace/${
|
|
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">
|