Initial Commit

This commit is contained in:
2026-05-27 23:29:53 +01:00
commit fbc70f96e6
10000 changed files with 1102152 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
# OpenSpec Change: network-plugin-content-delivery-packer
- **Change ID**: network-plugin-content-delivery-packer
- **Package**: `@suaveplan/network-plugin-content-delivery` (extension)
- **Status**: PROPOSED
- **Type**: extension
- **Date**: 2026-05-05
## Why
The core `network-plugin-content-delivery` change shipped `ChunkManifest` as a wire-stable type but did not include the `PackerIntegration` subsystem that produces / consumes it. That work was deferred per the parent proposal's `## Deferred to follow-up changes` block because it requires direct coupling to `@suaveplan/packer` (chunk packing pipeline) and adds `cd:manifest` broadcast semantics on the bus.
This change adds `PackerIntegration` to the existing package without breaking the core surface.
## What changes
- **ADDED**: `PackerIntegration` class — consumes `@suaveplan/packer` output, builds a `ChunkManifest`, and broadcasts `cd:manifest` on the bus.
- **ADDED**: `cd:manifest` event topic (payload: `ChunkManifest`).
- **ADDED**: `ContentDeliveryPlugin.packer` getter wires the new subsystem onto the plugin facade.
## Verification approach
- `src/packer/packer-integration.spec-conformance.test.ts` — pins manifest construction from a packer output, bus broadcast, hash-algorithm propagation.
## Migration impact
None — additive only.