erosolar-cli 1.5.2 → 1.5.3

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 (36) hide show
  1. package/dist/capabilities/cloudCapability.d.ts +13 -0
  2. package/dist/capabilities/cloudCapability.d.ts.map +1 -0
  3. package/dist/capabilities/cloudCapability.js +38 -0
  4. package/dist/capabilities/cloudCapability.js.map +1 -0
  5. package/dist/capabilities/index.d.ts +1 -0
  6. package/dist/capabilities/index.d.ts.map +1 -1
  7. package/dist/capabilities/index.js +1 -0
  8. package/dist/capabilities/index.js.map +1 -1
  9. package/dist/plugins/tools/cloud/cloudPlugin.d.ts +3 -0
  10. package/dist/plugins/tools/cloud/cloudPlugin.d.ts.map +1 -0
  11. package/dist/plugins/tools/cloud/cloudPlugin.js +14 -0
  12. package/dist/plugins/tools/cloud/cloudPlugin.js.map +1 -0
  13. package/dist/plugins/tools/nodeDefaults.d.ts.map +1 -1
  14. package/dist/plugins/tools/nodeDefaults.js +2 -0
  15. package/dist/plugins/tools/nodeDefaults.js.map +1 -1
  16. package/dist/security/persistence-analyzer.d.ts +56 -0
  17. package/dist/security/persistence-analyzer.d.ts.map +1 -0
  18. package/dist/security/persistence-analyzer.js +187 -0
  19. package/dist/security/persistence-analyzer.js.map +1 -0
  20. package/dist/security/persistence-research.d.ts +89 -0
  21. package/dist/security/persistence-research.d.ts.map +1 -0
  22. package/dist/security/persistence-research.js +361 -0
  23. package/dist/security/persistence-research.js.map +1 -0
  24. package/dist/shell/bracketedPasteManager.d.ts +43 -0
  25. package/dist/shell/bracketedPasteManager.d.ts.map +1 -1
  26. package/dist/shell/bracketedPasteManager.js +166 -9
  27. package/dist/shell/bracketedPasteManager.js.map +1 -1
  28. package/dist/shell/interactiveShell.d.ts +12 -0
  29. package/dist/shell/interactiveShell.d.ts.map +1 -1
  30. package/dist/shell/interactiveShell.js +47 -0
  31. package/dist/shell/interactiveShell.js.map +1 -1
  32. package/dist/tools/cloudTools.d.ts +46 -0
  33. package/dist/tools/cloudTools.d.ts.map +1 -0
  34. package/dist/tools/cloudTools.js +854 -0
  35. package/dist/tools/cloudTools.js.map +1 -0
  36. package/package.json +1 -1
@@ -0,0 +1,46 @@
1
+ /**
2
+ * Cloud Deployment Tools - Unified cloud CLI capabilities with auto-detection and auto-fix
3
+ *
4
+ * Supports:
5
+ * - Firebase (Hosting, Functions, Firestore, Storage, Auth)
6
+ * - Aliyun/Alibaba Cloud (OSS, FC, ACR, etc.)
7
+ * - AWS (S3, Lambda, CloudFront, etc.)
8
+ * - GCP (Cloud Run, Storage, Functions)
9
+ * - Azure (Static Web Apps, Functions, Blob Storage)
10
+ * - Vercel, Netlify, Cloudflare Pages
11
+ *
12
+ * Features:
13
+ * - Automatic CLI detection and installation checking
14
+ * - Authentication status verification
15
+ * - Auto-fix for common issues
16
+ * - AI-driven error resolution
17
+ */
18
+ import type { ToolDefinition } from '../core/toolRuntime.js';
19
+ interface CloudProvider {
20
+ id: string;
21
+ name: string;
22
+ cliCommand: string;
23
+ versionFlag: string;
24
+ installCommand: string;
25
+ installUrl: string;
26
+ loginCommand: string;
27
+ checkAuthCommand: string;
28
+ configFile?: string;
29
+ envVars?: string[];
30
+ }
31
+ declare const CLOUD_PROVIDERS: Record<string, CloudProvider>;
32
+ interface CLIStatus {
33
+ installed: boolean;
34
+ version?: string;
35
+ authenticated: boolean;
36
+ authDetails?: string;
37
+ configExists: boolean;
38
+ errors: string[];
39
+ suggestions: string[];
40
+ }
41
+ declare function getFullCLIStatus(providerId: string, workingDir: string): Promise<CLIStatus>;
42
+ declare function autoFixIssues(providerId: string, workingDir: string): Promise<string[]>;
43
+ export declare function createCloudTools(workingDir?: string): ToolDefinition[];
44
+ export type { CLIStatus, CloudProvider };
45
+ export { CLOUD_PROVIDERS, getFullCLIStatus, autoFixIssues };
46
+ //# sourceMappingURL=cloudTools.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cloudTools.d.ts","sourceRoot":"","s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