oh-my-magento 0.1.2 → 0.2.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 (59) hide show
  1. package/dist/cli/copilot-account-display.d.ts +10 -0
  2. package/dist/cli/copilot-account-prompts.d.ts +5 -0
  3. package/dist/cli/copilot-x.d.ts +1 -0
  4. package/dist/cli/index.js +3137 -377
  5. package/dist/cli/usage/cross-db-query-filters.d.ts +13 -0
  6. package/dist/cli/usage/cross-db-query-row-mapper.d.ts +4 -0
  7. package/dist/cli/usage/cross-db-query-support.d.ts +8 -0
  8. package/dist/cli/usage/cross-db-query-types.d.ts +71 -0
  9. package/dist/cli/usage/cross-db-query.d.ts +19 -0
  10. package/dist/cli/usage/efficiency-calculator.d.ts +43 -0
  11. package/dist/cli/usage/index.d.ts +1 -0
  12. package/dist/cli/usage/opencode-db-cache.d.ts +4 -0
  13. package/dist/cli/usage/opencode-db-connection.d.ts +8 -0
  14. package/dist/cli/usage/opencode-db-session-queries.d.ts +4 -0
  15. package/dist/cli/usage/opencode-db-token-queries.d.ts +4 -0
  16. package/dist/cli/usage/opencode-db.d.ts +19 -0
  17. package/dist/cli/usage/project-dimension-queries.d.ts +68 -0
  18. package/dist/cli/usage/render-borders.d.ts +4 -0
  19. package/dist/cli/usage/render-format.d.ts +3 -0
  20. package/dist/cli/usage/render-helpers.d.ts +4 -0
  21. package/dist/cli/usage/render-report.d.ts +5 -0
  22. package/dist/cli/usage/render-summary.d.ts +2 -0
  23. package/dist/cli/usage/render-tables.d.ts +4 -0
  24. package/dist/cli/usage/render.d.ts +6 -0
  25. package/dist/cli/usage/report-breakdown-fetcher.d.ts +9 -0
  26. package/dist/cli/usage/report-data-aggregator.d.ts +11 -0
  27. package/dist/cli/usage/report-generator.d.ts +9 -0
  28. package/dist/cli/usage/types.d.ts +65 -0
  29. package/dist/cli/usage/usage-command.d.ts +2 -0
  30. package/dist/config/index.d.ts +1 -1
  31. package/dist/config/schema/copilot-account-switcher.d.ts +6 -0
  32. package/dist/config/schema/hooks.d.ts +1 -0
  33. package/dist/config/schema/oh-my-magento-config.d.ts +4 -0
  34. package/dist/config/schema.d.ts +1 -0
  35. package/dist/create-hooks.d.ts +1 -0
  36. package/dist/features/copilot-account-switcher/account-manager.d.ts +41 -0
  37. package/dist/features/copilot-account-switcher/copilot-auth-hook.d.ts +6 -0
  38. package/dist/features/copilot-account-switcher/copilot-auth.d.ts +13 -0
  39. package/dist/features/copilot-account-switcher/copilot-device-flow.d.ts +13 -0
  40. package/dist/features/copilot-account-switcher/copilot-loader.d.ts +43 -0
  41. package/dist/features/copilot-account-switcher/copilot-network-retry.d.ts +3 -0
  42. package/dist/features/copilot-account-switcher/copilot-session-repair.d.ts +4 -0
  43. package/dist/features/copilot-account-switcher/index.d.ts +9 -0
  44. package/dist/features/copilot-account-switcher/loop-safety-policy.d.ts +17 -0
  45. package/dist/features/copilot-account-switcher/store.d.ts +9 -0
  46. package/dist/features/copilot-account-switcher/types.d.ts +124 -0
  47. package/dist/features/dev-metrics/dev-metrics-db.d.ts +22 -0
  48. package/dist/features/dev-metrics/git-snapshot-collector.d.ts +13 -0
  49. package/dist/features/dev-metrics/index.d.ts +3 -0
  50. package/dist/features/dev-metrics/schema.d.ts +4 -0
  51. package/dist/features/dev-metrics/types.d.ts +76 -0
  52. package/dist/hooks/dev-metrics-collector/hook.d.ts +10 -0
  53. package/dist/hooks/dev-metrics-collector/index.d.ts +11 -0
  54. package/dist/hooks/index.d.ts +1 -0
  55. package/dist/index.js +1400 -187
  56. package/dist/oh-my-magento.schema.json +18 -0
  57. package/dist/plugin/hooks/create-core-hooks.d.ts +1 -0
  58. package/dist/plugin/hooks/create-session-hooks.d.ts +2 -1
  59. package/package.json +12 -12
@@ -0,0 +1,10 @@
1
+ import type { AccountEntry, StoreFile } from "../features/copilot-account-switcher";
2
+ export declare function formatRelativeTime(timestamp: number | undefined): string;
3
+ export declare function buildAccountLines(store: StoreFile): string;
4
+ export declare function buildQuotaReport(store: StoreFile): string;
5
+ export declare function buildModelReport(store: StoreFile): string;
6
+ export declare function buildAccountChoices(accounts: Record<string, AccountEntry>, active?: string): Array<{
7
+ value: string;
8
+ label: string;
9
+ hint?: string;
10
+ }>;
@@ -0,0 +1,5 @@
1
+ import type { AccountEntry } from "../features/copilot-account-switcher";
2
+ export declare function promptManualAccountEntry(existingNames: string[]): Promise<{
3
+ name: string;
4
+ entry: AccountEntry;
5
+ } | null>;
@@ -0,0 +1 @@
1
+ export declare function copilotXCli(): Promise<number>;