@withone/cli 2.9.0 → 2.9.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 +2 -2
- package/dist/index.js +11 -11
- 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 1000+ 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
|
|
|
@@ -247,7 +247,7 @@ Shows the connection details and asks for confirmation before deleting. Use `--f
|
|
|
247
247
|
|
|
248
248
|
### `one platforms`
|
|
249
249
|
|
|
250
|
-
Browse all
|
|
250
|
+
Browse all 1000+ available platforms.
|
|
251
251
|
|
|
252
252
|
```bash
|
|
253
253
|
one platforms # all platforms
|
package/dist/index.js
CHANGED
|
@@ -1127,7 +1127,7 @@ async function loginCommand() {
|
|
|
1127
1127
|
console.log(pc16.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"));
|
|
1128
1128
|
console.log(pc16.cyan(" \u2502"));
|
|
1129
1129
|
console.log(pc16.cyan(" \u2502 The One CLI (`one`) is now installed on this machine. It"));
|
|
1130
|
-
console.log(pc16.cyan(" \u2502 lets you interact with
|
|
1130
|
+
console.log(pc16.cyan(" \u2502 lets you interact with 1000+ third-party platforms (Gmail,"));
|
|
1131
1131
|
console.log(pc16.cyan(" \u2502 Slack, Shopify, HubSpot, Stripe, GitHub, etc.) through"));
|
|
1132
1132
|
console.log(pc16.cyan(" \u2502 their APIs. Whenever you need to interact with any"));
|
|
1133
1133
|
console.log(pc16.cyan(" \u2502 third-party platform or external service, use the `one`"));
|
|
@@ -1730,7 +1730,7 @@ function printOnboardingPrompt() {
|
|
|
1730
1730
|
console.log(pc3.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"));
|
|
1731
1731
|
console.log(pc3.cyan(" \u2502"));
|
|
1732
1732
|
console.log(pc3.cyan(" \u2502 The One CLI (`one`) is now installed on this machine. It"));
|
|
1733
|
-
console.log(pc3.cyan(" \u2502 lets you interact with
|
|
1733
|
+
console.log(pc3.cyan(" \u2502 lets you interact with 1000+ third-party platforms (Gmail,"));
|
|
1734
1734
|
console.log(pc3.cyan(" \u2502 Slack, Shopify, HubSpot, Stripe, GitHub, etc.) through"));
|
|
1735
1735
|
console.log(pc3.cyan(" \u2502 their APIs. Whenever you need to interact with any"));
|
|
1736
1736
|
console.log(pc3.cyan(" \u2502 third-party platform or external service, use the `one`"));
|
|
@@ -1904,7 +1904,7 @@ async function promptConnectIntegrations(apiKey, connParams) {
|
|
|
1904
1904
|
label: i.label,
|
|
1905
1905
|
hint: i.hint
|
|
1906
1906
|
})),
|
|
1907
|
-
{ value: "more", label: "Browse all
|
|
1907
|
+
{ value: "more", label: "Browse all 1000+ platforms" },
|
|
1908
1908
|
{ value: "skip", label: "Skip for now", hint: "you can always run one add later" }
|
|
1909
1909
|
];
|
|
1910
1910
|
const message = first ? "Connect your first integration?" : "Connect another?";
|
|
@@ -10825,7 +10825,7 @@ Before using any feature, read its guide section first: \`one guide actions\`, \
|
|
|
10825
10825
|
|
|
10826
10826
|
## Features
|
|
10827
10827
|
|
|
10828
|
-
### 1. Actions \u2014 Execute API calls on
|
|
10828
|
+
### 1. Actions \u2014 Execute API calls on 1000+ platforms
|
|
10829
10829
|
Find the actions a task needs with their docs, in one call, then execute them. This is the core workflow.
|
|
10830
10830
|
|
|
10831
10831
|
**Quick start:**
|
|
@@ -12092,7 +12092,7 @@ function buildStep1() {
|
|
|
12092
12092
|
nextCommand: "one onboard --step 2",
|
|
12093
12093
|
message: `# One CLI \u2014 Agent Onboarding
|
|
12094
12094
|
|
|
12095
|
-
You now have access to the One CLI. It connects you to
|
|
12095
|
+
You now have access to the One CLI. It connects you to 1000+ platforms
|
|
12096
12096
|
(Gmail, Slack, Stripe, Notion, etc.) \u2014 you'll learn the details shortly.
|
|
12097
12097
|
|
|
12098
12098
|
IMPORTANT: Your only task right now is to send the message below to the
|
|
@@ -12102,7 +12102,7 @@ Do not offer demos yet. Just send this message and wait for their reply:
|
|
|
12102
12102
|
---
|
|
12103
12103
|
|
|
12104
12104
|
I just got access to the One CLI \u2014 it connects me to your platforms like
|
|
12105
|
-
Gmail, Slack, Stripe, and
|
|
12105
|
+
Gmail, Slack, Stripe, and 1000+ others so I can work with them directly.
|
|
12106
12106
|
I'll show you what I can do in a moment.
|
|
12107
12107
|
|
|
12108
12108
|
First, one quick setup step: right now only this conversation knows about
|
|
@@ -12131,7 +12131,7 @@ If they declined, skip this section.
|
|
|
12131
12131
|
## One CLI \u2014 Platform Integrations
|
|
12132
12132
|
|
|
12133
12133
|
The One CLI (\`one\`) is installed and configured on this machine. It is a
|
|
12134
|
-
command-line tool that gives AI agents the ability to interact with
|
|
12134
|
+
command-line tool that gives AI agents the ability to interact with 1000+
|
|
12135
12135
|
third-party platforms (Gmail, Slack, Shopify, HubSpot, Stripe, GitHub,
|
|
12136
12136
|
Notion, Salesforce, etc.) through a single, unified interface.
|
|
12137
12137
|
|
|
@@ -12225,7 +12225,7 @@ function buildStep3(connections) {
|
|
|
12225
12225
|
The user can connect any of these popular platforms:
|
|
12226
12226
|
Gmail, Google Calendar, Slack, Notion, Shopify, Stripe, HubSpot, GitHub,
|
|
12227
12227
|
Salesforce, QuickBooks, Asana, Jira, Linear, Intercom, Zendesk, Twilio,
|
|
12228
|
-
and
|
|
12228
|
+
and 1000+ more. Run \`one platforms\` for the full list.`);
|
|
12229
12229
|
sections.push("## Onboarding complete!\n\nYou're all set. Use `one --agent guide` any time you need the full reference.");
|
|
12230
12230
|
return {
|
|
12231
12231
|
step: 3,
|
|
@@ -12256,7 +12256,7 @@ platform before you can start using actions. Suggest they run:
|
|
|
12256
12256
|
one add slack
|
|
12257
12257
|
one add <any-platform>
|
|
12258
12258
|
|
|
12259
|
-
Run \`one platforms\` to see all
|
|
12259
|
+
Run \`one platforms\` to see all 1000+ available platforms.`;
|
|
12260
12260
|
}
|
|
12261
12261
|
const header = `## Current State
|
|
12262
12262
|
|
|
@@ -12972,7 +12972,7 @@ silenceWarningsInAgentMode();
|
|
|
12972
12972
|
var require2 = createRequire(import.meta.url);
|
|
12973
12973
|
var { version } = require2("../package.json");
|
|
12974
12974
|
var program = new Command();
|
|
12975
|
-
program.name("one").option("--agent", "Machine-readable JSON output (no colors, spinners, or prompts)").description(`One CLI \u2014 Connect AI agents to
|
|
12975
|
+
program.name("one").option("--agent", "Machine-readable JSON output (no colors, spinners, or prompts)").description(`One CLI \u2014 Connect AI agents to 1000+ platforms through one interface.
|
|
12976
12976
|
|
|
12977
12977
|
Setup:
|
|
12978
12978
|
one login Authenticate via browser; the consent page records where this CLI is installed
|
|
@@ -13048,7 +13048,7 @@ program.name("one").option("--agent", "Machine-readable JSON output (no colors,
|
|
|
13048
13048
|
-d '{"to":"j@example.com","subject":"Hello","body":"Hi!","connectionKey":"live::gmail::default::abc123"}'
|
|
13049
13049
|
|
|
13050
13050
|
Platform names are lowercase; multi-word names use dashes (e.g. hubspot, ship-station, google-calendar).
|
|
13051
|
-
Run 'one platforms' to browse all
|
|
13051
|
+
Run 'one platforms' to browse all 1000+ available platforms.`).version(version);
|
|
13052
13052
|
var updateCheckPromise;
|
|
13053
13053
|
program.hook("preAction", (thisCommand, actionCommand) => {
|
|
13054
13054
|
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 1000+ 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
|
|