From 542b07d0684aa710f6c507abd3435ae372275a05 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Wed, 7 Oct 2026 18:44:54 +0000 Subject: [PATCH] style: apply biome formatting on phase3 touchpoints Co-authored-by: cynarAI --- apps/web/src/lib/awareness-persona-copy.ts | 7 ++++--- apps/web/src/pages/CallView.tsx | 6 +----- infra/sandboxes/supervisor/src/index.ts | 2 +- packages/adapters/src/executor.ts | 12 ++++++------ packages/adapters/src/git-shell-policy.ts | 4 ++-- packages/adapters/src/github-broker-client.ts | 5 ++++- packages/core/src/git-shell-policy.ts | 6 +----- packages/core/src/index.ts | 2 +- 8 files changed, 20 insertions(+), 24 deletions(-) diff --git a/apps/web/src/lib/awareness-persona-copy.ts b/apps/web/src/lib/awareness-persona-copy.ts index 3b116e8..d82ac87 100644 --- a/apps/web/src/lib/awareness-persona-copy.ts +++ b/apps/web/src/lib/awareness-persona-copy.ts @@ -1,7 +1,6 @@ import type { MessageDescriptor } from "@lingui/core"; import { msg } from "@lingui/core/macro"; -import type { PersonaArchetype } from "./bot-persona"; -import type { VoiceAwarenessEvent } from "./bot-persona"; +import type { PersonaArchetype, VoiceAwarenessEvent } from "./bot-persona"; export function awarenessKindLabel(kind: VoiceAwarenessEvent["kind"]): MessageDescriptor { switch (kind) { @@ -79,7 +78,9 @@ function narrateHandoffDescriptor( const line = text ? truncate(text, 72) : ""; switch (archetype) { case "cto-executive": - return line ? msg`Passing the baton to ${target} — ${line}` : msg`This goes to ${target} now.`; + return line + ? msg`Passing the baton to ${target} — ${line}` + : msg`This goes to ${target} now.`; case "chief-operator": return line ? msg`Handoff to ${target}: ${line}` : msg`Transferring to ${target}.`; default: diff --git a/apps/web/src/pages/CallView.tsx b/apps/web/src/pages/CallView.tsx index d9f91f5..96fc212 100644 --- a/apps/web/src/pages/CallView.tsx +++ b/apps/web/src/pages/CallView.tsx @@ -8,11 +8,7 @@ import { type VoiceTranscriptLine, } from "../components/voice/VoiceStage"; import { narrateAwarenessDescriptor } from "../lib/awareness-persona-copy"; -import { - cadencePulseMs, - extractVoiceAwareness, - resolveBotPersona, -} from "../lib/bot-persona"; +import { cadencePulseMs, extractVoiceAwareness, resolveBotPersona } from "../lib/bot-persona"; import { INVITE_MESSAGE_PREFIX, isActiveRunStatus, diff --git a/infra/sandboxes/supervisor/src/index.ts b/infra/sandboxes/supervisor/src/index.ts index b1c17dd..0fa6c8a 100644 --- a/infra/sandboxes/supervisor/src/index.ts +++ b/infra/sandboxes/supervisor/src/index.ts @@ -48,8 +48,8 @@ import { screenUrlWithToken, xdotoolCommand, } from "./computer-spec.js"; -import { assertComputerHomeWritable } from "./home-ownership.js"; import { mountGithubBrokerRoutes } from "./github-broker.js"; +import { assertComputerHomeWritable } from "./home-ownership.js"; import { assertRequestIdentity, attemptComputerControl, diff --git a/packages/adapters/src/executor.ts b/packages/adapters/src/executor.ts index a9708b6..eb8207c 100644 --- a/packages/adapters/src/executor.ts +++ b/packages/adapters/src/executor.ts @@ -241,12 +241,6 @@ import { ownerGithubEnvironmentForRun, ownerGithubTokenForBroker, } from "./deployment-github-token.js"; -import { - deleteGithubBrokerSession, - registerGithubBrokerSession, - setGithubBrokerPushApproved, -} from "./github-broker-client.js"; -import { resolveProjectWorkspaceBind } from "./project-workspace-bind.js"; import { resolveDeploymentModel } from "./deployment-model.js"; import { missingTurnImagesInstruction, @@ -297,6 +291,11 @@ import { import type { ExecutorDeps } from "./executor-types.js"; import { loadCurrentTurnImages, selectRunConnections } from "./executor-utils.js"; import { evaluateGitShellPolicy } from "./git-shell-policy.js"; +import { + deleteGithubBrokerSession, + registerGithubBrokerSession, + setGithubBrokerPushApproved, +} from "./github-broker-client.js"; import { handoffToGroupBot, loadGroupContext } from "./group-handoff.js"; import { COMPACTION_BATCH_SIZE, @@ -361,6 +360,7 @@ import { searchChartCatalog, } from "./plot-tool.js"; import { formatProductSelfModificationInstruction } from "./product-self-modification.js"; +import { resolveProjectWorkspaceBind } from "./project-workspace-bind.js"; import { tryRecoverProseHandoff, workshopFallbackAfterBlockedHandoff, diff --git a/packages/adapters/src/git-shell-policy.ts b/packages/adapters/src/git-shell-policy.ts index 95f89a7..ac1bb6b 100644 --- a/packages/adapters/src/git-shell-policy.ts +++ b/packages/adapters/src/git-shell-policy.ts @@ -1,8 +1,8 @@ export { evaluateGitShellPolicy, + type GitShellPolicyDecision, + type GitShellPolicyInput, ghBrokerArgv, gitNetworkArgv, parseGitPushRef, - type GitShellPolicyDecision, - type GitShellPolicyInput, } from "@rakazo/core"; diff --git a/packages/adapters/src/github-broker-client.ts b/packages/adapters/src/github-broker-client.ts index d5016cf..c35c868 100644 --- a/packages/adapters/src/github-broker-client.ts +++ b/packages/adapters/src/github-broker-client.ts @@ -53,7 +53,10 @@ export async function registerGithubBrokerSession(input: GithubBrokerSessionInpu } } -export async function setGithubBrokerPushApproved(runId: string, pushApproved: boolean): Promise { +export async function setGithubBrokerPushApproved( + runId: string, + pushApproved: boolean, +): Promise { const base = supervisorBaseUrl(); const headers = supervisorAuthHeaders(); if (!base || !headers) return; diff --git a/packages/core/src/git-shell-policy.ts b/packages/core/src/git-shell-policy.ts index e89bb8d..aefdb7d 100644 --- a/packages/core/src/git-shell-policy.ts +++ b/packages/core/src/git-shell-policy.ts @@ -84,11 +84,7 @@ export function gitNetworkArgv(argv: string[]): boolean { if (argv.length === 0 || argv[0] !== "git") return false; const sub = argv[1]; return ( - sub === "push" || - sub === "fetch" || - sub === "pull" || - sub === "clone" || - sub === "ls-remote" + sub === "push" || sub === "fetch" || sub === "pull" || sub === "clone" || sub === "ls-remote" ); } diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts index 311a7b1..5541ff1 100644 --- a/packages/core/src/index.ts +++ b/packages/core/src/index.ts @@ -19,10 +19,10 @@ export * from "./computer-updates.js"; export * from "./cron.js"; export * from "./delegated-tasks.js"; export * from "./events.js"; +export * from "./featured-connectors.js"; export * from "./git-shell-policy.js"; export * from "./github-broker-token.js"; export * from "./github-remote-allowlist.js"; -export * from "./featured-connectors.js"; export * from "./group-mentions.js"; export * from "./http-response.js"; export * from "./mcp.js";