fix: restore lost delegation code, switch CI to Bun, and clean up unused files (#163)
* 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
This commit is contained in:
1 parent
85c2b7caf4
commit
92505acc66
22 files changed
+1334
-5751
No files matched your search
@@ -13,19 +13,18 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Use Node.js
|
||||
uses: actions/setup-node@v3
|
||||
- name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
node-version: '18'
|
||||
cache: 'npm'
|
||||
bun-version: 1.3.11
|
||||
|
||||
- name: Install Dependencies
|
||||
run: npm ci
|
||||
run: bun install --frozen-lockfile
|
||||
|
||||
- name: Run Security Audit
|
||||
run: npm audit --audit-level=high
|
||||
run: bun pm untrusted
|
||||
|
||||
- name: Scan for Secrets
|
||||
uses: trufflesecurity/trufflehog@v3.90.1
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
name: Type Check
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -7,20 +7,25 @@ on:
|
||||
branches: [ main, develop ]
|
||||
|
||||
jobs:
|
||||
typecheck:
|
||||
ci:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Use Node.js
|
||||
uses: actions/setup-node@v3
|
||||
- name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
node-version: '18'
|
||||
cache: 'npm'
|
||||
bun-version: 1.3.11
|
||||
|
||||
- name: Install Dependencies
|
||||
run: npm ci
|
||||
run: bun install --frozen-lockfile
|
||||
|
||||
- name: Run TypeScript Type Check
|
||||
run: npm run typecheck
|
||||
- name: Format Check
|
||||
run: bun run format
|
||||
|
||||
- name: Lint
|
||||
run: bun run lint
|
||||
|
||||
- name: Type Check
|
||||
run: bun run typecheck
|
||||
Reference in new issue
Block a user