neotoma 0.23.1 → 0.24.0

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 (360) hide show
  1. package/README.md +2 -2
  2. package/dist/actions.d.ts +120 -7
  3. package/dist/actions.d.ts.map +1 -1
  4. package/dist/actions.js +1390 -143
  5. package/dist/actions.js.map +1 -1
  6. package/dist/cli/agents_grants_import.d.ts.map +1 -1
  7. package/dist/cli/agents_grants_import.js +7 -1
  8. package/dist/cli/agents_grants_import.js.map +1 -1
  9. package/dist/cli/index.d.ts +18 -0
  10. package/dist/cli/index.d.ts.map +1 -1
  11. package/dist/cli/index.js +185 -17
  12. package/dist/cli/index.js.map +1 -1
  13. package/dist/cli/mcp_config_scan.d.ts +49 -0
  14. package/dist/cli/mcp_config_scan.d.ts.map +1 -1
  15. package/dist/cli/mcp_config_scan.js +242 -19
  16. package/dist/cli/mcp_config_scan.js.map +1 -1
  17. package/dist/crypto/agent_identity.d.ts +54 -7
  18. package/dist/crypto/agent_identity.d.ts.map +1 -1
  19. package/dist/crypto/agent_identity.js +14 -2
  20. package/dist/crypto/agent_identity.js.map +1 -1
  21. package/dist/docs/architecture/architectural_decisions.md +1 -1
  22. package/dist/docs/developer/cli_agent_instructions.md +56 -0
  23. package/dist/docs/developer/cli_reference.md +23 -3
  24. package/dist/docs/developer/mcp/instructions.md +51 -2
  25. package/dist/docs/developer/mcp/proxy.md +3 -1
  26. package/dist/docs/developer/observation_architecture_documentation_integration.md +1 -1
  27. package/dist/docs/developer/tunnels.md +15 -0
  28. package/dist/docs/foundation/scope_decisions.md +25 -7
  29. package/dist/docs/icp/icp_from_functionality.md +8 -4
  30. package/dist/docs/icp/icp_reconciliation.md +34 -3
  31. package/dist/docs/operations/configuration.md +31 -4
  32. package/dist/docs/operations/deployment.md +2 -0
  33. package/dist/docs/reference/error_codes.md +46 -2
  34. package/dist/docs/security/threat_model.md +19 -1
  35. package/dist/docs/specs/MCP_SPEC.md +5 -10
  36. package/dist/docs/specs/ONBOARDING_SPEC.md +28 -4
  37. package/dist/docs/subsystems/aauth.md +1 -1
  38. package/dist/docs/subsystems/aauth_attestation.md +11 -5
  39. package/dist/docs/subsystems/agent_attribution_integration.md +8 -4
  40. package/dist/docs/subsystems/agent_capabilities.md +139 -15
  41. package/dist/docs/subsystems/auth.md +64 -0
  42. package/dist/docs/subsystems/errors.md +10 -0
  43. package/dist/docs/subsystems/relationships.md +47 -13
  44. package/dist/docs/testing/automated_test_catalog.md +69 -16
  45. package/dist/docs/vocabulary/canonical_terms.md +1 -1
  46. package/dist/inspector/assets/{access_policies-SizWwSjn.js → access_policies-B1HM9aJQ.js} +1 -1
  47. package/dist/inspector/assets/agent_badge-XmciduFJ.js +1 -0
  48. package/dist/inspector/assets/agent_detail-DOEe2mhV.js +1 -0
  49. package/dist/inspector/assets/{agent_filter-BAONVePH.js → agent_filter-Dio0XybG.js} +1 -1
  50. package/dist/inspector/assets/{agent_grant_detail-UxL02Gdg.js → agent_grant_detail-BfUFnclY.js} +1 -1
  51. package/dist/inspector/assets/agent_grant_form-DoLjngLK.js +1 -0
  52. package/dist/inspector/assets/{agent_grants-B_h0fn0F.js → agent_grants-DZaHIPk8.js} +1 -1
  53. package/dist/inspector/assets/{agents-DIH5cs7p.js → agents-B-f-NRE2.js} +1 -1
  54. package/dist/inspector/assets/{api_not_configured_state-zajjLcVz.js → api_not_configured_state-Ou-G3uKz.js} +1 -1
  55. package/dist/inspector/assets/{attribution_card-DdyUbizz.js → attribution_card-CIkjiijF.js} +1 -1
  56. package/dist/inspector/assets/{attribution_summary-IHhspwd0.js → attribution_summary-0ckzYad9.js} +1 -1
  57. package/dist/inspector/assets/{bundles-DN7cQAQe.js → bundles-Burq1ci7.js} +1 -1
  58. package/dist/inspector/assets/{card-DfiBnyJz.js → card-CTv_O7eJ.js} +1 -1
  59. package/dist/inspector/assets/{checkbox-Dhb2Rqtd.js → checkbox--jk4IAjc.js} +1 -1
  60. package/dist/inspector/assets/{compliance-Bf_6GcUj.js → compliance-B3vrfBCU.js} +1 -1
  61. package/dist/inspector/assets/{confirm-dialog-Bw3EJsrJ.js → confirm-dialog-DgDSsLkR.js} +1 -1
  62. package/dist/inspector/assets/{conversation_common-CFRyZ7p2.js → conversation_common-BAdG50H9.js} +1 -1
  63. package/dist/inspector/assets/{conversation_detail-Bg19Nxid.js → conversation_detail-DIUc4HKE.js} +1 -1
  64. package/dist/inspector/assets/{copy_id_button-CnakyAUV.js → copy_id_button-D1VkPBFT.js} +1 -1
  65. package/dist/inspector/assets/{copyable_code_block-Cf7BV5XI.js → copyable_code_block-ChPCJ02V.js} +1 -1
  66. package/dist/inspector/assets/{corrections-DLiH5564.js → corrections-ChJ2p7_i.js} +1 -1
  67. package/dist/inspector/assets/{dashboard-CLnmOktO.js → dashboard-DIYNcYg6.js} +1 -1
  68. package/dist/inspector/assets/{data-table-DSAodRMR.js → data-table-C4VXfuGY.js} +1 -1
  69. package/dist/inspector/assets/{design-BAz4q7Iq.js → design-DXOwL75T.js} +2 -2
  70. package/dist/inspector/assets/{dialog-BsZ5EdEE.js → dialog-CXVzcRia.js} +1 -1
  71. package/dist/inspector/assets/{docs-lZtdsNZN.js → docs-B26tYp-6.js} +1 -1
  72. package/dist/inspector/assets/{docs_page_layout-BTLx30w6.js → docs_page_layout-CrM6Un_f.js} +1 -1
  73. package/dist/inspector/assets/{embed_graph-Cqu_rKJi.js → embed_graph-C2Jc2iwk.js} +1 -1
  74. package/dist/inspector/assets/{empty_state-D4eAv7uQ.js → empty_state-d5guw2_7.js} +1 -1
  75. package/dist/inspector/assets/{entities-DJ9KuPrY.js → entities-BrnaqwF9.js} +1 -1
  76. package/dist/inspector/assets/{entity_correct-CjMlwcWd.js → entity_correct-DnD1oYUl.js} +1 -1
  77. package/dist/inspector/assets/{entity_history-aDxms2rn.js → entity_history-PFlm7n3S.js} +1 -1
  78. package/dist/inspector/assets/{entity_history_sections-B58KGFzd.js → entity_history_sections-C5gKEqH8.js} +1 -1
  79. package/dist/inspector/assets/{entity_link-BlqV2ig2.js → entity_link-BlAO6pqg.js} +1 -1
  80. package/dist/inspector/assets/{entity_relationships_by_type-BnCbbao4.js → entity_relationships_by_type-DzLwN95P.js} +1 -1
  81. package/dist/inspector/assets/{entity_segment_page-CbQjUSLk.js → entity_segment_page-CGm6UKGn.js} +1 -1
  82. package/dist/inspector/assets/{entity_table_column_toggle-DEr55C5I.js → entity_table_column_toggle-CotVPBog.js} +1 -1
  83. package/dist/inspector/assets/{entity_timeline-CT95_E8j.js → entity_timeline-DYqizEmo.js} +1 -1
  84. package/dist/inspector/assets/{entity_types-BOD6hz75.js → entity_types-CntHwuK5.js} +1 -1
  85. package/dist/inspector/assets/{faq-CmTO_NOt.js → faq-_NXFNTgM.js} +1 -1
  86. package/dist/inspector/assets/{graph_auto_fit-DG06bEkf.js → graph_auto_fit-BeH9MOss.js} +1 -1
  87. package/dist/inspector/assets/{graph_explorer-dhssxyh6.js → graph_explorer-CxWZohQv.js} +1 -1
  88. package/dist/inspector/assets/{home-C1-SpHes.js → home-DudMw6_Z.js} +1 -1
  89. package/dist/inspector/assets/{index-D7WGgcjs.js → index-BMURChxZ.js} +18 -18
  90. package/dist/inspector/assets/{index-DaLi8rY1.js → index-DDgXel2r.js} +1 -1
  91. package/dist/inspector/assets/{index-BwcgXq7C.js → index-VT5Dxs36.js} +1 -1
  92. package/dist/inspector/assets/interpretations-CJF4giZE.js +1 -0
  93. package/dist/inspector/assets/{interpretations-BOTRs9zO.js → interpretations-xJnQ-uYX.js} +1 -1
  94. package/dist/inspector/assets/{issue_author_attribution-DUDerjDR.js → issue_author_attribution-DOn6PLKU.js} +1 -1
  95. package/dist/inspector/assets/{issue_detail-B-1sOpD9.js → issue_detail-DztHpggK.js} +1 -1
  96. package/dist/inspector/assets/{issues-B2mxuRox.js → issues-BkgvGReD.js} +1 -1
  97. package/dist/inspector/assets/{json_viewer-CvBI_AVO.js → json_viewer-xKCfoCA1.js} +1 -1
  98. package/dist/inspector/assets/{label-B_MDF1Qm.js → label-DDkYZSlU.js} +1 -1
  99. package/dist/inspector/assets/{live_relative_time-Cod2SFqP.js → live_relative_time-D-U5_U5-.js} +1 -1
  100. package/dist/inspector/assets/{mobile_filter_popover-D-AfmJEd.js → mobile_filter_popover-DQNcOXkp.js} +1 -1
  101. package/dist/inspector/assets/{not_found-W1xm1Bpn.js → not_found-D6QKUWRM.js} +1 -1
  102. package/dist/inspector/assets/{oauth_callback--oUBxVdh.js → oauth_callback-BVxx0KXw.js} +1 -1
  103. package/dist/inspector/assets/{oauth_signin-CbkMUE89.js → oauth_signin-DI4E46_1.js} +1 -1
  104. package/dist/inspector/assets/{observations-CPsDsA62.js → observations-C1wQYMZV.js} +1 -1
  105. package/dist/inspector/assets/{page_shell-DE3y5lgp.js → page_shell-EP5xmaGY.js} +1 -1
  106. package/dist/inspector/assets/{pagination-CHnUCq28.js → pagination-B_G7Mbyi.js} +1 -1
  107. package/dist/inspector/assets/{peer_detail-B704bYU_.js → peer_detail-BC-DSDif.js} +1 -1
  108. package/dist/inspector/assets/{peers-l__mD88k.js → peers-fVyfV57y.js} +1 -1
  109. package/dist/inspector/assets/{pin_primitive_button-wyB6QUdt.js → pin_primitive_button-_TIZX9AI.js} +1 -1
  110. package/dist/inspector/assets/{recent_activity-CDsDl96P.js → recent_activity-CFv4LsTR.js} +1 -1
  111. package/dist/inspector/assets/{recent_conversations-VL5wKo8t.js → recent_conversations-Cac7CkDg.js} +1 -1
  112. package/dist/inspector/assets/{recent_conversations-AljoEjIJ.js → recent_conversations-DU1XrX7M.js} +1 -1
  113. package/dist/inspector/assets/{recent_records_feed-StdxJqbO.js → recent_records_feed-BFJzHH4J.js} +1 -1
  114. package/dist/inspector/assets/record_activity-Bcv9OocC.js +1 -0
  115. package/dist/inspector/assets/{relationship_detail-BRwUMgL4.js → relationship_detail-Cc9dVYco.js} +1 -1
  116. package/dist/inspector/assets/{relationship_panel_groups-Yc8ecUfZ.js → relationship_panel_groups-Bknw8oKA.js} +1 -1
  117. package/dist/inspector/assets/relationships-CJ7GneMs.js +1 -0
  118. package/dist/inspector/assets/relationships-DoCpO8F8.js +1 -0
  119. package/dist/inspector/assets/{sandbox-CyKCUqMo.js → sandbox-BrYkvSj5.js} +1 -1
  120. package/dist/inspector/assets/{schema_detail-B-OSbQxD.js → schema_detail-CdX2n82a.js} +1 -1
  121. package/dist/inspector/assets/{schemas-BH5NPYiv.js → schemas-CR6vDZ-d.js} +1 -1
  122. package/dist/inspector/assets/{search-8_d9cddJ.js → search-uJmTOqpx.js} +1 -1
  123. package/dist/inspector/assets/{segmented_control-Dbs8GQ7U.js → segmented_control-Dgdqohml.js} +1 -1
  124. package/dist/inspector/assets/{select-Ca8Vi4-P.js → select-BCmhrYiM.js} +1 -1
  125. package/dist/inspector/assets/settings-DRbR3maP.js +1 -0
  126. package/dist/inspector/assets/{source_content-DOlpoUVc.js → source_content-BuBSyT72.js} +1 -1
  127. package/dist/inspector/assets/{source_content_open_button-BtFZ3Gu9.js → source_content_open_button-DAYwX9Dh.js} +1 -1
  128. package/dist/inspector/assets/{source_detail-8Dz_iJtK.js → source_detail-DhEV5aJv.js} +1 -1
  129. package/dist/inspector/assets/{source_link-CGGiFzQc.js → source_link-CE1kUYaL.js} +1 -1
  130. package/dist/inspector/assets/{sources-B29h_Vtk.js → sources-LZmXkGnn.js} +1 -1
  131. package/dist/inspector/assets/{subscriptions-DuZVEAlj.js → subscriptions-b_DO87jI.js} +1 -1
  132. package/dist/inspector/assets/{switch-D472BSa5.js → switch-B6x__4FK.js} +1 -1
  133. package/dist/inspector/assets/{tabs-CNCi1aCG.js → tabs-Bi6BUJqc.js} +1 -1
  134. package/dist/inspector/assets/{textarea-DsTTUsEK.js → textarea-3QlsHqkf.js} +1 -1
  135. package/dist/inspector/assets/{timeline-CAZLGn0X.js → timeline-BoE9ZRrA.js} +1 -1
  136. package/dist/inspector/assets/{timeline-Dnlu40yX.js → timeline-a2L8UjV_.js} +1 -1
  137. package/dist/inspector/assets/{timeline_event_detail-C7preATf.js → timeline_event_detail-D8eTp4i6.js} +1 -1
  138. package/dist/inspector/assets/{turn_detail-DLzSm996.js → turn_detail-B2uAxNHK.js} +1 -1
  139. package/dist/inspector/assets/{turns-BAMqn17p.js → turns-BpYk8UFz.js} +1 -1
  140. package/dist/inspector/assets/{use_agents-c0bZzrii.js → use_agents-Bt3UqR6w.js} +1 -1
  141. package/dist/inspector/assets/{use_entities-x5BPBdKo.js → use_entities-wuMfztjo.js} +1 -1
  142. package/dist/inspector/assets/use_interpretations-L8TsWYxH.js +1 -0
  143. package/dist/inspector/assets/{use_mutations-C284FI3l.js → use_mutations-BhRvMBFs.js} +1 -1
  144. package/dist/inspector/assets/{use_peers-DXFhfeuf.js → use_peers-CD_9h7zQ.js} +1 -1
  145. package/dist/inspector/assets/use_relationships-CjsGAwR8.js +1 -0
  146. package/dist/inspector/assets/{use_stats-DG4ySbul.js → use_stats-IyFfTD4L.js} +1 -1
  147. package/dist/inspector/assets/{use_timeline-CXc_N-XZ.js → use_timeline-BueAlCUW.js} +1 -1
  148. package/dist/inspector/assets/{use_turns-D8vym3df.js → use_turns-CZtZ839A.js} +1 -1
  149. package/dist/inspector/assets/{world_time_event_timeline-DwiwRhnM.js → world_time_event_timeline-D8bL35LA.js} +1 -1
  150. package/dist/inspector/index.html +1 -1
  151. package/dist/mcp_http_session.d.ts +6 -1
  152. package/dist/mcp_http_session.d.ts.map +1 -1
  153. package/dist/mcp_http_session.js +8 -4
  154. package/dist/mcp_http_session.js.map +1 -1
  155. package/dist/mcp_http_stateless.d.ts +186 -0
  156. package/dist/mcp_http_stateless.d.ts.map +1 -0
  157. package/dist/mcp_http_stateless.js +546 -0
  158. package/dist/mcp_http_stateless.js.map +1 -0
  159. package/dist/middleware/aauth_verify.d.ts.map +1 -1
  160. package/dist/middleware/aauth_verify.js +71 -14
  161. package/dist/middleware/aauth_verify.js.map +1 -1
  162. package/dist/repositories/db/connection.d.ts +8 -0
  163. package/dist/repositories/db/connection.d.ts.map +1 -1
  164. package/dist/repositories/db/connection.js +10 -0
  165. package/dist/repositories/db/connection.js.map +1 -1
  166. package/dist/repositories/sqlite/sqlite_client.d.ts.map +1 -1
  167. package/dist/repositories/sqlite/sqlite_client.js +100 -2
  168. package/dist/repositories/sqlite/sqlite_client.js.map +1 -1
  169. package/dist/repositories/worker/worker_file_database.d.ts.map +1 -1
  170. package/dist/repositories/worker/worker_file_database.js +5 -1
  171. package/dist/repositories/worker/worker_file_database.js.map +1 -1
  172. package/dist/seed_schemas_entry.js +18 -0
  173. package/dist/seed_schemas_entry.js.map +1 -1
  174. package/dist/server.d.ts +175 -1
  175. package/dist/server.d.ts.map +1 -1
  176. package/dist/server.js +918 -399
  177. package/dist/server.js.map +1 -1
  178. package/dist/services/aauth_admission.d.ts +13 -1
  179. package/dist/services/aauth_admission.d.ts.map +1 -1
  180. package/dist/services/aauth_admission.js +114 -3
  181. package/dist/services/aauth_admission.js.map +1 -1
  182. package/dist/services/aauth_operator_allowlist.d.ts +41 -14
  183. package/dist/services/aauth_operator_allowlist.d.ts.map +1 -1
  184. package/dist/services/aauth_operator_allowlist.js +47 -14
  185. package/dist/services/aauth_operator_allowlist.js.map +1 -1
  186. package/dist/services/agent_capabilities.d.ts +116 -10
  187. package/dist/services/agent_capabilities.d.ts.map +1 -1
  188. package/dist/services/agent_capabilities.js +289 -8
  189. package/dist/services/agent_capabilities.js.map +1 -1
  190. package/dist/services/agent_grants.d.ts +186 -15
  191. package/dist/services/agent_grants.d.ts.map +1 -1
  192. package/dist/services/agent_grants.js +548 -92
  193. package/dist/services/agent_grants.js.map +1 -1
  194. package/dist/services/attribution_redaction.d.ts +23 -0
  195. package/dist/services/attribution_redaction.d.ts.map +1 -0
  196. package/dist/services/attribution_redaction.js +58 -0
  197. package/dist/services/attribution_redaction.js.map +1 -0
  198. package/dist/services/batch_correction.d.ts +7 -1
  199. package/dist/services/batch_correction.d.ts.map +1 -1
  200. package/dist/services/batch_correction.js +26 -8
  201. package/dist/services/batch_correction.js.map +1 -1
  202. package/dist/services/correction.d.ts.map +1 -1
  203. package/dist/services/correction.js +53 -0
  204. package/dist/services/correction.js.map +1 -1
  205. package/dist/services/deletion.d.ts +17 -1
  206. package/dist/services/deletion.d.ts.map +1 -1
  207. package/dist/services/deletion.js +103 -1
  208. package/dist/services/deletion.js.map +1 -1
  209. package/dist/services/entity_merge.d.ts.map +1 -1
  210. package/dist/services/entity_merge.js +9 -0
  211. package/dist/services/entity_merge.js.map +1 -1
  212. package/dist/services/entity_resolution.d.ts +79 -1
  213. package/dist/services/entity_resolution.d.ts.map +1 -1
  214. package/dist/services/entity_resolution.js +125 -10
  215. package/dist/services/entity_resolution.js.map +1 -1
  216. package/dist/services/entity_split.d.ts.map +1 -1
  217. package/dist/services/entity_split.js +31 -1
  218. package/dist/services/entity_split.js.map +1 -1
  219. package/dist/services/entity_submission/mirrors/webhook_mirror.d.ts.map +1 -1
  220. package/dist/services/entity_submission/mirrors/webhook_mirror.js +11 -1
  221. package/dist/services/entity_submission/mirrors/webhook_mirror.js.map +1 -1
  222. package/dist/services/interpretation.d.ts.map +1 -1
  223. package/dist/services/interpretation.js +10 -0
  224. package/dist/services/interpretation.js.map +1 -1
  225. package/dist/services/issues/external_actor_builder.d.ts +25 -0
  226. package/dist/services/issues/external_actor_builder.d.ts.map +1 -1
  227. package/dist/services/issues/external_actor_builder.js +25 -0
  228. package/dist/services/issues/external_actor_builder.js.map +1 -1
  229. package/dist/services/issues/issue_operations.d.ts.map +1 -1
  230. package/dist/services/issues/issue_operations.js +1 -0
  231. package/dist/services/issues/issue_operations.js.map +1 -1
  232. package/dist/services/mcp_auth.d.ts +26 -0
  233. package/dist/services/mcp_auth.d.ts.map +1 -1
  234. package/dist/services/mcp_auth.js +36 -3
  235. package/dist/services/mcp_auth.js.map +1 -1
  236. package/dist/services/mcp_oauth.d.ts +64 -8
  237. package/dist/services/mcp_oauth.d.ts.map +1 -1
  238. package/dist/services/mcp_oauth.js +230 -58
  239. package/dist/services/mcp_oauth.js.map +1 -1
  240. package/dist/services/member_attribution.d.ts +32 -0
  241. package/dist/services/member_attribution.d.ts.map +1 -0
  242. package/dist/services/member_attribution.js +65 -0
  243. package/dist/services/member_attribution.js.map +1 -0
  244. package/dist/services/net/private_host_guard.d.ts +44 -0
  245. package/dist/services/net/private_host_guard.d.ts.map +1 -1
  246. package/dist/services/net/private_host_guard.js +118 -1
  247. package/dist/services/net/private_host_guard.js.map +1 -1
  248. package/dist/services/oauth_key_gate.d.ts +41 -5
  249. package/dist/services/oauth_key_gate.d.ts.map +1 -1
  250. package/dist/services/oauth_key_gate.js +28 -7
  251. package/dist/services/oauth_key_gate.js.map +1 -1
  252. package/dist/services/observation_storage.d.ts.map +1 -1
  253. package/dist/services/observation_storage.js +43 -0
  254. package/dist/services/observation_storage.js.map +1 -1
  255. package/dist/services/protected_entity_types.d.ts +1 -1
  256. package/dist/services/protected_entity_types.d.ts.map +1 -1
  257. package/dist/services/protected_entity_types.js.map +1 -1
  258. package/dist/services/relationship_types/registry.d.ts +289 -0
  259. package/dist/services/relationship_types/registry.d.ts.map +1 -0
  260. package/dist/services/relationship_types/registry.js +599 -0
  261. package/dist/services/relationship_types/registry.js.map +1 -0
  262. package/dist/services/relationship_types/seed_registry.d.ts +71 -0
  263. package/dist/services/relationship_types/seed_registry.d.ts.map +1 -0
  264. package/dist/services/relationship_types/seed_registry.js +169 -0
  265. package/dist/services/relationship_types/seed_registry.js.map +1 -0
  266. package/dist/services/relationships.d.ts +57 -2
  267. package/dist/services/relationships.d.ts.map +1 -1
  268. package/dist/services/relationships.js +95 -33
  269. package/dist/services/relationships.js.map +1 -1
  270. package/dist/services/rendered_page/publish.js +1 -1
  271. package/dist/services/rendered_page/publish.js.map +1 -1
  272. package/dist/services/request_context.d.ts +38 -1
  273. package/dist/services/request_context.d.ts.map +1 -1
  274. package/dist/services/request_context.js +31 -1
  275. package/dist/services/request_context.js.map +1 -1
  276. package/dist/services/root_landing/index.d.ts.map +1 -1
  277. package/dist/services/root_landing/index.js +9 -6
  278. package/dist/services/root_landing/index.js.map +1 -1
  279. package/dist/services/sandbox_mode.d.ts +52 -0
  280. package/dist/services/sandbox_mode.d.ts.map +1 -1
  281. package/dist/services/sandbox_mode.js +58 -0
  282. package/dist/services/sandbox_mode.js.map +1 -1
  283. package/dist/services/schema_registry.d.ts +67 -1
  284. package/dist/services/schema_registry.d.ts.map +1 -1
  285. package/dist/services/schema_registry.js +218 -11
  286. package/dist/services/schema_registry.js.map +1 -1
  287. package/dist/services/scoped_reads.d.ts +57 -0
  288. package/dist/services/scoped_reads.d.ts.map +1 -0
  289. package/dist/services/scoped_reads.js +106 -0
  290. package/dist/services/scoped_reads.js.map +1 -0
  291. package/dist/services/session_info.d.ts +1 -1
  292. package/dist/services/session_info.d.ts.map +1 -1
  293. package/dist/services/store_relationships.d.ts +46 -0
  294. package/dist/services/store_relationships.d.ts.map +1 -0
  295. package/dist/services/store_relationships.js +70 -0
  296. package/dist/services/store_relationships.js.map +1 -0
  297. package/dist/services/subscriptions/guest_scope.d.ts +7 -0
  298. package/dist/services/subscriptions/guest_scope.d.ts.map +1 -0
  299. package/dist/services/subscriptions/guest_scope.js +14 -0
  300. package/dist/services/subscriptions/guest_scope.js.map +1 -0
  301. package/dist/services/subscriptions/sse_hub.d.ts +3 -1
  302. package/dist/services/subscriptions/sse_hub.d.ts.map +1 -1
  303. package/dist/services/subscriptions/sse_hub.js +32 -2
  304. package/dist/services/subscriptions/sse_hub.js.map +1 -1
  305. package/dist/services/subscriptions/subscription_actions.d.ts.map +1 -1
  306. package/dist/services/subscriptions/subscription_actions.js +6 -2
  307. package/dist/services/subscriptions/subscription_actions.js.map +1 -1
  308. package/dist/services/subscriptions/subscription_bridge.js +1 -1
  309. package/dist/services/subscriptions/subscription_bridge.js.map +1 -1
  310. package/dist/services/subscriptions/webhook_delivery.d.ts +13 -0
  311. package/dist/services/subscriptions/webhook_delivery.d.ts.map +1 -1
  312. package/dist/services/subscriptions/webhook_delivery.js +41 -10
  313. package/dist/services/subscriptions/webhook_delivery.js.map +1 -1
  314. package/dist/services/sync/conflict_resolver.d.ts.map +1 -1
  315. package/dist/services/sync/conflict_resolver.js +39 -5
  316. package/dist/services/sync/conflict_resolver.js.map +1 -1
  317. package/dist/services/sync/peer_health.d.ts.map +1 -1
  318. package/dist/services/sync/peer_health.js +8 -1
  319. package/dist/services/sync/peer_health.js.map +1 -1
  320. package/dist/services/sync/sync_webhook_outbound.d.ts.map +1 -1
  321. package/dist/services/sync/sync_webhook_outbound.js +32 -2
  322. package/dist/services/sync/sync_webhook_outbound.js.map +1 -1
  323. package/dist/shared/action_schemas.d.ts +64 -46
  324. package/dist/shared/action_schemas.d.ts.map +1 -1
  325. package/dist/shared/action_schemas.js +34 -31
  326. package/dist/shared/action_schemas.js.map +1 -1
  327. package/dist/shared/contract_mappings.d.ts.map +1 -1
  328. package/dist/shared/contract_mappings.js +31 -2
  329. package/dist/shared/contract_mappings.js.map +1 -1
  330. package/dist/shared/environment.d.ts +58 -0
  331. package/dist/shared/environment.d.ts.map +1 -0
  332. package/dist/shared/environment.js +105 -0
  333. package/dist/shared/environment.js.map +1 -0
  334. package/dist/shared/harness_force_mode.d.ts +15 -0
  335. package/dist/shared/harness_force_mode.d.ts.map +1 -0
  336. package/dist/shared/harness_force_mode.js +17 -0
  337. package/dist/shared/harness_force_mode.js.map +1 -0
  338. package/dist/shared/openapi_types.d.ts +735 -57
  339. package/dist/shared/openapi_types.d.ts.map +1 -1
  340. package/dist/tool_definitions.d.ts +1 -1
  341. package/dist/tool_definitions.d.ts.map +1 -1
  342. package/dist/tool_definitions.js +55 -19
  343. package/dist/tool_definitions.js.map +1 -1
  344. package/dist/utils/connection_id_log.d.ts +12 -0
  345. package/dist/utils/connection_id_log.d.ts.map +1 -0
  346. package/dist/utils/connection_id_log.js +18 -0
  347. package/dist/utils/connection_id_log.js.map +1 -0
  348. package/docs/developer/mcp/instructions.md +51 -2
  349. package/openapi.yaml +850 -367
  350. package/package.json +1 -1
  351. package/dist/inspector/assets/agent_badge-Cn1SlcFX.js +0 -1
  352. package/dist/inspector/assets/agent_detail-BG5KDNtE.js +0 -1
  353. package/dist/inspector/assets/agent_grant_form-CjQdyLL1.js +0 -1
  354. package/dist/inspector/assets/interpretations-C1f56O6G.js +0 -1
  355. package/dist/inspector/assets/record_activity-BFZ8OHZk.js +0 -1
  356. package/dist/inspector/assets/relationships-BulEoxTG.js +0 -1
  357. package/dist/inspector/assets/relationships-DmV58gWH.js +0 -1
  358. package/dist/inspector/assets/settings-Ciqn2fJY.js +0 -1
  359. package/dist/inspector/assets/use_interpretations-BR4Kbo1i.js +0 -1
  360. package/dist/inspector/assets/use_relationships-CXktmg7M.js +0 -1
package/README.md CHANGED
@@ -69,7 +69,7 @@ Neotoma exposes roughly 60 MCP tools and about 100 REST endpoints, all backed by
69
69
 
70
70
  **Manage the entity lifecycle.** Merge duplicates, split an entity by predicate, soft-delete and restore, list potential duplicates, and run GDPR-oriented deletion. Merge and split are transactional and audited.
71
71
 
72
- **Control multi-agent access.** Every write is attributed to an agent identity (verified key thumbprint, JWT subject, or client name). Agent grants express least-privilege capabilities (which operations on which entity types). Optional hardware-attested authentication (Apple Secure Enclave, TPM 2.0, WebAuthn/FIDO2, YubiKey, Windows TBS) raises an agent's trust tier. Guest access tokens grant scoped read-back without full credentials.
72
+ **Control multi-agent access.** Every write is attributed to an agent identity (verified key thumbprint, JWT subject, or client name), and agent grants express least-privilege capabilities (which operations on which entity types). This is what makes attribution and provenance answerable rather than asserted — it is infrastructure behind the guarantees above, not a feature to evaluate on its own. The mechanics, including optional hardware-attested authentication and guest access tokens, are documented in the [AAuth reference](https://neotoma.io/aauth).
73
73
 
74
74
  **Federate, sync, and intake.** Register peer instances and sync entities between them with configurable scope and conflict resolution (last-write-wins, source priority, or manual). Subscribe to entity or event changes over webhooks (HMAC-signed) or Server-Sent Events. Accept guest entity submissions, mirror GitHub issues into conversation threads, and mirror your data to deterministic, git-trackable canonical Markdown.
75
75
 
@@ -195,7 +195,7 @@ The "stays local" and privacy claims above apply to the local single-user mode.
195
195
 
196
196
  Neotoma is primarily for developers building and operating AI agents who need a persistent, deterministic, auditable memory layer shared across tools. The product ships as an MCP server and REST API with drop-in hook packages (Claude Code, Cursor, Codex, OpenCode), a Claude Agent SDK adapter, and TypeScript and Python clients. Its core value (versioned observations, deterministic snapshots, field-level provenance, idempotency, corrections-win) is memory-engine infrastructure for agent loops, not an end-user app.
197
197
 
198
- Two further audiences follow from the same code: individuals running a personal cross-assistant memory (the built-in types are personal-information shaped, and the single-user SQLite plus Inspector path serves one person across assistants), and operators of a shared or hosted instance (OAuth, hardware-attested agent identity, per-agent grants, guest submission, peer federation, and Docker or Fly deploy targets).
198
+ Two further audiences follow from the same code: individuals running a personal cross-assistant memory (the built-in types are personal-information shaped, and the single-user SQLite plus Inspector path serves one person across assistants), and operators of a shared or hosted instance (OAuth, peer federation, and Docker or Fly deploy targets). The agent-identity and grants machinery is infrastructure supporting attribution and provenance for every audience, not a reason a particular audience adopts Neotoma.
199
199
 
200
200
  It is not aimed at casual note-taking, PKM/Obsidian-style human-driven knowledge bases, or users who need a fully hosted product with nothing running on their own machine — Neotoma is local-first by design, and that part is not a temporary state. Installation is: today it is npm and the CLI, and a guided installation is intended but not yet available. If today's install path is what stands between you and trying it, that is our problem to fix, not a sign you are the wrong user.
201
201
 
package/dist/actions.d.ts CHANGED
@@ -1,8 +1,10 @@
1
1
  import express from "express";
2
+ import { type StoreRelationshipCreated, type StoreRelationshipRefused } from "./services/store_relationships.js";
2
3
  import { type GuestIdentity } from "./services/access_policy.js";
3
4
  import { type AgentIdentity } from "./crypto/agent_identity.js";
4
5
  import { type NeotomaSandboxModeName } from "./services/sandbox_mode.js";
5
6
  import { OAuthKeySessionStore } from "./services/oauth_key_gate.js";
7
+ import type { BoundIdentity } from "./services/oauth_key_gate.js";
6
8
  import { type StoreInterpretationInput } from "./shared/action_schemas.js";
7
9
  /** Exposed for the /me route and any other surface that needs the boot-time mode verdict. */
8
10
  export declare function getResolvedServerMode(): NeotomaSandboxModeName | null;
@@ -58,9 +60,14 @@ export declare function isTrustedProxyIP(ip: string, env?: NodeJS.ProcessEnv): b
58
60
  * connects to Node over loopback even for public internet callers. In
59
61
  * production, loopback alone is therefore not enough to grant local-dev auth.
60
62
  *
63
+ * X-Forwarded-For can only disqualify a caller, never qualify one: a loopback
64
+ * socket with an all-loopback forwarded chain is treated like a loopback
65
+ * socket with no forwarded header, so in production it is not local.
66
+ *
61
67
  * NEOTOMA_TRUSTED_PROXY_IPS: comma-separated list of IPs or IPv4 CIDRs whose
62
68
  * XFF entries are trusted and do not disqualify a loopback-socket request from
63
- * being considered local. Use this for tunnel setups where cloudflared (or
69
+ * being considered local. In production, a forwarded chain whose nearest hop
70
+ * is one of these addresses is treated as local. Use this for tunnel setups where cloudflared (or
64
71
  * similar) injects a non-loopback XFF entry that represents a controlled
65
72
  * internal hop, not a public internet caller.
66
73
  *
@@ -77,6 +84,20 @@ export declare function isTrustedProxyIP(ip: string, env?: NodeJS.ProcessEnv): b
77
84
  * entirely and remains valid for single-host deployments without a tunnel.
78
85
  */
79
86
  export declare function isLocalRequest(req: express.Request): boolean;
87
+ export declare function isDevelopmentConnectionId(value: unknown): boolean;
88
+ /**
89
+ * Whether a client-sent development connection id may be honoured for this
90
+ * request. Mirrors the conditions under which the /mcp gate assigns one
91
+ * itself, so sending the header never grants more than omitting it:
92
+ *
93
+ * - development mode: encryption disabled, and `isLocalRequest`'s own
94
+ * environment rule (non-production `NEOTOMA_ENV`, or the explicit
95
+ * `NEOTOMA_TRUST_PROD_LOOPBACK=1` opt-in);
96
+ * - a local caller by `isLocalRequest`: loopback socket address, and every
97
+ * X-Forwarded-For hop loopback or a configured trusted proxy. Forwarded
98
+ * headers can only disqualify a caller, never qualify one.
99
+ */
100
+ export declare function developmentConnectionIdAllowed(req: express.Request): boolean;
80
101
  /** Exported for tests asserting the cookie maxAge and the server-side session
81
102
  * expiry agree — the invariant setOAuthKeySessionCookie's docstring names. */
82
103
  export declare const oauthKeySessions: OAuthKeySessionStore;
@@ -120,8 +141,22 @@ export declare function resolveSignInSessionTtlMs(raw: string | undefined): numb
120
141
  * sign-in (#2005).
121
142
  */
122
143
  export declare function setOAuthKeySessionCookie(req: express.Request, res: express.Response, ttlMs?: number): string;
123
- /** Resolve the local-auth user_id a Google-verified session (if any) mapped to this request. */
144
+ /**
145
+ * Resolve the GRAPH SCOPE user_id a Google-verified session (if any) mapped to
146
+ * this request — the user_id whose graph is read and written. Under
147
+ * shared-graph mode this is the shared owner, not the signer; use
148
+ * {@link getGoogleVerifiedIdentity} to learn who signed in (#2228).
149
+ */
124
150
  export declare function getGoogleVerifiedUserId(req: express.Request): string | undefined;
151
+ /**
152
+ * Resolve the full identity bound to a Google-verified session: the graph being
153
+ * operated on plus, when shared-graph mode remapped the scope, the verified
154
+ * email and per-email user_id of the person who signed in (#2228).
155
+ *
156
+ * Session validity is enforced by the store, so an expired session resolves to
157
+ * undefined rather than a stale identity.
158
+ */
159
+ export declare function getGoogleVerifiedIdentity(req: express.Request): BoundIdentity | undefined;
125
160
  /**
126
161
  * Derive the canonical `@authority` the AAuth profile requires (AAuth §10.3.1).
127
162
  * We trust explicit configuration first, then fall back to the host the
@@ -280,6 +315,7 @@ export declare function storeStructuredForApi(params: {
280
315
  identity_basis: string;
281
316
  identity_rule: string;
282
317
  }[] | undefined;
318
+ relationships_refused?: StoreRelationshipRefused[] | undefined;
283
319
  entities_created: number;
284
320
  observations_created: number;
285
321
  entities: {
@@ -307,11 +343,7 @@ export declare function storeStructuredForApi(params: {
307
343
  }[] | undefined;
308
344
  entity_snapshot_after: Record<string, unknown> | null;
309
345
  }[];
310
- relationships_created: {
311
- relationship_type: string;
312
- source_entity_id: string;
313
- target_entity_id: string;
314
- }[];
346
+ relationships_created: StoreRelationshipCreated[];
315
347
  interpretation_id?: string | undefined;
316
348
  interpretation_source_id?: string | undefined;
317
349
  success: boolean;
@@ -319,9 +351,90 @@ export declare function storeStructuredForApi(params: {
319
351
  commit: boolean;
320
352
  source_id: string | null;
321
353
  }>;
354
+ /**
355
+ * Resolve the host the HTTP listener should bind to.
356
+ *
357
+ * Defaults to loopback-only (`127.0.0.1`) so a self-hosted instance is never
358
+ * reachable from the LAN unless the operator explicitly opts in. Set
359
+ * `NEOTOMA_HTTP_HOST` (e.g. `0.0.0.0` for a Fly/Docker deployment fronted by
360
+ * its own auth, or a tunnel client) to bind elsewhere. This is the single
361
+ * source of truth for the bind host — `tryListen` passes this value straight
362
+ * to `app.listen`, and the boot-time sandbox-mode resolver below derives its
363
+ * `loopbackBindOnly` signal from the same value, so the two can no longer
364
+ * diverge the way they did prior to #<security-fix> (posture reported
365
+ * loopback while the socket was actually open on all interfaces).
366
+ */
367
+ export declare function resolveHttpBindHost(env?: NodeJS.ProcessEnv): string;
368
+ /** True when the given bind host resolves to a loopback-only address. */
369
+ export declare function isLoopbackHost(host: string): boolean;
370
+ /**
371
+ * Try to bind on a port/host; resolves with server and port, or rejects on
372
+ * error (e.g. EADDRINUSE).
373
+ *
374
+ * This is the actual sink that opens the listening socket, and it is an
375
+ * exported entry point in its own right (not merely an internal helper of
376
+ * `startHTTPServer` below) — so the loopback-only default must live HERE,
377
+ * not only in the sibling caller. Before this fix, `startHTTPServer` was the
378
+ * only thing applying `resolveHttpBindHost()`'s safe default; a caller that
379
+ * invoked `tryListen` directly with a missing/empty host (or `undefined`
380
+ * coming through a loosely-typed call site) fell straight through to
381
+ * `app.listen`, which binds all interfaces when `host` is falsy. That
382
+ * reopened the exact all-interfaces exposure the loopback default exists to
383
+ * close, just via a different entry point. See #<security-fix>.
384
+ */
385
+ export declare function tryListen(port: number, host?: string | null): Promise<{
386
+ server: ReturnType<express.Express["listen"]>;
387
+ port: number;
388
+ }>;
322
389
  export declare function startHTTPServer(): Promise<{
323
390
  server: import("http").Server<typeof import("http").IncomingMessage, typeof import("http").ServerResponse>;
324
391
  port: number;
325
392
  } | undefined>;
393
+ /**
394
+ * Handle an unhandled promise rejection, narrowly for the abandoned-read abort
395
+ * that crash-looped hosted Neotoma on 2026-09-23 (#2483).
396
+ *
397
+ * `guardAbandonedRead` (worker_file_database.ts) attaches a no-op `.catch()`
398
+ * to every read on the reader pool so a caller who is still listening keeps
399
+ * getting the real rejection while an abandoned one cannot become unhandled.
400
+ * That guard is provably complete for every read reachable through
401
+ * `WorkerStatement` — the prior investigation on #2483 traced every read path
402
+ * to it and found no fire-and-forget read outside the pattern — but the
403
+ * production trace shows an unhandled `WorkerDbAbortError` reaching here
404
+ * anyway, so some path derives a promise the guard never sees (`dispatchRead`,
405
+ * added by #2338, is the leading suspect per that investigation).
406
+ *
407
+ * Because the leaking path is unknown, this contains the SYMPTOM rather than
408
+ * the cause: log everything needed to find it, and let the process live,
409
+ * WITHOUT widening the class of error this applies to. `instanceof` (not a
410
+ * message-substring match) keeps the scope to exactly the one error type this
411
+ * incident is about — any other unhandled rejection falls through to `handler`
412
+ * unchanged and exits exactly as it does today. This is deliberately NOT a
413
+ * general `unhandledRejection` policy: a corrupt migration or an OOM must
414
+ * still crash the process, as the guard's own doc comment says.
415
+ *
416
+ * Returns true when it handled (and thus suppressed) the rejection, so the
417
+ * caller can decide whether to fall through to prior behavior — kept as a
418
+ * plain function, rather than registering its own `process.on` listener, so
419
+ * it composes with whatever the process already does for every other
420
+ * rejection instead of racing a second competing handler.
421
+ */
422
+ export declare function handleAbandonedAbortRejection(reason: unknown): boolean;
423
+ /**
424
+ * Registers the process-wide containment for the #2483 abandoned-abort
425
+ * crash: the `unhandledRejection` listener that suppresses an unhandled
426
+ * `WorkerDbAbortError` (delegating to `handleAbandonedAbortRejection`) and
427
+ * exits exactly as before for anything else, plus the raised stack trace
428
+ * limit that makes the resulting diagnostic useful.
429
+ *
430
+ * Pulled into its own exported function, called from exactly one production
431
+ * call site below, so a regression test can prove that call site is load
432
+ * bearing: deleting it (while leaving this function's body untouched) must
433
+ * turn the regression suite red, because nothing would register the
434
+ * listener a real boot of this module performs. A test that instead called
435
+ * this function directly would keep passing even if the production call
436
+ * site were deleted, which is the exact gap #2483's QA review found.
437
+ */
438
+ export declare function installAbandonedAbortContainment(): void;
326
439
  export {};
327
440
  //# sourceMappingURL=actions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../src/actions.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,SAAS,CAAC;AA4C9B,OAAO,EAGL,KAAK,aAAa,EACnB,MAAM,6BAA6B,CAAC;AAarC,OAAO,EAGL,KAAK,aAAa,EAGnB,MAAM,4BAA4B,CAAC;AAyCpC,OAAO,EAQL,KAAK,sBAAsB,EAC5B,MAAM,4BAA4B,CAAC;AAkDpC,OAAO,EAGL,oBAAoB,EACrB,MAAM,8BAA8B,CAAC;AAWtC,OAAO,EAiCL,KAAK,wBAAwB,EAE9B,MAAM,4BAA4B,CAAC;AA8CpC,6FAA6F;AAC7F,wBAAgB,qBAAqB,IAAI,sBAAsB,GAAG,IAAI,CAErE;AAED,eAAO,MAAM,GAAG,6CAAY,CAAC;AA2zB7B,kFAAkF;AAClF,eAAO,MAAM,4BAA4B,QAAS,CAAC;AAEnD;;;;;;;;;GASG;AACH,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAMtE;AAoBD,uFAAuF;AACvF,eAAO,MAAM,wBAAwB,OAAQ,CAAC;AAE9C;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAMlE;AAID;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CACnC,GAAG,EAAE,OAAO,CAAC,OAAO,EACpB,GAAG,EAAE,OAAO,CAAC,QAAQ,EACrB,OAAO,CAAC,EAAE;IAAE,WAAW,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE;QAAE,IAAI,EAAE,C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