reply-cli 0.5.0 → 0.5.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 +58 -5
- package/dist/commands/api.d.ts +2 -1
- package/dist/commands/api.js +40 -2
- package/dist/commands/api.js.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/utils/errors.d.ts +2 -1
- package/dist/utils/errors.js +12 -1
- package/dist/utils/errors.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -55,6 +55,22 @@ after a second and a half, and stays silent when it fails. It never runs for any
|
|
|
55
55
|
other command, and never at all with `--json`, when output is piped, in CI, or
|
|
56
56
|
with `REPLY_NO_UPDATE_CHECK=1` set.
|
|
57
57
|
|
|
58
|
+
## Where this fits
|
|
59
|
+
|
|
60
|
+
Reply's agentic toolkit is three pieces. They are complementary, not alternatives:
|
|
61
|
+
|
|
62
|
+
| | What it is | When you want it |
|
|
63
|
+
|---|---|---|
|
|
64
|
+
| **reply CLI** (this repo) | `npm i -g reply-cli` — authenticated access to *every* v3 endpoint via `reply api` | Your agent has a shell. This is the complete surface. |
|
|
65
|
+
| **[Reply MCP](https://github.com/reply-team/reply-mcp)** | A curated tool catalog over `mcp.reply.io` | Your client speaks MCP and has no shell — desktop apps, hosted assistants. |
|
|
66
|
+
| **[reply-skills](https://github.com/reply-team/reply-skills)** | Outbound expertise as markdown skills: what to do, in what order, with what guardrails | Your agent knows *how* to call things but not *what* to run. |
|
|
67
|
+
|
|
68
|
+
MCP gives your agent tools. Skills give it judgement. Most setups want both; a shell-capable
|
|
69
|
+
agent can do everything through the CLI alone.
|
|
70
|
+
|
|
71
|
+
The shortest path that works: install the CLI, `reply auth login`, `reply skills install`, then
|
|
72
|
+
talk to your agent in plain words. MCP is optional — add it when your client has no shell.
|
|
73
|
+
|
|
58
74
|
## Usage
|
|
59
75
|
|
|
60
76
|
```sh
|
|
@@ -67,6 +83,16 @@ machine-readable output suitable for scripts.
|
|
|
67
83
|
|
|
68
84
|
## Authentication
|
|
69
85
|
|
|
86
|
+
**You need a Reply.io account.** If you have one, sign in with it. If you don't, `reply auth
|
|
87
|
+
login` takes you to the browser, where you can create one and start a free trial — no credit
|
|
88
|
+
card. The CLI, the skill packs and the local tooling are free and open source; what a Reply.io
|
|
89
|
+
account gives you is the execution: mailboxes, sending, the contact store, the inbox, analytics.
|
|
90
|
+
|
|
91
|
+
> **Open source, not self-hosted.** The CLI and the skill packs are MIT and yours to fork.
|
|
92
|
+
> Execution always runs against Reply.io — the API, the hosted MCP server at `mcp.reply.io`,
|
|
93
|
+
> your mailboxes and your data. There is no local mode, and outreach without a Reply.io account
|
|
94
|
+
> is not something this toolkit can do.
|
|
95
|
+
|
|
70
96
|
Log in through your browser with OAuth:
|
|
71
97
|
|
|
72
98
|
```sh
|
|
@@ -102,6 +128,7 @@ reply profile use alice@reply.io # make it the active profile
|
|
|
102
128
|
reply auth login # signs in alice@reply.io
|
|
103
129
|
|
|
104
130
|
reply profile list # '*' marks the active profile
|
|
131
|
+
reply profile current # just the active profile's name
|
|
105
132
|
reply --profile bob@reply.io auth whoami # override for a single command
|
|
106
133
|
```
|
|
107
134
|
|
|
@@ -111,11 +138,21 @@ set with `profile use` → the built-in default.
|
|
|
111
138
|
Manage profiles after creating them:
|
|
112
139
|
|
|
113
140
|
```sh
|
|
114
|
-
reply profile show
|
|
115
|
-
reply profile show alice@reply.io
|
|
116
|
-
reply profile
|
|
117
|
-
reply profile
|
|
118
|
-
reply profile
|
|
141
|
+
reply profile show # inspect the current profile (no secrets)
|
|
142
|
+
reply profile show alice@reply.io # inspect a specific one
|
|
143
|
+
reply profile set alice@reply.io --team-id 1045 # edit in place; only what you pass changes
|
|
144
|
+
reply profile rename alice@reply.io ally # also moves the stored credential
|
|
145
|
+
reply profile unset ally team-id # clear a field (authority|api_base|team-id)
|
|
146
|
+
reply profile delete ally # remove it and its stored credential (-y skips the prompt)
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
`profile set` takes `--team-id`, and `--authority` / `--api-base` for pointing a
|
|
150
|
+
profile at a non-production backend. Naming `default` edits the built-in
|
|
151
|
+
profile, which is how you pin a team for everything without creating a profile
|
|
152
|
+
first:
|
|
153
|
+
|
|
154
|
+
```sh
|
|
155
|
+
reply profile set default --team-id 1045
|
|
119
156
|
```
|
|
120
157
|
|
|
121
158
|
`profile show` lists the backend URLs, pinned team, and which authorization
|
|
@@ -166,6 +203,22 @@ It prints `{ "code": <status>, "data": <body> }` and exits non-zero on HTTP
|
|
|
166
203
|
stderr. Add `--verbose` for a full request/response trace on stderr with
|
|
167
204
|
credentials redacted; stdout stays the plain JSON, so pipes keep working.
|
|
168
205
|
|
|
206
|
+
### Windows: Git Bash rewrites the path
|
|
207
|
+
|
|
208
|
+
Under Git Bash / MSYS, `reply api /v3/whoami` never reaches the CLI as you typed
|
|
209
|
+
it — MSYS converts a leading-slash argument into a Windows path, so the request
|
|
210
|
+
would go to `https://api.reply.io/C:/Program Files/Git/v3/whoami`. **Quoting does
|
|
211
|
+
not help**: quotes are removed before the conversion. Either of these does:
|
|
212
|
+
|
|
213
|
+
```sh
|
|
214
|
+
reply api //v3/whoami # a doubled leading slash survives
|
|
215
|
+
MSYS_NO_PATHCONV=1 reply api /v3/whoami # or turn the conversion off
|
|
216
|
+
```
|
|
217
|
+
|
|
218
|
+
The CLI refuses such a path instead of sending it, and exits `2` (usage) rather
|
|
219
|
+
than `1`, so a mangled path can never be mistaken for an endpoint that does not
|
|
220
|
+
exist. PowerShell, cmd, macOS and Linux are unaffected.
|
|
221
|
+
|
|
169
222
|
## Skills
|
|
170
223
|
|
|
171
224
|
Reply's outbound expertise ships as three markdown skill packs in
|
package/dist/commands/api.d.ts
CHANGED
|
@@ -11,9 +11,10 @@ type Global_opts = {
|
|
|
11
11
|
verbose?: boolean;
|
|
12
12
|
};
|
|
13
13
|
declare const read_body_arg: (raw: string | undefined, read_stdin?: () => string) => unknown;
|
|
14
|
+
declare const assert_api_path: (path: string) => void;
|
|
14
15
|
declare const handle_api: (path: string, opts: {
|
|
15
16
|
method?: string;
|
|
16
17
|
body?: string;
|
|
17
18
|
}, ctx: Cli_context, g: Global_opts) => Promise<void>;
|
|
18
19
|
declare const api_command: Command;
|
|
19
|
-
export { api_command, handle_api, read_body_arg };
|
|
20
|
+
export { api_command, handle_api, read_body_arg, assert_api_path };
|
package/dist/commands/api.js
CHANGED
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.read_body_arg = exports.handle_api = exports.api_command = void 0;
|
|
6
|
+
exports.assert_api_path = exports.read_body_arg = exports.handle_api = exports.api_command = void 0;
|
|
7
7
|
const fs_1 = __importDefault(require("fs"));
|
|
8
8
|
const commander_1 = require("commander");
|
|
9
9
|
const context_1 = require("../context");
|
|
@@ -90,10 +90,45 @@ const resolve_method = (flag, has_body) => {
|
|
|
90
90
|
}
|
|
91
91
|
return m;
|
|
92
92
|
};
|
|
93
|
+
// A drive-prefixed path is the signature of MSYS/Cygwin path conversion, not of
|
|
94
|
+
// anything a caller would type: Git Bash on Windows rewrites a leading-slash
|
|
95
|
+
// argument into a Windows path before the CLI is even started.
|
|
96
|
+
const MSYS_DRIVE = /^[A-Za-z]:[\\/]/;
|
|
97
|
+
// Recover the intended path out of a mangled one, so the fix can be quoted back
|
|
98
|
+
// verbatim instead of described. `C:/Program Files/Git/v3/whoami` -> `v3/whoami`.
|
|
99
|
+
// Both separators, because MSYS emits forward slashes but a path pasted from cmd
|
|
100
|
+
// arrives with backslashes.
|
|
101
|
+
const VERSION_SEGMENT = /[\\/](v\d+[\\/].*)$/;
|
|
102
|
+
// The request URL is built literally as api_base + path, so a path that is not a
|
|
103
|
+
// path silently produces a nonsense URL and a 404 — indistinguishable from an
|
|
104
|
+
// endpoint that genuinely does not exist. That is not hypothetical: an agent hit
|
|
105
|
+
// exactly this under Git Bash and told its user a documented feature was "not
|
|
106
|
+
// enabled on this account". Refuse instead, before spending a request, and exit 2
|
|
107
|
+
// (usage) so the failure cannot be mistaken for an upstream one.
|
|
108
|
+
const assert_api_path = (path) => {
|
|
109
|
+
if (path.startsWith('/')) {
|
|
110
|
+
return;
|
|
111
|
+
}
|
|
112
|
+
const recovered = path.match(VERSION_SEGMENT)?.[1].replace(/\\/g, '/');
|
|
113
|
+
const intended = recovered ? `/${recovered}` : '/v3/whoami';
|
|
114
|
+
const hint = MSYS_DRIVE.test(path)
|
|
115
|
+
? [
|
|
116
|
+
'Your shell rewrote the argument before the CLI saw it: Git Bash / MSYS on',
|
|
117
|
+
'Windows turns a leading-slash argument into a Windows path. Quoting does not',
|
|
118
|
+
'help — quotes are removed before the conversion. Any of these does:',
|
|
119
|
+
` reply api /${intended}`,
|
|
120
|
+
` MSYS_NO_PATHCONV=1 reply api ${intended}`,
|
|
121
|
+
' ...or run the same command from PowerShell or cmd.',
|
|
122
|
+
].join('\n')
|
|
123
|
+
: `Paths are taken verbatim from the docs and start with a slash, e.g. ${intended}.`;
|
|
124
|
+
throw new errors_1.UsageError(`The path must start with '/' — got '${path}'.`, { code: 'usage.api', hint });
|
|
125
|
+
};
|
|
126
|
+
exports.assert_api_path = assert_api_path;
|
|
93
127
|
// Raw passthrough to a v3 endpoint. Prints {code, data} for any status; exits 1
|
|
94
128
|
// on >=400. On a team/user-resolution conflict, adds tailored guidance to stderr
|
|
95
129
|
// — this is the workload surface where such guidance belongs.
|
|
96
130
|
const handle_api = async (path, opts, ctx, g) => {
|
|
131
|
+
assert_api_path(path);
|
|
97
132
|
const body = read_body_arg(opts.body);
|
|
98
133
|
const method = resolve_method(opts.method, body !== undefined);
|
|
99
134
|
const { token, headers } = await (0, authed_1.authed)(ctx, g);
|
|
@@ -127,7 +162,10 @@ const api_command = new commander_1.Command('api')
|
|
|
127
162
|
+ ' reply api /v3/contacts --pretty # list contacts (indented)\n'
|
|
128
163
|
+ ' reply api /v3/sequences/12345 # one sequence by id\n'
|
|
129
164
|
+ ' reply api /v3/contacts --body @contact.json # create a contact (POST; body per docs)\n'
|
|
130
|
-
+ ' echo \'<json>\' | reply api /v3/contacts --body - # body from stdin'
|
|
165
|
+
+ ' echo \'<json>\' | reply api /v3/contacts --body - # body from stdin\n'
|
|
166
|
+
+ '\nGit Bash / MSYS on Windows rewrites a leading-slash argument into a Windows\n'
|
|
167
|
+
+ 'path, and quoting does not help. Double the slash — reply api //v3/whoami —\n'
|
|
168
|
+
+ 'or set MSYS_NO_PATHCONV=1. PowerShell, macOS and Linux are unaffected.')
|
|
131
169
|
.action(async function (path) {
|
|
132
170
|
const g = read_globals(this);
|
|
133
171
|
const o = this.opts();
|
package/dist/commands/api.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../src/commands/api.ts"],"names":[],"mappings":";;;;;;AAAA,4CAAoB;AACpB,yCAAkC;AAClC,wCAA2D;AAC3D,4CAA+D;AAC/D,oCAA6C;AAC7C,qCAAgC;AAChC,4CAA2C;AAC3C,4CAAuE;AAavE,MAAM,YAAY,GAAG,CAAC,GAAY,EAAc,EAAE;IAC9C,MAAM,CAAC,GAAG,GAAG,CAAC,eAAe,EAAE,CAAC;IAChC,OAAO;QACH,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,OAAO,EAAE,CAAC,CAAC,OAAO;QACpC,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,SAAS,EAAE,CAAC,CAAC,SAAS;QAC1D,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,OAAO,EAAE,CAAC,CAAC,OAAO;KACrD,CAAC;AACN,CAAC,CAAC;AAEF,yEAAyE;AACzE,8EAA8E;AAC9E,6BAA6B;AAC7B,MAAM,W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MAC1F,2EAA2E;MAC3E,iFAAiF;MACjF,+EAA+E;MAC/E,wEAAwE,CAAC;KAC9E,MAAM,CAAC,KAAK,WAAyB,IAAY;IAC9C,MAAM,CAAC,GAAG,YAAY,CAAC,IAAI,CAAC,CAAC;IAC7B,MAAM,CAAC,GAAG,IAAI,CAAC,IAAI,EAAE,CAAC;IACtB,MAAM,UAAU,CAAC,IAAI,EAAE,EAAC,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,EAAC,EAAE,IAAA,uBAAa,EAAC,EAAC,OAAO,EAAE,CAAC,CAAC,OAAO,EAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AACrG,CAAC,CAAC,CAAC;AAEC,kCAAW"}
|
package/dist/index.js
CHANGED
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;AACA,yCAAkD;AAClD,qCAAmD;AACnD,0CAA6C;AAC7C,gDAAmD;AACnD,0CAA6C;AAC7C,wCAA2C;AAC3C,8CAAiD;AACjD,gDAAmD;AACnD,gDAAkD;AAClD,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;AACA,yCAAkD;AAClD,qCAAmD;AACnD,0CAA6C;AAC7C,gDAAmD;AACnD,0CAA6C;AAC7C,wCAA2C;AAC3C,8CAAiD;AACjD,gDAAmD;AACnD,gDAAkD;AAClD,2CAAqD;AACrD,2CAA+C;AAE/C,8EAA8E;AAC9E,sEAAsE;AACtE,MAAM,iBAAiB,GAAG,CAAC,GAAY,EAAO,EAAE;IAC5C,GAAG,CAAC,YAAY,EAAE,CAAC;IACnB,KAAK,MAAM,GAAG,IAAI,GAAG,CAAC,QAAQ,EAC9B,CAAC;QACG,iBAAiB,CAAC,GAAG,CAAC,CAAC;IAC3B,CAAC;AACL,CAAC,CAAC;AAEF,MAA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CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;IACtE,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACpB,CAAC,CAAC,CAAC"}
|
package/dist/utils/errors.d.ts
CHANGED
|
@@ -43,5 +43,6 @@ declare class Api_error extends CliError {
|
|
|
43
43
|
hint?: string;
|
|
44
44
|
});
|
|
45
45
|
}
|
|
46
|
-
|
|
46
|
+
declare const format_hint: (hint: string) => string;
|
|
47
|
+
export { CliError, UsageError, RuntimeError, Api_error, format_hint };
|
|
47
48
|
export type { Error_json, Api_error_body };
|
package/dist/utils/errors.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// 0 ok · 1 API-or-runtime failure · 2 usage error.
|
|
4
4
|
// On --json, the top-level handler prints `error.to_json()` as a single line.
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.Api_error = exports.RuntimeError = exports.UsageError = exports.CliError = void 0;
|
|
6
|
+
exports.format_hint = exports.Api_error = exports.RuntimeError = exports.UsageError = exports.CliError = void 0;
|
|
7
7
|
const compact = (obj) => {
|
|
8
8
|
const out = {};
|
|
9
9
|
for (const [k, v] of Object.entries(obj)) {
|
|
@@ -83,4 +83,15 @@ class Api_error extends CliError {
|
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
exports.Api_error = Api_error;
|
|
86
|
+
// Render a hint for the terminal. Api_error bakes its hint into the message, but
|
|
87
|
+
// UsageError and RuntimeError carry it as a field — and the top-level handler used
|
|
88
|
+
// to print only `message`, so 47 hints across the CLI were written and never seen,
|
|
89
|
+
// including the one that tells you how to switch team. Shape follows Api_error's
|
|
90
|
+
// ` Hint: ...` so both kinds of failure read the same; continuation lines keep
|
|
91
|
+
// their own indentation, which is what makes a quoted command stand out.
|
|
92
|
+
const format_hint = (hint) => hint
|
|
93
|
+
.split('\n')
|
|
94
|
+
.map((line, i) => (i === 0 ? ` Hint: ${line}` : ` ${line}`))
|
|
95
|
+
.join('\n');
|
|
96
|
+
exports.format_hint = format_hint;
|
|
86
97
|
//# sourceMappingURL=errors.js.map
|
package/dist/utils/errors.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../../src/utils/errors.ts"],"names":[],"mappings":";AAAA,uDAAuD;AACvD,qDAAqD;AACrD,8EAA8E;;;AAU9E,MAAM,OAAO,GAAG,CAAC,GAAe,EAAa,EAAE;IAC3C,MAAM,GAAG,GAAe,EAAE,CAAC;IAC3B,KAAK,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,EACxC,CAAC;QACG,IAAI,CAAC,KAAK,SAAS,IAAI,CAAC,KAAK,IAAI,EACjC,CAAC;YACI,GAA+B,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;QAC5C,CAAC;IACL,CAAC;IACD,OAAO,GAAG,CAAC;AACf,CAAC,CAAC;AAEF,MAAe,QAAS,SAAQ,KAAK;IAEjC,IAAI,CAAU;IACd,KAAK,CAAU;IACf,MAAM,CAAU;IAChB,IAAI,CAAU;IAEd,OAAO;QAEH,OAAO,EAAC,KAAK,EAAE,OAAO,CAAC;gBACnB,MAAM,EAAG,IAA0B,CAAC,MAAM;gBAC1C,IAAI,EAAE,IAAI,CAAC,IAAI;gBACf,KAAK,EAAE,IAAI,CAAC,KAAK;gBACjB,MAAM,EAAE,IAAI,CAAC,MAAM;gBACnB,IAAI,EAAE,IAAI,CAAC,IAAI;aAClB,CAAC,EAAC,CAAC;IACR,CAAC;CACJ;
|
|
1
|
+
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../../src/utils/errors.ts"],"names":[],"mappings":";AAAA,uDAAuD;AACvD,qDAAqD;AACrD,8EAA8E;;;AAU9E,MAAM,OAAO,GAAG,CAAC,GAAe,EAAa,EAAE;IAC3C,MAAM,GAAG,GAAe,EAAE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