kimaki 0.4.98 → 0.4.99
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/db.js +1 -0
- package/package.json +4 -4
- package/src/db.ts +1 -0
package/dist/db.js
CHANGED
|
@@ -201,6 +201,7 @@ async function migrateSchema(prisma) {
|
|
|
201
201
|
// Also fix NULL worktree status rows that predate the required enum.
|
|
202
202
|
const defensiveMigrations = [
|
|
203
203
|
"UPDATE bot_tokens SET bot_mode = 'self_hosted' WHERE bot_mode = 'self-hosted'",
|
|
204
|
+
"UPDATE bot_tokens SET proxy_url = REPLACE(proxy_url, 'discord-gateway.kimaki.xyz', 'discord-gateway.kimaki.dev') WHERE bot_mode = 'gateway' AND proxy_url LIKE '%discord-gateway.kimaki.xyz%'",
|
|
204
205
|
"UPDATE thread_worktrees SET status = 'pending' WHERE status IS NULL",
|
|
205
206
|
];
|
|
206
207
|
for (const stmt of defensiveMigrations) {
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "kimaki",
|
|
3
3
|
"module": "index.ts",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "0.4.
|
|
5
|
+
"version": "0.4.99",
|
|
6
6
|
"repository": "https://github.com/remorses/kimaki",
|
|
7
7
|
"bin": "bin.js",
|
|
8
8
|
"files": [
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
"prisma": "7.4.2",
|
|
26
26
|
"tsx": "^4.20.5",
|
|
27
27
|
"undici": "^8.0.2",
|
|
28
|
-
"db": "^0.0.0",
|
|
29
|
-
"discord-digital-twin": "^0.1.0",
|
|
30
28
|
"opencode-cached-provider": "^0.0.1",
|
|
31
|
-
"
|
|
29
|
+
"discord-digital-twin": "^0.1.0",
|
|
30
|
+
"opencode-deterministic-provider": "^0.0.1",
|
|
31
|
+
"db": "^0.0.0"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@ai-sdk/google": "^3.0.53",
|
package/src/db.ts
CHANGED
|
@@ -235,6 +235,7 @@ async function migrateSchema(prisma: PrismaClient): Promise<void> {
|
|
|
235
235
|
// Also fix NULL worktree status rows that predate the required enum.
|
|
236
236
|
const defensiveMigrations = [
|
|
237
237
|
"UPDATE bot_tokens SET bot_mode = 'self_hosted' WHERE bot_mode = 'self-hosted'",
|
|
238
|
+
"UPDATE bot_tokens SET proxy_url = REPLACE(proxy_url, 'discord-gateway.kimaki.xyz', 'discord-gateway.kimaki.dev') WHERE bot_mode = 'gateway' AND proxy_url LIKE '%discord-gateway.kimaki.xyz%'",
|
|
238
239
|
"UPDATE thread_worktrees SET status = 'pending' WHERE status IS NULL",
|
|
239
240
|
]
|
|
240
241
|
for (const stmt of defensiveMigrations) {
|