Repository navigation
probe - #1
Closed
justinware24 wants to merge 36 commits into
Closed
probe#1justinware24 wants to merge 36 commits into
justinware24 wants to merge 36 commits into
Conversation
* docs(readme): describe supervision as human on the loop Co-authored-by: Cursor <cursoragent@cursor.com> * chore(github): use the human-on-the-loop topic in repository metadata Co-authored-by: Cursor <cursoragent@cursor.com> --------- Co-authored-by: cocofhu <cocofhu@outlook.com> Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(runtime): recover conversation CLI installer downloads Use the sandbox proxy for Docker CLI setup and retry a failed HTTPS download before invoking the official installer. * fix(runtime): provision missing CLIs in Docker SOPs Reuse the conversation workspace installer after checking the sandbox PATH and shared runtime installations. * fix(web): explain CLI installation in read-only sandboxes * fix(runtime): verify Docker CLIs as the task user
…cent#1072) Completes Tencent#1033 for the market path: a market catalog entry with authType "credential" can now name its credentialKind, and installing it carries both onto the saved MCPServerDefinition. Without this, a credential-authenticated MCP could be defined but never delivered by the market. Co-authored-by: jjasonzhang <jjasonzhang@tencent.com>
* fix(models): align CLI catalogs and provider branding * fix(models): separate Antigravity model and effort choices * fix(models): preserve runner reasoning metadata and hide default aliases * test(web): cover shared runner icons and Gemini catalog sources * fix(models): include Gemini 4 Neon in the Cursor catalog * fix(models): complete model family branding * fix(models): refresh role defaults and validate runner variants * fix(models): reject retired Antigravity session variants
* fix(runner): install the Linux Docker helper on macOS * fix(runner): safeguard macOS Docker helper updates * fix(runner): complete Docker helper install and recovery * fix(runner): guard and persist Docker helper templates * fix(runner): install helpers for universal macOS runners * fix(runner): preserve native installs for universal binaries * fix(runner): launch universal macOS runners natively * fix(runner): validate helper destinations before publishing upgrades * fix(runner): preserve Docker support across macOS architecture upgrades * fix(runner): recognize prior Docker helpers during macOS upgrades * fix(runner): resolve installed Docker helpers as the runtime does * fix(runner): let Docker reuse readable helpers during startup sync * fix(runner): reuse local Docker helper wrappers during sync
* feat(runner): distribute platform SSH host keys * fix(runner): preserve SSH revocations and hydrate relayed starts * fix(runner): negotiate SSH pins in task claims * fix(runner): retain local pins for revoke-only hosts
…ent#1123) * feat(schedule): report per-execution token usage and dashboard totals * fix(schedule): retain CLI usage and prevent metric overflow * fix(schedule): retain Codex cache writes and isolate layout tests --------- Co-authored-by: yowucai <yowucai@tencent.com>
* fix(chat): restore composer choices per conversation * fix(chat): keep composer choices through session transitions * fix(chat): preserve composer options across asynchronous sends * fix(chat): keep drafts intact through lookup failures and navigation * fix(chat): restore settings before showing a session or fork * fix(chat): validate model choices against conversation state * fix(chat): reconcile composer choices with the active reply * fix(chat): keep approval and retries in their original scope * fix(chat): resolve failed sends without silently changing choices * fix(chat): keep pending conversation drafts independent * fix(chat): tie draft cleanup to the accepted submission * fix(chat): preserve admission receipts and fence late replies * fix(chat): wait for reply state and keep the visible model choice * fix(chat): enforce explicit models and project-scoped issue approval * fix(chat): validate the turn before linking its mentioned issue --------- Co-authored-by: crispinhu27 <353173575+crispinhu27@users.noreply.github.com>
) * feat(managedcli): expand managed updates to six agent CLIs * fix(managedcli): pin native workflow CLIs and retain vendor releases * fix(runtime): preserve managed CLI selection in native sandboxes * fix(managedcli): order Cursor builds and resolve native CLI paths * fix(managedcli): preserve vendor rollback across observed releases * fix(managedcli): retain npm rollback past registry tag retreats * fix(managedcli): keep additional providers opt-in * fix(managedcli): keep excluded CodeBuddy usable * fix(runner): report invalid managed CLI allowlist * fix(managedcli): ignore empty provider entries
* feat(runner): distribute platform SSH host keys * fix(runner): preserve SSH revocations and hydrate relayed starts * fix(runner): negotiate SSH pins in task claims * feat(git): manage platform SSH host trust Depends on Tencent#1131 for Runner host key distribution. * fix(runner): retain local pins for revoke-only hosts * test(e2e): cover platform SSH host trust routes * feat(git): read and verify SSH host keys from settings
…encent#1139) Co-authored-by: crispinhu27 <353173575+crispinhu27@users.noreply.github.com>
…cent#1144) * fix(assistant): preserve Claude replies with empty final results * fix(assistant): retain all paragraphs in recovered Claude replies * fix(assistant): preserve Markdown indentation in recovered replies * test(assistant): initialize the CLI diagnostics fixture * fix(assistant): retain indentation at the start of replies --------- Co-authored-by: crispinhu27 <353173575+crispinhu27@users.noreply.github.com>
Co-authored-by: crispinhu27 <353173575+crispinhu27@users.noreply.github.com>
* fix(image): include WeCom CLI for notifications * docs: clarify WeCom CLI deployment requirements * ci: validate multi-platform image builds * fix(chat): preserve focus during requirement handoff * test(httpapi): initialize the conversation diagnostics fixture --------- Co-authored-by: Robert0622 <53806540+Robert0622@users.noreply.github.com>
* feat: pull the faster of ghcr.io and the NJU mirror Time both registries during install and pull so a domestic link does not have to set MIRROR by hand. Co-authored-by: Cursor <cursoragent@cursor.com> * fix: pull the NJU mirror only by a verified ghcr.io digest Automatic selection now follows layer redirects without forwarding the token, and a failed mirror pull falls back to ghcr.io instead of stopping the install. Co-authored-by: Cursor <cursoragent@cursor.com> * fix: return Docker failures to callers on Bash 3.2 macOS /bin/bash aborts set -e when a command fails inside docker_access, so a cold install and a failed automatic mirror pull never reach the official pull. Co-authored-by: Cursor <cursoragent@cursor.com> --------- Co-authored-by: cocofhu <cocofhu@tencent.com> Co-authored-by: Cursor <cursoragent@cursor.com>
…hatbot (Tencent#991) * feat(assistant): run the SOP orchestrator as its own conversation surface The SOP designer's AI orchestrator was a workbench chat with a long prompt built in the browser. It inherited the workbench rules and tools (workspace handoff, SOP proposals, external MCP), listed only the first 40 roles, showed up in the workbench history with the generated prompt as its title, and its second message failed with 409 「共享会话已更新」 because the canvas resent a simplified history of a project-shared session. The orchestrator now sends surface=sop-designer with the SOP id, a canvas snapshot and the SOPs the user named: - the server writes a designer system prompt and injects the roles, canvas and referenced SOPs as data each turn; the transcript keeps only what the user typed and the server appends the new message to it - the turn always runs in confirm mode with read-only platform tools; no workspace, browser or external MCP, and only one workflows_save draft - the conversation is private (source sop-designer), hidden from the workbench list, listed with ?surface=sop-designer&workflowId=, and cannot be continued from the workbench - workflows_save drafts from any conversation warn about duplicate node ids, edges to missing nodes, self loops and cycles; the preview build node no longer warns that role af-preview-builder is missing * feat(sop): embed the chatbot in the orchestrator and edit SOPs with operations Step 2: the SOP canvas panel now embeds the chatbot's sop-designer surface (/chatbot/?surface=sop-designer, chatbot/src/SopDesigner.jsx) instead of the hand-written chat in web/orchestrate.js. Replies render Markdown with the execution trace, turns run as background generations (stop, reload and reopen keep working), the conversation of each SOP is restored, and drafts show their warnings and can be placed again. The canvas keeps the build animation and talks to the chat only through agentflow-sop-designer-* window messages: it hands over its graph before each turn and replays the streamed draft. Step 3: on a canvas with steps the model submits operations (add_node, update_node, remove_node, add_edge, remove_edge, update_workflow). The server applies them to the full canvas, so untouched steps, prompts, scripts, layout and the preview build node stay as they were, and sends invalid operations back to the model with the reason. The canvas no longer guesses intent with regexes or SOP-name matching; the server lists the project's SOPs for the model instead. A draft with another SOP id replaces the canvas only after the user confirms. Also fixes webtest module-logic, which still called the prompt builder removed in the previous commit. * fix(sop): fixes from a live orchestrator test on deepseek-v4.1-flash A local run against a real model (CodeBuddy ioa, deepseek-v4.1-flash) found: - Roles: the designer offered roles with no project, which a SOP save rejects ("不属于当前项目且尚未共享"). Offer only roles the save accepts (workflowCanUseRole mirrors validateWorkflowAgentScopes) and warn about such roles in workflows_save drafts. - Long scripts: scripts over 400 characters reached the model as "", so it reported them empty and offered to rewrite them. Send an "omitted" marker instead, and restore the canvas script if the marker comes back in a draft. - Panel layout: the studio tooltip showed the iframe title over the build status, the narrow composer wrapped the send button onto its own row, and the floating feedback button covered it. * Use the test store when verifying conversation CLI version diagnostics --------- Co-authored-by: roberttwang <roberttwang@users.noreply.github.com>
…encent#1152) * fix(web): explain how to connect AI clients with an access key * fix(web): use compatible remote MCP client configuration * fix(web): redesign the MCP access key success panel --------- Co-authored-by: roberttwang <roberttwang@tencent.com>
* fix(web): restore SOP trigger card layout * Use the test store when verifying conversation CLI version diagnostics * fix(web): wrap long cron expressions in SOP trigger summaries A comma-separated minute field can overflow the summary column and be clipped by the card. Allow breaks within the timing label in the trigger panel and its edit dialog. --------- Co-authored-by: roberttwang <roberttwang@tencent.com>
…talled dsh (Tencent#1003) * test(httpapi): keep the CLI reload install test independent of preinstalled dsh TestInstallStatusSurvivesAReload models a host without dsh by narrowing PATH, but resolveAssistantEngineBin also checks /usr/local/bin and /usr/bin. Since Tencent#379 the platform image installs dsh into /usr/local/bin, so in that image the status is "installed" right away and the test fails. Move the global install locations into assistantCLIGlobalDirs and clear it in this test. Production lookup order is unchanged. * Isolate the reload test from every host CLI directory * Use the test store when verifying conversation CLI version diagnostics --------- Co-authored-by: roberttwang <roberttwang@users.noreply.loopforge.invalid>
…nt#1017) * fix(workspace): recover a conversation after its instance dies A chat stayed stuck once the control-plane process holding its workspace exited. Preparation treated that uncleaned bind as usable, then starting the CLI failed with a generic generation error. Take the workspace over when the previous host is gone, keep a checkout that is still on this sandbox root, and restore the last snapshot otherwise. Co-authored-by: Cursor <cursoragent@cursor.com> * Restore before rebinding and forward preparation to live workers * Use the test store when verifying conversation CLI version diagnostics --------- Co-authored-by: roberttwang <roberttwang@tencent.com> Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(web): remove the unused page-feedback button The corner widget has no one to act on reports in the open-source build, so drop the button and the API that only existed for it. Existing feedback tables are left in place. Co-authored-by: Cursor <cursoragent@cursor.com> * docs(changelog): move the page-feedback entry under the current Unreleased Merging main after 0.3.8 shipped left this PR's entry under a second '## Unreleased' heading between 0.3.8 and 0.3.7. Co-Authored-By: Claude Code <noreply@anthropic.com> * Use the test store when verifying conversation CLI version diagnostics --------- Co-authored-by: roberttwang <roberttwang@tencent.com> Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: cocofhu <cocofhu@outlook.com> Co-authored-by: Claude Code <noreply@anthropic.com> Co-authored-by: tester <t@example.com>
Co-authored-by: roberttwang <roberttwang@tencent.com>
…ent#1149) Co-authored-by: roberttwang <roberttwang@tencent.com>
…1080) * fix(schedule): bound AI tasks and wait for SOP outcomes * test(schedule): verify tool lifetime within the execution deadline * fix(schedule): keep SOP dispatch out of terminal reply drafts * Use the test store when verifying conversation CLI version diagnostics * fix(schedule): honor frozen project scope when waiting for runs --------- Co-authored-by: roberttwang <roberttwang@tencent.com>
… none (Tencent#628) * fix(browser): capture a sharp frame when the settled screencast sends none Scrolling or dragging in the side browser restarts the screencast at half size, and 400 ms after input settles it restarts at full size. The view relied on Chromium re-sending the current page on each restart, but Chromium captures only on repaint and does not always do that. A page that stopped changing then left the panel on its last light frame, and TestBrowserScrollEndsOnASharpFrame failed in CI with "no frame" ten seconds after the wheel. When no frame arrives within 300 ms of the full-size restart, capture a screenshot and publish it, as attach already does for the first frame. The real-browser test no longer requires a light frame on a static page, which Chromium does not guarantee; it requires a sharp frame after the scroll settles. Also take the view lock in a fake-CDP test that cleared the session while a content-size read could be running. Co-authored-by: Cursor <cursoragent@cursor.com> * test(browser): cover ensureSettledFrame skip, failure and race paths Cover the branches the settled-frame test leaves open: input resuming, a tab switch or a frame arriving during the wait, a cancelled context, a failed or empty screenshot, and a frame arriving while the screenshot is taken (the screenshot must be dropped). Co-Authored-By: Claude Code <noreply@anthropic.com> * test(browser): sync settled-frame tests on the seq sample instead of sleeps TestEnsureSettledFrameKeepsTheViewWhenItShouldNotCapture and the second half of TestBrowserViewCapturesASharpFrameWhenTheSettledScreencastSendsNone changed the view after a millisecond sleep, so a late goroutine under CPU load raced ensureSettledFrame and failed the screenshot assertions. Add a per-view settledFrameSampled hook (nil in production) that runs right after ensureSettledFrame records the seq it waits on, and change the view or deliver the resent frame from it. Co-Authored-By: Claude Code <noreply@anthropic.com> * Use the test store when verifying conversation CLI version diagnostics --------- Co-authored-by: roberttwang <roberttwang@tencent.com> Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: fx-kurumi <cocofhu@vip.qq.com> Co-authored-by: Claude Code <noreply@anthropic.com> Co-authored-by: cocofhu <cocofhu@outlook.com> Co-authored-by: roberttwang <roberttwang@users.noreply.loopforge.invalid> Co-authored-by: tester <t@example.com>
…Tencent#1010) * feat(installer): replay the SOP 「发起 MR」 migration on install and pull migrations/033_generic_sop_mr_node.sql was not part of scripts/install-schema-extensions.sh, so an existing installation only gained the 「发起 MR」 node when an operator ran it by hand. ./start.sh pull upgraded the image but kept the seven-node templates, and every run still succeeded with its work branch unpushed. The installer and ./start.sh pull now replay it together with 001 and 031. The script is idempotent and rewrites a template only while its node graph and 交付汇总 position are the shipped original, so operator-edited templates and project copies are untouched. Behaviour change: after the upgrade a run of the backend, frontend and defect-fix SOPs needs a Git credential with push access; without one it stops at 发起 MR for a person instead of succeeding. * Migrate only untouched delivery graphs and exercise the installer fixture * Align the release upgrade note with automatic migration 033 * Use the test store when verifying conversation CLI version diagnostics --------- Co-authored-by: roberttwang <roberttwang@users.noreply.github.com> Co-authored-by: roberttwang <roberttwang@tencent.com>
…#1164) * fix(chat): preserve image inputs across conversation engines * fix(chat): enable image tool results in Kimi model prompts * fix(chat): retain MCP images for DeepSeek custom models * fix(chat): reuse native image tools and bound Claude input * fix(runner): finish Claude streamed turns after stdin closes * fix(chat): preserve attachment prompts and handle late stdin EOF * fix(chat): use native Kimi and ZCode image inputs * fix(chat): bound Claude image frames after Runner path rewriting --------- Co-authored-by: roberttwang <roberttwang@tencent.com>
…w comments (Tencent#1180) * fix(assistant): finish a turn after the CLI emits its terminal result A lingering CLI kept the generation running after the reply was already done, so queued follow-ups never sent. Stop the process after the same short drain ExecutorRunner uses, and treat that stop as a completed result. Co-authored-by: Cursor <cursoragent@cursor.com> * fix(ui): refine rail, language switch, image preview, and chat scrollbar Drop the icon-rail expand control, animate language changes, open chat images in place, and replace the conversation scrollbar with a slim overlay thumb. Co-authored-by: Cursor <cursoragent@cursor.com> * fix(chat): drop Cursor Auto route notices from streamed text Auto model switches were leaving the progress sentence twice, with "> Auto routed to …" glued onto the first copy. Ignore that notice and the repeated sentence, and do not append the buffer cursor-agent resends when a tool starts. Co-authored-by: Cursor <cursoragent@cursor.com> * test(e2e): accept both language controls in the public suite The first-run job checks the published image, which still uses one language button, while this checkout uses the segmented switch. Co-authored-by: Cursor <cursoragent@cursor.com> * fix: address review comments on merged Tencent#1176/Tencent#1177/Tencent#1178 - Cursor stream: treat only an identical timestamped chunk before a tool call as a buffer replay; a chunk that merely starts with the buffer is a normal increment. - Cursor stream: drop a repeated line only right after a real Auto route notice; repeated lines elsewhere stay. - Language switch: expose both options as role=radio so screen readers announce the selected language. Co-authored-by: Cursor <cursoragent@cursor.com> * fix(cursor): stream-filter Auto route notices per line and keep prose - Replace the whole-buffer strip on every chunk with a line-incremental filter shared by streaming and the final text, so a notice or the repeated progress sentence split across chunks never leaks, and each chunk only costs work on the unfinished line. - Only treat "Auto routed to <model>" at the end of a line, with a short ASCII model name containing a digit, as the notice; prose that mentions the phrase is no longer truncated. - A failed chat image opens in the artifact panel on click again. Co-authored-by: Cursor <cursoragent@cursor.com> --------- Co-authored-by: cocofhu <cocofhu@users.noreply.loopforge.invalid> Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: cocofhu <cocofhu@outlook.com>
…encent#1175) * fix(workspace): show Docker build progress without default timeouts * fix(workspace): distinguish Docker build stages in progress * fix(chat): preserve Docker build stage labels --------- Co-authored-by: crispinhu <353173575+crispinhu27@users.noreply.github.com>
* fix: isolate CodeBuddy model discovery per account * fix(chat): require a concrete model before sending * fix(chat): honor personal model defaults for legacy conversations --------- Co-authored-by: roberttwang <roberttwang@tencent.com>
* fix(sop): bind assistant-generated project roles * test(sop): check role route wiring * fix(sop): keep streamed node positions when applying edits * fix(runtime): accept EOF after conversation process exit * Restore the SOP canvas when a streamed edit is interrupted * fix(sop): capture the canvas after refreshing roles * fix(sop): open the role wizard from an assistant draft --------- Co-authored-by: roberttwang <roberttwang@tencent.com>
* Make CodeBuddy optional across platform model workflows * Preserve validation for legacy Bot model IDs * Keep CodeBuddy defaults while allowing alternate CLIs * Show concrete models in platform pickers * Separate executor and model choices for platform features * Cover the clarification model catalog route * Add personal executor and Git settings with account defaults * Cover executor onboarding and model picker races in browser flows * Keep first-run setup checks compatible with the pinned release * Exercise configured executors in browser acceptance tests * Redesign personal settings as editable lists * fix(chatbot): restore amber styling for the executor setup notice * fix(onboarding): configure Git and executors in quick access * fix(onboarding): explain credential setup and tighten the layout * fix(onboarding): return to quick access from executor settings * fix(sops): follow the responsible user's executor for built-in roles * fix(notifications): preserve Claude report-only execution * fix(sops): defer executor selection for unconfigured runs * fix(run-eval): ignore the model's untrusted total score * fix: complete responsible executor defaults and external host configuration * Verify configured integrations and pass their settings through Compose * Include the configured Codex executor in the role editor test * Label generic Git HTTPS repositories correctly * Test provider-neutral repository guidance in project chats * Verify scheduled baseline merges inside the repository checkout --------- Co-authored-by: roberttwang <roberttwang@tencent.com>
…#478) * feat: support project asset references in AI scheduled tasks * fix: address scheduled task review feedback * test: cover scheduled reference normalization and failures * fix: keep scheduled issue references scoped to each execution * test: initialize repository for conversation version diagnostics Use the existing workbench fixture so the conversation executor can load SSH host trust without dereferencing a nil repository. Keep the CLI version and source assertions intact. * feat(schedule): support project asset references and sharing * merge: reconcile scheduled tasks with latest upstream main * chore: sync latest upstream main changes * chore: sync newer upstream main changes * test: cover nested shared schedule dependencies * fix(chatbot): keep reference picker dismissed after Escape --------- Co-authored-by: shenchen <shenchen@yunzhangfang.com>
Codex falls back to its built-in metadata for a model it has never heard of. That metadata understates the context window of a model served by another gateway and makes the CLI warn on every turn, so a run against such a gateway truncates turns early and complains about a model the user deliberately configured. The platform now writes a model catalog next to the CLI's own configuration and passes it as model_catalog_json. The catalog describes the models of the user's personal catalog and of the gateway it points at, plus the model of the current turn. A model the gateway does not publish a window for gets a conservative one, because Codex's fallback is smaller still. A turn without a personal catalog and without a custom Base URL keeps the CLI's own catalog, which is right for OpenAI's own endpoint. A catalog that cannot be written does not fail the turn: the CLI still runs and only loses the real window.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
probe