feat(fls): ZIP layer of the .fls codec

Reader and writer ported from filius-ipad with the same path policy,
limits and error codes; DEFLATE via fflate, cut at the declared size
like Apple Compression. 54 tests: the Swift archive rejection tests,
DEFLATE edge cases, and all 23 corpus files cross-checked against
fflate.unzipSync and round-tripped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-09-29 20:03:07 +00:00
co-authored by Claude Opus 5.5
parent 77feeabf39
commit 750cc72c55
13 changed files with 1101 additions and 2 deletions
+1 -1
View File
@@ -11,7 +11,7 @@
},
"scripts": {
"test": "vitest run",
"typecheck": "tsc -b && tsc -p packages/core/test",
"typecheck": "tsc -b && tsc -p packages/core/test && tsc -p packages/fls/test",
"check": "npm run typecheck && npm run test",
"hooks": "git config core.hooksPath scripts/hooks",
"oracle": "tools/swift-oracle/run.sh",