@dbx-tools/cli 0.9.153 → 0.9.157
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/bin/dbx-genie.ts +3 -2
- package/index.appkit.ts +9 -0
- package/index.auth.ts +9 -0
- package/index.brand.ts +18 -0
- package/index.genie-code.ts +18 -0
- package/index.graphiti.ts +7 -0
- package/index.lakebase-proxy.ts +18 -0
- package/index.model-gateway.ts +9 -0
- package/index.ts +5 -61
- package/index.tunnel.ts +14 -0
- package/lib/bin/dbx-genie.js +4 -3
- package/lib/index.appkit.d.ts +5 -0
- package/lib/index.appkit.js +8 -0
- package/lib/index.auth.d.ts +5 -0
- package/lib/index.auth.js +8 -0
- package/lib/index.brand.d.ts +14 -0
- package/lib/index.brand.js +14 -0
- package/lib/index.d.ts +5 -61
- package/lib/index.genie-code.d.ts +14 -0
- package/lib/index.genie-code.js +14 -0
- package/lib/index.graphiti.d.ts +3 -0
- package/lib/index.graphiti.js +6 -0
- package/lib/index.js +6 -43
- package/lib/index.lakebase-proxy.d.ts +14 -0
- package/lib/index.lakebase-proxy.js +14 -0
- package/lib/index.model-gateway.d.ts +5 -0
- package/lib/index.model-gateway.js +8 -0
- package/lib/index.tunnel.d.ts +10 -0
- package/lib/index.tunnel.js +12 -0
- package/lib/src/appkit/cli.d.ts +1 -2
- package/lib/src/appkit/cli.js +4 -5
- package/lib/src/auth/cli.d.ts +2 -2
- package/lib/src/auth/cli.js +2 -3
- package/lib/src/auth/options.d.ts +2 -2
- package/lib/src/auth/options.js +4 -6
- package/lib/src/bootstrap.js +10 -14
- package/lib/src/brand/options.js +2 -2
- package/lib/src/brand/run.js +6 -8
- package/lib/src/brand/showcase.js +5 -5
- package/lib/src/bun.js +6 -6
- package/lib/src/genie-code/cli.d.ts +2 -2
- package/lib/src/genie-code/cli.js +4 -4
- package/lib/src/genie-code/config.d.ts +1 -1
- package/lib/src/genie-code/config.js +7 -7
- package/lib/src/genie-code/install.d.ts +2 -2
- package/lib/src/genie-code/install.js +4 -4
- package/lib/src/genie-code/runner.d.ts +2 -3
- package/lib/src/genie-code/runner.js +13 -11
- package/lib/src/genie-code/runtime.d.ts +3 -3
- package/lib/src/genie-code/runtime.js +10 -9
- package/lib/src/graphiti/cli.d.ts +2 -3
- package/lib/src/graphiti/cli.js +7 -8
- package/lib/src/lakebase-proxy/cli.d.ts +1 -2
- package/lib/src/lakebase-proxy/cli.js +3 -4
- package/lib/src/lakebase-proxy/options.js +7 -9
- package/lib/src/lakebase-proxy/proxy.js +8 -8
- package/lib/src/model-gateway/cli.d.ts +2 -3
- package/lib/src/model-gateway/cli.js +3 -4
- package/lib/src/model-gateway/server.d.ts +1 -1
- package/lib/src/model-gateway/server.js +5 -6
- package/lib/src/root.js +3 -3
- package/lib/src/tunnel/app.js +7 -9
- package/lib/src/tunnel/cli.d.ts +1 -2
- package/lib/src/tunnel/cli.js +13 -14
- package/lib/src/tunnel/options.d.ts +5 -5
- package/lib/src/tunnel/options.js +11 -11
- package/lib/src/tunnel/proxy.js +18 -17
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +58 -177
- package/src/appkit/cli.ts +2 -4
- package/src/auth/cli.ts +2 -4
- package/src/auth/options.ts +3 -5
- package/src/bootstrap.ts +9 -13
- package/src/brand/options.ts +1 -1
- package/src/brand/run.ts +7 -7
- package/src/brand/showcase.ts +4 -4
- package/src/bun.ts +6 -6
- package/src/genie-code/cli.ts +4 -4
- package/src/genie-code/config.ts +6 -6
- package/src/genie-code/install.ts +5 -7
- package/src/genie-code/runner.ts +12 -11
- package/src/genie-code/runtime.ts +10 -10
- package/src/graphiti/cli.ts +13 -9
- package/src/lakebase-proxy/cli.ts +7 -3
- package/src/lakebase-proxy/options.ts +13 -8
- package/src/lakebase-proxy/proxy.ts +7 -7
- package/src/model-gateway/cli.ts +7 -3
- package/src/model-gateway/server.ts +9 -5
- package/src/root.ts +2 -2
- package/src/tunnel/app.ts +6 -8
- package/src/tunnel/cli.ts +21 -15
- package/src/tunnel/options.ts +23 -15
- package/src/tunnel/proxy.ts +29 -20
- package/lib/src/appkit/index.d.ts +0 -5
- package/lib/src/appkit/index.js +0 -8
- package/lib/src/auth/index.d.ts +0 -5
- package/lib/src/auth/index.js +0 -8
- package/lib/src/brand/index.d.ts +0 -10
- package/lib/src/brand/index.js +0 -10
- package/lib/src/genie-code/index.d.ts +0 -12
- package/lib/src/genie-code/index.js +0 -12
- package/lib/src/genie-code/options.d.ts +0 -7
- package/lib/src/genie-code/options.js +0 -7
- package/lib/src/graphiti/index.d.ts +0 -5
- package/lib/src/graphiti/index.js +0 -7
- package/lib/src/graphiti/options.d.ts +0 -117
- package/lib/src/graphiti/options.js +0 -26
- package/lib/src/lakebase-proxy/index.d.ts +0 -13
- package/lib/src/lakebase-proxy/index.js +0 -13
- package/lib/src/model-gateway/index.d.ts +0 -3
- package/lib/src/model-gateway/index.js +0 -6
- package/lib/src/tunnel/index.d.ts +0 -8
- package/lib/src/tunnel/index.js +0 -10
- package/src/appkit/index.ts +0 -9
- package/src/auth/index.ts +0 -9
- package/src/brand/index.ts +0 -14
- package/src/genie-code/index.ts +0 -16
- package/src/genie-code/options.ts +0 -14
- package/src/graphiti/index.ts +0 -9
- package/src/graphiti/options.ts +0 -40
- package/src/lakebase-proxy/index.ts +0 -17
- package/src/model-gateway/index.ts +0 -7
- package/src/tunnel/index.ts +0 -12
package/src/appkit/index.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
// GENERATED by projen watch - DO NOT EDIT.
|
|
2
|
-
// Regenerated from the exporting modules in ./src.
|
|
3
|
-
// Hand edits are overwritten on the next watch; this file is read-only.
|
|
4
|
-
|
|
5
|
-
export * as cli from "./cli.ts";
|
|
6
|
-
export * as envExport from "./env-export.ts";
|
|
7
|
-
export { CommanderError } from "./cli.ts";
|
|
8
|
-
export { EnvExportFormatSchema, EnvCommandOptionsSchema } from "./env-export.ts";
|
|
9
|
-
export type { EnvExportFormat, EnvCommandOptions } from "./env-export.ts";
|
package/src/auth/index.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
// GENERATED by projen watch - DO NOT EDIT.
|
|
2
|
-
// Regenerated from the exporting modules in ./src.
|
|
3
|
-
// Hand edits are overwritten on the next watch; this file is read-only.
|
|
4
|
-
|
|
5
|
-
export * as cli from "./cli.ts";
|
|
6
|
-
export * as options from "./options.ts";
|
|
7
|
-
export { CommanderError } from "./cli.ts";
|
|
8
|
-
export { AuthCliOptionsSchema, TokenCommandOptionsSchema } from "./options.ts";
|
|
9
|
-
export type { AuthCliOptions, TokenCommandOptions } from "./options.ts";
|
package/src/brand/index.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// GENERATED by projen watch - DO NOT EDIT.
|
|
2
|
-
// Regenerated from the exporting modules in ./src.
|
|
3
|
-
// Hand edits are overwritten on the next watch; this file is read-only.
|
|
4
|
-
|
|
5
|
-
export * as cli from "./cli.ts";
|
|
6
|
-
export * as exportModule from "./export.ts";
|
|
7
|
-
export * as options from "./options.ts";
|
|
8
|
-
export * as run from "./run.ts";
|
|
9
|
-
export * as showcase from "./showcase.ts";
|
|
10
|
-
export type { BrandCliDependencies } from "./cli.ts";
|
|
11
|
-
export type { WriteBrandPackageOptions, WrittenBrandPackage } from "./export.ts";
|
|
12
|
-
export { BrandExportOptionsSchema } from "./options.ts";
|
|
13
|
-
export type { BrandExportOptions } from "./options.ts";
|
|
14
|
-
export type { BrandExportCallbacks } from "./run.ts";
|
package/src/genie-code/index.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
// GENERATED by projen watch - DO NOT EDIT.
|
|
2
|
-
// Regenerated from the exporting modules in ./src.
|
|
3
|
-
// Hand edits are overwritten on the next watch; this file is read-only.
|
|
4
|
-
|
|
5
|
-
export * as cli from "./cli.ts";
|
|
6
|
-
export * as config from "./config.ts";
|
|
7
|
-
export * as install from "./install.ts";
|
|
8
|
-
export * as options from "./options.ts";
|
|
9
|
-
export * as runner from "./runner.ts";
|
|
10
|
-
export * as runtime from "./runtime.ts";
|
|
11
|
-
export type { GenieCodeCliDependencies } from "./cli.ts";
|
|
12
|
-
export { GENIE_CODE_GATEWAY_PROVIDER } from "./config.ts";
|
|
13
|
-
export type { WriteGenieCodeConfigOptions, GenieCodeProfileHome, GenieCodeHome } from "./config.ts";
|
|
14
|
-
export type { InstallGenieCodeOptions } from "./install.ts";
|
|
15
|
-
export { RUNNER_OPTIONS_ENV } from "./runner.ts";
|
|
16
|
-
export type { GenieCodeRuntimeDependencies, RunGenieCodeOptions, PreparedGenieCodeRuntime } from "./runtime.ts";
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CLI projection of the shared managed Genie Code options.
|
|
3
|
-
*
|
|
4
|
-
* @module
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
export {
|
|
8
|
-
GenieCodeOptionsSchema as GenieCodeCliOptionsSchema,
|
|
9
|
-
resolveGenieCodeOptions as resolveGenieCodeCliOptions,
|
|
10
|
-
} from "@dbx-tools/shared-genie-code/options";
|
|
11
|
-
export type {
|
|
12
|
-
GenieCodeOptions as GenieCodeCliOptions,
|
|
13
|
-
ResolvedGenieCodeOptions as ResolvedGenieCodeCliOptions,
|
|
14
|
-
} from "@dbx-tools/shared-genie-code/options";
|
package/src/graphiti/index.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
// GENERATED by projen watch - DO NOT EDIT.
|
|
2
|
-
// Regenerated from the exporting modules in ./src.
|
|
3
|
-
// Hand edits are overwritten on the next watch; this file is read-only.
|
|
4
|
-
|
|
5
|
-
export * as cli from "./cli.ts";
|
|
6
|
-
export * as options from "./options.ts";
|
|
7
|
-
export type { GraphitiCliDependencies, GraphitiServiceOptions } from "./cli.ts";
|
|
8
|
-
export { GRAPHITI_DEFAULTS, GraphitiCliOptionsSchema, GraphitiOptionsSchema, ResolvedGraphitiOptionsSchema, graphitiOptionOverrides, graphitiOptionsEnvironment, graphitiOptionsFromEnvironment, resolveGraphitiOptions } from "./options.ts";
|
|
9
|
-
export type { GraphitiOptions, ResolvedGraphitiOptions } from "./options.ts";
|
package/src/graphiti/options.ts
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Graphiti CLI option surface.
|
|
3
|
-
*
|
|
4
|
-
* The Node Graphiti runtime owns the complete shared option contract. This
|
|
5
|
-
* module re-exports that surface without creating parallel CLI policy.
|
|
6
|
-
*
|
|
7
|
-
* @module
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
import { options } from "@dbx-tools/appkit-memory/graphiti";
|
|
11
|
-
|
|
12
|
-
/** Graphiti defaults derived from the shared owning schema. */
|
|
13
|
-
export const GRAPHITI_DEFAULTS = options.GRAPHITI_DEFAULTS;
|
|
14
|
-
|
|
15
|
-
/** Graphiti options represented as Commander flags. */
|
|
16
|
-
export const GraphitiCliOptionsSchema = options.GraphitiCliOptionsSchema;
|
|
17
|
-
|
|
18
|
-
/** Shared Graphiti option schema used by the CLI runtime. */
|
|
19
|
-
export const GraphitiOptionsSchema = options.GraphitiOptionsSchema;
|
|
20
|
-
|
|
21
|
-
/** Schema for Graphiti options after defaults are resolved. */
|
|
22
|
-
export const ResolvedGraphitiOptionsSchema = options.ResolvedGraphitiOptionsSchema;
|
|
23
|
-
|
|
24
|
-
/** Keep only explicitly supplied Graphiti fields and validate their values. */
|
|
25
|
-
export const graphitiOptionOverrides = options.graphitiOptionOverrides;
|
|
26
|
-
|
|
27
|
-
/** Serialize Graphiti options into the Python runtime environment. */
|
|
28
|
-
export const graphitiOptionsEnvironment = options.graphitiOptionsEnvironment;
|
|
29
|
-
|
|
30
|
-
/** Parse Graphiti option overrides from an environment record. */
|
|
31
|
-
export const graphitiOptionsFromEnvironment = options.graphitiOptionsFromEnvironment;
|
|
32
|
-
|
|
33
|
-
/** Apply shared defaults and validate Graphiti runtime invariants. */
|
|
34
|
-
export const resolveGraphitiOptions = options.resolveGraphitiOptions;
|
|
35
|
-
|
|
36
|
-
/** Graphiti option inputs accepted by the CLI. */
|
|
37
|
-
export type GraphitiOptions = options.GraphitiOptions;
|
|
38
|
-
|
|
39
|
-
/** Graphiti options after shared defaults are resolved. */
|
|
40
|
-
export type ResolvedGraphitiOptions = options.ResolvedGraphitiOptions;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
// GENERATED by projen watch - DO NOT EDIT.
|
|
2
|
-
// Regenerated from the exporting modules in ./src.
|
|
3
|
-
// Hand edits are overwritten on the next watch; this file is read-only.
|
|
4
|
-
|
|
5
|
-
export * as cancellation from "./cancellation.ts";
|
|
6
|
-
export * as cli from "./cli.ts";
|
|
7
|
-
export * as options from "./options.ts";
|
|
8
|
-
export * as protocol from "./protocol.ts";
|
|
9
|
-
export * as proxy from "./proxy.ts";
|
|
10
|
-
export { CancellationRegistry } from "./cancellation.ts";
|
|
11
|
-
export type { CancellationTarget, CancellationForwarder } from "./cancellation.ts";
|
|
12
|
-
export type { LakebaseProxyCliDependencies } from "./cli.ts";
|
|
13
|
-
export { LakebaseProxyOptionsSchema, LakebaseProxyUrlOptionsSchema } from "./options.ts";
|
|
14
|
-
export type { LakebaseProxyOptions, ResolvedLakebaseProxyOptions, LakebaseProxyUrlOptions } from "./options.ts";
|
|
15
|
-
export { SSL_REQUEST, CANCEL_REQUEST, PROTOCOL_3, PostgresProtocolError } from "./protocol.ts";
|
|
16
|
-
export type { StartupMessage, CancelMessage, InitialMessage } from "./protocol.ts";
|
|
17
|
-
export { LakebaseProxy } from "./proxy.ts";
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
// GENERATED by projen watch - DO NOT EDIT.
|
|
2
|
-
// Regenerated from the exporting modules in ./src.
|
|
3
|
-
// Hand edits are overwritten on the next watch; this file is read-only.
|
|
4
|
-
|
|
5
|
-
export * as cli from "./cli.ts";
|
|
6
|
-
export * as server from "./server.ts";
|
|
7
|
-
export type { ModelGatewayCliDependencies } from "./cli.ts";
|
package/src/tunnel/index.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
// GENERATED by projen watch - DO NOT EDIT.
|
|
2
|
-
// Regenerated from the exporting modules in ./src.
|
|
3
|
-
// Hand edits are overwritten on the next watch; this file is read-only.
|
|
4
|
-
|
|
5
|
-
export * as app from "./app.ts";
|
|
6
|
-
export * as cli from "./cli.ts";
|
|
7
|
-
export * as options from "./options.ts";
|
|
8
|
-
export * as proxy from "./proxy.ts";
|
|
9
|
-
export { CommanderError } from "./cli.ts";
|
|
10
|
-
export { TunnelOptionsSchema } from "./options.ts";
|
|
11
|
-
export type { TunnelOptions, ResolvedTunnelOptions } from "./options.ts";
|
|
12
|
-
export type { ProxyOptions } from "./proxy.ts";
|