codeep 2.0.3 → 2.0.4

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.
@@ -1893,7 +1893,8 @@ export class App {
1893
1893
  }
1894
1894
  // Footer
1895
1895
  const scrollInfo = allItems.length > maxVisible ? ` (${this.helpScrollIndex + 1}-${Math.min(this.helpScrollIndex + maxVisible, allItems.length)}/${allItems.length})` : '';
1896
- this.screen.writeLine(y, `↑↓ scroll • PgUp/PgDn fast scroll • Esc close${scrollInfo}`, fg.gray);
1896
+ this.screen.writeLine(y++, `↑↓ scroll • PgUp/PgDn fast scroll • Esc close${scrollInfo}`, fg.gray);
1897
+ this.screen.writeLine(y, 'Full guides → codeep.dev/docs · /docs <command> (e.g. /docs personality)', fg.cyan);
1897
1898
  }
1898
1899
  /**
1899
1900
  * Render inline autocomplete below status bar
@@ -216,6 +216,40 @@ export async function handleCommand(command, args, ctx) {
216
216
  runAgentTask(args.join(' '), true, ctx, () => null, () => { });
217
217
  break;
218
218
  }
219
+ case 'docs': {
220
+ // Open per-command web docs in the system browser. Lets the inline
221
+ // /help stay terse (single-line entries) while users who want the
222
+ // long story get one keystroke away from a real page.
223
+ const cmd = (args[0] ?? '').toLowerCase().replace(/^\//, '');
224
+ const KNOWN = {
225
+ personality: 'https://codeep.dev/docs/agent#personalities',
226
+ personalities: 'https://codeep.dev/docs/agent#personalities',
227
+ insights: 'https://codeep.dev/docs/agent#insights',
228
+ plan: 'https://codeep.dev/docs/agent#plan-mode',
229
+ go: 'https://codeep.dev/docs/agent#plan-mode',
230
+ mcp: 'https://codeep.dev/docs/mcp',
231
+ skills: 'https://codeep.dev/docs/skills',
232
+ checkpoint: 'https://codeep.dev/docs/commands#checkpoints',
233
+ rewind: 'https://codeep.dev/docs/commands#checkpoints',
234
+ hooks: 'https://codeep.dev/docs/commands#hooks',
235
+ commands: 'https://codeep.dev/docs/commands#custom-commands',
236
+ openrouter: 'https://codeep.dev/docs/providers#openrouter',
237
+ memory: 'https://codeep.dev/docs/commands#intelligence',
238
+ profile: 'https://codeep.dev/docs/commands#settings',
239
+ compact: 'https://codeep.dev/docs/commands#session',
240
+ cost: 'https://codeep.dev/docs/dashboard',
241
+ };
242
+ const url = cmd ? (KNOWN[cmd] ?? `https://codeep.dev/docs/commands?q=${encodeURIComponent(cmd)}`) : 'https://codeep.dev/docs';
243
+ try {
244
+ const { default: open } = await import('open');
245
+ await open(url);
246
+ ctx.app.notify(`Opening ${url}`);
247
+ }
248
+ catch {
249
+ ctx.app.notify(`Couldn't open browser. Visit: ${url}`);
250
+ }
251
+ break;
252
+ }
219
253
  case 'insights': {
220
254
  const { formatInsights } = await import('../utils/insights.js');
221
255
  // Parse `--days N` (default 7). Accept both `--days 30` and `--days=30`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codeep",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "description": "AI-powered coding assistant built for the terminal. Multiple LLM providers, project-aware context, and a seamless development workflow.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",