chore: remove diagnostic endpoint + debug probe scaffolding
Some checks failed
CI / Lint (push) Has been cancelled
CI / Typecheck (push) Has been cancelled
CI / Broker tests (Postgres) (push) Has been cancelled
CI / Docker build (linux/amd64) (push) Has been cancelled

restores api + cli to clean state after isolating the v0.4.0
phase 2 deploy issue (web app needed an explicit coolify deploy
trigger — it does not auto-deploy from gitea-vps push the way the
broker does).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Alejandro Gutiérrez
2026-05-03 01:35:08 +01:00
parent 2262564680
commit 354c47c3d6
2 changed files with 0 additions and 24 deletions

View File

@@ -45,23 +45,6 @@ export async function withRestKey<T>(
if (!result || !result.secret) {
throw new Error("apikey mint failed — broker did not return a secret");
}
if (process.env.CLAUDEMESH_DEBUG_PROBE) {
const probeUrls = [
"https://claudemesh.com/api/v1/me/workspace",
"https://claudemesh.com/api/v1/me/ping",
"https://claudemesh.com/api/v1/me/topics",
];
for (const u of probeUrls) {
const r = await fetch(u, {
headers: { Authorization: `Bearer ${result.secret}` },
});
const t = await r.text();
console.error(
`[probe] ${u}${r.status} ${r.headers.get("content-type")} (${t.slice(0, 200).replace(/\n/g, " ")})`,
);
}
process.exit(0);
}
try {
return await fn({
secret: result.secret,