Commit graph

1683 commits

Author SHA1 Message Date
open-design-bot
abe9e2c12e chore(contributors): +12pts for @leno23 (PR #3050) 2026-05-27 07:01:56 +00:00
吴杨帆
2a56f1bca9
fix(daemon): map Claude Not logged in output to /login guidance (#1928) (#3050)
Treat Claude Code stdout like "Not logged in · Please run /login." as an
auth failure in diagnoseClaudeCliFailure so connection tests and chat
runs surface actionable login guidance instead of raw CLI text.
2026-05-27 06:34:09 +00:00
open-design-bot
e635fe9b21 chore(events): append pr_merged 2026-05-27 06:55:07 +00:00
open-design-bot
3bdfb4a0af chore(contributors): +12pts for @leno23 (PR #3047) 2026-05-27 06:55:06 +00:00
吴杨帆
6155ad8cbe
fix(web): surface Claude Design zip import failures (#1862) (#3047)
Show a toast when the daemon rejects a ZIP import instead of silently
closing the file picker with no feedback.
2026-05-27 06:24:38 +00:00
open-design-bot
52f6ca0cf5 chore(card): generated card 2026-05-27 06:47:41 +00:00
open-design-bot
8b02aca586 chore(events): append pr_merged 2026-05-27 06:47:39 +00:00
open-design-bot
5b0fb158ad chore(contributors): +12pts for @leno23 (PR #3046) 2026-05-27 06:47:38 +00:00
吴杨帆
916438d919
fix(daemon): hide agent executable paths from chat status (#2874) (#3046)
Stop emitting resolved filesystem paths in chat start events and
inactivity-timeout diagnostics; surface agent ids instead.
Complements web-side redaction in #2894.
2026-05-27 06:22:56 +00:00
open-design-bot
de36ec1a37 chore(events): append pr_merged 2026-05-27 06:41:43 +00:00
open-design-bot
99ea7735b9 chore(contributors): +12pts for @leno23 (PR #3045) 2026-05-27 06:41:42 +00:00
吴杨帆
26ef90ffd9
fix(web): clear prompt when removing Home example chip (#2989) (#3045)
Removing the selected example prompt chip now also clears the composer
input so chip state stays in sync with the inserted example text.
2026-05-27 06:21:35 +00:00
open-design-bot
a72d66d243 chore(events): append pr_merged 2026-05-27 06:35:18 +00:00
open-design-bot
6f6e437489 chore(contributors): +12pts for @leno23 (PR #3042) 2026-05-27 06:35:17 +00:00
吴杨帆
4808cdab3c
fix(web): render srcdoc artifacts directly after leaving URL-load (#3042)
Lazy srcdoc transport was still active after URL-load preview switched off,
leaving the visible iframe on an empty activation shell until Edit forced a
full srcdoc reload. Mount real artifact HTML whenever srcdoc is the active
transport and remount when leaving URL-load.

Fixes #2791
2026-05-27 06:21:01 +00:00
open-design-bot
3d6e06ad21 chore(events): append pr_merged 2026-05-27 06:31:03 +00:00
open-design-bot
2c652816a5 chore(contributors): +12pts for @lefarcen (PR #3084) 2026-05-27 06:31:02 +00:00
lefarcen
114be63a4e
ci: route agent sandbox installs through the China npm mirror (#3084)
After fixing source acquisition (#3078), the #3060 validation run reached
the container and got through most of `pnpm install`, then failed building
the better-sqlite3 native module: prebuild-install could not reach github
releases and the node-gyp fallback could not fetch node headers from
nodejs.org (ECONNRESET). The electron postinstall hits the same blocked
hosts, and package tarballs from npmjs were throttled to ~20 KB/s.

The runner's network to npmjs / nodejs.org / github releases is throttled
or reset by GFW; the China npm mirror (npmmirror.com) is fast and complete
(verified from the runner: registry ~2.4 MB/s, node headers ~3.6 MB/s,
better-sqlite3 prebuilt present). Point the in-container install at it via
registry + disturl (node-gyp headers) + electron / electron-builder /
better-sqlite3 binary mirrors + Playwright download host.

Package integrity is still verified against the lockfile, so the mirror
only changes transport. Once a native module builds, pnpm's side-effects
cache in the persistent store keeps it warm for later runs.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 14:30:59 +08:00
open-design-bot
8ebf971ca4 chore(events): append pr_merged 2026-05-27 06:24:58 +00:00
open-design-bot
1d267861fd chore(contributors): +12pts for @leno23 (PR #3041) 2026-05-27 06:24:57 +00:00
吴杨帆
582a03195f
fix(web): clarify finalize BYOK requirements for Local CLI users (#3041)
Local CLI chat does not supply BYOK credentials to finalize synthesis.
Resolve per-protocol saved settings before calling the daemon and show an
actionable toast instead of a generic BAD_REQUEST when credentials are
missing.

Fixes #2959
2026-05-27 06:20:33 +00:00
open-design-bot
f44a5d5816 chore(events): append pr_merged 2026-05-27 05:56:23 +00:00
open-design-bot
19a30b6c8a chore(contributors): +12pts for @lefarcen (PR #3080) 2026-05-27 05:56:21 +00:00
lefarcen
1ac3da130f
ci: add skip_comment dry-run input to agent PR exploration (#3080)
Add a `skip_comment` workflow_dispatch input (default false). When set,
the "Comment exploration report" step is skipped, so a validation/dry
run can exercise the full pipeline and produce the report artifact
without posting a public comment on the target PR (useful when testing
against an external contributor's PR). The report is still uploaded as
an artifact for review.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 05:51:48 +00:00
open-design-bot
b0a76c23a1 chore(events): append pr_merged 2026-05-27 05:46:07 +00:00
open-design-bot
51c30057bd chore(contributors): +12pts for @lefarcen (PR #3078) 2026-05-27 05:46:07 +00:00
lefarcen
12141648e4
ci: fetch agent sandbox PR source on the host over SSH via a local mirror (#3078)
The sandbox checked out PR code with `git fetch https://github.com/...`
*inside* the container. The self-hosted runner's bandwidth to github.com
is throttled across every transport (HTTPS/SSH/codeload/API, all
~30-90 KB/s) and the HTTPS handshake is frequently RST'd, so a
from-scratch fetch of this ~200MB repo is impractical and unreliable per
run (run 26491460889 failed here with repeated GnuTLS resets).

Move source acquisition to the trusted host and make it incremental:

- Keep a persistent bare mirror of the base repo
  ($HOME/.cache/agent-pr-explore/open-design.git, overridable via
  OD_SANDBOX_REPO_MIRROR). Each run fetches only the PR's delta via
  `refs/pull/<n>/head` over SSH -- the one transport GFW doesn't reset --
  using a read-only deploy key (OD_SANDBOX_GIT_SSH_KEY).
- Take the head from the BASE repo's pull ref so fork PRs work without
  depending on the head fork, and verify it equals the resolved HEAD_SHA.
- Check the PR head into a per-run worktree and mount it read-only into
  the container; the container copies it into a writable workdir and no
  longer needs (or has) any github access.

The deploy key stays on the trusted host and is never exposed to the
untrusted PR code. The mirror must be seeded once on the runner (the
error message prints the exact clone command if it is missing).

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 05:36:13 +00:00
open-design-bot
e2414dd291 chore(card): generated card 2026-05-27 05:40:52 +00:00
open-design-bot
0612849d67 chore(events): append issue_opened_accepted 2026-05-27 05:40:50 +00:00
open-design-bot
db4ac1841d chore(contributors): +5pts for @RoverKai (issue #3079) 2026-05-27 05:40:49 +00:00
open-design-bot
6bbca6c373 chore(events): append pr_merged 2026-05-27 05:33:16 +00:00
open-design-bot
7194a5e2f4 chore(contributors): +12pts for @alchemistklk (PR #3073) 2026-05-27 05:33:15 +00:00
open-design-bot
bb691d3c0b chore(events): append pr_merged 2026-05-27 05:20:43 +00:00
open-design-bot
3030e6aae0 chore(contributors): +12pts for @leno23 (PR #3036) 2026-05-27 05:20:42 +00:00
吴杨帆
3cac559ccd
fix(design-systems): align mission-control success and danger tokens (#3036)
Use DESIGN.md telemetry palette values in tokens.css and the
components.html fixture. Document the --success/--danger mapping in
DESIGN.md so spec readers and CSS consumers stay aligned.
2026-05-27 04:45:10 +00:00
open-design-bot
5e1dce0917 chore(events): append pr_merged 2026-05-27 05:16:04 +00:00
open-design-bot
fe93c7fc25 chore(contributors): +12pts for @leno23 (PR #3035) 2026-05-27 05:16:03 +00:00
吴杨帆
17c78f64a3
fix(web): focus newly created automations after save (#3035)
Expand and briefly highlight the saved routine row so users can
review it immediately. Extract newest-first sort helper and add
regression tests for list ordering and post-create focus.
2026-05-27 04:44:38 +00:00
open-design-bot
8264a7c4b1 chore(events): append pr_merged 2026-05-27 05:09:11 +00:00
open-design-bot
68f5737e6e chore(contributors): +12pts for @alchemistklk (PR #3076) 2026-05-27 05:09:10 +00:00
open-design-bot
c8222c84db chore(events): append pr_merged 2026-05-27 05:03:38 +00:00
open-design-bot
8541a6aa0a chore(contributors): +12pts for @leno23 (PR #3033) 2026-05-27 05:03:36 +00:00
吴杨帆
7ed3b9b0de
fix(web): align manual edit canvas on device viewports (#2960) (#3033)
Use the same relative positioning as comment preview clips so edit
mode clicks hit the scaled iframe instead of a full-bleed absolute layer.
2026-05-27 04:41:54 +00:00
open-design-bot
8a2745d2c7 chore(card): generated card 2026-05-27 04:56:29 +00:00
open-design-bot
88e6b6c3bb chore(events): append pr_merged 2026-05-27 04:56:27 +00:00
open-design-bot
d9e11733bf chore(contributors): +30pts for @alanmatiasdev (PR #3032) 2026-05-27 04:56:26 +00:00
Alan Matias
f176b2ce5e
refactor(issue-template): separate logs and screenshots fields in bug report (#3032) 2026-05-27 04:41:28 +00:00
open-design-bot
1971823c44 chore(events): append pr_merged 2026-05-27 04:49:29 +00:00
open-design-bot
47c705333d chore(contributors): +12pts for @lefarcen (PR #3074) 2026-05-27 04:49:29 +00:00
lefarcen
2ed93e9c5d
ci: reuse cached docker image and persist pnpm store for agent sandbox (#3074)
* ci: skip docker pull when agent sandbox image is already cached

The agent PR exploration script ran an unconditional `docker pull
"$image"` before `docker run`. Under `set -e`, a transient registry
timeout (the self-hosted runner's network to docker.io is unreliable)
aborts the whole run even when the base image (node:24-bookworm) is
already cached locally — which is what happened on run 26490782540.

Skip the pull entirely when the image is already present, and only pull
when it is missing. This avoids both the failure and the wasted pull
timeout on every run, and keeps a run's base image stable. Refreshing
the cached image is a separate, explicit operation on the runner.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* ci: persist agent sandbox pnpm store across runs

The pnpm store was placed under $RUNNER_TEMP, which the Actions runner
wipes per job, so every agent exploration re-downloaded all dependencies
from the npm registry — slow, and as fragile as the runner's docker.io
access (the same network class that already broke the docker pull).

Move the store to a persistent host path ($HOME/.cache/agent-pr-explore/
pnpm-store, overridable via OD_SANDBOX_PNPM_STORE) so a warm,
content-addressed store is reused across runs. `rm -rf "$root"` no longer
touches it since it lives outside the per-run root.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 12:49:26 +08:00