@cargo-ai/cli 1.0.116 → 1.0.118

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 CHANGED
@@ -69,7 +69,7 @@ cargo-ai login --token <your-api-token>
69
69
 
70
70
  `--email`, `--oauth` and `--agentid` all create the account if it does not exist yet, so there is no separate sign-up command.
71
71
 
72
- `--email`, `--oauth` and `--agentid` save the signed-in session — a short-lived access token plus the refresh token that renews it — to `~/.config/cargo-ai/credentials.json` (file mode `0600`). The CLI renews it in the background as it expires, so you stay signed in and no API token is created per machine. `--token` saves the API token you supplied instead. The same file backs `cargo-cdk`, so one login serves both.
72
+ `--email`, `--oauth` and `--agentid` save the signed-in session — a short-lived access token plus the refresh token that renews it — to `~/.config/cargo-ai/credentials.json` (file mode `0600`). The CLI renews it in the background as it expires, so you stay signed in and no API token is created per machine. `--token` saves the API token you supplied instead. The same file backs `cargo-ai project`, so one login serves both.
73
73
 
74
74
  `cargo-ai logout` revokes the session at the identity provider, so signing out is final. A token you supplied yourself with `--token` is only forgotten locally, since it may be in use elsewhere; pass `--keep-token` to force that behaviour for a session too. If a credentials file cannot be deleted — a read-only config directory, or one owned by another user — `logout` fails and names the file rather than reporting a sign-out the next command would contradict.
75
75
 
@@ -245,7 +245,7 @@ Other release verbs (`list`, `get <uuid>`, `get-deployed`, `get-draft`, `update-
245
245
 
246
246
  ## Agent Skills
247
247
 
248
- [Cargo Skills](https://github.com/getcargohq/cargo-skills) teaches AI coding agents (Claude Code, Codex, Cursor, Windsurf, GitHub Copilot, Hermes Agent, etc.) how to use this CLI — seventeen skills covering lead sourcing, enrichment, email verification, lead scoring, CRM sync, buying-signal monitoring, orchestration, storage, and workspace-as-code.
248
+ [Cargo Skills](https://github.com/getcargohq/cargo-skills) teaches AI coding agents (Claude Code, Codex, Cursor, Windsurf, GitHub Copilot, Hermes Agent, etc.) how to use this CLI — seventeen skills covering lead sourcing, enrichment, email verification, lead scoring, CRM sync, buying-signal monitoring, orchestration, storage, and projects (GTM as Code).
249
249
 
250
250
  **Let your agent install everything.** Paste this into Claude Code, Codex, or Cursor and it handles the CLI, sign-in, and skills for its own platform:
251
251
 
@@ -7,13 +7,13 @@ The user confirms each Bash, Write, Edit and NotebookEdit call, and can only ans
7
7
  When you need a multiple-choice answer, call AskUserQuestion. This session presents the options in the terminal and returns the user's answers as the tool result. Do not wait for a Claude Code question picker.
8
8
 
9
9
  Prefer minimal, focused diffs; match the existing code style; run the project's own checks when they exist. End each task with a short summary of what changed and how it was validated.`;
10
- const CDK_RAILS_INSTRUCTIONS = `This directory is a Cargo CDK project.
11
- - Never edit cargo.state.json, cargo.state.lock, or .cargo-ai/ by hand — they are generated. Repoint this project's deploy state with \`cargo-cdk state bind\`.
12
- - Validate your changes before declaring them done: run \`npx tsc --noEmit\` and \`npx cargo-cdk plan\` (plan only reads — it changes nothing).
13
- - Never run \`cargo-cdk deploy\`, \`destroy\`, \`import\`, or \`rollback\` unless the user explicitly asked.`;
10
+ const CDK_RAILS_INSTRUCTIONS = `This directory is a Cargo project.
11
+ - Never edit cargo.state.json, cargo.state.lock, or .cargo-ai/ by hand — they are generated. Repoint this project's deploy state with \`cargo-ai project state bind\`.
12
+ - Validate your changes before declaring them done: run \`npx tsc --noEmit\` and \`cargo-ai project plan\` (plan only reads — it changes nothing).
13
+ - Never run \`cargo-ai project deploy\`, \`destroy\`, \`import\`, or \`rollback\` unless the user explicitly asked.`;
14
14
  const LOCAL_CDK_RAILS_SKILL = {
15
- name: "cdk-rails",
16
- description: "Rails for working on a Cargo CDK project on this machine.",
15
+ name: "project-rails",
16
+ description: "Rails for working on a Cargo project on this machine.",
17
17
  content: CDK_RAILS_INSTRUCTIONS,
18
18
  };
19
19
  /**
@@ -59,7 +59,7 @@ Examples:
59
59
  --first-name Cargo --last-name Outreach --folder-uuid 660e8400-...
60
60
 
61
61
  The mailbox starts pending until the provider issues credentials. Prefer
62
- defineMailbox in a CDK repo for the inbox itself; this command is the
62
+ defineMailbox in a project for the inbox itself; this command is the
63
63
  imperative counterpart.`)
64
64
  .action(async (opts) => {
65
65
  const api = getApi();
@@ -77,7 +77,7 @@ function opening(project) {
77
77
  return [
78
78
  "Work with the user on the Cargo workspace declared in this repo.",
79
79
  "",
80
- "This is a Cargo CDK project: the workspace — connectors, models, plays,",
80
+ "This is a Cargo project: the workspace — connectors, models, plays,",
81
81
  "tools and agents — is defined in files under `infra/` and applied with",
82
82
  "`npm run deploy`. Read what is declared before changing anything; the",
83
83
  "repo, not the workspace, is the source of truth.",
@@ -94,7 +94,7 @@ function firstMove(project) {
94
94
  if (project.kind === "none") {
95
95
  return [
96
96
  "3. Ask what they are trying to do before building anything. If they are",
97
- " not sure, `npx @cargo-ai/cdk cookbook list` is the menu of worked",
97
+ " not sure, `cargo-ai project cookbook list` is the menu of worked",
98
98
  " pipelines, and `cargo-ai orchestration action list <query>` is the",
99
99
  " catalog of individual actions.",
100
100
  ];
package/build/index.js CHANGED
@@ -51,7 +51,7 @@ program
51
51
  .addHelpText("after", `
52
52
  Agent skills:
53
53
  Teach your coding agent this CLI — skills covering sourcing, enrichment,
54
- orchestration, storage, connectors, workspace-as-code (CDK), diagnostics and alerts.
54
+ orchestration, storage, connectors, projects (GTM as Code), diagnostics and alerts.
55
55
  Any agent (skills.sh): npx skills add getcargohq/cargo-skills
56
56
  Claude Code: /plugin marketplace add getcargohq/cargo-skills
57
57
  Codex: codex plugin marketplace add getcargohq/cargo-skills
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cargo-ai/cli",
3
- "version": "1.0.116",
3
+ "version": "1.0.118",
4
4
  "mcpName": "io.github.getcargohq/cargo",
5
5
  "private": false,
6
6
  "license": "UNLICENSED",
@@ -74,12 +74,12 @@
74
74
  "dependencies": {
75
75
  "@ai-sdk/harness": "^1.0.144",
76
76
  "@ai-sdk/harness-claude-code": "^1.0.148",
77
- "@cargo-ai/api": "^1.0.96",
77
+ "@cargo-ai/api": "^1.0.97",
78
78
  "@cargo-ai/app-sdk": "^1.0.11",
79
- "@cargo-ai/cdk": "^1.0.112",
79
+ "@cargo-ai/cdk": "^1.0.116",
80
80
  "@cargo-ai/types": "^1.0.96",
81
81
  "@cargo-ai/utils": "^1.0.32",
82
- "@cargo-ai/worker-sdk": "^1.0.20",
82
+ "@cargo-ai/worker-sdk": "^1.0.21",
83
83
  "@modelcontextprotocol/sdk": "^1.31.0",
84
84
  "ai": "^7.0.133",
85
85
  "ai-sdk-sandbox-local": "^0.1.2",