agentfootprint 2.14.5 → 3.1.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/README.md +1 -1
- package/dist/cache/CacheDecisionSubflow.js +13 -16
- package/dist/cache/CacheDecisionSubflow.js.map +1 -1
- package/dist/cache/CacheGateDecider.js +18 -3
- package/dist/cache/CacheGateDecider.js.map +1 -1
- package/dist/cache/cacheRecorder.js +12 -3
- package/dist/cache/cacheRecorder.js.map +1 -1
- package/dist/conventions.js +155 -4
- package/dist/conventions.js.map +1 -1
- package/dist/core/Agent.js +115 -32
- package/dist/core/Agent.js.map +1 -1
- package/dist/core/LLMCall.js +213 -41
- package/dist/core/LLMCall.js.map +1 -1
- package/dist/core/RunnerBase.js +187 -0
- package/dist/core/RunnerBase.js.map +1 -1
- package/dist/core/agent/buildAgentChart.js +127 -48
- package/dist/core/agent/buildAgentChart.js.map +1 -1
- package/dist/core/agent/buildAgentMessageApiChart.js +201 -0
- package/dist/core/agent/buildAgentMessageApiChart.js.map +1 -0
- package/dist/core/agent/buildCacheSubflow.js +62 -0
- package/dist/core/agent/buildCacheSubflow.js.map +1 -0
- package/dist/core/agent/buildDynamicAgentChart.js +364 -0
- package/dist/core/agent/buildDynamicAgentChart.js.map +1 -0
- package/dist/core/agent/buildMessageApiChart.js +154 -0
- package/dist/core/agent/buildMessageApiChart.js.map +1 -0
- package/dist/core/agent/stages/callLLM.js +11 -0
- package/dist/core/agent/stages/callLLM.js.map +1 -1
- package/dist/core/agent/stages/reliabilityExecution.js +64 -9
- package/dist/core/agent/stages/reliabilityExecution.js.map +1 -1
- package/dist/core/humanizeLLMError.js +66 -0
- package/dist/core/humanizeLLMError.js.map +1 -0
- package/dist/core/runner.js +4 -3
- package/dist/core/runner.js.map +1 -1
- package/dist/core/slots/buildMessagesSlot.js +2 -2
- package/dist/core/slots/buildMessagesSlot.js.map +1 -1
- package/dist/core/slots/buildSystemPromptSlot.js +1 -1
- package/dist/core/slots/buildSystemPromptSlot.js.map +1 -1
- package/dist/core/slots/buildThinkingSubflow.js +1 -1
- package/dist/core/slots/buildThinkingSubflow.js.map +1 -1
- package/dist/core/slots/buildToolsSlot.js +3 -1
- package/dist/core/slots/buildToolsSlot.js.map +1 -1
- package/dist/core/translator.js +32 -0
- package/dist/core/translator.js.map +1 -0
- package/dist/core-flow/Conditional.js +72 -10
- package/dist/core-flow/Conditional.js.map +1 -1
- package/dist/core-flow/Loop.js +59 -16
- package/dist/core-flow/Loop.js.map +1 -1
- package/dist/core-flow/Parallel.js +239 -92
- package/dist/core-flow/Parallel.js.map +1 -1
- package/dist/core-flow/Sequence.js +50 -8
- package/dist/core-flow/Sequence.js.map +1 -1
- package/dist/esm/cache/CacheDecisionSubflow.js +11 -15
- package/dist/esm/cache/CacheDecisionSubflow.js.map +1 -1
- package/dist/esm/cache/CacheGateDecider.js +18 -3
- package/dist/esm/cache/CacheGateDecider.js.map +1 -1
- package/dist/esm/cache/cacheRecorder.js +12 -3
- package/dist/esm/cache/cacheRecorder.js.map +1 -1
- package/dist/esm/conventions.js +151 -3
- package/dist/esm/conventions.js.map +1 -1
- package/dist/esm/core/Agent.js +116 -33
- package/dist/esm/core/Agent.js.map +1 -1
- package/dist/esm/core/LLMCall.js +213 -41
- package/dist/esm/core/LLMCall.js.map +1 -1
- package/dist/esm/core/RunnerBase.js +187 -0
- package/dist/esm/core/RunnerBase.js.map +1 -1
- package/dist/esm/core/agent/buildAgentChart.js +128 -49
- package/dist/esm/core/agent/buildAgentChart.js.map +1 -1
- package/dist/esm/core/agent/buildAgentMessageApiChart.js +197 -0
- package/dist/esm/core/agent/buildAgentMessageApiChart.js.map +1 -0
- package/dist/esm/core/agent/buildCacheSubflow.js +58 -0
- package/dist/esm/core/agent/buildCacheSubflow.js.map +1 -0
- package/dist/esm/core/agent/buildDynamicAgentChart.js +360 -0
- package/dist/esm/core/agent/buildDynamicAgentChart.js.map +1 -0
- package/dist/esm/core/agent/buildMessageApiChart.js +150 -0
- package/dist/esm/core/agent/buildMessageApiChart.js.map +1 -0
- package/dist/esm/core/agent/stages/callLLM.js +11 -0
- package/dist/esm/core/agent/stages/callLLM.js.map +1 -1
- package/dist/esm/core/agent/stages/reliabilityExecution.js +64 -9
- package/dist/esm/core/agent/stages/reliabilityExecution.js.map +1 -1
- package/dist/esm/core/humanizeLLMError.js +61 -0
- package/dist/esm/core/humanizeLLMError.js.map +1 -0
- package/dist/esm/core/runner.js +4 -3
- package/dist/esm/core/runner.js.map +1 -1
- package/dist/esm/core/slots/buildMessagesSlot.js +2 -2
- package/dist/esm/core/slots/buildMessagesSlot.js.map +1 -1
- package/dist/esm/core/slots/buildSystemPromptSlot.js +1 -1
- package/dist/esm/core/slots/buildSystemPromptSlot.js.map +1 -1
- package/dist/esm/core/slots/buildThinkingSubflow.js +1 -1
- package/dist/esm/core/slots/buildThinkingSubflow.js.map +1 -1
- package/dist/esm/core/slots/buildToolsSlot.js +3 -1
- package/dist/esm/core/slots/buildToolsSlot.js.map +1 -1
- package/dist/esm/core/translator.js +31 -0
- package/dist/esm/core/translator.js.map +1 -0
- package/dist/esm/core-flow/Conditional.js +72 -10
- package/dist/esm/core-flow/Conditional.js.map +1 -1
- package/dist/esm/core-flow/Loop.js +59 -16
- package/dist/esm/core-flow/Loop.js.map +1 -1
- package/dist/esm/core-flow/Parallel.js +240 -93
- package/dist/esm/core-flow/Parallel.js.map +1 -1
- package/dist/esm/core-flow/Sequence.js +50 -8
- package/dist/esm/core-flow/Sequence.js.map +1 -1
- package/dist/esm/events/registry.js +10 -0
- package/dist/esm/events/registry.js.map +1 -1
- package/dist/esm/index.js +22 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/lib/injection-engine/buildInjectionEngineSubflow.js +16 -9
- package/dist/esm/lib/injection-engine/buildInjectionEngineSubflow.js.map +1 -1
- package/dist/esm/memory/causal/snapshotPipeline.js +6 -2
- package/dist/esm/memory/causal/snapshotPipeline.js.map +1 -1
- package/dist/esm/memory/pipeline/auto.js +2 -2
- package/dist/esm/memory/pipeline/auto.js.map +1 -1
- package/dist/esm/memory/pipeline/default.js +4 -2
- package/dist/esm/memory/pipeline/default.js.map +1 -1
- package/dist/esm/memory/pipeline/ephemeral.js +3 -1
- package/dist/esm/memory/pipeline/ephemeral.js.map +1 -1
- package/dist/esm/memory/pipeline/fact.js +4 -2
- package/dist/esm/memory/pipeline/fact.js.map +1 -1
- package/dist/esm/memory/pipeline/narrative.js +4 -2
- package/dist/esm/memory/pipeline/narrative.js.map +1 -1
- package/dist/esm/memory/pipeline/semantic.js +2 -2
- package/dist/esm/memory/pipeline/semantic.js.map +1 -1
- package/dist/esm/observe.js +1 -1
- package/dist/esm/observe.js.map +1 -1
- package/dist/esm/patterns/MapReduce.js +5 -5
- package/dist/esm/patterns/MapReduce.js.map +1 -1
- package/dist/esm/patterns/Swarm.js +1 -1
- package/dist/esm/patterns/Swarm.js.map +1 -1
- package/dist/esm/recorders/core/ContextEvaluatedRecorder.js +31 -0
- package/dist/esm/recorders/core/ContextEvaluatedRecorder.js.map +1 -0
- package/dist/esm/recorders/core/ContextRecorder.js +12 -14
- package/dist/esm/recorders/core/ContextRecorder.js.map +1 -1
- package/dist/esm/recorders/core/ErrorBridge.js +59 -0
- package/dist/esm/recorders/core/ErrorBridge.js.map +1 -0
- package/dist/esm/recorders/core/ReliabilityRecorder.js +29 -0
- package/dist/esm/recorders/core/ReliabilityRecorder.js.map +1 -0
- package/dist/esm/recorders/observability/BoundaryRecorder.js +338 -36
- package/dist/esm/recorders/observability/BoundaryRecorder.js.map +1 -1
- package/dist/esm/recorders/observability/FlowchartRecorder.js +10 -0
- package/dist/esm/recorders/observability/FlowchartRecorder.js.map +1 -1
- package/dist/esm/recorders/observability/LiveStateRecorder.js +120 -21
- package/dist/esm/recorders/observability/LiveStateRecorder.js.map +1 -1
- package/dist/esm/recorders/observability/RunStepRecorder.js +652 -0
- package/dist/esm/recorders/observability/RunStepRecorder.js.map +1 -0
- package/dist/esm/recorders/observability/commentary/commentaryTemplates.js +1 -0
- package/dist/esm/recorders/observability/commentary/commentaryTemplates.js.map +1 -1
- package/dist/esm/recorders/observability/internal/ActorArrowClassifier.js +34 -0
- package/dist/esm/recorders/observability/internal/ActorArrowClassifier.js.map +1 -0
- package/dist/esm/recorders/observability/internal/CandidateAnswerBuffer.js +32 -0
- package/dist/esm/recorders/observability/internal/CandidateAnswerBuffer.js.map +1 -0
- package/dist/esm/recorders/observability/internal/ForkTracker.js +84 -0
- package/dist/esm/recorders/observability/internal/ForkTracker.js.map +1 -0
- package/dist/esm/recorders/observability/internal/RootInferrer.js +114 -0
- package/dist/esm/recorders/observability/internal/RootInferrer.js.map +1 -0
- package/dist/esm/recorders/observability/internal/SequenceSiblingTracker.js +31 -0
- package/dist/esm/recorders/observability/internal/SequenceSiblingTracker.js.map +1 -0
- package/dist/esm/recorders/observability/observeRunId.js +21 -0
- package/dist/esm/recorders/observability/observeRunId.js.map +1 -0
- package/dist/esm/reliability/buildReliabilityGateChart.js +11 -5
- package/dist/esm/reliability/buildReliabilityGateChart.js.map +1 -1
- package/dist/events/registry.js +10 -0
- package/dist/events/registry.js.map +1 -1
- package/dist/index.js +30 -3
- package/dist/index.js.map +1 -1
- package/dist/lib/injection-engine/buildInjectionEngineSubflow.js +16 -9
- package/dist/lib/injection-engine/buildInjectionEngineSubflow.js.map +1 -1
- package/dist/memory/causal/snapshotPipeline.js +6 -2
- package/dist/memory/causal/snapshotPipeline.js.map +1 -1
- package/dist/memory/pipeline/auto.js +2 -2
- package/dist/memory/pipeline/auto.js.map +1 -1
- package/dist/memory/pipeline/default.js +4 -2
- package/dist/memory/pipeline/default.js.map +1 -1
- package/dist/memory/pipeline/ephemeral.js +3 -1
- package/dist/memory/pipeline/ephemeral.js.map +1 -1
- package/dist/memory/pipeline/fact.js +4 -2
- package/dist/memory/pipeline/fact.js.map +1 -1
- package/dist/memory/pipeline/narrative.js +4 -2
- package/dist/memory/pipeline/narrative.js.map +1 -1
- package/dist/memory/pipeline/semantic.js +2 -2
- package/dist/memory/pipeline/semantic.js.map +1 -1
- package/dist/observe.js +1 -1
- package/dist/observe.js.map +1 -1
- package/dist/patterns/MapReduce.js +5 -5
- package/dist/patterns/MapReduce.js.map +1 -1
- package/dist/patterns/Swarm.js +1 -1
- package/dist/patterns/Swarm.js.map +1 -1
- package/dist/recorders/core/ContextEvaluatedRecorder.js +35 -0
- package/dist/recorders/core/ContextEvaluatedRecorder.js.map +1 -0
- package/dist/recorders/core/ContextRecorder.js +11 -13
- package/dist/recorders/core/ContextRecorder.js.map +1 -1
- package/dist/recorders/core/ErrorBridge.js +64 -0
- package/dist/recorders/core/ErrorBridge.js.map +1 -0
- package/dist/recorders/core/ReliabilityRecorder.js +33 -0
- package/dist/recorders/core/ReliabilityRecorder.js.map +1 -0
- package/dist/recorders/observability/BoundaryRecorder.js +337 -35
- package/dist/recorders/observability/BoundaryRecorder.js.map +1 -1
- package/dist/recorders/observability/FlowchartRecorder.js +10 -0
- package/dist/recorders/observability/FlowchartRecorder.js.map +1 -1
- package/dist/recorders/observability/LiveStateRecorder.js +119 -20
- package/dist/recorders/observability/LiveStateRecorder.js.map +1 -1
- package/dist/recorders/observability/RunStepRecorder.js +658 -0
- package/dist/recorders/observability/RunStepRecorder.js.map +1 -0
- package/dist/recorders/observability/commentary/commentaryTemplates.js +1 -0
- package/dist/recorders/observability/commentary/commentaryTemplates.js.map +1 -1
- package/dist/recorders/observability/internal/ActorArrowClassifier.js +38 -0
- package/dist/recorders/observability/internal/ActorArrowClassifier.js.map +1 -0
- package/dist/recorders/observability/internal/CandidateAnswerBuffer.js +36 -0
- package/dist/recorders/observability/internal/CandidateAnswerBuffer.js.map +1 -0
- package/dist/recorders/observability/internal/ForkTracker.js +88 -0
- package/dist/recorders/observability/internal/ForkTracker.js.map +1 -0
- package/dist/recorders/observability/internal/RootInferrer.js +118 -0
- package/dist/recorders/observability/internal/RootInferrer.js.map +1 -0
- package/dist/recorders/observability/internal/SequenceSiblingTracker.js +35 -0
- package/dist/recorders/observability/internal/SequenceSiblingTracker.js.map +1 -0
- package/dist/recorders/observability/observeRunId.js +25 -0
- package/dist/recorders/observability/observeRunId.js.map +1 -0
- package/dist/reliability/buildReliabilityGateChart.js +11 -5
- package/dist/reliability/buildReliabilityGateChart.js.map +1 -1
- package/dist/types/cache/CacheDecisionSubflow.d.ts +7 -10
- package/dist/types/cache/CacheDecisionSubflow.d.ts.map +1 -1
- package/dist/types/cache/CacheGateDecider.d.ts +16 -2
- package/dist/types/cache/CacheGateDecider.d.ts.map +1 -1
- package/dist/types/cache/cacheRecorder.d.ts.map +1 -1
- package/dist/types/conventions.d.ts +101 -1
- package/dist/types/conventions.d.ts.map +1 -1
- package/dist/types/core/Agent.d.ts +28 -18
- package/dist/types/core/Agent.d.ts.map +1 -1
- package/dist/types/core/LLMCall.d.ts +73 -11
- package/dist/types/core/LLMCall.d.ts.map +1 -1
- package/dist/types/core/RunnerBase.d.ts +136 -4
- package/dist/types/core/RunnerBase.d.ts.map +1 -1
- package/dist/types/core/agent/buildAgentChart.d.ts +38 -19
- package/dist/types/core/agent/buildAgentChart.d.ts.map +1 -1
- package/dist/types/core/agent/buildAgentMessageApiChart.d.ts +41 -0
- package/dist/types/core/agent/buildAgentMessageApiChart.d.ts.map +1 -0
- package/dist/types/core/agent/buildCacheSubflow.d.ts +36 -0
- package/dist/types/core/agent/buildCacheSubflow.d.ts.map +1 -0
- package/dist/types/core/agent/buildDynamicAgentChart.d.ts +57 -0
- package/dist/types/core/agent/buildDynamicAgentChart.d.ts.map +1 -0
- package/dist/types/core/agent/buildMessageApiChart.d.ts +48 -0
- package/dist/types/core/agent/buildMessageApiChart.d.ts.map +1 -0
- package/dist/types/core/agent/stages/callLLM.d.ts.map +1 -1
- package/dist/types/core/agent/stages/reliabilityExecution.d.ts.map +1 -1
- package/dist/types/core/agent/types.d.ts +96 -0
- package/dist/types/core/agent/types.d.ts.map +1 -1
- package/dist/types/core/humanizeLLMError.d.ts +24 -0
- package/dist/types/core/humanizeLLMError.d.ts.map +1 -0
- package/dist/types/core/runner.d.ts +51 -5
- package/dist/types/core/runner.d.ts.map +1 -1
- package/dist/types/core/slots/buildMessagesSlot.d.ts.map +1 -1
- package/dist/types/core/slots/buildSystemPromptSlot.d.ts.map +1 -1
- package/dist/types/core/slots/buildThinkingSubflow.d.ts.map +1 -1
- package/dist/types/core/slots/buildToolsSlot.d.ts.map +1 -1
- package/dist/types/core/translator.d.ts +95 -0
- package/dist/types/core/translator.d.ts.map +1 -0
- package/dist/types/core-flow/Conditional.d.ts +48 -4
- package/dist/types/core-flow/Conditional.d.ts.map +1 -1
- package/dist/types/core-flow/Loop.d.ts +42 -3
- package/dist/types/core-flow/Loop.d.ts.map +1 -1
- package/dist/types/core-flow/Parallel.d.ts +99 -4
- package/dist/types/core-flow/Parallel.d.ts.map +1 -1
- package/dist/types/core-flow/Sequence.d.ts +49 -3
- package/dist/types/core-flow/Sequence.d.ts.map +1 -1
- package/dist/types/events/payloads.d.ts +99 -1
- package/dist/types/events/payloads.d.ts.map +1 -1
- package/dist/types/events/registry.d.ts +11 -1
- package/dist/types/events/registry.d.ts.map +1 -1
- package/dist/types/index.d.ts +8 -3
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/lib/injection-engine/buildInjectionEngineSubflow.d.ts.map +1 -1
- package/dist/types/memory/causal/snapshotPipeline.d.ts.map +1 -1
- package/dist/types/memory/pipeline/auto.d.ts.map +1 -1
- package/dist/types/memory/pipeline/default.d.ts.map +1 -1
- package/dist/types/memory/pipeline/ephemeral.d.ts.map +1 -1
- package/dist/types/memory/pipeline/fact.d.ts.map +1 -1
- package/dist/types/memory/pipeline/narrative.d.ts.map +1 -1
- package/dist/types/memory/pipeline/semantic.d.ts.map +1 -1
- package/dist/types/observe.d.ts +2 -2
- package/dist/types/observe.d.ts.map +1 -1
- package/dist/types/recorders/core/ContextEvaluatedRecorder.d.ts +24 -0
- package/dist/types/recorders/core/ContextEvaluatedRecorder.d.ts.map +1 -0
- package/dist/types/recorders/core/ContextRecorder.d.ts +0 -2
- package/dist/types/recorders/core/ContextRecorder.d.ts.map +1 -1
- package/dist/types/recorders/core/ErrorBridge.d.ts +39 -0
- package/dist/types/recorders/core/ErrorBridge.d.ts.map +1 -0
- package/dist/types/recorders/core/ReliabilityRecorder.d.ts +25 -0
- package/dist/types/recorders/core/ReliabilityRecorder.d.ts.map +1 -0
- package/dist/types/recorders/observability/BoundaryRecorder.d.ts +167 -6
- package/dist/types/recorders/observability/BoundaryRecorder.d.ts.map +1 -1
- package/dist/types/recorders/observability/FlowchartRecorder.d.ts.map +1 -1
- package/dist/types/recorders/observability/LiveStateRecorder.d.ts +42 -6
- package/dist/types/recorders/observability/LiveStateRecorder.d.ts.map +1 -1
- package/dist/types/recorders/observability/RunStepRecorder.d.ts +232 -0
- package/dist/types/recorders/observability/RunStepRecorder.d.ts.map +1 -0
- package/dist/types/recorders/observability/commentary/commentaryTemplates.d.ts.map +1 -1
- package/dist/types/recorders/observability/internal/ActorArrowClassifier.d.ts +26 -0
- package/dist/types/recorders/observability/internal/ActorArrowClassifier.d.ts.map +1 -0
- package/dist/types/recorders/observability/internal/CandidateAnswerBuffer.d.ts +29 -0
- package/dist/types/recorders/observability/internal/CandidateAnswerBuffer.d.ts.map +1 -0
- package/dist/types/recorders/observability/internal/ForkTracker.d.ts +61 -0
- package/dist/types/recorders/observability/internal/ForkTracker.d.ts.map +1 -0
- package/dist/types/recorders/observability/internal/RootInferrer.d.ts +52 -0
- package/dist/types/recorders/observability/internal/RootInferrer.d.ts.map +1 -0
- package/dist/types/recorders/observability/internal/SequenceSiblingTracker.d.ts +25 -0
- package/dist/types/recorders/observability/internal/SequenceSiblingTracker.d.ts.map +1 -0
- package/dist/types/recorders/observability/observeRunId.d.ts +37 -0
- package/dist/types/recorders/observability/observeRunId.d.ts.map +1 -0
- package/dist/types/reliability/buildReliabilityGateChart.d.ts.map +1 -1
- package/package.json +6 -5
- package/dist/core/agent/stages/iterationStart.js +0 -24
- package/dist/core/agent/stages/iterationStart.js.map +0 -1
- package/dist/esm/core/agent/stages/iterationStart.js +0 -20
- package/dist/esm/core/agent/stages/iterationStart.js.map +0 -1
- package/dist/types/core/agent/stages/iterationStart.d.ts +0 -16
- package/dist/types/core/agent/stages/iterationStart.d.ts.map +0 -1
|
@@ -15,29 +15,29 @@
|
|
|
15
15
|
*
|
|
16
16
|
* Chart shape:
|
|
17
17
|
*
|
|
18
|
-
*
|
|
18
|
+
* Initialize
|
|
19
19
|
* → [memory READ subflows for each .memory()]
|
|
20
|
-
* → InjectionEngine (subflow)
|
|
21
|
-
* →
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
* → CacheDecision (subflow)
|
|
20
|
+
* → InjectionEngine (subflow) ← loop target (tool-calls loops here)
|
|
21
|
+
* → Context (selector, PARALLEL fan-out, failFast)
|
|
22
|
+
* ⇉ {System Prompt ‖ Messages ‖ Tools} (slot subflows)
|
|
23
|
+
* → converge
|
|
25
24
|
* → UpdateSkillHistory
|
|
26
|
-
* →
|
|
27
|
-
*
|
|
28
|
-
* → CallLLM
|
|
29
|
-
* →
|
|
30
|
-
*
|
|
31
|
-
*
|
|
25
|
+
* → Cache (sf-cache subflow: decideCacheMarkers → CacheGate
|
|
26
|
+
* → ApplyMarkers / SkipCaching)
|
|
27
|
+
* → CallLLM (also emits the per-iteration iteration_start marker)
|
|
28
|
+
* → [NormalizeThinking] (subflow, only when a ThinkingHandler resolved)
|
|
29
|
+
* → Route (decider)
|
|
30
|
+
* ├─ tool-calls (pausable) → loopTo(InjectionEngine) ← branch-sourced loop
|
|
31
|
+
* └─ final (subflow) → terminal leaf
|
|
32
|
+
* ┌────── PrepareFinal
|
|
32
33
|
* ├──── [memory WRITE subflows]
|
|
33
34
|
* └──── BreakFinal ($break)
|
|
34
|
-
* loopTo(InjectionEngine)
|
|
35
35
|
*
|
|
36
36
|
* (When v2.11.x reliability is configured, the reliability gate chart
|
|
37
|
-
* mounts as a subflow
|
|
38
|
-
*
|
|
37
|
+
* mounts as a subflow before CallLLM with a TranslateFailFast stage
|
|
38
|
+
* after it. Lands in the next commit.)
|
|
39
39
|
*/
|
|
40
|
-
import type { FlowChart } from 'footprintjs';
|
|
40
|
+
import type { FlowChart, StructureRecorder } from 'footprintjs';
|
|
41
41
|
import type { CachePolicy } from '../../cache/types.js';
|
|
42
42
|
import type { MemoryDefinition } from '../../memory/define.types.js';
|
|
43
43
|
/**
|
|
@@ -55,7 +55,6 @@ export interface AgentChartDeps {
|
|
|
55
55
|
* inputMapper for max-iteration policies. */
|
|
56
56
|
readonly maxIterations: number;
|
|
57
57
|
readonly seed: (scope: never) => void;
|
|
58
|
-
readonly iterationStart: (scope: never) => void;
|
|
59
58
|
readonly callLLM: (scope: never) => Promise<void>;
|
|
60
59
|
readonly routeDecider: (scope: never) => 'tool-calls' | 'final';
|
|
61
60
|
readonly toolCallsHandler: import('footprintjs').PausableHandler<never>;
|
|
@@ -71,9 +70,29 @@ export interface AgentChartDeps {
|
|
|
71
70
|
* zero overhead for non-thinking agents (build-time conditional mount).
|
|
72
71
|
*/
|
|
73
72
|
readonly thinkingSubflow?: FlowChart;
|
|
74
|
-
readonly cacheDecisionSubflow: FlowChart;
|
|
75
73
|
readonly updateSkillHistoryStage: (scope: never) => void;
|
|
76
|
-
|
|
74
|
+
/**
|
|
75
|
+
* Whether ≥1 Skill is registered. The `UpdateSkillHistory` stage (and
|
|
76
|
+
* therefore the cache's skill-churn rule) is mounted ONLY when true:
|
|
77
|
+
* with no skills the window would record "no skill" every iteration and
|
|
78
|
+
* `detectSkillChurn` could never fire, so the stage would be pure dead
|
|
79
|
+
* weight + a misleading box. Mirrors the `skills.length > 0` gate that
|
|
80
|
+
* auto-attaches `read_skill`, and the `thinkingSubflow` conditional mount.
|
|
81
|
+
*/
|
|
82
|
+
readonly hasSkills: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* ReAct loop semantics. `'dynamic'` (default) re-runs the InjectionEngine +
|
|
85
|
+
* all 3 slots every iteration (loop → InjectionEngine). `'classic'`
|
|
86
|
+
* engineers context ONCE (InjectionEngine + system-prompt + tools up front)
|
|
87
|
+
* and loops only the Messages slot (loop → Messages). See AgentOptions.reactMode.
|
|
88
|
+
*/
|
|
89
|
+
readonly reactMode?: 'classic' | 'dynamic';
|
|
90
|
+
/** Structure recorders threaded into both `flowChart()` calls (the
|
|
91
|
+
* main chart and the PrepareFinal sub-chart). Each recorder
|
|
92
|
+
* observes per-node build events (`onStageAdded` /
|
|
93
|
+
* `onSubflowMounted` / etc.) for the Agent's chart. Undefined when
|
|
94
|
+
* the consumer didn't attach any. */
|
|
95
|
+
readonly structureRecorders?: readonly StructureRecorder[];
|
|
77
96
|
}
|
|
78
97
|
/**
|
|
79
98
|
* Build the agent's complete FlowChart from the supplied deps.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buildAgentChart.d.ts","sourceRoot":"","sources":["../../../../src/core/agent/buildAgentChart.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AAIH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"buildAgentChart.d.ts","sourceRoot":"","sources":["../../../../src/core/agent/buildAgentChart.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AAIH,OAAO,KAAK,EAAE,SAAS,EAAE,iBAAiB,EAAc,MAAM,aAAa,CAAC;AAE5E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAGxD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AASrE;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC7B,oEAAoE;IACpE,QAAQ,CAAC,QAAQ,EAAE,SAAS,gBAAgB,EAAE,CAAC;IAE/C;uEACmE;IACnE,QAAQ,CAAC,uBAAuB,EAAE,WAAW,CAAC;IAE9C;kDAC8C;IAC9C,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAG/B,QAAQ,CAAC,IAAI,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACtC,QAAQ,CAAC,OAAO,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAClD,QAAQ,CAAC,YAAY,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,YAAY,GAAG,OAAO,CAAC;IAChE,QAAQ,CAAC,gBAAgB,EAAE,OAAO,aAAa,EAAE,eAAe,CAAC,KAAK,CAAC,CAAC;IAGxE,QAAQ,CAAC,sBAAsB,EAAE,SAAS,CAAC;IAC3C,QAAQ,CAAC,mBAAmB,EAAE,SAAS,CAAC;IACxC,QAAQ,CAAC,eAAe,EAAE,SAAS,CAAC;IACpC,QAAQ,CAAC,YAAY,EAAE,SAAS,CAAC;IACjC;;;;;;OAMG;IACH,QAAQ,CAAC,eAAe,CAAC,EAAE,SAAS,CAAC;IAMrC,QAAQ,CAAC,uBAAuB,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IAEzD;;;;;;;OAOG;IACH,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAE5B;;;;;OAKG;IACH,QAAQ,CAAC,SAAS,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IAG3C;;;;0CAIsC;IACtC,QAAQ,CAAC,kBAAkB,CAAC,EAAE,SAAS,iBAAiB,EAAE,CAAC;CAC5D;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,cAAc,GAAG,SAAS,CAqT/D"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* buildAgentMessageApiChart — the Agent (ReAct) form of the messageAPI
|
|
3
|
+
* merge-tree, as ONE FLAT main chart (no inner LLM-call sub-box).
|
|
4
|
+
*
|
|
5
|
+
* The whole ReAct cycle lives directly in the single Agent chart:
|
|
6
|
+
*
|
|
7
|
+
* Context (ROOT selector — inits + picks which context slots to engineer)
|
|
8
|
+
* ├─ system-prompt ┐
|
|
9
|
+
* ├─ messages ─────┼─→ messageAPI → Call-LLM
|
|
10
|
+
* └─ tools ────────┘
|
|
11
|
+
* → Route (decider) → [ ToolCalls (execute) → loop ] / Final (response)
|
|
12
|
+
* loopTo(Context)
|
|
13
|
+
*
|
|
14
|
+
* WHY flat (the user's call): the entire agent — context engineering, the LLM
|
|
15
|
+
* call, routing, tool execution, the loop, and the final response — is ONE
|
|
16
|
+
* visible flowchart in ONE Agent box. No nested LLM-call box: Lens wraps the
|
|
17
|
+
* whole chart in the Agent main-box and renders the slots as pills. This is
|
|
18
|
+
* simpler than the composed (sf-llm-call subflow) shape and avoids box-in-box
|
|
19
|
+
* nesting entirely.
|
|
20
|
+
*
|
|
21
|
+
* The three context slots are DIRECT children of Context; all converge at
|
|
22
|
+
* messageAPI (which assembles system-prompt + messages); Call-LLM then sends
|
|
23
|
+
* the assembled payload plus the tool schemas. Route decides tool-calls (loop)
|
|
24
|
+
* vs final (terminate). The same chart serves Static and Dynamic agents — only
|
|
25
|
+
* which slots the Context selector lights per iteration differs.
|
|
26
|
+
*/
|
|
27
|
+
import type { FlowChart } from 'footprintjs';
|
|
28
|
+
import type { LLMProvider, LLMToolSchema } from '../../adapters/types.js';
|
|
29
|
+
export interface AgentMessageApiChartDeps {
|
|
30
|
+
readonly provider: LLMProvider;
|
|
31
|
+
readonly model: string;
|
|
32
|
+
readonly systemPrompt: string;
|
|
33
|
+
readonly tools: readonly LLMToolSchema[];
|
|
34
|
+
readonly maxIterations?: number;
|
|
35
|
+
readonly structureRecorders?: readonly import('footprintjs').StructureRecorder[];
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Build the Agent merge-tree chart as one flat ReAct flowchart.
|
|
39
|
+
*/
|
|
40
|
+
export declare function buildAgentMessageApiChart(deps: AgentMessageApiChartDeps): FlowChart;
|
|
41
|
+
//# sourceMappingURL=buildAgentMessageApiChart.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buildAgentMessageApiChart.d.ts","sourceRoot":"","sources":["../../../../src/core/agent/buildAgentMessageApiChart.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAc,MAAM,aAAa,CAAC;AACzD,OAAO,KAAK,EAAc,WAAW,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AA8BtF,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,QAAQ,EAAE,WAAW,CAAC;IAC/B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,KAAK,EAAE,SAAS,aAAa,EAAE,CAAC;IACzC,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,kBAAkB,CAAC,EAAE,SAAS,OAAO,aAAa,EAAE,iBAAiB,EAAE,CAAC;CAClF;AAED;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,wBAAwB,GAAG,SAAS,CA8LnF"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* buildCacheSubflow — the per-turn prompt-cache decision, as ONE subflow.
|
|
3
|
+
*
|
|
4
|
+
* Collapses the cache machinery into a single `sf-cache` boundary so the
|
|
5
|
+
* agent chart reads cleanly (one "Cache" box you can drill into) while the
|
|
6
|
+
* execution tree stays honest:
|
|
7
|
+
*
|
|
8
|
+
* decideCacheMarkers → CacheGate (decider) → ApplyMarkers / SkipCaching
|
|
9
|
+
*
|
|
10
|
+
* Layering (see src/cache/types.ts):
|
|
11
|
+
* - This subflow is the provider-AGNOSTIC DECISION layer — it only computes
|
|
12
|
+
* and gates provider-neutral `CacheMarker[]`. It knows nothing about any
|
|
13
|
+
* provider.
|
|
14
|
+
* - The provider-SPECIFIC MECHANISM (Anthropic `cache_control`, OpenAI
|
|
15
|
+
* automatic, …) is the attached provider's `CacheStrategy`, selected by
|
|
16
|
+
* `provider.name`, applied later when the request is built.
|
|
17
|
+
*
|
|
18
|
+
* Why `UpdateSkillHistory` is NOT in here: the `skillHistory` rolling window
|
|
19
|
+
* must persist across loop iterations. Keeping `UpdateSkillHistory` in the
|
|
20
|
+
* main loop (just before this subflow) lets `skillHistory` live in the parent
|
|
21
|
+
* scope without round-tripping through this subflow's in/out mappers — the
|
|
22
|
+
* subflow stays pure (reads the turn's state, writes only `cacheMarkers`).
|
|
23
|
+
*
|
|
24
|
+
* Deps-free: every input (`activeInjections`, `iteration`, `skillHistory`,
|
|
25
|
+
* `recentHitRate`, `systemPromptCachePolicy`, …) is supplied by the PARENT's
|
|
26
|
+
* `inputMapper` at the mount site; the output is just `cacheMarkers`.
|
|
27
|
+
*/
|
|
28
|
+
import { type FlowChart } from 'footprintjs';
|
|
29
|
+
/**
|
|
30
|
+
* Build the `sf-cache` subflow chart. Called by `buildAgentChart` and
|
|
31
|
+
* `buildDynamicAgentChart` and mounted via `addSubFlowChartNext(
|
|
32
|
+
* SUBFLOW_IDS.CACHE, buildCacheSubflow(), 'Cache', { inputMapper,
|
|
33
|
+
* outputMapper, arrayMerge: Replace })`.
|
|
34
|
+
*/
|
|
35
|
+
export declare function buildCacheSubflow(): FlowChart;
|
|
36
|
+
//# sourceMappingURL=buildCacheSubflow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buildCacheSubflow.d.ts","sourceRoot":"","sources":["../../../../src/core/agent/buildCacheSubflow.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH,OAAO,EAAa,KAAK,SAAS,EAAE,MAAM,aAAa,CAAC;AAMxD;;;;;GAKG;AACH,wBAAgB,iBAAiB,IAAI,SAAS,CAqC7C"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* buildDynamicAgentChart — the Dynamic-ReAct agent chart, where the
|
|
3
|
+
* whole LLM turn (context engineering + the call) is ONE `sf-llm-call`
|
|
4
|
+
* subflow, exactly like the `LLMCall` primitive produces.
|
|
5
|
+
*
|
|
6
|
+
* WHY a second builder (vs `buildAgentChart`)
|
|
7
|
+
* ───────────────────────────────────────────
|
|
8
|
+
* `buildAgentChart` mounts the LLM as a flat `call-llm` STAGE with the
|
|
9
|
+
* slot subflows as its siblings. That renders as nothing in Lens — a
|
|
10
|
+
* bare stage is dropped by the subflow-level collapser, so the slots
|
|
11
|
+
* have no LLM card to fold into and the chart comes up empty.
|
|
12
|
+
*
|
|
13
|
+
* This builder wraps that same region in an `sf-llm-call` SUBFLOW. The
|
|
14
|
+
* payoff is purely structural — Lens already maps `sf-llm-call → LLM
|
|
15
|
+
* group` (same boundary `LLMCall` produces), so the Dynamic agent
|
|
16
|
+
* renders as an LLM group with its slots inside, a peer Tool node, and
|
|
17
|
+
* the loop arc, with ZERO Lens-specific special-casing.
|
|
18
|
+
*
|
|
19
|
+
* The data flow is IDENTICAL to `buildAgentChart` — every stage handler
|
|
20
|
+
* + slot subflow is reused verbatim from the same `AgentChartDeps`. The
|
|
21
|
+
* ONLY new thing is the subflow boundary, which means:
|
|
22
|
+
*
|
|
23
|
+
* • A small inner seed (`dynamicTurnSeed`) initialises the per-turn
|
|
24
|
+
* working keys the OUTER seed used to set, since the inner subflow
|
|
25
|
+
* gets a fresh scope each loop re-entry.
|
|
26
|
+
* • Cross-iteration accumulators (token totals, cost counters,
|
|
27
|
+
* skill-history) round-trip out→in: the boundary `outputMapper`
|
|
28
|
+
* bubbles them to the outer scope, and the next iteration's
|
|
29
|
+
* `inputMapper` feeds them back under `prior*` aliases (because
|
|
30
|
+
* keys passed via `inputMapper` are FROZEN inside the subflow —
|
|
31
|
+
* `ScopeFacade.setValue` throws on them — so the writable working
|
|
32
|
+
* key must have a different name from the read-only input).
|
|
33
|
+
*
|
|
34
|
+
* Chart shape (mirrors the diagram the team locked):
|
|
35
|
+
*
|
|
36
|
+
* Initialize
|
|
37
|
+
* → [memory READ subflows]
|
|
38
|
+
* → sf-llm-call (SUBFLOW — same boundary LLMCall produces)
|
|
39
|
+
* dynamicTurnSeed → InjectionEngine
|
|
40
|
+
* → Context (selector, PARALLEL fan-out, failFast)
|
|
41
|
+
* ⇉ {System Prompt ‖ Messages ‖ Tools} → converge
|
|
42
|
+
* → UpdateSkillHistory → Cache (sf-cache subflow)
|
|
43
|
+
* → CallLLM (emits iteration_start) → [NormalizeThinking]
|
|
44
|
+
* → Route (decider)
|
|
45
|
+
* ├─ tool-calls (pausable) → loopTo(sf-llm-call) ← branch-sourced loop
|
|
46
|
+
* └─ sf-final (the answer) → terminal leaf
|
|
47
|
+
*
|
|
48
|
+
* Classic ReAct keeps using `buildAgentChart` until its own shape is
|
|
49
|
+
* designed — this builder is Dynamic-only.
|
|
50
|
+
*/
|
|
51
|
+
import type { FlowChart } from 'footprintjs';
|
|
52
|
+
import type { AgentChartDeps } from './buildAgentChart.js';
|
|
53
|
+
/**
|
|
54
|
+
* Build the Dynamic-ReAct agent chart from the shared `AgentChartDeps`.
|
|
55
|
+
*/
|
|
56
|
+
export declare function buildDynamicAgentChart(deps: AgentChartDeps): FlowChart;
|
|
57
|
+
//# sourceMappingURL=buildDynamicAgentChart.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buildDynamicAgentChart.d.ts","sourceRoot":"","sources":["../../../../src/core/agent/buildDynamicAgentChart.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AAIH,OAAO,KAAK,EAAE,SAAS,EAAc,MAAM,aAAa,CAAC;AAUzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAgD3D;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,cAAc,GAAG,SAAS,CAkTtE"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* buildMessageApiChart — PROOF of the locked "messageAPI merge-tree" shape
|
|
3
|
+
* (MENTAL_MODEL.md ★ LOCKED DESIGN), LLM-only (no tools subflow yet).
|
|
4
|
+
*
|
|
5
|
+
* This is Step 1 of the agreed build order: prove the Context-selector →
|
|
6
|
+
* slot subflows → messageAPI stage → Call-LLM tree works + renders, BEFORE
|
|
7
|
+
* bringing it to the Agent (Step 2 adds the tools subflow + the loop).
|
|
8
|
+
*
|
|
9
|
+
* Chart shape (LLM-only):
|
|
10
|
+
*
|
|
11
|
+
* Seed
|
|
12
|
+
* → Context (SELECTOR stage — picks which slots to engineer)
|
|
13
|
+
* ├─ sf-system-prompt ┐ (selected branches run in parallel)
|
|
14
|
+
* └─ sf-messages ──────┴─→ messageAPI stage (the join point)
|
|
15
|
+
* → Call-LLM
|
|
16
|
+
*
|
|
17
|
+
* WHY a selector (not a plain fork): "Context = Selector stage" — it RETURNS
|
|
18
|
+
* the list of slot branch ids to engineer this iteration, and `select()`
|
|
19
|
+
* captures evidence (which slots + why). That is what will unify Static and
|
|
20
|
+
* Dynamic agent in ONE chart later: Static picks only `messages` per loop;
|
|
21
|
+
* Dynamic also picks `system-prompt` (and `tools`) when they re-engineer.
|
|
22
|
+
* The picked-set IS the lit/unlit-pill signal. For this LLM-only proof the
|
|
23
|
+
* selector picks BOTH slots (a one-shot call engineers everything once).
|
|
24
|
+
*
|
|
25
|
+
* WHY messageAPI is a REAL stage: it assembles the LLM request bulk that the
|
|
26
|
+
* agent's `callLLM` builds invisibly today (callLLM.ts:132) — `systemPrompt`
|
|
27
|
+
* (separate field) + `messages` (the conversation, incl. tool-results) → the
|
|
28
|
+
* message-API payload. Making it a stage makes that assembly visible +
|
|
29
|
+
* inspectable in Lens/Trace. (Tools is a separate field added at Call-LLM —
|
|
30
|
+
* it joins in Step 2.)
|
|
31
|
+
*
|
|
32
|
+
* Slots are REAL subflows (reused verbatim: buildSystemPromptSlot /
|
|
33
|
+
* buildMessagesSlot) writing the convention INJECTION_KEYS, so ContextRecorder
|
|
34
|
+
* emits context.injected and Lens renders them — no bespoke collapser.
|
|
35
|
+
*/
|
|
36
|
+
import type { FlowChart } from 'footprintjs';
|
|
37
|
+
import type { LLMProvider } from '../../adapters/types.js';
|
|
38
|
+
export interface MessageApiChartDeps {
|
|
39
|
+
readonly provider: LLMProvider;
|
|
40
|
+
readonly model: string;
|
|
41
|
+
readonly systemPrompt: string;
|
|
42
|
+
readonly structureRecorders?: readonly import('footprintjs').StructureRecorder[];
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Build the LLM-only messageAPI merge-tree chart.
|
|
46
|
+
*/
|
|
47
|
+
export declare function buildMessageApiChart(deps: MessageApiChartDeps): FlowChart;
|
|
48
|
+
//# sourceMappingURL=buildMessageApiChart.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buildMessageApiChart.d.ts","sourceRoot":"","sources":["../../../../src/core/agent/buildMessageApiChart.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAc,MAAM,aAAa,CAAC;AACzD,OAAO,KAAK,EAAc,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAuBvE,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,QAAQ,EAAE,WAAW,CAAC;IAC/B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,kBAAkB,CAAC,EAAE,SAAS,OAAO,aAAa,EAAE,iBAAiB,EAAE,CAAC;CAClF;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,mBAAmB,GAAG,SAAS,CA8HzE"}
|
|
@@ -1 +1 @@
|
|
|
1
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EAAE,aAAa,CAAC;IACtC;;sEAEkE;IAClE,QAAQ,CAAC,WAAW,EAAE,SAAS,aAAa,EAAE,CAAC;IAC/C;;;;;uBAKmB;IACnB,QAAQ,CAAC,WAAW,CAAC,EAAE,iBAAiB,CAAC;IACzC;;;;;;oCAMgC;IAChC,QAAQ,CAAC,kBAAkB,CAAC,EAAE,kBAAkB,CAAC,OAAO,CAAC,CAAC;IAC1D;;yDAEqD;IACrD,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;CAClC;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,gBAAgB,GACrB,CAAC,KAAK,EAAE,UAAU,CAAC,UAAU,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC,CAoNlD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reliabilityExecution.d.ts","sourceRoot":"","sources":["../../../../../src/core/agent/stages/reliabilityExecution.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAWvF,OAAO,KAAK,EACV,iBAAiB,EACjB,eAAe,EACf,gBAAgB,EACjB,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"reliabilityExecution.d.ts","sourceRoot":"","sources":["../../../../../src/core/agent/stages/reliabilityExecution.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAWvF,OAAO,KAAK,EACV,iBAAiB,EACjB,e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AAK,EAAE,gBAAgB,EAAE,CAAC,SAAI,GAAG,OAAO,CAQlF;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB,EAAE,eAKlC,CAAC"}
|
|
@@ -7,12 +7,15 @@
|
|
|
7
7
|
* part of the v2.11.1 decomposition. `core/Agent.ts` re-exports them
|
|
8
8
|
* for back-compat (the 28+ existing import sites continue to work).
|
|
9
9
|
*/
|
|
10
|
+
import type { StructureRecorder } from 'footprintjs';
|
|
11
|
+
import type { GroupTranslator } from '../translator.js';
|
|
10
12
|
import type { LLMMessage, LLMProvider, LLMToolSchema, PermissionChecker, PricingTable } from '../../adapters/types.js';
|
|
11
13
|
import type { CacheMarker, CacheStrategy } from '../../cache/types.js';
|
|
12
14
|
import type { ActiveInjection } from '../../lib/injection-engine/types.js';
|
|
13
15
|
import type { InjectionRecord } from '../../recorders/core/types.js';
|
|
14
16
|
import type { MemoryIdentity } from '../../memory/identity/types.js';
|
|
15
17
|
import type { ThinkingBlock } from '../../thinking/types.js';
|
|
18
|
+
import type { ReliabilityScope } from '../../reliability/types.js';
|
|
16
19
|
export interface AgentOptions {
|
|
17
20
|
readonly provider: LLMProvider;
|
|
18
21
|
/** Human-friendly name shown in events/metrics. Default: 'Agent'. */
|
|
@@ -64,6 +67,85 @@ export interface AgentOptions {
|
|
|
64
67
|
* once those land in Phase 7+.
|
|
65
68
|
*/
|
|
66
69
|
readonly cacheStrategy?: CacheStrategy;
|
|
70
|
+
/**
|
|
71
|
+
* Optional build-time recorders threaded into footprintjs's
|
|
72
|
+
* `flowChart()` factory. Each recorder fires `onStageAdded` once per
|
|
73
|
+
* node in the Agent's internal chart (Seed, CallLLM, Route, tool
|
|
74
|
+
* handler, slot mounts, PrepareFinal, BreakFinal), and
|
|
75
|
+
* `onSubflowMounted` once per mounted subflow. Recorders own their
|
|
76
|
+
* own accumulators — agentfootprint just threads them through.
|
|
77
|
+
*
|
|
78
|
+
* Cascade: each slot subflow (system-prompt, messages, tools)
|
|
79
|
+
* was built earlier with its OWN recorders (or none).
|
|
80
|
+
* footprintjs does NOT propagate StructureRecorders into mounted
|
|
81
|
+
* subflows — attach the same recorders to every nested composition
|
|
82
|
+
* for full coverage.
|
|
83
|
+
*
|
|
84
|
+
* When omitted, no build-time observation is wired up.
|
|
85
|
+
*/
|
|
86
|
+
readonly structureRecorders?: readonly StructureRecorder[];
|
|
87
|
+
/**
|
|
88
|
+
* Optional per-COMPOSITION translator (UI-agnostic). See
|
|
89
|
+
* `core/translator.ts`. When attached, `agent.getUIGroup()` invokes
|
|
90
|
+
* it with the Agent's `GroupMetadata` (kind `'Agent'`, id, name,
|
|
91
|
+
* empty `members[]`, plus `extra.slots` and `extra.toolNames`).
|
|
92
|
+
* Tools are not `Runner` instances (they're function executors)
|
|
93
|
+
* so they're conveyed by name in `extra`, not as group members.
|
|
94
|
+
* Returns `undefined` when omitted.
|
|
95
|
+
*/
|
|
96
|
+
readonly groupTranslator?: GroupTranslator;
|
|
97
|
+
/**
|
|
98
|
+
* Chart structure for the ReAct loop. Default `'flat'` keeps the
|
|
99
|
+
* historical shape (`buildAgentChart`): the LLM call is a bare
|
|
100
|
+
* `call-llm` STAGE with the slot subflows as its siblings.
|
|
101
|
+
*
|
|
102
|
+
* `'subflow'` wraps the whole LLM turn (injection engine + the 3
|
|
103
|
+
* slots + cache + the call + thinking) in a single `sf-llm-call`
|
|
104
|
+
* SUBFLOW — the SAME boundary the `LLMCall` primitive produces. This
|
|
105
|
+
* is the structurally-correct shape: the LLM invocation IS a subflow,
|
|
106
|
+
* so Lens (and any explainable-ui consumer) renders it as an LLM
|
|
107
|
+
* group with its slots inside, with zero bespoke collapsing. Behaviour
|
|
108
|
+
* is identical to `'flat'`; only the chart's nesting differs.
|
|
109
|
+
*
|
|
110
|
+
* Opt-in while the subflow shape proves out; will become the default
|
|
111
|
+
* once verified end-to-end. See `agent/buildDynamicAgentChart.ts`.
|
|
112
|
+
*/
|
|
113
|
+
readonly reactStructure?: 'flat' | 'subflow';
|
|
114
|
+
/**
|
|
115
|
+
* ReAct loop SEMANTICS — how much of the request is re-engineered each
|
|
116
|
+
* iteration. Default `'dynamic'`.
|
|
117
|
+
*
|
|
118
|
+
* `'dynamic'` (default) — every iteration re-runs the InjectionEngine and
|
|
119
|
+
* all three slots (system-prompt ‖ messages ‖ tools), because which
|
|
120
|
+
* injections are active can change per turn (a skill activates, a rule
|
|
121
|
+
* fires, a tool-return triggers something). The loop targets the
|
|
122
|
+
* InjectionEngine. This is the right shape when the agent uses skills,
|
|
123
|
+
* rule/on-tool-return triggers, or any per-turn context steering.
|
|
124
|
+
*
|
|
125
|
+
* `'classic'` — textbook ReAct: context is engineered ONCE. The
|
|
126
|
+
* InjectionEngine, system-prompt and tools run a single time up front;
|
|
127
|
+
* the loop targets only the Messages slot, so each iteration just appends
|
|
128
|
+
* the new tool result and re-calls the LLM. Use this when the system
|
|
129
|
+
* prompt and tool set are fixed for the whole run (the common case). The
|
|
130
|
+
* chart then reads honestly — `ToolCalls → Messages` loops, the static
|
|
131
|
+
* slots sit outside the loop.
|
|
132
|
+
*
|
|
133
|
+
* Both modes produce identical LLM requests for a static agent (no dynamic
|
|
134
|
+
* triggers); `'classic'` just avoids re-computing fixed slots and shows in the
|
|
135
|
+
* chart that only the messages re-run (after turn 1 only the Messages slot
|
|
136
|
+
* lights up). Implementation-wise the chart is the SAME as Dynamic — the only
|
|
137
|
+
* difference is that the Context selector stops re-selecting the system-prompt
|
|
138
|
+
* and tools slots after the first turn, so their outputs are reused.
|
|
139
|
+
*
|
|
140
|
+
* CAVEAT: because the static slots are cached after turn 1, `'classic'` is for
|
|
141
|
+
* agents whose system-prompt + tools are FIXED. If you register skills or
|
|
142
|
+
* dynamic-trigger injections (rule / on-tool-return / llm-activated), an
|
|
143
|
+
* activation that happens mid-run would NOT surface into the cached
|
|
144
|
+
* system-prompt/tools — use `'dynamic'` (the default) for those. Currently
|
|
145
|
+
* `'classic'` uses the flat chart shape (the `reactStructure: 'subflow'`
|
|
146
|
+
* grouping re-seeds context every turn by design, so it stays dynamic-only).
|
|
147
|
+
*/
|
|
148
|
+
readonly reactMode?: 'classic' | 'dynamic';
|
|
67
149
|
}
|
|
68
150
|
export interface AgentInput {
|
|
69
151
|
readonly message: string;
|
|
@@ -179,5 +261,19 @@ export interface AgentState {
|
|
|
179
261
|
* `scope.history` (ensures Anthropic signature round-trip). Empty
|
|
180
262
|
* array when no thinking present. */
|
|
181
263
|
thinkingBlocks: readonly ThinkingBlock[];
|
|
264
|
+
/** Set when the rules-based reliability loop takes the fail-fast path.
|
|
265
|
+
* `Agent.run()` reads these from the post-run snapshot and throws a
|
|
266
|
+
* typed `ReliabilityFailFastError`. Mirrors `policyHalt*` — because the
|
|
267
|
+
* loop stops the chart with `$break` (not a throw), durable scope is the
|
|
268
|
+
* only courier of the structured fail context across the break to the
|
|
269
|
+
* API boundary. (Telemetry ALSO fires via the `reliability.fail_fast`
|
|
270
|
+
* emit event; these scope fields are the business-logic control signal.) */
|
|
271
|
+
reliabilityFailKind?: string;
|
|
272
|
+
reliabilityFailPayload?: ReliabilityScope['failPayload'];
|
|
273
|
+
reliabilityFailReason?: string;
|
|
274
|
+
/** Originating error message/name — stringified because Error objects
|
|
275
|
+
* don't survive footprintjs's `structuredClone` of scope. */
|
|
276
|
+
reliabilityFailCauseMessage?: string;
|
|
277
|
+
reliabilityFailCauseName?: string;
|
|
182
278
|
}
|
|
183
279
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/core/agent/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EACV,UAAU,EACV,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,YAAY,EACb,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACvE,OAAO,KAAK,EAAE,eAAe,EAAE,MA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,YAAY,EAAE,SAAS,CAAC,MAAM,GAAG,SAAS,CAAC,EAAE,CAAC;IAG9C;;;;0EAIsE;IACtE,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;0BAEsB;IACtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,qEAAqE;IACrE,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,cAAc,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IACnD,yCAAyC;IACzC,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,kEAAkE;IAClE,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAG7B;;;6EAGyE;IACzE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;0CAIsC;IACtC,cAAc,EAAE,SAAS,aAAa,EAAE,CAAC;IAGzC;;;;;;iFAM6E;IAC7E,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,sBAAsB,CAAC,EAAE,gBAAgB,CAAC,aAAa,CAAC,CAAC;IACzD,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B;kEAC8D;IAC9D,2BAA2B,CAAC,EAAE,MAAM,CAAC;IACrC,wBAAwB,CAAC,EAAE,MAAM,CAAC;CACnC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* humanizeLLMError — turn a raw provider/SDK error into a plain-language
|
|
3
|
+
* sentence a NON-developer can act on.
|
|
4
|
+
*
|
|
5
|
+
* agentfootprint targets vibe-coding / non-developer builders. A raw
|
|
6
|
+
* "[browser-anthropic] Failed to fetch" or "401 Unauthorized" means
|
|
7
|
+
* nothing to them. This maps the common failure shapes to a friendly,
|
|
8
|
+
* actionable message. The raw error is preserved on `.cause` (and via
|
|
9
|
+
* `wrapLLMError`) so developers can still dig in.
|
|
10
|
+
*
|
|
11
|
+
* Pure + dependency-light: string/shape matching only. Extend the cases
|
|
12
|
+
* as new provider failure modes surface — keep each message short and
|
|
13
|
+
* tell the user what to DO.
|
|
14
|
+
*/
|
|
15
|
+
/** Map a thrown provider/SDK error to a friendly, actionable sentence. */
|
|
16
|
+
export declare function humanizeLLMError(err: unknown): string;
|
|
17
|
+
/**
|
|
18
|
+
* Wrap a raw provider error in a fresh Error whose `.message` is the
|
|
19
|
+
* humanized sentence, preserving the original on `.cause` for developers
|
|
20
|
+
* (and "Copy for LLM"). Re-throw this from the LLM call site so the
|
|
21
|
+
* friendly message flows through onError → onRunFailed → the monitor.
|
|
22
|
+
*/
|
|
23
|
+
export declare function wrapLLMError(err: unknown): Error;
|
|
24
|
+
//# sourceMappingURL=humanizeLLMError.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"humanizeLLMError.d.ts","sourceRoot":"","sources":["../../../src/core/humanizeLLMError.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAUH,0EAA0E;AAC1E,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,OAAO,GAAG,MAAM,CA8CrD;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,OAAO,GAAG,KAAK,CAIhD"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Runner — consumer-facing interface for every primitive/composition/pattern.
|
|
3
3
|
*
|
|
4
|
-
* Pattern: Facade (GoF) over
|
|
4
|
+
* Pattern: Facade (GoF) over the footprintjs FlowChart + EventDispatcher.
|
|
5
5
|
* Role: The one object consumers hold. Exposes:
|
|
6
|
-
* - `.run()`
|
|
7
|
-
*
|
|
6
|
+
* - `.run()` (execute)
|
|
7
|
+
* - `.getSpec()` (the design-time FlowChart blueprint —
|
|
8
|
+
* same value footprintjs's `addSubFlowChart*` accepts)
|
|
8
9
|
* - `.on() / .off() / .once()` (listener subscription)
|
|
9
10
|
* - `.attach()` (attach custom CombinedRecorder)
|
|
10
11
|
* - `.emit()` (consumer-defined custom events on the same
|
|
@@ -12,7 +13,7 @@
|
|
|
12
13
|
* Emits: N/A — this file defines the INTERFACE. Concrete runners
|
|
13
14
|
* (LLMCall, Agent, Sequence, etc.) implement it.
|
|
14
15
|
*/
|
|
15
|
-
import type { CombinedRecorder,
|
|
16
|
+
import type { CombinedRecorder, FlowChart, FlowchartCheckpoint, RunOptions } from 'footprintjs';
|
|
16
17
|
import type { RunnerPauseOutcome } from './pause.js';
|
|
17
18
|
import type { EventListener, ListenOptions, Unsubscribe, WildcardListener, WildcardSubscription } from '../events/dispatcher.js';
|
|
18
19
|
import type { AgentfootprintEvent, AgentfootprintEventType } from '../events/registry.js';
|
|
@@ -73,7 +74,52 @@ export interface EnableNamespace {
|
|
|
73
74
|
* That makes them freely nestable: any runner can be a child of any
|
|
74
75
|
* composition.
|
|
75
76
|
*/
|
|
76
|
-
export interface Runner<TIn = unknown, TOut = unknown>
|
|
77
|
+
export interface Runner<TIn = unknown, TOut = unknown> {
|
|
78
|
+
/**
|
|
79
|
+
* Return the footprintjs FlowChart for this runner — the canonical
|
|
80
|
+
* design-time blueprint. Stable across calls. Pairs with the run-time
|
|
81
|
+
* accessors (`getLastSnapshot`, `getCommitCount`) and matches
|
|
82
|
+
* `ExplainableShell.spec` + `specToReactFlow(spec, ...)` consumer
|
|
83
|
+
* conventions.
|
|
84
|
+
*
|
|
85
|
+
* Subflow mounting (footprintjs `addSubFlowChart*`) accepts the
|
|
86
|
+
* `FlowChart` value directly:
|
|
87
|
+
*
|
|
88
|
+
* parent.addSubFlowChartNext('sf-agent', child.getSpec(), 'Agent')
|
|
89
|
+
*/
|
|
90
|
+
getSpec(): FlowChart;
|
|
91
|
+
/**
|
|
92
|
+
* Return the consumer-shaped UI group for this runner — produced by
|
|
93
|
+
* invoking the `groupTranslator` (if one was attached at constructor
|
|
94
|
+
* time) with this composition's metadata. Returns `undefined` when no
|
|
95
|
+
* translator was attached.
|
|
96
|
+
*
|
|
97
|
+
* Companion of `getSpec()`: `getSpec()` is the canonical (UI-
|
|
98
|
+
* agnostic) blueprint; `getUIGroup()` is the consumer-shaped view.
|
|
99
|
+
* Both are stable post-construction.
|
|
100
|
+
*
|
|
101
|
+
* See `core/translator.ts` for the `GroupTranslator` /
|
|
102
|
+
* `GroupMetadata` types.
|
|
103
|
+
*/
|
|
104
|
+
getUIGroup<T = unknown>(): T | undefined;
|
|
105
|
+
/**
|
|
106
|
+
* Translate this runner's group metadata with a CALLER-SUPPLIED
|
|
107
|
+
* translator that OVERRIDES whatever translator (if any) the runner
|
|
108
|
+
* was constructed with. Used by parent compositions to apply
|
|
109
|
+
* per-method translator overrides (e.g.,
|
|
110
|
+
* `Parallel.create(...).branch('special', runner, { groupTranslator: ... })`
|
|
111
|
+
* — for the `'special'` branch only, this `override` runs against
|
|
112
|
+
* `runner`'s own `GroupMetadata` instead of the runner's default
|
|
113
|
+
* translator).
|
|
114
|
+
*
|
|
115
|
+
* NOT cached at the runner level. The caller invokes this exactly
|
|
116
|
+
* once per build (parent's `buildUIGroupMetadata`) and caches the
|
|
117
|
+
* resulting `uiGroup` via the parent's `RunnerBase.uiGroupCache`.
|
|
118
|
+
*
|
|
119
|
+
* Returns `undefined` when this runner has no group metadata to
|
|
120
|
+
* translate (i.e., `buildUIGroupMetadata()` returned `undefined`).
|
|
121
|
+
*/
|
|
122
|
+
getUIGroupWith<T = unknown>(override: import('./translator.js').GroupTranslator): T | undefined;
|
|
77
123
|
/**
|
|
78
124
|
* Execute the runner. On happy-path completion, resolves with `TOut`.
|
|
79
125
|
* If any stage (Agent tool via `pauseHere`, nested runner, or consumer
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runner.d.ts","sourceRoot":"","sources":["../../../src/core/runner.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"runner.d.ts","sourceRoot":"","sources":["../../../src/core/runner.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,SAAS,EAAE,mBAAmB,E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E1E;;;;OAIG;IACH,MAAM,CAAC,QAAQ,EAAE,gBAAgB,GAAG,WAAW,CAAC;IAEhD;;;;;OAKG;IACH,QAAQ,CAAC,MAAM,EAAE,eAAe,CAAC;IAEjC;;;;;;OAMG;IACH,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;CAC5D;AAED,6EAA6E;AAC7E,YAAY,EAAE,UAAU,EAAE,CAAC;AAE3B;;;;;GAKG;AACH,MAAM,MAAM,YAAY,GAAG,mBAAmB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buildMessagesSlot.d.ts","sourceRoot":"","sources":["../../../../src/core/slots/buildMessagesSlot.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAc,MAAM,aAAa,CAAC;AAEzD,OAAO,KAAK,EAAkB,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAMzE;;;;GAIG;AACH,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC;IAC3B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,WAAW,kBAAkB;IACjC,0CAA0C;IAC1C,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;CAC7B;AAMD;;;;;;;;GAQG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,GAAE,kBAAuB,GAAG,SAAS,
|
|
1
|
+
{"version":3,"file":"buildMessagesSlot.d.ts","sourceRoot":"","sources":["../../../../src/core/slots/buildMessagesSlot.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAc,MAAM,aAAa,C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|
|
1
|
+
{"version":3,"file":"buildSystemPromptSlot.d.ts","sourceRoot":"","sources":["../../../../src/core/slots/buildSystemPromptSlot.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAc,MAAM,aAAa,CAAC;AAOzD;;;GAGG;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,IAAI,EAAE;IAClC,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;CAC7B,KAAK,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;AAE/B,MAAM,WAAW,sBAAsB;IACrC,4EAA4E;IAC5E,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,cAAc,CAAC;IACzC,yCAAyC;IACzC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAC5B,mFAAmF;IACnF,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;CAC1B;AAWD;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,sBAAsB,GAAG,SAAS,CAoE/E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buildThinkingSubflow.d.ts","sourceRoot":"","sources":["../../../../src/core/slots/buildThinkingSubflow.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAc,MAAM,aAAa,CAAC;AACzD,OAAO,KAAK,EAAiB,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAU9E;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,eAAe,GAAG,SAAS,
|
|
1
|
+
{"version":3,"file":"buildThinkingSubflow.d.ts","sourceRoot":"","sources":["../../../../src/core/slots/buildThinkingSubflow.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAc,MAAM,aAAa,CAAC;AACzD,OAAO,KAAK,EAAiB,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAU9E;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,eAAe,GAAG,SAAS,CA2ExE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buildToolsSlot.d.ts","sourceRoot":"","sources":["../../../../src/core/slots/buildToolsSlot.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAc,MAAM,aAAa,CAAC;AACzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAM7D,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,KAAK,EAAE,YAAY,EAAuB,MAAM,+BAA+B,CAAC;AAGvF;;;;;;;;GAQG;AACH,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,SAAS,IAAI,EAAE,CAAC;CAC1B;AAED,MAAM,WAAW,eAAe;IAC9B,2EAA2E;IAC3E,QAAQ,CAAC,KAAK,EAAE,SAAS,aAAa,EAAE,CAAC;IACzC;;;;;;;OAOG;IACH,QAAQ,CAAC,YAAY,CAAC,EAAE,YAAY,CAAC;IACrC;;;;;OAKG;IACH,QAAQ,CAAC,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IAC/C,yCAAyC;IACzC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;CAC7B;AAMD;;;;;;;;GAQG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,eAAe,GAAG,SAAS,
|
|
1
|
+
{"version":3,"file":"buildToolsSlot.d.ts","sourceRoot":"","sources":["../../../../src/core/slots/buildToolsSlot.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAc,MAAM,aAAa,CAAC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