Skip to content

feat: weni run active agents cli backend#92

Merged
MatheusLeall merged 4 commits into
mainfrom
feat/weni-run-active-agents-cli-backend
May 27, 2026
Merged

feat: weni run active agents cli backend#92
MatheusLeall merged 4 commits into
mainfrom
feat/weni-run-active-agents-cli-backend

Conversation

@MatheusLeall

Copy link
Copy Markdown
Contributor
  • feat: extend weni run to support active agents (PreProcessor + Rules)
    • new RunRequestModel with type discriminator (active | passive)
    • introduce Strategy pattern in app/services/runs/ with tool_strategy (passive) and active_strategy (active)
    • active runs reuse ActiveAgentProcessor to build the Lambda zip and stream results in the same NDJSON contract as the passive flow
    • active test_event now mirrors the active Lambda template (payload, params, credentials, project, project_rules, ignored_official_rules, global_rule); JWT is injected into project.auth_token

@MatheusLeall MatheusLeall merged commit 5a8d465 into main May 27, 2026
2 checks passed
@MatheusLeall MatheusLeall deleted the feat/weni-run-active-agents-cli-backend branch May 27, 2026 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants