@gitlab/duo-cli 8.55.0 → 8.57.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -5
- package/dist/index.js +652 -611
- package/dist/index.js.map +40 -31
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
# GitLab Duo CLI
|
|
1
|
+
# GitLab Duo CLI (experimental)
|
|
2
2
|
|
|
3
3
|
GitLab Duo for your command line. An AI-powered CLI tool that brings GitLab Duo's capabilities to your terminal.
|
|
4
4
|
|
|
5
|
+
This tool is [experimental](https://docs.gitlab.com/policy/development_stages_support/#experiment) and some features might not work as expected.
|
|
6
|
+
|
|
5
7
|
## Installation
|
|
6
8
|
|
|
7
9
|
Install globally using npm:
|
|
@@ -44,7 +46,7 @@ On first run, you'll be prompted for a [GitLab authentication token](https://doc
|
|
|
44
46
|
|
|
45
47
|
The run command is ideal for non-interactive CI environments or integration with scripts and automated workflows. For example, you can run an eslint command and pipe any errors to Duo: `duo run --goal "Fix these errors: $eslint_output"`
|
|
46
48
|
|
|
47
|
-
Note that each time you execute `duo run` it will start a fresh workflow, so Duo won't know what the previous conversation or context was.
|
|
49
|
+
Note that each time you execute `duo run` it will start a fresh workflow, so GitLab Duo won't know what the previous conversation or context was.
|
|
48
50
|
|
|
49
51
|
Run a workflow in non-interactive mode:
|
|
50
52
|
|
|
@@ -78,12 +80,12 @@ duo log clear # Remove all existing log files
|
|
|
78
80
|
|
|
79
81
|
### Global Options
|
|
80
82
|
|
|
81
|
-
###
|
|
83
|
+
### `duo` command
|
|
82
84
|
|
|
83
85
|
- `-C, --cwd <path>` - Change working directory
|
|
84
86
|
- `--log-level <level>` - Set logging level (debug, info, warn, error)
|
|
85
87
|
|
|
86
|
-
###
|
|
88
|
+
### `duo run` command
|
|
87
89
|
|
|
88
90
|
- `--gitlab-base-url <url>` - Base URL of GitLab instance (default: `https://gitlab.com`)
|
|
89
91
|
- `--gitlab-auth-token <token>` - Authentication token for GitLab instance
|
|
@@ -95,7 +97,7 @@ duo log clear # Remove all existing log files
|
|
|
95
97
|
|
|
96
98
|
#### MCP
|
|
97
99
|
|
|
98
|
-
Duo CLI supports connecting to local or remote MCP servers using the same MCP configuration as the GitLab IDE extensions. Configuration instructions can be found at [MCP Documentation](https://docs.gitlab.com/user/gitlab_duo/model_context_protocol/mcp_clients/#configure-mcp-servers)
|
|
100
|
+
The GitLab Duo CLI supports connecting to local or remote MCP servers using the same MCP configuration as the GitLab IDE extensions. Configuration instructions can be found at [MCP Documentation](https://docs.gitlab.com/user/gitlab_duo/model_context_protocol/mcp_clients/#configure-mcp-servers)
|
|
99
101
|
|
|
100
102
|
### Environment Variables
|
|
101
103
|
|