@lebtiga/sonic-agent 1.0.1 → 1.0.3

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.
Files changed (2) hide show
  1. package/bin/sonic.js +7 -5
  2. package/package.json +1 -1
package/bin/sonic.js CHANGED
@@ -127,16 +127,18 @@ async function cmdStart() {
127
127
  // instead of staring at an empty Claude Code prompt.
128
128
  const hasPassthrough = passthrough.length > 0;
129
129
  const skipWelcome = process.env.SONIC_SKIP_WELCOME === '1';
130
+ const skipPermissions = process.env.SONIC_SKIP_PERMISSIONS === '1';
130
131
 
131
132
  const claudeArgs = ['--plugin-dir', sonicAgent];
133
+ if (skipPermissions) {
134
+ claudeArgs.push('--dangerously-skip-permissions');
135
+ }
132
136
  if (hasPassthrough) {
133
137
  claudeArgs.push(...passthrough);
134
138
  } else if (!skipWelcome) {
135
- claudeArgs.push(
136
- 'I just launched Sonic. Greet me as Sonic, then run /sonic-help to ' +
137
- 'show me the available skills and the 6-stage build flow. After that, ' +
138
- 'ask me what client or project I want to build for today.'
139
- );
139
+ // Auto-invoke the namespaced help slash command on launch.
140
+ // Claude Code recognizes the leading slash as a command, not a prompt.
141
+ claudeArgs.push('/sonic-agent:sonic-help');
140
142
  }
141
143
 
142
144
  const child = spawn(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lebtiga/sonic-agent",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "Sonic — a specialized AI agent for building WordPress authority websites at scale. Founders cohort license required.",
5
5
  "keywords": [
6
6
  "wordpress",