Commit e4c007f
refactor: remove unused exports from internal modules (#2465)
* refactor: remove unused exports from internal modules
Remove export keyword from symbols that are never imported outside
their defining module (including tests). This reduces the public API
surface and clarifies which symbols are internal implementation details.
Symbols de-exported:
- domain-patterns.ts: DomainProtocol, ParsedDomain, ParsedDomainList
- cli.ts: AgentImageResult, ApiProxyValidationResult,
FlagValidationResult, LocalhostProcessingResult
- pid-tracker.ts: NetTcpEntry
- logs-stats.ts: StatsFormat
- logs-summary.ts: SummaryFormat
- logs-command-helpers.ts: LoggingOptions
- commands/logs.ts: LogsCommandOptions
- logs/log-streamer.ts: StreamOptions
- logs/index.ts: removed StreamOptions re-export
- config-file.ts: AwfFileConfig
- image-tag.ts: ImageDigestKey, ParsedImageTag
- rules.ts: Rule
- docker-manager.ts: SslConfig
Closes #2448, closes #2449, closes #2452, closes #2457, closes #2458,
closes #2459, closes #2460, closes #2461
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* revert: restore exported symbols and remove unrelated files
Per review feedback, removing export from types compiled to dist/*.d.ts
(no exports map) is a breaking API change for downstream consumers.
Restore export on all de-exported symbols and remove the unrelated
paper-data JSON and scripts/paper PNG files accidentally included.
Agent-Logs-Url: https://github.com/github/gh-aw-firewall/sessions/934b1db5-a5f3-44f6-a314-0f59e77f4e10
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>1 parent a791df8 commit e4c007f
0 file changed
0 commit comments