Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .claude/INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Adds the `narrate` skill to Claude Code so you can say "narrate this folder" and

3. **Install the CLI** (required for the skill to build stories):
```bash
npm install -g @biolytics-ai/diascope
npm install -g @biolytics.ai/diascope
```

4. **Restart Claude Code.**
Expand Down Expand Up @@ -58,5 +58,5 @@ cd ~/.claude/diascope && git pull
```bash
rm ~/.agents/skills/diascope
rm -rf ~/.claude/diascope
npm uninstall -g @biolytics-ai/diascope
npm uninstall -g @biolytics.ai/diascope
```
4 changes: 2 additions & 2 deletions .codex/INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Or manually:

3. **Install the CLI:**
```bash
npm install -g @biolytics-ai/diascope
npm install -g @biolytics.ai/diascope
```

4. **Restart Codex.**
Expand All @@ -49,5 +49,5 @@ cd ~/.codex/diascope && git pull
```bash
rm ~/.agents/skills/diascope
rm -rf ~/.codex/diascope
npm uninstall -g @biolytics-ai/diascope
npm uninstall -g @biolytics.ai/diascope
```
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Package CI](https://github.com/Biolytics-AI/DiaScope/actions/workflows/ci.yml/badge.svg)](https://github.com/Biolytics-AI/DiaScope/actions/workflows/ci.yml)
[![Docs](https://github.com/Biolytics-AI/DiaScope/actions/workflows/docs.yml/badge.svg)](https://github.com/Biolytics-AI/DiaScope/actions/workflows/docs.yml)
[![npm version](https://img.shields.io/npm/v/%40biolytics-ai%2Fdiascope)](https://www.npmjs.com/package/@biolytics-ai/diascope)
[![npm version](https://img.shields.io/npm/v/%40biolytics.ai%2Fdiascope)](https://www.npmjs.com/package/@biolytics.ai/diascope)
[![Docs Site](https://img.shields.io/badge/docs-diascope.biolytics.ai-06E1EC)](https://diascope.biolytics.ai)
[![Node](https://img.shields.io/badge/node-%3E%3D22-002451)](https://nodejs.org/)

Expand Down Expand Up @@ -44,7 +44,7 @@ See the live example and feature docs at `https://diascope.biolytics.ai`.
## Install

```bash
npm install -g @biolytics-ai/diascope
npm install -g @biolytics.ai/diascope
```

---
Expand Down Expand Up @@ -205,8 +205,8 @@ You can also browse the same example in the docs at `https://diascope.biolytics.
Embed in a framework or custom shell:

```js
import { DiaScopeViewer } from "@biolytics-ai/diascope";
import { parseStoryFile, storyToViewerOptions } from "@biolytics-ai/diascope/story";
import { DiaScopeViewer } from "@biolytics.ai/diascope";
import { parseStoryFile, storyToViewerOptions } from "@biolytics.ai/diascope/story";

const story = parseStoryFile(yamlString);
const viewer = new DiaScopeViewer({
Expand All @@ -227,7 +227,7 @@ DiaScope releases are published from GitHub, not from local machines.
1. Open a PR into `main`.
2. Merge only after `build-and-test` and `build-docs` pass.
3. Create and push a version tag like `v0.1.0`.
4. GitHub Actions publishes `@biolytics-ai/diascope` to npm and creates the matching GitHub Release.
4. GitHub Actions publishes `@biolytics.ai/diascope` to npm and creates the matching GitHub Release.

Local `npm publish` should only be used for dry-runs and debugging.

Expand Down
2 changes: 1 addition & 1 deletion docs-site/src/content/docs/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ description: Install DiaScope, scaffold a story file, and build your first narra
## Install the CLI

```bash
npm install -g @biolytics-ai/diascope
npm install -g @biolytics.ai/diascope
```

## 1. Write a D2 diagram
Expand Down
4 changes: 2 additions & 2 deletions docs-site/src/content/docs/guides/ai-agents.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ The `.d2` and `.story.yaml` are the canonical source files. The `.html` is the s
git clone https://github.com/Biolytics-AI/DiaScope.git ~/.claude/diascope
mkdir -p ~/.agents/skills
ln -s ~/.claude/diascope/skills ~/.agents/skills/diascope
npm install -g @biolytics-ai/diascope
npm install -g @biolytics.ai/diascope
```

Then restart Claude Code.
Expand All @@ -50,7 +50,7 @@ Manual install:
git clone https://github.com/Biolytics-AI/DiaScope.git ~/.codex/diascope
mkdir -p ~/.agents/skills
ln -s ~/.codex/diascope/skills ~/.agents/skills/diascope
npm install -g @biolytics-ai/diascope
npm install -g @biolytics.ai/diascope
```

Then restart Codex.
Expand Down
4 changes: 2 additions & 2 deletions docs-site/src/content/docs/reference/javascript-api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ description: Embed the DiaScope viewer in a custom shell or application.
## Import the viewer

```js
import { DiaScopeViewer } from "@biolytics-ai/diascope";
import { parseStoryFile, storyToViewerOptions } from "@biolytics-ai/diascope/story";
import { DiaScopeViewer } from "@biolytics.ai/diascope";
import { parseStoryFile, storyToViewerOptions } from "@biolytics.ai/diascope/story";

const story = parseStoryFile(yamlString);
const viewer = new DiaScopeViewer({
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@biolytics-ai/diascope",
"name": "@biolytics.ai/diascope",
"version": "0.1.0",
"description": "Turn D2 diagrams into narrated interactive stories",
"homepage": "https://diascope.biolytics.ai",
Expand Down
2 changes: 1 addition & 1 deletion skills/narrate/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ diascope --version 2>/dev/null || echo "NOT INSTALLED"

If not installed:
```bash
npm install -g @biolytics-ai/diascope
npm install -g @biolytics.ai/diascope
```

---
Expand Down
Loading