One secondary scope dimension's value. The same union as SecondaryScopeValue in
@memberjunction/ai-core-plus, declared here because that package depends on this one.
Nothing here ties the two together; the compiler does only where code converts one into the other, and each
conversion guards one direction. In @memberjunction/ai-agents, BaseAgent assigns SecondaryScopeValue records
into ActionRunScope (so a value added to SecondaryScopeValue alone fails there) and passes the run's
ActionRunScope back into its memory, RAG and scoped-prompt inputs, typed SecondaryScopeValue (so a value
added here alone fails there). Scoped Search in @memberjunction/core-actions makes the second conversion too.
Removing those conversions removes the guard: keep the two unions identical by hand.
One secondary scope dimension's value. The same union as
SecondaryScopeValuein@memberjunction/ai-core-plus, declared here because that package depends on this one.Nothing here ties the two together; the compiler does only where code converts one into the other, and each conversion guards one direction. In
@memberjunction/ai-agents, BaseAgent assignsSecondaryScopeValuerecords into ActionRunScope (so a value added toSecondaryScopeValuealone fails there) and passes the run's ActionRunScope back into its memory, RAG and scoped-prompt inputs, typedSecondaryScopeValue(so a value added here alone fails there). Scoped Search in@memberjunction/core-actionsmakes the second conversion too. Removing those conversions removes the guard: keep the two unions identical by hand.