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.
- package/dist/cli/copilot-account-display.d.ts +10 -0
- package/dist/cli/copilot-account-prompts.d.ts +5 -0
- package/dist/cli/copilot-x.d.ts +1 -0
- package/dist/cli/index.js +3137 -377
- package/dist/cli/usage/cross-db-query-filters.d.ts +13 -0
- package/dist/cli/usage/cross-db-query-row-mapper.d.ts +4 -0
- package/dist/cli/usage/cross-db-query-support.d.ts +8 -0
- package/dist/cli/usage/cross-db-query-types.d.ts +71 -0
- package/dist/cli/usage/cross-db-query.d.ts +19 -0
- package/dist/cli/usage/efficiency-calculator.d.ts +43 -0
- package/dist/cli/usage/index.d.ts +1 -0
- package/dist/cli/usage/opencode-db-cache.d.ts +4 -0
- package/dist/cli/usage/opencode-db-connection.d.ts +8 -0
- package/dist/cli/usage/opencode-db-session-queries.d.ts +4 -0
- package/dist/cli/usage/opencode-db-token-queries.d.ts +4 -0
- package/dist/cli/usage/opencode-db.d.ts +19 -0
- package/dist/cli/usage/project-dimension-queries.d.ts +68 -0
- package/dist/cli/usage/render-borders.d.ts +4 -0
- package/dist/cli/usage/render-format.d.ts +3 -0
- package/dist/cli/usage/render-helpers.d.ts +4 -0
- package/dist/cli/usage/render-report.d.ts +5 -0
- package/dist/cli/usage/render-summary.d.ts +2 -0
- package/dist/cli/usage/render-tables.d.ts +4 -0
- package/dist/cli/usage/render.d.ts +6 -0
- package/dist/cli/usage/report-breakdown-fetcher.d.ts +9 -0
- package/dist/cli/usage/report-data-aggregator.d.ts +11 -0
- package/dist/cli/usage/report-generator.d.ts +9 -0
- package/dist/cli/usage/types.d.ts +65 -0
- package/dist/cli/usage/usage-command.d.ts +2 -0
- package/dist/config/index.d.ts +1 -1
- package/dist/config/schema/copilot-account-switcher.d.ts +6 -0
- package/dist/config/schema/hooks.d.ts +1 -0
- package/dist/config/schema/oh-my-magento-config.d.ts +4 -0
- package/dist/config/schema.d.ts +1 -0
- package/dist/create-hooks.d.ts +1 -0
- package/dist/features/copilot-account-switcher/account-manager.d.ts +41 -0
- package/dist/features/copilot-account-switcher/copilot-auth-hook.d.ts +6 -0
- package/dist/features/copilot-account-switcher/copilot-auth.d.ts +13 -0
- package/dist/features/copilot-account-switcher/copilot-device-flow.d.ts +13 -0
- package/dist/features/copilot-account-switcher/copilot-loader.d.ts +43 -0
- package/dist/features/copilot-account-switcher/copilot-network-retry.d.ts +3 -0
- package/dist/features/copilot-account-switcher/copilot-session-repair.d.ts +4 -0
- package/dist/features/copilot-account-switcher/index.d.ts +9 -0
- package/dist/features/copilot-account-switcher/loop-safety-policy.d.ts +17 -0
- package/dist/features/copilot-account-switcher/store.d.ts +9 -0
- package/dist/features/copilot-account-switcher/types.d.ts +124 -0
- package/dist/features/dev-metrics/dev-metrics-db.d.ts +22 -0
- package/dist/features/dev-metrics/git-snapshot-collector.d.ts +13 -0
- package/dist/features/dev-metrics/index.d.ts +3 -0
- package/dist/features/dev-metrics/schema.d.ts +4 -0
- package/dist/features/dev-metrics/types.d.ts +76 -0
- package/dist/hooks/dev-metrics-collector/hook.d.ts +10 -0
- package/dist/hooks/dev-metrics-collector/index.d.ts +11 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/index.js +1400 -187
- package/dist/oh-my-magento.schema.json +18 -0
- package/dist/plugin/hooks/create-core-hooks.d.ts +1 -0
- package/dist/plugin/hooks/create-session-hooks.d.ts +2 -1
- 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 @@
|
|
|
1
|
+
export declare function copilotXCli(): Promise<number>;
|