@staff0rd/assist 0.34.0 → 0.35.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
@@ -50,6 +50,9 @@ After installation, the `assist` command will be available globally.
50
50
  - `assist prs wontfix <comment-id> <reason>` - Reply with reason and resolve thread
51
51
  - `assist run <name>` - Run a configured command from assist.yml
52
52
  - `assist run add` - Add a new run configuration to assist.yml
53
+ - `assist config set <key> <value>` - Set a config value (e.g. commit.push true)
54
+ - `assist config get <key>` - Get a config value
55
+ - `assist config list` - List all config values
53
56
  - `assist update` - Update claude-code to the latest version
54
57
  - `assist verify` - Run all verify:* scripts from package.json in parallel
55
58
  - `assist verify init` - Add verify scripts to a project
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ import { Command } from "commander";
7
7
  // package.json
8
8
  var package_default = {
9
9
  name: "@staff0rd/assist",
10
- version: "0.33.1",
10
+ version: "0.34.0",
11
11
  type: "module",
12
12
  main: "dist/index.js",
13
13
  bin: {
@@ -612,6 +612,9 @@ var assistConfigSchema = z.strictObject({
612
612
  days: z.array(z.string()).optional()
613
613
  }).optional()
614
614
  }).optional(),
615
+ notify: z.strictObject({
616
+ enabled: z.boolean().default(true)
617
+ }).optional(),
615
618
  run: z.array(runConfigSchema).optional(),
616
619
  transcript: transcriptConfigSchema.optional()
617
620
  });
@@ -2175,6 +2178,10 @@ function showNotification(options) {
2175
2178
 
2176
2179
  // src/commands/notify/index.ts
2177
2180
  async function notify() {
2181
+ const config = loadConfig();
2182
+ if (!config.notify?.enabled) {
2183
+ return;
2184
+ }
2178
2185
  const inputData = await readStdin();
2179
2186
  const data = JSON.parse(inputData);
2180
2187
  const { notification_type, cwd, message } = data;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@staff0rd/assist",
3
- "version": "0.34.0",
3
+ "version": "0.35.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "bin": {