Skip to content

feat: export finder helpers#391

Merged
thymikee merged 1 commit intomainfrom
codex/issue-385-export-finders
Apr 11, 2026
Merged

feat: export finder helpers#391
thymikee merged 1 commit intomainfrom
codex/issue-385-export-finders

Conversation

@thymikee
Copy link
Copy Markdown
Contributor

Summary

  • Worth it: yes. This exposes canonical find/match parsing and scoring so downstream consumers do not copy daemon logic.
  • Add the agent-device/finders subpath and rslib entrypoint.
  • Move parseFindArgs into the pure finder utility layer while preserving the old handler export for tests/internal callers.
  • Export normalizeRole, normalizeText, and the boolean requireRect public wrapper for findBestMatchesByLocator.

Touched files: 6. Scope stayed within finder export surface. Docs/skills were not updated because this is a library API export, not CLI behavior.

Closes #385

Validation

  • pnpm install
  • pnpm format
  • pnpm check:tooling
  • pnpm vitest run src/__tests__/finders-public.test.ts src/utils/__tests__/finders.test.ts src/daemon/handlers/__tests__/find.test.ts

Known gaps: none.

@thymikee thymikee force-pushed the codex/issue-385-export-finders branch from d7799fe to 0e0690a Compare April 11, 2026 17:38
@github-actions
Copy link
Copy Markdown

PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://callstackincubator.github.io/agent-device/pr-preview/pr-391/

Built to branch gh-pages at 2026-04-11 17:41 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@thymikee thymikee merged commit 966fcb2 into main Apr 11, 2026
16 checks passed
@thymikee thymikee deleted the codex/issue-385-export-finders branch April 11, 2026 17:51
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.

Export find algorithm and element matching utilities

1 participant