@ait-co/devtools 0.1.58 → 0.1.59
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/deeplink-BONXxWEO.cjs +44 -0
- package/dist/deeplink-BONXxWEO.cjs.map +1 -0
- package/dist/deeplink-CCGiyoHq.cjs +44 -0
- package/dist/deeplink-CCGiyoHq.cjs.map +1 -0
- package/dist/deeplink-CaO6hZVG.js +44 -0
- package/dist/deeplink-CaO6hZVG.js.map +1 -0
- package/dist/deeplink-Cqli4qzm.js +44 -0
- package/dist/deeplink-Cqli4qzm.js.map +1 -0
- package/dist/devtools-opener-BbUXBzgA.js +65 -0
- package/dist/devtools-opener-BbUXBzgA.js.map +1 -0
- package/dist/devtools-opener-Bp671YXu.cjs +62 -0
- package/dist/devtools-opener-Bp671YXu.cjs.map +1 -0
- package/dist/devtools-opener-D84kZFtR.js +65 -0
- package/dist/devtools-opener-D84kZFtR.js.map +1 -0
- package/dist/devtools-opener-h6A-UjzC.cjs +62 -0
- package/dist/devtools-opener-h6A-UjzC.cjs.map +1 -0
- package/dist/mcp/cli.js +860 -403
- package/dist/mcp/cli.js.map +1 -1
- package/dist/mcp/server.js +1 -1
- package/dist/panel/index.d.ts +15 -9
- package/dist/panel/index.d.ts.map +1 -1
- package/dist/panel/index.js +27707 -1965
- package/dist/panel/index.js.map +1 -1
- package/dist/qr-http-server-Bk-9AO9Y.js +903 -0
- package/dist/qr-http-server-Bk-9AO9Y.js.map +1 -0
- package/dist/qr-http-server-C536UmTm.js +903 -0
- package/dist/qr-http-server-C536UmTm.js.map +1 -0
- package/dist/qr-http-server-CQZnEAcl.cjs +903 -0
- package/dist/qr-http-server-CQZnEAcl.cjs.map +1 -0
- package/dist/qr-http-server-GwRt-B9_.cjs +903 -0
- package/dist/qr-http-server-GwRt-B9_.cjs.map +1 -0
- package/dist/relay-secret-store-5A7_7zOp.js +111 -0
- package/dist/relay-secret-store-5A7_7zOp.js.map +1 -0
- package/dist/{relay-secret-store-DqyUoeXy.js → relay-secret-store-C4QQN5NA.js} +3 -3
- package/dist/{relay-secret-store-DqyUoeXy.js.map → relay-secret-store-C4QQN5NA.js.map} +1 -1
- package/dist/{relay-secret-store-DnTNl-9z.cjs → relay-secret-store-CLkF8Pa0.cjs} +3 -2
- package/dist/{relay-secret-store-DnTNl-9z.cjs.map → relay-secret-store-CLkF8Pa0.cjs.map} +1 -1
- package/dist/relay-url-store-COG2dSql.cjs +113 -0
- package/dist/relay-url-store-COG2dSql.cjs.map +1 -0
- package/dist/relay-url-store-WKfo0VQV.js +112 -0
- package/dist/relay-url-store-WKfo0VQV.js.map +1 -0
- package/dist/relay-url-store-qaoe0zOD.js +118 -0
- package/dist/relay-url-store-qaoe0zOD.js.map +1 -0
- package/dist/totp-86i_CNqh.js +3 -0
- package/dist/{totp-D0a8VwoR.js → totp-BIrJHsQn.js} +1 -1
- package/dist/{totp-D0a8VwoR.js.map → totp-BIrJHsQn.js.map} +1 -1
- package/dist/{totp-BkP5yU2K.js → totp-BjtKFt88.js} +2 -2
- package/dist/{totp-BkP5yU2K.js.map → totp-BjtKFt88.js.map} +1 -1
- package/dist/totp-BxtxuEt4.js +64 -0
- package/dist/totp-BxtxuEt4.js.map +1 -0
- package/dist/totp-D9rndqg_.cjs +64 -0
- package/dist/totp-D9rndqg_.cjs.map +1 -0
- package/dist/{totp-DLgGbySX.cjs → totp-DA8vjAi7.cjs} +2 -1
- package/dist/{totp-DLgGbySX.cjs.map → totp-DA8vjAi7.cjs.map} +1 -1
- package/dist/{tunnel-nKYPtc-g.cjs → tunnel-CAaBFOro.cjs} +114 -3
- package/dist/tunnel-CAaBFOro.cjs.map +1 -0
- package/dist/{tunnel-CI61NvPI.js → tunnel-COMs-wZU.js} +114 -4
- package/dist/tunnel-COMs-wZU.js.map +1 -0
- package/dist/unplugin/index.cjs +116 -4
- package/dist/unplugin/index.cjs.map +1 -1
- package/dist/unplugin/index.d.cts +20 -1
- package/dist/unplugin/index.d.cts.map +1 -1
- package/dist/unplugin/index.d.ts +20 -1
- package/dist/unplugin/index.d.ts.map +1 -1
- package/dist/unplugin/index.js +116 -5
- package/dist/unplugin/index.js.map +1 -1
- package/dist/unplugin/tunnel.cjs +114 -2
- package/dist/unplugin/tunnel.cjs.map +1 -1
- package/dist/unplugin/tunnel.d.cts +62 -1
- package/dist/unplugin/tunnel.d.cts.map +1 -1
- package/dist/unplugin/tunnel.d.ts +62 -1
- package/dist/unplugin/tunnel.d.ts.map +1 -1
- package/dist/unplugin/tunnel.js +113 -3
- package/dist/unplugin/tunnel.js.map +1 -1
- package/package.json +11 -3
- package/dist/totp-CQFmgOhM.js +0 -3
- package/dist/tunnel-CI61NvPI.js.map +0 -1
- package/dist/tunnel-nKYPtc-g.cjs.map +0 -1
package/dist/mcp/server.js
CHANGED
|
@@ -960,7 +960,7 @@ function createDevServer(deps = {}) {
|
|
|
960
960
|
const aitSource = deps.aitSource ?? new HttpAitSource({ stateEndpoint });
|
|
961
961
|
const server = new Server({
|
|
962
962
|
name: "ait-devtools",
|
|
963
|
-
version: "0.1.
|
|
963
|
+
version: "0.1.59"
|
|
964
964
|
}, { capabilities: { tools: {} } });
|
|
965
965
|
server.setRequestHandler(ListToolsRequestSchema, () => ({ tools: DEV_TOOL_DEFINITIONS.map((tool) => ({ ...tool })) }));
|
|
966
966
|
server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
package/dist/panel/index.d.ts
CHANGED
|
@@ -1,18 +1,24 @@
|
|
|
1
1
|
//#region src/panel/index.d.ts
|
|
2
2
|
/**
|
|
3
|
-
* @ait-co/devtools Floating Panel
|
|
3
|
+
* @ait-co/devtools Floating Panel — entry + auto-mount.
|
|
4
4
|
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
5
|
+
* Importing `@ait-co/devtools/panel` mounts the DevTools panel on the page. The
|
|
6
|
+
* panel UI is a self-contained client-side React 19 tree (`<Panel>`); React is
|
|
7
|
+
* BUNDLED into `dist/panel/index.js` (the tsdown panel entry has no `external`),
|
|
8
|
+
* so consumers do not need React in their own graph and react never appears in
|
|
9
|
+
* this package's published `dependencies` (it is a devDependency).
|
|
10
|
+
*
|
|
11
|
+
* `mount()` / `disposePanel()` keep the same public contract as the old vanilla
|
|
12
|
+
* implementation (idempotent mount guard, full teardown) so existing tests and
|
|
13
|
+
* the locale-reactivity layer continue to work. Locale changes no longer remount
|
|
14
|
+
* the panel — `<Panel>` subscribes to the i18n store via `useT()` and re-renders
|
|
15
|
+
* its subtree in place (tab + button position survive).
|
|
7
16
|
*/
|
|
8
17
|
declare function mount(): void;
|
|
9
18
|
/**
|
|
10
|
-
* Pairs with `mount()
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* Removes panel DOM (toggle + panel root), the injected `<style>`, all
|
|
14
|
-
* window/aitState listeners, and resets module-level state. After dispose,
|
|
15
|
-
* `mount()` can be called again to re-mount cleanly.
|
|
19
|
+
* Pairs with `mount()`. Idempotent — safe to call before mount or twice in a row.
|
|
20
|
+
* Unmounts the React tree, removes the host + injected `<style>`, and resets
|
|
21
|
+
* module state so `mount()` can re-mount cleanly.
|
|
16
22
|
*/
|
|
17
23
|
declare function disposePanel(): void;
|
|
18
24
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../src/panel/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../src/panel/index.tsx"],"mappings":";;;;;;;AA2Bc;;;;;;;;;iBAAL,KAAA,CAAA;;;;;;iBAgCA,YAAA,CAAA"}
|