agentfootprint 13.0.0 → 14.0.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/AGENTS.md +1 -1
- package/CAPABILITIES.md +2 -2
- package/README.md +7 -3
- package/ai-instructions/claude-code/SKILL.md +1 -1
- package/ai-instructions/setup.sh +0 -0
- package/bin/agentfootprint-index.mjs +0 -0
- package/bin/agentfootprint-lint-tools.mjs +0 -0
- package/dist/adapters/observability/auditShapes.js +9 -31
- package/dist/adapters/observability/auditShapes.js.map +1 -1
- package/dist/bridge/eventMeta.js +1 -1
- package/dist/bridge/eventMeta.js.map +1 -1
- package/dist/context-bisect/ablation.js +1 -1
- package/dist/context-bisect/ablation.js.map +1 -1
- package/dist/context-bisect/arms/probe.js +1 -1
- package/dist/context-bisect/arms/probe.js.map +1 -1
- package/dist/context-bisect/restoration.js +1 -1
- package/dist/context-bisect/restoration.js.map +1 -1
- package/dist/core/Agent.js +799 -1144
- package/dist/core/Agent.js.map +1 -1
- package/dist/core/LLMCall.js +47 -86
- package/dist/core/LLMCall.js.map +1 -1
- package/dist/core/RunnerBase.js +139 -213
- package/dist/core/RunnerBase.js.map +1 -1
- package/dist/core/agent/arguments/answerRows.js +85 -0
- package/dist/core/agent/arguments/answerRows.js.map +1 -0
- package/dist/core/agent/arguments/ask.js +28 -91
- package/dist/core/agent/arguments/ask.js.map +1 -1
- package/dist/core/agent/arguments/dispatch.js +26 -9
- package/dist/core/agent/arguments/dispatch.js.map +1 -1
- package/dist/core/agent/arguments/kept.js +1 -1
- package/dist/core/agent/arguments/partialWindow.js +1 -1
- package/dist/core/agent/arguments/partialWindow.js.map +1 -1
- package/dist/core/agent/arguments/pendingPrivateAsk.js +123 -0
- package/dist/core/agent/arguments/pendingPrivateAsk.js.map +1 -0
- package/dist/core/agent/arguments/privateAnswers.js +213 -0
- package/dist/core/agent/arguments/privateAnswers.js.map +1 -0
- package/dist/core/agent/arguments/resolutionRows.js +175 -0
- package/dist/core/agent/arguments/resolutionRows.js.map +1 -0
- package/dist/core/agent/arguments/resolve.js +8 -144
- package/dist/core/agent/arguments/resolve.js.map +1 -1
- package/dist/core/agent/arguments/serve.js +3 -13
- package/dist/core/agent/arguments/serve.js.map +1 -1
- package/dist/core/agent/arguments/subflow.js +7 -1
- package/dist/core/agent/arguments/subflow.js.map +1 -1
- package/dist/core/agent/buildAgentChart.js.map +1 -1
- package/dist/core/agent/buildToolRegistry.js +1 -1
- package/dist/core/agent/callerIdentity.js +21 -106
- package/dist/core/agent/callerIdentity.js.map +1 -1
- package/dist/core/agent/chartContract.js +4 -0
- package/dist/core/agent/chartContract.js.map +1 -0
- package/dist/core/agent/checkpointDomain.js +59 -0
- package/dist/core/agent/checkpointDomain.js.map +1 -0
- package/dist/core/agent/componentObservers.js +134 -0
- package/dist/core/agent/componentObservers.js.map +1 -0
- package/dist/core/agent/componentResources.js +114 -0
- package/dist/core/agent/componentResources.js.map +1 -0
- package/dist/core/agent/evidence/evidenceIndex.js +1 -1
- package/dist/core/agent/evidence/evidenceIndex.js.map +1 -1
- package/dist/core/agent/evidence/frames.js +2 -1
- package/dist/core/agent/evidence/frames.js.map +1 -1
- package/dist/core/agent/evidence/servedJson.js +1 -1
- package/dist/core/agent/findings/contingent.js +1 -1
- package/dist/core/agent/findings/judge.js +1 -1
- package/dist/core/agent/findings/unsettled.js +3 -3
- package/dist/core/agent/honesty/inputsMountContract.js +3 -0
- package/dist/core/agent/honesty/inputsMountContract.js.map +1 -0
- package/dist/core/agent/honesty/mounts.js +42 -30
- package/dist/core/agent/honesty/mounts.js.map +1 -1
- package/dist/core/agent/hostTurn.js +40 -0
- package/dist/core/agent/hostTurn.js.map +1 -0
- package/dist/core/agent/pauseOwnership.js +105 -0
- package/dist/core/agent/pauseOwnership.js.map +1 -0
- package/dist/core/agent/presentTool.js +1 -1
- package/dist/core/agent/resultCeiling.js +1 -1
- package/dist/core/agent/resumeAnswer.js +49 -0
- package/dist/core/agent/resumeAnswer.js.map +1 -0
- package/dist/core/agent/resumeCheckpoint.js +40 -0
- package/dist/core/agent/resumeCheckpoint.js.map +1 -0
- package/dist/core/agent/resumeError.js +15 -0
- package/dist/core/agent/resumeError.js.map +1 -0
- package/dist/core/agent/run/clocks.js +88 -0
- package/dist/core/agent/run/clocks.js.map +1 -0
- package/dist/core/agent/run/commitRunRedaction.js +16 -0
- package/dist/core/agent/run/commitRunRedaction.js.map +1 -0
- package/dist/core/agent/run/eventStageIds.js +44 -0
- package/dist/core/agent/run/eventStageIds.js.map +1 -0
- package/dist/core/agent/run/injectionDelivery.js +30 -0
- package/dist/core/agent/run/injectionDelivery.js.map +1 -0
- package/dist/core/agent/run/ledgerFacts.js +36 -0
- package/dist/core/agent/run/ledgerFacts.js.map +1 -0
- package/dist/core/agent/run/resumeRedaction.js +41 -0
- package/dist/core/agent/run/resumeRedaction.js.map +1 -0
- package/dist/core/agent/run/withoutTime.js +17 -0
- package/dist/core/agent/run/withoutTime.js.map +1 -0
- package/dist/core/agent/runValues.js +18 -0
- package/dist/core/agent/runValues.js.map +1 -0
- package/dist/core/agent/scripts/rows.js +1 -1
- package/dist/core/agent/selfCallNotice.js +1 -1
- package/dist/core/agent/selfCallNotice.js.map +1 -1
- package/dist/core/agent/stages/argumentAsk.js +39 -10
- package/dist/core/agent/stages/argumentAsk.js.map +1 -1
- package/dist/core/agent/stages/argumentParties.js +54 -0
- package/dist/core/agent/stages/argumentParties.js.map +1 -0
- package/dist/core/agent/stages/batchParties.js +88 -0
- package/dist/core/agent/stages/batchParties.js.map +1 -0
- package/dist/core/agent/stages/callLLM.js +3 -3
- package/dist/core/agent/stages/callLLM.js.map +1 -1
- package/dist/core/agent/stages/finalStageContract.js +4 -0
- package/dist/core/agent/stages/finalStageContract.js.map +1 -0
- package/dist/core/agent/stages/prepareFinal.js +10 -1
- package/dist/core/agent/stages/prepareFinal.js.map +1 -1
- package/dist/core/agent/stages/searchCoverage.js +1 -1
- package/dist/core/agent/stages/seed.js +16 -32
- package/dist/core/agent/stages/seed.js.map +1 -1
- package/dist/core/agent/stages/servedParties.js +220 -0
- package/dist/core/agent/stages/servedParties.js.map +1 -0
- package/dist/core/agent/stages/timeLayer.js +2 -2
- package/dist/core/agent/stages/toolCallShape.js +22 -0
- package/dist/core/agent/stages/toolCallShape.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/access/argumentGate.js +48 -0
- package/dist/core/agent/stages/toolCalls/access/argumentGate.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/access/argumentValidation.js +33 -0
- package/dist/core/agent/stages/toolCalls/access/argumentValidation.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/access/bindings.js +98 -0
- package/dist/core/agent/stages/toolCalls/access/bindings.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/access/callState.js +79 -0
- package/dist/core/agent/stages/toolCalls/access/callState.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/access/capabilityQuestion.js +81 -0
- package/dist/core/agent/stages/toolCalls/access/capabilityQuestion.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/access/checkInAdmission.js +144 -0
- package/dist/core/agent/stages/toolCalls/access/checkInAdmission.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/access/heldAnswer.js +39 -0
- package/dist/core/agent/stages/toolCalls/access/heldAnswer.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/access/middlewareAdmission.js +141 -0
- package/dist/core/agent/stages/toolCalls/access/middlewareAdmission.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/access/toolPermission.js +103 -0
- package/dist/core/agent/stages/toolCalls/access/toolPermission.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/batch/completion.js +28 -0
- package/dist/core/agent/stages/toolCalls/batch/completion.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/batch/dispatchContext.js +137 -0
- package/dist/core/agent/stages/toolCalls/batch/dispatchContext.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/batch/execute.js +181 -0
- package/dist/core/agent/stages/toolCalls/batch/execute.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/batch/findingsAdmission.js +52 -0
- package/dist/core/agent/stages/toolCalls/batch/findingsAdmission.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/batch/inputResolutions.js +22 -0
- package/dist/core/agent/stages/toolCalls/batch/inputResolutions.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/batch/paused.js +93 -0
- package/dist/core/agent/stages/toolCalls/batch/paused.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/batch/refusal.js +36 -0
- package/dist/core/agent/stages/toolCalls/batch/refusal.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/batch/settle.js +69 -0
- package/dist/core/agent/stages/toolCalls/batch/settle.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/batch/settlementOperations.js +107 -0
- package/dist/core/agent/stages/toolCalls/batch/settlementOperations.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/compose.js +353 -0
- package/dist/core/agent/stages/toolCalls/compose.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/contracts/access.js +3 -0
- package/dist/core/agent/stages/toolCalls/contracts/access.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/contracts/artifacts.js +3 -0
- package/dist/core/agent/stages/toolCalls/contracts/artifacts.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/contracts/batchCall.js +3 -0
- package/dist/core/agent/stages/toolCalls/contracts/batchCall.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/contracts/callCells.js +3 -0
- package/dist/core/agent/stages/toolCalls/contracts/callCells.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/contracts/callFacts.js +3 -0
- package/dist/core/agent/stages/toolCalls/contracts/callFacts.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/contracts/catalog.js +3 -0
- package/dist/core/agent/stages/toolCalls/contracts/catalog.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/contracts/dispatchBatch.js +3 -0
- package/dist/core/agent/stages/toolCalls/contracts/dispatchBatch.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/contracts/dispatchCall.js +3 -0
- package/dist/core/agent/stages/toolCalls/contracts/dispatchCall.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/contracts/evidence.js +3 -0
- package/dist/core/agent/stages/toolCalls/contracts/evidence.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/contracts/handlerDeps.js +3 -0
- package/dist/core/agent/stages/toolCalls/contracts/handlerDeps.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/contracts/inputsDispatch.js +10 -0
- package/dist/core/agent/stages/toolCalls/contracts/inputsDispatch.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/contracts/invocationInputs.js +3 -0
- package/dist/core/agent/stages/toolCalls/contracts/invocationInputs.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/contracts/observation.js +3 -0
- package/dist/core/agent/stages/toolCalls/contracts/observation.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/contracts/operations/artifacts.js +3 -0
- package/dist/core/agent/stages/toolCalls/contracts/operations/artifacts.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/contracts/operations/catalog.js +3 -0
- package/dist/core/agent/stages/toolCalls/contracts/operations/catalog.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/contracts/operations/context.js +3 -0
- package/dist/core/agent/stages/toolCalls/contracts/operations/context.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/contracts/operations/coverage.js +3 -0
- package/dist/core/agent/stages/toolCalls/contracts/operations/coverage.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/contracts/operations/credentials.js +3 -0
- package/dist/core/agent/stages/toolCalls/contracts/operations/credentials.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/contracts/operations/effects.js +3 -0
- package/dist/core/agent/stages/toolCalls/contracts/operations/effects.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/contracts/operations/integrity.js +3 -0
- package/dist/core/agent/stages/toolCalls/contracts/operations/integrity.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/contracts/operations/limits.js +3 -0
- package/dist/core/agent/stages/toolCalls/contracts/operations/limits.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/contracts/operations/middleware.js +3 -0
- package/dist/core/agent/stages/toolCalls/contracts/operations/middleware.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/contracts/operations/observations.js +3 -0
- package/dist/core/agent/stages/toolCalls/contracts/operations/observations.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/contracts/operations/progress.js +3 -0
- package/dist/core/agent/stages/toolCalls/contracts/operations/progress.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/contracts/operations/resources.js +3 -0
- package/dist/core/agent/stages/toolCalls/contracts/operations/resources.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/contracts/operations/resumedInvocation.js +3 -0
- package/dist/core/agent/stages/toolCalls/contracts/operations/resumedInvocation.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/contracts/operations/scripts.js +3 -0
- package/dist/core/agent/stages/toolCalls/contracts/operations/scripts.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/contracts/operations/semantics.js +3 -0
- package/dist/core/agent/stages/toolCalls/contracts/operations/semantics.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/contracts/operations/settlement.js +3 -0
- package/dist/core/agent/stages/toolCalls/contracts/operations/settlement.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/contracts/operations/steps.js +3 -0
- package/dist/core/agent/stages/toolCalls/contracts/operations/steps.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/contracts/resources.js +3 -0
- package/dist/core/agent/stages/toolCalls/contracts/resources.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/contracts/results.js +3 -0
- package/dist/core/agent/stages/toolCalls/contracts/results.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/contracts/resumeFrames.js +3 -0
- package/dist/core/agent/stages/toolCalls/contracts/resumeFrames.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/contracts/routing.js +3 -0
- package/dist/core/agent/stages/toolCalls/contracts/routing.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/decorators/limitsOperations.js +84 -0
- package/dist/core/agent/stages/toolCalls/decorators/limitsOperations.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/decorators/middlewareOperations.js +87 -0
- package/dist/core/agent/stages/toolCalls/decorators/middlewareOperations.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/decorators/reportingCredentials.js +53 -0
- package/dist/core/agent/stages/toolCalls/decorators/reportingCredentials.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/evidence/coverageOperations.js +236 -0
- package/dist/core/agent/stages/toolCalls/evidence/coverageOperations.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/evidence/integrityOperations.js +141 -0
- package/dist/core/agent/stages/toolCalls/evidence/integrityOperations.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/evidence/judgeLanded.js +59 -0
- package/dist/core/agent/stages/toolCalls/evidence/judgeLanded.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/evidence/madeInRun.js +7 -0
- package/dist/core/agent/stages/toolCalls/evidence/madeInRun.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/evidence/producerCorpus.js +38 -0
- package/dist/core/agent/stages/toolCalls/evidence/producerCorpus.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/evidence/scriptsOperations.js +160 -0
- package/dist/core/agent/stages/toolCalls/evidence/scriptsOperations.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/evidence/semanticsOperations.js +94 -0
- package/dist/core/agent/stages/toolCalls/evidence/semanticsOperations.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/evidence/sourceClock.js +22 -0
- package/dist/core/agent/stages/toolCalls/evidence/sourceClock.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/evidence/towers.js +42 -0
- package/dist/core/agent/stages/toolCalls/evidence/towers.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/execution/artifactsOperations.js +265 -0
- package/dist/core/agent/stages/toolCalls/execution/artifactsOperations.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/execution/callStart.js +107 -0
- package/dist/core/agent/stages/toolCalls/execution/callStart.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/execution/catalogOperations.js +200 -0
- package/dist/core/agent/stages/toolCalls/execution/catalogOperations.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/execution/contextOperations.js +190 -0
- package/dist/core/agent/stages/toolCalls/execution/contextOperations.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/execution/credentialAdmission.js +128 -0
- package/dist/core/agent/stages/toolCalls/execution/credentialAdmission.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/execution/credentialsOperations.js +15 -0
- package/dist/core/agent/stages/toolCalls/execution/credentialsOperations.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/execution/deliveredResult.js +172 -0
- package/dist/core/agent/stages/toolCalls/execution/deliveredResult.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/execution/dispatchCall.js +515 -0
- package/dist/core/agent/stages/toolCalls/execution/dispatchCall.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/execution/initialInvocation.js +368 -0
- package/dist/core/agent/stages/toolCalls/execution/initialInvocation.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/execution/resourcesOperations.js +90 -0
- package/dist/core/agent/stages/toolCalls/execution/resourcesOperations.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/execution/resumedInvocation.js +429 -0
- package/dist/core/agent/stages/toolCalls/execution/resumedInvocation.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/execution/wantedArguments.js +18 -0
- package/dist/core/agent/stages/toolCalls/execution/wantedArguments.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/helpers/dedupeIds.js +10 -0
- package/dist/core/agent/stages/toolCalls/helpers/dedupeIds.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/helpers/dispatchRefusals.js +83 -0
- package/dist/core/agent/stages/toolCalls/helpers/dispatchRefusals.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/helpers/mountedCursor.js +46 -0
- package/dist/core/agent/stages/toolCalls/helpers/mountedCursor.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/helpers/periodWarnings.js +60 -0
- package/dist/core/agent/stages/toolCalls/helpers/periodWarnings.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/helpers/readSkillRefusal.js +141 -0
- package/dist/core/agent/stages/toolCalls/helpers/readSkillRefusal.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/helpers/sourceNote.js +10 -0
- package/dist/core/agent/stages/toolCalls/helpers/sourceNote.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/helpers/unscopedRun.js +15 -0
- package/dist/core/agent/stages/toolCalls/helpers/unscopedRun.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/index.js +33 -0
- package/dist/core/agent/stages/toolCalls/index.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/observation/callSettlement.js +48 -0
- package/dist/core/agent/stages/toolCalls/observation/callSettlement.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/observation/observationsOperations.js +61 -0
- package/dist/core/agent/stages/toolCalls/observation/observationsOperations.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/observation/progressOperations.js +32 -0
- package/dist/core/agent/stages/toolCalls/observation/progressOperations.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/resume/ask.js +427 -0
- package/dist/core/agent/stages/toolCalls/resume/ask.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/resume/checkIn.js +193 -0
- package/dist/core/agent/stages/toolCalls/resume/checkIn.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/resume/credential.js +139 -0
- package/dist/core/agent/stages/toolCalls/resume/credential.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/resume/handler.js +175 -0
- package/dist/core/agent/stages/toolCalls/resume/handler.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/resume/plain.js +144 -0
- package/dist/core/agent/stages/toolCalls/resume/plain.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/routing/effectsOperations.js +264 -0
- package/dist/core/agent/stages/toolCalls/routing/effectsOperations.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/routing/policyHalt.js +40 -0
- package/dist/core/agent/stages/toolCalls/routing/policyHalt.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/routing/readSkillRoute.js +238 -0
- package/dist/core/agent/stages/toolCalls/routing/readSkillRoute.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/routing/skillActivation.js +52 -0
- package/dist/core/agent/stages/toolCalls/routing/skillActivation.js.map +1 -0
- package/dist/core/agent/stages/toolCalls/routing/stepsOperations.js +149 -0
- package/dist/core/agent/stages/toolCalls/routing/stepsOperations.js.map +1 -0
- package/dist/core/agent/stages/toolResolver.js +84 -38
- package/dist/core/agent/stages/toolResolver.js.map +1 -1
- package/dist/core/agent/toolChoice/pick.js +1 -1
- package/dist/core/agent/toolResultCap.js +0 -0
- package/dist/core/agent/types.js +0 -3
- package/dist/core/agent/types.js.map +1 -1
- package/dist/core/agent/window/toolNames.js +3 -3
- package/dist/core/answerConsumption.js +16 -0
- package/dist/core/answerConsumption.js.map +1 -0
- package/dist/core/checkin.js +1 -1
- package/dist/core/codeRunnerTool.js +1 -1
- package/dist/core/consentLedger.js +124 -0
- package/dist/core/consentLedger.js.map +1 -0
- package/dist/core/consentRequest.js +38 -156
- package/dist/core/consentRequest.js.map +1 -1
- package/dist/core/conversation.js +15 -48
- package/dist/core/conversation.js.map +1 -1
- package/dist/core/memberRun.js +2 -1
- package/dist/core/memberRun.js.map +1 -1
- package/dist/core/pause.js +5 -5
- package/dist/core/pauseRecord.js +23 -0
- package/dist/core/pauseRecord.js.map +1 -0
- package/dist/core/runEntry.js +30 -0
- package/dist/core/runEntry.js.map +1 -0
- package/dist/core/runnerCoreValues.js +3 -0
- package/dist/core/runnerCoreValues.js.map +1 -0
- package/dist/core/runnerExecution.js +175 -0
- package/dist/core/runnerExecution.js.map +1 -0
- package/dist/core/runnerLive.js.map +1 -1
- package/dist/core/slots/buildThinkingSubflow.js +2 -2
- package/dist/core/slots/buildThinkingSubflow.js.map +1 -1
- package/dist/core/slots/buildToolsSlot.js +25 -102
- package/dist/core/slots/buildToolsSlot.js.map +1 -1
- package/dist/core/slots/discoverTools.js +99 -0
- package/dist/core/slots/discoverTools.js.map +1 -0
- package/dist/core-flow/Conditional.js +25 -72
- package/dist/core-flow/Conditional.js.map +1 -1
- package/dist/core-flow/Graph.js +63 -120
- package/dist/core-flow/Graph.js.map +1 -1
- package/dist/core-flow/Loop.js +28 -82
- package/dist/core-flow/Loop.js.map +1 -1
- package/dist/core-flow/Parallel.js +58 -148
- package/dist/core-flow/Parallel.js.map +1 -1
- package/dist/core-flow/Sequence.js +25 -73
- package/dist/core-flow/Sequence.js.map +1 -1
- package/dist/core-flow/Workflow.js +24 -72
- package/dist/core-flow/Workflow.js.map +1 -1
- package/dist/esm/adapters/observability/auditShapes.d.ts +5 -31
- package/dist/esm/adapters/observability/auditShapes.js +9 -31
- package/dist/esm/adapters/observability/auditShapes.js.map +1 -1
- package/dist/esm/adapters/observability/otel.d.ts +1 -1
- package/dist/esm/bridge/eventMeta.d.ts +2 -0
- package/dist/esm/bridge/eventMeta.js +1 -1
- package/dist/esm/bridge/eventMeta.js.map +1 -1
- package/dist/esm/context-bisect/ablation.js +1 -1
- package/dist/esm/context-bisect/ablation.js.map +1 -1
- package/dist/esm/context-bisect/arms/probe.js +1 -1
- package/dist/esm/context-bisect/arms/probe.js.map +1 -1
- package/dist/esm/context-bisect/restoration.js +1 -1
- package/dist/esm/context-bisect/restoration.js.map +1 -1
- package/dist/esm/core/Agent.d.ts +18 -121
- package/dist/esm/core/Agent.js +800 -1145
- package/dist/esm/core/Agent.js.map +1 -1
- package/dist/esm/core/LLMCall.d.ts +1 -4
- package/dist/esm/core/LLMCall.js +49 -88
- package/dist/esm/core/LLMCall.js.map +1 -1
- package/dist/esm/core/RunnerBase.d.ts +42 -114
- package/dist/esm/core/RunnerBase.js +140 -210
- package/dist/esm/core/RunnerBase.js.map +1 -1
- package/dist/esm/core/agent/arguments/answerRows.d.ts +26 -0
- package/dist/esm/core/agent/arguments/answerRows.js +78 -0
- package/dist/esm/core/agent/arguments/answerRows.js.map +1 -0
- package/dist/esm/core/agent/arguments/ask.d.ts +5 -11
- package/dist/esm/core/agent/arguments/ask.js +24 -87
- 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 +27 -10
- package/dist/esm/core/agent/arguments/dispatch.js.map +1 -1
- package/dist/esm/core/agent/arguments/kept.d.ts +1 -1
- package/dist/esm/core/agent/arguments/kept.js +1 -1
- package/dist/esm/core/agent/arguments/partialWindow.d.ts +2 -1
- package/dist/esm/core/agent/arguments/partialWindow.js +1 -1
- package/dist/esm/core/agent/arguments/partialWindow.js.map +1 -1
- package/dist/esm/core/agent/arguments/pendingPrivateAsk.d.ts +37 -0
- package/dist/esm/core/agent/arguments/pendingPrivateAsk.js +114 -0
- package/dist/esm/core/agent/arguments/pendingPrivateAsk.js.map +1 -0
- package/dist/esm/core/agent/arguments/privateAnswers.d.ts +46 -0
- package/dist/esm/core/agent/arguments/privateAnswers.js +198 -0
- package/dist/esm/core/agent/arguments/privateAnswers.js.map +1 -0
- package/dist/esm/core/agent/arguments/resolutionRows.d.ts +29 -0
- package/dist/esm/core/agent/arguments/resolutionRows.js +171 -0
- package/dist/esm/core/agent/arguments/resolutionRows.js.map +1 -0
- package/dist/esm/core/agent/arguments/resolve.d.ts +2 -13
- package/dist/esm/core/agent/arguments/resolve.js +8 -144
- package/dist/esm/core/agent/arguments/resolve.js.map +1 -1
- package/dist/esm/core/agent/arguments/serve.d.ts +0 -5
- package/dist/esm/core/agent/arguments/serve.js +3 -12
- package/dist/esm/core/agent/arguments/serve.js.map +1 -1
- package/dist/esm/core/agent/arguments/subflow.js +7 -1
- package/dist/esm/core/agent/arguments/subflow.js.map +1 -1
- package/dist/esm/core/agent/buildAgentChart.d.ts +3 -326
- package/dist/esm/core/agent/buildAgentChart.js.map +1 -1
- package/dist/esm/core/agent/buildToolRegistry.d.ts +1 -1
- package/dist/esm/core/agent/buildToolRegistry.js +1 -1
- package/dist/esm/core/agent/callerIdentity.d.ts +9 -64
- package/dist/esm/core/agent/callerIdentity.js +21 -106
- package/dist/esm/core/agent/callerIdentity.js.map +1 -1
- package/dist/esm/core/agent/chartContract.d.ts +327 -0
- package/dist/esm/core/agent/chartContract.js +3 -0
- package/dist/esm/core/agent/chartContract.js.map +1 -0
- package/dist/esm/core/agent/checkpointDomain.d.ts +11 -0
- package/dist/esm/core/agent/checkpointDomain.js +53 -0
- package/dist/esm/core/agent/checkpointDomain.js.map +1 -0
- package/dist/esm/core/agent/componentObservers.d.ts +14 -0
- package/dist/esm/core/agent/componentObservers.js +129 -0
- package/dist/esm/core/agent/componentObservers.js.map +1 -0
- package/dist/esm/core/agent/componentResources.d.ts +39 -0
- package/dist/esm/core/agent/componentResources.js +110 -0
- package/dist/esm/core/agent/componentResources.js.map +1 -0
- package/dist/esm/core/agent/evidence/evidenceIndex.js +1 -1
- package/dist/esm/core/agent/evidence/evidenceIndex.js.map +1 -1
- package/dist/esm/core/agent/evidence/frames.js +3 -2
- package/dist/esm/core/agent/evidence/frames.js.map +1 -1
- package/dist/esm/core/agent/evidence/servedJson.d.ts +1 -1
- package/dist/esm/core/agent/evidence/servedJson.js +1 -1
- package/dist/esm/core/agent/findings/contingent.d.ts +1 -1
- package/dist/esm/core/agent/findings/contingent.js +1 -1
- package/dist/esm/core/agent/findings/judge.d.ts +1 -1
- package/dist/esm/core/agent/findings/judge.js +1 -1
- package/dist/esm/core/agent/findings/types.d.ts +1 -1
- package/dist/esm/core/agent/findings/unsettled.d.ts +3 -3
- package/dist/esm/core/agent/findings/unsettled.js +3 -3
- package/dist/esm/core/agent/honesty/inputsMountContract.d.ts +66 -0
- package/dist/esm/core/agent/honesty/inputsMountContract.js +2 -0
- package/dist/esm/core/agent/honesty/inputsMountContract.js.map +1 -0
- package/dist/esm/core/agent/honesty/mounts.d.ts +4 -66
- package/dist/esm/core/agent/honesty/mounts.js +42 -30
- package/dist/esm/core/agent/honesty/mounts.js.map +1 -1
- package/dist/esm/core/agent/hostTurn.d.ts +17 -0
- package/dist/esm/core/agent/hostTurn.js +36 -0
- package/dist/esm/core/agent/hostTurn.js.map +1 -0
- package/dist/esm/core/agent/pauseOwnership.d.ts +24 -0
- package/dist/esm/core/agent/pauseOwnership.js +97 -0
- package/dist/esm/core/agent/pauseOwnership.js.map +1 -0
- package/dist/esm/core/agent/presentTool.d.ts +1 -1
- package/dist/esm/core/agent/presentTool.js +1 -1
- package/dist/esm/core/agent/resultCeiling.d.ts +1 -1
- package/dist/esm/core/agent/resultCeiling.js +1 -1
- package/dist/esm/core/agent/resumeAnswer.d.ts +10 -0
- package/dist/esm/core/agent/resumeAnswer.js +43 -0
- package/dist/esm/core/agent/resumeAnswer.js.map +1 -0
- package/dist/esm/core/agent/resumeCheckpoint.d.ts +12 -0
- package/dist/esm/core/agent/resumeCheckpoint.js +34 -0
- package/dist/esm/core/agent/resumeCheckpoint.js.map +1 -0
- package/dist/esm/core/agent/resumeError.d.ts +8 -0
- package/dist/esm/core/agent/resumeError.js +11 -0
- package/dist/esm/core/agent/resumeError.js.map +1 -0
- package/dist/esm/core/agent/run/clocks.d.ts +44 -0
- package/dist/esm/core/agent/run/clocks.js +81 -0
- package/dist/esm/core/agent/run/clocks.js.map +1 -0
- package/dist/esm/core/agent/run/commitRunRedaction.d.ts +4 -0
- package/dist/esm/core/agent/run/commitRunRedaction.js +12 -0
- package/dist/esm/core/agent/run/commitRunRedaction.js.map +1 -0
- package/dist/esm/core/agent/run/eventStageIds.d.ts +40 -0
- package/dist/esm/core/agent/run/eventStageIds.js +41 -0
- package/dist/esm/core/agent/run/eventStageIds.js.map +1 -0
- package/dist/esm/core/agent/run/injectionDelivery.d.ts +4 -0
- package/dist/esm/core/agent/run/injectionDelivery.js +26 -0
- package/dist/esm/core/agent/run/injectionDelivery.js.map +1 -0
- package/dist/esm/core/agent/run/ledgerFacts.d.ts +8 -0
- package/dist/esm/core/agent/run/ledgerFacts.js +31 -0
- package/dist/esm/core/agent/run/ledgerFacts.js.map +1 -0
- package/dist/esm/core/agent/run/resumeRedaction.d.ts +6 -0
- package/dist/esm/core/agent/run/resumeRedaction.js +36 -0
- package/dist/esm/core/agent/run/resumeRedaction.js.map +1 -0
- package/dist/esm/core/agent/run/withoutTime.d.ts +8 -0
- package/dist/esm/core/agent/run/withoutTime.js +13 -0
- package/dist/esm/core/agent/run/withoutTime.js.map +1 -0
- package/dist/esm/core/agent/runValues.d.ts +71 -0
- package/dist/esm/core/agent/runValues.js +14 -0
- package/dist/esm/core/agent/runValues.js.map +1 -0
- package/dist/esm/core/agent/scripts/rows.d.ts +1 -1
- package/dist/esm/core/agent/scripts/rows.js +1 -1
- package/dist/esm/core/agent/scripts/types.d.ts +1 -1
- package/dist/esm/core/agent/selfCallNotice.js +1 -1
- package/dist/esm/core/agent/selfCallNotice.js.map +1 -1
- package/dist/esm/core/agent/stages/argumentAsk.d.ts +7 -1
- package/dist/esm/core/agent/stages/argumentAsk.js +39 -10
- package/dist/esm/core/agent/stages/argumentAsk.js.map +1 -1
- package/dist/esm/core/agent/stages/argumentParties.d.ts +3 -0
- package/dist/esm/core/agent/stages/argumentParties.js +50 -0
- package/dist/esm/core/agent/stages/argumentParties.js.map +1 -0
- package/dist/esm/core/agent/stages/batchParties.d.ts +21 -0
- package/dist/esm/core/agent/stages/batchParties.js +81 -0
- package/dist/esm/core/agent/stages/batchParties.js.map +1 -0
- package/dist/esm/core/agent/stages/callLLM.js +3 -3
- package/dist/esm/core/agent/stages/callLLM.js.map +1 -1
- package/dist/esm/core/agent/stages/finalStageContract.d.ts +45 -0
- package/dist/esm/core/agent/stages/finalStageContract.js +3 -0
- package/dist/esm/core/agent/stages/finalStageContract.js.map +1 -0
- package/dist/esm/core/agent/stages/prepareFinal.d.ts +2 -45
- package/dist/esm/core/agent/stages/prepareFinal.js +9 -0
- package/dist/esm/core/agent/stages/prepareFinal.js.map +1 -1
- package/dist/esm/core/agent/stages/searchCoverage.d.ts +1 -1
- package/dist/esm/core/agent/stages/searchCoverage.js +1 -1
- package/dist/esm/core/agent/stages/seed.js +15 -31
- package/dist/esm/core/agent/stages/seed.js.map +1 -1
- package/dist/esm/core/agent/stages/servedParties.d.ts +39 -0
- package/dist/esm/core/agent/stages/servedParties.js +214 -0
- package/dist/esm/core/agent/stages/servedParties.js.map +1 -0
- package/dist/esm/core/agent/stages/timeLayer.d.ts +3 -3
- package/dist/esm/core/agent/stages/timeLayer.js +2 -2
- package/dist/esm/core/agent/stages/toolCallShape.d.ts +7 -0
- package/dist/esm/core/agent/stages/toolCallShape.js +18 -0
- package/dist/esm/core/agent/stages/toolCallShape.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/access/argumentGate.d.ts +21 -0
- package/dist/esm/core/agent/stages/toolCalls/access/argumentGate.js +44 -0
- package/dist/esm/core/agent/stages/toolCalls/access/argumentGate.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/access/argumentValidation.d.ts +10 -0
- package/dist/esm/core/agent/stages/toolCalls/access/argumentValidation.js +29 -0
- package/dist/esm/core/agent/stages/toolCalls/access/argumentValidation.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/access/bindings.d.ts +61 -0
- package/dist/esm/core/agent/stages/toolCalls/access/bindings.js +88 -0
- package/dist/esm/core/agent/stages/toolCalls/access/bindings.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/access/callState.d.ts +14 -0
- package/dist/esm/core/agent/stages/toolCalls/access/callState.js +75 -0
- package/dist/esm/core/agent/stages/toolCalls/access/callState.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/access/capabilityQuestion.d.ts +28 -0
- package/dist/esm/core/agent/stages/toolCalls/access/capabilityQuestion.js +77 -0
- package/dist/esm/core/agent/stages/toolCalls/access/capabilityQuestion.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/access/checkInAdmission.d.ts +44 -0
- package/dist/esm/core/agent/stages/toolCalls/access/checkInAdmission.js +140 -0
- package/dist/esm/core/agent/stages/toolCalls/access/checkInAdmission.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/access/heldAnswer.d.ts +8 -0
- package/dist/esm/core/agent/stages/toolCalls/access/heldAnswer.js +35 -0
- package/dist/esm/core/agent/stages/toolCalls/access/heldAnswer.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/access/middlewareAdmission.d.ts +50 -0
- package/dist/esm/core/agent/stages/toolCalls/access/middlewareAdmission.js +137 -0
- package/dist/esm/core/agent/stages/toolCalls/access/middlewareAdmission.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/access/toolPermission.d.ts +24 -0
- package/dist/esm/core/agent/stages/toolCalls/access/toolPermission.js +99 -0
- package/dist/esm/core/agent/stages/toolCalls/access/toolPermission.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/batch/completion.d.ts +18 -0
- package/dist/esm/core/agent/stages/toolCalls/batch/completion.js +24 -0
- package/dist/esm/core/agent/stages/toolCalls/batch/completion.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/batch/dispatchContext.d.ts +36 -0
- package/dist/esm/core/agent/stages/toolCalls/batch/dispatchContext.js +133 -0
- package/dist/esm/core/agent/stages/toolCalls/batch/dispatchContext.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/batch/execute.d.ts +7 -0
- package/dist/esm/core/agent/stages/toolCalls/batch/execute.js +154 -0
- package/dist/esm/core/agent/stages/toolCalls/batch/execute.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/batch/findingsAdmission.d.ts +18 -0
- package/dist/esm/core/agent/stages/toolCalls/batch/findingsAdmission.js +48 -0
- package/dist/esm/core/agent/stages/toolCalls/batch/findingsAdmission.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/batch/inputResolutions.d.ts +6 -0
- package/dist/esm/core/agent/stages/toolCalls/batch/inputResolutions.js +18 -0
- package/dist/esm/core/agent/stages/toolCalls/batch/inputResolutions.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/batch/paused.d.ts +65 -0
- package/dist/esm/core/agent/stages/toolCalls/batch/paused.js +88 -0
- package/dist/esm/core/agent/stages/toolCalls/batch/paused.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/batch/refusal.d.ts +5 -0
- package/dist/esm/core/agent/stages/toolCalls/batch/refusal.js +32 -0
- package/dist/esm/core/agent/stages/toolCalls/batch/refusal.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/batch/settle.d.ts +66 -0
- package/dist/esm/core/agent/stages/toolCalls/batch/settle.js +63 -0
- package/dist/esm/core/agent/stages/toolCalls/batch/settle.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/batch/settlementOperations.d.ts +17 -0
- package/dist/esm/core/agent/stages/toolCalls/batch/settlementOperations.js +103 -0
- package/dist/esm/core/agent/stages/toolCalls/batch/settlementOperations.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/compose.d.ts +239 -0
- package/dist/esm/core/agent/stages/toolCalls/compose.js +349 -0
- package/dist/esm/core/agent/stages/toolCalls/compose.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/access.d.ts +110 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/access.js +2 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/access.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/artifacts.d.ts +26 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/artifacts.js +2 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/artifacts.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/batchCall.d.ts +8 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/batchCall.js +2 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/batchCall.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/callCells.d.ts +43 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/callCells.js +2 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/callCells.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/callFacts.d.ts +50 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/callFacts.js +2 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/callFacts.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/catalog.d.ts +56 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/catalog.js +2 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/catalog.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/dispatchBatch.d.ts +17 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/dispatchBatch.js +2 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/dispatchBatch.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/dispatchCall.d.ts +14 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/dispatchCall.js +2 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/dispatchCall.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/evidence.d.ts +211 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/evidence.js +2 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/evidence.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/handlerDeps.d.ts +11 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/handlerDeps.js +2 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/handlerDeps.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/inputsDispatch.d.ts +2 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/inputsDispatch.js +9 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/inputsDispatch.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/invocationInputs.d.ts +11 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/invocationInputs.js +2 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/invocationInputs.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/observation.d.ts +24 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/observation.js +2 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/observation.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/artifacts.d.ts +37 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/artifacts.js +2 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/artifacts.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/catalog.d.ts +31 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/catalog.js +2 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/catalog.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/context.d.ts +14 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/context.js +2 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/context.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/coverage.d.ts +23 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/coverage.js +2 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/coverage.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/credentials.d.ts +5 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/credentials.js +2 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/credentials.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/effects.d.ts +14 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/effects.js +2 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/effects.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/integrity.d.ts +16 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/integrity.js +2 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/integrity.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/limits.d.ts +19 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/limits.js +2 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/limits.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/middleware.d.ts +25 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/middleware.js +2 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/middleware.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/observations.d.ts +8 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/observations.js +2 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/observations.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/progress.d.ts +11 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/progress.js +2 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/progress.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/resources.d.ts +12 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/resources.js +2 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/resources.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/resumedInvocation.d.ts +30 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/resumedInvocation.js +2 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/resumedInvocation.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/scripts.d.ts +40 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/scripts.js +2 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/scripts.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/semantics.d.ts +10 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/semantics.js +2 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/semantics.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/settlement.d.ts +13 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/settlement.js +2 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/settlement.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/steps.d.ts +26 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/steps.js +2 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/operations/steps.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/resources.d.ts +67 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/resources.js +2 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/resources.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/results.d.ts +26 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/results.js +2 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/results.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/resumeFrames.d.ts +14 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/resumeFrames.js +2 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/resumeFrames.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/routing.d.ts +114 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/routing.js +2 -0
- package/dist/esm/core/agent/stages/toolCalls/contracts/routing.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/decorators/limitsOperations.d.ts +4 -0
- package/dist/esm/core/agent/stages/toolCalls/decorators/limitsOperations.js +80 -0
- package/dist/esm/core/agent/stages/toolCalls/decorators/limitsOperations.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/decorators/middlewareOperations.d.ts +4 -0
- package/dist/esm/core/agent/stages/toolCalls/decorators/middlewareOperations.js +83 -0
- package/dist/esm/core/agent/stages/toolCalls/decorators/middlewareOperations.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/decorators/reportingCredentials.d.ts +29 -0
- package/dist/esm/core/agent/stages/toolCalls/decorators/reportingCredentials.js +48 -0
- package/dist/esm/core/agent/stages/toolCalls/decorators/reportingCredentials.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/evidence/coverageOperations.d.ts +9 -0
- package/dist/esm/core/agent/stages/toolCalls/evidence/coverageOperations.js +232 -0
- package/dist/esm/core/agent/stages/toolCalls/evidence/coverageOperations.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/evidence/integrityOperations.d.ts +4 -0
- package/dist/esm/core/agent/stages/toolCalls/evidence/integrityOperations.js +137 -0
- package/dist/esm/core/agent/stages/toolCalls/evidence/integrityOperations.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/evidence/judgeLanded.d.ts +29 -0
- package/dist/esm/core/agent/stages/toolCalls/evidence/judgeLanded.js +32 -0
- package/dist/esm/core/agent/stages/toolCalls/evidence/judgeLanded.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/evidence/madeInRun.d.ts +6 -0
- package/dist/esm/core/agent/stages/toolCalls/evidence/madeInRun.js +3 -0
- package/dist/esm/core/agent/stages/toolCalls/evidence/madeInRun.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/evidence/producerCorpus.d.ts +22 -0
- package/dist/esm/core/agent/stages/toolCalls/evidence/producerCorpus.js +34 -0
- package/dist/esm/core/agent/stages/toolCalls/evidence/producerCorpus.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/evidence/scriptsOperations.d.ts +11 -0
- package/dist/esm/core/agent/stages/toolCalls/evidence/scriptsOperations.js +156 -0
- package/dist/esm/core/agent/stages/toolCalls/evidence/scriptsOperations.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/evidence/semanticsOperations.d.ts +4 -0
- package/dist/esm/core/agent/stages/toolCalls/evidence/semanticsOperations.js +90 -0
- package/dist/esm/core/agent/stages/toolCalls/evidence/semanticsOperations.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/evidence/sourceClock.d.ts +11 -0
- package/dist/esm/core/agent/stages/toolCalls/evidence/sourceClock.js +18 -0
- package/dist/esm/core/agent/stages/toolCalls/evidence/sourceClock.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/evidence/towers.d.ts +18 -0
- package/dist/esm/core/agent/stages/toolCalls/evidence/towers.js +38 -0
- package/dist/esm/core/agent/stages/toolCalls/evidence/towers.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/execution/artifactsOperations.d.ts +12 -0
- package/dist/esm/core/agent/stages/toolCalls/execution/artifactsOperations.js +261 -0
- package/dist/esm/core/agent/stages/toolCalls/execution/artifactsOperations.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/execution/callStart.d.ts +35 -0
- package/dist/esm/core/agent/stages/toolCalls/execution/callStart.js +103 -0
- package/dist/esm/core/agent/stages/toolCalls/execution/callStart.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/execution/catalogOperations.d.ts +17 -0
- package/dist/esm/core/agent/stages/toolCalls/execution/catalogOperations.js +173 -0
- package/dist/esm/core/agent/stages/toolCalls/execution/catalogOperations.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/execution/contextOperations.d.ts +15 -0
- package/dist/esm/core/agent/stages/toolCalls/execution/contextOperations.js +186 -0
- package/dist/esm/core/agent/stages/toolCalls/execution/contextOperations.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/execution/credentialAdmission.d.ts +48 -0
- package/dist/esm/core/agent/stages/toolCalls/execution/credentialAdmission.js +124 -0
- package/dist/esm/core/agent/stages/toolCalls/execution/credentialAdmission.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/execution/credentialsOperations.d.ts +9 -0
- package/dist/esm/core/agent/stages/toolCalls/execution/credentialsOperations.js +11 -0
- package/dist/esm/core/agent/stages/toolCalls/execution/credentialsOperations.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/execution/deliveredResult.d.ts +40 -0
- package/dist/esm/core/agent/stages/toolCalls/execution/deliveredResult.js +168 -0
- package/dist/esm/core/agent/stages/toolCalls/execution/deliveredResult.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/execution/dispatchCall.d.ts +5 -0
- package/dist/esm/core/agent/stages/toolCalls/execution/dispatchCall.js +511 -0
- package/dist/esm/core/agent/stages/toolCalls/execution/dispatchCall.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/execution/initialInvocation.d.ts +70 -0
- package/dist/esm/core/agent/stages/toolCalls/execution/initialInvocation.js +341 -0
- package/dist/esm/core/agent/stages/toolCalls/execution/initialInvocation.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/execution/resourcesOperations.d.ts +9 -0
- package/dist/esm/core/agent/stages/toolCalls/execution/resourcesOperations.js +86 -0
- package/dist/esm/core/agent/stages/toolCalls/execution/resourcesOperations.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/execution/resumedInvocation.d.ts +42 -0
- package/dist/esm/core/agent/stages/toolCalls/execution/resumedInvocation.js +402 -0
- package/dist/esm/core/agent/stages/toolCalls/execution/resumedInvocation.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/execution/wantedArguments.d.ts +19 -0
- package/dist/esm/core/agent/stages/toolCalls/execution/wantedArguments.js +14 -0
- package/dist/esm/core/agent/stages/toolCalls/execution/wantedArguments.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/helpers/dedupeIds.d.ts +3 -0
- package/dist/esm/core/agent/stages/toolCalls/helpers/dedupeIds.js +6 -0
- package/dist/esm/core/agent/stages/toolCalls/helpers/dedupeIds.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/helpers/dispatchRefusals.d.ts +61 -0
- package/dist/esm/core/agent/stages/toolCalls/helpers/dispatchRefusals.js +78 -0
- package/dist/esm/core/agent/stages/toolCalls/helpers/dispatchRefusals.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/helpers/mountedCursor.d.ts +41 -0
- package/dist/esm/core/agent/stages/toolCalls/helpers/mountedCursor.js +42 -0
- package/dist/esm/core/agent/stages/toolCalls/helpers/mountedCursor.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/helpers/periodWarnings.d.ts +23 -0
- package/dist/esm/core/agent/stages/toolCalls/helpers/periodWarnings.js +54 -0
- package/dist/esm/core/agent/stages/toolCalls/helpers/periodWarnings.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/helpers/readSkillRefusal.d.ts +87 -0
- package/dist/esm/core/agent/stages/toolCalls/helpers/readSkillRefusal.js +137 -0
- package/dist/esm/core/agent/stages/toolCalls/helpers/readSkillRefusal.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/helpers/sourceNote.d.ts +8 -0
- package/dist/esm/core/agent/stages/toolCalls/helpers/sourceNote.js +7 -0
- package/dist/esm/core/agent/stages/toolCalls/helpers/sourceNote.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/helpers/unscopedRun.d.ts +11 -0
- package/dist/esm/core/agent/stages/toolCalls/helpers/unscopedRun.js +12 -0
- package/dist/esm/core/agent/stages/toolCalls/helpers/unscopedRun.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/index.d.ts +14 -0
- package/dist/esm/core/agent/stages/toolCalls/index.js +21 -0
- package/dist/esm/core/agent/stages/toolCalls/index.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/observation/callSettlement.d.ts +29 -0
- package/dist/esm/core/agent/stages/toolCalls/observation/callSettlement.js +44 -0
- package/dist/esm/core/agent/stages/toolCalls/observation/callSettlement.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/observation/observationsOperations.d.ts +4 -0
- package/dist/esm/core/agent/stages/toolCalls/observation/observationsOperations.js +57 -0
- package/dist/esm/core/agent/stages/toolCalls/observation/observationsOperations.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/observation/progressOperations.d.ts +7 -0
- package/dist/esm/core/agent/stages/toolCalls/observation/progressOperations.js +28 -0
- package/dist/esm/core/agent/stages/toolCalls/observation/progressOperations.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/resume/ask.d.ts +44 -0
- package/dist/esm/core/agent/stages/toolCalls/resume/ask.js +400 -0
- package/dist/esm/core/agent/stages/toolCalls/resume/ask.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/resume/checkIn.d.ts +39 -0
- package/dist/esm/core/agent/stages/toolCalls/resume/checkIn.js +189 -0
- package/dist/esm/core/agent/stages/toolCalls/resume/checkIn.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/resume/credential.d.ts +37 -0
- package/dist/esm/core/agent/stages/toolCalls/resume/credential.js +135 -0
- package/dist/esm/core/agent/stages/toolCalls/resume/credential.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/resume/handler.d.ts +6 -0
- package/dist/esm/core/agent/stages/toolCalls/resume/handler.js +148 -0
- package/dist/esm/core/agent/stages/toolCalls/resume/handler.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/resume/plain.d.ts +32 -0
- package/dist/esm/core/agent/stages/toolCalls/resume/plain.js +140 -0
- package/dist/esm/core/agent/stages/toolCalls/resume/plain.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/routing/effectsOperations.d.ts +4 -0
- package/dist/esm/core/agent/stages/toolCalls/routing/effectsOperations.js +260 -0
- package/dist/esm/core/agent/stages/toolCalls/routing/effectsOperations.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/routing/policyHalt.d.ts +17 -0
- package/dist/esm/core/agent/stages/toolCalls/routing/policyHalt.js +36 -0
- package/dist/esm/core/agent/stages/toolCalls/routing/policyHalt.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/routing/readSkillRoute.d.ts +20 -0
- package/dist/esm/core/agent/stages/toolCalls/routing/readSkillRoute.js +234 -0
- package/dist/esm/core/agent/stages/toolCalls/routing/readSkillRoute.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/routing/skillActivation.d.ts +15 -0
- package/dist/esm/core/agent/stages/toolCalls/routing/skillActivation.js +48 -0
- package/dist/esm/core/agent/stages/toolCalls/routing/skillActivation.js.map +1 -0
- package/dist/esm/core/agent/stages/toolCalls/routing/stepsOperations.d.ts +4 -0
- package/dist/esm/core/agent/stages/toolCalls/routing/stepsOperations.js +145 -0
- package/dist/esm/core/agent/stages/toolCalls/routing/stepsOperations.js.map +1 -0
- package/dist/esm/core/agent/stages/toolResolver.d.ts +3 -2
- package/dist/esm/core/agent/stages/toolResolver.js +84 -38
- package/dist/esm/core/agent/stages/toolResolver.js.map +1 -1
- package/dist/esm/core/agent/toolChoice/pick.d.ts +1 -1
- package/dist/esm/core/agent/toolChoice/pick.js +1 -1
- package/dist/esm/core/agent/toolResultCap.d.ts +1 -1
- package/dist/esm/core/agent/toolResultCap.js +0 -0
- package/dist/esm/core/agent/types.d.ts +16 -27
- package/dist/esm/core/agent/types.js +0 -3
- package/dist/esm/core/agent/types.js.map +1 -1
- package/dist/esm/core/agent/window/toolNames.d.ts +3 -3
- package/dist/esm/core/agent/window/toolNames.js +3 -3
- package/dist/esm/core/answerConsumption.d.ts +7 -0
- package/dist/esm/core/answerConsumption.js +12 -0
- package/dist/esm/core/answerConsumption.js.map +1 -0
- package/dist/esm/core/checkin.d.ts +1 -1
- package/dist/esm/core/checkin.js +1 -1
- package/dist/esm/core/codeRunnerTool.d.ts +1 -1
- package/dist/esm/core/codeRunnerTool.js +1 -1
- package/dist/esm/core/consentLedger.d.ts +21 -0
- package/dist/esm/core/consentLedger.js +116 -0
- package/dist/esm/core/consentLedger.js.map +1 -0
- package/dist/esm/core/consentRequest.d.ts +35 -54
- package/dist/esm/core/consentRequest.js +34 -153
- package/dist/esm/core/consentRequest.js.map +1 -1
- package/dist/esm/core/conversation.d.ts +8 -29
- package/dist/esm/core/conversation.js +14 -47
- package/dist/esm/core/conversation.js.map +1 -1
- package/dist/esm/core/memberRun.d.ts +1 -0
- package/dist/esm/core/memberRun.js +1 -1
- package/dist/esm/core/memberRun.js.map +1 -1
- package/dist/esm/core/pause.d.ts +5 -5
- package/dist/esm/core/pause.js +5 -5
- package/dist/esm/core/pauseRecord.d.ts +13 -0
- package/dist/esm/core/pauseRecord.js +19 -0
- package/dist/esm/core/pauseRecord.js.map +1 -0
- package/dist/esm/core/runEntry.d.ts +8 -0
- package/dist/esm/core/runEntry.js +26 -0
- package/dist/esm/core/runEntry.js.map +1 -0
- package/dist/esm/core/runnerCoreValues.d.ts +16 -0
- package/dist/esm/core/runnerCoreValues.js +2 -0
- package/dist/esm/core/runnerCoreValues.js.map +1 -0
- package/dist/esm/core/runnerExecution.d.ts +71 -0
- package/dist/esm/core/runnerExecution.js +170 -0
- package/dist/esm/core/runnerExecution.js.map +1 -0
- package/dist/esm/core/runnerLive.d.ts +32 -1
- package/dist/esm/core/runnerLive.js.map +1 -1
- package/dist/esm/core/slots/buildThinkingSubflow.d.ts +1 -1
- package/dist/esm/core/slots/buildThinkingSubflow.js +2 -2
- package/dist/esm/core/slots/buildThinkingSubflow.js.map +1 -1
- package/dist/esm/core/slots/buildToolsSlot.d.ts +27 -56
- package/dist/esm/core/slots/buildToolsSlot.js +25 -102
- package/dist/esm/core/slots/buildToolsSlot.js.map +1 -1
- package/dist/esm/core/slots/discoverTools.d.ts +21 -0
- package/dist/esm/core/slots/discoverTools.js +94 -0
- package/dist/esm/core/slots/discoverTools.js.map +1 -0
- package/dist/esm/core-flow/Conditional.d.ts +0 -2
- package/dist/esm/core-flow/Conditional.js +28 -75
- package/dist/esm/core-flow/Conditional.js.map +1 -1
- package/dist/esm/core-flow/Graph.d.ts +18 -23
- package/dist/esm/core-flow/Graph.js +66 -123
- package/dist/esm/core-flow/Graph.js.map +1 -1
- package/dist/esm/core-flow/Loop.d.ts +0 -2
- package/dist/esm/core-flow/Loop.js +29 -83
- package/dist/esm/core-flow/Loop.js.map +1 -1
- package/dist/esm/core-flow/Parallel.d.ts +11 -40
- package/dist/esm/core-flow/Parallel.js +61 -151
- package/dist/esm/core-flow/Parallel.js.map +1 -1
- package/dist/esm/core-flow/Sequence.d.ts +0 -2
- package/dist/esm/core-flow/Sequence.js +28 -76
- package/dist/esm/core-flow/Sequence.js.map +1 -1
- package/dist/esm/core-flow/Workflow.d.ts +0 -2
- package/dist/esm/core-flow/Workflow.js +27 -75
- package/dist/esm/core-flow/Workflow.js.map +1 -1
- package/dist/esm/events/dispatcher.d.ts +2 -2
- package/dist/esm/events/dispatcher.js +2 -2
- package/dist/esm/events/payloads/access.d.ts +88 -0
- package/dist/esm/events/payloads/access.js +2 -0
- package/dist/esm/events/payloads/access.js.map +1 -0
- package/dist/esm/events/payloads/agent.d.ts +241 -0
- package/dist/esm/events/payloads/agent.js +2 -0
- package/dist/esm/events/payloads/agent.js.map +1 -0
- package/dist/esm/events/payloads/answer.d.ts +95 -0
- package/dist/esm/events/payloads/answer.js +2 -0
- package/dist/esm/events/payloads/answer.js.map +1 -0
- package/dist/esm/events/payloads/artifacts.d.ts +139 -0
- package/dist/esm/events/payloads/artifacts.js +2 -0
- package/dist/esm/events/payloads/artifacts.js.map +1 -0
- package/dist/esm/events/payloads/consent.d.ts +86 -0
- package/dist/esm/events/payloads/consent.js +2 -0
- package/dist/esm/events/payloads/consent.js.map +1 -0
- package/dist/esm/events/payloads/context.d.ts +276 -0
- package/dist/esm/events/payloads/context.js +2 -0
- package/dist/esm/events/payloads/context.js.map +1 -0
- package/dist/esm/events/payloads/cost.d.ts +40 -0
- package/dist/esm/events/payloads/cost.js +2 -0
- package/dist/esm/events/payloads/cost.js.map +1 -0
- package/dist/esm/events/payloads/dependencyTypes.d.ts +18 -0
- package/dist/esm/events/payloads/dependencyTypes.js +2 -0
- package/dist/esm/events/payloads/dependencyTypes.js.map +1 -0
- package/dist/esm/events/payloads/evaluation.d.ts +297 -0
- package/dist/esm/events/payloads/evaluation.js +2 -0
- package/dist/esm/events/payloads/evaluation.js.map +1 -0
- package/dist/esm/events/payloads/fallback.d.ts +6 -0
- package/dist/esm/events/payloads/fallback.js +2 -0
- package/dist/esm/events/payloads/fallback.js.map +1 -0
- package/dist/esm/events/payloads/findings.d.ts +243 -0
- package/dist/esm/events/payloads/findings.js +2 -0
- package/dist/esm/events/payloads/findings.js.map +1 -0
- package/dist/esm/events/payloads/flow.d.ts +68 -0
- package/dist/esm/events/payloads/flow.js +2 -0
- package/dist/esm/events/payloads/flow.js.map +1 -0
- package/dist/esm/events/payloads/integrity.d.ts +48 -0
- package/dist/esm/events/payloads/integrity.js +3 -0
- package/dist/esm/events/payloads/integrity.js.map +1 -0
- package/dist/esm/events/payloads/maps.d.ts +47 -0
- package/dist/esm/events/payloads/maps.js +3 -0
- package/dist/esm/events/payloads/maps.js.map +1 -0
- package/dist/esm/events/payloads/mcpRequests.d.ts +327 -0
- package/dist/esm/events/payloads/mcpRequests.js +3 -0
- package/dist/esm/events/payloads/mcpRequests.js.map +1 -0
- package/dist/esm/events/payloads/memory.d.ts +117 -0
- package/dist/esm/events/payloads/memory.js +3 -0
- package/dist/esm/events/payloads/memory.js.map +1 -0
- package/dist/esm/events/payloads/reliability.d.ts +149 -0
- package/dist/esm/events/payloads/reliability.js +2 -0
- package/dist/esm/events/payloads/reliability.js.map +1 -0
- package/dist/esm/events/payloads/runConfiguration.d.ts +224 -0
- package/dist/esm/events/payloads/runConfiguration.js +2 -0
- package/dist/esm/events/payloads/runConfiguration.js.map +1 -0
- package/dist/esm/events/payloads/skills.d.ts +359 -0
- package/dist/esm/events/payloads/skills.js +2 -0
- package/dist/esm/events/payloads/skills.js.map +1 -0
- package/dist/esm/events/payloads/stream.d.ts +230 -0
- package/dist/esm/events/payloads/stream.js +2 -0
- package/dist/esm/events/payloads/stream.js.map +1 -0
- package/dist/esm/events/payloads/thinking.d.ts +118 -0
- package/dist/esm/events/payloads/thinking.js +2 -0
- package/dist/esm/events/payloads/thinking.js.map +1 -0
- package/dist/esm/events/payloads/toolCatalog.d.ts +157 -0
- package/dist/esm/events/payloads/toolCatalog.js +2 -0
- package/dist/esm/events/payloads/toolCatalog.js.map +1 -0
- package/dist/esm/events/payloads/toolChoice.d.ts +65 -0
- package/dist/esm/events/payloads/toolChoice.js +2 -0
- package/dist/esm/events/payloads/toolChoice.js.map +1 -0
- package/dist/esm/events/payloads/toolEffects.d.ts +329 -0
- package/dist/esm/events/payloads/toolEffects.js +2 -0
- package/dist/esm/events/payloads/toolEffects.js.map +1 -0
- package/dist/esm/events/payloads/toolSemantics.d.ts +68 -0
- package/dist/esm/events/payloads/toolSemantics.js +2 -0
- package/dist/esm/events/payloads/toolSemantics.js.map +1 -0
- package/dist/esm/events/payloads/toolSessionPayloads.d.ts +50 -0
- package/dist/esm/events/payloads/toolSessionPayloads.js +17 -0
- package/dist/esm/events/payloads/toolSessionPayloads.js.map +1 -0
- package/dist/esm/events/payloads/validation.d.ts +29 -0
- package/dist/esm/events/payloads/validation.js +2 -0
- package/dist/esm/events/payloads/validation.js.map +1 -0
- package/dist/esm/events/payloads.d.ts +26 -3888
- package/dist/esm/events/registry.d.ts +8 -15
- package/dist/esm/events/registry.js +5 -15
- package/dist/esm/events/registry.js.map +1 -1
- package/dist/esm/hosting/answeredPause.d.ts +9 -23
- package/dist/esm/hosting/answeredPause.js +15 -27
- package/dist/esm/hosting/answeredPause.js.map +1 -1
- package/dist/esm/hosting/durability.d.ts +10 -7
- package/dist/esm/hosting/durability.js +10 -8
- package/dist/esm/hosting/durability.js.map +1 -1
- package/dist/esm/hosting/standingAgent.d.ts +4 -14
- package/dist/esm/hosting/standingAgent.js +73 -109
- package/dist/esm/hosting/standingAgent.js.map +1 -1
- package/dist/esm/hosting/stream.d.ts +3 -3
- package/dist/esm/hosting/stream.js +2 -5
- package/dist/esm/hosting/stream.js.map +1 -1
- package/dist/esm/hosting/streamHandler.js +5 -5
- package/dist/esm/hosting/streamHandler.js.map +1 -1
- package/dist/esm/index.d.ts +2 -1
- package/dist/esm/index.js +2 -4
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/influence-core/attribute.js +1 -1
- package/dist/esm/influence-core/attribute.js.map +1 -1
- package/dist/esm/influence-core/contrastive.js +1 -1
- package/dist/esm/influence-core/contrastive.js.map +1 -1
- package/dist/esm/influence-core/margin.js +1 -1
- package/dist/esm/influence-core/margin.js.map +1 -1
- package/dist/esm/influence-core/signals.js +1 -1
- package/dist/esm/influence-core/signals.js.map +1 -1
- package/dist/esm/influence-core/similarity.js +1 -1
- package/dist/esm/influence-core/similarity.js.map +1 -1
- package/dist/esm/injection-engine/buildInjectionEngineSubflow.js +1 -1
- package/dist/esm/injection-engine/buildInjectionEngineSubflow.js.map +1 -1
- package/dist/esm/injection-engine/devWarn.d.ts +3 -2
- package/dist/esm/injection-engine/devWarn.js +3 -2
- package/dist/esm/injection-engine/devWarn.js.map +1 -1
- package/dist/esm/injection-engine/entryScorer.js +1 -1
- package/dist/esm/injection-engine/entryScorer.js.map +1 -1
- package/dist/esm/injection-engine/hostContract.d.ts +3 -3
- package/dist/esm/injection-engine/skillExamples.d.ts +1 -1
- package/dist/esm/injection-engine/skillGraph/cursorEvidence.d.ts +48 -0
- package/dist/esm/injection-engine/skillGraph/cursorEvidence.js +54 -0
- package/dist/esm/injection-engine/skillGraph/cursorEvidence.js.map +1 -0
- package/dist/esm/injection-engine/skillGraph/cursorResolution.d.ts +4 -0
- package/dist/esm/injection-engine/skillGraph/cursorResolution.js +241 -0
- package/dist/esm/injection-engine/skillGraph/cursorResolution.js.map +1 -0
- package/dist/esm/injection-engine/skillGraph/decision.d.ts +21 -0
- package/dist/esm/injection-engine/skillGraph/decision.js +10 -0
- package/dist/esm/injection-engine/skillGraph/decision.js.map +1 -0
- package/dist/esm/injection-engine/skillGraph/entryScores.d.ts +14 -0
- package/dist/esm/injection-engine/skillGraph/entryScores.js +30 -0
- package/dist/esm/injection-engine/skillGraph/entryScores.js.map +1 -0
- package/dist/esm/injection-engine/skillGraph/entrySuppression.d.ts +23 -0
- package/dist/esm/injection-engine/skillGraph/entrySuppression.js +46 -0
- package/dist/esm/injection-engine/skillGraph/entrySuppression.js.map +1 -0
- package/dist/esm/injection-engine/skillGraph/graphConfig.d.ts +39 -0
- package/dist/esm/injection-engine/skillGraph/graphConfig.js +2 -0
- package/dist/esm/injection-engine/skillGraph/graphConfig.js.map +1 -0
- package/dist/esm/injection-engine/skillGraph/graphContracts.d.ts +479 -0
- package/dist/esm/injection-engine/skillGraph/graphContracts.js +14 -0
- package/dist/esm/injection-engine/skillGraph/graphContracts.js.map +1 -0
- package/dist/esm/injection-engine/skillGraph/graphCursor.d.ts +125 -0
- package/dist/esm/injection-engine/skillGraph/graphCursor.js +2 -0
- package/dist/esm/injection-engine/skillGraph/graphCursor.js.map +1 -0
- package/dist/esm/injection-engine/skillGraph/graphDrawing.d.ts +2 -0
- package/dist/esm/injection-engine/skillGraph/graphDrawing.js +31 -0
- package/dist/esm/injection-engine/skillGraph/graphDrawing.js.map +1 -0
- package/dist/esm/injection-engine/skillGraph/graphRoutes.d.ts +269 -0
- package/dist/esm/injection-engine/skillGraph/graphRoutes.js +2 -0
- package/dist/esm/injection-engine/skillGraph/graphRoutes.js.map +1 -0
- package/dist/esm/injection-engine/skillGraph/passMemo.d.ts +24 -0
- package/dist/esm/injection-engine/skillGraph/passMemo.js +37 -0
- package/dist/esm/injection-engine/skillGraph/passMemo.js.map +1 -0
- package/dist/esm/injection-engine/skillGraph/reachability.d.ts +71 -0
- package/dist/esm/injection-engine/skillGraph/reachability.js +62 -0
- package/dist/esm/injection-engine/skillGraph/reachability.js.map +1 -0
- package/dist/esm/injection-engine/skillGraph/routePredicates.d.ts +36 -0
- package/dist/esm/injection-engine/skillGraph/routePredicates.js +57 -0
- package/dist/esm/injection-engine/skillGraph/routePredicates.js.map +1 -0
- package/dist/esm/injection-engine/skillGraph/routingView.d.ts +3 -0
- package/dist/esm/injection-engine/skillGraph/routingView.js +24 -0
- package/dist/esm/injection-engine/skillGraph/routingView.js.map +1 -0
- package/dist/esm/injection-engine/skillGraph/treeCompilation.d.ts +38 -0
- package/dist/esm/injection-engine/skillGraph/treeCompilation.js +153 -0
- package/dist/esm/injection-engine/skillGraph/treeCompilation.js.map +1 -0
- package/dist/esm/injection-engine/skillGraph/triggerCompilation.d.ts +16 -0
- package/dist/esm/injection-engine/skillGraph/triggerCompilation.js +75 -0
- package/dist/esm/injection-engine/skillGraph/triggerCompilation.js.map +1 -0
- package/dist/esm/injection-engine/skillGraph.d.ts +12 -948
- package/dist/esm/injection-engine/skillGraph.js +22 -816
- package/dist/esm/injection-engine/skillGraph.js.map +1 -1
- package/dist/esm/injection-engine/skillIntent.d.ts +1 -1
- package/dist/esm/injection-engine/skillMatch.d.ts +2 -1
- package/dist/esm/injection-engine/skillMatch.js +2 -1
- package/dist/esm/injection-engine/skillMatch.js.map +1 -1
- package/dist/esm/injection-engine/skillToolDescriptors.js +2 -2
- package/dist/esm/injection-engine/skillToolDescriptors.js.map +1 -1
- package/dist/esm/injection-engine/startRuleClaim.d.ts +1 -1
- package/dist/esm/injection-engine/types.d.ts +1 -1
- package/dist/esm/lib/cosine.js.map +1 -0
- package/dist/esm/lib/iterationBudget.d.ts +3 -0
- package/dist/esm/lib/iterationBudget.js +7 -0
- package/dist/esm/lib/iterationBudget.js.map +1 -1
- package/dist/esm/lib/saidByPerson.d.ts +1 -0
- package/dist/esm/lib/saidByPerson.js +2 -0
- package/dist/esm/lib/saidByPerson.js.map +1 -1
- package/dist/esm/lib/spokenIds.js +2 -2
- package/dist/esm/lib/spokenIds.js.map +1 -1
- package/dist/esm/lib/toolBytes.d.ts +1 -1
- package/dist/esm/lib/toolBytes.js +2 -2
- package/dist/esm/lib/toolBytes.js.map +1 -1
- package/dist/esm/maps/engagement/lease.js +1 -1
- package/dist/esm/maps/engagement/lease.js.map +1 -1
- package/dist/esm/memory/causal/evidenceRecorder.d.ts +8 -56
- package/dist/esm/memory/causal/evidenceRecorder.js +221 -213
- package/dist/esm/memory/causal/evidenceRecorder.js.map +1 -1
- package/dist/esm/memory/causal/loadSnapshot.js +16 -59
- package/dist/esm/memory/causal/loadSnapshot.js.map +1 -1
- package/dist/esm/memory/causal/observation.d.ts +72 -0
- package/dist/esm/memory/causal/observation.js +13 -0
- package/dist/esm/memory/causal/observation.js.map +1 -0
- package/dist/esm/memory/causal/snapshotProjection.d.ts +5 -0
- package/dist/esm/memory/causal/snapshotProjection.js +61 -0
- package/dist/esm/memory/causal/snapshotProjection.js.map +1 -0
- package/dist/esm/memory/causal/snapshotSchema.d.ts +8 -0
- package/dist/esm/memory/causal/snapshotSchema.js +168 -0
- package/dist/esm/memory/causal/snapshotSchema.js.map +1 -0
- package/dist/esm/memory/causal/types.d.ts +5 -82
- package/dist/esm/memory/causal/types.js +0 -18
- package/dist/esm/memory/causal/types.js.map +1 -1
- package/dist/esm/memory/causal/writeSnapshot.js +17 -14
- package/dist/esm/memory/causal/writeSnapshot.js.map +1 -1
- package/dist/esm/memory/embedding/index.d.ts +1 -1
- package/dist/esm/memory/embedding/index.js +1 -1
- package/dist/esm/memory/embedding/index.js.map +1 -1
- package/dist/esm/memory/stages/types.d.ts +1 -1
- package/dist/esm/memory/store/InMemoryStore.js +1 -1
- package/dist/esm/memory/store/InMemoryStore.js.map +1 -1
- package/dist/esm/memory/store/staticVectorStore.js +1 -1
- package/dist/esm/memory/store/staticVectorStore.js.map +1 -1
- package/dist/esm/memory/wire/mountMemoryPipeline.d.ts +7 -7
- package/dist/esm/memory/wire/mountMemoryPipeline.js +8 -2
- package/dist/esm/memory/wire/mountMemoryPipeline.js.map +1 -1
- package/dist/esm/patterns/LlmRouter.d.ts +11 -149
- package/dist/esm/patterns/LlmRouter.js +51 -179
- package/dist/esm/patterns/LlmRouter.js.map +1 -1
- package/dist/esm/patterns/LlmSwarm.d.ts +5 -49
- package/dist/esm/patterns/LlmSwarm.js +7 -70
- package/dist/esm/patterns/LlmSwarm.js.map +1 -1
- package/dist/esm/patterns/MapReduce.js +33 -23
- package/dist/esm/patterns/MapReduce.js.map +1 -1
- package/dist/esm/patterns/Swarm.d.ts +14 -45
- package/dist/esm/patterns/Swarm.js +230 -76
- package/dist/esm/patterns/Swarm.js.map +1 -1
- package/dist/esm/patterns/index.d.ts +1 -1
- package/dist/esm/patterns/index.js.map +1 -1
- package/dist/esm/patterns/routing.d.ts +15 -0
- package/dist/esm/patterns/routing.js +18 -0
- package/dist/esm/patterns/routing.js.map +1 -0
- package/dist/esm/provider-contract/types.d.ts +5 -5
- package/dist/esm/recorders/core/CompactionMeter.d.ts +1 -1
- package/dist/esm/recorders/observability/BoundaryRecorder.d.ts +13 -427
- package/dist/esm/recorders/observability/BoundaryRecorder.js +7 -283
- package/dist/esm/recorders/observability/BoundaryRecorder.js.map +1 -1
- package/dist/esm/recorders/observability/boundaryRecorder/agentInternal.d.ts +13 -0
- package/dist/esm/recorders/observability/boundaryRecorder/agentInternal.js +58 -0
- package/dist/esm/recorders/observability/boundaryRecorder/agentInternal.js.map +1 -0
- package/dist/esm/recorders/observability/boundaryRecorder/domainEvents.d.ts +210 -0
- package/dist/esm/recorders/observability/boundaryRecorder/domainEvents.js +2 -0
- package/dist/esm/recorders/observability/boundaryRecorder/domainEvents.js.map +1 -0
- package/dist/esm/recorders/observability/boundaryRecorder/eventBuilders.d.ts +11 -0
- package/dist/esm/recorders/observability/boundaryRecorder/eventBuilders.js +77 -0
- package/dist/esm/recorders/observability/boundaryRecorder/eventBuilders.js.map +1 -0
- package/dist/esm/recorders/observability/boundaryRecorder/flowEvents.d.ts +12 -0
- package/dist/esm/recorders/observability/boundaryRecorder/flowEvents.js +2 -0
- package/dist/esm/recorders/observability/boundaryRecorder/flowEvents.js.map +1 -0
- package/dist/esm/recorders/observability/boundaryRecorder/leanContent.d.ts +52 -0
- package/dist/esm/recorders/observability/boundaryRecorder/leanContent.js +52 -0
- package/dist/esm/recorders/observability/boundaryRecorder/leanContent.js.map +1 -0
- package/dist/esm/recorders/observability/boundaryRecorder/options.d.ts +95 -0
- package/dist/esm/recorders/observability/boundaryRecorder/options.js +2 -0
- package/dist/esm/recorders/observability/boundaryRecorder/options.js.map +1 -0
- package/dist/esm/recorders/observability/boundaryRecorder/rangeLabels.d.ts +33 -0
- package/dist/esm/recorders/observability/boundaryRecorder/rangeLabels.js +39 -0
- package/dist/esm/recorders/observability/boundaryRecorder/rangeLabels.js.map +1 -0
- package/dist/esm/recorders/observability/boundaryRecorder/rollups.d.ts +53 -0
- package/dist/esm/recorders/observability/boundaryRecorder/rollups.js +69 -0
- package/dist/esm/recorders/observability/boundaryRecorder/rollups.js.map +1 -0
- package/dist/esm/recorders/observability/fileRecordingSink.d.ts +2 -4
- package/dist/esm/recorders/observability/fileRecordingSink.js +2 -4
- package/dist/esm/recorders/observability/fileRecordingSink.js.map +1 -1
- package/dist/esm/recorders/observability/recordingEnvelope.d.ts +6 -10
- package/dist/esm/recorders/observability/recordingEnvelope.js +6 -10
- package/dist/esm/recorders/observability/recordingEnvelope.js.map +1 -1
- package/dist/esm/redaction/coverage.d.ts +5 -3
- package/dist/esm/redaction/coverage.js +5 -3
- package/dist/esm/redaction/coverage.js.map +1 -1
- package/dist/esm/redaction/declared.d.ts +4 -0
- package/dist/esm/redaction/declared.js +15 -2
- package/dist/esm/redaction/declared.js.map +1 -1
- package/dist/esm/redaction/knownStrings.d.ts +5 -34
- package/dist/esm/redaction/knownStrings.js +10 -34
- package/dist/esm/redaction/knownStrings.js.map +1 -1
- package/dist/esm/redaction/marker.d.ts +1 -1
- package/dist/esm/redaction/marker.js +1 -1
- package/dist/esm/redaction/privateCaller.d.ts +43 -0
- package/dist/esm/redaction/privateCaller.js +74 -0
- package/dist/esm/redaction/privateCaller.js.map +1 -0
- package/dist/esm/redaction/privateCheckpoint.d.ts +22 -0
- package/dist/esm/redaction/privateCheckpoint.js +89 -0
- package/dist/esm/redaction/privateCheckpoint.js.map +1 -0
- package/dist/esm/redaction/privateFields.d.ts +28 -0
- package/dist/esm/redaction/privateFields.js +152 -0
- package/dist/esm/redaction/privateFields.js.map +1 -0
- package/dist/esm/redaction/privateRun.d.ts +32 -0
- package/dist/esm/redaction/privateRun.js +105 -0
- package/dist/esm/redaction/privateRun.js.map +1 -0
- package/dist/esm/redaction/runRedaction.d.ts +47 -41
- package/dist/esm/redaction/runRedaction.js +134 -91
- package/dist/esm/redaction/runRedaction.js.map +1 -1
- package/dist/esm/redaction/served.d.ts +10 -4
- package/dist/esm/redaction/served.js +28 -7
- package/dist/esm/redaction/served.js.map +1 -1
- package/dist/esm/resilience/withCircuitBreaker.d.ts +1 -1
- package/dist/esm/resilience/withCircuitBreaker.js +1 -1
- package/dist/esm/security/extractSequence.js +1 -1
- package/dist/esm/semantics/coverage/answer.js +1 -1
- package/dist/esm/semantics/coverage/answer.js.map +1 -1
- package/dist/esm/semantics/coverage/composedCoverage.d.ts +1 -1
- package/dist/esm/semantics/coverage/composedCoverage.js +1 -1
- package/dist/esm/semantics/coverage/items.d.ts +1 -1
- package/dist/esm/semantics/coverage/items.js +1 -1
- package/dist/esm/semantics/coverage/read.d.ts +3 -3
- package/dist/esm/semantics/coverage/read.js +3 -3
- package/dist/esm/semantics/types.d.ts +1 -1
- package/dist/esm/semantics/types.js +1 -1
- package/dist/esm/time/drift.d.ts +1 -1
- package/dist/esm/time/drift.js +1 -1
- package/dist/esm/time-travel/servedView/assembly.d.ts +4 -0
- package/dist/esm/time-travel/servedView/assembly.js +44 -0
- package/dist/esm/time-travel/servedView/assembly.js.map +1 -0
- package/dist/esm/time-travel/servedView/conversation.d.ts +8 -0
- package/dist/esm/time-travel/servedView/conversation.js +30 -0
- package/dist/esm/time-travel/servedView/conversation.js.map +1 -0
- package/dist/esm/time-travel/servedView/findings.d.ts +11 -0
- package/dist/esm/time-travel/servedView/findings.js +68 -0
- package/dist/esm/time-travel/servedView/findings.js.map +1 -0
- package/dist/esm/time-travel/servedView/gaps.d.ts +76 -0
- package/dist/esm/time-travel/servedView/gaps.js +476 -0
- package/dist/esm/time-travel/servedView/gaps.js.map +1 -0
- package/dist/esm/time-travel/servedView/ontology.d.ts +4 -0
- package/dist/esm/time-travel/servedView/ontology.js +60 -0
- package/dist/esm/time-travel/servedView/ontology.js.map +1 -0
- package/dist/esm/time-travel/servedView/recordReads.d.ts +44 -0
- package/dist/esm/time-travel/servedView/recordReads.js +73 -0
- package/dist/esm/time-travel/servedView/recordReads.js.map +1 -0
- package/dist/esm/time-travel/servedView/requestOnly.d.ts +6 -0
- package/dist/esm/time-travel/servedView/requestOnly.js +67 -0
- package/dist/esm/time-travel/servedView/requestOnly.js.map +1 -0
- package/dist/esm/time-travel/servedView/system.d.ts +15 -0
- package/dist/esm/time-travel/servedView/system.js +36 -0
- package/dist/esm/time-travel/servedView/system.js.map +1 -0
- package/dist/esm/time-travel/servedView/tools.d.ts +9 -0
- package/dist/esm/time-travel/servedView/tools.js +36 -0
- package/dist/esm/time-travel/servedView/tools.js.map +1 -0
- package/dist/esm/time-travel/servedView/value.d.ts +38 -0
- package/dist/esm/time-travel/servedView/value.js +57 -0
- package/dist/esm/time-travel/servedView/value.js.map +1 -0
- package/dist/esm/time-travel/servedView.d.ts +5 -65
- package/dist/esm/time-travel/servedView.js +155 -877
- package/dist/esm/time-travel/servedView.js.map +1 -1
- package/dist/esm/tools/displayName.d.ts +6 -0
- package/dist/esm/tools/displayName.js +15 -0
- package/dist/esm/tools/displayName.js.map +1 -0
- package/dist/esm/tools/finiteLabel.d.ts +16 -0
- package/dist/esm/tools/finiteLabel.js +28 -0
- package/dist/esm/tools/finiteLabel.js.map +1 -0
- package/dist/esm/tools/inputRequest.d.ts +1 -1
- package/dist/esm/tools/inputRequest.js +2 -2
- package/dist/esm/tools/toolParty.d.ts +17 -0
- package/dist/esm/tools/toolParty.js +40 -0
- package/dist/esm/tools/toolParty.js.map +1 -0
- package/dist/esm/tools/toolProvider.d.ts +1 -0
- package/dist/esm/tools/toolResourceOwner.d.ts +27 -0
- package/dist/esm/tools/toolResourceOwner.js +79 -0
- package/dist/esm/tools/toolResourceOwner.js.map +1 -0
- package/dist/esm/tools/toolSessions/contracts.d.ts +130 -0
- package/dist/esm/tools/toolSessions/contracts.js +7 -0
- package/dist/esm/tools/toolSessions/contracts.js.map +1 -0
- package/dist/esm/tools/toolSessions/keys.d.ts +53 -0
- package/dist/esm/tools/toolSessions/keys.js +113 -0
- package/dist/esm/tools/toolSessions/keys.js.map +1 -0
- package/dist/esm/tools/toolSessions/localStatus.d.ts +7 -0
- package/dist/esm/tools/toolSessions/localStatus.js +9 -0
- package/dist/esm/tools/toolSessions/localStatus.js.map +1 -0
- package/dist/esm/tools/toolSessions.d.ts +30 -178
- package/dist/esm/tools/toolSessions.js +138 -119
- package/dist/esm/tools/toolSessions.js.map +1 -1
- package/dist/esm/tools/tools.d.ts +6 -8
- package/dist/esm/tools/tools.js +5 -15
- package/dist/esm/tools/tools.js.map +1 -1
- package/dist/esm/trace-toolpack/traceToolpack/artifactFacts.d.ts +15 -0
- package/dist/esm/trace-toolpack/traceToolpack/artifactFacts.js +14 -0
- package/dist/esm/trace-toolpack/traceToolpack/artifactFacts.js.map +1 -0
- package/dist/esm/trace-toolpack/traceToolpack/backtrackView.d.ts +17 -0
- package/dist/esm/trace-toolpack/traceToolpack/backtrackView.js +117 -0
- package/dist/esm/trace-toolpack/traceToolpack/backtrackView.js.map +1 -0
- package/dist/esm/trace-toolpack/traceToolpack/contextErrors.d.ts +43 -0
- package/dist/esm/trace-toolpack/traceToolpack/contextErrors.js +354 -0
- package/dist/esm/trace-toolpack/traceToolpack/contextErrors.js.map +1 -0
- package/dist/esm/trace-toolpack/traceToolpack/findInTrace.d.ts +26 -0
- package/dist/esm/trace-toolpack/traceToolpack/findInTrace.js +178 -0
- package/dist/esm/trace-toolpack/traceToolpack/findInTrace.js.map +1 -0
- package/dist/esm/trace-toolpack/traceToolpack/findingEvidence.d.ts +73 -0
- package/dist/esm/trace-toolpack/traceToolpack/findingEvidence.js +176 -0
- package/dist/esm/trace-toolpack/traceToolpack/findingEvidence.js.map +1 -0
- package/dist/esm/trace-toolpack/traceToolpack/innerRecords.d.ts +11 -0
- package/dist/esm/trace-toolpack/traceToolpack/innerRecords.js +88 -0
- package/dist/esm/trace-toolpack/traceToolpack/innerRecords.js.map +1 -0
- package/dist/esm/trace-toolpack/traceToolpack/narrativeView.d.ts +3 -0
- package/dist/esm/trace-toolpack/traceToolpack/narrativeView.js +44 -0
- package/dist/esm/trace-toolpack/traceToolpack/narrativeView.js.map +1 -0
- package/dist/esm/trace-toolpack/traceToolpack/navigationHints.d.ts +6 -0
- package/dist/esm/trace-toolpack/traceToolpack/navigationHints.js +42 -0
- package/dist/esm/trace-toolpack/traceToolpack/navigationHints.js.map +1 -0
- package/dist/esm/trace-toolpack/traceToolpack/nodeView.d.ts +5 -0
- package/dist/esm/trace-toolpack/traceToolpack/nodeView.js +130 -0
- package/dist/esm/trace-toolpack/traceToolpack/nodeView.js.map +1 -0
- package/dist/esm/trace-toolpack/traceToolpack/packIndex.d.ts +69 -0
- package/dist/esm/trace-toolpack/traceToolpack/packIndex.js +155 -0
- package/dist/esm/trace-toolpack/traceToolpack/packIndex.js.map +1 -0
- package/dist/esm/trace-toolpack/traceToolpack/parameterSchemas.d.ts +10 -0
- package/dist/esm/trace-toolpack/traceToolpack/parameterSchemas.js +36 -0
- package/dist/esm/trace-toolpack/traceToolpack/parameterSchemas.js.map +1 -0
- package/dist/esm/trace-toolpack/traceToolpack/recursiveFactory.d.ts +40 -0
- package/dist/esm/trace-toolpack/traceToolpack/recursiveFactory.js +392 -0
- package/dist/esm/trace-toolpack/traceToolpack/recursiveFactory.js.map +1 -0
- package/dist/esm/trace-toolpack/traceToolpack/runOverview.d.ts +5 -0
- package/dist/esm/trace-toolpack/traceToolpack/runOverview.js +114 -0
- package/dist/esm/trace-toolpack/traceToolpack/runOverview.js.map +1 -0
- package/dist/esm/trace-toolpack/traceToolpack/sliceView.d.ts +5 -0
- package/dist/esm/trace-toolpack/traceToolpack/sliceView.js +87 -0
- package/dist/esm/trace-toolpack/traceToolpack/sliceView.js.map +1 -0
- package/dist/esm/trace-toolpack/traceToolpack/structuralLimits.d.ts +41 -0
- package/dist/esm/trace-toolpack/traceToolpack/structuralLimits.js +44 -0
- package/dist/esm/trace-toolpack/traceToolpack/structuralLimits.js.map +1 -0
- package/dist/esm/trace-toolpack/traceToolpack/toolCallJournal.d.ts +105 -0
- package/dist/esm/trace-toolpack/traceToolpack/toolCallJournal.js +384 -0
- package/dist/esm/trace-toolpack/traceToolpack/toolCallJournal.js.map +1 -0
- package/dist/esm/trace-toolpack/traceToolpack/valueLines.d.ts +29 -0
- package/dist/esm/trace-toolpack/traceToolpack/valueLines.js +52 -0
- package/dist/esm/trace-toolpack/traceToolpack/valueLines.js.map +1 -0
- package/dist/esm/trace-toolpack/traceToolpack/valueQueries.d.ts +6 -0
- package/dist/esm/trace-toolpack/traceToolpack/valueQueries.js +122 -0
- package/dist/esm/trace-toolpack/traceToolpack/valueQueries.js.map +1 -0
- package/dist/esm/trace-toolpack/traceToolpack/writerHints.d.ts +13 -0
- package/dist/esm/trace-toolpack/traceToolpack/writerHints.js +43 -0
- package/dist/esm/trace-toolpack/traceToolpack/writerHints.js.map +1 -0
- package/dist/esm/trace-toolpack/traceToolpack.d.ts +15 -40
- package/dist/esm/trace-toolpack/traceToolpack.js +15 -2452
- package/dist/esm/trace-toolpack/traceToolpack.js.map +1 -1
- package/dist/events/dispatcher.js +2 -2
- package/dist/events/payloads/access.js +3 -0
- package/dist/events/payloads/access.js.map +1 -0
- package/dist/events/payloads/agent.js +3 -0
- package/dist/events/payloads/agent.js.map +1 -0
- package/dist/events/payloads/answer.js +3 -0
- package/dist/events/payloads/answer.js.map +1 -0
- package/dist/events/payloads/artifacts.js +3 -0
- package/dist/events/payloads/artifacts.js.map +1 -0
- package/dist/events/payloads/consent.js +3 -0
- package/dist/events/payloads/consent.js.map +1 -0
- package/dist/events/payloads/context.js +3 -0
- package/dist/events/payloads/context.js.map +1 -0
- package/dist/events/payloads/cost.js +3 -0
- package/dist/events/payloads/cost.js.map +1 -0
- package/dist/events/payloads/dependencyTypes.js +3 -0
- package/dist/events/payloads/dependencyTypes.js.map +1 -0
- package/dist/events/payloads/evaluation.js +3 -0
- package/dist/events/payloads/evaluation.js.map +1 -0
- package/dist/events/payloads/fallback.js +3 -0
- package/dist/events/payloads/fallback.js.map +1 -0
- package/dist/events/payloads/findings.js +3 -0
- package/dist/events/payloads/findings.js.map +1 -0
- package/dist/events/payloads/flow.js +3 -0
- package/dist/events/payloads/flow.js.map +1 -0
- package/dist/events/payloads/integrity.js +4 -0
- package/dist/events/payloads/integrity.js.map +1 -0
- package/dist/events/payloads/maps.js +4 -0
- package/dist/events/payloads/maps.js.map +1 -0
- package/dist/events/payloads/mcpRequests.js +4 -0
- package/dist/events/payloads/mcpRequests.js.map +1 -0
- package/dist/events/payloads/memory.js +4 -0
- package/dist/events/payloads/memory.js.map +1 -0
- package/dist/events/payloads/reliability.js +3 -0
- package/dist/events/payloads/reliability.js.map +1 -0
- package/dist/events/payloads/runConfiguration.js +3 -0
- package/dist/events/payloads/runConfiguration.js.map +1 -0
- package/dist/events/payloads/skills.js +3 -0
- package/dist/events/payloads/skills.js.map +1 -0
- package/dist/events/payloads/stream.js +3 -0
- package/dist/events/payloads/stream.js.map +1 -0
- package/dist/events/payloads/thinking.js +3 -0
- package/dist/events/payloads/thinking.js.map +1 -0
- package/dist/events/payloads/toolCatalog.js +3 -0
- package/dist/events/payloads/toolCatalog.js.map +1 -0
- package/dist/events/payloads/toolChoice.js +3 -0
- package/dist/events/payloads/toolChoice.js.map +1 -0
- package/dist/events/payloads/toolEffects.js +3 -0
- package/dist/events/payloads/toolEffects.js.map +1 -0
- package/dist/events/payloads/toolSemantics.js +3 -0
- package/dist/events/payloads/toolSemantics.js.map +1 -0
- package/dist/events/payloads/toolSessionPayloads.js +18 -0
- package/dist/events/payloads/toolSessionPayloads.js.map +1 -0
- package/dist/events/payloads/validation.js +3 -0
- package/dist/events/payloads/validation.js.map +1 -0
- package/dist/events/registry.js +5 -15
- package/dist/events/registry.js.map +1 -1
- package/dist/hosting/answeredPause.js +16 -28
- package/dist/hosting/answeredPause.js.map +1 -1
- package/dist/hosting/durability.js +10 -8
- package/dist/hosting/durability.js.map +1 -1
- package/dist/hosting/standingAgent.js +72 -108
- package/dist/hosting/standingAgent.js.map +1 -1
- package/dist/hosting/stream.js +2 -5
- package/dist/hosting/stream.js.map +1 -1
- package/dist/hosting/streamHandler.js +5 -5
- package/dist/hosting/streamHandler.js.map +1 -1
- package/dist/index.js +7 -10
- package/dist/index.js.map +1 -1
- package/dist/influence-core/attribute.js +1 -1
- package/dist/influence-core/attribute.js.map +1 -1
- package/dist/influence-core/contrastive.js +1 -1
- package/dist/influence-core/contrastive.js.map +1 -1
- package/dist/influence-core/margin.js +1 -1
- package/dist/influence-core/margin.js.map +1 -1
- package/dist/influence-core/signals.js +1 -1
- package/dist/influence-core/signals.js.map +1 -1
- package/dist/influence-core/similarity.js +1 -1
- package/dist/influence-core/similarity.js.map +1 -1
- package/dist/injection-engine/buildInjectionEngineSubflow.js +1 -1
- package/dist/injection-engine/buildInjectionEngineSubflow.js.map +1 -1
- package/dist/injection-engine/devWarn.js +3 -2
- package/dist/injection-engine/devWarn.js.map +1 -1
- package/dist/injection-engine/entryScorer.js +1 -1
- package/dist/injection-engine/entryScorer.js.map +1 -1
- package/dist/injection-engine/skillGraph/cursorEvidence.js +58 -0
- package/dist/injection-engine/skillGraph/cursorEvidence.js.map +1 -0
- package/dist/injection-engine/skillGraph/cursorResolution.js +245 -0
- package/dist/injection-engine/skillGraph/cursorResolution.js.map +1 -0
- package/dist/injection-engine/skillGraph/decision.js +15 -0
- package/dist/injection-engine/skillGraph/decision.js.map +1 -0
- package/dist/injection-engine/skillGraph/entryScores.js +34 -0
- package/dist/injection-engine/skillGraph/entryScores.js.map +1 -0
- package/dist/injection-engine/skillGraph/entrySuppression.js +50 -0
- package/dist/injection-engine/skillGraph/entrySuppression.js.map +1 -0
- package/dist/injection-engine/skillGraph/graphConfig.js +3 -0
- package/dist/injection-engine/skillGraph/graphConfig.js.map +1 -0
- package/dist/injection-engine/skillGraph/graphContracts.js +17 -0
- package/dist/injection-engine/skillGraph/graphContracts.js.map +1 -0
- package/dist/injection-engine/skillGraph/graphCursor.js +3 -0
- package/dist/injection-engine/skillGraph/graphCursor.js.map +1 -0
- package/dist/injection-engine/skillGraph/graphDrawing.js +35 -0
- package/dist/injection-engine/skillGraph/graphDrawing.js.map +1 -0
- package/dist/injection-engine/skillGraph/graphRoutes.js +3 -0
- package/dist/injection-engine/skillGraph/graphRoutes.js.map +1 -0
- package/dist/injection-engine/skillGraph/passMemo.js +42 -0
- package/dist/injection-engine/skillGraph/passMemo.js.map +1 -0
- package/dist/injection-engine/skillGraph/reachability.js +67 -0
- package/dist/injection-engine/skillGraph/reachability.js.map +1 -0
- package/dist/injection-engine/skillGraph/routePredicates.js +66 -0
- package/dist/injection-engine/skillGraph/routePredicates.js.map +1 -0
- package/dist/injection-engine/skillGraph/routingView.js +28 -0
- package/dist/injection-engine/skillGraph/routingView.js.map +1 -0
- package/dist/injection-engine/skillGraph/treeCompilation.js +158 -0
- package/dist/injection-engine/skillGraph/treeCompilation.js.map +1 -0
- package/dist/injection-engine/skillGraph/triggerCompilation.js +79 -0
- package/dist/injection-engine/skillGraph/triggerCompilation.js.map +1 -0
- package/dist/injection-engine/skillGraph.js +40 -832
- package/dist/injection-engine/skillGraph.js.map +1 -1
- package/dist/injection-engine/skillMatch.js +2 -1
- package/dist/injection-engine/skillMatch.js.map +1 -1
- package/dist/injection-engine/skillToolDescriptors.js +2 -2
- package/dist/injection-engine/skillToolDescriptors.js.map +1 -1
- package/dist/lib/cosine.js.map +1 -0
- package/dist/lib/iterationBudget.js +9 -1
- package/dist/lib/iterationBudget.js.map +1 -1
- package/dist/lib/saidByPerson.js +3 -1
- package/dist/lib/saidByPerson.js.map +1 -1
- package/dist/lib/spokenIds.js +2 -2
- package/dist/lib/spokenIds.js.map +1 -1
- package/dist/lib/toolBytes.js +2 -2
- package/dist/lib/toolBytes.js.map +1 -1
- package/dist/maps/engagement/lease.js +1 -1
- package/dist/maps/engagement/lease.js.map +1 -1
- package/dist/memory/causal/evidenceRecorder.js +221 -213
- package/dist/memory/causal/evidenceRecorder.js.map +1 -1
- package/dist/memory/causal/loadSnapshot.js +16 -59
- package/dist/memory/causal/loadSnapshot.js.map +1 -1
- package/dist/memory/causal/observation.js +16 -0
- package/dist/memory/causal/observation.js.map +1 -0
- package/dist/memory/causal/snapshotProjection.js +65 -0
- package/dist/memory/causal/snapshotProjection.js.map +1 -0
- package/dist/memory/causal/snapshotSchema.js +172 -0
- package/dist/memory/causal/snapshotSchema.js.map +1 -0
- package/dist/memory/causal/types.js +0 -18
- package/dist/memory/causal/types.js.map +1 -1
- package/dist/memory/causal/writeSnapshot.js +17 -14
- package/dist/memory/causal/writeSnapshot.js.map +1 -1
- package/dist/memory/embedding/index.js +1 -1
- package/dist/memory/embedding/index.js.map +1 -1
- package/dist/memory/store/InMemoryStore.js +1 -1
- package/dist/memory/store/InMemoryStore.js.map +1 -1
- package/dist/memory/store/staticVectorStore.js +1 -1
- package/dist/memory/store/staticVectorStore.js.map +1 -1
- package/dist/memory/wire/mountMemoryPipeline.js +8 -2
- package/dist/memory/wire/mountMemoryPipeline.js.map +1 -1
- package/dist/patterns/LlmRouter.js +49 -177
- package/dist/patterns/LlmRouter.js.map +1 -1
- package/dist/patterns/LlmSwarm.js +7 -70
- package/dist/patterns/LlmSwarm.js.map +1 -1
- package/dist/patterns/MapReduce.js +30 -20
- package/dist/patterns/MapReduce.js.map +1 -1
- package/dist/patterns/Swarm.js +233 -79
- package/dist/patterns/Swarm.js.map +1 -1
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/routing.js +22 -0
- package/dist/patterns/routing.js.map +1 -0
- package/dist/recorders/observability/BoundaryRecorder.js +23 -299
- package/dist/recorders/observability/BoundaryRecorder.js.map +1 -1
- package/dist/recorders/observability/boundaryRecorder/agentInternal.js +61 -0
- package/dist/recorders/observability/boundaryRecorder/agentInternal.js.map +1 -0
- package/dist/recorders/observability/boundaryRecorder/domainEvents.js +3 -0
- package/dist/recorders/observability/boundaryRecorder/domainEvents.js.map +1 -0
- package/dist/recorders/observability/boundaryRecorder/eventBuilders.js +84 -0
- package/dist/recorders/observability/boundaryRecorder/eventBuilders.js.map +1 -0
- package/dist/recorders/observability/boundaryRecorder/flowEvents.js +3 -0
- package/dist/recorders/observability/boundaryRecorder/flowEvents.js.map +1 -0
- package/dist/recorders/observability/boundaryRecorder/leanContent.js +55 -0
- package/dist/recorders/observability/boundaryRecorder/leanContent.js.map +1 -0
- package/dist/recorders/observability/boundaryRecorder/options.js +3 -0
- package/dist/recorders/observability/boundaryRecorder/options.js.map +1 -0
- package/dist/recorders/observability/boundaryRecorder/rangeLabels.js +43 -0
- package/dist/recorders/observability/boundaryRecorder/rangeLabels.js.map +1 -0
- package/dist/recorders/observability/boundaryRecorder/rollups.js +72 -0
- package/dist/recorders/observability/boundaryRecorder/rollups.js.map +1 -0
- package/dist/recorders/observability/fileRecordingSink.js +2 -4
- package/dist/recorders/observability/fileRecordingSink.js.map +1 -1
- package/dist/recorders/observability/recordingEnvelope.js +6 -10
- package/dist/recorders/observability/recordingEnvelope.js.map +1 -1
- package/dist/redaction/coverage.js +5 -3
- package/dist/redaction/coverage.js.map +1 -1
- package/dist/redaction/declared.js +18 -3
- package/dist/redaction/declared.js.map +1 -1
- package/dist/redaction/knownStrings.js +10 -34
- package/dist/redaction/knownStrings.js.map +1 -1
- package/dist/redaction/marker.js +1 -1
- package/dist/redaction/privateCaller.js +84 -0
- package/dist/redaction/privateCaller.js.map +1 -0
- package/dist/redaction/privateCheckpoint.js +99 -0
- package/dist/redaction/privateCheckpoint.js.map +1 -0
- package/dist/redaction/privateFields.js +159 -0
- package/dist/redaction/privateFields.js.map +1 -0
- package/dist/redaction/privateRun.js +112 -0
- package/dist/redaction/privateRun.js.map +1 -0
- package/dist/redaction/runRedaction.js +141 -93
- package/dist/redaction/runRedaction.js.map +1 -1
- package/dist/redaction/served.js +28 -7
- package/dist/redaction/served.js.map +1 -1
- package/dist/resilience/withCircuitBreaker.js +1 -1
- package/dist/security/extractSequence.js +1 -1
- package/dist/semantics/coverage/answer.js +1 -1
- package/dist/semantics/coverage/answer.js.map +1 -1
- package/dist/semantics/coverage/composedCoverage.js +1 -1
- package/dist/semantics/coverage/items.js +1 -1
- package/dist/semantics/coverage/read.js +3 -3
- package/dist/semantics/types.js +1 -1
- package/dist/time/drift.js +1 -1
- package/dist/time-travel/servedView/assembly.js +48 -0
- package/dist/time-travel/servedView/assembly.js.map +1 -0
- package/dist/time-travel/servedView/conversation.js +34 -0
- package/dist/time-travel/servedView/conversation.js.map +1 -0
- package/dist/time-travel/servedView/findings.js +72 -0
- package/dist/time-travel/servedView/findings.js.map +1 -0
- package/dist/time-travel/servedView/gaps.js +480 -0
- package/dist/time-travel/servedView/gaps.js.map +1 -0
- package/dist/time-travel/servedView/ontology.js +64 -0
- package/dist/time-travel/servedView/ontology.js.map +1 -0
- package/dist/time-travel/servedView/recordReads.js +79 -0
- package/dist/time-travel/servedView/recordReads.js.map +1 -0
- package/dist/time-travel/servedView/requestOnly.js +71 -0
- package/dist/time-travel/servedView/requestOnly.js.map +1 -0
- package/dist/time-travel/servedView/system.js +41 -0
- package/dist/time-travel/servedView/system.js.map +1 -0
- package/dist/time-travel/servedView/tools.js +40 -0
- package/dist/time-travel/servedView/tools.js.map +1 -0
- package/dist/time-travel/servedView/value.js +62 -0
- package/dist/time-travel/servedView/value.js.map +1 -0
- package/dist/time-travel/servedView.js +161 -882
- package/dist/time-travel/servedView.js.map +1 -1
- package/dist/tools/displayName.js +19 -0
- package/dist/tools/displayName.js.map +1 -0
- package/dist/tools/finiteLabel.js +36 -0
- package/dist/tools/finiteLabel.js.map +1 -0
- package/dist/tools/inputRequest.js +2 -2
- package/dist/tools/toolParty.js +45 -0
- package/dist/tools/toolParty.js.map +1 -0
- package/dist/tools/toolResourceOwner.js +87 -0
- package/dist/tools/toolResourceOwner.js.map +1 -0
- package/dist/tools/toolSessions/contracts.js +10 -0
- package/dist/tools/toolSessions/contracts.js.map +1 -0
- package/dist/tools/toolSessions/keys.js +120 -0
- package/dist/tools/toolSessions/keys.js.map +1 -0
- package/dist/tools/toolSessions/localStatus.js +13 -0
- package/dist/tools/toolSessions/localStatus.js.map +1 -0
- package/dist/tools/toolSessions.js +151 -127
- package/dist/tools/toolSessions.js.map +1 -1
- package/dist/tools/tools.js +18 -17
- package/dist/tools/tools.js.map +1 -1
- package/dist/trace-toolpack/traceToolpack/artifactFacts.js +18 -0
- package/dist/trace-toolpack/traceToolpack/artifactFacts.js.map +1 -0
- package/dist/trace-toolpack/traceToolpack/backtrackView.js +120 -0
- package/dist/trace-toolpack/traceToolpack/backtrackView.js.map +1 -0
- package/dist/trace-toolpack/traceToolpack/contextErrors.js +357 -0
- package/dist/trace-toolpack/traceToolpack/contextErrors.js.map +1 -0
- package/dist/trace-toolpack/traceToolpack/findInTrace.js +181 -0
- package/dist/trace-toolpack/traceToolpack/findInTrace.js.map +1 -0
- package/dist/trace-toolpack/traceToolpack/findingEvidence.js +189 -0
- package/dist/trace-toolpack/traceToolpack/findingEvidence.js.map +1 -0
- package/dist/trace-toolpack/traceToolpack/innerRecords.js +94 -0
- package/dist/trace-toolpack/traceToolpack/innerRecords.js.map +1 -0
- package/dist/trace-toolpack/traceToolpack/narrativeView.js +47 -0
- package/dist/trace-toolpack/traceToolpack/narrativeView.js.map +1 -0
- package/dist/trace-toolpack/traceToolpack/navigationHints.js +47 -0
- package/dist/trace-toolpack/traceToolpack/navigationHints.js.map +1 -0
- package/dist/trace-toolpack/traceToolpack/nodeView.js +133 -0
- package/dist/trace-toolpack/traceToolpack/nodeView.js.map +1 -0
- package/dist/trace-toolpack/traceToolpack/packIndex.js +160 -0
- package/dist/trace-toolpack/traceToolpack/packIndex.js.map +1 -0
- package/dist/trace-toolpack/traceToolpack/parameterSchemas.js +40 -0
- package/dist/trace-toolpack/traceToolpack/parameterSchemas.js.map +1 -0
- package/dist/trace-toolpack/traceToolpack/recursiveFactory.js +397 -0
- package/dist/trace-toolpack/traceToolpack/recursiveFactory.js.map +1 -0
- package/dist/trace-toolpack/traceToolpack/runOverview.js +117 -0
- package/dist/trace-toolpack/traceToolpack/runOverview.js.map +1 -0
- package/dist/trace-toolpack/traceToolpack/sliceView.js +90 -0
- package/dist/trace-toolpack/traceToolpack/sliceView.js.map +1 -0
- package/dist/trace-toolpack/traceToolpack/structuralLimits.js +71 -0
- package/dist/trace-toolpack/traceToolpack/structuralLimits.js.map +1 -0
- package/dist/trace-toolpack/traceToolpack/toolCallJournal.js +388 -0
- package/dist/trace-toolpack/traceToolpack/toolCallJournal.js.map +1 -0
- package/dist/trace-toolpack/traceToolpack/valueLines.js +60 -0
- package/dist/trace-toolpack/traceToolpack/valueLines.js.map +1 -0
- package/dist/trace-toolpack/traceToolpack/valueQueries.js +126 -0
- package/dist/trace-toolpack/traceToolpack/valueQueries.js.map +1 -0
- package/dist/trace-toolpack/traceToolpack/writerHints.js +47 -0
- package/dist/trace-toolpack/traceToolpack/writerHints.js.map +1 -0
- package/dist/trace-toolpack/traceToolpack.js +18 -2455
- package/dist/trace-toolpack/traceToolpack.js.map +1 -1
- package/dist/types/adapters/observability/auditShapes.d.ts +5 -31
- package/dist/types/adapters/observability/auditShapes.d.ts.map +1 -1
- package/dist/types/adapters/observability/otel.d.ts +1 -1
- package/dist/types/bridge/eventMeta.d.ts +2 -0
- package/dist/types/bridge/eventMeta.d.ts.map +1 -1
- package/dist/types/core/Agent.d.ts +18 -121
- package/dist/types/core/Agent.d.ts.map +1 -1
- package/dist/types/core/LLMCall.d.ts +1 -4
- package/dist/types/core/LLMCall.d.ts.map +1 -1
- package/dist/types/core/RunnerBase.d.ts +42 -114
- package/dist/types/core/RunnerBase.d.ts.map +1 -1
- package/dist/types/core/agent/arguments/answerRows.d.ts +27 -0
- package/dist/types/core/agent/arguments/answerRows.d.ts.map +1 -0
- package/dist/types/core/agent/arguments/ask.d.ts +5 -11
- 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/dispatch.d.ts.map +1 -1
- package/dist/types/core/agent/arguments/kept.d.ts +1 -1
- package/dist/types/core/agent/arguments/partialWindow.d.ts +2 -1
- package/dist/types/core/agent/arguments/partialWindow.d.ts.map +1 -1
- package/dist/types/core/agent/arguments/pendingPrivateAsk.d.ts +38 -0
- package/dist/types/core/agent/arguments/pendingPrivateAsk.d.ts.map +1 -0
- package/dist/types/core/agent/arguments/privateAnswers.d.ts +47 -0
- package/dist/types/core/agent/arguments/privateAnswers.d.ts.map +1 -0
- package/dist/types/core/agent/arguments/resolutionRows.d.ts +30 -0
- package/dist/types/core/agent/arguments/resolutionRows.d.ts.map +1 -0
- package/dist/types/core/agent/arguments/resolve.d.ts +2 -13
- package/dist/types/core/agent/arguments/resolve.d.ts.map +1 -1
- package/dist/types/core/agent/arguments/serve.d.ts +0 -5
- package/dist/types/core/agent/arguments/serve.d.ts.map +1 -1
- package/dist/types/core/agent/arguments/subflow.d.ts.map +1 -1
- package/dist/types/core/agent/buildAgentChart.d.ts +3 -326
- package/dist/types/core/agent/buildAgentChart.d.ts.map +1 -1
- package/dist/types/core/agent/buildToolRegistry.d.ts +1 -1
- package/dist/types/core/agent/callerIdentity.d.ts +9 -64
- package/dist/types/core/agent/callerIdentity.d.ts.map +1 -1
- package/dist/types/core/agent/chartContract.d.ts +328 -0
- package/dist/types/core/agent/chartContract.d.ts.map +1 -0
- package/dist/types/core/agent/checkpointDomain.d.ts +12 -0
- package/dist/types/core/agent/checkpointDomain.d.ts.map +1 -0
- package/dist/types/core/agent/componentObservers.d.ts +15 -0
- package/dist/types/core/agent/componentObservers.d.ts.map +1 -0
- package/dist/types/core/agent/componentResources.d.ts +40 -0
- package/dist/types/core/agent/componentResources.d.ts.map +1 -0
- package/dist/types/core/agent/evidence/frames.d.ts.map +1 -1
- package/dist/types/core/agent/evidence/servedJson.d.ts +1 -1
- package/dist/types/core/agent/findings/contingent.d.ts +1 -1
- package/dist/types/core/agent/findings/judge.d.ts +1 -1
- package/dist/types/core/agent/findings/types.d.ts +1 -1
- package/dist/types/core/agent/findings/unsettled.d.ts +3 -3
- package/dist/types/core/agent/honesty/inputsMountContract.d.ts +67 -0
- package/dist/types/core/agent/honesty/inputsMountContract.d.ts.map +1 -0
- package/dist/types/core/agent/honesty/mounts.d.ts +4 -66
- package/dist/types/core/agent/honesty/mounts.d.ts.map +1 -1
- package/dist/types/core/agent/hostTurn.d.ts +18 -0
- package/dist/types/core/agent/hostTurn.d.ts.map +1 -0
- package/dist/types/core/agent/pauseOwnership.d.ts +25 -0
- package/dist/types/core/agent/pauseOwnership.d.ts.map +1 -0
- package/dist/types/core/agent/presentTool.d.ts +1 -1
- package/dist/types/core/agent/resultCeiling.d.ts +1 -1
- package/dist/types/core/agent/resumeAnswer.d.ts +11 -0
- package/dist/types/core/agent/resumeAnswer.d.ts.map +1 -0
- package/dist/types/core/agent/resumeCheckpoint.d.ts +13 -0
- package/dist/types/core/agent/resumeCheckpoint.d.ts.map +1 -0
- package/dist/types/core/agent/resumeError.d.ts +9 -0
- package/dist/types/core/agent/resumeError.d.ts.map +1 -0
- package/dist/types/core/agent/run/clocks.d.ts +45 -0
- package/dist/types/core/agent/run/clocks.d.ts.map +1 -0
- package/dist/types/core/agent/run/commitRunRedaction.d.ts +5 -0
- package/dist/types/core/agent/run/commitRunRedaction.d.ts.map +1 -0
- package/dist/types/core/agent/run/eventStageIds.d.ts +41 -0
- package/dist/types/core/agent/run/eventStageIds.d.ts.map +1 -0
- package/dist/types/core/agent/run/injectionDelivery.d.ts +5 -0
- package/dist/types/core/agent/run/injectionDelivery.d.ts.map +1 -0
- package/dist/types/core/agent/run/ledgerFacts.d.ts +9 -0
- package/dist/types/core/agent/run/ledgerFacts.d.ts.map +1 -0
- package/dist/types/core/agent/run/resumeRedaction.d.ts +7 -0
- package/dist/types/core/agent/run/resumeRedaction.d.ts.map +1 -0
- package/dist/types/core/agent/run/withoutTime.d.ts +9 -0
- package/dist/types/core/agent/run/withoutTime.d.ts.map +1 -0
- package/dist/types/core/agent/runValues.d.ts +72 -0
- package/dist/types/core/agent/runValues.d.ts.map +1 -0
- package/dist/types/core/agent/scripts/rows.d.ts +1 -1
- package/dist/types/core/agent/scripts/types.d.ts +1 -1
- package/dist/types/core/agent/stages/argumentAsk.d.ts +7 -1
- package/dist/types/core/agent/stages/argumentAsk.d.ts.map +1 -1
- package/dist/types/core/agent/stages/argumentParties.d.ts +4 -0
- package/dist/types/core/agent/stages/argumentParties.d.ts.map +1 -0
- package/dist/types/core/agent/stages/batchParties.d.ts +22 -0
- package/dist/types/core/agent/stages/batchParties.d.ts.map +1 -0
- package/dist/types/core/agent/stages/finalStageContract.d.ts +46 -0
- package/dist/types/core/agent/stages/finalStageContract.d.ts.map +1 -0
- package/dist/types/core/agent/stages/prepareFinal.d.ts +2 -45
- package/dist/types/core/agent/stages/prepareFinal.d.ts.map +1 -1
- package/dist/types/core/agent/stages/searchCoverage.d.ts +1 -1
- package/dist/types/core/agent/stages/seed.d.ts.map +1 -1
- package/dist/types/core/agent/stages/servedParties.d.ts +40 -0
- package/dist/types/core/agent/stages/servedParties.d.ts.map +1 -0
- package/dist/types/core/agent/stages/timeLayer.d.ts +3 -3
- package/dist/types/core/agent/stages/timeLayer.d.ts.map +1 -1
- package/dist/types/core/agent/stages/toolCallShape.d.ts +8 -0
- package/dist/types/core/agent/stages/toolCallShape.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/access/argumentGate.d.ts +22 -0
- package/dist/types/core/agent/stages/toolCalls/access/argumentGate.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/access/argumentValidation.d.ts +11 -0
- package/dist/types/core/agent/stages/toolCalls/access/argumentValidation.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/access/bindings.d.ts +62 -0
- package/dist/types/core/agent/stages/toolCalls/access/bindings.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/access/callState.d.ts +15 -0
- package/dist/types/core/agent/stages/toolCalls/access/callState.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/access/capabilityQuestion.d.ts +29 -0
- package/dist/types/core/agent/stages/toolCalls/access/capabilityQuestion.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/access/checkInAdmission.d.ts +45 -0
- package/dist/types/core/agent/stages/toolCalls/access/checkInAdmission.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/access/heldAnswer.d.ts +9 -0
- package/dist/types/core/agent/stages/toolCalls/access/heldAnswer.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/access/middlewareAdmission.d.ts +51 -0
- package/dist/types/core/agent/stages/toolCalls/access/middlewareAdmission.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/access/toolPermission.d.ts +25 -0
- package/dist/types/core/agent/stages/toolCalls/access/toolPermission.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/batch/completion.d.ts +19 -0
- package/dist/types/core/agent/stages/toolCalls/batch/completion.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/batch/dispatchContext.d.ts +37 -0
- package/dist/types/core/agent/stages/toolCalls/batch/dispatchContext.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/batch/execute.d.ts +8 -0
- package/dist/types/core/agent/stages/toolCalls/batch/execute.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/batch/findingsAdmission.d.ts +19 -0
- package/dist/types/core/agent/stages/toolCalls/batch/findingsAdmission.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/batch/inputResolutions.d.ts +7 -0
- package/dist/types/core/agent/stages/toolCalls/batch/inputResolutions.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/batch/paused.d.ts +66 -0
- package/dist/types/core/agent/stages/toolCalls/batch/paused.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/batch/refusal.d.ts +6 -0
- package/dist/types/core/agent/stages/toolCalls/batch/refusal.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/batch/settle.d.ts +67 -0
- package/dist/types/core/agent/stages/toolCalls/batch/settle.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/batch/settlementOperations.d.ts +18 -0
- package/dist/types/core/agent/stages/toolCalls/batch/settlementOperations.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/compose.d.ts +240 -0
- package/dist/types/core/agent/stages/toolCalls/compose.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/access.d.ts +111 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/access.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/artifacts.d.ts +27 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/artifacts.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/batchCall.d.ts +9 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/batchCall.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/callCells.d.ts +44 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/callCells.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/callFacts.d.ts +51 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/callFacts.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/catalog.d.ts +57 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/catalog.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/dispatchBatch.d.ts +18 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/dispatchBatch.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/dispatchCall.d.ts +15 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/dispatchCall.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/evidence.d.ts +212 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/evidence.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/handlerDeps.d.ts +12 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/handlerDeps.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/inputsDispatch.d.ts +3 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/inputsDispatch.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/invocationInputs.d.ts +12 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/invocationInputs.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/observation.d.ts +25 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/observation.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/operations/artifacts.d.ts +38 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/operations/artifacts.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/operations/catalog.d.ts +32 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/operations/catalog.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/operations/context.d.ts +15 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/operations/context.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/operations/coverage.d.ts +24 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/operations/coverage.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/operations/credentials.d.ts +6 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/operations/credentials.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/operations/effects.d.ts +15 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/operations/effects.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/operations/integrity.d.ts +17 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/operations/integrity.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/operations/limits.d.ts +20 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/operations/limits.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/operations/middleware.d.ts +26 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/operations/middleware.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/operations/observations.d.ts +9 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/operations/observations.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/operations/progress.d.ts +12 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/operations/progress.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/operations/resources.d.ts +13 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/operations/resources.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/operations/resumedInvocation.d.ts +31 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/operations/resumedInvocation.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/operations/scripts.d.ts +41 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/operations/scripts.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/operations/semantics.d.ts +11 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/operations/semantics.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/operations/settlement.d.ts +14 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/operations/settlement.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/operations/steps.d.ts +27 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/operations/steps.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/resources.d.ts +68 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/resources.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/results.d.ts +27 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/results.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/resumeFrames.d.ts +15 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/resumeFrames.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/routing.d.ts +115 -0
- package/dist/types/core/agent/stages/toolCalls/contracts/routing.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/decorators/limitsOperations.d.ts +5 -0
- package/dist/types/core/agent/stages/toolCalls/decorators/limitsOperations.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/decorators/middlewareOperations.d.ts +5 -0
- package/dist/types/core/agent/stages/toolCalls/decorators/middlewareOperations.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/decorators/reportingCredentials.d.ts +30 -0
- package/dist/types/core/agent/stages/toolCalls/decorators/reportingCredentials.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/evidence/coverageOperations.d.ts +10 -0
- package/dist/types/core/agent/stages/toolCalls/evidence/coverageOperations.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/evidence/integrityOperations.d.ts +5 -0
- package/dist/types/core/agent/stages/toolCalls/evidence/integrityOperations.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/evidence/judgeLanded.d.ts +30 -0
- package/dist/types/core/agent/stages/toolCalls/evidence/judgeLanded.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/evidence/madeInRun.d.ts +7 -0
- package/dist/types/core/agent/stages/toolCalls/evidence/madeInRun.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/evidence/producerCorpus.d.ts +23 -0
- package/dist/types/core/agent/stages/toolCalls/evidence/producerCorpus.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/evidence/scriptsOperations.d.ts +12 -0
- package/dist/types/core/agent/stages/toolCalls/evidence/scriptsOperations.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/evidence/semanticsOperations.d.ts +5 -0
- package/dist/types/core/agent/stages/toolCalls/evidence/semanticsOperations.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/evidence/sourceClock.d.ts +12 -0
- package/dist/types/core/agent/stages/toolCalls/evidence/sourceClock.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/evidence/towers.d.ts +19 -0
- package/dist/types/core/agent/stages/toolCalls/evidence/towers.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/execution/artifactsOperations.d.ts +13 -0
- package/dist/types/core/agent/stages/toolCalls/execution/artifactsOperations.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/execution/callStart.d.ts +36 -0
- package/dist/types/core/agent/stages/toolCalls/execution/callStart.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/execution/catalogOperations.d.ts +18 -0
- package/dist/types/core/agent/stages/toolCalls/execution/catalogOperations.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/execution/contextOperations.d.ts +16 -0
- package/dist/types/core/agent/stages/toolCalls/execution/contextOperations.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/execution/credentialAdmission.d.ts +49 -0
- package/dist/types/core/agent/stages/toolCalls/execution/credentialAdmission.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/execution/credentialsOperations.d.ts +10 -0
- package/dist/types/core/agent/stages/toolCalls/execution/credentialsOperations.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/execution/deliveredResult.d.ts +41 -0
- package/dist/types/core/agent/stages/toolCalls/execution/deliveredResult.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/execution/dispatchCall.d.ts +6 -0
- package/dist/types/core/agent/stages/toolCalls/execution/dispatchCall.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/execution/initialInvocation.d.ts +71 -0
- package/dist/types/core/agent/stages/toolCalls/execution/initialInvocation.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/execution/resourcesOperations.d.ts +10 -0
- package/dist/types/core/agent/stages/toolCalls/execution/resourcesOperations.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/execution/resumedInvocation.d.ts +43 -0
- package/dist/types/core/agent/stages/toolCalls/execution/resumedInvocation.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/execution/wantedArguments.d.ts +20 -0
- package/dist/types/core/agent/stages/toolCalls/execution/wantedArguments.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/helpers/dedupeIds.d.ts +4 -0
- package/dist/types/core/agent/stages/toolCalls/helpers/dedupeIds.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/helpers/dispatchRefusals.d.ts +62 -0
- package/dist/types/core/agent/stages/toolCalls/helpers/dispatchRefusals.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/helpers/mountedCursor.d.ts +42 -0
- package/dist/types/core/agent/stages/toolCalls/helpers/mountedCursor.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/helpers/periodWarnings.d.ts +24 -0
- package/dist/types/core/agent/stages/toolCalls/helpers/periodWarnings.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/helpers/readSkillRefusal.d.ts +88 -0
- package/dist/types/core/agent/stages/toolCalls/helpers/readSkillRefusal.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/helpers/sourceNote.d.ts +9 -0
- package/dist/types/core/agent/stages/toolCalls/helpers/sourceNote.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/helpers/unscopedRun.d.ts +12 -0
- package/dist/types/core/agent/stages/toolCalls/helpers/unscopedRun.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/index.d.ts +15 -0
- package/dist/types/core/agent/stages/toolCalls/index.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/observation/callSettlement.d.ts +30 -0
- package/dist/types/core/agent/stages/toolCalls/observation/callSettlement.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/observation/observationsOperations.d.ts +5 -0
- package/dist/types/core/agent/stages/toolCalls/observation/observationsOperations.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/observation/progressOperations.d.ts +8 -0
- package/dist/types/core/agent/stages/toolCalls/observation/progressOperations.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/resume/ask.d.ts +45 -0
- package/dist/types/core/agent/stages/toolCalls/resume/ask.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/resume/checkIn.d.ts +40 -0
- package/dist/types/core/agent/stages/toolCalls/resume/checkIn.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/resume/credential.d.ts +38 -0
- package/dist/types/core/agent/stages/toolCalls/resume/credential.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/resume/handler.d.ts +7 -0
- package/dist/types/core/agent/stages/toolCalls/resume/handler.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/resume/plain.d.ts +33 -0
- package/dist/types/core/agent/stages/toolCalls/resume/plain.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/routing/effectsOperations.d.ts +5 -0
- package/dist/types/core/agent/stages/toolCalls/routing/effectsOperations.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/routing/policyHalt.d.ts +18 -0
- package/dist/types/core/agent/stages/toolCalls/routing/policyHalt.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/routing/readSkillRoute.d.ts +21 -0
- package/dist/types/core/agent/stages/toolCalls/routing/readSkillRoute.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/routing/skillActivation.d.ts +16 -0
- package/dist/types/core/agent/stages/toolCalls/routing/skillActivation.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolCalls/routing/stepsOperations.d.ts +5 -0
- package/dist/types/core/agent/stages/toolCalls/routing/stepsOperations.d.ts.map +1 -0
- package/dist/types/core/agent/stages/toolResolver.d.ts +3 -2
- package/dist/types/core/agent/stages/toolResolver.d.ts.map +1 -1
- package/dist/types/core/agent/toolChoice/pick.d.ts +1 -1
- package/dist/types/core/agent/toolResultCap.d.ts +1 -1
- package/dist/types/core/agent/types.d.ts +16 -27
- package/dist/types/core/agent/types.d.ts.map +1 -1
- package/dist/types/core/agent/window/toolNames.d.ts +3 -3
- package/dist/types/core/answerConsumption.d.ts +8 -0
- package/dist/types/core/answerConsumption.d.ts.map +1 -0
- package/dist/types/core/checkin.d.ts +1 -1
- package/dist/types/core/codeRunnerTool.d.ts +1 -1
- package/dist/types/core/consentLedger.d.ts +22 -0
- package/dist/types/core/consentLedger.d.ts.map +1 -0
- package/dist/types/core/consentRequest.d.ts +35 -54
- package/dist/types/core/consentRequest.d.ts.map +1 -1
- package/dist/types/core/conversation.d.ts +8 -29
- package/dist/types/core/conversation.d.ts.map +1 -1
- package/dist/types/core/memberRun.d.ts +1 -0
- package/dist/types/core/memberRun.d.ts.map +1 -1
- package/dist/types/core/pause.d.ts +5 -5
- package/dist/types/core/pauseRecord.d.ts +14 -0
- package/dist/types/core/pauseRecord.d.ts.map +1 -0
- package/dist/types/core/runEntry.d.ts +9 -0
- package/dist/types/core/runEntry.d.ts.map +1 -0
- package/dist/types/core/runnerCoreValues.d.ts +17 -0
- package/dist/types/core/runnerCoreValues.d.ts.map +1 -0
- package/dist/types/core/runnerExecution.d.ts +72 -0
- package/dist/types/core/runnerExecution.d.ts.map +1 -0
- package/dist/types/core/runnerLive.d.ts +32 -1
- package/dist/types/core/runnerLive.d.ts.map +1 -1
- package/dist/types/core/slots/buildThinkingSubflow.d.ts +1 -1
- package/dist/types/core/slots/buildToolsSlot.d.ts +27 -56
- package/dist/types/core/slots/buildToolsSlot.d.ts.map +1 -1
- package/dist/types/core/slots/discoverTools.d.ts +22 -0
- package/dist/types/core/slots/discoverTools.d.ts.map +1 -0
- package/dist/types/core-flow/Conditional.d.ts +0 -2
- package/dist/types/core-flow/Conditional.d.ts.map +1 -1
- package/dist/types/core-flow/Graph.d.ts +18 -23
- package/dist/types/core-flow/Graph.d.ts.map +1 -1
- package/dist/types/core-flow/Loop.d.ts +0 -2
- package/dist/types/core-flow/Loop.d.ts.map +1 -1
- package/dist/types/core-flow/Parallel.d.ts +11 -40
- package/dist/types/core-flow/Parallel.d.ts.map +1 -1
- package/dist/types/core-flow/Sequence.d.ts +0 -2
- package/dist/types/core-flow/Sequence.d.ts.map +1 -1
- package/dist/types/core-flow/Workflow.d.ts +0 -2
- package/dist/types/core-flow/Workflow.d.ts.map +1 -1
- package/dist/types/events/dispatcher.d.ts +2 -2
- package/dist/types/events/payloads/access.d.ts +89 -0
- package/dist/types/events/payloads/access.d.ts.map +1 -0
- package/dist/types/events/payloads/agent.d.ts +242 -0
- package/dist/types/events/payloads/agent.d.ts.map +1 -0
- package/dist/types/events/payloads/answer.d.ts +96 -0
- package/dist/types/events/payloads/answer.d.ts.map +1 -0
- package/dist/types/events/payloads/artifacts.d.ts +140 -0
- package/dist/types/events/payloads/artifacts.d.ts.map +1 -0
- package/dist/types/events/payloads/consent.d.ts +87 -0
- package/dist/types/events/payloads/consent.d.ts.map +1 -0
- package/dist/types/events/payloads/context.d.ts +277 -0
- package/dist/types/events/payloads/context.d.ts.map +1 -0
- package/dist/types/events/payloads/cost.d.ts +41 -0
- package/dist/types/events/payloads/cost.d.ts.map +1 -0
- package/dist/types/events/payloads/dependencyTypes.d.ts +19 -0
- package/dist/types/events/payloads/dependencyTypes.d.ts.map +1 -0
- package/dist/types/events/payloads/evaluation.d.ts +298 -0
- package/dist/types/events/payloads/evaluation.d.ts.map +1 -0
- package/dist/types/events/payloads/fallback.d.ts +7 -0
- package/dist/types/events/payloads/fallback.d.ts.map +1 -0
- package/dist/types/events/payloads/findings.d.ts +244 -0
- package/dist/types/events/payloads/findings.d.ts.map +1 -0
- package/dist/types/events/payloads/flow.d.ts +69 -0
- package/dist/types/events/payloads/flow.d.ts.map +1 -0
- package/dist/types/events/payloads/integrity.d.ts +49 -0
- package/dist/types/events/payloads/integrity.d.ts.map +1 -0
- package/dist/types/events/payloads/maps.d.ts +48 -0
- package/dist/types/events/payloads/maps.d.ts.map +1 -0
- package/dist/types/events/payloads/mcpRequests.d.ts +328 -0
- package/dist/types/events/payloads/mcpRequests.d.ts.map +1 -0
- package/dist/types/events/payloads/memory.d.ts +118 -0
- package/dist/types/events/payloads/memory.d.ts.map +1 -0
- package/dist/types/events/payloads/reliability.d.ts +150 -0
- package/dist/types/events/payloads/reliability.d.ts.map +1 -0
- package/dist/types/events/payloads/runConfiguration.d.ts +225 -0
- package/dist/types/events/payloads/runConfiguration.d.ts.map +1 -0
- package/dist/types/events/payloads/skills.d.ts +360 -0
- package/dist/types/events/payloads/skills.d.ts.map +1 -0
- package/dist/types/events/payloads/stream.d.ts +231 -0
- package/dist/types/events/payloads/stream.d.ts.map +1 -0
- package/dist/types/events/payloads/thinking.d.ts +119 -0
- package/dist/types/events/payloads/thinking.d.ts.map +1 -0
- package/dist/types/events/payloads/toolCatalog.d.ts +158 -0
- package/dist/types/events/payloads/toolCatalog.d.ts.map +1 -0
- package/dist/types/events/payloads/toolChoice.d.ts +66 -0
- package/dist/types/events/payloads/toolChoice.d.ts.map +1 -0
- package/dist/types/events/payloads/toolEffects.d.ts +330 -0
- package/dist/types/events/payloads/toolEffects.d.ts.map +1 -0
- package/dist/types/events/payloads/toolSemantics.d.ts +69 -0
- package/dist/types/events/payloads/toolSemantics.d.ts.map +1 -0
- package/dist/types/events/payloads/toolSessionPayloads.d.ts +51 -0
- package/dist/types/events/payloads/toolSessionPayloads.d.ts.map +1 -0
- package/dist/types/events/payloads/validation.d.ts +30 -0
- package/dist/types/events/payloads/validation.d.ts.map +1 -0
- package/dist/types/events/payloads.d.ts +26 -3888
- package/dist/types/events/payloads.d.ts.map +1 -1
- package/dist/types/events/registry.d.ts +8 -15
- package/dist/types/events/registry.d.ts.map +1 -1
- package/dist/types/hosting/answeredPause.d.ts +9 -23
- package/dist/types/hosting/answeredPause.d.ts.map +1 -1
- package/dist/types/hosting/durability.d.ts +10 -7
- package/dist/types/hosting/durability.d.ts.map +1 -1
- package/dist/types/hosting/standingAgent.d.ts +4 -14
- package/dist/types/hosting/standingAgent.d.ts.map +1 -1
- package/dist/types/hosting/stream.d.ts +3 -3
- package/dist/types/hosting/stream.d.ts.map +1 -1
- package/dist/types/hosting/streamHandler.d.ts.map +1 -1
- package/dist/types/index.d.ts +2 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/injection-engine/devWarn.d.ts +3 -2
- package/dist/types/injection-engine/devWarn.d.ts.map +1 -1
- package/dist/types/injection-engine/hostContract.d.ts +3 -3
- package/dist/types/injection-engine/skillExamples.d.ts +1 -1
- package/dist/types/injection-engine/skillGraph/cursorEvidence.d.ts +49 -0
- package/dist/types/injection-engine/skillGraph/cursorEvidence.d.ts.map +1 -0
- package/dist/types/injection-engine/skillGraph/cursorResolution.d.ts +5 -0
- package/dist/types/injection-engine/skillGraph/cursorResolution.d.ts.map +1 -0
- package/dist/types/injection-engine/skillGraph/decision.d.ts +22 -0
- package/dist/types/injection-engine/skillGraph/decision.d.ts.map +1 -0
- package/dist/types/injection-engine/skillGraph/entryScores.d.ts +15 -0
- package/dist/types/injection-engine/skillGraph/entryScores.d.ts.map +1 -0
- package/dist/types/injection-engine/skillGraph/entrySuppression.d.ts +24 -0
- package/dist/types/injection-engine/skillGraph/entrySuppression.d.ts.map +1 -0
- package/dist/types/injection-engine/skillGraph/graphConfig.d.ts +40 -0
- package/dist/types/injection-engine/skillGraph/graphConfig.d.ts.map +1 -0
- package/dist/types/injection-engine/skillGraph/graphContracts.d.ts +480 -0
- package/dist/types/injection-engine/skillGraph/graphContracts.d.ts.map +1 -0
- package/dist/types/injection-engine/skillGraph/graphCursor.d.ts +126 -0
- package/dist/types/injection-engine/skillGraph/graphCursor.d.ts.map +1 -0
- package/dist/types/injection-engine/skillGraph/graphDrawing.d.ts +3 -0
- package/dist/types/injection-engine/skillGraph/graphDrawing.d.ts.map +1 -0
- package/dist/types/injection-engine/skillGraph/graphRoutes.d.ts +270 -0
- package/dist/types/injection-engine/skillGraph/graphRoutes.d.ts.map +1 -0
- package/dist/types/injection-engine/skillGraph/passMemo.d.ts +25 -0
- package/dist/types/injection-engine/skillGraph/passMemo.d.ts.map +1 -0
- package/dist/types/injection-engine/skillGraph/reachability.d.ts +72 -0
- package/dist/types/injection-engine/skillGraph/reachability.d.ts.map +1 -0
- package/dist/types/injection-engine/skillGraph/routePredicates.d.ts +37 -0
- package/dist/types/injection-engine/skillGraph/routePredicates.d.ts.map +1 -0
- package/dist/types/injection-engine/skillGraph/routingView.d.ts +4 -0
- package/dist/types/injection-engine/skillGraph/routingView.d.ts.map +1 -0
- package/dist/types/injection-engine/skillGraph/treeCompilation.d.ts +39 -0
- package/dist/types/injection-engine/skillGraph/treeCompilation.d.ts.map +1 -0
- package/dist/types/injection-engine/skillGraph/triggerCompilation.d.ts +17 -0
- package/dist/types/injection-engine/skillGraph/triggerCompilation.d.ts.map +1 -0
- package/dist/types/injection-engine/skillGraph.d.ts +12 -948
- package/dist/types/injection-engine/skillGraph.d.ts.map +1 -1
- package/dist/types/injection-engine/skillIntent.d.ts +1 -1
- package/dist/types/injection-engine/skillIntent.d.ts.map +1 -1
- package/dist/types/injection-engine/skillMatch.d.ts +2 -1
- package/dist/types/injection-engine/skillMatch.d.ts.map +1 -1
- package/dist/types/injection-engine/startRuleClaim.d.ts +1 -1
- package/dist/types/injection-engine/types.d.ts +1 -1
- package/dist/types/lib/cosine.d.ts.map +1 -0
- package/dist/types/lib/iterationBudget.d.ts +3 -0
- package/dist/types/lib/iterationBudget.d.ts.map +1 -1
- package/dist/types/lib/saidByPerson.d.ts +1 -0
- package/dist/types/lib/saidByPerson.d.ts.map +1 -1
- package/dist/types/lib/toolBytes.d.ts +1 -1
- package/dist/types/memory/causal/evidenceRecorder.d.ts +8 -56
- package/dist/types/memory/causal/evidenceRecorder.d.ts.map +1 -1
- package/dist/types/memory/causal/loadSnapshot.d.ts.map +1 -1
- package/dist/types/memory/causal/observation.d.ts +73 -0
- package/dist/types/memory/causal/observation.d.ts.map +1 -0
- package/dist/types/memory/causal/snapshotProjection.d.ts +6 -0
- package/dist/types/memory/causal/snapshotProjection.d.ts.map +1 -0
- package/dist/types/memory/causal/snapshotSchema.d.ts +9 -0
- package/dist/types/memory/causal/snapshotSchema.d.ts.map +1 -0
- package/dist/types/memory/causal/types.d.ts +5 -82
- package/dist/types/memory/causal/types.d.ts.map +1 -1
- package/dist/types/memory/causal/writeSnapshot.d.ts.map +1 -1
- package/dist/types/memory/embedding/index.d.ts +1 -1
- package/dist/types/memory/embedding/index.d.ts.map +1 -1
- package/dist/types/memory/stages/types.d.ts +1 -1
- package/dist/types/memory/wire/mountMemoryPipeline.d.ts +7 -7
- package/dist/types/memory/wire/mountMemoryPipeline.d.ts.map +1 -1
- package/dist/types/patterns/LlmRouter.d.ts +11 -149
- package/dist/types/patterns/LlmRouter.d.ts.map +1 -1
- package/dist/types/patterns/LlmSwarm.d.ts +5 -49
- package/dist/types/patterns/LlmSwarm.d.ts.map +1 -1
- package/dist/types/patterns/MapReduce.d.ts.map +1 -1
- package/dist/types/patterns/Swarm.d.ts +14 -45
- package/dist/types/patterns/Swarm.d.ts.map +1 -1
- package/dist/types/patterns/index.d.ts +1 -1
- package/dist/types/patterns/index.d.ts.map +1 -1
- package/dist/types/patterns/routing.d.ts +16 -0
- package/dist/types/patterns/routing.d.ts.map +1 -0
- package/dist/types/provider-contract/types.d.ts +5 -5
- package/dist/types/recorders/core/CompactionMeter.d.ts +1 -1
- package/dist/types/recorders/observability/BoundaryRecorder.d.ts +13 -427
- package/dist/types/recorders/observability/BoundaryRecorder.d.ts.map +1 -1
- package/dist/types/recorders/observability/boundaryRecorder/agentInternal.d.ts +14 -0
- package/dist/types/recorders/observability/boundaryRecorder/agentInternal.d.ts.map +1 -0
- package/dist/types/recorders/observability/boundaryRecorder/domainEvents.d.ts +211 -0
- package/dist/types/recorders/observability/boundaryRecorder/domainEvents.d.ts.map +1 -0
- package/dist/types/recorders/observability/boundaryRecorder/eventBuilders.d.ts +12 -0
- package/dist/types/recorders/observability/boundaryRecorder/eventBuilders.d.ts.map +1 -0
- package/dist/types/recorders/observability/boundaryRecorder/flowEvents.d.ts +13 -0
- package/dist/types/recorders/observability/boundaryRecorder/flowEvents.d.ts.map +1 -0
- package/dist/types/recorders/observability/boundaryRecorder/leanContent.d.ts +53 -0
- package/dist/types/recorders/observability/boundaryRecorder/leanContent.d.ts.map +1 -0
- package/dist/types/recorders/observability/boundaryRecorder/options.d.ts +96 -0
- package/dist/types/recorders/observability/boundaryRecorder/options.d.ts.map +1 -0
- package/dist/types/recorders/observability/boundaryRecorder/rangeLabels.d.ts +34 -0
- package/dist/types/recorders/observability/boundaryRecorder/rangeLabels.d.ts.map +1 -0
- package/dist/types/recorders/observability/boundaryRecorder/rollups.d.ts +54 -0
- package/dist/types/recorders/observability/boundaryRecorder/rollups.d.ts.map +1 -0
- package/dist/types/recorders/observability/fileRecordingSink.d.ts +2 -4
- package/dist/types/recorders/observability/fileRecordingSink.d.ts.map +1 -1
- package/dist/types/recorders/observability/recordingEnvelope.d.ts +6 -10
- package/dist/types/recorders/observability/recordingEnvelope.d.ts.map +1 -1
- package/dist/types/redaction/coverage.d.ts +5 -3
- package/dist/types/redaction/coverage.d.ts.map +1 -1
- package/dist/types/redaction/declared.d.ts +4 -0
- package/dist/types/redaction/declared.d.ts.map +1 -1
- package/dist/types/redaction/knownStrings.d.ts +5 -34
- package/dist/types/redaction/knownStrings.d.ts.map +1 -1
- package/dist/types/redaction/marker.d.ts +1 -1
- package/dist/types/redaction/privateCaller.d.ts +44 -0
- package/dist/types/redaction/privateCaller.d.ts.map +1 -0
- package/dist/types/redaction/privateCheckpoint.d.ts +23 -0
- package/dist/types/redaction/privateCheckpoint.d.ts.map +1 -0
- package/dist/types/redaction/privateFields.d.ts +29 -0
- package/dist/types/redaction/privateFields.d.ts.map +1 -0
- package/dist/types/redaction/privateRun.d.ts +33 -0
- package/dist/types/redaction/privateRun.d.ts.map +1 -0
- package/dist/types/redaction/runRedaction.d.ts +47 -41
- package/dist/types/redaction/runRedaction.d.ts.map +1 -1
- package/dist/types/redaction/served.d.ts +10 -4
- package/dist/types/redaction/served.d.ts.map +1 -1
- package/dist/types/resilience/withCircuitBreaker.d.ts +1 -1
- package/dist/types/semantics/coverage/composedCoverage.d.ts +1 -1
- package/dist/types/semantics/coverage/items.d.ts +1 -1
- package/dist/types/semantics/coverage/read.d.ts +3 -3
- package/dist/types/semantics/types.d.ts +1 -1
- package/dist/types/time/drift.d.ts +1 -1
- package/dist/types/time-travel/servedView/assembly.d.ts +5 -0
- package/dist/types/time-travel/servedView/assembly.d.ts.map +1 -0
- package/dist/types/time-travel/servedView/conversation.d.ts +9 -0
- package/dist/types/time-travel/servedView/conversation.d.ts.map +1 -0
- package/dist/types/time-travel/servedView/findings.d.ts +12 -0
- package/dist/types/time-travel/servedView/findings.d.ts.map +1 -0
- package/dist/types/time-travel/servedView/gaps.d.ts +77 -0
- package/dist/types/time-travel/servedView/gaps.d.ts.map +1 -0
- package/dist/types/time-travel/servedView/ontology.d.ts +5 -0
- package/dist/types/time-travel/servedView/ontology.d.ts.map +1 -0
- package/dist/types/time-travel/servedView/recordReads.d.ts +45 -0
- package/dist/types/time-travel/servedView/recordReads.d.ts.map +1 -0
- package/dist/types/time-travel/servedView/requestOnly.d.ts +7 -0
- package/dist/types/time-travel/servedView/requestOnly.d.ts.map +1 -0
- package/dist/types/time-travel/servedView/system.d.ts +16 -0
- package/dist/types/time-travel/servedView/system.d.ts.map +1 -0
- package/dist/types/time-travel/servedView/tools.d.ts +10 -0
- package/dist/types/time-travel/servedView/tools.d.ts.map +1 -0
- package/dist/types/time-travel/servedView/value.d.ts +39 -0
- package/dist/types/time-travel/servedView/value.d.ts.map +1 -0
- package/dist/types/time-travel/servedView.d.ts +5 -65
- package/dist/types/time-travel/servedView.d.ts.map +1 -1
- package/dist/types/tools/displayName.d.ts +7 -0
- package/dist/types/tools/displayName.d.ts.map +1 -0
- package/dist/types/tools/finiteLabel.d.ts +17 -0
- package/dist/types/tools/finiteLabel.d.ts.map +1 -0
- package/dist/types/tools/inputRequest.d.ts +1 -1
- package/dist/types/tools/toolParty.d.ts +18 -0
- package/dist/types/tools/toolParty.d.ts.map +1 -0
- package/dist/types/tools/toolProvider.d.ts +1 -0
- package/dist/types/tools/toolProvider.d.ts.map +1 -1
- package/dist/types/tools/toolResourceOwner.d.ts +28 -0
- package/dist/types/tools/toolResourceOwner.d.ts.map +1 -0
- package/dist/types/tools/toolSessions/contracts.d.ts +131 -0
- package/dist/types/tools/toolSessions/contracts.d.ts.map +1 -0
- package/dist/types/tools/toolSessions/keys.d.ts +54 -0
- package/dist/types/tools/toolSessions/keys.d.ts.map +1 -0
- package/dist/types/tools/toolSessions/localStatus.d.ts +8 -0
- package/dist/types/tools/toolSessions/localStatus.d.ts.map +1 -0
- package/dist/types/tools/toolSessions.d.ts +30 -178
- package/dist/types/tools/toolSessions.d.ts.map +1 -1
- package/dist/types/tools/tools.d.ts +6 -8
- package/dist/types/tools/tools.d.ts.map +1 -1
- package/dist/types/trace-toolpack/traceToolpack/artifactFacts.d.ts +16 -0
- package/dist/types/trace-toolpack/traceToolpack/artifactFacts.d.ts.map +1 -0
- package/dist/types/trace-toolpack/traceToolpack/backtrackView.d.ts +18 -0
- package/dist/types/trace-toolpack/traceToolpack/backtrackView.d.ts.map +1 -0
- package/dist/types/trace-toolpack/traceToolpack/contextErrors.d.ts +44 -0
- package/dist/types/trace-toolpack/traceToolpack/contextErrors.d.ts.map +1 -0
- package/dist/types/trace-toolpack/traceToolpack/findInTrace.d.ts +27 -0
- package/dist/types/trace-toolpack/traceToolpack/findInTrace.d.ts.map +1 -0
- package/dist/types/trace-toolpack/traceToolpack/findingEvidence.d.ts +74 -0
- package/dist/types/trace-toolpack/traceToolpack/findingEvidence.d.ts.map +1 -0
- package/dist/types/trace-toolpack/traceToolpack/innerRecords.d.ts +12 -0
- package/dist/types/trace-toolpack/traceToolpack/innerRecords.d.ts.map +1 -0
- package/dist/types/trace-toolpack/traceToolpack/narrativeView.d.ts +4 -0
- package/dist/types/trace-toolpack/traceToolpack/narrativeView.d.ts.map +1 -0
- package/dist/types/trace-toolpack/traceToolpack/navigationHints.d.ts +7 -0
- package/dist/types/trace-toolpack/traceToolpack/navigationHints.d.ts.map +1 -0
- package/dist/types/trace-toolpack/traceToolpack/nodeView.d.ts +6 -0
- package/dist/types/trace-toolpack/traceToolpack/nodeView.d.ts.map +1 -0
- package/dist/types/trace-toolpack/traceToolpack/packIndex.d.ts +70 -0
- package/dist/types/trace-toolpack/traceToolpack/packIndex.d.ts.map +1 -0
- package/dist/types/trace-toolpack/traceToolpack/parameterSchemas.d.ts +11 -0
- package/dist/types/trace-toolpack/traceToolpack/parameterSchemas.d.ts.map +1 -0
- package/dist/types/trace-toolpack/traceToolpack/recursiveFactory.d.ts +41 -0
- package/dist/types/trace-toolpack/traceToolpack/recursiveFactory.d.ts.map +1 -0
- package/dist/types/trace-toolpack/traceToolpack/runOverview.d.ts +6 -0
- package/dist/types/trace-toolpack/traceToolpack/runOverview.d.ts.map +1 -0
- package/dist/types/trace-toolpack/traceToolpack/sliceView.d.ts +6 -0
- package/dist/types/trace-toolpack/traceToolpack/sliceView.d.ts.map +1 -0
- package/dist/types/trace-toolpack/traceToolpack/structuralLimits.d.ts +42 -0
- package/dist/types/trace-toolpack/traceToolpack/structuralLimits.d.ts.map +1 -0
- package/dist/types/trace-toolpack/traceToolpack/toolCallJournal.d.ts +106 -0
- package/dist/types/trace-toolpack/traceToolpack/toolCallJournal.d.ts.map +1 -0
- package/dist/types/trace-toolpack/traceToolpack/valueLines.d.ts +30 -0
- package/dist/types/trace-toolpack/traceToolpack/valueLines.d.ts.map +1 -0
- package/dist/types/trace-toolpack/traceToolpack/valueQueries.d.ts +7 -0
- package/dist/types/trace-toolpack/traceToolpack/valueQueries.d.ts.map +1 -0
- package/dist/types/trace-toolpack/traceToolpack/writerHints.d.ts +14 -0
- package/dist/types/trace-toolpack/traceToolpack/writerHints.d.ts.map +1 -0
- package/dist/types/trace-toolpack/traceToolpack.d.ts +15 -40
- package/dist/types/trace-toolpack/traceToolpack.d.ts.map +1 -1
- package/package.json +7 -6
- package/dist/core/agent/stages/toolCalls.js +0 -6194
- package/dist/core/agent/stages/toolCalls.js.map +0 -1
- package/dist/esm/core/agent/stages/toolCalls.d.ts +0 -895
- package/dist/esm/core/agent/stages/toolCalls.js +0 -6159
- package/dist/esm/core/agent/stages/toolCalls.js.map +0 -1
- package/dist/esm/memory/embedding/cosine.js.map +0 -1
- package/dist/memory/embedding/cosine.js.map +0 -1
- package/dist/types/core/agent/stages/toolCalls.d.ts +0 -896
- package/dist/types/core/agent/stages/toolCalls.d.ts.map +0 -1
- package/dist/types/memory/embedding/cosine.d.ts.map +0 -1
- /package/dist/esm/{memory/embedding → lib}/cosine.d.ts +0 -0
- /package/dist/esm/{memory/embedding → lib}/cosine.js +0 -0
- /package/dist/{memory/embedding → lib}/cosine.js +0 -0
- /package/dist/types/{memory/embedding → lib}/cosine.d.ts +0 -0
|
@@ -1,895 +0,0 @@
|
|
|
1
|
-
import type { PausableHandler, TypedScope } from 'footprintjs';
|
|
2
|
-
import type { LLMMessage, PermissionChecker } from '../../../provider-contract/types.js';
|
|
3
|
-
import type { AgentfootprintEventType } from '../../../events/registry.js';
|
|
4
|
-
import { type TurnRoute } from '../../../injection-engine/routingPolicy.js';
|
|
5
|
-
import { type SkillTargetClass } from '../../../injection-engine/skillGraph.js';
|
|
6
|
-
import { type SpokenIds } from '../../../lib/spokenIds.js';
|
|
7
|
-
import type { ToolProvider } from '../../../tools/toolProvider.js';
|
|
8
|
-
import type { CredentialProvider } from '../../../identity/types.js';
|
|
9
|
-
import { type RequestContext } from '../../../identity/requestContext.js';
|
|
10
|
-
import type { ArtifactStore } from '../../../artifacts/types.js';
|
|
11
|
-
import { type ArtifactPlacement } from '../../../artifacts/placement.js';
|
|
12
|
-
import type { AuthorizationRequiredMode } from '../../../identity/consent.js';
|
|
13
|
-
import { type AnsweredAsk } from '../../../tools/inputRequest.js';
|
|
14
|
-
import { type ResolvedCheckInConfig } from '../../checkin.js';
|
|
15
|
-
import { type DecisionLedger } from '../../consentRequest.js';
|
|
16
|
-
import type { ProviderToolCache, ServedToolParties } from '../../slots/buildToolsSlot.js';
|
|
17
|
-
import type { ToolClaim } from '../buildToolRegistry.js';
|
|
18
|
-
import type { Tool } from '../../../tools/tools.js';
|
|
19
|
-
import type { MemoryIdentity } from '../../../memory/identity/types.js';
|
|
20
|
-
import type { ToolSessionTier } from '../../../tools/toolSessions.js';
|
|
21
|
-
import type { ToolMiddleware } from '../middleware/types.js';
|
|
22
|
-
import type { Classifier } from '../../../classify/types.js';
|
|
23
|
-
import type { ReadRunTime } from '../../../time/clock.js';
|
|
24
|
-
import type { ZoneName } from '../../../time/zone.js';
|
|
25
|
-
import type { TimePolicy } from '../../../time/resolveRecord.js';
|
|
26
|
-
import type { TimeAskMessages } from '../../../time/ask.js';
|
|
27
|
-
import type { ResolvedEvidenceGate } from '../evidence/types.js';
|
|
28
|
-
import { type ToolArgValidationMode } from '../../../tools/toolArgsValidation.js';
|
|
29
|
-
import { type StepPlanFor } from '../../../injection-engine/skillSteps.js';
|
|
30
|
-
import type { ProducedResult } from '../../../integrity/empty-lookup/check.js';
|
|
31
|
-
import type { ColumnCheckMode } from '../../../integrity/column-types/check.js';
|
|
32
|
-
import type { ToolResultColumns } from '../../../integrity/column-types/types.js';
|
|
33
|
-
import type { AgentState } from '../types.js';
|
|
34
|
-
export interface ToolCallsHandlerDeps {
|
|
35
|
-
/** Map from tool name → Tool instance, built from the augmented
|
|
36
|
-
* registry (static .tool() entries + read_skill if any skills +
|
|
37
|
-
* shared skill tools). The dispatch primary lookup. */
|
|
38
|
-
readonly registryByName: ReadonlyMap<string, Tool>;
|
|
39
|
-
/**
|
|
40
|
-
* True when the agent declared a `.claims()` contract (9.61.0). The claim
|
|
41
|
-
* ledger accumulates ONLY then: an agent whose tools return semantic
|
|
42
|
-
* envelopes but who declared no contract has nothing that would ever read
|
|
43
|
-
* those rows, and writing them would be committed state — and a growing
|
|
44
|
-
* checkpoint — bought for nobody.
|
|
45
|
-
*/
|
|
46
|
-
readonly collectClaimFacts?: boolean;
|
|
47
|
-
/**
|
|
48
|
-
* THE FINDINGS LEDGER IS ARMED (9.101.0, `.findings()`) — present only
|
|
49
|
-
* then, only ever `true`. Three things happen in `execute` and nowhere
|
|
50
|
-
* else, each gated on this: the previous batch's STANDINGS are read off
|
|
51
|
-
* every call's `_findings.previous` before `toolResults` is reset; the
|
|
52
|
-
* reserved argument is PEELED off each call's args as the first read of
|
|
53
|
-
* `tc.args` in the loop (`peelCall` — unless the tool answering the name
|
|
54
|
-
* owns the property, when the value is the author's argument), so
|
|
55
|
-
* `callArgs` — middleware, validation, check-in evidence, wants,
|
|
56
|
-
* credentials, execute, the pause and halt carriers — never sees the
|
|
57
|
-
* model's declaration; and a BASIS row is filed the moment a call
|
|
58
|
-
* declares one, before `tool_start` and before any pause `return`. The
|
|
59
|
-
* resume doors file nothing (the pre-pause commit already has the row).
|
|
60
|
-
* History keeps `toolCalls[].args` verbatim: the emission. Absent — the
|
|
61
|
-
* default — and not one of those lines runs.
|
|
62
|
-
*/
|
|
63
|
-
readonly findings?: true;
|
|
64
|
-
/**
|
|
65
|
-
* THE SCRIPT RECORD IS ARMED — `.namesAndNumbersFromEvidence({ code:
|
|
66
|
-
* 'match' })` or `.scriptTravelsWithTheAnswer()`; present only then, only
|
|
67
|
-
* ever `true`. Each call of a tool that declares `Tool.script` files ONE
|
|
68
|
-
* `script` row (`../scripts/rows.ts`) where the call settles — every
|
|
69
|
-
* `tool_end`-emitting path and the batch settlement — and a `submitted`
|
|
70
|
-
* row, without its text, where it pauses: the program SUBMITTED to the
|
|
71
|
-
* tool (the arguments handed to `execute`, after any before-tool
|
|
72
|
-
* middleware) and the label its execution record earns
|
|
73
|
-
* (`../scripts/label.ts`). Never evidence, never on an event. Absent — the
|
|
74
|
-
* default — and not one line of it runs, and no tool is asked for its
|
|
75
|
-
* declaration.
|
|
76
|
-
*/
|
|
77
|
-
readonly scriptRecord?: true;
|
|
78
|
-
/**
|
|
79
|
-
* THE INPUTS LAYER IS MOUNTED (honesty layer 2) — present only then, only
|
|
80
|
-
* ever `true`. Under it, the batch loop reads `argumentResolutions` (what
|
|
81
|
-
* `sf-inputs` resolved for THIS batch — entries stamped with another
|
|
82
|
-
* iteration are ignored) and, per call, applies the entry AFTER
|
|
83
|
-
* `tool_start` (which keeps the model's proposal) and BEFORE the permission
|
|
84
|
-
* check: a fill builds a fresh `{ ...args, ...fills }` that permission,
|
|
85
|
-
* middleware, validation, check-in, credentials and execute all see, and a
|
|
86
|
-
* refused entry lands in the argument-refusal shape — after permission and
|
|
87
|
-
* BEFORE the middleware chain, so no middleware asks about a call that will
|
|
88
|
-
* not run (the ask-resume door re-applies it). A call that ran on a filled
|
|
89
|
-
* value gets the layer's past-tense note after the tool's own bytes — one
|
|
90
|
-
* clause per fill it really ran with — and its history message carries
|
|
91
|
-
* `toolChars`. ABSENT, a call whose tool declares argument rules is REFUSED
|
|
92
|
-
* (fail closed — a ToolProvider served it and the build could not see it),
|
|
93
|
-
* at the same place and at the same door, with one warning naming
|
|
94
|
-
* `.inputsLayer()`; every other call runs exactly as it always did.
|
|
95
|
-
*/
|
|
96
|
-
readonly inputsLayer?: true;
|
|
97
|
-
/**
|
|
98
|
-
* DECLARED SOURCES ARE ARMED (honesty layer 2, `.findings({ argumentSources:
|
|
99
|
-
* true })` or `.inputsLayer({ argumentSources: true })`) — present only
|
|
100
|
-
* then, only ever `true`, and only beside `inputsLayer`. The per-call peel
|
|
101
|
-
* reads `_findings.from` exactly as the inputs layer read it
|
|
102
|
-
* (`findings/reserved.ts` · `splitFindings`'s arms), so a `from`-only
|
|
103
|
-
* declaration is readable and — beside `findings` — a dropped `from` entry
|
|
104
|
-
* is counted on the call's basis row. WITHOUT `findings` the peel takes the
|
|
105
|
-
* argument off a RULED tool's calls only (the only ones it was planted on)
|
|
106
|
-
* and files no basis row: the layer put the count on the call's first
|
|
107
|
-
* argument row. An answered note gains the clause that a later call may cite
|
|
108
|
-
* the answer. The checks themselves ran in the layer, before this stage;
|
|
109
|
-
* nothing else here reads `from`.
|
|
110
|
-
*/
|
|
111
|
-
readonly argumentSources?: true;
|
|
112
|
-
/**
|
|
113
|
-
* The results layer is mounted (honesty layer 3, step 7b) — a registered
|
|
114
|
-
* tool declares a `ToolPeriod`, or the agent was built with
|
|
115
|
-
* `.resultsLayer()`. Present: dispatch stamps the batch with the iteration
|
|
116
|
-
* that ran it (`AgentState.toolResultsIteration`, how the layer tells a
|
|
117
|
-
* batch from a re-entry), and the one ledger writer stamps the turn.
|
|
118
|
-
* Absent: a result that declares a `period` is still recorded (the tool's
|
|
119
|
-
* declaration rides `coverageDeclared` and the events either way), and a
|
|
120
|
-
* dev warning says, once per tool, that no verdict will be filed for it.
|
|
121
|
-
*/
|
|
122
|
-
readonly resultsLayer?: true;
|
|
123
|
-
/**
|
|
124
|
-
* `.negativeClaims()` is armed: a
|
|
125
|
-
* composed absence's `tools.absent` carries `lookedForRef` in place of
|
|
126
|
-
* `lookedFor`. Composed values ride no event in any mode; unarmed,
|
|
127
|
-
* `lookedFor` is today's bytes. Absent → unarmed.
|
|
128
|
-
*
|
|
129
|
-
* @internal
|
|
130
|
-
*/
|
|
131
|
-
readonly negativeClaimsArmed?: boolean;
|
|
132
|
-
/**
|
|
133
|
-
* THE ANSWER LAYER IS ARMED (honesty layer 4, `.answerLayer()`) — the ONE
|
|
134
|
-
* thing it changes here is the turn stamp: while any honesty layer is armed
|
|
135
|
-
* the one writer stamps every row it files with the conversation turn
|
|
136
|
-
* (adopted Q6), so the rows this handler files (basis, standing, judgment,
|
|
137
|
-
* contingent) carry `turn`. Absent → the rows are filed as they always were.
|
|
138
|
-
*/
|
|
139
|
-
readonly answerLayer?: true;
|
|
140
|
-
/**
|
|
141
|
-
* The host's own context for the inputs layer's batch ask
|
|
142
|
-
* (`AgentOptions.argumentAskContext`) — called when an ask is built, its
|
|
143
|
-
* object spread into the ask's `context` beside the library's reserved key
|
|
144
|
-
* (`arguments/ask.ts` · `judgeAskContextHook`). Present only when the agent
|
|
145
|
-
* configured one; read only when an ask is raised.
|
|
146
|
-
*/
|
|
147
|
-
readonly argumentAskContext?: () => unknown;
|
|
148
|
-
/**
|
|
149
|
-
* THE JUDGE (9.104.0, `.findings({ judge })`) — present only with the arm
|
|
150
|
-
* and only when a classifier was configured. After every landed result is
|
|
151
|
-
* committed to `toolResults` — the execute loop and the four resume doors
|
|
152
|
-
* alike — `findings/judge.ts · judgeResult` spends one classifier call and
|
|
153
|
-
* files a `JudgmentRow` (or a `JudgmentErrorRow`) BEFORE the next model
|
|
154
|
-
* call, so the record carries the second source's reading beside the
|
|
155
|
-
* model's before anything is served; nothing is served from it in this
|
|
156
|
-
* release. Only a result the TOOL produced is judged — a denial, a halt,
|
|
157
|
-
* a fail-closed refusal or a declined check-in is the library's sentence
|
|
158
|
-
* about a call that never ran, never evidence (`judgeLanded`). Absent —
|
|
159
|
-
* the default — and not one line runs.
|
|
160
|
-
*/
|
|
161
|
-
readonly findingsJudge?: Classifier;
|
|
162
|
-
/**
|
|
163
|
-
* THE TOWERS AT DISPATCH (9.110.0, `.findings()` beside
|
|
164
|
-
* `.namesAndNumbersFromEvidence()`) — the resolved evidence gate, present
|
|
165
|
-
* ONLY when both doors are armed. Under it, once per batch and only when
|
|
166
|
-
* the ledger's fold holds a set-aside standing (`open`, `noise`,
|
|
167
|
-
* `ruled-out`), the batch's evidence corpus is built from the history this
|
|
168
|
-
* call was served (`evidence/evidenceIndex.ts · evidenceFromHistory` —
|
|
169
|
-
* the same fold the route decider asks at the answer, one stage earlier)
|
|
170
|
-
* and every call's peeled arguments are read for DATA values the corpus
|
|
171
|
-
* holds (`findings/contingent.ts · groundedArgumentValues`); a value whose
|
|
172
|
-
* every carrier the model itself set aside files a `ContingentRow` through
|
|
173
|
-
* the one writer, after the call's basis row and before `tool_start`.
|
|
174
|
-
* Absent — the default, and every agent with one door or neither — and not
|
|
175
|
-
* one line runs.
|
|
176
|
-
*/
|
|
177
|
-
readonly evidenceGate?: ResolvedEvidenceGate;
|
|
178
|
-
/**
|
|
179
|
-
* THE WRITE SEAM (9.77.0, `empty-lookup`) — the declared argument-ground
|
|
180
|
-
* edges (`Tool.argumentsFrom`) by tool name, present ONLY when the operator
|
|
181
|
-
* turned `AgentOptions.noticeEmptyLookups` on AND at least one tool declares
|
|
182
|
-
* one. Absent — the default — and not one line of the check runs.
|
|
183
|
-
*
|
|
184
|
-
* The same harvested map `callLLM` reads for the choice seam, and passed
|
|
185
|
-
* rather than re-derived from `registryByName` on purpose: the two stages
|
|
186
|
-
* must agree, by construction, about which calls are armed. Deriving it here
|
|
187
|
-
* would arm `ToolProvider`-delivered tools that the choice seam structurally
|
|
188
|
-
* cannot see, and the two seams' ledger rows would then disagree about the
|
|
189
|
-
* same run.
|
|
190
|
-
*/
|
|
191
|
-
readonly emptyLookupGrounding?: ReadonlyMap<string, readonly string[]>;
|
|
192
|
-
/**
|
|
193
|
-
* THE WRITE SEAM'S other check (9.78.0, the COLUMN-TYPE CONTRACT) — each
|
|
194
|
-
* declaring tool's `Tool.resultColumns` by tool name, present ONLY when the
|
|
195
|
-
* operator's `checkColumnTypes` dial is off `'off'` AND at least one tool
|
|
196
|
-
* declares columns. Absent — the default — and not one line of the check
|
|
197
|
-
* runs.
|
|
198
|
-
*
|
|
199
|
-
* Harvested in `Agent.buildChart` from the same catalog the other seams
|
|
200
|
-
* read, and passed rather than re-derived here for the `emptyLookupGrounding`
|
|
201
|
-
* reason: the stage that files the "nothing to judge this response"
|
|
202
|
-
* not-applicable row and the stage that judges must agree, by construction,
|
|
203
|
-
* about which tools are armed.
|
|
204
|
-
*/
|
|
205
|
-
readonly columnDeclarations?: ReadonlyMap<string, ToolResultColumns>;
|
|
206
|
-
/** What the boundary does with a column finding — `'warn'` files and changes
|
|
207
|
-
* nothing, `'enforce'` refuses the rows. Present with
|
|
208
|
-
* {@link ToolCallsDeps.columnDeclarations} or not at all. */
|
|
209
|
-
readonly columnCheckMode?: ColumnCheckMode;
|
|
210
|
-
/**
|
|
211
|
-
* The per-run disposition ledger, by REFERENCE (9.60.0) — the same holder
|
|
212
|
-
* `callLLM` and the tools slot are handed, shared through the build closure
|
|
213
|
-
* and never scope state. Read by the write-seam check only; a handler built
|
|
214
|
-
* without it simply files no rows.
|
|
215
|
-
*/
|
|
216
|
-
readonly integrityLedger?: {
|
|
217
|
-
current: import('../../../integrity/disposition/ledger.js').DispositionLedger | undefined;
|
|
218
|
-
};
|
|
219
|
-
/**
|
|
220
|
-
* WHICH SKILLS DECLARE EACH TOOL NAME (9.86.0) — tool name → the ids of the
|
|
221
|
-
* skills whose `inject.tools` carry it, from `buildToolRegistry`, the one
|
|
222
|
-
* place that already walks every skill's tool array.
|
|
223
|
-
*
|
|
224
|
-
* Read by `dispatchRoster` and by nothing else: a role that may not see a
|
|
225
|
-
* skill may not be told the names of the tools that skill brought. A name is
|
|
226
|
-
* unnameable only when EVERY declaring skill is hidden, so a tool two skills
|
|
227
|
-
* share survives one of them being hidden.
|
|
228
|
-
*
|
|
229
|
-
* Absent for an agent with no skill-carried tools — the map is built only
|
|
230
|
-
* when at least one skill declares one — and then the roster is the raw
|
|
231
|
-
* dispatch set, exactly as it was.
|
|
232
|
-
*/
|
|
233
|
-
readonly toolDeclaringSkills?: ReadonlyMap<string, readonly string[]>;
|
|
234
|
-
/** Optional external `.toolProvider()` for per-iteration dynamic
|
|
235
|
-
* tools (skill-scoped, multi-tenant, etc.). Consulted only when
|
|
236
|
-
* the static registry doesn't have the tool. */
|
|
237
|
-
readonly externalToolProvider?: ToolProvider;
|
|
238
|
-
/**
|
|
239
|
-
* Cache populated by `buildToolsSlot` after each `provider.list(ctx)`
|
|
240
|
-
* call this iteration. Read here to avoid a second `list()` call
|
|
241
|
-
* (vital for async / network-backed providers). Same closure shared
|
|
242
|
-
* within one chart build.
|
|
243
|
-
*/
|
|
244
|
-
readonly providerToolCache?: ProviderToolCache;
|
|
245
|
-
/**
|
|
246
|
-
* Who put each name on this epoch's wire (9.92.0) — the tools slot's own
|
|
247
|
-
* record of its merge, shared by reference like `providerToolCache`. The
|
|
248
|
-
* first thing `lookupTool` consults, so the party whose contract the model
|
|
249
|
-
* read is the party that answers. Absent (a chart without the slot's
|
|
250
|
-
* record) → resolution order 1 alone, exactly as before 9.92.0.
|
|
251
|
-
*/
|
|
252
|
-
readonly servedTools?: ServedToolParties;
|
|
253
|
-
/**
|
|
254
|
-
* Every build-time claimant per tool name (9.92.0) — `buildToolRegistry`'s
|
|
255
|
-
* `toolClaimants`. Read for one thing: which party a registry-routed tool
|
|
256
|
-
* belongs to, so an off-wire dispatch can be REPORTED with its answering
|
|
257
|
-
* party (`tools.answered_off_wire`). Absent → `'registry'`.
|
|
258
|
-
*/
|
|
259
|
-
readonly toolClaimants?: ReadonlyMap<string, readonly ToolClaim[]>;
|
|
260
|
-
/** Optional permission gate. When present, every tool dispatch
|
|
261
|
-
* awaits `check({capability: 'tool_call', ...})` BEFORE executing.
|
|
262
|
-
* Throwing checkers are treated as deny-by-default. */
|
|
263
|
-
readonly permissionChecker?: PermissionChecker;
|
|
264
|
-
/** Optional credential provider (declare-and-push). When present, a tool's
|
|
265
|
-
* declared `needs` is resolved BEFORE execute and injected as `ctx.credential`;
|
|
266
|
-
* `ctx.credentials` exposes it for the pull escape hatch. */
|
|
267
|
-
readonly credentialProvider?: CredentialProvider;
|
|
268
|
-
/**
|
|
269
|
-
* The incoming request a call made in `scope` serves — the agent's own run's
|
|
270
|
-
* for its own scopes, the run a composition's link names on a mount, and
|
|
271
|
-
* `undefined` where no run carries one. Every credential call made in that
|
|
272
|
-
* scope (declared `needs`, the pull path, inner `ctx.tools` calls) carries
|
|
273
|
-
* it as `CredentialRequest.request` and nothing else (`bindRequest`), so a
|
|
274
|
-
* request-sourced credential can never serve another run. Absent → no call
|
|
275
|
-
* carries a request.
|
|
276
|
-
*/
|
|
277
|
-
readonly currentRequest?: (scope: object) => RequestContext | undefined;
|
|
278
|
-
/**
|
|
279
|
-
* The claim-check store (9.21.0). When present, every dispatch binds it to
|
|
280
|
-
* the run's scope (`scope.runIdentity` — the tuple memory scopes on) as
|
|
281
|
-
* `ctx.artifacts`, with `origin` stamped from the run's own facts and every
|
|
282
|
-
* mint/resolve/sweep/refusal emitted as `agentfootprint.artifacts.*`.
|
|
283
|
-
* Undefined — the default — and `ctx.artifacts` is the fail-closed teacher:
|
|
284
|
-
* byte-identical behavior and events (zero-cost-when-unused).
|
|
285
|
-
*/
|
|
286
|
-
readonly artifactStore?: ArtifactStore;
|
|
287
|
-
/**
|
|
288
|
-
* The placement threshold (9.22.0) — the operator's ref-ing dial. When set
|
|
289
|
-
* (only ever beside `artifactStore`; the Agent option's shape enforces it),
|
|
290
|
-
* every finalized tool result on every dispatch path is measured, and one
|
|
291
|
-
* whose text exceeds `maxInlineChars` is checked into the store (under the
|
|
292
|
-
* tool's declared `resultKind`, or `tool-result/<toolName>` when it
|
|
293
|
-
* declares none) with the model reading the claim ticket
|
|
294
|
-
* instead. Judged AFTER the tool's own `resultCeiling` and the after-tool
|
|
295
|
-
* chain, BEFORE the `maxToolResultChars` truncation net. Undefined — the
|
|
296
|
-
* default — and results are never measured against it (zero-cost).
|
|
297
|
-
*/
|
|
298
|
-
readonly placement?: ArtifactPlacement;
|
|
299
|
-
/** Tool-args validation mode (#9). Default 'enforce': LLM-produced args
|
|
300
|
-
* are checked against the tool's `inputSchema` BEFORE dispatch; a
|
|
301
|
-
* mismatch rejects the call with a model-visible retry message.
|
|
302
|
-
* 'warn' emits the event but executes anyway; 'off' skips validation. */
|
|
303
|
-
readonly toolArgValidation?: ToolArgValidationMode;
|
|
304
|
-
/**
|
|
305
|
-
* The opt-in ceiling on ONE tool result, in characters (9.11.0).
|
|
306
|
-
*
|
|
307
|
-
* Undefined — the ordinary case — means results are never measured and never
|
|
308
|
-
* replaced, which is what every release before 9.11.0 did. Set, and EVERY
|
|
309
|
-
* result on EVERY dispatch path in this handler is measured against it; over
|
|
310
|
-
* the cap, the result the model reads and the result
|
|
311
|
-
* `agentfootprint.stream.tool_end` carries are both the marker. See
|
|
312
|
-
* `../toolResultCap.ts` for the shape and why it is opt-in.
|
|
313
|
-
*/
|
|
314
|
-
readonly maxToolResultChars?: number;
|
|
315
|
-
/**
|
|
316
|
-
* Tell the model when it has already made this exact call and already got
|
|
317
|
-
* this exact answer (9.26.0). Threaded from `AgentOptions.repeatedCallNudge`,
|
|
318
|
-
* and only when the operator turned it OFF — `undefined` here means the
|
|
319
|
-
* default, which is on.
|
|
320
|
-
*
|
|
321
|
-
* Applied at the BATCH dispatch loop only, which is where a turn's repeats
|
|
322
|
-
* actually happen. The pause-resume paths deliver a call a PERSON answered
|
|
323
|
-
* or approved, and a note telling the model it has already done what a human
|
|
324
|
-
* just authorised would be the framework arguing with the human.
|
|
325
|
-
*/
|
|
326
|
-
readonly repeatedCallNudge?: boolean;
|
|
327
|
-
/**
|
|
328
|
-
* Keep this run's tool-call ledger (`AgentState.toolCallLedger`) for an
|
|
329
|
-
* `answerValidation` check: name, call id and outcome per `stream.tool_end`
|
|
330
|
-
* bracket, at most `maxCalls`. Threaded ONLY on an agent with
|
|
331
|
-
* `answerValidation` — absent, no bracket writes anything, and the agent
|
|
332
|
-
* commits exactly the keys it always did.
|
|
333
|
-
*/
|
|
334
|
-
readonly toolCallLedger?: {
|
|
335
|
-
readonly maxCalls: number;
|
|
336
|
-
};
|
|
337
|
-
/**
|
|
338
|
-
* Skill-graph read_skill GATE (`graph.reachableSkills`). When present, a
|
|
339
|
-
* `read_skill('id')` whose `id` is not reachable from the current cursor is
|
|
340
|
-
* REJECTED — the model gets a synthetic re-prompt naming the allowed ids and
|
|
341
|
-
* the cursor/activations stay unchanged, so it can't leave the graph mid-run.
|
|
342
|
-
* Undefined → no gate (plain read_skill agents append as before).
|
|
343
|
-
*/
|
|
344
|
-
readonly allowedSkillIds?: (currentSkillId?: string) => readonly string[];
|
|
345
|
-
/**
|
|
346
|
-
* The OPEN skills — registered skills the graph never wires, admitted by the gate
|
|
347
|
-
* from ANY cursor (8.4.0; see `Agent.openSkillIds`). They ACTIVATE and never move
|
|
348
|
-
* the cursor: a skill the graph does not route is not a node, so it cannot be a
|
|
349
|
-
* hop. Only meaningful alongside `allowedSkillIds`.
|
|
350
|
-
*/
|
|
351
|
-
readonly openSkillIds?: readonly string[];
|
|
352
|
-
/**
|
|
353
|
-
* The mount kernel's plan (9.59.0) — present only on agents built with
|
|
354
|
-
* `.maps()`. Read for exactly one thing: to tell a cursor move from a
|
|
355
|
-
* RE-ENGAGEMENT at the gate below. Everything else about engagement stays
|
|
356
|
-
* the kernel's business.
|
|
357
|
-
*/
|
|
358
|
-
readonly engagementPlan?: import('../../../maps/engagement/types.js').EngagementPlan;
|
|
359
|
-
/**
|
|
360
|
-
* Is the mounted graph a decision `tree()`? Changes only the REFUSAL TEXT (8.5.0).
|
|
361
|
-
*
|
|
362
|
-
* A tree routes by predicate every iteration and has no cursor, so
|
|
363
|
-
* `reachableSkills()` is empty and every leaf pick is refused. Told with the
|
|
364
|
-
* generic message that reads "No skills are reachable from here", which is true
|
|
365
|
-
* but teaches nothing — the model would keep trying. The tree-shaped message says
|
|
366
|
-
* why the graph cannot be jumped at all, so the model stops asking and answers.
|
|
367
|
-
*/
|
|
368
|
-
readonly skillGraphIsTree?: boolean;
|
|
369
|
-
/**
|
|
370
|
-
* The frozen step plans, keyed by skill id (9.18.0) — set only when ≥1
|
|
371
|
-
* registered skill declares `steps`. This stage owns the pointer's two
|
|
372
|
-
* RESULT-BOUNDARY moves, applied at EVERY site a result becomes final and
|
|
373
|
-
* is pushed (the batch loop AND all the pausable resume paths — a step
|
|
374
|
-
* whose tool paused, an `askHuman` step first among them, must advance on
|
|
375
|
-
* the resumed call exactly as it would have inline):
|
|
376
|
-
*
|
|
377
|
-
* • ADVANCE — the finalized call is the current step's tool, ran, and
|
|
378
|
-
* was not an error/denial/refusal → pointer + 1, `step_advanced`, and
|
|
379
|
-
* the model-visible result gains the "now on step k+1" suffix
|
|
380
|
-
* (composed BEFORE the history push — one past, no splicing).
|
|
381
|
-
* • SKIP — a `skip_step` call: reason validated (empty → teaching
|
|
382
|
-
* result, no event), `step_skipped` emitted, pointer moved or held
|
|
383
|
-
* per the skill's declared `onSkip`, and the model-visible result is
|
|
384
|
-
* OVERWRITTEN with the authoritative sentence (the read_skill-refusal
|
|
385
|
-
* precedent — bookkeeping lives where the batch order lives).
|
|
386
|
-
*
|
|
387
|
-
* Postures never gate `skip_step`: skipping is judgment INSIDE a step,
|
|
388
|
-
* not routing. Undefined → no stepped skill anywhere; not one new line
|
|
389
|
-
* runs (zero-cost-when-unused).
|
|
390
|
-
*/
|
|
391
|
-
readonly stepPlanFor?: StepPlanFor;
|
|
392
|
-
/**
|
|
393
|
-
* The mount's routing POSTURE beyond reachability (SG-C `strictness`).
|
|
394
|
-
* Undefined = `'assist'` = today's gate, byte-for-byte — not one new line
|
|
395
|
-
* runs. Judged AFTER reachability (an unreachable pick keeps its original
|
|
396
|
-
* teaching refusal), and only on HOPS — an OPEN skill (`.selfExplain()`,
|
|
397
|
-
* a `.skill()` beside the graph) is admitted from anywhere under every
|
|
398
|
-
* posture, so debugging never breaks:
|
|
399
|
-
* • `'guard'` — a routing pick is admitted only while the turn's MENU is
|
|
400
|
-
* outstanding AND names an offered id (the framework declared the
|
|
401
|
-
* ambiguity; the model resolves exactly that). Off-menu / no-menu picks
|
|
402
|
-
* get a teaching refusal + `skill.rejected { posture: 'guard' }`.
|
|
403
|
-
* • `'rails'` — routing picks are refused outright: rules/scorer resolve
|
|
404
|
-
* turn starts, declared routes handle transitions.
|
|
405
|
-
* Same graph, same trace: postures change refusal behavior only.
|
|
406
|
-
*
|
|
407
|
-
* Read only by the `read_skill` gate below, and that is the whole scope:
|
|
408
|
-
* `applyToolEffects` never consults it, because a `propose-transition`
|
|
409
|
-
* comes from a tool — the author's own code — and is admitted under every
|
|
410
|
-
* posture against reachability alone. See `SkillGraphOptions.strictness`
|
|
411
|
-
* (AgentBuilder.ts), which states the exemption for authors.
|
|
412
|
-
*/
|
|
413
|
-
readonly skillStrictness?: 'guard' | 'rails';
|
|
414
|
-
/**
|
|
415
|
-
* Escalate-on-evidence (9.19.0). When declared, the two `skill.rejected`
|
|
416
|
-
* emit sites below increment a per-turn counter; at `afterRefusals` the
|
|
417
|
-
* rest of the turn flips onto the escalation brain (`scope.skillEscalated`
|
|
418
|
-
* — a committed fact callLLM's `brainFor` reads) and `skill.escalated`
|
|
419
|
-
* goes on the record ONCE. Undefined — the default — and not one new key
|
|
420
|
-
* is read or written (zero-cost-when-unused).
|
|
421
|
-
*/
|
|
422
|
-
readonly escalation?: {
|
|
423
|
-
readonly afterRefusals: number;
|
|
424
|
-
/** The declared escalation brain, for the event's `to`. */
|
|
425
|
-
readonly to: {
|
|
426
|
-
readonly provider: string;
|
|
427
|
-
readonly model?: string;
|
|
428
|
-
};
|
|
429
|
-
/** Resolve the brain that WAS serving (the event's honest `from`) — the
|
|
430
|
-
* same precedence chain callLLM applies, evaluated at the flip. */
|
|
431
|
-
readonly describeFrom: (cursor: string | undefined, resolvedModel: string | undefined) => {
|
|
432
|
-
readonly provider: string;
|
|
433
|
-
readonly model: string;
|
|
434
|
-
};
|
|
435
|
-
};
|
|
436
|
-
/**
|
|
437
|
-
* The registered injection ids a `require-instruction` tool effect may
|
|
438
|
-
* push, with the one fact its check-up needs (9.19.0): a skill whose
|
|
439
|
-
* declared body channel is `'tool-only'` cannot be pushed through the
|
|
440
|
-
* system slot — the slot suppresses it — so granting the lease would be
|
|
441
|
-
* accepted-and-silently-undelivered. Undefined → the agent registered no
|
|
442
|
-
* injections; every require-instruction is a teaching refusal.
|
|
443
|
-
*/
|
|
444
|
-
readonly leaseTargets?: ReadonlyMap<string, {
|
|
445
|
-
readonly surfaceMode?: string;
|
|
446
|
-
}>;
|
|
447
|
-
/**
|
|
448
|
-
* Check-in config (evidence-carrying human consent). Resolved from the Agent
|
|
449
|
-
* builder (`.checkIn({...})`) — defaults to `standard` evidence + the
|
|
450
|
-
* deterministic lexical scorer, so a tool that declares `checkIn` works even
|
|
451
|
-
* without `.checkIn()`. Undefined only when the handler is built outside an
|
|
452
|
-
* Agent (no check-in). The gate fires ONLY for tools that declared `checkIn`.
|
|
453
|
-
*/
|
|
454
|
-
readonly checkIn?: ResolvedCheckInConfig;
|
|
455
|
-
/**
|
|
456
|
-
* The tool-dispatch governance chain (`.toolMiddleware(...)`), in
|
|
457
|
-
* declaration order. Walked AFTER the permission gate — so an existing
|
|
458
|
-
* `PermissionChecker` still decides first and a denial there means no
|
|
459
|
-
* middleware runs at all — and BEFORE arg validation, so validation judges
|
|
460
|
-
* the args that will actually be sent rather than the ones the model
|
|
461
|
-
* proposed. Empty / undefined → not walked, no ledger key, no events.
|
|
462
|
-
*/
|
|
463
|
-
readonly toolMiddleware?: readonly ToolMiddleware[];
|
|
464
|
-
/**
|
|
465
|
-
* The durable-write barrier (`core/durabilityBarrier.ts`). Asked ONCE per
|
|
466
|
-
* iteration, before any of this iteration's tools are dispatched: if the last
|
|
467
|
-
* iteration's state is still being written to a session store, wait for it.
|
|
468
|
-
*
|
|
469
|
-
* This is what bounds side-effect replay. Without it, iteration N's tools run
|
|
470
|
-
* while iteration N-1's write is in flight, so a crash can re-issue more than
|
|
471
|
-
* one iteration's worth of tool calls on replay and "how much re-executes?"
|
|
472
|
-
* has no answer. With it the answer is exactly one: the current iteration.
|
|
473
|
-
*
|
|
474
|
-
* Returns `undefined` when nobody installed a barrier — the ordinary case —
|
|
475
|
-
* and the dispatch loop then does not await at all, so an agent without a
|
|
476
|
-
* durable session composer is byte-identical in behaviour AND in timing.
|
|
477
|
-
*
|
|
478
|
-
* NOT a general extension point: the only installer is
|
|
479
|
-
* `agentfootprint/hosting`'s session writer, through a module-private
|
|
480
|
-
* WeakMap that appears on no barrel. See `core/durabilityBarrier.ts`.
|
|
481
|
-
*
|
|
482
|
-
* @internal
|
|
483
|
-
*/
|
|
484
|
-
readonly awaitDurable?: () => Promise<void> | undefined;
|
|
485
|
-
/**
|
|
486
|
-
* The identity facts THIS run carries, for `ToolExecutionContext` (9.7.0).
|
|
487
|
-
*
|
|
488
|
-
* An ACCESSOR, for the same reason `awaitDurable` is one: the chart is built
|
|
489
|
-
* ONCE at construction and these change per run, so a captured value would be
|
|
490
|
-
* run #1's forever. Read once per dispatch loop, beside `scope.runIdentity`.
|
|
491
|
-
*
|
|
492
|
-
* `identity` here is the CALLER's explicit identity (`Agent.lastRunIdentity`),
|
|
493
|
-
* NOT `scope.runIdentity` — the latter is always populated, defaulting to
|
|
494
|
-
* `{ conversationId: '<runId>' }` (or, on a session-bound run since 9.10.0,
|
|
495
|
-
* to `{ conversationId: sessionId }`), and publishing either to a tool would
|
|
496
|
-
* present a synthesized conversation as one somebody named.
|
|
497
|
-
*
|
|
498
|
-
* @internal
|
|
499
|
-
*/
|
|
500
|
-
/**
|
|
501
|
-
* Is this stage running in the agent's OWN executor? Asked of the scope
|
|
502
|
-
* (`stages/seed.ts` · `isOwnRun`): a stage in another runner's executor — a
|
|
503
|
-
* composition member — reads its run facts from `scope.memberRun`, never
|
|
504
|
-
* from {@link currentRun}, which describes the instance's own last run.
|
|
505
|
-
* Absent → the agent's own run.
|
|
506
|
-
*
|
|
507
|
-
* @internal
|
|
508
|
-
*/
|
|
509
|
-
readonly isOwnRun?: (scope: object) => boolean;
|
|
510
|
-
readonly currentRun?: () => {
|
|
511
|
-
readonly runContext?: import('../../../bridge/eventMeta.js').RunContext;
|
|
512
|
-
readonly runId: string;
|
|
513
|
-
readonly sessionId?: string;
|
|
514
|
-
readonly identity?: MemoryIdentity;
|
|
515
|
-
};
|
|
516
|
-
/**
|
|
517
|
-
* The typed ask this run's resume answered, or `undefined` — for
|
|
518
|
-
* a fresh run, and for a resume of any other pause kind. An accessor for
|
|
519
|
-
* the reason `currentRun` is one. Read at a `requestInput` raise: the same
|
|
520
|
-
* declaration `id` raised again is a RE-ASK, stamped `repeat` on the
|
|
521
|
-
* awaiting-input shape (`inputRequest.ts` · `repeatOf`).
|
|
522
|
-
*
|
|
523
|
-
* @internal
|
|
524
|
-
*/
|
|
525
|
-
readonly answeredAsk?: () => AnsweredAsk | undefined;
|
|
526
|
-
/**
|
|
527
|
-
* Where answered consent requests are spent (`AgentOptions.decisionLedger`),
|
|
528
|
-
* so one decision runs one call. Undefined → this process's ledger, shared by
|
|
529
|
-
* every agent that names none (`processDecisionLedger`).
|
|
530
|
-
*/
|
|
531
|
-
readonly decisionLedger?: DecisionLedger;
|
|
532
|
-
/**
|
|
533
|
-
* THE TIME LAYER (`.time()`) — present only then. Each dispatched call files
|
|
534
|
-
* one `call` row with `dispatchedAt` (the wall clock, just before the tool
|
|
535
|
-
* runs: a tool evaluates a look-back against its own clock at dispatch,
|
|
536
|
-
* which after a pause is later than the turn's `now`). `takePassedOnResume`
|
|
537
|
-
* hands over the `time` the current resume passed, as read, ONCE (a second
|
|
538
|
-
* call answers `undefined`) — the first ToolCalls pass of the resumed leg
|
|
539
|
-
* compares it with the turn's kept clock and files `clock-on-resume` when
|
|
540
|
-
* they differ; the kept clock is never replaced. A call whose tool's period
|
|
541
|
-
* declares forms is handed `ctx.time` (read off its `call-window` row), and
|
|
542
|
-
* the batch ask judges a period answer against the tool's facts at the
|
|
543
|
-
* turn's clock (`appZone`: the app's `.time({ zone })`).
|
|
544
|
-
*
|
|
545
|
-
* @internal
|
|
546
|
-
*/
|
|
547
|
-
readonly time?: {
|
|
548
|
-
readonly takePassedOnResume: (scope: object) => ReadRunTime | undefined;
|
|
549
|
-
readonly appZone?: ZoneName;
|
|
550
|
-
/**
|
|
551
|
-
* Present exactly under `.time({ reader })` (step T6b): the batch ask asks
|
|
552
|
-
* a period left out while the turn's one mention is open as THAT
|
|
553
|
-
* mention's window — the lazy word-driven ask (`./argumentAsk.ts` · `windowPlanOf`).
|
|
554
|
-
*/
|
|
555
|
-
readonly reader?: {
|
|
556
|
-
readonly policy: TimePolicy;
|
|
557
|
-
readonly messages?: Partial<TimeAskMessages>;
|
|
558
|
-
};
|
|
559
|
-
};
|
|
560
|
-
/**
|
|
561
|
-
* Put one artifact fact on the record for the run it BELONGS to — the door
|
|
562
|
-
* a `ctx.artifacts` fact takes when it lands after that run ended (a tool's
|
|
563
|
-
* floating upload finishing during a later run). The scope channel stamps
|
|
564
|
-
* whatever run is live at emit time; this stamps the run context the binding
|
|
565
|
-
* captured when it was built.
|
|
566
|
-
*
|
|
567
|
-
* @internal
|
|
568
|
-
*/
|
|
569
|
-
readonly emitForRun?: (type: AgentfootprintEventType, payload: Record<string, unknown>, runContext: import('../../../bridge/eventMeta.js').RunContext) => void;
|
|
570
|
-
/**
|
|
571
|
-
* The runner's teardown tier, created on first use (9.7.0).
|
|
572
|
-
*
|
|
573
|
-
* An accessor for the same reason as `currentRun`, and lazy for a second one:
|
|
574
|
-
* an agent whose tools never register a cleanup must not pay for a tier, so
|
|
575
|
-
* the Agent builds one the first time a tool asks.
|
|
576
|
-
*
|
|
577
|
-
* @internal
|
|
578
|
-
*/
|
|
579
|
-
readonly toolSessions?: () => ToolSessionTier;
|
|
580
|
-
/**
|
|
581
|
-
* What to do when a tool's DECLARED credential needs 3LO consent (8.6.0).
|
|
582
|
-
* Default `'pause'`. See `AgentOptions.onAuthorizationRequired`.
|
|
583
|
-
*/
|
|
584
|
-
readonly onAuthorizationRequired?: AuthorizationRequiredMode;
|
|
585
|
-
/**
|
|
586
|
-
* Side channel for the `'tell-model'` consent record — the ONLY route the
|
|
587
|
-
* authorization URL takes out of this handler in that mode.
|
|
588
|
-
*
|
|
589
|
-
* It is a callback rather than a scope key on purpose. A tracked write lands
|
|
590
|
-
* in the commit log, which is the snapshot, the narrative and every
|
|
591
|
-
* recording; writing the URL there would rebuild the exact leak 8.6.0
|
|
592
|
-
* removes. This hands it to a private field on the Agent instead, where it
|
|
593
|
-
* lives for the length of the run and leaves only as
|
|
594
|
-
* `CredentialConsentRequiredError`.
|
|
595
|
-
*
|
|
596
|
-
* @internal
|
|
597
|
-
*/
|
|
598
|
-
readonly reportConsentOutstanding?: (record: {
|
|
599
|
-
readonly service: string;
|
|
600
|
-
readonly authorizationUrl: string;
|
|
601
|
-
readonly sessionId: string;
|
|
602
|
-
readonly tool: string;
|
|
603
|
-
readonly iteration: number;
|
|
604
|
-
}) => void;
|
|
605
|
-
/**
|
|
606
|
-
* Clears an outstanding consent record for `service` — called whenever a
|
|
607
|
-
* credential for it is successfully ISSUED. Without this, a run that was
|
|
608
|
-
* blocked, resumed, and then succeeded would still raise at the end: the
|
|
609
|
-
* record is about work that has since been done.
|
|
610
|
-
*
|
|
611
|
-
* @internal
|
|
612
|
-
*/
|
|
613
|
-
readonly clearConsentOutstanding?: (service: string) => void;
|
|
614
|
-
}
|
|
615
|
-
/**
|
|
616
|
-
* Is this `read_skill` target the cursor's own skill AND is that cursor
|
|
617
|
-
* MOUNTED — the one owner of "this call would change nothing" (9.86.0).
|
|
618
|
-
*
|
|
619
|
-
* ── WHY POSITION ALONE IS NOT THE ANSWER ────────────────────────────────
|
|
620
|
-
*
|
|
621
|
-
* `classifySkillTarget` answers a question about POSITION: is the target where
|
|
622
|
-
* the cursor stands? For most of the loop that settles it — the cursor's body
|
|
623
|
-
* is in that call's system prompt and its tools are on that call's wire, so
|
|
624
|
-
* asking to read it activates nothing, moves nothing and reveals nothing the
|
|
625
|
-
* request did not already carry.
|
|
626
|
-
*
|
|
627
|
-
* A PARKED map breaks that. Parking suppresses a map's contribution and leaves
|
|
628
|
-
* the cursor exactly where it was, so at a parked cursor the very same id is a
|
|
629
|
-
* RE-ENGAGEMENT: the gate admits it, the map engages, and the member's body and
|
|
630
|
-
* tools ride again on the next pass. That call moves something, which makes it
|
|
631
|
-
* a capability, which makes it the policy's question to answer.
|
|
632
|
-
*
|
|
633
|
-
* The dispatch gate has known this since 9.59.0 — it tests re-engagement BEFORE
|
|
634
|
-
* its self-call arm, which is this same fact written as two ordered arms. The
|
|
635
|
-
* `skill_read` permission gate, 480 lines upstream, has no arms to order: it
|
|
636
|
-
* asks one question and either spends the policy check or skips it, and it was
|
|
637
|
-
* asking `classifySkillTarget` alone. So a role whose checker hid a skill could
|
|
638
|
-
* have the model un-park and re-activate it. This function is the question that
|
|
639
|
-
* gate now asks, over the parked set `parkedNow` hands both of them.
|
|
640
|
-
*
|
|
641
|
-
* @example
|
|
642
|
-
* ```ts
|
|
643
|
-
* atMountedCursor({ cursor: 'audit', target: 'audit' }); // true — a stay
|
|
644
|
-
* atMountedCursor({ cursor: 'audit', target: 'audit', parked: new Set(['audit']) }); // false — a re-engagement
|
|
645
|
-
* atMountedCursor({ cursor: 'audit', target: 'billing' }); // false — a move
|
|
646
|
-
* ```
|
|
647
|
-
*/
|
|
648
|
-
export declare function atMountedCursor(args: {
|
|
649
|
-
/** Where the cursor stands. `undefined` = cold start (nothing is a stay). */
|
|
650
|
-
readonly cursor?: string | undefined;
|
|
651
|
-
/** The id the model asked for. */
|
|
652
|
-
readonly target: string;
|
|
653
|
-
/** Members of every map the kernel holds PARKED — `parkedMemberIds`. */
|
|
654
|
-
readonly parked?: ReadonlySet<string> | undefined;
|
|
655
|
-
}): boolean;
|
|
656
|
-
/**
|
|
657
|
-
* What a call to a name nothing can dispatch gets back (9.86.0).
|
|
658
|
-
*
|
|
659
|
-
* `Unknown tool: X` was the whole sentence, on both dispatch doors, while
|
|
660
|
-
* `mcpServe` — the same library, one directory away — had been answering
|
|
661
|
-
* "Unknown tool 'rm_rf'. Served tools: echo, delete_account." for releases. The
|
|
662
|
-
* model that mistyped a name, or named one from a restored transcript, was told
|
|
663
|
-
* only that it was wrong, never what would have worked, and the cheapest repair
|
|
664
|
-
* (read the roster) was the one it could not make.
|
|
665
|
-
*
|
|
666
|
-
* The roster is the DISPATCH set — `registryByName` plus the provider cache —
|
|
667
|
-
* because that is the true statement about resolution: these are the names that
|
|
668
|
-
* answered to something. It is deliberately NOT the offer: the wire is narrowed
|
|
669
|
-
* by steps, parks and postures, and a held-out tool still dispatches by name, so
|
|
670
|
-
* an offer-shaped list would be a different (and here, false) claim.
|
|
671
|
-
*
|
|
672
|
-
* ── AND IT SAYS "RESOLVED", NOT "COULD BE DISPATCHED" ───────────────────
|
|
673
|
-
*
|
|
674
|
-
* The first draft said "Tools that could be dispatched on that call". Two gates
|
|
675
|
-
* sit between resolution and a tool running — the `tool_call` permission check
|
|
676
|
-
* and the middleware chain — so a name in this map can resolve and still be
|
|
677
|
-
* refused, and the sentence promised the model a dispatch the very next gate
|
|
678
|
-
* would decline. Neither gate is asked here: a `PermissionChecker` is a port
|
|
679
|
-
* (a hub call per name, with its own events and its own audit rows), and
|
|
680
|
-
* spending a whole permission sweep to phrase an error is a cost the sentence
|
|
681
|
-
* does not need. It reports what this map DID — resolve a name — and claims
|
|
682
|
-
* nothing about what would have happened next.
|
|
683
|
-
*
|
|
684
|
-
* The roster is role-filtered before it gets here (`dispatchRoster`), so a tool
|
|
685
|
-
* belonging to a skill the caller's policy hides is never named; and when the
|
|
686
|
-
* filter empties a stocked roster the clause is DROPPED, because "no tool name
|
|
687
|
-
* resolved" would be a denial of what the dispatch map is holding.
|
|
688
|
-
*
|
|
689
|
-
* Anchored past tense, like every other persistent result: "on that call" binds
|
|
690
|
-
* the roster to the finished call the result answers, so a later iteration that
|
|
691
|
-
* adds or drops a provider tool cannot make this sentence wrong. No exhortation
|
|
692
|
-
* — the model does not need to be told to try again.
|
|
693
|
-
*
|
|
694
|
-
* Exported for the producer registry, and used by BOTH dispatch doors so they
|
|
695
|
-
* cannot drift.
|
|
696
|
-
*/
|
|
697
|
-
/**
|
|
698
|
-
* What a call gets back when the party whose contract the model read under
|
|
699
|
-
* this name cannot answer it, and no other party may (9.92.0).
|
|
700
|
-
*
|
|
701
|
-
* Two doors reach here. A name that LEFT the wire — the model read a
|
|
702
|
-
* provider's contract on an earlier call and the provider withdrew the name —
|
|
703
|
-
* whose only remaining holder is a party the model was never shown under that
|
|
704
|
-
* name (a scoped skill that never activated): dispatching that holder would
|
|
705
|
-
* hand the model's belief to a stranger's function, which is the silent
|
|
706
|
-
* identity swap this release closed. And a resume in a fresh Agent instance
|
|
707
|
-
* of a provider-served call, where the served party is on the checkpoint but
|
|
708
|
-
* the provider's list has not been resolved on this instance.
|
|
709
|
-
*
|
|
710
|
-
* It names no roster on purpose: `unknownToolResult`'s roster is the DISPATCH
|
|
711
|
-
* map, and the map here holds exactly the implementation this sentence is
|
|
712
|
-
* refusing. Anchored past tense, one clause, like every persistent result.
|
|
713
|
-
*/
|
|
714
|
-
export declare function notServedResult(toolName: string): string;
|
|
715
|
-
export declare function unknownToolResult(toolName: string, dispatchable: SpokenIds): string;
|
|
716
|
-
/**
|
|
717
|
-
* THE ONE COMPOSER of every `read_skill` refusal (9.86.0) — reachability,
|
|
718
|
-
* posture and tree, from one set of inputs.
|
|
719
|
-
*
|
|
720
|
-
* ── WHY ONE ─────────────────────────────────────────────────────────────
|
|
721
|
-
*
|
|
722
|
-
* There were two, and they disagreed. `skillRefusal` named "Reachable skills:
|
|
723
|
-
* beta" from the graph's raw hop set; `postureRefusal`, forty lines below it in
|
|
724
|
-
* the same gate, answered a model that took that offer up with "read_skill here
|
|
725
|
-
* reaches only the open skills: gamma". Same call, same turn, opposite claims —
|
|
726
|
-
* and the second one cost a refusal from the escalation budget to discover.
|
|
727
|
-
* Neither had heard of the role filter, so both could name a skill the caller's
|
|
728
|
-
* policy hides. One composer, handed the FILTERED sets and the posture that
|
|
729
|
-
* will judge the next pick, cannot contradict itself that way.
|
|
730
|
-
*
|
|
731
|
-
* ── THE TENSE DISCIPLINE (the law `selfCallNotice` is written against) ──
|
|
732
|
-
*
|
|
733
|
-
* A tool result is composed on iteration N and re-read by the model on every
|
|
734
|
-
* later call of the turn, including the tool-less wrap-up. So every clause here
|
|
735
|
-
* is a PAST fact about ONE named call — the call the model made `read_skill`
|
|
736
|
-
* on — anchored by the phrase "that call", never by deixis ("this turn", "the
|
|
737
|
-
* call you just made") and never by a forecast ("you can call", "pick one of
|
|
738
|
-
* these"). What the model may do NEXT is owned by the `read_skill` DESCRIPTION,
|
|
739
|
-
* which is recomposed for every single request and may therefore speak in the
|
|
740
|
-
* present. Two owners, one tense each, and they can no longer disagree.
|
|
741
|
-
*
|
|
742
|
-
* ── AND WHY IT NEVER NAMES A HOP THE POSTURE WOULD DECLINE ──────────────
|
|
743
|
-
*
|
|
744
|
-
* Under `'rails'` the model does not route at all; under `'guard'` it routes
|
|
745
|
-
* only from an outstanding menu. Naming hops there is an offer the very next
|
|
746
|
-
* arm of this gate refuses. So those arms name no hop: they say who DID route,
|
|
747
|
-
* and (when there are any) which open skills were admitted anyway — open skills
|
|
748
|
-
* never reach the posture arm, so that clause cannot be contradicted.
|
|
749
|
-
*
|
|
750
|
-
* ── AND WHY AN EMPTY LIST IS NEVER A DENIAL ─────────────────────────────
|
|
751
|
-
*
|
|
752
|
-
* Every set arrives as {@link SpokenIds}, which carries whether the UNFILTERED
|
|
753
|
-
* set held anything. That is the difference between "nothing was reachable" and
|
|
754
|
-
* "nothing reachable may be named", and this composer used to say the first
|
|
755
|
-
* when the second was true — over a graph that was routing the cursor the whole
|
|
756
|
-
* time. Where the filter empties a set, the clause is omitted. A model told the
|
|
757
|
-
* map is a dead end stops asking for the door it may not be shown.
|
|
758
|
-
*
|
|
759
|
-
* Exported so a producer registry can list it beside the other model-facing
|
|
760
|
-
* composers rather than re-deriving what it says.
|
|
761
|
-
*/
|
|
762
|
-
export declare function composeReadSkillRefusal(args: {
|
|
763
|
-
/** The id the model asked for, verbatim. */
|
|
764
|
-
readonly requestedId: string;
|
|
765
|
-
/** Which class the target fell in — from `classifySkillTarget`, the one owner. */
|
|
766
|
-
readonly targetClass: SkillTargetClass;
|
|
767
|
-
/** Where the cursor stood when that call was made. */
|
|
768
|
-
readonly cursorId?: string;
|
|
769
|
-
/** Declared hops from that cursor, through the role filter — and carrying
|
|
770
|
-
* whether the graph held any, so a filtered-to-empty set omits its clause
|
|
771
|
-
* instead of denying the hops the graph is holding. */
|
|
772
|
-
readonly hops: SpokenIds;
|
|
773
|
-
/** Open skills, through the same filter. */
|
|
774
|
-
readonly openIds: SpokenIds;
|
|
775
|
-
/** The mounted graph is a decision `tree()` — no cursor to move. */
|
|
776
|
-
readonly isTree?: boolean;
|
|
777
|
-
/** The posture that declined a reachable hop, when one did (SG-C). */
|
|
778
|
-
readonly posture?: 'guard' | 'rails';
|
|
779
|
-
/** The menu that was outstanding when that call was made, through the same
|
|
780
|
-
* filter. Present only under `'guard'` with a menu the pick missed — and
|
|
781
|
-
* `held: true` with nothing named says a menu WAS outstanding and none of it
|
|
782
|
-
* may be named, which is a third sentence, not the no-menu one. */
|
|
783
|
-
readonly menuOffered?: SpokenIds;
|
|
784
|
-
/** How the turn's start was resolved — `TurnRoute.by` — for the
|
|
785
|
-
* `'guard'`-without-a-menu arm. Each value is a different past fact about
|
|
786
|
-
* the turn, and the arm says only the one it was handed (9.86.1): it used to
|
|
787
|
-
* append "Declared routes moved the cursor instead." to every no-menu
|
|
788
|
-
* refusal, which is false for a cursor carried over from the previous turn
|
|
789
|
-
* (`'continuity'`) and for a menu the model's own pick had resolved
|
|
790
|
-
* (`'menu'`), and unprovable for `'none'`. */
|
|
791
|
-
readonly turnStartedBy?: TurnRoute['by'];
|
|
792
|
-
/** A cursor EXISTED on that call and the role filter kept its id out of the
|
|
793
|
-
* sentence (9.86.1). `cursorId` is absent in two situations that need two
|
|
794
|
-
* different sentences: a cold start, where "the turn's start" is the true
|
|
795
|
-
* anchor, and a hidden cursor, where the skill is real and merely unnamed.
|
|
796
|
-
* The description already withholds a hidden cursor's name — pinned by
|
|
797
|
-
* `test/security/skill-visibility.test.ts` — and the refusal printed it raw. */
|
|
798
|
-
readonly cursorWithheld?: boolean;
|
|
799
|
-
}): string;
|
|
800
|
-
/**
|
|
801
|
-
* Forget every "no judge for this period" warning issued so far — for a
|
|
802
|
-
* declared period and for a declared `ToolPeriod`.
|
|
803
|
-
* @internal test seam — the ledger is process-wide and warn-once.
|
|
804
|
-
*/
|
|
805
|
-
export declare function _resetPeriodUnjudgedWarnings(): void;
|
|
806
|
-
/** One call the model proposed on an assistant turn (`LLMMessage.toolCalls`). */
|
|
807
|
-
export type ProposedCall = NonNullable<LLMMessage['toolCalls']>[number];
|
|
808
|
-
/**
|
|
809
|
-
* THE PAUSED BATCH (9.113.0) — the turn that proposed the paused call, and
|
|
810
|
-
* the calls on it that a pause left un-dispatched.
|
|
811
|
-
*
|
|
812
|
-
* The batch loop in `execute` dispatches a turn's calls one at a time, in the
|
|
813
|
-
* order the model proposed them, and every pause RETURNS from inside it: the
|
|
814
|
-
* checkpoint is taken on call k, and calls k+1..N were never reached — no
|
|
815
|
-
* gate judged them, no tool ran, no bracket opened. The resume paths used to
|
|
816
|
-
* answer call k and stop, so the next request carried N `tool_use` blocks and
|
|
817
|
-
* fewer `tool_result`s (a provider builds results only from `role: 'tool'`
|
|
818
|
-
* messages), and `iteration_end` counted one call.
|
|
819
|
-
*
|
|
820
|
-
* READ FROM `history`, NEVER CARRIED. Every pause site commits
|
|
821
|
-
* `scope.history = newHistory` before it returns, so the assistant turn that
|
|
822
|
-
* proposed the batch is on the checkpoint — and it is the very message a
|
|
823
|
-
* provider turns into the `tool_use` blocks the settlement must answer. It is
|
|
824
|
-
* therefore the one owner of "which calls does the next request carry", and
|
|
825
|
-
* the checkpoint gains no key: a checkpoint written before this release
|
|
826
|
-
* settles the same way. The window never removes the turn holding the paused
|
|
827
|
-
* call (`../window/turns.ts` · `refusalFor`, its `paused-tool` arm).
|
|
828
|
-
*
|
|
829
|
-
* The LATEST turn proposing the id is the paused one — the pause site commits
|
|
830
|
-
* that turn last, and a provider may reuse an id across turns. No such turn:
|
|
831
|
-
* `size: 0` and nothing to settle, the only answer a missing turn supports.
|
|
832
|
-
*
|
|
833
|
-
* A call after the paused one that history ALREADY answers — a `role: 'tool'`
|
|
834
|
-
* message for its id after that turn — is not un-dispatched, whoever wrote
|
|
835
|
-
* the answer. No library door writes one before the resume; a checkpoint is
|
|
836
|
-
* data, though, and an app may have patched results into a stored one.
|
|
837
|
-
* Settling such a call again would put a second result for its id on the
|
|
838
|
-
* next request, a shape a provider rejects.
|
|
839
|
-
*/
|
|
840
|
-
export declare function pausedBatchOf(history: readonly LLMMessage[], pausedToolCallId: string): {
|
|
841
|
-
readonly size: number;
|
|
842
|
-
readonly undispatched: readonly ProposedCall[];
|
|
843
|
-
};
|
|
844
|
-
/**
|
|
845
|
-
* What a call the paused batch never dispatched gets back (9.113.0) — ONE
|
|
846
|
-
* fixed sentence, on all four resume paths.
|
|
847
|
-
*
|
|
848
|
-
* Every clause is a past fact about one finished event, anchored by name: the
|
|
849
|
-
* call this result answers ("that call"), the call the run paused on (by id
|
|
850
|
-
* and by tool), and the resume. It names no destination. The design page's draft
|
|
851
|
-
* (`docs/design/2026-09-honest-answer-ledger.md`, § 5.5, "The batch
|
|
852
|
-
* settlement") ended "propose it again if still needed" — an instruction about a LATER call,
|
|
853
|
-
* re-read on every call after this one, the tool-less wrap-up included.
|
|
854
|
-
* Whether the call is still needed is the model's to judge from the facts;
|
|
855
|
-
* the surfaces recomposed per request (the tool list, the system prompt) own
|
|
856
|
-
* the present tense. Precedents: the 9.86.1 resumed-call refusal in this file
|
|
857
|
-
* ("was not executed on that call, and the resumed dispatch had no second
|
|
858
|
-
* checkpoint…") and `../selfCallNotice.ts` · `selfCallNotice`.
|
|
859
|
-
*
|
|
860
|
-
* "The run paused ON call …", never "call … paused the run": on two of the
|
|
861
|
-
* four doors the pause was a gate's, not the call's — a middleware's `ask`, a
|
|
862
|
-
* credential's consent need — and on all four the run paused AT that call.
|
|
863
|
-
*
|
|
864
|
-
* The sentence is for the MODEL. The same fact as data rides the settled
|
|
865
|
-
* message as `LLMMessage.notDispatched` and both of its brackets as
|
|
866
|
-
* `notDispatched` (`notDispatchedMarker`), and a reader asking "did this call
|
|
867
|
-
* run?" reads that — never this text.
|
|
868
|
-
*
|
|
869
|
-
* Exported for the producer registry (`test/modelFacingSurfaces.test.ts`).
|
|
870
|
-
*/
|
|
871
|
-
export declare function notDispatchedResult(toolName: string, paused: {
|
|
872
|
-
readonly toolName: string;
|
|
873
|
-
readonly toolCallId: string;
|
|
874
|
-
}): string;
|
|
875
|
-
/**
|
|
876
|
-
* The empty-lookup check's PRODUCER CORPUS (9.77.0) — every `role: 'tool'`
|
|
877
|
-
* RESULT in `history` from a tool the judged one names in `argumentsFrom`,
|
|
878
|
-
* as the run served it. The caller hands the history the judged call was
|
|
879
|
-
* served (the call itself is pushed after it), so a producer called earlier in
|
|
880
|
-
* the same batch is already in it — which is right: the model can only have
|
|
881
|
-
* taken a value from a result it had already been served.
|
|
882
|
-
*
|
|
883
|
-
* A message the batch settlement wrote (9.113.0) is no result: its ground
|
|
884
|
-
* never ran, so it produced nothing to take a value from. Read off the marker
|
|
885
|
-
* (`../findings/offer.ts` · `isResultMessage`), never the sentence.
|
|
886
|
-
*
|
|
887
|
-
* Each result is read as the TOOL's own bytes (`lib/toolBytes.ts` ·
|
|
888
|
-
* `toolBytesOf`): the note the inputs layer appends after a filled call's
|
|
889
|
-
* result carries the value the library filled, and a value only that note
|
|
890
|
-
* carries is not one the run's producer served.
|
|
891
|
-
*
|
|
892
|
-
* Exported for its unit test (`test/integrity/emptyLookup.test.ts`).
|
|
893
|
-
*/
|
|
894
|
-
export declare function producerCorpusOf(history: readonly LLMMessage[], argumentsFrom: readonly string[]): ProducedResult[];
|
|
895
|
-
export declare function buildToolCallsHandler(deps: ToolCallsHandlerDeps): PausableHandler<TypedScope<AgentState>>;
|