Skip to content

feat: add app exploration via different routes - #17

Draft
hurali97 wants to merge 27 commits into
mainfrom
hur/add-app-flow
Draft

hurali97 wants to merge 27 commits into
mainfrom
hur/add-app-flow

Conversation

@hurali97

Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread src/app-flow/ad-script.ts

/** The `wait "<selector>" <timeout>` line agent-device would have recorded for this id clause. */
function waitLineFor(clause: string): string {
return `wait "${clause.replace(/"/g, '\\"')}" ${INSERTED_WAIT_TIMEOUT_MS}`
* are that module's, `--settle` and all. */
function stepToPathCommand(step: AppFlowStep): string | null {
if (!step.locator) return null
const selector = `${step.locator.by}="${step.locator.value.replace(/"/g, '\\"')}"`
* persisted `AppFlowStep` — `AppFlowTrigger` has no `type`, so pressing is the only sensible
* action for it. */
function triggerToPathCommand(trigger: AppFlowTrigger): string {
return pressCommand(`${trigger.by}="${trigger.value.replace(/"/g, '\\"')}"`)
Comment thread src/app-flow/walk-commands.ts Fixed
function moduleFile(unit: AppFlowSourceUnit, module: string): string | undefined {
const bases = module.startsWith('.') ? [resolve(dirname(unit.file), module)] : Object.entries(paths).flatMap(([key, values]) => {
const prefix = key.replace(/\*$/, '')
return module.startsWith(prefix) && Array.isArray(values) ? values.map(value => resolve(root, value.replace('*', module.slice(prefix.length)))) : []
@hurali97
hurali97 requested a lite review from Copilot October 21, 2026 09:19

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@hurali97
hurali97 requested a lite review from Copilot October 21, 2026 10:22

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@hurali97 hurali97 changed the title Hur/add app flow feat: add app exploration via different routes Oct 21, 2026
hurali97 and others added 2 commits October 21, 2026 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants