Skip to content

Commit c53b35c

Browse files
committed
fix!: change shard-args -> shard-args.internal
1 parent 08b36b3 commit c53b35c

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

src/commands/daily.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
import { loadDailyUsageData } from '../data-loader.ts';
1111
import { detectMismatches, printMismatchReport } from '../debug.ts';
1212
import { log, logger } from '../logger.ts';
13-
import { sharedCommandConfig } from '../shared-args.ts';
13+
import { sharedCommandConfig } from '../shared-args.internal.ts';
1414
import { formatCurrency, formatNumber } from '../utils.ts';
1515

1616
export const dailyCommand = define({

src/commands/mcp.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { define } from 'gunshi';
22
import { logger } from '../logger.ts';
33
import { createMcpServer } from '../mcp.ts';
4-
import { sharedArgs } from '../shared-args.ts';
4+
import { sharedArgs } from '../shared-args.internal.ts';
55

66
export const mcpCommand = define({
77
name: 'mcp',

src/commands/monthly.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
import { loadMonthlyUsageData } from '../data-loader.ts';
1111
import { detectMismatches, printMismatchReport } from '../debug.ts';
1212
import { log, logger } from '../logger.ts';
13-
import { sharedCommandConfig } from '../shared-args.ts';
13+
import { sharedCommandConfig } from '../shared-args.internal.ts';
1414
import { formatCurrency, formatNumber } from '../utils.ts';
1515

1616
export const monthlyCommand = define({

src/commands/session.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
import { loadSessionData } from '../data-loader.ts';
1111
import { detectMismatches, printMismatchReport } from '../debug.ts';
1212
import { log, logger } from '../logger.ts';
13-
import { sharedCommandConfig } from '../shared-args.ts';
13+
import { sharedCommandConfig } from '../shared-args.internal.ts';
1414
import { formatCurrency, formatNumber } from '../utils.ts';
1515

1616
export const sessionCommand = define({

src/data-loader.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { CostMode, SortOrder } from './types.internal';
1+
import type { CostMode, SortOrder } from './types.internal.ts';
22
import { readFile } from 'node:fs/promises';
33
import { homedir } from 'node:os';
44
import path from 'node:path';

src/mcp.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { LoadOptions } from './data-loader';
2-
import type { CostMode } from './types.internal';
2+
import type { CostMode } from './types.internal.ts';
33
import { FastMCP } from 'fastmcp';
44
import * as v from 'valibot';
55

@@ -9,7 +9,7 @@ import {
99
loadDailyUsageData,
1010
loadSessionData,
1111
} from './data-loader';
12-
import { CostModes, dateSchema } from './types.internal';
12+
import { CostModes, dateSchema } from './types.internal.ts';
1313

1414
const sinceSchema = v.pipe(
1515
dateSchema,

src/shared-args.ts renamed to src/shared-args.internal.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import type { Args } from 'gunshi';
2-
import type { CostMode, SortOrder } from './types.internal';
2+
import type { CostMode, SortOrder } from './types.internal.ts';
33
import * as v from 'valibot';
44
import { getDefaultClaudePath } from './data-loader';
5-
import { CostModes, dateSchema, SortOrders } from './types.internal';
5+
import { CostModes, dateSchema, SortOrders } from './types.internal.ts';
66

77
function parseDateArg(value: string): string {
88
const result = v.safeParse(dateSchema, value);

0 commit comments

Comments
 (0)