@copado/agentia-cli 0.122.0-alpha.0 → 0.122.0-alpha.1
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/CHANGELOG.md +11 -0
- package/README.md +290 -316
- package/dist/commands/ai/agent/ask.d.ts +13 -20
- package/dist/commands/ai/agent/ask.js +12 -32
- package/dist/commands/ai/agent/ask.js.map +1 -1
- package/dist/commands/ai/agent/chat.d.ts +11 -19
- package/dist/commands/ai/agent/chat.js +11 -34
- package/dist/commands/ai/agent/chat.js.map +1 -1
- package/dist/commands/cicd/work/commit.d.ts +0 -1
- package/dist/commands/cicd/work/commit.js +6 -8
- package/dist/commands/cicd/work/commit.js.map +1 -1
- package/dist/commands/setup.d.ts +1 -8
- package/dist/commands/setup.js +3 -47
- package/dist/commands/setup.js.map +1 -1
- package/dist/lib/auth-config.d.ts +2 -0
- package/dist/lib/auth-config.js +10 -1
- package/dist/lib/auth-config.js.map +1 -1
- package/dist/lib/cursor-mcp-config.d.ts +4 -0
- package/dist/lib/cursor-mcp-config.js +1 -0
- package/dist/lib/cursor-mcp-config.js.map +1 -1
- package/dist/lib/defaults-store.d.ts +2 -0
- package/dist/lib/defaults-store.js +10 -0
- package/dist/lib/defaults-store.js.map +1 -1
- package/dist/lib/mcp/server.js +2 -0
- package/dist/lib/mcp/server.js.map +1 -1
- package/dist/lib/mcp/tools.d.ts +0 -1
- package/dist/lib/mcp/work-tools.d.ts +1 -2
- package/dist/lib/mcp/work-tools.js +13 -15
- package/dist/lib/mcp/work-tools.js.map +1 -1
- package/dist/lib/project-root.d.ts +13 -0
- package/dist/lib/project-root.js +65 -0
- package/dist/lib/project-root.js.map +1 -0
- package/dist/lib/project-setup.js +49 -35
- package/dist/lib/project-setup.js.map +1 -1
- package/dist/lib/setup-templates.d.ts +3 -1
- package/dist/lib/setup-templates.js +3 -1
- package/dist/lib/setup-templates.js.map +1 -1
- package/dist/lib/setup-wizard.js +58 -29
- package/dist/lib/setup-wizard.js.map +1 -1
- package/dist/lib/stock-quality-gates.js +1 -1
- package/dist/lib/stock-quality-gates.js.map +1 -1
- package/dist/lib/work-commit.d.ts +3 -0
- package/dist/lib/work-commit.js +45 -8
- package/dist/lib/work-commit.js.map +1 -1
- package/dist/lib/work-flags.d.ts +3 -1
- package/dist/lib/work-flags.js +23 -11
- package/dist/lib/work-flags.js.map +1 -1
- package/oclif.manifest.json +589 -697
- package/package.json +1 -1
- package/templates/skills/agentia-ai/SKILL.md +4 -3
- package/templates/skills/agentia-ai/references/ai-agents.md +13 -13
package/package.json
CHANGED
|
@@ -14,9 +14,10 @@ Prefer the `agentia_ai_ask` MCP tool when it is available for single-turn prompt
|
|
|
14
14
|
## Start Here
|
|
15
15
|
|
|
16
16
|
1. Confirm AI auth with `agentia auth get --ai --json`. Configure missing credentials with `agentia auth set --ai ...` or the supported `AGENTIA_AI_*` environment variables.
|
|
17
|
-
2. Choose exactly one agent
|
|
18
|
-
3.
|
|
19
|
-
4.
|
|
17
|
+
2. Choose exactly one required `--agent` option for `ask`: `plan`, `build`, `test`, `release`, `operate`, or `knowledge`. `orchestrate` is not valid for `ask`.
|
|
18
|
+
3. Choose exactly one required `--agent` option for `chat`: `plan`, `build`, `test`, `release`, `operate`, `knowledge`, or `orchestrate`.
|
|
19
|
+
4. Add useful context flags when available: `--workspace`, `--dialogue`, `--user-story`, `--sf-org`, and `--component`.
|
|
20
|
+
5. Use `--json` for automation. Use `--no-stream` when the caller needs a buffered response.
|
|
20
21
|
|
|
21
22
|
## Reference
|
|
22
23
|
|
|
@@ -19,24 +19,24 @@ Operational options include `--workspace` and `--timeout`; authentication is res
|
|
|
19
19
|
|
|
20
20
|
| Selector | Use For |
|
|
21
21
|
| --- | --- |
|
|
22
|
-
|
|
|
23
|
-
|
|
|
24
|
-
|
|
|
25
|
-
|
|
|
26
|
-
|
|
|
27
|
-
|
|
|
28
|
-
|
|
|
22
|
+
| `plan` | Break requirements into delivery plans and acceptance criteria. |
|
|
23
|
+
| `build` | Implementation guidance, code-level questions, and construction tasks. |
|
|
24
|
+
| `test` | Test strategy, regression selection, and test troubleshooting. |
|
|
25
|
+
| `release` | Release, promotion, packaging, and deployment questions. |
|
|
26
|
+
| `operate` | Operational diagnostics, monitoring, and runbook style questions. |
|
|
27
|
+
| `knowledge` | Copado AI Knowledge grounding, product documentation, personas, and troubleshooting. |
|
|
28
|
+
| `orchestrate` | Chat-only orchestration mode for interactive sessions. |
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
Pass the selected value with the required `--agent` option. `ask` accepts `plan`, `build`, `test`, `release`, `operate`, or `knowledge`; `chat` also accepts `orchestrate`. `ask` requires a prompt with `-p` or `--prompt`; `chat` is TTY-only and prompts interactively.
|
|
31
31
|
|
|
32
32
|
## Single-Turn Ask
|
|
33
33
|
|
|
34
34
|
Use `ask` for automation and agent-to-agent workflows:
|
|
35
35
|
|
|
36
36
|
```sh
|
|
37
|
-
agentia ai agent ask --plan -p "Break this user story into implementation steps" --json
|
|
38
|
-
agentia ai agent ask --knowledge -p "Summarize Copado guidance for data template sync" --no-stream --json
|
|
39
|
-
agentia ai agent ask --build --user-story US-1042 --component AccountService -p "Review the implementation approach" --json
|
|
37
|
+
agentia ai agent ask --agent plan -p "Break this user story into implementation steps" --json
|
|
38
|
+
agentia ai agent ask --agent knowledge -p "Summarize Copado guidance for data template sync" --no-stream --json
|
|
39
|
+
agentia ai agent ask --agent build --user-story US-1042 --component AccountService -p "Review the implementation approach" --json
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
MCP `agentia_ai_ask` mirrors the buffered JSON-safe ask flow. It does not provide interactive chat.
|
|
@@ -46,8 +46,8 @@ MCP `agentia_ai_ask` mirrors the buffered JSON-safe ask flow. It does not provid
|
|
|
46
46
|
Use `chat` only when a human is present in a terminal:
|
|
47
47
|
|
|
48
48
|
```sh
|
|
49
|
-
agentia ai agent chat --build --user-story US-1042
|
|
50
|
-
agentia ai agent chat --orchestrate --workspace <workspace-id>
|
|
49
|
+
agentia ai agent chat --agent build --user-story US-1042
|
|
50
|
+
agentia ai agent chat --agent orchestrate --workspace <workspace-id>
|
|
51
51
|
```
|
|
52
52
|
|
|
53
53
|
Chat creates or reuses one dialogue for the session and supports session slash commands. It is not suitable for headless JSON workflows.
|