M0 (the stream-json spike) was completed earlier but its code was left uncommitted in a sibling worktree and never landed on any branch. This commits it verbatim as the M1 baseline: - NucleicCore: AgentEvent/JSONValue model, AgentBackend protocol, ApprovalCoordinator, ProcessHost, Transcript writer/reader, ClaudeStreamDecoder, in-process MCP approval server, ClaudeCodeBackend - nucleic-spike CLI + fake-claude wire stub - 41 hermetic tests (golden + contract + drift) and live captures under fixtures/claude/2.1.167/ - PLAN.md / ADAPTERS.md updated with M0 findings; docs/M0_RESULTS.md Built and tested with `swift build/test --build-system native` (iCloud codesign workaround). Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
23 lines
735 B
Swift
23 lines
735 B
Swift
// swift-tools-version: 6.0
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "Nucleic",
|
|
platforms: [.macOS(.v14)],
|
|
products: [
|
|
.library(name: "NucleicCore", targets: ["NucleicCore"]),
|
|
.executable(name: "nucleic-spike", targets: ["nucleic-spike"]),
|
|
.executable(name: "fake-claude", targets: ["fake-claude"]),
|
|
],
|
|
targets: [
|
|
.target(name: "NucleicCore"),
|
|
.executableTarget(name: "nucleic-spike", dependencies: ["NucleicCore"]),
|
|
.executableTarget(name: "fake-claude", dependencies: ["NucleicCore"]),
|
|
.testTarget(
|
|
name: "NucleicCoreTests",
|
|
dependencies: ["NucleicCore"],
|
|
resources: [.copy("Fixtures")]
|
|
),
|
|
]
|
|
)
|