@letterstory/cli 0.177.156 → 0.177.157

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/lib/cli.mjs CHANGED
@@ -93,7 +93,7 @@ import {
93
93
  import { fetchParkedSections, withoutParked } from "./parked.mjs";
94
94
 
95
95
  // Matches cli/package.json; publish-cli.yml rewrites both to the published version.
96
- export const VERSION = "0.177.156";
96
+ export const VERSION = "0.177.157";
97
97
 
98
98
  /** The exit code for a gate refusal (CARD_REQUIRED, PAYMENT_FAILED, OUT_OF_TOKENS): 1 is a plain error. */
99
99
  export const EXIT_PAYMENT_REQUIRED = 3;
@@ -2141,7 +2141,7 @@ Visits (Visitors: AI agents reading your site, and AI answers sending people to
2141
2141
  Publish a reviewed public answer
2142
2142
  visits transact pr [--repo owner/name] [--base <branch>] [--site <id>|--host <h>]
2143
2143
  One pull request: the line for agents, and answers to what they asked
2144
- visits transact source <source-id>|--folder <path> | remove <id> | tests | test "<question>" [--discover]
2144
+ visits transact source <source-id>|--folder <path> | remove <id> | tests | test "<question>" [--discover|--draft]
2145
2145
  visits transact mark-ask <ask-id> --as-test|--as-test=false [--site <id>]
2146
2146
  visits requests [--site <id>] [--limit 50] [--before <cursor>] [--include-tests]
2147
2147
  visits transact asks [--since 7d] [--limit <n>] What agents asked, answered, and asks per agent visit
@@ -161,6 +161,7 @@ export const ARGS = {
161
161
  },
162
162
  visitors_list_transact_tests: { site_id: "site" },
163
163
  visitors_test_transact: {
164
+ draft: { flag: "draft", type: "bool" },
164
165
  discovery: { flag: "discover", type: "bool" },
165
166
  site_id: "site",
166
167
  question: { positional: 0, label: "question", required: true },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letterstory/cli",
3
- "version": "0.177.156",
3
+ "version": "0.177.157",
4
4
  "description": "Spin up and manage Letter phantom blogs from your terminal.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",