@ait-co/devtools 0.1.108 → 0.1.109

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.
Files changed (33) hide show
  1. package/dist/bundle-KFs4t-wc.d.ts +96 -0
  2. package/dist/bundle-KFs4t-wc.d.ts.map +1 -0
  3. package/dist/mcp/cli.js +186 -40
  4. package/dist/mcp/cli.js.map +1 -1
  5. package/dist/mcp/server.js +3 -3
  6. package/dist/mcp/server.js.map +1 -1
  7. package/dist/panel/index.js +1 -1
  8. package/dist/{pool-Dkp7I9Bf.d.ts → pool-CuVMzWGB.d.ts} +5 -5
  9. package/dist/{pool-Dkp7I9Bf.d.ts.map → pool-CuVMzWGB.d.ts.map} +1 -1
  10. package/dist/{relay-worker-BzFQ3fv9.d.ts → relay-worker-xxanNQGs.d.ts} +3 -3
  11. package/dist/relay-worker-xxanNQGs.d.ts.map +1 -0
  12. package/dist/{runtime-ORdrpizY.d.ts → runtime-Wi5d6Ywz.d.ts} +3 -3
  13. package/dist/{runtime-ORdrpizY.d.ts.map → runtime-Wi5d6Ywz.d.ts.map} +1 -1
  14. package/dist/test-runner/bundle.d.ts +1 -1
  15. package/dist/test-runner/bundle.js +148 -11
  16. package/dist/test-runner/bundle.js.map +1 -1
  17. package/dist/test-runner/cli.d.ts +59 -14
  18. package/dist/test-runner/cli.d.ts.map +1 -1
  19. package/dist/test-runner/cli.js +171 -32
  20. package/dist/test-runner/cli.js.map +1 -1
  21. package/dist/test-runner/config.d.ts +1 -1
  22. package/dist/test-runner/pool.d.ts +1 -1
  23. package/dist/test-runner/relay-worker.d.ts +1 -1
  24. package/dist/test-runner/relay-worker.js.map +1 -1
  25. package/dist/test-runner/rpc.d.ts +1 -1
  26. package/dist/test-runner/rpc.d.ts.map +1 -1
  27. package/dist/test-runner/rpc.js +1 -1
  28. package/dist/test-runner/rpc.js.map +1 -1
  29. package/dist/test-runner/task-graph.d.ts +1 -1
  30. package/package.json +1 -1
  31. package/dist/bundle-BJm5jk56.d.ts +0 -49
  32. package/dist/bundle-BJm5jk56.d.ts.map +0 -1
  33. package/dist/relay-worker-BzFQ3fv9.d.ts.map +0 -1
@@ -1,49 +0,0 @@
1
- //#region src/test-runner/bundle.d.ts
2
- /**
3
- * esbuild-based bundler for user test files.
4
- *
5
- * Bundles a single test file into a self-contained IIFE string that can be
6
- * injected into a WebView via `Runtime.evaluate`. The user's SDK imports
7
- * (`@apps-in-toss/web-framework` and sub-paths) are intercepted via an
8
- * esbuild plugin that redirects them to `window.__sdk`, which the in-app
9
- * debug gate (`src/in-app/auto.ts`) installs as a namespace mirror of the
10
- * SDK exports (works for both 2.x and 3.x SDK).
11
- *
12
- * SECRET-HANDLING: the returned bundle code is caller-managed; never log it.
13
- */
14
- /** Options accepted by `bundleTestFile`. */
15
- interface BundleOptions {
16
- /**
17
- * Additional esbuild `external` patterns. The SDK package
18
- * (`@apps-in-toss/web-framework` and `@apps-in-toss/web-framework/*`) is
19
- * always handled by the SDK redirect plugin — callers may add more patterns
20
- * to be left as globals.
21
- */
22
- extraExternals?: string[];
23
- /**
24
- * Global name for the IIFE output object. Defaults to `__testBundle`.
25
- * The runtime entry uses this to call `__testBundle.runTestModule()`.
26
- */
27
- globalName?: string;
28
- }
29
- /**
30
- * The result of bundling a test file.
31
- * `code` is a self-contained IIFE string ready for `Runtime.evaluate`.
32
- */
33
- interface BundleResult {
34
- code: string;
35
- warnings: string[];
36
- }
37
- /**
38
- * Bundles `absPath` into a single IIFE string suitable for `Runtime.evaluate`.
39
- *
40
- * The IIFE installs `window.__testBundle` (or the custom `globalName`) with
41
- * `runTestModule` as the callable entry point.
42
- *
43
- * @param absPath - Absolute path to the user test file.
44
- * @param opts - Optional bundling overrides.
45
- */
46
- declare function bundleTestFile(absPath: string, opts?: BundleOptions): Promise<BundleResult>;
47
- //#endregion
48
- export { BundleResult as n, bundleTestFile as r, BundleOptions as t };
49
- //# sourceMappingURL=bundle-BJm5jk56.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"bundle-BJm5jk56.d.ts","names":[],"sources":["../src/test-runner/bundle.ts"],"mappings":";;AAwBA;;;;;AAmBA;;;;;AAqEA;;UAxFiB,aAAA;EAwF4C;;;;;;EAjF3D,cAAA;EAiFoD;;;;EA5EpD,UAAA;AAAA;;;;;UAOe,YAAA;EACf,IAAA;EACA,QAAA;AAAA;;;;;;;;;;iBAmEoB,cAAA,CAAe,OAAA,UAAiB,IAAA,GAAO,aAAA,GAAgB,OAAA,CAAQ,YAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"relay-worker-BzFQ3fv9.d.ts","names":[],"sources":["../src/test-runner/relay-worker.ts"],"mappings":";;;;;;UAsBiB,UAAA;EAYf;EAVA,IAAA;EAYO;EAVP,MAAA,EAAQ,SAAA;IAAc,KAAA;EAAA;AAAA;;UAIP,cAAA;EAYR;EAVP,SAAA;EAe8B;EAb9B,QAAA;EAiB6B;EAf7B,KAAA,EAAO,UAAA;EAeS;EAbhB,MAAA;IACE,MAAA;IACA,MAAA;IACA,OAAA;IACA,KAAA;EAAA;AAAA;;UAKa,eAAA;EAqCd;;;EAjCD,aAAA,GAAgB,aAAA;EA8BhB;;;;EAzBA,SAAA;AAAA;;;AAoFF;;;;;;;;;;;;;;;;;;;iBA5DsB,qBAAA,CACpB,UAAA,EAAY,aAAA,EACZ,KAAA,YACA,IAAA,GAAO,eAAA,GACN,OAAA,CAAQ,cAAA;;;;;iBAwDK,cAAA,CAAe,MAAA,EAAQ,cAAA,GAAiB,KAAA,CAAM,UAAA;EAAe,IAAA;AAAA"}