@keystrokehq/cli 0.1.137 → 0.1.139

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/dist/index.mjs CHANGED
@@ -32,7 +32,7 @@ try {
32
32
  process.exitCode = 1;
33
33
  process.exit(1);
34
34
  }
35
- const { runCli } = await import("./program-D-Lfv2dw.mjs");
35
+ const { runCli } = await import("./program-DMhbEvwF.mjs");
36
36
  await runCli(process.argv);
37
37
  //#endregion
38
38
  export {};
@@ -8315,8 +8315,36 @@ function registerDocsCommand(program) {
8315
8315
  }
8316
8316
  //#endregion
8317
8317
  //#region src/commands/feedback/create.ts
8318
+ const MESSAGE_WRITING_GUIDE = `
8319
+ Write the message for a Keystroke team member with zero context on your session:
8320
+
8321
+ - Start with 1-2 plain sentences on what you were building and what happened.
8322
+ - Then a numbered list with one item per distinct issue.
8323
+ - Lead each item with the plain-English problem and what you expected instead;
8324
+ put technical detail (paths, commands, error text) after — not instead.
8325
+ - Avoid internal function names, codenames, or jargon a cold reader can't know.
8326
+ - Never include secrets, tokens, credentials, proprietary code, or personal data.
8327
+
8328
+ The message renders in Slack as mrkdwn: *bold*, _italic_, \`code\`.
8329
+
8330
+ Template:
8331
+
8332
+ keystroke feedback create --message "$(cat <<'EOF'
8333
+ *Quick Recap and Context*
8334
+
8335
+ One or two sentences on what you were building and what happened.
8336
+
8337
+ -------------------------
8338
+
8339
+ *Feedback for Keystroke Team*
8340
+
8341
+ *1. Plain-English title of the issue*
8342
+ What happened, what you expected, and any workaround. Technical detail last.
8343
+ EOF
8344
+ )"
8345
+ `;
8318
8346
  function registerFeedbackCreateCommand(feedback) {
8319
- feedback.command("create").description("Send a build-experience report to the Keystroke team").requiredOption("--message <text>", "Freeform report (recap + feedback). Prefer a heredoc for multi-line messages.").action((options) => runStandaloneCliCommand("Feedback create failed", async ({ config }) => {
8347
+ feedback.command("create").description("Send a build-experience report (snags, unclear docs, papercuts) to the Keystroke team").requiredOption("--message <text>", "Freeform report (recap + feedback). Prefer a heredoc for multi-line messages.").addHelpText("after", MESSAGE_WRITING_GUIDE).action((options) => runStandaloneCliCommand("Feedback create failed", async ({ config }) => {
8320
8348
  await resolveActiveOrganization(config);
8321
8349
  const platform = createCliPlatformClient(config);
8322
8350
  const linked = readLinkedProjectConfig();
@@ -10213,4 +10241,4 @@ async function runCli(argv) {
10213
10241
  //#endregion
10214
10242
  export { runCli };
10215
10243
 
10216
- //# sourceMappingURL=program-D-Lfv2dw.mjs.map
10244
+ //# sourceMappingURL=program-DMhbEvwF.mjs.map