executor

NameLast commit messageLast commit date
.githubEnhance release workflow and UI components9 months ago
.vscodefix9 months ago
assistantRefactor MCP tool execution from `run_code` to `execute` across the assistant and executor components. Update related documentation, tests, and internal references to ensure consistency. Remove unused code and streamline tool management processes.9 months ago
executorEnhance Tool Explorer and OpenAPI Handling9 months ago
sourcesfix build9 months ago
.env.exampleAdd anonymous bearer auth for MCP9 months ago
.gitignoreAdd Cloudflare Workers sandbox runtime for isolated code execution9 months ago
AGENTS.mdinit9 months ago
bun.lockEnhance code editor and task composer with state persistence features. Introduce local storage for editor state management and implement draft saving for task code. Update dependencies for improved functionality, including the addition of @tanstack/react-virtual and cmdk. Refactor tool explorer and source management components for better organization and user experience.9 months ago
CLAUDE.mdSimplify executor data invariants and split test suites9 months ago
dev.tsUpdate Assistant server port and configuration9 months ago
kill-all.tsUpdate Assistant server port and configuration9 months ago
knip.jsonRefactor executor structure to replace 'convex' with 'database' across configurations and imports. Update paths in knip.json, tsconfig.json, and various TypeScript files to reflect the new package structure. Remove obsolete convex-related files and tests to streamline the codebase.9 months ago
opencode.jsonHarden credential and tool-source parsing with typed validators and scoped runtime metadata.9 months ago
package.jsonfix build9 months ago
ralph.tsralph9 months ago
README.mdinit menubar9 months ago
README.md

Assistant + Executor Monorepo

This repository contains two related projects in one Bun workspace:

  • executor/: task execution platform (Convex backend, MCP endpoints, approvals, tool discovery, web app, binary CLI installer).
  • assistant/: assistant-side services and Discord bot integrations that call into executor.

Most active platform work is in executor/, but root scripts are set up to run both sides together.

Monorepo Structure

The root package.json wires workspaces for:

  • executor/apps/*
  • executor/packages/*
  • assistant
  • assistant/packages/*

High-level layout:

.
|- assistant/            # assistant monorepo (core, server, bot, reacord)
|- executor/             # executor platform and binary install tooling
|- dev.ts                # root orchestrator: starts all main dev services
|- kill-all.ts           # cleanup for dev.ts processes
|- .env.example          # canonical env template for the whole repo
`- package.json          # root scripts + workspace graph

Prerequisites

  • Bun (required)
  • Convex account/project (for source dev against a Convex deployment)
  • Optional: Discord bot token, WorkOS and Stripe credentials

Quick Start

  1. Install dependencies from the repository root:
bun install
  1. Create local env file:
cp .env.example .env
  1. Set required values in .env:
  • CONVEX_DEPLOYMENT
  • CONVEX_URL
  1. Start the full stack:
bun run dev

bun run dev starts, in parallel:

  • Convex dev watcher for executor/
  • Executor web app (http://localhost:4312)
  • Executor MCP endpoint (<CONVEX_SITE_URL>/mcp)
  • Assistant server (http://localhost:3002)
  • Discord bot (only if DISCORD_BOT_TOKEN is set)

PIDs are tracked in .dev.pids. To stop all processes:

bun run kill:all

Common Root Commands

# Development
bun run dev
bun run kill:all
bun run dev:executor:convex
bun run dev:executor:web
bun run dev:executor:menubar
bun run dev:assistant
bun run dev:bot

# Quality
bun run test
bun run typecheck

# Executor utilities
bun run db:clear:executor
bun run convex:codegen

Environment Model

This repo uses a single root .env as the source of truth.

  • assistant and executor scripts read from root env-aware wrappers.
  • executor/apps/web/next.config.ts maps canonical vars (like CONVEX_URL) into NEXT_PUBLIC_* values for the client.
  • See .env.example for optional WorkOS, Stripe, tool-source API keys, and port overrides.

Project Notes

  • The assistant side lives in assistant/ (server, bot, shared core).
  • The execution/control plane lives in executor/.
  • If you are focused on executor internals, start with executor/README.md.

Testing and Type Safety

From root:

  • bun run test runs executor and assistant tests.
  • bun run typecheck runs TypeScript checks for executor and assistant packages.

You can also run package-local checks directly from each subproject.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t