chore: clear low-risk lint warnings

This commit is contained in:
ejclaw
2026-04-29 13:31:11 +09:00
parent 7ffd4c65e1
commit 4dcd4037f1
40 changed files with 36 additions and 161 deletions

View File

@@ -46,7 +46,6 @@ import {
extractAssistantText,
normalizeStructuredOutput,
readStdin,
type RunnerOutput,
writeOutput,
} from './output-protocol.js';
import {
@@ -409,7 +408,6 @@ async function runQuery(
(message as { subtype?: string }).subtype === 'task_progress'
) {
const tp = message as Record<string, unknown>;
const summary = typeof tp.summary === 'string' ? tp.summary : '';
const description =
typeof tp.description === 'string' ? tp.description : '';
const mapped = buildTaskProgressOutput(

View File

@@ -488,7 +488,7 @@ server.tool(
),
},
async (args) => {
let snapshotId = '';
let snapshotId: string;
try {
snapshotId = computeVerificationSnapshotId(REPO_ROOT);
} catch (error) {

View File

@@ -231,7 +231,7 @@ export function assertReadonlyWorkspaceRepoConnectivity(
return;
}
let originUrl = '';
let originUrl: string;
try {
originUrl = readGitOutput(
['config', '--get', 'remote.origin.url'],