Improve profile runtime controls (#868)
* Improve profile runtime controls * Restore profile selector test id * Update profile switch e2e flow
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import * as esbuild from 'esbuild'
|
||||
import { resolve, dirname } from 'path'
|
||||
import { fileURLToPath } from 'url'
|
||||
import { cpSync, mkdirSync, readFileSync, rmSync } from 'fs'
|
||||
import { chmodSync, cpSync, mkdirSync, readFileSync, rmSync } from 'fs'
|
||||
|
||||
const rootDir = resolve(dirname(fileURLToPath(import.meta.url)), '..')
|
||||
const pkg = JSON.parse(readFileSync(resolve(rootDir, 'package.json'), 'utf-8'))
|
||||
@@ -34,6 +34,7 @@ cpSync(
|
||||
resolve(rootDir, 'packages/server/src/services/hermes/agent-bridge/hermes_bridge.py'),
|
||||
resolve(bridgeOutDir, 'hermes_bridge.py'),
|
||||
)
|
||||
chmodSync(resolve(bridgeOutDir, 'hermes_bridge.py'), 0o755)
|
||||
|
||||
const skillsOutDir = resolve(rootDir, 'dist/skills')
|
||||
rmSync(skillsOutDir, { recursive: true, force: true })
|
||||
|
||||
Reference in New Issue
Block a user