Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .agents/plugins/marketplace.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "servediff",
"name": "diffx",
"plugins": [
{
"name": "servediff",
"name": "diffx",
"source": {
"source": "local",
"path": "./packages/plugin-codex"
Expand Down
6 changes: 3 additions & 3 deletions .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "servediff",
"name": "diffx",
"owner": {
"name": "servediff"
"name": "diffx"
},
"plugins": [
{
"name": "servediff",
"name": "diffx",
"source": "./packages/plugin-claude",
"description": "Sync latest worktree diffs after agent completion."
}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
--version "${{ steps.version.outputs.number }}" \
--tag "${{ steps.version.outputs.tag }}" \
--checksums dist/checksums.txt \
--output homebrew-tap/Formula/servediff.rb
--output homebrew-tap/Formula/diffx.rb

- name: Validate Homebrew formula syntax
run: mise run release:homebrew:check
Expand Down
25 changes: 13 additions & 12 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
version: 2
project_name: diffx

release:
prerelease: false
Expand All @@ -10,30 +11,30 @@ before:
- mise run web:stage

builds:
- id: servediff
main: ./cmd/servediff
binary: servediff
- id: diffx
main: ./cmd/diffx
binary: diffx
env:
- CGO_ENABLED=0
ldflags:
- >-
-s -w
-X github.com/flexdinesh/servediff/internal/version.Version={{.Version}}
-X github.com/flexdinesh/servediff/internal/version.Commit={{.Commit}}
-X github.com/flexdinesh/servediff/internal/version.Date={{.Date}}
-X github.com/flexdinesh/diffx/internal/version.Version={{.Version}}
-X github.com/flexdinesh/diffx/internal/version.Commit={{.Commit}}
-X github.com/flexdinesh/diffx/internal/version.Date={{.Date}}
goos: [linux, darwin, windows]
goarch: [amd64, arm64]
- id: servediff-server
main: ./cmd/servediff-server
binary: servediff-server
- id: diffx-server
main: ./cmd/diffx-server
binary: diffx-server
env:
- CGO_ENABLED=0
ldflags:
- >-
-s -w
-X github.com/flexdinesh/servediff/internal/version.Version={{.Version}}
-X github.com/flexdinesh/servediff/internal/version.Commit={{.Commit}}
-X github.com/flexdinesh/servediff/internal/version.Date={{.Date}}
-X github.com/flexdinesh/diffx/internal/version.Version={{.Version}}
-X github.com/flexdinesh/diffx/internal/version.Commit={{.Commit}}
-X github.com/flexdinesh/diffx/internal/version.Date={{.Date}}
goos: [linux, darwin, windows]
goarch: [amd64, arm64]

Expand Down
2 changes: 1 addition & 1 deletion .impeccable/design.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"schemaVersion": 2,
"generatedAt": "2026-10-04T00:47:42.231Z",
"title": "Design system: servediff",
"title": "Design system: diffx",
"extensions": {
"colorMeta": {
"diff-canvas": {
Expand Down
20 changes: 10 additions & 10 deletions .mise/tasks/release/homebrew/pr
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,21 @@ set -euo pipefail

version="${RELEASE_VERSION:?RELEASE_VERSION is required}"
tag="${RELEASE_TAG:?RELEASE_TAG is required}"
branch="servediff-v${version}"
branch="diffx-v${version}"
tap_repo="flexdinesh/homebrew-tap"

cd homebrew-tap
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git checkout -B "$branch"

if [[ -z "$(git status --porcelain -- Formula/servediff.rb)" ]]; then
echo "Homebrew formula is already current for servediff v${version}."
if [[ -z "$(git status --porcelain -- Formula/diffx.rb)" ]]; then
echo "Homebrew formula is already current for diffx v${version}."
exit 0
fi

git add Formula/servediff.rb
git commit -m "Update servediff to v${version}"
git add Formula/diffx.rb
git commit -m "Update diffx to v${version}"
git push --force-with-lease origin "HEAD:${branch}"

pr_number="$(gh pr list \
Expand All @@ -31,23 +31,23 @@ pr_number="$(gh pr list \

pr_body="$(mktemp)"
cat > "$pr_body" <<EOF
Updates the servediff formula to v${version}.
Updates the diffx formula to v${version}.

Source release: https://github.com/flexdinesh/servediff/releases/tag/${tag}
Source release: https://github.com/flexdinesh/diffx/releases/tag/${tag}

Generated by the servediff release workflow.
Generated by the diffx release workflow.
EOF

if [[ -n "$pr_number" ]]; then
gh pr edit "$pr_number" \
--repo "$tap_repo" \
--title "Update servediff to v${version}" \
--title "Update diffx to v${version}" \
--body-file "$pr_body"
else
gh pr create \
--repo "$tap_repo" \
--head "$branch" \
--base main \
--title "Update servediff to v${version}" \
--title "Update diffx to v${version}" \
--body-file "$pr_body"
fi
2 changes: 1 addition & 1 deletion .release-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1
0.2
6 changes: 3 additions & 3 deletions DESIGN.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: servediff
name: diffx
description: Focused, compact, calm code review workspace
colors:
diff-canvas: "#ffffff"
Expand All @@ -12,7 +12,7 @@ colors:

## Design direction

servediff is a focused review workspace around [Pierre diffs](https://diffs.com).
diffx is a focused review workspace around [Pierre diffs](https://diffs.com).
The code is the primary content. Navigation, display controls, comments, and
review progress help people read and act on it.

Expand Down Expand Up @@ -118,7 +118,7 @@ measured elements or replace the application tokens with framework defaults.
file-kind hints. They are a bounded categorical palette, not extra UI accents.
- Status always includes text, a sign, an icon, or a shape. Preserve staging's
empty/half/full dot distinction; its half-fill is information, not decoration.
- CPU and RAM in the status bar describe the ServeDiff server process, not
- CPU and RAM in the status bar describe the Diffx server process, not
the browser or whole machine. Keep that scope explicit in the tooltip.
- Pierre owns syntax colors, changed-line fills, word highlights, line selection,
and code-theme surfaces. App status tokens govern the surrounding UI only.
Expand Down
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ COPY internal ./internal
COPY packages/api ./packages/api
ARG TARGETOS=linux
ARG TARGETARCH
RUN CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -trimpath -o /servediff-server ./cmd/servediff-server
RUN CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -trimpath -o /diffx-server ./cmd/diffx-server
RUN mkdir /data && chown 10001:10001 /data

FROM scratch
COPY --from=build /servediff-server /servediff-server
COPY --from=build /diffx-server /diffx-server
COPY --from=build --chown=10001:10001 /data /data
USER 10001:10001
ENV SERVEDIFF_CONFIG_PATH=/data/config.json
ENV DIFFX_CONFIG_PATH=/data/config.json
ENV HOME=/data
VOLUME ["/data"]
EXPOSE 7981
STOPSIGNAL SIGTERM
ENTRYPOINT ["/servediff-server"]
ENTRYPOINT ["/diffx-server"]
CMD ["--listen", "0.0.0.0:7981", "--state", "/data/state.db"]
Loading
Loading