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 { 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:

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -1,8 +1,8 @@
export {
evaluateGitShellPolicy,
type GitShellPolicyDecision,
type GitShellPolicyInput,
ghBrokerArgv,
gitNetworkArgv,
parseGitPushRef,
type GitShellPolicyDecision,
type GitShellPolicyInput,
} 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 headers = supervisorAuthHeaders();
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;
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"
);
}

View File

@ -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";