langctl 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/.github/ISSUE_TEMPLATE/bug_report.md +26 -0
- package/.github/ISSUE_TEMPLATE/feature_request.md +19 -0
- package/CONTRIBUTING.md +33 -0
- package/LICENSE +1 -1
- package/README.md +52 -11
- package/dist/api.d.ts +20 -0
- package/dist/api.js +75 -0
- package/dist/auth.d.ts +3 -2
- package/dist/auth.js +21 -27
- package/dist/commands/auth.js +2 -10
- package/dist/commands/config.js +1 -0
- package/dist/commands/debug.js +45 -41
- package/dist/commands/export.d.ts +1 -2
- package/dist/commands/export.js +70 -60
- package/dist/commands/import.d.ts +1 -0
- package/dist/commands/import.js +51 -72
- package/dist/commands/init.js +0 -10
- package/dist/commands/keys.js +122 -224
- package/dist/commands/org.js +43 -72
- package/dist/commands/projects.d.ts +3 -0
- package/dist/commands/projects.js +146 -223
- package/dist/commands/pull.js +40 -95
- package/dist/commands/team.js +115 -130
- package/dist/config.d.ts +1 -0
- package/dist/index.js +3 -3
- package/package.json +2 -3
- package/NEXT_PHASE.md +0 -618
- package/WORKING_INSTRUCTIONS.md +0 -1389
- package/dist/supabase.d.ts +0 -14
- package/dist/supabase.js +0 -30
package/dist/supabase.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { SupabaseClient } from '@supabase/supabase-js';
|
|
2
|
-
/**
|
|
3
|
-
* Initialize Supabase client with hardcoded credentials
|
|
4
|
-
*/
|
|
5
|
-
export declare function initializeSupabase(): SupabaseClient;
|
|
6
|
-
/**
|
|
7
|
-
* Get existing Supabase client or initialize it
|
|
8
|
-
*/
|
|
9
|
-
export declare function getSupabase(): SupabaseClient;
|
|
10
|
-
/**
|
|
11
|
-
* Reset Supabase client (useful for tests)
|
|
12
|
-
*/
|
|
13
|
-
export declare function resetSupabase(): void;
|
|
14
|
-
//# sourceMappingURL=supabase.d.ts.map
|
package/dist/supabase.js
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { createClient } from '@supabase/supabase-js';
|
|
2
|
-
// Hardcoded Supabase credentials (safe for client-side use with RLS)
|
|
3
|
-
const SUPABASE_URL = 'https://bcgnmvkgkbhbxzzflwdb.supabase.co';
|
|
4
|
-
const SUPABASE_ANON_KEY = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImJjZ25tdmtna2JoYnh6emZsd2RiIiwicm9sZSI6ImFub24iLCJpYXQiOjE3MzQ3OTE4ODEsImV4cCI6MjA1MDM2Nzg4MX0.LqZYO8GGQfI-C9WCF_a2NTKqIrO1TDsPXU9LHRE8b0E';
|
|
5
|
-
let supabaseClient = null;
|
|
6
|
-
/**
|
|
7
|
-
* Initialize Supabase client with hardcoded credentials
|
|
8
|
-
*/
|
|
9
|
-
export function initializeSupabase() {
|
|
10
|
-
if (!supabaseClient) {
|
|
11
|
-
supabaseClient = createClient(SUPABASE_URL, SUPABASE_ANON_KEY);
|
|
12
|
-
}
|
|
13
|
-
return supabaseClient;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Get existing Supabase client or initialize it
|
|
17
|
-
*/
|
|
18
|
-
export function getSupabase() {
|
|
19
|
-
if (!supabaseClient) {
|
|
20
|
-
return initializeSupabase();
|
|
21
|
-
}
|
|
22
|
-
return supabaseClient;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* Reset Supabase client (useful for tests)
|
|
26
|
-
*/
|
|
27
|
-
export function resetSupabase() {
|
|
28
|
-
supabaseClient = null;
|
|
29
|
-
}
|
|
30
|
-
//# sourceMappingURL=supabase.js.map
|