Repository navigation
feat(mobile-mcp): vendor mobile-mcp with opt-in 0-1000 relative coordinates #6235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
7c33224
Squashed 'packages/mobile-mcp/' content from commit c5d7d27fd
LaZzyMan 1c56abc
Merge commit '7c33224520088d067304c98f7a095ad5dc4abb45' as 'packages/…
LaZzyMan 599b1fa
feat(mobile-mcp): vendor mobile-mcp with opt-in 0-1000 relative coord…
LaZzyMan efbb0af
Merge branch 'main' into worktree-mobile-mcp-fork
wenshao c61aae0
chore(mobile-mcp): update package-lock.json for workspace dependencies
LaZzyMan fda5c03
fix(mobile-mcp): quote all YAML strings to pass yamllint
LaZzyMan 1491759
fix(mobile-mcp): fix cd workflow yaml to pass both yamllint and actio…
LaZzyMan 1dcd780
fix(mobile-mcp): address review findings on our additions
LaZzyMan d85cab9
Merge branch 'main' into worktree-mobile-mcp-fork
LaZzyMan 0c3f1d7
fix(mobile-mcp): update server.json identity and fix package.json mai…
LaZzyMan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,67 @@ | ||
| name: 'CD: mobile-mcp' | ||
|
|
||
| on: | ||
| push: | ||
| tags: ['mobile-mcp-v*'] | ||
| workflow_dispatch: | ||
| inputs: | ||
| version: | ||
| description: 'Version to publish (without v prefix, e.g. 0.1.0)' | ||
| required: true | ||
| dry_run: | ||
| description: 'Dry run (build only, no publish)' | ||
| required: false | ||
| type: 'boolean' | ||
| default: true | ||
|
|
||
| permissions: | ||
| contents: 'read' | ||
| id-token: 'write' | ||
|
|
||
| jobs: | ||
| build-and-publish: | ||
| runs-on: 'ubuntu-latest' | ||
| steps: | ||
| - uses: 'actions/checkout@v4' | ||
|
|
||
| - uses: 'actions/setup-node@v5' | ||
| with: | ||
| node-version: '22' | ||
| registry-url: 'https://registry.npmjs.org' | ||
|
|
||
| - name: 'Determine version' | ||
| id: 'version' | ||
| run: | | ||
| if [[ "$GITHUB_REF" == refs/tags/mobile-mcp-v* ]]; then | ||
| VERSION="${GITHUB_REF#refs/tags/mobile-mcp-v}" | ||
| else | ||
| VERSION="${{ inputs.version }}" | ||
| fi | ||
| echo "version=$VERSION" >> "$GITHUB_OUTPUT" | ||
|
|
||
| - name: 'Install dependencies' | ||
| working-directory: 'packages/mobile-mcp' | ||
| run: 'npm ci --ignore-scripts' | ||
|
|
||
| - name: 'Lint' | ||
|
LaZzyMan marked this conversation as resolved.
Resolved
|
||
| working-directory: 'packages/mobile-mcp' | ||
| run: 'npm run lint' | ||
|
|
||
| - name: 'Set version' | ||
| working-directory: 'packages/mobile-mcp' | ||
| run: 'npm version "${{ steps.version.outputs.version }}" --no-git-tag-version' | ||
|
|
||
| - name: 'Build' | ||
| working-directory: 'packages/mobile-mcp' | ||
| run: 'npm run build' | ||
|
|
||
| - name: 'Test' | ||
| working-directory: 'packages/mobile-mcp' | ||
| run: 'npx playwright test test/coord-norm.test.ts' | ||
|
|
||
| - name: 'Publish' | ||
| if: '${{ !inputs.dry_run }}' | ||
| working-directory: 'packages/mobile-mcp' | ||
| run: 'npm publish --access public --provenance' | ||
| env: | ||
| NODE_AUTH_TOKEN: '${{ secrets.NPM_TOKEN }}' | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.