crprotocol 2.0.0__py3-none-any.whl

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 (153) hide show
  1. crp/__init__.py +126 -0
  2. crp/__main__.py +8 -0
  3. crp/_typing.py +27 -0
  4. crp/_version.py +5 -0
  5. crp/adapters.py +31 -0
  6. crp/advanced/__init__.py +40 -0
  7. crp/advanced/auto_ingest.py +400 -0
  8. crp/advanced/cqs.py +235 -0
  9. crp/advanced/cross_window.py +477 -0
  10. crp/advanced/curator.py +265 -0
  11. crp/advanced/feedback.py +146 -0
  12. crp/advanced/hierarchical.py +211 -0
  13. crp/advanced/meta_learning.py +401 -0
  14. crp/advanced/parallel.py +98 -0
  15. crp/advanced/review_cycle.py +329 -0
  16. crp/advanced/scale_mode.py +129 -0
  17. crp/advanced/source_grounding.py +207 -0
  18. crp/ckf/__init__.py +35 -0
  19. crp/ckf/community.py +377 -0
  20. crp/ckf/fabric.py +445 -0
  21. crp/ckf/gc.py +175 -0
  22. crp/ckf/graph_walk.py +87 -0
  23. crp/ckf/merge.py +133 -0
  24. crp/ckf/pattern_query.py +122 -0
  25. crp/ckf/pubsub.py +128 -0
  26. crp/ckf/semantic.py +207 -0
  27. crp/cli/__init__.py +7 -0
  28. crp/cli/main.py +329 -0
  29. crp/cli/sidecar.py +929 -0
  30. crp/cli/startup.py +272 -0
  31. crp/continuation/__init__.py +103 -0
  32. crp/continuation/completion.py +348 -0
  33. crp/continuation/degradation.py +157 -0
  34. crp/continuation/document_map.py +160 -0
  35. crp/continuation/flow.py +109 -0
  36. crp/continuation/gap.py +419 -0
  37. crp/continuation/manager.py +484 -0
  38. crp/continuation/quality_monitor.py +179 -0
  39. crp/continuation/stitch.py +419 -0
  40. crp/continuation/trigger.py +142 -0
  41. crp/continuation/voice.py +157 -0
  42. crp/core/__init__.py +69 -0
  43. crp/core/batch.py +77 -0
  44. crp/core/circuit_breaker.py +116 -0
  45. crp/core/config.py +377 -0
  46. crp/core/context_tools.py +540 -0
  47. crp/core/dispatch_router.py +3977 -0
  48. crp/core/errors.py +128 -0
  49. crp/core/extraction_facade.py +384 -0
  50. crp/core/facilitator.py +713 -0
  51. crp/core/idempotency.py +215 -0
  52. crp/core/orchestrator.py +1435 -0
  53. crp/core/relay_strategies.py +613 -0
  54. crp/core/security_manager.py +140 -0
  55. crp/core/session.py +134 -0
  56. crp/core/task_intent.py +36 -0
  57. crp/core/window.py +363 -0
  58. crp/envelope/__init__.py +30 -0
  59. crp/envelope/builder.py +288 -0
  60. crp/envelope/decomposer.py +236 -0
  61. crp/envelope/formatter.py +168 -0
  62. crp/envelope/packer.py +211 -0
  63. crp/envelope/reranker.py +209 -0
  64. crp/envelope/scoring.py +310 -0
  65. crp/extraction/__init__.py +45 -0
  66. crp/extraction/complexity.py +96 -0
  67. crp/extraction/contradiction.py +132 -0
  68. crp/extraction/pipeline.py +360 -0
  69. crp/extraction/quality_gate.py +237 -0
  70. crp/extraction/stage1_regex.py +173 -0
  71. crp/extraction/stage2_statistical.py +244 -0
  72. crp/extraction/stage3_gliner.py +210 -0
  73. crp/extraction/stage4_uie.py +183 -0
  74. crp/extraction/stage5_discourse.py +175 -0
  75. crp/extraction/stage6_llm.py +178 -0
  76. crp/extraction/structured_output.py +219 -0
  77. crp/extraction/types.py +299 -0
  78. crp/license_guard.py +722 -0
  79. crp/observability/__init__.py +30 -0
  80. crp/observability/audit.py +118 -0
  81. crp/observability/events.py +233 -0
  82. crp/observability/metrics.py +264 -0
  83. crp/observability/quality.py +135 -0
  84. crp/observability/structured_logging.py +81 -0
  85. crp/observability/telemetry.py +117 -0
  86. crp/provenance/__init__.py +314 -0
  87. crp/provenance/_embeddings.py +97 -0
  88. crp/provenance/_types.py +378 -0
  89. crp/provenance/attribution_scorer.py +252 -0
  90. crp/provenance/claim_detector.py +229 -0
  91. crp/provenance/contradiction_detector.py +243 -0
  92. crp/provenance/distortion_detector.py +397 -0
  93. crp/provenance/entailment_verifier.py +358 -0
  94. crp/provenance/fabrication_detector.py +203 -0
  95. crp/provenance/hallucination_scorer.py +320 -0
  96. crp/provenance/omission_analyzer.py +106 -0
  97. crp/provenance/provenance_chain.py +205 -0
  98. crp/provenance/report_generator.py +440 -0
  99. crp/providers/__init__.py +43 -0
  100. crp/providers/anthropic.py +270 -0
  101. crp/providers/base.py +135 -0
  102. crp/providers/custom.py +63 -0
  103. crp/providers/diagnostic.py +251 -0
  104. crp/providers/llamacpp.py +224 -0
  105. crp/providers/manager.py +139 -0
  106. crp/providers/ollama.py +243 -0
  107. crp/providers/openai.py +628 -0
  108. crp/providers/tokenizers.py +48 -0
  109. crp/py.typed +0 -0
  110. crp/resources/__init__.py +53 -0
  111. crp/resources/adaptive_allocator.py +525 -0
  112. crp/resources/cost_model.py +388 -0
  113. crp/resources/overhead_manager.py +217 -0
  114. crp/resources/resource_manager.py +262 -0
  115. crp/schemas/__init__.py +20 -0
  116. crp/schemas/cost-estimate.json +33 -0
  117. crp/schemas/crp-error.json +43 -0
  118. crp/schemas/envelope-preview.json +40 -0
  119. crp/schemas/persisted-state-header.json +27 -0
  120. crp/schemas/quality-report.json +94 -0
  121. crp/schemas/session-handle.json +33 -0
  122. crp/schemas/session-status.json +57 -0
  123. crp/schemas/stream-event.json +18 -0
  124. crp/schemas/task-intent.json +42 -0
  125. crp/security/__init__.py +93 -0
  126. crp/security/audit_trail.py +392 -0
  127. crp/security/binding.py +192 -0
  128. crp/security/compliance.py +813 -0
  129. crp/security/consent.py +593 -0
  130. crp/security/embedding_defense.py +161 -0
  131. crp/security/encryption.py +202 -0
  132. crp/security/injection.py +335 -0
  133. crp/security/integrity.py +267 -0
  134. crp/security/privacy.py +662 -0
  135. crp/security/quarantine.py +249 -0
  136. crp/security/rbac.py +221 -0
  137. crp/security/validation.py +164 -0
  138. crp/state/__init__.py +31 -0
  139. crp/state/cold_storage.py +258 -0
  140. crp/state/compaction.py +263 -0
  141. crp/state/critical_state.py +104 -0
  142. crp/state/event_log.py +313 -0
  143. crp/state/fact.py +189 -0
  144. crp/state/serialization.py +189 -0
  145. crp/state/session_cleanup.py +77 -0
  146. crp/state/snapshot.py +290 -0
  147. crp/state/warm_store.py +346 -0
  148. crprotocol-2.0.0.dist-info/METADATA +1295 -0
  149. crprotocol-2.0.0.dist-info/RECORD +153 -0
  150. crprotocol-2.0.0.dist-info/WHEEL +4 -0
  151. crprotocol-2.0.0.dist-info/entry_points.txt +2 -0
  152. crprotocol-2.0.0.dist-info/licenses/LICENSE.md +170 -0
  153. crprotocol-2.0.0.dist-info/licenses/NOTICE +18 -0
@@ -0,0 +1,153 @@
1
+ crp/__init__.py,sha256=9OJA-4CsDa78uDHgxmH1RlATzsa6YTFePLnzgwmZQB4,3576
2
+ crp/__main__.py,sha256=kwkhDlPD2ITszzoj5SFl7fTScZ6SmsERTAIaBiEcOK8,252
3
+ crp/_typing.py,sha256=7tD-bwVdI_Bqpb_Rdp-7YkLDs8GeZBrdIqGiVuvTfj0,1436
4
+ crp/_version.py,sha256=obMBCx8TUrfbLdAyDNMTQSMG4xIFSGBMX3gKnIjmii0,200
5
+ crp/adapters.py,sha256=1V6Nw7Z4ic54xHH6QlA1rKMgbNjA-P4g2BMKcOX8Pwc,760
6
+ crp/license_guard.py,sha256=fa-Dvm269RyQfTvVFfUM4j0EwU3wuG-4F9hjqsc8GwM,26608
7
+ crp/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
+ crp/advanced/__init__.py,sha256=k7k-uEBXZf-cFetCThjL3iQAhA1Mbhfo8LlHKM4RSgY,1898
9
+ crp/advanced/auto_ingest.py,sha256=FVLwpjSrKQSfn1-49TsQr8yCMaExBCIEbyHxzOOueaE,13611
10
+ crp/advanced/cqs.py,sha256=sikFsE52IsnWyTSxKUUPOL_gHnCzwNeUds-HY1nu7uk,8222
11
+ crp/advanced/cross_window.py,sha256=e68F6h1Kb1tYPwHUVPLGawIYPzE7Yp6fvJrxmNpQFoI,17838
12
+ crp/advanced/curator.py,sha256=zpTSprI9aClGbSNcrg5tmIx1J6TRoWhdUBAAgbo64gQ,9691
13
+ crp/advanced/feedback.py,sha256=FP4zp4eJd9OYxQelQP1jnQRVLOI1YvjUmEXthOpjXQM,4460
14
+ crp/advanced/hierarchical.py,sha256=IAI98aDn60bO4g2l81RnESTE2rlOasIw75VeOz-mFJ4,6961
15
+ crp/advanced/meta_learning.py,sha256=YCNYxx6qMbjTJwaB1zM6N1P04qh03tYYDf5UcCMlRWA,14231
16
+ crp/advanced/parallel.py,sha256=YPsx6qHgh9Ygdo2-QY18W7exhhV6vSUKLeZigkxVwX4,3275
17
+ crp/advanced/review_cycle.py,sha256=Xdk5djEr5Sbvy203S_NDuTjdhD_CqA_p05lZIMVbuNI,11004
18
+ crp/advanced/scale_mode.py,sha256=oafsVPzDYO0a8hnGh8gpnaJdrBc44kscVAqEpzZaF4Y,4024
19
+ crp/advanced/source_grounding.py,sha256=WqgnKdCR7qlIg0_1D2zrgHvci27zOPK2mLKlvCbN_Hw,7396
20
+ crp/ckf/__init__.py,sha256=fiiZfphqOCgIbzsgECr7uTq30SbM1a8dV3UhVjvoImM,1132
21
+ crp/ckf/community.py,sha256=afjd-tdGMpQj-ZFKI_QM9iIDF6FOwz7LlYeNxVXt-IY,12827
22
+ crp/ckf/fabric.py,sha256=BAOoMJKN7FzMXDINQzPzV6FYYuP7Rp22FgsNcRC4PnE,16855
23
+ crp/ckf/gc.py,sha256=Pt_cKtcS7bm0bZ6a-uR9O7dZQPUhnZqePNygnRaKcL8,6090
24
+ crp/ckf/graph_walk.py,sha256=ovSQWLjB59eZP8Hi6CEKM8ZnZJ5sg-T8fDazex6lJSs,2810
25
+ crp/ckf/merge.py,sha256=KhpZ7_0W0YVZaw2ZmTaEAlp7nk7z6EWQTSN62JzAc2Q,4457
26
+ crp/ckf/pattern_query.py,sha256=vbVuAbqmkFzdFxegxBfVTke1NFuJ0ncW8fR39aqazPo,4003
27
+ crp/ckf/pubsub.py,sha256=WanxtvMbes3L7XUYIVPfvWHqvqkEXrfJc11vgRskVQ4,4041
28
+ crp/ckf/semantic.py,sha256=njaG7FBB7_WnV2kgxu_Qe2PIY5R_m4NvBD564x6znTA,6824
29
+ crp/cli/__init__.py,sha256=Sv-g4rr1_pKjjpBp9C9L4XX74rVtB3hucpDIh-ArPA4,333
30
+ crp/cli/main.py,sha256=fBfeJctEWTX0la7KcEaCIYJdzXOHiPGiqx57LfIoR0w,14871
31
+ crp/cli/sidecar.py,sha256=vX7lDxSv6LULxv0xjifL9HBoUnf9f4kppvKI7iZ0cuw,39995
32
+ crp/cli/startup.py,sha256=G3tQETUWwB7576vqib71mghEivh_yc9VW3VcLne9B_Y,9249
33
+ crp/continuation/__init__.py,sha256=uqEOLqpMynicaQt_bzKVDsq_DK4tKzJJMqO7xz7f97c,2373
34
+ crp/continuation/completion.py,sha256=vEKouo6GeJLmBWHwpCr4BewQJfihObWw0HjI5w8daYM,13071
35
+ crp/continuation/degradation.py,sha256=RCra9VByBn2j6lrKC-1FfoOsaWzmB0yNHljD-l0t2AQ,4858
36
+ crp/continuation/document_map.py,sha256=E4fCbRfyy9cVlNhk1gWdwU9Dq3xN0KghLyzl3I6SpQY,6136
37
+ crp/continuation/flow.py,sha256=GswYGxBHurwP1elBODaXN3KJH9mCJKZI7FFWJMS7y0s,3584
38
+ crp/continuation/gap.py,sha256=gSOvLFTmob69avuhxfXbokUsv8Cd_0EYt9vKfU2KluA,15579
39
+ crp/continuation/manager.py,sha256=s7COSw5OrHmj3AcDmjzP6lI-B2JNMAw5EZiq50-qZUQ,19033
40
+ crp/continuation/quality_monitor.py,sha256=0yYvaQ22cCeqqPKsZ6nOF1Cr7_Z86jS5WNV6hAHY6iU,5862
41
+ crp/continuation/stitch.py,sha256=wHyQsZ_PulcK1qReKPkRV6MGCRUATnyiHMEpkE42CU4,14186
42
+ crp/continuation/trigger.py,sha256=eRwWuw6p7FdtSK_AWCRH8RCfT_MF04SCpxJ-g9k48N0,4749
43
+ crp/continuation/voice.py,sha256=t0WjQnRyKrHzn74Sv01r-q15-EZkEz9vI_bUBUdMhSQ,5857
44
+ crp/core/__init__.py,sha256=yw9UZfxTO5odHX5omsPAO7XUzCE_J9M3-tj4DLYE1U4,1689
45
+ crp/core/batch.py,sha256=AX9FNhXQ008hs8iwTDf7rk2Zrp4kXHJac6j1cD60ICc,2407
46
+ crp/core/circuit_breaker.py,sha256=BtPSmkHSe5sXLh2kQ28IwaA_HWRRe3vHkADaJb1hi0E,4638
47
+ crp/core/config.py,sha256=fLTDPcIZXUaPoQUecCZaejE_AU5ZWyT_v9XbM2WWg8I,13087
48
+ crp/core/context_tools.py,sha256=6wlB5iO5mqKm_JlkRcixkKpvViwIAaPAuHTflUy3XCQ,20473
49
+ crp/core/dispatch_router.py,sha256=unhEe14Zhg4_wA5UeFtvCi4Sd-ZwQMJbSm_k1KHdRiE,183699
50
+ crp/core/errors.py,sha256=Q7NLtsClKmL6WZ1IptPkSkbcRqHzfiU7wrH4RlifltI,4032
51
+ crp/core/extraction_facade.py,sha256=hg_4UptYZzewWYcq0T5weckyMVuIQ1UDll9i9SXJ12g,16079
52
+ crp/core/facilitator.py,sha256=Cc9zqQdOhy6O1eBATRJUblHfppZBtGzWwqWAU2lhKrE,30078
53
+ crp/core/idempotency.py,sha256=ayfXsRH9WJLS4Ljz-E6dB3xOG8mQHgtV3CrS9sOplNk,6516
54
+ crp/core/orchestrator.py,sha256=Ub8c7A6_zlTgHCdkZvJJvJSXpena-G4vqEyK7wyOjJ8,60671
55
+ crp/core/relay_strategies.py,sha256=AlKmVzTcl5YwwrX0dC4BGhoW5qW-_TqH5EyH8LjjLCk,24080
56
+ crp/core/security_manager.py,sha256=ayE_PEqoGKESCE8AljC3VSdg7Hq77mlajWdHVm6WHPQ,5838
57
+ crp/core/session.py,sha256=EdVfdB-x3n2TvpKVqasx1Qb3MGACFAkOr0JPxPl_-rg,3937
58
+ crp/core/task_intent.py,sha256=dhjXljNYfNpNLcYVC7-kr05xMemMnMXwtIT2N8Hnb08,1067
59
+ crp/core/window.py,sha256=pV5nMcJmEDb-8h6AvtxxrRsHOi9G7ciP--TbqffLOE8,15317
60
+ crp/envelope/__init__.py,sha256=UYehB5wVFsexWj8VBZ987jcIj81hrB3IXM7WNR384C4,997
61
+ crp/envelope/builder.py,sha256=685mx19KFVQoM-txg_euskoFmeG36Xs28CTaGTvpaDU,10725
62
+ crp/envelope/decomposer.py,sha256=Sdm5swUmb2JQKpwIWs0MKbbN5-CM01viaSkYsHNCx20,8794
63
+ crp/envelope/formatter.py,sha256=18pbj1GoUHEGn-2Y3hQc9F-M4-Iix-0j03u9VI-OWw0,5412
64
+ crp/envelope/packer.py,sha256=ZuMPlbVaXfDNr8823OOD9Hs599oEkynZjH76Y0begQw,7299
65
+ crp/envelope/reranker.py,sha256=Mzmj-wPKZqKex_UhpJoGdAZgNs9e3b5GRPUWEkqOruE,7270
66
+ crp/envelope/scoring.py,sha256=f5guoJEt3szHYDxo8SGq-bV-vZYZvN4I99rEsarf5rs,10863
67
+ crp/extraction/__init__.py,sha256=ABQ4kMDsa4hjpLjVR56hlEG3xaSxWLNH18hnc8Arep0,1261
68
+ crp/extraction/complexity.py,sha256=sfwzeTNDOkgnlbJGVe8KgiqhtZawy3bWlv1Ek13YQZA,3231
69
+ crp/extraction/contradiction.py,sha256=wb7au3ndZx7OjcWr868k9QXELhBtEXNXHE15pQWqNW8,4476
70
+ crp/extraction/pipeline.py,sha256=WrBbg1heDKLx97bb65ajXzyNGdpfNlzKXEEcd47ADuM,15594
71
+ crp/extraction/quality_gate.py,sha256=lE7wQVFwuAboU4KO6sQfhikSHhIKTxj32eCbsdF958U,8652
72
+ crp/extraction/stage1_regex.py,sha256=v3i9y_kZidePF18mjC-NyVDPzKS-cXz55K7lgUSIiB0,5127
73
+ crp/extraction/stage2_statistical.py,sha256=g-bxIlNgwk5jYLGP8R2W8rcGV763O9yU1vNgZby4_oQ,9097
74
+ crp/extraction/stage3_gliner.py,sha256=TlWe7OHLxyKhWH_ghfm83isGerznXNPj2ZCgK1c6--g,7746
75
+ crp/extraction/stage4_uie.py,sha256=taOnCrDxKszAokCDIaYVcanBjhav8nV-PEgAraIINrA,6413
76
+ crp/extraction/stage5_discourse.py,sha256=efRKJRNhELu3ay-7DPGJE1YKfp__QGKcNrSQUQSE894,6407
77
+ crp/extraction/stage6_llm.py,sha256=TMMFtoeI757qc7hBo-vJsfHhYz3CPEBhmsJHvmliy20,5982
78
+ crp/extraction/structured_output.py,sha256=OGgfT2I-BwpYQ-az1pIYgoRhLeQLnNcF-Q5na9bd9WU,7380
79
+ crp/extraction/types.py,sha256=-zUKYjFX369e29JIG8ewkCtEy04WEbaQ01uHmotGi5U,10538
80
+ crp/observability/__init__.py,sha256=EYnZSVDeYx_9hq5VirH5WMc7C8TkUOFEuZwjrZKOyHg,896
81
+ crp/observability/audit.py,sha256=uREz4hdeneX8przpsnL5lWSuCsqRu6erw9hLb14JqpE,4211
82
+ crp/observability/events.py,sha256=tr2KAzAVIkkygP26hSI885lZfeeYs74bHHinRJ95wjM,7720
83
+ crp/observability/metrics.py,sha256=I3cN9ycJ1dHD8iNrYSW81vf5FybH1n1dStXbDDMVpTM,9954
84
+ crp/observability/quality.py,sha256=WB2e3nicaE-X9wcG3T0YrlIC-I8LrjbQxjoI_WNIGpM,4202
85
+ crp/observability/structured_logging.py,sha256=FyuOxKxjQXJQlm_yJC45AXrLszMp06oer5mRlQcDb7s,2507
86
+ crp/observability/telemetry.py,sha256=TbmU0Rer6f3DcRiauxJHQXM7DcwDWTs63RoPndCCOT0,3517
87
+ crp/provenance/__init__.py,sha256=PJfCq2vjEwM28IgEVfr8L1YPV2kosRchiyan4lhTQkM,11109
88
+ crp/provenance/_embeddings.py,sha256=NmcykHd-ZRPwfim_X-MWs7smr9idJmkUJJIvsUGS76g,3050
89
+ crp/provenance/_types.py,sha256=CudWopyGJytgY0_WkPxT5BGOmHqkjAgqcIkNsNRQi-M,13723
90
+ crp/provenance/attribution_scorer.py,sha256=uPWL1_0dSdnu5OKT4qPsPjuxFsA0d7mBYqQFKCir8zA,8969
91
+ crp/provenance/claim_detector.py,sha256=Amh1rp3M5yZ4AzurrpAqSDEC3NiGoW-bWDwtYc1Q_P8,7721
92
+ crp/provenance/contradiction_detector.py,sha256=UJrjknKCA7xCARuBgIgUhBzeEYt5remU0LCToYhw6_A,8370
93
+ crp/provenance/distortion_detector.py,sha256=768x7BP997G1OG3UGBa6ifhI7kITE9lPRM7Mg6I1nnY,16279
94
+ crp/provenance/entailment_verifier.py,sha256=AlVCRyBSPmBySZaOsb0k6DpOZYHkHYaqRn9Gbz25QCY,12771
95
+ crp/provenance/fabrication_detector.py,sha256=aFNUcimwpulAibQ8Zj527M_jqi_L-AOQB6fVfmVBbBg,7811
96
+ crp/provenance/hallucination_scorer.py,sha256=jm0ne7ubmYYA_DDb8AvJ1eyX6JAnVQa-P0YCryKEfBQ,12457
97
+ crp/provenance/omission_analyzer.py,sha256=RHVNV54C_9T0XeCZsg09cBI9yDDBE1pplg4wrk9FmXo,3637
98
+ crp/provenance/provenance_chain.py,sha256=FdoRClXYac23gZz5NmaRH_O0BKJd7iIqL91spbWH1DU,7036
99
+ crp/provenance/report_generator.py,sha256=fyBUQ4wbFhRwgNlaiJ7qMbEpZmD5sfb1JAra5nIujRM,18349
100
+ crp/providers/__init__.py,sha256=UDo3eBOBD9jwfiXRFjW7iLo2o9FDVGbZkLGUUhsaGv0,1292
101
+ crp/providers/anthropic.py,sha256=rrw-e-M6naRhS-zxBJaQWvguV-NKIIslUa1PWFToUHw,9332
102
+ crp/providers/base.py,sha256=rumI_ZVY7_LMcnRsxaY9o4wiMYF0YY_Px_NxmqqZCrM,4996
103
+ crp/providers/custom.py,sha256=KAdh5FiJ6Yvc32fZRqOyZOfySq-O0rzhyQcmUGhM8Ug,1739
104
+ crp/providers/diagnostic.py,sha256=Fvp66EFg_xHV814x7PESMyRBSoGn4f5bRQZoHpqcJrk,9879
105
+ crp/providers/llamacpp.py,sha256=PlmQ5hu8Jx7Sn4mJ5OFDkQyuLm6ZkPZ96GK9OyC9b-g,8084
106
+ crp/providers/manager.py,sha256=8-6nZGz47GAxU-6gOn0DgvgsmuKS2Khc4YUrp4rxTWA,5032
107
+ crp/providers/ollama.py,sha256=9ggm5EJs7FQD0tzLFFUi7d-7GbBStFbHVEnJMsgVHAc,8011
108
+ crp/providers/openai.py,sha256=R2YbyywXPghrSoIwm0pPA_HKs2Gv79MOMMR5LPYehag,24613
109
+ crp/providers/tokenizers.py,sha256=mVEbGhXJNdsBXoRv0YUJ66ZT4qNqFaHA8EnCWZy9-1Y,1753
110
+ crp/resources/__init__.py,sha256=Pv3XIAMQ3T3lwYBwQ4MjpQDappK-0AskTVPw6ajpQfk,1269
111
+ crp/resources/adaptive_allocator.py,sha256=UERE5oeUiCuVfqkoTYlKeOo6qzGapu1F4YpQrqEzu2M,21609
112
+ crp/resources/cost_model.py,sha256=Zbh73vjv_iiU-KSJQUIx6v6srqXfcadIoVPm3yduaYw,12165
113
+ crp/resources/overhead_manager.py,sha256=B4GxeOLTw-EdAoDQzN4TwT29N7Zc_pZd0mj2w2a9SMU,8668
114
+ crp/resources/resource_manager.py,sha256=kxNrYLgOf9auaLMTWv18Fz_wWKznt476KpWrEKja1Hs,9192
115
+ crp/schemas/__init__.py,sha256=MmDNL3XkVfUFM-tlfka5o_ESxaufY0Pycp11O9N9B8w,633
116
+ crp/schemas/cost-estimate.json,sha256=fS1jxjXgKseCzZHkRYUkQyBcatgAq8dwmYklND5wp4Y,1166
117
+ crp/schemas/crp-error.json,sha256=SfXWrkZM1qBR-Wx7mC9imXZlXtqseX5MLaOKw70Eouw,2271
118
+ crp/schemas/envelope-preview.json,sha256=I2RNkO_swErT09wYQ_r0eynfRbeu_nzc_4aAaXQu8AA,1249
119
+ crp/schemas/persisted-state-header.json,sha256=y49r8a-Yq0Su7lYCSD9N2Qg445RgJ2lZwF3-XLlxY5M,1076
120
+ crp/schemas/quality-report.json,sha256=kA_xqx1DR7qPCl_w9jEp8TyoIk2dpurrX8uGdSmjR5c,3375
121
+ crp/schemas/session-handle.json,sha256=6AjeNiGRf89wOf4aiFwuvvq9ZZcGUKidOzFkmGAZBxE,1122
122
+ crp/schemas/session-status.json,sha256=fHsE_m9gn_72GM2Yg5F3z_z271BI1vAV4YPha75oUW0,1992
123
+ crp/schemas/stream-event.json,sha256=1DfZMUdh-o_TZHEpESmC1m-8KUq76CUurLXC5kBslkI,895
124
+ crp/schemas/task-intent.json,sha256=h7Jf578-T98VkKIMudTa7G7zH3c2Q-pcRUH9zMRYLWw,1531
125
+ crp/security/__init__.py,sha256=c5Fc2uOptddG8-ngFJ3pIJ3cM4DVvLFN4RasDd7sNY8,2959
126
+ crp/security/audit_trail.py,sha256=6quMczSp4JjeaKD0wW3qHeEX3xT_7EgzNNUi6-Gpr5U,14262
127
+ crp/security/binding.py,sha256=8O2rHj50jYyQx_5D0xV8vhhLt1igq3wYBbSZ0dvFT3E,7104
128
+ crp/security/compliance.py,sha256=BWfz42HxnkLUleudd1j1i5Sp4oQFIbqyeICtK0lwP8k,33654
129
+ crp/security/consent.py,sha256=gxv5Wy8uIYtdzfRLZZaRG0XoTY3n6v2XnW92m_6ojVg,20439
130
+ crp/security/embedding_defense.py,sha256=c0ptPcfkQ4ipt0xGlsNWEpg_EqLsk6-1ffEL2jA6X78,5343
131
+ crp/security/encryption.py,sha256=a0Fbeu1nMp7wQ5BQbHLKIDk-smyEkjvQ_dkFUzMlAXc,7239
132
+ crp/security/injection.py,sha256=gASJFAxCpx_woXZWIx8GMJ7aq-qtqhUjXheb9F_8gpE,12554
133
+ crp/security/integrity.py,sha256=9RH4QO2Fj9s1TvRm2_JYRaVi3KhOQ8TNli035v43AKs,9449
134
+ crp/security/privacy.py,sha256=tKuifj_YM4z1XaFWuEw8cNudrSDqkifrGa4ytt7OMqw,21816
135
+ crp/security/quarantine.py,sha256=XulkKGyyHgdzgdFWh7cSwh2kqrAhHGaUDJtCFmjMuNo,9033
136
+ crp/security/rbac.py,sha256=o4Vf65Aon5Csvq5mj1W6Dlc2LpsThXQs34AcdIdW_nY,7399
137
+ crp/security/validation.py,sha256=a8S_cn2j2TaWHppOBWINmciewv1bYlgZqxn0xMy8CxY,5230
138
+ crp/state/__init__.py,sha256=aDa-ZrlSdidt6UVYGmovb8f2ELsYUee_TDyW6mqztlE,1089
139
+ crp/state/cold_storage.py,sha256=LmFRHb6vPKNvnUR94F7ncJIHCOx1Kjq_ELRj7JLJ4XU,9020
140
+ crp/state/compaction.py,sha256=2Nd0OvrqSPqPlVUrS0nBFuAsIm_yYJ2O0oPKsyx-LSY,8522
141
+ crp/state/critical_state.py,sha256=vK89_i3z69XcgaDVwQAqbyiv82T9tolEUaYgF1ALK5s,3665
142
+ crp/state/event_log.py,sha256=x7a429_CBCazXpr3UhDEQ10Gg_HDm3daLH8lKSe4DJo,11593
143
+ crp/state/fact.py,sha256=x32dOyCuSEVrezJHskgQ-AwN0GmxvTIKYOrJxPJpcxU,6655
144
+ crp/state/serialization.py,sha256=di2ymRK4yYusTSK3nMHfflF2Dr3GEQfCrieGrX22Q8w,7037
145
+ crp/state/session_cleanup.py,sha256=K6HZhatxICXIwMEJ2HEhyoVxD_op6H7n0dvCae_xwjQ,2584
146
+ crp/state/snapshot.py,sha256=oV55Fmk9dSAoFP-t9DK0beVasnsJTAh4bHIkwnIu_9s,10948
147
+ crp/state/warm_store.py,sha256=6SQWv0DLDGeIB43IqFloOzTKghJsLM_RR9tf-oAeds4,13829
148
+ crprotocol-2.0.0.dist-info/METADATA,sha256=5fmg2C5PPq3PeFmDtu20j1HVXI1xpCtmBCJ_nj53_uQ,62452
149
+ crprotocol-2.0.0.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
150
+ crprotocol-2.0.0.dist-info/entry_points.txt,sha256=o_gDcU8shkdyt2L045kIRRjCt0nI3aHpoaTBSlRJBKk,41
151
+ crprotocol-2.0.0.dist-info/licenses/LICENSE.md,sha256=rE7mx0V-iwVNto5_cOGUsdbAVjdItVlpxojIIg75yXM,6679
152
+ crprotocol-2.0.0.dist-info/licenses/NOTICE,sha256=5sSdvZ3M7BybhiwbZ-aYKYT3k8aig0TcP4Q7pQ9OCGE,583
153
+ crprotocol-2.0.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.29.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ crp = crp.cli.main:cli
@@ -0,0 +1,170 @@
1
+ # Licensing
2
+
3
+ Copyright © 2026 Constantinos Vidiniotis. All rights reserved.
4
+
5
+ ---
6
+
7
+ ## Protocol Specification Documents
8
+
9
+ The CRP protocol specification documents (all `.md` files in the `specification/`
10
+ directory, `README.md`, and all files in the `examples/`, `rfcs/`, and `schemas/`
11
+ directories) are licensed under the **Creative Commons Attribution-ShareAlike 4.0
12
+ International License (CC BY-SA 4.0)**.
13
+
14
+ You are free to:
15
+
16
+ - **Share** — copy and redistribute the material in any medium or format
17
+ - **Adapt** — remix, transform, and build upon the material for any purpose,
18
+ including commercial
19
+
20
+ Under the following terms:
21
+
22
+ - **Attribution** — You must give appropriate credit to Constantinos Vidiniotis
23
+ as the original author, provide a link to the license, and indicate if changes
24
+ were made. You may do so in any reasonable manner, but not in any way that
25
+ suggests the licensor endorses you or your use.
26
+ - **ShareAlike** — If you remix, transform, or build upon the material, you must
27
+ distribute your contributions under the same license as the original.
28
+
29
+ Full license text: https://creativecommons.org/licenses/by-sa/4.0/legalcode
30
+
31
+ ---
32
+
33
+ ## SDK Implementation Code
34
+
35
+ All implementation code (Python, TypeScript, Rust, and any other programming
36
+ language source files) present in this repository or in official CRP SDK
37
+ repositories is licensed under the **Elastic License 2.0 (ELv2)**.
38
+
39
+ **Licensor**: Constantinos Vidiniotis / AutoCyber AI Pty Ltd
40
+
41
+ ### What This Means
42
+
43
+ - **You CAN** use, copy, distribute, and modify the code for any purpose —
44
+ including production use in your own applications.
45
+ - **You CANNOT** provide the software to third parties as a hosted or managed
46
+ service where users get access to CRP's features or functionality.
47
+ - **You CANNOT** remove, alter, or obscure licensing or copyright notices.
48
+ - **You CANNOT** circumvent or remove license key functionality.
49
+
50
+ ### Examples
51
+
52
+ | Use Case | Allowed? |
53
+ |----------|----------|
54
+ | Build an app that uses CRP internally | Yes |
55
+ | Deploy CRP in your company's infrastructure | Yes |
56
+ | Study, fork, and modify the code | Yes |
57
+ | Use for research, education, personal projects | Yes |
58
+ | Sell a product that uses CRP as a component | Yes |
59
+ | Offer "CRP-as-a-Service" to third parties | **No** — requires Enterprise license |
60
+ | Resell CRP features as a managed platform | **No** — requires Enterprise license |
61
+
62
+ ### Enterprise & White-Label Licensing
63
+
64
+ For managed-service rights, OEM embedding, or white-label use,
65
+ commercial licenses are available through:
66
+
67
+ **AutoCyber AI Pty Ltd**
68
+ ABN: 22 697 087 166
69
+ Website: https://crprotocol.io
70
+ Email: contact@crprotocol.io
71
+
72
+ **Licensor**: Constantinos Vidiniotis
73
+ GitHub: https://github.com/Constantinos-uni
74
+ Repository: https://github.com/Constantinos-uni/context-relay-protocol
75
+
76
+ ---
77
+
78
+ ## Elastic License 2.0
79
+
80
+ URL: https://www.elastic.co/licensing/elastic-license
81
+
82
+ ### Acceptance
83
+
84
+ By using the software, you agree to all of the terms and conditions below.
85
+
86
+ ### Copyright License
87
+
88
+ The licensor grants you a non-exclusive, royalty-free, worldwide,
89
+ non-sublicensable, non-transferable license to use, copy, distribute, make
90
+ available, and prepare derivative works of the software, in each case subject to
91
+ the limitations and conditions below.
92
+
93
+ ### Limitations
94
+
95
+ You may not provide the software to third parties as a hosted or managed
96
+ service, where the service provides users with access to any substantial set of
97
+ the features or functionality of the software.
98
+
99
+ You may not move, change, disable, or circumvent the license key functionality
100
+ in the software, and you may not remove or obscure any functionality in the
101
+ software that is protected by the license key.
102
+
103
+ You may not alter, remove, or obscure any licensing, copyright, or other notices
104
+ of the licensor in the software. Any use of the licensor's trademarks is subject
105
+ to applicable law.
106
+
107
+ ### Patents
108
+
109
+ The licensor grants you a license, under any patent claims the licensor can
110
+ license, or becomes able to license, to make, have made, use, sell, offer for
111
+ sale, import and have imported the software, in each case subject to the
112
+ limitations and conditions in this license. This license does not cover any
113
+ patent claims that you cause to be infringed by modifications or additions to
114
+ the software. If you or your company make any written claim that the software
115
+ infringes or contributes to infringement of any patent, your patent license for
116
+ the software granted under these terms ends immediately. If your company makes
117
+ such a claim, your patent license ends immediately for work on behalf of your
118
+ company.
119
+
120
+ ### Notices
121
+
122
+ You must ensure that anyone who gets a copy of any part of the software from you
123
+ also gets a copy of these terms.
124
+
125
+ If you modify the software, you must include in any modified copies of the
126
+ software prominent notices stating that you have modified the software.
127
+
128
+ ### No Other Rights
129
+
130
+ These terms do not imply any licenses other than those expressly granted in
131
+ these terms.
132
+
133
+ ### Termination
134
+
135
+ If you use the software in violation of these terms, such use is not licensed,
136
+ and your licenses will automatically terminate. If the licensor provides you
137
+ with a notice of your violation, and you cease all violation of this license no
138
+ later than 30 days after you receive that notice, your licenses will be
139
+ reinstated retroactively. However, if you violate these terms after such
140
+ reinstatement, any additional violation of these terms will cause your licenses
141
+ to terminate automatically and permanently.
142
+
143
+ ### No Liability
144
+
145
+ As far as the law allows, the software comes as is, without any warranty or
146
+ condition, and the licensor will not be liable to you for any damages arising
147
+ out of these terms or the use or nature of the software, under any kind of
148
+ legal claim.
149
+
150
+ ### Definitions
151
+
152
+ The **licensor** is the entity offering these terms, and the **software** is the
153
+ software the licensor makes available under these terms, including any portion
154
+ of it.
155
+
156
+ **you** refers to the individual or entity agreeing to these terms.
157
+
158
+ **your company** is any legal entity, sole proprietorship, or other kind of
159
+ organization that you work for, plus all organizations that have control over,
160
+ are under the control of, or are under common control with that organization.
161
+ **control** means ownership of substantially all the assets of an entity, or the
162
+ power to direct its management and policies by vote, contract, or otherwise.
163
+ Control can be direct or indirect.
164
+
165
+ **your licenses** are all the licenses granted to you for the software under
166
+ these terms.
167
+
168
+ **use** means anything you do with the software requiring one of your licenses.
169
+
170
+ **trademark** means trademarks, service marks, and similar rights.
@@ -0,0 +1,18 @@
1
+ Context Relay Protocol (CRP)
2
+ Copyright © 2026 Constantinos Vidiniotis. All rights reserved.
3
+
4
+ This product is the original work of Constantinos Vidiniotis.
5
+
6
+ LICENSING
7
+ =========
8
+ - Protocol specification documents: CC BY-SA 4.0
9
+ - SDK implementation code: Elastic License 2.0 (ELv2)
10
+ See LICENSE.md for terms, including the managed-service exclusion.
11
+
12
+ See LICENSE.md for full terms.
13
+
14
+ COMMERCIAL LICENSING
15
+ ====================
16
+ For production use licensing inquiries:
17
+ GitHub: https://github.com/Constantinos-uni
18
+ Repository: https://github.com/Constantinos-uni/context-relay-protocol