feat(cli): add runner start with bundled SRT sandboxing (#535)

* refactor(agent): expose runner bash without skill gating

* feat(cli): add runner start with optional SRT sandboxing

* refactor(cli): remove runner Python dependency

* feat(cli): bundle SRT and use platform-native runner shells

* refactor(cli): delegate runner processes to Execa
This commit is contained in:
Yiling-J
2026-11-18 09:44:54 +08:00
committed by GitHub
parent 8edd3008de
commit 3e24fe593e
35 changed files with 2414 additions and 284 deletions
+2
View File
@@ -2,6 +2,7 @@ import tailwindPlugin from 'bun-plugin-tailwind'
import { existsSync, readFileSync, readdirSync } from 'node:fs'
import { cp, mkdir, readdir, rm, writeFile } from 'node:fs/promises'
import path from 'node:path'
import { srtBundlePlugin } from './srt-bundle'
console.log('\n🚀 Starting NPM packaging build process for all applications...\n')
@@ -521,6 +522,7 @@ async function buildCliPackage() {
outdir: binOutDir,
minify: true,
naming: 'shumai-cli.js',
plugins: [srtBundlePlugin()],
external: [],
define: {
'process.env.NODE_ENV': JSON.stringify('production'),