agentfootprint 9.129.0 → 9.131.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 +5 -0
- package/dist/adapters/llm/AnthropicProvider.js +10 -111
- package/dist/adapters/llm/AnthropicProvider.js.map +1 -1
- package/dist/adapters/llm/BedrockProvider.js +11 -4
- package/dist/adapters/llm/BedrockProvider.js.map +1 -1
- package/dist/adapters/llm/InvokeModelGatewayProvider.js +167 -35
- package/dist/adapters/llm/InvokeModelGatewayProvider.js.map +1 -1
- package/dist/adapters/llm/OpenAIProvider.js +5 -0
- package/dist/adapters/llm/OpenAIProvider.js.map +1 -1
- package/dist/adapters/llm/anthropicMessagesWire.js +20 -6
- package/dist/adapters/llm/anthropicMessagesWire.js.map +1 -1
- package/dist/adapters/llm/retryAfter.js +61 -0
- package/dist/adapters/llm/retryAfter.js.map +1 -0
- package/dist/adapters/types.js.map +1 -1
- package/dist/core/Agent.js +30 -0
- package/dist/core/Agent.js.map +1 -1
- package/dist/core/agent/arguments/ask.js +297 -11
- package/dist/core/agent/arguments/ask.js.map +1 -1
- package/dist/core/agent/arguments/dispatch.js +15 -1
- package/dist/core/agent/arguments/dispatch.js.map +1 -1
- package/dist/core/agent/arguments/resolve.js +26 -5
- package/dist/core/agent/arguments/resolve.js.map +1 -1
- package/dist/core/agent/arguments/rows.js +10 -5
- package/dist/core/agent/arguments/rows.js.map +1 -1
- package/dist/core/agent/arguments/serve.js +248 -5
- package/dist/core/agent/arguments/serve.js.map +1 -1
- package/dist/core/agent/arguments/subflow.js +7 -3
- package/dist/core/agent/arguments/subflow.js.map +1 -1
- package/dist/core/agent/assessment/assess.js +45 -6
- package/dist/core/agent/assessment/assess.js.map +1 -1
- package/dist/core/agent/assessment/compose.js +3 -0
- package/dist/core/agent/assessment/compose.js.map +1 -1
- package/dist/core/agent/assessment/reasons.js +18 -0
- package/dist/core/agent/assessment/reasons.js.map +1 -1
- package/dist/core/agent/buildAgentChart.js +31 -1
- package/dist/core/agent/buildAgentChart.js.map +1 -1
- package/dist/core/agent/buildDynamicAgentChart.js +9 -0
- package/dist/core/agent/buildDynamicAgentChart.js.map +1 -1
- package/dist/core/agent/coverage/answer.js +19 -7
- package/dist/core/agent/coverage/answer.js.map +1 -1
- package/dist/core/agent/coverage/period.js +67 -2
- package/dist/core/agent/coverage/period.js.map +1 -1
- package/dist/core/agent/coverage/timeLimitFacts.js +70 -0
- package/dist/core/agent/coverage/timeLimitFacts.js.map +1 -0
- package/dist/core/agent/coverage/timeLimits.js +72 -0
- package/dist/core/agent/coverage/timeLimits.js.map +1 -0
- package/dist/core/agent/evidence/evidenceIndex.js +48 -7
- package/dist/core/agent/evidence/evidenceIndex.js.map +1 -1
- package/dist/core/agent/evidence/gate.js +9 -4
- package/dist/core/agent/evidence/gate.js.map +1 -1
- package/dist/core/agent/evidence/normalize.js +1 -105
- package/dist/core/agent/evidence/normalize.js.map +1 -1
- package/dist/core/agent/findings/ledger.js +8 -0
- package/dist/core/agent/findings/ledger.js.map +1 -1
- package/dist/core/agent/findings/types.js.map +1 -1
- package/dist/core/agent/honesty/mounts.js +79 -2
- package/dist/core/agent/honesty/mounts.js.map +1 -1
- package/dist/core/agent/results/subflow.js +43 -11
- package/dist/core/agent/results/subflow.js.map +1 -1
- package/dist/core/agent/stages/argumentAsk.js +75 -3
- package/dist/core/agent/stages/argumentAsk.js.map +1 -1
- package/dist/core/agent/stages/callLLM.js +16 -0
- package/dist/core/agent/stages/callLLM.js.map +1 -1
- package/dist/core/agent/stages/prepareFinal.js +28 -9
- package/dist/core/agent/stages/prepareFinal.js.map +1 -1
- package/dist/core/agent/stages/route.js +64 -6
- package/dist/core/agent/stages/route.js.map +1 -1
- package/dist/core/agent/stages/timeLineage.js +61 -0
- package/dist/core/agent/stages/timeLineage.js.map +1 -0
- package/dist/core/agent/stages/toolCalls.js +32 -1
- package/dist/core/agent/stages/toolCalls.js.map +1 -1
- package/dist/core/runCheckpoint.js +2 -1
- package/dist/core/runCheckpoint.js.map +1 -1
- package/dist/core/slots/buildToolsSlot.js +30 -2
- package/dist/core/slots/buildToolsSlot.js.map +1 -1
- package/dist/core/time/ask.js +8 -3
- package/dist/core/time/ask.js.map +1 -1
- package/dist/core/time/bind.js +25 -55
- package/dist/core/time/bind.js.map +1 -1
- package/dist/core/time/check.js +261 -0
- package/dist/core/time/check.js.map +1 -0
- package/dist/core/time/checkRecord.js +97 -0
- package/dist/core/time/checkRecord.js.map +1 -0
- package/dist/core/time/convert.js +2 -12
- package/dist/core/time/convert.js.map +1 -1
- package/dist/core/time/drift.js +17 -10
- package/dist/core/time/drift.js.map +1 -1
- package/dist/core/time/forms.js +273 -0
- package/dist/core/time/forms.js.map +1 -0
- package/dist/core/time/present.js +2 -1
- package/dist/core/time/present.js.map +1 -1
- package/dist/core/time/range.js +12 -1
- package/dist/core/time/range.js.map +1 -1
- package/dist/core/time/reader.js +6 -2
- package/dist/core/time/reader.js.map +1 -1
- package/dist/core/time/readers/english.js +576 -0
- package/dist/core/time/readers/english.js.map +1 -0
- package/dist/core/time/readingAsk.js +8 -4
- package/dist/core/time/readingAsk.js.map +1 -1
- package/dist/core/time/resolve.js +43 -12
- package/dist/core/time/resolve.js.map +1 -1
- package/dist/core/time/rows.js +123 -6
- package/dist/core/time/rows.js.map +1 -1
- package/dist/core/time/rowsBuild.js +10 -4
- package/dist/core/time/rowsBuild.js.map +1 -1
- package/dist/core/time/textForms.js +133 -0
- package/dist/core/time/textForms.js.map +1 -0
- package/dist/core/time/windows.js +172 -0
- package/dist/core/time/windows.js.map +1 -0
- package/dist/esm/adapters/llm/AnthropicProvider.js +8 -109
- package/dist/esm/adapters/llm/AnthropicProvider.js.map +1 -1
- package/dist/esm/adapters/llm/BedrockProvider.js +11 -4
- package/dist/esm/adapters/llm/BedrockProvider.js.map +1 -1
- package/dist/esm/adapters/llm/InvokeModelGatewayProvider.d.ts +38 -4
- package/dist/esm/adapters/llm/InvokeModelGatewayProvider.js +167 -35
- package/dist/esm/adapters/llm/InvokeModelGatewayProvider.js.map +1 -1
- package/dist/esm/adapters/llm/OpenAIProvider.js +5 -0
- package/dist/esm/adapters/llm/OpenAIProvider.js.map +1 -1
- package/dist/esm/adapters/llm/anthropicMessagesWire.d.ts +6 -1
- package/dist/esm/adapters/llm/anthropicMessagesWire.js +20 -6
- package/dist/esm/adapters/llm/anthropicMessagesWire.js.map +1 -1
- package/dist/esm/adapters/llm/retryAfter.d.ts +27 -0
- package/dist/esm/adapters/llm/retryAfter.js +56 -0
- package/dist/esm/adapters/llm/retryAfter.js.map +1 -0
- package/dist/esm/adapters/types.d.ts +9 -0
- package/dist/esm/adapters/types.js.map +1 -1
- package/dist/esm/core/Agent.js +30 -0
- package/dist/esm/core/Agent.js.map +1 -1
- package/dist/esm/core/agent/arguments/ask.d.ts +72 -3
- package/dist/esm/core/agent/arguments/ask.js +291 -5
- package/dist/esm/core/agent/arguments/ask.js.map +1 -1
- package/dist/esm/core/agent/arguments/dispatch.js +15 -1
- package/dist/esm/core/agent/arguments/dispatch.js.map +1 -1
- package/dist/esm/core/agent/arguments/resolve.d.ts +18 -1
- package/dist/esm/core/agent/arguments/resolve.js +26 -5
- package/dist/esm/core/agent/arguments/resolve.js.map +1 -1
- package/dist/esm/core/agent/arguments/rows.d.ts +8 -6
- package/dist/esm/core/agent/arguments/rows.js +10 -5
- package/dist/esm/core/agent/arguments/rows.js.map +1 -1
- package/dist/esm/core/agent/arguments/serve.d.ts +104 -4
- package/dist/esm/core/agent/arguments/serve.js +245 -5
- package/dist/esm/core/agent/arguments/serve.js.map +1 -1
- package/dist/esm/core/agent/arguments/subflow.d.ts +5 -2
- package/dist/esm/core/agent/arguments/subflow.js +7 -3
- package/dist/esm/core/agent/arguments/subflow.js.map +1 -1
- package/dist/esm/core/agent/assessment/assess.js +45 -6
- package/dist/esm/core/agent/assessment/assess.js.map +1 -1
- package/dist/esm/core/agent/assessment/compose.js +3 -0
- package/dist/esm/core/agent/assessment/compose.js.map +1 -1
- package/dist/esm/core/agent/assessment/reasons.js +18 -0
- package/dist/esm/core/agent/assessment/reasons.js.map +1 -1
- package/dist/esm/core/agent/assessment/types.d.ts +15 -1
- package/dist/esm/core/agent/buildAgentChart.d.ts +34 -0
- package/dist/esm/core/agent/buildAgentChart.js +28 -0
- package/dist/esm/core/agent/buildAgentChart.js.map +1 -1
- package/dist/esm/core/agent/buildDynamicAgentChart.d.ts +1 -1
- package/dist/esm/core/agent/buildDynamicAgentChart.js +9 -0
- package/dist/esm/core/agent/buildDynamicAgentChart.js.map +1 -1
- package/dist/esm/core/agent/coverage/answer.d.ts +14 -1
- package/dist/esm/core/agent/coverage/answer.js +18 -6
- package/dist/esm/core/agent/coverage/answer.js.map +1 -1
- package/dist/esm/core/agent/coverage/period.d.ts +41 -0
- package/dist/esm/core/agent/coverage/period.js +64 -1
- package/dist/esm/core/agent/coverage/period.js.map +1 -1
- package/dist/esm/core/agent/coverage/timeLimitFacts.d.ts +56 -0
- package/dist/esm/core/agent/coverage/timeLimitFacts.js +65 -0
- package/dist/esm/core/agent/coverage/timeLimitFacts.js.map +1 -0
- package/dist/esm/core/agent/coverage/timeLimits.d.ts +46 -0
- package/dist/esm/core/agent/coverage/timeLimits.js +67 -0
- package/dist/esm/core/agent/coverage/timeLimits.js.map +1 -0
- package/dist/esm/core/agent/evidence/evidenceIndex.d.ts +25 -2
- package/dist/esm/core/agent/evidence/evidenceIndex.js +47 -7
- package/dist/esm/core/agent/evidence/evidenceIndex.js.map +1 -1
- package/dist/esm/core/agent/evidence/gate.d.ts +7 -0
- package/dist/esm/core/agent/evidence/gate.js +9 -4
- package/dist/esm/core/agent/evidence/gate.js.map +1 -1
- package/dist/esm/core/agent/evidence/normalize.d.ts +0 -34
- package/dist/esm/core/agent/evidence/normalize.js +0 -103
- package/dist/esm/core/agent/evidence/normalize.js.map +1 -1
- package/dist/esm/core/agent/evidence/types.d.ts +12 -1
- package/dist/esm/core/agent/findings/ledger.js +8 -0
- package/dist/esm/core/agent/findings/ledger.js.map +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/honesty/mounts.d.ts +13 -0
- package/dist/esm/core/agent/honesty/mounts.js +79 -3
- package/dist/esm/core/agent/honesty/mounts.js.map +1 -1
- package/dist/esm/core/agent/results/subflow.d.ts +34 -2
- package/dist/esm/core/agent/results/subflow.js +43 -11
- package/dist/esm/core/agent/results/subflow.js.map +1 -1
- package/dist/esm/core/agent/stages/argumentAsk.d.ts +10 -0
- package/dist/esm/core/agent/stages/argumentAsk.js +76 -4
- package/dist/esm/core/agent/stages/argumentAsk.js.map +1 -1
- package/dist/esm/core/agent/stages/callLLM.d.ts +6 -0
- package/dist/esm/core/agent/stages/callLLM.js +16 -0
- package/dist/esm/core/agent/stages/callLLM.js.map +1 -1
- package/dist/esm/core/agent/stages/prepareFinal.d.ts +3 -2
- package/dist/esm/core/agent/stages/prepareFinal.js +28 -9
- package/dist/esm/core/agent/stages/prepareFinal.js.map +1 -1
- package/dist/esm/core/agent/stages/route.d.ts +29 -1
- package/dist/esm/core/agent/stages/route.js +64 -7
- package/dist/esm/core/agent/stages/route.js.map +1 -1
- package/dist/esm/core/agent/stages/timeLineage.d.ts +31 -0
- package/dist/esm/core/agent/stages/timeLineage.js +57 -0
- package/dist/esm/core/agent/stages/timeLineage.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls.d.ts +11 -0
- package/dist/esm/core/agent/stages/toolCalls.js +32 -1
- package/dist/esm/core/agent/stages/toolCalls.js.map +1 -1
- package/dist/esm/core/agent/types.d.ts +12 -0
- package/dist/esm/core/runCheckpoint.js +2 -1
- package/dist/esm/core/runCheckpoint.js.map +1 -1
- package/dist/esm/core/slots/buildToolsSlot.d.ts +29 -0
- package/dist/esm/core/slots/buildToolsSlot.js +30 -2
- package/dist/esm/core/slots/buildToolsSlot.js.map +1 -1
- package/dist/esm/core/time/ask.d.ts +8 -3
- package/dist/esm/core/time/ask.js +8 -3
- package/dist/esm/core/time/ask.js.map +1 -1
- package/dist/esm/core/time/bind.d.ts +8 -33
- package/dist/esm/core/time/bind.js +21 -53
- package/dist/esm/core/time/bind.js.map +1 -1
- package/dist/esm/core/time/check.d.ts +113 -0
- package/dist/esm/core/time/check.js +252 -0
- package/dist/esm/core/time/check.js.map +1 -0
- package/dist/esm/core/time/checkRecord.d.ts +74 -0
- package/dist/esm/core/time/checkRecord.js +90 -0
- package/dist/esm/core/time/checkRecord.js.map +1 -0
- package/dist/esm/core/time/convert.d.ts +2 -3
- package/dist/esm/core/time/convert.js +5 -12
- package/dist/esm/core/time/convert.js.map +1 -1
- package/dist/esm/core/time/drift.d.ts +7 -0
- package/dist/esm/core/time/drift.js +15 -9
- package/dist/esm/core/time/drift.js.map +1 -1
- package/dist/esm/core/time/forms.d.ts +84 -0
- package/dist/esm/core/time/forms.js +268 -0
- package/dist/esm/core/time/forms.js.map +1 -0
- package/dist/esm/core/time/present.d.ts +5 -3
- package/dist/esm/core/time/present.js +2 -1
- package/dist/esm/core/time/present.js.map +1 -1
- package/dist/esm/core/time/range.d.ts +2 -0
- package/dist/esm/core/time/range.js +10 -0
- package/dist/esm/core/time/range.js.map +1 -1
- package/dist/esm/core/time/reader.d.ts +12 -3
- package/dist/esm/core/time/reader.js +6 -2
- package/dist/esm/core/time/reader.js.map +1 -1
- package/dist/esm/core/time/readers/english.d.ts +99 -0
- package/dist/esm/core/time/readers/english.js +572 -0
- package/dist/esm/core/time/readers/english.js.map +1 -0
- package/dist/esm/core/time/readingAsk.js +8 -4
- package/dist/esm/core/time/readingAsk.js.map +1 -1
- package/dist/esm/core/time/resolve.d.ts +27 -6
- package/dist/esm/core/time/resolve.js +41 -11
- package/dist/esm/core/time/resolve.js.map +1 -1
- package/dist/esm/core/time/rows.d.ts +91 -4
- package/dist/esm/core/time/rows.js +116 -5
- package/dist/esm/core/time/rows.js.map +1 -1
- package/dist/esm/core/time/rowsBuild.d.ts +8 -2
- package/dist/esm/core/time/rowsBuild.js +10 -4
- package/dist/esm/core/time/rowsBuild.js.map +1 -1
- package/dist/esm/core/time/textForms.d.ts +53 -0
- package/dist/esm/core/time/textForms.js +126 -0
- package/dist/esm/core/time/textForms.js.map +1 -0
- package/dist/esm/core/time/windows.d.ts +113 -0
- package/dist/esm/core/time/windows.js +166 -0
- package/dist/esm/core/time/windows.js.map +1 -0
- package/dist/esm/events/payloads.d.ts +14 -0
- package/dist/esm/index.d.ts +2 -0
- package/dist/esm/index.js +3 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/lib/answer-account/facts/howSure.js +7 -0
- package/dist/esm/lib/answer-account/facts/howSure.js.map +1 -1
- package/dist/esm/lib/answer-account/templates.d.ts +3 -0
- package/dist/esm/lib/answer-account/templates.js +4 -0
- package/dist/esm/lib/answer-account/templates.js.map +1 -1
- package/dist/esm/lib/time-travel/receipt.d.ts +1 -1
- package/dist/esm/lib/time-travel/servedView.d.ts +1 -1
- package/dist/esm/lib/time-travel/servedView.js +9 -0
- package/dist/esm/lib/time-travel/servedView.js.map +1 -1
- package/dist/esm/locales/timeAsk.d.ts +1 -1
- package/dist/esm/locales/timeAsk.js +2 -2
- package/dist/esm/locales/timeAsk.js.map +1 -1
- package/dist/esm/recorders/core/resilienceHooks.js +1 -0
- package/dist/esm/recorders/core/resilienceHooks.js.map +1 -1
- package/dist/esm/resilience/statedWait.d.ts +22 -0
- package/dist/esm/resilience/statedWait.js +35 -0
- package/dist/esm/resilience/statedWait.js.map +1 -0
- package/dist/esm/resilience/withRetry.d.ts +13 -2
- package/dist/esm/resilience/withRetry.js +16 -1
- package/dist/esm/resilience/withRetry.js.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/lib/answer-account/facts/howSure.js +7 -0
- package/dist/lib/answer-account/facts/howSure.js.map +1 -1
- package/dist/lib/answer-account/templates.js +4 -0
- package/dist/lib/answer-account/templates.js.map +1 -1
- package/dist/lib/time-travel/servedView.js +9 -0
- package/dist/lib/time-travel/servedView.js.map +1 -1
- package/dist/locales/timeAsk.js +2 -2
- package/dist/locales/timeAsk.js.map +1 -1
- package/dist/recorders/core/resilienceHooks.js +1 -0
- package/dist/recorders/core/resilienceHooks.js.map +1 -1
- package/dist/resilience/statedWait.js +39 -0
- package/dist/resilience/statedWait.js.map +1 -0
- package/dist/resilience/withRetry.js +16 -1
- package/dist/resilience/withRetry.js.map +1 -1
- package/dist/types/adapters/llm/AnthropicProvider.d.ts.map +1 -1
- package/dist/types/adapters/llm/BedrockProvider.d.ts.map +1 -1
- package/dist/types/adapters/llm/InvokeModelGatewayProvider.d.ts +38 -4
- package/dist/types/adapters/llm/InvokeModelGatewayProvider.d.ts.map +1 -1
- package/dist/types/adapters/llm/OpenAIProvider.d.ts.map +1 -1
- package/dist/types/adapters/llm/anthropicMessagesWire.d.ts +6 -1
- package/dist/types/adapters/llm/anthropicMessagesWire.d.ts.map +1 -1
- package/dist/types/adapters/llm/retryAfter.d.ts +28 -0
- package/dist/types/adapters/llm/retryAfter.d.ts.map +1 -0
- package/dist/types/adapters/types.d.ts +9 -0
- package/dist/types/adapters/types.d.ts.map +1 -1
- package/dist/types/core/Agent.d.ts.map +1 -1
- package/dist/types/core/agent/arguments/ask.d.ts +72 -3
- package/dist/types/core/agent/arguments/ask.d.ts.map +1 -1
- package/dist/types/core/agent/arguments/dispatch.d.ts.map +1 -1
- package/dist/types/core/agent/arguments/resolve.d.ts +18 -1
- package/dist/types/core/agent/arguments/resolve.d.ts.map +1 -1
- package/dist/types/core/agent/arguments/rows.d.ts +8 -6
- package/dist/types/core/agent/arguments/rows.d.ts.map +1 -1
- package/dist/types/core/agent/arguments/serve.d.ts +104 -4
- package/dist/types/core/agent/arguments/serve.d.ts.map +1 -1
- package/dist/types/core/agent/arguments/subflow.d.ts +5 -2
- package/dist/types/core/agent/arguments/subflow.d.ts.map +1 -1
- package/dist/types/core/agent/assessment/assess.d.ts.map +1 -1
- package/dist/types/core/agent/assessment/compose.d.ts.map +1 -1
- package/dist/types/core/agent/assessment/reasons.d.ts.map +1 -1
- package/dist/types/core/agent/assessment/types.d.ts +15 -1
- package/dist/types/core/agent/assessment/types.d.ts.map +1 -1
- package/dist/types/core/agent/buildAgentChart.d.ts +34 -0
- package/dist/types/core/agent/buildAgentChart.d.ts.map +1 -1
- package/dist/types/core/agent/buildDynamicAgentChart.d.ts +1 -1
- package/dist/types/core/agent/buildDynamicAgentChart.d.ts.map +1 -1
- package/dist/types/core/agent/coverage/answer.d.ts +14 -1
- package/dist/types/core/agent/coverage/answer.d.ts.map +1 -1
- package/dist/types/core/agent/coverage/period.d.ts +41 -0
- package/dist/types/core/agent/coverage/period.d.ts.map +1 -1
- package/dist/types/core/agent/coverage/timeLimitFacts.d.ts +57 -0
- package/dist/types/core/agent/coverage/timeLimitFacts.d.ts.map +1 -0
- package/dist/types/core/agent/coverage/timeLimits.d.ts +47 -0
- package/dist/types/core/agent/coverage/timeLimits.d.ts.map +1 -0
- package/dist/types/core/agent/evidence/evidenceIndex.d.ts +25 -2
- package/dist/types/core/agent/evidence/evidenceIndex.d.ts.map +1 -1
- package/dist/types/core/agent/evidence/gate.d.ts +7 -0
- package/dist/types/core/agent/evidence/gate.d.ts.map +1 -1
- package/dist/types/core/agent/evidence/normalize.d.ts +0 -34
- package/dist/types/core/agent/evidence/normalize.d.ts.map +1 -1
- package/dist/types/core/agent/evidence/types.d.ts +12 -1
- package/dist/types/core/agent/evidence/types.d.ts.map +1 -1
- package/dist/types/core/agent/findings/ledger.d.ts.map +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/honesty/mounts.d.ts +13 -0
- package/dist/types/core/agent/honesty/mounts.d.ts.map +1 -1
- package/dist/types/core/agent/results/subflow.d.ts +34 -2
- package/dist/types/core/agent/results/subflow.d.ts.map +1 -1
- package/dist/types/core/agent/stages/argumentAsk.d.ts +10 -0
- package/dist/types/core/agent/stages/argumentAsk.d.ts.map +1 -1
- package/dist/types/core/agent/stages/callLLM.d.ts +6 -0
- package/dist/types/core/agent/stages/callLLM.d.ts.map +1 -1
- package/dist/types/core/agent/stages/prepareFinal.d.ts +3 -2
- package/dist/types/core/agent/stages/prepareFinal.d.ts.map +1 -1
- package/dist/types/core/agent/stages/route.d.ts +29 -1
- package/dist/types/core/agent/stages/route.d.ts.map +1 -1
- package/dist/types/core/agent/stages/timeLineage.d.ts +32 -0
- package/dist/types/core/agent/stages/timeLineage.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls.d.ts +11 -0
- package/dist/types/core/agent/stages/toolCalls.d.ts.map +1 -1
- package/dist/types/core/agent/types.d.ts +12 -0
- package/dist/types/core/agent/types.d.ts.map +1 -1
- package/dist/types/core/runCheckpoint.d.ts.map +1 -1
- package/dist/types/core/slots/buildToolsSlot.d.ts +29 -0
- package/dist/types/core/slots/buildToolsSlot.d.ts.map +1 -1
- package/dist/types/core/time/ask.d.ts +8 -3
- package/dist/types/core/time/ask.d.ts.map +1 -1
- package/dist/types/core/time/bind.d.ts +8 -33
- package/dist/types/core/time/bind.d.ts.map +1 -1
- package/dist/types/core/time/check.d.ts +114 -0
- package/dist/types/core/time/check.d.ts.map +1 -0
- package/dist/types/core/time/checkRecord.d.ts +75 -0
- package/dist/types/core/time/checkRecord.d.ts.map +1 -0
- package/dist/types/core/time/convert.d.ts +2 -3
- package/dist/types/core/time/convert.d.ts.map +1 -1
- package/dist/types/core/time/drift.d.ts +7 -0
- package/dist/types/core/time/drift.d.ts.map +1 -1
- package/dist/types/core/time/forms.d.ts +85 -0
- package/dist/types/core/time/forms.d.ts.map +1 -0
- package/dist/types/core/time/present.d.ts +5 -3
- package/dist/types/core/time/present.d.ts.map +1 -1
- package/dist/types/core/time/range.d.ts +2 -0
- package/dist/types/core/time/range.d.ts.map +1 -1
- package/dist/types/core/time/reader.d.ts +12 -3
- package/dist/types/core/time/reader.d.ts.map +1 -1
- package/dist/types/core/time/readers/english.d.ts +100 -0
- package/dist/types/core/time/readers/english.d.ts.map +1 -0
- package/dist/types/core/time/readingAsk.d.ts.map +1 -1
- package/dist/types/core/time/resolve.d.ts +27 -6
- package/dist/types/core/time/resolve.d.ts.map +1 -1
- package/dist/types/core/time/rows.d.ts +91 -4
- package/dist/types/core/time/rows.d.ts.map +1 -1
- package/dist/types/core/time/rowsBuild.d.ts +8 -2
- package/dist/types/core/time/rowsBuild.d.ts.map +1 -1
- package/dist/types/core/time/textForms.d.ts +54 -0
- package/dist/types/core/time/textForms.d.ts.map +1 -0
- package/dist/types/core/time/windows.d.ts +114 -0
- package/dist/types/core/time/windows.d.ts.map +1 -0
- package/dist/types/events/payloads.d.ts +14 -0
- package/dist/types/events/payloads.d.ts.map +1 -1
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/lib/answer-account/facts/howSure.d.ts.map +1 -1
- package/dist/types/lib/answer-account/templates.d.ts +3 -0
- package/dist/types/lib/answer-account/templates.d.ts.map +1 -1
- package/dist/types/lib/time-travel/receipt.d.ts +1 -1
- package/dist/types/lib/time-travel/receipt.d.ts.map +1 -1
- package/dist/types/lib/time-travel/servedView.d.ts +1 -1
- package/dist/types/lib/time-travel/servedView.d.ts.map +1 -1
- package/dist/types/locales/timeAsk.d.ts +1 -1
- package/dist/types/recorders/core/resilienceHooks.d.ts.map +1 -1
- package/dist/types/resilience/statedWait.d.ts +23 -0
- package/dist/types/resilience/statedWait.d.ts.map +1 -0
- package/dist/types/resilience/withRetry.d.ts +13 -2
- package/dist/types/resilience/withRetry.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rows.d.ts","sourceRoot":"","sources":["../../../../../src/core/agent/arguments/rows.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAIH,mFAAmF;AACnF,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,UAA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,MAAM,CAAC,EAAE,mBAAmB,CAAC;CACvC;AAED;;;;;;;GAOG;AACH,wBAAgB,YAAY,CAC1B,OAAO,EAAE,cAAc,EACvB,KAAK,EAAE;IAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;CAAE,GAC3D,WAAW,CA4Bb;AAYD;;;;;GAKG;AACH,wBAAgB,uBAAuB,CAAC,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GAAG,OAAO,CA6BrF"}
|
|
@@ -28,9 +28,12 @@
|
|
|
28
28
|
*/
|
|
29
29
|
import type { LLMToolSchema } from '../../../adapters/types.js';
|
|
30
30
|
import type { InputValue } from '../../inputRequest.js';
|
|
31
|
-
import { ASSUMED_BLOCK_HEADING } from '../coverage/answer.js';
|
|
31
|
+
import { ASSUMED_BLOCK_HEADING, type TimeLimitLines } from '../coverage/answer.js';
|
|
32
|
+
import type { TimeLimitFacts } from '../coverage/timeLimitFacts.js';
|
|
32
33
|
import { type RuledToolLike } from './declare.js';
|
|
33
|
-
import type
|
|
34
|
+
import { type PeriodFacts, type TimeRefusal } from '../../time/convert.js';
|
|
35
|
+
import type { ReaderWindows } from '../../time/bind.js';
|
|
36
|
+
import type { ZoneName } from '../../time/zone.js';
|
|
34
37
|
/** A declared value as a sentence prints it: a string quoted, a number or boolean bare. */
|
|
35
38
|
export declare function printedValue(value: InputValue): string;
|
|
36
39
|
/**
|
|
@@ -109,6 +112,99 @@ export declare function withArgumentRules(schema: LLMToolSchema, tool: RuledTool
|
|
|
109
112
|
* tool whose author owns `_findings`, which does not.
|
|
110
113
|
*/
|
|
111
114
|
export declare function rulesOnWire(served: readonly LLMToolSchema[], winningTools: ReadonlyMap<string, RuledToolLike>, optionsOf?: (schema: LLMToolSchema) => ServeOptions | undefined): readonly LLMToolSchema[];
|
|
115
|
+
/**
|
|
116
|
+
* What the served line reads: the turn's SETTLED windows of the person's
|
|
117
|
+
* words (`core/time/windows.ts` · `readerWindowsOf` — each mention's quote and
|
|
118
|
+
* its one window: the one the person confirmed or gave in the time ask, or a
|
|
119
|
+
* `model` reader's reading), the quotes still PENDING (a proposal the person
|
|
120
|
+
* has not answered), the turn's clock, and the app's `.time({ zone })`. An
|
|
121
|
+
* unreadable mention is in neither list.
|
|
122
|
+
*/
|
|
123
|
+
export interface ServedWindows extends ReaderWindows {
|
|
124
|
+
readonly appZone?: ZoneName;
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* The ONE served time line (TQ13; step T6b's serving placement): one
|
|
128
|
+
* request-only `user` line appended LAST to the request, at the decision
|
|
129
|
+
* point — composed at the tools slot's one decoration site
|
|
130
|
+
* (`core/slots/buildToolsSlot.ts` · `commitWire`) from the tools it really
|
|
131
|
+
* serves, carried to `callLLM` on `timeLine`, and rebuilt by
|
|
132
|
+
* `lib/time-travel/servedView.ts` from the same committed key. Two halves:
|
|
133
|
+
*
|
|
134
|
+
* - SETTLED — each window the person confirmed or gave in the time ask (or a
|
|
135
|
+
* `model` reader's reading), in the person's zone, WHOSE it is, and each
|
|
136
|
+
* served period tool's values for it — the exact conversion, else the wider
|
|
137
|
+
* one the fill would use (said so); a value the tool's view hides is named
|
|
138
|
+
* hidden. So the model never re-derives a window from words, and the answer
|
|
139
|
+
* states the window it was built on.
|
|
140
|
+
* - PENDING — a proposal the person has not answered is no window yet, and a
|
|
141
|
+
* call that writes its own window runs as sent, unconfirmed (§ 7.3). The
|
|
142
|
+
* line names the next step — the call with the period arguments left out,
|
|
143
|
+
* so the library's own form confirms the window with the person — and the
|
|
144
|
+
* two moves that are not it (a question about the time in the reply, a
|
|
145
|
+
* written window). Once a call of the turn already ran on a written window
|
|
146
|
+
* (`ranUnconfirmed`), it names the limit an answer states instead.
|
|
147
|
+
*
|
|
148
|
+
* `undefined` when no served tool declares a period or neither half has
|
|
149
|
+
* anything to say — a turn with no time words serves no line at all.
|
|
150
|
+
*
|
|
151
|
+
* @example
|
|
152
|
+
* ```ts
|
|
153
|
+
* timeWindowsLine(served, winningTools, { now, windows: [], pending: ['yesterday'] });
|
|
154
|
+
* // 'The window for “yesterday” is not settled yet: the person confirms it in the library's own
|
|
155
|
+
* // form, which shows its reading of those words with the zone and opens when client_activity
|
|
156
|
+
* // is called with start_time, end_time left out (or the call is refused with the reason). So
|
|
157
|
+
* // the next step is that call — not a question about the time in the reply, and not a window
|
|
158
|
+
* // written into the call, which would run unconfirmed.'
|
|
159
|
+
* ```
|
|
160
|
+
*/
|
|
161
|
+
export declare function timeWindowsLine(served: readonly LLMToolSchema[], winningTools: ReadonlyMap<string, RuledToolLike>, windows: ServedWindows): string | undefined;
|
|
162
|
+
/**
|
|
163
|
+
* The served time limits from the Tools mount's `timeLimits` FACTS
|
|
164
|
+
* (`coverage/timeLimitFacts.ts` · `TimeLimitFacts`): rendered for the MODEL
|
|
165
|
+
* (`coverage/timeLimits.ts` · `renderTimeLimits` — the one composer the
|
|
166
|
+
* limits block asks too), then {@link timeLimitsSentence}. The facts cross
|
|
167
|
+
* the mount unrendered so the renderer loads here, under the arm, and never
|
|
168
|
+
* on the graph a plain agent loads.
|
|
169
|
+
*
|
|
170
|
+
* @example
|
|
171
|
+
* ```ts
|
|
172
|
+
* timeLimitsLine(undefined); // undefined — the turn's reads match what was asked
|
|
173
|
+
* ```
|
|
174
|
+
*/
|
|
175
|
+
export declare function timeLimitsLine(facts: TimeLimitFacts | undefined): string | undefined;
|
|
176
|
+
/**
|
|
177
|
+
* The time limits an answer states (time step T8's serving placement): the
|
|
178
|
+
* result checks that hold this turn — a read narrower, wider or shifted from
|
|
179
|
+
* what was asked, a window older than the source keeps, sources on different
|
|
180
|
+
* clocks — served to the MODEL as the library's conclusion, LATE, at the
|
|
181
|
+
* decision point, in the ONE served time line (TQ13) after the windows'
|
|
182
|
+
* halves. The step-7b bench showed why: raw facts on a result are not
|
|
183
|
+
* compared by the model, a conclusion served at the decision point is.
|
|
184
|
+
*
|
|
185
|
+
* `undefined` when nothing holds — a turn whose reads match what was asked
|
|
186
|
+
* serves no sentence at all.
|
|
187
|
+
*
|
|
188
|
+
* @example
|
|
189
|
+
* ```ts
|
|
190
|
+
* timeLimitsSentence({ period: ['client_activity read less than was asked — asked: …; read: …'], clocks: [] });
|
|
191
|
+
* // "[A note from the library that ran the tools, not from the person: answer the person directly,
|
|
192
|
+
* // as you would from the tool results alone.] The time the tools read is not the time asked about — client_activity read less than was asked —
|
|
193
|
+
* // asked: …; read: …. So the answer to the person states the time each result read and claims
|
|
194
|
+
* // nothing about time no result read."
|
|
195
|
+
* ```
|
|
196
|
+
*/
|
|
197
|
+
export declare function timeLimitsSentence(lines: TimeLimitLines | undefined): string | undefined;
|
|
198
|
+
/**
|
|
199
|
+
* The line's opening: WHO says it. The line is a request-only `user`
|
|
200
|
+
* message, and the T8 bench's first paid round (stopped at 41 runs) showed
|
|
201
|
+
* the model reading an unmarked one as the person correcting it — 15 of 15
|
|
202
|
+
* served answers opened "You're right" / "I apologize"; naming the library
|
|
203
|
+
* alone (round 1, stopped at 46) still drew "Thank you for the
|
|
204
|
+
* clarification". The opening now also says how to use it: answer the person
|
|
205
|
+
* directly, as from the tool results alone.
|
|
206
|
+
*/
|
|
207
|
+
export declare const TIME_LIMITS_SOURCE = "[A note from the library that ran the tools, not from the person: answer the person directly, as you would from the tool results alone.]";
|
|
112
208
|
/** One filled argument, as the note names it. */
|
|
113
209
|
export interface FilledArgument {
|
|
114
210
|
readonly argument: string;
|
|
@@ -121,8 +217,12 @@ export interface FilledArgument {
|
|
|
121
217
|
* whose. Absent: the tool's rule assumed it.
|
|
122
218
|
*/
|
|
123
219
|
readonly source?: 'answered' | 'window';
|
|
124
|
-
/**
|
|
125
|
-
|
|
220
|
+
/**
|
|
221
|
+
* On a `window` fill: the person's words, a `model` reader's unconfirmed
|
|
222
|
+
* reading of them, a UI control — or the window the person CHOSE when the
|
|
223
|
+
* library asked about their words (`answered`, the lazy word-driven ask).
|
|
224
|
+
*/
|
|
225
|
+
readonly from?: 'said' | 'derived-from-reading' | 'control' | 'answered';
|
|
126
226
|
/**
|
|
127
227
|
* On a `window` fill: no form held the window exactly, so the value reads a
|
|
128
228
|
* WIDER one (the time layer, step T5b) — `reads-more`, or `tool-trims` when
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serve.d.ts","sourceRoot":"","sources":["../../../../../src/core/agent/arguments/serve.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAEhE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"serve.d.ts","sourceRoot":"","sources":["../../../../../src/core/agent/arguments/serve.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAEhE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,qBAAqB,EAAE,KAAK,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACnF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAGpE,OAAO,EAAoD,KAAK,aAAa,EAAE,MAAM,cAAc,CAAC;AAEpG,OAAO,EAML,KAAK,WAAW,EAChB,KAAK,WAAW,EACjB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAQnD,2FAA2F;AAC3F,wBAAgB,YAAY,CAAC,KAAK,EAAE,UAAU,GAAG,MAAM,CAEtD;AAED;;;GAGG;AACH,wBAAgB,a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,MAAM,CAER;AAQD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,eAAe,CAC7B,MAAM,EAAE,SAAS;IAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CAAE,EAAE,EAC5C,IAAI,EAAE,MAAM,EACZ,aAAa,EAAE,CAAC,MAAM,SAAS,OAAO,EAAE,CAAC,GAAG,SAAS,GACpD,WAAW,EAAE,CAOf"}
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
* staging a second copy of the model's quotes.
|
|
34
34
|
*/
|
|
35
35
|
import type { TypedScope } from 'footprintjs';
|
|
36
|
-
import type { CallWindowRow, ClockRow, TimeReadingRow } from '../../time/rows.js';
|
|
36
|
+
import type { CallWindowRow, ClockRow, TimeAnswerRow, TimeReadingRow } from '../../time/rows.js';
|
|
37
37
|
import type { ZoneName } from '../../time/zone.js';
|
|
38
38
|
import type { SourceCorpus } from './checks.js';
|
|
39
39
|
import type { KeptAnswer } from './kept.js';
|
|
@@ -63,13 +63,16 @@ export interface SourceInputs {
|
|
|
63
63
|
}
|
|
64
64
|
/**
|
|
65
65
|
* Under `.time()`: the rows of THIS turn the time layer reads — the turn's
|
|
66
|
-
* `clock` row
|
|
66
|
+
* `clock` row, its `time-reading` rows and its `time-answer` rows (the
|
|
67
|
+
* windows the person settled in the time ask — `core/time/bind.ts` ·
|
|
67
68
|
* `turnWindowsOf`). Handed by the mount only under the arm, for a batch with
|
|
68
69
|
* calls, and only once the turn has a clock.
|
|
69
70
|
*/
|
|
70
71
|
export interface TimeInputs {
|
|
71
72
|
readonly clock: ClockRow;
|
|
72
73
|
readonly readings: readonly TimeReadingRow[];
|
|
74
|
+
/** Absent on a checkpoint an earlier version paused: no answer was filed then. */
|
|
75
|
+
readonly answers?: readonly TimeAnswerRow[];
|
|
73
76
|
}
|
|
74
77
|
/** The subflow's own state — inputs frozen by the mount, then one key per stage. */
|
|
75
78
|
export interface InputsLayerState {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subflow.d.ts","sourceRoot":"","sources":["../../../../../src/core/agent/arguments/subflow.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAG9C,OAAO,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"subflow.d.ts","sourceRoot":"","sources":["../../../../../src/core/agent/arguments/subflow.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAG9C,OAAO,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACjG,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,EAOL,KAAK,kBAAkB,EACvB,KAAK,SAAS,EACd,KAAK,eAAe,EACpB,KAAK,WAAW,EAGhB,KAAK,MAAM,EACZ,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhD;;;;;GAKG;AACH,MAAM,WAAW,YAAY;IAC3B,qGAAqG;IACrG,QAAQ,CAAC,OAAO,EAAE,SAAS,OAAO,EAAE,CAAC;IACrC,iEAAiE;IACjE,QAAQ,CAAC,sBAAsB,CAAC,EAAE,SAAS,OAAO,EAAE,CAAC;IACrD,wFAAwF;IACxF,QAAQ,CAAC,MAAM,CAAC,EAAE,SAAS,OAAO,EAAE,CAAC;IACr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AAE,UAAU,CAAC,gBAAgB,CAAC,EACnC,IAAI,EAAE,eAAe,GACpB,IAAI,CAiBN;AAED;;;;;;GAMG;AACH,wBAAsB,oBAAoB,CACxC,KAAK,EAAE,UAAU,CAAC,gBAAgB,CAAC,EACnC,IAAI,EAAE,eAAe,GACpB,OAAO,CAAC,IAAI,CAAC,CAuBf;AAeD;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAClC,KAAK,EAAE,UAAU,CAAC,gBAAgB,CAAC,EACnC,IAAI,EAAE,eAAe,GACpB,IAAI,CA0BN;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,UAAU,CAAC,gBAAgB,CAAC,EACnC,IAAI,EAAE,eAAe,GACpB,IAAI,CAsBN"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assess.d.ts","sourceRoot":"","sources":["../../../../../src/core/agent/assessment/assess.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AAYH,OAAO,KAAK,EACV,gBAAgB,EAChB,sBAAsB,EAGtB,gBAAgB,EACjB,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"assess.d.ts","sourceRoot":"","sources":["../../../../../src/core/agent/assessment/assess.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AAYH,OAAO,KAAK,EACV,gBAAgB,EAChB,sBAAsB,EAGtB,gBAAgB,EACjB,MAAM,YAAY,CAAC;AAuxBpB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,wBAAgB,YAAY,CAC1B,MAAM,EAAE,gBAAgB,EACxB,YAAY,CAAC,EAAE,sBAAsB,GACpC,gBAAgB,CA+BlB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compose.d.ts","sourceRoot":"","sources":["../../../../../src/core/agent/assess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G,SAAS,CAiBjC;AA+GD;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,cAAc,CAC5B,IAAI,EAAE,oBAAoB,EAC1B,OAAO,EAAE,SAAS,oBAAoB,EAAE,EACxC,SAAS,EAAE,OAAO,GACjB,MAAM,CAmBR"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reasons.d.ts","sourceRoot":"","sources":["../../../../../src/core/agent/assessment/reasons.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAEjE,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,MAAM,EAAE,gBAAgB,CAAC;IAClC,iDAAiD;IACjD,QAAQ,CAAC,KAAK,CAAC,EAAE,YAAY,CAAC;IAC9B,QAAQ,CAAC,KAAK,EAAE,KAAK,GAAG,UAAU,CAAC;IACnC,6FAA6F;IAC7F,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAED,sFAAsF;AACtF,eAAO,MAAM,OAAO,EAAE,SAAS,WAAW,
|
|
1
|
+
{"version":3,"file":"reasons.d.ts","sourceRoot":"","sources":["../../../../../src/core/agent/assessment/reasons.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAEjE,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,MAAM,EAAE,gBAAgB,CAAC;IAClC,iDAAiD;IACjD,QAAQ,CAAC,KAAK,CAAC,EAAE,YAAY,CAAC;IAC9B,QAAQ,CAAC,KAAK,EAAE,KAAK,GAAG,UAAU,CAAC;IACnC,6FAA6F;IAC7F,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAED,sFAAsF;AACtF,eAAO,MAAM,OAAO,EAAE,SAAS,WAAW,EAoJxC,CAAC;AAEH,sCAAsC;AACtC,wBAAgB,WAAW,CAAC,MAAM,EAAE,gBAAgB,GAAG,WAAW,CAKjE"}
|
|
@@ -105,12 +105,26 @@ export type AssessmentPointer = {
|
|
|
105
105
|
* - `period-undeclared` — the tool declares a period argument (a
|
|
106
106
|
* `ToolPeriod`) and this result said nothing about what its read covered:
|
|
107
107
|
* declared silence, recorded as silence (`undeclared`).
|
|
108
|
+
* - `period-differs-from-asked` — what a call read is not the range it
|
|
109
|
+
* asked for: narrower (`missing`), wider (`extra` — "not sure" by default,
|
|
110
|
+
* TQ8), or shifted (both); or, for a window the model chose, not the
|
|
111
|
+
* person's window (a `period` row of this turn with `differs`; the time
|
|
112
|
+
* layer, step T8);
|
|
113
|
+
* - `period-beyond-retention` — the window a call asked for was wholly older
|
|
114
|
+
* than the tool declares its source keeps (a `period` row of this turn
|
|
115
|
+
* with `beyondRetention`; the time layer, step T8);
|
|
116
|
+
* - `derived-from-reading` — the answer states a time value no tool result
|
|
117
|
+
* carried that the library itself spelled from a reading of the person's
|
|
118
|
+
* words this turn — an implied year, an offset, the end-of-grain minute, a
|
|
119
|
+
* value of the served time line (a `time-derived` row of this turn; the
|
|
120
|
+
* time layer, step T7). Not invented and not the person's: folded like
|
|
121
|
+
* `argument-assumed`;
|
|
108
122
|
* - `steps-unfinished` — the answer came before the active skill's declared
|
|
109
123
|
* steps finished: the one teaching nudge was already spent, or a limit
|
|
110
124
|
* forced the answer (a `steps-unfinished` witness row of this turn, filed
|
|
111
125
|
* while the answer layer is armed — honesty layer 4).
|
|
112
126
|
*/
|
|
113
|
-
export type AssessmentReason = 'asked' | 'argument-asked' | 'argument-assumed' | 'argument-unverified' | 'argument-read' | 'value-contingent' | 'declared-absent' | 'coverage-gap' | 'empty-undeclared' | 'period-not-held' | 'period-partly-held' | 'period-unknown' | 'period-undeclared' | 'sources-conflict' | 'value-unsupported' | 'value-survived-revision' | 'stopped-early' | 'steps-unfinished' | 'answer-check-failed' | 'check-unreachable';
|
|
127
|
+
export type AssessmentReason = 'asked' | 'argument-asked' | 'argument-assumed' | 'argument-unverified' | 'argument-read' | 'value-contingent' | 'declared-absent' | 'coverage-gap' | 'empty-undeclared' | 'period-not-held' | 'period-partly-held' | 'period-unknown' | 'period-undeclared' | 'period-differs-from-asked' | 'period-beyond-retention' | 'sources-conflict' | 'value-unsupported' | 'value-survived-revision' | 'derived-from-reading' | 'stopped-early' | 'steps-unfinished' | 'answer-check-failed' | 'check-unreachable';
|
|
114
128
|
/**
|
|
115
129
|
* A check whose verdict this turn's committed record holds — what actually ran,
|
|
116
130
|
* printed as it is, never a fixed list. `of` is how many subjects the check
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/core/agent/assessment/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH;;;;;;;;;;;;;;GAcG;AACH,MAAM,MAAM,iBAAiB,GACzB;IAAE,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;IAAC,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GACvE;IACE,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAC;IACzB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;CAC9B,CAAC;AAEN
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/core/agent/assessment/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH;;;;;;;;;;;;;;GAcG;AACH,MAAM,MAAM,iBAAiB,GACzB;IAAE,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;IAAC,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IAAC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{ CachePolicy } from '../../cache/types.js';
|
|
46
46
|
import type { MemoryDefinition } from '../../memory/define.types.js';
|
|
47
|
+
import { readerWindowsOf } from '../time/windows.js';
|
|
48
|
+
import { type TimeLimitFacts } from './coverage/timeLimitFacts.js';
|
|
47
49
|
import { type AnswerMountDeps, type InputsMountDeps, type ResultsMountDeps } from './honesty/mounts.js';
|
|
48
50
|
import type { RouteBranch } from './stages/route.js';
|
|
49
51
|
/**
|
|
@@ -243,6 +245,26 @@ export interface AgentChartDeps {
|
|
|
243
245
|
* chart has always mounted.
|
|
244
246
|
*/
|
|
245
247
|
readonly timeLayer?: true;
|
|
248
|
+
/**
|
|
249
|
+
* The time layer's READER is armed (`.time({ reader })`, step T6b). Gates
|
|
250
|
+
* ONE mount arg on the Tools branch's `inputMapper`: `timeWindows`, the
|
|
251
|
+
* windows the reader settled this turn with the turn's clock
|
|
252
|
+
* (`core/time/windows.ts` · `readerWindowsOf`, off `parent.findingsLedger`) —
|
|
253
|
+
* value-conditional, so a turn with none crosses no key. The slot serves
|
|
254
|
+
* them on each tool that declares a period (`ToolsSlotConfig.timeWindows`).
|
|
255
|
+
*/
|
|
256
|
+
readonly timeReader?: true;
|
|
257
|
+
/**
|
|
258
|
+
* The time layer is armed with the inputs layer (`.time()` over a tool that
|
|
259
|
+
* declares a period, step T8). Gates ONE mount arg on the Tools branch's
|
|
260
|
+
* `inputMapper`: `timeLimits`, the turn's result-check facts for the model
|
|
261
|
+
* (`coverage/timeLimitFacts.ts` · `timeLimitFactsOf`, audience `model`, off
|
|
262
|
+
* `parent.findingsLedger`) — value-conditional, so a turn whose reads match
|
|
263
|
+
* what was asked crosses no key. The slot renders and serves them in the
|
|
264
|
+
* one time line (`ToolsSlotConfig.timeLimits`); the renderer loads there,
|
|
265
|
+
* never on a plain agent's graph.
|
|
266
|
+
*/
|
|
267
|
+
readonly timeLimits?: true;
|
|
246
268
|
/**
|
|
247
269
|
* An escalation brain is declared (9.19.0). In the GROUPED chart this
|
|
248
270
|
* gates threading `skillEscalated` across the `sf-llm-call` boundary —
|
|
@@ -336,5 +358,17 @@ export interface AgentChartDeps {
|
|
|
336
358
|
/**
|
|
337
359
|
* Build the agent's complete FlowChart from the supplied deps.
|
|
338
360
|
*/
|
|
361
|
+
/** The Tools mount's `timeWindows` arg — the reader's settled windows, or no key at all. */
|
|
362
|
+
export declare function timeWindowsArg(ledger: unknown): {
|
|
363
|
+
timeWindows?: ReturnType<typeof readerWindowsOf>;
|
|
364
|
+
};
|
|
365
|
+
/**
|
|
366
|
+
* The Tools mount's `timeLimits` arg — the turn's result-check FACTS for the
|
|
367
|
+
* model (unrendered: the slot's served line renders them, under the arm), or
|
|
368
|
+
* no key.
|
|
369
|
+
*/
|
|
370
|
+
export declare function timeLimitsArg(ledger: unknown): {
|
|
371
|
+
timeLimits?: TimeLimitFacts;
|
|
372
|
+
};
|
|
339
373
|
export declare function buildAgentChart(deps: AgentChartDeps): FlowChart;
|
|
340
374
|
//# sourceMappingURL=buildAgentChart.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buildAgentChart.d.ts","sourceRoot":"","sources":["../../../../src/core/agent/buildAgentChart.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AAIH,OAAO,KAAK,EAAE,SAAS,EAAE,iBAAiB,EAAc,MAAM,aAAa,CAAC;AAE5E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAOxD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"buildAgentChart.d.ts","sourceRoot":"","sources":["../../../../src/core/agent/buildAgentChart.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AAIH,OAAO,KAAK,EAAE,SAAS,EAAE,iBAAiB,EAAc,MAAM,aAAa,CAAC;AAE5E,OAA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AAC,EAAE,SAAS,iBAAiB,EAAE,CAAC;CAC5D;AAED;;GAEG;AACH,4FAA4F;AAC5F,wBAAgB,cAAc,CAAC,MAAM,EAAE,OAAO,GAAG;IAC/C,WAAW,CAAC,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;CAClD,CAGA;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,OAAO,GAAG;IAAE,UAAU,CAAC,EAAE,cAAc,CAAA;CAAE,CAI9E;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,cAAc,GAAG,SAAS,CAurB/D"}
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
* designed — this builder is Dynamic-only.
|
|
50
50
|
*/
|
|
51
51
|
import type { FlowChart } from 'footprintjs';
|
|
52
|
-
import type
|
|
52
|
+
import { type AgentChartDeps } from './buildAgentChart.js';
|
|
53
53
|
/**
|
|
54
54
|
* Build the Dynamic-ReAct agent chart from the shared `AgentChartDeps`.
|
|
55
55
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buildDynamicAgentChart.d.ts","sourceRoot":"","sources":["../../../../src/core/agent/buildDynamicAgentChart.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AAIH,OAAO,KAAK,EAAE,SAAS,EAAc,MAAM,aAAa,CAAC;AAiBzD,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"buildDynamicAgentChart.d.ts","sourceRoot":"","sources":["../../../../src/core/agent/buildDynamicAgentChart.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AAIH,OAAO,KAAK,EAAE,SAAS,EAAc,MAAM,aAAa,CAAC;AAiBzD,OAAO,EAAiC,KAAK,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAqF1F;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,cAAc,GAAG,SAAS,CA62BtE"}
|
|
@@ -114,6 +114,19 @@ export declare const COVERAGE_BLOCK_HEADING = "Coverage of this answer";
|
|
|
114
114
|
export declare const ASSUMED_BLOCK_HEADING = "Assumed (a tool's rule, not your words):";
|
|
115
115
|
/** The section heading the periods print under (honesty step 7b). Stable — readers match on it. */
|
|
116
116
|
export declare const PERIOD_SECTION_LABEL = "Period";
|
|
117
|
+
/** The section heading the wall-clock sources print under (the time layer, step T8). Stable. */
|
|
118
|
+
export declare const CLOCKS_SECTION_LABEL = "Clocks";
|
|
119
|
+
/**
|
|
120
|
+
* The time layer's limits lines (step T8), already composed from the record
|
|
121
|
+
* (`coverage/period.ts` · `periodCheckLine`, `clockLines`): `period` — one per
|
|
122
|
+
* call whose read differs from what was asked, shifted, or was older than the
|
|
123
|
+
* source keeps, printed under `Period` after the declared periods; `clocks` —
|
|
124
|
+
* the wall-clock sources, under `Clocks`. Passed only under `.time()`.
|
|
125
|
+
*/
|
|
126
|
+
export interface TimeLimitLines {
|
|
127
|
+
readonly period: readonly string[];
|
|
128
|
+
readonly clocks: readonly string[];
|
|
129
|
+
}
|
|
117
130
|
/**
|
|
118
131
|
* The run's declarations folded into the ANSWER's coverage — the three lists
|
|
119
132
|
* `composeAnswerWithCoverage` renders, as data.
|
|
@@ -173,6 +186,6 @@ export declare function copyAnswerCoverage(value: AnswerCoverage): AnswerCoverag
|
|
|
173
186
|
* (`period.ts` · `periodLine`). Absent → the lines are the declared instants
|
|
174
187
|
* verbatim, as they always were.
|
|
175
188
|
*/
|
|
176
|
-
export declare function composeAnswerWithCoverage(answer: string, declared: readonly DeclaredCoverage[], assumed?: string, standing?: string, presentation?: BoundPresentation): string;
|
|
189
|
+
export declare function composeAnswerWithCoverage(answer: string, declared: readonly DeclaredCoverage[], assumed?: string, standing?: string, presentation?: BoundPresentation, time?: TimeLimitLines): string;
|
|
177
190
|
export {};
|
|
178
191
|
//# sourceMappingURL=answer.d.ts.map
|
|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,gBAAgB,EAAE,EACrC,OAAO,SAAK,EACZ,QAAQ,SAAK,EACb,YAAY,CAAC,EAAE,iBAAiB,EAChC,IAAI,CAAC,EAAE,cAAc,GACpB,MAAM,CAcR"}
|
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
* instants to compare.
|
|
45
45
|
*/
|
|
46
46
|
import type { BoundPresentation } from '../../time/present.js';
|
|
47
|
+
import { type PeriodDiffers, type SourceClock } from '../../time/checkRecord.js';
|
|
47
48
|
/**
|
|
48
49
|
* The period a result declares — what its READ covered — in the camelCase
|
|
49
50
|
* spelling an author writes on `absent()`, `coverage()` and
|
|
@@ -338,6 +339,16 @@ export interface PeriodRow {
|
|
|
338
339
|
readonly verdict: PeriodVerdict | 'undeclared';
|
|
339
340
|
/** The argument the tool's `ToolPeriod` names — present only when it declares one. */
|
|
340
341
|
readonly argument?: string;
|
|
342
|
+
/** `period-differs-from-asked { missing, extra }` — the read differs from the asked range (or, for a window the model chose, from the person's). */
|
|
343
|
+
readonly differs?: PeriodDiffers;
|
|
344
|
+
/** `period-shifted` — the call's look-back ran as sent, `byMs` after the turn's `now`. */
|
|
345
|
+
readonly shifted?: {
|
|
346
|
+
readonly byMs: number;
|
|
347
|
+
};
|
|
348
|
+
/** `period-beyond-retention` — refused as, or read as, wholly older than the tool's source keeps. */
|
|
349
|
+
readonly beyondRetention?: true;
|
|
350
|
+
/** `partly-beyond-retention` — the read crosses the edge of what the source keeps; `verdict` decides. */
|
|
351
|
+
readonly partlyBeyondRetention?: true;
|
|
341
352
|
}
|
|
342
353
|
/** Every verdict a period row may carry, in the order the fold reports them. */
|
|
343
354
|
export declare const PERIOD_ROW_VERDICTS: readonly PeriodRow['verdict'][];
|
|
@@ -347,4 +358,34 @@ export declare const PERIOD_ROW_VERDICTS: readonly PeriodRow['verdict'][];
|
|
|
347
358
|
* refuses exactly what this module never files.
|
|
348
359
|
*/
|
|
349
360
|
export declare function periodRowIsWellFormed(row: Readonly<Record<string, unknown>>): boolean;
|
|
361
|
+
/**
|
|
362
|
+
* The one limits line for a call whose `period` row carries a time check
|
|
363
|
+
* (time design § 10.2, step T8) — `undefined` when it carries none. Static
|
|
364
|
+
* words around the two ranges, rendered in the presentation zone by the time
|
|
365
|
+
* layer's one renderer, HANDED in bound (`core/time/present.ts` ·
|
|
366
|
+
* `bindPresentation` → `range`, to the second, the zone named — coverage never
|
|
367
|
+
* imports the renderer); the raw instants stay on the row.
|
|
368
|
+
*
|
|
369
|
+
* @example
|
|
370
|
+
* ```ts
|
|
371
|
+
* periodCheckLine(row, bindPresentation({ zone: 'America/Los_Angeles' })); // core/time/present.ts
|
|
372
|
+
* // 'search_logs read more than was asked — asked: 2026-10-08 00:00:00–23:59:59 America/Los_Angeles
|
|
373
|
+
* // (UTC-07:00); read: 2026-10-08 00:00:00–2026-10-09 08:40:00 America/Los_Angeles (UTC-07:00)'
|
|
374
|
+
* ```
|
|
375
|
+
*
|
|
376
|
+
* `audience` names who reads the line: the PERSON (the limits block, the
|
|
377
|
+
* default — their window is "your window") or the MODEL (the served time line,
|
|
378
|
+
* `agent/arguments/serve.ts` · `timeLimitsSentence` — the same window is "the
|
|
379
|
+
* person's window"). Only that reference differs.
|
|
380
|
+
*/
|
|
381
|
+
export declare function periodCheckLine(row: PeriodRow, presentation: BoundPresentation, audience?: 'person' | 'model'): string | undefined;
|
|
382
|
+
/**
|
|
383
|
+
* The `Clocks` lines (time design § 9.6, § 10.2, step T8): one per wall-clock
|
|
384
|
+
* source — a dataset whose declared axis names a zone — and, when two sources
|
|
385
|
+
* declare different zones, the label that they differ. Every comparison is
|
|
386
|
+
* made on instants; the lines only name the clocks.
|
|
387
|
+
*/
|
|
388
|
+
export declare function clockLines(sources: readonly SourceClock[], differ: {
|
|
389
|
+
readonly zones: readonly string[];
|
|
390
|
+
} | undefined): string[];
|
|
350
391
|
//# sourceMappingURL=period.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"period.d.ts","sourceRoot":"","sources":["../../../../../src/core/agent/coverage/period.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AAKH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"period.d.ts","sourceRoot":"","sources":["../../../../../src/core/agent/coverage/period.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AAKH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAGL,KAAK,aAAa,EAClB,KAAK,WAAW,EACjB,MAAM,2BAA2B,CAAC;AAMnC;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,WAAW,cAAc;IAC7B;mEAC+D;IAC/D,QAAQ,CAAC,OAAO,EAAE;QAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC;IACjE;wEACoE;IACpE,QAAQ,CAAC,IAAI,EAAE;QAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC;IAC1E;sDACkD;IAClD,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,OAAO,EAAE;QAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC;IACjE,QAAQ,CAAC,IAAI,EAAE;QAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC;IAC1E,QAAQ,CAAC,OAAO,CAAC,EAA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AO,EAAE,SAAS,WAAW,EAAE,EAC/B,MAAM,EAAE;IAAE,QAAQ,CAAC,KAAK,EAAE,SAAS,MAAM,EAAE,CAAA;CAAE,GAAG,SAAS,GACxD,MAAM,EAAE,CAQV"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* coverage/timeLimitFacts — WHAT the time layer's limits lines of one turn
|
|
3
|
+
* say (step T8), read from the record and not yet rendered: the clock's zone,
|
|
4
|
+
* the turn's `period` rows whose result checks hold, and the wall-clock
|
|
5
|
+
* sources.
|
|
6
|
+
*
|
|
7
|
+
* Pattern: Walker over the committed ledger; pure, no rendering.
|
|
8
|
+
* Role: the record half of `timeLimits.ts`, split out BY FILE for the one
|
|
9
|
+
* synchronous door that needs it — the Tools mount's `inputMapper`
|
|
10
|
+
* (`agent/buildAgentChart.ts` · `timeLimitsArg`), which runs before
|
|
11
|
+
* any `import()` can: it hands these facts across, and the slot's
|
|
12
|
+
* served line renders them (`arguments/serve.ts` · `timeLimitsLine`,
|
|
13
|
+
* loaded under the arm). The renderer (`core/time/present.ts`) never
|
|
14
|
+
* reaches the graph `import { Agent }` loads (the optional-family
|
|
15
|
+
* law, `test/lib/trace-toolpack/browserGraph.test.ts`).
|
|
16
|
+
* Emits: N/A.
|
|
17
|
+
*
|
|
18
|
+
* `undefined` exactly when `timeLimits.ts` · `renderTimeLimits` would say
|
|
19
|
+
* nothing for the same audience — so the mount arg stays value-conditional:
|
|
20
|
+
* a turn whose reads match what was asked crosses no key.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```ts
|
|
24
|
+
* timeLimitFactsOf(ledger, 1, 'model');
|
|
25
|
+
* // { zone: 'America/Los_Angeles', period: [{ kind: 'period', differs: { … }, … }], sources: [] }
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
import type { PeriodRow } from './period.js';
|
|
29
|
+
import { type ClocksDiffer, type SourceClock } from '../../time/checkRecord.js';
|
|
30
|
+
import type { ZoneName } from '../../time/zone.js';
|
|
31
|
+
/** Who reads the lines: the person (the limits block) or the model (the served time line). */
|
|
32
|
+
export type TimeLimitsAudience = 'person' | 'model';
|
|
33
|
+
/** The unrendered limits of one turn — see the file header. */
|
|
34
|
+
export interface TimeLimitFacts {
|
|
35
|
+
/** The clock's zone — every range is rendered in it. */
|
|
36
|
+
readonly zone: ZoneName;
|
|
37
|
+
/** The turn's `period` rows that carry a check line, in the order filed. */
|
|
38
|
+
readonly period: readonly PeriodRow[];
|
|
39
|
+
/** The wall-clock sources, one per tool and zone (`checkRecord.ts` · `distinctSources`). */
|
|
40
|
+
readonly sources: readonly SourceClock[];
|
|
41
|
+
/** The label that two sources declare different zones (`checkRecord.ts` · `clocksDiffer`). */
|
|
42
|
+
readonly differ?: ClocksDiffer;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Whether a `period` row carries a limits line (`period.ts` · `periodCheckLine`
|
|
46
|
+
* returns one exactly then): a read that differs, a shifted look-back, or a
|
|
47
|
+
* window beyond retention.
|
|
48
|
+
*/
|
|
49
|
+
export declare function carriesCheckLine(row: PeriodRow): boolean;
|
|
50
|
+
/**
|
|
51
|
+
* The turn's limits facts from the ledger. `turn` undefined reads every row
|
|
52
|
+
* (a ledger that carries one turn). `undefined` when there is no clock or,
|
|
53
|
+
* for this `audience`, nothing to say: the person reads every wall-clock
|
|
54
|
+
* source, the model only the label that two differ.
|
|
55
|
+
*/
|
|
56
|
+
export declare function timeLimitFactsOf(ledger: readonly unknown[] | undefined, turn: number | undefined, audience?: TimeLimitsAudience): TimeLimitFacts | undefined;
|
|
57
|
+
//# sourceMappingURL=timeLimitFacts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"timeLimitFacts.d.ts","sourceRoot":"","sources":["../../../../../src/core/agent/coverage/timeLimitFacts.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C,OAAO,EAGL,KAAK,YAAY,EACjB,KAAK,WAAW,EACjB,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAEnD,8FAA8F;AAC9F,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEpD,+DAA+D;AAC/D,MAAM,WAAW,cAAc;IAC7B,wDAAwD;IACxD,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC;IACxB,4EAA4E;IAC5E,QAAQ,CAAC,MAAM,EAAE,SAAS,SAAS,EAAE,CAAC;IACtC,4FAA4F;IAC5F,QAAQ,CAAC,OAAO,EAAE,SAAS,WAAW,EAAE,CAAC;IACzC,8FAA8F;IAC9F,QAAQ,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC;CAChC;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,SAAS,GAAG,OAAO,CAExD;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,SAAS,OAAO,EAAE,GAAG,SAAS,EACtC,IAAI,EAAE,MAAM,GAAG,SAAS,EACxB,QAAQ,GAAE,kBAA6B,GACtC,cAAc,GAAG,SAAS,CAe5B"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* coverage/timeLimits.ts — the time layer's limits lines for ONE turn (step T8),
|
|
3
|
+
* composed from the record and nothing else.
|
|
4
|
+
*
|
|
5
|
+
* Two readers ask it, so the person and the model are told the same thing:
|
|
6
|
+
*
|
|
7
|
+
* - the limits block (`stages/prepareFinal.ts`), which prints the lines under
|
|
8
|
+
* `Period` and `Clocks` for the PERSON after the answer;
|
|
9
|
+
* - the served time line (`agent/arguments/serve.ts` · `timeLimitsSentence`),
|
|
10
|
+
* which hands the MODEL the same lines as the library's conclusion, late, at
|
|
11
|
+
* the decision point, before it writes the answer.
|
|
12
|
+
*
|
|
13
|
+
* What it reads: the facts `timeLimitFacts.ts` · `timeLimitFactsOf` reads —
|
|
14
|
+
* the turn's `period` rows whose result checks hold, the turn's
|
|
15
|
+
* `source-clock` rows (`core/time/checkRecord.ts` · `clocksDiffer`) and the
|
|
16
|
+
* clock row's zone — rendered here (`period.ts` · `periodCheckLine`,
|
|
17
|
+
* `clockLines`). `undefined` when there is no clock (nothing to render in) or
|
|
18
|
+
* nothing to say.
|
|
19
|
+
*
|
|
20
|
+
* Loaded through `import()` only, under `.time()` (`stages/prepareFinal.ts`;
|
|
21
|
+
* `arguments/serve.ts`, itself loaded under the arm): it renders through
|
|
22
|
+
* `core/time/present.ts`, which a plain agent never loads.
|
|
23
|
+
*/
|
|
24
|
+
import type { TimeLimitLines } from './answer.js';
|
|
25
|
+
import { type TimeLimitFacts, type TimeLimitsAudience } from './timeLimitFacts.js';
|
|
26
|
+
export type { TimeLimitLines };
|
|
27
|
+
/**
|
|
28
|
+
* The turn's time limits lines, from the ledger — {@link renderTimeLimits}
|
|
29
|
+
* over `timeLimitFacts.ts` · `timeLimitFactsOf`. `turn` undefined reads every
|
|
30
|
+
* row (a ledger that carries one turn). `audience` `'model'` (the served time
|
|
31
|
+
* line) names the person's window as theirs and keeps, of the clocks, only the
|
|
32
|
+
* label that two differ.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* ```ts
|
|
36
|
+
* timeLimitLinesOf(ledger, 1);
|
|
37
|
+
* // { period: ['client_activity read less than was asked — asked: …; read: …'], clocks: [] }
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
export declare function timeLimitLinesOf(ledger: readonly unknown[] | undefined, turn: number | undefined, audience?: TimeLimitsAudience): TimeLimitLines | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* The limits lines for `audience`, rendered in the facts' zone by the time
|
|
43
|
+
* layer's one renderer (`core/time/present.ts` · `bindPresentation`) —
|
|
44
|
+
* `undefined` when there are no facts or nothing to say.
|
|
45
|
+
*/
|
|
46
|
+
export declare function renderTimeLimits(facts: TimeLimitFacts | undefined, audience?: TimeLimitsAudience): TimeLimitLines | undefined;
|
|
47
|
+
//# sourceMappingURL=timeLimits.d.ts.map
|