File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed
Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -157,6 +157,19 @@ Learn more about the SDK [here](https://www.npmjs.com/package/@codebuff/sdk).
157157
158158** SDK** : Build Codebuff into your applications. Create custom tools, integrate with CI/CD, or embed coding assistance into your products.
159159
160+ ## Advanced Usage
161+
162+ ### Custom Agent Workflows
163+
164+ Create your own agents with specialized workflows using the ` /init ` command:
165+
166+ ``` bash
167+ codebuff
168+ /init
169+ ```
170+
171+ This creates a custom agent structure in ` .agents/ ` that you can customize.
172+
160173## Contributing to Codebuff
161174
162175We ❤️ contributions from the community - whether you're fixing bugs, tweaking our agents, or improving documentation.
Original file line number Diff line number Diff line change @@ -2,7 +2,8 @@ import { clientEnvSchema, clientProcessEnv } from './env-schema'
22
33const parsedEnv = clientEnvSchema . safeParse ( clientProcessEnv )
44if ( ! parsedEnv . success ) {
5- throw parsedEnv . error
5+ console . error ( 'Environment validation failed:' , parsedEnv . error . errors )
6+ throw new Error ( `Invalid environment configuration: ${ parsedEnv . error . message } ` )
67}
78
89export const env = parsedEnv . data
You can’t perform that action at this time.
0 commit comments