archbyte 0.2.5 → 0.2.6

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/dist/cli/setup.js CHANGED
@@ -312,6 +312,8 @@ export async function handleSetup() {
312
312
  else {
313
313
  console.log(chalk.gray(` .archbyte/archbyte.yaml already exists`));
314
314
  }
315
+ // Generate README.md in .archbyte/
316
+ writeArchbyteReadme(archbyteDir);
315
317
  console.log();
316
318
  console.log(chalk.green(" Setup complete!"));
317
319
  console.log();
@@ -319,3 +321,39 @@ export async function handleSetup() {
319
321
  console.log(chalk.gray(" Run from your project root, or use ") + chalk.cyan("archbyte run -d /path/to/project"));
320
322
  console.log();
321
323
  }
324
+ function writeArchbyteReadme(archbyteDir) {
325
+ const readmePath = path.join(archbyteDir, "README.md");
326
+ if (fs.existsSync(readmePath))
327
+ return;
328
+ const content = `# .archbyte
329
+
330
+ This directory is managed by [ArchByte](https://diabhey.com) — your codebase's architecture intelligence layer.
331
+
332
+ ## Files
333
+
334
+ | File | What it does |
335
+ |------|-------------|
336
+ | \`archbyte.yaml\` | Your architecture spec. Human-readable, human-editable. This is the source of truth. |
337
+ | \`architecture.json\` | Generated diagram data. Fed directly to the interactive UI. |
338
+ | \`analysis.json\` | Raw analysis output from the agent pipeline. Used by \`archbyte generate\`. |
339
+ | \`metadata.json\` | Scan metadata — duration, mode, commit hash. Powers \`archbyte stats\` and \`archbyte diff\`. |
340
+ | \`analysis-status.json\` | Status of the last scan (success/error). Used by the dev server for live updates. |
341
+ | \`static-context.json\` | Cached static scanner output. Speeds up incremental re-scans. |
342
+
343
+ ## Workflow
344
+
345
+ \`\`\`
346
+ archbyte analyze → writes archbyte.yaml + analysis.json
347
+ archbyte generate → reads archbyte.yaml → writes architecture.json
348
+ archbyte serve → reads architecture.json → opens interactive diagram
349
+ \`\`\`
350
+
351
+ You can edit \`archbyte.yaml\` by hand — your changes are preserved on re-scan.
352
+
353
+ ---
354
+
355
+ Thanks for using ArchByte. Built with love by [diabhey](https://diabhey.com).
356
+ `;
357
+ fs.writeFileSync(readmePath, content, "utf-8");
358
+ console.log(chalk.green(` Created .archbyte/README.md`));
359
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "archbyte",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "description": "ArchByte - See what agents build. As they build it.",
5
5
  "type": "module",
6
6
  "bin": {
Binary file
Binary file
@@ -4,7 +4,8 @@
4
4
  <meta charset="UTF-8">
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
6
  <title>ArchByte</title>
7
- <link rel="icon" href="/favicon.ico">
7
+ <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32.png">
8
+ <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16.png">
8
9
  <script type="module" crossorigin src="/assets/index-BdfGbhpp.js"></script>
9
10
  <link rel="stylesheet" crossorigin href="/assets/index-0_XpUUZQ.css">
10
11
  </head>