Home / agents-universe / agents-universe · packages/web/CLAUDE.md · GitHub

CLAUDE.md@packages/web claudeC

CLAUDE.md@packages/web is agent-read markdown (claude) from agents-universe/agents-universe.

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# web Package

Vue 3 + TypeScript + Vite. Codex-style three-panel layout.

## Stack

- 框架: Vue 3.5 + `<script setup>` + TypeScript
- 状态管理: Pinia 2 (`stores/`)
- 路由: Vue Router 4 (`router/`)
- 构建: Vite 5 + @vitejs/plugin-vue
- 样式: Tailwind CSS 3 + 手写 CSS(`index.css` + `styles/layout.css`)
- Markdown: markdown-it + markdown-it-highlightjs
- 图标: lucide-vue-next
- 编辑器: CodeMirror 6(`Composer.vue`)
- 图表: mermaid + dompurify(`MermaidBlock.vue`)
- HTTP: 原生 fetch 封装(`api/client.ts`)

## Layout

```
AppLayout.vue
├── Top nav — 会话 / 工作区 / 发布 / 定时任务(pageSegment 正则解析当前页签)
├── Left sidebar (collapsible)
│   ├── ProjectTree.vue      — 项目列表,点击切换
│   └── AgentSwitcher.vue    — 智能体列表,点击切换
│
├── Center panel
│   └── ChatPage.vue → ChatPanel.vue
│       ├── 消息列表 (MessageBubble.vue)
│       └── Composer.vue (底部固定)
│
└── Right panel (collapsible, tabbed)
    ├── Tab: 会话  — ConversationTreePanel.vue
    ├── Tab: 知识  — KnowledgePanel.vue
    └── Tab: 记忆  — MemoryPanel.vue
    (ContextMeter.vue 始终显示在顶部)
```

## State Management

Pinia stores in `stores/`. **不要用 Vue provide/inject** 做跨面板状态。

- `project.ts` — 当前工作区、项目、项目列表;切换项目时 reset 其他 stores
- `conversation.ts` — 消息、流式内容、Token 用量、任务列表、工具调用
…

Read the whole file at its exact version.

How to install

Latest version
mdr add agents-universe/agents-universe/packages/web/CLAUDE.md@git:20260916.f09726d
Exact content
mdr add agents-universe/agents-universe/packages/web/CLAUDE.md@sha256:9875a5970fe6a2a9

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_377dj76jz7jzwflv.svg)](https://markdownregistry.com/a/art_377dj76jz7jzwflv)

2 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260916.f09726d latest2026-09-16 f09726d 3,904 BC view · diff
git:20260909.0cd6b672026-09-09 0cd6b67 3,682 BC view · diff
git:20260818.506c24f2026-08-18 506c24f 3,082 BC view

Audit of the latest version

C  12 of 14 checks passed. Deterministic, no model, same answer every run.
  • fail: No link to a raw IP address (matched: http://127.0.0.1:8000)
  • fail: No script tag (matched: <script)
  • pass: Size between 200 bytes and 200 KB (3904 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters

Source

GitHub

agents-universe/agents-universe · 292 stars · license Apache-2.0 · pushed 2026-09-23 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_377dj76jz7jzwflv
GET https://markdownregistry.com/api/v1/resolve?ref=agents-universe/agents-universe/packages/web/CLAUDE.md
GET https://markdownregistry.com/api/v1/blob/9875a5970fe6a2a9cf2324d458cd8be606eed63d6b21c585cad64de6913bd50b

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from agents-universe/agents-universe

CLAUDE.md claude
agents-universe/agents-universe · CLAUDE.md
git:20260920.91bfc9c · audit A · 292 stars

Every file in agents-universe/agents-universe

Browse by kind, by grade C, or by owner.