feat(mcp): advertise discovery tool per connection in list_connections (#135) * feat(mcp): advertise discovery tool per connection in list_connections Each sqlkit connection now carries a 'discover' field pointing at sqlkit__list_tables as the first step to explore its objects, so agents know how to start querying any connection. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai> * feat(mcp): register schema/object inspe... #437
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
| name: Node.js CI | |
| run-name: ${{ github.event.head_commit.message }} | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| branches: [master] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [macos-latest, ubuntu-latest, windows-latest] | |
| node-version: [24.x] | |
| runs-on: ${{ matrix.os }} | |
| timeout-minutes: 20 | |
| steps: | |
| - name: Github checkout | |
| uses: actions/checkout@v5 | |
| - name: install Rust stable | |
| uses: dtolnay/rust-toolchain@stable | |
| if: matrix.os == 'ubuntu-latest' | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v5 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: npm | |
| - name: install dependencies (ubuntu only) | |
| if: matrix.os == 'ubuntu-latest' | |
| run: | | |
| echo "deb http://gb.archive.ubuntu.com/ubuntu jammy main" | sudo tee -a /etc/apt/sources.list | |
| sudo apt-get update | |
| sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf libssl-dev | |
| - name: install frontend dependencies | |
| run: npm ci | |
| - run: npm run lint:check | |
| - run: npm audit --audit-level=critical | |
| - run: npm run test:ci | |
| - name: run Rust tests | |
| if: matrix.os == 'ubuntu-latest' | |
| run: cargo test --manifest-path src-tauri/Cargo.toml | |
| - name: Upload coverage reports to Codecov | |
| uses: codecov/codecov-action@v4 | |
| env: | |
| CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| verbose: true | |
| fail_ci_if_error: false | |
| - run: npm run build | |
| env: | |
| NODE_OPTIONS: --max-old-space-size=4096 | |
| - uses: tauri-apps/tauri-action@v0 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| includeRelease: false | |
| args: '' |