Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 24 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@ on:
branches: [main]
pull_request:
branches: [main]
workflow_call:

jobs:
ci:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20, 22]
node-version: [20, 22, 24]

steps:
- uses: actions/checkout@v4
Expand All @@ -31,4 +32,25 @@ jobs:

- run: pnpm build

test:
needs: build
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20, 22, 24]

steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v4

- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: pnpm

- run: pnpm install --frozen-lockfile

- run: pnpm --filter @agentvision/core build

- run: pnpm test
15 changes: 2 additions & 13 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,7 @@ concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm typecheck
- run: pnpm build
- run: pnpm test
uses: ./.github/workflows/ci.yml

publish:
needs: ci
Expand All @@ -33,7 +22,7 @@ jobs:
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 22
node-version: 24
cache: pnpm
registry-url: https://registry.npmjs.org
- run: pnpm install --frozen-lockfile
Expand Down
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,22 @@ AgentVision gives you that picture.

## How to Run

```bash
````bash
npx @agentvision/cli
You can also install AgentVision globally for a convenient CLI command:

```bash
npm install -g @agentvision/cli
````

Or add an alias for easier access:

```bash
alias agentvision="npx @agentvision/cli"
```

````

Requires Node.js 20+.

## Quick Start
Expand All @@ -32,7 +44,7 @@ agentvision scan --local-only

# Only global/user-level configs
agentvision scan --global-only
```
````

Example output:

Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@agentvision/core": "workspace:*",
"picocolors": "^1.1.1"
},
"devDependencies": {
"@agentvision/core": "workspace:*",
"@types/node": "^25.5.0",
"tsup": "^8.4.0",
"typescript": "^5.7.0"
Expand Down
6 changes: 3 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading