rockycode 0.1.0__py3-none-any.whl
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.
- rockycode/__init__.py +1 -0
- rockycode/banner.py +37 -0
- rockycode/cli.py +1386 -0
- rockycode/config.py +178 -0
- rockycode/dream/__init__.py +9 -0
- rockycode/dream/core.py +523 -0
- rockycode/dream/judge.py +134 -0
- rockycode/dream/mining.py +152 -0
- rockycode/dream/proposals.py +440 -0
- rockycode/engine/__init__.py +10 -0
- rockycode/engine/artifact.py +367 -0
- rockycode/engine/budget.py +90 -0
- rockycode/engine/checks.py +157 -0
- rockycode/engine/compaction.py +181 -0
- rockycode/engine/container.py +225 -0
- rockycode/engine/effort.py +46 -0
- rockycode/engine/events.py +101 -0
- rockycode/engine/explore.py +592 -0
- rockycode/engine/goal.py +541 -0
- rockycode/engine/goal_review.py +161 -0
- rockycode/engine/goal_session.py +259 -0
- rockycode/engine/headless.py +481 -0
- rockycode/engine/loop.py +711 -0
- rockycode/engine/lsp.py +473 -0
- rockycode/engine/mcp.py +364 -0
- rockycode/engine/modes.py +123 -0
- rockycode/engine/outcome.py +81 -0
- rockycode/engine/permission.py +198 -0
- rockycode/engine/planmode.py +249 -0
- rockycode/engine/providers.py +196 -0
- rockycode/engine/redact.py +83 -0
- rockycode/engine/safety.py +139 -0
- rockycode/engine/sandbox.py +219 -0
- rockycode/engine/server.py +431 -0
- rockycode/engine/skills.py +178 -0
- rockycode/engine/titler.py +46 -0
- rockycode/engine/tools.py +479 -0
- rockycode/engine/trajectory.py +131 -0
- rockycode/engine/web.py +431 -0
- rockycode/engine/worktree.py +128 -0
- rockycode/memory/__init__.py +7 -0
- rockycode/memory/index.py +260 -0
- rockycode/memory/store.py +331 -0
- rockycode/modes/learn/learn.md +46 -0
- rockycode/modes/research/deep-research.md +53 -0
- rockycode/modes/research/paper-reading.md +49 -0
- rockycode/modes/research/prove.md +60 -0
- rockycode/modes/research/whiteboard.md +64 -0
- rockycode/onboarding.py +332 -0
- rockycode/palette.py +15 -0
- rockycode/pricing.py +178 -0
- rockycode/prompts/__init__.py +0 -0
- rockycode/prompts/rocky.py +257 -0
- rockycode/routines.py +287 -0
- rockycode/runners/__init__.py +0 -0
- rockycode/runners/agent.py +273 -0
- rockycode/runners/data.py +61 -0
- rockycode/runners/raw.py +176 -0
- rockycode/score.py +114 -0
- rockycode/session.py +298 -0
- rockycode/skills/architecture-viz/SKILL.md +71 -0
- rockycode/skills/architecture-viz/template.html +87 -0
- rockycode/skills/lean-prover/SKILL.md +155 -0
- rockycode/skills/lean-prover/torchlean-api.md +85 -0
- rockycode/tui/__init__.py +1 -0
- rockycode/tui/app.py +2450 -0
- rockycode/tui/exitsheet.py +181 -0
- rockycode/tui/goal_screen.py +315 -0
- rockycode/tui/mdterm.py +232 -0
- rockycode/tui/mdview.py +99 -0
- rockycode/tui/modepicker.py +103 -0
- rockycode/tui/permission.py +154 -0
- rockycode/tui/plangate.py +110 -0
- rockycode/tui/prompt_history.py +77 -0
- rockycode/tui/proposalcard.py +126 -0
- rockycode/tui/resume.py +142 -0
- rockycode/tui/rocky_pet.py +96 -0
- rockycode/tui/routinecard.py +123 -0
- rockycode-0.1.0.dist-info/METADATA +488 -0
- rockycode-0.1.0.dist-info/RECORD +83 -0
- rockycode-0.1.0.dist-info/WHEEL +4 -0
- rockycode-0.1.0.dist-info/entry_points.txt +2 -0
- rockycode-0.1.0.dist-info/licenses/LICENSE +21 -0
rockycode/__init__.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.1.0"
|
rockycode/banner.py
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"""Rocky-themed terminal output. amaze amaze amaze!
|
|
2
|
+
|
|
3
|
+
All colors come from rockycode.palette — never ANSI named colors.
|
|
4
|
+
"""
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
|
|
7
|
+
from rich.console import Console
|
|
8
|
+
from rich.panel import Panel
|
|
9
|
+
from rich.text import Text
|
|
10
|
+
|
|
11
|
+
from rockycode.palette import AMBER, LAVENDER, MUTED, PURPLE, RED, VIOLET
|
|
12
|
+
|
|
13
|
+
ROCKY_TAGLINE = "i learn traditional physics. i no know e=mc^2 yet. but we fix bug. amaze!"
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
def show_banner(console: Console) -> None:
|
|
17
|
+
title = Text("ROCKYCODE", style=f"bold {VIOLET}")
|
|
18
|
+
subtitle = Text("a coding agent harness, benchmarked", style=MUTED)
|
|
19
|
+
quote = Text(ROCKY_TAGLINE, style=f"italic {LAVENDER}")
|
|
20
|
+
body = Text.assemble(title, "\n", subtitle, "\n\n", quote)
|
|
21
|
+
console.print(Panel(body, border_style=PURPLE, expand=False, padding=(1, 4)))
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
def amaze(console: Console, message: str = "amaze!") -> None:
|
|
25
|
+
console.print(f"[bold {VIOLET}]✦[/] [italic {VIOLET}]{message}[/]")
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
def confused(console: Console, message: str = "i no know! i learn!") -> None:
|
|
29
|
+
console.print(f"[bold {AMBER}]?[/] [italic {AMBER}]{message}[/]")
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def fail(console: Console, message: str = "we no good. we try again.") -> None:
|
|
33
|
+
console.print(f"[bold {RED}]✗[/] [italic {RED}]{message}[/]")
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
def info(console: Console, message: str) -> None:
|
|
37
|
+
console.print(f"[{MUTED}]·[/] {message}")
|