@qontinui/ui-bridge-wrapper 0.4.0 → 0.4.2
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 +55 -1
- package/dist/capture-specs-cli.cjs +249 -119
- package/dist/capture-specs-cli.cjs.map +1 -1
- package/dist/capture-specs-cli.d.ts +3 -17
- package/dist/capture-specs-cli.d.ts.map +1 -1
- package/dist/cli-args.d.ts +75 -0
- package/dist/cli-args.d.ts.map +1 -0
- package/dist/index.cjs +46 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +46 -12
- package/dist/index.js.map +1 -1
- package/dist/inject-cli.cjs +80 -31
- package/dist/inject-cli.cjs.map +1 -1
- package/dist/inject-cli.d.ts.map +1 -1
- package/dist/login-drive.d.ts +71 -0
- package/dist/login-drive.d.ts.map +1 -0
- package/dist/login-web-cli.cjs +306 -140
- package/dist/login-web-cli.cjs.map +1 -1
- package/dist/login-web-cli.d.ts +15 -21
- package/dist/login-web-cli.d.ts.map +1 -1
- package/dist/react/index.cjs +4 -4
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.js +4 -4
- package/dist/react/index.js.map +1 -1
- package/dist/transports/headless.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/login-web-cli.d.ts
CHANGED
|
@@ -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 --keep-open On success, park the authed session until SIGINT/\n SIGTERM instead of closing the browser.\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";
|
|
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";
|
|
54
54
|
/** Parsed, validated CLI arguments. */
|
|
55
55
|
export interface LoginCliArgs {
|
|
56
56
|
url: string;
|
|
@@ -62,7 +62,15 @@ export interface LoginCliArgs {
|
|
|
62
62
|
headed: boolean;
|
|
63
63
|
/** Optional CSS selector clicked once on the authed landing (non-fatal). */
|
|
64
64
|
postClick: string | null;
|
|
65
|
+
/** Tokens (parsed from a comma-list) the authed page's body text must all contain; `[]` when not asked. */
|
|
66
|
+
expectText: string[];
|
|
67
|
+
/** Optional text to scroll into view before screenshotting (non-fatal if absent). */
|
|
68
|
+
scrollToText: string | null;
|
|
69
|
+
/** Optional path to write a full-page screenshot of the authed landing. */
|
|
70
|
+
screenshotPath: string | null;
|
|
65
71
|
keepOpen: boolean;
|
|
72
|
+
/** Suppress human-readable stderr logs (the JSON result line still prints). */
|
|
73
|
+
quiet: boolean;
|
|
66
74
|
help: boolean;
|
|
67
75
|
}
|
|
68
76
|
/**
|
|
@@ -72,26 +80,6 @@ export interface LoginCliArgs {
|
|
|
72
80
|
export declare class LoginCliArgError extends Error {
|
|
73
81
|
constructor(message: string);
|
|
74
82
|
}
|
|
75
|
-
/**
|
|
76
|
-
* Cognito is identified by HOST (custom domain / raw Cognito domain) or the
|
|
77
|
-
* /oauth2/ endpoints — never by a bare `/login?` path match: the app's own
|
|
78
|
-
* login URL legitimately carries a query now (`--url …/login?next=%2Fco-pilot`
|
|
79
|
-
* is the recommended deterministic-landing form since web #439), and a path
|
|
80
|
-
* match would (a) misreport a bounced-back-to-login failure as `stillOnCognito`
|
|
81
|
-
* instead of `onAppLoginPage`, and (b) let the step-2 waitForURL instant-match
|
|
82
|
-
* the app's own login page instead of waiting for the real hosted-UI hop.
|
|
83
|
-
*/
|
|
84
|
-
export declare const isCognito: (u: string) => boolean;
|
|
85
|
-
/** Extract a URL's pathname; '' for an unparseable value. */
|
|
86
|
-
export declare const pathOf: (u: string) => string;
|
|
87
|
-
/**
|
|
88
|
-
* Strict success check: compare `success` against the URL's PATHNAME only.
|
|
89
|
-
* Matching the whole URL let query params fake success (e.g. `state=…/co-pilot`
|
|
90
|
-
* on a stuck /auth/callback) — see the 2026-06-04 false positive.
|
|
91
|
-
*/
|
|
92
|
-
export declare const isSuccessPath: (u: string, success: string) => boolean;
|
|
93
|
-
/** True when the URL is the app's OWN /login page (not the Cognito hosted UI). */
|
|
94
|
-
export declare const isAppLoginPath: (u: string) => boolean;
|
|
95
83
|
/**
|
|
96
84
|
* Parse `argv` (already sliced past `node script`) into validated args.
|
|
97
85
|
* Throws {@link LoginCliArgError} on bad input (no `process.exit` — testable).
|
|
@@ -111,6 +99,12 @@ export interface LoginResult {
|
|
|
111
99
|
uiBridgeRoute?: string | null;
|
|
112
100
|
uiBridgeRegistered?: number | null;
|
|
113
101
|
postLoginClicked?: boolean | null;
|
|
102
|
+
/** --expect-text tokens found in the authed page body (present only when --expect-text was given). */
|
|
103
|
+
expectFound?: string[];
|
|
104
|
+
/** --expect-text tokens NOT found (non-empty ⇒ ok:false / exit 1). */
|
|
105
|
+
expectMissing?: string[];
|
|
106
|
+
/** Path the screenshot was written to, or null (present only when --screenshot was given). */
|
|
107
|
+
screenshotPath?: string | null;
|
|
114
108
|
error?: string;
|
|
115
109
|
}
|
|
116
110
|
//# sourceMappingURL=login-web-cli.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login-web-cli.d.ts","sourceRoot":"","sources":["../src/login-web-cli.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmDG;
|
|
1
|
+
{"version":3,"file":"login-web-cli.d.ts","sourceRoot":"","sources":["../src/login-web-cli.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmDG;AAeH,eAAO,MAAM,KAAK,0/FA8CjB,CAAC;AAEF,uCAAuC;AACvC,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,6FAA6F;IAC7F,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,OAAO,CAAC;IAChB,4EAA4E;IAC5E,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,2GAA2G;IAC3G,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,qFAAqF;IACrF,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,2EAA2E;IAC3E,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,QAAQ,EAAE,OAAO,CAAC;IAClB,+EAA+E;IAC/E,KAAK,EAAE,OAAO,CAAC;IACf,IAAI,EAAE,OAAO,CAAC;CACf;AAED;;;GAGG;AACH,qBAAa,gBAAiB,SAAQ,KAAK;gBAC7B,OAAO,EAAE,MAAM;CAI5B;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,YAAY,CAsCtD;AAiBD,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,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
|
package/dist/react/index.cjs
CHANGED
|
@@ -44,16 +44,16 @@ var DEFAULT_ALLOWED = ["api", "headless", "headed", "live"];
|
|
|
44
44
|
function useTransportSelector(options = {}) {
|
|
45
45
|
const allowed = options.allowedKinds ?? DEFAULT_ALLOWED;
|
|
46
46
|
const initial = options.initialKind ?? allowed[0] ?? "api";
|
|
47
|
-
const [kind,
|
|
48
|
-
const
|
|
47
|
+
const [kind, setKind] = react.useState(initial);
|
|
48
|
+
const selectKind = react.useCallback(
|
|
49
49
|
(next) => {
|
|
50
50
|
if (!allowed.includes(next)) return;
|
|
51
|
-
|
|
51
|
+
setKind(next);
|
|
52
52
|
options.onChange?.(next);
|
|
53
53
|
},
|
|
54
54
|
[allowed, options]
|
|
55
55
|
);
|
|
56
|
-
return { kind, setKind, allowedKinds: allowed };
|
|
56
|
+
return { kind, setKind: selectKind, allowedKinds: allowed };
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
exports.WrapperAppShell = WrapperAppShell;
|
package/dist/react/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/react/useWrapperStatus.ts","../../src/react/WrapperAppShell.tsx","../../src/react/useTransportSelector.ts"],"names":["useSyncExternalStore","jsxs","jsx","useState","useCallback"],"mappings":";;;;;;AAYO,SAAS,iBAAiB,SAAA,EAAqD;AACpF,EAAA,OAAOA,0BAAA;AAAA,IACL,CAAC,aAAA,KAAkB,SAAA,CAAU,cAAA,CAAe,MAAM,eAAe,CAAA;AAAA,IACjE,MAAM,SAAA,CAAU,MAAA;AAAA,IAChB,MAAM,SAAA,CAAU;AAAA,GAClB;AACF;ACSO,SAAS,gBAAgB,KAAA,EAA2C;AACzE,EAAA,MAAM,EAAE,SAAA,EAAW,KAAA,EAAO,QAAA,EAAU,eAAA,EAAiB,eAAc,GAAI,KAAA;AACvE,EAAA,MAAM,MAAA,GAAS,iBAAiB,SAAS,CAAA;AAEzC,EAAA,uBACEC,eAAA,CAAC,KAAA,EAAA,EAAI,SAAA,EAAU,wBAAA,EAAyB,eAAa,MAAA,EACnD,QAAA,EAAA;AAAA,oBAAAA,eAAA;AAAA,MAAC,QAAA;AAAA,MAAA;AAAA,QACC,WAAW,eAAA,IAAmB,gCAAA;AAAA,QAC9B,KAAA,EAAO;AAAA,UACL,OAAA,EAAS,MAAA;AAAA,UACT,UAAA,EAAY,UAAA;AAAA,UACZ,GAAA,EAAK,SAAA;AAAA,UACL,OAAA,EAAS,aAAA;AAAA,UACT,YAAA,EAAc;AAAA,SAChB;AAAA,QAEA,QAAA,EAAA;AAAA,0BAAAC,cAAA,CAAC,IAAA,EAAA,EAAG,SAAA,EAAU,+BAAA,EAAgC,KAAA,EAAO,EAAE,UAAU,MAAA,EAAQ,MAAA,EAAQ,CAAA,EAAE,EAChF,QAAA,EAAA,KAAA,EACH,CAAA;AAAA,0BACAD,eAAA,CAAC,MAAA,EAAA,EAAK,SAAA,EAAU,8BAAA,EAA+B,KAAA,EAAO,EAAE,QAAA,EAAU,QAAA,EAAU,OAAA,EAAS,GAAA,EAAI,EAAG,QAAA,EAAA;AAAA,YAAA,aAAA;AAAA,4BAC/EC,cAAA,CAAC,MAAA,EAAA,EAAM,QAAA,EAAA,SAAA,CAAU,IAAA,EAAK,CAAA;AAAA,YAAO,gBAAA;AAAA,4BAAWA,cAAA,CAAC,UAAM,QAAA,EAAA,MAAA,EAAO;AAAA,WAAA,EACnE;AAAA;AAAA;AAAA,KACF;AAAA,oBACAA,cAAA,CAAC,MAAA,EAAA,EAAK,SAAA,EAAW,aAAA,IAAiB,gCAAiC,QAAA,EAAS;AAAA,GAAA,EAC9E,CAAA;AAEJ;ACpBA,IAAM,eAAA,GAAmD,CAAC,KAAA,EAAO,UAAA,EAAY,UAAU,MAAM,CAAA;AAEtF,SAAS,oBAAA,CACd,OAAA,GAAuC,EAAC,EACZ;AAC5B,EAAA,MAAM,OAAA,GAAU,QAAQ,YAAA,IAAgB,eAAA;AACxC,EAAA,MAAM,OAAA,GAAU,OAAA,CAAQ,WAAA,IAAe,OAAA,CAAQ,CAAC,CAAA,IAAK,KAAA;AACrD,EAAA,MAAM,CAAC,IAAA,EAAM,
|
|
1
|
+
{"version":3,"sources":["../../src/react/useWrapperStatus.ts","../../src/react/WrapperAppShell.tsx","../../src/react/useTransportSelector.ts"],"names":["useSyncExternalStore","jsxs","jsx","useState","useCallback"],"mappings":";;;;;;AAYO,SAAS,iBAAiB,SAAA,EAAqD;AACpF,EAAA,OAAOA,0BAAA;AAAA,IACL,CAAC,aAAA,KAAkB,SAAA,CAAU,cAAA,CAAe,MAAM,eAAe,CAAA;AAAA,IACjE,MAAM,SAAA,CAAU,MAAA;AAAA,IAChB,MAAM,SAAA,CAAU;AAAA,GAClB;AACF;ACSO,SAAS,gBAAgB,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AAA,GAAmD,CAAC,KAAA,EAAO,UAAA,EAAY,UAAU,MAAM,CAAA;AAEtF,SAAS,oBAAA,CACd,OAAA,GAAuC,EAAC,EACZ;AAC5B,EAAA,MAAM,OAAA,GAAU,QAAQ,YAAA,IAAgB,eAAA;AACxC,EAAA,MAAM,OAAA,GAAU,OAAA,CAAQ,WAAA,IAAe,OAAA,CAAQ,CAAC,CAAA,IAAK,KAAA;AACrD,EAAA,MAAM,CAAC,IAAA,EAAM,OAAO,CAAA,GAAIC,eAA+B,OAAO,CAAA;AAE9D,EAAA,MAAM,UAAA,GAAaC,iBAAA;AAAA,IACjB,CAAC,IAAA,KAA+B;AAC9B,MAAA,IAAI,CAAC,OAAA,CAAQ,QAAA,CAAS,IAAI,CAAA,EAAG;AAC7B,MAAA,OAAA,CAAQ,IAAI,CAAA;AACZ,MAAA,OAAA,CAAQ,WAAW,IAAI,CAAA;AAAA,IACzB,CAAA;AAAA,IACA,CAAC,SAAS,OAAO;AAAA,GACnB;AAEA,EAAA,OAAO,EAAE,IAAA,EAAM,OAAA,EAAS,UAAA,EAAY,cAAc,OAAA,EAAQ;AAC5D","file":"index.cjs","sourcesContent":["/**\n * `useWrapperStatus`\n *\n * Subscribe to a transport's status transitions. Returns the current\n * status string; re-renders whenever the transport fires `onStatusChange`.\n * Uses `useSyncExternalStore` for tearing-free updates under React 18+\n * concurrent rendering.\n */\n\nimport { useSyncExternalStore } from 'react';\nimport type { WrapperTransport, WrapperTransportStatus } from '../types.js';\n\nexport function useWrapperStatus(transport: WrapperTransport): WrapperTransportStatus {\n return useSyncExternalStore(\n (onStoreChange) => transport.onStatusChange(() => onStoreChange()),\n () => transport.status,\n () => transport.status\n );\n}\n","/**\n * `WrapperAppShell`\n *\n * Very small default chrome for wrapper apps — shows the wrapper title, the\n * transport kind, and the current status. Designed to be rendered by a\n * wrapper's root React component; wrappers that want richer chrome should\n * skip this and build their own.\n *\n * Intentionally unstyled (inline minimal styles only) so a wrapper's\n * stylesheet can target the class names.\n */\n\nimport type { ReactElement, ReactNode } from 'react';\nimport type { WrapperTransport } from '../types.js';\nimport { useWrapperStatus } from './useWrapperStatus.js';\n\nexport interface WrapperAppShellProps {\n transport: WrapperTransport;\n title: string;\n /** Optional child content rendered inside `<main>`. */\n children?: ReactNode;\n /** Override the header class name. */\n headerClassName?: string;\n /** Override the main class name. */\n mainClassName?: string;\n}\n\nexport function WrapperAppShell(props: WrapperAppShellProps): ReactElement {\n const { transport, title, children, headerClassName, mainClassName } = props;\n const status = useWrapperStatus(transport);\n\n return (\n <div className=\"qontinui-wrapper-shell\" data-status={status}>\n <header\n className={headerClassName ?? 'qontinui-wrapper-shell__header'}\n style={{\n display: 'flex',\n alignItems: 'baseline',\n gap: '0.75rem',\n padding: '0.5rem 1rem',\n borderBottom: '1px solid rgba(0,0,0,0.1)',\n }}\n >\n <h1 className=\"qontinui-wrapper-shell__title\" style={{ fontSize: '1rem', margin: 0 }}>\n {title}\n </h1>\n <span className=\"qontinui-wrapper-shell__meta\" style={{ fontSize: '0.8rem', opacity: 0.7 }}>\n transport: <code>{transport.kind}</code> · status: <code>{status}</code>\n </span>\n </header>\n <main className={mainClassName ?? 'qontinui-wrapper-shell__main'}>{children}</main>\n </div>\n );\n}\n","/**\n * `useTransportSelector`\n *\n * Small `useState`-backed selector for wrapper UIs that let users flip\n * between transport kinds at runtime (e.g. a \"Run in headless / headed /\n * via runner\" toggle on a wrapper's launch screen).\n *\n * Not tied to any transport instance — this is purely UI state. The\n * consumer is responsible for recreating the transport with the new kind\n * when the value changes.\n */\n\nimport { useCallback, useState } from 'react';\nimport type { WrapperTransportKind } from '../types.js';\n\nexport interface UseTransportSelectorOptions {\n /** Initial kind. Defaults to `\"api\"`. */\n initialKind?: WrapperTransportKind;\n /**\n * Restrict the selectable kinds. Default = all four. Useful when a\n * wrapper can't support one (e.g. pure-api wrappers hiding headless).\n */\n allowedKinds?: readonly WrapperTransportKind[];\n /** Callback fired whenever the kind changes. */\n onChange?: (kind: WrapperTransportKind) => void;\n}\n\nexport interface UseTransportSelectorReturn {\n kind: WrapperTransportKind;\n setKind: (next: WrapperTransportKind) => void;\n allowedKinds: readonly WrapperTransportKind[];\n}\n\nconst DEFAULT_ALLOWED: readonly WrapperTransportKind[] = ['api', 'headless', 'headed', 'live'];\n\nexport function useTransportSelector(\n options: UseTransportSelectorOptions = {}\n): UseTransportSelectorReturn {\n const allowed = options.allowedKinds ?? DEFAULT_ALLOWED;\n const initial = options.initialKind ?? allowed[0] ?? 'api';\n const [kind, setKind] = useState<WrapperTransportKind>(initial);\n\n const selectKind = useCallback(\n (next: WrapperTransportKind) => {\n if (!allowed.includes(next)) return;\n setKind(next);\n options.onChange?.(next);\n },\n [allowed, options]\n );\n\n return { kind, setKind: selectKind, allowedKinds: allowed };\n}\n"]}
|
package/dist/react/index.js
CHANGED
|
@@ -42,16 +42,16 @@ var DEFAULT_ALLOWED = ["api", "headless", "headed", "live"];
|
|
|
42
42
|
function useTransportSelector(options = {}) {
|
|
43
43
|
const allowed = options.allowedKinds ?? DEFAULT_ALLOWED;
|
|
44
44
|
const initial = options.initialKind ?? allowed[0] ?? "api";
|
|
45
|
-
const [kind,
|
|
46
|
-
const
|
|
45
|
+
const [kind, setKind] = useState(initial);
|
|
46
|
+
const selectKind = useCallback(
|
|
47
47
|
(next) => {
|
|
48
48
|
if (!allowed.includes(next)) return;
|
|
49
|
-
|
|
49
|
+
setKind(next);
|
|
50
50
|
options.onChange?.(next);
|
|
51
51
|
},
|
|
52
52
|
[allowed, options]
|
|
53
53
|
);
|
|
54
|
-
return { kind, setKind, allowedKinds: allowed };
|
|
54
|
+
return { kind, setKind: selectKind, allowedKinds: allowed };
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
export { WrapperAppShell, useTransportSelector, useWrapperStatus };
|
package/dist/react/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/react/useWrapperStatus.ts","../../src/react/WrapperAppShell.tsx","../../src/react/useT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AAA;AAAA,YAAO,gBAAA;AAAA,4BAAW,GAAA,CAAC,UAAM,QAAA,EAAA,MAAA,EAAO;AAAA,WAAA,EACnE;AAAA;AAAA;AAAA,KACF;AAAA,oBACA,GAAA,CAAC,MAAA,EAAA,EAAK,SAAA,EAAW,aAAA,IAAiB,gCAAiC,QAAA,EAAS;AAAA,GAAA,EAC9E,CAAA;AAEJ;ACpBA,IAAM,eAAA,GAAmD,CAAC,KAAA,EAAO,UAAA,EAAY,UAAU,MAAM,CAAA;AAEtF,SAAS,oBAAA,CACd,OAAA,GAAuC,EAAC,EACZ;AAC5B,EAAA,MAAM,OAAA,GAAU,QAAQ,YAAA,IAAgB,eAAA;AACxC,EAAA,MAAM,OAAA,GAAU,OAAA,CAAQ,WAAA,IAAe,OAAA,CAAQ,CAAC,CAAA,IAAK,KAAA;AACrD,EAAA,MAAM,CAAC,IAAA,EAAM,
|
|
1
|
+
{"version":3,"sources":["../../src/react/useWrapperStatus.ts","../../src/react/WrapperAppShell.tsx","../../src/react/useTransportSelector.ts"],"names":[],"mappings":";;;;AAYO,SAAS,iBAAiB,SAAA,EAAqD;AACpF,EAAA,OAAO,oBAAA;AAAA,IACL,CAAC,aAAA,KAAkB,SAAA,CAAU,cAAA,CAAe,MAAM,eAAe,CAAA;AAAA,IACjE,MAAM,SAAA,CAAU,MAAA;AAAA,IAChB,MAAM,SAAA,CAAU;AAAA,GAClB;AACF;ACSO,SAAS,gBAAgB,KAAA,EAA2C;AACzE,EAAA,MAAM,EAAE,SAAA,EAAW,KAAA,EAAO,QAAA,EAAU,eAAA,EAAiB,eAAc,GAAI,KAAA;AACvE,EAAA,MAAM,MAAA,GAAS,iBAAiB,SAAS,CAAA;AAEzC,EAAA,uBACE,IAAA,CAAC,KAAA,EAAA,EAAI,SAAA,EAAU,wBAAA,EAAyB,eAAa,MAAA,EACnD,QAAA,EAAA;AAAA,oBAAA,IAAA;AAAA,MAAC,QAAA;AAAA,MAAA;AAAA,QACC,WAAW,eAAA,IA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AA,MAAM,UAAA,GAAa,WAAA;AAAA,IACjB,CAAC,IAAA,KAA+B;AAC9B,MAAA,IAAI,CAAC,OAAA,CAAQ,QAAA,CAAS,IAAI,CAAA,EAAG;AAC7B,MAAA,OAAA,CAAQ,IAAI,CAAA;AACZ,MAAA,OAAA,CAAQ,WAAW,IAAI,CAAA;AAAA,IACzB,CAAA;AAAA,IACA,CAAC,SAAS,OAAO;AAAA,GACnB;AAEA,EAAA,OAAO,EAAE,IAAA,EAAM,OAAA,EAAS,UAAA,EAAY,cAAc,OAAA,EAAQ;AAC5D","file":"index.js","sourcesContent":["/**\n * `useWrapperStatus`\n *\n * Subscribe to a transport's status transitions. Returns the current\n * status string; re-renders whenever the transport fires `onStatusChange`.\n * Uses `useSyncExternalStore` for tearing-free updates under React 18+\n * concurrent rendering.\n */\n\nimport { useSyncExternalStore } from 'react';\nimport type { WrapperTransport, WrapperTransportStatus } from '../types.js';\n\nexport function useWrapperStatus(transport: WrapperTransport): WrapperTransportStatus {\n return useSyncExternalStore(\n (onStoreChange) => transport.onStatusChange(() => onStoreChange()),\n () => transport.status,\n () => transport.status\n );\n}\n","/**\n * `WrapperAppShell`\n *\n * Very small default chrome for wrapper apps — shows the wrapper title, the\n * transport kind, and the current status. Designed to be rendered by a\n * wrapper's root React component; wrappers that want richer chrome should\n * skip this and build their own.\n *\n * Intentionally unstyled (inline minimal styles only) so a wrapper's\n * stylesheet can target the class names.\n */\n\nimport type { ReactElement, ReactNode } from 'react';\nimport type { WrapperTransport } from '../types.js';\nimport { useWrapperStatus } from './useWrapperStatus.js';\n\nexport interface WrapperAppShellProps {\n transport: WrapperTransport;\n title: string;\n /** Optional child content rendered inside `<main>`. */\n children?: ReactNode;\n /** Override the header class name. */\n headerClassName?: string;\n /** Override the main class name. */\n mainClassName?: string;\n}\n\nexport function WrapperAppShell(props: WrapperAppShellProps): ReactElement {\n const { transport, title, children, headerClassName, mainClassName } = props;\n const status = useWrapperStatus(transport);\n\n return (\n <div className=\"qontinui-wrapper-shell\" data-status={status}>\n <header\n className={headerClassName ?? 'qontinui-wrapper-shell__header'}\n style={{\n display: 'flex',\n alignItems: 'baseline',\n gap: '0.75rem',\n padding: '0.5rem 1rem',\n borderBottom: '1px solid rgba(0,0,0,0.1)',\n }}\n >\n <h1 className=\"qontinui-wrapper-shell__title\" style={{ fontSize: '1rem', margin: 0 }}>\n {title}\n </h1>\n <span className=\"qontinui-wrapper-shell__meta\" style={{ fontSize: '0.8rem', opacity: 0.7 }}>\n transport: <code>{transport.kind}</code> · status: <code>{status}</code>\n </span>\n </header>\n <main className={mainClassName ?? 'qontinui-wrapper-shell__main'}>{children}</main>\n </div>\n );\n}\n","/**\n * `useTransportSelector`\n *\n * Small `useState`-backed selector for wrapper UIs that let users flip\n * between transport kinds at runtime (e.g. a \"Run in headless / headed /\n * via runner\" toggle on a wrapper's launch screen).\n *\n * Not tied to any transport instance — this is purely UI state. The\n * consumer is responsible for recreating the transport with the new kind\n * when the value changes.\n */\n\nimport { useCallback, useState } from 'react';\nimport type { WrapperTransportKind } from '../types.js';\n\nexport interface UseTransportSelectorOptions {\n /** Initial kind. Defaults to `\"api\"`. */\n initialKind?: WrapperTransportKind;\n /**\n * Restrict the selectable kinds. Default = all four. Useful when a\n * wrapper can't support one (e.g. pure-api wrappers hiding headless).\n */\n allowedKinds?: readonly WrapperTransportKind[];\n /** Callback fired whenever the kind changes. */\n onChange?: (kind: WrapperTransportKind) => void;\n}\n\nexport interface UseTransportSelectorReturn {\n kind: WrapperTransportKind;\n setKind: (next: WrapperTransportKind) => void;\n allowedKinds: readonly WrapperTransportKind[];\n}\n\nconst DEFAULT_ALLOWED: readonly WrapperTransportKind[] = ['api', 'headless', 'headed', 'live'];\n\nexport function useTransportSelector(\n options: UseTransportSelectorOptions = {}\n): UseTransportSelectorReturn {\n const allowed = options.allowedKinds ?? DEFAULT_ALLOWED;\n const initial = options.initialKind ?? allowed[0] ?? 'api';\n const [kind, setKind] = useState<WrapperTransportKind>(initial);\n\n const selectKind = useCallback(\n (next: WrapperTransportKind) => {\n if (!allowed.includes(next)) return;\n setKind(next);\n options.onChange?.(next);\n },\n [allowed, options]\n );\n\n return { kind, setKind: selectKind, allowedKinds: allowed };\n}\n"]}
|
|
@@ -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,CAAC;IACrC,yCA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