Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
771c6f5245 | ||
|
|
5fc405d86a | ||
|
|
c82ab5028b |
No files matched your search
@@ -3,6 +3,12 @@
|
||||
All notable changes to CodeCraft. Versions follow [Semantic Versioning](https://semver.org/);
|
||||
until 1.0, minor versions may contain breaking changes.
|
||||
|
||||
## [v202611-00059] – 2026-11-17
|
||||
|
||||
### Changed
|
||||
|
||||
- **Collapsible chat list** on wide screens: the menu button in the title bar folds the chat list away (remembered), so chat menus are no longer hidden behind it on small monitors.
|
||||
|
||||
## [v202611-00058] – 2026-11-17
|
||||
|
||||
### Changed
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<img alt="Version v202611-00058" src="https://img.shields.io/badge/version-v202611--00058-d69e2e?style=flat-square">
|
||||
<img alt="Version v202611-00059" src="https://img.shields.io/badge/version-v202611--00059-d69e2e?style=flat-square">
|
||||
<img alt="License: MIT" src="https://img.shields.io/badge/license-MIT-689d6a?style=flat-square">
|
||||
<img alt="Rust backend" src="https://img.shields.io/badge/backend-Rust-b7410e?style=flat-square&logo=rust">
|
||||
<img alt="React PWA" src="https://img.shields.io/badge/frontend-React%20PWA-2d81ff?style=flat-square&logo=react">
|
||||
@@ -37,7 +37,7 @@
|
||||
<br>
|
||||
|
||||
<p align="center">
|
||||
<img src="docs/images/chat.png" alt="A CodeCraft session in the Gruvbox dark theme: a diff of the fix, the task list, and a permission card asking before the test suite runs; the sidebar shows pinned chats, a folder and the archive" width="100%">
|
||||
<img src="docs/images/chat.png" alt="A CodeCraft session in the Gruvbox dark theme: the agent's task list and a permission card with the diff of a one-line fix; the sidebar shows a pinned chat, a folder and today's chats, and the chip in the top bar shows an active skill" width="100%">
|
||||
<br>
|
||||
<sub>A session: the agent works through its task list, shows diffs, and asks before anything outside the rules.</sub>
|
||||
</p>
|
||||
@@ -130,7 +130,7 @@ opens the command palette, and prompt templates with placeholders save typing.
|
||||
<table>
|
||||
<tr>
|
||||
<td width="40%" valign="top">
|
||||
<img src="docs/images/mobile.png" alt="CodeCraft on a phone in a light theme: the agent asks where coupon codes should be stored and offers three options plus free text" width="100%"><br>
|
||||
<img src="docs/images/mobile.png" alt="CodeCraft on a phone in a dark theme: the task list and a permission card with the diff, with Allow once, Always allow and Reject buttons" width="100%"><br>
|
||||
<sub><b>Mobile:</b> answer questions and approve changes from your phone. Share links and text from other apps into a chat.</sub>
|
||||
</td>
|
||||
<td width="60%" valign="top">
|
||||
@@ -154,6 +154,19 @@ slash commands in `.claude/commands` and skills in `.claude/skills` are picked u
|
||||
The agent keeps notes about a project in `.codecraft/memory.md`; your personal memory applies to
|
||||
every project.
|
||||
|
||||
<p align="center">
|
||||
<img src="docs/images/skills.png" alt="Settings, Skills tab: the user's own skills with description and file count, buttons for a new skill and the import from GitHub" width="100%">
|
||||
</p>
|
||||
|
||||
**Skills** are packaged instructions for a kind of task: a folder with a `SKILL.md` (name, description,
|
||||
instructions) and further files. Create them in *Settings → Skills* with a small editor, or import them
|
||||
from a GitHub repository or folder (every folder with a `SKILL.md` is offered; filter and select several).
|
||||
They are stored per user and work next to the skills of your projects and the built-in ones. To keep the
|
||||
context small, you switch skills on **per chat** (menu ⋯ → *Skills for this chat*): only those are part of
|
||||
every turn. All others cost nothing – up to 12 are listed by name, a larger library is not listed at all and
|
||||
the agent finds a skill by keyword and loads it, with its further files, when it needs it. In the
|
||||
[code factory](#code-factory) each phase can have its own skills.
|
||||
|
||||
## Models
|
||||
|
||||
Every provider is an endpoint with a list of models. Each model can have a context size,
|
||||
@@ -204,7 +217,7 @@ platforms: `cargo install --locked --git https://git.familie-zink.org/zink/codec
|
||||
## Automations
|
||||
|
||||
<p align="center">
|
||||
<img src="docs/images/automations.png" alt="Creating an automation from a template: schedule chips, cron expression, mode, permission mode, model and the task for the agent" width="100%">
|
||||
<img src="docs/images/automations.png" alt="The automation editor: schedule chips with the next runs, mode, approval mode, model, time limit and the instructions file next to an assistant chat" width="100%">
|
||||
</p>
|
||||
|
||||
An automation is an agent that starts on a schedule. Its instructions are a Markdown file
|
||||
@@ -226,6 +239,12 @@ The factory turns issues on your Git forge (Gitea, GitHub or GitLab) into review
|
||||
merged changes – with agents doing the work and you deciding at the points that matter. It is
|
||||
the **Factory** page in the sidebar; all chats it creates live in the sidebar folder *Factory*.
|
||||
|
||||
<p align="center">
|
||||
<img src="docs/images/factory.png" alt="The factory board: columns for review, questions, approved, build, acceptance, failed and done with issue cards, the repository tile with its version, and buttons to plan a feature, cut a milestone and start a release" width="100%">
|
||||
<br>
|
||||
<sub>The factory page: every issue sits in the column of its phase; the repository shows its current version.</sub>
|
||||
</p>
|
||||
|
||||
```
|
||||
issue + label "factory"
|
||||
│
|
||||
@@ -291,8 +310,8 @@ the files attached (Gitea and GitHub).
|
||||
|
||||
**Settings per repository** (*Factory → Repositories*, *New repository*): forge connection and token, label
|
||||
(default `factory`), parallel runs, allowed issue authors (default: the token's owner), and per
|
||||
phase the model, agent (CodeCraft or Claude Code), permission mode, timeout and tries on
|
||||
technical failures, plus the number of rework rounds (default 2). Failed or rejected issues
|
||||
phase the model, agent (CodeCraft or Claude Code), permission mode, timeout, tries on
|
||||
technical failures, the skills that are switched on for it, plus the number of rework rounds (default 2). Failed or rejected issues
|
||||
can be restarted from the board, finished ones are closed with a comment.
|
||||
|
||||
**Files in the repository** (all optional, kept in `.factory/`):
|
||||
|
||||
|
Before Width: | Height: | Size: 118 KiB After Width: | Height: | Size: 167 KiB |
|
Before Width: | Height: | Size: 144 KiB After Width: | Height: | Size: 156 KiB |
|
After Width: | Height: | Size: 136 KiB |
|
Before Width: | Height: | Size: 172 KiB After Width: | Height: | Size: 176 KiB |
|
Before Width: | Height: | Size: 102 KiB After Width: | Height: | Size: 123 KiB |
|
After Width: | Height: | Size: 134 KiB |
|
Before Width: | Height: | Size: 177 KiB After Width: | Height: | Size: 203 KiB |
@@ -36,6 +36,23 @@ export function App() {
|
||||
const [info, setInfo] = useState<Info>();
|
||||
const [error, setError] = useState<string>();
|
||||
const [menuOpen, setMenuOpen] = useState(false);
|
||||
// Wide screens: the chat list can be folded away (remembered); narrow screens use the slide-in drawer.
|
||||
const [folded, setFolded] = useState(() => {
|
||||
try {
|
||||
return localStorage.getItem("codecraft.sidebarFolded") === "1";
|
||||
} catch {
|
||||
return false;
|
||||
}
|
||||
});
|
||||
const openMenu = () => {
|
||||
if (window.matchMedia("(max-width: 800px)").matches) return setMenuOpen(true);
|
||||
setFolded((f) => {
|
||||
try {
|
||||
localStorage.setItem("codecraft.sidebarFolded", f ? "0" : "1");
|
||||
} catch {}
|
||||
return !f;
|
||||
});
|
||||
};
|
||||
const [shared, setShared] = useState(pendingShare);
|
||||
const offline = useStore((s) => s.offline);
|
||||
useTitleActivity();
|
||||
@@ -98,40 +115,40 @@ export function App() {
|
||||
const [section, arg] = route;
|
||||
let content;
|
||||
const chatIds = section === "s" && arg ? arg.split("+").filter(Boolean).slice(0, MAX_PANES) : [];
|
||||
if (chatIds.length === 1) content = <ChatView key={chatIds[0]} sessionId={chatIds[0]} onMenu={() => setMenuOpen(true)} />;
|
||||
if (chatIds.length === 1) content = <ChatView key={chatIds[0]} sessionId={chatIds[0]} onMenu={openMenu} />;
|
||||
else if (chatIds.length > 1)
|
||||
content = (
|
||||
<div className="split-view">
|
||||
{chatIds.map((id) => (
|
||||
<div key={id} className="split-pane">
|
||||
<ChatView sessionId={id} onMenu={() => setMenuOpen(true)} onClosePane={() => closePane(id)} />
|
||||
<ChatView sessionId={id} onMenu={openMenu} onClosePane={() => closePane(id)} />
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
);
|
||||
else if (section === "settings") content = <Settings tab={arg} onMenu={() => setMenuOpen(true)} />;
|
||||
else if (section === "p" && arg) content = <ProjectPage key={arg} cwd={decodeURIComponent(arg)} onMenu={() => setMenuOpen(true)} />;
|
||||
else if (section === "factory") content = <Factory onMenu={() => setMenuOpen(true)} />;
|
||||
else if (section === "stats") content = <Stats onMenu={() => setMenuOpen(true)} />;
|
||||
else if (section === "images") content = <Images onMenu={() => setMenuOpen(true)} />;
|
||||
else if (section === "jobs" && arg) content = <JobEditor key={arg} id={arg} onMenu={() => setMenuOpen(true)} />;
|
||||
else if (section === "jobs") content = <Jobs onMenu={() => setMenuOpen(true)} />;
|
||||
else if (section === "settings") content = <Settings tab={arg} onMenu={openMenu} />;
|
||||
else if (section === "p" && arg) content = <ProjectPage key={arg} cwd={decodeURIComponent(arg)} onMenu={openMenu} />;
|
||||
else if (section === "factory") content = <Factory onMenu={openMenu} />;
|
||||
else if (section === "stats") content = <Stats onMenu={openMenu} />;
|
||||
else if (section === "images") content = <Images onMenu={openMenu} />;
|
||||
else if (section === "jobs" && arg) content = <JobEditor key={arg} id={arg} onMenu={openMenu} />;
|
||||
else if (section === "jobs") content = <Jobs onMenu={openMenu} />;
|
||||
else if (section === "terminal")
|
||||
content = (
|
||||
<Suspense fallback={<div className="empty"><Spinner /></div>}>
|
||||
<TerminalPage id={arg} onMenu={() => setMenuOpen(true)} />
|
||||
<TerminalPage id={arg} onMenu={openMenu} />
|
||||
</Suspense>
|
||||
);
|
||||
else if (section === "files")
|
||||
content = (
|
||||
<Suspense fallback={<div className="empty"><Spinner /></div>}>
|
||||
<Files onMenu={() => setMenuOpen(true)} />
|
||||
<Files onMenu={openMenu} />
|
||||
</Suspense>
|
||||
);
|
||||
else content = <NewSession onMenu={() => setMenuOpen(true)} onCreated={(id) => navigate(`/s/${id}`)} />;
|
||||
else content = <NewSession onMenu={openMenu} onCreated={(id) => navigate(`/s/${id}`)} />;
|
||||
|
||||
return (
|
||||
<div className="app">
|
||||
<div className={`app ${folded ? "side-folded" : ""}`}>
|
||||
{menuOpen && <div className="backdrop" onClick={() => setMenuOpen(false)} />}
|
||||
<Sidebar open={menuOpen} activeIds={chatIds} section={section ?? ""} />
|
||||
<main className="main">
|
||||
|
||||
@@ -477,8 +477,10 @@ button.session-group:hover {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.menu-btn {
|
||||
display: none;
|
||||
@media (min-width: 801px) {
|
||||
.app.side-folded .sidebar {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.chip {
|
||||
|
||||
@@ -3,6 +3,10 @@
|
||||
* under "unreleased"; scripts/release.sh renames the key to the release version.
|
||||
*/
|
||||
export const WHATS_NEW: Record<string, { en: string[]; de: string[] }> = {
|
||||
"202611-00059": {
|
||||
en: ["The chat list can be folded away on wide screens (menu button in the title bar)"],
|
||||
de: ["Die Chatliste lässt sich auf breiten Bildschirmen zuklappen (Menü-Button in der Titelleiste)"],
|
||||
},
|
||||
"202611-00058": {
|
||||
en: ["README and screenshots updated"],
|
||||
de: ["README und Screenshots aktualisiert"],
|
||||
|
||||