Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(server): agents can hand work to your other T3 Code machines #15966

Closedt3dotgg(GitHub profile, opens in a new tab)wants to merge 2 commits intomain fromt3code/cross-environment-mcp-delegationopened View on GitHub

Showing 73 changed files with 51 additions and 0 deletions (loading 70).

x
0 of 73 viewed, 73 left
3 additions and 0 deletionsapps/mobile/src/features/threads/ThreadRouteScreen.tsxModified
View file
@@ -484,9 +484,12 @@
​
/* ─── Native header theming ──────────────────────────────────────── */
const usesNativeHeaderGlass = NATIVE_LIQUID_GLASS_SUPPORTED;
+ const peerOriginLabel = selectedThread?.source.peerOrigin?.label;
const headerSubtitle = [
selectedThreadProject?.title ?? null,
selectedEnvironmentConnection?.environmentLabel ?? null,
+ // Another environment started this work through a peer grant.
+ peerOriginLabel === undefined ? null : `From peer: ${peerOriginLabel}`,
.filter(Boolean)
.join(" · ");
2 additions and 0 deletionsapps/server/src/auth/http.test.tsModified
View file
@@ -19,6 +19,7 @@
import * as EnvironmentAuth from "./EnvironmentAuth.ts";
import * as ServerSecretStore from "./ServerSecretStore.ts";
import { authHttpApiLayer, environmentAuthenticatedAuthLayer } from "./http.ts";
+import * as PeerGrantsTestkit from "../peer/PeerGrants.testkit.ts";
​
const DEV_TOKEN = "reusable-dev-auth-token-that-is-long-enough";
class AuthTestApi extends HttpApi.make("environment").add(EnvironmentHttpApi.groups.auth) {}
@@ -44,6 +45,7 @@
);
const routesLayer = HttpApiBuilder.layer(AuthTestApi).pipe(
Layer.provide(authHttpApiLayer),