@timurproko/a1 0.1.8-dev.218 → 0.1.8-dev.224

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/bin/cli.js +6 -0
  2. package/bin/guardian.js +3 -0
  3. package/bin/release-cleanup.js +8 -0
  4. package/bin/ui.js +4 -0
  5. package/bin/warmup.js +18 -0
  6. package/dist/features/owned-ui/run.js +2 -0
  7. package/dist/foundation/launch-guardian/main.js +2 -0
  8. package/dist/foundation/release/bootstrap.d.ts +3 -1
  9. package/dist/foundation/release/bootstrap.js +9 -0
  10. package/dist/foundation/release/cohort-state.d.ts +61 -1
  11. package/dist/foundation/release/cohort-state.js +192 -11
  12. package/dist/foundation/release/dependency-layer.d.ts +78 -0
  13. package/dist/foundation/release/dependency-layer.js +487 -0
  14. package/dist/foundation/release/endpoints.d.ts +1 -1
  15. package/dist/foundation/release/endpoints.js +8 -8
  16. package/dist/foundation/release/index.d.ts +2 -0
  17. package/dist/foundation/release/index.js +2 -0
  18. package/dist/foundation/release/release-gc.d.ts +59 -7
  19. package/dist/foundation/release/release-gc.js +533 -19
  20. package/dist/foundation/release/release-store.d.ts +3 -1
  21. package/dist/foundation/release/release-store.js +60 -10
  22. package/dist/foundation/release/release.d.ts +4 -1
  23. package/dist/foundation/release/release.js +9 -2
  24. package/dist/foundation/release/update.d.ts +10 -2
  25. package/dist/foundation/release/update.js +27 -4
  26. package/dist/foundation/release/warmup.d.ts +3 -0
  27. package/dist/foundation/release/warmup.js +35 -0
  28. package/dist/foundation/startup/index.d.ts +1 -0
  29. package/dist/foundation/startup/index.js +1 -0
  30. package/dist/foundation/startup/startup-runtime.d.ts +36 -0
  31. package/dist/foundation/startup/startup-runtime.js +140 -0
  32. package/dist/integrations/pi/engine/runtime-integration.js +5 -0
  33. package/dist/native/darwin-arm64/manifest.json +3 -3
  34. package/dist/native/darwin-arm64/process-guardian +0 -0
  35. package/dist/native/linux-x64/manifest.json +1 -1
  36. package/dist/native/win32-x64/manifest.json +2 -2
  37. package/dist/native/win32-x64/process-guardian.exe +0 -0
  38. package/dist/product-identity.d.ts +2 -2
  39. package/dist/product-identity.js +4 -1
  40. package/dist/product-identity.json +8 -1
  41. package/dist/runtime-payload-inventory.json +122328 -0
  42. package/package.json +2 -2
@@ -11,6 +11,7 @@ const ENVIRONMENT_KEYS = [
11
11
  "fixtureInput",
12
12
  "fixtureToken",
13
13
  "inputAcknowledgement",
14
+ "immutableWarmup",
14
15
  "internalPackaging",
15
16
  "launchProfile",
16
17
  "nativePi",
@@ -25,10 +26,12 @@ const ENVIRONMENT_KEYS = [
25
26
  "protocolVersion",
26
27
  "releaseDigest",
27
28
  "releaseId",
29
+ "releaseLayers",
28
30
  "releaseRoot",
29
31
  "releaseRunnerLabel",
30
32
  "runtimeDir",
31
33
  "structuredFlowLimits",
34
+ "startupTrace",
32
35
  "terminalArgumentsJson",
33
36
  "terminalExecutable",
34
37
  "terminalSessionId",
@@ -38,7 +41,7 @@ const STATE_KEYS = ["windowsControlDirectory", "unixControlDirectory", "developm
38
41
  const ENDPOINT_KEYS = ["windowsPipeStem", "unixSocketFilename", "metadataFilename", "supervisorLogFilename", "databaseFilename"];
39
42
  const MANIFEST_KEYS = ["releaseFilename", "packageFilename"];
40
43
  const PROTOCOL_KEYS = ["namespace", "controlEnvelope", "supervisorSchema", "nativeHostSchema", "structuredAgentSchema", "controlStoreSchema", "releaseCohortSchema", "updateJournalSchema"];
41
- const EVIDENCE_KEYS = ["nativeSpikeSchema", "terminalProvenanceSchema", "terminalProofSchema", "stableReleaseSchema", "previewReleaseSchema", "releaseCertificationSchema", "previewPlatformVerdictSchema", "piSourceLedgerSchema", "piComponentParitySchema", "piEventFrameParitySchema"];
44
+ const EVIDENCE_KEYS = ["nativeSpikeSchema", "terminalProvenanceSchema", "terminalProofSchema", "stableReleaseSchema", "previewReleaseSchema", "releaseCertificationSchema", "previewPlatformVerdictSchema", "piSourceLedgerSchema", "piComponentParitySchema", "piEventFrameParitySchema", "startupTraceSchema", "dependencyLayerSchema", "dependencyLayerCertificationSchema", "runtimePayloadSchema"];
42
45
  const ARTIFACT_KEYS = ["cliEntry", "supervisorEntry", "guardianEntry", "uiEntry", "nativeExecutable", "nativeCrate", "processGuardianExecutable", "releaseTarballStem", "diagnosticStem"];
43
46
  const ROOT_KEYS = ["schema", "displayName", "commandName", "packageName", "filesystem", "environment", "state", "endpoint", "manifest", "protocol", "evidence", "artifacts"];
44
47
  export function validateProductIdentity(value) {
@@ -21,6 +21,7 @@
21
21
  "fixtureInput": "A1_FIXTURE_INPUT",
22
22
  "fixtureToken": "A1_FIXTURE_TOKEN",
23
23
  "inputAcknowledgement": "A1_INPUT_ACK",
24
+ "immutableWarmup": "A1_IMMUTABLE_WARMUP",
24
25
  "internalPackaging": "A1_INTERNAL_PACKAGING",
25
26
  "launchProfile": "A1_LAUNCH_PROFILE",
26
27
  "nativePi": "A1_NATIVE_PI",
@@ -35,10 +36,12 @@
35
36
  "protocolVersion": "A1_PROTOCOL_VERSION",
36
37
  "releaseDigest": "A1_RELEASE_DIGEST",
37
38
  "releaseId": "A1_RELEASE_ID",
39
+ "releaseLayers": "A1_RELEASE_LAYERS",
38
40
  "releaseRoot": "A1_RELEASE_ROOT",
39
41
  "releaseRunnerLabel": "A1_RELEASE_RUNNER_LABEL",
40
42
  "runtimeDir": "A1_RUNTIME_DIR",
41
43
  "structuredFlowLimits": "A1_STRUCTURED_FLOW_LIMITS",
44
+ "startupTrace": "A1_STARTUP_TRACE",
42
45
  "terminalArgumentsJson": "A1_TERMINAL_ARGUMENTS_JSON",
43
46
  "terminalExecutable": "A1_TERMINAL_EXECUTABLE",
44
47
  "terminalSessionId": "A1_TERMINAL_SESSION_ID"
@@ -81,7 +84,11 @@
81
84
  "previewPlatformVerdictSchema": "a1-development-preview-platform-verdict-v2",
82
85
  "piSourceLedgerSchema": "a1-pinned-pi-source-port-ledger-v1",
83
86
  "piComponentParitySchema": "a1-pi-static-component-parity-v1",
84
- "piEventFrameParitySchema": "a1-pi-event-frame-parity-v1"
87
+ "piEventFrameParitySchema": "a1-pi-event-frame-parity-v1",
88
+ "startupTraceSchema": "a1-startup-trace-v1",
89
+ "dependencyLayerSchema": "a1-dependency-layer-v1",
90
+ "dependencyLayerCertificationSchema": "a1-dependency-layer-certification-v1",
91
+ "runtimePayloadSchema": "a1-runtime-payload-v1"
85
92
  },
86
93
  "artifacts": {
87
94
  "cliEntry": "bin/cli.js",