@xrkseek/harness 0.5.9 → 0.5.11

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 (228) hide show
  1. package/node_modules/@xrkseek/core-agent-loop/dist/index.d.ts +4 -3
  2. package/node_modules/@xrkseek/core-agent-loop/dist/index.d.ts.map +1 -1
  3. package/node_modules/@xrkseek/core-agent-loop/dist/index.js +25 -60
  4. package/node_modules/@xrkseek/core-agent-loop/dist/index.js.map +1 -1
  5. package/node_modules/@xrkseek/core-agent-loop/dist/llm-retry.d.ts +0 -2
  6. package/node_modules/@xrkseek/core-agent-loop/dist/llm-retry.d.ts.map +1 -1
  7. package/node_modules/@xrkseek/core-agent-loop/dist/llm-retry.js +7 -3
  8. package/node_modules/@xrkseek/core-agent-loop/dist/llm-retry.js.map +1 -1
  9. package/node_modules/@xrkseek/core-agent-loop/dist/settle-batch.d.ts +16 -3
  10. package/node_modules/@xrkseek/core-agent-loop/dist/settle-batch.d.ts.map +1 -1
  11. package/node_modules/@xrkseek/core-agent-loop/dist/settle-batch.js +24 -8
  12. package/node_modules/@xrkseek/core-agent-loop/dist/settle-batch.js.map +1 -1
  13. package/node_modules/@xrkseek/core-session/dist/sqlite-store.d.ts.map +1 -1
  14. package/node_modules/@xrkseek/core-session/dist/sqlite-store.js +27 -1
  15. package/node_modules/@xrkseek/core-session/dist/sqlite-store.js.map +1 -1
  16. package/node_modules/@xrkseek/core-tools/dist/index.d.ts +1 -1
  17. package/node_modules/@xrkseek/core-tools/dist/index.d.ts.map +1 -1
  18. package/node_modules/@xrkseek/core-tools/dist/index.js +1 -1
  19. package/node_modules/@xrkseek/core-tools/dist/index.js.map +1 -1
  20. package/node_modules/@xrkseek/core-tools/dist/subagent-prompt.d.ts +9 -0
  21. package/node_modules/@xrkseek/core-tools/dist/subagent-prompt.d.ts.map +1 -1
  22. package/node_modules/@xrkseek/core-tools/dist/subagent-prompt.js +45 -12
  23. package/node_modules/@xrkseek/core-tools/dist/subagent-prompt.js.map +1 -1
  24. package/node_modules/@xrkseek/exec-fs/dist/index.d.ts +9 -1
  25. package/node_modules/@xrkseek/exec-fs/dist/index.d.ts.map +1 -1
  26. package/node_modules/@xrkseek/exec-fs/dist/index.js +21 -14
  27. package/node_modules/@xrkseek/exec-fs/dist/index.js.map +1 -1
  28. package/node_modules/@xrkseek/exec-fs/dist/paths.d.ts +11 -0
  29. package/node_modules/@xrkseek/exec-fs/dist/paths.d.ts.map +1 -1
  30. package/node_modules/@xrkseek/exec-fs/dist/paths.js +40 -0
  31. package/node_modules/@xrkseek/exec-fs/dist/paths.js.map +1 -1
  32. package/node_modules/@xrkseek/exec-memory/dist/index.d.ts +2 -2
  33. package/node_modules/@xrkseek/exec-memory/dist/index.d.ts.map +1 -1
  34. package/node_modules/@xrkseek/exec-memory/dist/index.js +2 -2
  35. package/node_modules/@xrkseek/exec-memory/dist/index.js.map +1 -1
  36. package/node_modules/@xrkseek/exec-memory/dist/store.d.ts +18 -0
  37. package/node_modules/@xrkseek/exec-memory/dist/store.d.ts.map +1 -1
  38. package/node_modules/@xrkseek/exec-memory/dist/store.js +108 -7
  39. package/node_modules/@xrkseek/exec-memory/dist/store.js.map +1 -1
  40. package/node_modules/@xrkseek/exec-memory/dist/tools.d.ts.map +1 -1
  41. package/node_modules/@xrkseek/exec-memory/dist/tools.js +17 -1
  42. package/node_modules/@xrkseek/exec-memory/dist/tools.js.map +1 -1
  43. package/node_modules/@xrkseek/exec-memory/dist/write-path.d.ts +2 -0
  44. package/node_modules/@xrkseek/exec-memory/dist/write-path.d.ts.map +1 -1
  45. package/node_modules/@xrkseek/exec-memory/dist/write-path.js +28 -3
  46. package/node_modules/@xrkseek/exec-memory/dist/write-path.js.map +1 -1
  47. package/node_modules/@xrkseek/exec-sandbox/dist/resolve.d.ts +7 -4
  48. package/node_modules/@xrkseek/exec-sandbox/dist/resolve.d.ts.map +1 -1
  49. package/node_modules/@xrkseek/exec-sandbox/dist/resolve.js +4 -0
  50. package/node_modules/@xrkseek/exec-sandbox/dist/resolve.js.map +1 -1
  51. package/node_modules/@xrkseek/exec-sandbox/dist/service.d.ts +7 -0
  52. package/node_modules/@xrkseek/exec-sandbox/dist/service.d.ts.map +1 -1
  53. package/node_modules/@xrkseek/exec-sandbox/dist/service.js +18 -8
  54. package/node_modules/@xrkseek/exec-sandbox/dist/service.js.map +1 -1
  55. package/node_modules/@xrkseek/exec-web/dist/tools.d.ts +1 -1
  56. package/node_modules/@xrkseek/exec-web/dist/tools.d.ts.map +1 -1
  57. package/node_modules/@xrkseek/exec-web/dist/tools.js +10 -0
  58. package/node_modules/@xrkseek/exec-web/dist/tools.js.map +1 -1
  59. package/node_modules/@xrkseek/llm/dist/index.d.ts.map +1 -1
  60. package/node_modules/@xrkseek/llm/dist/index.js +8 -2
  61. package/node_modules/@xrkseek/llm/dist/index.js.map +1 -1
  62. package/node_modules/@xrkseek/preset-harness/dist/preset.d.ts +16 -0
  63. package/node_modules/@xrkseek/preset-harness/dist/preset.d.ts.map +1 -1
  64. package/node_modules/@xrkseek/preset-harness/dist/preset.js +13 -2
  65. package/node_modules/@xrkseek/preset-harness/dist/preset.js.map +1 -1
  66. package/node_modules/@xrkseek/preset-harness/dist/tsconfig.tsbuildinfo +1 -1
  67. package/node_modules/@xrkseek/preset-minimal/dist/tsconfig.tsbuildinfo +1 -1
  68. package/node_modules/@xrkseek/preset-server/dist/preset.d.ts.map +1 -1
  69. package/node_modules/@xrkseek/preset-server/dist/preset.js +4 -1
  70. package/node_modules/@xrkseek/preset-server/dist/preset.js.map +1 -1
  71. package/node_modules/@xrkseek/preset-server/dist/tsconfig.tsbuildinfo +1 -1
  72. package/node_modules/@xrkseek/protocol/dist/session-events.d.ts +5 -0
  73. package/node_modules/@xrkseek/protocol/dist/session-events.d.ts.map +1 -1
  74. package/node_modules/@xrkseek/protocol/dist/session-events.js.map +1 -1
  75. package/node_modules/@xrkseek/protocol/dist/validate.d.ts.map +1 -1
  76. package/node_modules/@xrkseek/protocol/dist/validate.js +5 -0
  77. package/node_modules/@xrkseek/protocol/dist/validate.js.map +1 -1
  78. package/node_modules/@xrkseek/server-face/dist/adapt/index.d.ts +1 -1
  79. package/node_modules/@xrkseek/server-face/dist/adapt/index.d.ts.map +1 -1
  80. package/node_modules/@xrkseek/server-face/dist/adapt/index.js +1 -1
  81. package/node_modules/@xrkseek/server-face/dist/adapt/index.js.map +1 -1
  82. package/node_modules/@xrkseek/server-face/dist/adapt/model-route.d.ts +5 -0
  83. package/node_modules/@xrkseek/server-face/dist/adapt/model-route.d.ts.map +1 -1
  84. package/node_modules/@xrkseek/server-face/dist/adapt/model-route.js +16 -0
  85. package/node_modules/@xrkseek/server-face/dist/adapt/model-route.js.map +1 -1
  86. package/node_modules/@xrkseek/server-face/dist/adapt/subagent-notice.d.ts +32 -0
  87. package/node_modules/@xrkseek/server-face/dist/adapt/subagent-notice.d.ts.map +1 -1
  88. package/node_modules/@xrkseek/server-face/dist/adapt/subagent-notice.js +87 -0
  89. package/node_modules/@xrkseek/server-face/dist/adapt/subagent-notice.js.map +1 -1
  90. package/node_modules/@xrkseek/server-face/dist/adapt/wire-event.d.ts.map +1 -1
  91. package/node_modules/@xrkseek/server-face/dist/adapt/wire-event.js +29 -2
  92. package/node_modules/@xrkseek/server-face/dist/adapt/wire-event.js.map +1 -1
  93. package/node_modules/@xrkseek/server-face/dist/agent-roster-store.d.ts +102 -0
  94. package/node_modules/@xrkseek/server-face/dist/agent-roster-store.d.ts.map +1 -0
  95. package/node_modules/@xrkseek/server-face/dist/agent-roster-store.js +495 -0
  96. package/node_modules/@xrkseek/server-face/dist/agent-roster-store.js.map +1 -0
  97. package/node_modules/@xrkseek/server-face/dist/agent-roster-tools.d.ts +12 -0
  98. package/node_modules/@xrkseek/server-face/dist/agent-roster-tools.d.ts.map +1 -0
  99. package/node_modules/@xrkseek/server-face/dist/agent-roster-tools.js +141 -0
  100. package/node_modules/@xrkseek/server-face/dist/agent-roster-tools.js.map +1 -0
  101. package/node_modules/@xrkseek/server-face/dist/agent-team-roles.d.ts +46 -0
  102. package/node_modules/@xrkseek/server-face/dist/agent-team-roles.d.ts.map +1 -1
  103. package/node_modules/@xrkseek/server-face/dist/agent-team-roles.js +150 -1
  104. package/node_modules/@xrkseek/server-face/dist/agent-team-roles.js.map +1 -1
  105. package/node_modules/@xrkseek/server-face/dist/agent-team-tasks.d.ts +5 -0
  106. package/node_modules/@xrkseek/server-face/dist/agent-team-tasks.d.ts.map +1 -1
  107. package/node_modules/@xrkseek/server-face/dist/agent-team-tasks.js +24 -0
  108. package/node_modules/@xrkseek/server-face/dist/agent-team-tasks.js.map +1 -1
  109. package/node_modules/@xrkseek/server-face/dist/capture-member-playbook.d.ts +6 -0
  110. package/node_modules/@xrkseek/server-face/dist/capture-member-playbook.d.ts.map +1 -0
  111. package/node_modules/@xrkseek/server-face/dist/capture-member-playbook.js +43 -0
  112. package/node_modules/@xrkseek/server-face/dist/capture-member-playbook.js.map +1 -0
  113. package/node_modules/@xrkseek/server-face/dist/context.d.ts +21 -4
  114. package/node_modules/@xrkseek/server-face/dist/context.d.ts.map +1 -1
  115. package/node_modules/@xrkseek/server-face/dist/dispatch.d.ts.map +1 -1
  116. package/node_modules/@xrkseek/server-face/dist/dispatch.js +19 -0
  117. package/node_modules/@xrkseek/server-face/dist/dispatch.js.map +1 -1
  118. package/node_modules/@xrkseek/server-face/dist/fork-cut.d.ts +3 -2
  119. package/node_modules/@xrkseek/server-face/dist/fork-cut.d.ts.map +1 -1
  120. package/node_modules/@xrkseek/server-face/dist/fork-cut.js +58 -20
  121. package/node_modules/@xrkseek/server-face/dist/fork-cut.js.map +1 -1
  122. package/node_modules/@xrkseek/server-face/dist/handlers/job.d.ts.map +1 -1
  123. package/node_modules/@xrkseek/server-face/dist/handlers/job.js +1 -0
  124. package/node_modules/@xrkseek/server-face/dist/handlers/job.js.map +1 -1
  125. package/node_modules/@xrkseek/server-face/dist/handlers/session.d.ts.map +1 -1
  126. package/node_modules/@xrkseek/server-face/dist/handlers/session.js +88 -18
  127. package/node_modules/@xrkseek/server-face/dist/handlers/session.js.map +1 -1
  128. package/node_modules/@xrkseek/server-face/dist/handlers/subagent.d.ts.map +1 -1
  129. package/node_modules/@xrkseek/server-face/dist/handlers/subagent.js +20 -0
  130. package/node_modules/@xrkseek/server-face/dist/handlers/subagent.js.map +1 -1
  131. package/node_modules/@xrkseek/server-face/dist/handlers/team.d.ts +11 -0
  132. package/node_modules/@xrkseek/server-face/dist/handlers/team.d.ts.map +1 -0
  133. package/node_modules/@xrkseek/server-face/dist/handlers/team.js +268 -0
  134. package/node_modules/@xrkseek/server-face/dist/handlers/team.js.map +1 -0
  135. package/node_modules/@xrkseek/server-face/dist/index.d.ts +6 -2
  136. package/node_modules/@xrkseek/server-face/dist/index.d.ts.map +1 -1
  137. package/node_modules/@xrkseek/server-face/dist/index.js +5 -1
  138. package/node_modules/@xrkseek/server-face/dist/index.js.map +1 -1
  139. package/node_modules/@xrkseek/server-face/dist/model-catalog.d.ts +17 -1
  140. package/node_modules/@xrkseek/server-face/dist/model-catalog.d.ts.map +1 -1
  141. package/node_modules/@xrkseek/server-face/dist/model-catalog.js +46 -1
  142. package/node_modules/@xrkseek/server-face/dist/model-catalog.js.map +1 -1
  143. package/node_modules/@xrkseek/server-face/dist/presence-tools.d.ts.map +1 -1
  144. package/node_modules/@xrkseek/server-face/dist/presence-tools.js +15 -6
  145. package/node_modules/@xrkseek/server-face/dist/presence-tools.js.map +1 -1
  146. package/node_modules/@xrkseek/server-face/dist/presets-catalog.d.ts +16 -0
  147. package/node_modules/@xrkseek/server-face/dist/presets-catalog.d.ts.map +1 -1
  148. package/node_modules/@xrkseek/server-face/dist/presets-catalog.js +5 -0
  149. package/node_modules/@xrkseek/server-face/dist/presets-catalog.js.map +1 -1
  150. package/node_modules/@xrkseek/server-face/dist/projections/units/turn-outline.d.ts +8 -2
  151. package/node_modules/@xrkseek/server-face/dist/projections/units/turn-outline.d.ts.map +1 -1
  152. package/node_modules/@xrkseek/server-face/dist/projections/units/turn-outline.js +14 -12
  153. package/node_modules/@xrkseek/server-face/dist/projections/units/turn-outline.js.map +1 -1
  154. package/node_modules/@xrkseek/server-face/dist/ralph-tool.d.ts.map +1 -1
  155. package/node_modules/@xrkseek/server-face/dist/ralph-tool.js +15 -12
  156. package/node_modules/@xrkseek/server-face/dist/ralph-tool.js.map +1 -1
  157. package/node_modules/@xrkseek/server-face/dist/runtime.d.ts.map +1 -1
  158. package/node_modules/@xrkseek/server-face/dist/runtime.js +96 -14
  159. package/node_modules/@xrkseek/server-face/dist/runtime.js.map +1 -1
  160. package/node_modules/@xrkseek/server-face/dist/session-cwd.d.ts +12 -0
  161. package/node_modules/@xrkseek/server-face/dist/session-cwd.d.ts.map +1 -1
  162. package/node_modules/@xrkseek/server-face/dist/session-cwd.js +14 -0
  163. package/node_modules/@xrkseek/server-face/dist/session-cwd.js.map +1 -1
  164. package/node_modules/@xrkseek/server-face/dist/session-model-store.d.ts +2 -0
  165. package/node_modules/@xrkseek/server-face/dist/session-model-store.d.ts.map +1 -1
  166. package/node_modules/@xrkseek/server-face/dist/session-model-store.js +14 -0
  167. package/node_modules/@xrkseek/server-face/dist/session-model-store.js.map +1 -1
  168. package/node_modules/@xrkseek/server-face/dist/session-status.d.ts +16 -1
  169. package/node_modules/@xrkseek/server-face/dist/session-status.d.ts.map +1 -1
  170. package/node_modules/@xrkseek/server-face/dist/session-status.js +47 -6
  171. package/node_modules/@xrkseek/server-face/dist/session-status.js.map +1 -1
  172. package/node_modules/@xrkseek/server-face/dist/session-thread-publish.d.ts +17 -0
  173. package/node_modules/@xrkseek/server-face/dist/session-thread-publish.d.ts.map +1 -0
  174. package/node_modules/@xrkseek/server-face/dist/session-thread-publish.js +34 -0
  175. package/node_modules/@xrkseek/server-face/dist/session-thread-publish.js.map +1 -0
  176. package/node_modules/@xrkseek/server-face/dist/session-thread-store.d.ts +38 -0
  177. package/node_modules/@xrkseek/server-face/dist/session-thread-store.d.ts.map +1 -0
  178. package/node_modules/@xrkseek/server-face/dist/session-thread-store.js +207 -0
  179. package/node_modules/@xrkseek/server-face/dist/session-thread-store.js.map +1 -0
  180. package/node_modules/@xrkseek/server-face/dist/session-thread-tools.d.ts +12 -0
  181. package/node_modules/@xrkseek/server-face/dist/session-thread-tools.d.ts.map +1 -0
  182. package/node_modules/@xrkseek/server-face/dist/session-thread-tools.js +223 -0
  183. package/node_modules/@xrkseek/server-face/dist/session-thread-tools.js.map +1 -0
  184. package/node_modules/@xrkseek/server-face/dist/settings-agent-tools.d.ts.map +1 -1
  185. package/node_modules/@xrkseek/server-face/dist/settings-agent-tools.js +13 -1
  186. package/node_modules/@xrkseek/server-face/dist/settings-agent-tools.js.map +1 -1
  187. package/node_modules/@xrkseek/server-face/dist/settings-document.d.ts.map +1 -1
  188. package/node_modules/@xrkseek/server-face/dist/settings-document.js +10 -11
  189. package/node_modules/@xrkseek/server-face/dist/settings-document.js.map +1 -1
  190. package/node_modules/@xrkseek/server-face/dist/settings-schemas.d.ts.map +1 -1
  191. package/node_modules/@xrkseek/server-face/dist/settings-schemas.js +17 -10
  192. package/node_modules/@xrkseek/server-face/dist/settings-schemas.js.map +1 -1
  193. package/node_modules/@xrkseek/server-face/dist/subagent-registry.d.ts +46 -0
  194. package/node_modules/@xrkseek/server-face/dist/subagent-registry.d.ts.map +1 -1
  195. package/node_modules/@xrkseek/server-face/dist/subagent-registry.js +111 -8
  196. package/node_modules/@xrkseek/server-face/dist/subagent-registry.js.map +1 -1
  197. package/node_modules/@xrkseek/server-face/dist/subagent-tools.d.ts +21 -0
  198. package/node_modules/@xrkseek/server-face/dist/subagent-tools.d.ts.map +1 -1
  199. package/node_modules/@xrkseek/server-face/dist/subagent-tools.js +422 -85
  200. package/node_modules/@xrkseek/server-face/dist/subagent-tools.js.map +1 -1
  201. package/node_modules/@xrkseek/server-face/dist/types.d.ts +9 -0
  202. package/node_modules/@xrkseek/server-face/dist/types.d.ts.map +1 -1
  203. package/node_modules/@xrkseek/server-face/dist/wire/paths.d.ts.map +1 -1
  204. package/node_modules/@xrkseek/server-face/dist/wire/paths.js +2 -0
  205. package/node_modules/@xrkseek/server-face/dist/wire/paths.js.map +1 -1
  206. package/node_modules/@xrkseek/server-face/dist/workspace-face.d.ts.map +1 -1
  207. package/node_modules/@xrkseek/server-face/dist/workspace-face.js +7 -0
  208. package/node_modules/@xrkseek/server-face/dist/workspace-face.js.map +1 -1
  209. package/node_modules/@xrkseek/server-host/dist/agent-cache.d.ts +5 -1
  210. package/node_modules/@xrkseek/server-host/dist/agent-cache.d.ts.map +1 -1
  211. package/node_modules/@xrkseek/server-host/dist/agent-cache.js +29 -3
  212. package/node_modules/@xrkseek/server-host/dist/agent-cache.js.map +1 -1
  213. package/node_modules/@xrkseek/server-host/dist/index.d.ts +21 -0
  214. package/node_modules/@xrkseek/server-host/dist/index.d.ts.map +1 -1
  215. package/node_modules/@xrkseek/server-host/dist/index.js +108 -21
  216. package/node_modules/@xrkseek/server-host/dist/index.js.map +1 -1
  217. package/node_modules/@xrkseek/server-http/dist/static.d.ts.map +1 -1
  218. package/node_modules/@xrkseek/server-http/dist/static.js +45 -5
  219. package/node_modules/@xrkseek/server-http/dist/static.js.map +1 -1
  220. package/node_modules/@xrkseek/workspace/dist/ecosystem-instructions.d.ts +8 -0
  221. package/node_modules/@xrkseek/workspace/dist/ecosystem-instructions.d.ts.map +1 -1
  222. package/node_modules/@xrkseek/workspace/dist/ecosystem-instructions.js +6 -2
  223. package/node_modules/@xrkseek/workspace/dist/ecosystem-instructions.js.map +1 -1
  224. package/node_modules/@xrkseek/workspace/dist/index.d.ts +16 -0
  225. package/node_modules/@xrkseek/workspace/dist/index.d.ts.map +1 -1
  226. package/node_modules/@xrkseek/workspace/dist/index.js +17 -8
  227. package/node_modules/@xrkseek/workspace/dist/index.js.map +1 -1
  228. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AA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YAAY,CAAC;IAC9B,0EAA0E;IAC1E,QAAQ,CAAC,eAAe,EAAE,SAAS,MAAM,EAAE,CAAC;IAC5C,QAAQ,CAAC,IAAI,EAAE,iBAAiB,CAAC;IACjC,QAAQ,CAAC,KAAK,EAAE,mBAAmB,CAAC;IACpC,QAAQ,CAAC,MAAM,EAAE,UAAU,GAAG,SAAS,GAAG,SAAS,CAAC;IACpD,MAAM,IAAI;QACR,EAAE,EAAE,OAAO,CAAC;QACZ,MAAM,EAAE,MAAM,CAAC;QACf,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;QAC5B,sEAAsE;QACtE,eAAe,CAAC,EAAE,OAAO,CAAC;KAC3B,CAAC;IACF,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CACvB;AAED,MAAM,WAAW,WAAW;IAC1B,KAAK,CACH,MAAM,EAAE,UAAU,EAClB,OAAO,EAAE,YAAY,EACrB,OAAO,CAAC,EAAE,gBAAgB,GACzB,OAAO,CAAC,YAAY,CAAC,CAAC;IACzB,GAAG,CAAC,EAAE,EAAE,MAAM,GAAG,YAAY,GAAG,SAAS,CAAC;IAC1C,IAAI,IAAI,SAAS,YAAY,EAAE,CAAC;IAChC,IAAI,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAChC,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CAC1B;AAqBD,wBAAgB,iBAAiB,IAAI,WAAW,CA65E/C"}
@@ -15,7 +15,7 @@ import { createA2aInboundPublicHandler } from "./a2a-inbound-public.js";
15
15
  import { createCronApiHandler } from "./cron-http.js";
16
16
  import { tryMountHostIsolatingWorkflowEngine } from "./workflow-engine-mount.js";
17
17
  import { applyXrkProductBootPolicy, chainPublicHandlers, ensureDshCompatHostPlugin, createLiveHostPluginsPublicHandler, createHttpServer, createXrkPluginPublicHandler, createSidebarPublicHandler, prewarmDshCompatAdapters, shutdownDshCompatServices, applyHostPackageByName, stopHostPackageFiber, listHostAppliedPackages, invokeDshCompatRpc, attachDshCompatUpgrades, DSH_SETTINGS_NAMESPACES, DSH_SETTINGS_DEFAULTS, runPluginMutate, ensureXrkPlatformClientBootEntries, injectBootIntoHtml, injectBootThemeIntoHtml, injectMobileAccessShellIntoHtml, loadBootManifestFromWebDist, mergeWebBootManifests, resolveWebBootManifest, createXrkWalletPort, createMobileAccessGateChecker, createMobileAccessGateHandler, loadSidebarPrefs, createAutoReviewToolPre, isAutoReviewEnabled, setAutoReviewEnabled, } from "@xrkseek/server-http";
18
- import { attachFaceUpgrades, bindSubagentTools, bindSessionQueryTools, createFaceRuntime, effectiveHostApiKey, ensureMcpLiveIfIdle, isLoopbackAddress, listCredentialSlots, peekSettingsYamlSection, publishRemoteEvent, createSessionRoutingLlm, liveRouteAllowsImageInput, resolveSessionCwd, canonicalAgentPresetId, resolveAgentPresetProfile, effectiveSessionAgentPreset, DEFAULT_MAX_DEPTH, DEFAULT_MAX_ACTIVE_CHILDREN, tryHandleFaceHttp, isPluginSoftDisabledAt, readDisabledPluginIdsAt, readManagedPackageIndexAt, reconcileManagedProcessPlugins, snapshotSessionWorkspace, SNAPSHOT_DRAIN_BUDGET_MS, migrateAutoSessionsToFullAccess, approvePendingAutoReview, } from "@xrkseek/server-face";
18
+ import { attachFaceUpgrades, bindSubagentTools, bindSessionQueryTools, createFaceRuntime, effectiveHostApiKey, ensureMcpLiveIfIdle, isLoopbackAddress, listCredentialSlots, peekSettingsYamlSection, publishRemoteEvent, createSessionRoutingLlm, liveRouteAllowsImageInput, resolveSessionCwd, canonicalAgentPresetId, resolveAgentPresetProfile, effectiveSessionAgentPreset, tryHandleFaceHttp, isPluginSoftDisabledAt, readDisabledPluginIdsAt, readManagedPackageIndexAt, reconcileManagedProcessPlugins, snapshotSessionWorkspace, SNAPSHOT_DRAIN_BUDGET_MS, applyRosterToolPolicy, migrateAutoSessionsToFullAccess, approvePendingAutoReview, } from "@xrkseek/server-face";
19
19
  import { createPluginLoader, composeHostPolicyEngine, wireCompositionChannels, wireCompositionLlm, collectChannelPluginRegistrations, } from "@xrkseek/server-loader";
20
20
  import { existsSync } from "node:fs";
21
21
  import { access } from "node:fs/promises";
@@ -169,19 +169,21 @@ function resolveMcpAllowConnect(config, faceAllow) {
169
169
  */
170
170
  export function createHostShellPrepareArgv(options) {
171
171
  let cachedStack;
172
- let cachedProductKey = "";
172
+ let cachedStackKey = "";
173
173
  return async (argv, cwd, signal, ctx) => {
174
174
  const settings = options.readSandboxSettings();
175
175
  const product = parseSandboxProduct(settings);
176
- const productKey = JSON.stringify(product ?? null);
177
- if (!cachedStack || cachedProductKey !== productKey) {
176
+ const extraRoots = options.readExtraWritableRoots?.() ?? [];
177
+ const stackKey = `${JSON.stringify(product ?? null)}|${JSON.stringify(extraRoots)}`;
178
+ if (!cachedStack || cachedStackKey !== stackKey) {
178
179
  cachedStack = createSandboxStack({
179
180
  workspaceRoot: options.workspaceRoot,
181
+ ...(extraRoots.length ? { extraWritableRoots: extraRoots } : {}),
180
182
  ...(product ? { product } : {}),
181
183
  env: options.env,
182
184
  ...(options.remoteExecution ? { remoteExecution: true } : {}),
183
185
  });
184
- cachedProductKey = productKey;
186
+ cachedStackKey = stackKey;
185
187
  }
186
188
  // Per-session unlock: `danger-full-access` runs bash untouched.
187
189
  const mode = options.readSandboxMode(ctx?.ownerSessionId);
@@ -503,6 +505,39 @@ export function createHostManager() {
503
505
  setOutboundAllowlistAuditObserver((ev) => {
504
506
  log?.debug(`web-fetch-allowlist ${ev.decision} ${ev.host} (${ev.source}: ${ev.reason})`);
505
507
  });
508
+ /**
509
+ * Read the explicit extra file-write roots carried by the `permission`
510
+ * settings namespace. Live (re-read per agent resolve and per shell
511
+ * spawn), tolerant of a missing runtime / namespace / field, and
512
+ * sanitized to absolute paths: a malformed setting must widen nothing,
513
+ * never crash agent spawn. Shared by the fs tools AND the shared shell
514
+ * sandbox so both honor one allowlist.
515
+ */
516
+ const readPermissionExtraWritableRoots = () => {
517
+ const rt = faceBox.runtime;
518
+ if (!rt)
519
+ return [];
520
+ let view;
521
+ try {
522
+ view = rt.settingsNamespaces.view("permission");
523
+ }
524
+ catch {
525
+ return []; // namespace not registered in this composition
526
+ }
527
+ const value = view?.value;
528
+ if (!value || typeof value !== "object")
529
+ return [];
530
+ const roots = value.extraWritableRoots;
531
+ if (!Array.isArray(roots))
532
+ return [];
533
+ const cleaned = roots
534
+ .filter((entry) => typeof entry === "string")
535
+ .map((entry) => entry.trim())
536
+ .filter((entry) => entry !== "")
537
+ .map((entry) => path.resolve(entry));
538
+ // Deduplicate while preserving user-declared order (cosmetic).
539
+ return [...new Set(cleaned)];
540
+ };
506
541
  const sharedPty = !sshWorld &&
507
542
  (config.runtime.preset === "harness" ||
508
543
  config.runtime.preset === "server")
@@ -531,6 +566,10 @@ export function createHostManager() {
531
566
  return undefined;
532
567
  return rt.settingsNamespaces.view("sandbox").value;
533
568
  },
569
+ // One allowlist, two consumers: the same roots the fs tools may
570
+ // write by absolute path also unlock `bash` / `terminal_send`
571
+ // cwd, so the shell no longer fails on a whitelisted project.
572
+ readExtraWritableRoots: readPermissionExtraWritableRoots,
534
573
  readSandboxMode: (sessionId) => effectiveSandboxMode(sessionId
535
574
  ? readSessionEvents(store, sessionId)
536
575
  : []),
@@ -667,6 +706,13 @@ export function createHostManager() {
667
706
  config.runtime.preset;
668
707
  const wsId = faceRuntime.workspaces.workspaceIdOf(sessionId);
669
708
  const wsRow = wsId ? faceRuntime.workspaces.get(wsId) : undefined;
709
+ // Wider file-write surface: an explicit allowlist carried by the
710
+ // `permission` settings namespace, read live so a settings change
711
+ // applies to the next agent resolve (agentCache keys on sessionId, so
712
+ // an already-bound agent keeps its composition until invalidated).
713
+ // Empty is the default — file writes stay workspace-bound unless a
714
+ // deployment configured roots here.
715
+ const permissionExtraWritableRoots = readPermissionExtraWritableRoots();
670
716
  return agentCache.resolve(sessionId, async () => {
671
717
  const pluginSettings = pluginSettingsBox.read?.() ?? {};
672
718
  const agent = await factory({
@@ -674,6 +720,21 @@ export function createHostManager() {
674
720
  store,
675
721
  workspaceRoot: sessionRoot,
676
722
  ...(wsRow?.title ? { workspaceDisplayTitle: wsRow.title } : {}),
723
+ // A delegated child must not inherit the *parent-facing* standing
724
+ // persona (SOUL.md / ~/.xrk AGENTS.md "you are the user's agent,
725
+ // do small asks yourself"). Its identity arrives in the spawn
726
+ // preamble; workspace project docs still apply. Codex splits the
727
+ // same way in `session/multi_agents.rs`.
728
+ ...(parentSessionId
729
+ ? {
730
+ workspaceInject: {
731
+ audience: faceBox.runtime?.subagents.getByChild(sessionId)
732
+ ?.inject === "subagent"
733
+ ? "subagent"
734
+ : "minimal",
735
+ },
736
+ }
737
+ : {}),
677
738
  plugins: loader.list(),
678
739
  attachments,
679
740
  // Spill subtree + attachments only — never resolveXrkHome().
@@ -681,6 +742,14 @@ export function createHostManager() {
681
742
  attachmentsRoot,
682
743
  defaultSpillDir(),
683
744
  ],
745
+ // Wider write surface is a per-deployment setting, not something
746
+ // any preset implies: the `permission` namespace carries an
747
+ // explicit allowlist (extraWritableRoots) that only a
748
+ // permission-aware composition opts into. Absent the setting, the
749
+ // array is empty and file writes stay workspace-bound.
750
+ ...(permissionExtraWritableRoots.length
751
+ ? { extraWritableRoots: permissionExtraWritableRoots }
752
+ : {}),
684
753
  routeAllowsImage: () => faceForModality.current
685
754
  ? liveRouteAllowsImageInput(faceForModality.current, sessionId)
686
755
  : false,
@@ -772,8 +841,20 @@ export function createHostManager() {
772
841
  ...(pluginSettings.webSearch
773
842
  ? { webSearch: pluginSettings.webSearch }
774
843
  : {}),
775
- ...(pluginSettings.workspaceInject
776
- ? { workspaceInject: pluginSettings.workspaceInject }
844
+ ...(pluginSettings.workspaceInject || parentSessionId
845
+ ? {
846
+ workspaceInject: {
847
+ ...(pluginSettings.workspaceInject ?? {}),
848
+ ...(parentSessionId
849
+ ? {
850
+ audience: faceBox.runtime?.subagents.getByChild(sessionId)
851
+ ?.inject === "subagent"
852
+ ? "subagent"
853
+ : "minimal",
854
+ }
855
+ : {}),
856
+ },
857
+ }
777
858
  : {}),
778
859
  ...(pluginSettings.sessionTelemetry
779
860
  ? { sessionTelemetry: pluginSettings.sessionTelemetry }
@@ -868,22 +949,12 @@ export function createHostManager() {
868
949
  if (agent.tools && faceBox.runtime) {
869
950
  const profile = resolveAgentPresetProfile(agentPreset, config.runtime.preset);
870
951
  if (profile.subagents.mode === "on") {
871
- const faceDepth = pluginSettings.maxSubagentDepth ?? DEFAULT_MAX_DEPTH;
872
- const faceActive = pluginSettings.maxActiveSubagents ??
873
- DEFAULT_MAX_ACTIVE_CHILDREN;
874
- const presetDepth = profile.subagents.maxDepth;
875
- const presetActive = profile.subagents.maxActiveChildren;
876
- const maxDepth = presetDepth !== undefined
877
- ? Math.min(faceDepth, presetDepth)
878
- : faceDepth;
879
- const maxActiveChildren = presetActive !== undefined
880
- ? Math.min(faceActive, presetActive)
881
- : faceActive;
952
+ // No ceilings passed: the tool resolves them live from
953
+ // Settings ∩ badge, so what `analytics` reports is what spawn
954
+ // enforces (freezing them here desynced the two).
882
955
  bindSubagentTools(agent.tools, {
883
956
  runtime: faceBox.runtime,
884
957
  parentSessionId: sessionId,
885
- maxDepth,
886
- maxActiveChildren,
887
958
  });
888
959
  }
889
960
  bindSessionQueryTools(agent.tools, {
@@ -920,6 +991,14 @@ export function createHostManager() {
920
991
  });
921
992
  }
922
993
  }
994
+ // Role deny projection (Codex `role.rs`: a role may only weaken).
995
+ // A subagent with role=reviewer/researcher must not carry write /
996
+ // shell / web / delegation tools even though the preset allows
997
+ // them: the reminder text is advisory, this is the hard cut.
998
+ const roleLink = faceBox.runtime?.subagents?.getByChild(sessionId);
999
+ if (roleLink && agent.tools) {
1000
+ applyRosterToolPolicy(agent.tools, roleLink.role, roleLink.tools);
1001
+ }
923
1002
  return agent;
924
1003
  }, parentSessionId ? { parentSessionId } : undefined);
925
1004
  };
@@ -1816,7 +1895,15 @@ export function createHostManager() {
1816
1895
  }
1817
1896
  }
1818
1897
  });
1819
- lineage.parentOf = (sessionId) => faceRuntime.subagents.getByChild(sessionId)?.parentSessionId;
1898
+ // Tool-delegated children nest under the parent compose scope. UI/rewind
1899
+ // forks (`mode: "fork"`) stay root `agent:{id}` scopes — nesting them
1900
+ // under a live parent races dispose while the child's create() awaits.
1901
+ lineage.parentOf = (sessionId) => {
1902
+ const link = faceRuntime.subagents.getByChild(sessionId);
1903
+ if (!link || link.mode === "fork")
1904
+ return undefined;
1905
+ return link.parentSessionId;
1906
+ };
1820
1907
  notifyMcpOverlay = () => {
1821
1908
  refreshFacePlugins();
1822
1909
  if (lastMcpReconcileOverlay) {