coss-cli 0.4.0 → 0.5.0

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
@@ -50,6 +50,9 @@ ID and notarized by Apple (since 0.3.0), so one downloaded with a browser runs w
50
50
  | `coss logs tail` | New lines of the environment's log as they arrive: API requests, email events, webhook attempts. Filter with `--source`, `--level`, `--type`, `--status`, `-q`; `--since 15m` starts earlier; `--interval` sets the poll interval (2000 ms). |
51
51
  | `coss inbox` | The environment's inbound domain, then each email it receives as it arrives (`--since`, `--interval`). |
52
52
  | `coss inbox get <id>` | A received email: verdicts, attachments and its text (`--html`, `--headers`); `--raw > message.eml` saves the message as received. |
53
+ | `coss inboxes list`, `coss inboxes create` | [Inboxes](https://coss.com/docs/inboxes): email addresses for agents (`--username`, `--domain`, `--name`, `--client-id`). |
54
+ | `coss inboxes threads <inbox>`, `coss inboxes thread <inbox> <thread>` | An inbox's conversations (● awaits a reply), and one read message by message (`--full` keeps the quoted text). |
55
+ | `coss inboxes reply <inbox> <message> --text <text>` | Replies in the message's thread from the inbox (`--all`: to everyone on it). |
53
56
  | `coss listen` | Receives the environment's webhook events and forwards each one to `--forward-to`, signed like coss.com signs real deliveries. Verify them with `verifyWebhook` from the `coss` SDK and the signing secret it prints (it stays the same for the profile). `--header "Name: value"` adds a header to forwarded requests. |
54
57
  | `coss trigger <event-type>` | A test event of that type, sent to the environment's subscribed endpoints and `coss listen` listeners like a real one (sandbox keys; every type but `domain.*`, `account.*`, `billing.*`). `--data '{…}'` and `-F name=value` (dotted names, JSON values) change its `data`. |
55
58
  | `coss webhooks list` | The environment's webhook endpoints: URL, state and event types. |
package/dist/cli.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { c as flushOutput, l as nodeIo, n as run } from "./run-glpZgvyK.js";
2
+ import { c as flushOutput, l as nodeIo, n as run } from "./run-DLGZnVHf.js";
3
3
  //#region src/cli.ts
4
4
  process.exitCode = await run(process.argv.slice(2), nodeIo());
5
5
  await flushOutput();
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- export { u as CURSOR_FIELDS, t as HELP, r as VERSION, s as defaultConfigDir, i as generateSecret, l as nodeIo, n as run, a as sign, o as signatureHeaders } from "./run-glpZgvyK.js";
1
+ export { u as CURSOR_FIELDS, t as HELP, r as VERSION, s as defaultConfigDir, i as generateSecret, l as nodeIo, n as run, a as sign, o as signatureHeaders } from "./run-DLGZnVHf.js";
@@ -204,7 +204,7 @@ function requireArgs(positionals, count, usage) {
204
204
  return positionals;
205
205
  }
206
206
  /** Repeatable flags that may also be comma-separated: `--events a,b --events c`. */
207
- function list(value) {
207
+ function list$1(value) {
208
208
  return (value === void 0 ? [] : Array.isArray(value) ? value : [value]).flatMap((item) => item.split(",")).map((item) => item.trim()).filter(Boolean);
209
209
  }
210
210
  /** `name=value` flags as pairs (a usage error for anything else). */
@@ -1256,7 +1256,7 @@ function checkedFormat(format) {
1256
1256
  if (format !== void 0 && format !== "table" && format !== "bind") throw new UsageError(`--format takes table or bind; got "${format}".`);
1257
1257
  return format;
1258
1258
  }
1259
- async function client$2(context) {
1259
+ async function client$3(context) {
1260
1260
  return clientFor(context.io, await resolveCredentials(context));
1261
1261
  }
1262
1262
  const domainsListCommand = defineCommand({
@@ -1269,7 +1269,7 @@ const domainsListCommand = defineCommand({
1269
1269
  } },
1270
1270
  run: async ({ context }) => {
1271
1271
  const { out } = context;
1272
- const { data, error } = await (await client$2(context)).domains.list({ signal: context.io.signal });
1272
+ const { data, error } = await (await client$3(context)).domains.list({ signal: context.io.signal });
1273
1273
  if (error) throw apiError("Couldn't list the domains", error);
1274
1274
  if (out.json) {
1275
1275
  for (const domain of data.data) out.data(domain);
@@ -1335,7 +1335,7 @@ const domainsAddCommand = defineCommand({
1335
1335
  const { out } = context;
1336
1336
  const name = onePositional(positionals, "domain", "domains add");
1337
1337
  const format = checkedFormat(values.format);
1338
- const { data, error } = await (await client$2(context)).domains.create({ name }, { signal: context.io.signal });
1338
+ const { data, error } = await (await client$3(context)).domains.create({ name }, { signal: context.io.signal });
1339
1339
  if (error) throw apiError(`Couldn't add ${name}`, error);
1340
1340
  if (out.json || format === "bind") {
1341
1341
  printDomain(out, data, format);
@@ -1365,7 +1365,7 @@ const domainsGetCommand = defineCommand({
1365
1365
  run: async ({ values, positionals, context }) => {
1366
1366
  const ref = onePositional(positionals, "domain", "domains get");
1367
1367
  const format = checkedFormat(values.format);
1368
- const domain = await findDomain(await client$2(context), ref);
1368
+ const domain = await findDomain(await client$3(context), ref);
1369
1369
  printDomain(context.out, domain, format);
1370
1370
  return 0;
1371
1371
  }
@@ -1813,7 +1813,7 @@ function oneId(positionals, command) {
1813
1813
  if (id === void 0 || extra.length > 0) throw new UsageError(`Pass one email id: \`coss ${command} email_…\`.`);
1814
1814
  return id;
1815
1815
  }
1816
- async function client$1(context) {
1816
+ async function client$2(context) {
1817
1817
  return clientFor(context.io, await resolveCredentials(context));
1818
1818
  }
1819
1819
  const emailsListCommand = defineCommand({
@@ -1885,15 +1885,15 @@ async function emailsList({ values, context }) {
1885
1885
  const now = io.now();
1886
1886
  const params = {
1887
1887
  ...values.to && { to: values.to },
1888
- ...values.status && { status: checked$1(list(values.status), EMAIL_STATUSES, "status") },
1889
- ...values["recipient-status"] && { recipient_status: checked$1(list(values["recipient-status"]), RECIPIENT_STATUSES, "recipient-status") },
1888
+ ...values.status && { status: checked$1(list$1(values.status), EMAIL_STATUSES, "status") },
1889
+ ...values["recipient-status"] && { recipient_status: checked$1(list$1(values["recipient-status"]), RECIPIENT_STATUSES, "recipient-status") },
1890
1890
  ...values.query && { q: values.query },
1891
1891
  ...values.category && { category: values.category },
1892
1892
  ...values.batch && { batch_id: values.batch },
1893
1893
  created_after: time$1(values.since, "since", now),
1894
1894
  created_before: time$1(values.until, "until", now)
1895
1895
  };
1896
- const coss = await client$1(context);
1896
+ const coss = await client$2(context);
1897
1897
  const emails = [];
1898
1898
  let after;
1899
1899
  while (emails.length < limit) {
@@ -1961,7 +1961,7 @@ async function emailsGet({ values, positionals, context }) {
1961
1961
  const { io, out } = context;
1962
1962
  const id = oneId(positionals, "emails get");
1963
1963
  if (values.text && values.html) throw new UsageError("Pass --text or --html, not both.");
1964
- const { data: email, error } = await (await client$1(context)).email.get(id, { signal: io.signal });
1964
+ const { data: email, error } = await (await client$2(context)).email.get(id, { signal: io.signal });
1965
1965
  if (io.signal.aborted) return 130;
1966
1966
  if (error) throw apiError("Couldn't read the email", error);
1967
1967
  if (out.json) {
@@ -2016,7 +2016,7 @@ const emailsEventsCommand = defineCommand({
2016
2016
  run: async ({ positionals, context }) => {
2017
2017
  const { io, out } = context;
2018
2018
  const id = oneId(positionals, "emails events");
2019
- const { data, error } = await (await client$1(context)).email.listEvents(id, { signal: io.signal });
2019
+ const { data, error } = await (await client$2(context)).email.listEvents(id, { signal: io.signal });
2020
2020
  if (io.signal.aborted) return 130;
2021
2021
  if (error) throw apiError("Couldn't read the email's events", error);
2022
2022
  if (data.data.length === 0 && !out.json) out.info("No events yet.");
@@ -2074,7 +2074,7 @@ function steps(out, next, indent) {
2074
2074
  async function emailsDiagnose({ values, positionals, context }) {
2075
2075
  const { io, out } = context;
2076
2076
  if (values.to !== void 0 && positionals.length > 0) throw new UsageError("Pass an email id or --to, not both.");
2077
- const coss = await client$1(context);
2077
+ const coss = await client$2(context);
2078
2078
  let id;
2079
2079
  if (values.to !== void 0) {
2080
2080
  const { data, error } = await coss.email.list({
@@ -2130,7 +2130,7 @@ const DELIVERY_STATUSES$1 = [
2130
2130
  "succeeded",
2131
2131
  "failed"
2132
2132
  ];
2133
- const LIMIT$1 = {
2133
+ const LIMIT$2 = {
2134
2134
  type: "string",
2135
2135
  value: "<n>",
2136
2136
  description: "How many to show, 1-100 (default 50)"
@@ -2180,7 +2180,7 @@ const appsList = defineCommand({
2180
2180
  summary: "List the environment's Hooks applications",
2181
2181
  description: "Lists the environment's applications (one per customer of yours, each with its own endpoints and portal), newest first.",
2182
2182
  flags: {
2183
- limit: LIMIT$1,
2183
+ limit: LIMIT$2,
2184
2184
  json: {
2185
2185
  type: "boolean",
2186
2186
  description: "One application per line, as JSON"
@@ -2255,7 +2255,7 @@ const eventTypesList = defineCommand({
2255
2255
  type: "boolean",
2256
2256
  description: "Also list archived types"
2257
2257
  },
2258
- limit: LIMIT$1,
2258
+ limit: LIMIT$2,
2259
2259
  json: {
2260
2260
  type: "boolean",
2261
2261
  description: "One event type per line, as JSON"
@@ -2404,7 +2404,7 @@ const endpointsAdd = defineCommand({
2404
2404
  rateLimit = Number(values["rate-limit"]);
2405
2405
  if (!Number.isInteger(rateLimit) || rateLimit < 1 || rateLimit > 1e3) throw new UsageError("--rate-limit takes a number from 1 to 1000.");
2406
2406
  }
2407
- const types = list(values.types);
2407
+ const types = list$1(values.types);
2408
2408
  const { data, error } = await (await hooksClient(context)).hooks.endpoints.create(app, {
2409
2409
  url: values.url,
2410
2410
  ...types.length > 0 && { filter_types: types },
@@ -2507,7 +2507,7 @@ const DELIVERIES_FLAGS$1 = {
2507
2507
  choices: DELIVERY_STATUSES$1,
2508
2508
  description: "pending, succeeded or failed"
2509
2509
  },
2510
- limit: LIMIT$1,
2510
+ limit: LIMIT$2,
2511
2511
  json: {
2512
2512
  type: "boolean",
2513
2513
  description: "One delivery per line, as JSON"
@@ -2926,6 +2926,220 @@ async function inboxGet({ values, positionals, context }) {
2926
2926
  return 0;
2927
2927
  }
2928
2928
  //#endregion
2929
+ //#region src/commands/inboxes.ts
2930
+ const LIMIT$1 = {
2931
+ type: "string",
2932
+ value: "<n>",
2933
+ description: "How many to show, 1-100 (default 20)"
2934
+ };
2935
+ async function client$1(context) {
2936
+ return clientFor(context.io, await resolveCredentials(context));
2937
+ }
2938
+ const list = defineCommand({
2939
+ name: "inboxes list",
2940
+ summary: "List the environment's inboxes",
2941
+ description: "Lists the environment's inboxes (addresses for agents), newest first.",
2942
+ flags: {
2943
+ limit: LIMIT$1,
2944
+ json: {
2945
+ type: "boolean",
2946
+ description: "One inbox per line, as JSON"
2947
+ }
2948
+ },
2949
+ run: async ({ values, context }) => {
2950
+ const { data, error } = await (await client$1(context)).inboxes.list({ limit: limitOf$1(values.limit) });
2951
+ if (error) throw apiError("Couldn't list the inboxes", error);
2952
+ printList(context.out, data, {
2953
+ headings: [
2954
+ "ID",
2955
+ "ADDRESS",
2956
+ "NAME",
2957
+ "SENDS",
2958
+ "CREATED"
2959
+ ],
2960
+ row: (inbox) => [
2961
+ inbox.id,
2962
+ inbox.address,
2963
+ inbox.display_name ?? "",
2964
+ inbox.can_send ? "yes" : "no",
2965
+ when$1(inbox.created_at)
2966
+ ],
2967
+ empty: "No inboxes yet: `coss inboxes create` makes one.",
2968
+ more: "There are more: `coss api inboxes --paginate` lists them all."
2969
+ });
2970
+ return 0;
2971
+ }
2972
+ });
2973
+ const create = defineCommand({
2974
+ name: "inboxes create",
2975
+ summary: "Create an inbox: an email address for an agent",
2976
+ description: "Creates an inbox in the environment. Mail to it is kept as threads, and each message sends an inbox.message.received webhook (`coss listen` forwards them while you develop).",
2977
+ flags: {
2978
+ username: {
2979
+ type: "string",
2980
+ value: "<name>",
2981
+ description: "The part before the @ (default: a random one)"
2982
+ },
2983
+ domain: {
2984
+ type: "string",
2985
+ value: "<hostname>",
2986
+ description: "A receiving domain of the environment (default: its coss.com inbound domain)"
2987
+ },
2988
+ name: {
2989
+ type: "string",
2990
+ value: "<name>",
2991
+ description: "The name messages are sent with"
2992
+ },
2993
+ "client-id": {
2994
+ type: "string",
2995
+ value: "<id>",
2996
+ description: "Your own id for the inbox: creating it again returns the same inbox"
2997
+ },
2998
+ json: {
2999
+ type: "boolean",
3000
+ description: "Print the inbox as JSON"
3001
+ }
3002
+ },
3003
+ run: async ({ values, context }) => {
3004
+ const { data, error } = await (await client$1(context)).inboxes.create({
3005
+ ...values.username !== void 0 && { username: values.username },
3006
+ ...values.domain !== void 0 && { domain: values.domain },
3007
+ ...values.name !== void 0 && { display_name: values.name },
3008
+ ...values["client-id"] !== void 0 && { client_id: values["client-id"] }
3009
+ });
3010
+ if (error) throw apiError("Couldn't create the inbox", error);
3011
+ const { out } = context;
3012
+ if (out.json) out.data(data);
3013
+ else {
3014
+ out.line(`${out.style("green", "✔")} ${out.style("bold", data.address)} ${out.style("dim", data.id)}`);
3015
+ if (!data.can_send) out.info("It receives only: live inboxes send from a receiving domain under a verified domain (--domain).");
3016
+ }
3017
+ return 0;
3018
+ }
3019
+ });
3020
+ const threads = defineCommand({
3021
+ name: "inboxes threads",
3022
+ summary: "List an inbox's conversations",
3023
+ usage: "<inbox> [options]",
3024
+ description: "Lists the inbox's threads, latest activity first; ● marks one whose latest message is inbound (it awaits a reply).",
3025
+ flags: {
3026
+ limit: LIMIT$1,
3027
+ json: {
3028
+ type: "boolean",
3029
+ description: "One thread per line, as JSON"
3030
+ }
3031
+ },
3032
+ positionals: true,
3033
+ run: async ({ values, positionals, context }) => {
3034
+ const [inboxId] = requireArgs(positionals, 1, "inboxes threads <inbox>");
3035
+ const { data, error } = await (await client$1(context)).inboxes.threads.list(inboxId, { limit: limitOf$1(values.limit) });
3036
+ if (error) throw apiError("Couldn't list the threads", error);
3037
+ printList(context.out, data, {
3038
+ headings: [
3039
+ "",
3040
+ "ID",
3041
+ "SUBJECT",
3042
+ "WITH",
3043
+ "MESSAGES",
3044
+ "LAST"
3045
+ ],
3046
+ row: (thread) => [
3047
+ thread.last_inbound_at === thread.last_message_at ? "●" : "",
3048
+ thread.id,
3049
+ printable(thread.subject ?? "(no subject)"),
3050
+ printable(thread.participants.join(", ")),
3051
+ String(thread.message_count),
3052
+ when$1(thread.last_message_at)
3053
+ ],
3054
+ empty: "No conversations yet.",
3055
+ more: "There are more: raise --limit, or `coss api inboxes/<inbox>/threads --paginate`."
3056
+ });
3057
+ return 0;
3058
+ }
3059
+ });
3060
+ function printMessage(out, message, full) {
3061
+ const arrow = message.direction === "inbound" ? out.style("cyan", "←") : out.style("green", "→");
3062
+ out.line(`${arrow} ${out.style("bold", printable(message.from ?? "(unknown sender)"))} ${out.style("dim", `${when$1(message.created_at)} ${message.id}`)}`);
3063
+ if (message.direction === "outbound") out.line(` ${out.style("dim", `to ${printable(message.to.join(", "))} · ${message.status}`)}`);
3064
+ for (const attachment of message.attachments) out.line(` ${out.style("dim", `📎 ${printable(attachment.filename ?? "(unnamed)")}`)}`);
3065
+ const text = full ? message.text : message.extracted_text;
3066
+ out.line();
3067
+ out.line(text === null ? out.style("dim", "(no text)") : printable(text, true));
3068
+ out.line();
3069
+ }
3070
+ const INBOXES_COMMANDS = [
3071
+ list,
3072
+ create,
3073
+ threads,
3074
+ defineCommand({
3075
+ name: "inboxes thread",
3076
+ summary: "Read a conversation",
3077
+ usage: "<inbox> <thread> [options]",
3078
+ description: "Prints the thread's latest messages, oldest first, each with its own words (without the quoted conversation, unless --full). Control characters in senders' text are left out.",
3079
+ flags: {
3080
+ full: {
3081
+ type: "boolean",
3082
+ description: "Print every message's whole text, quotes included"
3083
+ },
3084
+ json: {
3085
+ type: "boolean",
3086
+ description: "Print the thread as JSON"
3087
+ }
3088
+ },
3089
+ positionals: true,
3090
+ run: async ({ values, positionals, context }) => {
3091
+ const [inboxId, threadId] = requireArgs(positionals, 2, "inboxes thread <inbox> <thread>");
3092
+ const { data, error } = await (await client$1(context)).inboxes.threads.get(inboxId, threadId);
3093
+ if (error) throw apiError("Couldn't read the thread", error);
3094
+ const { out } = context;
3095
+ if (out.json) {
3096
+ out.data(data);
3097
+ return 0;
3098
+ }
3099
+ out.line(out.style("bold", printable(data.subject ?? "(no subject)")));
3100
+ out.line(out.style("dim", `with ${printable(data.participants.join(", "))}`));
3101
+ out.line();
3102
+ for (const message of data.messages) printMessage(out, message, values.full === true);
3103
+ return 0;
3104
+ }
3105
+ }),
3106
+ defineCommand({
3107
+ name: "inboxes reply",
3108
+ summary: "Reply to a message from its inbox",
3109
+ usage: "<inbox> <message> --text <text> [--all]",
3110
+ description: "Replies in the message's thread from the inbox's address, to its sender (--all: everyone on it), with Re: and the headers mail clients thread by.",
3111
+ flags: {
3112
+ text: {
3113
+ type: "string",
3114
+ value: "<text>",
3115
+ description: "The reply's text"
3116
+ },
3117
+ all: {
3118
+ type: "boolean",
3119
+ description: "Reply to everyone on the message, not only the sender"
3120
+ },
3121
+ json: {
3122
+ type: "boolean",
3123
+ description: "Print the reply as JSON"
3124
+ }
3125
+ },
3126
+ positionals: true,
3127
+ run: async ({ values, positionals, context }) => {
3128
+ const [inboxId, messageId] = requireArgs(positionals, 2, "inboxes reply <inbox> <message> --text <text>");
3129
+ if (!values.text) throw new UsageError("Pass the reply with --text <text>.");
3130
+ const { data, error } = await (await client$1(context)).inboxes.messages.reply(inboxId, messageId, {
3131
+ text: values.text,
3132
+ ...values.all && { reply_all: true }
3133
+ });
3134
+ if (error) throw apiError("Couldn't send the reply", error);
3135
+ const { out } = context;
3136
+ if (out.json) out.data(data);
3137
+ else out.line(`${out.style("green", "✔")} Replied to ${printable(data.to.join(", "))} ${out.style("dim", data.id)}`);
3138
+ return 0;
3139
+ }
3140
+ })
3141
+ ];
3142
+ //#endregion
2929
3143
  //#region src/env-file.ts
2930
3144
  /**
2931
3145
  * The project's env file: where `coss init` writes `COSS_API_KEY` and `coss listen` writes
@@ -3588,7 +3802,7 @@ async function ignoredByGit(io, dir, file) {
3588
3802
  //#endregion
3589
3803
  //#region src/version.ts
3590
3804
  /** The package version (`coss --version`, the forwarded requests' user agent). */
3591
- const VERSION = "0.4.0";
3805
+ const VERSION = "0.5.0";
3592
3806
  //#endregion
3593
3807
  //#region src/listen/forward.ts
3594
3808
  /** Posting an event to the local URL, as coss.com would post it to an endpoint. */
@@ -3741,7 +3955,7 @@ async function run$1(context, values) {
3741
3955
  const { io, out } = context;
3742
3956
  const target = typeof values["forward-to"] === "string" ? normalizeTarget(values["forward-to"]) : null;
3743
3957
  const headers = (values.header ?? []).map(parseHeader);
3744
- const eventTypes = list(values.events);
3958
+ const eventTypes = list$1(values.events);
3745
3959
  const credentials = await resolveCredentials(context);
3746
3960
  const coss = clientFor(io, credentials, {
3747
3961
  timeout: CLIENT_TIMEOUT_MS,
@@ -4010,13 +4224,13 @@ const logsTailCommand = defineCommand({
4010
4224
  });
4011
4225
  async function logsTail({ values, context }) {
4012
4226
  const { io, out } = context;
4013
- const sources = checked(list(values.source), SOURCES, "source");
4014
- const levels = checked(list(values.level), LEVELS, "level");
4227
+ const sources = checked(list$1(values.source), SOURCES, "source");
4228
+ const levels = checked(list$1(values.level), LEVELS, "level");
4015
4229
  const filters = {
4016
4230
  ...sources.length > 0 && { source: sources },
4017
4231
  ...levels.length > 0 && { level: levels },
4018
- ...values.type && { type: list(values.type) },
4019
- ...values.status && { status: list(values.status) },
4232
+ ...values.type && { type: list$1(values.type) },
4233
+ ...values.status && { status: list$1(values.status) },
4020
4234
  ...values.query && { q: values.query }
4021
4235
  };
4022
4236
  const intervalMs = values.interval === void 0 ? 2e3 : Number(values.interval);
@@ -5650,7 +5864,7 @@ async function addEndpoint({ values, positionals, context }) {
5650
5864
  const { io, out } = context;
5651
5865
  const [url] = requireArgs(positionals, 1, "webhooks add <url>");
5652
5866
  if (url === void 0 || !/^https?:\/\//i.test(url)) throw new UsageError("Pass an http(s) URL: `coss webhooks add https://example.com/webhooks`.");
5653
- const events = list(values.events);
5867
+ const events = list$1(values.events);
5654
5868
  const unknown = events.filter((type) => !WEBHOOK_EVENT_TYPES.includes(type));
5655
5869
  if (unknown.length > 0) throw new UsageError(`Unknown event type ${unknown.map((type) => `"${type}"`).join(", ")}. See https://coss.com/docs/webhooks.`);
5656
5870
  const coss = clientFor(io, await resolveCredentials(context));
@@ -5841,6 +6055,7 @@ const COMMANDS = [
5841
6055
  logsTailCommand,
5842
6056
  inboxCommand,
5843
6057
  inboxGetCommand,
6058
+ ...INBOXES_COMMANDS,
5844
6059
  listenCommand,
5845
6060
  triggerCommand,
5846
6061
  webhooksListCommand,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coss-cli",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "description": "The coss.com command line: sign in, send test emails and text messages, tail your environment's log, and forward webhook events to localhost with `coss listen`.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://coss.com/docs/cli",
@@ -43,7 +43,7 @@
43
43
  "test": "bun test"
44
44
  },
45
45
  "dependencies": {
46
- "coss": "^0.9.0"
46
+ "coss": "^0.10.0"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@arethetypeswrong/core": "0.18.5",