@withone/cli 1.54.0 → 1.54.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/README.md CHANGED
@@ -24,7 +24,7 @@
24
24
  <a href="https://withone.ai/knowledge"><img src="https://img.shields.io/endpoint?url=https%3A%2F%2Fapi.withone.ai%2Fopen%2Fcount%2Ftools" alt="tools"></a>
25
25
  </p>
26
26
 
27
- One gives your AI agent authenticated access to 400+ platforms - Gmail, Slack, Shopify, HubSpot, Stripe, Notion, and everything else - through a single interface. No API keys to juggle, no OAuth flows to build, no request formats to memorize. Connect a platform once, and your agent can search for actions, read the docs, and execute API calls in seconds.
27
+ One gives your AI agent authenticated access to 600+ platforms - Gmail, Slack, Shopify, HubSpot, Stripe, Notion, and everything else - through a single interface. No API keys to juggle, no OAuth flows to build, no request formats to memorize. Connect a platform once, and your agent can search for actions, read the docs, and execute API calls in seconds.
28
28
 
29
29
  ## Install
30
30
 
@@ -48,7 +48,10 @@ one login # Opens browser for authentication (global or per-directo
48
48
  one logout # Clear credentials (with scope picker and confirmation)
49
49
  ```
50
50
 
51
- Requires Node.js 18+.
51
+ Requires Node.js 18+. `one sync` additionally needs Node 20+, because its
52
+ local SQLite engine (`better-sqlite3`, an optional dependency) ships prebuilt
53
+ binaries only for Node 20 and above. On Node 18 every other command works
54
+ normally; `one sync` reports that the engine isn't installed.
52
55
 
53
56
  ## Quick start
54
57
 
@@ -241,7 +244,7 @@ Shows the connection details and asks for confirmation before deleting. Use `--f
241
244
 
242
245
  ### `one platforms`
243
246
 
244
- Browse all 200+ available platforms.
247
+ Browse all 600+ available platforms.
245
248
 
246
249
  ```bash
247
250
  one platforms # all platforms
package/dist/index.js CHANGED
@@ -1104,7 +1104,7 @@ async function loginCommand() {
1104
1104
  console.log(pc15.cyan(" \u250C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500"));
1105
1105
  console.log(pc15.cyan(" \u2502"));
1106
1106
  console.log(pc15.cyan(" \u2502 The One CLI (`one`) is now installed on this machine. It"));
1107
- console.log(pc15.cyan(" \u2502 lets you interact with 400+ third-party platforms (Gmail,"));
1107
+ console.log(pc15.cyan(" \u2502 lets you interact with 600+ third-party platforms (Gmail,"));
1108
1108
  console.log(pc15.cyan(" \u2502 Slack, Shopify, HubSpot, Stripe, GitHub, etc.) through"));
1109
1109
  console.log(pc15.cyan(" \u2502 their APIs. Whenever you need to interact with any"));
1110
1110
  console.log(pc15.cyan(" \u2502 third-party platform or external service, use the `one`"));
@@ -1711,7 +1711,7 @@ function printOnboardingPrompt() {
1711
1711
  console.log(pc2.cyan(" \u250C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500"));
1712
1712
  console.log(pc2.cyan(" \u2502"));
1713
1713
  console.log(pc2.cyan(" \u2502 The One CLI (`one`) is now installed on this machine. It"));
1714
- console.log(pc2.cyan(" \u2502 lets you interact with 400+ third-party platforms (Gmail,"));
1714
+ console.log(pc2.cyan(" \u2502 lets you interact with 600+ third-party platforms (Gmail,"));
1715
1715
  console.log(pc2.cyan(" \u2502 Slack, Shopify, HubSpot, Stripe, GitHub, etc.) through"));
1716
1716
  console.log(pc2.cyan(" \u2502 their APIs. Whenever you need to interact with any"));
1717
1717
  console.log(pc2.cyan(" \u2502 third-party platform or external service, use the `one`"));
@@ -1888,7 +1888,7 @@ async function promptConnectIntegrations(apiKey, connParams) {
1888
1888
  label: i.label,
1889
1889
  hint: i.hint
1890
1890
  })),
1891
- { value: "more", label: "Browse all 200+ platforms" },
1891
+ { value: "more", label: "Browse all 600+ platforms" },
1892
1892
  { value: "skip", label: "Skip for now", hint: "you can always run one add later" }
1893
1893
  ];
1894
1894
  const message = first ? "Connect your first integration?" : "Connect another?";
@@ -10036,7 +10036,7 @@ Before using any feature, read its guide section first: \`one guide actions\`, \
10036
10036
 
10037
10037
  ## Features
10038
10038
 
10039
- ### 1. Actions \u2014 Execute API calls on 400+ platforms
10039
+ ### 1. Actions \u2014 Execute API calls on 600+ platforms
10040
10040
  Search for actions, read their docs, and execute them. This is the core workflow.
10041
10041
 
10042
10042
  **Quick start:**
@@ -11229,7 +11229,7 @@ function buildStep1() {
11229
11229
  nextCommand: "one onboard --step 2",
11230
11230
  message: `# One CLI \u2014 Agent Onboarding
11231
11231
 
11232
- You now have access to the One CLI. It connects you to 400+ platforms
11232
+ You now have access to the One CLI. It connects you to 600+ platforms
11233
11233
  (Gmail, Slack, Stripe, Notion, etc.) \u2014 you'll learn the details shortly.
11234
11234
 
11235
11235
  IMPORTANT: Your only task right now is to send the message below to the
@@ -11239,7 +11239,7 @@ Do not offer demos yet. Just send this message and wait for their reply:
11239
11239
  ---
11240
11240
 
11241
11241
  I just got access to the One CLI \u2014 it connects me to your platforms like
11242
- Gmail, Slack, Stripe, and 400+ others so I can work with them directly.
11242
+ Gmail, Slack, Stripe, and 600+ others so I can work with them directly.
11243
11243
  I'll show you what I can do in a moment.
11244
11244
 
11245
11245
  First, one quick setup step: right now only this conversation knows about
@@ -11268,7 +11268,7 @@ If they declined, skip this section.
11268
11268
  ## One CLI \u2014 Platform Integrations
11269
11269
 
11270
11270
  The One CLI (\`one\`) is installed and configured on this machine. It is a
11271
- command-line tool that gives AI agents the ability to interact with 400+
11271
+ command-line tool that gives AI agents the ability to interact with 600+
11272
11272
  third-party platforms (Gmail, Slack, Shopify, HubSpot, Stripe, GitHub,
11273
11273
  Notion, Salesforce, etc.) through a single, unified interface.
11274
11274
 
@@ -11363,7 +11363,7 @@ function buildStep3(connections) {
11363
11363
  The user can connect any of these popular platforms:
11364
11364
  Gmail, Google Calendar, Slack, Notion, Shopify, Stripe, HubSpot, GitHub,
11365
11365
  Salesforce, QuickBooks, Asana, Jira, Linear, Intercom, Zendesk, Twilio,
11366
- and 400+ more. Run \`one platforms\` for the full list.`);
11366
+ and 600+ more. Run \`one platforms\` for the full list.`);
11367
11367
  sections.push("## Onboarding complete!\n\nYou're all set. Use `one --agent guide` any time you need the full reference.");
11368
11368
  return {
11369
11369
  step: 3,
@@ -11394,7 +11394,7 @@ platform before you can start using actions. Suggest they run:
11394
11394
  one add slack
11395
11395
  one add <any-platform>
11396
11396
 
11397
- Run \`one platforms\` to see all 400+ available platforms.`;
11397
+ Run \`one platforms\` to see all 600+ available platforms.`;
11398
11398
  }
11399
11399
  const header = `## Current State
11400
11400
 
@@ -11831,7 +11831,7 @@ silenceWarningsInAgentMode();
11831
11831
  var require4 = createRequire3(import.meta.url);
11832
11832
  var { version } = require4("../package.json");
11833
11833
  var program = new Command();
11834
- program.name("one").option("--agent", "Machine-readable JSON output (no colors, spinners, or prompts)").description(`One CLI \u2014 Connect AI agents to 400+ platforms through one interface.
11834
+ program.name("one").option("--agent", "Machine-readable JSON output (no colors, spinners, or prompts)").description(`One CLI \u2014 Connect AI agents to 600+ platforms through one interface.
11835
11835
 
11836
11836
  Setup:
11837
11837
  one login Authenticate via browser (opens app.withone.ai)
@@ -11903,7 +11903,7 @@ program.name("one").option("--agent", "Machine-readable JSON output (no colors,
11903
11903
  -d '{"to":"j@example.com","subject":"Hello","body":"Hi!","connectionKey":"live::gmail::default::abc123"}'
11904
11904
 
11905
11905
  Platform names are lowercase; multi-word names use dashes (e.g. hubspot, ship-station, google-calendar).
11906
- Run 'one platforms' to browse all 400+ available platforms.`).version(version);
11906
+ Run 'one platforms' to browse all 600+ available platforms.`).version(version);
11907
11907
  var updateCheckPromise;
11908
11908
  program.hook("preAction", (thisCommand, actionCommand) => {
11909
11909
  const opts = program.opts();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@withone/cli",
3
- "version": "1.54.0",
3
+ "version": "1.54.1",
4
4
  "description": "CLI for managing One",
5
5
  "type": "module",
6
6
  "files": [
@@ -36,7 +36,7 @@
36
36
  },
37
37
  "optionalDependencies": {
38
38
  "@electric-sql/pglite": "^0.2.17",
39
- "better-sqlite3": "^11.7.0",
39
+ "better-sqlite3": "^12.11.1",
40
40
  "pg": "^8.20.0"
41
41
  },
42
42
  "devDependencies": {
@@ -20,7 +20,7 @@ description: |
20
20
 
21
21
  # One CLI
22
22
 
23
- You have access to the One CLI which lets you interact with 400+ third-party platforms through their APIs. Always include the `--agent` flag right after `one` for structured JSON output.
23
+ You have access to the One CLI which lets you interact with 600+ third-party platforms through their APIs. Always include the `--agent` flag right after `one` for structured JSON output.
24
24
 
25
25
  If the user wants a separate API key / connections for a specific project (vs. their default), walk them through running `one init` from that project folder and picking the "project" scope — see `references/scoping.md`. For monorepo subprojects (where a parent already has `.git`/`package.json`), have them `mkdir .one` in the subproject first so the config is keyed to that dir, not the monorepo root.
26
26