@astrale-os/sdk 0.1.6 → 0.1.7
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/bin.d.ts +7 -0
- package/dist/cli/bin.d.ts.map +1 -0
- package/dist/cli/bin.js +15 -0
- package/dist/cli/bin.js.map +1 -0
- package/dist/cli/dotenv.d.ts +13 -0
- package/dist/cli/dotenv.d.ts.map +1 -0
- package/dist/cli/dotenv.js +46 -0
- package/dist/cli/dotenv.js.map +1 -0
- package/dist/cli/index.d.ts +15 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +15 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/cli/run.d.ts +79 -0
- package/dist/cli/run.d.ts.map +1 -0
- package/dist/cli/run.js +569 -0
- package/dist/cli/run.js.map +1 -0
- package/dist/cli/spec.d.ts +19 -0
- package/dist/cli/spec.d.ts.map +1 -0
- package/dist/cli/spec.js +31 -0
- package/dist/cli/spec.js.map +1 -0
- package/dist/config/adapter.d.ts +140 -0
- package/dist/config/adapter.d.ts.map +1 -0
- package/dist/config/adapter.js +40 -0
- package/dist/config/adapter.js.map +1 -0
- package/dist/config/define-domain.d.ts +112 -0
- package/dist/config/define-domain.d.ts.map +1 -0
- package/dist/config/define-domain.js +98 -0
- package/dist/config/define-domain.js.map +1 -0
- package/dist/config/deploy.d.ts +28 -0
- package/dist/config/deploy.d.ts.map +1 -0
- package/dist/config/deploy.js +24 -0
- package/dist/config/deploy.js.map +1 -0
- package/dist/config/index.d.ts +21 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/index.js +18 -0
- package/dist/config/index.js.map +1 -0
- package/dist/define/remote-function.d.ts +19 -11
- package/dist/define/remote-function.d.ts.map +1 -1
- package/dist/define/remote-function.js.map +1 -1
- package/dist/dispatch/call-remote.d.ts +7 -3
- package/dist/dispatch/call-remote.d.ts.map +1 -1
- package/dist/dispatch/call-remote.js.map +1 -1
- package/dist/dispatch/dispatcher.d.ts.map +1 -1
- package/dist/dispatch/dispatcher.js +8 -4
- package/dist/dispatch/dispatcher.js.map +1 -1
- package/dist/dispatch/index.d.ts +1 -1
- package/dist/dispatch/index.d.ts.map +1 -1
- package/dist/dispatch/index.js.map +1 -1
- package/dist/dispatch/self.d.ts +46 -10
- package/dist/dispatch/self.d.ts.map +1 -1
- package/dist/dispatch/self.js +65 -8
- package/dist/dispatch/self.js.map +1 -1
- package/dist/domain/define.d.ts +3 -3
- package/dist/domain/define.js +3 -3
- package/dist/index.d.ts +5 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -2
- package/dist/index.js.map +1 -1
- package/dist/method/class.d.ts.map +1 -1
- package/dist/method/class.js.map +1 -1
- package/dist/method/context.d.ts +32 -7
- package/dist/method/context.d.ts.map +1 -1
- package/dist/method/index.d.ts +1 -1
- package/dist/method/index.d.ts.map +1 -1
- package/dist/method/single.d.ts +16 -11
- package/dist/method/single.d.ts.map +1 -1
- package/dist/method/single.js.map +1 -1
- package/dist/server/domain-entry.d.ts +67 -0
- package/dist/server/domain-entry.d.ts.map +1 -0
- package/dist/server/domain-entry.js +58 -0
- package/dist/server/domain-entry.js.map +1 -0
- package/dist/server/index.d.ts +3 -1
- package/dist/server/index.d.ts.map +1 -1
- package/dist/server/index.js +2 -1
- package/dist/server/index.js.map +1 -1
- package/dist/server/worker-entry.d.ts +40 -5
- package/dist/server/worker-entry.d.ts.map +1 -1
- package/dist/server/worker-entry.js +68 -19
- package/dist/server/worker-entry.js.map +1 -1
- package/package.json +12 -3
- package/src/cli/bin.ts +15 -0
- package/src/cli/dotenv.ts +45 -0
- package/src/cli/index.ts +15 -0
- package/src/cli/run.ts +675 -0
- package/src/cli/spec.ts +42 -0
- package/src/config/adapter.ts +172 -0
- package/src/config/define-domain.ts +218 -0
- package/src/config/deploy.ts +35 -0
- package/src/config/index.ts +31 -0
- package/src/define/remote-function.ts +42 -13
- package/src/dispatch/call-remote.ts +7 -2
- package/src/dispatch/dispatcher.ts +8 -4
- package/src/dispatch/index.ts +1 -1
- package/src/dispatch/self.ts +96 -10
- package/src/domain/define.ts +3 -3
- package/src/index.ts +25 -4
- package/src/method/class.ts +4 -3
- package/src/method/context.ts +38 -7
- package/src/method/index.ts +1 -1
- package/src/method/single.ts +30 -11
- package/src/server/domain-entry.ts +113 -0
- package/src/server/index.ts +3 -1
- package/src/server/worker-entry.ts +80 -20
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bin.d.ts","sourceRoot":"","sources":["../../src/cli/bin.ts"],"names":[],"mappings":";AACA;;;GAGG"}
|
package/dist/cli/bin.js
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
#!/usr/bin/env bun
|
|
2
|
+
/**
|
|
3
|
+
* `astrale-domain` bin entry. Runs under bun (native TS) so it can import the
|
|
4
|
+
* project's `astrale.config.ts` directly — matching the `astrale` CLI.
|
|
5
|
+
*/
|
|
6
|
+
import { run } from './run';
|
|
7
|
+
run(process.argv.slice(2))
|
|
8
|
+
.then((code) => process.exit(code))
|
|
9
|
+
.catch((err) => {
|
|
10
|
+
process.stderr.write(`\x1b[31m✗\x1b[0m ${err.message ?? String(err)}\n`);
|
|
11
|
+
if (process.env.DEBUG)
|
|
12
|
+
process.stderr.write(`${err.stack ?? ''}\n`);
|
|
13
|
+
process.exit(1);
|
|
14
|
+
});
|
|
15
|
+
//# sourceMappingURL=bin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bin.js","sourceRoot":"","sources":["../../src/cli/bin.ts"],"names":[],"mappings":";AACA;;;GAGG;AAEH,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAE3B,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;KACvB,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;KAClC,KAAK,CAAC,CAAC,GAAY,EAAE,EAAE;IACtB,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,oBAAqB,GAAa,CAAC,OAAO,IAAI,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;IACnF,IAAI,OAAO,CAAC,GAAG,CAAC,KAAK;QAAE,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,GAAI,GAAa,CAAC,KAAK,IAAI,EAAE,IAAI,CAAC,CAAA;IAC9E,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;AACjB,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Minimal dotenv parser — the secrets-file boundary.
|
|
3
|
+
*
|
|
4
|
+
* `secrets: '.env.<env>'` in an adapter's params points a gitignored file whose
|
|
5
|
+
* entire contents are secrets. `loadDotenvFile` reads it into a flat
|
|
6
|
+
* `Record<string,string>` the CLI hands the adapter (injected into the local
|
|
7
|
+
* runtime in dev, pushed to a secret store in prod). No `process.env` mutation,
|
|
8
|
+
* no interpolation magic beyond `${VAR}` against earlier keys in the same file.
|
|
9
|
+
*/
|
|
10
|
+
export declare function parseDotenv(contents: string): Record<string, string>;
|
|
11
|
+
/** Read + parse a dotenv file. Returns `{}` if the file is absent (CI-safe). */
|
|
12
|
+
export declare function loadDotenvFile(path: string): Record<string, string>;
|
|
13
|
+
//# sourceMappingURL=dotenv.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dotenv.d.ts","sourceRoot":"","sources":["../../src/cli/dotenv.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAIH,wBAAgB,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAqBpE;AAED,gFAAgF;AAChF,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAQnE"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Minimal dotenv parser — the secrets-file boundary.
|
|
3
|
+
*
|
|
4
|
+
* `secrets: '.env.<env>'` in an adapter's params points a gitignored file whose
|
|
5
|
+
* entire contents are secrets. `loadDotenvFile` reads it into a flat
|
|
6
|
+
* `Record<string,string>` the CLI hands the adapter (injected into the local
|
|
7
|
+
* runtime in dev, pushed to a secret store in prod). No `process.env` mutation,
|
|
8
|
+
* no interpolation magic beyond `${VAR}` against earlier keys in the same file.
|
|
9
|
+
*/
|
|
10
|
+
import { readFileSync } from 'node:fs';
|
|
11
|
+
export function parseDotenv(contents) {
|
|
12
|
+
const out = {};
|
|
13
|
+
for (const raw of contents.split('\n')) {
|
|
14
|
+
const line = raw.trim();
|
|
15
|
+
if (!line || line.startsWith('#'))
|
|
16
|
+
continue;
|
|
17
|
+
const match = /^(?:export\s+)?([A-Za-z_]\w*)\s*=\s*(.*)$/.exec(line);
|
|
18
|
+
if (!match)
|
|
19
|
+
continue;
|
|
20
|
+
const [, key, rawValue] = match;
|
|
21
|
+
let value = rawValue.trim();
|
|
22
|
+
// Single quotes mean a LITERAL value (standard dotenv): no `${VAR}`
|
|
23
|
+
// interpolation, so a secret that legitimately contains a literal `${...}`
|
|
24
|
+
// (e.g. a password) survives intact instead of being silently blanked.
|
|
25
|
+
const singleQuoted = value.length >= 2 && value.startsWith("'") && value.endsWith("'");
|
|
26
|
+
if ((value.length >= 2 && value.startsWith('"') && value.endsWith('"')) || singleQuoted) {
|
|
27
|
+
value = value.slice(1, -1);
|
|
28
|
+
}
|
|
29
|
+
out[key] = singleQuoted
|
|
30
|
+
? value
|
|
31
|
+
: value.replace(/\$\{(\w+)\}/g, (_, name) => out[name] ?? '');
|
|
32
|
+
}
|
|
33
|
+
return out;
|
|
34
|
+
}
|
|
35
|
+
/** Read + parse a dotenv file. Returns `{}` if the file is absent (CI-safe). */
|
|
36
|
+
export function loadDotenvFile(path) {
|
|
37
|
+
let contents;
|
|
38
|
+
try {
|
|
39
|
+
contents = readFileSync(path, 'utf-8');
|
|
40
|
+
}
|
|
41
|
+
catch {
|
|
42
|
+
return {};
|
|
43
|
+
}
|
|
44
|
+
return parseDotenv(contents);
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=dotenv.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dotenv.js","sourceRoot":"","sources":["../../src/cli/dotenv.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAEtC,MAAM,UAAU,WAAW,CAAC,QAAgB;IAC1C,MAAM,GAAG,GAA2B,EAAE,CAAA;IACtC,KAAK,MAAM,GAAG,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC;QACvC,MAAM,IAAI,GAAG,GAAG,CAAC,IAAI,EAAE,CAAA;QACvB,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC;YAAE,SAAQ;QAC3C,MAAM,KAAK,GAAG,2CAA2C,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;QACpE,IAAI,CAAC,KAAK;YAAE,SAAQ;QACpB,MAAM,CAAC,EAAE,GAAG,EAAE,QAAQ,CAAC,GAAG,KAAK,CAAA;QAC/B,IAAI,KAAK,GAAG,QAAQ,CAAC,IAAI,EAAE,CAAA;QAC3B,oEAAoE;QACpE,2EAA2E;QAC3E,uEAAuE;QACvE,MAAM,YAAY,GAAG,KAAK,CAAC,MAAM,IAAI,CAAC,IAAI,KAAK,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAA;QACtF,IAAI,CAAC,KAAK,CAAC,MAAM,IAAI,CAAC,IAAI,KAAK,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,IAAI,YAAY,EAAE,CAAC;YACxF,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAA;QAC5B,CAAC;QACD,GAAG,CAAC,GAAG,CAAC,GAAG,YAAY;YACrB,CAAC,CAAC,KAAK;YACP,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC,CAAC,EAAE,IAAY,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAA;IACzE,CAAC;IACD,OAAO,GAAG,CAAA;AACZ,CAAC;AAED,gFAAgF;AAChF,MAAM,UAAU,cAAc,CAAC,IAAY;IACzC,IAAI,QAAgB,CAAA;IACpB,IAAI,CAAC;QACH,QAAQ,GAAG,YAAY,CAAC,IAAI,EAAE,OAAO,CAAC,CAAA;IACxC,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,EAAE,CAAA;IACX,CAAC;IACD,OAAO,WAAW,CAAC,QAAQ,CAAC,CAAA;AAC9B,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `@astrale-os/sdk/cli` — the `astrale-domain` CLI (dev | build | deploy) and
|
|
3
|
+
* the dotenv secrets-file boundary, folded in from the former
|
|
4
|
+
* `@astrale-os/devkit` package.
|
|
5
|
+
*
|
|
6
|
+
* Node-only: the CLI imports `node:fs`/`node:module`/`node:url` and runs under
|
|
7
|
+
* Bun (it imports the project's `astrale.config.ts` directly). This subpath is
|
|
8
|
+
* deliberately NOT re-exported from the package barrel — pulling it into the
|
|
9
|
+
* isomorphic `.` entry would poison browser/worker bundlers that traverse every
|
|
10
|
+
* re-export (the same rule that keeps `./server` and `./deploy` off the barrel).
|
|
11
|
+
* The bin lives at `./bin`.
|
|
12
|
+
*/
|
|
13
|
+
export { run, parseArgs } from './run';
|
|
14
|
+
export { parseDotenv, loadDotenvFile } from './dotenv';
|
|
15
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cli/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `@astrale-os/sdk/cli` — the `astrale-domain` CLI (dev | build | deploy) and
|
|
3
|
+
* the dotenv secrets-file boundary, folded in from the former
|
|
4
|
+
* `@astrale-os/devkit` package.
|
|
5
|
+
*
|
|
6
|
+
* Node-only: the CLI imports `node:fs`/`node:module`/`node:url` and runs under
|
|
7
|
+
* Bun (it imports the project's `astrale.config.ts` directly). This subpath is
|
|
8
|
+
* deliberately NOT re-exported from the package barrel — pulling it into the
|
|
9
|
+
* isomorphic `.` entry would poison browser/worker bundlers that traverse every
|
|
10
|
+
* re-export (the same rule that keeps `./server` and `./deploy` off the barrel).
|
|
11
|
+
* The bin lives at `./bin`.
|
|
12
|
+
*/
|
|
13
|
+
export { run, parseArgs } from './run';
|
|
14
|
+
export { parseDotenv, loadDotenvFile } from './dotenv';
|
|
15
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/cli/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The `astrale-domain` CLI — dev | build | deploy.
|
|
3
|
+
*
|
|
4
|
+
* Thin by design: it reads `astrale.config.ts`, resolves `envs[<env>] → params`
|
|
5
|
+
* via the adapter, loads the env's secrets file, then drives `adapter.watch`
|
|
6
|
+
* (dev) or `adapter.deploy` (build+ship). It prints the resulting URL and the
|
|
7
|
+
* exact `astrale domain install <url> --direct` line. It boots no kernel and knows
|
|
8
|
+
* nothing provider-specific — that all lives in the adapter.
|
|
9
|
+
*
|
|
10
|
+
* The diagnostic spec (`.astrale/spec.json`) is written AFTER watch/deploy
|
|
11
|
+
* returns, at the live URL: the install graph (and therefore `schemaHash`)
|
|
12
|
+
* embeds `binding.remoteUrl`s derived from the serving URL, so a spec built at
|
|
13
|
+
* a guessed URL would carry a hash that never matches the worker's `/meta`.
|
|
14
|
+
* Only `astrale-domain build` (no URL exists yet) uses an explicit placeholder
|
|
15
|
+
* and says so.
|
|
16
|
+
*
|
|
17
|
+
* astrale-domain dev # = deploy dev --watch
|
|
18
|
+
* astrale-domain prod # = deploy prod
|
|
19
|
+
* astrale-domain deploy <env> # any env key
|
|
20
|
+
* astrale-domain build # rebuild spec only (placeholder URL)
|
|
21
|
+
* astrale-domain publish [env] # = deploy [prod] then register the URL
|
|
22
|
+
*
|
|
23
|
+
* `publish` (and the `--publish` tail-flag on deploy) deploys, then registers
|
|
24
|
+
* the resulting URL in the admin catalog by SHELLING OUT to the operator CLI
|
|
25
|
+
* (`astrale domain publish --origin --name --public-url`). Auth lives entirely
|
|
26
|
+
* in that CLI — this build tool never touches credentials; it just hands off the
|
|
27
|
+
* fresh URL it alone knows. Requires `astrale` on PATH (the same CLI the deploy
|
|
28
|
+
* footer already points you at for `domain install`).
|
|
29
|
+
*/
|
|
30
|
+
import type { DeployConfig } from '../config/deploy';
|
|
31
|
+
type ParsedArgs = {
|
|
32
|
+
command: 'dev' | 'build' | 'deploy';
|
|
33
|
+
env: string;
|
|
34
|
+
watch: boolean;
|
|
35
|
+
/** `--port <n>` (dev only) — overrides the env's local dev port. */
|
|
36
|
+
port?: number;
|
|
37
|
+
/** `--host <url>` (dev only) — public URL of a tunnel/proxy front: binds 0.0.0.0 + pins WORKER_URL. */
|
|
38
|
+
host?: string;
|
|
39
|
+
/** Register the deployed URL in the admin catalog (the `publish` command / `--publish` flag). */
|
|
40
|
+
publish?: boolean;
|
|
41
|
+
/** `--name <slug>` — registry name to publish under (default: package.json `name`). */
|
|
42
|
+
name?: string;
|
|
43
|
+
/** `--install-by-default` — mark the published domain for install on every new instance. */
|
|
44
|
+
installByDefault?: boolean;
|
|
45
|
+
};
|
|
46
|
+
export declare function run(argv: readonly string[]): Promise<number>;
|
|
47
|
+
/**
|
|
48
|
+
* Watch `astrale.config.ts` while `dev` runs: on change, re-import the config
|
|
49
|
+
* (cache-busted), re-resolve env params + secrets, and re-run the adapter's
|
|
50
|
+
* codegen via `adapter.regenerate` — the running dev server (e.g. `wrangler
|
|
51
|
+
* dev`, which watches its generated config + entry) reloads them itself, so a
|
|
52
|
+
* config edit lands without restarting the CLI.
|
|
53
|
+
*
|
|
54
|
+
* Watches the config's DIRECTORY, not the file: editors save via atomic
|
|
55
|
+
* rename, which silently kills an inode-bound watch.
|
|
56
|
+
*
|
|
57
|
+
* Deliberate limits, surfaced to the user instead of half-applied:
|
|
58
|
+
* • origin / adapter changes re-key the worker's identity → restart;
|
|
59
|
+
* • a mid-edit broken config (syntax error, bad env) warns and keeps the
|
|
60
|
+
* previous generation running;
|
|
61
|
+
* • modules the config IMPORTS (e.g. the schema) stay module-cached — only
|
|
62
|
+
* the config file itself is re-evaluated, which covers everything
|
|
63
|
+
* `defineDomain` owns (vars, requires, postInstall, wrangler overlay…).
|
|
64
|
+
*/
|
|
65
|
+
export declare function watchConfigForRegen(args: {
|
|
66
|
+
configPath: string;
|
|
67
|
+
initial: DeployConfig;
|
|
68
|
+
env: string;
|
|
69
|
+
/** CLI flag overrides (dev --port / --host) — re-applied on every regen. */
|
|
70
|
+
paramOverrides: Record<string, unknown>;
|
|
71
|
+
projectDir: string;
|
|
72
|
+
specPath: string;
|
|
73
|
+
clientDir?: string;
|
|
74
|
+
url: string;
|
|
75
|
+
onReload: () => void;
|
|
76
|
+
}): () => void;
|
|
77
|
+
export declare function parseArgs(argv: readonly string[]): ParsedArgs;
|
|
78
|
+
export {};
|
|
79
|
+
//# sourceMappingURL=run.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../../src/cli/run.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAUH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAOpD,KAAK,UAAU,GAAG;IAChB,OAAO,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,CAAA;IACnC,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,OAAO,CAAA;IACd,oEAAoE;IACpE,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,uGAAuG;IACvG,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,iGAAiG;IACjG,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,uFAAuF;IACvF,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,4FAA4F;IAC5F,gBAAgB,CAAC,EAAE,OAAO,CAAA;CAC3B,CAAA;AAED,wBAAsB,GAAG,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAyIlE;AAqHD;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE;IACxC,UAAU,EAAE,MAAM,CAAA;IAClB,OAAO,EAAE,YAAY,CAAA;IACrB,GAAG,EAAE,MAAM,CAAA;IACX,4EAA4E;IAC5E,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACvC,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,GAAG,EAAE,MAAM,CAAA;IACX,QAAQ,EAAE,MAAM,IAAI,CAAA;CACrB,GAAG,MAAM,IAAI,CAiFb;AAwGD,wBAAgB,SAAS,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,GAAG,UAAU,CA6E7D"}
|