@@ -201,7 +201,20 @@ Ask the user for:
201201
202202Use their answers to fill flags in the commands below. Avoid running interactive CLI flows.
203203
204- #### Step 1: Install the CLI
204+ #### Step 1: Check for opencode
205+
206+ opencode is required for local AI reference generation. Verify it's installed:
207+
208+ \`\`\`bash
209+ opencode --version
210+ \`\`\`
211+
212+ If not installed:
213+ \`\`\`bash
214+ curl -fsSL https://opencode.ai/install | bash
215+ \`\`\`
216+
217+ #### Step 2: Install the CLI
205218
206219\`\`\`bash
207220curl -fsSL https://offworld.sh/install | bash
@@ -212,7 +225,7 @@ Or use your preferred package manager:
212225npm install -g offworld
213226\`\`\`
214227
215- #### Step 2 : Initialize Offworld (non-interactive)
228+ #### Step 3 : Initialize Offworld (non-interactive)
216229
217230\`\`\`bash
218231ow init --yes --agents "<agent-list>" --repo-root "<clone-dir>" --model "<provider/model>"
@@ -224,14 +237,14 @@ This will:
224237- Configure which agents to sync reference files to
225238- Set the default model for reference generation
226239
227- #### Step 3 : Verify the installation
240+ #### Step 4 : Verify the installation
228241
229242\`\`\`bash
230243ow --version
231244ow config show
232245\`\`\`
233246
234- #### Step 4 : Initialize in the current project (non-interactive)
247+ #### Step 5 : Initialize in the current project (non-interactive)
235248
236249\`\`\`bash
237250ow project init --yes --all --generate
@@ -253,7 +266,7 @@ Or exclude specific dependencies:
253266ow project init --yes --all --skip "react,react-dom" --generate
254267\`\`\`
255268
256- #### Step 5 : Verify setup
269+ #### Step 6 : Verify setup
257270
258271List the installed reference files:
259272\`\`\`bash
@@ -274,6 +287,7 @@ export const toSubcommandId = (group: string) => `sub-${group}`;
274287export function buildTocSections ( ) : TocSection [ ] {
275288 return [
276289 { id : "overview" , label : "Overview" } ,
290+ { id : "prerequisites" , label : "Prerequisites" } ,
277291 {
278292 id : "installation" ,
279293 label : "Installation" ,
0 commit comments