Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6eb29ca19d | ||
|
|
707c9fc4cd |
No files matched your search
@@ -3,6 +3,12 @@
|
|||||||
All notable changes to CodeCraft. Versions follow [Semantic Versioning](https://semver.org/);
|
All notable changes to CodeCraft. Versions follow [Semantic Versioning](https://semver.org/);
|
||||||
until 1.0, minor versions may contain breaking changes.
|
until 1.0, minor versions may contain breaking changes.
|
||||||
|
|
||||||
|
## [v202611-00065] – 2026-11-19
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- **Terminal client for Linux riscv64** – built with every release alongside x86_64 and aarch64; `install.sh` and `codecraft update` pick it up (`/cli/download/linux-riscv64`).
|
||||||
|
|
||||||
## [v202611-00064] – 2026-11-19
|
## [v202611-00064] – 2026-11-19
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|||||||
+5
-3
@@ -52,7 +52,7 @@ RUN touch core/src/lib.rs server/src/main.rs \
|
|||||||
&& cargo zigbuild --release -p codecraft --target "$(cat /target).2.36" \
|
&& cargo zigbuild --release -p codecraft --target "$(cat /target).2.36" \
|
||||||
&& cp "target/$(cat /target)/release/codecraft" /codecraft
|
&& cp "target/$(cat /target)/release/codecraft" /codecraft
|
||||||
|
|
||||||
# --- terminal client (static Linux binaries for x86_64 and aarch64) -----------
|
# --- terminal client (static Linux binaries for x86_64, aarch64 and riscv64) -----------
|
||||||
# Served by the server for download (/cli/install.sh, codecraft update).
|
# Served by the server for download (/cli/install.sh, codecraft update).
|
||||||
FROM toolchain AS cli
|
FROM toolchain AS cli
|
||||||
COPY Cargo.toml Cargo.lock ./
|
COPY Cargo.toml Cargo.lock ./
|
||||||
@@ -62,10 +62,12 @@ COPY server/resources ./server/resources
|
|||||||
COPY cli ./cli
|
COPY cli ./cli
|
||||||
ARG CODECRAFT_VERSION=""
|
ARG CODECRAFT_VERSION=""
|
||||||
ENV CODECRAFT_VERSION=${CODECRAFT_VERSION}
|
ENV CODECRAFT_VERSION=${CODECRAFT_VERSION}
|
||||||
|
RUN rustup target add riscv64gc-unknown-linux-musl
|
||||||
RUN mkdir -p server/src && echo 'fn main(){}' > server/src/main.rs \
|
RUN mkdir -p server/src && echo 'fn main(){}' > server/src/main.rs \
|
||||||
&& cargo zigbuild --release -p codecraft-cli --target x86_64-unknown-linux-musl --target aarch64-unknown-linux-musl \
|
&& cargo zigbuild --release -p codecraft-cli --target x86_64-unknown-linux-musl --target aarch64-unknown-linux-musl --target riscv64gc-unknown-linux-musl \
|
||||||
&& mkdir -p /out && cp target/x86_64-unknown-linux-musl/release/codecraft /out/codecraft-linux-x86_64 \
|
&& mkdir -p /out && cp target/x86_64-unknown-linux-musl/release/codecraft /out/codecraft-linux-x86_64 \
|
||||||
&& cp target/aarch64-unknown-linux-musl/release/codecraft /out/codecraft-linux-aarch64
|
&& cp target/aarch64-unknown-linux-musl/release/codecraft /out/codecraft-linux-aarch64 \
|
||||||
|
&& cp target/riscv64gc-unknown-linux-musl/release/codecraft /out/codecraft-linux-riscv64
|
||||||
|
|
||||||
# --- Docker CLI (static client; the daemon is the host's via the mounted socket) --
|
# --- Docker CLI (static client; the daemon is the host's via the mounted socket) --
|
||||||
FROM toolchain AS dockercli
|
FROM toolchain AS dockercli
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<img alt="Version v202611-00064" src="https://img.shields.io/badge/version-v202611--00064-d69e2e?style=flat-square">
|
<img alt="Version v202611-00065" src="https://img.shields.io/badge/version-v202611--00065-d69e2e?style=flat-square">
|
||||||
<img alt="License: MIT" src="https://img.shields.io/badge/license-MIT-689d6a?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="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">
|
<img alt="React PWA" src="https://img.shields.io/badge/frontend-React%20PWA-2d81ff?style=flat-square&logo=react">
|
||||||
@@ -205,12 +205,12 @@ Anthropic, OpenAI, Gemini, OpenRouter, opencode or a local model server (Ollama,
|
|||||||
llama.cpp, vLLM – detected automatically); both can be mixed.
|
llama.cpp, vLLM – detected automatically); both can be mixed.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
curl -fsSL https://<your-codecraft-server>/cli/install.sh | sh # Linux x86_64 / aarch64
|
curl -fsSL https://<your-codecraft-server>/cli/install.sh | sh # Linux x86_64 / aarch64 / riscv64
|
||||||
codecraft login # server URL, user name, password → creates an API token
|
codecraft login # server URL, user name, password → creates an API token
|
||||||
codecraft # start in the current folder; /help lists the commands
|
codecraft # start in the current folder; /help lists the commands
|
||||||
```
|
```
|
||||||
|
|
||||||
The Docker image ships static binaries for Linux x86_64 and aarch64; the server offers them
|
The Docker image ships static binaries for Linux x86_64, aarch64 and riscv64; the server offers them
|
||||||
for download (*Settings → Account*) and `codecraft update` fetches new versions from it. Other
|
for download (*Settings → Account*) and `codecraft update` fetches new versions from it. Other
|
||||||
platforms: `cargo install --locked --git https://git.familie-zink.org/zink/codecraft codecraft-cli`.
|
platforms: `cargo install --locked --git https://git.familie-zink.org/zink/codecraft codecraft-cli`.
|
||||||
|
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ arch=$(uname -m)
|
|||||||
case "$arch" in
|
case "$arch" in
|
||||||
x86_64|amd64) arch=x86_64 ;;
|
x86_64|amd64) arch=x86_64 ;;
|
||||||
aarch64|arm64) arch=aarch64 ;;
|
aarch64|arm64) arch=aarch64 ;;
|
||||||
|
riscv64) arch=riscv64 ;;
|
||||||
*) echo "codecraft: unsupported architecture $arch" >&2; exit 1 ;;
|
*) echo "codecraft: unsupported architecture $arch" >&2; exit 1 ;;
|
||||||
esac
|
esac
|
||||||
case "$os" in
|
case "$os" in
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ export function CliInstall() {
|
|||||||
</ol>
|
</ol>
|
||||||
{prebuilt && (
|
{prebuilt && (
|
||||||
<div className="hint">
|
<div className="hint">
|
||||||
{t("cli.downloads")} <a href="/cli/download/linux-x86_64">Linux x86_64</a> · <a href="/cli/download/linux-aarch64">Linux arm64</a>
|
{t("cli.downloads")} <a href="/cli/download/linux-x86_64">Linux x86_64</a> · <a href="/cli/download/linux-aarch64">Linux arm64</a> · <a href="/cli/download/linux-riscv64">Linux riscv64</a>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -3,6 +3,10 @@
|
|||||||
* under "unreleased"; scripts/release.sh renames the key to the release version.
|
* under "unreleased"; scripts/release.sh renames the key to the release version.
|
||||||
*/
|
*/
|
||||||
export const WHATS_NEW: Record<string, { en: string[]; de: string[] }> = {
|
export const WHATS_NEW: Record<string, { en: string[]; de: string[] }> = {
|
||||||
|
"202611-00065": {
|
||||||
|
en: ["Terminal client now also for Linux riscv64"],
|
||||||
|
de: ["Terminal-Client jetzt auch für Linux riscv64"],
|
||||||
|
},
|
||||||
"202611-00064": {
|
"202611-00064": {
|
||||||
en: ["Factory: Telegram message when an issue gets a question or fails (can be switched off)", "Telegram: night mode (22:00–06:00, adjustable) without unsolicited messages"],
|
en: ["Factory: Telegram message when an issue gets a question or fails (can be switched off)", "Telegram: night mode (22:00–06:00, adjustable) without unsolicited messages"],
|
||||||
de: ["Factory: Telegram-Nachricht, wenn ein Issue eine Frage hat oder fehlschlägt (abschaltbar)", "Telegram: Nachtmodus (22:00–06:00, einstellbar) ohne ungefragte Nachrichten"],
|
de: ["Factory: Telegram-Nachricht, wenn ein Issue eine Frage hat oder fehlschlägt (abschaltbar)", "Telegram: Nachtmodus (22:00–06:00, einstellbar) ohne ungefragte Nachrichten"],
|
||||||
|
|||||||
Reference in new issue
Block a user