Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/clis/boss/mark.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* 6=已交换微信, 7=不合适, 8=牛人发起, 11=收藏
*/
import { cli, Strategy } from '../../registry.js';
import { requirePage, navigateToChat, bossFetch, findFriendByUid, verbose } from './utils.js';
import { requirePage, navigateToChat, bossFetch, findFriendByUid, verbose } from './common.js';

Check failure on line 9 in src/clis/boss/mark.ts

View workflow job for this annotation

GitHub Actions / e2e-headed

Cannot find module './common.js' or its corresponding type declarations.

Check failure on line 9 in src/clis/boss/mark.ts

View workflow job for this annotation

GitHub Actions / build

Cannot find module './common.js' or its corresponding type declarations.
import { ArgumentError, EmptyResultError } from '../../errors.js';

const LABEL_MAP: Record<string, number> = {
Expand Down
2 changes: 1 addition & 1 deletion src/clis/boss/send.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import {
requirePage, navigateToChat, findFriendByUid,
clickCandidateInList, typeAndSendMessage,
} from './utils.js';
} from './common.js';

Check failure on line 11 in src/clis/boss/send.ts

View workflow job for this annotation

GitHub Actions / e2e-headed

Cannot find module './common.js' or its corresponding type declarations.

Check failure on line 11 in src/clis/boss/send.ts

View workflow job for this annotation

GitHub Actions / build

Cannot find module './common.js' or its corresponding type declarations.
import { EmptyResultError, SelectorError } from '../../errors.js';

cli({
Expand Down
2 changes: 1 addition & 1 deletion src/clis/chatgpt/ask.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { execSync, spawnSync } from 'node:child_process';
import { cli, Strategy } from '../../registry.js';
import { ConfigError } from '../../errors.js';
import { CommandExecutionError, ConfigError } from '../../errors.js';
import type { IPage } from '../../types.js';
import { getVisibleChatMessages } from './ax.js';

Expand Down
1 change: 1 addition & 0 deletions src/clis/chatgpt/status.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { execSync } from 'node:child_process';
import { cli, Strategy } from '../../registry.js';
import { CommandExecutionError, ConfigError } from '../../errors.js';

Check failure on line 3 in src/clis/chatgpt/status.ts

View workflow job for this annotation

GitHub Actions / e2e-headed

Duplicate identifier 'ConfigError'.

Check failure on line 3 in src/clis/chatgpt/status.ts

View workflow job for this annotation

GitHub Actions / build

Duplicate identifier 'ConfigError'.
import type { IPage } from '../../types.js';
import { ConfigError } from '../../errors.js';

Check failure on line 5 in src/clis/chatgpt/status.ts

View workflow job for this annotation

GitHub Actions / e2e-headed

Duplicate identifier 'ConfigError'.

Check failure on line 5 in src/clis/chatgpt/status.ts

View workflow job for this annotation

GitHub Actions / build

Duplicate identifier 'ConfigError'.

export const statusCommand = cli({
site: 'chatgpt',
Expand Down
Loading