Files
ai-engineering/scripts/native-package-manifest.py
T
bquarkz 9a555cb3c6
build / jvm (push) Waiting to run
build / native (macos-15, macos-arm64) (push) Waiting to run
build / native (ubuntu-24.04, linux-x86_64) (push) Waiting to run
build / native (windows-2025, windows-x86_64) (push) Waiting to run
Test / Tests and coverage
Intrepid/AI Engineering/pipeline/head This commit looks good
feat: add per-project native server and SSE command streaming
Keep Spring in a persistent project server with lightweight clients, managed start/stop, bounded SSE subscriptions, cursor recovery and durable mutation outcomes. Preserve SQLite authority and transaction limits, and document reproducible native measurements.

Validation: 269 tests, 11 pipeline scenarios, full native/SSE smoke, native package verification and 17 installer tests passed. Implements WRK-000E / DEC-0001 / DEC-0002.
2026-11-22 23:08:47 +00:00

15 lines
731 B
Python

#!/usr/bin/env python3
import hashlib
import json
from pathlib import Path
import sys
package = Path(sys.argv[1]).resolve()
files = {str(path.relative_to(package)): hashlib.sha256(path.read_bytes()).hexdigest()
for path in sorted(package.rglob("*")) if path.is_file() and path.name != "aie-package.json"}
manifest = {"schemaVersion": 1, "aieVersion": "0.1.0", "protocolVersion": 4,
"sqliteVersion": "3.54.1", "localServerProtocol": 1, "localServerEvents": "sse",
"buildIdentity": (Path(__file__).resolve().parents[1] / "build/generated/serverIdentity/aie-build.txt").read_text().strip(),
"files": files}
(package / "aie-package.json").write_text(json.dumps(manifest, indent=2) + "\n")