chesly 0.3.0 → 0.3.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
@@ -347,8 +347,8 @@ Sends:
347
347
  telegram · 0/30 this hour · 12/150 today
348
348
  ```
349
349
 
350
- An API plan is a flat monthly price, Personal or Pro: calls are counted, never billed, and each plan
351
- has its own transcription minutes and limits (https://web.chesly.app/api/billing). Minutes used
350
+ An API plan is a flat monthly price, Starter, Personal or Pro: calls are counted, never billed, and
351
+ each plan has its own limits and, on Personal and Pro, transcription minutes (https://web.chesly.app/api/billing). Minutes used
352
352
  round down, and once they're used up the line says when they come back
353
353
  (`600 of 600 min, used up until Nov 28`). A downgrade waits for the end of the period, and the plan
354
354
  line says when (`Plan: Pro, active: changes to Personal on Jan 14`). The request limits apply to
@@ -433,7 +433,7 @@ included, on every network but email (add `--network email` for email threads):
433
433
  | 3 | not signed in (no key, a malformed one, or the key was rejected) |
434
434
  | 4 | not found (an unknown chat, message, webhook or key, or a name that matches no chat), or ambiguous (a name that matches several) |
435
435
  | 5 | not final, come back to it: rate limited (a 429: too many requests, a send cap, uploads held after a slow one, or too many open event streams), a request that took too long to arrive (a 408, such as an upload's `upload_timeout`), briefly unavailable (a 502, 503 or 504, from the API or a gateway), a first attempt still running (a 409 `idempotency_in_progress`), or a send the network didn't confirm (`delivery_unconfirmed`: check the chat before you send it again). `retry_after` says when, if the answer has it |
436
- | 6 | payment required: the account needs an API plan, or this period's transcription minutes are used up |
436
+ | 6 | payment required: the account needs an API plan, or this period's transcription minutes are used up (Starter has none) |
437
437
 
438
438
  - **MCP:** give Claude Code the Chesly MCP server with your key:
439
439
 
package/dist/index.js CHANGED
@@ -9,7 +9,7 @@ import { STATUS_CODES } from "http";
9
9
  // package.json
10
10
  var package_default = {
11
11
  name: "chesly",
12
- version: "0.3.0",
12
+ version: "0.3.1",
13
13
  description: "Chesly CLI: your chats from the terminal and your agents",
14
14
  license: "MIT",
15
15
  type: "module",
@@ -1221,6 +1221,7 @@ function keyTable(keys, inUse) {
1221
1221
  }
1222
1222
  var BILLING_URL = "https://web.chesly.app/api/billing";
1223
1223
  var PLAN_NAMES = /* @__PURE__ */ new Map([
1224
+ ["starter", "Starter"],
1224
1225
  ["personal", "Personal"],
1225
1226
  ["pro", "Pro"]
1226
1227
  ]);
@@ -1288,6 +1289,7 @@ function scheduledChange(change) {
1288
1289
  return `changes to ${name} ${when.includes(":") ? "at" : "on"} ${when}`;
1289
1290
  }
1290
1291
  function transcriptionMinutes(plan) {
1292
+ if (plan.plan === "starter") return "not part of Starter";
1291
1293
  const usedSeconds = Number(plan.transcription_seconds_this_period) || 0;
1292
1294
  const used = count(Math.floor(usedSeconds / 60));
1293
1295
  const included = Number(plan.transcription_seconds_included);
@@ -2893,7 +2895,7 @@ Exit codes:
2893
2895
  running (409), or a send the network didn't confirm (check the chat
2894
2896
  before sending again); retry_after, when there is one, says when
2895
2897
  6 payment required: an API plan is needed, or this period's transcription
2896
- minutes are used up
2898
+ minutes are used up (Starter has none)
2897
2899
 
2898
2900
  Examples:
2899
2901
  chesly catchup your unread chats and their latest messages
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chesly",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Chesly CLI: your chats from the terminal and your agents",
5
5
  "license": "MIT",
6
6
  "type": "module",