WithManifestInfo sets the owner name, and workspace name for the sub-agent.
(owner, workspace, parentAgent, agentDirectory string)
| 207 | // WithManifestInfo sets the owner name, and workspace name |
| 208 | // for the sub-agent. |
| 209 | func WithManifestInfo(owner, workspace, parentAgent, agentDirectory string) Option { |
| 210 | return func(api *API) { |
| 211 | api.ownerName = owner |
| 212 | api.workspaceName = workspace |
| 213 | api.parentAgent = parentAgent |
| 214 | api.agentDirectory = agentDirectory |
| 215 | } |
| 216 | } |
| 217 | |
| 218 | // WithDevcontainers sets the known devcontainers for the API. This |
| 219 | // allows the API to be aware of devcontainers defined in the workspace |
no outgoing calls