@withone/cli 1.43.8 → 1.43.9
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 +1 -1
- package/dist/index.js +10 -10
- package/package.json +1 -1
- package/skills/one/SKILL.md +1 -1
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
|
|
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.
|
|
28
28
|
|
|
29
29
|
## Install
|
|
30
30
|
|
package/dist/index.js
CHANGED
|
@@ -1032,7 +1032,7 @@ async function loginCommand() {
|
|
|
1032
1032
|
console.log(pc13.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"));
|
|
1033
1033
|
console.log(pc13.cyan(" \u2502"));
|
|
1034
1034
|
console.log(pc13.cyan(" \u2502 The One CLI (`one`) is now installed on this machine. It"));
|
|
1035
|
-
console.log(pc13.cyan(" \u2502 lets you interact with
|
|
1035
|
+
console.log(pc13.cyan(" \u2502 lets you interact with 400+ third-party platforms (Gmail,"));
|
|
1036
1036
|
console.log(pc13.cyan(" \u2502 Slack, Shopify, HubSpot, Stripe, GitHub, etc.) through"));
|
|
1037
1037
|
console.log(pc13.cyan(" \u2502 their APIs. Whenever you need to interact with any"));
|
|
1038
1038
|
console.log(pc13.cyan(" \u2502 third-party platform or external service, use the `one`"));
|
|
@@ -1540,7 +1540,7 @@ function printOnboardingPrompt() {
|
|
|
1540
1540
|
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"));
|
|
1541
1541
|
console.log(pc2.cyan(" \u2502"));
|
|
1542
1542
|
console.log(pc2.cyan(" \u2502 The One CLI (`one`) is now installed on this machine. It"));
|
|
1543
|
-
console.log(pc2.cyan(" \u2502 lets you interact with
|
|
1543
|
+
console.log(pc2.cyan(" \u2502 lets you interact with 400+ third-party platforms (Gmail,"));
|
|
1544
1544
|
console.log(pc2.cyan(" \u2502 Slack, Shopify, HubSpot, Stripe, GitHub, etc.) through"));
|
|
1545
1545
|
console.log(pc2.cyan(" \u2502 their APIs. Whenever you need to interact with any"));
|
|
1546
1546
|
console.log(pc2.cyan(" \u2502 third-party platform or external service, use the `one`"));
|
|
@@ -9252,7 +9252,7 @@ Before using any feature, read its guide section first: \`one guide actions\`, \
|
|
|
9252
9252
|
|
|
9253
9253
|
## Features
|
|
9254
9254
|
|
|
9255
|
-
### 1. Actions \u2014 Execute API calls on
|
|
9255
|
+
### 1. Actions \u2014 Execute API calls on 400+ platforms
|
|
9256
9256
|
Search for actions, read their docs, and execute them. This is the core workflow.
|
|
9257
9257
|
|
|
9258
9258
|
**Quick start:**
|
|
@@ -10289,7 +10289,7 @@ function buildStep1() {
|
|
|
10289
10289
|
nextCommand: "one onboard --step 2",
|
|
10290
10290
|
message: `# One CLI \u2014 Agent Onboarding
|
|
10291
10291
|
|
|
10292
|
-
You now have access to the One CLI. It connects you to
|
|
10292
|
+
You now have access to the One CLI. It connects you to 400+ platforms
|
|
10293
10293
|
(Gmail, Slack, Stripe, Notion, etc.) \u2014 you'll learn the details shortly.
|
|
10294
10294
|
|
|
10295
10295
|
IMPORTANT: Your only task right now is to send the message below to the
|
|
@@ -10299,7 +10299,7 @@ Do not offer demos yet. Just send this message and wait for their reply:
|
|
|
10299
10299
|
---
|
|
10300
10300
|
|
|
10301
10301
|
I just got access to the One CLI \u2014 it connects me to your platforms like
|
|
10302
|
-
Gmail, Slack, Stripe, and
|
|
10302
|
+
Gmail, Slack, Stripe, and 400+ others so I can work with them directly.
|
|
10303
10303
|
I'll show you what I can do in a moment.
|
|
10304
10304
|
|
|
10305
10305
|
First, one quick setup step: right now only this conversation knows about
|
|
@@ -10328,7 +10328,7 @@ If they declined, skip this section.
|
|
|
10328
10328
|
## One CLI \u2014 Platform Integrations
|
|
10329
10329
|
|
|
10330
10330
|
The One CLI (\`one\`) is installed and configured on this machine. It is a
|
|
10331
|
-
command-line tool that gives AI agents the ability to interact with
|
|
10331
|
+
command-line tool that gives AI agents the ability to interact with 400+
|
|
10332
10332
|
third-party platforms (Gmail, Slack, Shopify, HubSpot, Stripe, GitHub,
|
|
10333
10333
|
Notion, Salesforce, etc.) through a single, unified interface.
|
|
10334
10334
|
|
|
@@ -10423,7 +10423,7 @@ function buildStep3(connections) {
|
|
|
10423
10423
|
The user can connect any of these popular platforms:
|
|
10424
10424
|
Gmail, Google Calendar, Slack, Notion, Shopify, Stripe, HubSpot, GitHub,
|
|
10425
10425
|
Salesforce, QuickBooks, Asana, Jira, Linear, Intercom, Zendesk, Twilio,
|
|
10426
|
-
and
|
|
10426
|
+
and 400+ more. Run \`one platforms\` for the full list.`);
|
|
10427
10427
|
sections.push("## Onboarding complete!\n\nYou're all set. Use `one --agent guide` any time you need the full reference.");
|
|
10428
10428
|
return {
|
|
10429
10429
|
step: 3,
|
|
@@ -10454,7 +10454,7 @@ platform before you can start using actions. Suggest they run:
|
|
|
10454
10454
|
one add slack
|
|
10455
10455
|
one add <any-platform>
|
|
10456
10456
|
|
|
10457
|
-
Run \`one platforms\` to see all
|
|
10457
|
+
Run \`one platforms\` to see all 400+ available platforms.`;
|
|
10458
10458
|
}
|
|
10459
10459
|
const header = `## Current State
|
|
10460
10460
|
|
|
@@ -10635,7 +10635,7 @@ async function logoutCommand() {
|
|
|
10635
10635
|
var require3 = createRequire2(import.meta.url);
|
|
10636
10636
|
var { version } = require3("../package.json");
|
|
10637
10637
|
var program = new Command();
|
|
10638
|
-
program.name("one").option("--agent", "Machine-readable JSON output (no colors, spinners, or prompts)").description(`One CLI \u2014 Connect AI agents to
|
|
10638
|
+
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.
|
|
10639
10639
|
|
|
10640
10640
|
Setup:
|
|
10641
10641
|
one login Authenticate via browser (opens app.withone.ai)
|
|
@@ -10707,7 +10707,7 @@ program.name("one").option("--agent", "Machine-readable JSON output (no colors,
|
|
|
10707
10707
|
-d '{"to":"j@example.com","subject":"Hello","body":"Hi!","connectionKey":"live::gmail::default::abc123"}'
|
|
10708
10708
|
|
|
10709
10709
|
Platform names are lowercase; multi-word names use dashes (e.g. hubspot, ship-station, google-calendar).
|
|
10710
|
-
Run 'one platforms' to browse all
|
|
10710
|
+
Run 'one platforms' to browse all 400+ available platforms.`).version(version);
|
|
10711
10711
|
var updateCheckPromise;
|
|
10712
10712
|
program.hook("preAction", (thisCommand) => {
|
|
10713
10713
|
const opts = program.opts();
|
package/package.json
CHANGED
package/skills/one/SKILL.md
CHANGED
|
@@ -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
|
|
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.
|
|
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
|
|