@baldaworks/acprun 0.1.8 → 0.1.10
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 +28 -4
- package/package.json +25 -9
package/README.md
CHANGED
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
[](https://www.npmjs.com/package/@baldaworks/acprun)
|
|
8
8
|
[](LICENSE)
|
|
9
9
|
|
|
10
|
-
##
|
|
10
|
+
## ACP Registry client and agent runner
|
|
11
11
|
|
|
12
|
-
`acprun` is a CLI
|
|
12
|
+
`acprun` is a CLI for discovering, inspecting, resolving, and running agents published in the [Agent Client Protocol (ACP) Registry](https://agentclientprotocol.com). It supports native binaries, `npx`, and `uvx`.
|
|
13
13
|
|
|
14
14
|
It transparently handles distribution resolution across:
|
|
15
15
|
- **Binary Archives**: Detects host OS and CPU architecture (`linux-x86_64`, `linux-aarch64`, `darwin-aarch64`, `darwin-x86_64`, `windows-x86_64`, `windows-aarch64`), downloads `.zip` or `.tar.gz` archives, validates optional SHA256 integrity checksums, safely extracts to local user cache (with strict Zip Slip protection), sets `0755` executable permissions, and builds the command vector.
|
|
@@ -21,13 +21,15 @@ It transparently handles distribution resolution across:
|
|
|
21
21
|
|
|
22
22
|
## Installation and quick start
|
|
23
23
|
|
|
24
|
+
Install `acprun` through npm or as a Go binary.
|
|
25
|
+
|
|
24
26
|
### npm package (recommended)
|
|
25
27
|
|
|
26
28
|
For repeated direct shell use, install the npm launcher globally:
|
|
27
29
|
|
|
28
30
|
```bash
|
|
29
31
|
npm install --global @baldaworks/acprun@latest
|
|
30
|
-
acprun
|
|
32
|
+
acprun version
|
|
31
33
|
```
|
|
32
34
|
|
|
33
35
|
For one-shot execution without global installation, run the complete `npx` command:
|
|
@@ -42,6 +44,8 @@ npx --yes @baldaworks/acprun@latest list
|
|
|
42
44
|
go install github.com/baldaworks/acprun/cmd/acprun@latest
|
|
43
45
|
```
|
|
44
46
|
|
|
47
|
+
These packages install the `acprun` CLI. When running an agent, `acprun` selects that agent's binary, `npx`, or `uvx` distribution from the Registry.
|
|
48
|
+
|
|
45
49
|
---
|
|
46
50
|
|
|
47
51
|
## One-shot agent execution
|
|
@@ -168,7 +172,27 @@ acprun cache clean --manifests-only
|
|
|
168
172
|
|
|
169
173
|
## Distribution
|
|
170
174
|
|
|
171
|
-
The npm distribution uses CGO-disabled native executables for macOS and Linux on AMD64/ARM64 and Windows AMD64/ARM64 behind the [`@baldaworks/acprun`](https://www.npmjs.com/package/@baldaworks/acprun) launcher.
|
|
175
|
+
The npm distribution uses CGO-disabled native executables for macOS and Linux on AMD64/ARM64 and Windows AMD64/ARM64 behind the [`@baldaworks/acprun`](https://www.npmjs.com/package/@baldaworks/acprun) launcher and six scoped platform packages.
|
|
176
|
+
|
|
177
|
+
Description, keywords, and MIT license metadata are defined in `.omnidist/omnidist.yaml` and included in the npm launcher.
|
|
178
|
+
|
|
179
|
+
### Release setup
|
|
180
|
+
|
|
181
|
+
Tag-triggered releases stage and verify the npm packages before publishing and attach native binaries to the GitHub release. npm publishing uses GitHub Actions OIDC through omnidist's `publish-auth: trusted` mode. The publish job has `id-token: write`; no npm publishing secret is required.
|
|
182
|
+
|
|
183
|
+
Sign in locally through npm web authentication with an account that has 2FA enabled and write access to the launcher and its six platform packages. Inspect the trusted-publisher plan, then apply it through omnidist:
|
|
184
|
+
|
|
185
|
+
```bash
|
|
186
|
+
npx -y npm@11.16.0 login --auth-type=web --registry=https://registry.npmjs.org
|
|
187
|
+
npx -y @omnidist/omnidist@latest npm trust
|
|
188
|
+
npx -y @omnidist/omnidist@latest npm trust --apply
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
The plan covers all seven packages and grants publishing access to `baldaworks/acprun` using the workflow filename `omnidist-release.yml`. Complete any browser/2FA prompts from npm. Local web authentication is used to configure trust; GitHub Actions obtains its own short-lived OIDC credentials for releases. See [npm trusted publishing](https://docs.npmjs.com/trusted-publishers/) and the [npm trust prerequisites](https://docs.npmjs.com/cli/v11/commands/npm-trust/).
|
|
192
|
+
|
|
193
|
+
npm requires a package to exist before its trusted publisher can be configured. A new package name therefore needs its initial publication through omnidist using local web authentication before applying the trust plan. Keep credentials outside the repository.
|
|
194
|
+
|
|
195
|
+
A failed upload can leave some npm packages published. Retain the release logs and inspect registry state before retrying; omnidist 0.2.0 publishes platform packages first and does not skip existing versions, so replaying a partially published release can fail.
|
|
172
196
|
|
|
173
197
|
---
|
|
174
198
|
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"bin": {
|
|
3
3
|
"acprun": "acprun.js"
|
|
4
4
|
},
|
|
5
|
-
"description": "
|
|
5
|
+
"description": "CLI to discover, inspect, resolve, and run agents from the Agent Client Protocol (ACP) Registry using native binaries, npx, or uvx",
|
|
6
6
|
"engines": {
|
|
7
7
|
"node": "\u003e=16"
|
|
8
8
|
},
|
|
@@ -11,15 +11,31 @@
|
|
|
11
11
|
"README.md",
|
|
12
12
|
"LICENSE"
|
|
13
13
|
],
|
|
14
|
-
"
|
|
14
|
+
"keywords": [
|
|
15
|
+
"acp",
|
|
16
|
+
"agent-client-protocol",
|
|
17
|
+
"ai-agents",
|
|
18
|
+
"coding-agents",
|
|
19
|
+
"agent-runner",
|
|
20
|
+
"agent-registry",
|
|
21
|
+
"registry",
|
|
22
|
+
"cli",
|
|
23
|
+
"npx",
|
|
24
|
+
"uvx"
|
|
25
|
+
],
|
|
26
|
+
"license": "MIT",
|
|
15
27
|
"name": "@baldaworks/acprun",
|
|
16
28
|
"optionalDependencies": {
|
|
17
|
-
"@baldaworks/acprun-darwin-arm64": "0.1.
|
|
18
|
-
"@baldaworks/acprun-darwin-x64": "0.1.
|
|
19
|
-
"@baldaworks/acprun-linux-arm64": "0.1.
|
|
20
|
-
"@baldaworks/acprun-linux-x64": "0.1.
|
|
21
|
-
"@baldaworks/acprun-win32-arm64": "0.1.
|
|
22
|
-
"@baldaworks/acprun-win32-x64": "0.1.
|
|
29
|
+
"@baldaworks/acprun-darwin-arm64": "0.1.10",
|
|
30
|
+
"@baldaworks/acprun-darwin-x64": "0.1.10",
|
|
31
|
+
"@baldaworks/acprun-linux-arm64": "0.1.10",
|
|
32
|
+
"@baldaworks/acprun-linux-x64": "0.1.10",
|
|
33
|
+
"@baldaworks/acprun-win32-arm64": "0.1.10",
|
|
34
|
+
"@baldaworks/acprun-win32-x64": "0.1.10"
|
|
35
|
+
},
|
|
36
|
+
"repository": {
|
|
37
|
+
"type": "git",
|
|
38
|
+
"url": "git+https://github.com/baldaworks/acprun.git"
|
|
23
39
|
},
|
|
24
|
-
"version": "0.1.
|
|
40
|
+
"version": "0.1.10"
|
|
25
41
|
}
|