fix(ci): resolve branch lint errors
This commit is contained in:
parent
bfc6a38668
commit
e1a85786e7
4 changed files with 7 additions and 7 deletions
|
|
@ -35,6 +35,7 @@ import { DEFAULT_TOOL_APPROVAL_SETTINGS } from '@shared/types/team';
|
||||||
import { resolveLanguageName } from '@shared/utils/agentLanguage';
|
import { resolveLanguageName } from '@shared/utils/agentLanguage';
|
||||||
import { getAnthropicDefaultTeamModel } from '@shared/utils/anthropicModelDefaults';
|
import { getAnthropicDefaultTeamModel } from '@shared/utils/anthropicModelDefaults';
|
||||||
import { parseCliArgs } from '@shared/utils/cliArgsParser';
|
import { parseCliArgs } from '@shared/utils/cliArgsParser';
|
||||||
|
import { deriveContextMetrics, inferContextWindowTokens } from '@shared/utils/contextMetrics';
|
||||||
import {
|
import {
|
||||||
isInboxNoiseMessage,
|
isInboxNoiseMessage,
|
||||||
isMeaningfulBootstrapCheckInMessage,
|
isMeaningfulBootstrapCheckInMessage,
|
||||||
|
|
@ -43,7 +44,6 @@ import {
|
||||||
} from '@shared/utils/inboxNoise';
|
} from '@shared/utils/inboxNoise';
|
||||||
import { isLeadAgentType, isLeadMember } from '@shared/utils/leadDetection';
|
import { isLeadAgentType, isLeadMember } from '@shared/utils/leadDetection';
|
||||||
import { createLogger } from '@shared/utils/logger';
|
import { createLogger } from '@shared/utils/logger';
|
||||||
import { deriveContextMetrics, inferContextWindowTokens } from '@shared/utils/contextMetrics';
|
|
||||||
import { isDefaultProviderModelSelection } from '@shared/utils/providerModelSelection';
|
import { isDefaultProviderModelSelection } from '@shared/utils/providerModelSelection';
|
||||||
import { formatTaskDisplayLabel } from '@shared/utils/taskIdentity';
|
import { formatTaskDisplayLabel } from '@shared/utils/taskIdentity';
|
||||||
import {
|
import {
|
||||||
|
|
@ -83,6 +83,7 @@ import { resolveTeamProviderId } from '../runtime/providerRuntimeEnv';
|
||||||
|
|
||||||
import { buildActionModeProtocol } from './actionModeInstructions';
|
import { buildActionModeProtocol } from './actionModeInstructions';
|
||||||
import { atomicWriteAsync } from './atomicWrite';
|
import { atomicWriteAsync } from './atomicWrite';
|
||||||
|
import { peekAutoResumeService } from './AutoResumeService';
|
||||||
import { ClaudeBinaryResolver } from './ClaudeBinaryResolver';
|
import { ClaudeBinaryResolver } from './ClaudeBinaryResolver';
|
||||||
import { withFileLock } from './fileLock';
|
import { withFileLock } from './fileLock';
|
||||||
import {
|
import {
|
||||||
|
|
@ -113,7 +114,6 @@ import { TeamMembersMetaStore } from './TeamMembersMetaStore';
|
||||||
import { TeamMetaStore } from './TeamMetaStore';
|
import { TeamMetaStore } from './TeamMetaStore';
|
||||||
import { TeamSentMessagesStore } from './TeamSentMessagesStore';
|
import { TeamSentMessagesStore } from './TeamSentMessagesStore';
|
||||||
import { TeamTaskReader } from './TeamTaskReader';
|
import { TeamTaskReader } from './TeamTaskReader';
|
||||||
import { peekAutoResumeService } from './AutoResumeService';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Kill a team CLI process using SIGKILL (uncatchable).
|
* Kill a team CLI process using SIGKILL (uncatchable).
|
||||||
|
|
|
||||||
|
|
@ -108,7 +108,6 @@ import type { KanbanSortState } from './kanban/KanbanSortPopover';
|
||||||
import type { ContextInjection } from '@renderer/types/contextInjection';
|
import type { ContextInjection } from '@renderer/types/contextInjection';
|
||||||
import type { Session } from '@renderer/types/data';
|
import type { Session } from '@renderer/types/data';
|
||||||
import type { InlineChip } from '@renderer/types/inlineChip';
|
import type { InlineChip } from '@renderer/types/inlineChip';
|
||||||
import type { ContextUsageLike } from '@shared/utils/contextMetrics';
|
|
||||||
import type {
|
import type {
|
||||||
MemberSpawnStatusEntry,
|
MemberSpawnStatusEntry,
|
||||||
ResolvedTeamMember,
|
ResolvedTeamMember,
|
||||||
|
|
@ -116,6 +115,7 @@ import type {
|
||||||
TeamTaskWithKanban,
|
TeamTaskWithKanban,
|
||||||
} from '@shared/types';
|
} from '@shared/types';
|
||||||
import type { EditorSelectionAction } from '@shared/types/editor';
|
import type { EditorSelectionAction } from '@shared/types/editor';
|
||||||
|
import type { ContextUsageLike } from '@shared/utils/contextMetrics';
|
||||||
|
|
||||||
interface TeamDetailViewProps {
|
interface TeamDetailViewProps {
|
||||||
teamName: string;
|
teamName: string;
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import type { TeamProviderId } from '@shared/types/team';
|
|
||||||
|
|
||||||
import { inferTeamProviderIdFromModel } from './teamProvider';
|
import { inferTeamProviderIdFromModel } from './teamProvider';
|
||||||
|
|
||||||
|
import type { TeamProviderId } from '@shared/types/team';
|
||||||
|
|
||||||
const ANTHROPIC_DEFAULT_CONTEXT_WINDOW = 200_000;
|
const ANTHROPIC_DEFAULT_CONTEXT_WINDOW = 200_000;
|
||||||
const ANTHROPIC_EXTENDED_CONTEXT_WINDOW = 1_000_000;
|
const ANTHROPIC_EXTENDED_CONTEXT_WINDOW = 1_000_000;
|
||||||
const OPENAI_COMPACT_CONTEXT_WINDOW = 200_000;
|
const OPENAI_COMPACT_CONTEXT_WINDOW = 200_000;
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ const contextStats: ContextStats = {
|
||||||
{
|
{
|
||||||
id: 'claude-md-1',
|
id: 'claude-md-1',
|
||||||
category: 'claude-md',
|
category: 'claude-md',
|
||||||
path: '/tmp/CLAUDE.md',
|
path: '/workspace/CLAUDE.md',
|
||||||
source: 'project-local',
|
source: 'project-local',
|
||||||
displayName: 'CLAUDE.md',
|
displayName: 'CLAUDE.md',
|
||||||
isGlobal: false,
|
isGlobal: false,
|
||||||
|
|
@ -22,7 +22,7 @@ const contextStats: ContextStats = {
|
||||||
{
|
{
|
||||||
id: 'mentioned-file-1',
|
id: 'mentioned-file-1',
|
||||||
category: 'mentioned-file',
|
category: 'mentioned-file',
|
||||||
path: '/tmp/file.ts',
|
path: '/workspace/file.ts',
|
||||||
displayName: 'file.ts',
|
displayName: 'file.ts',
|
||||||
estimatedTokens: 300,
|
estimatedTokens: 300,
|
||||||
firstSeenTurnIndex: 0,
|
firstSeenTurnIndex: 0,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue