@qaick/runner 0.2.0-alpha.26 → 0.2.0-alpha.27

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/README.md CHANGED
@@ -48,7 +48,7 @@ The visible loop hierarchy demo is stored at
48
48
 
49
49
  Runner also accepts Studio schema 7 Flow artifact envelopes (`artifactKind: "flow"`). A representative fixture is [`fixtures/studio-flow-v7.qaick.json`](fixtures/studio-flow-v7.qaick.json). Operation catalog resolution and a canonical artifact exported directly from Studio remain conformance work.
50
50
 
51
- HTTP Actions with `http.*` identifiers are executed in the browser through `fetch`. The target API must allow browser CORS requests; successful responses are captured as `status`, `body`, and `headers` outputs.
51
+ The packaged standalone Runner executes `http.*` Actions through its Electron host and the shared Runtime/HTTP Executor with native Node transport. Explicit request cookies, response cookies, headers and bodies therefore have the same semantics as QAick Studio Desktop. The static Vite build remains available for browser-only scenarios; it uses `fetch`, requires browser CORS, and cannot send an explicit `Cookie` request header.
52
52
 
53
53
  If Runner reports that a Studio project uses an outdated schema, open that project in QAick Studio, save it, and load the newly saved file in Runner.
54
54
  # QAick Runner
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@qaick/runner",
3
3
  "description": "Reusable QAick Runner module and standalone execution application.",
4
- "version": "0.2.0-alpha.26",
4
+ "version": "0.2.0-alpha.27",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "package-dist",
@@ -38,6 +38,8 @@
38
38
  "pack:tarball": "npm run build:package && npm pack",
39
39
  "publish:alpha": "npm run check:package && npm publish --tag alpha",
40
40
  "package:standalone": "npm run build && node scripts/package-standalone.mjs",
41
+ "electron:build": "tsc -p tsconfig.electron.json && node scripts/copy-electron-preload.mjs",
42
+ "desktop:run": "npm run build && npm run electron:build && electron electron-dist/electron/main.js",
41
43
  "smoke": "node scripts/smoke-check.mjs",
42
44
  "smoke:deployment": "node scripts/smoke-check.mjs --deployment",
43
45
  "lint": "oxlint",
@@ -75,6 +77,7 @@
75
77
  "react-dom": "^19.2.8",
76
78
  "typescript": "~6.0.2",
77
79
  "vite": "^8.3.0",
78
- "vitest": "^5.0.0"
80
+ "vitest": "^5.0.0",
81
+ "electron": "^44.4.5"
79
82
  }
80
83
  }
@@ -1,6 +1,5 @@
1
1
  export declare const RUNNER_VERSION: string;
2
- /** Product release label used in the application chrome, matching Studio. */
3
- export declare const RUNNER_UI_VERSION = "Alpha 10";
2
+ export declare const RUNNER_UI_VERSION: string;
4
3
  export declare const RUNNER_BUILD_ID: any;
5
4
  export declare const RUNNER_BUILD_LABEL: string;
6
5
  //# sourceMappingURL=build-info.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"build-info.d.ts","sourceRoot":"","sources":["../../src/build-info.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,QAAsB,CAAC;AAClD,6EAA6E;AAC7E,eAAO,MAAM,iBAAiB,aAAa,CAAC;AAC5C,eAAO,MAAM,eAAe,KAAuE,CAAC;AACpG,eAAO,MAAM,kBAAkB,QAA4C,CAAC"}
1
+ {"version":3,"file":"build-info.d.ts","sourceRoot":"","sources":["../../src/build-info.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,QAAsB,CAAC;AAGlD,eAAO,MAAM,iBAAiB,QAA0B,CAAC;AACzD,eAAO,MAAM,eAAe,KAAuE,CAAC;AACpG,eAAO,MAAM,kBAAkB,QAA6B,CAAC"}
@@ -1,7 +1,8 @@
1
1
  import packageJson from '../package.json' with { type: 'json' };
2
2
  export const RUNNER_VERSION = packageJson.version;
3
- /** Product release label used in the application chrome, matching Studio. */
4
- export const RUNNER_UI_VERSION = 'Alpha 10';
3
+ /** Product release label used in the application chrome. */
4
+ const alphaRelease = /^0\.2\.0-alpha\.(\d+)$/.exec(RUNNER_VERSION)?.[1] ?? RUNNER_VERSION;
5
+ export const RUNNER_UI_VERSION = `Alpha ${alphaRelease}`;
5
6
  export const RUNNER_BUILD_ID = import.meta.env?.VITE_BUILD_ID ?? import.meta.env?.MODE ?? 'unknown';
6
- export const RUNNER_BUILD_LABEL = `v${RUNNER_VERSION} · ${RUNNER_BUILD_ID}`;
7
+ export const RUNNER_BUILD_LABEL = `build ${RUNNER_BUILD_ID}`;
7
8
  //# sourceMappingURL=build-info.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"build-info.js","sourceRoot":"","sources":["../../src/build-info.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,iBAAiB,CAAC;AAE1C,MAAM,CAAC,MAAM,cAAc,GAAG,WAAW,CAAC,OAAO,CAAC;AAClD,6EAA6E;AAC7E,MAAM,CAAC,MAAM,iBAAiB,GAAG,UAAU,CAAC;AAC5C,MAAM,CAAC,MAAM,eAAe,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,aAAa,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,IAAI,SAAS,CAAC;AACpG,MAAM,CAAC,MAAM,kBAAkB,GAAG,IAAI,cAAc,MAAM,eAAe,EAAE,CAAC"}
1
+ {"version":3,"file":"build-info.js","sourceRoot":"","sources":["../../src/build-info.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,iBAAiB,CAAC;AAE1C,MAAM,CAAC,MAAM,cAAc,GAAG,WAAW,CAAC,OAAO,CAAC;AAClD,4DAA4D;AAC5D,MAAM,YAAY,GAAG,wBAAwB,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,cAAc,CAAC;AAC1F,MAAM,CAAC,MAAM,iBAAiB,GAAG,SAAS,YAAY,EAAE,CAAC;AACzD,MAAM,CAAC,MAAM,eAAe,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,aAAa,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,IAAI,SAAS,CAAC;AACpG,MAAM,CAAC,MAAM,kBAAkB,GAAG,SAAS,eAAe,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@qaick/runner",
3
3
  "description": "Reusable QAick Runner module and standalone execution application.",
4
- "version": "0.2.0-alpha.26",
4
+ "version": "0.2.0-alpha.27",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "package-dist",
@@ -38,6 +38,8 @@
38
38
  "pack:tarball": "npm run build:package && npm pack",
39
39
  "publish:alpha": "npm run check:package && npm publish --tag alpha",
40
40
  "package:standalone": "npm run build && node scripts/package-standalone.mjs",
41
+ "electron:build": "tsc -p tsconfig.electron.json && node scripts/copy-electron-preload.mjs",
42
+ "desktop:run": "npm run build && npm run electron:build && electron electron-dist/electron/main.js",
41
43
  "smoke": "node scripts/smoke-check.mjs",
42
44
  "smoke:deployment": "node scripts/smoke-check.mjs --deployment",
43
45
  "lint": "oxlint",
@@ -75,6 +77,7 @@
75
77
  "react-dom": "^19.2.8",
76
78
  "typescript": "~6.0.2",
77
79
  "vite": "^8.3.0",
78
- "vitest": "^5.0.0"
80
+ "vitest": "^5.0.0",
81
+ "electron": "^44.4.5"
79
82
  }
80
83
  }