@h1r-ai/croche-cli 0.5.5 → 0.6.1
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/README.md +267 -148
- package/THIRD-PARTY-NOTICES +7 -8
- package/dist/bin.js +29 -25
- package/dist/chunk-66EUX7EL.js +165 -0
- package/dist/chunk-DKT5HHSB.js +532 -0
- package/dist/chunk-K3UDT4EM.js +3110 -0
- package/dist/collector-credential.d.ts +9 -0
- package/dist/config-authoring.d.ts +19 -0
- package/dist/config-bases.d.ts +17 -0
- package/dist/config-push-base-35HX67AJ.js +2254 -0
- package/dist/config-push-base.d.ts +7 -0
- package/dist/control-address.d.ts +2 -0
- package/dist/control-server.d.ts +12 -15
- package/dist/control-server.js +9 -288
- package/dist/control-v2-auth.d.ts +24 -0
- package/dist/control-v2-capture.d.ts +34 -0
- package/dist/control-v2-json.d.ts +15 -0
- package/dist/control-v2-state.d.ts +90 -0
- package/dist/credentials.d.ts +2 -2
- package/dist/debugger/public/index.html +1 -0
- package/dist/debugger/public/stage-control.js +84 -0
- package/dist/debugger/public/stage-manifest.js +45 -0
- package/dist/debugger/public/stage-model.js +103 -0
- package/dist/debugger/public/stage-targets.js +18 -0
- package/dist/debugger/public/stage.css +459 -0
- package/dist/debugger/public/stage.html +17 -0
- package/dist/debugger/public/stage.js +113 -0
- package/dist/debugger/server/collector.js +42 -26
- package/dist/debugger/server/control-bridge.js +113 -0
- package/dist/debugger/server/server.js +10 -1
- package/dist/debugger/server/viewer-security.js +12 -0
- package/dist/debugger.d.ts +16 -6
- package/dist/index.d.ts +8 -1
- package/dist/index.js +17 -321
- package/dist/json-result.d.ts +2 -0
- package/package.json +2 -1
- package/dist/config.js +0 -100
- package/dist/control-client.js +0 -65
- package/dist/core-defaults.js +0 -2
- package/dist/credentials.js +0 -136
- package/dist/debug-keys.js +0 -141
- package/dist/debugger.js +0 -469
- package/dist/help.js +0 -158
- package/dist/text-file.js +0 -15
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare function buildConfig(directory: string): Promise<{
|
|
2
|
+
id: string;
|
|
3
|
+
schema: number;
|
|
4
|
+
document: string;
|
|
5
|
+
}>;
|
|
6
|
+
export declare function splitConfig(file: string, directory: string): Promise<{
|
|
7
|
+
directory: string;
|
|
8
|
+
revision_id: string;
|
|
9
|
+
schema: number;
|
|
10
|
+
}>;
|
|
11
|
+
export declare function authoringCommand(action: string, args: Record<string, string>): Promise<{
|
|
12
|
+
directory: string;
|
|
13
|
+
revision_id: string;
|
|
14
|
+
schema: number;
|
|
15
|
+
} | {
|
|
16
|
+
file: string;
|
|
17
|
+
revision_id: string;
|
|
18
|
+
schema: number;
|
|
19
|
+
}>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
type Context = {
|
|
2
|
+
env: Record<string, string | undefined>;
|
|
3
|
+
request: (path: string) => Promise<unknown>;
|
|
4
|
+
};
|
|
5
|
+
type Base = {
|
|
6
|
+
revision_id: string;
|
|
7
|
+
document_known: boolean;
|
|
8
|
+
installs_7d: number;
|
|
9
|
+
unknown_count: number;
|
|
10
|
+
push_base_hint?: string;
|
|
11
|
+
};
|
|
12
|
+
/** Read the existing Cloud catalog; discovery neither uploads nor selects a base. */
|
|
13
|
+
export declare function listBases(args: Record<string, string>, context: Context): Promise<{
|
|
14
|
+
version: 1;
|
|
15
|
+
bases: Base[];
|
|
16
|
+
}>;
|
|
17
|
+
export {};
|