mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-27 19:34:38 +00:00
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:
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user