agentfootprint 14.1.0 → 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.
- package/CAPABILITIES.md +2 -0
- package/dist/adapters/observability/auditKeptByContract.js +4 -1
- package/dist/adapters/observability/auditKeptByContract.js.map +1 -1
- package/dist/context-bisect/ablation.js +29 -4
- package/dist/context-bisect/ablation.js.map +1 -1
- package/dist/context-bisect/bisect.js +30 -8
- package/dist/context-bisect/bisect.js.map +1 -1
- package/dist/context-bisect/conclusion.js +228 -0
- package/dist/context-bisect/conclusion.js.map +1 -0
- package/dist/context-bisect/conclusionTypes.js +6 -0
- package/dist/context-bisect/conclusionTypes.js.map +1 -0
- package/dist/context-bisect/format.js +98 -0
- package/dist/context-bisect/format.js.map +1 -0
- package/dist/context-bisect/index.js.map +1 -1
- package/dist/context-bisect/localize.js +25 -96
- package/dist/context-bisect/localize.js.map +1 -1
- package/dist/context-bisect/toBacktrackTrace.js +6 -1
- package/dist/context-bisect/toBacktrackTrace.js.map +1 -1
- package/dist/context-bisect/types.js +4 -0
- package/dist/context-bisect/types.js.map +1 -1
- package/dist/core/agent/arguments/ask/constants.js +30 -0
- package/dist/core/agent/arguments/ask/constants.js.map +1 -0
- package/dist/core/agent/arguments/ask/context.js +120 -0
- package/dist/core/agent/arguments/ask/context.js.map +1 -0
- package/dist/core/agent/arguments/ask/fields.js +307 -0
- package/dist/core/agent/arguments/ask/fields.js.map +1 -0
- package/dist/core/agent/arguments/ask/replyFields.js +48 -0
- package/dist/core/agent/arguments/ask/replyFields.js.map +1 -0
- package/dist/core/agent/arguments/ask/types.js +3 -0
- package/dist/core/agent/arguments/ask/types.js.map +1 -0
- package/dist/core/agent/arguments/ask/validation.js +195 -0
- package/dist/core/agent/arguments/ask/validation.js.map +1 -0
- package/dist/core/agent/arguments/ask/windowBinding/answer.js +84 -0
- package/dist/core/agent/arguments/ask/windowBinding/answer.js.map +1 -0
- package/dist/core/agent/arguments/ask/windowBinding/editedZone.js +29 -0
- package/dist/core/agent/arguments/ask/windowBinding/editedZone.js.map +1 -0
- package/dist/core/agent/arguments/ask/windowBinding/fills.js +85 -0
- package/dist/core/agent/arguments/ask/windowBinding/fills.js.map +1 -0
- package/dist/core/agent/arguments/ask/windowBinding/question.js +44 -0
- package/dist/core/agent/arguments/ask/windowBinding/question.js.map +1 -0
- package/dist/core/agent/arguments/ask/windowBinding/types.js +3 -0
- package/dist/core/agent/arguments/ask/windowBinding/types.js.map +1 -0
- package/dist/core/agent/arguments/ask/windowBinding.js +9 -0
- package/dist/core/agent/arguments/ask/windowBinding.js.map +1 -0
- package/dist/core/agent/arguments/ask/windowReply.js +69 -0
- package/dist/core/agent/arguments/ask/windowReply.js.map +1 -0
- package/dist/core/agent/arguments/ask.js +48 -898
- package/dist/core/agent/arguments/ask.js.map +1 -1
- package/dist/core/agent/arguments/dispatch.js +3 -3
- package/dist/core/agent/arguments/pendingPrivateAsk.js +3 -1
- package/dist/core/agent/arguments/pendingPrivateAsk.js.map +1 -1
- package/dist/core/agent/arguments/serve/assumed.js +110 -0
- package/dist/core/agent/arguments/serve/assumed.js.map +1 -0
- package/dist/core/agent/arguments/serve/clock.js +169 -0
- package/dist/core/agent/arguments/serve/clock.js.map +1 -0
- package/dist/core/agent/arguments/serve/fills.js +113 -0
- package/dist/core/agent/arguments/serve/fills.js.map +1 -0
- package/dist/core/agent/arguments/serve/refusals.js +158 -0
- package/dist/core/agent/arguments/serve/refusals.js.map +1 -0
- package/dist/core/agent/arguments/serve/schema.js +124 -0
- package/dist/core/agent/arguments/serve/schema.js.map +1 -0
- package/dist/core/agent/arguments/serve/values.js +21 -0
- package/dist/core/agent/arguments/serve/values.js.map +1 -0
- package/dist/core/agent/arguments/serve/windows.js +328 -0
- package/dist/core/agent/arguments/serve/windows.js.map +1 -0
- package/dist/core/agent/arguments/serve.js +32 -984
- package/dist/core/agent/arguments/serve.js.map +1 -1
- package/dist/core/agent/assessment/compose.js +2 -2
- package/dist/core/agent/assessment/compose.js.map +1 -1
- package/dist/core/agent/assessment/integrityReasons.js +5 -1
- package/dist/core/agent/assessment/integrityReasons.js.map +1 -1
- package/dist/core/agent/assessment/stage.js +1 -1
- package/dist/core/agent/buildAgentChart.js +1 -1
- package/dist/core/agent/findings/types.js.map +1 -1
- package/dist/core/agent/middleware/rewrites.js +2 -2
- package/dist/core/agent/middleware/rewrites.js.map +1 -1
- package/dist/core/agent/stages/answerCoverage.js +1 -1
- package/dist/core/agent/stages/argumentAsk.js +4 -3
- package/dist/core/agent/stages/argumentAsk.js.map +1 -1
- package/dist/core/agent/stages/callLLM.js +1 -1
- package/dist/core/agent/stages/callLLM.js.map +1 -1
- package/dist/core/agent/stages/prepareFinal.js +1 -1
- package/dist/core/agent/stages/toolCalls/execution/deliveredResult.js +1 -1
- package/dist/core/agent/stages/toolCalls/execution/deliveredResult.js.map +1 -1
- package/dist/core/agent/stages/toolCalls/helpers/sourceNote.js +1 -1
- package/dist/core/slots/buildToolsSlot.js +2 -2
- package/dist/core/slots/buildToolsSlot.js.map +1 -1
- package/dist/debug.js.map +1 -1
- package/dist/esm/adapters/observability/auditKeptByContract.js +4 -1
- package/dist/esm/adapters/observability/auditKeptByContract.js.map +1 -1
- package/dist/esm/context-bisect/ablation.d.ts +8 -0
- package/dist/esm/context-bisect/ablation.js +24 -3
- package/dist/esm/context-bisect/ablation.js.map +1 -1
- package/dist/esm/context-bisect/bisect.d.ts +15 -15
- package/dist/esm/context-bisect/bisect.js +27 -5
- package/dist/esm/context-bisect/bisect.js.map +1 -1
- package/dist/esm/context-bisect/conclusion.d.ts +51 -0
- package/dist/esm/context-bisect/conclusion.js +223 -0
- package/dist/esm/context-bisect/conclusion.js.map +1 -0
- package/dist/esm/context-bisect/conclusionTypes.d.ts +75 -0
- package/dist/esm/context-bisect/conclusionTypes.js +5 -0
- package/dist/esm/context-bisect/conclusionTypes.js.map +1 -0
- package/dist/esm/context-bisect/format.d.ts +10 -0
- package/dist/esm/context-bisect/format.js +94 -0
- package/dist/esm/context-bisect/format.js.map +1 -0
- package/dist/esm/context-bisect/index.d.ts +1 -1
- package/dist/esm/context-bisect/index.js.map +1 -1
- package/dist/esm/context-bisect/localize.d.ts +8 -10
- package/dist/esm/context-bisect/localize.js +24 -94
- package/dist/esm/context-bisect/localize.js.map +1 -1
- package/dist/esm/context-bisect/toBacktrackTrace.js +6 -1
- package/dist/esm/context-bisect/toBacktrackTrace.js.map +1 -1
- package/dist/esm/context-bisect/types.d.ts +33 -4
- package/dist/esm/context-bisect/types.js +4 -0
- package/dist/esm/context-bisect/types.js.map +1 -1
- package/dist/esm/core/agent/arguments/ask/constants.d.ts +16 -0
- package/dist/esm/core/agent/arguments/ask/constants.js +27 -0
- package/dist/esm/core/agent/arguments/ask/constants.js.map +1 -0
- package/dist/esm/core/agent/arguments/ask/context.d.ts +23 -0
- package/dist/esm/core/agent/arguments/ask/context.js +115 -0
- package/dist/esm/core/agent/arguments/ask/context.js.map +1 -0
- package/dist/esm/core/agent/arguments/ask/fields.d.ts +42 -0
- package/dist/esm/core/agent/arguments/ask/fields.js +300 -0
- package/dist/esm/core/agent/arguments/ask/fields.js.map +1 -0
- package/dist/esm/core/agent/arguments/ask/replyFields.d.ts +9 -0
- package/dist/esm/core/agent/arguments/ask/replyFields.js +42 -0
- package/dist/esm/core/agent/arguments/ask/replyFields.js.map +1 -0
- package/dist/esm/core/agent/arguments/ask/types.d.ts +195 -0
- package/dist/esm/core/agent/arguments/ask/types.js +2 -0
- package/dist/esm/core/agent/arguments/ask/types.js.map +1 -0
- package/dist/esm/core/agent/arguments/ask/validation.d.ts +42 -0
- package/dist/esm/core/agent/arguments/ask/validation.js +188 -0
- package/dist/esm/core/agent/arguments/ask/validation.js.map +1 -0
- package/dist/esm/core/agent/arguments/ask/windowBinding/answer.d.ts +17 -0
- package/dist/esm/core/agent/arguments/ask/windowBinding/answer.js +80 -0
- package/dist/esm/core/agent/arguments/ask/windowBinding/answer.js.map +1 -0
- package/dist/esm/core/agent/arguments/ask/windowBinding/editedZone.d.ts +11 -0
- package/dist/esm/core/agent/arguments/ask/windowBinding/editedZone.js +25 -0
- package/dist/esm/core/agent/arguments/ask/windowBinding/editedZone.js.map +1 -0
- package/dist/esm/core/agent/arguments/ask/windowBinding/fills.d.ts +18 -0
- package/dist/esm/core/agent/arguments/ask/windowBinding/fills.js +81 -0
- package/dist/esm/core/agent/arguments/ask/windowBinding/fills.js.map +1 -0
- package/dist/esm/core/agent/arguments/ask/windowBinding/question.d.ts +6 -0
- package/dist/esm/core/agent/arguments/ask/windowBinding/question.js +40 -0
- package/dist/esm/core/agent/arguments/ask/windowBinding/question.js.map +1 -0
- package/dist/esm/core/agent/arguments/ask/windowBinding/types.d.ts +35 -0
- package/dist/esm/core/agent/arguments/ask/windowBinding/types.js +2 -0
- package/dist/esm/core/agent/arguments/ask/windowBinding/types.js.map +1 -0
- package/dist/esm/core/agent/arguments/ask/windowBinding.d.ts +4 -0
- package/dist/esm/core/agent/arguments/ask/windowBinding.js +4 -0
- package/dist/esm/core/agent/arguments/ask/windowBinding.js.map +1 -0
- package/dist/esm/core/agent/arguments/ask/windowReply.d.ts +11 -0
- package/dist/esm/core/agent/arguments/ask/windowReply.js +65 -0
- package/dist/esm/core/agent/arguments/ask/windowReply.js.map +1 -0
- package/dist/esm/core/agent/arguments/ask.d.ts +9 -259
- package/dist/esm/core/agent/arguments/ask.js +20 -885
- package/dist/esm/core/agent/arguments/ask.js.map +1 -1
- package/dist/esm/core/agent/arguments/dispatch.d.ts +4 -4
- package/dist/esm/core/agent/arguments/dispatch.js +4 -4
- package/dist/esm/core/agent/arguments/pendingPrivateAsk.d.ts +1 -1
- package/dist/esm/core/agent/arguments/pendingPrivateAsk.js +3 -1
- package/dist/esm/core/agent/arguments/pendingPrivateAsk.js.map +1 -1
- package/dist/esm/core/agent/arguments/serve/assumed.d.ts +63 -0
- package/dist/esm/core/agent/arguments/serve/assumed.js +112 -0
- package/dist/esm/core/agent/arguments/serve/assumed.js.map +1 -0
- package/dist/esm/core/agent/arguments/serve/clock.d.ts +104 -0
- package/dist/esm/core/agent/arguments/serve/clock.js +162 -0
- package/dist/esm/core/agent/arguments/serve/clock.js.map +1 -0
- package/dist/esm/core/agent/arguments/serve/fills.d.ts +65 -0
- package/dist/esm/core/agent/arguments/serve/fills.js +109 -0
- package/dist/esm/core/agent/arguments/serve/fills.js.map +1 -0
- package/dist/esm/core/agent/arguments/serve/refusals.d.ts +67 -0
- package/dist/esm/core/agent/arguments/serve/refusals.js +148 -0
- package/dist/esm/core/agent/arguments/serve/refusals.js.map +1 -0
- package/dist/esm/core/agent/arguments/serve/schema.d.ts +67 -0
- package/dist/esm/core/agent/arguments/serve/schema.js +119 -0
- package/dist/esm/core/agent/arguments/serve/schema.js.map +1 -0
- package/dist/esm/core/agent/arguments/serve/values.d.ts +11 -0
- package/dist/esm/core/agent/arguments/serve/values.js +16 -0
- package/dist/esm/core/agent/arguments/serve/values.js.map +1 -0
- package/dist/esm/core/agent/arguments/serve/windows.d.ts +60 -0
- package/dist/esm/core/agent/arguments/serve/windows.js +324 -0
- package/dist/esm/core/agent/arguments/serve/windows.js.map +1 -0
- package/dist/esm/core/agent/arguments/serve.d.ts +12 -417
- package/dist/esm/core/agent/arguments/serve.js +7 -973
- package/dist/esm/core/agent/arguments/serve.js.map +1 -1
- package/dist/esm/core/agent/assessment/compose.d.ts +2 -2
- package/dist/esm/core/agent/assessment/compose.js +2 -2
- package/dist/esm/core/agent/assessment/compose.js.map +1 -1
- package/dist/esm/core/agent/assessment/integrityReasons.js +5 -1
- package/dist/esm/core/agent/assessment/integrityReasons.js.map +1 -1
- package/dist/esm/core/agent/assessment/stage.js +1 -1
- package/dist/esm/core/agent/buildAgentChart.d.ts +1 -1
- package/dist/esm/core/agent/buildAgentChart.js +1 -1
- package/dist/esm/core/agent/evidence/figures.d.ts +1 -1
- package/dist/esm/core/agent/evidence/figures.js +1 -1
- package/dist/esm/core/agent/findings/types.d.ts +2 -2
- package/dist/esm/core/agent/findings/types.js.map +1 -1
- package/dist/esm/core/agent/middleware/rewrites.d.ts +1 -1
- package/dist/esm/core/agent/middleware/rewrites.js +2 -2
- package/dist/esm/core/agent/middleware/rewrites.js.map +1 -1
- package/dist/esm/core/agent/stages/answerCoverage.d.ts +1 -1
- package/dist/esm/core/agent/stages/answerCoverage.js +1 -1
- package/dist/esm/core/agent/stages/argumentAsk.d.ts +1 -1
- package/dist/esm/core/agent/stages/argumentAsk.js +4 -3
- package/dist/esm/core/agent/stages/argumentAsk.js.map +1 -1
- package/dist/esm/core/agent/stages/callLLM.js +1 -1
- package/dist/esm/core/agent/stages/callLLM.js.map +1 -1
- package/dist/esm/core/agent/stages/prepareFinal.d.ts +1 -1
- package/dist/esm/core/agent/stages/prepareFinal.js +1 -1
- package/dist/esm/core/agent/stages/seed.d.ts +2 -2
- package/dist/esm/core/agent/stages/toolCalls/contracts/access.d.ts +1 -1
- package/dist/esm/core/agent/stages/toolCalls/execution/deliveredResult.js +1 -1
- package/dist/esm/core/agent/stages/toolCalls/execution/deliveredResult.js.map +1 -1
- package/dist/esm/core/agent/stages/toolCalls/helpers/sourceNote.d.ts +1 -1
- package/dist/esm/core/agent/stages/toolCalls/helpers/sourceNote.js +1 -1
- package/dist/esm/core/agent/types.d.ts +1 -1
- package/dist/esm/core/slots/buildToolsSlot.d.ts +4 -4
- package/dist/esm/core/slots/buildToolsSlot.js +2 -2
- package/dist/esm/core/slots/buildToolsSlot.js.map +1 -1
- package/dist/esm/debug.d.ts +1 -1
- package/dist/esm/debug.js.map +1 -1
- package/dist/esm/events/payloads/agent.d.ts +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/lib/saidByPerson.d.ts +2 -2
- package/dist/esm/lib/saidByPerson.js +2 -2
- package/dist/esm/locales/timeAsk.d.ts +2 -2
- package/dist/esm/locales/timeAsk.js +3 -1
- package/dist/esm/locales/timeAsk.js.map +1 -1
- package/dist/esm/semantics/coverage/answer.d.ts +3 -3
- package/dist/esm/semantics/coverage/answer.js +2 -2
- package/dist/esm/semantics/coverage/period.d.ts +1 -1
- package/dist/esm/semantics/coverage/period.js +1 -1
- package/dist/esm/semantics/coverage/timeLimitFacts.d.ts +1 -1
- package/dist/esm/semantics/coverage/timeLimitFacts.js +1 -1
- package/dist/esm/semantics/coverage/timeLimits.d.ts +1 -1
- package/dist/esm/semantics/coverage/timeLimits.js +1 -1
- package/dist/esm/time/ask.d.ts +8 -3
- package/dist/esm/time/ask.js +7 -0
- package/dist/esm/time/ask.js.map +1 -1
- package/dist/esm/time/forms.js +2 -2
- package/dist/esm/time/forms.js.map +1 -1
- package/dist/esm/time/readers/english/atoms.d.ts +3 -0
- package/dist/esm/time/readers/english/atoms.js +164 -0
- package/dist/esm/time/readers/english/atoms.js.map +1 -0
- package/dist/esm/time/readers/english/grammar.d.ts +49 -0
- package/dist/esm/time/readers/english/grammar.js +128 -0
- package/dist/esm/time/readers/english/grammar.js.map +1 -0
- package/dist/esm/time/readers/english/types.d.ts +11 -0
- package/dist/esm/time/readers/english/types.js +2 -0
- package/dist/esm/time/readers/english/types.js.map +1 -0
- package/dist/esm/time/readers/english/zones.d.ts +13 -0
- package/dist/esm/time/readers/english/zones.js +116 -0
- package/dist/esm/time/readers/english/zones.js.map +1 -0
- package/dist/esm/time/readers/english.d.ts +6 -13
- package/dist/esm/time/readers/english.js +10 -327
- package/dist/esm/time/readers/english.js.map +1 -1
- package/dist/esm/time/readingAsk.d.ts +1 -1
- package/dist/esm/time/readingAsk.js +11 -3
- package/dist/esm/time/readingAsk.js.map +1 -1
- package/dist/esm/time/reply/classify.d.ts +2 -0
- package/dist/esm/time/reply/classify.js +28 -0
- package/dist/esm/time/reply/classify.js.map +1 -0
- package/dist/esm/time/reply/decision.d.ts +2 -0
- package/dist/esm/time/reply/decision.js +28 -0
- package/dist/esm/time/reply/decision.js.map +1 -0
- package/dist/esm/time/reply/decode.d.ts +3 -0
- package/dist/esm/time/reply/decode.js +25 -0
- package/dist/esm/time/reply/decode.js.map +1 -0
- package/dist/esm/time/reply/project.d.ts +5 -0
- package/dist/esm/time/reply/project.js +36 -0
- package/dist/esm/time/reply/project.js.map +1 -0
- package/dist/esm/time/reply/resolve.d.ts +4 -0
- package/dist/esm/time/reply/resolve.js +63 -0
- package/dist/esm/time/reply/resolve.js.map +1 -0
- package/dist/esm/time/reply/types.d.ts +71 -0
- package/dist/esm/time/reply/types.js +14 -0
- package/dist/esm/time/reply/types.js.map +1 -0
- package/dist/esm/time/reply.d.ts +3 -0
- package/dist/esm/time/reply.js +3 -0
- package/dist/esm/time/reply.js.map +1 -0
- package/dist/esm/time/replyForm/bindings.d.ts +22 -0
- package/dist/esm/time/replyForm/bindings.js +55 -0
- package/dist/esm/time/replyForm/bindings.js.map +1 -0
- package/dist/esm/time/replyForm.d.ts +3 -0
- package/dist/esm/time/replyForm.js +3 -0
- package/dist/esm/time/replyForm.js.map +1 -0
- package/dist/esm/time/replyRecord.d.ts +8 -0
- package/dist/esm/time/replyRecord.js +26 -0
- package/dist/esm/time/replyRecord.js.map +1 -0
- package/dist/esm/time/resolve/agreement.d.ts +6 -0
- package/dist/esm/time/resolve/agreement.js +26 -0
- package/dist/esm/time/resolve/agreement.js.map +1 -0
- package/dist/esm/time/resolve/calendar.d.ts +22 -0
- package/dist/esm/time/resolve/calendar.js +145 -0
- package/dist/esm/time/resolve/calendar.js.map +1 -0
- package/dist/esm/time/resolve/lookback.d.ts +6 -0
- package/dist/esm/time/resolve/lookback.js +51 -0
- package/dist/esm/time/resolve/lookback.js.map +1 -0
- package/dist/esm/time/resolve/points.d.ts +24 -0
- package/dist/esm/time/resolve/points.js +97 -0
- package/dist/esm/time/resolve/points.js.map +1 -0
- package/dist/esm/time/resolve/types.d.ts +11 -0
- package/dist/esm/time/resolve/types.js +2 -0
- package/dist/esm/time/resolve/types.js.map +1 -0
- package/dist/esm/time/resolve/wallClock.d.ts +28 -0
- package/dist/esm/time/resolve/wallClock.js +70 -0
- package/dist/esm/time/resolve/wallClock.js.map +1 -0
- package/dist/esm/time/resolve/zones.d.ts +57 -0
- package/dist/esm/time/resolve/zones.js +147 -0
- package/dist/esm/time/resolve/zones.js.map +1 -0
- package/dist/esm/time/resolve.d.ts +2 -13
- package/dist/esm/time/resolve.js +28 -492
- package/dist/esm/time/resolve.js.map +1 -1
- package/dist/esm/time/resolveRecord.d.ts +6 -1
- package/dist/esm/time/resolveRecord.js +2 -0
- package/dist/esm/time/resolveRecord.js.map +1 -1
- package/dist/esm/time/rows/meaning.d.ts +2 -0
- package/dist/esm/time/rows/meaning.js +27 -0
- package/dist/esm/time/rows/meaning.js.map +1 -0
- package/dist/esm/time/rows/types.d.ts +225 -0
- package/dist/esm/time/rows/types.js +2 -0
- package/dist/esm/time/rows/types.js.map +1 -0
- package/dist/esm/time/rows.d.ts +9 -210
- package/dist/esm/time/rows.js +19 -6
- package/dist/esm/time/rows.js.map +1 -1
- package/dist/esm/time/windows.d.ts +2 -0
- package/dist/esm/time/windows.js +3 -2
- package/dist/esm/time/windows.js.map +1 -1
- package/dist/esm/tools/declare.d.ts +1 -1
- package/dist/esm/tools/declare.js +1 -1
- package/dist/esm/tools/inputRequest/data.d.ts +4 -0
- package/dist/esm/tools/inputRequest/data.js +27 -0
- package/dist/esm/tools/inputRequest/data.js.map +1 -0
- package/dist/esm/tools/inputRequest/response.d.ts +36 -0
- package/dist/esm/tools/inputRequest/response.js +65 -0
- package/dist/esm/tools/inputRequest/response.js.map +1 -0
- package/dist/esm/tools/inputRequest.d.ts +3 -11
- package/dist/esm/tools/inputRequest.js +5 -90
- package/dist/esm/tools/inputRequest.js.map +1 -1
- package/dist/lib/saidByPerson.js +2 -2
- package/dist/locales/timeAsk.js +3 -1
- package/dist/locales/timeAsk.js.map +1 -1
- package/dist/semantics/coverage/answer.js +2 -2
- package/dist/semantics/coverage/period.js +1 -1
- package/dist/semantics/coverage/timeLimitFacts.js +1 -1
- package/dist/semantics/coverage/timeLimits.js +1 -1
- package/dist/time/ask.js +8 -1
- package/dist/time/ask.js.map +1 -1
- package/dist/time/forms.js +2 -2
- package/dist/time/forms.js.map +1 -1
- package/dist/time/readers/english/atoms.js +168 -0
- package/dist/time/readers/english/atoms.js.map +1 -0
- package/dist/time/readers/english/grammar.js +132 -0
- package/dist/time/readers/english/grammar.js.map +1 -0
- package/dist/time/readers/english/types.js +3 -0
- package/dist/time/readers/english/types.js.map +1 -0
- package/dist/time/readers/english/zones.js +121 -0
- package/dist/time/readers/english/zones.js.map +1 -0
- package/dist/time/readers/english.js +24 -336
- package/dist/time/readers/english.js.map +1 -1
- package/dist/time/readingAsk.js +10 -2
- package/dist/time/readingAsk.js.map +1 -1
- package/dist/time/reply/classify.js +32 -0
- package/dist/time/reply/classify.js.map +1 -0
- package/dist/time/reply/decision.js +32 -0
- package/dist/time/reply/decision.js.map +1 -0
- package/dist/time/reply/decode.js +29 -0
- package/dist/time/reply/decode.js.map +1 -0
- package/dist/time/reply/project.js +41 -0
- package/dist/time/reply/project.js.map +1 -0
- package/dist/time/reply/resolve.js +67 -0
- package/dist/time/reply/resolve.js.map +1 -0
- package/dist/time/reply/types.js +18 -0
- package/dist/time/reply/types.js.map +1 -0
- package/dist/time/reply.js +7 -0
- package/dist/time/reply.js.map +1 -0
- package/dist/time/replyForm/bindings.js +60 -0
- package/dist/time/replyForm/bindings.js.map +1 -0
- package/dist/time/replyForm.js +8 -0
- package/dist/time/replyForm.js.map +1 -0
- package/dist/time/replyRecord.js +30 -0
- package/dist/time/replyRecord.js.map +1 -0
- package/dist/time/resolve/agreement.js +31 -0
- package/dist/time/resolve/agreement.js.map +1 -0
- package/dist/time/resolve/calendar.js +151 -0
- package/dist/time/resolve/calendar.js.map +1 -0
- package/dist/time/resolve/lookback.js +55 -0
- package/dist/time/resolve/lookback.js.map +1 -0
- package/dist/time/resolve/points.js +101 -0
- package/dist/time/resolve/points.js.map +1 -0
- package/dist/time/resolve/types.js +3 -0
- package/dist/time/resolve/types.js.map +1 -0
- package/dist/time/resolve/wallClock.js +78 -0
- package/dist/time/resolve/wallClock.js.map +1 -0
- package/dist/time/resolve/zones.js +154 -0
- package/dist/time/resolve/zones.js.map +1 -0
- package/dist/time/resolve.js +34 -498
- package/dist/time/resolve.js.map +1 -1
- package/dist/time/resolveRecord.js +2 -0
- package/dist/time/resolveRecord.js.map +1 -1
- package/dist/time/rows/meaning.js +31 -0
- package/dist/time/rows/meaning.js.map +1 -0
- package/dist/time/rows/types.js +3 -0
- package/dist/time/rows/types.js.map +1 -0
- package/dist/time/rows.js +20 -6
- package/dist/time/rows.js.map +1 -1
- package/dist/time/windows.js +3 -2
- package/dist/time/windows.js.map +1 -1
- package/dist/tools/declare.js +1 -1
- package/dist/tools/inputRequest/data.js +34 -0
- package/dist/tools/inputRequest/data.js.map +1 -0
- package/dist/tools/inputRequest/response.js +71 -0
- package/dist/tools/inputRequest/response.js.map +1 -0
- package/dist/tools/inputRequest.js +31 -116
- package/dist/tools/inputRequest.js.map +1 -1
- package/dist/types/adapters/observability/auditKeptByContract.d.ts.map +1 -1
- package/dist/types/context-bisect/ablation.d.ts +8 -0
- package/dist/types/context-bisect/ablation.d.ts.map +1 -1
- package/dist/types/context-bisect/bisect.d.ts +15 -15
- package/dist/types/context-bisect/bisect.d.ts.map +1 -1
- package/dist/types/context-bisect/conclusion.d.ts +52 -0
- package/dist/types/context-bisect/conclusion.d.ts.map +1 -0
- package/dist/types/context-bisect/conclusionTypes.d.ts +76 -0
- package/dist/types/context-bisect/conclusionTypes.d.ts.map +1 -0
- package/dist/types/context-bisect/format.d.ts +11 -0
- package/dist/types/context-bisect/format.d.ts.map +1 -0
- package/dist/types/context-bisect/index.d.ts +1 -1
- package/dist/types/context-bisect/index.d.ts.map +1 -1
- package/dist/types/context-bisect/localize.d.ts +8 -10
- package/dist/types/context-bisect/localize.d.ts.map +1 -1
- package/dist/types/context-bisect/toBacktrackTrace.d.ts.map +1 -1
- package/dist/types/context-bisect/types.d.ts +33 -4
- package/dist/types/context-bisect/types.d.ts.map +1 -1
- package/dist/types/core/agent/arguments/ask/constants.d.ts +17 -0
- package/dist/types/core/agent/arguments/ask/constants.d.ts.map +1 -0
- package/dist/types/core/agent/arguments/ask/context.d.ts +24 -0
- package/dist/types/core/agent/arguments/ask/context.d.ts.map +1 -0
- package/dist/types/core/agent/arguments/ask/fields.d.ts +43 -0
- package/dist/types/core/agent/arguments/ask/fields.d.ts.map +1 -0
- package/dist/types/core/agent/arguments/ask/replyFields.d.ts +10 -0
- package/dist/types/core/agent/arguments/ask/replyFields.d.ts.map +1 -0
- package/dist/types/core/agent/arguments/ask/types.d.ts +196 -0
- package/dist/types/core/agent/arguments/ask/types.d.ts.map +1 -0
- package/dist/types/core/agent/arguments/ask/validation.d.ts +43 -0
- package/dist/types/core/agent/arguments/ask/validation.d.ts.map +1 -0
- package/dist/types/core/agent/arguments/ask/windowBinding/answer.d.ts +18 -0
- package/dist/types/core/agent/arguments/ask/windowBinding/answer.d.ts.map +1 -0
- package/dist/types/core/agent/arguments/ask/windowBinding/editedZone.d.ts +12 -0
- package/dist/types/core/agent/arguments/ask/windowBinding/editedZone.d.ts.map +1 -0
- package/dist/types/core/agent/arguments/ask/windowBinding/fills.d.ts +19 -0
- package/dist/types/core/agent/arguments/ask/windowBinding/fills.d.ts.map +1 -0
- package/dist/types/core/agent/arguments/ask/windowBinding/question.d.ts +7 -0
- package/dist/types/core/agent/arguments/ask/windowBinding/question.d.ts.map +1 -0
- package/dist/types/core/agent/arguments/ask/windowBinding/types.d.ts +36 -0
- package/dist/types/core/agent/arguments/ask/windowBinding/types.d.ts.map +1 -0
- package/dist/types/core/agent/arguments/ask/windowBinding.d.ts +5 -0
- package/dist/types/core/agent/arguments/ask/windowBinding.d.ts.map +1 -0
- package/dist/types/core/agent/arguments/ask/windowReply.d.ts +12 -0
- package/dist/types/core/agent/arguments/ask/windowReply.d.ts.map +1 -0
- package/dist/types/core/agent/arguments/ask.d.ts +9 -259
- package/dist/types/core/agent/arguments/ask.d.ts.map +1 -1
- package/dist/types/core/agent/arguments/dispatch.d.ts +4 -4
- package/dist/types/core/agent/arguments/pendingPrivateAsk.d.ts +1 -1
- package/dist/types/core/agent/arguments/pendingPrivateAsk.d.ts.map +1 -1
- package/dist/types/core/agent/arguments/serve/assumed.d.ts +64 -0
- package/dist/types/core/agent/arguments/serve/assumed.d.ts.map +1 -0
- package/dist/types/core/agent/arguments/serve/clock.d.ts +105 -0
- package/dist/types/core/agent/arguments/serve/clock.d.ts.map +1 -0
- package/dist/types/core/agent/arguments/serve/fills.d.ts +66 -0
- package/dist/types/core/agent/arguments/serve/fills.d.ts.map +1 -0
- package/dist/types/core/agent/arguments/serve/refusals.d.ts +68 -0
- package/dist/types/core/agent/arguments/serve/refusals.d.ts.map +1 -0
- package/dist/types/core/agent/arguments/serve/schema.d.ts +68 -0
- package/dist/types/core/agent/arguments/serve/schema.d.ts.map +1 -0
- package/dist/types/core/agent/arguments/serve/values.d.ts +12 -0
- package/dist/types/core/agent/arguments/serve/values.d.ts.map +1 -0
- package/dist/types/core/agent/arguments/serve/windows.d.ts +61 -0
- package/dist/types/core/agent/arguments/serve/windows.d.ts.map +1 -0
- package/dist/types/core/agent/arguments/serve.d.ts +12 -417
- package/dist/types/core/agent/arguments/serve.d.ts.map +1 -1
- package/dist/types/core/agent/assessment/compose.d.ts +2 -2
- package/dist/types/core/agent/assessment/integrityReasons.d.ts.map +1 -1
- package/dist/types/core/agent/buildAgentChart.d.ts +1 -1
- package/dist/types/core/agent/evidence/figures.d.ts +1 -1
- package/dist/types/core/agent/findings/types.d.ts +2 -2
- package/dist/types/core/agent/findings/types.d.ts.map +1 -1
- package/dist/types/core/agent/middleware/rewrites.d.ts +1 -1
- package/dist/types/core/agent/stages/answerCoverage.d.ts +1 -1
- package/dist/types/core/agent/stages/argumentAsk.d.ts +1 -1
- package/dist/types/core/agent/stages/argumentAsk.d.ts.map +1 -1
- package/dist/types/core/agent/stages/prepareFinal.d.ts +1 -1
- package/dist/types/core/agent/stages/seed.d.ts +2 -2
- package/dist/types/core/agent/stages/toolCalls/contracts/access.d.ts +1 -1
- package/dist/types/core/agent/stages/toolCalls/helpers/sourceNote.d.ts +1 -1
- package/dist/types/core/agent/types.d.ts +1 -1
- package/dist/types/core/slots/buildToolsSlot.d.ts +4 -4
- package/dist/types/debug.d.ts +1 -1
- package/dist/types/debug.d.ts.map +1 -1
- package/dist/types/events/payloads/agent.d.ts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/lib/saidByPerson.d.ts +2 -2
- package/dist/types/locales/timeAsk.d.ts +2 -2
- package/dist/types/locales/timeAsk.d.ts.map +1 -1
- package/dist/types/semantics/coverage/answer.d.ts +3 -3
- package/dist/types/semantics/coverage/period.d.ts +1 -1
- package/dist/types/semantics/coverage/timeLimitFacts.d.ts +1 -1
- package/dist/types/semantics/coverage/timeLimits.d.ts +1 -1
- package/dist/types/time/ask.d.ts +8 -3
- package/dist/types/time/ask.d.ts.map +1 -1
- package/dist/types/time/readers/english/atoms.d.ts +4 -0
- package/dist/types/time/readers/english/atoms.d.ts.map +1 -0
- package/dist/types/time/readers/english/grammar.d.ts +50 -0
- package/dist/types/time/readers/english/grammar.d.ts.map +1 -0
- package/dist/types/time/readers/english/types.d.ts +12 -0
- package/dist/types/time/readers/english/types.d.ts.map +1 -0
- package/dist/types/time/readers/english/zones.d.ts +14 -0
- package/dist/types/time/readers/english/zones.d.ts.map +1 -0
- package/dist/types/time/readers/english.d.ts +6 -13
- package/dist/types/time/readers/english.d.ts.map +1 -1
- package/dist/types/time/readingAsk.d.ts +1 -1
- package/dist/types/time/readingAsk.d.ts.map +1 -1
- package/dist/types/time/reply/classify.d.ts +3 -0
- package/dist/types/time/reply/classify.d.ts.map +1 -0
- package/dist/types/time/reply/decision.d.ts +3 -0
- package/dist/types/time/reply/decision.d.ts.map +1 -0
- package/dist/types/time/reply/decode.d.ts +4 -0
- package/dist/types/time/reply/decode.d.ts.map +1 -0
- package/dist/types/time/reply/project.d.ts +6 -0
- package/dist/types/time/reply/project.d.ts.map +1 -0
- package/dist/types/time/reply/resolve.d.ts +5 -0
- package/dist/types/time/reply/resolve.d.ts.map +1 -0
- package/dist/types/time/reply/types.d.ts +72 -0
- package/dist/types/time/reply/types.d.ts.map +1 -0
- package/dist/types/time/reply.d.ts +4 -0
- package/dist/types/time/reply.d.ts.map +1 -0
- package/dist/types/time/replyForm/bindings.d.ts +23 -0
- package/dist/types/time/replyForm/bindings.d.ts.map +1 -0
- package/dist/types/time/replyForm.d.ts +4 -0
- package/dist/types/time/replyForm.d.ts.map +1 -0
- package/dist/types/time/replyRecord.d.ts +9 -0
- package/dist/types/time/replyRecord.d.ts.map +1 -0
- package/dist/types/time/resolve/agreement.d.ts +7 -0
- package/dist/types/time/resolve/agreement.d.ts.map +1 -0
- package/dist/types/time/resolve/calendar.d.ts +23 -0
- package/dist/types/time/resolve/calendar.d.ts.map +1 -0
- package/dist/types/time/resolve/lookback.d.ts +7 -0
- package/dist/types/time/resolve/lookback.d.ts.map +1 -0
- package/dist/types/time/resolve/points.d.ts +25 -0
- package/dist/types/time/resolve/points.d.ts.map +1 -0
- package/dist/types/time/resolve/types.d.ts +12 -0
- package/dist/types/time/resolve/types.d.ts.map +1 -0
- package/dist/types/time/resolve/wallClock.d.ts +29 -0
- package/dist/types/time/resolve/wallClock.d.ts.map +1 -0
- package/dist/types/time/resolve/zones.d.ts +58 -0
- package/dist/types/time/resolve/zones.d.ts.map +1 -0
- package/dist/types/time/resolve.d.ts +2 -13
- package/dist/types/time/resolve.d.ts.map +1 -1
- package/dist/types/time/resolveRecord.d.ts +6 -1
- package/dist/types/time/resolveRecord.d.ts.map +1 -1
- package/dist/types/time/rows/meaning.d.ts +3 -0
- package/dist/types/time/rows/meaning.d.ts.map +1 -0
- package/dist/types/time/rows/types.d.ts +226 -0
- package/dist/types/time/rows/types.d.ts.map +1 -0
- package/dist/types/time/rows.d.ts +9 -210
- package/dist/types/time/rows.d.ts.map +1 -1
- package/dist/types/time/windows.d.ts +2 -0
- package/dist/types/time/windows.d.ts.map +1 -1
- package/dist/types/tools/declare.d.ts +1 -1
- package/dist/types/tools/inputRequest/data.d.ts +5 -0
- package/dist/types/tools/inputRequest/data.d.ts.map +1 -0
- package/dist/types/tools/inputRequest/response.d.ts +37 -0
- package/dist/types/tools/inputRequest/response.d.ts.map +1 -0
- package/dist/types/tools/inputRequest.d.ts +3 -11
- package/dist/types/tools/inputRequest.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -26,420 +26,15 @@
|
|
|
26
26
|
* ruled argument, no sentence here prints its value — it says the value is
|
|
27
27
|
* hidden by the tool's view instead.
|
|
28
28
|
*/
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
export
|
|
40
|
-
|
|
41
|
-
* The sentence a ruled `assume` property carries in the served schema: what the
|
|
42
|
-
* library does when the call leaves the argument out, and what the record
|
|
43
|
-
* keeps. It promises nothing a later path can break — not that the call runs
|
|
44
|
-
* (permission may deny it), only what fills a value that is left out.
|
|
45
|
-
*/
|
|
46
|
-
export declare function assumeSentence(value: InputValue, hidden: boolean): string;
|
|
47
|
-
/**
|
|
48
|
-
* The sentence a ruled `ask` property carries in the served schema: the rule
|
|
49
|
-
* asks the person for the value, so the model may leave it out — and should,
|
|
50
|
-
* unless the person gave it. No value is printed: an `ask` rule has no default.
|
|
51
|
-
*/
|
|
52
|
-
export declare const ASK_SENTENCE = "The tool's rule asks the person for this value; leave it out unless the person gave it.";
|
|
53
|
-
/**
|
|
54
|
-
* The sentence a ruled `ask` property carries under DECLARED SOURCES
|
|
55
|
-
* (`.findings({ argumentSources: true })`, `.inputsLayer({ argumentSources:
|
|
56
|
-
* true })`) in place of `ASK_SENTENCE`: the same rule, and — at the place the
|
|
57
|
-
* model decides whether to send the value — where it says the person gave it.
|
|
58
|
-
* Under the arm a present value with no traced source is asked of the person
|
|
59
|
-
* (`resolve.ts`), so "leave it out unless the person gave it" alone told the
|
|
60
|
-
* model that SENDING the value was the whole of its statement: in the paid
|
|
61
|
-
* step-5 run (`bench/inputs/runs/haiku45-step5`) it left the period out on 32
|
|
62
|
-
* of 32 calls where the person gave none — and a period the person HAD given
|
|
63
|
-
* was traced to their words, unasked, on 7 of 88 calls.
|
|
64
|
-
*/
|
|
65
|
-
export declare const ASK_SOURCES_SENTENCE: string;
|
|
66
|
-
/** The options every served-schema composer here takes. */
|
|
67
|
-
export interface ServeOptions {
|
|
68
|
-
/**
|
|
69
|
-
* Declared sources are armed (`.findings({ argumentSources: true })` or
|
|
70
|
-
* `.inputsLayer({ argumentSources: true })`) AND this tool's served schema
|
|
71
|
-
* carries `_findings.from`: an `ask` property says where the model declares
|
|
72
|
-
* the person's words, and an answered note says a later call may cite the
|
|
73
|
-
* answer. The CALLER decides it per tool, by the rule the planters and the
|
|
74
|
-
* dispatch peel ask (`findings/reserved.ts` · `ownsReservedArgument`, which
|
|
75
|
-
* this leaf cannot import): a tool whose author owns `_findings` is served
|
|
76
|
-
* undecorated, so a sentence naming `_findings.from` would tell the model to
|
|
77
|
-
* write into the author's own argument. Absent → the sentences steps 3 and 4
|
|
78
|
-
* serve, byte for byte.
|
|
79
|
-
*/
|
|
80
|
-
readonly sources?: boolean;
|
|
81
|
-
}
|
|
82
|
-
/**
|
|
83
|
-
* The served copy of a ruled tool's schema: every argument an `assume` or an
|
|
84
|
-
* `ask` rule governs leaves `required` (the library fills it, or asks the
|
|
85
|
-
* person for it, when the call leaves it out) and its property's description
|
|
86
|
-
* gains the rule's sentence (an `ask` rule's names `_findings.from` under the
|
|
87
|
-
* sources arm, `options.sources`). A rebuilt copy — the registry schema, which
|
|
88
|
-
* `validateToolArgs` judges and `mcpServe` serves, is never edited. The SAME
|
|
89
|
-
* reference back for a tool with no rules, rules that cannot be read (the
|
|
90
|
-
* dispatch re-read refuses its calls) or no tool at all (a chart with no
|
|
91
|
-
* claimant record) — so an agent whose tools declare nothing serves the bytes
|
|
92
|
-
* it always did.
|
|
93
|
-
*
|
|
94
|
-
* @example
|
|
95
|
-
* ```ts
|
|
96
|
-
* withArgumentRules(searchLogs.schema, searchLogs).inputSchema.required; // ['service']
|
|
97
|
-
* ```
|
|
98
|
-
*/
|
|
99
|
-
export declare function withArgumentRules(schema: LLMToolSchema, tool: RuledToolLike | undefined, options?: ServeOptions): LLMToolSchema;
|
|
100
|
-
/**
|
|
101
|
-
* The served list with each ruled tool's schema decorated (`withArgumentRules`,
|
|
102
|
-
* from the rules of the implementation that WINS each name), or the SAME list
|
|
103
|
-
* when no served schema changed — so an armed agent whose wire carries no
|
|
104
|
-
* ruled tool commits the bytes it always did. The tools slot's one decoration
|
|
105
|
-
* site (`core/slots/buildToolsSlot.ts` · `commitWire`) calls it under the arm.
|
|
106
|
-
* `optionsOf` gives each schema its own `ServeOptions`: under declared sources
|
|
107
|
-
* one wire can hold a tool that carries `_findings.from` beside a provider's
|
|
108
|
-
* tool whose author owns `_findings`, which does not.
|
|
109
|
-
*/
|
|
110
|
-
export declare function rulesOnWire(served: readonly LLMToolSchema[], winningTools: ReadonlyMap<string, RuledToolLike>, optionsOf?: (schema: LLMToolSchema) => ServeOptions | undefined): readonly LLMToolSchema[];
|
|
111
|
-
/**
|
|
112
|
-
* What the served line reads: the turn's SETTLED windows of the person's
|
|
113
|
-
* words (`time/windows.ts` · `readerWindowsOf` — each mention's quote and
|
|
114
|
-
* its one window: the one the person confirmed or gave in the time ask, or a
|
|
115
|
-
* `model` reader's reading), the quotes still PENDING (a proposal the person
|
|
116
|
-
* has not answered, a zone to name, or words the library could not read —
|
|
117
|
-
* `pendingUnread`), the turn's clock, and the app's `.time({ zone })`.
|
|
118
|
-
*/
|
|
119
|
-
export interface ServedWindows extends ReaderWindows {
|
|
120
|
-
readonly appZone?: ZoneName;
|
|
121
|
-
}
|
|
122
|
-
/**
|
|
123
|
-
* The ONE served time line (TQ13; step T6b's serving placement): one
|
|
124
|
-
* request-only `user` line appended LAST to the request, at the decision
|
|
125
|
-
* point — composed at the tools slot's one decoration site
|
|
126
|
-
* (`core/slots/buildToolsSlot.ts` · `commitWire`) from the tools it really
|
|
127
|
-
* serves, carried to `callLLM` on `timeLine`, and rebuilt by
|
|
128
|
-
* `time-travel/servedView.ts` from the same committed key. Four parts:
|
|
129
|
-
*
|
|
130
|
-
* - SETTLED — each window the person confirmed or gave in the time ask (or a
|
|
131
|
-
* `model` reader's reading), in the person's zone, WHOSE it is, and each
|
|
132
|
-
* served period tool's values for it — the exact conversion, else the wider
|
|
133
|
-
* one the fill would use (said so); a value the tool's view hides is named
|
|
134
|
-
* hidden. So the model never re-derives a window from words, and the answer
|
|
135
|
-
* states the window it was built on.
|
|
136
|
-
* - CONTROL — the window the person set in the app's time control, in
|
|
137
|
-
* their zone, with each served period tool's values for it; with none
|
|
138
|
-
* (no period tool served, or none can read it) the window alone (G14).
|
|
139
|
-
* - REFUSED — a window of the person's a served period tool refused before
|
|
140
|
-
* dispatch this turn: the refusal's reason in the result's own words, then
|
|
141
|
-
* what an answer states. That quote is no longer pending for that tool.
|
|
142
|
-
* - PENDING — a proposal the person has not answered is no window yet, and a
|
|
143
|
-
* call that writes its own window runs as sent, unconfirmed (§ 7.3). The
|
|
144
|
-
* line names the next step — the call with the period arguments left out,
|
|
145
|
-
* so the library's own form confirms the window with the person — and the
|
|
146
|
-
* two moves that are not it (a question about the time in the reply, a
|
|
147
|
-
* written window). Once a call of the turn already ran on a written window
|
|
148
|
-
* (`ranUnconfirmed`), it names the limit an answer states instead.
|
|
149
|
-
*
|
|
150
|
-
* `undefined` when no part has anything to say — a turn with no time words
|
|
151
|
-
* and no control window serves no line at all; with no served period tool
|
|
152
|
-
* only the control half can speak. The halves carry no opening: {@link timeLine} composes the served line and
|
|
153
|
-
* opens it, once, with {@link TIME_LINE_SOURCE}.
|
|
154
|
-
*
|
|
155
|
-
* @example
|
|
156
|
-
* ```ts
|
|
157
|
-
* timeWindowsLine(served, winningTools, { now, windows: [], pending: ['yesterday'] });
|
|
158
|
-
* // 'The window for “yesterday” is not settled yet: the person confirms it in the library's own
|
|
159
|
-
* // form, which shows its reading of those words with the zone and opens when client_activity
|
|
160
|
-
* // is called with start_time, end_time left out (or the call is refused with the reason). So
|
|
161
|
-
* // the next step is that call — not a question about the time in the reply, and not a window
|
|
162
|
-
* // written into the call, which would run unconfirmed.'
|
|
163
|
-
* ```
|
|
164
|
-
*/
|
|
165
|
-
export declare function timeWindowsLine(served: readonly LLMToolSchema[], winningTools: ReadonlyMap<string, RuledToolLike>, windows: ServedWindows): string | undefined;
|
|
166
|
-
/**
|
|
167
|
-
* The served time limits from the Tools mount's `timeLimits` FACTS
|
|
168
|
-
* (`semantics/coverage/timeLimitFacts.ts` · `TimeLimitFacts`): rendered for the MODEL
|
|
169
|
-
* (`semantics/coverage/timeLimits.ts` · `renderTimeLimits` — the one composer the
|
|
170
|
-
* limits block asks too), then {@link timeLimitsSentence}. The facts cross
|
|
171
|
-
* the mount unrendered so the renderer loads here, under the arm, and never
|
|
172
|
-
* on the graph a plain agent loads.
|
|
173
|
-
*
|
|
174
|
-
* @example
|
|
175
|
-
* ```ts
|
|
176
|
-
* timeLimitsLine(undefined); // undefined — the turn's reads match what was asked
|
|
177
|
-
* ```
|
|
178
|
-
*/
|
|
179
|
-
export declare function timeLimitsLine(facts: TimeLimitFacts | undefined): string | undefined;
|
|
180
|
-
/**
|
|
181
|
-
* The time limits an answer states (time step T8's serving placement): the
|
|
182
|
-
* result checks that hold this turn — a read narrower, wider or shifted from
|
|
183
|
-
* what was asked, a window older than the source keeps, sources on different
|
|
184
|
-
* clocks — served to the MODEL as the library's conclusion, LATE, at the
|
|
185
|
-
* decision point, in the ONE served time line (TQ13) after the windows'
|
|
186
|
-
* halves. The step-7b bench showed why: raw facts on a result are not
|
|
187
|
-
* compared by the model, a conclusion served at the decision point is.
|
|
188
|
-
*
|
|
189
|
-
* `undefined` when nothing holds — a turn whose reads match what was asked
|
|
190
|
-
* serves no sentence at all. It carries no opening: {@link timeLine} opens
|
|
191
|
-
* the served line once with {@link TIME_LINE_SOURCE}.
|
|
192
|
-
*
|
|
193
|
-
* @example
|
|
194
|
-
* ```ts
|
|
195
|
-
* timeLimitsSentence({ period: ['client_activity read less than was asked — asked: …; read: …'], clocks: [] });
|
|
196
|
-
* // 'The time the tools read is not the time asked about — client_activity read less than was
|
|
197
|
-
* // asked — asked: …; read: …. So the answer to the person states the time each result read and
|
|
198
|
-
* // claims nothing about time no result read.'
|
|
199
|
-
* ```
|
|
200
|
-
*/
|
|
201
|
-
export declare function timeLimitsSentence(lines: TimeLimitLines | undefined): string | undefined;
|
|
202
|
-
/** What a line says when the run's clock zone is unknown (G15) — the zone is never guessed. */
|
|
203
|
-
export declare const UNKNOWN_ZONE_CLAUSE = "the person's time zone is not known";
|
|
204
|
-
/** The run clock the served line names (`agent/buildAgentChart.ts` · `timeClockArg`, off the turn's `clock` row). */
|
|
205
|
-
export interface ServedClock {
|
|
206
|
-
readonly now: InstantText;
|
|
207
|
-
/** The person's zone — or, with `zoneUnknown`, only the UTC spelling (G15). */
|
|
208
|
-
readonly zone: ZoneName;
|
|
209
|
-
readonly zoneUnknown?: true;
|
|
210
|
-
}
|
|
211
|
-
/**
|
|
212
|
-
* The run clock, for the model (G16): the turn's `now` to the minute, its
|
|
213
|
-
* weekday and date in the person's zone, the zone named — so the model never
|
|
214
|
-
* answers "today" or "this morning" from its training date. Under `.time()`
|
|
215
|
-
* it is the first part of the ONE served time line on every request; never
|
|
216
|
-
* without it. `undefined` when there is no clock (or it cannot be spelled).
|
|
217
|
-
*
|
|
218
|
-
* @example
|
|
219
|
-
* ```ts
|
|
220
|
-
* clockSentence({ now: '2026-10-09T15:40:00Z', zone: 'America/Los_Angeles' });
|
|
221
|
-
* // "This turn's time: Friday 2026-10-09 08:40 America/Los_Angeles (UTC-07:00)."
|
|
222
|
-
* clockSentence({ now: '2026-10-09T15:40:00Z', zone: 'UTC', zoneUnknown: true });
|
|
223
|
-
* // "This turn's time: Friday 2026-10-09 15:40 UTC (the person's time zone is not known)."
|
|
224
|
-
* ```
|
|
225
|
-
*/
|
|
226
|
-
export declare function clockSentence(clock: ServedClock | undefined): string | undefined;
|
|
227
|
-
/**
|
|
228
|
-
* The ONE served time line's opening: WHO says it — the library, not the
|
|
229
|
-
* person. The line is a request-only `user` message, so an unmarked one reads
|
|
230
|
-
* as the person talking. Measured twice: the T8 bench's first paid round
|
|
231
|
-
* (stopped at 41 runs) — 15 of 15 answers to the limits sentence opened
|
|
232
|
-
* "You're right" / "I apologize", and naming the library alone (round 1,
|
|
233
|
-
* stopped at 46) still drew "Thank you for the clarification"; the T6b paid
|
|
234
|
-
* run, whose windows halves carried no opening — 37 of 37 answers after the
|
|
235
|
-
* unconfirmed-call sentence opened "You're right… I apologize". So it also
|
|
236
|
-
* says the note is no correction, and how an answer uses it. It says nothing
|
|
237
|
-
* about WHEN to answer: the pending half names a call as the next step.
|
|
238
|
-
* Applied once, by {@link timeLine}, whichever halves the line holds.
|
|
239
|
-
*
|
|
240
|
-
* The bytes are the authorship registry's (`lib/saidByPerson.ts` ·
|
|
241
|
-
* `LIBRARY_NOTE_OPENING`, one of `LIBRARY_AUTHORED_PREFIXES`), so the line
|
|
242
|
-
* that is served LAST on every request under `.time()` is never read as the
|
|
243
|
-
* person's words by `isSaidByPerson` — the last `role: 'user'` message of a
|
|
244
|
-
* request is the library's, and "this turn" is not (G17).
|
|
245
|
-
*/
|
|
246
|
-
export declare const TIME_LINE_SOURCE: string;
|
|
247
|
-
/**
|
|
248
|
-
* The ONE served time line (TQ13): its parts in order — the windows' halves,
|
|
249
|
-
* then the limits — opened ONCE with {@link TIME_LINE_SOURCE}. The tools
|
|
250
|
-
* slot's one decoration site (`core/slots/buildToolsSlot.ts` · `commitWire`)
|
|
251
|
-
* calls it, `callLLM` appends the result LAST to the request, and
|
|
252
|
-
* `time-travel/servedView.ts` rebuilds it byte for byte from the same
|
|
253
|
-
* committed `timeLine` key. `undefined` when no part has anything to say — a
|
|
254
|
-
* turn with nothing to say serves no line (and without `.time()` nothing here
|
|
255
|
-
* runs at all).
|
|
256
|
-
*
|
|
257
|
-
* @example
|
|
258
|
-
* ```ts
|
|
259
|
-
* timeLine([undefined, timeLimitsLine(facts)]);
|
|
260
|
-
* // '[A note from the library that runs the tools — …] The time the tools read is not …'
|
|
261
|
-
* timeLine([undefined, undefined]); // undefined
|
|
262
|
-
* ```
|
|
263
|
-
*/
|
|
264
|
-
export declare function timeLine(parts: readonly (string | undefined)[]): string | undefined;
|
|
265
|
-
/** One filled argument, as the note names it. */
|
|
266
|
-
export interface FilledArgument {
|
|
267
|
-
readonly argument: string;
|
|
268
|
-
/** A window fill of an `object` form is an object (printed as JSON). */
|
|
269
|
-
readonly value: InputValue | Readonly<Record<string, InputValue>>;
|
|
270
|
-
readonly hidden: boolean;
|
|
271
|
-
/**
|
|
272
|
-
* `answered`: the person's answer to the batch ask filled it. `window`: the
|
|
273
|
-
* turn's one window of the person's did (the time layer), `from` saying
|
|
274
|
-
* whose. Absent: the tool's rule assumed it.
|
|
275
|
-
*/
|
|
276
|
-
readonly source?: 'answered' | 'window';
|
|
277
|
-
/**
|
|
278
|
-
* On a `window` fill: the person's words, a `model` reader's unconfirmed
|
|
279
|
-
* reading of them, a UI control — or the window the person CHOSE when the
|
|
280
|
-
* library asked about their words (`answered`, the lazy word-driven ask).
|
|
281
|
-
*/
|
|
282
|
-
readonly from?: 'said' | 'derived-from-reading' | 'control' | 'answered';
|
|
283
|
-
/**
|
|
284
|
-
* On a `window` fill: no form held the window exactly, so the value reads a
|
|
285
|
-
* WIDER one (the time layer, step T5b) — `reads-more`, or `tool-trims` when
|
|
286
|
-
* the tool declares that it drops the rows outside the asked window.
|
|
287
|
-
*/
|
|
288
|
-
readonly wider?: 'reads-more' | 'tool-trims';
|
|
289
|
-
/**
|
|
290
|
-
* The value the call had CARRIED, which the person's answer replaced
|
|
291
|
-
* (declared sources: an untraced value is asked about). Absent: the call
|
|
292
|
-
* had left the argument out.
|
|
293
|
-
*/
|
|
294
|
-
readonly carried?: InputValue;
|
|
295
|
-
}
|
|
296
|
-
/**
|
|
297
|
-
* The past-tense note ToolCalls appends to the result of a call that RAN on a
|
|
298
|
-
* value the library filled — one bracket per filled argument the call really
|
|
299
|
-
* ran with (a clause whose fill a before-tool middleware rewrote is left
|
|
300
|
-
* out), after the tool's own bytes. The message then carries `toolChars`, and
|
|
301
|
-
* every reader of a result's content as the TOOL's words reads through that
|
|
302
|
-
* cut (`lib/toolBytes.ts` · `toolBytesOf`): the evidence index, the answer's
|
|
303
|
-
* standing and the answer account's in-view results, the unsupported-argument
|
|
304
|
-
* seam's grounded corpus and the empty-lookup seam's producer corpus. The
|
|
305
|
-
* value is kept in the note because the model needs it to reason about what
|
|
306
|
-
* ran ("no errors in 2h"); it is never evidence for that value, and it never
|
|
307
|
-
* hides a reading of the tool's own bytes.
|
|
308
|
-
*
|
|
309
|
-
* @example
|
|
310
|
-
* ```ts
|
|
311
|
-
* filledNote('search_logs', [{ argument: 'window', value: '2h', hidden: false }]);
|
|
312
|
-
* // '\n\n[window was not in the search_logs call this result answers; the call ran with "2h",
|
|
313
|
-
* // the value the tool's rule assumes — recorded as assumed, not as the person's.]'
|
|
314
|
-
* ```
|
|
315
|
-
*/
|
|
316
|
-
export declare function filledNote(toolName: string, fills: readonly FilledArgument[], options?: ServeOptions): string;
|
|
317
|
-
/**
|
|
318
|
-
* The clause an answered note gains under declared sources: a later call may
|
|
319
|
-
* name the person's answer as its source — `turn`, checked against the
|
|
320
|
-
* ledger's `answered` rows (`checks.ts` · `checkTurn`). A permission, never a
|
|
321
|
-
* promise: the claim is still checked. In the paid step-5 run the model sent
|
|
322
|
-
* an answered period again on the next turn with no `from` entry (and so was
|
|
323
|
-
* asked again) or left it out (and so was asked again): nothing it was served
|
|
324
|
-
* said an earlier ANSWER was a source it could name.
|
|
325
|
-
*/
|
|
326
|
-
export declare const ANSWERED_SOURCE_CLAUSE = "; a later call may cite that answer in `_findings.from` with source 'turn'";
|
|
327
|
-
/** The result a call reads when its tool's rules could not be read at dispatch. */
|
|
328
|
-
export declare function unreadableRulesRefusal(toolName: string, reason: string): string;
|
|
329
|
-
/**
|
|
330
|
-
* The result a call reads when its tool declares argument rules and the agent
|
|
331
|
-
* was built without the inputs layer (a ToolProvider served the tool, and the
|
|
332
|
-
* build could not see it) — refused rather than run unruled, because
|
|
333
|
-
* configured-and-inert looks exactly like configured-and-working.
|
|
334
|
-
*/
|
|
335
|
-
export declare function unmountedRulesRefusal(toolName: string): string;
|
|
336
|
-
/**
|
|
337
|
-
* The result a call reads when the person was asked for a ruled argument
|
|
338
|
-
* `MAX_ASK_ROUNDS` times and no answer fitted what the tool accepts — the call
|
|
339
|
-
* does not run. `expected` is the property schema's own expectation (never the
|
|
340
|
-
* person's answer).
|
|
341
|
-
*/
|
|
342
|
-
export declare function unansweredRefusal(toolName: string, unanswered: readonly {
|
|
343
|
-
readonly argument: string;
|
|
344
|
-
readonly expected?: string;
|
|
345
|
-
}[]): string;
|
|
346
|
-
/**
|
|
347
|
-
* The result a call reads when it needed a person — its check-in consent gate
|
|
348
|
-
* tripped, or the tool itself asked to pause — in a batch that had ALREADY
|
|
349
|
-
* paused once, to ask the person for argument values: a resumed batch has no
|
|
350
|
-
* second pause to give (at most one human question per resume). The call did
|
|
351
|
-
* not finish; nothing about it is decided for the person.
|
|
352
|
-
*/
|
|
353
|
-
export declare function secondPauseRefusal(toolName: string, why: 'check-in' | 'tool-pause'): string;
|
|
354
|
-
/**
|
|
355
|
-
* The result a call reads when it was refused BEFORE DISPATCH on its window
|
|
356
|
-
* (the time layer, step T5b — time design § 7.2): the window breaks one of the
|
|
357
|
-
* tool's declared facts, spans days for a tool that reads one day per call, a
|
|
358
|
-
* sent wall time is one the zone's clocks skip, or no form the tool declares
|
|
359
|
-
* can read the person's window, exactly or wider (`no-form-holds` — the tool's
|
|
360
|
-
* own default never stands in for it). Splitting a window into several calls
|
|
361
|
-
* is the model's choice, never the library's.
|
|
362
|
-
*
|
|
363
|
-
* @example
|
|
364
|
-
* ```ts
|
|
365
|
-
* timeRefusal('search_logs', 'time-future', { direction: 'past' });
|
|
366
|
-
* // 'search_logs was not run on that call: the window it asked for had not happened yet, and the
|
|
367
|
-
* // tool declares that its source holds only the past.'
|
|
368
|
-
* ```
|
|
369
|
-
*/
|
|
370
|
-
export declare function timeRefusal(toolName: string, refusal: TimeRefusal, facts: PeriodFacts, argument?: string): string;
|
|
371
|
-
/**
|
|
372
|
-
* The clause a refusal by the one-question law gains when the refused call
|
|
373
|
-
* carried the person's answers: they were KEPT for the tool's next call that
|
|
374
|
-
* leaves those arguments out (`kept.ts`), so the model may propose the call
|
|
375
|
-
* again without them. Empty when the call carried none.
|
|
376
|
-
*
|
|
377
|
-
* @example
|
|
378
|
-
* ```ts
|
|
379
|
-
* keptAnswersNote('purge_logs', ['window']);
|
|
380
|
-
* // " The person's answer for window was kept for the next purge_logs call that leaves it out,
|
|
381
|
-
* // so the call may be proposed again without window."
|
|
382
|
-
* ```
|
|
383
|
-
*/
|
|
384
|
-
export declare function keptAnswersNote(toolName: string, argumentNames: readonly string[]): string;
|
|
385
|
-
/**
|
|
386
|
-
* The block's opening line. Stable — tests and readers match on it. Owned by
|
|
387
|
-
* the appended section's one composer (`semantics/coverage/answer.ts`), beside the
|
|
388
|
-
* limits block's heading, so a reader of an answer's text finds every block
|
|
389
|
-
* the framework appends through one module; re-exported here, where the block
|
|
390
|
-
* is composed.
|
|
391
|
-
*/
|
|
392
|
-
export { ASSUMED_BLOCK_HEADING };
|
|
393
|
-
/** One assumed value, as the answer's block names it. */
|
|
394
|
-
export interface AssumedLine {
|
|
395
|
-
readonly toolName: string;
|
|
396
|
-
readonly argument: string;
|
|
397
|
-
/** The row's value — the tool's own view; `'REDACTED'` when it hides it. */
|
|
398
|
-
readonly value: string;
|
|
399
|
-
readonly hidden: boolean;
|
|
400
|
-
}
|
|
401
|
-
/**
|
|
402
|
-
* The "Assumed" block: one line per distinct (tool, argument, value) of this
|
|
403
|
-
* turn's `default` rows, in the order the rows were filed. Composed by the
|
|
404
|
-
* framework from the rows — the model does not write it, so it cannot drop
|
|
405
|
-
* it. Empty string when there is nothing assumed.
|
|
406
|
-
*/
|
|
407
|
-
export declare function assumedBlock(lines: readonly AssumedLine[]): string;
|
|
408
|
-
/**
|
|
409
|
-
* The "Assumed" block for THIS turn, read off the record: every `default`
|
|
410
|
-
* argument row of `turn`, in the order it was filed, less each row a
|
|
411
|
-
* before-tool rewrite superseded (its call ran with the rewrite's value, not
|
|
412
|
-
* the one the row names). `readDecisions` hands over `middlewareDecisions`; it
|
|
413
|
-
* is asked only when a row exists (a run with nothing assumed never reads the
|
|
414
|
-
* key), and is absent on an agent with no before-tool chain, whose record can
|
|
415
|
-
* hold no tool rewrite. `''` when nothing is assumed. The final branch's armed
|
|
416
|
-
* variant (`stages/prepareFinal.ts` · `prepareFinalWithLimitsAndAssumedStage`)
|
|
417
|
-
* calls it through `import()`.
|
|
418
|
-
*
|
|
419
|
-
* @example
|
|
420
|
-
* ```ts
|
|
421
|
-
* assumedBlockOf(state.findingsLedger ?? [], state.turnNumber, undefined);
|
|
422
|
-
* // "Assumed (a tool's rule, not your words):\n- window = \"2h\" (search_logs)"
|
|
423
|
-
* ```
|
|
424
|
-
*/
|
|
425
|
-
export declare function assumedBlockOf(ledger: readonly {
|
|
426
|
-
readonly kind: string;
|
|
427
|
-
}[], turn: number, readDecisions: (() => readonly unknown[]) | undefined): string;
|
|
428
|
-
/**
|
|
429
|
-
* This turn's assumed values, as the "Assumed" block's lines: every `default`
|
|
430
|
-
* argument row of `turn`, in the order it was filed, less each row a
|
|
431
|
-
* before-tool rewrite superseded (its call ran with the rewrite's value, not
|
|
432
|
-
* the one the row names). `readDecisions` hands over `middlewareDecisions`; it
|
|
433
|
-
* is asked only when a row exists, and is absent on an agent with no
|
|
434
|
-
* before-tool chain, whose record can hold no tool rewrite. `[]` when nothing
|
|
435
|
-
* is assumed. The block prints each distinct (tool, argument, value) once.
|
|
436
|
-
*
|
|
437
|
-
* @example
|
|
438
|
-
* ```ts
|
|
439
|
-
* assumedLinesFor(state.findingsLedger ?? [], state.turnNumber, undefined);
|
|
440
|
-
* // [{ toolName: 'search_logs', argument: 'window', value: '2h', hidden: false }]
|
|
441
|
-
* ```
|
|
442
|
-
*/
|
|
443
|
-
export declare function assumedLinesFor(ledger: readonly {
|
|
444
|
-
readonly kind: string;
|
|
445
|
-
}[], turn: number, readDecisions: (() => readonly unknown[]) | undefined): AssumedLine[];
|
|
29
|
+
export { printedValue, assumeSentence } from './serve/values.js';
|
|
30
|
+
export { ASK_SENTENCE, ASK_SOURCES_SENTENCE, withArgumentRules, rulesOnWire, } from './serve/schema.js';
|
|
31
|
+
export type { ServeOptions } from './serve/schema.js';
|
|
32
|
+
export { timeWindowsLine } from './serve/windows.js';
|
|
33
|
+
export type { ServedWindows } from './serve/windows.js';
|
|
34
|
+
export { timeLimitsLine, timeLimitsSentence, UNKNOWN_ZONE_CLAUSE, clockSentence, TIME_LINE_SOURCE, timeLine, } from './serve/clock.js';
|
|
35
|
+
export type { ServedClock } from './serve/clock.js';
|
|
36
|
+
export { filledNote, ANSWERED_SOURCE_CLAUSE } from './serve/fills.js';
|
|
37
|
+
export type { FilledArgument } from './serve/fills.js';
|
|
38
|
+
export { unreadableRulesRefusal, unmountedRulesRefusal, unansweredRefusal, secondPauseRefusal, timeRefusal, keptAnswersNote, } from './serve/refusals.js';
|
|
39
|
+
export { ASSUMED_BLOCK_HEADING, assumedBlock, assumedBlockOf, assumedLinesFor, } from './serve/assumed.js';
|
|
40
|
+
export type { AssumedLine } from './serve/assumed.js';
|