@staff0rd/assist 0.124.0 → 0.126.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
+ - `/seq` - Query Seq logs from a URL or filter expression
48
49
  - `/verify` - Run all verification commands in parallel
49
50
  - `/transcript-format` - Format meeting transcripts from VTT files
50
51
  - `/transcript-summarise` - Summarise transcripts missing summaries
@@ -113,6 +114,7 @@ After installation, the `assist` command will be available globally. You can als
113
114
  - `assist dotnet inspect [sln]` - Run JetBrains inspections on changed .cs files to find dead code
114
115
  - `assist dotnet inspect [sln] --ref <ref>` - Inspect .cs files changed in a specific commit (default: HEAD)
115
116
  - `assist dotnet inspect [sln] --base <ref>` - Inspect all .cs files changed since diverging from a base ref (e.g. `--base main` for a full PR)
117
+ - `assist dotnet inspect [sln] --roslyn` - Use Roslyn analyzers via msbuild instead of JetBrains
116
118
  - `assist dotnet inspect [sln] --swea` - Enable solution-wide error analysis (slower but more thorough)
117
119
  - `assist dotnet check-locks` - Check if build output files are locked by a debugger
118
120
  - `assist dotnet deps <csproj>` - Show .csproj project dependency tree and solution membership
@@ -120,13 +122,21 @@ After installation, the `assist` command will be available globally. You can als
120
122
  - `assist jira auth` - Authenticate with Jira via API token (saves site/email to ~/.assist/jira.json)
121
123
  - `assist jira ac <issue-key>` - Print acceptance criteria for a Jira issue
122
124
  - `assist jira view <issue-key>` - Print the title and description of a Jira issue
123
- - `assist ravendb auth` - Configure a named RavenDB connection (prompts for name, URL, database, op:// secret reference)
124
- - `assist ravendb auth --list` - List configured RavenDB connections
125
- - `assist ravendb auth --remove <name>` - Remove a configured connection
125
+ - `assist ravendb auth add` - Add a new RavenDB connection (prompts for name, URL, database, op:// secret reference)
126
+ - `assist ravendb auth list` - List configured RavenDB connections
127
+ - `assist ravendb auth remove <name>` - Remove a configured connection
126
128
  - `assist ravendb set-connection <name>` - Set the default connection for query/collections commands
127
129
  - `assist ravendb query [connection] [collection]` - Query a RavenDB collection (outputs JSON to stdout)
128
130
  - `assist ravendb query [connection] [collection] --page-size <n> --sort <field> --query <lucene> --limit <n>` - Query with options
129
131
  - `assist ravendb collections [connection]` - List collections and document counts in a database
132
+ - `assist seq auth add` - Add a new Seq connection (prompts for name, URL, API token)
133
+ - `assist seq auth list` - List configured Seq connections
134
+ - `assist seq auth remove <name>` - Remove a configured connection
135
+ - `assist seq set-connection <name>` - Set the default Seq connection
136
+ - `assist seq query <filter>` - Query Seq events with a filter expression
137
+ - `assist seq query <filter> -c <connection>` - Query using a specific connection
138
+ - `assist seq query <filter> --json` - Output raw JSON
139
+ - `assist seq query <filter> -n <count>` - Fetch a specific number of events (default 50)
130
140
  - `assist complexity <pattern>` - Analyze a file (all metrics if single match, maintainability if multiple)
131
141
  - `assist complexity cyclomatic [pattern]` - Calculate cyclomatic complexity per function
132
142
  - `assist complexity halstead [pattern]` - Calculate Halstead metrics per function
@@ -0,0 +1,29 @@
1
+ ---
2
+ description: Query Seq logs from a URL or filter expression
3
+ ---
4
+
5
+ The user wants to query Seq log events. The argument is either a Seq UI URL or a raw filter expression.
6
+
7
+ ## If the argument is a URL
8
+
9
+ Parse it to extract:
10
+ 1. **Base URL** — the origin (e.g., `http://localhost:5341`)
11
+ 2. **Filter** — URL-decode the `filter` query parameter from the fragment (after `#`). For example, from `http://localhost:5341/#/events?filter=JobId%20%3D%3D%20%22abc%22`, extract filter `JobId == "abc"`.
12
+
13
+ Then determine the correct connection:
14
+ - Run `assist seq auth list` to see configured connections.
15
+ - Match the base URL from the parsed URL against a connection's URL.
16
+ - If a match is found, use that connection name with `-c <name>`.
17
+ - If no match is found, tell the user and ask them to run `assist seq auth add` to add the connection. Do NOT attempt to add connections yourself.
18
+
19
+ ## If the argument is a filter expression
20
+
21
+ Use the default connection (no `-c` flag needed).
22
+
23
+ ## Running the query
24
+
25
+ Run: `assist seq query "<filter>"` (add `-c <connection>` if resolved from a URL).
26
+
27
+ Display the results to the user. If the output is large, summarise the key events (errors, warnings, patterns) and highlight anything notable.
28
+
29
+ If the user asks follow-up questions, refine the filter and re-query.
@@ -43,7 +43,9 @@
43
43
  "Bash(assist dotnet:*)",
44
44
  "Bash(assist ravendb query:*)",
45
45
  "Bash(assist ravendb collections:*)",
46
- "Bash(assist ravendb auth --list:*)",
46
+ "Bash(assist ravendb auth list:*)",
47
+ "Bash(assist seq query:*)",
48
+ "Bash(assist seq auth list:*)",
47
49
  "Bash(head:*)",
48
50
  "Bash(tail:*)",
49
51
  "Bash(grep:*)",
@@ -92,6 +94,8 @@
92
94
  "Skill(voice-logs)",
93
95
  "Skill(jira)",
94
96
  "SlashCommand(/jira)",
97
+ "Skill(seq)",
98
+ "SlashCommand(/seq)",
95
99
  "WebFetch(domain:staffordwilliams.com)"
96
100
  ],
97
101
  "deny": ["Bash(git commit:*)", "Bash(npm run:*)", "Bash(npx assist:*)"]