@staff0rd/assist 0.93.3 → 0.94.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
@@ -41,6 +41,7 @@ After installation, the `assist` command will be available globally. You can als
41
41
  - `/review-comments` - Process PR review comments one by one
42
42
  - `/journal` - Append a journal entry summarising recent work, decisions, and notable observations
43
43
  - `/standup` - Summarise recent journal entries as a standup update
44
+ - `/sync` - Sync commands and settings to ~/.claude
44
45
  - `/verify` - Run all verification commands in parallel
45
46
  - `/transcript-format` - Format meeting transcripts from VTT files
46
47
  - `/transcript-summarise` - Summarise transcripts missing summaries
@@ -8,10 +8,10 @@ First run `assist commit status` to see the current state of the working tree.
8
8
 
9
9
  Then either:
10
10
  - `assist commit "your message"` to commit already-staged changes, or
11
- - `assist commit <file1> <file2> ... "your message"` to stage files and commit
11
+ - `assist commit "your message" <file1> <file2> ...` to stage files and commit
12
12
 
13
13
  Where:
14
- - Each file argument is a path to git add before committing
15
- - The last argument is the commit message
14
+ - The first argument is the commit message
15
+ - Any subsequent arguments are paths to git add before committing
16
16
  - The commit message is 40 characters or less
17
17
  - The commit message does not reference Claude
@@ -0,0 +1,5 @@
1
+ ---
2
+ description: Sync commands and settings to ~/.claude
3
+ ---
4
+
5
+ Run `assist sync --yes 2>&1` to copy command files and settings to ~/.claude. This overwrites settings.json without prompting.
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.93.3",
9
+ version: "0.94.0",
10
10
  type: "module",
11
11
  main: "dist/index.js",
12
12
  bin: {
@@ -286,11 +286,11 @@ function commit(args) {
286
286
  return;
287
287
  }
288
288
  if (args.length < 1) {
289
- console.error("Usage: assist commit [files...] <message>");
289
+ console.error("Usage: assist commit <message> [files...]");
290
290
  process.exit(1);
291
291
  }
292
- const message = args[args.length - 1];
293
- const files = args.slice(0, -1);
292
+ const message = args[0];
293
+ const files = args.slice(1);
294
294
  const config = loadConfig();
295
295
  validateMessage(message, config);
296
296
  execCommit(files, message, config);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@staff0rd/assist",
3
- "version": "0.93.3",
3
+ "version": "0.94.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "bin": {