@copado/agentia-cli 0.2.0-alpha.0 → 0.6.0-alpha.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 +14 -9
- package/oclif.manifest.json +1 -1
- package/package.json +5 -1
package/README.md
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
agentia-cli
|
|
1
|
+
@copado/agentia-cli
|
|
2
2
|
=================
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
Command-line interface for Agentia headless Copado workflows (auth, environments, jobs, pipelines, metadata, and local MCP).
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
[](https://oclif.io)
|
|
8
|
-
[](https://www.npmjs.com/package/@copado/agentia-cli)
|
|
9
|
+
[](https://www.npmjs.com/package/@copado/agentia-cli)
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
<!-- toc -->
|
|
13
13
|
* [Usage](#usage)
|
|
14
14
|
* [Integration Testing](#integration-testing)
|
|
15
15
|
* [Local MCP Server](#local-mcp-server)
|
|
16
|
-
* [
|
|
16
|
+
* [License](#license)
|
|
17
17
|
* [Commands](#commands)
|
|
18
18
|
<!-- tocstop -->
|
|
19
19
|
# Usage
|
|
@@ -23,7 +23,7 @@ $ npm install -g @copado/agentia-cli
|
|
|
23
23
|
$ agentia COMMAND
|
|
24
24
|
running command...
|
|
25
25
|
$ agentia (--version)
|
|
26
|
-
@copado/agentia-cli/0.
|
|
26
|
+
@copado/agentia-cli/0.6.0-alpha.0 linux-x64 node-v22.23.1
|
|
27
27
|
$ agentia --help [COMMAND]
|
|
28
28
|
USAGE
|
|
29
29
|
$ agentia COMMAND
|
|
@@ -51,8 +51,7 @@ Agentia can run as a local Model Context Protocol (MCP) server over stdio. MCP-c
|
|
|
51
51
|
1. Install or link the CLI so `agentia` is available:
|
|
52
52
|
|
|
53
53
|
```sh-session
|
|
54
|
-
$ npm install -g agentia-cli
|
|
55
|
-
# or, from a local checkout:
|
|
54
|
+
$ npm install -g @copado/agentia-cli
|
|
56
55
|
$ npm run build && npm link
|
|
57
56
|
```
|
|
58
57
|
|
|
@@ -121,13 +120,15 @@ Tools are JSON-safe and return structured results. Sensitive fields are redacted
|
|
|
121
120
|
| Topic | Tools |
|
|
122
121
|
| --- | --- |
|
|
123
122
|
| Environment | `agentia_environment_list`, `agentia_environment_get`, `agentia_environment_create`, `agentia_environment_update` |
|
|
123
|
+
| Job | `agentia_job_list`, `agentia_job_get`, `agentia_job_run`, `agentia_job_resume`, `agentia_job_kill`, `agentia_job_pause` |
|
|
124
124
|
| Pipeline | `agentia_pipeline_list`, `agentia_pipeline_get`, `agentia_pipeline_connection_list` |
|
|
125
125
|
| Project | `agentia_project_default_get`, `agentia_project_default_set`, `agentia_project_default_unset` |
|
|
126
126
|
| Metadata | `agentia_metadata_list`, `agentia_metadata_content_get`, `agentia_metadata_content_compare`, `agentia_metadata_index_compare`, `agentia_metadata_dependency_list` |
|
|
127
127
|
|
|
128
128
|
### Notes for common tools
|
|
129
129
|
|
|
130
|
-
- Pipeline tools require `userId` and `organizationId` for the gateway `x-user-id` and `x-organization-id` headers.
|
|
130
|
+
- Pipeline and job tools require `userId` and `organizationId` for the gateway `x-user-id` and `x-organization-id` headers.
|
|
131
|
+
- Job list accepts optional filters such as `status`, `name`, `type`, `parent`, `context`, and `limit`.
|
|
131
132
|
- Metadata tools require the same gateway identifiers as the CLI flags, for example `pipelineId`, `sourceOrgId`, and `sourceCredentialId` where applicable.
|
|
132
133
|
- Project default tools read and write local or global defaults managed by `agentia project default *`.
|
|
133
134
|
- Environment create/update tools mirror the corresponding CLI commands and only send fields you provide.
|
|
@@ -142,6 +143,10 @@ $ npm test -- --grep 'mcp'
|
|
|
142
143
|
|
|
143
144
|
Live smoke check through Cursor: call `agentia_environment_list` or `agentia_project_default_get` after auth is configured. For pipeline and metadata tools, use Test14 IDs from your local `.env.integration`.
|
|
144
145
|
|
|
146
|
+
# License
|
|
147
|
+
|
|
148
|
+
Agentia CLI is distributed under the Copado End User License Agreement. See [LICENSE.md](LICENSE.md) for the full license terms.
|
|
149
|
+
|
|
145
150
|
# Commands
|
|
146
151
|
<!-- commands -->
|
|
147
152
|
* [`agentia help [COMMAND]`](#agentia-help-command)
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@copado/agentia-cli",
|
|
3
3
|
"description": "Command-line interface for Agentia",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.6.0-alpha.0",
|
|
5
5
|
"author": "Copado Solutions",
|
|
6
6
|
"bin": {
|
|
7
7
|
"agentia": "./bin/run.js"
|
|
@@ -65,6 +65,9 @@
|
|
|
65
65
|
"environment": {
|
|
66
66
|
"description": "Manage Copado environments"
|
|
67
67
|
},
|
|
68
|
+
"job": {
|
|
69
|
+
"description": "Manage Copado job executions"
|
|
70
|
+
},
|
|
68
71
|
"metadata": {
|
|
69
72
|
"description": "Inspect and compare Copado metadata"
|
|
70
73
|
},
|
|
@@ -84,6 +87,7 @@
|
|
|
84
87
|
"build": "shx rm -rf dist && tsc -b",
|
|
85
88
|
"dev": "node --loader ts-node/esm --disable-warning=ExperimentalWarning --disable-warning=DeprecationWarning bin/dev.js",
|
|
86
89
|
"dev:debug": "tsc -b && node --inspect-brk=9229 --enable-source-maps --disable-warning=ExperimentalWarning --disable-warning=DeprecationWarning bin/run.js",
|
|
90
|
+
"docs:readme": "npm run build && oclif manifest && oclif readme && shx rm -f oclif.manifest.json",
|
|
87
91
|
"lint": "eslint",
|
|
88
92
|
"postpack": "shx rm -f oclif.manifest.json",
|
|
89
93
|
"posttest": "npm run lint",
|