mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 04:44:21 +01:00
feat: add assistant mode, SSE streaming, and OpenCode server integration (#214)
This commit is contained in:
1 parent
3cc24288a6
commit
c3d6549f01
133 files changed
+7284
-6293
No files matched your search
@@ -0,0 +1,21 @@
|
||||
import type { Migration } from '../migration-runner'
|
||||
|
||||
const migration: Migration = {
|
||||
version: 13,
|
||||
name: 'app-secrets',
|
||||
up(db) {
|
||||
db.run(`
|
||||
CREATE TABLE IF NOT EXISTS app_secrets (
|
||||
key TEXT PRIMARY KEY,
|
||||
value TEXT NOT NULL,
|
||||
created_at INTEGER NOT NULL,
|
||||
updated_at INTEGER NOT NULL
|
||||
)
|
||||
`)
|
||||
},
|
||||
down(db) {
|
||||
db.run('DROP TABLE IF EXISTS app_secrets')
|
||||
},
|
||||
}
|
||||
|
||||
export default migration
|
||||
@@ -11,6 +11,7 @@ import migration009 from './009-repo-source-path'
|
||||
import migration010 from './009-prompt-templates'
|
||||
import migration011 from './011-repo-last-accessed'
|
||||
import migration012 from './012-opencode-model-state'
|
||||
import migration013 from './013-app-secrets'
|
||||
|
||||
export const allMigrations: Migration[] = [
|
||||
migration001,
|
||||
@@ -25,4 +26,5 @@ export const allMigrations: Migration[] = [
|
||||
migration010,
|
||||
migration011,
|
||||
migration012,
|
||||
migration013,
|
||||
]
|
||||
Reference in new issue
Block a user