-
Notifications
You must be signed in to change notification settings - Fork 6
Closed
Description
Workspace configuration is for the moment done via the .kortex directory only (generally stored with the sources in the repository).
The problem is that this configuration will be shared with all developers of the projects; and use with all agents.
The user should be able to specialise the configuration:
- to complete or overwrite the shared project-related configuration in
.kortex - to complete the configuration depending on the agent to use.
This configuration will be stored in the kortex-cli's storage:
~/.kortex-cli/config/agents.json~/.kortex-cli/config/projects.json
agents.json
{
"claude": {
// config for claude agent, same format as workspace config defined in https://github.com/kortex-hub/kortex-cli-api/tree/main/workspace-configuration
},
"goose": {
// config for goose agent
}
}
projects.json
{
"github.com/kortex-hub/kortex-cli": {
// config for branches/forks of the github repo
},
"/home/user/my/project": {
// config for workspaces in this specific directory (should take precedence over repo config like the one before)
}
}
In projects.json, an empty entry (project = "") will be used for all projects. This entry will be used to add configuration for all projects (github config, etc)
All these configurations will be merged by the manager, and the result will be passed to the runtime.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels