Fix bridge history, profile models, and Windows gateway handling (#845)
* feat: support profile-aware group chat bridge flows * feat: route cron jobs through hermes cli * Fix group chat routing and isolate bridge tests * Add Grok image-to-video media skill * Default Grok videos to media directory * Fix bridge profile fallback and cron repeat clearing * Refine bridge chat and gateway platform handling * Filter bridge tool-call text deltas * Preserve structured bridge chat history * Prepare beta release build artifacts * Fix Windows run profile resolution * Fix Windows path compatibility checks * Fix profile-scoped model page display * Hide Windows subprocess windows for jobs and updates * Hide Windows file backend subprocess windows * Avoid Windows gateway restart lock conflicts * Treat Windows gateway lock as running on startup * Force release Windows gateway lock on restart * Tighten Windows gateway lock cleanup * Update chat e2e source expectation * Bump package version to 0.5.30 --------- Co-authored-by: Codex <codex@openai.com>
This commit is contained in:
@@ -1,11 +1,15 @@
|
||||
import * as esbuild from 'esbuild'
|
||||
import { resolve, dirname } from 'path'
|
||||
import { fileURLToPath } from 'url'
|
||||
import { cpSync, mkdirSync, readFileSync } from 'fs'
|
||||
import { 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'))
|
||||
const version = pkg.version
|
||||
const serverOutDir = resolve(rootDir, 'dist/server')
|
||||
|
||||
rmSync(serverOutDir, { recursive: true, force: true })
|
||||
mkdirSync(serverOutDir, { recursive: true })
|
||||
|
||||
await esbuild.build({
|
||||
entryPoints: [resolve(rootDir, 'packages/server/src/index.ts')],
|
||||
@@ -13,7 +17,7 @@ await esbuild.build({
|
||||
platform: 'node',
|
||||
target: 'node23',
|
||||
format: 'cjs',
|
||||
outfile: resolve(rootDir, 'dist/server/index.js'),
|
||||
outfile: resolve(serverOutDir, 'index.js'),
|
||||
external: ['node-pty', 'node:sqlite', 'socket.io'],
|
||||
define: {
|
||||
__APP_VERSION__: JSON.stringify(version),
|
||||
@@ -24,9 +28,17 @@ await esbuild.build({
|
||||
logLevel: 'info',
|
||||
})
|
||||
|
||||
const bridgeOutDir = resolve(rootDir, 'dist/server/agent-bridge')
|
||||
const bridgeOutDir = resolve(serverOutDir, 'agent-bridge')
|
||||
mkdirSync(bridgeOutDir, { recursive: true })
|
||||
cpSync(
|
||||
resolve(rootDir, 'packages/server/src/services/hermes/agent-bridge/hermes_bridge.py'),
|
||||
resolve(bridgeOutDir, 'hermes_bridge.py'),
|
||||
)
|
||||
|
||||
const skillsOutDir = resolve(rootDir, 'dist/skills')
|
||||
rmSync(skillsOutDir, { recursive: true, force: true })
|
||||
cpSync(
|
||||
resolve(rootDir, 'packages/skills'),
|
||||
skillsOutDir,
|
||||
{ recursive: true },
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user