@noxsoft/anima 5.1.2 → 6.0.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 (488) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/README.md +2 -2
  3. package/dist/{APEv2Parser-DV7AH14P.js → APEv2Parser-Dvsbp_2R.js} +3 -3
  4. package/dist/{AbstractID3Parser-C3RlCr-Y.js → AbstractID3Parser-IB9gxozg.js} +5 -5
  5. package/dist/{AiffParser-DaFyNU8n.js → AiffParser-R2IhrBzL.js} +4 -4
  6. package/dist/{AsfParser-CDCRfCXr.js → AsfParser-DJEueUMg.js} +4 -4
  7. package/dist/{DsdiffParser-BX31LICZ.js → DsdiffParser-DXLYn9tT.js} +4 -4
  8. package/dist/{DsfParser-C3JBjE-C.js → DsfParser-D2--NF0i.js} +5 -5
  9. package/dist/{FlacParser-DY4m-7v1.js → FlacParser-8cDAjrth.js} +5 -5
  10. package/dist/{ID3v1Parser-DL9AGlNt.js → ID3v1Parser-B494XuP9.js} +3 -3
  11. package/dist/{ID3v2Parser-Mr8o-5GJ.js → ID3v2Parser-DlxcNqv5.js} +4 -4
  12. package/dist/{ID3v2Token-DQqGh8AB.js → ID3v2Token-CSLSVrSQ.js} +2 -2
  13. package/dist/{MP4Parser-DkunlEqI.js → MP4Parser-COql2J-w.js} +6 -6
  14. package/dist/{MatroskaParser-IKjHx0h7.js → MatroskaParser-bNP5wC2F.js} +3 -3
  15. package/dist/{MpegParser-EecSeRWJ.js → MpegParser-C1gjfYqq.js} +4 -4
  16. package/dist/{MusepackParser-CkfsAeuE.js → MusepackParser-DBdYf7kV.js} +5 -5
  17. package/dist/{OggParser-z3QlSd8U.js → OggParser-CxajqbK3.js} +5 -5
  18. package/dist/{Util-DDVY6AaC.js → Util-BRZxoY1Q.js} +1 -1
  19. package/dist/{WavPackParser-PimUUBRx.js → WavPackParser-CtH9QFia.js} +4 -4
  20. package/dist/{WaveParser-B539YtoQ.js → WaveParser-yufLki1G.js} +5 -5
  21. package/dist/{accounts-CL0JV_xk.js → accounts-B_2nt5Cd.js} +2 -2
  22. package/dist/{accounts-CYEa4ttU.js → accounts-COxGcLGB.js} +1 -1
  23. package/dist/{accounts-Bj5MvaDs.js → accounts-DIES085e.js} +11 -11
  24. package/dist/{accounts-DZsqyow2.js → accounts-TUsfghIW.js} +38 -38
  25. package/dist/{acp-cli-ynoZZhYQ.js → acp-cli-CWgqDQQH.js} +6 -6
  26. package/dist/{acp-cli-BFAoKBvs.js → acp-cli-D0wfP8-l.js} +16 -16
  27. package/dist/{active-listener-BWPgtTZp.js → active-listener-BKtsWhsb.js} +4 -4
  28. package/dist/{active-listener-GJR3nLhX.js → active-listener-D2r8IO7g.js} +5 -5
  29. package/dist/{agent-DUAarfNl.js → agent-CnS0SRpT.js} +93 -236
  30. package/dist/{agent-CaaEZsXl.js → agent-VRQM14Xp.js} +98 -229
  31. package/dist/{agent-scope-C9CiVcmh.js → agent-scope-ByIGrCTT.js} +2 -2
  32. package/dist/{agent-scope-D3HZp64M.js → agent-scope-CXxC8FFX.js} +2 -2
  33. package/dist/{agent-scope-BZ8hjIt_.js → agent-scope-CxBzAozu.js} +3 -3
  34. package/dist/{agents-t54YcbvK.js → agents-CvMRplDx.js} +15 -13
  35. package/dist/{agents.config-J7iEgdW_.js → agents.config-BR5JLtud.js} +1 -1
  36. package/dist/{anthropic-direct-runner-B12V2Q5H.js → anthropic-direct-runner-BeYCnvZ8.js} +37 -15
  37. package/dist/{anthropic-direct-runner-CzQb7QkD.js → anthropic-direct-runner-C2Kwju-r.js} +29 -7
  38. package/dist/{audit-ByHmjh-G.js → audit-B05W5ckN.js} +23 -34
  39. package/dist/{audit-HJOpXfgY.js → audit-DDz7UOIx.js} +18 -15
  40. package/dist/{auth-DXrALxdm.js → auth-DsC5pZ_0.js} +2 -2
  41. package/dist/{prompts-CneQ6SeF.js → auth-choice-DY1saszS.js} +12 -107
  42. package/dist/{auth-choice-DPWnLV_w.js → auth-choice-Dc5TAJwT.js} +10 -9
  43. package/dist/{auth-health-DmrnGklu.js → auth-health-Cc8-vy8y.js} +1 -1
  44. package/dist/auth-health-Dhr8p2SD.js +149 -0
  45. package/dist/{auth-profiles-BF5x9Ej0.js → auth-profiles-Brxz2ojJ.js} +193 -42
  46. package/dist/{auth-profiles-DjCH4kWT.js → auth-profiles-C-LuhW6c.js} +195 -44
  47. package/dist/{auth-profiles-PJVsRqf4.js → auth-profiles-DKu7ZUzl.js} +189 -29
  48. package/dist/{auth-profiles-eZzmaeR3.js → auth-profiles-DtWUl1-k.js} +198 -38
  49. package/dist/{auth-store-CnRrUELz.js → auth-store-Bd0GoqEL.js} +13 -13
  50. package/dist/{auth-store-KnWGteIV.js → auth-store-BpYI9t_y.js} +3 -3
  51. package/dist/{auth-store-DjcQlyze.js → auth-store-Jvgz2_l1.js} +2 -2
  52. package/dist/{banner-D9JyV5SF.js → banner-DAMtSjUF.js} +1 -1
  53. package/dist/{bonjour-discovery-QsoaZ8Pr.js → bonjour-discovery-Co-b97Dz.js} +2 -2
  54. package/dist/build-info.json +3 -3
  55. package/dist/bundled/boot-md/handler.js +222 -151
  56. package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
  57. package/dist/bundled/command-logger/handler.js +1 -1
  58. package/dist/bundled/session-memory/handler.js +24 -24
  59. package/dist/{call-DHZ76BNg.js → call-B4lhqS6H.js} +3 -3
  60. package/dist/{call-DQjoz63V.js → call-CDPbPDAr.js} +4 -4
  61. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  62. package/dist/{catalog-AZNRamJ4.js → catalog-CsXv59Tq.js} +2 -2
  63. package/dist/{channel-web-CQIbtfme.js → channel-web-B8mzTSaY.js} +15 -15
  64. package/dist/{channels-status-issues-DdjvFHx9.js → channels-status-issues-WkG3Tmxk.js} +4 -4
  65. package/dist/{chrome-HTuFjVWW.js → chrome-B8EnYGj1.js} +9 -9
  66. package/dist/{chrome-BNggURXT.js → chrome-BaU-H9m7.js} +3 -3
  67. package/dist/{chrome-Cfak4A3i.js → chrome-DLUBPBPz.js} +12 -12
  68. package/dist/{chunk-CyT-_QsQ.js → chunk-B4Kx-ocg.js} +11 -9
  69. package/dist/{chunk-Dffz_QIs.js → chunk-CFSle8n5.js} +1 -1
  70. package/dist/{chunk-D3vyM2EQ.js → chunk-Cy0Bj0F3.js} +1 -1
  71. package/dist/{chunk-DFqo_u5A.js → chunk-DJXDX69U.js} +11 -9
  72. package/dist/{clack-prompter-QbDK4ABC.js → clack-prompter-0JW5kry0.js} +3 -3
  73. package/dist/{clack-prompter-rXuqdPbx.js → clack-prompter-fZSmnHda.js} +5 -5
  74. package/dist/cli/daemon-cli.js +1 -1
  75. package/dist/{cli-kT9Mb3dT.js → cli-D8exVpuI.js} +30 -29
  76. package/dist/cli-hcHk5KuP.js +102 -0
  77. package/dist/{cli-utils-BdkJVXjy.js → cli-utils-D2X_bDLt.js} +9 -1
  78. package/dist/{cli-utils-DGnL8raH.js → cli-utils-DcDBK4C5.js} +9 -1
  79. package/dist/{client-D9E5Wwb_.js → client-BWkoTfOH.js} +3 -2
  80. package/dist/{client-DzIcZx4J.js → client-CfLiulzK.js} +2 -1
  81. package/dist/{command-registry-vEVxxxzI.js → command-registry-D3VhxpWx.js} +21 -12
  82. package/dist/{commands-NIY0IDXe.js → commands-DE8FNH0v.js} +92 -20
  83. package/dist/{commands-eY0Ao0wt.js → commands-Mekaw9WG.js} +92 -20
  84. package/dist/{common-C2wAYEWA.js → common-BCW6hLGI.js} +2 -2
  85. package/dist/{common-BzPvZcxT.js → common-Bf_TG87Y.js} +2 -2
  86. package/dist/{common-6Fcbzr42.js → common-DT_obM-k.js} +2 -2
  87. package/dist/{completion-cli-BBKG6buM.js → completion-cli-B3BqQJq9.js} +3 -3
  88. package/dist/{completion-cli-C84I5l8a.js → completion-cli-CepDzeW1.js} +2 -2
  89. package/dist/{config-Ofh9gKvs.js → config-BrVuTQ8R.js} +14 -2
  90. package/dist/{config-6FVC8hW0.js → config-CweTwOtr.js} +40 -28
  91. package/dist/{config-DqwH4y-D.js → config-DaD4FsAn.js} +19 -7
  92. package/dist/{config-D2kCn7yR.js → config-ZYN8tezd.js} +18 -6
  93. package/dist/{config-cli-CQzq5yWB.js → config-cli-3CaIxSKo.js} +4 -4
  94. package/dist/config-cli-B6Np85rk.js +15 -0
  95. package/dist/{config-guard-B1plY6aQ.js → config-guard-C4b2dksv.js} +2 -2
  96. package/dist/{config-guard-CYlpjNN7.js → config-guard-CWhoBtB3.js} +20 -20
  97. package/dist/{config-sync-CYX9Tzyr.js → config-sync-CCVp-tVX.js} +2 -2
  98. package/dist/{config-sync-CDUhjDom.js → config-sync-CMO_5lyl.js} +2 -2
  99. package/dist/{configure-G6h2Ppk0.js → configure-D882Bg7c.js} +39 -15
  100. package/dist/{configure-Bv6mqD0j.js → configure-D88dg6mE.js} +79 -77
  101. package/dist/{configure-DxQqSUJs.js → configure-xpjwedvJ.js} +50 -49
  102. package/dist/{configure-B-dfdPKX.js → configure-zXK6UZ51.js} +49 -24
  103. package/dist/{context-CpsnZLOp.js → context-B5X720Bs.js} +1 -1
  104. package/dist/{control-service-D1oxSXVg.js → control-service-3CI4vt1h.js} +2 -2
  105. package/dist/{control-service-CzAfyR4e.js → control-service-5YtMvm7D.js} +5 -5
  106. package/dist/control-ui/assets/index-C4ejMN5U.js +72 -0
  107. package/dist/control-ui/assets/index-C4ejMN5U.js.map +1 -0
  108. package/dist/control-ui/assets/index-CcPNqN3R.css +1 -0
  109. package/dist/control-ui/assets/index-D7Bf6Say.js +3 -0
  110. package/dist/control-ui/assets/index-D7Bf6Say.js.map +1 -0
  111. package/dist/control-ui/assets/index-yhFuaOnc.js +2 -0
  112. package/dist/control-ui/assets/index-yhFuaOnc.js.map +1 -0
  113. package/dist/control-ui/assets/observers-V7q9lNYt.js +2 -0
  114. package/dist/control-ui/assets/observers-V7q9lNYt.js.map +1 -0
  115. package/dist/control-ui/assets/rrweb-plugin-console-record-sPdhR0i8.js +138 -0
  116. package/dist/control-ui/assets/rrweb-plugin-console-record-sPdhR0i8.js.map +1 -0
  117. package/dist/control-ui/assets/rrweb-record-CMVXB7aO.js +129 -0
  118. package/dist/control-ui/assets/rrweb-record-CMVXB7aO.js.map +1 -0
  119. package/dist/control-ui/index.html +2 -2
  120. package/dist/{cron-cli-C4qZZo4e.js → cron-cli-Cht6Itx6.js} +18 -18
  121. package/dist/{cron-cli-CSivg2i9.js → cron-cli-D9XrF-Gx.js} +8 -8
  122. package/dist/{daemon-cli-DfxT-pQ4.js → daemon-cli-9zrnYRjh.js} +8 -8
  123. package/dist/{daemon-cli-KMzjJH_D.js → daemon-cli-CrdPhSxr.js} +15 -15
  124. package/dist/daemon-cli.js +34 -6
  125. package/dist/{daemon-runtime-CIE27usH.js → daemon-runtime-BrUj88ZO.js} +2 -2
  126. package/dist/{daemon-runtime-BfgstLVI.js → daemon-runtime-DCqwraWR.js} +1 -1
  127. package/dist/{deliver-8r6UbXnC.js → deliver-B-dPbUIs.js} +18 -28
  128. package/dist/{deliver-ahx1N11n.js → deliver-BKzX3YoN.js} +7 -7
  129. package/dist/{deliver-DVt8TbK9.js → deliver-C1L5nO0K.js} +3 -3
  130. package/dist/{deliver-D2hQZ9X0.js → deliver-d-CaN0uL.js} +59 -69
  131. package/dist/deps-DyT32VfN.js +23 -0
  132. package/dist/{diagnostics-DXeDqA_-.js → diagnostics-Cu9pZAFn.js} +1 -1
  133. package/dist/{dispatcher-DpSnqIL0.js → dispatcher-BQQugU-7.js} +1 -1
  134. package/dist/{dispatcher-DzT6jltc.js → dispatcher-DzwzLQRk.js} +2 -2
  135. package/dist/{dns-cli-D9ka2fZD.js → dns-cli-C8KIX4P3.js} +12 -12
  136. package/dist/{dns-cli-D2Orvc8E.js → dns-cli-V2bo6vSt.js} +3 -3
  137. package/dist/{docs-cli-CKfzGqYM.js → docs-cli-Bt-YV3xs.js} +2 -2
  138. package/dist/{docs-cli-DWYXJd-j.js → docs-cli-D2cVJxjP.js} +7 -7
  139. package/dist/{doctor-vXt5qjNJ.js → doctor-DEnSKgHu.js} +21 -21
  140. package/dist/{doctor-DumyG85t.js → doctor-WpKCNZeO.js} +36 -181
  141. package/dist/{doctor-completion-lAyxyd7X.js → doctor-completion-CPff9UlF.js} +2 -2
  142. package/dist/{doctor-completion-C8JSWfqN.js → doctor-completion-CypXc1Uo.js} +2 -2
  143. package/dist/{doctor-config-flow-DA50eWp5.js → doctor-config-flow-Bgl0Cc20.js} +6 -6
  144. package/dist/{doctor-config-flow-BjfGQ1Br.js → doctor-config-flow-Dxy7RIm0.js} +4 -4
  145. package/dist/{engine-BVchKo5_.js → engine-DpbYPop7.js} +9 -9
  146. package/dist/{engine-CKqNpVwE.js → engine-zmn3SOYa.js} +10 -9
  147. package/dist/entry.js +19 -28
  148. package/dist/{env-DVJCc7dM.js → env-DlTia1B4.js} +1 -1
  149. package/dist/{exec-cazBMA02.js → exec-BylR5qWS.js} +1 -1
  150. package/dist/{exec-gKbUce2p.js → exec-C6tXfeqA.js} +1 -1
  151. package/dist/{exec-Bfd4ztFZ.js → exec-DUzVF5_D.js} +7 -7
  152. package/dist/{exec-approvals-cli-BPwW6GIK.js → exec-approvals-cli-CN2WeH7y.js} +20 -20
  153. package/dist/{exec-approvals-cli-6HndodnP.js → exec-approvals-cli-DYZVBnqS.js} +8 -8
  154. package/dist/extensionAPI.js +22 -22
  155. package/dist/format-BCAtE7cT.js +20 -0
  156. package/dist/{frontmatter-BP4GSt5L.js → frontmatter-Dsa7N963.js} +2 -2
  157. package/dist/{gateway-cli-CHhTweWb.js → gateway-cli-B_xsx5Nv.js} +104 -101
  158. package/dist/{gateway-cli-B60L2z4a.js → gateway-cli-D3VBOA_i.js} +69 -66
  159. package/dist/{gateway-rpc-CrSglZPE.js → gateway-rpc-Cj_h2sVM.js} +3 -3
  160. package/dist/{gateway-rpc-BtOX_e53.js → gateway-rpc-CnXMGsxp.js} +3 -3
  161. package/dist/{gmail-setup-utils-D2uUKNlF.js → gmail-setup-utils-DaJoXV_3.js} +3 -3
  162. package/dist/{health-BttJ1Qeh.js → health-C8KCBhuo.js} +8 -8
  163. package/dist/{health-D8fJ6U_k.js → health-CabOEPQ0.js} +13 -13
  164. package/dist/{health-format-CH6JWH45.js → health-format-D-JJ5_S4.js} +2 -2
  165. package/dist/{heartbeat-visibility-DcGQOTXe.js → heartbeat-visibility-BjYY-mKG.js} +1 -1
  166. package/dist/{heartbeat-visibility-B2MDtPTL.js → heartbeat-visibility-ZfNSbFcq.js} +1 -1
  167. package/dist/{help-format-7YidDC5Z.js → help-format-Dt-I_Mls.js} +1 -1
  168. package/dist/{hooks-cli-DRUryj5H.js → hooks-cli-Cs7GUa7G.js} +34 -33
  169. package/dist/{hooks-cli-BMZF6RF3.js → hooks-cli-DOs9WZ3K.js} +56 -55
  170. package/dist/{hooks-status-VvwKn90L.js → hooks-status-DdweuSIj.js} +4 -4
  171. package/dist/{image-ops-BUy__GHL.js → image-ops-Ct3GueyT.js} +1 -1
  172. package/dist/index.js +79 -71
  173. package/dist/{init-B8PBeUpi.js → init-CFndGgTJ.js} +1 -1
  174. package/dist/{init-DxkAVKP0.js → init-DkBwXNme.js} +1 -1
  175. package/dist/{installs-sayrGjx1.js → installs-Bi6UipiE.js} +6 -6
  176. package/dist/{installs-BcnNDR54.js → installs-a4Vz_J08.js} +3 -3
  177. package/dist/ipv4-DfMwLQ0d.js +14 -0
  178. package/dist/{lib-D4dE4_XZ.js → lib-6xd5SQjU.js} +20 -20
  179. package/dist/{lifecycle-core-BerWWP7p.js → lifecycle-core-B8PI1NZJ.js} +3 -3
  180. package/dist/{links-OhvsEkVw.js → links-DcilUrqq.js} +1 -1
  181. package/dist/llm-slug-generator.js +25 -25
  182. package/dist/{loader-CLNb0v_s.js → loader-Bw2wdN4l.js} +159 -3
  183. package/dist/{loader-Bww_qb65.js → loader-C87TLS4J.js} +159 -3
  184. package/dist/{logging-DhXRGHWg.js → logging-Chc1Sj6N.js} +1 -1
  185. package/dist/{login-BovU8kno.js → login-BHnvW9HA.js} +6 -6
  186. package/dist/{login-BPtmlRRv.js → login-BTOKtSQN.js} +5 -5
  187. package/dist/{login-C54B66KM.js → login-CrMpAZ0n.js} +4 -4
  188. package/dist/{login-C4mptULi.js → login-DKkQ3Czu.js} +5 -5
  189. package/dist/{login-qr-bim3Nkyu.js → login-qr-BGbHImRb.js} +8 -8
  190. package/dist/{login-qr-pFbvowe5.js → login-qr-CsAVGp00.js} +12 -12
  191. package/dist/{login-qr-657mh7cI.js → login-qr-DILcBA_q.js} +6 -6
  192. package/dist/{login-qr-BxNKHxcf.js → login-qr-OUAGpDsU.js} +10 -10
  193. package/dist/{logs-cli-CQStwrGd.js → logs-cli-Bc6IOyHA.js} +8 -8
  194. package/dist/{logs-cli-De79vyiP.js → logs-cli-BiAJbjnq.js} +15 -15
  195. package/dist/{manager-B043uMPT.js → manager-BYu34CX3.js} +12 -12
  196. package/dist/{manager-Cvmm95Pf.js → manager-C6L_DH0O.js} +2 -2
  197. package/dist/{manager-BtrVJ8Ve.js → manager-D8VCuzru.js} +9 -9
  198. package/dist/{manager-A3pC-CW-.js → manager-b_aZwo00.js} +16 -16
  199. package/dist/{manifest-registry-D-DOtLzo.js → manifest-registry-qF960vMH.js} +1 -1
  200. package/dist/{memory-cli-COl5xoIl.js → memory-cli-B0kKl-9T.js} +7 -7
  201. package/dist/{memory-cli-691NgCXx.js → memory-cli-DLtBA6r5.js} +11 -11
  202. package/dist/{message-channel-DZYYDt1_.js → message-channel-CMsexA3K.js} +9 -7
  203. package/dist/{message-channel-DdOBO6Qm.js → message-channel-DIHHKJhk.js} +8 -6
  204. package/dist/{migrate-DkBWjPPs.js → migrate-DuohB_ur.js} +3 -3
  205. package/dist/{migrate-BLjwxe9X.js → migrate-bgeTT_GR.js} +3 -3
  206. package/dist/{model-auth-DKhjNVHc.js → model-auth-CHB3EySM.js} +10 -5
  207. package/dist/{model-auth-CxAB4iZ0.js → model-auth-KpsOXKDc.js} +3 -3
  208. package/dist/model-param-b-C1QDqzQp.js +16 -0
  209. package/dist/{model-selection-BPkpXepz.js → model-selection-CLcoOT3e.js} +25 -7
  210. package/dist/{model-selection-wCaVeFbb.js → model-selection-CY6r_3wt.js} +25 -7
  211. package/dist/{model-selection-DFbDH9o2.js → model-selection-DcO3qJOu.js} +24 -6
  212. package/dist/{model-selection-BI8CKPwQ.js → model-selection-DjsJGv1R.js} +67 -8
  213. package/dist/models-BM2_NkMu.js +2707 -0
  214. package/dist/models-cli-BjY8wA-C.js +272 -0
  215. package/dist/models-cli-BpjeKsUz.js +2946 -0
  216. package/dist/{node-cli-Ajhng-5p.js → node-cli-BmuVEJ1C.js} +12 -12
  217. package/dist/{node-cli-t3N6HE9R.js → node-cli-DU_oREff.js} +27 -27
  218. package/dist/{node-service-4B-0AjmA.js → node-service-qZXF7T7A.js} +1 -1
  219. package/dist/{note-De2zPKl3.js → note-iMYVGjpA.js} +2 -2
  220. package/dist/noxsoft-bootstrap-C4dSx7K_.js +77 -0
  221. package/dist/noxsoft-bootstrap-CrlkSFzd.js +77 -0
  222. package/dist/{npm-registry-spec-CFp4OEe4.js → npm-registry-spec-Br4B4I_3.js} +2 -2
  223. package/dist/{npm-registry-spec-DVDcgWxm.js → npm-registry-spec-jf7Mowdn.js} +1 -1
  224. package/dist/{onboard-xSPFmM29.js → onboard-DM9gULJN.js} +24 -19
  225. package/dist/{onboard-i4CJtSb9.js → onboard-_-D81kAy.js} +19 -15
  226. package/dist/{onboard-channels-RsbA6EaD.js → onboard-channels-CtT-RN60.js} +8 -8
  227. package/dist/{onboard-channels-D6Gt3CsX.js → onboard-channels-UkphAdCy.js} +4 -4
  228. package/dist/{onboard-helpers-IeOtcIME.js → onboard-helpers-CFudIoX4.js} +3 -3
  229. package/dist/{onboard-helpers-DPqXrhma.js → onboard-helpers-CJ3HzoUO.js} +7 -7
  230. package/dist/{onboarding-CZBVMwFn.js → onboarding-BB9PteK8.js} +20 -17
  231. package/dist/{onboarding-Cao0a_Z1.js → onboarding-Djmm0PEM.js} +27 -23
  232. package/dist/{orchestrator-COMX8CF2.js → orchestrator-C1nWKIJS.js} +7 -3
  233. package/dist/{orchestrator-BLXpTTgr.js → orchestrator-C2ypFiPL.js} +6 -3
  234. package/dist/{outbound-DWfSyfZC.js → outbound-Bmft-5um.js} +4 -4
  235. package/dist/{outbound-Rs0fFC2g.js → outbound-C577aWZp.js} +1 -1
  236. package/dist/{outbound-DLCmFGfJ.js → outbound-DW2eod1S.js} +4 -4
  237. package/dist/{outbound-uxBpmALx.js → outbound-fPqdCDR4.js} +4 -4
  238. package/dist/outbound-send-deps-DVfWC4E8.js +14 -0
  239. package/dist/outbound-send-deps-T_FgdfgW.js +36 -0
  240. package/dist/{parse-timeout-DkOL1T_l.js → parse-timeout-C4WLf3Qy.js} +3 -3
  241. package/dist/{parse-timeout-DlU4ymhF.js → parse-timeout-D4UO8pY_.js} +1 -1
  242. package/dist/{path-env-CjpH-KWH.js → path-env-DLQPf9qj.js} +2 -2
  243. package/dist/{paths-D2eokayo.js → paths-B-AkG5FD.js} +3 -3
  244. package/dist/{paths-DQMKfv60.js → paths-CAQJvbeZ.js} +2 -2
  245. package/dist/{paths-Cwszsz1I.js → paths-Q6h5HODL.js} +2 -2
  246. package/dist/{pi-auth-json-BLdaEAx2.js → pi-auth-json-B_lKNFK6.js} +5 -5
  247. package/dist/{pi-auth-json-BH7uvkKr.js → pi-auth-json-BmdBnmlZ.js} +8 -9
  248. package/dist/{pi-auth-json-DjxzPUt3.js → pi-auth-json-DkYqdjrV.js} +2 -2
  249. package/dist/{pi-auth-json-smxh_Xud.js → pi-auth-json-WTvcP2gz.js} +9 -8
  250. package/dist/{pi-embedded-D4eEfxIU.js → pi-embedded-BMbtgOzv.js} +825 -319
  251. package/dist/{pi-embedded-DifnZvKk.js → pi-embedded-DfbM3fAT.js} +888 -382
  252. package/dist/{pi-embedded-helpers-B6wVA0hU.js → pi-embedded-helpers-BZ9GspxK.js} +1 -1
  253. package/dist/{pi-tools.policy-CDgjN_3f.js → pi-tools.policy-D2FusuQa.js} +3 -3
  254. package/dist/{pi-tools.policy-ox141hP6.js → pi-tools.policy-WdTAfqbV.js} +6 -6
  255. package/dist/{plugin-auto-enable-Mj7AnofW.js → plugin-auto-enable-CtYcdTju.js} +5 -5
  256. package/dist/{plugin-auto-enable-OqDAK-ap.js → plugin-auto-enable-DhuD30Je.js} +2 -2
  257. package/dist/{plugin-registry-CpXm8ADp.js → plugin-registry-DePMxn4z.js} +4 -4
  258. package/dist/{plugin-registry-CkZnT8Fb.js → plugin-registry-QTkplP4s.js} +2 -2
  259. package/dist/plugin-sdk/agents/cli-backends.d.ts +4 -1
  260. package/dist/plugin-sdk/agents/cli-credentials.d.ts +0 -10
  261. package/dist/plugin-sdk/agents/cli-runner.d.ts +2 -0
  262. package/dist/plugin-sdk/agents/defaults.d.ts +2 -2
  263. package/dist/plugin-sdk/agents/model-auto.d.ts +43 -0
  264. package/dist/plugin-sdk/agents/model-fallback.d.ts +5 -0
  265. package/dist/plugin-sdk/agents/model-preference.d.ts +25 -0
  266. package/dist/plugin-sdk/agents/noxsoft-runner.d.ts +94 -0
  267. package/dist/plugin-sdk/agents/pi-embedded-runner/run/params.d.ts +6 -3
  268. package/dist/plugin-sdk/agents/pi-embedded.d.ts +6 -50
  269. package/dist/plugin-sdk/agents/runner-capabilities.d.ts +2 -0
  270. package/dist/plugin-sdk/agents/sandbox/constants.d.ts +1 -1
  271. package/dist/plugin-sdk/auth/noxsoft-auth.d.ts +55 -0
  272. package/dist/plugin-sdk/channels/registry.d.ts +2 -2
  273. package/dist/plugin-sdk/cli/deps.d.ts +2 -1
  274. package/dist/plugin-sdk/cli/outbound-send-deps.d.ts +10 -0
  275. package/dist/plugin-sdk/commands/agent/types.d.ts +2 -0
  276. package/dist/plugin-sdk/config/types.agent-defaults.d.ts +14 -0
  277. package/dist/plugin-sdk/config/types.models.d.ts +1 -1
  278. package/dist/plugin-sdk/config/zod-schema.agent-defaults.d.ts +13 -0
  279. package/dist/plugin-sdk/config/zod-schema.agents.d.ts +13 -0
  280. package/dist/plugin-sdk/config/zod-schema.d.ts +13 -0
  281. package/dist/plugin-sdk/gateway/protocol/schema/agent.d.ts +1 -0
  282. package/dist/plugin-sdk/identity/loader.d.ts +1 -0
  283. package/dist/plugin-sdk/identity/trust-graph.d.ts +32 -0
  284. package/dist/plugin-sdk/index.js +57 -47
  285. package/dist/plugin-sdk/utils/message-channel.d.ts +2 -1
  286. package/dist/{plugins-DnJgmFJR.js → plugins-DYcg0qBW.js} +1 -1
  287. package/dist/{plugins-cli-CrrkMAYM.js → plugins-cli-Bc9oU1ld.js} +58 -57
  288. package/dist/{plugins-cli-D4VxQKaJ.js → plugins-cli-Dv0KQTWo.js} +36 -35
  289. package/dist/{polls-DuwPgAV7.js → polls-DFISjV7H.js} +5 -5
  290. package/dist/{ports-B1b1r9Dz.js → ports-DaVrZDUq.js} +2 -2
  291. package/dist/{ports-BX00e96t.js → ports-q535r1PZ.js} +2 -2
  292. package/dist/{program-CTDFmZNx.js → program-CuwbF8YO.js} +48 -40
  293. package/dist/{program-context-Hl6bnPfB.js → program-context-CxPfy-Wr.js} +51 -35
  294. package/dist/{progress-B-VBLfHr.js → progress-CVLvQV_t.js} +1 -1
  295. package/dist/{prompt-style-DU9Vjqe5.js → prompt-style-BI53UVgE.js} +1 -1
  296. package/dist/{prompts-D6b3zLVO.js → prompts-BmgT_kkv.js} +33 -2
  297. package/dist/prompts-Bq4QGFQM.js +158 -0
  298. package/dist/{pw-ai-BV57RRmp.js → pw-ai-CB-zeR7h.js} +5 -5
  299. package/dist/{pw-ai-CY-VcqJp.js → pw-ai-C_1-7IgH.js} +4 -4
  300. package/dist/{pw-ai-CTHtrCEC.js → pw-ai-DxNrJcCA.js} +3 -3
  301. package/dist/{qmd-manager-DJeQYS-r.js → qmd-manager-C_XBZ_bT.js} +5 -5
  302. package/dist/{qmd-manager-CwbYv6nJ.js → qmd-manager-CpNYgSrx.js} +7 -7
  303. package/dist/{qmd-manager-Cbm03z8H.js → qmd-manager-Q0OSDQ-e.js} +5 -5
  304. package/dist/{register.agent-CMoYTJqj.js → register.agent-DFQmkIEH.js} +53 -50
  305. package/dist/{register.agent-BKINbWbs.js → register.agent-DUjwGw9d.js} +77 -73
  306. package/dist/{register.anima-BHrZ90Sv.js → register.anima-CRFHJu2J.js} +21 -21
  307. package/dist/{register.anima-CnEy5VFQ.js → register.anima-CtKNrpE8.js} +21 -21
  308. package/dist/{register.configure-Cv5NkGH2.js → register.configure-CSSN07XN.js} +50 -49
  309. package/dist/register.configure-CnEKV57N.js +107 -0
  310. package/dist/register.maintenance-CU1A-90-.js +102 -0
  311. package/dist/{register.maintenance-DtAw8E_a.js → register.maintenance-fhcCB7ih.js} +48 -47
  312. package/dist/register.message-C1a0y2ZR.js +661 -0
  313. package/dist/register.message-fM0jSKB8.js +659 -0
  314. package/dist/register.onboard-B7Gavmvt.js +128 -0
  315. package/dist/{register.onboard-U3lIfaw_.js → register.onboard-BhPlqjFi.js} +50 -49
  316. package/dist/{register.setup-CLkGhR-e.js → register.setup-0jPnMgnz.js} +96 -92
  317. package/dist/{register.setup-Dyp5L_GQ.js → register.setup-CADdQUEN.js} +72 -69
  318. package/dist/{register.status-health-sessions-Dx-qZMol.js → register.status-health-sessions-Cu5fDT-z.js} +68 -67
  319. package/dist/{register.status-health-sessions-Cc2Y5gSj.js → register.status-health-sessions-DdQsABr_.js} +40 -39
  320. package/dist/{register.subclis-L55mGheS.js → register.subclis-CZ91ufCy.js} +28 -21
  321. package/dist/{reply-BgPvB-gR.js → reply-DtHlnzOx.js} +6631 -6172
  322. package/dist/{reply-prefix-37W_P4kH.js → reply-prefix-C8dIgJur.js} +1 -1
  323. package/dist/{reply-prefix-DBRqtDEq.js → reply-prefix-DmWGtcH-.js} +1 -1
  324. package/dist/{routes-ZlpnlJFF.js → routes-CWCAc8uJ.js} +2 -2
  325. package/dist/{routes-DeDgHj5Y.js → routes-FT0Us8Md.js} +6 -6
  326. package/dist/{run-DEHnKm2x.js → run-Dfz_7j7t.js} +1256 -166
  327. package/dist/{run-BFPM6M2S.js → run-DqBQ-bGn.js} +1230 -140
  328. package/dist/{run-main-Cxmjk1SF.js → run-main-DGDW0fhx.js} +51 -50
  329. package/dist/{runtime-guard-cBL2D5J8.js → runtime-guard-D14Z_QY6.js} +1 -1
  330. package/dist/{sandbox-DDOFuJU9.js → sandbox-D-N7M7lp.js} +2 -2
  331. package/dist/{sandbox-cli-GhcxR1Va.js → sandbox-cli-CQKz2I1X.js} +9 -9
  332. package/dist/{sandbox-cli-CGJvhJ4L.js → sandbox-cli-DHNFlTo-.js} +23 -23
  333. package/dist/{sandbox-B8Nza4lP.js → sandbox-pBHlfFdB.js} +6 -6
  334. package/dist/{security-cli-B7VIDDSL.js → security-cli-Bdi7MuP6.js} +14 -22
  335. package/dist/{security-cli-gsyz4Wrw.js → security-cli-C3aI09uy.js} +27 -35
  336. package/dist/{semantic-C3Z-zhNi.js → semantic-9rgWUrz3.js} +1 -1
  337. package/dist/{semantic-CG6X3rBo.js → semantic-C1UN3bb9.js} +1 -1
  338. package/dist/{semantic-DCd6zBnV.js → semantic-CQApJNO_.js} +1 -1
  339. package/dist/{server-context-Dkz4Ce8z.js → server-context-Clykq0XU.js} +1 -1
  340. package/dist/{server-context-BlJi7pjP.js → server-context-Yx4pgBqJ.js} +7 -7
  341. package/dist/{server-node-events-DBOg36in.js → server-node-events-BR1aXVlu.js} +55 -53
  342. package/dist/{server-node-events-CmZXzWcd.js → server-node-events-Ca797E1d.js} +34 -31
  343. package/dist/{service-QlHhVsQf.js → service-Dd1DfPia.js} +1 -1
  344. package/dist/{service-audit-D4xG05j8.js → service-audit-Bwpoc2LD.js} +1 -1
  345. package/dist/{service-audit-BaoBb09i.js → service-audit-KzOtcw_V.js} +3 -3
  346. package/dist/{session-BJ9XCJBg.js → session-5YO_H-Ra.js} +1 -1
  347. package/dist/{session-3MLbl1-K.js → session-BiA6jrcs.js} +1 -1
  348. package/dist/session-C7IGnhd1.js +190 -0
  349. package/dist/{session-KNXzWBht.js → session-CSmfU0D3.js} +1 -1
  350. package/dist/{session-CqKJvPTq.js → session-DLevr8Vd.js} +5 -5
  351. package/dist/session-DfsMJNG3.js +190 -0
  352. package/dist/{session-TAOVpONo.js → session-FmXsucR7.js} +2 -2
  353. package/dist/{session-cost-usage-BamtB1rn.js → session-cost-usage-BWqR-ik6.js} +1 -1
  354. package/dist/{sessions-C2th3rm6.js → sessions-BOzeFzuL.js} +12 -22
  355. package/dist/{sessions-1XK2mH6L.js → sessions-C_3wTmSA.js} +9 -19
  356. package/dist/{sessions-BrQHxX_o.js → sessions-Dj7_4mkr.js} +4 -4
  357. package/dist/{settings-cli-CCtkuc1r.js → settings-cli-DxNeu6kx.js} +79 -77
  358. package/dist/{settings-cli-Ccizggz2.js → settings-cli-Dytfop1H.js} +50 -49
  359. package/dist/{setup-token-Dqtgnjxw.js → setup-token-B802CZwe.js} +13 -18
  360. package/dist/{setup-token-Bcer2kX8.js → setup-token-DYh2QzJ-.js} +29 -34
  361. package/dist/{shared-Hnu5dChj.js → shared-C-rqLtIT.js} +2 -2
  362. package/dist/{shell-env-KRrv3dPW.js → shell-env-CMI9f7-7.js} +1 -1
  363. package/dist/{shell-env-B4ae4lFh.js → shell-env-HkVWMh--.js} +1 -1
  364. package/dist/{shell-env-PnmcBTp4.js → shell-env-iPnSIi-t.js} +1 -1
  365. package/dist/{skills-CQoUYlGu.js → skills-4v6-kw0C.js} +3 -3
  366. package/dist/{skills-cli-DQuLxQUM.js → skills-cli-BoasNTpZ.js} +15 -15
  367. package/dist/{skills-cli-CNNy0FxN.js → skills-cli-TeAq3fRG.js} +3 -3
  368. package/dist/{skills-install-2DbC1Yo2.js → skills-install-D6_qpRjW.js} +7 -7
  369. package/dist/{skills-install-CE6djAWL.js → skills-install-Qw2oU8L8.js} +2 -2
  370. package/dist/{skills-status-ybjSmiHu.js → skills-status-CvH7AUoY.js} +4 -4
  371. package/dist/{soul-Bt57OdSx.js → soul-BiIdv3Wp.js} +125 -5
  372. package/dist/{soul-DFeEGG5h.js → soul-Bt8UNmTq.js} +126 -5
  373. package/dist/{soul-CwWWw7cs.js → soul-D9k5zulC.js} +2 -2
  374. package/dist/{soul-Bru-rRjk.js → soul-DQSYs-4l.js} +1 -1
  375. package/dist/{sqlite-BTcAhNls.js → sqlite-BMMt7osH.js} +2 -2
  376. package/dist/{sqlite-ClLAW1iQ.js → sqlite-CZ1vD4VS.js} +4 -4
  377. package/dist/{sqlite-CLZ1eR5Q.js → sqlite-CpAJt-JS.js} +1 -1
  378. package/dist/{start-DfC7PlAH.js → start-BqnPia0t.js} +66 -63
  379. package/dist/start-C3fuLzX0.js +157 -0
  380. package/dist/{status-BVAoIQ0V.js → status-CHGNPonc.js} +26 -44
  381. package/dist/{status-BU6h4wUP.js → status-CxF6k_jr.js} +2 -2
  382. package/dist/{status-C9B6cEM0.js → status-DfZJJqNs.js} +15 -15
  383. package/dist/{status-BaEcHPtc.js → status-tLgozFYL.js} +4 -4
  384. package/dist/{status.update-CbIRaeaV.js → status.update-B6Tdpk07.js} +2 -2
  385. package/dist/{status.update-CPACVnCc.js → status.update-E9dSFk_b.js} +1 -1
  386. package/dist/{subagent-registry-MZIxVf8W.js → subagent-registry-CPtElVX0.js} +807 -348
  387. package/dist/{subsystem-BMsbqSb4.js → subsystem-BAADN1B8.js} +18 -27
  388. package/dist/{subsystem-CucjNlOk.js → subsystem-D-Xta-sj.js} +17 -26
  389. package/dist/{subsystem-DA3Cno1i.js → subsystem-D1AJZPgG.js} +38 -47
  390. package/dist/{system-cli-BKicxULp.js → system-cli-CP7JrhR0.js} +15 -15
  391. package/dist/{system-cli-Unb-WFAR.js → system-cli-DoLzi2Sn.js} +8 -8
  392. package/dist/{systemd-5KGZ3NHE.js → systemd-Bx76sJ3M.js} +2 -2
  393. package/dist/{systemd-linger-B-uyzDap.js → systemd-linger-BVwGXVS0.js} +2 -2
  394. package/dist/{systemd-linger-CS_pA1-a.js → systemd-linger-CxGmIy_5.js} +1 -1
  395. package/dist/{table-CdHBo5d1.js → table-Blmz7glr.js} +2 -2
  396. package/dist/{tokens-DGhK0fpG.js → tokens-SP2Q7i59.js} +1 -1
  397. package/dist/{tool-images-DK97edts.js → tool-images-2qproko3.js} +2 -2
  398. package/dist/{tool-images-Dq55i0mz.js → tool-images-C6cKHTbj.js} +2 -2
  399. package/dist/{tool-images-J0rGmoDV.js → tool-images-CgDT0Xzv.js} +2 -2
  400. package/dist/{tui-Bm8FEW0b.js → tui-C2eLfbhA.js} +5 -5
  401. package/dist/{tui-cli-BGjsxGle.js → tui-cli-BgcbCtgc.js} +12 -12
  402. package/dist/{tui-cli-TwCYv-a7.js → tui-cli-cLSYBQu9.js} +27 -27
  403. package/dist/{tui-DtGKiHUr.js → tui-r4qpJhNk.js} +10 -10
  404. package/dist/{update-Dfi92PZJ.js → update-CqKpX3cX.js} +3 -3
  405. package/dist/{update-Dle5MRUz.js → update-DA91za97.js} +1 -1
  406. package/dist/{update-cli-QMVW2eiR.js → update-cli-BuCw75tM.js} +87 -85
  407. package/dist/{update-cli-D1e-DsWy.js → update-cli-C-er5av6.js} +55 -54
  408. package/dist/{update-runner-DPmSGXS3.js → update-runner-czCqHZCu.js} +5 -5
  409. package/dist/{update-runner-iLJQF6VA.js → update-runner-kE8AMQt4.js} +1 -1
  410. package/dist/{utils-B60lF9Wq.js → utils-CLYlhJuc.js} +1 -1
  411. package/dist/{web-DJRRkHG8.js → web-BHGK5GtV.js} +24 -24
  412. package/dist/web-CyYunanU.js +65 -0
  413. package/dist/{web-DDAkSrtZ.js → web-DvTXV-fo.js} +35 -34
  414. package/dist/{web-DBQRQY6n.js → web-so3pGceM.js} +27 -27
  415. package/dist/{webhooks-cli-Cg0F2mU6.js → webhooks-cli-k3QMf7Rs.js} +4 -4
  416. package/dist/{webhooks-cli-BsWx7MgH.js → webhooks-cli-vlEfXEKm.js} +12 -12
  417. package/dist/{whatsapp-actions-gpz6-vPI.js → whatsapp-actions-6fPRKwPV.js} +11 -11
  418. package/dist/{whatsapp-actions-DJpQVKnT.js → whatsapp-actions-BJn-z76S.js} +17 -17
  419. package/dist/{whatsapp-actions-tWRWRZ4X.js → whatsapp-actions-C0tlEdLy.js} +5 -5
  420. package/dist/{whatsapp-actions-CMEP8v3k.js → whatsapp-actions-Hr-W8vjY.js} +13 -13
  421. package/dist/{widearea-dns-BDtWuGCY.js → widearea-dns-CHAT20aR.js} +1 -1
  422. package/dist/{workspace-BQkffCaR.js → workspace-BFIZCnGo.js} +5 -5
  423. package/dist/{ws-log-Bc4grA6W.js → ws-log-CUobU2tD.js} +1 -1
  424. package/package.json +1 -1
  425. package/templates/profiles/nox.profile.json5 +5 -5
  426. package/dist/cli--Gal7v4I.js +0 -101
  427. package/dist/config-cli-cyvL43DG.js +0 -15
  428. package/dist/control-ui/assets/index-B7CJLRZD.css +0 -1
  429. package/dist/control-ui/assets/index-DLPYIcs0.js +0 -58
  430. package/dist/control-ui/assets/index-DLPYIcs0.js.map +0 -1
  431. package/dist/deps-CeyVMZf1.js +0 -13
  432. package/dist/models-ByeH7ZKb.js +0 -1350
  433. package/dist/register.configure-3GfqcGLK.js +0 -105
  434. package/dist/register.maintenance-YZDsMymb.js +0 -100
  435. package/dist/register.onboard-Dswys-iV.js +0 -126
  436. package/dist/start-BPye9w5U.js +0 -154
  437. package/dist/web-DE-hmqXy.js +0 -64
  438. /package/dist/{BasicParser-BiEpjka-.js → BasicParser-D4BHCxVb.js} +0 -0
  439. /package/dist/{agents.config-DibGEnBs.js → agents.config-Br4ULmK0.js} +0 -0
  440. /package/dist/{archive-BIKRyvqD.js → archive-CNqghdwQ.js} +0 -0
  441. /package/dist/{archive-5e-Ytlq-.js → archive-D-dHRz-v.js} +0 -0
  442. /package/dist/{argv-B6vsXQtF.js → argv-nNQ109_K.js} +0 -0
  443. /package/dist/{auth-store-Vfd6oc1G.js → auth-store-BEfSfCbW.js} +0 -0
  444. /package/dist/{auto-update-BUbllW1X.js → auto-update-Cvd8YJrT.js} +0 -0
  445. /package/dist/{auto-update-DdH8fo63.js → auto-update-DO4nHkfM.js} +0 -0
  446. /package/dist/{brew-Bkf_MwX9.js → brew-DHWnVWm3.js} +0 -0
  447. /package/dist/{budget-CV0a771W.js → budget-DvjICb0t.js} +0 -0
  448. /package/dist/{budget-GiXjG9eW.js → budget-e0R5xsU3.js} +0 -0
  449. /package/dist/{command-options-DfPEZwUK.js → command-options-DtJ8-EC7.js} +0 -0
  450. /package/dist/{command-options-mgpP-XId.js → command-options-eC-m_qJx.js} +0 -0
  451. /package/dist/{delivery-queue-DGnDKL02.js → delivery-queue-BKQk1j0k.js} +0 -0
  452. /package/dist/{delivery-queue-DZ_ibFDu.js → delivery-queue-CExaJXRz.js} +0 -0
  453. /package/dist/{display-BwSYYxVE.js → display-4p3-O9mP.js} +0 -0
  454. /package/dist/{display-Dck2kudh.js → display-Bo8pBhMp.js} +0 -0
  455. /package/dist/{exec-approvals-BJikgQkX.js → exec-approvals-DK5-KCUz.js} +0 -0
  456. /package/dist/{format-wiLVr0D3.js → format-9DMvWYUJ.js} +0 -0
  457. /package/dist/{format-duration-C5oKCGwB.js → format-duration-CnGkTPRF.js} +0 -0
  458. /package/dist/{gmail-setup-utils-CR33Gqfc.js → gmail-setup-utils-BIXtKTpT.js} +0 -0
  459. /package/dist/{help-format-DJx5Rwy2.js → help-format-ZKxl6UCb.js} +0 -0
  460. /package/dist/{helpers-8O7IVGO-.js → helpers-CWQnEONe.js} +0 -0
  461. /package/dist/{hooks-status-DiqubDlK.js → hooks-status-DqfJDvYl.js} +0 -0
  462. /package/dist/{ipv4-BYbwrpG-.js → ipv4-CExV55ho.js} +0 -0
  463. /package/dist/{is-main-BnikY3ud.js → is-main-H-hpHkdq.js} +0 -0
  464. /package/dist/{lib-D1DXSMt_.js → lib-D0_kW-B6.js} +0 -0
  465. /package/dist/{links-3c7gzW-G.js → links-BjjDMNIq.js} +0 -0
  466. /package/dist/{logging-Bpf6Cepz.js → logging-DWwOqnTW.js} +0 -0
  467. /package/dist/{logging-DcXIbpwk.js → logging-_rCcBkls.js} +0 -0
  468. /package/dist/{model-param-b-BcBBSgiD.js → model-param-b-2KmFir_0.js} +0 -0
  469. /package/dist/{node-service-BDlDNv3t.js → node-service-cOoW5hLa.js} +0 -0
  470. /package/dist/{note-BaOKDvcy.js → note-CeLGcHqv.js} +0 -0
  471. /package/dist/{noxsoft-auth-Bmict45b.js → noxsoft-auth-CE75mBXE.js} +0 -0
  472. /package/dist/{noxsoft-auth-DpwLJIW0.js → noxsoft-auth-CgCk5707.js} +0 -0
  473. /package/dist/{pi-model-discovery-ClWISQ3j.js → pi-model-discovery-Bu4Zr7nI.js} +0 -0
  474. /package/dist/{ports-aNJUI3Mi.js → ports-BGLuwt2Z.js} +0 -0
  475. /package/dist/{progress-Dj2aBWOI.js → progress-glCgu57m.js} +0 -0
  476. /package/dist/{qmd-manager-DrDX4o7e.js → qmd-manager-CO795NK4.js} +0 -0
  477. /package/dist/{queue-B77yV52t.js → queue-DDq0uzy5.js} +0 -0
  478. /package/dist/{queue-wFYwitx0.js → queue-DtQ5sbyD.js} +0 -0
  479. /package/dist/{registry-gaRST__4.js → registry-BvymIcVf.js} +0 -0
  480. /package/dist/{registry-Cv8RtADU.js → registry-DwaHkd_j.js} +0 -0
  481. /package/dist/{requirements-CEowKaVY.js → requirements-Ct4XnMiK.js} +0 -0
  482. /package/dist/{skill-scanner-DGoUYV22.js → skill-scanner-5_Y3u6SU.js} +0 -0
  483. /package/dist/{skill-scanner-FO7SyxAD.js → skill-scanner-Dld2ijVw.js} +0 -0
  484. /package/dist/{templates-D-h5PNIK.js → templates-4_And8I_.js} +0 -0
  485. /package/dist/{templates-ndPXOyGA.js → templates-5Z-UIDze.js} +0 -0
  486. /package/dist/{types-DSS9sywz.js → types-BQk_oAin.js} +0 -0
  487. /package/dist/{usage-format-BtlQ-77V.js → usage-format-BSa7cHyK.js} +0 -0
  488. /package/dist/{ws-log-BA9w1cJs.js → ws-log-CG6cvCZW.js} +0 -0
@@ -1,11 +1,11 @@
1
1
  import { i as __toESM, t as __commonJSMin } from "./chunk-BXK9XSlF.js";
2
- import { A as textDecode, a as UnsupportedFileTypeError, c as require_src, i as InternalParserError, n as CouldNotDetermineFileTypeError, o as makeParseError, r as FieldDecodingError, s as makeUnexpectedFileContentError, w as UINT32_LE } from "./BasicParser-BiEpjka-.js";
3
- import { n as fromStream, r as fromBuffer, t as fromFile } from "./lib-D1DXSMt_.js";
4
- import { l as toRatio, n as decodeString } from "./Util-DDVY6AaC.js";
5
- import { c as TimestampFormat, i as LyricsContentType } from "./ID3v2Token-DQqGh8AB.js";
6
- import { t as APEv2Parser } from "./APEv2Parser-DV7AH14P.js";
7
- import { r as hasID3v1Header } from "./ID3v1Parser-DL9AGlNt.js";
8
- import { n as TrackType, r as TrackTypeValueToKeyMap } from "./types-DSS9sywz.js";
2
+ import { A as textDecode, a as UnsupportedFileTypeError, c as require_src, i as InternalParserError, n as CouldNotDetermineFileTypeError, o as makeParseError, r as FieldDecodingError, s as makeUnexpectedFileContentError, w as UINT32_LE } from "./BasicParser-D4BHCxVb.js";
3
+ import { n as fromStream, r as fromBuffer, t as fromFile } from "./lib-D0_kW-B6.js";
4
+ import { l as toRatio, n as decodeString } from "./Util-BRZxoY1Q.js";
5
+ import { c as TimestampFormat, i as LyricsContentType } from "./ID3v2Token-CSLSVrSQ.js";
6
+ import { t as APEv2Parser } from "./APEv2Parser-Dvsbp_2R.js";
7
+ import { r as hasID3v1Header } from "./ID3v1Parser-B494XuP9.js";
8
+ import { n as TrackType, r as TrackTypeValueToKeyMap } from "./types-BQk_oAin.js";
9
9
  import { fileTypeFromBuffer } from "file-type";
10
10
 
11
11
  //#region node_modules/.pnpm/content-type@1.0.5/node_modules/content-type/index.js
@@ -1577,7 +1577,7 @@ const mpegParserLoader = {
1577
1577
  "audio/aacp"
1578
1578
  ],
1579
1579
  async load() {
1580
- return (await import("./MpegParser-EecSeRWJ.js")).MpegParser;
1580
+ return (await import("./MpegParser-C1gjfYqq.js")).MpegParser;
1581
1581
  }
1582
1582
  };
1583
1583
 
@@ -1588,7 +1588,7 @@ const apeParserLoader = {
1588
1588
  extensions: [".ape"],
1589
1589
  mimeTypes: ["audio/ape", "audio/monkeys-audio"],
1590
1590
  async load() {
1591
- return (await import("./APEv2Parser-DV7AH14P.js").then((n) => n.n)).APEv2Parser;
1591
+ return (await import("./APEv2Parser-Dvsbp_2R.js").then((n) => n.n)).APEv2Parser;
1592
1592
  }
1593
1593
  };
1594
1594
 
@@ -1605,7 +1605,7 @@ const asfParserLoader = {
1605
1605
  "application/vnd.ms-asf"
1606
1606
  ],
1607
1607
  async load() {
1608
- return (await import("./AsfParser-CDCRfCXr.js")).AsfParser;
1608
+ return (await import("./AsfParser-DJEueUMg.js")).AsfParser;
1609
1609
  }
1610
1610
  };
1611
1611
 
@@ -1616,7 +1616,7 @@ const dsdiffParserLoader = {
1616
1616
  extensions: [".dff"],
1617
1617
  mimeTypes: ["audio/dsf", "audio/dsd"],
1618
1618
  async load() {
1619
- return (await import("./DsdiffParser-BX31LICZ.js")).DsdiffParser;
1619
+ return (await import("./DsdiffParser-DXLYn9tT.js")).DsdiffParser;
1620
1620
  }
1621
1621
  };
1622
1622
 
@@ -1636,7 +1636,7 @@ const aiffParserLoader = {
1636
1636
  "application/aiff"
1637
1637
  ],
1638
1638
  async load() {
1639
- return (await import("./AiffParser-DaFyNU8n.js")).AIFFParser;
1639
+ return (await import("./AiffParser-R2IhrBzL.js")).AIFFParser;
1640
1640
  }
1641
1641
  };
1642
1642
 
@@ -1647,7 +1647,7 @@ const dsfParserLoader = {
1647
1647
  extensions: [".dsf"],
1648
1648
  mimeTypes: ["audio/dsf"],
1649
1649
  async load() {
1650
- return (await import("./DsfParser-C3JBjE-C.js")).DsfParser;
1650
+ return (await import("./DsfParser-D2--NF0i.js")).DsfParser;
1651
1651
  }
1652
1652
  };
1653
1653
 
@@ -1658,7 +1658,7 @@ const flacParserLoader = {
1658
1658
  extensions: [".flac"],
1659
1659
  mimeTypes: ["audio/flac"],
1660
1660
  async load() {
1661
- return (await import("./FlacParser-DY4m-7v1.js").then((n) => n.n)).FlacParser;
1661
+ return (await import("./FlacParser-8cDAjrth.js").then((n) => n.n)).FlacParser;
1662
1662
  }
1663
1663
  };
1664
1664
 
@@ -1680,7 +1680,7 @@ const matroskaParserLoader = {
1680
1680
  "video/webm"
1681
1681
  ],
1682
1682
  async load() {
1683
- return (await import("./MatroskaParser-IKjHx0h7.js")).MatroskaParser;
1683
+ return (await import("./MatroskaParser-bNP5wC2F.js")).MatroskaParser;
1684
1684
  }
1685
1685
  };
1686
1686
 
@@ -1708,7 +1708,7 @@ const mp4ParserLoader = {
1708
1708
  "video/quicktime"
1709
1709
  ],
1710
1710
  async load() {
1711
- return (await import("./MP4Parser-DkunlEqI.js")).MP4Parser;
1711
+ return (await import("./MP4Parser-COql2J-w.js")).MP4Parser;
1712
1712
  }
1713
1713
  };
1714
1714
 
@@ -1719,7 +1719,7 @@ const musepackParserLoader = {
1719
1719
  extensions: [".mpc"],
1720
1720
  mimeTypes: ["audio/musepack"],
1721
1721
  async load() {
1722
- return (await import("./MusepackParser-CkfsAeuE.js")).MusepackParser;
1722
+ return (await import("./MusepackParser-DBdYf7kV.js")).MusepackParser;
1723
1723
  }
1724
1724
  };
1725
1725
 
@@ -1743,7 +1743,7 @@ const oggParserLoader = {
1743
1743
  "video/ogg"
1744
1744
  ],
1745
1745
  async load() {
1746
- return (await import("./OggParser-z3QlSd8U.js")).OggParser;
1746
+ return (await import("./OggParser-CxajqbK3.js")).OggParser;
1747
1747
  }
1748
1748
  };
1749
1749
 
@@ -1754,7 +1754,7 @@ const wavpackParserLoader = {
1754
1754
  extensions: [".wv", ".wvp"],
1755
1755
  mimeTypes: ["audio/wavpack"],
1756
1756
  async load() {
1757
- return (await import("./WavPackParser-PimUUBRx.js")).WavPackParser;
1757
+ return (await import("./WavPackParser-CtH9QFia.js")).WavPackParser;
1758
1758
  }
1759
1759
  };
1760
1760
 
@@ -1773,7 +1773,7 @@ const riffParserLoader = {
1773
1773
  "audio/wave"
1774
1774
  ],
1775
1775
  async load() {
1776
- return (await import("./WaveParser-B539YtoQ.js")).WaveParser;
1776
+ return (await import("./WaveParser-yufLki1G.js")).WaveParser;
1777
1777
  }
1778
1778
  };
1779
1779
 
@@ -1,11 +1,11 @@
1
1
  import { d as resolveIsNixMode } from "./paths-zhVksOvm.js";
2
- import { W as getResolvedLoggerSettings, d as defaultRuntime } from "./subsystem-BMsbqSb4.js";
2
+ import { W as getResolvedLoggerSettings, d as defaultRuntime } from "./subsystem-BAADN1B8.js";
3
3
  import { t as formatCliCommand } from "./command-format-BCtkuvqF.js";
4
4
  import { c as pickPrimaryLanIPv4 } from "./ws-BapRHqfx.js";
5
5
  import { d as resolveGatewaySystemdServiceName, f as resolveGatewayWindowsTaskName, l as resolveGatewayLaunchAgentLabel } from "./constants-CSst6nb5.js";
6
6
  import { t as isWSL } from "./wsl-jdLWdiKy.js";
7
- import { r as isSystemdUserServiceAvailable } from "./systemd-5KGZ3NHE.js";
8
- import { s as resolveGatewayLogPaths } from "./service-QlHhVsQf.js";
7
+ import { r as isSystemdUserServiceAvailable } from "./systemd-Bx76sJ3M.js";
8
+ import { s as resolveGatewayLogPaths } from "./service-Dd1DfPia.js";
9
9
  import { n as renderSystemdUnavailableHints } from "./systemd-hints-C4LpThLO.js";
10
10
  import { t as parsePort } from "./parse-port-CDPwDUs3.js";
11
11
  import { Writable } from "node:stream";
@@ -1,4 +1,4 @@
1
- import { u as formatTerminalLink } from "./utils-B60lF9Wq.js";
1
+ import { u as formatTerminalLink } from "./utils-CLYlhJuc.js";
2
2
 
3
3
  //#region src/terminal/links.ts
4
4
  const DOCS_ROOT = "https://docs.noxsoft.net/anima";
@@ -1,29 +1,29 @@
1
- import "./paths-D2eokayo.js";
2
- import "./workspace-BQkffCaR.js";
3
- import "./subsystem-DA3Cno1i.js";
4
- import "./exec-Bfd4ztFZ.js";
5
- import { c as resolveDefaultAgentId, r as resolveAgentDir, s as resolveAgentWorkspaceDir } from "./agent-scope-BZ8hjIt_.js";
6
- import "./deliver-D2hQZ9X0.js";
7
- import { t as runEmbeddedPiAgent } from "./pi-embedded-DifnZvKk.js";
8
- import "./config-6FVC8hW0.js";
1
+ import "./paths-B-AkG5FD.js";
2
+ import "./workspace-BFIZCnGo.js";
3
+ import "./subsystem-D1AJZPgG.js";
4
+ import "./exec-DUzVF5_D.js";
5
+ import { c as resolveDefaultAgentId, r as resolveAgentDir, s as resolveAgentWorkspaceDir } from "./agent-scope-CxBzAozu.js";
6
+ import "./deliver-d-CaN0uL.js";
7
+ import { t as runNoxSoftEmbeddedAgent } from "./pi-embedded-DfbM3fAT.js";
8
+ import "./config-CweTwOtr.js";
9
9
  import "./boolean-Ce2-qkSB.js";
10
- import "./shell-env-B4ae4lFh.js";
11
- import "./model-selection-BI8CKPwQ.js";
12
- import "./chrome-Cfak4A3i.js";
13
- import "./frontmatter-BP4GSt5L.js";
14
- import "./chunk-CyT-_QsQ.js";
15
- import "./paths-Cwszsz1I.js";
16
- import "./tool-images-DK97edts.js";
17
- import "./auth-profiles-eZzmaeR3.js";
18
- import "./manager-A3pC-CW-.js";
19
- import "./sqlite-ClLAW1iQ.js";
20
- import "./session-3MLbl1-K.js";
21
- import "./semantic-CG6X3rBo.js";
22
- import "./soul-Bt57OdSx.js";
23
- import "./common-BzPvZcxT.js";
24
- import "./active-listener-GJR3nLhX.js";
10
+ import "./shell-env-HkVWMh--.js";
11
+ import "./model-selection-DjsJGv1R.js";
12
+ import "./chrome-DLUBPBPz.js";
13
+ import "./frontmatter-Dsa7N963.js";
14
+ import "./chunk-B4Kx-ocg.js";
15
+ import "./paths-Q6h5HODL.js";
16
+ import "./tool-images-2qproko3.js";
17
+ import "./auth-profiles-DtWUl1-k.js";
18
+ import "./manager-b_aZwo00.js";
19
+ import "./sqlite-CZ1vD4VS.js";
20
+ import "./session-BiA6jrcs.js";
21
+ import "./semantic-C1UN3bb9.js";
22
+ import "./soul-Bt8UNmTq.js";
23
+ import "./common-Bf_TG87Y.js";
24
+ import "./active-listener-D2r8IO7g.js";
25
25
  import "./pi-model-discovery-62lQTR6C.js";
26
- import "./auth-store-CnRrUELz.js";
26
+ import "./auth-store-Bd0GoqEL.js";
27
27
  import fs from "node:fs/promises";
28
28
  import os from "node:os";
29
29
  import path from "node:path";
@@ -49,7 +49,7 @@ Conversation summary:
49
49
  ${params.sessionContent.slice(0, 2e3)}
50
50
 
51
51
  Reply with ONLY the slug, nothing else. Examples: "vendor-pitch", "api-design", "bug-fix"`;
52
- const result = await runEmbeddedPiAgent({
52
+ const result = await runNoxSoftEmbeddedAgent({
53
53
  sessionId: `slug-generator-${Date.now()}`,
54
54
  sessionKey: "temp:slug-generator",
55
55
  agentId,
@@ -1,10 +1,164 @@
1
1
  import { n as __exportAll } from "./chunk-BXK9XSlF.js";
2
+ import { m as resolveStateDir } from "./paths-zhVksOvm.js";
2
3
  import { fileURLToPath } from "node:url";
3
4
  import { existsSync } from "node:fs";
4
5
  import { homedir } from "node:os";
5
- import { join } from "node:path";
6
- import { readFile, readdir } from "node:fs/promises";
6
+ import path, { join } from "node:path";
7
+ import fs$1, { readFile, readdir } from "node:fs/promises";
8
+ import { randomUUID } from "node:crypto";
7
9
 
10
+ //#region src/infra/pairing-files.ts
11
+ function resolvePairingPaths(baseDir, subdir) {
12
+ const root = baseDir ?? resolveStateDir();
13
+ const dir = path.join(root, subdir);
14
+ return {
15
+ dir,
16
+ pendingPath: path.join(dir, "pending.json"),
17
+ pairedPath: path.join(dir, "paired.json")
18
+ };
19
+ }
20
+ async function readJsonFile(filePath) {
21
+ try {
22
+ const raw = await fs$1.readFile(filePath, "utf8");
23
+ return JSON.parse(raw);
24
+ } catch {
25
+ return null;
26
+ }
27
+ }
28
+ async function writeJsonAtomic(filePath, value) {
29
+ const dir = path.dirname(filePath);
30
+ await fs$1.mkdir(dir, { recursive: true });
31
+ const tmp = `${filePath}.${randomUUID()}.tmp`;
32
+ await fs$1.writeFile(tmp, JSON.stringify(value, null, 2), "utf8");
33
+ try {
34
+ await fs$1.chmod(tmp, 384);
35
+ } catch {}
36
+ await fs$1.rename(tmp, filePath);
37
+ try {
38
+ await fs$1.chmod(filePath, 384);
39
+ } catch {}
40
+ }
41
+ function pruneExpiredPending(pendingById, nowMs, ttlMs) {
42
+ for (const [id, req] of Object.entries(pendingById)) if (nowMs - req.ts > ttlMs) delete pendingById[id];
43
+ }
44
+ function createAsyncLock() {
45
+ let lock = Promise.resolve();
46
+ return async function withLock(fn) {
47
+ const prev = lock;
48
+ let release;
49
+ lock = new Promise((resolve) => {
50
+ release = resolve;
51
+ });
52
+ await prev;
53
+ try {
54
+ return await fn();
55
+ } finally {
56
+ release?.();
57
+ }
58
+ };
59
+ }
60
+
61
+ //#endregion
62
+ //#region src/identity/trust-graph.ts
63
+ const DEFAULT_TRUST_GRAPH = {
64
+ version: 1,
65
+ people: []
66
+ };
67
+ function clampUnit(value, fallback) {
68
+ if (typeof value !== "number" || !Number.isFinite(value)) return fallback;
69
+ return Math.max(0, Math.min(1, value));
70
+ }
71
+ function normalizeList(values) {
72
+ if (!Array.isArray(values)) return;
73
+ const normalized = [...new Set(values.map((value) => value.trim()).filter(Boolean))];
74
+ return normalized.length > 0 ? normalized : void 0;
75
+ }
76
+ function normalizePerson(person) {
77
+ const name = person.name.trim();
78
+ return {
79
+ id: person.id.trim() || name.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-|-$/g, ""),
80
+ name,
81
+ aliases: normalizeList(person.aliases),
82
+ relationship: person.relationship,
83
+ trust: clampUnit(person.trust, .5),
84
+ roles: normalizeList(person.roles),
85
+ location: person.location?.trim() || void 0,
86
+ notes: person.notes?.trim() || void 0,
87
+ lastInteractedAt: typeof person.lastInteractedAt === "number" && Number.isFinite(person.lastInteractedAt) ? person.lastInteractedAt : void 0,
88
+ updatedAt: Number.isFinite(person.updatedAt) ? person.updatedAt : Date.now()
89
+ };
90
+ }
91
+ function normalizeTrustGraph(graph) {
92
+ if (!graph || !Array.isArray(graph.people)) return DEFAULT_TRUST_GRAPH;
93
+ return {
94
+ version: 1,
95
+ people: graph.people.map((person) => normalizePerson(person)).filter((person) => person.id && person.name).toSorted((left, right) => {
96
+ if (right.trust !== left.trust) return right.trust - left.trust;
97
+ const rightRecent = right.lastInteractedAt ?? 0;
98
+ const leftRecent = left.lastInteractedAt ?? 0;
99
+ if (rightRecent !== leftRecent) return rightRecent - leftRecent;
100
+ return left.name.localeCompare(right.name);
101
+ })
102
+ };
103
+ }
104
+ function resolveTrustGraphPath(stateDir = resolveStateDir()) {
105
+ return path.join(stateDir, "identity", "who_is_whom_and_where.json");
106
+ }
107
+ async function loadTrustGraph(stateDir = resolveStateDir()) {
108
+ return normalizeTrustGraph(await readJsonFile(resolveTrustGraphPath(stateDir)));
109
+ }
110
+ async function saveTrustGraph(graph, stateDir = resolveStateDir()) {
111
+ await writeJsonAtomic(resolveTrustGraphPath(stateDir), normalizeTrustGraph(graph));
112
+ }
113
+ async function readTrustGraphSnapshot(stateDir = resolveStateDir()) {
114
+ const graph = await loadTrustGraph(stateDir);
115
+ return {
116
+ path: resolveTrustGraphPath(stateDir),
117
+ people: graph.people
118
+ };
119
+ }
120
+ function formatRelativeTime(timestamp) {
121
+ if (!timestamp || !Number.isFinite(timestamp)) return;
122
+ const elapsedMs = Math.max(0, Date.now() - timestamp);
123
+ const elapsedDays = Math.floor(elapsedMs / 864e5);
124
+ if (elapsedDays <= 0) return "today";
125
+ if (elapsedDays === 1) return "1 day ago";
126
+ if (elapsedDays < 30) return `${elapsedDays} days ago`;
127
+ const elapsedMonths = Math.floor(elapsedDays / 30);
128
+ if (elapsedMonths === 1) return "1 month ago";
129
+ return `${elapsedMonths} months ago`;
130
+ }
131
+ function summarizePerson(person) {
132
+ const facts = [];
133
+ facts.push(`relationship=${person.relationship}`);
134
+ facts.push(`trust=${person.trust.toFixed(2)}`);
135
+ if (person.roles?.length) facts.push(`roles=${person.roles.join(", ")}`);
136
+ if (person.location) facts.push(`location=${person.location}`);
137
+ if (person.aliases?.length) facts.push(`aliases=${person.aliases.join(", ")}`);
138
+ const relativeTime = formatRelativeTime(person.lastInteractedAt);
139
+ if (relativeTime) facts.push(`last_interaction=${relativeTime}`);
140
+ const summary = [`- ${person.name} (${person.id})`, facts.join("; ")].filter(Boolean).join(" — ");
141
+ if (!person.notes) return summary;
142
+ return `${summary}\n notes: ${person.notes}`;
143
+ }
144
+ function summarizeTrustGraph(graph, options = {}) {
145
+ const maxPeople = Math.max(1, options.maxPeople ?? 8);
146
+ if (graph.people.length === 0) return "";
147
+ return [
148
+ "# People And Trust Context",
149
+ "",
150
+ "Source: ~/.anima/identity/who_is_whom_and_where.json",
151
+ "Use this as trusted operator-maintained context for who people are, how to relate to them, and what continuity matters.",
152
+ "",
153
+ "## Known People",
154
+ graph.people.slice(0, maxPeople).map((person) => summarizePerson(person)).join("\n")
155
+ ].join("\n");
156
+ }
157
+ async function loadTrustGraphDigest(options = {}) {
158
+ return summarizeTrustGraph(await loadTrustGraph(options.stateDir), { maxPeople: options.maxPeople });
159
+ }
160
+
161
+ //#endregion
8
162
  //#region src/identity/loader.ts
9
163
  /**
10
164
  * Identity Loader — reads the 7-component anatomy from ~/.anima/soul/
@@ -191,6 +345,7 @@ async function loadIdentity() {
191
345
  loadedFrom[component] = result.source;
192
346
  }
193
347
  const importantHistory = await loadImportantHistoryDigest();
348
+ const trustContext = await loadTrustGraphDigest();
194
349
  const memory = mergeImportantHistoryIntoMemory(components["memory"], importantHistory);
195
350
  return {
196
351
  soul: components["soul"],
@@ -201,6 +356,7 @@ async function loadIdentity() {
201
356
  shadow: components["shadow"],
202
357
  memory,
203
358
  importantHistory,
359
+ trustContext,
204
360
  loadedFrom,
205
361
  loadedAt: /* @__PURE__ */ new Date()
206
362
  };
@@ -214,4 +370,4 @@ async function loadSingleComponent(component) {
214
370
  }
215
371
 
216
372
  //#endregion
217
- export { loader_exports as i, loadIdentity as n, loadSingleComponent as r, IDENTITY_COMPONENTS as t };
373
+ export { readTrustGraphSnapshot as a, pruneExpiredPending as c, writeJsonAtomic as d, loader_exports as i, readJsonFile as l, loadIdentity as n, saveTrustGraph as o, loadSingleComponent as r, createAsyncLock as s, IDENTITY_COMPONENTS as t, resolvePairingPaths as u };
@@ -1,10 +1,164 @@
1
1
  import { n as __exportAll } from "./chunk-BXK9XSlF.js";
2
+ import { $ as resolveStateDir } from "./entry.js";
2
3
  import { homedir } from "node:os";
3
- import { join } from "node:path";
4
+ import path, { join } from "node:path";
4
5
  import { existsSync } from "node:fs";
5
- import { readFile, readdir } from "node:fs/promises";
6
+ import fs$1, { readFile, readdir } from "node:fs/promises";
6
7
  import { fileURLToPath } from "node:url";
8
+ import { randomUUID } from "node:crypto";
7
9
 
10
+ //#region src/infra/pairing-files.ts
11
+ function resolvePairingPaths(baseDir, subdir) {
12
+ const root = baseDir ?? resolveStateDir();
13
+ const dir = path.join(root, subdir);
14
+ return {
15
+ dir,
16
+ pendingPath: path.join(dir, "pending.json"),
17
+ pairedPath: path.join(dir, "paired.json")
18
+ };
19
+ }
20
+ async function readJsonFile(filePath) {
21
+ try {
22
+ const raw = await fs$1.readFile(filePath, "utf8");
23
+ return JSON.parse(raw);
24
+ } catch {
25
+ return null;
26
+ }
27
+ }
28
+ async function writeJsonAtomic(filePath, value) {
29
+ const dir = path.dirname(filePath);
30
+ await fs$1.mkdir(dir, { recursive: true });
31
+ const tmp = `${filePath}.${randomUUID()}.tmp`;
32
+ await fs$1.writeFile(tmp, JSON.stringify(value, null, 2), "utf8");
33
+ try {
34
+ await fs$1.chmod(tmp, 384);
35
+ } catch {}
36
+ await fs$1.rename(tmp, filePath);
37
+ try {
38
+ await fs$1.chmod(filePath, 384);
39
+ } catch {}
40
+ }
41
+ function pruneExpiredPending(pendingById, nowMs, ttlMs) {
42
+ for (const [id, req] of Object.entries(pendingById)) if (nowMs - req.ts > ttlMs) delete pendingById[id];
43
+ }
44
+ function createAsyncLock() {
45
+ let lock = Promise.resolve();
46
+ return async function withLock(fn) {
47
+ const prev = lock;
48
+ let release;
49
+ lock = new Promise((resolve) => {
50
+ release = resolve;
51
+ });
52
+ await prev;
53
+ try {
54
+ return await fn();
55
+ } finally {
56
+ release?.();
57
+ }
58
+ };
59
+ }
60
+
61
+ //#endregion
62
+ //#region src/identity/trust-graph.ts
63
+ const DEFAULT_TRUST_GRAPH = {
64
+ version: 1,
65
+ people: []
66
+ };
67
+ function clampUnit(value, fallback) {
68
+ if (typeof value !== "number" || !Number.isFinite(value)) return fallback;
69
+ return Math.max(0, Math.min(1, value));
70
+ }
71
+ function normalizeList(values) {
72
+ if (!Array.isArray(values)) return;
73
+ const normalized = [...new Set(values.map((value) => value.trim()).filter(Boolean))];
74
+ return normalized.length > 0 ? normalized : void 0;
75
+ }
76
+ function normalizePerson(person) {
77
+ const name = person.name.trim();
78
+ return {
79
+ id: person.id.trim() || name.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-|-$/g, ""),
80
+ name,
81
+ aliases: normalizeList(person.aliases),
82
+ relationship: person.relationship,
83
+ trust: clampUnit(person.trust, .5),
84
+ roles: normalizeList(person.roles),
85
+ location: person.location?.trim() || void 0,
86
+ notes: person.notes?.trim() || void 0,
87
+ lastInteractedAt: typeof person.lastInteractedAt === "number" && Number.isFinite(person.lastInteractedAt) ? person.lastInteractedAt : void 0,
88
+ updatedAt: Number.isFinite(person.updatedAt) ? person.updatedAt : Date.now()
89
+ };
90
+ }
91
+ function normalizeTrustGraph(graph) {
92
+ if (!graph || !Array.isArray(graph.people)) return DEFAULT_TRUST_GRAPH;
93
+ return {
94
+ version: 1,
95
+ people: graph.people.map((person) => normalizePerson(person)).filter((person) => person.id && person.name).toSorted((left, right) => {
96
+ if (right.trust !== left.trust) return right.trust - left.trust;
97
+ const rightRecent = right.lastInteractedAt ?? 0;
98
+ const leftRecent = left.lastInteractedAt ?? 0;
99
+ if (rightRecent !== leftRecent) return rightRecent - leftRecent;
100
+ return left.name.localeCompare(right.name);
101
+ })
102
+ };
103
+ }
104
+ function resolveTrustGraphPath(stateDir = resolveStateDir()) {
105
+ return path.join(stateDir, "identity", "who_is_whom_and_where.json");
106
+ }
107
+ async function loadTrustGraph(stateDir = resolveStateDir()) {
108
+ return normalizeTrustGraph(await readJsonFile(resolveTrustGraphPath(stateDir)));
109
+ }
110
+ async function saveTrustGraph(graph, stateDir = resolveStateDir()) {
111
+ await writeJsonAtomic(resolveTrustGraphPath(stateDir), normalizeTrustGraph(graph));
112
+ }
113
+ async function readTrustGraphSnapshot(stateDir = resolveStateDir()) {
114
+ const graph = await loadTrustGraph(stateDir);
115
+ return {
116
+ path: resolveTrustGraphPath(stateDir),
117
+ people: graph.people
118
+ };
119
+ }
120
+ function formatRelativeTime(timestamp) {
121
+ if (!timestamp || !Number.isFinite(timestamp)) return;
122
+ const elapsedMs = Math.max(0, Date.now() - timestamp);
123
+ const elapsedDays = Math.floor(elapsedMs / 864e5);
124
+ if (elapsedDays <= 0) return "today";
125
+ if (elapsedDays === 1) return "1 day ago";
126
+ if (elapsedDays < 30) return `${elapsedDays} days ago`;
127
+ const elapsedMonths = Math.floor(elapsedDays / 30);
128
+ if (elapsedMonths === 1) return "1 month ago";
129
+ return `${elapsedMonths} months ago`;
130
+ }
131
+ function summarizePerson(person) {
132
+ const facts = [];
133
+ facts.push(`relationship=${person.relationship}`);
134
+ facts.push(`trust=${person.trust.toFixed(2)}`);
135
+ if (person.roles?.length) facts.push(`roles=${person.roles.join(", ")}`);
136
+ if (person.location) facts.push(`location=${person.location}`);
137
+ if (person.aliases?.length) facts.push(`aliases=${person.aliases.join(", ")}`);
138
+ const relativeTime = formatRelativeTime(person.lastInteractedAt);
139
+ if (relativeTime) facts.push(`last_interaction=${relativeTime}`);
140
+ const summary = [`- ${person.name} (${person.id})`, facts.join("; ")].filter(Boolean).join(" — ");
141
+ if (!person.notes) return summary;
142
+ return `${summary}\n notes: ${person.notes}`;
143
+ }
144
+ function summarizeTrustGraph(graph, options = {}) {
145
+ const maxPeople = Math.max(1, options.maxPeople ?? 8);
146
+ if (graph.people.length === 0) return "";
147
+ return [
148
+ "# People And Trust Context",
149
+ "",
150
+ "Source: ~/.anima/identity/who_is_whom_and_where.json",
151
+ "Use this as trusted operator-maintained context for who people are, how to relate to them, and what continuity matters.",
152
+ "",
153
+ "## Known People",
154
+ graph.people.slice(0, maxPeople).map((person) => summarizePerson(person)).join("\n")
155
+ ].join("\n");
156
+ }
157
+ async function loadTrustGraphDigest(options = {}) {
158
+ return summarizeTrustGraph(await loadTrustGraph(options.stateDir), { maxPeople: options.maxPeople });
159
+ }
160
+
161
+ //#endregion
8
162
  //#region src/identity/loader.ts
9
163
  /**
10
164
  * Identity Loader — reads the 7-component anatomy from ~/.anima/soul/
@@ -191,6 +345,7 @@ async function loadIdentity() {
191
345
  loadedFrom[component] = result.source;
192
346
  }
193
347
  const importantHistory = await loadImportantHistoryDigest();
348
+ const trustContext = await loadTrustGraphDigest();
194
349
  const memory = mergeImportantHistoryIntoMemory(components["memory"], importantHistory);
195
350
  return {
196
351
  soul: components["soul"],
@@ -201,6 +356,7 @@ async function loadIdentity() {
201
356
  shadow: components["shadow"],
202
357
  memory,
203
358
  importantHistory,
359
+ trustContext,
204
360
  loadedFrom,
205
361
  loadedAt: /* @__PURE__ */ new Date()
206
362
  };
@@ -214,4 +370,4 @@ async function loadSingleComponent(component) {
214
370
  }
215
371
 
216
372
  //#endregion
217
- export { loader_exports as i, loadIdentity as n, loadSingleComponent as r, IDENTITY_COMPONENTS as t };
373
+ export { readTrustGraphSnapshot as a, pruneExpiredPending as c, writeJsonAtomic as d, loader_exports as i, readJsonFile as l, loadIdentity as n, saveTrustGraph as o, loadSingleComponent as r, createAsyncLock as s, IDENTITY_COMPONENTS as t, resolvePairingPaths as u };
@@ -1,5 +1,5 @@
1
1
  import { t as CONFIG_PATH } from "./paths-zhVksOvm.js";
2
- import { o as displayPath } from "./utils-B60lF9Wq.js";
2
+ import { o as displayPath } from "./utils-CLYlhJuc.js";
3
3
 
4
4
  //#region src/config/logging.ts
5
5
  function formatConfigPath(path = CONFIG_PATH) {
@@ -1,11 +1,11 @@
1
1
  import { n as __exportAll } from "./chunk-BXK9XSlF.js";
2
- import { A as info, L as success, d as defaultRuntime, k as danger } from "./subsystem-BMsbqSb4.js";
3
- import { s as logInfo } from "./exec-cazBMA02.js";
4
- import { i as loadConfig } from "./config-DqwH4y-D.js";
2
+ import { A as info, L as success, d as defaultRuntime, k as danger } from "./subsystem-BAADN1B8.js";
3
+ import { s as logInfo } from "./exec-BylR5qWS.js";
4
+ import { i as loadConfig } from "./config-DaD4FsAn.js";
5
5
  import { t as formatCliCommand } from "./command-format-BCtkuvqF.js";
6
- import { a as logoutWeb } from "./auth-store-DjcQlyze.js";
7
- import { i as waitForWaConnection, n as formatError, t as createWaSocket, u as DisconnectReason } from "./session-CqKJvPTq.js";
8
- import { n as resolveWhatsAppAccount } from "./accounts-CL0JV_xk.js";
6
+ import { a as logoutWeb } from "./auth-store-Jvgz2_l1.js";
7
+ import { i as waitForWaConnection, n as formatError, t as createWaSocket, u as DisconnectReason } from "./session-DLevr8Vd.js";
8
+ import { n as resolveWhatsAppAccount } from "./accounts-B_2nt5Cd.js";
9
9
 
10
10
  //#region src/web/login.ts
11
11
  var login_exports = /* @__PURE__ */ __exportAll({ loginWeb: () => loginWeb });
@@ -1,10 +1,10 @@
1
1
  import { n as __exportAll } from "./chunk-BXK9XSlF.js";
2
- import { g as info, h as danger, n as defaultRuntime, x as success } from "./subsystem-CucjNlOk.js";
3
- import { s as logInfo } from "./exec-gKbUce2p.js";
4
- import { n as loadConfig } from "./config-D2kCn7yR.js";
2
+ import { g as info, h as danger, n as defaultRuntime, x as success } from "./subsystem-D-Xta-sj.js";
3
+ import { s as logInfo } from "./exec-C6tXfeqA.js";
4
+ import { n as loadConfig } from "./config-ZYN8tezd.js";
5
5
  import { t as formatCliCommand } from "./command-format-CsqJApTg.js";
6
- import { i as logoutWeb } from "./auth-store-KnWGteIV.js";
7
- import { a as waitForWaConnection, d as DisconnectReason, n as createWaSocket, r as formatError, t as resolveWhatsAppAccount } from "./accounts-Bj5MvaDs.js";
6
+ import { i as logoutWeb } from "./auth-store-BpYI9t_y.js";
7
+ import { a as waitForWaConnection, d as DisconnectReason, n as createWaSocket, r as formatError, t as resolveWhatsAppAccount } from "./accounts-DIES085e.js";
8
8
 
9
9
  //#region src/web/login.ts
10
10
  var login_exports = /* @__PURE__ */ __exportAll({ loginWeb: () => loginWeb });
@@ -2,10 +2,10 @@ import { n as __exportAll } from "./chunk-BXK9XSlF.js";
2
2
  import { S as info, g as defaultRuntime, k as success, x as danger } from "./entry.js";
3
3
  import { t as formatCliCommand } from "./command-format-kLw3YIIu.js";
4
4
  import { s as logInfo } from "./exec-BtBJICHE.js";
5
- import { i as loadConfig } from "./config-Ofh9gKvs.js";
6
- import { a as logoutWeb } from "./auth-store-Vfd6oc1G.js";
7
- import { i as waitForWaConnection, n as formatError, t as createWaSocket, u as DisconnectReason } from "./session-TAOVpONo.js";
8
- import { n as resolveWhatsAppAccount } from "./accounts-CYEa4ttU.js";
5
+ import { i as loadConfig } from "./config-BrVuTQ8R.js";
6
+ import { a as logoutWeb } from "./auth-store-BEfSfCbW.js";
7
+ import { i as waitForWaConnection, n as formatError, t as createWaSocket, u as DisconnectReason } from "./session-FmXsucR7.js";
8
+ import { n as resolveWhatsAppAccount } from "./accounts-COxGcLGB.js";
9
9
 
10
10
  //#region src/web/login.ts
11
11
  var login_exports = /* @__PURE__ */ __exportAll({ loginWeb: () => loginWeb });