repoburg 1.3.324 → 1.3.326
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/agent-pane/backend/dist/index.js +18 -0
- package/agent-pane/backend/dist/server.js +18 -0
- package/agent-pane/frontend/dist/assets/{TerminalView-DQaRNqT-.js → TerminalView-DhSqcUfd.js} +1 -1
- package/agent-pane/frontend/dist/assets/{index-kBNaARow.js → index-7TAUiBlb.js} +97 -97
- package/agent-pane/frontend/dist/index.html +1 -1
- package/daemon/dist/index.js +10 -2
- package/daemon/dist/telemetry/clientRoute.js +44 -0
- package/daemon/dist/telemetry/index.js +182 -0
- package/daemon/dist/telemetry/inflight.js +69 -0
- package/daemon/dist/telemetry/logCapture.js +95 -0
- package/daemon/dist/telemetry/pm2Logs.js +160 -0
- package/daemon/dist/telemetry/redact.js +40 -0
- package/daemon/dist/telemetry/reporter.js +214 -0
- package/daemon/dist/telemetry/requestWatch.js +105 -0
- package/daemon/dist/telemetry/telemetry.spec.js +356 -0
- package/package.json +1 -1
- package/tabtape/extension/dist/build-info.json +3 -3
- package/tabtape/extension/dist/manifest.json +1 -1
- package/tabtape/ui/dist/build-info.json +3 -3
|
@@ -122527,6 +122527,7 @@ function clearResume(entry) {
|
|
|
122527
122527
|
entry.resume = null;
|
|
122528
122528
|
}
|
|
122529
122529
|
function pushPrompt(entry, content) {
|
|
122530
|
+
entry.echoPendingTurnId = entry.turnId ?? null;
|
|
122530
122531
|
entry.promptQueue.push({
|
|
122531
122532
|
type: "user",
|
|
122532
122533
|
message: { role: "user", content },
|
|
@@ -122792,6 +122793,7 @@ async function ensureSessionStarted(session, mapKey, resumeSessionId, resume, ad
|
|
|
122792
122793
|
return entry;
|
|
122793
122794
|
}
|
|
122794
122795
|
async function dispatchFrame(entry, sessionId, message, db2, opts = {}) {
|
|
122796
|
+
if (skipsForeignResult(entry, message)) return;
|
|
122795
122797
|
trackIdle(entry, message);
|
|
122796
122798
|
if (isBackgroundTasksChanged(message)) {
|
|
122797
122799
|
handleBackgroundTasksChanged(message, sessionId, entry);
|
|
@@ -122811,6 +122813,7 @@ async function dispatchFrame(entry, sessionId, message, db2, opts = {}) {
|
|
|
122811
122813
|
handlePeerMessage(entry, sessionId, message, peer, db2);
|
|
122812
122814
|
return;
|
|
122813
122815
|
}
|
|
122816
|
+
if (isOwnEcho(message)) entry.echoPendingTurnId = null;
|
|
122814
122817
|
if (entry.selfStarted && isModelFrame(message)) reopenForFollowUp(entry, sessionId, db2);
|
|
122815
122818
|
const currentTurnId = entry.turnId;
|
|
122816
122819
|
if (!currentTurnId) {
|
|
@@ -122820,6 +122823,7 @@ async function dispatchFrame(entry, sessionId, message, db2, opts = {}) {
|
|
|
122820
122823
|
if (entry.resume && !trackResumeFrame(entry, message, db2)) return;
|
|
122821
122824
|
if (message.type === "result" && !message.parent_tool_use_id) {
|
|
122822
122825
|
entry.resultTurnId = currentTurnId;
|
|
122826
|
+
entry.echoPendingTurnId = null;
|
|
122823
122827
|
}
|
|
122824
122828
|
if (opts.awaitResult && message.type === "result") {
|
|
122825
122829
|
await handleResultMessage(message, sessionId, currentTurnId, entry, db2);
|
|
@@ -122827,6 +122831,19 @@ async function dispatchFrame(entry, sessionId, message, db2, opts = {}) {
|
|
|
122827
122831
|
}
|
|
122828
122832
|
await handleMessage(message, sessionId, currentTurnId, entry, db2);
|
|
122829
122833
|
}
|
|
122834
|
+
function isOwnEcho(message) {
|
|
122835
|
+
if (message.type !== "user") return false;
|
|
122836
|
+
const m = message;
|
|
122837
|
+
if (!m.isReplay || m.parent_tool_use_id) return false;
|
|
122838
|
+
return !m.origin || m.origin.kind === "human";
|
|
122839
|
+
}
|
|
122840
|
+
function skipsForeignResult(entry, message) {
|
|
122841
|
+
if (message.type !== "result" || !entry.turnId || entry.echoPendingTurnId !== entry.turnId) return false;
|
|
122842
|
+
const m = message;
|
|
122843
|
+
if (m.parent_tool_use_id || !m.origin?.kind || m.origin.kind === "human") return false;
|
|
122844
|
+
bindHostTurn2(entry, entry.turnId);
|
|
122845
|
+
return true;
|
|
122846
|
+
}
|
|
122830
122847
|
function isTurnLive2(db2, turnId) {
|
|
122831
122848
|
const row = db2.prepare("SELECT status FROM turns WHERE id = ?").get(turnId);
|
|
122832
122849
|
return row?.status === "pending" || row?.status === "running";
|
|
@@ -122862,6 +122879,7 @@ function handleSessionState(entry, state, db2) {
|
|
|
122862
122879
|
entry.selfStarted = !entry.resume && !turnInProgress(entry, db2);
|
|
122863
122880
|
} else if (state === "idle") {
|
|
122864
122881
|
entry.selfStarted = false;
|
|
122882
|
+
entry.echoPendingTurnId = null;
|
|
122865
122883
|
}
|
|
122866
122884
|
}
|
|
122867
122885
|
function handlePeerMessage(entry, sessionId, message, origin, db2) {
|
|
@@ -122540,6 +122540,7 @@ function clearResume(entry) {
|
|
|
122540
122540
|
entry.resume = null;
|
|
122541
122541
|
}
|
|
122542
122542
|
function pushPrompt(entry, content) {
|
|
122543
|
+
entry.echoPendingTurnId = entry.turnId ?? null;
|
|
122543
122544
|
entry.promptQueue.push({
|
|
122544
122545
|
type: "user",
|
|
122545
122546
|
message: { role: "user", content },
|
|
@@ -122805,6 +122806,7 @@ async function ensureSessionStarted(session, mapKey, resumeSessionId, resume, ad
|
|
|
122805
122806
|
return entry;
|
|
122806
122807
|
}
|
|
122807
122808
|
async function dispatchFrame(entry, sessionId, message, db2, opts = {}) {
|
|
122809
|
+
if (skipsForeignResult(entry, message)) return;
|
|
122808
122810
|
trackIdle(entry, message);
|
|
122809
122811
|
if (isBackgroundTasksChanged(message)) {
|
|
122810
122812
|
handleBackgroundTasksChanged(message, sessionId, entry);
|
|
@@ -122824,6 +122826,7 @@ async function dispatchFrame(entry, sessionId, message, db2, opts = {}) {
|
|
|
122824
122826
|
handlePeerMessage(entry, sessionId, message, peer, db2);
|
|
122825
122827
|
return;
|
|
122826
122828
|
}
|
|
122829
|
+
if (isOwnEcho(message)) entry.echoPendingTurnId = null;
|
|
122827
122830
|
if (entry.selfStarted && isModelFrame(message)) reopenForFollowUp(entry, sessionId, db2);
|
|
122828
122831
|
const currentTurnId = entry.turnId;
|
|
122829
122832
|
if (!currentTurnId) {
|
|
@@ -122833,6 +122836,7 @@ async function dispatchFrame(entry, sessionId, message, db2, opts = {}) {
|
|
|
122833
122836
|
if (entry.resume && !trackResumeFrame(entry, message, db2)) return;
|
|
122834
122837
|
if (message.type === "result" && !message.parent_tool_use_id) {
|
|
122835
122838
|
entry.resultTurnId = currentTurnId;
|
|
122839
|
+
entry.echoPendingTurnId = null;
|
|
122836
122840
|
}
|
|
122837
122841
|
if (opts.awaitResult && message.type === "result") {
|
|
122838
122842
|
await handleResultMessage(message, sessionId, currentTurnId, entry, db2);
|
|
@@ -122840,6 +122844,19 @@ async function dispatchFrame(entry, sessionId, message, db2, opts = {}) {
|
|
|
122840
122844
|
}
|
|
122841
122845
|
await handleMessage(message, sessionId, currentTurnId, entry, db2);
|
|
122842
122846
|
}
|
|
122847
|
+
function isOwnEcho(message) {
|
|
122848
|
+
if (message.type !== "user") return false;
|
|
122849
|
+
const m = message;
|
|
122850
|
+
if (!m.isReplay || m.parent_tool_use_id) return false;
|
|
122851
|
+
return !m.origin || m.origin.kind === "human";
|
|
122852
|
+
}
|
|
122853
|
+
function skipsForeignResult(entry, message) {
|
|
122854
|
+
if (message.type !== "result" || !entry.turnId || entry.echoPendingTurnId !== entry.turnId) return false;
|
|
122855
|
+
const m = message;
|
|
122856
|
+
if (m.parent_tool_use_id || !m.origin?.kind || m.origin.kind === "human") return false;
|
|
122857
|
+
bindHostTurn2(entry, entry.turnId);
|
|
122858
|
+
return true;
|
|
122859
|
+
}
|
|
122843
122860
|
function isTurnLive2(db2, turnId) {
|
|
122844
122861
|
const row = db2.prepare("SELECT status FROM turns WHERE id = ?").get(turnId);
|
|
122845
122862
|
return row?.status === "pending" || row?.status === "running";
|
|
@@ -122875,6 +122892,7 @@ function handleSessionState(entry, state, db2) {
|
|
|
122875
122892
|
entry.selfStarted = !entry.resume && !turnInProgress(entry, db2);
|
|
122876
122893
|
} else if (state === "idle") {
|
|
122877
122894
|
entry.selfStarted = false;
|
|
122895
|
+
entry.echoPendingTurnId = null;
|
|
122878
122896
|
}
|
|
122879
122897
|
}
|
|
122880
122898
|
function handlePeerMessage(entry, sessionId, message, origin, db2) {
|
package/agent-pane/frontend/dist/assets/{TerminalView-DQaRNqT-.js → TerminalView-DhSqcUfd.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var en=Object.defineProperty;var tn=(e,t,i)=>t in e?en(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i;var Ye=(e,t,i)=>tn(e,typeof t!="symbol"?t+"":t,i);import{c as sn,b as rn,u as gi,r as lt,j as Ee,R as nn,X as on}from"./index-
|
|
1
|
+
var en=Object.defineProperty;var tn=(e,t,i)=>t in e?en(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i;var Ye=(e,t,i)=>tn(e,typeof t!="symbol"?t+"":t,i);import{c as sn,b as rn,u as gi,r as lt,j as Ee,R as nn,X as on}from"./index-7TAUiBlb.js";/**
|
|
2
2
|
* @license lucide-react v0.469.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|