warp 的简体中文版本
| Files | Last commit | Last update |
|---|---|---|
Add parent-skill prerequisite preamble to -local specializers (#12398) ## Description Each -local skill in .agents/skills/ is a repo-specific specializer for a core "parent" skill that lives in a different repo. When the parent skill isn't installed in the checkout, agents that load the -local companion fail to resolve the parent (e.g. an agent looking for review-pr and not finding it). This adds, to all four -local specializers: - A standardized ## Prerequisite: install the parent skill preamble (right after the H1) telling the agent to verify the parent resolves at .agents/skills/<parent>/SKILL.md and, if missing, install it from the named upstream before proceeding. - A machine-readable specializes_source frontmatter field recording the upstream repo + path, so the preamble can stay generic and future tooling can automate the check/install. Parent sources: - review-pr-local → warpdotdev/common-skills:.agents/skills/review-pr - reproduce-bug-report-local → warpdotdev/common-skills:.agents/skills/reproduce-bug-report - triage-issue-local → warpdotdev/oz-for-oss:.agents/skills/triage-issue - dedupe-issue-local → warpdotdev/oz-for-oss:.agents/skills/dedupe-issue ## Testing Docs-only change to skill markdown files; no code paths affected. Verified each file received the frontmatter field and preamble and that frontmatter remains valid YAML. ## Agent Mode - [x] Warp Agent Mode - This PR was created via Warp's AI Agent Mode <!-- CHANGELOG-NONE --> _Conversation: https://staging.warp.dev/conversation/5aac570a-9baf-454f-85f9-42659f2e68c7_ _Run: https://oz.staging.warp.dev/runs/019eac78-85d6-76b9-beda-345cb7eac07a_ _This PR was generated with [Oz](https://warp.dev/oz)._ | 5 months ago | |
Initial public release of Warp. Repo-Sync-Origin: warpdotdev/warp-internal@12af1d983b1028a49b144db86bea0a735e53dc45 | 6 months ago | |
Initial public release of Warp. Repo-Sync-Origin: warpdotdev/warp-internal@12af1d983b1028a49b144db86bea0a735e53dc45 | 6 months ago | |
Initial public release of Warp. Repo-Sync-Origin: warpdotdev/warp-internal@12af1d983b1028a49b144db86bea0a735e53dc45 | 6 months ago | |
Update stale requested-changes PR cadence to 7/10/14 days (#12401) ## Description Updates the **stale requested-changes PR** follow-up cadence for external-contributor PRs. Previously: reminders at **7 / 14 / 26** days of author inactivity, auto-close at **30**. Now: reminders at **7** and **10** days (the day-10 reminder is the final warning), auto-close at **14**. The existing "no close without a prior final-warning marker" guard is preserved. Changed: - .github/scripts/stale-requested-changes-prs.js — REMINDER_DAYS / FINAL_WARNING_DAY / CLOSE_DAY constants (the source of truth; reminder/close message text derives from these). - .github/workflows/stale_requested_changes_prs.yml — header doc comment. - specs/stale-pr-cleanup/PRODUCT.md and TECH.md — behavior invariants and cross-references kept in sync. - CONTRIBUTING.md — contributor-facing cadence description. ## Linked Issue N/A — internal automation/docs tuning, no associated issue. - [ ] The linked issue is labeled ready-to-spec or ready-to-implement. - [ ] Where appropriate, screenshots or a short video of the implementation are included below. ## Testing Documentation- and automation-config-only change; no Rust code is touched, so cargo fmt/clippy/tests are not applicable. Verified via grep that no stale cadence references (7/14/26, day-26, close at 30) remain across the workflow and specs, and that the reminder/close comment bodies derive from the named constants so they stay consistent. - [ ] I have manually tested my changes locally with ./script/run — N/A (no runnable client change) ## Agent Mode - [x] Warp Agent Mode - This PR was created via Warp's AI Agent Mode CHANGELOG-NONE --- [Warp conversation](https://staging.warp.dev/conversation/d8b13f50-953d-4bec-8029-316056327f8c) Co-Authored-By: Oz <oz-agent@warp.dev> Co-authored-by: Oz <oz-agent@warp.dev> | 5 months ago | |
Initial public release of Warp. Repo-Sync-Origin: warpdotdev/warp-internal@12af1d983b1028a49b144db86bea0a735e53dc45 | 6 months ago | |
Initial public release of Warp. Repo-Sync-Origin: warpdotdev/warp-internal@12af1d983b1028a49b144db86bea0a735e53dc45 | 6 months ago | |
优化简体中文界面汉化 - 完成菜单栏全面汉化(文件、编辑、视图、标签页、区块、AI、云盘、窗口、帮助) - 完成设置页面所有导航项汉化(关于、账户、外观、功能、隐私、AI、代码等) - 完成工作区、窗格类型、右键菜单汉化 - 完成 AI 组件汉化(代理、请求命令、代码差异等) - 完成代码审查、环境变量、云盘、笔记本编辑器等模块汉化 - 新增汉化文档:CN_LOCALIZATION_PLAN.md、CN_LOCALIZATION_SUMMARY.md、CN_LOCALIZATION_REPORT.md - 总计汉化 100+ 个 UI 字符串,覆盖核心功能模块 | 5 months ago | |
Initial public release of Warp. Repo-Sync-Origin: warpdotdev/warp-internal@12af1d983b1028a49b144db86bea0a735e53dc45 | 6 months ago | |
Add basic tracing support for cloud agents. (#12363) ## Description Adds opt-in OpenTelemetry tracing for cloud-agent runs so we can inspect end-to-end execution when debugging latency and failures. When WARP_CLOUD_AGENT_OTLP_ENDPOINT is configured, the native app installs an OTLP/HTTP trace exporter; otherwise tracing remains a no-op. Cloud-agent spans are explicitly marked, and filtering at the exporter boundary prevents unrelated application spans from being sent. This also adds spans and events across the cloud-agent lifecycle, server APIs, and driver setup, and propagates the current span through asynchronous tasks and streams. The tracing provider is retained through the standard application shutdown path, with a best-effort active-span registry that ends still-reachable spans before shutting down the provider so long-lived asynchronous work is less likely to be lost. ## Linked Issue None. ## Testing - [x] Manually tested locally with ./script/run -- agent run --prompt "hello world". - [x] Ran ./script/format. - [x] Ran cargo check -p warp --features gui. - [x] Ran cargo doc -p warp --features gui --no-deps. No automated tests were added; this is opt-in observability plumbing that was validated through the cloud-agent command path and focused compilation/documentation checks. > [!NOTE] > note from dstern: i ended up working with an agent to do an end-to-end test of the fully-authenticated flow with a local cloud agent running via a self-hosted worker host; everything appears to work. ## Agent Mode - [x] Warp Agent Mode - This PR was created via Warp's AI Agent Mode CHANGELOG-NONE Co-Authored-By: Oz <oz-agent@warp.dev> | 5 months ago | |
Fix internal-dev image by making sure we set the right rust default version to match the cargo version we install. (#11870) ## Description <!-- Please remember to add your design buddy onto the PR for review, if it contains any UI changes! --> Lately our internal-dev image (base for the Warp Dev Environment) has been turning up some "cargo clippy not installed" errors. This is happening because we install the default version of rustup, but pin the cargo version that we install to the one defined in warp/rust-toolchain.toml. What this means is that whenever we try to run cargo from outside the warp repo, we don't have the right cargo version installed for that default version of rustup -- right now, the default rust version is 1.95.0, while we pin cargo to 1.92.0. This PR addresses this by setting the default rust toolchain version used in this docker image to match whatever we pin in rust-toolchain.toml, so it's consistent across the board. ## Testing <!-- How did you test this change? What automated tests did you add? If you didn't add any new tests, what's your justification for not adding any? Manual testing is required for changes that can be manually tested, and almost all changes can be manually tested. If your change can be manually tested, please include screenshots or a screen recording that show it working end to end. You can run the app locally using ./script/run - see WARP.md for more details on how to get set up. --> Built an image locally before and after this change, and confirmed that cargo clippy --version on the former fails, while on the latter works. ## Agent Mode - [x] Warp Agent Mode - This PR was created via Warp's AI Agent Mode <!-- ## Changelog Entries for Stable The entries below will be used when constructing a soft-copy of the stable release changelog. Leave blank or remove the lines if no entry in the stable changelog is needed. Entries should be on the same line, without the {{ }} brackets. You can use multiple lines, even of the same type. The valid suffixes are: - NEW-FEATURE: for new, relatively sizable features. Features listed here will likely have docs / social media posts / marketing launches associated with them, so use sparingly. - IMPROVEMENT: for new functionality of existing features. - BUG-FIX: for fixes related to known bugs or regressions. - IMAGE: the image specified by the URL (hosted on GCP) will be added to Dev & Preview releases. For Stable releases, see the pinned doc in the #release Slack channel. - OZ: Oz-related updates. Use CHANGELOG-OZ. At most 4 Oz updates are shown in-app per release. - NONE: Explicitly opt out of changelog inclusion. Use CHANGELOG-NONE for PRs that should never appear in the changelog (e.g. refactors, internal tooling, CI changes). This prevents the changelog agent from inferring an entry. CHANGELOG-NEW-FEATURE: {{text goes here...}} CHANGELOG-IMPROVEMENT: {{text goes here...}} CHANGELOG-BUG-FIX: {{text goes here...}} CHANGELOG-BUG-FIX: {{more text goes here...}} CHANGELOG-IMAGE: {{GCP-hosted URL goes here...}} CHANGELOG-OZ: {{text goes here...}} CHANGELOG-NONE --> | 5 months ago | |
docs: add README badges (#10204) ## Description Adds the new Built with Warp and Powered by Oz badge images to the top badge row in the README. ## Linked Issue N/A - [ ] The linked issue is labeled ready-to-spec or ready-to-implement. - [ ] Where appropriate, screenshots or a short video of the implementation are included below (especially for user-visible or UI changes). ## Screenshots / Videos N/A — README-only change. ## Testing - cargo fmt -- --check - cargo clippy --workspace --exclude warp_completer --all-targets --tests -- -D warnings - cargo clippy -p warp_completer --all-targets --tests -- -D warnings ## Agent Mode - [x] Warp Agent Mode - This PR was created via Warp's AI Agent Mode Conversation: https://staging.warp.dev/conversation/0819cd3b-0dfa-457f-aa38-f0bb1ad01c6d Co-Authored-By: Oz <oz-agent@warp.dev> --------- Co-authored-by: Oz <oz-agent@warp.dev> Co-authored-by: Safia Abdalla <captainsafia@users.noreply.github.com> | 6 months ago | |
fix: remove built-in feedback skill (#11806) Co-authored-by: Oz <oz-agent@warp.dev> | 5 months ago | |
Productionize Linux jemalloc heap profiling (#12265) ## Description Productionizes automatic jemalloc heap profiling on Linux so high-memory events upload a heap profile to Sentry, matching what macOS already does. The key difference from macOS: **the Linux profile is uploaded unsymbolized (raw pprof)**. It carries sample addresses + memory mappings + the GNU build-id, and is symbolized **offline** against the debug-info file (DIF) the release pipeline already uploads to Sentry — the same artifact used to symbolize panics, matched by build-id. This lets the shipped binary stay fully stripped (no symbol-table bloat) while still producing usable, symbolizable profiles. ### What changed - ** app/src/profiling.rs**: on Linux, dump the gzipped pprof **in-process** via jemalloc_pprof (dump_jemalloc_pprof_bytes) — no external pprof binary, HTTP server, or fixed port (essential for the headless remote-server daemon). The dump is now **raw / unsymbolized**. The external-pprof path is kept for macOS, where in-process symbolization stays. - **app/Cargo.toml**: build jemalloc_pprof **without** the symbolize feature, so dump_pprof() returns a raw profile instead of symbolizing in-process (in-process symbolization would have required keeping the symbol table in the shipped binary). - **Cargo.lock**: bump jemalloc_pprof / pprof_util to 0.8.2. This is required: 0.8.2 writes a usable mapping range (memory_limit = u64::MAX), whereas 0.8.1 wrote memory_limit = 0, leaving pprof unable to bind sample addresses to the binary — so profiles would be unsymbolizable even with the correct DIF. (See this PR: https://github.com/polarsignals/rust-jemalloc-pprof/pull/31) - **script/linux/bundle**: enable jemalloc_pprof,heap_usage_tracking for the dev and preview channels, and keep the **normal strip behavior** (--strip-all for non-dev builds). The shipped binary stays small; symbols live only in the uploaded DIF. ### Symbolizing a Linux heap profile (offline, via the Sentry DIF) The release pipeline already uploads each build's debug-info file to Sentry (script/sentry_upload_dif.sh), keyed by GNU build-id. To analyze a heap-profile.pb from an "Excessive memory usage detected" event: ``bash # 0. Use the standalone pprof (the Go-bundled go tool pprof misreads the # build-id on large DIFs): go install github.com/google/pprof@latest # 1. Read the main binary's build-id from the raw profile's mappings: BUILD_ID=$(pprof -raw heap-profile.pb \ | sed -n '/^Mappings/,/^Locations/p' \ | grep -E 'warp-(dev|preview)' | head -1 | awk '{print $NF}') # 2. Download the matching DIF from the channel's Sentry project # (a read-only token is sufficient; dev -> warp-client-dev, # preview -> warp-client-preview): ORG=warpdotdev; PROJECT=warp-client-dev ID=$(curl -s "https://us.sentry.io/api/0/projects/$ORG/$PROJECT/files/dsyms/?query=${BUILD_ID:0:20}" \ -H "Authorization: Bearer $SENTRY_AUTH_TOKEN" | jq -r '.[0].id') mkdir -p difs curl -sL "https://us.sentry.io/api/0/projects/$ORG/$PROJECT/files/dsyms/?id=$ID" \ -H "Authorization: Bearer $SENTRY_AUTH_TOKEN" -o "difs/${BUILD_ID}.debug" # 3. Symbolize + analyze (pprof matches the DIF to the profile by build-id): PPROF_BINARY_PATH=./difs pprof -http=: heap-profile.pb # flame graph / top / graph ` The DIF carries .symtab + DWARF, so frames resolve to function names with file:line and inlined frames. (addr2line -e difs/$BUILD_ID.debug <addr> works as a lower-level alternative.) ### Notes / scope - No pprof binary is bundled on Linux (in-process raw dump). - stable Linux builds are unchanged (no profiling features) — enabling for dev + preview first. ## Linked Issue N/A — infrastructure/observability follow-up. ## Testing - cargo check + cargo clippy -- -D warnings for the app lib targeting Linux with heap_usage_tracking (exercises the new raw-dump branch); macOS host path also checked (validates the pprof_binary_path cfg-gate) — passes. - ./script/format — no changes beyond the edited files. - End-to-end validated on a build sharing this exact code path - [ ] I have manually tested my changes locally with ./script/run` ## Agent Mode - [x] Warp Agent Mode - This PR was created via Warp's AI Agent Mode CHANGELOG-NONE --- 🤖 Generated with Warp Agent Mode Conversation: https://staging.warp.dev/conversation/e6ba6343-1bb8-4cce-a155-6f0b453bad40 Plan: https://staging.warp.dev/drive/notebook/359wXMjgAzXhtOZfnSWUlA | 5 months ago | |
添加中文翻译和自定义设置 - 永久关闭登录 (skip_login feature) - 关闭 AI 助手 (is_any_ai_enabled 默认 false) - 强制简体中文 locale (zh_CN.UTF-8) - 翻译设置导航、菜单栏、右键菜单、Toast 消息、工作区视图 - 添加同步上游更新的脚本 | 5 months ago | |
QUALITY-780: client-side handling of wait_for_events yields (#12084) ## Description When an Oz cloud agent yields via the wait_for_events tool, the client now recognizes the yield and keeps the run alive in a new WaitingForEvents status until inbound input arrives (user query, child agent event, or watchdog timeout). Previously the client misinterpreted the yield as Success: the CLI driver exited per --idle-on-complete, completion notifications fired, and the orchestration pill bar showed the run as done while child events were still expected. Depends on: - Proto: https://github.com/warpdotdev/warp-proto-apis/pull/315 - Server: https://github.com/warpdotdev/warp-server/pull/11563 ### Mechanics - A Tool::WaitForEvents arrives → synthesized as an AIAgentAction::WaitForEvents so the standard action lifecycle keeps the run from completing. - WaitForEventsExecutor transitions the conversation to ConversationStatus::WaitingForEvents and schedules a watchdog using the server-supplied idle_timeout_seconds (30s safety margin, 5s hard floor). - When inbound events arrive, inject_pending_events_for_request cancels the wait via the standard cancel_running_async_action path before sending the resume. The server's pending-tool-call supersede synthesizes the matching Cancel, so the client never sends a redundant tool_call_result on the wire. - On watchdog fire the client emits an empty WaitForEventsResult{} so the agent's next turn observes a clean timeout result. - LocalAgentTaskSyncModel maps WaitingForEvents → AgentTaskState::InProgress so the server's task row stays accurate. - The pill bar aggregator gives the orchestrator's own WaitingForEvents priority over a descendant InProgress. - The driver keeps the CLI worker process alive while the conversation is WaitingForEvents. ### Not persisted The waiting state is in-process only. A conversation yielded at shutdown restores as Success; the unresolved wait_for_events tool call sits in the transcript as an orphan and the server's existing supersede synthesizes a Cancel on the next outbound request. ## Testing - Unit tests cover the executor, watchdog math, status transitions, restore behavior, and the aggregator carve-out. - Manual end-to-end with a local Oz orchestrator + child confirmed the orchestrator stays alive, resumes correctly, and sends no stale tool_call_results. - cargo fmt + cargo clippy -p warp --all-targets --tests -- -D warnings + targeted cargo nextest run -p warp all pass. ## Agent Mode - [x] Warp Agent Mode - This PR was created via Warp's AI Agent Mode <!-- CHANGELOG-IMPROVEMENT: Cloud agents that pause to wait for inbound events from child agents are now correctly held in a "waiting" state instead of being prematurely treated as completed. --> _Conversation: https://staging.warp.dev/conversation/4ac3cfa6-3506-4d2a-8eb0-b01b1bcd9e77_ _Run: https://oz.staging.warp.dev/runs/019e8983-97a9-76ca-8e7a-a81337be6235_ _This PR was generated with [Oz](https://warp.dev/oz)._ Co-authored-by: Oz <oz-agent@warp.dev> | 5 months ago | |
Initial public release of Warp. Repo-Sync-Origin: warpdotdev/warp-internal@12af1d983b1028a49b144db86bea0a735e53dc45 | 6 months ago | |
Initial public release of Warp. Repo-Sync-Origin: warpdotdev/warp-internal@12af1d983b1028a49b144db86bea0a735e53dc45 | 6 months ago | |
Initial public release of Warp. Repo-Sync-Origin: warpdotdev/warp-internal@12af1d983b1028a49b144db86bea0a735e53dc45 | 6 months ago | |
[Quality-547] add bert_tiny_v2 model and update input classifier (#10756) ## Description <!-- Please remember to add your design buddy onto the PR for review, if it contains any UI changes! --> Add [retrained nld classifier](https://github.com/warpdotdev/ml_models/pull/2) to dogfood; Meanwhile changing model file storage from raw blobs to lfs for optimizing git efficiency It could resolve the misfires reported in [quality-547](https://linear.app/warpdotdev/issue/QUALITY-547/laundry-list-of-misfires); For quality 543 on file paths misfires, some are still pending to resolve by improving heuristics. ## About switching to git lfs to store model binary files | Scenario | Potential Impact | Failure Risk | Mitigation | |---|---|---|---| | Fresh clone with git-lfs installed | git clone (and subsequent git pull) automatically invokes the smudge filter, which fetches the real ONNX blobs from LFS in place of the pointer files. rust-embed embeds the actual model bytes at build time. | None — classifier loads normally. | No mitigation needed; this is the happy path. | | Fresh clone without git-lfs installed | ONNX paths land as ~130-byte pointer stubs. rust-embed embeds the pointer file at build time; runtime tries to load it as ONNX. | candle::InferenceRunner::new fails and the classifier silently falls back to HeuristicClassifier. App still builds and runs — no compile-time break, but a behavioral regression. | script/bootstrap now refuses to proceed if git-lfs is missing and runs git lfs install --local && git lfs pull when present; WARP.md documents it. | | Existing clone, user pulls this branch with git-lfs installed but never enabled in the repo | git lfs install --local hasn't been run, so the smudge filter is inactive. | The v1 file may stay correct (already a blob locally) but the new v2 file appears as a pointer. | Same bootstrap step covers it; users who skip bootstrap can run git lfs install && git lfs pull once. | | Existing clone, user pulls without ever installing git-lfs | The v2 model lands as a pointer (silent classifier fallback). | Build succeeds, but classifier silently degrades to heuristic fallback. | Bootstrap requirement + WARP.md note + the runtime log::warn!("Failed to load onnx classifier (v2): ...") makes the failure greppable in logs. | | Existing clone with git-lfs installed and enabled | git pull invokes the smudge filter automatically, fetching the v2 blob from LFS to replace the pointer. rust-embed picks up the real bytes on the next build. | None — classifier loads normally. | No mitigation needed; this is the happy path for existing clones. | | Forks / branches based on pre-LFS commits | Cherry-picks or merges crossing the LFS boundary need git-lfs locally to render the binaries correctly. | Low — no history rewrite is needed since we're only renormalizing on this commit. | Old branches keep working with raw blobs because their .gitattributes doesn't yet have the LFS rule. | ### TL;DR — Risk Mitigation Summary **1. Fresh clones (hard enforcement at bootstrap)** The actual gate lives in script/bootstrap, which now (a) refuses to proceed if git-lfs is not installed, and (b) runs git lfs install --local && git lfs pull automatically when it is. The WARP.md note complements this by explaining the requirement and providing recovery commands for users who bypass bootstrap. **2. Existing clones (tiered recovery)** - **Hard failure path:** If a build or runtime error surfaces (e.g. candle::InferenceRunner::new panics or the agent reports a missing model), the agent's remediation is to run git lfs install --local && git lfs pull once and retry. - **Silent fallback path:** If the build succeeds but the classifier silently regresses to HeuristicClassifier, we accept it as a non-blocking degradation. The log::warn!("Failed to load onnx classifier (v2): ...") line makes the condition greppable in logs, and the next bootstrap run will self-heal. **3. CI (requires explicit opt-in to LFS)** Update CI with: lfs: true to any job that compiles the app, runs classifier tests, or bundles release artifacts. Please see https://github.com/warpdotdev/warp/pull/10756/changes/3bf92118b8135ce817e0d90949e0a3a739c7d073 ## Linked Issue <!-- Link the GitHub issue this PR addresses. Before opening this PR, please confirm: --> - [ ] The linked issue is labeled ready-to-spec or ready-to-implement. - [ ] Where appropriate, screenshots or a short video of the implementation are included below (especially for user-visible or UI changes). ## Testing <!-- How did you test this change? What automated tests did you add? If you didn't add any new tests, what's your justification for not adding any? Manual testing is required for changes that can be manually tested, and almost all changes can be manually tested. If your change can be manually tested, please include screenshots or a screen recording that show it working end to end. You can run the app locally using ./script/run - see WARP.md for more details on how to get set up. --> - [x] I have manually tested my changes locally with ./script/run For the CI changes on LFS, we see below logs in CI logs to verify CI does fetch raw binary model files 28217b297a * app/assets/windows/arm64/OpenConsole.pdb (30 MB) 6eca0f5ba1 * app/assets/windows/arm64/conpty.pdb (6.4 MB) 3cf69e7c9b * app/assets/windows/x64/OpenConsole.pdb (34 MB) e9347e3fa6 * app/assets/windows/x64/conpty.pdb (6.5 MB) 05b2aaba0e * crates/input_classifier/models/onnx/bert_tiny_v1.onnx (18 MB) 1fd8afc92b * crates/input_classifier/models/onnx/bert_tiny_v2.onnx (18 MB) [macos CI](https://github.com/warpdotdev/warp/actions/runs/25768466066/job/75686351916) [Linux CI](https://github.com/warpdotdev/warp/actions/runs/25768466066/job/75686351926) [Windows CI](https://github.com/warpdotdev/warp/actions/runs/25768466066/job/75686351937) ### Screenshots / Videos <!-- Attach screenshots or a short video demonstrating the change, where appropriate. Remove this section if it is not relevant to your PR. --> https://www.loom.com/share/94f99078f8614b2bbc05eab7f8d1a7d1 in this video we tested on the misfires listed in quality-547 - left: warp dev - right: warp local build on this change Video for dogfood feature https://www.loom.com/share/196ffbc863aa4b39894f4e821ab54d85 ## Agent Mode - [ ] Warp Agent Mode - This PR was created via Warp's AI Agent Mode <!-- ## Changelog Entries for Stable The entries below will be used when constructing a soft-copy of the stable release changelog. Leave blank or remove the lines if no entry in the stable changelog is needed. Entries should be on the same line, without the {{ }} brackets. You can use multiple lines, even of the same type. The valid suffixes are: - NEW-FEATURE: for new, relatively sizable features. Features listed here will likely have docs / social media posts / marketing launches associated with them, so use sparingly. - IMPROVEMENT: for new functionality of existing features. - BUG-FIX: for fixes related to known bugs or regressions. - IMAGE: the image specified by the URL (hosted on GCP) will be added to Dev & Preview releases. For Stable releases, see the pinned doc in the #release Slack channel. - OZ: Oz-related updates. Use CHANGELOG-OZ. At most 4 Oz updates are shown in-app per release. CHANGELOG-NEW-FEATURE: {{text goes here...}} CHANGELOG-IMPROVEMENT: {{text goes here...}} CHANGELOG-BUG-FIX: {{text goes here...}} CHANGELOG-BUG-FIX: {{more text goes here...}} CHANGELOG-IMAGE: {{GCP-hosted URL goes here...}} CHANGELOG-OZ: {{text goes here...}} --> --------- Co-authored-by: Oz <oz-agent@warp.dev> | 6 months ago | |
Add more profiling file types to .gitignore. (#11379) ## Description WISOTT. | 5 months ago | |
Initial public release of Warp. Repo-Sync-Origin: warpdotdev/warp-internal@12af1d983b1028a49b144db86bea0a735e53dc45 | 6 months ago | |
Initial public release of Warp. Repo-Sync-Origin: warpdotdev/warp-internal@12af1d983b1028a49b144db86bea0a735e53dc45 | 6 months ago | |
Initial public release of Warp. Repo-Sync-Origin: warpdotdev/warp-internal@12af1d983b1028a49b144db86bea0a735e53dc45 | 6 months ago | |
添加中文翻译和自定义设置 - 永久关闭登录 (skip_login feature) - 关闭 AI 助手 (is_any_ai_enabled 默认 false) - 强制简体中文 locale (zh_CN.UTF-8) - 翻译设置导航、菜单栏、右键菜单、Toast 消息、工作区视图 - 添加同步上游更新的脚本 | 5 months ago | |
优化简体中文界面汉化 - 完成菜单栏全面汉化(文件、编辑、视图、标签页、区块、AI、云盘、窗口、帮助) - 完成设置页面所有导航项汉化(关于、账户、外观、功能、隐私、AI、代码等) - 完成工作区、窗格类型、右键菜单汉化 - 完成 AI 组件汉化(代理、请求命令、代码差异等) - 完成代码审查、环境变量、云盘、笔记本编辑器等模块汉化 - 新增汉化文档:CN_LOCALIZATION_PLAN.md、CN_LOCALIZATION_SUMMARY.md、CN_LOCALIZATION_REPORT.md - 总计汉化 100+ 个 UI 字符串,覆盖核心功能模块 | 5 months ago | |
优化简体中文界面汉化 - 完成菜单栏全面汉化(文件、编辑、视图、标签页、区块、AI、云盘、窗口、帮助) - 完成设置页面所有导航项汉化(关于、账户、外观、功能、隐私、AI、代码等) - 完成工作区、窗格类型、右键菜单汉化 - 完成 AI 组件汉化(代理、请求命令、代码差异等) - 完成代码审查、环境变量、云盘、笔记本编辑器等模块汉化 - 新增汉化文档:CN_LOCALIZATION_PLAN.md、CN_LOCALIZATION_SUMMARY.md、CN_LOCALIZATION_REPORT.md - 总计汉化 100+ 个 UI 字符串,覆盖核心功能模块 | 5 months ago | |
优化简体中文界面汉化 - 完成菜单栏全面汉化(文件、编辑、视图、标签页、区块、AI、云盘、窗口、帮助) - 完成设置页面所有导航项汉化(关于、账户、外观、功能、隐私、AI、代码等) - 完成工作区、窗格类型、右键菜单汉化 - 完成 AI 组件汉化(代理、请求命令、代码差异等) - 完成代码审查、环境变量、云盘、笔记本编辑器等模块汉化 - 新增汉化文档:CN_LOCALIZATION_PLAN.md、CN_LOCALIZATION_SUMMARY.md、CN_LOCALIZATION_REPORT.md - 总计汉化 100+ 个 UI 字符串,覆盖核心功能模块 | 5 months ago | |
Initial public release of Warp. Repo-Sync-Origin: warpdotdev/warp-internal@12af1d983b1028a49b144db86bea0a735e53dc45 | 6 months ago | |
Update stale requested-changes PR cadence to 7/10/14 days (#12401) ## Description Updates the **stale requested-changes PR** follow-up cadence for external-contributor PRs. Previously: reminders at **7 / 14 / 26** days of author inactivity, auto-close at **30**. Now: reminders at **7** and **10** days (the day-10 reminder is the final warning), auto-close at **14**. The existing "no close without a prior final-warning marker" guard is preserved. Changed: - .github/scripts/stale-requested-changes-prs.js — REMINDER_DAYS / FINAL_WARNING_DAY / CLOSE_DAY constants (the source of truth; reminder/close message text derives from these). - .github/workflows/stale_requested_changes_prs.yml — header doc comment. - specs/stale-pr-cleanup/PRODUCT.md and TECH.md — behavior invariants and cross-references kept in sync. - CONTRIBUTING.md — contributor-facing cadence description. ## Linked Issue N/A — internal automation/docs tuning, no associated issue. - [ ] The linked issue is labeled ready-to-spec or ready-to-implement. - [ ] Where appropriate, screenshots or a short video of the implementation are included below. ## Testing Documentation- and automation-config-only change; no Rust code is touched, so cargo fmt/clippy/tests are not applicable. Verified via grep that no stale cadence references (7/14/26, day-26, close at 30) remain across the workflow and specs, and that the reminder/close comment bodies derive from the named constants so they stay consistent. - [ ] I have manually tested my changes locally with ./script/run — N/A (no runnable client change) ## Agent Mode - [x] Warp Agent Mode - This PR was created via Warp's AI Agent Mode CHANGELOG-NONE --- [Warp conversation](https://staging.warp.dev/conversation/d8b13f50-953d-4bec-8029-316056327f8c) Co-Authored-By: Oz <oz-agent@warp.dev> Co-authored-by: Oz <oz-agent@warp.dev> | 5 months ago | |
Add basic tracing support for cloud agents. (#12363) ## Description Adds opt-in OpenTelemetry tracing for cloud-agent runs so we can inspect end-to-end execution when debugging latency and failures. When WARP_CLOUD_AGENT_OTLP_ENDPOINT is configured, the native app installs an OTLP/HTTP trace exporter; otherwise tracing remains a no-op. Cloud-agent spans are explicitly marked, and filtering at the exporter boundary prevents unrelated application spans from being sent. This also adds spans and events across the cloud-agent lifecycle, server APIs, and driver setup, and propagates the current span through asynchronous tasks and streams. The tracing provider is retained through the standard application shutdown path, with a best-effort active-span registry that ends still-reachable spans before shutting down the provider so long-lived asynchronous work is less likely to be lost. ## Linked Issue None. ## Testing - [x] Manually tested locally with ./script/run -- agent run --prompt "hello world". - [x] Ran ./script/format. - [x] Ran cargo check -p warp --features gui. - [x] Ran cargo doc -p warp --features gui --no-deps. No automated tests were added; this is opt-in observability plumbing that was validated through the cloud-agent command path and focused compilation/documentation checks. > [!NOTE] > note from dstern: i ended up working with an agent to do an end-to-end test of the fully-authenticated flow with a local cloud agent running via a self-hosted worker host; everything appears to work. ## Agent Mode - [x] Warp Agent Mode - This PR was created via Warp's AI Agent Mode CHANGELOG-NONE Co-Authored-By: Oz <oz-agent@warp.dev> | 5 months ago | |
Add basic tracing support for cloud agents. (#12363) ## Description Adds opt-in OpenTelemetry tracing for cloud-agent runs so we can inspect end-to-end execution when debugging latency and failures. When WARP_CLOUD_AGENT_OTLP_ENDPOINT is configured, the native app installs an OTLP/HTTP trace exporter; otherwise tracing remains a no-op. Cloud-agent spans are explicitly marked, and filtering at the exporter boundary prevents unrelated application spans from being sent. This also adds spans and events across the cloud-agent lifecycle, server APIs, and driver setup, and propagates the current span through asynchronous tasks and streams. The tracing provider is retained through the standard application shutdown path, with a best-effort active-span registry that ends still-reachable spans before shutting down the provider so long-lived asynchronous work is less likely to be lost. ## Linked Issue None. ## Testing - [x] Manually tested locally with ./script/run -- agent run --prompt "hello world". - [x] Ran ./script/format. - [x] Ran cargo check -p warp --features gui. - [x] Ran cargo doc -p warp --features gui --no-deps. No automated tests were added; this is opt-in observability plumbing that was validated through the cloud-agent command path and focused compilation/documentation checks. > [!NOTE] > note from dstern: i ended up working with an agent to do an end-to-end test of the fully-authenticated flow with a local cloud agent running via a self-hosted worker host; everything appears to work. ## Agent Mode - [x] Warp Agent Mode - This PR was created via Warp's AI Agent Mode CHANGELOG-NONE Co-Authored-By: Oz <oz-agent@warp.dev> | 5 months ago | |
Add ./script/format for customized cargo fmt invocation. (#11747) ## Description This adds a formatting script at ./script/format that invokes cargo fmt with the options we want for our codebase. Due to the fact that we're using some unstable formatter options, we need to pass RUSTC_BOOTSTRAP=1 to enable use of unstable options with a stable toolchain, and that requires us to put together a small script like this. This PR updates existing formatting using the new script, and modifies both ./script/presubmit ~and CI to enforce formatting against this new configuration~. EDIT: Realized we probably want ./script/format to soak for a week or so before we start enforcement, due to us not using a merge queue. Otherwise, we'll probably end up with non-conforming formatting changes being merged into master and causing issues. | 5 months ago | |
Initial public release of Warp. Repo-Sync-Origin: warpdotdev/warp-internal@12af1d983b1028a49b144db86bea0a735e53dc45 | 6 months ago | |
Initial public release of Warp. Repo-Sync-Origin: warpdotdev/warp-internal@12af1d983b1028a49b144db86bea0a735e53dc45 | 6 months ago | |
Initial public release of Warp. Repo-Sync-Origin: warpdotdev/warp-internal@12af1d983b1028a49b144db86bea0a735e53dc45 | 6 months ago | |
更新 README 声明,详细说明汉化情况 | 5 months ago | |
[Security] Update WARP.md and SECURITY.md guidence (#12088) ## Description Add short reminders to WARP.md and SECURITY.md not to create public PRs for security issues --------- Co-authored-by: oz-for-oss[bot] <277970191+oz-for-oss[bot]@users.noreply.github.com> | 5 months ago | |
[Security] Update WARP.md and SECURITY.md guidence (#12088) ## Description Add short reminders to WARP.md and SECURITY.md not to create public PRs for security issues --------- Co-authored-by: oz-for-oss[bot] <277970191+oz-for-oss[bot]@users.noreply.github.com> | 5 months ago | |
Initial public release of Warp. Repo-Sync-Origin: warpdotdev/warp-internal@12af1d983b1028a49b144db86bea0a735e53dc45 | 6 months ago | |
Initial public release of Warp. Repo-Sync-Origin: warpdotdev/warp-internal@12af1d983b1028a49b144db86bea0a735e53dc45 | 6 months ago | |
Initial public release of Warp. Repo-Sync-Origin: warpdotdev/warp-internal@12af1d983b1028a49b144db86bea0a735e53dc45 | 6 months ago | |
Initial public release of Warp. Repo-Sync-Origin: warpdotdev/warp-internal@12af1d983b1028a49b144db86bea0a735e53dc45 | 6 months ago | |
Add Nix flake for Warp (#9394) ## Follow-up context This PR supersedes #9373. The earlier PR was automatically closed by the issue-readiness workflow after it was explicitly associated with the related issue before that issue had the ready-to-implement label. This PR carries the same Nix flake work forward and includes follow-up review fixes around bundled resources, settings schema generation, license attribution, Linux-only scope, and experimental package naming. ## Description Adds experimental first-party Nix flake support for Linux source builds of the OSS Warp binary. Fixes #9296 ## Platform scope This flake currently supports x86_64-linux and aarch64-linux only. macOS support is not included in this PR and remains WIP. What changed: - Adds flake.nix/flake.lock with the package output warp-terminal-experimental for supported Linux systems. - Builds the OSS Warp binary from source with the repository Rust toolchain and the release_bundle, gui, and nld_improvements features. - Derives the main Cargo vendor directory from Cargo.lock with craneLib.vendorCargoDeps, so the app build no longer has a top-level cargoVendorHash to manually maintain when Cargo.lock changes. - Installs bundled resources, generated stable-channel settings schema, generated third-party license attribution, desktop entry, icons, and licenses into the package output. - Uses the stable release channel when preparing bundled resources and settings metadata so the public Nix package does not include dogfood/preview-gated resources. - Keeps warp-proto-apis and workflows pinned through flake inputs, with exact revisions recorded in flake.lock. - Applies the vendored git checkout patches needed for warp-proto-apis and workflows during Cargo vendoring. - Wraps the executable with the runtime libraries needed on Nix systems. - Adds a matching devShell for Nix-based Rust development. ## Testing - git diff --check -- flake.nix flake.lock - nix fmt --accept-flake-config -- --check flake.nix - nix eval --json --accept-flake-config .#packages - nix build .#warp-terminal-experimental --accept-flake-config --print-out-paths --print-build-logs - Isolated XDG/HOME smoke launch of /nix/store/9xav7pd562rhanqjyyp4qp5h5vp71m2k-warp-terminal-experimental-0.1.0+dirty/bin/warp-terminal-experimental Smoke result: the process stayed up until the 15-second timeout and wrote warp-oss.log entries for X11 app startup, OSS channel startup, ONNX classifier load, Vulkan GPU renderer selection, and an active window. ## Server API dependencies No server API dependencies. ## Agent Mode - [ ] Warp Agent Mode - This PR was created via Warp's AI Agent Mode ## Changelog Entries for Stable CHANGELOG-IMPROVEMENT: Added experimental Linux-only Nix flake support for building OSS Warp from source. Co-Authored-By: Warp <agent@warp.dev> --------- Co-authored-by: Warp <agent@warp.dev> | 6 months ago | |
Fix Nix build features (#12070) ## Description Remove the stale nld_improvements Cargo feature from the Nix package build. nld_improvements was removed in #10671, but the flake still passed it through buildFeatures. That causes nix run .#warp-terminal-experimental to fail during Cargo feature validation. Closes #10979. ## Linked Issue <!-- Link the GitHub issue this PR addresses. Before opening this PR, please confirm: --> - [ ] The linked issue is labeled ready-to-spec or ready-to-implement. - [ ] Where appropriate, screenshots or a short video of the implementation are included below (especially for user-visible or UI changes). ## Testing <!-- How did you test this change? What automated tests did you add? If you didn't add any new tests, what's your justification for not adding any? Manual testing is required for changes that can be manually tested, and almost all changes can be manually tested. If your change can be manually tested, please include screenshots or a screen recording that show it working end to end. You can run the app locally using ./script/run - see WARP.md for more details on how to get set up. --> - [ ] I have manually tested my changes locally with ./script/run Validated locally with nix run .#warp-terminal-experimental ### Screenshots / Videos <!-- Attach screenshots or a short video demonstrating the change, where appropriate. Remove this section if it is not relevant to your PR. --> ## Agent Mode - [ ] Warp Agent Mode - This PR was created via Warp's AI Agent Mode <!-- ## Changelog Entries for Stable The entries below will be used when constructing a soft-copy of the stable release changelog. Leave blank or remove the lines if no entry in the stable changelog is needed. Entries should be on the same line, without the {{ }} brackets. You can use multiple lines, even of the same type. The valid suffixes are: - NEW-FEATURE: for new, relatively sizable features. Features listed here will likely have docs / social media posts / marketing launches associated with them, so use sparingly. - IMPROVEMENT: for new functionality of existing features. - BUG-FIX: for fixes related to known bugs or regressions. - IMAGE: the image specified by the URL (hosted on GCP) will be added to Dev & Preview releases. For Stable releases, see the pinned doc in the #release Slack channel. - OZ: Oz-related updates. Use CHANGELOG-OZ. At most 4 Oz updates are shown in-app per release. - NONE: Explicitly opt out of changelog inclusion. Use CHANGELOG-NONE for PRs that should never appear in the changelog (e.g. refactors, internal tooling, CI changes). This prevents the changelog agent from inferring an entry. CHANGELOG-NEW-FEATURE: {{text goes here...}} CHANGELOG-IMPROVEMENT: {{text goes here...}} CHANGELOG-BUG-FIX: {{text goes here...}} CHANGELOG-BUG-FIX: {{more text goes here...}} CHANGELOG-IMAGE: {{GCP-hosted URL goes here...}} CHANGELOG-OZ: {{text goes here...}} CHANGELOG-NONE --> | 5 months ago | |
Initial public release of Warp. Repo-Sync-Origin: warpdotdev/warp-internal@12af1d983b1028a49b144db86bea0a735e53dc45 | 6 months ago | |
Surface disjoint inference / platform credits in conversation usage (#11441) ## Description Surfaces the disjoint inference vs. platform credit split on the warp client. Companion to: - Proto: https://github.com/warpdotdev/warp-proto-apis/pull/312 - Server: https://github.com/warpdotdev/warp-server/pull/11364 Concretely: - crates/warp_graphql_schema/api/schema.graphql: add the new platformCreditsSpent: Float! field to ConversationUsageMetadata so the cynic-generated GraphQL types include it. - crates/graphql/src/api/queries/get_conversation_usage.rs, crates/graphql/src/api/ai.rs: request the new field in the conversation-usage query / AIConversation selection and surface it to the rest of the client. - crates/persistence/src/model.rs: persist platform_credits_spent: f32 alongside credits_spent, with #[serde(default)] so older serialized payloads still deserialize. - app/src/ai/agent/conversation.rs: update credits_spent() to sum inference + platform (and round), and copy the new proto field into the persisted metadata on every request finish. - app/src/server/server_api/ai.rs: extend the convert_usage_metadata helper to accept platform_credits_spent and pass it through from both GraphQL conversion sites. - app/src/ai/blocklist/controller/shared_session.rs, app/src/terminal/shared_session/replay_agent_conversations.rs: emit the proto's platform_credits_spent as 0.0 when constructing outbound stream_finished::ConversationUsageMetadata, since AIConversation::credits_spent() already returns the bundled total and a non-zero disjoint value would double-count on viewers. Both call sites have an inline comment explaining the contract. - Add platform_credits_spent: 0.0 to every explicit ConversationUsageMetadata literal in test helpers / fixtures that don't go through Default. ### Production safety Prod is currently in platform_credits_mode: report, so the server returns decimal.Zero for platform credits today. This change is purely additive on the client; existing clients that don't read the new field continue to behave as before. ### Dev / testing The dev-only [patch."https://github.com/warpdotdev/warp-proto-apis.git"] block in Cargo.toml is intentionally **not** committed here so the PR diff stays clean. To run this branch locally **before** the proto PR lands, uncomment the directive at the bottom of Cargo.toml: toml [patch."https://github.com/warpdotdev/warp-proto-apis.git"] # Uncomment for local development of warp-proto-apis warp_multi_agent_api = { path = "../warp-proto-apis/apis/multi_agent/v1/gen/rust" } Once warpdotdev/warp-proto-apis#312 is merged, the directive can be re-removed and Cargo.toml line 308 bumped to the merged rev. ## Linked Issue - [ ] The linked issue is labeled ready-to-spec or ready-to-implement. No external Linear ticket; this is a follow-on to a credit-counting bug investigation. See the related conversation in the related section below. ## Testing - [x] cd /Users/jlloyd/Developer/warp && cargo check --workspace --tests - [x] cd /Users/jlloyd/Developer/warp && cargo fmt --check - [x] cd /Users/jlloyd/Developer/warp && cargo clippy --workspace --all-targets --all-features --tests -- -D warnings - [ ] I have manually tested my changes locally with ./script/run Manual e2e testing is gated on the server-side PR landing (the new field comes in over the wire from warp-server). I'll do an e2e pass once the upstream PRs are in. ### Screenshots / Videos N/A — no user-visible UI changes in this PR. The new field is plumbed but not yet surfaced in any UI component. ## Agent Mode - [x] Warp Agent Mode - This PR was created via Warp's AI Agent Mode ## Related - Conversation: https://staging.warp.dev/conversation/7fc0153d-1010-46da-b5f6-d001e87f8b05 - Plan: https://staging.warp.dev/drive/notebook/kzCSnGG6amd6rEyRY36r9B <!-- CHANGELOG-NONE --> Co-Authored-By: Oz <oz-agent@warp.dev> Co-authored-by: Oz <oz-agent@warp.dev> | 5 months ago |
声明: 这是 Warp 终端的中文定制版本,基于开源代码进行以下修改:
- ✅ 永久去除登录要求 — 无需注册或登录即可使用
- ✅ 默认关闭 AI 助手 — 界面更简洁,无 AI 干扰
- ✅ 全面简体中文界面 — 已完成以下模块的汉化优化:
- 菜单栏(文件、编辑、视图、标签页、区块、AI、云盘、窗口、帮助)
- 设置页面(关于、账户、外观、功能、隐私、AI、代码等所有导航项)
- 工作区、窗格类型、右键菜单
- AI 组件(代理、请求命令、代码差异等)
- 代码审查、环境变量、云盘、笔记本编辑器等
- 总计汉化 100+ 个 UI 字符串
- 📦 原始仓库:GitHub - warpdotdev/warp
官网 · 代码 · 智能体 · 终端 · 云盘 · 文档 · 工作原理
Note
OpenAI 是新版开源 Warp 仓库的创始赞助商,新的智能管理工作流由 GPT 模型驱动。
关于
Warp 是一个智能开发环境,诞生于终端。使用 Warp 内置的编程智能体,或接入您自己的 CLI 智能体(Claude Code、Codex、Gemini CLI 等)。
安装
Warp 贡献概览仪表板
访问 build.warp.dev 了解:
- 观看数千个 Oz 智能体处理问题、编写规格、实现变更和审查 PR
- 查看顶级贡献者和进行中的功能
- 通过 GitHub 登录跟踪您自己的问题
- 点击进入活跃的智能体会话
Oz for OSS
维护热门开源项目?申请 Oz 额度探索 Oz for OSS。
Oz for OSS 是我们的合作伙伴计划,将本仓库中使用的智能开源管理工作流带到选定的合作仓库。我们与维护者直接合作,以适合每个项目的方式实现问题分类、PR 审查、社区管理和贡献者协调的工作流。
许可证
Warp 的 UI 框架(warpui_core 和 warpui crate)在 MIT 许可证 下发布。
本仓库中的其余代码在 AGPL v3 许可证下发布。
开源与贡献
Warp 的客户端代码库是开源的,就在此仓库中。我们欢迎社区贡献,并设计了轻量级的工作流帮助新贡献者入门。完整的贡献流程请阅读 CONTRIBUTING.md 指南。
Tip
在 #oss-contributors Slack 频道与贡献者和 Warp 团队交流 — 这是临时提问、设计讨论和与维护者配对的好地方。新人请先加入 Warp Slack 社区,然后进入 #oss-contributors。
从 Issue 到 PR
提交前请搜索现有 Issue。如果不存在,请使用模板提交 Issue。安全漏洞应按 CONTRIBUTING.md 中的描述私下报告。
提交后,Warp 维护者会审查 Issue 并可能添加就绪标签:ready-to-spec 表示设计开放供贡献者规格化,ready-to-implement 表示设计已确定,欢迎代码 PR。任何人都可以接手已标记的 Issue — 如需考虑就绪标签,请在 Issue 上提及 @oss-maintainers。
本地构建仓库
从源码构建和运行 Warp:
./script/bootstrap # 平台特定设置
./script/run # 构建并运行 Warp
./script/presubmit # 格式化、clippy 和测试
完整的工程指南(包括编码风格、测试和平台特定说明)请参阅 WARP.md。
加入团队
有兴趣加入团队?请查看职位空缺。
支持与问题
- 查阅文档获取 Warp 功能的全面指南。
- 加入 Slack 社区与其他用户交流并获取 Warp 团队的帮助 — 贡献者常驻
#oss-contributors。 - 尝试预览版测试最新实验功能。
- 在任何 Issue 上提及 @oss-maintainers 向团队升级 — 例如遇到自动化智能体问题时。
行为准则
我们要求每个人都保持尊重和同理心。Warp 遵循行为准则。要报告违规行为,请发送邮件至 warp-coc at warp.dev。
开源依赖
我们要特别感谢帮助 Warp 起步的开源依赖: