percolation-inversion-compiler-ts 0.4.4

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 (366) hide show
  1. package/LICENSE +152 -0
  2. package/NOTICE +21 -0
  3. package/README.md +255 -0
  4. package/dist/agent/messages.d.ts +23 -0
  5. package/dist/agent/messages.js +457 -0
  6. package/dist/cli/main.d.ts +1 -0
  7. package/dist/cli/main.js +2646 -0
  8. package/dist/index.d.ts +91 -0
  9. package/dist/index.js +983 -0
  10. package/dist/io/schema.d.ts +16 -0
  11. package/dist/io/schema.js +153 -0
  12. package/dist/packet/index.d.ts +10 -0
  13. package/dist/packet/index.js +385 -0
  14. package/fixtures/portability_conformance/README.md +17 -0
  15. package/fixtures/portability_conformance/agent_check_report.json +1251 -0
  16. package/fixtures/portability_conformance/agent_intake_report.json +1169 -0
  17. package/fixtures/portability_conformance/agent_message_delivery_report.json +124 -0
  18. package/fixtures/portability_conformance/agent_relay_readiness_report.json +40 -0
  19. package/fixtures/portability_conformance/alt_admission_decision.json +16 -0
  20. package/fixtures/portability_conformance/bottleneck_witness_report.json +23 -0
  21. package/fixtures/portability_conformance/collective_phase_certificate.json +330 -0
  22. package/fixtures/portability_conformance/frontier_debt_report.json +24 -0
  23. package/fixtures/portability_conformance/manifest.json +113 -0
  24. package/fixtures/portability_conformance/negative/checksum_mismatch.json +4 -0
  25. package/fixtures/portability_conformance/negative/schema_invalid_agent_check.json +3 -0
  26. package/fixtures/portability_conformance/negative/unknown_schema.json +3 -0
  27. package/fixtures/portability_conformance/phase_acceleration_benchmark_report.json +21 -0
  28. package/fixtures/portability_conformance/phase_acceleration_plan.json +72 -0
  29. package/fixtures/portability_conformance/phase_control_audit_summary.json +16 -0
  30. package/fixtures/portability_conformance/relay_inbox.json +37 -0
  31. package/fixtures/portability_conformance/runtime_step_report.json +1384 -0
  32. package/fixtures/portability_conformance/salience_schedule_report.json +100 -0
  33. package/fixtures/portability_conformance/theory_fidelity_report.json +53 -0
  34. package/fixtures/portability_conformance/value_bridge_report.json +17 -0
  35. package/fixtures/python_v044_cli/adoption_packet.json +131 -0
  36. package/fixtures/python_v044_cli/adoption_request.json +60 -0
  37. package/fixtures/python_v044_cli/agent_autonomy_audit.json +254 -0
  38. package/fixtures/python_v044_cli/agent_check_compact.json +80 -0
  39. package/fixtures/python_v044_cli/agent_check_full.json +1265 -0
  40. package/fixtures/python_v044_cli/agent_communication_guide.json +426 -0
  41. package/fixtures/python_v044_cli/agent_intake.json +1175 -0
  42. package/fixtures/python_v044_cli/agent_manifest.json +373 -0
  43. package/fixtures/python_v044_cli/agent_runbook.json +115 -0
  44. package/fixtures/python_v044_cli/demo_installed_smoke.json +1367 -0
  45. package/fixtures/python_v044_cli/doctor_development.json +264 -0
  46. package/fixtures/python_v044_cli/identity_explain_profile_production.json +39 -0
  47. package/fixtures/python_v044_cli/phase_benchmark.json +42 -0
  48. package/fixtures/python_v044_cli/phase_benchmark_suite.json +428 -0
  49. package/fixtures/python_v044_cli/phase_dashboard.json +173 -0
  50. package/fixtures/python_v044_cli/phase_gap.json +119 -0
  51. package/fixtures/python_v044_cli/phase_observe.json +203 -0
  52. package/fixtures/python_v044_cli/phase_plan_compact.json +384 -0
  53. package/fixtures/python_v044_cli/phase_plan_full.json +2020 -0
  54. package/fixtures/python_v044_cli/phase_runbook.json +66 -0
  55. package/fixtures/python_v044_cli/routes_bindings.json +716 -0
  56. package/fixtures/python_v044_cli/routes_explain_replay_trc_physical_trace.json +57 -0
  57. package/fixtures/python_v044_cli/runtime_step_demo.json +1384 -0
  58. package/fixtures/python_v044_cli/snapshot_list.json +112 -0
  59. package/fixtures/python_v044_cli/snapshot_routes.json +926 -0
  60. package/fixtures/python_v044_cli/snapshot_show_alt.json +6830 -0
  61. package/fixtures/python_v044_cli/snapshot_show_bit.json +594 -0
  62. package/fixtures/python_v044_cli/snapshot_show_ecpt.json +2894 -0
  63. package/fixtures/python_v044_cli/snapshot_show_sqot.json +2392 -0
  64. package/fixtures/python_v044_cli/snapshot_show_trc.json +3037 -0
  65. package/fixtures/python_v044_cli/snapshot_verify_alt.json +10 -0
  66. package/fixtures/python_v044_cli/snapshot_verify_bit.json +10 -0
  67. package/fixtures/python_v044_cli/snapshot_verify_ecpt.json +10 -0
  68. package/fixtures/python_v044_cli/snapshot_verify_sqot.json +10 -0
  69. package/fixtures/python_v044_cli/snapshot_verify_trc.json +10 -0
  70. package/fixtures/python_v044_demo/agent_inbox.json +26 -0
  71. package/fixtures/python_v044_demo/agent_message.json +19 -0
  72. package/fixtures/python_v044_demo/agent_output.txt +1 -0
  73. package/fixtures/python_v044_demo/alt_admission_packet.json +208 -0
  74. package/fixtures/python_v044_demo/asi_proxy_phase_request.json +47 -0
  75. package/fixtures/python_v044_demo/general_intake_policy.json +58 -0
  76. package/fixtures/python_v044_demo/manifest.json +78 -0
  77. package/fixtures/python_v044_demo/packet_envelope.json +1463 -0
  78. package/fixtures/python_v044_demo/phase_dashboard.json +175 -0
  79. package/fixtures/python_v044_demo/runtime_state.json +143 -0
  80. package/fixtures/python_v044_demo/runtime_step_input.json +8 -0
  81. package/fixtures/python_v044_demo/runtime_step_report.json +1384 -0
  82. package/fixtures/python_v044_snapshots/alt.json +6830 -0
  83. package/fixtures/python_v044_snapshots/bit.json +543 -0
  84. package/fixtures/python_v044_snapshots/ecpt.json +2741 -0
  85. package/fixtures/python_v044_snapshots/sqot.json +2134 -0
  86. package/fixtures/python_v044_snapshots/trc.json +2880 -0
  87. package/package.json +129 -0
  88. package/schemas/ALTAccelerationCertificate.schema.json +169 -0
  89. package/schemas/ALTAdmissionDecision.schema.json +199 -0
  90. package/schemas/ALTCARACertificate.schema.json +285 -0
  91. package/schemas/ALTDeprecationRecord.schema.json +171 -0
  92. package/schemas/ALTKernelTransitionReport.schema.json +185 -0
  93. package/schemas/ALTResurrectionRecord.schema.json +171 -0
  94. package/schemas/ASIProxyTargetContract.schema.json +52 -0
  95. package/schemas/AbstractionToken.schema.json +281 -0
  96. package/schemas/AccelerationCertificate.schema.json +225 -0
  97. package/schemas/AccelerationExperimentSuite.schema.json +3731 -0
  98. package/schemas/AcceptedPacketPath.schema.json +148 -0
  99. package/schemas/ActionCommit.schema.json +67 -0
  100. package/schemas/ActionGrammar.schema.json +36 -0
  101. package/schemas/ActionabilityVector.schema.json +33 -0
  102. package/schemas/ActivationThresholdCertificate.schema.json +185 -0
  103. package/schemas/AdapterRouteSpec.schema.json +110 -0
  104. package/schemas/AdoptionFirstRunCommand.schema.json +44 -0
  105. package/schemas/AdoptionReviewChecklist.schema.json +36 -0
  106. package/schemas/AdoptionSafetyBoundary.schema.json +104 -0
  107. package/schemas/AgentAutonomyAuditReport.schema.json +213 -0
  108. package/schemas/AgentCheckReport.schema.json +3494 -0
  109. package/schemas/AgentCommandInvocation.schema.json +63 -0
  110. package/schemas/AgentCommunicationGuide.schema.json +213 -0
  111. package/schemas/AgentCommunicationPolicy.schema.json +73 -0
  112. package/schemas/AgentCommunicationStep.schema.json +85 -0
  113. package/schemas/AgentConnectorSpec.schema.json +89 -0
  114. package/schemas/AgentFeatureReadinessReport.schema.json +206 -0
  115. package/schemas/AgentIdentityAttestation.schema.json +99 -0
  116. package/schemas/AgentIdentityCheckReport.schema.json +225 -0
  117. package/schemas/AgentInboxRecord.schema.json +319 -0
  118. package/schemas/AgentIntakeReport.schema.json +3373 -0
  119. package/schemas/AgentIntakeRequest.schema.json +2250 -0
  120. package/schemas/AgentMessageContractReport.schema.json +195 -0
  121. package/schemas/AgentMessageDeliveryReport.schema.json +630 -0
  122. package/schemas/AgentMessageEnvelope.schema.json +201 -0
  123. package/schemas/AgentMessageNonceLedger.schema.json +45 -0
  124. package/schemas/AgentMessageVerificationContext.schema.json +60 -0
  125. package/schemas/AgentNetworkReadinessReport.schema.json +109 -0
  126. package/schemas/AgentNextActionReport.schema.json +83 -0
  127. package/schemas/AgentPacketExchangeReport.schema.json +519 -0
  128. package/schemas/AgentPeerRecord.schema.json +85 -0
  129. package/schemas/AgentPolicyIdentity.schema.json +79 -0
  130. package/schemas/AgentPopulationState.schema.json +2523 -0
  131. package/schemas/AgentRelayReadinessReport.schema.json +125 -0
  132. package/schemas/AgentRunbookReport.schema.json +100 -0
  133. package/schemas/AgentRuntimeConfig.schema.json +78 -0
  134. package/schemas/AgentTask.schema.json +101 -0
  135. package/schemas/AgentToOperatorRequest.schema.json +222 -0
  136. package/schemas/AgentWorkflowGuide.schema.json +128 -0
  137. package/schemas/AgentWorkflowStep.schema.json +59 -0
  138. package/schemas/AlgebraLawCertificate.schema.json +101 -0
  139. package/schemas/AttestationRecord.schema.json +63 -0
  140. package/schemas/AutocatalyticClosureWitness.schema.json +187 -0
  141. package/schemas/BaselineRefreshCertificate.schema.json +178 -0
  142. package/schemas/BasinReachabilityReport.schema.json +244 -0
  143. package/schemas/BottleneckCandidate.schema.json +105 -0
  144. package/schemas/BottleneckIntervention.schema.json +157 -0
  145. package/schemas/BottleneckInversionPlan.schema.json +212 -0
  146. package/schemas/BottleneckWitnessReport.schema.json +128 -0
  147. package/schemas/BoundaryGeneratorRecord.schema.json +57 -0
  148. package/schemas/BoundaryScriptRecord.schema.json +30 -0
  149. package/schemas/BudgetedToleranceScheduler.schema.json +59 -0
  150. package/schemas/CalibrationCertificate.schema.json +252 -0
  151. package/schemas/CanonicalImplementationReadinessReport.schema.json +298 -0
  152. package/schemas/CanonicalManifest.schema.json +80 -0
  153. package/schemas/CanonicalManifestRecord.schema.json +54 -0
  154. package/schemas/CanonicalTheorySnapshotSummary.schema.json +102 -0
  155. package/schemas/CapabilityBasinContract.schema.json +59 -0
  156. package/schemas/CapabilityPacketCandidate.schema.json +247 -0
  157. package/schemas/CapabilityPacketRegistry.schema.json +442 -0
  158. package/schemas/CapabilityStateVector.schema.json +169 -0
  159. package/schemas/CascadeResidualPotential.schema.json +32 -0
  160. package/schemas/CertificateCompilerRecord.schema.json +81 -0
  161. package/schemas/CertificateFamily.schema.json +376 -0
  162. package/schemas/CertificateRoute.schema.json +128 -0
  163. package/schemas/CertifiedAbstractionCapital.schema.json +161 -0
  164. package/schemas/CheckResult.schema.json +369 -0
  165. package/schemas/CheckerContext.schema.json +255 -0
  166. package/schemas/ClosedLoopAgentIteration.schema.json +1045 -0
  167. package/schemas/CollectivePhaseCertificate.schema.json +1377 -0
  168. package/schemas/CommercialReadinessSummary.schema.json +134 -0
  169. package/schemas/ConfidenceLedger.schema.json +26 -0
  170. package/schemas/ContentAddressedEvidenceRef.schema.json +48 -0
  171. package/schemas/ControlledTransition.schema.json +90 -0
  172. package/schemas/CryptographicAgentIdentity.schema.json +192 -0
  173. package/schemas/DKWCertificate.schema.json +31 -0
  174. package/schemas/DiagnosticReservePolicy.schema.json +22 -0
  175. package/schemas/DischargeRouteBinding.schema.json +93 -0
  176. package/schemas/DomainTypedSemiring.schema.json +55 -0
  177. package/schemas/DominanceWitness.schema.json +31 -0
  178. package/schemas/EProcessCertificate.schema.json +22 -0
  179. package/schemas/EdgeRelationVerificationReport.schema.json +161 -0
  180. package/schemas/EdgeRelationVerifierSpec.schema.json +62 -0
  181. package/schemas/EdgeWitness.schema.json +73 -0
  182. package/schemas/EdgeWitnessCertificate.schema.json +192 -0
  183. package/schemas/EvidenceArtifact.schema.json +112 -0
  184. package/schemas/EvidenceEnvelopeStoreRecord.schema.json +100 -0
  185. package/schemas/EvidencePolicy.schema.json +57 -0
  186. package/schemas/EvidenceResolutionBatch.schema.json +347 -0
  187. package/schemas/EvidenceVerificationProfile.schema.json +74 -0
  188. package/schemas/ExecutableALTCertificatePacket.schema.json +1512 -0
  189. package/schemas/ExecutableTraceNormalForm.schema.json +659 -0
  190. package/schemas/ExecutionAvailablePathCertificate.schema.json +204 -0
  191. package/schemas/ExternalCandidateClassification.schema.json +10 -0
  192. package/schemas/ExternalObligationCatalog.schema.json +238 -0
  193. package/schemas/ExternalVerifierHook.schema.json +174 -0
  194. package/schemas/FiniteOrder.schema.json +34 -0
  195. package/schemas/FinitePhaseControlCertificate.schema.json +100 -0
  196. package/schemas/FiniteTraceLaw.schema.json +30 -0
  197. package/schemas/FixedPopulationLedger.schema.json +255 -0
  198. package/schemas/FormationCostLedger.schema.json +91 -0
  199. package/schemas/FoundryControlDashboard.schema.json +198 -0
  200. package/schemas/FoundryState.schema.json +1819 -0
  201. package/schemas/FrontierDebtReport.schema.json +115 -0
  202. package/schemas/FunctorLawCertificate.schema.json +82 -0
  203. package/schemas/FusedGeometricComparisonCertificate.schema.json +79 -0
  204. package/schemas/FutureFreedomVector.schema.json +84 -0
  205. package/schemas/GeneralIntakePolicy.schema.json +255 -0
  206. package/schemas/GeneralIntakePolicyDecision.schema.json +85 -0
  207. package/schemas/GeneralIntakeProfile.schema.json +11 -0
  208. package/schemas/GeneralIntakeReport.schema.json +861 -0
  209. package/schemas/GeneralIntakeRuntimeBridgeReport.schema.json +761 -0
  210. package/schemas/GeneralIntakeSource.schema.json +57 -0
  211. package/schemas/GoodTuringCertificate.schema.json +27 -0
  212. package/schemas/HazardEnvelopeCertificate.schema.json +192 -0
  213. package/schemas/HiddenCapabilityInjectionReport.schema.json +212 -0
  214. package/schemas/IdentityContributionStatus.schema.json +11 -0
  215. package/schemas/IdentityTrustProfile.schema.json +12 -0
  216. package/schemas/ImplementationMaturity.schema.json +27 -0
  217. package/schemas/IndependenceCertificate.schema.json +42 -0
  218. package/schemas/InnerViabilityKernel.schema.json +45 -0
  219. package/schemas/IntakeProvenanceRecord.schema.json +192 -0
  220. package/schemas/InterventionCandidate.schema.json +266 -0
  221. package/schemas/Judgment.schema.json +351 -0
  222. package/schemas/LatticeWitness.schema.json +63 -0
  223. package/schemas/LedgerCoordinate.schema.json +79 -0
  224. package/schemas/LifecycleCostBounds.schema.json +65 -0
  225. package/schemas/LiquidityCertificate.schema.json +1094 -0
  226. package/schemas/MartingaleBlockResidual.schema.json +32 -0
  227. package/schemas/MartingaleDeficiencyCertificate.schema.json +76 -0
  228. package/schemas/MechanismCubeCertificate.schema.json +92 -0
  229. package/schemas/MissionValidityCertificate.schema.json +153 -0
  230. package/schemas/MonoidRecord.schema.json +30 -0
  231. package/schemas/MonotoneMap.schema.json +61 -0
  232. package/schemas/NegativeLiquidityCertificate.schema.json +176 -0
  233. package/schemas/NonPromotionPolicy.schema.json +39 -0
  234. package/schemas/ObligationRule.schema.json +54 -0
  235. package/schemas/ObligationSet.schema.json +230 -0
  236. package/schemas/ObligationTrace.schema.json +156 -0
  237. package/schemas/ObservationWindow.schema.json +48 -0
  238. package/schemas/ObservedTraceProjection.schema.json +57 -0
  239. package/schemas/OccupationLedger.schema.json +33 -0
  240. package/schemas/OperationalCheck.schema.json +29 -0
  241. package/schemas/OperationalReadinessReport.schema.json +216 -0
  242. package/schemas/OperatorAdoptionPacket.schema.json +303 -0
  243. package/schemas/OpportunityMeasureContract.schema.json +165 -0
  244. package/schemas/OrderedPotentialCone.schema.json +125 -0
  245. package/schemas/PacketCapitalLineage.schema.json +90 -0
  246. package/schemas/PacketExchangeEnvelope.schema.json +213 -0
  247. package/schemas/PacketImportInspectionReport.schema.json +68 -0
  248. package/schemas/PacketIngestionReport.schema.json +655 -0
  249. package/schemas/PacketLineageDigest.schema.json +70 -0
  250. package/schemas/PacketMergeReport.schema.json +286 -0
  251. package/schemas/PacketPromotionPolicy.schema.json +47 -0
  252. package/schemas/PacketPromotionReport.schema.json +354 -0
  253. package/schemas/PacketRejection.schema.json +158 -0
  254. package/schemas/PhaseAccelerationBenchmarkReport.schema.json +103 -0
  255. package/schemas/PhaseAccelerationPlan.schema.json +4449 -0
  256. package/schemas/PhaseAccelerationRequest.schema.json +5333 -0
  257. package/schemas/PhaseAccelerationScore.schema.json +66 -0
  258. package/schemas/PhaseBenchmarkCaseResult.schema.json +164 -0
  259. package/schemas/PhaseBenchmarkSuiteReport.schema.json +234 -0
  260. package/schemas/PhaseBenchmarkTask.schema.json +36 -0
  261. package/schemas/PhaseComponentGap.schema.json +46 -0
  262. package/schemas/PhaseControlAction.schema.json +80 -0
  263. package/schemas/PhaseControlAuditSummary.schema.json +143 -0
  264. package/schemas/PhaseControlEnvelope.schema.json +53 -0
  265. package/schemas/PhaseControlObjective.schema.json +98 -0
  266. package/schemas/PhaseControlPlan.schema.json +377 -0
  267. package/schemas/PhaseControlRunReport.schema.json +425 -0
  268. package/schemas/PhaseControlState.schema.json +383 -0
  269. package/schemas/PhaseDashboardReport.schema.json +249 -0
  270. package/schemas/PhaseGapVector.schema.json +101 -0
  271. package/schemas/PhaseObservationReport.schema.json +321 -0
  272. package/schemas/PhaseTrajectoryReport.schema.json +4522 -0
  273. package/schemas/PopulationRuntimeStepReport.schema.json +5125 -0
  274. package/schemas/PortabilityConformanceReport.schema.json +99 -0
  275. package/schemas/PortabilitySchemaBundle.schema.json +23 -0
  276. package/schemas/ProblemSolvingTrace.schema.json +162 -0
  277. package/schemas/ProcessGrammarRecord.schema.json +56 -0
  278. package/schemas/ProductOrder.schema.json +53 -0
  279. package/schemas/ProductionReadinessProfile.schema.json +37 -0
  280. package/schemas/ProjectionAudit.schema.json +70 -0
  281. package/schemas/ProofObligation.schema.json +200 -0
  282. package/schemas/ProtocolFrameDigest.schema.json +79 -0
  283. package/schemas/ProtocolFunctorCertificate.schema.json +89 -0
  284. package/schemas/ProtocolObject.schema.json +45 -0
  285. package/schemas/ProtocolRelativeBenchmarkMetric.schema.json +39 -0
  286. package/schemas/ProvenanceManifest.schema.json +221 -0
  287. package/schemas/ProvenanceManifestEntry.schema.json +29 -0
  288. package/schemas/PsiDashboard.schema.json +213 -0
  289. package/schemas/PullbackGluingWitness.schema.json +43 -0
  290. package/schemas/QuarantineLedger.schema.json +31 -0
  291. package/schemas/ReachableMassRecursionCertificate.schema.json +129 -0
  292. package/schemas/ReconstructionResidual.schema.json +24 -0
  293. package/schemas/RefreshRule.schema.json +31 -0
  294. package/schemas/Registry.schema.json +231 -0
  295. package/schemas/ReleaseArtifactManifest.schema.json +62 -0
  296. package/schemas/ReproductionMatrixCertificate.schema.json +190 -0
  297. package/schemas/ResidualCarryForwardReport.schema.json +57 -0
  298. package/schemas/ResourceCalendarRecord.schema.json +67 -0
  299. package/schemas/ResourceEnvelope.schema.json +42 -0
  300. package/schemas/ResourceMatchedBaselineConfig.schema.json +81 -0
  301. package/schemas/RiskBudgetLedger.schema.json +19 -0
  302. package/schemas/RobotsDecision.schema.json +44 -0
  303. package/schemas/RootFinalityCertificate.schema.json +190 -0
  304. package/schemas/RouteExecutionBatch.schema.json +930 -0
  305. package/schemas/RouteExecutionRequest.schema.json +87 -0
  306. package/schemas/RuntimeActionResult.schema.json +807 -0
  307. package/schemas/RuntimeComparisonReport.schema.json +3670 -0
  308. package/schemas/RuntimeEvent.schema.json +142 -0
  309. package/schemas/RuntimeEventLog.schema.json +161 -0
  310. package/schemas/RuntimeExecutionReport.schema.json +872 -0
  311. package/schemas/RuntimeExecutorPolicy.schema.json +68 -0
  312. package/schemas/RuntimeHealthReport.schema.json +161 -0
  313. package/schemas/RuntimeIdentityContext.schema.json +480 -0
  314. package/schemas/RuntimeRunReport.schema.json +3487 -0
  315. package/schemas/RuntimeServiceSettings.schema.json +55 -0
  316. package/schemas/RuntimeState.schema.json +1438 -0
  317. package/schemas/RuntimeStepInput.schema.json +685 -0
  318. package/schemas/RuntimeStepReport.schema.json +3314 -0
  319. package/schemas/RuntimeStoreRecord.schema.json +106 -0
  320. package/schemas/RuntimeStoreSnapshot.schema.json +4815 -0
  321. package/schemas/SBOMManifest.schema.json +67 -0
  322. package/schemas/SQOTTheorySnapshot.schema.json +49 -0
  323. package/schemas/SafePhaseAction.schema.json +96 -0
  324. package/schemas/SalienceQueueRecord.schema.json +313 -0
  325. package/schemas/SalienceScheduleReport.schema.json +434 -0
  326. package/schemas/SalienceSchedulingDecision.schema.json +167 -0
  327. package/schemas/SchemaBundleDigest.schema.json +57 -0
  328. package/schemas/ScriptGroundMetricCertificate.schema.json +47 -0
  329. package/schemas/SelectiveCUPCertificate.schema.json +414 -0
  330. package/schemas/SettlementReturnRAFCertificate.schema.json +122 -0
  331. package/schemas/SinkhornCertificate.schema.json +55 -0
  332. package/schemas/SnapshotAttribution.schema.json +63 -0
  333. package/schemas/SnapshotCatalog.schema.json +481 -0
  334. package/schemas/SplitCertificate.schema.json +39 -0
  335. package/schemas/StatusAlgebraRecord.schema.json +37 -0
  336. package/schemas/StoppedEvidenceSheafCertificate.schema.json +120 -0
  337. package/schemas/StrictTexParseReport.schema.json +67 -0
  338. package/schemas/SybilResistanceLedger.schema.json +427 -0
  339. package/schemas/SybilResistancePolicy.schema.json +176 -0
  340. package/schemas/TRCCompileResult.schema.json +239 -0
  341. package/schemas/TRCStateRecord.schema.json +149 -0
  342. package/schemas/TelemetryCostCertificate.schema.json +171 -0
  343. package/schemas/TexGrammarDiagnostic.schema.json +39 -0
  344. package/schemas/TheoryAuditReport.schema.json +654 -0
  345. package/schemas/TheoryAuditSuiteReport.schema.json +775 -0
  346. package/schemas/TheoryFidelityReport.schema.json +100 -0
  347. package/schemas/TheoryImplementationRecord.schema.json +203 -0
  348. package/schemas/TheorySnapshot.schema.json +459 -0
  349. package/schemas/TheorySnapshotItem.schema.json +60 -0
  350. package/schemas/TokenLineage.schema.json +76 -0
  351. package/schemas/ToleranceAllocationCertificate.schema.json +62 -0
  352. package/schemas/TraceNormalizationCertificate.schema.json +77 -0
  353. package/schemas/TraceSufficiencyCertificate.schema.json +166 -0
  354. package/schemas/TransportCertificate.schema.json +178 -0
  355. package/schemas/TypedTraceTransducerRecord.schema.json +64 -0
  356. package/schemas/ValueBridgeReport.schema.json +131 -0
  357. package/schemas/VectorCompatibleFamily.schema.json +354 -0
  358. package/schemas/VerificationThroughputReport.schema.json +62 -0
  359. package/schemas/VerifiedCapabilityPacket.schema.json +251 -0
  360. package/schemas/VerifierEvidenceEnvelope.schema.json +178 -0
  361. package/schemas/VerifierResolution.schema.json +275 -0
  362. package/schemas/WebDiscoveryReport.schema.json +675 -0
  363. package/schemas/WebFetchPolicy.schema.json +145 -0
  364. package/schemas/WebFetchReport.schema.json +133 -0
  365. package/schemas/bundle.schema.json +100808 -0
  366. package/schemas/schema-digest.json +1674 -0
package/LICENSE ADDED
@@ -0,0 +1,152 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction, and
10
+ distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by the copyright
13
+ owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all other entities
16
+ that control, are controlled by, or are under common control with that entity.
17
+ For the purposes of this definition, "control" means (i) the power, direct or
18
+ indirect, to cause the direction or management of such entity, whether by
19
+ contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the
20
+ outstanding shares, or (iii) beneficial ownership of such entity.
21
+
22
+ "You" (or "Your") shall mean an individual or Legal Entity exercising
23
+ permissions granted by this License.
24
+
25
+ "Source" form shall mean the preferred form for making modifications, including
26
+ but not limited to software source code, documentation source, and configuration
27
+ files.
28
+
29
+ "Object" form shall mean any form resulting from mechanical transformation or
30
+ translation of a Source form, including but not limited to compiled object code,
31
+ generated documentation, and conversions to other media types.
32
+
33
+ "Work" shall mean the work of authorship, whether in Source or Object form, made
34
+ available under the License, as indicated by a copyright notice that is included
35
+ in or attached to the work.
36
+
37
+ "Derivative Works" shall mean any work, whether in Source or Object form, that is
38
+ based on or derived from the Work and for which the editorial revisions,
39
+ annotations, elaborations, or other modifications represent, as a whole, an
40
+ original work of authorship. For the purposes of this License, Derivative Works
41
+ shall not include works that remain separable from, or merely link (or bind by
42
+ name) to the interfaces of, the Work and Derivative Works thereof.
43
+
44
+ "Contribution" shall mean any work of authorship, including the original version
45
+ of the Work and any modifications or additions to that Work or Derivative Works
46
+ thereof, that is intentionally submitted to Licensor for inclusion in the Work by
47
+ the copyright owner or by an individual or Legal Entity authorized to submit on
48
+ behalf of the copyright owner. For the purposes of this definition, "submitted"
49
+ means any form of electronic, verbal, or written communication sent to the
50
+ Licensor or its representatives, including but not limited to communication on
51
+ electronic mailing lists, source code control systems, and issue tracking systems
52
+ that are managed by, or on behalf of, the Licensor for the purpose of discussing
53
+ and improving the Work, but excluding communication that is conspicuously marked
54
+ or otherwise designated in writing by the copyright owner as "Not a
55
+ Contribution."
56
+
57
+ "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of
58
+ whom a Contribution has been received by Licensor and subsequently incorporated
59
+ within the Work.
60
+
61
+ 2. Grant of Copyright License. Subject to the terms and conditions of this
62
+ License, each Contributor hereby grants to You a perpetual, worldwide,
63
+ non-exclusive, no-charge, royalty-free, irrevocable copyright license to
64
+ reproduce, prepare Derivative Works of, publicly display, publicly perform,
65
+ sublicense, and distribute the Work and such Derivative Works in Source or Object
66
+ form.
67
+
68
+ 3. Grant of Patent License. Subject to the terms and conditions of this License,
69
+ each Contributor hereby grants to You a perpetual, worldwide, non-exclusive,
70
+ no-charge, royalty-free, irrevocable patent license to make, have made, use,
71
+ offer to sell, sell, import, and otherwise transfer the Work, where such license
72
+ applies only to those patent claims licensable by such Contributor that are
73
+ necessarily infringed by their Contribution(s) alone or by combination of their
74
+ Contribution(s) with the Work to which such Contribution(s) was submitted. If You
75
+ institute patent litigation against any entity alleging that the Work or a
76
+ Contribution incorporated within the Work constitutes direct or contributory
77
+ patent infringement, then any patent licenses granted to You under this License
78
+ for that Work shall terminate as of the date such litigation is filed.
79
+
80
+ 4. Redistribution. You may reproduce and distribute copies of the Work or
81
+ Derivative Works thereof in any medium, with or without modifications, and in
82
+ Source or Object form, provided that You meet the following conditions:
83
+
84
+ (a) You must give any other recipients of the Work or Derivative Works a copy of
85
+ this License; and
86
+
87
+ (b) You must cause any modified files to carry prominent notices stating that You
88
+ changed the files; and
89
+
90
+ (c) You must retain, in the Source form of any Derivative Works that You
91
+ distribute, all copyright, patent, trademark, and attribution notices from the
92
+ Source form of the Work, excluding those notices that do not pertain to any part
93
+ of the Derivative Works; and
94
+
95
+ (d) If the Work includes a "NOTICE" text file as part of its distribution, then
96
+ any Derivative Works that You distribute must include a readable copy of the
97
+ attribution notices contained within such NOTICE file, excluding those notices
98
+ that do not pertain to any part of the Derivative Works, in at least one of the
99
+ following places: within a NOTICE text file distributed as part of the Derivative
100
+ Works; within the Source form or documentation, if provided along with the
101
+ Derivative Works; or within a display generated by the Derivative Works, if and
102
+ wherever such third-party notices normally appear. The contents of the NOTICE
103
+ file are for informational purposes only and do not modify the License. You may
104
+ add Your own attribution notices within Derivative Works that You distribute,
105
+ alongside or as an addendum to the NOTICE text from the Work, provided that such
106
+ additional attribution notices cannot be construed as modifying the License.
107
+
108
+ You may add Your own copyright statement to Your modifications and may provide
109
+ additional or different license terms and conditions for use, reproduction, or
110
+ distribution of Your modifications, or for any such Derivative Works as a whole,
111
+ provided Your use, reproduction, and distribution of the Work otherwise complies
112
+ with the conditions stated in this License.
113
+
114
+ 5. Submission of Contributions. Unless You explicitly state otherwise, any
115
+ Contribution intentionally submitted for inclusion in the Work by You to the
116
+ Licensor shall be under the terms and conditions of this License, without any
117
+ additional terms or conditions. Notwithstanding the above, nothing herein shall
118
+ supersede or modify the terms of any separate license agreement you may have
119
+ executed with Licensor regarding such Contributions.
120
+
121
+ 6. Trademarks. This License does not grant permission to use the trade names,
122
+ trademarks, service marks, or product names of the Licensor, except as required
123
+ for reasonable and customary use in describing the origin of the Work and
124
+ reproducing the content of the NOTICE file.
125
+
126
+ 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in
127
+ writing, Licensor provides the Work on an "AS IS" BASIS, WITHOUT WARRANTIES OR
128
+ CONDITIONS OF ANY KIND, either express or implied, including, without limitation,
129
+ any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or
130
+ FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the
131
+ appropriateness of using or redistributing the Work and assume any risks
132
+ associated with Your exercise of permissions under this License.
133
+
134
+ 8. Limitation of Liability. In no event and under no legal theory, whether in
135
+ tort (including negligence), contract, or otherwise, unless required by
136
+ applicable law or agreed to in writing, shall any Contributor be liable to You
137
+ for damages, including any direct, indirect, special, incidental, or
138
+ consequential damages of any character arising as a result of this License or out
139
+ of the use or inability to use the Work, even if such Contributor has been
140
+ advised of the possibility of such damages.
141
+
142
+ 9. Accepting Warranty or Additional Liability. While redistributing the Work or
143
+ Derivative Works thereof, You may choose to offer, and charge a fee for,
144
+ acceptance of support, warranty, indemnity, or other liability obligations and/or
145
+ rights consistent with this License. However, in accepting such obligations, You
146
+ may act only on Your own behalf and on Your sole responsibility, not on behalf of
147
+ any other Contributor, and only if You agree to indemnify, defend, and hold each
148
+ Contributor harmless for any liability incurred by, or claims asserted against,
149
+ such Contributor by reason of your accepting any such warranty or additional
150
+ liability.
151
+
152
+ END OF TERMS AND CONDITIONS
package/NOTICE ADDED
@@ -0,0 +1,21 @@
1
+ Percolation Inversion Compiler
2
+ Copyright 2026 K. Takahashi
3
+
4
+ This product includes software developed for finite certificate compilation
5
+ interfaces derived from the following CC-BY-4.0 research artifacts:
6
+
7
+ - Takahashi, K. (2026). Executable Capability Percolation Theory. Zenodo.
8
+ https://doi.org/10.5281/zenodo.20535654
9
+ - Takahashi, K. (2026). Bottleneck Inversion Theory: Machine-Readable Witness
10
+ Calculus for Unlockable Potential. Zenodo.
11
+ https://doi.org/10.5281/zenodo.20545356
12
+ - Takahashi, K. (2026). Typed Reality Compilation: Operational Tolerance
13
+ Allocation for Resource-Efficient Cyber-Physical Frontier Compilation. Zenodo.
14
+ https://doi.org/10.5281/zenodo.20554083
15
+ - Takahashi, K. (2026). Salience-Queue Occupation Theory. Zenodo.
16
+ https://doi.org/10.5281/zenodo.20526451
17
+ - Takahashi, K. (2026). Abstraction Liquidity Theory. Zenodo.
18
+ https://doi.org/10.5281/zenodo.20476200
19
+
20
+ The cited papers are not vendored in this repository. Extractors operate on
21
+ user-provided TeX sources or externally obtained canonical artifacts.
package/README.md ADDED
@@ -0,0 +1,255 @@
1
+ # percolation-inversion-compiler-ts
2
+
3
+ AI agent output checker and workflow report generator for Node.js.
4
+
5
+ `percolation-inversion-compiler-ts` helps a JavaScript or TypeScript agent turn
6
+ draft output, local runtime files, agent messages, and packet sidecars into
7
+ structured JSON reports. The reports show what is accepted, what is usable for a
8
+ workflow, what still needs checking, and what must not be treated as completed
9
+ work.
10
+
11
+ This npm package is a TypeScript port of the public JSON, CLI, schema,
12
+ conformance fixture, and safety behavior of
13
+ `percolation-inversion-compiler` v0.4.4. The Python package remains the
14
+ canonical implementation:
15
+
16
+ - Canonical repository:
17
+ [kadubon/percolation-inversion-compiler](https://github.com/kadubon/percolation-inversion-compiler)
18
+ - Canonical wiki:
19
+ [percolation-inversion-compiler Wiki](https://github.com/kadubon/percolation-inversion-compiler/wiki)
20
+
21
+ ## What It Does
22
+
23
+ Use this package when an agent output should be checked before it is reused,
24
+ sent to another agent, turned into a packet, or used to plan the next workflow
25
+ step.
26
+
27
+ In plain terms, it answers:
28
+
29
+ - What did the agent claim?
30
+ - Is the JSON envelope accepted by the checker?
31
+ - Can this report guide the next safe workflow step?
32
+ - What evidence, identity, or verification work is still missing?
33
+ - Which command or SDK call can inspect the next step?
34
+ - Which content must remain candidate-only and not be promoted to completed
35
+ work?
36
+
37
+ The package is local-first and Python-free at runtime. It does not execute
38
+ arbitrary shell commands, mutate repositories, crawl in the background, or prove
39
+ real-world truth.
40
+
41
+ ## Quick Start
42
+
43
+ Install from npm:
44
+
45
+ ```sh
46
+ npm install percolation-inversion-compiler-ts
47
+ ```
48
+
49
+ Run a compact agent check:
50
+
51
+ ```sh
52
+ npx pic-ts agent check --compact --text "Candidate packet: preserve residuals." --profile development
53
+ ```
54
+
55
+ Plan the next workflow step:
56
+
57
+ ```sh
58
+ npx pic-ts phase plan --compact --text "Candidate packet: preserve residuals." --profile development
59
+ ```
60
+
61
+ The package exposes two command names:
62
+
63
+ - `pic-ts`: recommended for npm and Node.js projects.
64
+ - `pic`: compatibility bin matching the Python CLI command name.
65
+
66
+ ## Run The Node-Only Agent Loop
67
+
68
+ This loop works without Python. It creates demo input files, checks one runtime
69
+ step, exports the result as inert packet data, inspects that packet without
70
+ executing embedded text, and builds a phase plan from a request JSON file.
71
+
72
+ ```sh
73
+ npx pic-ts demo bootstrap --output-dir .pic-demo --overwrite
74
+ npx pic-ts agent check --compact --text "Candidate packet: preserve residuals." --profile development
75
+ npx pic-ts runtime step --state .pic-demo/runtime_state.json --input .pic-demo/runtime_step_input.json --output .pic-demo/runtime_step_report.generated.json
76
+ npx pic-ts packet export --report .pic-demo/runtime_step_report.generated.json --output .pic-demo/packet.json
77
+ npx pic-ts packet inspect --packet .pic-demo/packet.json
78
+ npx pic-ts phase plan --request .pic-demo/asi_proxy_phase_request.json --compact
79
+ npx pic-ts agent accelerate --compact --text "Candidate packet: preserve residuals." --profile development
80
+ ```
81
+
82
+ This is the practical npm version of the ASI-proxy loop: verified candidate work
83
+ is preserved, missing work is kept visible, and bottlenecks are routed to finite
84
+ checks. It is not a claim that real ASI, physical outcomes, simulator truth, or
85
+ oracle truth has been proven.
86
+
87
+ ## Common Commands
88
+
89
+ Check agent output:
90
+
91
+ ```sh
92
+ npx pic-ts agent check --compact --text "Candidate packet: route evidence and preserve residuals." --profile development
93
+ npx pic-ts agent intake --text "Candidate packet: route evidence and preserve residuals." --profile development
94
+ npx pic-ts agent runbook --profile development
95
+ ```
96
+
97
+ Plan workflow repair:
98
+
99
+ ```sh
100
+ npx pic-ts phase plan --compact --profile development
101
+ npx pic-ts phase gap --compact --profile development
102
+ npx pic-ts phase runbook --profile development
103
+ ```
104
+
105
+ Run the bundled runtime fixture:
106
+
107
+ ```sh
108
+ npx pic-ts runtime step --state fixtures/python_v044_demo/runtime_state.json --input fixtures/python_v044_demo/runtime_step_input.json
109
+ ```
110
+
111
+ Work with packets as data:
112
+
113
+ ```sh
114
+ npx pic-ts packet export --report fixtures/python_v044_demo/runtime_step_report.json --output packet.json
115
+ npx pic-ts packet inspect --packet packet.json
116
+ ```
117
+
118
+ Inspect schemas and conformance fixtures:
119
+
120
+ ```sh
121
+ npx pic-ts schema --type PhaseAccelerationPlan
122
+ npx pic-ts portability verify --manifest fixtures/portability_conformance/manifest.json
123
+ npx pic-ts snapshot list
124
+ ```
125
+
126
+ ## Use From JavaScript
127
+
128
+ Root import:
129
+
130
+ ```ts
131
+ import {
132
+ buildPhaseAccelerationPlan,
133
+ phaseAccelerationCompactPayload,
134
+ runAgentCheck,
135
+ schemaByType,
136
+ verifyPortabilityManifest,
137
+ } from "percolation-inversion-compiler-ts";
138
+
139
+ const check = runAgentCheck(
140
+ { agent_output: "Candidate packet: preserve residuals." },
141
+ true,
142
+ );
143
+
144
+ const plan = phaseAccelerationCompactPayload(
145
+ buildPhaseAccelerationPlan({ compact: true }),
146
+ );
147
+
148
+ const schema = schemaByType("PhaseAccelerationPlan");
149
+ ```
150
+
151
+ Subpath imports for agent runtimes:
152
+
153
+ ```ts
154
+ import { schemaByType } from "percolation-inversion-compiler-ts/schema";
155
+ import { createAgentMessage } from "percolation-inversion-compiler-ts/agent/messages";
156
+ import { packetEnvelopeFromRuntimeReport } from "percolation-inversion-compiler-ts/packet";
157
+ ```
158
+
159
+ ## How To Read The JSON
160
+
161
+ The JSON fields are intentionally separate:
162
+
163
+ | Field | Plain meaning |
164
+ | ---------------------- | ------------------------------------------------------------------------------------ |
165
+ | `accepted` | The input envelope passed the finite checks for this command. |
166
+ | `workflow_usable` | The report can guide the next workflow step. This is not settlement. |
167
+ | `operationally_usable` | The deeper runtime result can be used under the selected profile. |
168
+ | `settled` | All scoped finite obligations are discharged. This is often `false`. |
169
+ | `missing_obligations` | Work that is still missing, such as evidence, identity, route, or verifier checks. |
170
+ | `residual_ledger` | Remaining debt, limits, or unresolved work that must stay visible. |
171
+ | `safe_commands` | Suggested inspection commands. They are not permission to execute arbitrary actions. |
172
+
173
+ `settled=false` is not a command failure. It usually means the checker preserved
174
+ unfinished work instead of hiding it.
175
+
176
+ ## Safety Limits
177
+
178
+ This package is designed for safe local inspection and agent workflow routing.
179
+
180
+ It does not:
181
+
182
+ - prove real ASI or general intelligence;
183
+ - prove physical, simulator, policy, legal, or oracle outcomes;
184
+ - grant shell, repository, network, or model-mutation authority;
185
+ - treat agent text, registry metadata, or queue priority as verified evidence;
186
+ - silently promote unresolved obligations to `settled=true`;
187
+ - execute packet content or command-like strings embedded in messages.
188
+
189
+ Heavy routes that would require Python-only services, live connectors, local
190
+ runtime stores, repository mutation, or external verifier authority are exposed
191
+ as safe diagnostic compatibility routes. They fail closed with
192
+ `operationally_usable=false`, `settled=false`,
193
+ `execution_authority_granted=false`, visible residual ledgers, and visible
194
+ missing obligations.
195
+
196
+ ## Python Canonical Implementation
197
+
198
+ The canonical implementation is the Python package
199
+ `percolation-inversion-compiler==0.4.4`.
200
+
201
+ Use the Python project when you need the canonical source implementation,
202
+ Python SDK behavior, optional Python sidecars, or the full project
203
+ documentation:
204
+
205
+ - Repository:
206
+ [https://github.com/kadubon/percolation-inversion-compiler](https://github.com/kadubon/percolation-inversion-compiler)
207
+ - Wiki:
208
+ [https://github.com/kadubon/percolation-inversion-compiler/wiki](https://github.com/kadubon/percolation-inversion-compiler/wiki)
209
+
210
+ This TypeScript package keeps the same public JSON meaning for npm and Node.js
211
+ agent runtimes. It does not vendor the canonical TeX or PDF papers, and it does
212
+ not copy Python internals line by line.
213
+
214
+ ## Compatibility
215
+
216
+ | Command family | Compatibility claim |
217
+ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
218
+ | `agent check`, `agent intake`, `agent runbook`, `agent autonomy-audit`, `agent manifest`, `agent communication-guide` | Exact Python v0.4.4 golden JSON for bundled fixture-backed modes. |
219
+ | `phase plan`, `phase gap`, `phase runbook`, `phase benchmark`, `phase benchmark-suite`, `phase dashboard`, `phase observe` | Exact Python v0.4.4 golden JSON for static fixtures; dynamic `--request` preserves public v0.4.4 semantics. |
220
+ | `runtime step`, `schema`, `snapshot`, `routes`, `portability`, `adoption`, `identity`, `demo installed-smoke` | Python v0.4.4 golden JSON or bundled canonical schema and fixture semantics. |
221
+ | `agent message`, `agent inbox`, `packet`, Node-only demo bootstrap | npm/Node sidecar implementation with the same non-promotion and residual-preservation rules. |
222
+ | evidence heavy routes, runtime service/store/heavy actions, SQOT audit, ALT heavy routes, ecology heavy routes, ECPT heavy routes, audit/extract/check/coverage/parse/provenance/sbom/demo datacenter | Safe diagnostic compatibility only. |
223
+
224
+ ## Development And Publishing Checks
225
+
226
+ Run the local gate before publishing:
227
+
228
+ ```sh
229
+ npm run typecheck
230
+ npm run lint
231
+ npm run format:check
232
+ npm run test
233
+ npm run conformance
234
+ npm run pack:check
235
+ npm run installed:smoke
236
+ npm run publint
237
+ npm run attw
238
+ npm audit --audit-level=high
239
+ npm run prepublishOnly
240
+ ```
241
+
242
+ The package uses a `files` whitelist. The publish safety check rejects local
243
+ paths, obvious secrets, TeX/PDF sources, archives, source maps, model weights,
244
+ private keys, dependency folders, and private data paths.
245
+
246
+ ## Search Terms
247
+
248
+ AI agent output checker, workflow report generator, Node.js agent runtime, npm
249
+ agent checker, LLM output validation, AI workflow verification, JSON report,
250
+ safe reuse check, evidence routing, verifier routing, residual ledger,
251
+ unresolved work ledger, missing obligations, packet export, packet inspection,
252
+ agent-to-agent message checking, runtime step report, phase planning, workflow
253
+ bottleneck planning, portability conformance, JSON schema validation,
254
+ percolation inversion compiler, PIC, ECPT, BIT, TRC, SQOT, ALT, ASI-proxy
255
+ workflow loop.
@@ -0,0 +1,23 @@
1
+ interface AgentMessageCreateOptions {
2
+ sender: string;
3
+ text: string;
4
+ receiver?: string;
5
+ nonce?: string;
6
+ }
7
+ interface MessagePolicyOptions {
8
+ profile?: string;
9
+ seenNonces?: string[];
10
+ identityContextPath?: string;
11
+ }
12
+ declare function createAgentMessage(options: AgentMessageCreateOptions): Record<string, unknown>;
13
+ declare function readAgentMessage(path: string): Record<string, unknown>;
14
+ declare function agentMessageContract(message: Record<string, unknown>): Record<string, unknown>;
15
+ declare function verifyAgentMessage(message: Record<string, unknown>, options?: MessagePolicyOptions): Record<string, unknown>;
16
+ declare function initAgentInbox(path: string, inboxId?: string): Record<string, unknown>;
17
+ declare function readAgentInbox(path: string): Record<string, unknown>;
18
+ declare function writeAgentInbox(path: string, inbox: Record<string, unknown>): void;
19
+ declare function appendAgentMessage(inboxPath: string, message: Record<string, unknown>): Record<string, unknown>;
20
+ declare function deliveryReport(action: string, inboxRef: string, inbox: Record<string, unknown>, reports: Array<Record<string, unknown>>, profile?: string): Record<string, unknown>;
21
+ declare function receiveAgentInbox(inboxPath: string, options?: MessagePolicyOptions): Record<string, unknown>;
22
+
23
+ export { type AgentMessageCreateOptions, type MessagePolicyOptions, agentMessageContract, appendAgentMessage, createAgentMessage, deliveryReport, initAgentInbox, readAgentInbox, readAgentMessage, receiveAgentInbox, verifyAgentMessage, writeAgentInbox };