@staff0rd/assist 0.126.0 → 0.128.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
@@ -45,6 +45,7 @@ After installation, the `assist` command will be available globally. You can als
45
45
  - `/journal` - Append a journal entry summarising recent work, decisions, and notable observations
46
46
  - `/standup` - Summarise recent journal entries as a standup update
47
47
  - `/sync` - Sync commands and settings to ~/.claude
48
+ - `/inspect` - Run .NET code inspections on changed files
48
49
  - `/seq` - Query Seq logs from a URL or filter expression
49
50
  - `/verify` - Run all verification commands in parallel
50
51
  - `/transcript-format` - Format meeting transcripts from VTT files
package/assist.cli-reads CHANGED
@@ -1902,6 +1902,22 @@ az webapp traffic-routing show
1902
1902
  az webapp vnet-integration list
1903
1903
  az webapp webjob continuous list
1904
1904
  az webapp webjob triggered list
1905
+ cat
1906
+ cut
1907
+ date
1908
+ echo
1909
+ find
1910
+ grep
1911
+ head
1912
+ jq
1913
+ ls
1914
+ printf
1915
+ sort
1916
+ tail
1917
+ tee
1918
+ tr
1919
+ uniq
1920
+ wc
1905
1921
  gh agent-task list
1906
1922
  gh agent-task view
1907
1923
  gh alias list
@@ -1974,6 +1990,7 @@ git diff-files
1974
1990
  git diff-index
1975
1991
  git diff-tree
1976
1992
  git for-each-ref
1993
+ git fetch
1977
1994
  git fsck
1978
1995
  git grep
1979
1996
  git help
@@ -0,0 +1,7 @@
1
+ ---
2
+ description: Run .NET code inspections on changed files
3
+ ---
4
+
5
+ Run `assist dotnet inspect $ARGUMENTS 2>&1`. If it reports issues, summarise the findings grouped by severity or category and suggest fixes.
6
+
7
+ ARGUMENTS: $ARGUMENTS
@@ -46,22 +46,6 @@
46
46
  "Bash(assist ravendb auth list:*)",
47
47
  "Bash(assist seq query:*)",
48
48
  "Bash(assist seq auth list:*)",
49
- "Bash(head:*)",
50
- "Bash(tail:*)",
51
- "Bash(grep:*)",
52
- "Bash(cat:*)",
53
- "Bash(wc:*)",
54
- "Bash(sort:*)",
55
- "Bash(uniq:*)",
56
- "Bash(cut:*)",
57
- "Bash(tr:*)",
58
- "Bash(tee:*)",
59
- "Bash(find:*)",
60
- "Bash(ls:*)",
61
- "Bash(echo:*)",
62
- "Bash(printf:*)",
63
- "Bash(date:*)",
64
- "Bash(jq:*)",
65
49
  "SlashCommand(/next-backlog-item)",
66
50
  "SlashCommand(/verify)",
67
51
  "SlashCommand(/commit)",
@@ -96,6 +80,8 @@
96
80
  "SlashCommand(/jira)",
97
81
  "Skill(seq)",
98
82
  "SlashCommand(/seq)",
83
+ "Skill(inspect)",
84
+ "SlashCommand(/inspect)",
99
85
  "WebFetch(domain:staffordwilliams.com)"
100
86
  ],
101
87
  "deny": ["Bash(git commit:*)", "Bash(npm run:*)", "Bash(npx assist:*)"]
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.126.0",
9
+ version: "0.128.0",
10
10
  type: "module",
11
11
  main: "dist/index.js",
12
12
  bin: {
@@ -2875,9 +2875,12 @@ function saveCliReads(commands) {
2875
2875
  }
2876
2876
  function findCliRead(command) {
2877
2877
  const words = command.split(/\s+/);
2878
+ if (words.length === 0) return void 0;
2879
+ const lines = getCliReadsLines();
2880
+ if (lines.includes(words[0])) return words[0];
2878
2881
  if (words.length < 2) return void 0;
2879
2882
  const prefix2 = `${words[0]} ${words[1]}`;
2880
- const candidates = getCliReadsLines().filter(
2883
+ const candidates = lines.filter(
2881
2884
  (line) => line === prefix2 || line.startsWith(`${prefix2} `)
2882
2885
  );
2883
2886
  return candidates.sort((a, b) => b.length - a.length).find((rc) => command === rc || command.startsWith(`${rc} `));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@staff0rd/assist",
3
- "version": "0.126.0",
3
+ "version": "0.128.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "bin": {