Forked from OpenCode v1.17.4 with multi-agent system: - 5 agents: aircoding, scheduler, worker, architect, reviewer - Deterministic DAG scheduling engine (coordinator_tick) - Tool whitelists as hard enforcement - AirCoding validation plugin - System prompt injection for routing - V1 requirements: C4 docs, ADR, AGENTS.md, debug-log.md - Design documents in docs/
13 lines
339 B
TypeScript
13 lines
339 B
TypeScript
import { $ } from "bun"
|
|
import * as path from "node:path"
|
|
|
|
import { RUST_TARGET } from "./utils"
|
|
|
|
if (!RUST_TARGET) throw new Error("RUST_TARGET not defined")
|
|
|
|
const BUNDLE_DIR = "dist"
|
|
const BUNDLES_OUT_DIR = path.join(process.cwd(), "dist/bundles")
|
|
|
|
await $`mkdir -p ${BUNDLES_OUT_DIR}`
|
|
await $`cp -r ${BUNDLE_DIR}/* ${BUNDLES_OUT_DIR}`
|