* feat: add background agents and background bash processes (#161) Add async background delegation system (delegate, delegation_read, delegation_list) for read-only research that persists to disk and notifies the session on completion. Extend bash tool with background mode for long-running processes (dev servers, watchers) with companion process_logs, process_stop, and process_list tools. Cherry-picked from a10a337 — lost during merge of cursor/agent-new-architecture-b3d5. * feat: add prompt queuing with follow-ups UI Allow users to submit messages while the agent is processing. Queued messages display in a follow-ups panel above the prompt and are processed sequentially after the current response completes. Cherry-picked from 299023b — lost during merge of cursor/agent-new-architecture-b3d5. * chore: switch CI to Bun, remove unused files and dead code - Update security workflow to use Bun instead of npm (fixes ERESOLVE peer dependency conflict) - Delete unused files: hello.py, package-lock.json, .eslintrc.js - Remove broken ESLint config and devDependencies (lint was non-functional) - Remove unused exports: MODEL_GROUPS, Skill interface, formatDuration * chore: update lockfile after removing ESLint dependencies * fix: use ref for mode color to prevent stale closure in message borders * feat: add Biome for linting and formatting, update CI workflow - Add Biome as linter and formatter with project-appropriate config - Add lint, format, format:fix, and lint:fix scripts to package.json - Rename typecheck workflow to CI, switch from npm to Bun, add format and lint steps alongside typecheck - Auto-fix formatting and import ordering across all source files * fix: improve cancellation flow and queued message editing * fix: improve cancellation flow and prompt footer context display * chore: update Bun version and refresh lockfile
35 lines
763 B
YAML
35 lines
763 B
YAML
name: Security Scan
|
|
|
|
on:
|
|
push:
|
|
branches: [ main, develop ]
|
|
pull_request:
|
|
branches: [ main, develop ]
|
|
schedule:
|
|
- cron: '0 0 * * 0' # Run weekly on Sunday at midnight
|
|
|
|
jobs:
|
|
security_scan:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Setup Bun
|
|
uses: oven-sh/setup-bun@v2
|
|
with:
|
|
bun-version: 1.3.11
|
|
|
|
- name: Install Dependencies
|
|
run: bun install --frozen-lockfile
|
|
|
|
- name: Run Security Audit
|
|
run: bun pm untrusted
|
|
|
|
- name: Scan for Secrets
|
|
uses: trufflesecurity/trufflehog@v3.90.1
|
|
with:
|
|
path: ./
|
|
baseRef: ${{ github.event.pull_request.base.ref || github.ref }}
|
|
headRef: ${{ github.event.pull_request.head.ref || github.sha }}
|