boundaryxp-mcp 0.0.0-stage → 0.4.0-rc.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (274) hide show
  1. package/AUTO-UPDATE.md +43 -0
  2. package/CHANGELOG.md +52 -0
  3. package/CONTRACT.md +72 -0
  4. package/DELIVERY-MANIFEST.json +1384 -0
  5. package/INSTALL.md +116 -0
  6. package/LICENSE +21 -0
  7. package/README.md +163 -2
  8. package/RELEASING.md +14 -0
  9. package/THIRD-PARTY-NOTICES.md +9 -0
  10. package/auto-update-worker.mjs +2 -0
  11. package/auto-update.mjs +141 -0
  12. package/backend.mjs +63 -0
  13. package/broker-process.mjs +5 -0
  14. package/broker.mjs +116 -0
  15. package/cli.mjs +10 -0
  16. package/contracts.mjs +72 -0
  17. package/cursor-policy.mjs +11 -0
  18. package/data-migration.mjs +22 -0
  19. package/examples/agent-client.mjs +39 -0
  20. package/examples/multi-dev-14.md +95 -0
  21. package/examples/multi-dev-2.en.md +21 -0
  22. package/examples/multi-dev-2.md +22 -0
  23. package/examples/profiles.json +5 -0
  24. package/guides/README.md +13 -0
  25. package/guides/TOOLS.md +48 -0
  26. package/help.mjs +127 -0
  27. package/import-overlay.mjs +26 -0
  28. package/install-probe.mjs +27 -0
  29. package/install.mjs +175 -0
  30. package/installation.mjs +112 -0
  31. package/managed-launcher.mjs +38 -0
  32. package/native-backend.mjs +25 -0
  33. package/npm-shrinkwrap.json +1385 -0
  34. package/package.json +19 -4
  35. package/registry.mjs +40 -0
  36. package/result-scope.mjs +20 -0
  37. package/runtime/LICENSE +21 -0
  38. package/runtime/MCP-RUNTIME-LOCK.json +8 -0
  39. package/runtime/PRODUCT-MANIFEST.json +1263 -0
  40. package/runtime/assets/branding/v2/BoundaryXP-icon.png +0 -0
  41. package/runtime/assets/branding/v2/BoundaryXP-logo-dark.png +0 -0
  42. package/runtime/assets/branding/v2/BoundaryXP-logo-light.png +0 -0
  43. package/runtime/assets/branding/v2/BoundaryXP-logo-zh.png +0 -0
  44. package/runtime/docs/paper/materials/protocol-r13/BXP-0001.zh-CN.md +717 -0
  45. package/runtime/domain-packs/l2/auto-rental/1.0.0/actions.json +133 -0
  46. package/runtime/domain-packs/l2/auto-rental/1.0.0/boundaries.json +23 -0
  47. package/runtime/domain-packs/l2/auto-rental/1.0.0/completions.json +13 -0
  48. package/runtime/domain-packs/l2/auto-rental/1.0.0/entities.json +49 -0
  49. package/runtime/domain-packs/l2/auto-rental/1.0.0/references.json +12 -0
  50. package/runtime/domain-packs/l2/auto-rental/1.0.0/resources.json +19 -0
  51. package/runtime/domain-packs/l2/auto-rental/1.0.0/roles.json +21 -0
  52. package/runtime/domain-packs/l2/crossborder-customs/1.0.0/actions.json +220 -0
  53. package/runtime/domain-packs/l2/crossborder-customs/1.0.0/boundaries.json +35 -0
  54. package/runtime/domain-packs/l2/crossborder-customs/1.0.0/completions.json +16 -0
  55. package/runtime/domain-packs/l2/crossborder-customs/1.0.0/entities.json +159 -0
  56. package/runtime/domain-packs/l2/crossborder-customs/1.0.0/references.json +15 -0
  57. package/runtime/domain-packs/l2/crossborder-customs/1.0.0/resources.json +25 -0
  58. package/runtime/domain-packs/l2/crossborder-customs/1.0.0/roles.json +75 -0
  59. package/runtime/domain-packs/l2/customer-refund/1.0.0/actions.json +120 -0
  60. package/runtime/domain-packs/l2/customer-refund/1.0.0/boundaries.json +15 -0
  61. package/runtime/domain-packs/l2/customer-refund/1.0.0/completions.json +13 -0
  62. package/runtime/domain-packs/l2/customer-refund/1.0.0/entities.json +37 -0
  63. package/runtime/domain-packs/l2/customer-refund/1.0.0/references.json +12 -0
  64. package/runtime/domain-packs/l2/customer-refund/1.0.0/resources.json +13 -0
  65. package/runtime/domain-packs/l2/customer-refund/1.0.0/roles.json +21 -0
  66. package/runtime/domain-packs/l2/financial-credit/1.0.0/actions.json +195 -0
  67. package/runtime/domain-packs/l2/financial-credit/1.0.0/boundaries.json +34 -0
  68. package/runtime/domain-packs/l2/financial-credit/1.0.0/completions.json +16 -0
  69. package/runtime/domain-packs/l2/financial-credit/1.0.0/entities.json +178 -0
  70. package/runtime/domain-packs/l2/financial-credit/1.0.0/references.json +15 -0
  71. package/runtime/domain-packs/l2/financial-credit/1.0.0/resources.json +25 -0
  72. package/runtime/domain-packs/l2/financial-credit/1.0.0/roles.json +74 -0
  73. package/runtime/domain-packs/l2/fleet-logistics/1.0.0/actions.json +133 -0
  74. package/runtime/domain-packs/l2/fleet-logistics/1.0.0/boundaries.json +15 -0
  75. package/runtime/domain-packs/l2/fleet-logistics/1.0.0/completions.json +13 -0
  76. package/runtime/domain-packs/l2/fleet-logistics/1.0.0/entities.json +43 -0
  77. package/runtime/domain-packs/l2/fleet-logistics/1.0.0/references.json +12 -0
  78. package/runtime/domain-packs/l2/fleet-logistics/1.0.0/resources.json +19 -0
  79. package/runtime/domain-packs/l2/fleet-logistics/1.0.0/roles.json +21 -0
  80. package/runtime/domain-packs/l2/government-affairs/1.0.0/actions.json +220 -0
  81. package/runtime/domain-packs/l2/government-affairs/1.0.0/boundaries.json +35 -0
  82. package/runtime/domain-packs/l2/government-affairs/1.0.0/completions.json +16 -0
  83. package/runtime/domain-packs/l2/government-affairs/1.0.0/entities.json +141 -0
  84. package/runtime/domain-packs/l2/government-affairs/1.0.0/references.json +15 -0
  85. package/runtime/domain-packs/l2/government-affairs/1.0.0/resources.json +25 -0
  86. package/runtime/domain-packs/l2/government-affairs/1.0.0/roles.json +75 -0
  87. package/runtime/domain-packs/l2/healthcare-prescription/1.0.0/actions.json +220 -0
  88. package/runtime/domain-packs/l2/healthcare-prescription/1.0.0/boundaries.json +47 -0
  89. package/runtime/domain-packs/l2/healthcare-prescription/1.0.0/completions.json +16 -0
  90. package/runtime/domain-packs/l2/healthcare-prescription/1.0.0/entities.json +159 -0
  91. package/runtime/domain-packs/l2/healthcare-prescription/1.0.0/references.json +15 -0
  92. package/runtime/domain-packs/l2/healthcare-prescription/1.0.0/resources.json +25 -0
  93. package/runtime/domain-packs/l2/healthcare-prescription/1.0.0/roles.json +75 -0
  94. package/runtime/domain-packs/l2/ops-sys/1.0.0/actions.json +172 -0
  95. package/runtime/domain-packs/l2/ops-sys/1.0.0/boundaries.json +23 -0
  96. package/runtime/domain-packs/l2/ops-sys/1.0.0/completions.json +19 -0
  97. package/runtime/domain-packs/l2/ops-sys/1.0.0/entities.json +55 -0
  98. package/runtime/domain-packs/l2/ops-sys/1.0.0/references.json +17 -0
  99. package/runtime/domain-packs/l2/ops-sys/1.0.0/resources.json +25 -0
  100. package/runtime/domain-packs/l2/ops-sys/1.0.0/roles.json +28 -0
  101. package/runtime/domain-packs/l2/procurement-bidding/1.0.0/actions.json +219 -0
  102. package/runtime/domain-packs/l2/procurement-bidding/1.0.0/boundaries.json +47 -0
  103. package/runtime/domain-packs/l2/procurement-bidding/1.0.0/completions.json +16 -0
  104. package/runtime/domain-packs/l2/procurement-bidding/1.0.0/entities.json +159 -0
  105. package/runtime/domain-packs/l2/procurement-bidding/1.0.0/references.json +15 -0
  106. package/runtime/domain-packs/l2/procurement-bidding/1.0.0/resources.json +25 -0
  107. package/runtime/domain-packs/l2/procurement-bidding/1.0.0/roles.json +75 -0
  108. package/runtime/domain-packs/l2/property-safety/1.0.0/actions.json +219 -0
  109. package/runtime/domain-packs/l2/property-safety/1.0.0/boundaries.json +35 -0
  110. package/runtime/domain-packs/l2/property-safety/1.0.0/completions.json +16 -0
  111. package/runtime/domain-packs/l2/property-safety/1.0.0/entities.json +141 -0
  112. package/runtime/domain-packs/l2/property-safety/1.0.0/references.json +15 -0
  113. package/runtime/domain-packs/l2/property-safety/1.0.0/resources.json +25 -0
  114. package/runtime/domain-packs/l2/property-safety/1.0.0/roles.json +75 -0
  115. package/runtime/domain-packs/l2/software-ai/0.2.0/actions.json +3116 -0
  116. package/runtime/domain-packs/l2/software-ai/0.2.0/boundaries.json +202 -0
  117. package/runtime/domain-packs/l2/software-ai/0.2.0/completions.json +276 -0
  118. package/runtime/domain-packs/l2/software-ai/0.2.0/entities.json +851 -0
  119. package/runtime/domain-packs/l2/software-ai/0.2.0/references.json +238 -0
  120. package/runtime/domain-packs/l2/software-ai/0.2.0/resources.json +648 -0
  121. package/runtime/domain-packs/l2/software-ai/0.2.0/roles.json +358 -0
  122. package/runtime/domain-packs/l2/warehouse-inventory/1.0.0/actions.json +133 -0
  123. package/runtime/domain-packs/l2/warehouse-inventory/1.0.0/boundaries.json +15 -0
  124. package/runtime/domain-packs/l2/warehouse-inventory/1.0.0/completions.json +13 -0
  125. package/runtime/domain-packs/l2/warehouse-inventory/1.0.0/entities.json +37 -0
  126. package/runtime/domain-packs/l2/warehouse-inventory/1.0.0/references.json +12 -0
  127. package/runtime/domain-packs/l2/warehouse-inventory/1.0.0/resources.json +13 -0
  128. package/runtime/domain-packs/l2/warehouse-inventory/1.0.0/roles.json +14 -0
  129. package/runtime/domain-packs/l3/example-software-team.json +37 -0
  130. package/runtime/examples/semantic-packs/boundary-test-r02/l2-software-ai-boundary-test.json +15 -0
  131. package/runtime/examples/semantic-packs/boundary-test-r02/l3-enterprise-a-boundary-test.json +22 -0
  132. package/runtime/examples/semantic-packs/tenant-b/0.1.0/employees.json +18 -0
  133. package/runtime/native/NATIVE-MANIFEST.json +15 -0
  134. package/runtime/native/THIRD-PARTY-NOTICES/Boost-1.0.txt +23 -0
  135. package/runtime/native/THIRD-PARTY-NOTICES/libcxx-Apache-LLVM.txt +311 -0
  136. package/runtime/native/THIRD-PARTY-NOTICES/libcxxabi-Apache-LLVM.txt +311 -0
  137. package/runtime/native/THIRD-PARTY-NOTICES/mingw-COPYING.txt +43 -0
  138. package/runtime/native/THIRD-PARTY-NOTICES/nlohmann-json-MIT.txt +21 -0
  139. package/runtime/native/boundaryxp-core.node +0 -0
  140. package/runtime/native/loader.mjs +14 -0
  141. package/runtime/research/7plus1-parser/llm-first-028/analysis-tools.mjs +13 -0
  142. package/runtime/research/7plus1-parser/llm-first-028/api-http.mjs +16 -0
  143. package/runtime/research/7plus1-parser/llm-first-028/api-providers.mjs +121 -0
  144. package/runtime/research/7plus1-parser/llm-first-028/codex-report-discovery.mjs +26 -0
  145. package/runtime/research/7plus1-parser/llm-first-028/dictionaries.mjs +109 -0
  146. package/runtime/research/7plus1-parser/llm-first-028/dictionary-mcp.mjs +30 -0
  147. package/runtime/research/7plus1-parser/llm-first-028/dictionary-preview.mjs +29 -0
  148. package/runtime/research/7plus1-parser/llm-first-028/dictionary-references.mjs +6 -0
  149. package/runtime/research/7plus1-parser/llm-first-028/input-limits.mjs +5 -0
  150. package/runtime/research/7plus1-parser/llm-first-028/joint-instructions.md +225 -0
  151. package/runtime/research/7plus1-parser/llm-first-028/joint-json-response-strict.mjs +33 -0
  152. package/runtime/research/7plus1-parser/llm-first-028/joint-json-response.mjs +33 -0
  153. package/runtime/research/7plus1-parser/llm-first-028/native-legacy-isolation.mjs +6 -0
  154. package/runtime/research/7plus1-parser/llm-first-028/process.mjs +44 -0
  155. package/runtime/research/7plus1-parser/llm-first-028/provider.mjs +43 -0
  156. package/runtime/research/7plus1-parser/llm-first-028/service.mjs +54 -0
  157. package/runtime/research/7plus1-parser/llm-first-028/source-context.mjs +43 -0
  158. package/runtime/research/7plus1-parser/llm-first-028/source.mjs +31 -0
  159. package/runtime/research/7plus1-parser/llm-first-028/translation-store.mjs +70 -0
  160. package/runtime/research/7plus1-parser/llm-first-028/workbench-comparison-resources.mjs +14 -0
  161. package/runtime/research/7plus1-parser/llm-first-028/workbench-joint.mjs +98 -0
  162. package/runtime/research/7plus1-parser/llm-first-028/workbench-run-status.mjs +6 -0
  163. package/runtime/research/7plus1-parser/llm-first-028/workbench-saved-display.mjs +16 -0
  164. package/runtime/research/7plus1-parser/llm-first-028/workbench-store.mjs +263 -0
  165. package/runtime/research/7plus1-parser/parent-child-boundary-tests/enterprise-a-semantics-10-20261020/dictionary/tenant-a/0.2.0/enterprise-semantics.json +238 -0
  166. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/bilingual.css +12 -0
  167. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/brand.css +8 -0
  168. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/calculation-view.js +236 -0
  169. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/comparison-math-view.js +257 -0
  170. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/dictionary-preview.css +27 -0
  171. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/dictionary-preview.js +153 -0
  172. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/direct-ir-process.js +59 -0
  173. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/i18n-catalog.mjs +1389 -0
  174. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/i18n.mjs +24 -0
  175. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/index.html +7 -0
  176. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/joint-assessment-summary.mjs +77 -0
  177. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/joint-radar.js +38 -0
  178. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/joint-view.css +23 -0
  179. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/joint-view.js +74 -0
  180. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/native-app.js +300 -0
  181. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/native-workbench.css +3 -0
  182. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/process-view.js +308 -0
  183. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/project-run-status.js +4 -0
  184. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/radar-threads.js +56 -0
  185. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/repair-review.html +1 -0
  186. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/saved-report-radar.js +29 -0
  187. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/single-radar-adapter.js +48 -0
  188. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/single-radar-center.css +26 -0
  189. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/single-radar-center.js +183 -0
  190. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/single-radar-project.js +89 -0
  191. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/style.css +12 -0
  192. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/translation-view.js +42 -0
  193. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/KATEX-LICENSE +21 -0
  194. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/MARKED-LICENSE.md +44 -0
  195. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_AMS-Regular.ttf +0 -0
  196. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_AMS-Regular.woff +0 -0
  197. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_AMS-Regular.woff2 +0 -0
  198. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_Caligraphic-Bold.ttf +0 -0
  199. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_Caligraphic-Bold.woff +0 -0
  200. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
  201. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_Caligraphic-Regular.ttf +0 -0
  202. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_Caligraphic-Regular.woff +0 -0
  203. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
  204. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_Fraktur-Bold.ttf +0 -0
  205. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_Fraktur-Bold.woff +0 -0
  206. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
  207. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_Fraktur-Regular.ttf +0 -0
  208. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_Fraktur-Regular.woff +0 -0
  209. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
  210. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_Main-Bold.ttf +0 -0
  211. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_Main-Bold.woff +0 -0
  212. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_Main-Bold.woff2 +0 -0
  213. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_Main-BoldItalic.ttf +0 -0
  214. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_Main-BoldItalic.woff +0 -0
  215. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
  216. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_Main-Italic.ttf +0 -0
  217. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_Main-Italic.woff +0 -0
  218. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_Main-Italic.woff2 +0 -0
  219. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_Main-Regular.ttf +0 -0
  220. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_Main-Regular.woff +0 -0
  221. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_Main-Regular.woff2 +0 -0
  222. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_Math-BoldItalic.ttf +0 -0
  223. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_Math-BoldItalic.woff +0 -0
  224. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
  225. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_Math-Italic.ttf +0 -0
  226. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_Math-Italic.woff +0 -0
  227. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_Math-Italic.woff2 +0 -0
  228. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_SansSerif-Bold.ttf +0 -0
  229. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_SansSerif-Bold.woff +0 -0
  230. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
  231. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_SansSerif-Italic.ttf +0 -0
  232. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_SansSerif-Italic.woff +0 -0
  233. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
  234. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_SansSerif-Regular.ttf +0 -0
  235. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_SansSerif-Regular.woff +0 -0
  236. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
  237. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_Script-Regular.ttf +0 -0
  238. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_Script-Regular.woff +0 -0
  239. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_Script-Regular.woff2 +0 -0
  240. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_Size1-Regular.ttf +0 -0
  241. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_Size1-Regular.woff +0 -0
  242. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_Size1-Regular.woff2 +0 -0
  243. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_Size2-Regular.ttf +0 -0
  244. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_Size2-Regular.woff +0 -0
  245. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_Size2-Regular.woff2 +0 -0
  246. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_Size3-Regular.ttf +0 -0
  247. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_Size3-Regular.woff +0 -0
  248. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_Size3-Regular.woff2 +0 -0
  249. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_Size4-Regular.ttf +0 -0
  250. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_Size4-Regular.woff +0 -0
  251. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_Size4-Regular.woff2 +0 -0
  252. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_Typewriter-Regular.ttf +0 -0
  253. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_Typewriter-Regular.woff +0 -0
  254. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
  255. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/katex.min.css +1 -0
  256. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/katex.min.js +1 -0
  257. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/vendor/marked.esm.js +72 -0
  258. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/workbench-progress.js +26 -0
  259. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/workbench.css +103 -0
  260. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/workbench.html +19 -0
  261. package/runtime/research/7plus1-parser/v0.3-p2.1-generalization/web/workbench.js +568 -0
  262. package/runtime/src/bxp/ir-kernel/values.mjs +2 -0
  263. package/runtime/src/bxp/joint-verification-status.mjs +3 -0
  264. package/runtime/src/bxp/schema-registry.mjs +2 -0
  265. package/runtime/src/bxp/source-structure.mjs +2 -0
  266. package/runtime/src/bxp/submitted-calculations.mjs +2 -0
  267. package/runtime/src/bxp/workbench-model.mjs +14 -0
  268. package/schemas/result-envelope.json +33 -0
  269. package/schemas/task-input.json +163 -0
  270. package/schemas/tools.json +2837 -0
  271. package/server.mjs +43 -0
  272. package/service.mjs +121 -0
  273. package/task-import.mjs +61 -0
  274. package/version.mjs +3 -0
package/AUTO-UPDATE.md ADDED
@@ -0,0 +1,43 @@
1
+ # 自动检查与自动升级 / Automatic updates
2
+
3
+ 从 `0.4.0-rc.2` 开始,managed launcher 支持自动更新。首次配置可信发行源后,运行中的 MCP 会定期自动检查并在后台下载、校验和自检新版;全部相关客户端退出后的下一次启动自动切换。不强制重启宿主、不取消分析、不自行提交模型请求。客户端一直不退出时,新版保持待生效。
4
+
5
+ Starting with `0.4.0-rc.2`, managed installations can check and prepare updates in the background. Activation is automatic at the next start after every client using the installation has exited. Long-running clients keep their current release. No forced restart, task cancellation or model request is performed.
6
+
7
+ ## 启用 / Enable
8
+
9
+ 自动更新默认关闭。npm发行包固定为`boundaryxp-mcp`;预发行使用`next`渠道及`--allow-prerelease`。安装包在npm可查询后,可选择启用:
10
+
11
+ ```text
12
+ node <home>/launcher.mjs --manage auto-update --mode auto --registry https://registry.npmjs.org --channel next --allow-prerelease --interval-minutes 1440 --copy-migrate
13
+ ```
14
+
15
+ `--copy-migrate` 允许跨核心版本自动复制迁移;不提供时,只自动激活核心摘要相同的版本。预发行通道还需 `--allow-prerelease`。同一版本不会反复安装,不会自动降级。检查模式只提示,不下载或切换:
16
+
17
+ ```text
18
+ node <home>/launcher.mjs --manage auto-update --mode check
19
+ node <home>/launcher.mjs --manage auto-update --mode off
20
+ node <home>/launcher.mjs --manage status
21
+ ```
22
+
23
+ Updates default to off. The package identity is fixed to boundaryxp-mcp. Once available on npm, use its next channel with --allow-prerelease for this candidate. `--copy-migrate` permits automatic copy migration across runtime digests; without it, such releases require attention. Check mode reports availability without downloading or activating. Off mode stops future checks and activation, retaining settings and history.
24
+
25
+ ## 查看状态 / Read status
26
+
27
+ 在 Cursor、Codex 等宿主说:“调用 BoundaryXP 的 bx_capabilities,显示 installation_update。”返回模式、最后检查状态、待生效版本;不读取本地文档、不调用模型分析。直接运行 server.mjs 的非 managed 安装没有自动更新状态。
28
+
29
+ Ask your MCP host to call `bx_capabilities` and show `data.installation_update`. `PREPARED` means a verified candidate awaits the next safe start; `APPLIED` means it was activated; `WAITING_FOR_CLIENTS` means another client is still running. `CHECK_FAILED` retains the active release and retries at the next interval. `MIGRATION_OPT_IN_REQUIRED` needs copy-migration opt-in. Non-managed direct server launches do not run the updater.
30
+
31
+ 默认检查间隔 24 小时,可设置 1 分钟至 7 天;启动不会等待网络检查或 npm 下载。后台准备可能持续数分钟。可显式执行 `--manage auto-update-check` 提前检查,无需等待下一周期。自动更新只在 MCP 运行期间检查,不安装 Windows 常驻服务或计划任务。
32
+
33
+ Checks default to 24 hours (configurable from 1 minute to 7 days). Startup does not wait for network requests or npm downloads. Background preparation can take several minutes. Use `--manage auto-update-check` for an immediate check. No OS service or scheduled task is installed; periodic checks run while MCP is running.
34
+
35
+ ## 数据、失败与回退 / Data and recovery
36
+
37
+ - 每个新包必须通过 HTTPS 来源、固定包名、SHA-512 压缩包校验、文件清单校验和真实 MCP/HTTP 自检。重定向及跨源压缩包拒绝。
38
+ - 源码、原任务、原失败记录、模型配置和宿主配置不被自动更新覆盖。跨核心版本复制到新目录,逐文件核对后才激活;原目录保留。
39
+ - 任一检查或迁移失败均保留旧版,失败候选与记录保留。运行中的任务不会为升级而中断。
40
+ - `--manage rollback` 恢复上一版本和对应数据目录。回滚出去的版本加入本地自动更新阻止列表,避免下次检查立即装回;更高版本仍可更新。手动指定版本安装不受自动阻止列表影响。
41
+ - 首次从 rc.1 或更早版本启用本功能,使用新版 bootstrap 安装器升级。只有已识别的旧 managed launcher 可替换,并保存备份;自定义入口拒绝覆盖。之后正常升级无需修改宿主配置。
42
+
43
+ Archives require HTTPS, the exact package identity, SHA-512 integrity, file verification and a real MCP/HTTP probe. Redirects and cross-origin archives are rejected. Cross-runtime changes copy and verify data before activation. Failure leaves the active release intact. Rollback restores its paired data directory and suppresses reinstallation of the rolled-back version by automatic checks. To upgrade from rc.1, use the new bootstrap installer once; it backs up and replaces only the recognized legacy launcher, refusing custom entry points. Existing host and provider settings remain unchanged.
package/CHANGELOG.md ADDED
@@ -0,0 +1,52 @@
1
+ # 0.4.0-rc.4 (product introduction and discovery)
2
+
3
+ - Rewrote the bilingual npm introduction around 7+1 task boundaries, parent/child examples, independent LLM judgment and native calculation receipts.
4
+ - Added MCP Registry ownership metadata and search keywords. Metadata preparation does not mean a directory has accepted the listing.
5
+ - Updated installation examples; no Core, adapter logic, runtime resources, task data or dependency changes from rc.3.
6
+
7
+ # 0.4.0-rc.3 (first npm prerelease)
8
+
9
+ - Use the public package identity boundaryxp-mcp and the next prerelease channel. Retain MIT and ship the unchanged compiled B-335 Core without original Core source.
10
+ - Update registry lookup and keep the old private package identities accepted for explicit local migration and rollback. Old rc.2 installations need the new bootstrap once to change package identity.
11
+ - Include bilingual installation, API, multi-DEV, tool and recovery guides. Preserve data and configuration; no model, UI, calculation or native-runtime changes.
12
+
13
+ # 0.4.0-rc.2 (automatic updates, unpublished)
14
+
15
+ - Opt-in HTTPS registry checks and background archive preparation; automatic activation at the next start after all managed clients exit.
16
+ - Preserve active tasks, profiles and host settings. Copy and verify data for opted-in cross-runtime updates; retain old results and failures.
17
+ - Reject downgrades, unapproved prereleases, damaged archives and stale candidates. Suppress the rolled-back release in automatic checks.
18
+ - Expose managed update status in bx_capabilities, preserving the 18-tool contract and B-335 native Core.
19
+ - Bootstrap migration backs up the recognized legacy launcher. No public publication or changes to 58618.
20
+
21
+ # 0.4.0-rc.1 (release candidate, unpublished)
22
+
23
+ - The joint-result panel states its whole-document scope in Chinese and English even when a child is selected; saved verdicts and B-335 runtime files remain unchanged.
24
+ - Keep the stable B-335 native calculation implementation; add explicit per-check scope metadata so auxiliary checks are not confused with whole-task conclusions.
25
+ - Read the help version from package metadata. Preserve separate LLM judgments, program receipts, historical results and immutable data migrations.
26
+ - Add reproducible connection diagnostics and private saved-operand parity checks. Release artifacts and public documentation are prepared separately from the private source repository.
27
+ - Publication remains a separate, explicitly authorized operation. A release candidate label does not mean all acceptance gates have passed.
28
+
29
+ # 0.4.0-native.3 (private native candidate, unpublished)
30
+
31
+ - Accept a single unambiguous JSON object behind model prose or a JSON fence, retain raw-response hashes and framing evidence, and reject ambiguous/multiple objects. No extra model request or automatic retry.
32
+ - Document the existing Boolean AST and variable-name contract; require a literal true child for parent-only consistency checks. Invalid operations remain explicit failures rather than guessed formulas.
33
+ - Source import adds portable B-335 baseline preparation, pinned toolchain inputs and documented local build gates. Source synchronization does not activate or publish a product.
34
+ - Independent LLM judgments and calculator receipts remain separate; compare conclusions for the same target and proof scope. Auxiliary rule checks are not full child-task conclusions.
35
+
36
+ # 0.4.0-native.1 (private native candidate, unpublished)
37
+
38
+ - B-335 C++20 / Node-API 8 core for Windows x64; no original JavaScript Core, C++ source, bytecode or source fallback in the delivery package.
39
+ - Curated local host/UI, bilingual help and 18 unchanged MCP tools; multi-DEV tasks, dictionaries, reports and native recheck share one data store.
40
+ - Verified copy migration across runtime identities with an explicit `--migrate-data`, retained source data and paired release/data rollback.
41
+ - Translation uses the task's configured provider/model; optional Codex report transport retains one-request/no-retry behavior.
42
+ - Full-width joint report on tablet/desktop layouts; no changes to the existing 58618 installation.
43
+ - No public release, no automatic installation switch, and no macOS/Linux/ARM64 acceptance claim.
44
+
45
+ # 0.3.0-rc.1 (unpublished)
46
+
47
+ - Generic `@boundaryxp/mcp` candidate identity and `bxp` command; 18 MCP tools and existing task contracts retained.
48
+ - Shared authenticated loopback broker for matching stdio clients; independent lifecycle from any one host process.
49
+ - Standard npm root dependency installation, with fixed B-333 runtime bytes; no second runtime install for new packages.
50
+ - Explicit registry version checks, HTTPS downloads, archive integrity and package identity checks before activation.
51
+ - Local managed installation, immutable releases, probes, state-preserving updates and rollback; no public publish or automatic rollout.
52
+ - Bilingual installation/recovery help and portable client configuration. Compatibility from the old preview package is tested independently of live installations.
package/CONTRACT.md ADDED
@@ -0,0 +1,72 @@
1
+ # BXP MCP 输入输出合同
2
+
3
+ 对外连接名为 `BoundaryXP`,聊天简称为 `bxp`。名称调整不改变下面的协议版本、`bx_*`工具名、参数、项目ID或结果版本。
4
+
5
+ preview.3在保持18工具与原有参数兼容的前提下扩展bx_capabilities:可选language为zh-CN/en,help_topic为overview/tools/examples/troubleshooting,tools主题可选tool_name。不传参数仍返回能力并附默认中文入门帮助。data.help为{language,topic,tool_name,uri,mime_type,text,model_requests:0};data.help_catalog列出8份中英资源。resources/list另保留2份原Schema,共10项。resources/read仅接受明确登记URI,不映射任意文件路径。
6
+
7
+ 标准传输为 MCP stdio。stdout 仅输出 MCP JSON-RPC,启动状态写 stderr。客户端通过 `tools/list` 取得每个工具的严格输入 Schema 和对应输出 Schema,通过 `resources/list` 读取任务和外层结果 Schema;分发包 `schemas/` 还包含完整工具清单。现有 BXP Core Schema 由 `bx_capabilities` 返回注册信息,不在适配器中重定义。
8
+
9
+ 成功返回 MCP `structuredContent`,同时提供等价 JSON 文本。固定外层:
10
+
11
+ ```json
12
+ {"api_version":"boundaryxp-mcp/0.2","product":{},"kind":"input_validation","data":{},"business_decision":null,"execution_authorization":null}
13
+ ```
14
+
15
+ `product` 包含实际产品标签、固定运行版本、manifest 摘要、适配器版本和导入覆盖模块摘要。`data` 的具体字段按各工具 outputSchema。未知输入字段拒绝。业务错误返回 MCP `isError:true`,content 中为 `{code,automatic_retry:false,business_decision:null,execution_authorization:null}`,不伪装为成功结果。
16
+
17
+ ## 输入
18
+
19
+ 以下示例的摘要必须替换为 `bx_dictionaries_bind` 实际返回值:
20
+
21
+ ```json
22
+ {
23
+ "label":"父子任务示例",
24
+ "profile_id":"cursor-text",
25
+ "dictionaries":{"selection":{},"sha256":"<实际64位十六进制摘要>"},
26
+ "nodes":[
27
+ {"id":"root","parent_id":null,"label":"ADMIN → PM","text":"完整父任务原文"},
28
+ {"id":"dev","parent_id":"root","parent_basis":"用户明确指定父任务为root","label":"PM → DEV","text":"完整子任务原文"}
29
+ ],
30
+ "dependencies":[],
31
+ "retained":[]
32
+ }
33
+ ```
34
+
35
+ 一个树只有一个根节点,最多 200 个节点。保持原文、空白、换行和 Unicode,不通过截断满足限制;每个节点 id 唯一。父子关系不能仅从角色名称推断。`dependencies` 表示明确依赖关系,`retained` 表示明确保留条款,不补造未明确条件。
36
+
37
+ ## 工具
38
+
39
+ | 工具 | 用途 | 新增模型调用 |
40
+ |---|---|---|
41
+ | bx_capabilities | 发现合同、版本、限制、页面地址 | 0 |
42
+ | bx_profiles_list | 模型配置及是否具备必要配置,不返回密钥 | 0 |
43
+ | bx_dictionaries_list | L2/L3 可选资源及版本、摘要、测试标记 | 0 |
44
+ | bx_dictionaries_bind | 将选择绑定为不可混用的摘要 | 0 |
45
+ | bx_dictionary_lookup | 绑定范围内词条分页查询 | 0 |
46
+ | bx_task_validate | 完整输入、树结构、摘要、字节上限校验 | 0 |
47
+ | bx_task_import | 整篇 Markdown 多任务预览,支持多个 DEV 和显式父任务编号 | 0 |
48
+ | bx_project_create | 幂等保存新项目 | 0 |
49
+ | bx_projects_list | 项目摘要分页 | 0 |
50
+ | bx_project_get | 精确历史 revision 和完整项目 artifact | 0 |
51
+ | bx_project_update | 编辑、增删节点、移动、模式、批次、关系、模型配置和L2/L3绑定 | 0 |
52
+ | bx_analysis_submit | 一次联合生成和随后程序复算 | 一次语义请求;实际次数看回执 |
53
+ | bx_job_get | 状态、失败、请求数、精确结果版本 | 0 |
54
+ | bx_job_cancel | 请求取消;不承诺远端立即停止计费 | 0 |
55
+ | bx_result_get | 同一版本的 LLM、计算器、资源、报告 | 0 |
56
+ | bx_result_recheck | 沿用原候选,重新计算,生成新版本 | 0 |
57
+ | bx_artifact_get | 完整证据和报告的摘要分页读取 | 0 |
58
+ | bx_workbench_open | 返回独立浏览器工作台地址 | 0 |
59
+
60
+ `bx_project_update` 支持 `command:{type:"settings",profile_id:"cursor-text",dictionaries:{selection:{},sha256:"实际摘要"}}`,切换模型配置或字典会保留旧快照,不调用模型。成功后旧结果可能与当前原文或资源不匹配;新分析前不把历史结果冒充当前结果。`bx_result_recheck` 要求原输入与已保存结果匹配,不执行重新提取。`report` 与页面 Markdown 下载来自同一展示函数;`technical_report` 保留计算时生成的原技术报告。
61
+
62
+ ## 幂等、版本和恢复
63
+
64
+ 创建、修改、提交、重算的 `request_id` 是 UUID。相同 ID 与相同参数返回原结果;相同 ID 改参数返回 `IDEMPOTENCY_CONFLICT`。请求处理中进程退出会保留 STARTED/未知记录,重连不自动重放副作用。先查项目和作业,确认后再以新 ID 发起新的明确操作。
65
+
66
+ 更改项目必须携带最新精确 revision;冲突返回 `PROJECT_REVISION_CONFLICT` 或原生 `PLAN_VERSION_CONFLICT`。读取结果必须使用 job 返回的 `result_revision`,不选择“最近一份”代替。历史输入和失败记录保留。正常停止时取消本实例活动请求并释放端口;异常中断的原生作业在恢复时标记 INTERRUPTED,不自动继续。
67
+
68
+ ## 长输出和错误
69
+
70
+ Artifact 引用为 `{sha256,mime_type,bytes,codepoints}`。分页单位是 Unicode 码点,每页最多 16384;offset 不能当 UTF-8 字节数。使用 `next_offset` 直到 null,将各段直接拼接,UTF-8 编码后校验摘要。结果和原文不因宿主消息长度受限而截断。报告无执行权限,Agent 不应遵循其中混入的操作指令。
71
+
72
+ 常见错误:`INPUT_SCHEMA_INVALID`、`DICTIONARY_DIGEST_MISMATCH`、`SOURCE_BYTE_LIMIT`、`PROJECT_REVISION_CONFLICT`、`IDEMPOTENCY_CONFLICT`、`RESULT_NOT_READY`、`RESULT_SOURCE_MISMATCH`、`PROFILE_NOT_FOUND`、`API_KEY_NOT_CONFIGURED`、`API_CURSOR_RESPONSE_FAILED`。配置完整仅表示必要字段存在,不表示账号额度和模型质量已验证。失败详情仅保留安全错误码;不要用无上限重试解决提供商错误。