Skip to content

Commit b4d70da

Browse files
committed
docs: add Codra Code v0.2.3 release assets
1 parent a14fc6b commit b4d70da

6 files changed

Lines changed: 453 additions & 0 deletions

File tree

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
#!/bin/bash
2+
set -euo pipefail
3+
4+
# Codra Code v0.2.3 Demo Video Generator
5+
# Creates a terminal-style demo with Talocode branding
6+
7+
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
8+
OUTPUT="${ROOT}/docs/release/codra-code-v0.2.3-demo.mp4"
9+
TEMP_DIR="${ROOT}/demo/temp-v0.2.3"
10+
11+
mkdir -p "$TEMP_DIR"
12+
13+
# Talocode color scheme
14+
BG="0x1C1C1C"
15+
PRIMARY="0x58C4DD"
16+
SECONDARY="0x83C167"
17+
ACCENT="0xFFFF00"
18+
TEXT="0xFFFFFF"
19+
DIM="0x888888"
20+
GREEN="0x3FB950"
21+
BLUE="0x58A6FF"
22+
23+
FONT="/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf"
24+
FONT_REGULAR="/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf"
25+
FONT_MONO="/usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf"
26+
27+
scene() {
28+
local id="$1"
29+
local duration="$2"
30+
shift 2
31+
ffmpeg -y -f lavfi -i "color=c=$BG:s=1920x1080:d=$duration" \
32+
-vf "$*" \
33+
-c:v libx264 -pix_fmt yuv420p "$TEMP_DIR/scene${id}.mp4"
34+
}
35+
36+
echo "Scene 1: Hook"
37+
scene 1 8 \
38+
"drawtext=text='Codra Code v0.2.3':fontsize=72:fontcolor=$PRIMARY:x=(w-text_w)/2:y=320:fontfile=$FONT,\
39+
drawtext=text='Auth, Slash Commands & Model Picker':fontsize=36:fontcolor=$TEXT:x=(w-text_w)/2:y=440:fontfile=$FONT_REGULAR,\
40+
drawtext=text='Local-first coding agent CLI from Talocode':fontsize=28:fontcolor=$DIM:x=(w-text_w)/2:y=520:fontfile=$FONT_REGULAR"
41+
42+
echo "Scene 2: Install"
43+
scene 2 7 \
44+
"drawtext=text='Install globally with npm':fontsize=42:fontcolor=$PRIMARY:x=360:y=260:fontfile=$FONT,\
45+
drawtext=text='npm install -g @talocode/codra-code@0.2.3':fontsize=32:fontcolor=$TEXT:x=360:y=380:fontfile=$FONT_MONO,\
46+
drawtext=text='✓ @talocode/codra-code@0.2.3 installed':fontsize=24:fontcolor=$SECONDARY:x=360:y=480:fontfile=$FONT_REGULAR"
47+
48+
echo "Scene 3: Help"
49+
scene 3 7 \
50+
"drawtext=text='Check available commands':fontsize=42:fontcolor=$PRIMARY:x=360:y=260:fontfile=$FONT,\
51+
drawtext=text='codra-code --help':fontsize=32:fontcolor=$TEXT:x=360:y=380:fontfile=$FONT_MONO,\
52+
drawtext=text='Commands - auth model status help':fontsize=24:fontcolor=$DIM:x=360:y=480:fontfile=$FONT_REGULAR"
53+
54+
echo "Scene 4: Auth Status"
55+
scene 4 6 \
56+
"drawtext=text='Check authentication status':fontsize=42:fontcolor=$PRIMARY:x=360:y=260:fontfile=$FONT,\
57+
drawtext=text='codra-code auth status':fontsize=32:fontcolor=$TEXT:x=360:y=380:fontfile=$FONT_MONO,\
58+
drawtext=text='Auth - Not signed in - Mode - Local':fontsize=24:fontcolor=$DIM:x=360:y=480:fontfile=$FONT_REGULAR"
59+
60+
echo "Scene 5: Local Mode"
61+
scene 5 7 \
62+
"drawtext=text='Local mode works without sign-in':fontsize=42:fontcolor=$PRIMARY:x=360:y=260:fontfile=$FONT,\
63+
drawtext=text='codra-code --mock status':fontsize=32:fontcolor=$TEXT:x=360:y=380:fontfile=$FONT_MONO,\
64+
drawtext=text='Provider - mock - Mode - Local - Ready':fontsize=24:fontcolor=$SECONDARY:x=360:y=480:fontfile=$FONT_REGULAR"
65+
66+
echo "Scene 6: Model Picker"
67+
scene 6 7 \
68+
"drawtext=text='Switch models with slash commands':fontsize=42:fontcolor=$PRIMARY:x=360:y=260:fontfile=$FONT,\
69+
drawtext=text='codra-code --mock model':fontsize=32:fontcolor=$TEXT:x=360:y=380:fontfile=$FONT_MONO,\
70+
drawtext=text='model - Select provider and model':fontsize=24:fontcolor=$DIM:x=360:y=480:fontfile=$FONT_REGULAR"
71+
72+
echo "Scene 7: Architecture"
73+
scene 7 10 \
74+
"drawtext=text='Hosted vs Local':fontsize=42:fontcolor=$ACCENT:x=360:y=220:fontfile=$FONT,\
75+
drawtext=text='Hosted usage requires Tera Talocode account':fontsize=28:fontcolor=$TEXT:x=360:y=340:fontfile=$FONT_REGULAR,\
76+
drawtext=text='Local mode remains open without auth':fontsize=28:fontcolor=$SECONDARY:x=360:y=400:fontfile=$FONT_REGULAR,\
77+
drawtext=text='Local-first always':fontsize=24:fontcolor=$DIM:x=360:y=480:fontfile=$FONT_REGULAR"
78+
79+
echo "Scene 8: CTA"
80+
scene 8 8 \
81+
"drawtext=text='Codra Code v0.2.3':fontsize=72:fontcolor=$PRIMARY:x=(w-text_w)/2:y=300:fontfile=$FONT,\
82+
drawtext=text='npm install -g @talocode/codra-code@0.2.3':fontsize=30:fontcolor=$TEXT:x=(w-text_w)/2:y=430:fontfile=$FONT_MONO,\
83+
drawtext=text='github.com/talocode/codra':fontsize=34:fontcolor=$BLUE:x=(w-text_w)/2:y=520:fontfile=$FONT_REGULAR,\
84+
drawtext=text='Local-first CLI - hosted API optional':fontsize=24:fontcolor=$DIM:x=(w-text_w)/2:y=590:fontfile=$FONT_REGULAR"
85+
86+
cat > "$TEMP_DIR/concat.txt" << EOF
87+
file 'scene1.mp4'
88+
file 'scene2.mp4'
89+
file 'scene3.mp4'
90+
file 'scene4.mp4'
91+
file 'scene5.mp4'
92+
file 'scene6.mp4'
93+
file 'scene7.mp4'
94+
file 'scene8.mp4'
95+
EOF
96+
97+
ffmpeg -y -f concat -safe 0 -i "$TEMP_DIR/concat.txt" -c copy "$TEMP_DIR/video_no_audio.mp4"
98+
99+
# Add subtle background audio
100+
ffmpeg -y -f lavfi -i "sine=frequency=330:duration=50" -af "volume=0.015" -c:a aac "$TEMP_DIR/bg_audio.m4a"
101+
102+
ffmpeg -y -i "$TEMP_DIR/video_no_audio.mp4" -i "$TEMP_DIR/bg_audio.m4a" \
103+
-c:v copy -c:a aac -shortest "$OUTPUT"
104+
105+
rm -rf "$TEMP_DIR"
106+
107+
echo "Demo video created: $OUTPUT"
108+
ls -lh "$OUTPUT"
408 KB
Binary file not shown.
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# Codra Code v0.2.3 Demo Script
2+
3+
**Title:** Codra Code v0.2.3 — Auth, Slash Commands & Model Picker
4+
**Duration:** 45–70 seconds
5+
**Voiceover Tone:** Talocode founder/builder style, clear, calm, technical, terminal-first, not hype
6+
7+
## Scene Breakdown
8+
9+
### Scene 1: Hook (0:00-0:08)
10+
**Visual:** Dark terminal with Talocode branding, Codra Code logo/title
11+
**Caption:** Introducing Codra Code v0.2.3 — the local-first coding agent CLI from Talocode.
12+
**Voiceover:** "Introducing Codra Code v0.2.3 — the local-first coding agent CLI from Talocode."
13+
14+
### Scene 2: Install (0:08-0:15)
15+
**Visual:** Terminal showing `npm install -g @talocode/codra-code@0.2.3` executing
16+
**Caption:** npm install -g @talocode/codra-code@0.2.3
17+
**Voiceover:** "Install globally with npm."
18+
19+
### Scene 3: Help (0:15-0:22)
20+
**Visual:** Terminal showing `codra-code --help` output with command list
21+
**Caption:** codra-code --help
22+
**Voiceover:** "Check the available commands with --help."
23+
24+
### Scene 4: Auth Status (0:22-0:28)
25+
**Visual:** Terminal showing `codra-code auth status` displaying current auth state
26+
**Caption:** codra-code auth status
27+
**Voiceover:** "Check your authentication status with auth status."
28+
29+
### Scene 5: Local Mode (0:28-0:35)
30+
**Visual:** Terminal showing `codra-code --mock /status` displaying workspace status in local mode
31+
**Caption:** codra-code --mock /status
32+
**Voiceover:** "Local mode works without sign-in using the --mock flag."
33+
34+
### Scene 6: Model Picker (0:35-0:42)
35+
**Visual:** Terminal showing `codra-code --mock /model` displaying model selection interface
36+
**Caption:** codra-code --mock /model
37+
**Voiceover:** "Switch models with the new /model slash command."
38+
39+
### Scene 7: Hosted Gating Explanation (0:42-0:52)
40+
**Visual:** Split screen or text overlay showing local vs hosted mode distinction
41+
**Caption:** Hosted usage requires your Tera/Talocode account. Local mode remains open.
42+
**Voiceover:** "Hosted usage will require your Tera/Talocode account, while local mode remains open."
43+
44+
### Scene 8: CTA (0:52-0:60)
45+
**Visual:** Terminal with install command + GitHub URL + Talocode branding
46+
**Caption:** Install from npm or check the GitHub release.
47+
**Voiceover:** "Install from npm or check the GitHub release."
48+
49+
## Technical Notes
50+
51+
- Use dark terminal aesthetic (Talocode style)
52+
- Ensure terminal commands are clearly readable
53+
- No fake command results - show actual CLI output
54+
- No secrets or tokens displayed
55+
- No production auth claims beyond foundation/adapter
56+
- Preserve local-first positioning in all visuals
57+
- File size should be reasonable for web distribution
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
# Codra Code v0.2.3 Demo Shotlist
2+
3+
## Video Specifications
4+
- **Format:** MP4
5+
- **Resolution:** 1920x1080 (16:9)
6+
- **Frame Rate:** 30fps
7+
- **Duration:** 45-70 seconds
8+
- **Style:** Dark terminal, Talocode branding
9+
- **Audio:** Voiceover + optional background ambient
10+
11+
## Shot List
12+
13+
### Shot 1: Title Card (0:00-0:08)
14+
- **Visual:** Dark terminal background with Codra Code logo/title
15+
- **Text:** "Codra Code v0.2.3 — Auth, Slash Commands & Model Picker"
16+
- **Duration:** 8 seconds
17+
- **Audio:** Voiceover intro
18+
19+
### Shot 2: Install Command (0:08-0:15)
20+
- **Visual:** Terminal window executing `npm install -g @talocode/codra-code@0.2.3`
21+
- **Text:** Command visible in terminal, success message
22+
- **Duration:** 7 seconds
23+
- **Audio:** Voiceover explaining install
24+
25+
### Shot 3: Help Command (0:15-0:22)
26+
- **Visual:** Terminal showing `codra-code --help` output
27+
- **Text:** Command list displayed clearly
28+
- **Duration:** 7 seconds
29+
- **Audio:** Voiceover explaining help
30+
31+
### Shot 4: Auth Status (0:22-0:28)
32+
- **Visual:** Terminal showing `codra-code auth status` output
33+
- **Text:** Current auth state displayed
34+
- **Duration:** 6 seconds
35+
- **Audio:** Voiceover explaining auth status
36+
37+
### Shot 5: Local Mode (0:28-0:35)
38+
- **Visual:** Terminal showing `codra-code --mock /status` output
39+
- **Text:** Workspace status in local mode
40+
- **Duration:** 7 seconds
41+
- **Audio:** Voiceover explaining local mode
42+
43+
### Shot 6: Model Picker (0:35-0:42)
44+
- **Visual:** Terminal showing `codra-code --mock /model` output
45+
- **Text:** Model selection interface
46+
- **Duration:** 7 seconds
47+
- **Audio:** Voiceover explaining model picker
48+
49+
### Shot 7: Architecture Explanation (0:42-0:52)
50+
- **Visual:** Split screen or text overlay showing local vs hosted distinction
51+
- **Text:** "Hosted usage requires Tera/Talocode account. Local mode remains open."
52+
- **Duration:** 10 seconds
53+
- **Audio:** Voiceover explaining architecture
54+
55+
### Shot 8: CTA (0:52-0:60)
56+
- **Visual:** Terminal with install command + GitHub URL
57+
- **Text:** "Install from npm: npm install -g @talocode/codra-code@0.2.3"
58+
- **Text:** "GitHub: github.com/talocode/codra"
59+
- **Duration:** 8 seconds
60+
- **Audio:** Voiceover CTA
61+
62+
## Visual Style Guidelines
63+
- **Terminal:** Dark background (#1a1a1a or similar), light text (#e0e0e0)
64+
- **Font:** Monospace (Fira Code, JetBrains Mono, or similar)
65+
- **Accent Color:** Talocode brand color (if available)
66+
- **Captions:** Clear, readable, bottom of screen
67+
- **Transitions:** Smooth fades between shots
68+
69+
## Audio Guidelines
70+
- **Voiceover:** Calm, technical, founder-style
71+
- **Background:** Minimal ambient (optional)
72+
- **Volume:** Voiceover clear and prominent
73+
- **Timing:** Voiceover synced with visual changes
74+
75+
## Technical Constraints
76+
- No fake command results
77+
- No secrets or tokens
78+
- No production auth claims beyond foundation
79+
- Preserve local-first positioning
80+
- File size under 50MB preferred for web distribution
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# Codra Code v0.2.3 — Auth, Slash Commands & Model Picker
2+
3+
Codra Code is Talocode's local-first coding agent CLI. v0.2.3 improves the terminal coding experience with Tera/Talocode auth foundation, hosted usage gating, slash commands, model picker, status/auth commands, and cleaner release validation.
4+
5+
## Install
6+
7+
### Linux/macOS
8+
9+
```bash
10+
npm install -g @talocode/codra-code@0.2.3
11+
codra-code --help
12+
codra-code auth status
13+
codra-code --mock /status
14+
```
15+
16+
### Windows PowerShell
17+
18+
```bash
19+
npm install -g @talocode/codra-code@0.2.3
20+
codra-code --help
21+
codra-code auth status
22+
codra-code --mock /status
23+
```
24+
25+
### Alternative npx usage
26+
27+
```bash
28+
npx @talocode/codra-code@0.2.3 --help
29+
npx @talocode/codra-code@0.2.3 auth status
30+
```
31+
32+
## What Changed
33+
34+
- **Tera/Talocode auth foundation** - Auth system foundation for Tera/Talocode accounts
35+
- **Hosted usage gating** - Hosted coding usage blocked until sign-in with `codra login`
36+
- **Local-first mode preserved** - Local/mock/Ollama usage remains available without auth
37+
- **Slash command picker** - Press `/` to open command picker
38+
- **Model picker** - `/model` provider and model selector
39+
- **Status command** - `/status` displays workspace/auth/model/mode information
40+
- **Auth commands** - `/auth`, `/login`, `/logout` for account management
41+
- **Improved terminal header** - Cleaner, more informative CLI header
42+
- **Safer session metadata** - Improved local session metadata handling
43+
- **Package-level validation** - Clean release validation pipeline
44+
45+
## Security & Safety
46+
47+
- No tokens printed to console
48+
- No raw secrets in logs
49+
- Local-first mode preserved without auth
50+
- No billing/payment integration in this release
51+
- No production Tera credit integration in this release
52+
53+
## Validation
54+
55+
- ✅ Typecheck passed
56+
- ✅ Tests 8/8 passed
57+
- ✅ Build passed
58+
- ✅ Local CLI smoke test passed
59+
- ✅ npm pack dry-run passed
60+
- ✅ npm published as `@talocode/codra-code@0.2.3`
61+
62+
## Known Limitations
63+
64+
- Real Tera production auth backend may require final integration
65+
- Some slash commands are placeholders for future features
66+
- Hosted billing/credits are not live yet
67+
- This release focuses on CLI/auth/interface foundation
68+
- Production auth/billing capabilities will ship in future releases
69+
70+
## Documentation
71+
72+
Full documentation available at [github.com/talocode/codra](https://github.com/talocode/codra)
73+
74+
## License
75+
76+
MIT - see LICENSE file for details

0 commit comments

Comments
 (0)