Fix ZIP deployment integration with custom ZIP parser

- Fix import paths in _kv.ts to resolve module resolution errors
- Implement custom ZIP file parser using DataView and ArrayBuffer
- Replace zipFile.entries() with Bun-compatible ZIP parsing
- Add comprehensive debugging for ZIP loading process
- Maintain backward compatibility with legacy msgpack format

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
riz
2025-11-19 22:37:53 +00:00
co-authored by Claude
parent 2fe9c28729
commit de2537d84a
3 changed files with 130 additions and 25 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
import { BunSqliteKeyValue } from "pkgs/utils/kv";
import { BunSqliteKeyValue } from "../utils/kv";
import { apiContext } from "service-srv";
import { dir } from "utils/dir";
import { g } from "utils/global";
import { dir } from "../utils/dir";
import { g } from "../utils/global";
export const _ = {
url: "/_kv",