hetzner-cli 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (117) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +907 -0
  3. package/dist/auction/client.d.ts +4 -0
  4. package/dist/auction/client.js +103 -0
  5. package/dist/auction/commands.d.ts +2 -0
  6. package/dist/auction/commands.js +138 -0
  7. package/dist/auction/formatter.d.ts +3 -0
  8. package/dist/auction/formatter.js +87 -0
  9. package/dist/cli.d.ts +2 -0
  10. package/dist/cli.js +39 -0
  11. package/dist/client.d.ts +2 -0
  12. package/dist/client.js +4 -0
  13. package/dist/cloud/client.d.ts +511 -0
  14. package/dist/cloud/client.js +706 -0
  15. package/dist/cloud/commands/certificate.d.ts +2 -0
  16. package/dist/cloud/commands/certificate.js +77 -0
  17. package/dist/cloud/commands/context.d.ts +2 -0
  18. package/dist/cloud/commands/context.js +78 -0
  19. package/dist/cloud/commands/datacenter.d.ts +2 -0
  20. package/dist/cloud/commands/datacenter.js +20 -0
  21. package/dist/cloud/commands/firewall.d.ts +2 -0
  22. package/dist/cloud/commands/firewall.js +77 -0
  23. package/dist/cloud/commands/floating-ip.d.ts +2 -0
  24. package/dist/cloud/commands/floating-ip.js +83 -0
  25. package/dist/cloud/commands/image.d.ts +2 -0
  26. package/dist/cloud/commands/image.js +60 -0
  27. package/dist/cloud/commands/index.d.ts +2 -0
  28. package/dist/cloud/commands/index.js +41 -0
  29. package/dist/cloud/commands/iso.d.ts +2 -0
  30. package/dist/cloud/commands/iso.js +22 -0
  31. package/dist/cloud/commands/load-balancer-type.d.ts +2 -0
  32. package/dist/cloud/commands/load-balancer-type.js +20 -0
  33. package/dist/cloud/commands/load-balancer.d.ts +2 -0
  34. package/dist/cloud/commands/load-balancer.js +177 -0
  35. package/dist/cloud/commands/location.d.ts +2 -0
  36. package/dist/cloud/commands/location.js +20 -0
  37. package/dist/cloud/commands/network.d.ts +2 -0
  38. package/dist/cloud/commands/network.js +96 -0
  39. package/dist/cloud/commands/placement-group.d.ts +2 -0
  40. package/dist/cloud/commands/placement-group.js +53 -0
  41. package/dist/cloud/commands/primary-ip.d.ts +2 -0
  42. package/dist/cloud/commands/primary-ip.js +83 -0
  43. package/dist/cloud/commands/server-type.d.ts +2 -0
  44. package/dist/cloud/commands/server-type.js +20 -0
  45. package/dist/cloud/commands/server.d.ts +2 -0
  46. package/dist/cloud/commands/server.js +260 -0
  47. package/dist/cloud/commands/ssh-key.d.ts +2 -0
  48. package/dist/cloud/commands/ssh-key.js +63 -0
  49. package/dist/cloud/commands/volume.d.ts +2 -0
  50. package/dist/cloud/commands/volume.js +92 -0
  51. package/dist/cloud/context.d.ts +28 -0
  52. package/dist/cloud/context.js +172 -0
  53. package/dist/cloud/formatter.d.ts +37 -0
  54. package/dist/cloud/formatter.js +413 -0
  55. package/dist/cloud/helpers.d.ts +18 -0
  56. package/dist/cloud/helpers.js +48 -0
  57. package/dist/cloud/types.d.ts +398 -0
  58. package/dist/cloud/types.js +5 -0
  59. package/dist/config.d.ts +1 -0
  60. package/dist/config.js +2 -0
  61. package/dist/formatter.d.ts +3 -0
  62. package/dist/formatter.js +6 -0
  63. package/dist/index.d.ts +10 -0
  64. package/dist/index.js +17 -0
  65. package/dist/robot/client.d.ts +256 -0
  66. package/dist/robot/client.js +656 -0
  67. package/dist/robot/commands/auth.d.ts +2 -0
  68. package/dist/robot/commands/auth.js +54 -0
  69. package/dist/robot/commands/boot.d.ts +2 -0
  70. package/dist/robot/commands/boot.js +72 -0
  71. package/dist/robot/commands/cancel.d.ts +2 -0
  72. package/dist/robot/commands/cancel.js +36 -0
  73. package/dist/robot/commands/failover.d.ts +2 -0
  74. package/dist/robot/commands/failover.js +42 -0
  75. package/dist/robot/commands/firewall.d.ts +2 -0
  76. package/dist/robot/commands/firewall.js +66 -0
  77. package/dist/robot/commands/index.d.ts +2 -0
  78. package/dist/robot/commands/index.js +36 -0
  79. package/dist/robot/commands/interactive.d.ts +2 -0
  80. package/dist/robot/commands/interactive.js +134 -0
  81. package/dist/robot/commands/ip.d.ts +2 -0
  82. package/dist/robot/commands/ip.js +52 -0
  83. package/dist/robot/commands/key.d.ts +2 -0
  84. package/dist/robot/commands/key.js +64 -0
  85. package/dist/robot/commands/order.d.ts +2 -0
  86. package/dist/robot/commands/order.js +33 -0
  87. package/dist/robot/commands/rdns.d.ts +2 -0
  88. package/dist/robot/commands/rdns.js +41 -0
  89. package/dist/robot/commands/reset.d.ts +2 -0
  90. package/dist/robot/commands/reset.js +77 -0
  91. package/dist/robot/commands/server.d.ts +2 -0
  92. package/dist/robot/commands/server.js +29 -0
  93. package/dist/robot/commands/storagebox.d.ts +2 -0
  94. package/dist/robot/commands/storagebox.js +116 -0
  95. package/dist/robot/commands/subnet.d.ts +2 -0
  96. package/dist/robot/commands/subnet.js +21 -0
  97. package/dist/robot/commands/traffic.d.ts +2 -0
  98. package/dist/robot/commands/traffic.js +20 -0
  99. package/dist/robot/commands/vswitch.d.ts +2 -0
  100. package/dist/robot/commands/vswitch.js +64 -0
  101. package/dist/robot/commands/wol.d.ts +2 -0
  102. package/dist/robot/commands/wol.js +20 -0
  103. package/dist/robot/formatter.d.ts +58 -0
  104. package/dist/robot/formatter.js +500 -0
  105. package/dist/robot/types.d.ts +352 -0
  106. package/dist/robot/types.js +5 -0
  107. package/dist/shared/config.d.ts +86 -0
  108. package/dist/shared/config.js +273 -0
  109. package/dist/shared/formatter.d.ts +29 -0
  110. package/dist/shared/formatter.js +118 -0
  111. package/dist/shared/helpers.d.ts +17 -0
  112. package/dist/shared/helpers.js +72 -0
  113. package/dist/shared/reference.d.ts +2 -0
  114. package/dist/shared/reference.js +626 -0
  115. package/dist/types.d.ts +75 -0
  116. package/dist/types.js +1 -0
  117. package/package.json +112 -0
@@ -0,0 +1,398 @@
1
+ export type Labels = Record<string, string>;
2
+ export interface CloudAction {
3
+ id: number;
4
+ command: string;
5
+ status: 'running' | 'success' | 'error';
6
+ progress: number;
7
+ started: string;
8
+ finished: string | null;
9
+ resources: {
10
+ id: number;
11
+ type: string;
12
+ }[];
13
+ error: {
14
+ code: string;
15
+ message: string;
16
+ } | null;
17
+ }
18
+ export interface PaginationMeta {
19
+ pagination: {
20
+ page: number;
21
+ per_page: number;
22
+ previous_page: number | null;
23
+ next_page: number | null;
24
+ last_page: number;
25
+ total_entries: number;
26
+ };
27
+ }
28
+ export interface CloudApiError {
29
+ error: {
30
+ code: string;
31
+ message: string;
32
+ details?: unknown;
33
+ };
34
+ }
35
+ export interface Protection {
36
+ delete: boolean;
37
+ rebuild?: boolean;
38
+ }
39
+ export interface Datacenter {
40
+ id: number;
41
+ name: string;
42
+ description: string;
43
+ location: Location;
44
+ server_types: {
45
+ supported: number[];
46
+ available: number[];
47
+ available_for_migration: number[];
48
+ };
49
+ }
50
+ export interface Location {
51
+ id: number;
52
+ name: string;
53
+ description: string;
54
+ country: string;
55
+ city: string;
56
+ latitude: number;
57
+ longitude: number;
58
+ network_zone: string;
59
+ }
60
+ export interface ServerType {
61
+ id: number;
62
+ name: string;
63
+ description: string;
64
+ cores: number;
65
+ memory: number;
66
+ disk: number;
67
+ storage_type: 'local' | 'network';
68
+ cpu_type: 'shared' | 'dedicated';
69
+ architecture: 'x86' | 'arm';
70
+ deprecated: boolean;
71
+ deprecation?: {
72
+ announced: string;
73
+ unavailable_after: string;
74
+ } | null;
75
+ prices: ServerTypePrice[];
76
+ }
77
+ export interface ServerTypePrice {
78
+ location: string;
79
+ price_hourly: {
80
+ net: string;
81
+ gross: string;
82
+ };
83
+ price_monthly: {
84
+ net: string;
85
+ gross: string;
86
+ };
87
+ included_traffic: number;
88
+ }
89
+ export interface ISO {
90
+ id: number;
91
+ name: string;
92
+ description: string;
93
+ type: 'public' | 'private';
94
+ deprecation?: {
95
+ announced: string;
96
+ unavailable_after: string;
97
+ } | null;
98
+ architecture: 'x86' | 'arm' | null;
99
+ }
100
+ export interface Image {
101
+ id: number;
102
+ type: 'system' | 'snapshot' | 'backup' | 'app';
103
+ status: 'available' | 'creating' | 'unavailable';
104
+ name: string | null;
105
+ description: string;
106
+ image_size: number | null;
107
+ disk_size: number;
108
+ created: string;
109
+ created_from: {
110
+ id: number;
111
+ name: string;
112
+ } | null;
113
+ bound_to: number | null;
114
+ os_flavor: string;
115
+ os_version: string | null;
116
+ architecture: 'x86' | 'arm';
117
+ rapid_deploy: boolean;
118
+ protection: Protection;
119
+ deprecated: string | null;
120
+ deleted: string | null;
121
+ labels: Labels;
122
+ }
123
+ export interface CloudSshKey {
124
+ id: number;
125
+ name: string;
126
+ fingerprint: string;
127
+ public_key: string;
128
+ labels: Labels;
129
+ created: string;
130
+ }
131
+ export interface CloudServer {
132
+ id: number;
133
+ name: string;
134
+ status: 'running' | 'initializing' | 'starting' | 'stopping' | 'off' | 'deleting' | 'migrating' | 'rebuilding' | 'unknown';
135
+ public_net: {
136
+ ipv4: {
137
+ ip: string;
138
+ dns_ptr: string;
139
+ blocked: boolean;
140
+ } | null;
141
+ ipv6: {
142
+ ip: string;
143
+ dns_ptr: {
144
+ ip: string;
145
+ dns_ptr: string;
146
+ }[];
147
+ blocked: boolean;
148
+ } | null;
149
+ floating_ips: number[];
150
+ firewalls: {
151
+ id: number;
152
+ status: 'applied' | 'pending';
153
+ }[];
154
+ };
155
+ private_net: {
156
+ network: number;
157
+ ip: string;
158
+ alias_ips: string[];
159
+ mac_address: string;
160
+ }[];
161
+ server_type: ServerType;
162
+ datacenter: Datacenter;
163
+ image: Image | null;
164
+ iso: ISO | null;
165
+ rescue_enabled: boolean;
166
+ locked: boolean;
167
+ backup_window: string | null;
168
+ outgoing_traffic: number | null;
169
+ ingoing_traffic: number | null;
170
+ included_traffic: number;
171
+ protection: Protection;
172
+ labels: Labels;
173
+ volumes: number[];
174
+ load_balancers: number[];
175
+ primary_disk_size: number;
176
+ created: string;
177
+ placement_group?: {
178
+ id: number;
179
+ name: string;
180
+ type: string;
181
+ } | null;
182
+ }
183
+ export interface Network {
184
+ id: number;
185
+ name: string;
186
+ ip_range: string;
187
+ subnets: NetworkSubnet[];
188
+ routes: NetworkRoute[];
189
+ servers: number[];
190
+ load_balancers: number[];
191
+ protection: Protection;
192
+ labels: Labels;
193
+ created: string;
194
+ expose_routes_to_vswitch: boolean;
195
+ }
196
+ export interface NetworkSubnet {
197
+ type: 'cloud' | 'server' | 'vswitch';
198
+ ip_range: string;
199
+ network_zone: string;
200
+ gateway: string;
201
+ vswitch_id?: number | null;
202
+ }
203
+ export interface NetworkRoute {
204
+ destination: string;
205
+ gateway: string;
206
+ }
207
+ export interface CloudFirewall {
208
+ id: number;
209
+ name: string;
210
+ labels: Labels;
211
+ rules: CloudFirewallRule[];
212
+ applied_to: CloudFirewallAppliedTo[];
213
+ created: string;
214
+ }
215
+ export interface CloudFirewallRule {
216
+ direction: 'in' | 'out';
217
+ protocol: 'tcp' | 'udp' | 'icmp' | 'esp' | 'gre';
218
+ port: string | null;
219
+ source_ips: string[];
220
+ destination_ips: string[];
221
+ description: string | null;
222
+ }
223
+ export interface CloudFirewallAppliedTo {
224
+ type: 'server' | 'label_selector';
225
+ server?: {
226
+ id: number;
227
+ };
228
+ label_selector?: {
229
+ selector: string;
230
+ };
231
+ }
232
+ export interface FloatingIp {
233
+ id: number;
234
+ name: string;
235
+ description: string;
236
+ ip: string;
237
+ type: 'ipv4' | 'ipv6';
238
+ server: number | null;
239
+ dns_ptr: {
240
+ ip: string;
241
+ dns_ptr: string;
242
+ }[];
243
+ home_location: Location;
244
+ blocked: boolean;
245
+ protection: Protection;
246
+ labels: Labels;
247
+ created: string;
248
+ }
249
+ export interface PrimaryIp {
250
+ id: number;
251
+ name: string;
252
+ ip: string;
253
+ type: 'ipv4' | 'ipv6';
254
+ assignee_id: number | null;
255
+ assignee_type: 'server';
256
+ auto_delete: boolean;
257
+ blocked: boolean;
258
+ datacenter: Datacenter;
259
+ dns_ptr: {
260
+ ip: string;
261
+ dns_ptr: string;
262
+ }[];
263
+ labels: Labels;
264
+ protection: Protection;
265
+ created: string;
266
+ }
267
+ export interface Volume {
268
+ id: number;
269
+ name: string;
270
+ server: number | null;
271
+ status: 'creating' | 'available' | 'attached';
272
+ location: Location;
273
+ size: number;
274
+ linux_device: string | null;
275
+ protection: Protection;
276
+ labels: Labels;
277
+ created: string;
278
+ format: string | null;
279
+ }
280
+ export interface LoadBalancer {
281
+ id: number;
282
+ name: string;
283
+ public_net: {
284
+ enabled: boolean;
285
+ ipv4: {
286
+ ip: string;
287
+ dns_ptr: string;
288
+ };
289
+ ipv6: {
290
+ ip: string;
291
+ dns_ptr: string;
292
+ };
293
+ };
294
+ private_net: {
295
+ network: number;
296
+ ip: string;
297
+ }[];
298
+ location: Location;
299
+ load_balancer_type: LoadBalancerType;
300
+ protection: Protection;
301
+ labels: Labels;
302
+ targets: LoadBalancerTarget[];
303
+ services: LoadBalancerService[];
304
+ algorithm: {
305
+ type: 'round_robin' | 'least_connections';
306
+ };
307
+ outgoing_traffic: number | null;
308
+ ingoing_traffic: number | null;
309
+ included_traffic: number;
310
+ created: string;
311
+ }
312
+ export interface LoadBalancerType {
313
+ id: number;
314
+ name: string;
315
+ description: string;
316
+ max_connections: number;
317
+ max_services: number;
318
+ max_targets: number;
319
+ max_assigned_certificates: number;
320
+ deprecated: string | null;
321
+ prices: ServerTypePrice[];
322
+ }
323
+ export interface LoadBalancerTarget {
324
+ type: 'server' | 'label_selector' | 'ip';
325
+ server?: {
326
+ id: number;
327
+ };
328
+ label_selector?: {
329
+ selector: string;
330
+ };
331
+ ip?: {
332
+ ip: string;
333
+ };
334
+ health_status: {
335
+ listen_port: number;
336
+ status: 'healthy' | 'unhealthy' | 'unknown';
337
+ }[];
338
+ use_private_ip: boolean;
339
+ }
340
+ export interface LoadBalancerService {
341
+ protocol: 'tcp' | 'http' | 'https';
342
+ listen_port: number;
343
+ destination_port: number;
344
+ proxyprotocol: boolean;
345
+ health_check: {
346
+ protocol: 'tcp' | 'http' | 'https';
347
+ port: number;
348
+ interval: number;
349
+ timeout: number;
350
+ retries: number;
351
+ http?: {
352
+ domain: string | null;
353
+ path: string;
354
+ response: string | null;
355
+ status_codes: string[];
356
+ tls: boolean;
357
+ };
358
+ };
359
+ http?: {
360
+ cookie_name: string;
361
+ cookie_lifetime: number;
362
+ certificates: number[];
363
+ redirect_http: boolean;
364
+ sticky_sessions: boolean;
365
+ };
366
+ }
367
+ export interface Certificate {
368
+ id: number;
369
+ name: string;
370
+ labels: Labels;
371
+ type: 'uploaded' | 'managed';
372
+ certificate: string | null;
373
+ created: string;
374
+ not_valid_before: string;
375
+ not_valid_after: string;
376
+ domain_names: string[];
377
+ fingerprint: string | null;
378
+ status: {
379
+ issuance: 'pending' | 'completed' | 'failed';
380
+ renewal: 'scheduled' | 'pending' | 'failed' | 'unavailable';
381
+ error?: {
382
+ code: string;
383
+ message: string;
384
+ } | null;
385
+ } | null;
386
+ used_by: {
387
+ id: number;
388
+ type: string;
389
+ }[];
390
+ }
391
+ export interface PlacementGroup {
392
+ id: number;
393
+ name: string;
394
+ labels: Labels;
395
+ type: 'spread';
396
+ servers: number[];
397
+ created: string;
398
+ }
@@ -0,0 +1,5 @@
1
+ // ============================================================================
2
+ // Hetzner Cloud API Types
3
+ // Based on: https://docs.hetzner.cloud/
4
+ // ============================================================================
5
+ export {};
@@ -0,0 +1 @@
1
+ export { hasKeychainSupport, getKeychainCredentials, saveToKeychain, clearKeychain, loadConfig, saveConfig, clearConfigFile, clearConfig, getCredentialsFromEnv, getCredentialsFromFile, getCredentials, hasCredentialsSync, hasCredentials, promptLogin, requireCredentials, type CredentialSource, type Config, } from './shared/config.js';
package/dist/config.js ADDED
@@ -0,0 +1,2 @@
1
+ // Re-export from new location for backward compatibility
2
+ export { hasKeychainSupport, getKeychainCredentials, saveToKeychain, clearKeychain, loadConfig, saveConfig, clearConfigFile, clearConfig, getCredentialsFromEnv, getCredentialsFromFile, getCredentials, hasCredentialsSync, hasCredentials, promptLogin, requireCredentials, } from './shared/config.js';
@@ -0,0 +1,3 @@
1
+ export { colors, colorize, success, error, warning, info, heading, formatStatus, formatBytes, formatDate, formatDateTime, createTable, formatJson, } from './shared/formatter.js';
2
+ export { formatServerList, formatServerDetails, formatResetOptions, formatResetResult, formatBootConfig, formatRescueActivation, formatLinuxActivation, formatIpList, formatIpDetails, formatSubnetList, formatFailoverList, formatFailoverSwitch, formatRdnsList, formatSshKeyList, formatSshKeyDetails, formatFirewall, formatFirewallTemplateList, formatVSwitchList, formatVSwitchDetails, formatStorageBoxList, formatStorageBoxDetails, formatStorageBoxSnapshots, formatStorageBoxSubaccounts, formatTraffic, formatWolResult, formatServerProductList, formatServerMarketProductList, formatTransactionList, formatCancellation, } from './robot/formatter.js';
3
+ export { formatAuctionList, formatAuctionDetails, } from './auction/formatter.js';
@@ -0,0 +1,6 @@
1
+ // Re-export shared formatter utilities
2
+ export { colors, colorize, success, error, warning, info, heading, formatStatus, formatBytes, formatDate, formatDateTime, createTable, formatJson, } from './shared/formatter.js';
3
+ // Re-export robot-specific formatters for backward compatibility
4
+ export { formatServerList, formatServerDetails, formatResetOptions, formatResetResult, formatBootConfig, formatRescueActivation, formatLinuxActivation, formatIpList, formatIpDetails, formatSubnetList, formatFailoverList, formatFailoverSwitch, formatRdnsList, formatSshKeyList, formatSshKeyDetails, formatFirewall, formatFirewallTemplateList, formatVSwitchList, formatVSwitchDetails, formatStorageBoxList, formatStorageBoxDetails, formatStorageBoxSnapshots, formatStorageBoxSubaccounts, formatTraffic, formatWolResult, formatServerProductList, formatServerMarketProductList, formatTransactionList, formatCancellation, } from './robot/formatter.js';
5
+ // Auction formatters
6
+ export { formatAuctionList, formatAuctionDetails, } from './auction/formatter.js';
@@ -0,0 +1,10 @@
1
+ export { HetznerRobotClient } from './robot/client.js';
2
+ export { fetchAuctionServers, filterAuctionServers, sortAuctionServers } from './auction/client.js';
3
+ export type { AuctionServer, AuctionDiskData, AuctionIpPrice, AuctionFilterOptions, AuctionResponse, } from './types.js';
4
+ export type { Server, ServerSubnet, ServerDetails, Cancellation, ResetType, Reset, BootConfig, RescueConfig, LinuxConfig, VncConfig, WindowsConfig, PleskConfig, CpanelConfig, IP, Mac, Subnet, Failover, Rdns, SshKey, Firewall, FirewallRule, FirewallTemplate, VSwitch, VSwitchServer, VSwitchSubnet, VSwitchCloudNetwork, StorageBox, StorageBoxSnapshot, StorageBoxSnapshotPlan, StorageBoxSubaccount, Traffic, TrafficData, Wol, ServerProduct, ProductPrice, ServerMarketProduct, ServerTransaction, ServerTransactionProduct, ApiResponse, ApiError, } from './robot/types.js';
5
+ export { HetznerCloudClient } from './cloud/client.js';
6
+ export type { CloudAction, PaginationMeta, CloudApiError, Protection, Datacenter, Location, ServerType, ServerTypePrice, ISO, Image, CloudSshKey, CloudServer, Network, NetworkSubnet, NetworkRoute, CloudFirewall, CloudFirewallRule, CloudFirewallAppliedTo, FloatingIp, PrimaryIp, Volume, LoadBalancer, LoadBalancerType, LoadBalancerTarget, LoadBalancerService, Certificate, PlacementGroup, Labels, } from './cloud/types.js';
7
+ export { createContext, useContext, deleteContext, listContexts, getActiveContext, resolveToken, } from './cloud/context.js';
8
+ export { loadConfig, saveConfig, clearConfig, getCredentials, hasCredentials, promptLogin, requireCredentials, type Config, } from './shared/config.js';
9
+ export { colors, colorize, success, error, warning, info, heading, formatStatus, formatBytes, formatDate, formatDateTime, formatJson, } from './shared/formatter.js';
10
+ export { generateReference } from './shared/reference.js';
package/dist/index.js ADDED
@@ -0,0 +1,17 @@
1
+ // ============================================================================
2
+ // Hetzner CLI - Main Library Export
3
+ // ============================================================================
4
+ // Robot Client
5
+ export { HetznerRobotClient } from './robot/client.js';
6
+ // Auction Client
7
+ export { fetchAuctionServers, filterAuctionServers, sortAuctionServers } from './auction/client.js';
8
+ // Cloud Client
9
+ export { HetznerCloudClient } from './cloud/client.js';
10
+ // Cloud Context
11
+ export { createContext, useContext, deleteContext, listContexts, getActiveContext, resolveToken, } from './cloud/context.js';
12
+ // Configuration utilities (for CLI integration)
13
+ export { loadConfig, saveConfig, clearConfig, getCredentials, hasCredentials, promptLogin, requireCredentials, } from './shared/config.js';
14
+ // Formatter utilities (for custom output)
15
+ export { colors, colorize, success, error, warning, info, heading, formatStatus, formatBytes, formatDate, formatDateTime, formatJson, } from './shared/formatter.js';
16
+ // Reference documentation (for LLM context)
17
+ export { generateReference } from './shared/reference.js';