@qontinui/ui-bridge-wrapper 0.4.2 → 0.5.0

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.
@@ -50,7 +50,7 @@
50
50
  * The arg parsing, validation, and URL classifiers are exported pure functions
51
51
  * so they can be unit-tested without spawning a browser or calling `main()`.
52
52
  */
53
- export declare const USAGE = "ui-bridge-login-web \u2014 automated web login via the UI Bridge injected transport\n\nRequired (one of):\n --email <e> / --password <p> Credentials. Falls back to env\n UIB_LOGIN_EMAIL / UIB_LOGIN_PASSWORD.\n\nOptions:\n --url <pageUrl> App login URL (default https://qontinui.io/login).\n Prefer a ?next=<urlencoded-path> form so the\n authed landing is deterministic.\n --success <pathSubstring> Pathname substring the authed landing must\n contain (default /dashboard). Matched against the\n PATHNAME only \u2014 query/fragment excluded.\n --timeout <ms> Per-redirect-hop wait budget (default 60000).\n --headed Launch a visible window (default headless).\n --post-login-click <css> Click this selector ONCE on the authed landing\n (e.g. [data-testid='co-pilot-consent-allow']).\n Non-fatal when the target never appears.\n --expect-text <comma-list> Assert the authed page's body text contains EVERY\n comma-separated entry. Missing entries fail the\n exit code; the result JSON lists expectFound /\n expectMissing. Matched case-sensitively.\n --scroll-to <text> Before screenshotting, scroll the first element\n containing this text into view (non-fatal if absent).\n --screenshot <path> Write a full-page PNG of the authed landing to\n <path> (captured BEFORE the --expect-text check, so\n a failing assertion still leaves a diagnostic image).\n --keep-open On success, park the authed session until SIGINT/\n SIGTERM instead of closing the browser.\n --quiet Suppress human-readable stderr logs (the JSON\n result line still prints).\n --help, -h Print this help and exit.\n\nPrerequisites (packaged bin): the optional @qontinui/ui-bridge-headless peer must\nbe installed AND Chromium available (run `npx playwright install chromium` once,\nor set PLAYWRIGHT_BROWSERS_PATH). Git Bash callers: prefix MSYS_NO_PATHCONV=1 so\na leading-slash --success value is not rewritten into a Windows path.\n\nExamples:\n ui-bridge-login-web --url \"https://qontinui.io/login?next=%2Fbuild%2Fworkflows\" \\\n --success /build/workflows\n ui-bridge-login-web --url \"https://qontinui.io/login?next=%2Fco-pilot\" \\\n --success /co-pilot --post-login-click \"[data-testid='co-pilot-consent-allow']\" --keep-open\n ui-bridge-login-web --url \"https://qontinui.io/login?next=%2Foperations\" \\\n --success /operations --expect-text \"option2-actions-outage-drill,metric_threshold\" \\\n --screenshot out.png\n";
53
+ export declare const USAGE = "ui-bridge-login-web \u2014 automated web login via the UI Bridge injected transport\n\nRequired (one of):\n --email <e> / --password <p> Credentials. Falls back to env\n UIB_LOGIN_EMAIL / UIB_LOGIN_PASSWORD.\n\nOptions:\n --url <pageUrl> App login URL (default https://qontinui.io/login).\n Prefer a ?next=<urlencoded-path> form so the\n authed landing is deterministic.\n --success <pathSubstring> Pathname substring the authed landing must\n contain (default /dashboard). Matched against the\n PATHNAME only \u2014 query/fragment excluded.\n --timeout <ms> Per-redirect-hop wait budget (default 60000).\n --headed Launch a visible window (default headless).\n --post-login-click <css> Click this selector ONCE on the authed landing\n (e.g. [data-testid='co-pilot-consent-allow']).\n Non-fatal when the target never appears.\n --expect-text <comma-list> Assert the authed page's body text contains EVERY\n comma-separated entry. Missing entries fail the\n exit code; the result JSON lists expectFound /\n expectMissing. Matched case-sensitively.\n --scroll-to <text> Before screenshotting, scroll the first element\n containing this text into view (non-fatal if absent).\n --screenshot <path> Write a full-page PNG of the authed landing to\n <path> (captured BEFORE the --expect-text check, so\n a failing assertion still leaves a diagnostic image).\n --storage-state-out <path> On a confirmed-authed landing, write a Playwright\n storageState JSON (cookies + localStorage) to <path>,\n PLUS a custom __sessionStorage key (origin \u2192 kv) so\n cold replays land authed on apps that keep their\n token in sessionStorage (e.g. qontinui-web).\n Feed it to 'ui-bridge-inject --storage-state <path>'\n to drive a login-walled page MANY times without\n re-driving the hosted-UI login each run.\n --keep-open On success, park the authed session until SIGINT/\n SIGTERM instead of closing the browser.\n --quiet Suppress human-readable stderr logs (the JSON\n result line still prints).\n --help, -h Print this help and exit.\n\nPrerequisites (packaged bin): the optional @qontinui/ui-bridge-headless peer must\nbe installed AND Chromium available (run `npx playwright install chromium` once,\nor set PLAYWRIGHT_BROWSERS_PATH). Git Bash callers: prefix MSYS_NO_PATHCONV=1 so\na leading-slash --success value is not rewritten into a Windows path.\n\nExamples:\n ui-bridge-login-web --url \"https://qontinui.io/login?next=%2Fbuild%2Fworkflows\" \\\n --success /build/workflows\n ui-bridge-login-web --url \"https://qontinui.io/login?next=%2Fco-pilot\" \\\n --success /co-pilot --post-login-click \"[data-testid='co-pilot-consent-allow']\" --keep-open\n ui-bridge-login-web --url \"https://qontinui.io/login?next=%2Foperations\" \\\n --success /operations --expect-text \"option2-actions-outage-drill,metric_threshold\" \\\n --screenshot out.png\n # Capture a reusable auth artifact, then drive a login-walled page with it:\n ui-bridge-login-web --url \"https://qontinui.io/login?next=%2Fadmin%2Fcoord%2Fonboarding\" \\\n --success /admin/coord/onboarding --storage-state-out auth.json\n ui-bridge-inject --url https://qontinui.io/admin/coord/onboarding \\\n --storage-state auth.json --exec 'getControlSnapshot {}'\n";
54
54
  /** Parsed, validated CLI arguments. */
55
55
  export interface LoginCliArgs {
56
56
  url: string;
@@ -68,6 +68,8 @@ export interface LoginCliArgs {
68
68
  scrollToText: string | null;
69
69
  /** Optional path to write a full-page screenshot of the authed landing. */
70
70
  screenshotPath: string | null;
71
+ /** Optional path to write a Playwright storageState JSON of the authed context. */
72
+ storageStateOut: string | null;
71
73
  keepOpen: boolean;
72
74
  /** Suppress human-readable stderr logs (the JSON result line still prints). */
73
75
  quiet: boolean;
@@ -105,6 +107,8 @@ export interface LoginResult {
105
107
  expectMissing?: string[];
106
108
  /** Path the screenshot was written to, or null (present only when --screenshot was given). */
107
109
  screenshotPath?: string | null;
110
+ /** Path the storageState artifact was written to, or null (present only when --storage-state-out was given). */
111
+ storageStatePath?: string | null;
108
112
  error?: string;
109
113
  }
110
114
  //# sourceMappingURL=login-web-cli.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"login-web-cli.d.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a,gBAAiB,SAAQ,KAAK;gBAC7B,OAAO,EAAE,MAAM;CAI5B;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,YAAY,CAuCtD;AAkBD,8EAA8E;AAC9E,wBAAgB,YAAY,CAAC,IAAI,EAAE,YAAY,GAAG,IAAI,CAUrD;AAQD,qCAAqC;AACrC,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,OAAO,CAAC;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,gBAAgB,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAClC,sGAAsG;IACtG,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,sEAAsE;IACtE,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,8FAA8F;IAC9F,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,gHAAgH;IAChH,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
@@ -0,0 +1,78 @@
1
+ /**
2
+ * sessionStorage capture-side helper for `ui-bridge-login-web --storage-state-out`.
3
+ *
4
+ * Playwright's `storageState` captures only cookies + localStorage — never
5
+ * sessionStorage. Apps that keep their auth token in sessionStorage
6
+ * (qontinui-web stores `auth_bearer_access_token` there) therefore lose auth on
7
+ * a cold `ui-bridge-inject --storage-state` replay. To close the gap we fold the
8
+ * authed page's sessionStorage into the artifact under a custom top-level
9
+ * `__sessionStorage` key (origin → key/value map). The launcher
10
+ * (@qontinui/ui-bridge-headless) strips that key before `newContext` and
11
+ * replays it via an init-script.
12
+ *
13
+ * This merge helper is local to the wrapper (rather than imported from the
14
+ * optional `@qontinui/ui-bridge-headless` peer) so it carries NO static
15
+ * dependency on that peer — a `--help` invocation of the bin must not eagerly
16
+ * resolve a package an api-only consumer never installed. It is a pure function
17
+ * so it is unit-tested without a browser. The launcher owns the symmetric
18
+ * restore-side `splitSessionStorageArtifact`.
19
+ */
20
+ /** A single origin's sessionStorage as a flat key→value map. */
21
+ export type SessionStorageKV = Record<string, string>;
22
+ /** origin → its sessionStorage key→value map. */
23
+ export type SessionStorageMap = Record<string, SessionStorageKV>;
24
+ /** The custom top-level key under which sessionStorage rides in the artifact. */
25
+ export declare const SESSION_STORAGE_KEY = "__sessionStorage";
26
+ /** A Playwright `storageState` artifact, possibly extended with `__sessionStorage`. */
27
+ export interface StorageStateArtifact {
28
+ cookies?: unknown;
29
+ origins?: unknown;
30
+ __sessionStorage?: SessionStorageMap;
31
+ [key: string]: unknown;
32
+ }
33
+ /**
34
+ * Fold a captured sessionStorage map for `origin` into the parsed storageState
35
+ * `artifact`, returning the SAME object (mutated) for convenience. Only the
36
+ * supplied origin's entry is set/overwritten; sessionStorage already recorded
37
+ * for OTHER origins is preserved. Backward-compatible: a legacy artifact gains
38
+ * the new key without disturbing cookies/origins.
39
+ */
40
+ export declare function mergeSessionStorageIntoArtifact(artifact: StorageStateArtifact, origin: string, kv: SessionStorageKV): StorageStateArtifact;
41
+ /**
42
+ * Derive the origin to key a frame's sessionStorage by from its URL. Returns
43
+ * `null` for `about:blank`, opaque (`data:`/`blob:`/sandboxed), or unparseable
44
+ * URLs — callers skip those frames.
45
+ */
46
+ export declare function frameOrigin(frameUrl: string): string | null;
47
+ /** One frame's capture: its URL plus the sessionStorage it yielded (or null when access threw). */
48
+ export interface FrameSessionStorage {
49
+ url: string;
50
+ /** The frame's sessionStorage, or `null` when the `evaluate` threw (cross-origin/restricted). */
51
+ kv: SessionStorageKV | null;
52
+ }
53
+ /**
54
+ * Build a multi-origin `{ origin -> kv }` map from per-frame captures (the
55
+ * result of iterating `page.frames()` and reading each frame's sessionStorage).
56
+ *
57
+ * Rules — keep these consistent with the restore side (`location.origin` lookup):
58
+ * - Frames whose origin is opaque/empty/`about:blank`, or whose capture threw
59
+ * (`kv === null`), are skipped.
60
+ * - Multiple frames sharing one origin are MERGED into that origin's single
61
+ * entry. Merge order follows input order and **LATER frames' keys win** on a
62
+ * key collision (last-write-wins) — same-origin frames share one
63
+ * sessionStorage partition in the browser, so collisions should carry the
64
+ * same value anyway; last-write-wins is the deterministic tie-break.
65
+ *
66
+ * Pure + browser-free so it is unit-tested directly.
67
+ */
68
+ export declare function buildMultiOriginSessionStorageMap(frames: readonly FrameSessionStorage[]): SessionStorageMap;
69
+ /**
70
+ * Fold a whole multi-origin sessionStorage map into the artifact, preserving any
71
+ * origins already recorded that are NOT present in `map`. For each origin in
72
+ * `map`, that origin's entry is set/overwritten (same per-origin semantics as
73
+ * {@link mergeSessionStorageIntoArtifact}, applied for each origin). Returns the
74
+ * SAME (mutated) object. Backward-compatible: the `__sessionStorage` shape is
75
+ * unchanged (origin → kv) — a single-origin map yields exactly the legacy shape.
76
+ */
77
+ export declare function mergeMultiOriginSessionStorageIntoArtifact(artifact: StorageStateArtifact, map: SessionStorageMap): StorageStateArtifact;
78
+ //# sourceMappingURL=session-storage-capture.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"session-storage-capture.d.ts","sourceRoot":"","sources":["../src/session-storage-capture.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,gEAAgE;AAChE,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAEtD,iDAAiD;AACjD,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;AAEjE,iFAAiF;AACjF,eAAO,MAAM,mBAAmB,qBAAqB,CAAC;AAEtD,uFAAuF;AACvF,MAAM,WAAW,oBAAoB;IACnC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,gBAAgB,CAAC,EAAE,iBAAiB,CAAC;IACrC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED;;;;;;GAMG;AACH,wBAAgB,+BAA+B,CAC7C,QAAQ,EAAE,oBAAoB,EAC9B,MAAM,EAAE,MAAM,EACd,EAAE,EAAE,gBAAgB,GACnB,oBAAoB,CAOtB;AAWD;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAO3D;AAED,mGAAmG;AACnG,MAAM,WAAW,mBAAmB;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,iGAAiG;IACjG,EAAE,EAAE,gBAAgB,GAAG,IAAI,CAAC;CAC7B;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,iCAAiC,CAC/C,MAAM,EAAE,SAAS,mBAAmB,EAAE,GACrC,iBAAiB,CASnB;AAED;;;;;;;GAOG;AACH,wBAAgB,0CAA0C,CACxD,QAAQ,EAAE,oBAAoB,EAC9B,GAAG,EAAE,iBAAiB,GACrB,oBAAoB,CAWtB"}
@@ -35,6 +35,22 @@ export interface HeadlessTransportOptions {
35
35
  userAgent?: string;
36
36
  /** Forward browser console/page errors to the Node process stderr. */
37
37
  forwardConsole?: boolean;
38
+ /**
39
+ * Extra Chromium command-line arguments passed through to
40
+ * `chromium.launch({ args })` (e.g. the LNA-disable flags needed to fetch
41
+ * a loopback relay from an https page). Plan 2026-06-12 item 2.
42
+ */
43
+ launchArgs?: string[];
44
+ /**
45
+ * Path to a Playwright `storageState` JSON file (cookies + localStorage)
46
+ * to seed the browser context with before the first navigation. Lets a
47
+ * previously-captured authenticated session (e.g. from
48
+ * `ui-bridge-login-web --storage-state-out`) carry past a login wall so an
49
+ * autonomous loop can drive a login-walled page repeatedly without
50
+ * re-driving the hosted-UI login. Threaded to `launchHeadlessTab`'s
51
+ * `storageStatePath`.
52
+ */
53
+ storageStatePath?: string;
38
54
  }
39
55
  /** Context shape delivered to each headless/headed handler. */
40
56
  export interface HeadlessContext {
@@ -1 +1 @@
1
- {"version":3,"file":"headless.d.ts","sourceRoot":"","sources":["../../src/transports/headless.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,cAAc,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,KAAK,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAGzE,4EAA4E;AAC5E,MAAM,WAAW,wBAAwB;IACvC,uDAAuD;IACvD,SAAS,EAAE,MAAM,CAAC;IAClB,8CAA8C;IAC9C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,8CAA8C;IAC9C,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,uEAAuE;IACvE,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,2BAA2B;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sEAAsE;IACtE,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,+DAA+D;AAC/D,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,IAAI,EAAE,UAAU,GAAG,QAAQ,GAAG,UAAU,CAAC;IAClD,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC;IACpB,QAAQ,CAAC,cAAc,EAAE,cAAc,CAAC;IACxC,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,qEAAqE;IACrE,QAAQ,CAAC,kBAAkB,EAAE,OAAO,CA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AAQ,EAAE,OAAO,CAAC;IAErC,SAAS,CAAC,GAAG,EAAE;QACb,OAAO,EAAE,OAAO,CAAC;QACjB,OAAO,EAAE,cAAc,CAAC;QACxB,IAAI,EAAE,IAAI,CAAC;QACX,kBAAkB,EAAE,OAAO,CAAC;QAC5B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;QACrB,KAAK,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;KAC5B,GAAG,IAAI,CAAQ;gBAGd,MAAM,EAAE,eAAe,EACvB,QAAQ,CAAC,EAAE,eAAe,EAC1B,SAAS,GAAE;QAAE,IAAI,CAAC,EAAE,oBAAoB,CAAC;QAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;KAAO;IAQrE,OAAO,CAAC,YAAY;cAoCJ,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;IAkGxC;;;;OAIG;cACa,gBAAgB,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;IAIrD;;;OAGG;cACa,WAAW,CAAC,KAAK,EAAE,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;cAIvC,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;cAOxB,YAAY,IAAI,OAAO,CAAC,eAAe,CAAC;CAgBzD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qontinui/ui-bridge-wrapper",
3
- "version": "0.4.2",
3
+ "version": "0.5.0",
4
4
  "description": "Runtime for building UI Bridge wrapper apps — transport-agnostic semantic actions.",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",
@@ -53,7 +53,7 @@
53
53
  "access": "public"
54
54
  },
55
55
  "peerDependencies": {
56
- "@qontinui/ui-bridge": "^0.4.0 || ^0.5.0 || ^0.6.0 || ^0.7.0 || ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^0.14.0 || ^0.15.0",
56
+ "@qontinui/ui-bridge": "^0.4.0 || ^0.5.0 || ^0.6.0 || ^0.7.0 || ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^0.14.0 || ^0.15.0 || ^0.16.0 || ^0.17.0 || ^0.18.0 || ^0.19.0 || ^0.20.0",
57
57
  "@qontinui/ui-bridge-headless": "*",
58
58
  "react": "^18.0.0 || ^19.0.0"
59
59
  },