@staff0rd/assist 0.976.0 → 0.977.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/dist/index.js CHANGED
@@ -6,7 +6,7 @@ import { Command } from "commander";
6
6
  // package.json
7
7
  var package_default = {
8
8
  name: "@staff0rd/assist",
9
- version: "0.976.0",
9
+ version: "0.977.1",
10
10
  type: "module",
11
11
  main: "dist/index.js",
12
12
  bin: {
@@ -3850,6 +3850,11 @@ async function loadDocsRefreshStories(orm, ids) {
3850
3850
  }));
3851
3851
  }
3852
3852
 
3853
+ // src/commands/backlog/serializeManualChecks.ts
3854
+ function serializeManualChecks(manualCheck) {
3855
+ return manualCheck && manualCheck.length > 0 ? JSON.stringify(manualCheck) : null;
3856
+ }
3857
+
3853
3858
  // src/commands/backlog/createDocsRefreshItem.ts
3854
3859
  async function createDocsRefreshItem(orm, origin, storyIds, coverageCheck = hasDocsCoverageRun()) {
3855
3860
  const stories = await loadDocsRefreshStories(orm, storyIds);
@@ -3880,9 +3885,12 @@ async function createDocsRefreshItem(orm, origin, storyIds, coverageCheck = hasD
3880
3885
  "For the rest, update the affected pages under `docs/src/content/docs/` (wording, new behaviour on existing pages, removed features) following the rules in `docs/CLAUDE.md`",
3881
3886
  ...coverageCheck ? [
3882
3887
  "Run `assist run docs:coverage`; while it fails, list the gaps with `assist run docs:coverage --report` and add `covers` entries to the pages that document them (or new pages) until it passes"
3883
- ] : []
3888
+ ] : [],
3889
+ "Show the docs diff to the user with `assist ask` and wait for their approval before committing"
3884
3890
  ],
3885
- null,
3891
+ serializeManualChecks([
3892
+ "Review every docs page change in the diff and approve it"
3893
+ ]),
3886
3894
  void 0
3887
3895
  );
3888
3896
  await orm.insert(links).values(
@@ -16656,11 +16664,6 @@ function isClaudeCode() {
16656
16664
  return process.env.CLAUDECODE !== void 0;
16657
16665
  }
16658
16666
 
16659
- // src/commands/backlog/serializeManualChecks.ts
16660
- function serializeManualChecks(manualCheck) {
16661
- return manualCheck && manualCheck.length > 0 ? JSON.stringify(manualCheck) : null;
16662
- }
16663
-
16664
16667
  // src/commands/backlog/createItemWithDefaults.ts
16665
16668
  async function createItemWithDefaults(fields) {
16666
16669
  const orm = await getDb();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@staff0rd/assist",
3
- "version": "0.976.0",
3
+ "version": "0.977.1",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "bin": {