refactor(agentexec): remove legacy execution paths

Autonomous workflows now have exactly one production boundary: a task-scoped archie-agent receives a full-task core-NATS request and runs the worker-local stage loop. The legacy [agent] section remains decode-only for migration; it no longer selects runtime behavior.
This commit is contained in:
sam committed 2026-08-24 14:56:57 +10:00
1 parent cc6b093820
commit 5d00ec7b0c
65 files changed
+454 -2678

No files matched your search

+2 -2
View File
@@ -2,8 +2,8 @@ package agentexec
import "github.com/samcharles93/ai-sdk/runtime"
// NewRuntime builds the provider runtime shared by archied's in-process mode
// and the archie-agent worker. Nil means no providers were configured.
// NewRuntime builds a provider runtime for interactive chat or a worker-local
// workflow stage. Nil means no providers were configured.
func NewRuntime(providers map[string]Provider) *runtime.Runtime {
if len(providers) == 0 {
return nil