Repository navigation
Conversation
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
…ngdotgg#41157) Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: Julius Marminge <julius0216@outlook.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…gg#39097) Co-authored-by: Simone <185146821+Lucenx9@users.noreply.github.com>
…gg#39478) Co-authored-by: Simone <185146821+Lucenx9@users.noreply.github.com>
…eadKey (pingdotgg#41143) Co-authored-by: Isaac-b-ux <264455269+Isaac-b-ux@users.noreply.github.com> Co-authored-by: Julius Marminge <julius0216@outlook.com>
…g#25537) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: SAPHID <saphid@users.noreply.github.com> Co-authored-by: shivam <91240327+shivamhwp@users.noreply.github.com> Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
…gdotgg#41168) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ll (pingdotgg#37585) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
… is latched (pingdotgg#41173) Co-authored-by: MarcoDotIO <20867620+MarcoDotIO@users.noreply.github.com> Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ingdotgg#41174) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…repository (pingdotgg#41177) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…real checkout (pingdotgg#41192) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…in from the corner (pingdotgg#41194)
pingdotgg#41191) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…link strings (pingdotgg#41193) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…g#41184) Co-authored-by: 137 <113233555+caezium@users.noreply.github.com>
…ges (pingdotgg#41196) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…s created (pingdotgg#36904) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…41199) Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…atalogs (pingdotgg#41214) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…tgg#30280) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…1746) Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
…out (pingdotgg#41742) Getting a link code through a linked environment now requires the scopes of the access level requested, and creating a guest link requires orchestration:read, in addition to access:write. The link dialog offers linking through another environment only when the session holds them. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…ans stay linear (pingdotgg#41747) Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
…n readiness (pingdotgg#41752) Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
…ts directly (pingdotgg#41753) Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
…ader (pingdotgg#41756) Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
…gdotgg#41737) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…gdotgg#30773) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ingdotgg#31169) Co-authored-by: maria-rcks <maria@kuuro.net> Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ups open web links only (pingdotgg#41757) Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
…t on (pingdotgg#41761) Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
…tgg#41769) Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
…that use them (pingdotgg#41765) Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
…gdotgg#41749) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…shares are handled more strictly (pingdotgg#41767) Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
…otgg#41773) Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
…ir trailing space (pingdotgg#41760) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…gg#30253) Co-authored-by: Julius Marminge <julius0216@outlook.com>
… is always consumed (pingdotgg#41778) Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
…ows directory (pingdotgg#41782) Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
…ingdotgg#41764) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…dotgg#41652) Co-authored-by: Julius Marminge <julius0216@outlook.com>
Sync shuv1337/s2code main (612212e) to upstream pingdotgg/t3code cd128e7 (714 upstream commits since merge base de0466f, 124 conflicted paths). Fork behaviour re-applied: - MCP PR origin-first default (#480): kept repository override and origin-first ChangeRequestRepository pinning in GitManager.ts and pullRequests/{tools,handlers}.ts while preserving upstream private PRs and rejecting private + repository. - S2 Connect relay (#476): kept fork relay config/tests; pointed infra/relay monitoring runbooks and web WorkflowRunsView guide URL to shuv1337/s2code; accepted upstream Workers Logs sampling in worker.ts. - Cursor SDK 1.4.2: adopted upstream @cursor/sdk@1.4.2 and CursorAgentSdkProcessRunner, kept @napi-rs/keyring + CursorKeychain, and ported s2code-retry.cjs into patches/@cursor__sdk@1.4.2.patch and dist/{cjs,esm}/977.js. - Per-child grouping (#473), shared MCP servers, provider pools, spent-quota account sync (PeerLinks.stored + PeerLinks.names), cross-project delegate_task (projectWorktreePath + poolLaunchSelection), ThreadFork delegatedFrom preservation, and auto-settlement. - Fork branding, product-ownership markers, CLI identity/channels, boot service channel units, WSL per-channel home/runtime paths, SSH guards, and release packaging (versioned AppImages for AUR, unsigned Windows packaging, Apple Speech macOS resources). - Regenerated web/mobile/desktop i18n catalogs, restored fork translations by key from origin/main, and updated agentContextBudget.json to exact measured values (6245 / 7639 / 62464). Deleted: - 4 upstream mobile preview/build workflows (.github/workflows/mobile-eas- preview{,-fork,-build}.yml, mobile-eas-production-build.yml) not used by this fork; kept fork workflows and ported mobile-eas-production.yml credential scoping. - 12 upstream-deleted old doc paths (docs/internals/{linux-snap-shot, remote,t3-connect,voice-input}.md, docs/operations/{android-notifications, connect-setup,development,mobile-app-store-screenshots,observability, relay-observability,release}.md, docs/orchestration-v2/ orchestrator-mcp-server.md); fork-only operational content moved to docs/operations/hosted-fork.md. - Obsolete patches/@cursor__sdk@1.3.1.patch (replaced by 1.4.2).
|
Diagnosis of the four CI failures at 3d3686e. I confirmed the causes by reading the code, but I haven't run the patch below. 1. Agent context budget: this needs a label, not a code change. The PR raises 2 and 3. Test Server 1 (
4. Test Server 2 ( Proposed patch (+5 lines, unrun): diff --git a/apps/server/src/cli/thread.test.ts b/apps/server/src/cli/thread.test.ts
index f71db1aa200..4e96321c5c7 100644
--- a/apps/server/src/cli/thread.test.ts
+++ b/apps/server/src/cli/thread.test.ts
@@ -61,6 +61,7 @@ it.effect("list includes delegated threads across pages and still leaves out sub
const fs = yield* FileSystem.FileSystem;
const path = yield* Path.Path;
const baseDir = yield* fs.makeTempDirectoryScoped({ prefix: "t3-thread-list-" });
+ yield* fs.writeFileString(path.join(baseDir, PRODUCT_HOME_MARKER), `${PRODUCT_ID}\n`);
yield* persistServerRuntimeState({
path: path.join(baseDir, "userdata", "server-runtime.json"),
state: yield* makePersistedServerRuntimeState({
diff --git a/apps/server/src/cli/workflow.test.ts b/apps/server/src/cli/workflow.test.ts
index 82b4705e45f..8b50596cdd1 100644
--- a/apps/server/src/cli/workflow.test.ts
+++ b/apps/server/src/cli/workflow.test.ts
@@ -3,6 +3,7 @@ import * as NodeServices from "@effect/platform-node/NodeServices";
import { assert, it } from "@effect/vitest";
import { AuthSessionId, type WorkflowRun } from "@t3tools/contracts";
import * as NetService from "@t3tools/shared/Net";
+import { PRODUCT_HOME_MARKER, PRODUCT_ID } from "@t3tools/shared/productIdentity";
import * as ConfigProvider from "effect/ConfigProvider";
import * as DateTime from "effect/DateTime";
import * as Effect from "effect/Effect";
@@ -63,6 +64,7 @@ const runCli = (
const fs = yield* FileSystem.FileSystem;
const path = yield* Path.Path;
const baseDir = yield* fs.makeTempDirectoryScoped({ prefix: "t3-workflow-cli-" });
+ yield* fs.writeFileString(path.join(baseDir, PRODUCT_HOME_MARKER), `${PRODUCT_ID}\n`);
yield* persistServerRuntimeState({
path: path.join(baseDir, "userdata", "server-runtime.json"),
state: yield* makePersistedServerRuntimeState({
diff --git a/apps/server/src/provider/ProviderInstanceRegistry.ts b/apps/server/src/provider/ProviderInstanceRegistry.ts
index b127c7119bf..f826c61b18a 100644
--- a/apps/server/src/provider/ProviderInstanceRegistry.ts
+++ b/apps/server/src/provider/ProviderInstanceRegistry.ts
@@ -76,6 +76,8 @@ const entryEqual = (a: ProviderInstanceConfig, b: ProviderInstanceConfig): boole
const withoutPresentation = ({
displayName: _displayName,
accentColor: _accentColor,
+ disableOnUsageLimit: _disableOnUsageLimit,
+ usageLimitDisabled: _usageLimitDisabled,
...runtime
}: ProviderInstanceConfig) => runtime;
|
Address Review Round 1 findings on sync/upstream-cd128e77 (on top of merge commit 3d3686e): 1. ProviderInstanceRegistry usage-limit policy: strip disableOnUsageLimit and usageLimitDisabled in entryEqual and runtimeEqual (via withoutUsageLimitPolicy) so policy toggles reconcile without rebuilding live provider instances while keeping presentationChanged strictly on displayName/accentColor. 2. CLI tests product marker: write PRODUCT_HOME_MARKER/PRODUCT_ID in thread.test.ts, workflow.test.ts, and feedback.test.ts, and match S2Code server-unreachable copy in feedback.test.ts. 3. Update CLI test shim: expect s2code.cmd in update.test.ts to match the fork's Windows shim name. 4. DesktopUpdates tests: verified packaged fork builds cannot cross channels on startup or via setChannel. Kept and adapted the two release-floor tests ("offers nothing below a track switch's checked release" and "keeps the current track's offers when a track switch fails to save") to packaged same-channel floor/rollback coverage. Removed four upstream cross-channel saved-track tests ("keeps a saved Stable track across a restart without offering an older release", "keeps a saved Nightly track across a restart without crossing on its own", "reports a track mismatch when the feed offers no release at all", and "does not name a blocked build track as the one to switch back to") because packaged fork builds pin to their install channel on startup while unpackaged dev builds disable auto-updates completely. 5. Browser test composer draft isolation: return a Disposable from setup() in ProjectSettingsPanel.browser.test.tsx (and clean storage in Sidebar.browser.test.tsx) so persisted drafts in localStorage cannot leak across browser test files. 6. GitManager PR base-branch check: resolve ChangeRequestRepository before ensurePrHeadIsNotBase so the base check runs under the resolved repository context; added unpushed-branch and repository-pin proof tests. 7. RFC links: update stale docs/internals links in docs/rfcs/watch-voice-control.md. 8. Dead WSL helper: remove unused buildWslRuntimeInvalidateScript from DesktopWslEnvironment.ts and its test. 9. Server shard 2/8 finding (watch admission vs. upstream e3ac310): apply holdRunAwaitingCapture to watch admission reads in Orchestrator.ts so requireIdle/requireActive/requireNativeSteerOf agree with dispatchOnce while turn-end checkpoint capture is in flight, and update fork-only WatchAdmission.integration.test.ts for runs settling to "completed". Model: Gemini 4 Neon (Antigravity)
Sync with upstream
pingdotgg/t3codemain, pinned atcd128e7774020aac59b30adffd537fc3dcf5563e.de0466fd80; 124 conflicted paths resolved.3d3686ed99: parents612212eb1c(forkmain) andcd128e7774(upstream pin). No rebase, squash or cherry-pick.0.1.11, same as upstream at the pin;apps/serverstaysprivate: true.Fork behaviour re-applied
origin(fix(server): MCP pull request tools default to origin, not upstream #480): upstream rewrotecreatePullRequestaspushAndOpenPullRequest(it now pushes first) and added private PRs. The repository is resolved before any push and pinned throughChangeRequestRepository;locatestays origin-first;pull_request_createkeepsrepositorynext to upstream'sprivate, and rejects the two together.@cursor/sdk@1.4.2and out-of-process runner adopted. The fork's retry guard is ported into the 1.4.2 patch because the unguarded retry loop is still in that bundle.delegate_task, auto-settle: kept alongside upstream's workflows, feedback and task-folder toolkits.PeerLinkskeeps bothstored(fork account sync) and upstream'snames.i18n:checkclean in web, mobile and desktop.Removed or redirected
mobile-eas-preview-build.ymlandmobile-eas-production-build.yml(new upstream, use upstream's runners and accounts) are not taken; the two preview workflows the fork had already deleted stay deleted.workflow-credentials.test.cjsis trimmed to the fork's workflows.docs/operations/hosted-fork.md.WORKFLOWS_GUIDE_URLand the relay monitor runbook links now point at this fork.Things to know
t3_feedbackwould report to upstream's PostHog project. It is off by default twice over:agentFeedback.modedefaults tooff, and delivery goes through telemetry, which is opt-in. Its settings copy still says "T3 team", which is accurate about where the data would go.apps/server/src/mcp/advertisedJsonSchema.ts; it only hardened the fallback. In the merged tree six tools still advertiseanyOf:delegate_task,create_threads,schedule_task,t3_thread_launch,t3_thread_send_attachments,t3_attachment_prepare_upload.mcpToolListJsonBytesgoes from 59198 to 62464. Upstream's own tool list grew by 4403 bytes (57321 to 61724); the fork's share on top of upstream shrinks from 1877 to 740. Needs theagent-context-increaselabel.Verification
Local: typecheck clean in all packages;
i18n:checkclean; focused suites for PR tools, relay, public config, release and branding, CLI and service, Cursor, MCP and budget, SSH, migrations all pass.check:changedpassed format, lint, knip, GraphQL and React compiler; its full test step (1,088 files) hit the script's 900 s timeout and was not completed locally. CI and CI Full run the full suites on this head.Merged by Gemini 4 Neon (Antigravity) in S2Code; planned by Claude Fable 5.2 and Gemini 4 Neon; PR opened by Claude Fable 5.2 (Claude Code).