@ait-co/devtools 0.1.67 → 0.1.69
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/chii-relay-BNd3G3UG.js +152 -0
- package/dist/chii-relay-BNd3G3UG.js.map +1 -0
- package/dist/chii-relay-DngjQ2_A.cjs +151 -0
- package/dist/chii-relay-DngjQ2_A.cjs.map +1 -0
- package/dist/in-app/index.d.ts +24 -6
- package/dist/in-app/index.d.ts.map +1 -1
- package/dist/in-app/index.js +27 -8
- package/dist/in-app/index.js.map +1 -1
- package/dist/mcp/cli.js +332 -53
- package/dist/mcp/cli.js.map +1 -1
- package/dist/mcp/server.js +2 -2
- package/dist/mcp/server.js.map +1 -1
- package/dist/panel/index.js +52 -20
- package/dist/panel/index.js.map +1 -1
- package/dist/{qr-http-server-ChC7P6-H.js → qr-http-server-CyVQphTM.js} +213 -30
- package/dist/qr-http-server-CyVQphTM.js.map +1 -0
- package/dist/{qr-http-server-BUfbLGm1.js → qr-http-server-DKEca8J3.js} +213 -30
- package/dist/qr-http-server-DKEca8J3.js.map +1 -0
- package/dist/{qr-http-server-B5YndXcS.cjs → qr-http-server-DR__VNnX.cjs} +213 -30
- package/dist/qr-http-server-DR__VNnX.cjs.map +1 -0
- package/dist/{qr-http-server-DRlwR54D.cjs → qr-http-server-DnQSQ3hC.cjs} +213 -30
- package/dist/qr-http-server-DnQSQ3hC.cjs.map +1 -0
- package/dist/{tunnel-CrlCX5sZ.cjs → tunnel-BMY7KgO5.cjs} +4 -3
- package/dist/{tunnel-CrlCX5sZ.cjs.map → tunnel-BMY7KgO5.cjs.map} +1 -1
- package/dist/{tunnel-BNzbSCfB.js → tunnel-DIN5Vvbo.js} +4 -3
- package/dist/{tunnel-BNzbSCfB.js.map → tunnel-DIN5Vvbo.js.map} +1 -1
- package/dist/unplugin/index.cjs +10 -3
- package/dist/unplugin/index.cjs.map +1 -1
- package/dist/unplugin/index.d.cts.map +1 -1
- package/dist/unplugin/index.d.ts.map +1 -1
- package/dist/unplugin/index.js +10 -3
- package/dist/unplugin/index.js.map +1 -1
- package/dist/unplugin/tunnel.cjs +3 -2
- package/dist/unplugin/tunnel.cjs.map +1 -1
- package/dist/unplugin/tunnel.d.cts.map +1 -1
- package/dist/unplugin/tunnel.d.ts.map +1 -1
- package/dist/unplugin/tunnel.js +3 -2
- package/dist/unplugin/tunnel.js.map +1 -1
- package/package.json +1 -1
- package/dist/chii-relay-57BfqF_5.cjs +0 -88
- package/dist/chii-relay-57BfqF_5.cjs.map +0 -1
- package/dist/chii-relay-itXOz7kS.js +0 -89
- package/dist/chii-relay-itXOz7kS.js.map +0 -1
- package/dist/qr-http-server-B5YndXcS.cjs.map +0 -1
- package/dist/qr-http-server-BUfbLGm1.js.map +0 -1
- package/dist/qr-http-server-ChC7P6-H.js.map +0 -1
- package/dist/qr-http-server-DRlwR54D.cjs.map +0 -1
package/dist/mcp/server.js
CHANGED
|
@@ -470,7 +470,7 @@ new Set([
|
|
|
470
470
|
},
|
|
471
471
|
{
|
|
472
472
|
name: "get_debug_status",
|
|
473
|
-
description: "Reports the current debug session state — which environment/mode is active, whether a page is attached, and a full diagnostic snapshot — in one call. Use this any time to answer \"what mode am I in right now?\" or \"why is this not working?\" without chaining tools. Fields: mcpVersion (MCP SDK version), devtoolsVersion (@ait-co/devtools package version), tunnel (up/wssUrl/pid/startedAt), pages (list_pages result + lastSeenAt stats), lastAttachAt, lastDetachAt, recentErrors (last N server-side errors, PII/secret redacted), environment (kind: mock|relay-dev|relay-live|relay-mobile, env: mock|relay backward-compat, reason, liveGuardActive: true when relay-live LIVE guard is active), serverLockHolder (pid + startedAt from the lock file, or null), nextRecommendedAction ({tool, reason} or null — the single next tool to call; in local-target mode tunnel.up=false is normal so \"restart\" is never recommended). All fields are nullable — missing data is null, not an error. debug-mode only — dev-mode (--mode=dev) does not support relay diagnostics. Tier C (both mock and relay).",
|
|
473
|
+
description: "Reports the current debug session state — which environment/mode is active, whether a page is attached, and a full diagnostic snapshot — in one call. Use this any time to answer \"what mode am I in right now?\" or \"why is this not working?\" without chaining tools. Fields: mcpVersion (MCP SDK version), devtoolsVersion (@ait-co/devtools package version), tunnel (up/wssUrl/pid/startedAt), pages (list_pages result + lastSeenAt stats), lastAttachAt, lastDetachAt, recentErrors (last N server-side errors, PII/secret redacted), authRejects ({count, lastAt} — relay TOTP 401 rejections, secret-free; count > 0 with empty pages means the phone reached the relay but its code was rejected), environment (kind: mock|relay-dev|relay-live|relay-mobile, env: mock|relay backward-compat, reason, liveGuardActive: true when relay-live LIVE guard is active), serverLockHolder (pid + startedAt from the lock file, or null), nextRecommendedAction ({tool, reason} or null — the single next tool to call; in local-target mode tunnel.up=false is normal so \"restart\" is never recommended). All fields are nullable — missing data is null, not an error. debug-mode only — dev-mode (--mode=dev) does not support relay diagnostics. Tier C (both mock and relay).",
|
|
474
474
|
inputSchema: {
|
|
475
475
|
type: "object",
|
|
476
476
|
properties: { recent_errors_limit: {
|
|
@@ -964,7 +964,7 @@ function createDevServer(deps = {}) {
|
|
|
964
964
|
const aitSource = deps.aitSource ?? new HttpAitSource({ stateEndpoint });
|
|
965
965
|
const server = new Server({
|
|
966
966
|
name: "ait-devtools",
|
|
967
|
-
version: "0.1.
|
|
967
|
+
version: "0.1.69"
|
|
968
968
|
}, { capabilities: { tools: {} } });
|
|
969
969
|
server.setRequestHandler(ListToolsRequestSchema, () => ({ tools: DEV_TOOL_DEFINITIONS.map((tool) => ({ ...tool })) }));
|
|
970
970
|
server.setRequestHandler(CallToolRequestSchema, async (request) => {
|