Skip to content

Commit 3efc1a6

Browse files
author
Bot
committed
# Conflicts: # package.json # scripts/download-ripgrep.ts
2 parents 3ffd601 + e4ce08f commit 3efc1a6

565 files changed

Lines changed: 48444 additions & 8645 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.githooks/pre-commit

Lines changed: 0 additions & 22 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
ci:
11-
runs-on: macos-latest
11+
runs-on: ubuntu-latest
1212

1313
steps:
1414
- uses: actions/checkout@v4
@@ -23,8 +23,16 @@ jobs:
2323
- name: Type check
2424
run: bunx tsc --noEmit
2525

26-
- name: Test
27-
run: bun test
26+
- name: Test with Coverage
27+
run: |
28+
set -o pipefail
29+
bun test --coverage --coverage-reporter=lcov 2>&1 | grep -vE '^\s*(\(pass\)|\(skip\))' | sed '/^.*\/__tests__\/.*:$/d' | cat -s
30+
31+
- name: Upload coverage to Codecov
32+
uses: codecov/codecov-action@v5
33+
with:
34+
file: ./coverage/lcov.info
35+
token: ${{ secrets.CODECOV_TOKEN }}
2836

2937
- name: Build
30-
run: bun run build
38+
run: bun run build:vite

.gitignore

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@ src/utils/vendor/
1313
# AI tool runtime directories
1414
.agents/
1515
.claude/
16-
.codex/
1716
.omx/
18-
17+
.docs/task/
1918
# Binary / screenshot files (root only)
2019
/*.png
2120
*.bmp
@@ -30,3 +29,12 @@ __pycache__/
3029
logs
3130

3231
data
32+
.omc
33+
.codex/*
34+
!.codex/agents/
35+
!.codex/agents/**
36+
!.codex/skills/
37+
!.codex/skills/**
38+
.codex/skills/.system/**
39+
!.codex/prompts/
40+
!.codex/prompts/**

.impeccable.md

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
# Impeccable Design Context
2+
3+
## Users
4+
5+
**Primary**: Technical teams and enterprises using AI-assisted coding in production workflows.
6+
- DevOps engineers managing remote agents via RCS dashboard
7+
- Development teams collaborating through shared sessions
8+
- Individual developers using terminal CLI daily
9+
10+
**Context**: Used during focused work sessions — debugging, code review, agent orchestration. Users are in "get things done" mode, not browsing. They value efficiency but also appreciate warmth and personality.
11+
12+
**Job to be done**: Make advanced AI coding tools accessible and controllable, especially features that normally require enterprise accounts or Anthropic OAuth.
13+
14+
## Brand Personality
15+
16+
**3 words**: Warm, Considered, Human
17+
18+
**Voice**: Like a knowledgeable colleague who's genuinely enthusiastic about the craft — not a corporate product manager. Community-first, open, slightly playful. Chinese developer community culture (贴吧/discord 温暖氛围).
19+
20+
**Emotional goals**: Confidence (this tool is solid), Warmth (this community is welcoming), Delight (small moments of personality make the difference).
21+
22+
**References**:
23+
- **Anthropic's own design language** — their clean, considered aesthetic with warm undertones. The terra cotta/burnt orange as a human accent. Lots of breathing room. Typography-forward.
24+
- **NOT**: Generic AI product (no ChatGPT blue, no gradient text, no "AI slop"). NOT corporate SaaS (no Salesforce-blue dashboards, no enterprise sterility).
25+
26+
**Anti-references**: Corporate enterprise dashboards, generic AI product pages, anything that looks like it was "designed by committee."
27+
28+
## Aesthetic Direction
29+
30+
**Theme**: Light + Dark dual mode (user/system preference switch)
31+
32+
**Tone**: Anthropomorphic warmth meets terminal precision. The brand orange (Claude's terra cotta) is the thread that ties everything together — it's the human element in a technical world.
33+
34+
**Typography**: Clean, considered, with good hierarchy. Terminal-native for CLI; modern web fonts for Web UI (RCS dashboard, docs). Favor readability and personality.
35+
36+
**Color**:
37+
- Primary: Claude orange family (`#D77757` / terra cotta)
38+
- Accent: Warm neutrals tinted toward orange
39+
- Semantic: Success/Error/Warning following Anthropic's established palette
40+
- Dark mode: Warm dark surfaces (not cold blue-black)
41+
42+
**Differentiation**: The CCB brand sits at the intersection of "serious tool" and "community project." It should feel like Anthropic's design principles applied to an open-source context — less corporate polish, more human craft. The mascot "Clawd" and the playful "踩踩背" naming hint at personality that the design should honor.
43+
44+
**Scope**: All Web UI — RCS control panel, documentation site, landing pages.
45+
46+
## Design Principles
47+
48+
1. **Considered over clever** — Every design choice should feel intentional, not trendy. If it doesn't serve the user, it doesn't ship.
49+
2. **Warmth through subtlety** — Orange tints on neutrals, breathing room in layouts, personality in copy. Not giant emoji or aggressive color.
50+
3. **Density with clarity** — Technical users need information density, but not chaos. Every pixel earns its place.
51+
4. **Community voice** — The design should feel like it was made by people who use it, not by a distant design team. Slightly rough edges are fine if they're honest.
52+
5. **Anthropic's shadow** — When in doubt, follow Anthropic's design instincts — the clean layouts, the generous spacing, the warm color temperature. Then add the community touch.
53+
54+
## Existing Design Assets
55+
56+
### Brand Colors (from theme system)
57+
- Claude Orange: `rgb(215,119,87)` / `#D77757`
58+
- Claude Blue: `rgb(87,105,247)` / `#5769F7`
59+
- Permission Blue: `rgb(87,105,247)`
60+
- Auto Accept Violet: `rgb(135,0,255)`
61+
- Plan Mode Teal: `rgb(0,102,102)`
62+
- Success: `rgb(78,186,101)`
63+
- Error: `rgb(255,107,128)`
64+
- Warning: `rgb(255,193,7)`
65+
66+
### Logo
67+
- CCB text + orange play button icon
68+
- Dark/Light SVG variants in `docs/logo/`
69+
- Favicon: Orange circle `#D97706` with white play triangle
70+
71+
### Mascot
72+
- "Clawd" — terminal-art character with multiple poses
73+
- Theme-aware coloring
74+
75+
### Theme System
76+
- 7 variants: dark, light, dark-ansi, light-ansi, dark-daltonized, light-daltonized, auto
77+
- 89+ semantic color tokens
78+
- Full documentation in `packages/@ant/ink/docs/04-theme-system.md`

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
registry=https://registry.npmjs.org/

0 commit comments

Comments
 (0)