-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Area / component
CLI (cds)
Problem statement
Review and re-implement the existing CommandManager interface to better fit the needs.
Instead of relying / calling agent client, on every command after precomputation of the payload which also returns the client, just call a single function ag.execute({big_payload}).
The big_payload will include as 'title' the command that its refers to i.e: cds p run and after all the requierement information for the agent.
The final goal is to allow the server be able triage if the command is implement on its server version
Proposed solution
Review and re-implement the existing CommandManager interface to better fit the needs.
Instead of relying / calling agent client, on every command after precomputation of the payload which also returns the client, just call a single function ag.execute({big_payload}).
The big_payload will include as 'title' the command that its refers to i.e: cds p run and after all the requierement information for the agent.
The final goal is to allow the server be able triage if the command is implement on its server version
Alternatives considered
No response
Scope / impact
No response
Contribution
- I’m willing to help implement this feature.