@copado/agentia-cli 1.0.0-beta.2 → 1.0.0-beta.4
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 +36 -0
- package/README.md +384 -282
- package/dist/commands/cicd/data/template/save-detail.js +2 -2
- package/dist/commands/cicd/repository/auth/https/configure.js +21 -0
- package/dist/commands/cicd/repository/auth/oauth/login.js +56 -0
- package/dist/commands/cicd/repository/auth/setup.js +28 -0
- package/dist/commands/cicd/repository/auth/ssh/configure.js +22 -0
- package/dist/commands/cicd/repository/create.js +2 -2
- package/dist/commands/cicd/repository/reset.js +17 -5
- package/dist/commands/cicd/repository/update.js +6 -14
- package/dist/commands/cicd/work/environment-sync.js +66 -61
- package/dist/commands/cicd/work/get.js +5 -9
- package/dist/commands/cicd/work/submit.js +1 -1
- package/dist/commands/runtime.js +26 -0
- package/dist/hooks/finally/ide-command-event.js +1 -1
- package/dist/hooks/init/plugin-host.js +6 -0
- package/dist/lib/agentia-command.js +16 -0
- package/dist/lib/cursor-mcp-config.js +3 -1
- package/dist/lib/data-types.js +3 -1
- package/dist/lib/git-worktree.js +2 -1
- package/dist/lib/mcp/data-tools.js +2 -2
- package/dist/lib/mcp/server.js +33 -7
- package/dist/lib/mcp/tool-annotations.js +3 -0
- package/dist/lib/mcp/tools.js +55 -12
- package/dist/lib/mcp/work-tools.js +3 -6
- package/dist/lib/plugin-host/auth.js +4 -0
- package/dist/lib/plugin-host/format.js +3 -0
- package/dist/lib/plugin-host/index.js +7 -0
- package/dist/lib/plugin-host/organization.js +4 -0
- package/dist/lib/plugin-host/projection-utils.js +6 -0
- package/dist/lib/plugin-host/registry.js +6 -0
- package/dist/lib/plugin-host/request-scope.js +4 -0
- package/dist/lib/plugin-host/work.js +4 -0
- package/dist/lib/project-root.js +3 -1
- package/dist/lib/repository-auth.js +8 -0
- package/dist/lib/repository-flags.js +2 -2
- package/dist/lib/repository-types.js +6 -1
- package/dist/lib/repository-url-prefill.js +4 -0
- package/dist/lib/runtime-invoke-context.js +6 -0
- package/dist/lib/runtime-rpc.js +14 -0
- package/dist/lib/runtime.js +1 -1
- package/dist/lib/work-environment-sync.js +1 -2
- package/dist/lib/work-get.js +3 -0
- package/oclif.manifest.json +244 -126
- package/package.json +4 -3
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,42 @@ All published sections are mapped to immutable npm publication metadata. New use
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [1.0.0-beta.4] - 2026-10-07
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- Add `agentia runtime`, a bounded custom NDJSON process the Agentia IDE uses to reuse one warm CLI for many invokes instead of starting Node and oclif per call. Runtime command bodies are serialized, stdout/stderr and structured failures are preserved, stdin-consuming commands are rejected, and nested commands publish normal `command.completed` refresh events. This is process amortization, not a login daemon.
|
|
12
|
+
- Add a plugin host and the `@copado/agentia-plugin-sdk` package so plugins call Copado through a curated set of domain methods instead of importing CLI internals. The host exposes `work.getWorkItem`, `organization.healthCheck`, `auth.status` (configured/ready/source only), and table formatting; results are allowlisted and redacted, including errors. Plugin requests are labelled `plugin:<command id>`. The SDK ships `AgentiaCommand`, lets a plugin declare the host methods it needs (`getAgentiaHost({requires})`) so an older CLI fails with a clear message, and plugins never receive credentials.
|
|
13
|
+
|
|
14
|
+
### Removed
|
|
15
|
+
|
|
16
|
+
- Remove the in-repo `sample_plugin/` directory. Use the reference plugin and generator in the `cli-plugin-generator` repository (`@copado/create-agentia-plugin`) instead.
|
|
17
|
+
|
|
18
|
+
## [1.0.0-beta.3] - 2026-10-06
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
|
|
22
|
+
- Improve repository setup with guided HTTPS, SSH, and OAuth authentication flows. Repository credentials are now configured separately from repository details, stay out of command arguments, and are protected from accidental replacement by default.
|
|
23
|
+
- `cicd work environment-sync --json` includes a `logs` array of captured progress (and subprocess stdout/stderr), matching `cicd work publish` and `cicd work submit`.
|
|
24
|
+
- `cicd work environment-sync` human output lists committed metadata as `userstory action type name category` lines and no longer prints pathspec tables.
|
|
25
|
+
- `cicd work environment-sync` ends human output with `Elapsed: <seconds>s`, matching `cicd work publish` and `cicd work submit`.
|
|
26
|
+
- `cicd work environment-sync --continue` commits the in-progress merge when conflicts are resolved and staged but not yet committed (`MERGE_HEAD` present). If you already ran `git commit`, it skips that step and finishes the remaining sync.
|
|
27
|
+
- `cicd work submit` (including `--done` / `--deploy` and MCP `agentia_work_submit`) counts user stories ahead and behind the next pipeline environment and warns when stories behind might cause promotion conflicts, advising `agentia cicd work environment-sync` to retrieve and merge the newest changes.
|
|
28
|
+
- When merging a feature branch into the dest/dev org branch (`environment-sync` and work publish), remaining conflicts after `-X theirs` are auto-resolved by taking the feature branch (`checkout --theirs`, or `git rm` when that branch deleted the path) and completing the merge commit.
|
|
29
|
+
|
|
30
|
+
### Fixed
|
|
31
|
+
|
|
32
|
+
- `cicd project default set --credential` validates the credential from the environment record. The credential resource does not accept GET and returned HTTP 405.
|
|
33
|
+
- Surface git stdout and stderr when `cicd work environment-sync` (and related git merge paths) fail, instead of only Node's generic `Command failed: git …` / exit code.
|
|
34
|
+
|
|
35
|
+
### Fixed
|
|
36
|
+
|
|
37
|
+
- Default omitted `limit` to `50000` on `cicd data template save-detail` and MCP `agentia_data_template_save_detail` so gateway PUT validation succeeds when a v2 detail omits the field; explicit limits, including `0`, are unchanged (`US-0632625`).
|
|
38
|
+
|
|
39
|
+
### Fixed
|
|
40
|
+
|
|
41
|
+
- Resolve local MCP project authentication, defaults, `.env`, and Git context consistently across Cursor, Claude Code, and supported roots-aware local clients; stale Cursor registrations are now upgraded to pass the active workspace root.
|
|
42
|
+
|
|
7
43
|
## [1.0.0-beta.2] - 2026-10-02
|
|
8
44
|
|
|
9
45
|
### Added
|