@qontinui/ui-bridge 0.17.0 → 0.19.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.
- package/dist/ai/index.d.mts +5 -5
- package/dist/ai/index.d.ts +5 -5
- package/dist/artifacts/index.d.mts +6 -6
- package/dist/artifacts/index.d.ts +6 -6
- package/dist/{assertions-Cuf-hvNa.d.ts → assertions-DwPKlu6v.d.ts} +1 -1
- package/dist/{assertions-C-uxQGa8.d.mts → assertions-j3SVwQrW.d.mts} +1 -1
- package/dist/{browser-capture-9-HEYLK-.d.ts → browser-capture-CDRUbuDp.d.ts} +1 -1
- package/dist/{browser-capture-CrytvSDO.d.mts → browser-capture-CRVnwBE4.d.mts} +1 -1
- package/dist/{change-observer-CBfJ5biX.d.mts → change-observer-BPtZll6d.d.mts} +1 -1
- package/dist/{change-observer-DRBa79aK.d.ts → change-observer-D0aEcwCl.d.ts} +1 -1
- package/dist/contracts/index.d.mts +5 -5
- package/dist/contracts/index.d.ts +5 -5
- package/dist/control/index.d.mts +4 -4
- package/dist/control/index.d.ts +4 -4
- package/dist/core/index.d.mts +9 -9
- package/dist/core/index.d.ts +9 -9
- package/dist/ctr/index.d.mts +4 -4
- package/dist/ctr/index.d.ts +4 -4
- package/dist/ctr/migrate.d.mts +3 -3
- package/dist/ctr/migrate.d.ts +3 -3
- package/dist/debug/index.d.mts +6 -6
- package/dist/debug/index.d.ts +6 -6
- package/dist/{drag-drop-detector-CXlhwPb7.d.mts → drag-drop-detector-Baq_Ixcc.d.mts} +1 -1
- package/dist/{drag-drop-detector-B8j1bMWp.d.ts → drag-drop-detector-gMHP_QIg.d.ts} +1 -1
- package/dist/{effect-store-Cp6Kb2-X.d.ts → effect-store-C0YCNUMx.d.ts} +1 -1
- package/dist/{effect-store-C7l209DQ.d.mts → effect-store-CATaXg5u.d.mts} +1 -1
- package/dist/{error-snapshot-DCr4oUYq.d.mts → error-snapshot-CmaQu6Ox.d.mts} +1 -1
- package/dist/{error-snapshot-owQQTv8i.d.ts → error-snapshot-DENlqCYO.d.ts} +1 -1
- package/dist/{find-B4dTGeqA.d.mts → find-A7hwZli6.d.mts} +1 -1
- package/dist/{find-DWZC8yoa.d.ts → find-DpPytcRP.d.ts} +1 -1
- package/dist/index.d.mts +20 -20
- package/dist/index.d.ts +20 -20
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/injected/bundle.global.js +1 -1
- package/dist/injected/index.d.mts +1 -1
- package/dist/injected/index.d.ts +1 -1
- package/dist/{metrics-Bz_3-pCs.d.mts → metrics-Bqs3Guh-.d.mts} +1 -1
- package/dist/{metrics-Dc2AV4Dr.d.ts → metrics-CnWC5_lF.d.ts} +1 -1
- package/dist/{migrate-specs-to-ctr-Dem0JPuu.d.ts → migrate-specs-to-ctr-BdcTdvZZ.d.ts} +2 -2
- package/dist/{migrate-specs-to-ctr-CUWHsCz-.d.mts → migrate-specs-to-ctr-KlH3DlnN.d.mts} +2 -2
- package/dist/{nextjs-CF71sn2M.d.ts → nextjs-BLvmgmnW.d.ts} +2 -2
- package/dist/{nextjs-CkNdxAF9.d.mts → nextjs-qQe7vyS4.d.mts} +2 -2
- package/dist/react/index.d.mts +4 -4
- package/dist/react/index.d.ts +4 -4
- package/dist/react/index.js +1 -1
- package/dist/react/index.mjs +1 -1
- package/dist/render-log/index.d.mts +1 -1
- package/dist/render-log/index.d.ts +1 -1
- package/dist/server/express.d.mts +7 -7
- package/dist/server/express.d.ts +7 -7
- package/dist/server/express.js +5 -0
- package/dist/server/express.js.map +1 -1
- package/dist/server/express.mjs +5 -0
- package/dist/server/express.mjs.map +1 -1
- package/dist/server/handlers.d.mts +9 -9
- package/dist/server/handlers.d.ts +9 -9
- package/dist/server/handlers.js +6 -0
- package/dist/server/handlers.js.map +1 -1
- package/dist/server/handlers.mjs +6 -0
- package/dist/server/handlers.mjs.map +1 -1
- package/dist/server/index.d.mts +101 -18
- package/dist/server/index.d.ts +101 -18
- package/dist/server/index.js +35 -1
- package/dist/server/index.js.map +1 -1
- package/dist/server/index.mjs +35 -2
- package/dist/server/index.mjs.map +1 -1
- package/dist/server/nextjs.d.mts +8 -8
- package/dist/server/nextjs.d.ts +8 -8
- package/dist/server/nextjs.js +13 -1
- package/dist/server/nextjs.js.map +1 -1
- package/dist/server/nextjs.mjs +13 -1
- package/dist/server/nextjs.mjs.map +1 -1
- package/dist/server/standalone.d.mts +9 -9
- package/dist/server/standalone.d.ts +9 -9
- package/dist/server/standalone.js +5 -0
- package/dist/server/standalone.js.map +1 -1
- package/dist/server/standalone.mjs +5 -0
- package/dist/server/standalone.mjs.map +1 -1
- package/dist/specs/index.d.mts +10 -10
- package/dist/specs/index.d.ts +10 -10
- package/dist/{sse-handler-CpB3bJ2N.d.mts → sse-handler-BE5cyXF7.d.mts} +1 -1
- package/dist/{sse-handler-BpZ9QtRm.d.ts → sse-handler-Bw_4h2AN.d.ts} +1 -1
- package/dist/{standalone-C_knSpNG.d.ts → standalone-SkUUJ8sc.d.ts} +4 -4
- package/dist/{standalone-CY0Uj5LQ.d.mts → standalone-u-N_N3Wl.d.mts} +4 -4
- package/dist/{store-Bv5wJ91r.d.mts → store-BHzSGFU2.d.mts} +1 -1
- package/dist/{store-BjSi35SI.d.ts → store-DH3LUEjx.d.ts} +1 -1
- package/dist/{style-types-mvMAEeSI.d.mts → style-types-CtwPR05K.d.mts} +1 -1
- package/dist/{style-types-De_9GaYG.d.ts → style-types-lmRdKbT8.d.ts} +1 -1
- package/dist/{types-BUCPM1o1.d.mts → types-CB7QpT8R.d.mts} +3 -3
- package/dist/{types-IQUAZlE2.d.mts → types-CgsWB31c.d.mts} +1 -1
- package/dist/{types-zS11cuej.d.ts → types-Chf3cfrT.d.ts} +12 -0
- package/dist/{types-C6ix-zFE.d.ts → types-CovPz-sh.d.ts} +1 -1
- package/dist/{types-Bubo62kN.d.mts → types-DNc31VlO.d.mts} +80 -7
- package/dist/{types-vftd8HsR.d.ts → types-DgIxG1sS.d.ts} +1 -1
- package/dist/{types-Bz40rWAT.d.ts → types-DhJE_FQX.d.ts} +3 -3
- package/dist/{types-DUVvn3yt.d.ts → types-DmMT2yMs.d.ts} +80 -7
- package/dist/{types-D1UiLr75.d.mts → types-DnqZodFb.d.mts} +12 -0
- package/dist/{types-cfwRCpgn.d.ts → types-bG3xLcjL.d.ts} +1 -1
- package/dist/{types-q-2aMSnI.d.mts → types-cQzKFRd5.d.mts} +1 -1
- package/dist/{types-BYhYroLP.d.mts → types-gusNHeJt.d.mts} +1 -1
- package/dist/verification-layers/index.d.mts +5 -5
- package/dist/verification-layers/index.d.ts +5 -5
- package/dist/{websocket-client-Bmt4YNSR.d.ts → websocket-client-BEtd7_GO.d.ts} +1 -1
- package/dist/{websocket-client-B_W7ZvT0.d.mts → websocket-client-CDRMdZdU.d.mts} +1 -1
- package/dist/{ws-streaming-DGiomqt_.d.mts → ws-streaming-BzumSnWw.d.mts} +1 -1
- package/dist/{ws-streaming-D_tat1kF.d.ts → ws-streaming-DweATXes.d.ts} +1 -1
- package/package.json +1 -1
package/dist/specs/index.d.mts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { S as SpecCategory, a as SpecSeverity, r as SpecSource, c as SpecConfig, e as SpecAssertion, w as SpecTarget, i as SpecAssertionResult, d as SpecGroup, o as SpecExecutionOptions, h as SpecGroupResult, g as SpecExecutionResult } from '../types-
|
|
2
|
-
export { A as AssertionCondition, j as AsyncStrategy, D as DiscoveredSpec, k as SPEC_CONFIG_VERSION, l as SPEC_FILE_EXTENSION, m as SetupAction, f as SpecCoverage, b as SpecEvent, n as SpecEventType, p as SpecGroupTesting, q as SpecMetadata, s as SpecState, t as SpecStateMachine, u as SpecStateMachineShape, v as SpecStateShape, x as SpecTestingConfig, y as SpecTransition, z as SpecTransitionAction, B as SpecValidationRollup, T as TestDataAsset, C as TestFixture, E as TestInfrastructureRequirements, F as TestScenario, G as TestStep, V as VALID_ASSERTION_TYPES, H as VALID_SPEC_CATEGORIES, I as VALID_SPEC_SEVERITIES, J as VALID_SPEC_SOURCES } from '../types-
|
|
3
|
-
import { r as AssertionType, D as DiscoveredElement, m as AIDiscoveredElement, n as AssertionRequest, S as SearchCriteria, ci as ExtendedComputedStyles, ap as ElementDesignData } from '../types-
|
|
4
|
-
export { a as SpecFilterOptions, b as SpecListener, S as SpecStore, g as getGlobalSpecStore, r as resetGlobalSpecStore } from '../store-
|
|
5
|
-
import { A as AssertionConfig } from '../assertions-
|
|
6
|
-
import { g as ArtifactStore } from '../types-
|
|
7
|
-
import { p as StyleConstraint, D as DesignTokens, q as StyleConstraintResult, S as StyleGuideConfig, a as StyleAuditReport, r as StyleRule, s as StyleValidationResult, k as QualityMetricId, f as MetricFunction, h as QualityContext, V as ViewportDimensions, Q as QualityEvaluationReport, n as SnapshotBaseline, b as SnapshotDiffReport } from '../style-types-
|
|
8
|
-
export { c as ElementDiff, E as EvaluateRequest, L as LayoutShift, M as MetricContextConfig, d as MetricFinding, e as MetricFindingSeverity, g as MetricResult, i as QualityGrade, j as QualityMetricCategory, l as STYLE_GUIDE_FILE_EXTENSION, m as STYLE_GUIDE_VERSION, o as StyleChange } from '../style-types-
|
|
1
|
+
import { S as SpecCategory, a as SpecSeverity, r as SpecSource, c as SpecConfig, e as SpecAssertion, w as SpecTarget, i as SpecAssertionResult, d as SpecGroup, o as SpecExecutionOptions, h as SpecGroupResult, g as SpecExecutionResult } from '../types-gusNHeJt.mjs';
|
|
2
|
+
export { A as AssertionCondition, j as AsyncStrategy, D as DiscoveredSpec, k as SPEC_CONFIG_VERSION, l as SPEC_FILE_EXTENSION, m as SetupAction, f as SpecCoverage, b as SpecEvent, n as SpecEventType, p as SpecGroupTesting, q as SpecMetadata, s as SpecState, t as SpecStateMachine, u as SpecStateMachineShape, v as SpecStateShape, x as SpecTestingConfig, y as SpecTransition, z as SpecTransitionAction, B as SpecValidationRollup, T as TestDataAsset, C as TestFixture, E as TestInfrastructureRequirements, F as TestScenario, G as TestStep, V as VALID_ASSERTION_TYPES, H as VALID_SPEC_CATEGORIES, I as VALID_SPEC_SEVERITIES, J as VALID_SPEC_SOURCES } from '../types-gusNHeJt.mjs';
|
|
3
|
+
import { r as AssertionType, D as DiscoveredElement, m as AIDiscoveredElement, n as AssertionRequest, S as SearchCriteria, ci as ExtendedComputedStyles, ap as ElementDesignData } from '../types-DnqZodFb.mjs';
|
|
4
|
+
export { a as SpecFilterOptions, b as SpecListener, S as SpecStore, g as getGlobalSpecStore, r as resetGlobalSpecStore } from '../store-BHzSGFU2.mjs';
|
|
5
|
+
import { A as AssertionConfig } from '../assertions-j3SVwQrW.mjs';
|
|
6
|
+
import { g as ArtifactStore } from '../types-CB7QpT8R.mjs';
|
|
7
|
+
import { p as StyleConstraint, D as DesignTokens, q as StyleConstraintResult, S as StyleGuideConfig, a as StyleAuditReport, r as StyleRule, s as StyleValidationResult, k as QualityMetricId, f as MetricFunction, h as QualityContext, V as ViewportDimensions, Q as QualityEvaluationReport, n as SnapshotBaseline, b as SnapshotDiffReport } from '../style-types-CtwPR05K.mjs';
|
|
8
|
+
export { c as ElementDiff, E as EvaluateRequest, L as LayoutShift, M as MetricContextConfig, d as MetricFinding, e as MetricFindingSeverity, g as MetricResult, i as QualityGrade, j as QualityMetricCategory, l as STYLE_GUIDE_FILE_EXTENSION, m as STYLE_GUIDE_VERSION, o as StyleChange } from '../style-types-CtwPR05K.mjs';
|
|
9
9
|
import '../codes.generated-CXeSH-M4.mjs';
|
|
10
|
-
import '../types-
|
|
11
|
-
import '../types-
|
|
10
|
+
import '../types-cQzKFRd5.mjs';
|
|
11
|
+
import '../types-CgsWB31c.mjs';
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* Spec Validator
|
package/dist/specs/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { S as SpecCategory, a as SpecSeverity, r as SpecSource, c as SpecConfig, e as SpecAssertion, w as SpecTarget, i as SpecAssertionResult, d as SpecGroup, o as SpecExecutionOptions, h as SpecGroupResult, g as SpecExecutionResult } from '../types-
|
|
2
|
-
export { A as AssertionCondition, j as AsyncStrategy, D as DiscoveredSpec, k as SPEC_CONFIG_VERSION, l as SPEC_FILE_EXTENSION, m as SetupAction, f as SpecCoverage, b as SpecEvent, n as SpecEventType, p as SpecGroupTesting, q as SpecMetadata, s as SpecState, t as SpecStateMachine, u as SpecStateMachineShape, v as SpecStateShape, x as SpecTestingConfig, y as SpecTransition, z as SpecTransitionAction, B as SpecValidationRollup, T as TestDataAsset, C as TestFixture, E as TestInfrastructureRequirements, F as TestScenario, G as TestStep, V as VALID_ASSERTION_TYPES, H as VALID_SPEC_CATEGORIES, I as VALID_SPEC_SEVERITIES, J as VALID_SPEC_SOURCES } from '../types-
|
|
3
|
-
import { r as AssertionType, D as DiscoveredElement, m as AIDiscoveredElement, n as AssertionRequest, S as SearchCriteria, ci as ExtendedComputedStyles, ap as ElementDesignData } from '../types-
|
|
4
|
-
export { a as SpecFilterOptions, b as SpecListener, S as SpecStore, g as getGlobalSpecStore, r as resetGlobalSpecStore } from '../store-
|
|
5
|
-
import { A as AssertionConfig } from '../assertions-
|
|
6
|
-
import { g as ArtifactStore } from '../types-
|
|
7
|
-
import { p as StyleConstraint, D as DesignTokens, q as StyleConstraintResult, S as StyleGuideConfig, a as StyleAuditReport, r as StyleRule, s as StyleValidationResult, k as QualityMetricId, f as MetricFunction, h as QualityContext, V as ViewportDimensions, Q as QualityEvaluationReport, n as SnapshotBaseline, b as SnapshotDiffReport } from '../style-types-
|
|
8
|
-
export { c as ElementDiff, E as EvaluateRequest, L as LayoutShift, M as MetricContextConfig, d as MetricFinding, e as MetricFindingSeverity, g as MetricResult, i as QualityGrade, j as QualityMetricCategory, l as STYLE_GUIDE_FILE_EXTENSION, m as STYLE_GUIDE_VERSION, o as StyleChange } from '../style-types-
|
|
1
|
+
import { S as SpecCategory, a as SpecSeverity, r as SpecSource, c as SpecConfig, e as SpecAssertion, w as SpecTarget, i as SpecAssertionResult, d as SpecGroup, o as SpecExecutionOptions, h as SpecGroupResult, g as SpecExecutionResult } from '../types-bG3xLcjL.js';
|
|
2
|
+
export { A as AssertionCondition, j as AsyncStrategy, D as DiscoveredSpec, k as SPEC_CONFIG_VERSION, l as SPEC_FILE_EXTENSION, m as SetupAction, f as SpecCoverage, b as SpecEvent, n as SpecEventType, p as SpecGroupTesting, q as SpecMetadata, s as SpecState, t as SpecStateMachine, u as SpecStateMachineShape, v as SpecStateShape, x as SpecTestingConfig, y as SpecTransition, z as SpecTransitionAction, B as SpecValidationRollup, T as TestDataAsset, C as TestFixture, E as TestInfrastructureRequirements, F as TestScenario, G as TestStep, V as VALID_ASSERTION_TYPES, H as VALID_SPEC_CATEGORIES, I as VALID_SPEC_SEVERITIES, J as VALID_SPEC_SOURCES } from '../types-bG3xLcjL.js';
|
|
3
|
+
import { r as AssertionType, D as DiscoveredElement, m as AIDiscoveredElement, n as AssertionRequest, S as SearchCriteria, ci as ExtendedComputedStyles, ap as ElementDesignData } from '../types-Chf3cfrT.js';
|
|
4
|
+
export { a as SpecFilterOptions, b as SpecListener, S as SpecStore, g as getGlobalSpecStore, r as resetGlobalSpecStore } from '../store-DH3LUEjx.js';
|
|
5
|
+
import { A as AssertionConfig } from '../assertions-DwPKlu6v.js';
|
|
6
|
+
import { g as ArtifactStore } from '../types-DhJE_FQX.js';
|
|
7
|
+
import { p as StyleConstraint, D as DesignTokens, q as StyleConstraintResult, S as StyleGuideConfig, a as StyleAuditReport, r as StyleRule, s as StyleValidationResult, k as QualityMetricId, f as MetricFunction, h as QualityContext, V as ViewportDimensions, Q as QualityEvaluationReport, n as SnapshotBaseline, b as SnapshotDiffReport } from '../style-types-lmRdKbT8.js';
|
|
8
|
+
export { c as ElementDiff, E as EvaluateRequest, L as LayoutShift, M as MetricContextConfig, d as MetricFinding, e as MetricFindingSeverity, g as MetricResult, i as QualityGrade, j as QualityMetricCategory, l as STYLE_GUIDE_FILE_EXTENSION, m as STYLE_GUIDE_VERSION, o as StyleChange } from '../style-types-lmRdKbT8.js';
|
|
9
9
|
import '../codes.generated-CXeSH-M4.js';
|
|
10
|
-
import '../types-
|
|
11
|
-
import '../types-
|
|
10
|
+
import '../types-CovPz-sh.js';
|
|
11
|
+
import '../types-DgIxG1sS.js';
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* Spec Validator
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { C as ChangeObserver } from './change-observer-
|
|
2
|
-
import { U as UIBridgeRegistry, e as BridgeEvent } from './types-
|
|
3
|
-
import { a as UIBridgeServerHandlers, U as UIBridgeServerConfig, W as WebSocketMessage } from './types-
|
|
4
|
-
import { S as SSEManager } from './sse-handler-
|
|
1
|
+
import { C as ChangeObserver } from './change-observer-D0aEcwCl.js';
|
|
2
|
+
import { U as UIBridgeRegistry, e as BridgeEvent } from './types-Chf3cfrT.js';
|
|
3
|
+
import { a as UIBridgeServerHandlers, U as UIBridgeServerConfig, W as WebSocketMessage } from './types-DmMT2yMs.js';
|
|
4
|
+
import { S as SSEManager } from './sse-handler-Bw_4h2AN.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* WebSocket-like interface for compatibility
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { C as ChangeObserver } from './change-observer-
|
|
2
|
-
import { U as UIBridgeRegistry, e as BridgeEvent } from './types-
|
|
3
|
-
import { a as UIBridgeServerHandlers, U as UIBridgeServerConfig, W as WebSocketMessage } from './types-
|
|
4
|
-
import { S as SSEManager } from './sse-handler-
|
|
1
|
+
import { C as ChangeObserver } from './change-observer-BPtZll6d.mjs';
|
|
2
|
+
import { U as UIBridgeRegistry, e as BridgeEvent } from './types-DnqZodFb.mjs';
|
|
3
|
+
import { a as UIBridgeServerHandlers, U as UIBridgeServerConfig, W as WebSocketMessage } from './types-DNc31VlO.mjs';
|
|
4
|
+
import { S as SSEManager } from './sse-handler-BE5cyXF7.mjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* WebSocket-like interface for compatibility
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SpecCategory, a as SpecSeverity, b as SpecEvent, c as SpecConfig, d as SpecGroup, e as SpecAssertion, f as SpecCoverage } from './types-
|
|
1
|
+
import { S as SpecCategory, a as SpecSeverity, b as SpecEvent, c as SpecConfig, d as SpecGroup, e as SpecAssertion, f as SpecCoverage } from './types-gusNHeJt.mjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Spec Store
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SpecCategory, a as SpecSeverity, b as SpecEvent, c as SpecConfig, d as SpecGroup, e as SpecAssertion, f as SpecCoverage } from './types-
|
|
1
|
+
import { S as SpecCategory, a as SpecSeverity, b as SpecEvent, c as SpecConfig, d as SpecGroup, e as SpecAssertion, f as SpecCoverage } from './types-bG3xLcjL.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Spec Store
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as SpecExecutionResult, h as SpecGroupResult } from './types-
|
|
2
|
-
import { C as ContractExecutionResult } from './types-
|
|
3
|
-
import { M as MatrixExecutionResult } from './types-
|
|
1
|
+
import { g as SpecExecutionResult, h as SpecGroupResult } from './types-gusNHeJt.mjs';
|
|
2
|
+
import { C as ContractExecutionResult } from './types-cQzKFRd5.mjs';
|
|
3
|
+
import { M as MatrixExecutionResult } from './types-CgsWB31c.mjs';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Artifact Types
|
|
@@ -1215,6 +1215,18 @@ interface EffectVerification {
|
|
|
1215
1215
|
* Extended action request with additional options
|
|
1216
1216
|
*/
|
|
1217
1217
|
interface ControlActionRequest extends ActionRequest {
|
|
1218
|
+
/**
|
|
1219
|
+
* Target a runner pop-out window for this action; omit → the main window.
|
|
1220
|
+
*
|
|
1221
|
+
* Discover live window labels via `listWindows()` (the runner returns a
|
|
1222
|
+
* structured error naming the missing window if the label is unknown). The
|
|
1223
|
+
* runner resolves the target from the `?windowLabel=` **query parameter** on
|
|
1224
|
+
* `POST /control/element/:id/action` (`ActionQueryParams.window_label`), so a
|
|
1225
|
+
* caller issuing the HTTP request directly must append `?windowLabel=<label>`
|
|
1226
|
+
* to the action URL — this typed field documents the option and carries it for
|
|
1227
|
+
* transports that forward the request bag verbatim.
|
|
1228
|
+
*/
|
|
1229
|
+
windowLabel?: string;
|
|
1218
1230
|
/** Unique request ID for tracking */
|
|
1219
1231
|
requestId?: string;
|
|
1220
1232
|
/** Capture snapshot after action */
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { i as AnyCapturedEvent, u as CapturedError, M as UIBridgeConfig, z as ControlSnapshot, Q as ControlActionRequest, C as ControlActionResponse, x as BatchActionRequest, y as BatchActionResponse, R as ComponentActionRequest, g as ComponentActionResponse, V as FindRequest, X as FindResponse, Y as WorkflowRunRequest, Z as WorkflowRunResponse, S as SearchCriteria, _ as SearchResponse, $ as NLActionRequest, a0 as NLActionResponse, n as AssertionRequest, o as AssertionResult, p as BatchAssertionRequest, q as BatchAssertionResult, a1 as SemanticSnapshot, a2 as SemanticDiff, a3 as ActionWithDiffRequest, a4 as ActionDiffResult, a5 as ChangePredicate, a6 as WaitForChangeOptions, a7 as CategorizedDiff, a8 as StructuredChangeAnalysis, a9 as ChangeBufferDrainResult, aa as SnapshotBookmark, ab as SemanticSearchCriteria, ac as SemanticSearchResponse, G as UIState, H as UIStateGroup, I as UITransition, T as TransitionResult, P as PathResult, N as NavigationResult, J as StateSnapshot, ad as IntentExecutionResult, ae as IntentSearchResponse, af as Intent, ag as RecoveryAttemptRequest, ah as RecoveryAttemptResult, ai as PageDataMap, aj as PageRegionMap, ak as StructuredDataExtraction, al as ComponentInfo, am as CrossAppComparisonReport, an as PageNavigationResponse, ao as PageNavigateRequest, ap as ElementDesignData, aq as InteractionStateName, ar as StateStyles, as as ResponsiveSnapshot, at as FormsResponse, F as FillFormRequest, w as FillResult, au as UndoRedoState, K as ElementHistoryOptions } from './types-
|
|
1
|
+
import { i as AnyCapturedEvent, u as CapturedError, M as UIBridgeConfig, z as ControlSnapshot, Q as ControlActionRequest, C as ControlActionResponse, x as BatchActionRequest, y as BatchActionResponse, R as ComponentActionRequest, g as ComponentActionResponse, V as FindRequest, X as FindResponse, Y as WorkflowRunRequest, Z as WorkflowRunResponse, S as SearchCriteria, _ as SearchResponse, $ as NLActionRequest, a0 as NLActionResponse, n as AssertionRequest, o as AssertionResult, p as BatchAssertionRequest, q as BatchAssertionResult, a1 as SemanticSnapshot, a2 as SemanticDiff, a3 as ActionWithDiffRequest, a4 as ActionDiffResult, a5 as ChangePredicate, a6 as WaitForChangeOptions, a7 as CategorizedDiff, a8 as StructuredChangeAnalysis, a9 as ChangeBufferDrainResult, aa as SnapshotBookmark, ab as SemanticSearchCriteria, ac as SemanticSearchResponse, G as UIState, H as UIStateGroup, I as UITransition, T as TransitionResult, P as PathResult, N as NavigationResult, J as StateSnapshot, ad as IntentExecutionResult, ae as IntentSearchResponse, af as Intent, ag as RecoveryAttemptRequest, ah as RecoveryAttemptResult, ai as PageDataMap, aj as PageRegionMap, ak as StructuredDataExtraction, al as ComponentInfo, am as CrossAppComparisonReport, an as PageNavigationResponse, ao as PageNavigateRequest, ap as ElementDesignData, aq as InteractionStateName, ar as StateStyles, as as ResponsiveSnapshot, at as FormsResponse, F as FillFormRequest, w as FillResult, au as UndoRedoState, K as ElementHistoryOptions } from './types-DnqZodFb.mjs';
|
|
2
2
|
import { U as UiBridgeErrorCode } from './codes.generated-CXeSH-M4.mjs';
|
|
3
3
|
import { a as CompositeIdleStatus, S as SignalStatus } from './types-dIjjX5Mf.mjs';
|
|
4
|
-
import { E as EffectRecordEntry } from './effect-store-
|
|
4
|
+
import { E as EffectRecordEntry } from './effect-store-CATaXg5u.mjs';
|
|
5
5
|
import { RenderLogEntryType, RenderLogEntry } from './render-log/index.mjs';
|
|
6
6
|
import { b as NetworkRequestEntry, W as WaitForRequestOptions, c as WaitForRequestResult } from './tracker-ChLmf8-u.mjs';
|
|
7
|
-
import { F as FindContext, a as FindResult, b as FormSnapshot, c as FormDiff } from './find-
|
|
8
|
-
import { S as StyleGuideConfig, a as StyleAuditReport, E as EvaluateRequest, Q as QualityEvaluationReport, b as SnapshotDiffReport } from './style-types-
|
|
7
|
+
import { F as FindContext, a as FindResult, b as FormSnapshot, c as FormDiff } from './find-A7hwZli6.mjs';
|
|
8
|
+
import { S as StyleGuideConfig, a as StyleAuditReport, E as EvaluateRequest, Q as QualityEvaluationReport, b as SnapshotDiffReport } from './style-types-CtwPR05K.mjs';
|
|
9
9
|
import { E as ElementAnnotation, A as AnnotationConfig, a as AnnotationCoverage } from './types-C7D5seeQ.mjs';
|
|
10
|
-
import { F as FingerprintedEvent, T as TimelineEntry, H as HealthReport, N as NetworkChain, E as ErrorSessionSummary, B as BaselineComparison, a as ErrorSnapshot } from './error-snapshot-
|
|
10
|
+
import { F as FingerprintedEvent, T as TimelineEntry, H as HealthReport, N as NetworkChain, E as ErrorSessionSummary, B as BaselineComparison, a as ErrorSnapshot } from './error-snapshot-CmaQu6Ox.mjs';
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* Page Health Diagnostics
|
|
@@ -153,6 +153,49 @@ interface APIResponse<T = unknown> {
|
|
|
153
153
|
/**
|
|
154
154
|
* Render log query parameters
|
|
155
155
|
*/
|
|
156
|
+
/**
|
|
157
|
+
* One runner-owned webview window, as returned by `listWindows()`
|
|
158
|
+
* (`GET /control/runner-windows`). The wire shape mirrors the runner's
|
|
159
|
+
* `ui_bridge_list_runner_windows_handler` exactly — no field remapping.
|
|
160
|
+
*/
|
|
161
|
+
interface RunnerWindow {
|
|
162
|
+
/** The window's Tauri label — the value to pass as `windowLabel`. */
|
|
163
|
+
label: string;
|
|
164
|
+
/** `'main'` for the runner's primary window, `'secondary'` for a pop-out. */
|
|
165
|
+
kind: 'main' | 'secondary';
|
|
166
|
+
/** The window's title, or `null` if unavailable. */
|
|
167
|
+
title: string | null;
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* Response payload of `listWindows()` (`GET /control/runner-windows`).
|
|
171
|
+
*/
|
|
172
|
+
interface RunnerWindowsList {
|
|
173
|
+
/** Number of windows returned. */
|
|
174
|
+
count: number;
|
|
175
|
+
/** The runner process's own webview windows, sorted by `label`. */
|
|
176
|
+
windows: RunnerWindow[];
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* Request body for `POST /control/page/evaluate` (`pageEvaluate`).
|
|
180
|
+
*
|
|
181
|
+
* The body is forwarded verbatim to the runner, so any additional fields are
|
|
182
|
+
* preserved (index signature); the two known fields are typed for
|
|
183
|
+
* discoverability.
|
|
184
|
+
*/
|
|
185
|
+
interface PageEvaluateRequest {
|
|
186
|
+
/** JavaScript expression to evaluate in the target window. */
|
|
187
|
+
expression: string;
|
|
188
|
+
/**
|
|
189
|
+
* Target a runner pop-out window discoverable via `listWindows()`;
|
|
190
|
+
* omit → the main window. The runner reads this from the request body
|
|
191
|
+
* (`EvaluateQuery.window_label`) or the `?windowLabel=` query, **query
|
|
192
|
+
* wins** (`resolve_evaluate_window`); unknown labels yield a structured
|
|
193
|
+
* error naming the missing window.
|
|
194
|
+
*/
|
|
195
|
+
windowLabel?: string;
|
|
196
|
+
/** Forward-compatible: extra fields are forwarded to the runner verbatim. */
|
|
197
|
+
[key: string]: unknown;
|
|
198
|
+
}
|
|
156
199
|
interface RenderLogQuery {
|
|
157
200
|
/** Filter by entry type */
|
|
158
201
|
type?: RenderLogEntryType;
|
|
@@ -345,7 +388,28 @@ interface UIBridgeServerHandlers {
|
|
|
345
388
|
* `*`-glob matching concrete entries.
|
|
346
389
|
*/
|
|
347
390
|
revealsAny?: string;
|
|
391
|
+
/**
|
|
392
|
+
* Target a runner pop-out window discoverable via `listWindows()`;
|
|
393
|
+
* omit → the main window. Serialized as the `?windowLabel=` query
|
|
394
|
+
* parameter (the runner reads it from the query on `GET
|
|
395
|
+
* /control/elements`); unknown labels yield a structured error naming
|
|
396
|
+
* the missing window.
|
|
397
|
+
*/
|
|
398
|
+
windowLabel?: string;
|
|
348
399
|
}, context?: HandlerContext) => Promise<APIResponse<ControlSnapshot['elements']>>;
|
|
400
|
+
/**
|
|
401
|
+
* Enumerate the runner process's OWN webview windows — the main window plus
|
|
402
|
+
* any pop-out terminal windows — so callers can discover valid `windowLabel`
|
|
403
|
+
* targets before issuing a window-scoped command. Maps to
|
|
404
|
+
* `GET /control/runner-windows`.
|
|
405
|
+
*
|
|
406
|
+
* **Runner-only.** This is answered by the qontinui-runner, which owns the
|
|
407
|
+
* Tauri webviews. Non-runner server contexts (a plain React-app server, the
|
|
408
|
+
* relay's browser-tab path) host no runner windows and return a
|
|
409
|
+
* `NOT_IMPLEMENTED` error — discover windows via direct HTTP to the runner.
|
|
410
|
+
* Distinct from `/control/windows`, which enumerates OS desktop windows.
|
|
411
|
+
*/
|
|
412
|
+
listWindows: (context?: HandlerContext) => Promise<APIResponse<RunnerWindowsList>>;
|
|
349
413
|
getElement: (id: string, options?: {
|
|
350
414
|
recency?: string;
|
|
351
415
|
}, context?: HandlerContext) => Promise<APIResponse<ControlSnapshot['elements'][0]>>;
|
|
@@ -597,7 +661,7 @@ interface UIBridgeServerHandlers {
|
|
|
597
661
|
pageNavigate: (request: PageNavigateRequest, context?: HandlerContext) => Promise<APIResponse<PageNavigationResponse>>;
|
|
598
662
|
pageGoBack: (context?: HandlerContext) => Promise<APIResponse<PageNavigationResponse>>;
|
|
599
663
|
pageGoForward: (context?: HandlerContext) => Promise<APIResponse<PageNavigationResponse>>;
|
|
600
|
-
pageEvaluate: (request:
|
|
664
|
+
pageEvaluate: (request: PageEvaluateRequest, context?: HandlerContext) => Promise<APIResponse<unknown>>;
|
|
601
665
|
pageScroll: (request: unknown, context?: HandlerContext) => Promise<APIResponse<unknown>>;
|
|
602
666
|
clipboardWrite: (request: unknown, context?: HandlerContext) => Promise<APIResponse<unknown>>;
|
|
603
667
|
clipboardRead: (context?: HandlerContext) => Promise<APIResponse<unknown>>;
|
|
@@ -860,6 +924,8 @@ interface UIBridgeServerHandlers {
|
|
|
860
924
|
text: string;
|
|
861
925
|
tag?: string;
|
|
862
926
|
exact?: boolean;
|
|
927
|
+
/** Target a runner pop-out window discoverable via `listWindows()`; omit → main window. Read from the body. */
|
|
928
|
+
windowLabel?: string;
|
|
863
929
|
}, context?: HandlerContext) => Promise<APIResponse<{
|
|
864
930
|
clicked: boolean;
|
|
865
931
|
element?: unknown;
|
|
@@ -867,6 +933,8 @@ interface UIBridgeServerHandlers {
|
|
|
867
933
|
clickBySelector: (request: {
|
|
868
934
|
selector: string;
|
|
869
935
|
index?: number;
|
|
936
|
+
/** Target a runner pop-out window discoverable via `listWindows()`; omit → main window. Read from the body. */
|
|
937
|
+
windowLabel?: string;
|
|
870
938
|
}, context?: HandlerContext) => Promise<APIResponse<{
|
|
871
939
|
clicked: boolean;
|
|
872
940
|
element?: unknown;
|
|
@@ -876,6 +944,8 @@ interface UIBridgeServerHandlers {
|
|
|
876
944
|
label?: string;
|
|
877
945
|
text: string;
|
|
878
946
|
clear?: boolean;
|
|
947
|
+
/** Target a runner pop-out window discoverable via `listWindows()`; omit → main window. Read from the body. */
|
|
948
|
+
windowLabel?: string;
|
|
879
949
|
}, context?: HandlerContext) => Promise<APIResponse<{
|
|
880
950
|
typed: boolean;
|
|
881
951
|
element?: unknown;
|
|
@@ -883,6 +953,8 @@ interface UIBridgeServerHandlers {
|
|
|
883
953
|
readValue: (request: {
|
|
884
954
|
selector: string;
|
|
885
955
|
index?: number;
|
|
956
|
+
/** Target a runner pop-out window discoverable via `listWindows()`; omit → main window. Read from the body. */
|
|
957
|
+
windowLabel?: string;
|
|
886
958
|
}, context?: HandlerContext) => Promise<APIResponse<{
|
|
887
959
|
value: string | null;
|
|
888
960
|
length: number;
|
|
@@ -891,6 +963,7 @@ interface UIBridgeServerHandlers {
|
|
|
891
963
|
text: string;
|
|
892
964
|
tag?: string;
|
|
893
965
|
exact?: boolean;
|
|
966
|
+
windowLabel?: string;
|
|
894
967
|
}, context?: HandlerContext) => Promise<APIResponse<Array<{
|
|
895
968
|
index: number;
|
|
896
969
|
tag: string;
|
|
@@ -1182,4 +1255,4 @@ interface WebSocketMessage<T = unknown> {
|
|
|
1182
1255
|
timestamp: number;
|
|
1183
1256
|
}
|
|
1184
1257
|
|
|
1185
|
-
export { type APIResponse as A, type BrowserEventsResponse as B, type CORSOptions as C, type DOMChangeEvent as D, type ElementConditionSelector as E, type HandlerContext as H, INTERACTION_RELAY_COMMAND_ACTIONS as I, type RateLimitOptions as R, type SpawnHeadlessRequest as S, type UIBridgeServerConfig as U, type WebSocketMessage as W, type UIBridgeServerHandlers as a, type CapabilitiesResponse as b, type ControlBatchRequest as c, type ControlBatchResponse as d, type ControlBatchStep as e, type ControlBatchStepResult as f, type ElementExpectRequest as g, type ElementExpectResponse as h, type EndpointCategory as i, type EndpointInfo as j, type InteractionRelayCommandAction as k, type RenderLogQuery as l, type RouteDefinition as m, type
|
|
1258
|
+
export { type APIResponse as A, type BrowserEventsResponse as B, type CORSOptions as C, type DOMChangeEvent as D, type ElementConditionSelector as E, type HandlerContext as H, INTERACTION_RELAY_COMMAND_ACTIONS as I, type PageEvaluateRequest as P, type RateLimitOptions as R, type SpawnHeadlessRequest as S, type UIBridgeServerConfig as U, type WebSocketMessage as W, type UIBridgeServerHandlers as a, type CapabilitiesResponse as b, type ControlBatchRequest as c, type ControlBatchResponse as d, type ControlBatchStep as e, type ControlBatchStepResult as f, type ElementExpectRequest as g, type ElementExpectResponse as h, type EndpointCategory as i, type EndpointInfo as j, type InteractionRelayCommandAction as k, type RenderLogQuery as l, type RouteDefinition as m, type RunnerWindow as n, type RunnerWindowsList as o, type SpawnHeadlessResponse as p, type StateSummary as q, UI_BRIDGE_ROUTES as r, type WaitForElementByConditionRequest as s, type WaitForElementByConditionResponse as t, type WaitForElementPredicate as u, type WaitForElementRequest as v, type WaitForElementSuccessResponse as w, type WaitForRouteChangeRequest as x, type WaitForRouteChangeResponse as y, type WebSocketMessageType as z };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as SpecExecutionResult, h as SpecGroupResult } from './types-
|
|
2
|
-
import { C as ContractExecutionResult } from './types-
|
|
3
|
-
import { M as MatrixExecutionResult } from './types-
|
|
1
|
+
import { g as SpecExecutionResult, h as SpecGroupResult } from './types-bG3xLcjL.js';
|
|
2
|
+
import { C as ContractExecutionResult } from './types-CovPz-sh.js';
|
|
3
|
+
import { M as MatrixExecutionResult } from './types-DgIxG1sS.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Artifact Types
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { i as AnyCapturedEvent, u as CapturedError, M as UIBridgeConfig, z as ControlSnapshot, Q as ControlActionRequest, C as ControlActionResponse, x as BatchActionRequest, y as BatchActionResponse, R as ComponentActionRequest, g as ComponentActionResponse, V as FindRequest, X as FindResponse, Y as WorkflowRunRequest, Z as WorkflowRunResponse, S as SearchCriteria, _ as SearchResponse, $ as NLActionRequest, a0 as NLActionResponse, n as AssertionRequest, o as AssertionResult, p as BatchAssertionRequest, q as BatchAssertionResult, a1 as SemanticSnapshot, a2 as SemanticDiff, a3 as ActionWithDiffRequest, a4 as ActionDiffResult, a5 as ChangePredicate, a6 as WaitForChangeOptions, a7 as CategorizedDiff, a8 as StructuredChangeAnalysis, a9 as ChangeBufferDrainResult, aa as SnapshotBookmark, ab as SemanticSearchCriteria, ac as SemanticSearchResponse, G as UIState, H as UIStateGroup, I as UITransition, T as TransitionResult, P as PathResult, N as NavigationResult, J as StateSnapshot, ad as IntentExecutionResult, ae as IntentSearchResponse, af as Intent, ag as RecoveryAttemptRequest, ah as RecoveryAttemptResult, ai as PageDataMap, aj as PageRegionMap, ak as StructuredDataExtraction, al as ComponentInfo, am as CrossAppComparisonReport, an as PageNavigationResponse, ao as PageNavigateRequest, ap as ElementDesignData, aq as InteractionStateName, ar as StateStyles, as as ResponsiveSnapshot, at as FormsResponse, F as FillFormRequest, w as FillResult, au as UndoRedoState, K as ElementHistoryOptions } from './types-
|
|
1
|
+
import { i as AnyCapturedEvent, u as CapturedError, M as UIBridgeConfig, z as ControlSnapshot, Q as ControlActionRequest, C as ControlActionResponse, x as BatchActionRequest, y as BatchActionResponse, R as ComponentActionRequest, g as ComponentActionResponse, V as FindRequest, X as FindResponse, Y as WorkflowRunRequest, Z as WorkflowRunResponse, S as SearchCriteria, _ as SearchResponse, $ as NLActionRequest, a0 as NLActionResponse, n as AssertionRequest, o as AssertionResult, p as BatchAssertionRequest, q as BatchAssertionResult, a1 as SemanticSnapshot, a2 as SemanticDiff, a3 as ActionWithDiffRequest, a4 as ActionDiffResult, a5 as ChangePredicate, a6 as WaitForChangeOptions, a7 as CategorizedDiff, a8 as StructuredChangeAnalysis, a9 as ChangeBufferDrainResult, aa as SnapshotBookmark, ab as SemanticSearchCriteria, ac as SemanticSearchResponse, G as UIState, H as UIStateGroup, I as UITransition, T as TransitionResult, P as PathResult, N as NavigationResult, J as StateSnapshot, ad as IntentExecutionResult, ae as IntentSearchResponse, af as Intent, ag as RecoveryAttemptRequest, ah as RecoveryAttemptResult, ai as PageDataMap, aj as PageRegionMap, ak as StructuredDataExtraction, al as ComponentInfo, am as CrossAppComparisonReport, an as PageNavigationResponse, ao as PageNavigateRequest, ap as ElementDesignData, aq as InteractionStateName, ar as StateStyles, as as ResponsiveSnapshot, at as FormsResponse, F as FillFormRequest, w as FillResult, au as UndoRedoState, K as ElementHistoryOptions } from './types-Chf3cfrT.js';
|
|
2
2
|
import { U as UiBridgeErrorCode } from './codes.generated-CXeSH-M4.js';
|
|
3
3
|
import { a as CompositeIdleStatus, S as SignalStatus } from './types-D7e9AWwl.js';
|
|
4
|
-
import { E as EffectRecordEntry } from './effect-store-
|
|
4
|
+
import { E as EffectRecordEntry } from './effect-store-C0YCNUMx.js';
|
|
5
5
|
import { RenderLogEntryType, RenderLogEntry } from './render-log/index.js';
|
|
6
6
|
import { b as NetworkRequestEntry, W as WaitForRequestOptions, c as WaitForRequestResult } from './tracker-ChLmf8-u.js';
|
|
7
|
-
import { F as FindContext, a as FindResult, b as FormSnapshot, c as FormDiff } from './find-
|
|
8
|
-
import { S as StyleGuideConfig, a as StyleAuditReport, E as EvaluateRequest, Q as QualityEvaluationReport, b as SnapshotDiffReport } from './style-types-
|
|
7
|
+
import { F as FindContext, a as FindResult, b as FormSnapshot, c as FormDiff } from './find-DpPytcRP.js';
|
|
8
|
+
import { S as StyleGuideConfig, a as StyleAuditReport, E as EvaluateRequest, Q as QualityEvaluationReport, b as SnapshotDiffReport } from './style-types-lmRdKbT8.js';
|
|
9
9
|
import { E as ElementAnnotation, A as AnnotationConfig, a as AnnotationCoverage } from './types-C7D5seeQ.js';
|
|
10
|
-
import { F as FingerprintedEvent, T as TimelineEntry, H as HealthReport, N as NetworkChain, E as ErrorSessionSummary, B as BaselineComparison, a as ErrorSnapshot } from './error-snapshot-
|
|
10
|
+
import { F as FingerprintedEvent, T as TimelineEntry, H as HealthReport, N as NetworkChain, E as ErrorSessionSummary, B as BaselineComparison, a as ErrorSnapshot } from './error-snapshot-DENlqCYO.js';
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* Page Health Diagnostics
|
|
@@ -153,6 +153,49 @@ interface APIResponse<T = unknown> {
|
|
|
153
153
|
/**
|
|
154
154
|
* Render log query parameters
|
|
155
155
|
*/
|
|
156
|
+
/**
|
|
157
|
+
* One runner-owned webview window, as returned by `listWindows()`
|
|
158
|
+
* (`GET /control/runner-windows`). The wire shape mirrors the runner's
|
|
159
|
+
* `ui_bridge_list_runner_windows_handler` exactly — no field remapping.
|
|
160
|
+
*/
|
|
161
|
+
interface RunnerWindow {
|
|
162
|
+
/** The window's Tauri label — the value to pass as `windowLabel`. */
|
|
163
|
+
label: string;
|
|
164
|
+
/** `'main'` for the runner's primary window, `'secondary'` for a pop-out. */
|
|
165
|
+
kind: 'main' | 'secondary';
|
|
166
|
+
/** The window's title, or `null` if unavailable. */
|
|
167
|
+
title: string | null;
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* Response payload of `listWindows()` (`GET /control/runner-windows`).
|
|
171
|
+
*/
|
|
172
|
+
interface RunnerWindowsList {
|
|
173
|
+
/** Number of windows returned. */
|
|
174
|
+
count: number;
|
|
175
|
+
/** The runner process's own webview windows, sorted by `label`. */
|
|
176
|
+
windows: RunnerWindow[];
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* Request body for `POST /control/page/evaluate` (`pageEvaluate`).
|
|
180
|
+
*
|
|
181
|
+
* The body is forwarded verbatim to the runner, so any additional fields are
|
|
182
|
+
* preserved (index signature); the two known fields are typed for
|
|
183
|
+
* discoverability.
|
|
184
|
+
*/
|
|
185
|
+
interface PageEvaluateRequest {
|
|
186
|
+
/** JavaScript expression to evaluate in the target window. */
|
|
187
|
+
expression: string;
|
|
188
|
+
/**
|
|
189
|
+
* Target a runner pop-out window discoverable via `listWindows()`;
|
|
190
|
+
* omit → the main window. The runner reads this from the request body
|
|
191
|
+
* (`EvaluateQuery.window_label`) or the `?windowLabel=` query, **query
|
|
192
|
+
* wins** (`resolve_evaluate_window`); unknown labels yield a structured
|
|
193
|
+
* error naming the missing window.
|
|
194
|
+
*/
|
|
195
|
+
windowLabel?: string;
|
|
196
|
+
/** Forward-compatible: extra fields are forwarded to the runner verbatim. */
|
|
197
|
+
[key: string]: unknown;
|
|
198
|
+
}
|
|
156
199
|
interface RenderLogQuery {
|
|
157
200
|
/** Filter by entry type */
|
|
158
201
|
type?: RenderLogEntryType;
|
|
@@ -345,7 +388,28 @@ interface UIBridgeServerHandlers {
|
|
|
345
388
|
* `*`-glob matching concrete entries.
|
|
346
389
|
*/
|
|
347
390
|
revealsAny?: string;
|
|
391
|
+
/**
|
|
392
|
+
* Target a runner pop-out window discoverable via `listWindows()`;
|
|
393
|
+
* omit → the main window. Serialized as the `?windowLabel=` query
|
|
394
|
+
* parameter (the runner reads it from the query on `GET
|
|
395
|
+
* /control/elements`); unknown labels yield a structured error naming
|
|
396
|
+
* the missing window.
|
|
397
|
+
*/
|
|
398
|
+
windowLabel?: string;
|
|
348
399
|
}, context?: HandlerContext) => Promise<APIResponse<ControlSnapshot['elements']>>;
|
|
400
|
+
/**
|
|
401
|
+
* Enumerate the runner process's OWN webview windows — the main window plus
|
|
402
|
+
* any pop-out terminal windows — so callers can discover valid `windowLabel`
|
|
403
|
+
* targets before issuing a window-scoped command. Maps to
|
|
404
|
+
* `GET /control/runner-windows`.
|
|
405
|
+
*
|
|
406
|
+
* **Runner-only.** This is answered by the qontinui-runner, which owns the
|
|
407
|
+
* Tauri webviews. Non-runner server contexts (a plain React-app server, the
|
|
408
|
+
* relay's browser-tab path) host no runner windows and return a
|
|
409
|
+
* `NOT_IMPLEMENTED` error — discover windows via direct HTTP to the runner.
|
|
410
|
+
* Distinct from `/control/windows`, which enumerates OS desktop windows.
|
|
411
|
+
*/
|
|
412
|
+
listWindows: (context?: HandlerContext) => Promise<APIResponse<RunnerWindowsList>>;
|
|
349
413
|
getElement: (id: string, options?: {
|
|
350
414
|
recency?: string;
|
|
351
415
|
}, context?: HandlerContext) => Promise<APIResponse<ControlSnapshot['elements'][0]>>;
|
|
@@ -597,7 +661,7 @@ interface UIBridgeServerHandlers {
|
|
|
597
661
|
pageNavigate: (request: PageNavigateRequest, context?: HandlerContext) => Promise<APIResponse<PageNavigationResponse>>;
|
|
598
662
|
pageGoBack: (context?: HandlerContext) => Promise<APIResponse<PageNavigationResponse>>;
|
|
599
663
|
pageGoForward: (context?: HandlerContext) => Promise<APIResponse<PageNavigationResponse>>;
|
|
600
|
-
pageEvaluate: (request:
|
|
664
|
+
pageEvaluate: (request: PageEvaluateRequest, context?: HandlerContext) => Promise<APIResponse<unknown>>;
|
|
601
665
|
pageScroll: (request: unknown, context?: HandlerContext) => Promise<APIResponse<unknown>>;
|
|
602
666
|
clipboardWrite: (request: unknown, context?: HandlerContext) => Promise<APIResponse<unknown>>;
|
|
603
667
|
clipboardRead: (context?: HandlerContext) => Promise<APIResponse<unknown>>;
|
|
@@ -860,6 +924,8 @@ interface UIBridgeServerHandlers {
|
|
|
860
924
|
text: string;
|
|
861
925
|
tag?: string;
|
|
862
926
|
exact?: boolean;
|
|
927
|
+
/** Target a runner pop-out window discoverable via `listWindows()`; omit → main window. Read from the body. */
|
|
928
|
+
windowLabel?: string;
|
|
863
929
|
}, context?: HandlerContext) => Promise<APIResponse<{
|
|
864
930
|
clicked: boolean;
|
|
865
931
|
element?: unknown;
|
|
@@ -867,6 +933,8 @@ interface UIBridgeServerHandlers {
|
|
|
867
933
|
clickBySelector: (request: {
|
|
868
934
|
selector: string;
|
|
869
935
|
index?: number;
|
|
936
|
+
/** Target a runner pop-out window discoverable via `listWindows()`; omit → main window. Read from the body. */
|
|
937
|
+
windowLabel?: string;
|
|
870
938
|
}, context?: HandlerContext) => Promise<APIResponse<{
|
|
871
939
|
clicked: boolean;
|
|
872
940
|
element?: unknown;
|
|
@@ -876,6 +944,8 @@ interface UIBridgeServerHandlers {
|
|
|
876
944
|
label?: string;
|
|
877
945
|
text: string;
|
|
878
946
|
clear?: boolean;
|
|
947
|
+
/** Target a runner pop-out window discoverable via `listWindows()`; omit → main window. Read from the body. */
|
|
948
|
+
windowLabel?: string;
|
|
879
949
|
}, context?: HandlerContext) => Promise<APIResponse<{
|
|
880
950
|
typed: boolean;
|
|
881
951
|
element?: unknown;
|
|
@@ -883,6 +953,8 @@ interface UIBridgeServerHandlers {
|
|
|
883
953
|
readValue: (request: {
|
|
884
954
|
selector: string;
|
|
885
955
|
index?: number;
|
|
956
|
+
/** Target a runner pop-out window discoverable via `listWindows()`; omit → main window. Read from the body. */
|
|
957
|
+
windowLabel?: string;
|
|
886
958
|
}, context?: HandlerContext) => Promise<APIResponse<{
|
|
887
959
|
value: string | null;
|
|
888
960
|
length: number;
|
|
@@ -891,6 +963,7 @@ interface UIBridgeServerHandlers {
|
|
|
891
963
|
text: string;
|
|
892
964
|
tag?: string;
|
|
893
965
|
exact?: boolean;
|
|
966
|
+
windowLabel?: string;
|
|
894
967
|
}, context?: HandlerContext) => Promise<APIResponse<Array<{
|
|
895
968
|
index: number;
|
|
896
969
|
tag: string;
|
|
@@ -1182,4 +1255,4 @@ interface WebSocketMessage<T = unknown> {
|
|
|
1182
1255
|
timestamp: number;
|
|
1183
1256
|
}
|
|
1184
1257
|
|
|
1185
|
-
export { type APIResponse as A, type BrowserEventsResponse as B, type CORSOptions as C, type DOMChangeEvent as D, type ElementConditionSelector as E, type HandlerContext as H, INTERACTION_RELAY_COMMAND_ACTIONS as I, type RateLimitOptions as R, type SpawnHeadlessRequest as S, type UIBridgeServerConfig as U, type WebSocketMessage as W, type UIBridgeServerHandlers as a, type CapabilitiesResponse as b, type ControlBatchRequest as c, type ControlBatchResponse as d, type ControlBatchStep as e, type ControlBatchStepResult as f, type ElementExpectRequest as g, type ElementExpectResponse as h, type EndpointCategory as i, type EndpointInfo as j, type InteractionRelayCommandAction as k, type RenderLogQuery as l, type RouteDefinition as m, type
|
|
1258
|
+
export { type APIResponse as A, type BrowserEventsResponse as B, type CORSOptions as C, type DOMChangeEvent as D, type ElementConditionSelector as E, type HandlerContext as H, INTERACTION_RELAY_COMMAND_ACTIONS as I, type PageEvaluateRequest as P, type RateLimitOptions as R, type SpawnHeadlessRequest as S, type UIBridgeServerConfig as U, type WebSocketMessage as W, type UIBridgeServerHandlers as a, type CapabilitiesResponse as b, type ControlBatchRequest as c, type ControlBatchResponse as d, type ControlBatchStep as e, type ControlBatchStepResult as f, type ElementExpectRequest as g, type ElementExpectResponse as h, type EndpointCategory as i, type EndpointInfo as j, type InteractionRelayCommandAction as k, type RenderLogQuery as l, type RouteDefinition as m, type RunnerWindow as n, type RunnerWindowsList as o, type SpawnHeadlessResponse as p, type StateSummary as q, UI_BRIDGE_ROUTES as r, type WaitForElementByConditionRequest as s, type WaitForElementByConditionResponse as t, type WaitForElementPredicate as u, type WaitForElementRequest as v, type WaitForElementSuccessResponse as w, type WaitForRouteChangeRequest as x, type WaitForRouteChangeResponse as y, type WebSocketMessageType as z };
|
|
@@ -1215,6 +1215,18 @@ interface EffectVerification {
|
|
|
1215
1215
|
* Extended action request with additional options
|
|
1216
1216
|
*/
|
|
1217
1217
|
interface ControlActionRequest extends ActionRequest {
|
|
1218
|
+
/**
|
|
1219
|
+
* Target a runner pop-out window for this action; omit → the main window.
|
|
1220
|
+
*
|
|
1221
|
+
* Discover live window labels via `listWindows()` (the runner returns a
|
|
1222
|
+
* structured error naming the missing window if the label is unknown). The
|
|
1223
|
+
* runner resolves the target from the `?windowLabel=` **query parameter** on
|
|
1224
|
+
* `POST /control/element/:id/action` (`ActionQueryParams.window_label`), so a
|
|
1225
|
+
* caller issuing the HTTP request directly must append `?windowLabel=<label>`
|
|
1226
|
+
* to the action URL — this typed field documents the option and carries it for
|
|
1227
|
+
* transports that forward the request bag verbatim.
|
|
1228
|
+
*/
|
|
1229
|
+
windowLabel?: string;
|
|
1218
1230
|
/** Unique request ID for tracking */
|
|
1219
1231
|
requestId?: string;
|
|
1220
1232
|
/** Capture snapshot after action */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { U as UiAssertion, L as LayerAssertionResult, A as ApiAssertion, F as FsAssertion, D as DbAssertion, E as ExecutionMatrix, M as MatrixExecutionResult } from '../types-
|
|
2
|
-
export { a as ApiLayerResult, b as DbLayerResult, c as ExecutionStrategy, d as FsLayerResult, e as LayerSummary, f as LayeredAssertion, g as LayeredAssertionPayload, h as MATRIX_FILE_EXTENSION, i as UiLayerResult, V as VerificationLayer } from '../types-
|
|
3
|
-
import { D as DiscoveredElement, m as AIDiscoveredElement } from '../types-
|
|
4
|
-
import { A as AssertionConfig } from '../assertions-
|
|
5
|
-
import '../types-
|
|
1
|
+
import { U as UiAssertion, L as LayerAssertionResult, A as ApiAssertion, F as FsAssertion, D as DbAssertion, E as ExecutionMatrix, M as MatrixExecutionResult } from '../types-CgsWB31c.mjs';
|
|
2
|
+
export { a as ApiLayerResult, b as DbLayerResult, c as ExecutionStrategy, d as FsLayerResult, e as LayerSummary, f as LayeredAssertion, g as LayeredAssertionPayload, h as MATRIX_FILE_EXTENSION, i as UiLayerResult, V as VerificationLayer } from '../types-CgsWB31c.mjs';
|
|
3
|
+
import { D as DiscoveredElement, m as AIDiscoveredElement } from '../types-DnqZodFb.mjs';
|
|
4
|
+
import { A as AssertionConfig } from '../assertions-j3SVwQrW.mjs';
|
|
5
|
+
import '../types-gusNHeJt.mjs';
|
|
6
6
|
import '../codes.generated-CXeSH-M4.mjs';
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { U as UiAssertion, L as LayerAssertionResult, A as ApiAssertion, F as FsAssertion, D as DbAssertion, E as ExecutionMatrix, M as MatrixExecutionResult } from '../types-
|
|
2
|
-
export { a as ApiLayerResult, b as DbLayerResult, c as ExecutionStrategy, d as FsLayerResult, e as LayerSummary, f as LayeredAssertion, g as LayeredAssertionPayload, h as MATRIX_FILE_EXTENSION, i as UiLayerResult, V as VerificationLayer } from '../types-
|
|
3
|
-
import { D as DiscoveredElement, m as AIDiscoveredElement } from '../types-
|
|
4
|
-
import { A as AssertionConfig } from '../assertions-
|
|
5
|
-
import '../types-
|
|
1
|
+
import { U as UiAssertion, L as LayerAssertionResult, A as ApiAssertion, F as FsAssertion, D as DbAssertion, E as ExecutionMatrix, M as MatrixExecutionResult } from '../types-DgIxG1sS.js';
|
|
2
|
+
export { a as ApiLayerResult, b as DbLayerResult, c as ExecutionStrategy, d as FsLayerResult, e as LayerSummary, f as LayeredAssertion, g as LayeredAssertionPayload, h as MATRIX_FILE_EXTENSION, i as UiLayerResult, V as VerificationLayer } from '../types-DgIxG1sS.js';
|
|
3
|
+
import { D as DiscoveredElement, m as AIDiscoveredElement } from '../types-Chf3cfrT.js';
|
|
4
|
+
import { A as AssertionConfig } from '../assertions-DwPKlu6v.js';
|
|
5
|
+
import '../types-bG3xLcjL.js';
|
|
6
6
|
import '../codes.generated-CXeSH-M4.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { W as WSClientConfig, a as WSConnectionState, b as WSSubscriptionOptions, B as BridgeEventType, c as BridgeSnapshot, A as ActionRequest, d as ActionResponse, e as BridgeEvent, f as WSClientMessage } from './types-
|
|
1
|
+
import { W as WSClientConfig, a as WSConnectionState, b as WSSubscriptionOptions, B as BridgeEventType, c as BridgeSnapshot, A as ActionRequest, d as ActionResponse, e as BridgeEvent, f as WSClientMessage } from './types-Chf3cfrT.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* WebSocket Client for UI Bridge
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { W as WSClientConfig, a as WSConnectionState, b as WSSubscriptionOptions, B as BridgeEventType, c as BridgeSnapshot, A as ActionRequest, d as ActionResponse, e as BridgeEvent, f as WSClientMessage } from './types-
|
|
1
|
+
import { W as WSClientConfig, a as WSConnectionState, b as WSSubscriptionOptions, B as BridgeEventType, c as BridgeSnapshot, A as ActionRequest, d as ActionResponse, e as BridgeEvent, f as WSClientMessage } from './types-DnqZodFb.mjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* WebSocket Client for UI Bridge
|