Skip to content

Commit 5046cbc

Browse files
committed
refactor: trim local type exports
1 parent 23fd8a9 commit 5046cbc

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/agents/internal-events.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
INTERNAL_RUNTIME_CONTEXT_END,
1010
} from "./internal-runtime-context.js";
1111

12-
export type AgentTaskCompletionInternalEvent = {
12+
type AgentTaskCompletionInternalEvent = {
1313
type: typeof AGENT_INTERNAL_EVENT_TYPE_TASK_COMPLETION;
1414
source: AgentInternalEventSource;
1515
childSessionKey: string;

src/cli/command-catalog.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@ export type CliCommandPluginLoadPolicy =
55
| "always"
66
| "text-only"
77
| ((ctx: { argv: string[]; commandPath: string[]; jsonOutputMode: boolean }) => boolean);
8-
export type CliRouteConfigGuardPolicy = "never" | "always" | "when-suppressed";
8+
type CliRouteConfigGuardPolicy = "never" | "always" | "when-suppressed";
99
export type CliPluginRegistryScope = "all" | "channels" | "configured-channels";
1010
export type CliPluginRegistryPolicy = {
1111
scope: CliPluginRegistryScope;
1212
};
1313
export type CliNetworkProxyPolicy = "default" | "bypass";
14-
export type CliNetworkProxyPolicyResolver =
14+
type CliNetworkProxyPolicyResolver =
1515
| CliNetworkProxyPolicy
1616
| ((ctx: { argv: string[]; commandPath: string[] }) => CliNetworkProxyPolicy);
17-
export type CliRoutedCommandId =
17+
type CliRoutedCommandId =
1818
| "health"
1919
| "status"
2020
| "gateway-status"

src/cli/command-path-matches.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
export type StructuredCommandPathMatchRule = {
1+
type StructuredCommandPathMatchRule = {
22
pattern: readonly string[];
33
exact?: boolean;
44
};
55

6-
export type CommandPathMatchRule = readonly string[] | StructuredCommandPathMatchRule;
6+
type CommandPathMatchRule = readonly string[] | StructuredCommandPathMatchRule;
77

88
type NormalizedCommandPathMatchRule = {
99
pattern: readonly string[];

0 commit comments

Comments
 (0)