@sequenceholdings/studio-cli 0.1.9
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 +258 -0
- package/dist/artifact/delegate.d.ts +25 -0
- package/dist/artifact/delegate.js +263 -0
- package/dist/atlas-client.d.ts +44 -0
- package/dist/atlas-client.js +173 -0
- package/dist/auth-cmds/commands.d.ts +15 -0
- package/dist/auth-cmds/commands.js +249 -0
- package/dist/auth.d.ts +26 -0
- package/dist/auth.js +171 -0
- package/dist/bin.d.ts +2 -0
- package/dist/bin.js +8 -0
- package/dist/cli-errors.d.ts +5 -0
- package/dist/cli-errors.js +78 -0
- package/dist/config.d.ts +44 -0
- package/dist/config.js +103 -0
- package/dist/env-flags.d.ts +8 -0
- package/dist/env-flags.js +47 -0
- package/dist/functions/bundle.d.ts +30 -0
- package/dist/functions/bundle.js +137 -0
- package/dist/functions/commands.d.ts +86 -0
- package/dist/functions/commands.js +999 -0
- package/dist/functions/egress-preview.d.ts +32 -0
- package/dist/functions/egress-preview.js +54 -0
- package/dist/functions/lockfile-origin.d.ts +16 -0
- package/dist/functions/lockfile-origin.js +45 -0
- package/dist/functions/manifest.d.ts +89 -0
- package/dist/functions/manifest.js +586 -0
- package/dist/functions/secret-reconcile.d.ts +79 -0
- package/dist/functions/secret-reconcile.js +86 -0
- package/dist/main.d.ts +14 -0
- package/dist/main.js +129 -0
- package/dist/orm/delegate.d.ts +8 -0
- package/dist/orm/delegate.js +61 -0
- package/dist/pat-hints.d.ts +17 -0
- package/dist/pat-hints.js +28 -0
- package/dist/preview.d.ts +89 -0
- package/dist/preview.js +291 -0
- package/dist/process/agent-loader.d.ts +24 -0
- package/dist/process/agent-loader.js +57 -0
- package/dist/process/build.d.ts +14 -0
- package/dist/process/build.js +368 -0
- package/dist/process/codegen.d.ts +18 -0
- package/dist/process/codegen.js +270 -0
- package/dist/process/commands.d.ts +47 -0
- package/dist/process/commands.js +786 -0
- package/dist/process/discover.d.ts +32 -0
- package/dist/process/discover.js +131 -0
- package/dist/process/lint.d.ts +39 -0
- package/dist/process/lint.js +485 -0
- package/dist/process/local-bundle.d.ts +17 -0
- package/dist/process/local-bundle.js +65 -0
- package/dist/process/plan-diff.d.ts +82 -0
- package/dist/process/plan-diff.js +333 -0
- package/dist/process/resolve-process-pin.d.ts +11 -0
- package/dist/process/resolve-process-pin.js +63 -0
- package/dist/process/simulate.d.ts +50 -0
- package/dist/process/simulate.js +328 -0
- package/dist/prompt.d.ts +35 -0
- package/dist/prompt.js +65 -0
- package/dist/repos/commands.d.ts +49 -0
- package/dist/repos/commands.js +548 -0
- package/dist/repos/git-clone.d.ts +10 -0
- package/dist/repos/git-clone.js +49 -0
- package/dist/secrets/commands.d.ts +24 -0
- package/dist/secrets/commands.js +704 -0
- package/dist/templates/process/example-process/process.ts +43 -0
- package/dist/templates/process/package.json +23 -0
- package/dist/templates/process/pnpm-workspace.yaml +21 -0
- package/dist/templates/process/tsconfig.json +17 -0
- package/package.json +78 -0
- package/templates/process/example-process/process.ts +43 -0
- package/templates/process/package.json +23 -0
- package/templates/process/pnpm-workspace.yaml +21 -0
- package/templates/process/tsconfig.json +17 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* seq-studio process * commands. Each command is a small function with
|
|
3
|
+
* its own argv slice, called by the argv router in main.ts. Network I/O
|
|
4
|
+
* happens through `atlas-client.ts` and `getAccessToken()`; commands
|
|
5
|
+
* themselves do not know about the token file or config TOML.
|
|
6
|
+
*/
|
|
7
|
+
export interface ParsedArgs {
|
|
8
|
+
positional: string[];
|
|
9
|
+
flags: Record<string, string | true>;
|
|
10
|
+
}
|
|
11
|
+
export declare function parseArgs(rest: string[]): ParsedArgs;
|
|
12
|
+
export declare function initCommand(args: ParsedArgs): Promise<number>;
|
|
13
|
+
export declare function lintCommand(args: ParsedArgs): Promise<number>;
|
|
14
|
+
export declare function planCommand(args: ParsedArgs): Promise<number>;
|
|
15
|
+
export declare function testCommand(args: ParsedArgs): Promise<number>;
|
|
16
|
+
/**
|
|
17
|
+
* Parse + validate the `--only <id1,id2,...>` promote filter for `apply`.
|
|
18
|
+
* The bundle is still built and registered from the full discovery root
|
|
19
|
+
* (registration is content-addressed and inert — only the promote flips
|
|
20
|
+
* active versions), so CI can target a subset of a shared root per
|
|
21
|
+
* environment. Returns `ids: null` when the flag is absent (promote all).
|
|
22
|
+
*/
|
|
23
|
+
export declare function resolveOnlyIds({ only, knownIds, }: {
|
|
24
|
+
only: string | true | undefined;
|
|
25
|
+
knownIds: ReadonlySet<string>;
|
|
26
|
+
}): {
|
|
27
|
+
ids: Set<string> | null;
|
|
28
|
+
error?: string;
|
|
29
|
+
};
|
|
30
|
+
export declare function applyCommand(args: ParsedArgs): Promise<number>;
|
|
31
|
+
/**
|
|
32
|
+
* Pull a published process's source back into a local tree. Resolves the
|
|
33
|
+
* requested (or active) version to a bundle, then regenerates `process.ts`
|
|
34
|
+
* (+ `recommendations.ts`) under `<out>/<processId>/`. Pulls the process and
|
|
35
|
+
* its co-located subprocess children by default (`--no-children` for just the
|
|
36
|
+
* root). This closes the loop: apply a change in the UI → publish an inactive
|
|
37
|
+
* version → pull it here → review + commit.
|
|
38
|
+
*/
|
|
39
|
+
export declare function pullCommand(args: ParsedArgs): Promise<number>;
|
|
40
|
+
/**
|
|
41
|
+
* Make a published version the active one — the same promote `apply` runs, as a
|
|
42
|
+
* standalone command (and the same endpoint the UI version menu hits).
|
|
43
|
+
*/
|
|
44
|
+
export declare function promoteCommand(args: ParsedArgs): Promise<number>;
|
|
45
|
+
export declare function bundleCommand(args: ParsedArgs): Promise<number>;
|
|
46
|
+
export declare function simulateCommand(args: ParsedArgs): Promise<number>;
|
|
47
|
+
export declare function doctorCommand(args: ParsedArgs): Promise<number>;
|