style: apply biome formatting on phase3 touchpoints

Co-authored-by: cynarAI <cynarAI@users.noreply.github.com>
This commit is contained in:
Cursor Agent 2026-10-07 18:44:54 +00:00
parent 54240e3723
commit 542b07d068
No known key found for this signature in database
8 changed files with 20 additions and 24 deletions

View File

@ -1,7 +1,6 @@
import type { MessageDescriptor } from "@lingui/core"; import type { MessageDescriptor } from "@lingui/core";
import { msg } from "@lingui/core/macro"; import { msg } from "@lingui/core/macro";
import type { PersonaArchetype } from "./bot-persona"; import type { PersonaArchetype, VoiceAwarenessEvent } from "./bot-persona";
import type { VoiceAwarenessEvent } from "./bot-persona";
export function awarenessKindLabel(kind: VoiceAwarenessEvent["kind"]): MessageDescriptor { export function awarenessKindLabel(kind: VoiceAwarenessEvent["kind"]): MessageDescriptor {
switch (kind) { switch (kind) {
@ -79,7 +78,9 @@ function narrateHandoffDescriptor(
const line = text ? truncate(text, 72) : ""; const line = text ? truncate(text, 72) : "";
switch (archetype) { switch (archetype) {
case "cto-executive": 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": case "chief-operator":
return line ? msg`Handoff to ${target}: ${line}` : msg`Transferring to ${target}.`; return line ? msg`Handoff to ${target}: ${line}` : msg`Transferring to ${target}.`;
default: default:

View File

@ -8,11 +8,7 @@ import {
type VoiceTranscriptLine, type VoiceTranscriptLine,
} from "../components/voice/VoiceStage"; } from "../components/voice/VoiceStage";
import { narrateAwarenessDescriptor } from "../lib/awareness-persona-copy"; import { narrateAwarenessDescriptor } from "../lib/awareness-persona-copy";
import { import { cadencePulseMs, extractVoiceAwareness, resolveBotPersona } from "../lib/bot-persona";
cadencePulseMs,
extractVoiceAwareness,
resolveBotPersona,
} from "../lib/bot-persona";
import { import {
INVITE_MESSAGE_PREFIX, INVITE_MESSAGE_PREFIX,
isActiveRunStatus, isActiveRunStatus,

View File

@ -48,8 +48,8 @@ import {
screenUrlWithToken, screenUrlWithToken,
xdotoolCommand, xdotoolCommand,
} from "./computer-spec.js"; } from "./computer-spec.js";
import { assertComputerHomeWritable } from "./home-ownership.js";
import { mountGithubBrokerRoutes } from "./github-broker.js"; import { mountGithubBrokerRoutes } from "./github-broker.js";
import { assertComputerHomeWritable } from "./home-ownership.js";
import { import {
assertRequestIdentity, assertRequestIdentity,
attemptComputerControl, attemptComputerControl,

View File

@ -241,12 +241,6 @@ import {
ownerGithubEnvironmentForRun, ownerGithubEnvironmentForRun,
ownerGithubTokenForBroker, ownerGithubTokenForBroker,
} from "./deployment-github-token.js"; } 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 { resolveDeploymentModel } from "./deployment-model.js";
import { import {
missingTurnImagesInstruction, missingTurnImagesInstruction,
@ -297,6 +291,11 @@ import {
import type { ExecutorDeps } from "./executor-types.js"; import type { ExecutorDeps } from "./executor-types.js";
import { loadCurrentTurnImages, selectRunConnections } from "./executor-utils.js"; import { loadCurrentTurnImages, selectRunConnections } from "./executor-utils.js";
import { evaluateGitShellPolicy } from "./git-shell-policy.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 { handoffToGroupBot, loadGroupContext } from "./group-handoff.js";
import { import {
COMPACTION_BATCH_SIZE, COMPACTION_BATCH_SIZE,
@ -361,6 +360,7 @@ import {
searchChartCatalog, searchChartCatalog,
} from "./plot-tool.js"; } from "./plot-tool.js";
import { formatProductSelfModificationInstruction } from "./product-self-modification.js"; import { formatProductSelfModificationInstruction } from "./product-self-modification.js";
import { resolveProjectWorkspaceBind } from "./project-workspace-bind.js";
import { import {
tryRecoverProseHandoff, tryRecoverProseHandoff,
workshopFallbackAfterBlockedHandoff, workshopFallbackAfterBlockedHandoff,

View File

@ -1,8 +1,8 @@
export { export {
evaluateGitShellPolicy, evaluateGitShellPolicy,
type GitShellPolicyDecision,
type GitShellPolicyInput,
ghBrokerArgv, ghBrokerArgv,
gitNetworkArgv, gitNetworkArgv,
parseGitPushRef, parseGitPushRef,
type GitShellPolicyDecision,
type GitShellPolicyInput,
} from "@rakazo/core"; } from "@rakazo/core";

View File

@ -53,7 +53,10 @@ export async function registerGithubBrokerSession(input: GithubBrokerSessionInpu
} }
} }
export async function setGithubBrokerPushApproved(runId: string, pushApproved: boolean): Promise<void> { export async function setGithubBrokerPushApproved(
runId: string,
pushApproved: boolean,
): Promise<void> {
const base = supervisorBaseUrl(); const base = supervisorBaseUrl();
const headers = supervisorAuthHeaders(); const headers = supervisorAuthHeaders();
if (!base || !headers) return; if (!base || !headers) return;

View File

@ -84,11 +84,7 @@ export function gitNetworkArgv(argv: string[]): boolean {
if (argv.length === 0 || argv[0] !== "git") return false; if (argv.length === 0 || argv[0] !== "git") return false;
const sub = argv[1]; const sub = argv[1];
return ( return (
sub === "push" || sub === "push" || sub === "fetch" || sub === "pull" || sub === "clone" || sub === "ls-remote"
sub === "fetch" ||
sub === "pull" ||
sub === "clone" ||
sub === "ls-remote"
); );
} }

View File

@ -19,10 +19,10 @@ export * from "./computer-updates.js";
export * from "./cron.js"; export * from "./cron.js";
export * from "./delegated-tasks.js"; export * from "./delegated-tasks.js";
export * from "./events.js"; export * from "./events.js";
export * from "./featured-connectors.js";
export * from "./git-shell-policy.js"; export * from "./git-shell-policy.js";
export * from "./github-broker-token.js"; export * from "./github-broker-token.js";
export * from "./github-remote-allowlist.js"; export * from "./github-remote-allowlist.js";
export * from "./featured-connectors.js";
export * from "./group-mentions.js"; export * from "./group-mentions.js";
export * from "./http-response.js"; export * from "./http-response.js";
export * from "./mcp.js"; export * from "./mcp.js";