@cargo-ai/cli 1.0.47 → 1.0.48
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/build/index.js +14 -0
- package/package.json +12 -2
package/build/index.js
CHANGED
|
@@ -29,11 +29,25 @@ import { maybeNotifyUpdate } from "./updateNotifier.js";
|
|
|
29
29
|
const require = createRequire(import.meta.url);
|
|
30
30
|
const { version } = require("../package.json");
|
|
31
31
|
const program = new Command();
|
|
32
|
+
// Coding agents meet this CLI cold and explore it by running `--help` or by
|
|
33
|
+
// guessing a subcommand and reading the error. Both paths are the only chance to
|
|
34
|
+
// tell them the skill bundle exists, so the pointer lives in the help epilogue
|
|
35
|
+
// and in the error footer rather than in a command they would have to know to run.
|
|
36
|
+
const AGENT_SKILLS_HINT = "Coding agents: install the Cargo skills with `npx skills add getcargohq/cargo-skills`";
|
|
32
37
|
program
|
|
33
38
|
.name("cargo-ai")
|
|
34
39
|
.description("Cargo API CLI")
|
|
35
40
|
.version(version)
|
|
41
|
+
.showHelpAfterError(`${AGENT_SKILLS_HINT}\nRun "cargo-ai --help" for the full command list.`)
|
|
36
42
|
.addHelpText("after", `
|
|
43
|
+
Agent skills:
|
|
44
|
+
Teach your coding agent this CLI — sixteen skills covering sourcing, enrichment,
|
|
45
|
+
orchestration, storage, connectors, workspace-as-code (CDK), diagnostics and alerts.
|
|
46
|
+
Any agent (skills.sh): npx skills add getcargohq/cargo-skills
|
|
47
|
+
Claude Code: /plugin marketplace add getcargohq/cargo-skills
|
|
48
|
+
Codex: codex plugin marketplace add getcargohq/cargo-skills
|
|
49
|
+
Source: https://github.com/getcargohq/cargo-skills
|
|
50
|
+
|
|
37
51
|
Authentication:
|
|
38
52
|
Emailed code: cargo-ai login --email you@company.com (no browser; signs you up on first use)
|
|
39
53
|
Browser sign-in: cargo-ai login --oauth
|
package/package.json
CHANGED
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cargo-ai/cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.48",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"description": "Command-line interface for the Cargo API",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"cargo",
|
|
9
|
+
"gtm",
|
|
10
|
+
"revenue",
|
|
11
|
+
"enrichment",
|
|
12
|
+
"orchestration",
|
|
13
|
+
"cli",
|
|
14
|
+
"agent-skills",
|
|
15
|
+
"ai-agents"
|
|
16
|
+
],
|
|
7
17
|
"engines": {
|
|
8
18
|
"node": ">=22"
|
|
9
19
|
},
|
|
@@ -33,7 +43,7 @@
|
|
|
33
43
|
},
|
|
34
44
|
"dependencies": {
|
|
35
45
|
"@cargo-ai/api": "^1.0.57",
|
|
36
|
-
"@cargo-ai/app-sdk": "^1.0.
|
|
46
|
+
"@cargo-ai/app-sdk": "^1.0.6",
|
|
37
47
|
"@cargo-ai/cdk": "^1.0.43",
|
|
38
48
|
"@cargo-ai/types": "^1.0.56",
|
|
39
49
|
"@cargo-ai/worker-sdk": "^1.0.11",
|