summaryrefslogtreecommitdiff
path: root/apps/web/src/lib
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2026-04-15 01:00:05 +0200
committerMaze Winther <mazewinther@gmail.com>2026-04-15 01:00:05 +0200
commit1fa5442f211fb06548bc51ea3192b5e0b4ffe614 (patch)
tree884abec94614860efd34eef385d9e66f3f64a504 /apps/web/src/lib
parentdc0a8e7c963823432d8c89b6970ead024f06b091 (diff)
downloadopencut-1fa5442f211fb06548bc51ea3192b5e0b4ffe614.tar.gz
chore: remove debugging throughout codebase
Diffstat (limited to 'apps/web/src/lib')
-rw-r--r--apps/web/src/lib/actions/registry.ts23
1 files changed, 0 insertions, 23 deletions
diff --git a/apps/web/src/lib/actions/registry.ts b/apps/web/src/lib/actions/registry.ts
index c825a5e4..e69b3b9f 100644
--- a/apps/web/src/lib/actions/registry.ts
+++ b/apps/web/src/lib/actions/registry.ts
@@ -57,29 +57,6 @@ export const invokeAction: InvokeActionFunc = <A extends TAction>(
args?: TArgOfAction<A>,
trigger?: TInvocationTrigger,
) => {
- if (trigger === "keypress") {
- // #region agent log
- fetch("http://127.0.0.1:7245/ingest/669b22f8-172b-4e65-aa3f-1c702ede83f7", {
- method: "POST",
- headers: {
- "Content-Type": "application/json",
- "X-Debug-Session-Id": "3997d9",
- },
- body: JSON.stringify({
- sessionId: "3997d9",
- runId: "initial",
- hypothesisId: "H4",
- location: "actions/registry.ts:invokeAction",
- message: "Action invoked from keypress",
- data: {
- action,
- handlerCount: boundActions[action]?.length ?? 0,
- },
- timestamp: Date.now(),
- }),
- }).catch(() => {});
- // #endregion
- }
boundActions[action]?.forEach((handler) => {
handler(args, trigger);
});