agentfootprint 14.1.1 → 14.2.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 (567) hide show
  1. package/CAPABILITIES.md +2 -0
  2. package/dist/context-bisect/ablation.js +29 -4
  3. package/dist/context-bisect/ablation.js.map +1 -1
  4. package/dist/context-bisect/bisect.js +30 -8
  5. package/dist/context-bisect/bisect.js.map +1 -1
  6. package/dist/context-bisect/conclusion.js +228 -0
  7. package/dist/context-bisect/conclusion.js.map +1 -0
  8. package/dist/context-bisect/conclusionTypes.js +6 -0
  9. package/dist/context-bisect/conclusionTypes.js.map +1 -0
  10. package/dist/context-bisect/format.js +98 -0
  11. package/dist/context-bisect/format.js.map +1 -0
  12. package/dist/context-bisect/index.js.map +1 -1
  13. package/dist/context-bisect/localize.js +25 -96
  14. package/dist/context-bisect/localize.js.map +1 -1
  15. package/dist/context-bisect/toBacktrackTrace.js +6 -1
  16. package/dist/context-bisect/toBacktrackTrace.js.map +1 -1
  17. package/dist/context-bisect/types.js +4 -0
  18. package/dist/context-bisect/types.js.map +1 -1
  19. package/dist/core/agent/arguments/ask/constants.js +30 -0
  20. package/dist/core/agent/arguments/ask/constants.js.map +1 -0
  21. package/dist/core/agent/arguments/ask/context.js +120 -0
  22. package/dist/core/agent/arguments/ask/context.js.map +1 -0
  23. package/dist/core/agent/arguments/ask/fields.js +307 -0
  24. package/dist/core/agent/arguments/ask/fields.js.map +1 -0
  25. package/dist/core/agent/arguments/ask/replyFields.js +48 -0
  26. package/dist/core/agent/arguments/ask/replyFields.js.map +1 -0
  27. package/dist/core/agent/arguments/ask/types.js +3 -0
  28. package/dist/core/agent/arguments/ask/types.js.map +1 -0
  29. package/dist/core/agent/arguments/ask/validation.js +195 -0
  30. package/dist/core/agent/arguments/ask/validation.js.map +1 -0
  31. package/dist/core/agent/arguments/ask/windowBinding/answer.js +84 -0
  32. package/dist/core/agent/arguments/ask/windowBinding/answer.js.map +1 -0
  33. package/dist/core/agent/arguments/ask/windowBinding/editedZone.js +29 -0
  34. package/dist/core/agent/arguments/ask/windowBinding/editedZone.js.map +1 -0
  35. package/dist/core/agent/arguments/ask/windowBinding/fills.js +85 -0
  36. package/dist/core/agent/arguments/ask/windowBinding/fills.js.map +1 -0
  37. package/dist/core/agent/arguments/ask/windowBinding/question.js +44 -0
  38. package/dist/core/agent/arguments/ask/windowBinding/question.js.map +1 -0
  39. package/dist/core/agent/arguments/ask/windowBinding/types.js +3 -0
  40. package/dist/core/agent/arguments/ask/windowBinding/types.js.map +1 -0
  41. package/dist/core/agent/arguments/ask/windowBinding.js +9 -0
  42. package/dist/core/agent/arguments/ask/windowBinding.js.map +1 -0
  43. package/dist/core/agent/arguments/ask/windowReply.js +69 -0
  44. package/dist/core/agent/arguments/ask/windowReply.js.map +1 -0
  45. package/dist/core/agent/arguments/ask.js +48 -898
  46. package/dist/core/agent/arguments/ask.js.map +1 -1
  47. package/dist/core/agent/arguments/dispatch.js +3 -3
  48. package/dist/core/agent/arguments/pendingPrivateAsk.js +3 -1
  49. package/dist/core/agent/arguments/pendingPrivateAsk.js.map +1 -1
  50. package/dist/core/agent/arguments/serve/assumed.js +110 -0
  51. package/dist/core/agent/arguments/serve/assumed.js.map +1 -0
  52. package/dist/core/agent/arguments/serve/clock.js +169 -0
  53. package/dist/core/agent/arguments/serve/clock.js.map +1 -0
  54. package/dist/core/agent/arguments/serve/fills.js +113 -0
  55. package/dist/core/agent/arguments/serve/fills.js.map +1 -0
  56. package/dist/core/agent/arguments/serve/refusals.js +158 -0
  57. package/dist/core/agent/arguments/serve/refusals.js.map +1 -0
  58. package/dist/core/agent/arguments/serve/schema.js +124 -0
  59. package/dist/core/agent/arguments/serve/schema.js.map +1 -0
  60. package/dist/core/agent/arguments/serve/values.js +21 -0
  61. package/dist/core/agent/arguments/serve/values.js.map +1 -0
  62. package/dist/core/agent/arguments/serve/windows.js +328 -0
  63. package/dist/core/agent/arguments/serve/windows.js.map +1 -0
  64. package/dist/core/agent/arguments/serve.js +32 -984
  65. package/dist/core/agent/arguments/serve.js.map +1 -1
  66. package/dist/core/agent/assessment/compose.js +2 -2
  67. package/dist/core/agent/assessment/compose.js.map +1 -1
  68. package/dist/core/agent/assessment/stage.js +1 -1
  69. package/dist/core/agent/buildAgentChart.js +1 -1
  70. package/dist/core/agent/findings/types.js.map +1 -1
  71. package/dist/core/agent/middleware/rewrites.js +2 -2
  72. package/dist/core/agent/middleware/rewrites.js.map +1 -1
  73. package/dist/core/agent/stages/answerCoverage.js +1 -1
  74. package/dist/core/agent/stages/argumentAsk.js +4 -3
  75. package/dist/core/agent/stages/argumentAsk.js.map +1 -1
  76. package/dist/core/agent/stages/callLLM.js +1 -1
  77. package/dist/core/agent/stages/callLLM.js.map +1 -1
  78. package/dist/core/agent/stages/prepareFinal.js +1 -1
  79. package/dist/core/agent/stages/toolCalls/execution/deliveredResult.js +1 -1
  80. package/dist/core/agent/stages/toolCalls/execution/deliveredResult.js.map +1 -1
  81. package/dist/core/agent/stages/toolCalls/helpers/sourceNote.js +1 -1
  82. package/dist/core/slots/buildToolsSlot.js +2 -2
  83. package/dist/core/slots/buildToolsSlot.js.map +1 -1
  84. package/dist/debug.js.map +1 -1
  85. package/dist/esm/context-bisect/ablation.d.ts +8 -0
  86. package/dist/esm/context-bisect/ablation.js +24 -3
  87. package/dist/esm/context-bisect/ablation.js.map +1 -1
  88. package/dist/esm/context-bisect/bisect.d.ts +15 -15
  89. package/dist/esm/context-bisect/bisect.js +27 -5
  90. package/dist/esm/context-bisect/bisect.js.map +1 -1
  91. package/dist/esm/context-bisect/conclusion.d.ts +51 -0
  92. package/dist/esm/context-bisect/conclusion.js +223 -0
  93. package/dist/esm/context-bisect/conclusion.js.map +1 -0
  94. package/dist/esm/context-bisect/conclusionTypes.d.ts +75 -0
  95. package/dist/esm/context-bisect/conclusionTypes.js +5 -0
  96. package/dist/esm/context-bisect/conclusionTypes.js.map +1 -0
  97. package/dist/esm/context-bisect/format.d.ts +10 -0
  98. package/dist/esm/context-bisect/format.js +94 -0
  99. package/dist/esm/context-bisect/format.js.map +1 -0
  100. package/dist/esm/context-bisect/index.d.ts +1 -1
  101. package/dist/esm/context-bisect/index.js.map +1 -1
  102. package/dist/esm/context-bisect/localize.d.ts +8 -10
  103. package/dist/esm/context-bisect/localize.js +24 -94
  104. package/dist/esm/context-bisect/localize.js.map +1 -1
  105. package/dist/esm/context-bisect/toBacktrackTrace.js +6 -1
  106. package/dist/esm/context-bisect/toBacktrackTrace.js.map +1 -1
  107. package/dist/esm/context-bisect/types.d.ts +33 -4
  108. package/dist/esm/context-bisect/types.js +4 -0
  109. package/dist/esm/context-bisect/types.js.map +1 -1
  110. package/dist/esm/core/agent/arguments/ask/constants.d.ts +16 -0
  111. package/dist/esm/core/agent/arguments/ask/constants.js +27 -0
  112. package/dist/esm/core/agent/arguments/ask/constants.js.map +1 -0
  113. package/dist/esm/core/agent/arguments/ask/context.d.ts +23 -0
  114. package/dist/esm/core/agent/arguments/ask/context.js +115 -0
  115. package/dist/esm/core/agent/arguments/ask/context.js.map +1 -0
  116. package/dist/esm/core/agent/arguments/ask/fields.d.ts +42 -0
  117. package/dist/esm/core/agent/arguments/ask/fields.js +300 -0
  118. package/dist/esm/core/agent/arguments/ask/fields.js.map +1 -0
  119. package/dist/esm/core/agent/arguments/ask/replyFields.d.ts +9 -0
  120. package/dist/esm/core/agent/arguments/ask/replyFields.js +42 -0
  121. package/dist/esm/core/agent/arguments/ask/replyFields.js.map +1 -0
  122. package/dist/esm/core/agent/arguments/ask/types.d.ts +195 -0
  123. package/dist/esm/core/agent/arguments/ask/types.js +2 -0
  124. package/dist/esm/core/agent/arguments/ask/types.js.map +1 -0
  125. package/dist/esm/core/agent/arguments/ask/validation.d.ts +42 -0
  126. package/dist/esm/core/agent/arguments/ask/validation.js +188 -0
  127. package/dist/esm/core/agent/arguments/ask/validation.js.map +1 -0
  128. package/dist/esm/core/agent/arguments/ask/windowBinding/answer.d.ts +17 -0
  129. package/dist/esm/core/agent/arguments/ask/windowBinding/answer.js +80 -0
  130. package/dist/esm/core/agent/arguments/ask/windowBinding/answer.js.map +1 -0
  131. package/dist/esm/core/agent/arguments/ask/windowBinding/editedZone.d.ts +11 -0
  132. package/dist/esm/core/agent/arguments/ask/windowBinding/editedZone.js +25 -0
  133. package/dist/esm/core/agent/arguments/ask/windowBinding/editedZone.js.map +1 -0
  134. package/dist/esm/core/agent/arguments/ask/windowBinding/fills.d.ts +18 -0
  135. package/dist/esm/core/agent/arguments/ask/windowBinding/fills.js +81 -0
  136. package/dist/esm/core/agent/arguments/ask/windowBinding/fills.js.map +1 -0
  137. package/dist/esm/core/agent/arguments/ask/windowBinding/question.d.ts +6 -0
  138. package/dist/esm/core/agent/arguments/ask/windowBinding/question.js +40 -0
  139. package/dist/esm/core/agent/arguments/ask/windowBinding/question.js.map +1 -0
  140. package/dist/esm/core/agent/arguments/ask/windowBinding/types.d.ts +35 -0
  141. package/dist/esm/core/agent/arguments/ask/windowBinding/types.js +2 -0
  142. package/dist/esm/core/agent/arguments/ask/windowBinding/types.js.map +1 -0
  143. package/dist/esm/core/agent/arguments/ask/windowBinding.d.ts +4 -0
  144. package/dist/esm/core/agent/arguments/ask/windowBinding.js +4 -0
  145. package/dist/esm/core/agent/arguments/ask/windowBinding.js.map +1 -0
  146. package/dist/esm/core/agent/arguments/ask/windowReply.d.ts +11 -0
  147. package/dist/esm/core/agent/arguments/ask/windowReply.js +65 -0
  148. package/dist/esm/core/agent/arguments/ask/windowReply.js.map +1 -0
  149. package/dist/esm/core/agent/arguments/ask.d.ts +9 -259
  150. package/dist/esm/core/agent/arguments/ask.js +20 -885
  151. package/dist/esm/core/agent/arguments/ask.js.map +1 -1
  152. package/dist/esm/core/agent/arguments/dispatch.d.ts +4 -4
  153. package/dist/esm/core/agent/arguments/dispatch.js +4 -4
  154. package/dist/esm/core/agent/arguments/pendingPrivateAsk.d.ts +1 -1
  155. package/dist/esm/core/agent/arguments/pendingPrivateAsk.js +3 -1
  156. package/dist/esm/core/agent/arguments/pendingPrivateAsk.js.map +1 -1
  157. package/dist/esm/core/agent/arguments/serve/assumed.d.ts +63 -0
  158. package/dist/esm/core/agent/arguments/serve/assumed.js +112 -0
  159. package/dist/esm/core/agent/arguments/serve/assumed.js.map +1 -0
  160. package/dist/esm/core/agent/arguments/serve/clock.d.ts +104 -0
  161. package/dist/esm/core/agent/arguments/serve/clock.js +162 -0
  162. package/dist/esm/core/agent/arguments/serve/clock.js.map +1 -0
  163. package/dist/esm/core/agent/arguments/serve/fills.d.ts +65 -0
  164. package/dist/esm/core/agent/arguments/serve/fills.js +109 -0
  165. package/dist/esm/core/agent/arguments/serve/fills.js.map +1 -0
  166. package/dist/esm/core/agent/arguments/serve/refusals.d.ts +67 -0
  167. package/dist/esm/core/agent/arguments/serve/refusals.js +148 -0
  168. package/dist/esm/core/agent/arguments/serve/refusals.js.map +1 -0
  169. package/dist/esm/core/agent/arguments/serve/schema.d.ts +67 -0
  170. package/dist/esm/core/agent/arguments/serve/schema.js +119 -0
  171. package/dist/esm/core/agent/arguments/serve/schema.js.map +1 -0
  172. package/dist/esm/core/agent/arguments/serve/values.d.ts +11 -0
  173. package/dist/esm/core/agent/arguments/serve/values.js +16 -0
  174. package/dist/esm/core/agent/arguments/serve/values.js.map +1 -0
  175. package/dist/esm/core/agent/arguments/serve/windows.d.ts +60 -0
  176. package/dist/esm/core/agent/arguments/serve/windows.js +324 -0
  177. package/dist/esm/core/agent/arguments/serve/windows.js.map +1 -0
  178. package/dist/esm/core/agent/arguments/serve.d.ts +12 -417
  179. package/dist/esm/core/agent/arguments/serve.js +7 -973
  180. package/dist/esm/core/agent/arguments/serve.js.map +1 -1
  181. package/dist/esm/core/agent/assessment/compose.d.ts +2 -2
  182. package/dist/esm/core/agent/assessment/compose.js +2 -2
  183. package/dist/esm/core/agent/assessment/compose.js.map +1 -1
  184. package/dist/esm/core/agent/assessment/stage.js +1 -1
  185. package/dist/esm/core/agent/buildAgentChart.d.ts +1 -1
  186. package/dist/esm/core/agent/buildAgentChart.js +1 -1
  187. package/dist/esm/core/agent/evidence/figures.d.ts +1 -1
  188. package/dist/esm/core/agent/evidence/figures.js +1 -1
  189. package/dist/esm/core/agent/findings/types.d.ts +2 -2
  190. package/dist/esm/core/agent/findings/types.js.map +1 -1
  191. package/dist/esm/core/agent/middleware/rewrites.d.ts +1 -1
  192. package/dist/esm/core/agent/middleware/rewrites.js +2 -2
  193. package/dist/esm/core/agent/middleware/rewrites.js.map +1 -1
  194. package/dist/esm/core/agent/stages/answerCoverage.d.ts +1 -1
  195. package/dist/esm/core/agent/stages/answerCoverage.js +1 -1
  196. package/dist/esm/core/agent/stages/argumentAsk.d.ts +1 -1
  197. package/dist/esm/core/agent/stages/argumentAsk.js +4 -3
  198. package/dist/esm/core/agent/stages/argumentAsk.js.map +1 -1
  199. package/dist/esm/core/agent/stages/callLLM.js +1 -1
  200. package/dist/esm/core/agent/stages/callLLM.js.map +1 -1
  201. package/dist/esm/core/agent/stages/prepareFinal.d.ts +1 -1
  202. package/dist/esm/core/agent/stages/prepareFinal.js +1 -1
  203. package/dist/esm/core/agent/stages/seed.d.ts +2 -2
  204. package/dist/esm/core/agent/stages/toolCalls/contracts/access.d.ts +1 -1
  205. package/dist/esm/core/agent/stages/toolCalls/execution/deliveredResult.js +1 -1
  206. package/dist/esm/core/agent/stages/toolCalls/execution/deliveredResult.js.map +1 -1
  207. package/dist/esm/core/agent/stages/toolCalls/helpers/sourceNote.d.ts +1 -1
  208. package/dist/esm/core/agent/stages/toolCalls/helpers/sourceNote.js +1 -1
  209. package/dist/esm/core/agent/types.d.ts +1 -1
  210. package/dist/esm/core/slots/buildToolsSlot.d.ts +4 -4
  211. package/dist/esm/core/slots/buildToolsSlot.js +2 -2
  212. package/dist/esm/core/slots/buildToolsSlot.js.map +1 -1
  213. package/dist/esm/debug.d.ts +1 -1
  214. package/dist/esm/debug.js.map +1 -1
  215. package/dist/esm/events/payloads/agent.d.ts +1 -1
  216. package/dist/esm/index.d.ts +1 -1
  217. package/dist/esm/lib/saidByPerson.d.ts +2 -2
  218. package/dist/esm/lib/saidByPerson.js +2 -2
  219. package/dist/esm/locales/timeAsk.d.ts +2 -2
  220. package/dist/esm/locales/timeAsk.js +3 -1
  221. package/dist/esm/locales/timeAsk.js.map +1 -1
  222. package/dist/esm/semantics/coverage/answer.d.ts +3 -3
  223. package/dist/esm/semantics/coverage/answer.js +2 -2
  224. package/dist/esm/semantics/coverage/period.d.ts +1 -1
  225. package/dist/esm/semantics/coverage/period.js +1 -1
  226. package/dist/esm/semantics/coverage/timeLimitFacts.d.ts +1 -1
  227. package/dist/esm/semantics/coverage/timeLimitFacts.js +1 -1
  228. package/dist/esm/semantics/coverage/timeLimits.d.ts +1 -1
  229. package/dist/esm/semantics/coverage/timeLimits.js +1 -1
  230. package/dist/esm/time/ask.d.ts +8 -3
  231. package/dist/esm/time/ask.js +7 -0
  232. package/dist/esm/time/ask.js.map +1 -1
  233. package/dist/esm/time/forms.js +2 -2
  234. package/dist/esm/time/forms.js.map +1 -1
  235. package/dist/esm/time/readers/english/atoms.d.ts +3 -0
  236. package/dist/esm/time/readers/english/atoms.js +164 -0
  237. package/dist/esm/time/readers/english/atoms.js.map +1 -0
  238. package/dist/esm/time/readers/english/grammar.d.ts +49 -0
  239. package/dist/esm/time/readers/english/grammar.js +128 -0
  240. package/dist/esm/time/readers/english/grammar.js.map +1 -0
  241. package/dist/esm/time/readers/english/types.d.ts +11 -0
  242. package/dist/esm/time/readers/english/types.js +2 -0
  243. package/dist/esm/time/readers/english/types.js.map +1 -0
  244. package/dist/esm/time/readers/english/zones.d.ts +13 -0
  245. package/dist/esm/time/readers/english/zones.js +116 -0
  246. package/dist/esm/time/readers/english/zones.js.map +1 -0
  247. package/dist/esm/time/readers/english.d.ts +6 -13
  248. package/dist/esm/time/readers/english.js +10 -327
  249. package/dist/esm/time/readers/english.js.map +1 -1
  250. package/dist/esm/time/readingAsk.d.ts +1 -1
  251. package/dist/esm/time/readingAsk.js +11 -3
  252. package/dist/esm/time/readingAsk.js.map +1 -1
  253. package/dist/esm/time/reply/classify.d.ts +2 -0
  254. package/dist/esm/time/reply/classify.js +28 -0
  255. package/dist/esm/time/reply/classify.js.map +1 -0
  256. package/dist/esm/time/reply/decision.d.ts +2 -0
  257. package/dist/esm/time/reply/decision.js +28 -0
  258. package/dist/esm/time/reply/decision.js.map +1 -0
  259. package/dist/esm/time/reply/decode.d.ts +3 -0
  260. package/dist/esm/time/reply/decode.js +25 -0
  261. package/dist/esm/time/reply/decode.js.map +1 -0
  262. package/dist/esm/time/reply/project.d.ts +5 -0
  263. package/dist/esm/time/reply/project.js +36 -0
  264. package/dist/esm/time/reply/project.js.map +1 -0
  265. package/dist/esm/time/reply/resolve.d.ts +4 -0
  266. package/dist/esm/time/reply/resolve.js +63 -0
  267. package/dist/esm/time/reply/resolve.js.map +1 -0
  268. package/dist/esm/time/reply/types.d.ts +71 -0
  269. package/dist/esm/time/reply/types.js +14 -0
  270. package/dist/esm/time/reply/types.js.map +1 -0
  271. package/dist/esm/time/reply.d.ts +3 -0
  272. package/dist/esm/time/reply.js +3 -0
  273. package/dist/esm/time/reply.js.map +1 -0
  274. package/dist/esm/time/replyForm/bindings.d.ts +22 -0
  275. package/dist/esm/time/replyForm/bindings.js +55 -0
  276. package/dist/esm/time/replyForm/bindings.js.map +1 -0
  277. package/dist/esm/time/replyForm.d.ts +3 -0
  278. package/dist/esm/time/replyForm.js +3 -0
  279. package/dist/esm/time/replyForm.js.map +1 -0
  280. package/dist/esm/time/replyRecord.d.ts +8 -0
  281. package/dist/esm/time/replyRecord.js +26 -0
  282. package/dist/esm/time/replyRecord.js.map +1 -0
  283. package/dist/esm/time/resolve/agreement.d.ts +6 -0
  284. package/dist/esm/time/resolve/agreement.js +26 -0
  285. package/dist/esm/time/resolve/agreement.js.map +1 -0
  286. package/dist/esm/time/resolve/calendar.d.ts +22 -0
  287. package/dist/esm/time/resolve/calendar.js +145 -0
  288. package/dist/esm/time/resolve/calendar.js.map +1 -0
  289. package/dist/esm/time/resolve/lookback.d.ts +6 -0
  290. package/dist/esm/time/resolve/lookback.js +51 -0
  291. package/dist/esm/time/resolve/lookback.js.map +1 -0
  292. package/dist/esm/time/resolve/points.d.ts +24 -0
  293. package/dist/esm/time/resolve/points.js +97 -0
  294. package/dist/esm/time/resolve/points.js.map +1 -0
  295. package/dist/esm/time/resolve/types.d.ts +11 -0
  296. package/dist/esm/time/resolve/types.js +2 -0
  297. package/dist/esm/time/resolve/types.js.map +1 -0
  298. package/dist/esm/time/resolve/wallClock.d.ts +28 -0
  299. package/dist/esm/time/resolve/wallClock.js +70 -0
  300. package/dist/esm/time/resolve/wallClock.js.map +1 -0
  301. package/dist/esm/time/resolve/zones.d.ts +57 -0
  302. package/dist/esm/time/resolve/zones.js +147 -0
  303. package/dist/esm/time/resolve/zones.js.map +1 -0
  304. package/dist/esm/time/resolve.d.ts +2 -13
  305. package/dist/esm/time/resolve.js +28 -492
  306. package/dist/esm/time/resolve.js.map +1 -1
  307. package/dist/esm/time/resolveRecord.d.ts +6 -1
  308. package/dist/esm/time/resolveRecord.js +2 -0
  309. package/dist/esm/time/resolveRecord.js.map +1 -1
  310. package/dist/esm/time/rows/meaning.d.ts +2 -0
  311. package/dist/esm/time/rows/meaning.js +27 -0
  312. package/dist/esm/time/rows/meaning.js.map +1 -0
  313. package/dist/esm/time/rows/types.d.ts +225 -0
  314. package/dist/esm/time/rows/types.js +2 -0
  315. package/dist/esm/time/rows/types.js.map +1 -0
  316. package/dist/esm/time/rows.d.ts +9 -210
  317. package/dist/esm/time/rows.js +19 -6
  318. package/dist/esm/time/rows.js.map +1 -1
  319. package/dist/esm/time/windows.d.ts +2 -0
  320. package/dist/esm/time/windows.js +3 -2
  321. package/dist/esm/time/windows.js.map +1 -1
  322. package/dist/esm/tools/declare.d.ts +1 -1
  323. package/dist/esm/tools/declare.js +1 -1
  324. package/dist/esm/tools/inputRequest/data.d.ts +4 -0
  325. package/dist/esm/tools/inputRequest/data.js +27 -0
  326. package/dist/esm/tools/inputRequest/data.js.map +1 -0
  327. package/dist/esm/tools/inputRequest/response.d.ts +36 -0
  328. package/dist/esm/tools/inputRequest/response.js +65 -0
  329. package/dist/esm/tools/inputRequest/response.js.map +1 -0
  330. package/dist/esm/tools/inputRequest.d.ts +3 -11
  331. package/dist/esm/tools/inputRequest.js +5 -90
  332. package/dist/esm/tools/inputRequest.js.map +1 -1
  333. package/dist/lib/saidByPerson.js +2 -2
  334. package/dist/locales/timeAsk.js +3 -1
  335. package/dist/locales/timeAsk.js.map +1 -1
  336. package/dist/semantics/coverage/answer.js +2 -2
  337. package/dist/semantics/coverage/period.js +1 -1
  338. package/dist/semantics/coverage/timeLimitFacts.js +1 -1
  339. package/dist/semantics/coverage/timeLimits.js +1 -1
  340. package/dist/time/ask.js +8 -1
  341. package/dist/time/ask.js.map +1 -1
  342. package/dist/time/forms.js +2 -2
  343. package/dist/time/forms.js.map +1 -1
  344. package/dist/time/readers/english/atoms.js +168 -0
  345. package/dist/time/readers/english/atoms.js.map +1 -0
  346. package/dist/time/readers/english/grammar.js +132 -0
  347. package/dist/time/readers/english/grammar.js.map +1 -0
  348. package/dist/time/readers/english/types.js +3 -0
  349. package/dist/time/readers/english/types.js.map +1 -0
  350. package/dist/time/readers/english/zones.js +121 -0
  351. package/dist/time/readers/english/zones.js.map +1 -0
  352. package/dist/time/readers/english.js +24 -336
  353. package/dist/time/readers/english.js.map +1 -1
  354. package/dist/time/readingAsk.js +10 -2
  355. package/dist/time/readingAsk.js.map +1 -1
  356. package/dist/time/reply/classify.js +32 -0
  357. package/dist/time/reply/classify.js.map +1 -0
  358. package/dist/time/reply/decision.js +32 -0
  359. package/dist/time/reply/decision.js.map +1 -0
  360. package/dist/time/reply/decode.js +29 -0
  361. package/dist/time/reply/decode.js.map +1 -0
  362. package/dist/time/reply/project.js +41 -0
  363. package/dist/time/reply/project.js.map +1 -0
  364. package/dist/time/reply/resolve.js +67 -0
  365. package/dist/time/reply/resolve.js.map +1 -0
  366. package/dist/time/reply/types.js +18 -0
  367. package/dist/time/reply/types.js.map +1 -0
  368. package/dist/time/reply.js +7 -0
  369. package/dist/time/reply.js.map +1 -0
  370. package/dist/time/replyForm/bindings.js +60 -0
  371. package/dist/time/replyForm/bindings.js.map +1 -0
  372. package/dist/time/replyForm.js +8 -0
  373. package/dist/time/replyForm.js.map +1 -0
  374. package/dist/time/replyRecord.js +30 -0
  375. package/dist/time/replyRecord.js.map +1 -0
  376. package/dist/time/resolve/agreement.js +31 -0
  377. package/dist/time/resolve/agreement.js.map +1 -0
  378. package/dist/time/resolve/calendar.js +151 -0
  379. package/dist/time/resolve/calendar.js.map +1 -0
  380. package/dist/time/resolve/lookback.js +55 -0
  381. package/dist/time/resolve/lookback.js.map +1 -0
  382. package/dist/time/resolve/points.js +101 -0
  383. package/dist/time/resolve/points.js.map +1 -0
  384. package/dist/time/resolve/types.js +3 -0
  385. package/dist/time/resolve/types.js.map +1 -0
  386. package/dist/time/resolve/wallClock.js +78 -0
  387. package/dist/time/resolve/wallClock.js.map +1 -0
  388. package/dist/time/resolve/zones.js +154 -0
  389. package/dist/time/resolve/zones.js.map +1 -0
  390. package/dist/time/resolve.js +34 -498
  391. package/dist/time/resolve.js.map +1 -1
  392. package/dist/time/resolveRecord.js +2 -0
  393. package/dist/time/resolveRecord.js.map +1 -1
  394. package/dist/time/rows/meaning.js +31 -0
  395. package/dist/time/rows/meaning.js.map +1 -0
  396. package/dist/time/rows/types.js +3 -0
  397. package/dist/time/rows/types.js.map +1 -0
  398. package/dist/time/rows.js +20 -6
  399. package/dist/time/rows.js.map +1 -1
  400. package/dist/time/windows.js +3 -2
  401. package/dist/time/windows.js.map +1 -1
  402. package/dist/tools/declare.js +1 -1
  403. package/dist/tools/inputRequest/data.js +34 -0
  404. package/dist/tools/inputRequest/data.js.map +1 -0
  405. package/dist/tools/inputRequest/response.js +71 -0
  406. package/dist/tools/inputRequest/response.js.map +1 -0
  407. package/dist/tools/inputRequest.js +31 -116
  408. package/dist/tools/inputRequest.js.map +1 -1
  409. package/dist/types/context-bisect/ablation.d.ts +8 -0
  410. package/dist/types/context-bisect/ablation.d.ts.map +1 -1
  411. package/dist/types/context-bisect/bisect.d.ts +15 -15
  412. package/dist/types/context-bisect/bisect.d.ts.map +1 -1
  413. package/dist/types/context-bisect/conclusion.d.ts +52 -0
  414. package/dist/types/context-bisect/conclusion.d.ts.map +1 -0
  415. package/dist/types/context-bisect/conclusionTypes.d.ts +76 -0
  416. package/dist/types/context-bisect/conclusionTypes.d.ts.map +1 -0
  417. package/dist/types/context-bisect/format.d.ts +11 -0
  418. package/dist/types/context-bisect/format.d.ts.map +1 -0
  419. package/dist/types/context-bisect/index.d.ts +1 -1
  420. package/dist/types/context-bisect/index.d.ts.map +1 -1
  421. package/dist/types/context-bisect/localize.d.ts +8 -10
  422. package/dist/types/context-bisect/localize.d.ts.map +1 -1
  423. package/dist/types/context-bisect/toBacktrackTrace.d.ts.map +1 -1
  424. package/dist/types/context-bisect/types.d.ts +33 -4
  425. package/dist/types/context-bisect/types.d.ts.map +1 -1
  426. package/dist/types/core/agent/arguments/ask/constants.d.ts +17 -0
  427. package/dist/types/core/agent/arguments/ask/constants.d.ts.map +1 -0
  428. package/dist/types/core/agent/arguments/ask/context.d.ts +24 -0
  429. package/dist/types/core/agent/arguments/ask/context.d.ts.map +1 -0
  430. package/dist/types/core/agent/arguments/ask/fields.d.ts +43 -0
  431. package/dist/types/core/agent/arguments/ask/fields.d.ts.map +1 -0
  432. package/dist/types/core/agent/arguments/ask/replyFields.d.ts +10 -0
  433. package/dist/types/core/agent/arguments/ask/replyFields.d.ts.map +1 -0
  434. package/dist/types/core/agent/arguments/ask/types.d.ts +196 -0
  435. package/dist/types/core/agent/arguments/ask/types.d.ts.map +1 -0
  436. package/dist/types/core/agent/arguments/ask/validation.d.ts +43 -0
  437. package/dist/types/core/agent/arguments/ask/validation.d.ts.map +1 -0
  438. package/dist/types/core/agent/arguments/ask/windowBinding/answer.d.ts +18 -0
  439. package/dist/types/core/agent/arguments/ask/windowBinding/answer.d.ts.map +1 -0
  440. package/dist/types/core/agent/arguments/ask/windowBinding/editedZone.d.ts +12 -0
  441. package/dist/types/core/agent/arguments/ask/windowBinding/editedZone.d.ts.map +1 -0
  442. package/dist/types/core/agent/arguments/ask/windowBinding/fills.d.ts +19 -0
  443. package/dist/types/core/agent/arguments/ask/windowBinding/fills.d.ts.map +1 -0
  444. package/dist/types/core/agent/arguments/ask/windowBinding/question.d.ts +7 -0
  445. package/dist/types/core/agent/arguments/ask/windowBinding/question.d.ts.map +1 -0
  446. package/dist/types/core/agent/arguments/ask/windowBinding/types.d.ts +36 -0
  447. package/dist/types/core/agent/arguments/ask/windowBinding/types.d.ts.map +1 -0
  448. package/dist/types/core/agent/arguments/ask/windowBinding.d.ts +5 -0
  449. package/dist/types/core/agent/arguments/ask/windowBinding.d.ts.map +1 -0
  450. package/dist/types/core/agent/arguments/ask/windowReply.d.ts +12 -0
  451. package/dist/types/core/agent/arguments/ask/windowReply.d.ts.map +1 -0
  452. package/dist/types/core/agent/arguments/ask.d.ts +9 -259
  453. package/dist/types/core/agent/arguments/ask.d.ts.map +1 -1
  454. package/dist/types/core/agent/arguments/dispatch.d.ts +4 -4
  455. package/dist/types/core/agent/arguments/pendingPrivateAsk.d.ts +1 -1
  456. package/dist/types/core/agent/arguments/pendingPrivateAsk.d.ts.map +1 -1
  457. package/dist/types/core/agent/arguments/serve/assumed.d.ts +64 -0
  458. package/dist/types/core/agent/arguments/serve/assumed.d.ts.map +1 -0
  459. package/dist/types/core/agent/arguments/serve/clock.d.ts +105 -0
  460. package/dist/types/core/agent/arguments/serve/clock.d.ts.map +1 -0
  461. package/dist/types/core/agent/arguments/serve/fills.d.ts +66 -0
  462. package/dist/types/core/agent/arguments/serve/fills.d.ts.map +1 -0
  463. package/dist/types/core/agent/arguments/serve/refusals.d.ts +68 -0
  464. package/dist/types/core/agent/arguments/serve/refusals.d.ts.map +1 -0
  465. package/dist/types/core/agent/arguments/serve/schema.d.ts +68 -0
  466. package/dist/types/core/agent/arguments/serve/schema.d.ts.map +1 -0
  467. package/dist/types/core/agent/arguments/serve/values.d.ts +12 -0
  468. package/dist/types/core/agent/arguments/serve/values.d.ts.map +1 -0
  469. package/dist/types/core/agent/arguments/serve/windows.d.ts +61 -0
  470. package/dist/types/core/agent/arguments/serve/windows.d.ts.map +1 -0
  471. package/dist/types/core/agent/arguments/serve.d.ts +12 -417
  472. package/dist/types/core/agent/arguments/serve.d.ts.map +1 -1
  473. package/dist/types/core/agent/assessment/compose.d.ts +2 -2
  474. package/dist/types/core/agent/buildAgentChart.d.ts +1 -1
  475. package/dist/types/core/agent/evidence/figures.d.ts +1 -1
  476. package/dist/types/core/agent/findings/types.d.ts +2 -2
  477. package/dist/types/core/agent/findings/types.d.ts.map +1 -1
  478. package/dist/types/core/agent/middleware/rewrites.d.ts +1 -1
  479. package/dist/types/core/agent/stages/answerCoverage.d.ts +1 -1
  480. package/dist/types/core/agent/stages/argumentAsk.d.ts +1 -1
  481. package/dist/types/core/agent/stages/argumentAsk.d.ts.map +1 -1
  482. package/dist/types/core/agent/stages/prepareFinal.d.ts +1 -1
  483. package/dist/types/core/agent/stages/seed.d.ts +2 -2
  484. package/dist/types/core/agent/stages/toolCalls/contracts/access.d.ts +1 -1
  485. package/dist/types/core/agent/stages/toolCalls/helpers/sourceNote.d.ts +1 -1
  486. package/dist/types/core/agent/types.d.ts +1 -1
  487. package/dist/types/core/slots/buildToolsSlot.d.ts +4 -4
  488. package/dist/types/debug.d.ts +1 -1
  489. package/dist/types/debug.d.ts.map +1 -1
  490. package/dist/types/events/payloads/agent.d.ts +1 -1
  491. package/dist/types/index.d.ts +1 -1
  492. package/dist/types/index.d.ts.map +1 -1
  493. package/dist/types/lib/saidByPerson.d.ts +2 -2
  494. package/dist/types/locales/timeAsk.d.ts +2 -2
  495. package/dist/types/locales/timeAsk.d.ts.map +1 -1
  496. package/dist/types/semantics/coverage/answer.d.ts +3 -3
  497. package/dist/types/semantics/coverage/period.d.ts +1 -1
  498. package/dist/types/semantics/coverage/timeLimitFacts.d.ts +1 -1
  499. package/dist/types/semantics/coverage/timeLimits.d.ts +1 -1
  500. package/dist/types/time/ask.d.ts +8 -3
  501. package/dist/types/time/ask.d.ts.map +1 -1
  502. package/dist/types/time/readers/english/atoms.d.ts +4 -0
  503. package/dist/types/time/readers/english/atoms.d.ts.map +1 -0
  504. package/dist/types/time/readers/english/grammar.d.ts +50 -0
  505. package/dist/types/time/readers/english/grammar.d.ts.map +1 -0
  506. package/dist/types/time/readers/english/types.d.ts +12 -0
  507. package/dist/types/time/readers/english/types.d.ts.map +1 -0
  508. package/dist/types/time/readers/english/zones.d.ts +14 -0
  509. package/dist/types/time/readers/english/zones.d.ts.map +1 -0
  510. package/dist/types/time/readers/english.d.ts +6 -13
  511. package/dist/types/time/readers/english.d.ts.map +1 -1
  512. package/dist/types/time/readingAsk.d.ts +1 -1
  513. package/dist/types/time/readingAsk.d.ts.map +1 -1
  514. package/dist/types/time/reply/classify.d.ts +3 -0
  515. package/dist/types/time/reply/classify.d.ts.map +1 -0
  516. package/dist/types/time/reply/decision.d.ts +3 -0
  517. package/dist/types/time/reply/decision.d.ts.map +1 -0
  518. package/dist/types/time/reply/decode.d.ts +4 -0
  519. package/dist/types/time/reply/decode.d.ts.map +1 -0
  520. package/dist/types/time/reply/project.d.ts +6 -0
  521. package/dist/types/time/reply/project.d.ts.map +1 -0
  522. package/dist/types/time/reply/resolve.d.ts +5 -0
  523. package/dist/types/time/reply/resolve.d.ts.map +1 -0
  524. package/dist/types/time/reply/types.d.ts +72 -0
  525. package/dist/types/time/reply/types.d.ts.map +1 -0
  526. package/dist/types/time/reply.d.ts +4 -0
  527. package/dist/types/time/reply.d.ts.map +1 -0
  528. package/dist/types/time/replyForm/bindings.d.ts +23 -0
  529. package/dist/types/time/replyForm/bindings.d.ts.map +1 -0
  530. package/dist/types/time/replyForm.d.ts +4 -0
  531. package/dist/types/time/replyForm.d.ts.map +1 -0
  532. package/dist/types/time/replyRecord.d.ts +9 -0
  533. package/dist/types/time/replyRecord.d.ts.map +1 -0
  534. package/dist/types/time/resolve/agreement.d.ts +7 -0
  535. package/dist/types/time/resolve/agreement.d.ts.map +1 -0
  536. package/dist/types/time/resolve/calendar.d.ts +23 -0
  537. package/dist/types/time/resolve/calendar.d.ts.map +1 -0
  538. package/dist/types/time/resolve/lookback.d.ts +7 -0
  539. package/dist/types/time/resolve/lookback.d.ts.map +1 -0
  540. package/dist/types/time/resolve/points.d.ts +25 -0
  541. package/dist/types/time/resolve/points.d.ts.map +1 -0
  542. package/dist/types/time/resolve/types.d.ts +12 -0
  543. package/dist/types/time/resolve/types.d.ts.map +1 -0
  544. package/dist/types/time/resolve/wallClock.d.ts +29 -0
  545. package/dist/types/time/resolve/wallClock.d.ts.map +1 -0
  546. package/dist/types/time/resolve/zones.d.ts +58 -0
  547. package/dist/types/time/resolve/zones.d.ts.map +1 -0
  548. package/dist/types/time/resolve.d.ts +2 -13
  549. package/dist/types/time/resolve.d.ts.map +1 -1
  550. package/dist/types/time/resolveRecord.d.ts +6 -1
  551. package/dist/types/time/resolveRecord.d.ts.map +1 -1
  552. package/dist/types/time/rows/meaning.d.ts +3 -0
  553. package/dist/types/time/rows/meaning.d.ts.map +1 -0
  554. package/dist/types/time/rows/types.d.ts +226 -0
  555. package/dist/types/time/rows/types.d.ts.map +1 -0
  556. package/dist/types/time/rows.d.ts +9 -210
  557. package/dist/types/time/rows.d.ts.map +1 -1
  558. package/dist/types/time/windows.d.ts +2 -0
  559. package/dist/types/time/windows.d.ts.map +1 -1
  560. package/dist/types/tools/declare.d.ts +1 -1
  561. package/dist/types/tools/inputRequest/data.d.ts +5 -0
  562. package/dist/types/tools/inputRequest/data.d.ts.map +1 -0
  563. package/dist/types/tools/inputRequest/response.d.ts +37 -0
  564. package/dist/types/tools/inputRequest/response.d.ts.map +1 -0
  565. package/dist/types/tools/inputRequest.d.ts +3 -11
  566. package/dist/types/tools/inputRequest.d.ts.map +1 -1
  567. package/package.json +1 -1
@@ -29,988 +29,36 @@
29
29
  */
30
30
  Object.defineProperty(exports, "__esModule", { value: true });
31
31
  exports.assumedLinesFor = exports.assumedBlockOf = exports.assumedBlock = exports.ASSUMED_BLOCK_HEADING = exports.keptAnswersNote = exports.timeRefusal = exports.secondPauseRefusal = exports.unansweredRefusal = exports.unmountedRulesRefusal = exports.unreadableRulesRefusal = exports.ANSWERED_SOURCE_CLAUSE = exports.filledNote = exports.timeLine = exports.TIME_LINE_SOURCE = exports.clockSentence = exports.UNKNOWN_ZONE_CLAUSE = exports.timeLimitsSentence = exports.timeLimitsLine = exports.timeWindowsLine = exports.rulesOnWire = exports.withArgumentRules = exports.ASK_SOURCES_SENTENCE = exports.ASK_SENTENCE = exports.assumeSentence = exports.printedValue = void 0;
32
- const toolShownArgs_js_1 = require("../../toolShownArgs.js");
33
- const answer_js_1 = require("../../../semantics/coverage/answer.js");
34
- Object.defineProperty(exports, "ASSUMED_BLOCK_HEADING", { enumerable: true, get: function () { return answer_js_1.ASSUMED_BLOCK_HEADING; } });
35
- const timeLimits_js_1 = require("../../../semantics/coverage/timeLimits.js");
36
- const rewrites_js_1 = require("../middleware/rewrites.js");
37
- const declare_js_1 = require("../../../tools/declare.js");
38
- const rows_js_1 = require("./rows.js");
39
- const saidByPerson_js_1 = require("../../../lib/saidByPerson.js");
40
- const convert_js_1 = require("../../../time/convert.js");
41
- const windows_js_1 = require("../../../time/windows.js");
42
- const present_js_1 = require("../../../time/present.js");
43
- const isPlainObject = (value) => typeof value === 'object' && value !== null && !Array.isArray(value);
44
- /** A declared value as a sentence prints it: a string quoted, a number or boolean bare. */
45
- function printedValue(value) {
46
- return typeof value === 'string' ? JSON.stringify(value) : String(value);
47
- }
48
- exports.printedValue = printedValue;
49
- /**
50
- * The sentence a ruled `assume` property carries in the served schema: what the
51
- * library does when the call leaves the argument out, and what the record
52
- * keeps. It promises nothing a later path can break — not that the call runs
53
- * (permission may deny it), only what fills a value that is left out.
54
- */
55
- function assumeSentence(value, hidden) {
56
- return hidden
57
- ? "If left out, the tool's rule fills a declared value (hidden by the tool's view), recorded as assumed."
58
- : `If left out, the tool's rule fills ${printedValue(value)}, recorded as assumed.`;
59
- }
60
- exports.assumeSentence = assumeSentence;
61
- // LENS · tool-description · persistent-history
62
- // reads: the tool's own `ask` rule — nothing about the call, the model or the person
63
- // law: says what the model may do and what the record keeps; promises no outcome (the call may still
64
- // be denied by permission, refused, or asked about again).
65
- /**
66
- * The sentence a ruled `ask` property carries in the served schema: the rule
67
- * asks the person for the value, so the model may leave it out — and should,
68
- * unless the person gave it. No value is printed: an `ask` rule has no default.
69
- */
70
- exports.ASK_SENTENCE = "The tool's rule asks the person for this value; leave it out unless the person gave it.";
71
- // LENS · tool-description · persistent-history
72
- // reads: the tool's own `ask` rule and the declared-sources arm — nothing about the call, the model or
73
- // the person
74
- // law: says what the model may do and where it declares it; promises no outcome (the call may still be
75
- // denied by permission, refused, or asked about again).
76
- /**
77
- * The sentence a ruled `ask` property carries under DECLARED SOURCES
78
- * (`.findings({ argumentSources: true })`, `.inputsLayer({ argumentSources:
79
- * true })`) in place of `ASK_SENTENCE`: the same rule, and — at the place the
80
- * model decides whether to send the value — where it says the person gave it.
81
- * Under the arm a present value with no traced source is asked of the person
82
- * (`resolve.ts`), so "leave it out unless the person gave it" alone told the
83
- * model that SENDING the value was the whole of its statement: in the paid
84
- * step-5 run (`bench/inputs/runs/haiku45-step5`) it left the period out on 32
85
- * of 32 calls where the person gave none — and a period the person HAD given
86
- * was traced to their words, unasked, on 7 of 88 calls.
87
- */
88
- exports.ASK_SOURCES_SENTENCE = "The tool's rule asks the person for this value; leave it out unless the person gave it, and " +
89
- 'then quote their words for it in `_findings.from`.';
90
- function withSentence(property, sentence) {
91
- const description = property.description;
92
- const text = typeof description === 'string' && description.trim() !== ''
93
- ? `${description.trimEnd()} ${sentence}`
94
- : sentence;
95
- return { ...property, description: text };
96
- }
97
- // FOLD · the one owner of how a ruled tool's schema is SERVED
98
- // consumers read this and never re-derive it: core/slots/buildToolsSlot.ts · commitWire (the one
99
- // decoration site, through `rulesOnWire`) and core/agent/stages/seed.ts (its static twin), each
100
- // loading this module through `import()` under the arm; servedView rebuilds from the committed
101
- // list, so the decoration is a pure function of (schema, tool).
102
- /**
103
- * The served copy of a ruled tool's schema: every argument an `assume` or an
104
- * `ask` rule governs leaves `required` (the library fills it, or asks the
105
- * person for it, when the call leaves it out) and its property's description
106
- * gains the rule's sentence (an `ask` rule's names `_findings.from` under the
107
- * sources arm, `options.sources`). A rebuilt copy — the registry schema, which
108
- * `validateToolArgs` judges and `mcpServe` serves, is never edited. The SAME
109
- * reference back for a tool with no rules, rules that cannot be read (the
110
- * dispatch re-read refuses its calls) or no tool at all (a chart with no
111
- * claimant record) — so an agent whose tools declare nothing serves the bytes
112
- * it always did.
113
- *
114
- * @example
115
- * ```ts
116
- * withArgumentRules(searchLogs.schema, searchLogs).inputSchema.required; // ['service']
117
- * ```
118
- */
119
- function withArgumentRules(schema, tool, options) {
120
- const rules = (0, declare_js_1.rulesOf)(tool);
121
- if (rules === undefined || (0, declare_js_1.isRefused)(rules))
122
- return schema;
123
- const served = rules.ruled.filter((r) => (r.rule === 'assume' && r.assume !== undefined) || (r.rule === 'ask' && r.ask !== undefined));
124
- if (served.length === 0)
125
- return schema;
126
- const input = schema.inputSchema;
127
- const properties = isPlainObject(input.properties) ? { ...input.properties } : {};
128
- for (const r of served) {
129
- const property = properties[r.argument];
130
- if (!isPlainObject(property))
131
- continue;
132
- if (r.rule === 'ask') {
133
- const sentence = options?.sources === true ? exports.ASK_SOURCES_SENTENCE : exports.ASK_SENTENCE;
134
- properties[r.argument] = withSentence(property, sentence);
135
- continue;
136
- }
137
- const value = r.assume;
138
- properties[r.argument] = withSentence(property, assumeSentence(value, (0, toolShownArgs_js_1.carriesArgumentView)(tool)));
139
- }
140
- const ruledNames = new Set(served.map((r) => r.argument));
141
- const required = Array.isArray(input.required)
142
- ? input.required.filter((name) => !(typeof name === 'string' && ruledNames.has(name)))
143
- : undefined;
144
- const { required: _required, ...rest } = input;
145
- void _required;
146
- return {
147
- ...schema,
148
- inputSchema: {
149
- ...rest,
150
- properties,
151
- ...(required !== undefined && required.length > 0 && { required }),
152
- },
153
- };
154
- }
155
- exports.withArgumentRules = withArgumentRules;
156
- /**
157
- * The served list with each ruled tool's schema decorated (`withArgumentRules`,
158
- * from the rules of the implementation that WINS each name), or the SAME list
159
- * when no served schema changed — so an armed agent whose wire carries no
160
- * ruled tool commits the bytes it always did. The tools slot's one decoration
161
- * site (`core/slots/buildToolsSlot.ts` · `commitWire`) calls it under the arm.
162
- * `optionsOf` gives each schema its own `ServeOptions`: under declared sources
163
- * one wire can hold a tool that carries `_findings.from` beside a provider's
164
- * tool whose author owns `_findings`, which does not.
165
- */
166
- function rulesOnWire(served, winningTools, optionsOf) {
167
- let changed = false;
168
- const decorated = served.map((schema) => {
169
- const next = withArgumentRules(schema, winningTools.get(schema.name), optionsOf?.(schema));
170
- if (next !== schema)
171
- changed = true;
172
- return next;
173
- });
174
- return changed ? decorated : served;
175
- }
176
- exports.rulesOnWire = rulesOnWire;
177
- /** A converted value as the line prints it — an object form's as JSON. */
178
- function printedArgument(value) {
179
- return typeof value === 'object' && value !== null
180
- ? JSON.stringify(value)
181
- : printedValue(value);
182
- }
183
- /** The served tools (in served order) whose winning implementation declares period forms. */
184
- function periodToolsOf(served, winningTools) {
185
- const out = [];
186
- for (const schema of served) {
187
- const tool = winningTools.get(schema.name);
188
- const rules = (0, declare_js_1.rulesOf)(tool);
189
- if (tool === undefined || rules === undefined || (0, declare_js_1.isRefused)(rules))
190
- continue;
191
- const forms = (0, declare_js_1.periodFormsOf)(rules.period);
192
- if (forms.length === 0)
193
- continue;
194
- out.push({ name: schema.name, tool, forms, facts: (0, declare_js_1.periodFactsOf)(rules.period) });
195
- }
196
- return out;
197
- }
198
- /** Whose one window of the person's words is — the line's source clause. */
199
- function whoseWindow(w) {
200
- if (w.source === 'answered') {
201
- return w.answer === 'edited'
202
- ? 'the window the person gave when asked what their words meant'
203
- : 'the window the person confirmed when asked what their words meant';
204
- }
205
- return "a reading of the person's words they have not confirmed, not their words";
206
- }
207
- /**
208
- * A window for a person, in its zone, to the minute with its end AS SAID — the last minute inside
209
- * the half-open range (`time/present.ts` · `presentRange`); the ISO interval if it cannot be.
210
- */
211
- function presentedWindow(w) {
212
- try {
213
- return (0, present_js_1.presentRange)(w.range, { zone: w.zone }, 'minute');
214
- }
215
- catch {
216
- return `${w.range.from}/${w.range.to}`;
217
- }
218
- }
219
- /** One tool's values for one settled window — exact, else the wider read the fill would use, said so. */
220
- function toolValues(pt, w, windows) {
221
- const ctx = {
222
- now: windows.now,
223
- zone: w.zone,
224
- ...(windows.appZone !== undefined && { appZone: windows.appZone }),
225
- granularityMs: (0, convert_js_1.granularityMsOf)(pt.facts),
226
- };
227
- // The one answer (`convertForTool`) over the one input (`windowToConvert`) the fill and the time
228
- // ask's answer also use: the values named here are the values the call is handed, and a window
229
- // the tool would refuse is named for no tool.
230
- const read = (0, convert_js_1.convertForTool)((0, windows_js_1.windowToConvert)(w), pt.forms, pt.facts, ctx);
231
- if ('refused' in read)
232
- return undefined;
233
- const conversion = read.conversion;
234
- const values = Object.entries(conversion.values).map(([argument, value]) => (0, toolShownArgs_js_1.carriesArgumentView)(pt.tool)
235
- ? `${argument} (hidden by the tool's view)`
236
- : `${argument} ${printedArgument(value)}`);
237
- const wider = 'sent' in conversion ? ' (a wider read than the words named)' : '';
238
- return `${pt.name} ${values.join(', ')}${wider}`;
239
- }
240
- /** The settled half: each window, whose it is, and each tool's values for it. */
241
- function settledSentence(tools, windows) {
242
- const clauses = [];
243
- for (const w of windows.windows) {
244
- if (w.quote === undefined)
245
- continue;
246
- const values = tools.flatMap((pt) => toolValues(pt, w, windows) ?? []);
247
- if (values.length === 0)
248
- continue;
249
- clauses.push(`“${w.quote}” is ${presentedWindow(w)}, ${whoseWindow(w)} — ${values.join('; ')}`);
250
- }
251
- if (clauses.length === 0)
252
- return undefined;
253
- const these = clauses.length === 1 ? 'that window' : 'those windows';
254
- return (`The person's time words, as the library holds them: ${clauses.join('. ')}. ` +
255
- `A call may pass these values as written; an answer built on them states ${these}.`);
256
- }
257
- /**
258
- * The control half: the window the person set in the app's time control (the run's `time.window`,
259
- * `source: 'control'`, TQ26) — the person's own, like an answer — in their zone, with each served
260
- * period tool's values for it, the same conversion the fill uses. So an app never writes its own
261
- * prompt text for a window it set from a UI. The window is a fact about the person's TURN, not
262
- * about a tool (G14): with no served period tool that can read it, the sentence still names it —
263
- * without values, and without a permission to pass any.
264
- */
265
- function controlSentence(tools, windows) {
266
- const w = windows.control;
267
- if (w === undefined)
268
- return undefined;
269
- const values = tools.flatMap((pt) => toolValues(pt, w, windows) ?? []);
270
- // Under an unknown zone (G15) the window is spelled in UTC — the zone the presented window
271
- // already names — and the line says why, once.
272
- const unknown = windows.zoneUnknown === true ? ` (${exports.UNKNOWN_ZONE_CLAUSE})` : '';
273
- const named = `The window the person set in the app's time control is ${presentedWindow(w)}${unknown}`;
274
- if (values.length === 0)
275
- return `${named}. An answer built on it states that window.`;
276
- return (`${named} — ${values.join('; ')}. A call may pass these values as written; an answer built ` +
277
- 'on them states that window.');
278
- }
279
- /**
280
- * The pending half: the quotes no one has confirmed. Before any call ran on a window of the
281
- * model's own, the one move that asks the person — the call with the period left out — named as
282
- * the next step, with the two moves that do not (a question in the reply, a written window).
283
- * After one did, the limit the answer states instead, as a CONCLUSION about the results in hand:
284
- * whose reading their window is and what the answer names — never a story of the call that ran
285
- * and never a negation of a confirmation. Measured twice: "the person has not confirmed it" drew
286
- * "You're right… I apologize" on 37/37 answers (T6b round 1); "the call that ran carried a window
287
- * written into the call, not one the person confirmed", under the library's opening, still drew it
288
- * on 7/10 (`bench/time/runs/haiku45-t6b-r2`, stopped) — a past-tense account of the call reads as
289
- * the person's complaint, whoever the opening says is talking.
290
- */
291
- function pendingSentence(allTools, windows) {
292
- // A tool that refused a quote cannot confirm it: the quote is pending only for the tools that
293
- // did not, and one every served period tool refused is the refused half's alone.
294
- const pending = (windows.pending ?? []).filter((q) => allTools.some((t) => !refusedFor(windows, q, t.name)));
295
- if (pending.length === 0)
296
- return undefined;
297
- const tools = allTools.filter((t) => pending.some((q) => !refusedFor(windows, q, t.name)));
298
- const quotes = pending.map((q) => `“${q}”`).join(', ');
299
- if (windows.ranUnconfirmed === true) {
300
- return (`The results for ${quotes} cover the window written into the call — the assistant's own ` +
301
- `reading of those words. So the answer gives those results and names that window as the ` +
302
- `assistant's reading of ${quotes}.`);
303
- }
304
- const leftOut = tools.flatMap((pt) => {
305
- const args = [...new Set(pt.forms.flatMap((f) => (0, convert_js_1.formArguments)(f).map((a) => a.argument)))];
306
- return args.length === 0 ? [] : [{ name: pt.name, args: args.join(', ') }];
307
- });
308
- if (leftOut.length === 0)
309
- return undefined;
310
- const unread = (windows.pendingUnread ?? []).filter((q) => pending.includes(q));
311
- if (unread.length > 0) {
312
- return unreadSentence(pending, windows.pendingZones ?? [], unread, leftOut.map((c) => `${c.name} with ${c.args} left out`).join(', or '));
313
- }
314
- const calls = leftOut.map((c) => `${c.name} is called with ${c.args} left out`);
315
- return (`The window for ${quotes} is not settled yet: ${formClause(pending, windows.pendingZones)} ` +
316
- `${calls.join(', or ')} (or the call is refused with the reason). So the next step is that ` +
317
- 'call — not a question about the time in the reply, and not a window written into the call, ' +
318
- 'which would run unconfirmed.');
319
- }
320
- /**
321
- * What the library's own form does for the pending quotes, up to "opens when": it shows its
322
- * reading to confirm — or, for a quote it holds no reading of (`ReaderWindows.pendingZones`: a
323
- * zone it cannot resolve), it asks which time zone the words name and shows no reading. Words it
324
- * could not read at all (`ReaderWindows.pendingUnread`) are {@link unreadSentence}'s.
325
- */
326
- function formClause(pending, zones = []) {
327
- const zoned = pending.filter((q) => zones.includes(q));
328
- const read = pending.filter((q) => !zones.includes(q));
329
- if (zoned.length === 0) {
330
- return ("the person confirms it in the library's own form, which shows its reading of those " +
331
- 'words with the zone and opens when');
332
- }
333
- const zq = zoned.map((q) => `“${q}”`).join(', ');
334
- if (read.length === 0) {
335
- return ('the library holds no reading of those words until it knows which time zone they name, ' +
336
- 'so its own form asks the person for that zone, and it opens when');
337
- }
338
- const rq = read.map((q) => `“${q}”`).join(', ');
339
- return (`the person confirms ${rq} in the library's own form, which shows its reading of those ` +
340
- `words with the zone, and names the time zone of ${zq}, which the library holds no reading ` +
341
- 'of until it knows it; the form opens when');
342
- }
343
- /**
344
- * The pending half when some of the person's words were not read at all
345
- * (`ReaderWindows.pendingUnread`): the library's CONCLUSION and the ONE next step, in that order —
346
- * it could not read those words, so the next step is the call with the period left out, which
347
- * opens its own form (asking which time they meant, nothing filled in; beside it, a reading to
348
- * confirm and a zone to name, each quote with what the form does for it) — then the two moves
349
- * that are not it, said as what not to do.
350
- *
351
- * WHY THIS SHAPE. The line before it opened "The window for … is not settled yet: the library
352
- * could not read those words, so its own form asks the person which time they meant … So the next
353
- * step is that call — not a question about the time in the reply". Haiku 4.5 answered it with a
354
- * question in prose and no call on 15/15 `yesterday-morning` runs of the T6b bench
355
- * (`bench/time/runs/haiku45-t6b-v2`), and again in the 2026-10-01 demo video ("which clients had
356
- * slow operations yesterday morning"): "could not read" read as permission to ask, and the next
357
- * step came last. So the step comes first, as the conclusion of what the library could not read,
358
- * and the reply's question is named as the move NOT to make (`bench/time/RULE-unread.md`).
359
- */
360
- function unreadSentence(pending, zones, unread, leftOut) {
361
- const listed = (qs) => qs.map((q) => `“${q}”`).join(', ');
362
- const zoned = pending.filter((q) => zones.includes(q) && !unread.includes(q));
363
- const read = pending.filter((q) => !zones.includes(q) && !unread.includes(q));
364
- const alone = zoned.length === 0 && read.length === 0;
365
- const does = [
366
- alone
367
- ? 'asks the person which time they meant, with nothing filled in'
368
- : `asks the person which time ${listed(unread)} meant, with nothing filled in`,
369
- ...(read.length > 0
370
- ? [`shows its reading of ${listed(read)} with the zone for the person to confirm`]
371
- : []),
372
- ...(zoned.length > 0
373
- ? [
374
- `asks the time zone of ${listed(zoned)}, which the library holds no reading of until it knows it`,
375
- ]
376
- : []),
377
- ];
378
- const doing = does.length === 1
379
- ? does[0]
380
- : `${does.slice(0, -1).join(', ')}, and ${does[does.length - 1]}`;
381
- return (`The library could not read ${listed(unread)}, so the next step is to call ${leftOut}: ` +
382
- `that call opens the library's own form, which ${doing} (or the call is refused with the ` +
383
- 'reason). Do not ask about the time in the reply — the form asks it — and do not write a ' +
384
- 'window into the call, which would run unconfirmed.');
385
- }
386
- // LENS · late-line · request-ephemeral
387
- // reads: the person's windows a SERVED period tool refused this turn before dispatch (`windows.ts` ·
388
- // `readerWindowsOf`, `refused`: the quote, the tool and the reason code) and that tool's
389
- // declared facts
390
- // law: the library's CONCLUSION about a call that did not run: past tense for the refusal, the
391
- // reason in the tool's declared facts only (the one text `timeRefusal` also serves — never the
392
- // window's value), then what an answer states; it names no next move for that window.
393
- /**
394
- * The refused half of the served time line: each window of the person's a
395
- * served period tool refused before dispatch — the call's reason in the same
396
- * words its result read ({@link timeRefusal}), then the conclusion an answer
397
- * states. A refused window is not a pending one to ask about again: the T6b
398
- * bench's future case asked the same refused call five times and ran out of
399
- * budget while the pending half kept naming that call as the next step.
400
- * `undefined` when nothing was refused.
401
- */
402
- function refusedSentence(tools, windows) {
403
- const byName = new Map(tools.map((t) => [t.name, t]));
404
- const refused = (windows.refused ?? []).filter((r) => byName.has(r.toolName));
405
- if (refused.length === 0)
406
- return undefined;
407
- const clauses = refused.map((r) => {
408
- // The person's window was refused before a form was chosen: the tool's facts (`toolFacts`).
409
- const pt = byName.get(r.toolName);
410
- const facts = (0, convert_js_1.toolFacts)(pt.forms, pt.facts);
411
- return `${r.toolName} was not run for “${r.quote}”: ${refusalReason(r.refused, facts, r.argument)}.`;
412
- });
413
- const names = [...new Set(refused.map((r) => r.toolName))];
414
- const conclusion = refused.length === 1
415
- ? `So the answer tells the person that ${names[0]} could not read that time, and claims ` +
416
- `nothing about it from ${names[0]}.`
417
- : 'So the answer tells the person which of those times each tool could not read, and ' +
418
- 'claims nothing about them from that tool.';
419
- return `${clauses.join(' ')} ${conclusion}`;
420
- }
421
- /** Whether `tool` refused the person's window for `quote` this turn. */
422
- const refusedFor = (windows, quote, tool) => (windows.refused ?? []).some((r) => r.quote === quote && r.toolName === tool);
423
- // LENS · late-line · request-ephemeral
424
- // reads: the turn's settled windows of the person's words (each mention's quote, its one window and
425
- // WHOSE it is — the person's answer in the time ask, or a model reader's reading), the
426
- // quotes still pending (a rule reading the person has not answered — `bind.ts` ·
427
- // `pendingQuotesOf`), the turn's clock, and the SERVED tools' declared period forms and
428
- // facts — converted by the one owner (`time/convert.ts`)
429
- // law: the library's CONCLUSION, never raw facts: a settled window is named with its source (a
430
- // reading is never called the person's words) and the values each tool takes, as a
431
- // permission ("may pass"); a pending quote names no window and no reading (a proposal is not
432
- // a fact the model may pass) — only that it is not confirmed and the one move that asks the
433
- // person. Whether a call is filled, bound or refused is decided at dispatch and recorded there.
434
- /**
435
- * The ONE served time line (TQ13; step T6b's serving placement): one
436
- * request-only `user` line appended LAST to the request, at the decision
437
- * point — composed at the tools slot's one decoration site
438
- * (`core/slots/buildToolsSlot.ts` · `commitWire`) from the tools it really
439
- * serves, carried to `callLLM` on `timeLine`, and rebuilt by
440
- * `time-travel/servedView.ts` from the same committed key. Four parts:
441
- *
442
- * - SETTLED — each window the person confirmed or gave in the time ask (or a
443
- * `model` reader's reading), in the person's zone, WHOSE it is, and each
444
- * served period tool's values for it — the exact conversion, else the wider
445
- * one the fill would use (said so); a value the tool's view hides is named
446
- * hidden. So the model never re-derives a window from words, and the answer
447
- * states the window it was built on.
448
- * - CONTROL — the window the person set in the app's time control, in
449
- * their zone, with each served period tool's values for it; with none
450
- * (no period tool served, or none can read it) the window alone (G14).
451
- * - REFUSED — a window of the person's a served period tool refused before
452
- * dispatch this turn: the refusal's reason in the result's own words, then
453
- * what an answer states. That quote is no longer pending for that tool.
454
- * - PENDING — a proposal the person has not answered is no window yet, and a
455
- * call that writes its own window runs as sent, unconfirmed (§ 7.3). The
456
- * line names the next step — the call with the period arguments left out,
457
- * so the library's own form confirms the window with the person — and the
458
- * two moves that are not it (a question about the time in the reply, a
459
- * written window). Once a call of the turn already ran on a written window
460
- * (`ranUnconfirmed`), it names the limit an answer states instead.
461
- *
462
- * `undefined` when no part has anything to say — a turn with no time words
463
- * and no control window serves no line at all; with no served period tool
464
- * only the control half can speak. The halves carry no opening: {@link timeLine} composes the served line and
465
- * opens it, once, with {@link TIME_LINE_SOURCE}.
466
- *
467
- * @example
468
- * ```ts
469
- * timeWindowsLine(served, winningTools, { now, windows: [], pending: ['yesterday'] });
470
- * // 'The window for “yesterday” is not settled yet: the person confirms it in the library's own
471
- * // form, which shows its reading of those words with the zone and opens when client_activity
472
- * // is called with start_time, end_time left out (or the call is refused with the reason). So
473
- * // the next step is that call — not a question about the time in the reply, and not a window
474
- * // written into the call, which would run unconfirmed.'
475
- * ```
476
- */
477
- function timeWindowsLine(served, winningTools, windows) {
478
- const tools = periodToolsOf(served, winningTools);
479
- // The control window is the person's turn's, served whether or not a period tool is (G14); the
480
- // other halves speak about period tools only.
481
- if (tools.length === 0)
482
- return controlSentence(tools, windows);
483
- const halves = [
484
- settledSentence(tools, windows),
485
- controlSentence(tools, windows),
486
- refusedSentence(tools, windows),
487
- pendingSentence(tools, windows),
488
- ].filter((h) => h !== undefined);
489
- return halves.length === 0 ? undefined : halves.join(' ');
490
- }
491
- exports.timeWindowsLine = timeWindowsLine;
492
- /**
493
- * The served time limits from the Tools mount's `timeLimits` FACTS
494
- * (`semantics/coverage/timeLimitFacts.ts` · `TimeLimitFacts`): rendered for the MODEL
495
- * (`semantics/coverage/timeLimits.ts` · `renderTimeLimits` — the one composer the
496
- * limits block asks too), then {@link timeLimitsSentence}. The facts cross
497
- * the mount unrendered so the renderer loads here, under the arm, and never
498
- * on the graph a plain agent loads.
499
- *
500
- * @example
501
- * ```ts
502
- * timeLimitsLine(undefined); // undefined — the turn's reads match what was asked
503
- * ```
504
- */
505
- function timeLimitsLine(facts) {
506
- return timeLimitsSentence((0, timeLimits_js_1.renderTimeLimits)(facts, 'model'));
507
- }
508
- exports.timeLimitsLine = timeLimitsLine;
509
- // LENS · late-line · request-ephemeral
510
- // reads: the turn's `period` rows whose result checks hold and its `source-clock` rows, composed by
511
- // the ONE owner of the limits lines (`semantics/coverage/timeLimits.ts` · `timeLimitLinesOf`,
512
- // audience `model`) — the same lines the limits block prints for the person after the answer
513
- // law: the library's CONCLUSION about what each call READ against what it ASKED (step T8), both
514
- // ranges in the person's zone, and what an answer built on it states; it names what the record
515
- // holds for calls that already ran and promises nothing a later call can break. A source that
516
- // holds none or part of the asked time is named with ITS span in the person's zone (`held`):
517
- // the zone conversion is the library's, never the model's.
518
- /**
519
- * The time limits an answer states (time step T8's serving placement): the
520
- * result checks that hold this turn — a read narrower, wider or shifted from
521
- * what was asked, a window older than the source keeps, sources on different
522
- * clocks — served to the MODEL as the library's conclusion, LATE, at the
523
- * decision point, in the ONE served time line (TQ13) after the windows'
524
- * halves. The step-7b bench showed why: raw facts on a result are not
525
- * compared by the model, a conclusion served at the decision point is.
526
- *
527
- * `undefined` when nothing holds — a turn whose reads match what was asked
528
- * serves no sentence at all. It carries no opening: {@link timeLine} opens
529
- * the served line once with {@link TIME_LINE_SOURCE}.
530
- *
531
- * @example
532
- * ```ts
533
- * timeLimitsSentence({ period: ['client_activity read less than was asked — asked: …; read: …'], clocks: [] });
534
- * // 'The time the tools read is not the time asked about — client_activity read less than was
535
- * // asked — asked: …; read: …. So the answer to the person states the time each result read and
536
- * // claims nothing about time no result read.'
537
- * ```
538
- */
539
- function timeLimitsSentence(lines) {
540
- if (lines === undefined)
541
- return undefined;
542
- const parts = [];
543
- if (lines.period.length > 0) {
544
- parts.push(`the time the tools read is not the time asked about — ${lines.period.join('; ')}. So ` +
545
- `the answer to the person states the time each result read and claims nothing about ` +
546
- `time no result read.`);
547
- }
548
- // A source that holds none or only part of the asked time (take 3): the spans in the person's
549
- // zone, so the answer names what the source holds without converting a UTC instant itself.
550
- if (lines.held !== undefined && lines.held.length > 0) {
551
- parts.push(`what the sources hold is not all of the time asked about — ${lines.held.join('; ')}. So ` +
552
- `the answer to the person states what each source holds and claims nothing about the ` +
553
- `time it does not hold.`);
554
- }
555
- if (lines.clocks.length > 0) {
556
- parts.push(`Clocks: ${lines.clocks.join('; ')}.`);
557
- }
558
- if (parts.length === 0)
559
- return undefined;
560
- const capital = (part) => part.charAt(0).toUpperCase() + part.slice(1);
561
- return parts.map(capital).join(' ');
562
- }
563
- exports.timeLimitsSentence = timeLimitsSentence;
564
- /** What a line says when the run's clock zone is unknown (G15) — the zone is never guessed. */
565
- exports.UNKNOWN_ZONE_CLAUSE = "the person's time zone is not known";
566
- // LENS · late-line · request-ephemeral
567
- // reads: the turn's `clock` row — its `now` and zone (`zoneSource: 'unknown'` → the UTC spelling)
568
- // law: the library's clock as a CONCLUSION, one short sentence, to the minute, the weekday named
569
- // (a model re-derives a weekday wrong), the zone always named — and named as not known when
570
- // it is, never guessed (G15).
571
- /**
572
- * The run clock, for the model (G16): the turn's `now` to the minute, its
573
- * weekday and date in the person's zone, the zone named — so the model never
574
- * answers "today" or "this morning" from its training date. Under `.time()`
575
- * it is the first part of the ONE served time line on every request; never
576
- * without it. `undefined` when there is no clock (or it cannot be spelled).
577
- *
578
- * @example
579
- * ```ts
580
- * clockSentence({ now: '2026-10-09T15:40:00Z', zone: 'America/Los_Angeles' });
581
- * // "This turn's time: Friday 2026-10-09 08:40 America/Los_Angeles (UTC-07:00)."
582
- * clockSentence({ now: '2026-10-09T15:40:00Z', zone: 'UTC', zoneUnknown: true });
583
- * // "This turn's time: Friday 2026-10-09 15:40 UTC (the person's time zone is not known)."
584
- * ```
585
- */
586
- function clockSentence(clock) {
587
- if (clock === undefined)
588
- return undefined;
589
- const ms = Date.parse(clock.now);
590
- if (!Number.isFinite(ms))
591
- return undefined;
592
- try {
593
- const minute = new Date(Math.floor(ms / 60_000) * 60_000).toISOString();
594
- const at = (0, present_js_1.presentInstant)(minute, { zone: clock.zone });
595
- const weekday = new Intl.DateTimeFormat('en-US', {
596
- weekday: 'long',
597
- timeZone: clock.zone,
598
- }).format(ms);
599
- const unknown = clock.zoneUnknown === true ? ` (${exports.UNKNOWN_ZONE_CLAUSE})` : '';
600
- return `This turn's time: ${weekday} ${at}${unknown}.`;
601
- }
602
- catch {
603
- return undefined;
604
- }
605
- }
606
- exports.clockSentence = clockSentence;
607
- /**
608
- * The ONE served time line's opening: WHO says it — the library, not the
609
- * person. The line is a request-only `user` message, so an unmarked one reads
610
- * as the person talking. Measured twice: the T8 bench's first paid round
611
- * (stopped at 41 runs) — 15 of 15 answers to the limits sentence opened
612
- * "You're right" / "I apologize", and naming the library alone (round 1,
613
- * stopped at 46) still drew "Thank you for the clarification"; the T6b paid
614
- * run, whose windows halves carried no opening — 37 of 37 answers after the
615
- * unconfirmed-call sentence opened "You're right… I apologize". So it also
616
- * says the note is no correction, and how an answer uses it. It says nothing
617
- * about WHEN to answer: the pending half names a call as the next step.
618
- * Applied once, by {@link timeLine}, whichever halves the line holds.
619
- *
620
- * The bytes are the authorship registry's (`lib/saidByPerson.ts` ·
621
- * `LIBRARY_NOTE_OPENING`, one of `LIBRARY_AUTHORED_PREFIXES`), so the line
622
- * that is served LAST on every request under `.time()` is never read as the
623
- * person's words by `isSaidByPerson` — the last `role: 'user'` message of a
624
- * request is the library's, and "this turn" is not (G17).
625
- */
626
- exports.TIME_LINE_SOURCE = saidByPerson_js_1.LIBRARY_NOTE_OPENING;
627
- // LENS · late-line · request-ephemeral
628
- // reads: the composed halves of the turn's ONE served time line — the person's windows
629
- // (`timeWindowsLine`) and the time limits (`timeLimitsLine`) — and nothing else
630
- // law: one line, one opening: the source is said ONCE, first, whichever halves are present; no half
631
- // carries its own, so the opening never repeats inside the line.
632
- /**
633
- * The ONE served time line (TQ13): its parts in order — the windows' halves,
634
- * then the limits — opened ONCE with {@link TIME_LINE_SOURCE}. The tools
635
- * slot's one decoration site (`core/slots/buildToolsSlot.ts` · `commitWire`)
636
- * calls it, `callLLM` appends the result LAST to the request, and
637
- * `time-travel/servedView.ts` rebuilds it byte for byte from the same
638
- * committed `timeLine` key. `undefined` when no part has anything to say — a
639
- * turn with nothing to say serves no line (and without `.time()` nothing here
640
- * runs at all).
641
- *
642
- * @example
643
- * ```ts
644
- * timeLine([undefined, timeLimitsLine(facts)]);
645
- * // '[A note from the library that runs the tools — …] The time the tools read is not …'
646
- * timeLine([undefined, undefined]); // undefined
647
- * ```
648
- */
649
- function timeLine(parts) {
650
- const present = parts.filter((p) => p !== undefined && p.length > 0);
651
- return present.length === 0 ? undefined : [exports.TIME_LINE_SOURCE, ...present].join(' ');
652
- }
653
- exports.timeLine = timeLine;
654
- // LENS · tool-result · persistent-history
655
- // reads: the call's own fill (`argumentResolutions`, the layer's entry for this toolCallId), kept only
656
- // where the call RAN with it (`dispatch.ts` · `fillsThatRan` — a middleware may rewrite one)
657
- // law: may omit, never deny; every clause anchored to the call it was composed on — past tense,
658
- // naming the call this result answers, so a later call of the turn re-reading it reads a true sentence.
659
- /**
660
- * The past-tense note ToolCalls appends to the result of a call that RAN on a
661
- * value the library filled — one bracket per filled argument the call really
662
- * ran with (a clause whose fill a before-tool middleware rewrote is left
663
- * out), after the tool's own bytes. The message then carries `toolChars`, and
664
- * every reader of a result's content as the TOOL's words reads through that
665
- * cut (`lib/toolBytes.ts` · `toolBytesOf`): the evidence index, the answer's
666
- * standing and the answer account's in-view results, the unsupported-argument
667
- * seam's grounded corpus and the empty-lookup seam's producer corpus. The
668
- * value is kept in the note because the model needs it to reason about what
669
- * ran ("no errors in 2h"); it is never evidence for that value, and it never
670
- * hides a reading of the tool's own bytes.
671
- *
672
- * @example
673
- * ```ts
674
- * filledNote('search_logs', [{ argument: 'window', value: '2h', hidden: false }]);
675
- * // '\n\n[window was not in the search_logs call this result answers; the call ran with "2h",
676
- * // the value the tool's rule assumes — recorded as assumed, not as the person's.]'
677
- * ```
678
- */
679
- function filledNote(toolName, fills, options) {
680
- return fills
681
- .map((f) => f.source === 'answered'
682
- ? answeredClause(toolName, f, options?.sources === true)
683
- : f.source === 'window'
684
- ? windowClause(toolName, f)
685
- : assumedClause(toolName, f))
686
- .join('');
687
- }
688
- exports.filledNote = filledNote;
689
- /** A filled value as a note prints it — an object form's value as JSON. */
690
- function printedFill(value) {
691
- return typeof value === 'object' ? JSON.stringify(value) : printedValue(value);
692
- }
693
- // LENS · tool-result · persistent-history
694
- // reads: the call's window fill (`argumentResolutions`: the turn's ONE window of the person's, converted
695
- // into the tool's form — `time/bind.ts`), kept only where the call RAN with it, and whose window
696
- // it was (the person's words, a model reader's unconfirmed reading of them, a UI control)
697
- // law: may omit, never deny; past tense, naming the call this result answers; a reading of the person's
698
- // words is never called their words.
699
- /** The clause for a value the turn's one window of the person's filled (the time layer, step T5a). */
700
- function windowClause(toolName, f) {
701
- const whose = f.from === 'control'
702
- ? 'from the window the person set in the app — recorded as set in the app'
703
- : f.from === 'answered'
704
- ? 'from the window the person chose when asked what their words meant — recorded as ' +
705
- "the person's answer"
706
- : f.from === 'derived-from-reading'
707
- ? "from a reading of the person's words they have not confirmed — recorded as a reading, " +
708
- "not as the person's"
709
- : "from the window the person's own words gave — recorded as the person's";
710
- const wider = f.wider === 'reads-more'
711
- ? "; the tool's form could not hold that window exactly, so the value reads a wider one — " +
712
- 'recorded as wider than asked'
713
- : f.wider === 'tool-trims'
714
- ? "; the tool's form could not hold that window exactly, so the value reads a wider one, " +
715
- 'and the tool declares that it drops the rows outside the asked window'
716
- : '';
717
- return f.hidden
718
- ? `\n\n[${f.argument} was not in the ${toolName} call this result answers; the call ran with ` +
719
- `a value ${whose} (the value is hidden by the tool's view)${wider}.]`
720
- : `\n\n[${f.argument} was not in the ${toolName} call this result answers; the call ran with ` +
721
- `${printedFill(f.value)}, ${whose}${wider}.]`;
722
- }
723
- function assumedClause(toolName, f) {
724
- return f.hidden
725
- ? `\n\n[${f.argument} was not in the ${toolName} call this result answers; the call ran ` +
726
- "with the value the tool's rule assumes (the value is hidden by the tool's view) — " +
727
- "recorded as assumed, not as the person's.]"
728
- : `\n\n[${f.argument} was not in the ${toolName} call this result answers; the call ran ` +
729
- `with ${printedFill(f.value)}, the value the tool's rule assumes — recorded as ` +
730
- "assumed, not as the person's.]";
731
- }
732
- /**
733
- * The clause an answered note gains under declared sources: a later call may
734
- * name the person's answer as its source — `turn`, checked against the
735
- * ledger's `answered` rows (`checks.ts` · `checkTurn`). A permission, never a
736
- * promise: the claim is still checked. In the paid step-5 run the model sent
737
- * an answered period again on the next turn with no `from` entry (and so was
738
- * asked again) or left it out (and so was asked again): nothing it was served
739
- * said an earlier ANSWER was a source it could name.
740
- */
741
- exports.ANSWERED_SOURCE_CLAUSE = "; a later call may cite that answer in `_findings.from` with source 'turn'";
742
- // LENS · tool-result · persistent-history
743
- // reads: the call's answered fill (the batch ask's answer bound to this toolCallId), kept only where the
744
- // call RAN with it (`dispatch.ts` · `fillsThatRan`), the value the call had carried, if any, and
745
- // whether declared sources are armed (the `turn` clause)
746
- // law: may omit, never deny; past tense, naming the call this result answers; the `turn` clause is a
747
- // permission ("may cite"), never an outcome — the claim is checked like any other.
748
- function answeredClause(toolName, f, sources) {
749
- const before = f.carried === undefined
750
- ? 'the call had left it out'
751
- : f.hidden
752
- ? 'the call had carried a value of its own'
753
- : `the call had carried ${printedValue(f.carried)}`;
754
- // A hidden answer is on the record as 'REDACTED' — a `turn` claim for it cannot be checked
755
- // (`checks.ts` · `checkTurn`: `uncheckable`), so its clause offers none.
756
- return f.hidden
757
- ? `\n\n[${f.argument} in the ${toolName} call this result answers was chosen by the person ` +
758
- `when asked (the value is hidden by the tool's view; ${before}).]`
759
- : `\n\n[${f.argument} = ${printedFill(f.value)} in the ${toolName} call this result answers ` +
760
- `was chosen by the person when asked (${before})${sources ? exports.ANSWERED_SOURCE_CLAUSE : ''}.]`;
761
- }
762
- // ─── The refusals ───────────────────────────────────────────────────────
763
- // LENS · tool-result · persistent-history
764
- // reads: the dispatch re-read of the tool's rules (`tools/declare.ts` · `rulesOf`) — the assert's own sentence
765
- // law: may omit, never deny; every clause anchored to the call it was composed on.
766
- /** The result a call reads when its tool's rules could not be read at dispatch. */
767
- function unreadableRulesRefusal(toolName, reason) {
768
- const why = reason.replace(/^defineTool\('[^']*'\):\s*/, '');
769
- return `${toolName} was not run on that call: its argument rules could not be read (${why}).`;
770
- }
771
- exports.unreadableRulesRefusal = unreadableRulesRefusal;
772
- // LENS · tool-result · persistent-history
773
- // reads: nothing but the tool's declaration — the agent was built without the inputs layer
774
- // law: may omit, never deny; every clause anchored to the call it was composed on.
775
- /**
776
- * The result a call reads when its tool declares argument rules and the agent
777
- * was built without the inputs layer (a ToolProvider served the tool, and the
778
- * build could not see it) — refused rather than run unruled, because
779
- * configured-and-inert looks exactly like configured-and-working.
780
- */
781
- function unmountedRulesRefusal(toolName) {
782
- return `${toolName} was not run on that call: it declares argument rules this agent was not built to apply.`;
783
- }
784
- exports.unmountedRulesRefusal = unmountedRulesRefusal;
785
- // LENS · tool-result · persistent-history
786
- // reads: the batch ask's settled state — the arguments whose answers never fit, and the rule they failed
787
- // law: may omit, never deny; every clause anchored to the call it was composed on.
788
- /**
789
- * The result a call reads when the person was asked for a ruled argument
790
- * `MAX_ASK_ROUNDS` times and no answer fitted what the tool accepts — the call
791
- * does not run. `expected` is the property schema's own expectation (never the
792
- * person's answer).
793
- */
794
- function unansweredRefusal(toolName, unanswered) {
795
- const names = unanswered.map((u) => u.argument).join(', ');
796
- const rules = unanswered.flatMap((u) => u.expected !== undefined ? [`${u.argument}: ${u.expected}`] : []);
797
- return (`${toolName} was not run on that call: the person's answers for ${names} did not fit what ` +
798
- `the tool accepts${rules.length > 0 ? ` (${rules.join('; ')})` : ''}.`);
799
- }
800
- exports.unansweredRefusal = unansweredRefusal;
801
- // LENS · tool-result · persistent-history
802
- // reads: nothing but the fact that this batch already paused once, for the library's own ask
803
- // law: may omit, never deny; past tense, anchored to the call; names no destination.
804
- /**
805
- * The result a call reads when it needed a person — its check-in consent gate
806
- * tripped, or the tool itself asked to pause — in a batch that had ALREADY
807
- * paused once, to ask the person for argument values: a resumed batch has no
808
- * second pause to give (at most one human question per resume). The call did
809
- * not finish; nothing about it is decided for the person.
810
- */
811
- function secondPauseRefusal(toolName, why) {
812
- const need = why === 'check-in'
813
- ? 'its check-in consent gate needed a person’s approval for those arguments'
814
- : 'the tool asked to pause for a person';
815
- return (`${toolName} was not run to completion on that call: ${need}, and this batch had already ` +
816
- 'paused once — to ask the person for argument values — so there was no second pause to ' +
817
- 'ask with.');
818
- }
819
- exports.secondPauseRefusal = secondPauseRefusal;
820
- // LENS · tool-result · persistent-history
821
- // reads: the call's `call-window` decision (`time/bind.ts` · `callWindowOf`: the window it asked
822
- // for against the tool's DECLARED facts — `direction`, `retention`, `maxRange`, a `day`-only form,
823
- // a sent wall time the zone skips, a person's window no declared form can read) and those facts'
824
- // own spellings
825
- // law: may omit, never deny; past tense, anchored to the call; prints no window value (it may be the
826
- // person's) — only the tool's declared facts and an argument name; says what the model may do and
827
- // promises no outcome.
828
- /**
829
- * The result a call reads when it was refused BEFORE DISPATCH on its window
830
- * (the time layer, step T5b — time design § 7.2): the window breaks one of the
831
- * tool's declared facts, spans days for a tool that reads one day per call, a
832
- * sent wall time is one the zone's clocks skip, or no form the tool declares
833
- * can read the person's window, exactly or wider (`no-form-holds` — the tool's
834
- * own default never stands in for it). Splitting a window into several calls
835
- * is the model's choice, never the library's.
836
- *
837
- * @example
838
- * ```ts
839
- * timeRefusal('search_logs', 'time-future', { direction: 'past' });
840
- * // 'search_logs was not run on that call: the window it asked for had not happened yet, and the
841
- * // tool declares that its source holds only the past.'
842
- * ```
843
- */
844
- function timeRefusal(toolName, refusal, facts, argument) {
845
- return `${toolName} was not run on that call: ${refusalReason(refusal, facts, argument)}.`;
846
- }
847
- exports.timeRefusal = timeRefusal;
848
- /**
849
- * Why a window was refused before dispatch, in the tool's declared facts and
850
- * an argument name only — never the window's value. ONE text per code: the
851
- * refused call's result ({@link timeRefusal}) and the served line's
852
- * conclusion (`refusedSentence`) both say it.
853
- */
854
- function refusalReason(refusal, facts, argument) {
855
- switch (refusal) {
856
- case 'time-future':
857
- return ('the window it asked for had not happened yet, and the tool declares that its source ' +
858
- 'holds only the past');
859
- case 'time-past':
860
- return ('the window it asked for had already ended, and the tool declares that its source ' +
861
- 'holds only the future');
862
- case 'beyond-retention':
863
- return ('the window it asked for was wholly older than the oldest data the tool declares its ' +
864
- `source keeps (${facts.retention ?? 'its retention'})`);
865
- case 'over-max-range':
866
- return ('the window it asked for was wider than the tool declares it reads at once ' +
867
- `(maxRange ${facts.maxRange ?? 'undeclared'}); narrower windows, one call each, may be ` +
868
- 'proposed instead');
869
- case 'multi-day':
870
- return ('the window it asked for spanned more than one calendar day, and the tool reads one day ' +
871
- 'per call; one call per day may be proposed instead');
872
- case 'dst-gap':
873
- return (`the wall time sent for ${argument ?? 'its period'} does not exist in the tool's zone — ` +
874
- 'the clocks skip it at a daylight-saving change');
875
- case 'no-form-holds':
876
- return ('no period form the tool declares can read the window it asked for, exactly or by ' +
877
- 'reading a wider one' +
878
- (facts.maxRange !== undefined
879
- ? `, within the most the tool declares it reads at once (maxRange ${facts.maxRange})`
880
- : ''));
881
- }
882
- }
883
- // LENS · tool-result · persistent-history
884
- // reads: the tool's name and the NAMES of the arguments whose answers the refused call carried
885
- // (`kept.ts` keeps their values)
886
- // law: past tense, anchored to the call it was composed on, so a later call of the turn re-reading it
887
- // (after the kept answer was used) still reads a true sentence; says what the model may do and promises
888
- // no outcome (a call proposed again may still be denied, refused, paused or asked); prints no value.
889
- /**
890
- * The clause a refusal by the one-question law gains when the refused call
891
- * carried the person's answers: they were KEPT for the tool's next call that
892
- * leaves those arguments out (`kept.ts`), so the model may propose the call
893
- * again without them. Empty when the call carried none.
894
- *
895
- * @example
896
- * ```ts
897
- * keptAnswersNote('purge_logs', ['window']);
898
- * // " The person's answer for window was kept for the next purge_logs call that leaves it out,
899
- * // so the call may be proposed again without window."
900
- * ```
901
- */
902
- function keptAnswersNote(toolName, argumentNames) {
903
- if (argumentNames.length === 0)
904
- return '';
905
- if (argumentNames.length === 1) {
906
- const [name] = argumentNames;
907
- return (` The person's answer for ${name} was kept for the next ${toolName} call that leaves ` +
908
- `it out, so the call may be proposed again without ${name}.`);
909
- }
910
- const names = `${argumentNames.slice(0, -1).join(', ')} and ${argumentNames.at(-1)}`;
911
- return (` The person's answers for ${names} were kept for the next ${toolName} call that leaves ` +
912
- 'them out, so the call may be proposed again without them.');
913
- }
914
- exports.keptAnswersNote = keptAnswersNote;
915
- /**
916
- * The "Assumed" block: one line per distinct (tool, argument, value) of this
917
- * turn's `default` rows, in the order the rows were filed. Composed by the
918
- * framework from the rows — the model does not write it, so it cannot drop
919
- * it. Empty string when there is nothing assumed.
920
- */
921
- function assumedBlock(lines) {
922
- const seen = new Set();
923
- const printed = [];
924
- for (const line of lines) {
925
- const key = JSON.stringify([line.toolName, line.argument, line.hidden ? '' : line.value]);
926
- if (seen.has(key))
927
- continue;
928
- seen.add(key);
929
- printed.push(line.hidden
930
- ? `- ${line.argument} (its value is hidden by the tool's view) (${line.toolName})`
931
- : `- ${line.argument} = ${JSON.stringify(line.value)} (${line.toolName})`);
932
- }
933
- return printed.length === 0 ? '' : `${answer_js_1.ASSUMED_BLOCK_HEADING}\n${printed.join('\n')}`;
934
- }
935
- exports.assumedBlock = assumedBlock;
936
- /**
937
- * The "Assumed" block for THIS turn, read off the record: every `default`
938
- * argument row of `turn`, in the order it was filed, less each row a
939
- * before-tool rewrite superseded (its call ran with the rewrite's value, not
940
- * the one the row names). `readDecisions` hands over `middlewareDecisions`; it
941
- * is asked only when a row exists (a run with nothing assumed never reads the
942
- * key), and is absent on an agent with no before-tool chain, whose record can
943
- * hold no tool rewrite. `''` when nothing is assumed. The final branch's armed
944
- * variant (`stages/prepareFinal.ts` · `prepareFinalWithLimitsAndAssumedStage`)
945
- * calls it through `import()`.
946
- *
947
- * @example
948
- * ```ts
949
- * assumedBlockOf(state.findingsLedger ?? [], state.turnNumber, undefined);
950
- * // "Assumed (a tool's rule, not your words):\n- window = \"2h\" (search_logs)"
951
- * ```
952
- */
953
- function assumedBlockOf(ledger, turn, readDecisions) {
954
- return assumedBlock(assumedLinesFor(ledger, turn, readDecisions));
955
- }
956
- exports.assumedBlockOf = assumedBlockOf;
957
- // FOLD · the one reading of "what was assumed this turn"
958
- // consumers read this and never re-derive it: the prose "Assumed" block (`assumedBlockOf`, above),
959
- // a TYPED answer's limits as data (`stages/answerCoverage.ts` · `withAnswerCoverage` — the
960
- // `assumed` list on `answerCoverage`) and the answer layer's standing line
961
- // (`assessment/stage.ts` · `assessAnswerStage`). Same rows, same view, same order — so the block,
962
- // the data and the line cannot disagree about which values were assumed.
963
- /**
964
- * This turn's assumed values, as the "Assumed" block's lines: every `default`
965
- * argument row of `turn`, in the order it was filed, less each row a
966
- * before-tool rewrite superseded (its call ran with the rewrite's value, not
967
- * the one the row names). `readDecisions` hands over `middlewareDecisions`; it
968
- * is asked only when a row exists, and is absent on an agent with no
969
- * before-tool chain, whose record can hold no tool rewrite. `[]` when nothing
970
- * is assumed. The block prints each distinct (tool, argument, value) once.
971
- *
972
- * @example
973
- * ```ts
974
- * assumedLinesFor(state.findingsLedger ?? [], state.turnNumber, undefined);
975
- * // [{ toolName: 'search_logs', argument: 'window', value: '2h', hidden: false }]
976
- * ```
977
- */
978
- function assumedLinesFor(ledger, turn, readDecisions) {
979
- const rows = defaultRowsOf(ledger, turn);
980
- const rewrites = readDecisions !== undefined && rows.length > 0
981
- ? (0, rewrites_js_1.argumentRewritesOf)(readDecisions())
982
- : undefined;
983
- return assumedLinesOf(rows, rewrites);
984
- }
985
- exports.assumedLinesFor = assumedLinesFor;
986
- const isArgumentRow = (row) => row.kind === 'argument';
987
- /** This turn's `default` argument rows, in the order they were filed. */
988
- function defaultRowsOf(ledger, turn) {
989
- const rows = [];
990
- for (const row of ledger) {
991
- if (isArgumentRow(row) && row.turn === turn && row.source === 'default')
992
- rows.push(row);
993
- }
994
- return rows;
995
- }
996
- /**
997
- * The rows as the "Assumed" block names them — every row a before-tool
998
- * rewrite superseded left out: its call ran with the rewrite's value, not
999
- * the one the row names (`middleware/rewrites.ts` · `argumentRewritesOf`).
1000
- */
1001
- function assumedLinesOf(rows, rewrites) {
1002
- const lines = [];
1003
- for (const row of rows) {
1004
- if (rewrites?.get(row.toolCallId)?.has(row.argument) === true)
1005
- continue;
1006
- const value = row.value ?? '';
1007
- lines.push({
1008
- toolName: row.toolName,
1009
- argument: row.argument,
1010
- value,
1011
- hidden: value === rows_js_1.HIDDEN_VALUE,
1012
- });
1013
- }
1014
- return lines;
1015
- }
32
+ var values_js_1 = require("./serve/values.js");
33
+ Object.defineProperty(exports, "printedValue", { enumerable: true, get: function () { return values_js_1.printedValue; } });
34
+ Object.defineProperty(exports, "assumeSentence", { enumerable: true, get: function () { return values_js_1.assumeSentence; } });
35
+ var schema_js_1 = require("./serve/schema.js");
36
+ Object.defineProperty(exports, "ASK_SENTENCE", { enumerable: true, get: function () { return schema_js_1.ASK_SENTENCE; } });
37
+ Object.defineProperty(exports, "ASK_SOURCES_SENTENCE", { enumerable: true, get: function () { return schema_js_1.ASK_SOURCES_SENTENCE; } });
38
+ Object.defineProperty(exports, "withArgumentRules", { enumerable: true, get: function () { return schema_js_1.withArgumentRules; } });
39
+ Object.defineProperty(exports, "rulesOnWire", { enumerable: true, get: function () { return schema_js_1.rulesOnWire; } });
40
+ var windows_js_1 = require("./serve/windows.js");
41
+ Object.defineProperty(exports, "timeWindowsLine", { enumerable: true, get: function () { return windows_js_1.timeWindowsLine; } });
42
+ var clock_js_1 = require("./serve/clock.js");
43
+ Object.defineProperty(exports, "timeLimitsLine", { enumerable: true, get: function () { return clock_js_1.timeLimitsLine; } });
44
+ Object.defineProperty(exports, "timeLimitsSentence", { enumerable: true, get: function () { return clock_js_1.timeLimitsSentence; } });
45
+ Object.defineProperty(exports, "UNKNOWN_ZONE_CLAUSE", { enumerable: true, get: function () { return clock_js_1.UNKNOWN_ZONE_CLAUSE; } });
46
+ Object.defineProperty(exports, "clockSentence", { enumerable: true, get: function () { return clock_js_1.clockSentence; } });
47
+ Object.defineProperty(exports, "TIME_LINE_SOURCE", { enumerable: true, get: function () { return clock_js_1.TIME_LINE_SOURCE; } });
48
+ Object.defineProperty(exports, "timeLine", { enumerable: true, get: function () { return clock_js_1.timeLine; } });
49
+ var fills_js_1 = require("./serve/fills.js");
50
+ Object.defineProperty(exports, "filledNote", { enumerable: true, get: function () { return fills_js_1.filledNote; } });
51
+ Object.defineProperty(exports, "ANSWERED_SOURCE_CLAUSE", { enumerable: true, get: function () { return fills_js_1.ANSWERED_SOURCE_CLAUSE; } });
52
+ var refusals_js_1 = require("./serve/refusals.js");
53
+ Object.defineProperty(exports, "unreadableRulesRefusal", { enumerable: true, get: function () { return refusals_js_1.unreadableRulesRefusal; } });
54
+ Object.defineProperty(exports, "unmountedRulesRefusal", { enumerable: true, get: function () { return refusals_js_1.unmountedRulesRefusal; } });
55
+ Object.defineProperty(exports, "unansweredRefusal", { enumerable: true, get: function () { return refusals_js_1.unansweredRefusal; } });
56
+ Object.defineProperty(exports, "secondPauseRefusal", { enumerable: true, get: function () { return refusals_js_1.secondPauseRefusal; } });
57
+ Object.defineProperty(exports, "timeRefusal", { enumerable: true, get: function () { return refusals_js_1.timeRefusal; } });
58
+ Object.defineProperty(exports, "keptAnswersNote", { enumerable: true, get: function () { return refusals_js_1.keptAnswersNote; } });
59
+ var assumed_js_1 = require("./serve/assumed.js");
60
+ Object.defineProperty(exports, "ASSUMED_BLOCK_HEADING", { enumerable: true, get: function () { return assumed_js_1.ASSUMED_BLOCK_HEADING; } });
61
+ Object.defineProperty(exports, "assumedBlock", { enumerable: true, get: function () { return assumed_js_1.assumedBlock; } });
62
+ Object.defineProperty(exports, "assumedBlockOf", { enumerable: true, get: function () { return assumed_js_1.assumedBlockOf; } });
63
+ Object.defineProperty(exports, "assumedLinesFor", { enumerable: true, get: function () { return assumed_js_1.assumedLinesFor; } });
1016
64
  //# sourceMappingURL=serve.js.map