fix: 修复 OpenCode 运行时启动与本地打包
This commit is contained in:
@@ -2826,8 +2826,8 @@ export const useOpencodeStore = create<OpencodeState>((set, get) => ({
|
||||
async stop() {
|
||||
closeActiveSessionEventSource();
|
||||
await runRuntimeAction('/api/opencode/stop', set, {
|
||||
...get().status,
|
||||
state: 'stopped',
|
||||
port: get().status.port,
|
||||
});
|
||||
set({
|
||||
health: null,
|
||||
|
||||
Reference in New Issue
Block a user