@stacksjs/ts-cloud 0.7.58 → 0.7.60
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/auth/encryption.d.ts +2 -1
- package/dist/auth/index.d.ts +1 -1
- package/dist/aws/index.js +1 -1
- package/dist/bin/cli.js +2973 -2973
- package/dist/{chunk-fv1bj3yt.js → chunk-001z7khv.js} +36 -0
- package/dist/{chunk-fw3q88wk.js → chunk-cz17nhnx.js} +80 -68
- package/dist/{chunk-vvkd46k1.js → chunk-gcsv7g83.js} +3 -3
- package/dist/{chunk-e05phx5f.js → chunk-rxhqny6z.js} +2 -2
- package/dist/{chunk-9m6b4m74.js → chunk-sd9h1baj.js} +19 -11
- package/dist/{chunk-vdk53yyq.js → chunk-tq46tnxv.js} +102 -64
- package/dist/{chunk-0z43x8re.js → chunk-z3bakpnh.js} +2 -2
- package/dist/{chunk-exbcsab2.js → chunk-zvk0f89t.js} +1 -1
- package/dist/control-plane/index.d.ts +1 -1
- package/dist/control-plane/store.d.ts +2 -1
- package/dist/deploy/dashboard-config-module.d.ts +7 -1
- package/dist/deploy/dashboard-session.d.ts +2 -1
- package/dist/deploy/dashboard-users.d.ts +5 -4
- package/dist/deploy/index.d.ts +1 -1
- package/dist/deploy/index.js +9 -9
- package/dist/deploy/management-dashboard.d.ts +4 -3
- package/dist/dns/index.js +1 -1
- package/dist/dns/porkbun.d.ts +27 -0
- package/dist/dns/types.d.ts +8 -1
- package/dist/drivers/index.js +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +26 -12
- package/dist/ui/account/automation.html +3 -3
- package/dist/ui/account/security.html +2 -2
- package/dist/ui/applications/compose.html +4 -4
- package/dist/ui/applications/new.html +2 -2
- package/dist/ui/data/backups.html +4 -4
- package/dist/ui/data/services.html +4 -4
- package/dist/ui/data/volumes.html +4 -4
- package/dist/ui/index.html +4 -4
- package/dist/ui/integrations.html +2 -2
- package/dist/ui/operations/alerts.html +4 -4
- package/dist/ui/operations/configuration.html +4 -4
- package/dist/ui/operations/jobs.html +4 -4
- package/dist/ui/operations/maintenance.html +4 -4
- package/dist/ui/operations/observability.html +4 -4
- package/dist/ui/operations/previews.html +4 -4
- package/dist/ui/operations/queue.html +4 -4
- package/dist/ui/operations/regions.html +4 -4
- package/dist/ui/operations/releases.html +4 -4
- package/dist/ui/operations/workloads.html +4 -4
- package/dist/ui/security.html +2 -2
- package/dist/ui/server/actions.html +3 -3
- package/dist/ui/server/activity.html +2 -2
- package/dist/ui/server/capacity.html +4 -4
- package/dist/ui/server/database.html +4 -4
- package/dist/ui/server/deployments.html +4 -4
- package/dist/ui/server/diagnostics.html +2 -2
- package/dist/ui/server/firewall.html +4 -4
- package/dist/ui/server/fleet.html +4 -4
- package/dist/ui/server/logs.html +4 -4
- package/dist/ui/server/metrics.html +2 -2
- package/dist/ui/server/services.html +2 -2
- package/dist/ui/server/sites.html +3 -3
- package/dist/ui/server/ssh-keys.html +4 -4
- package/dist/ui/server/team.html +4 -4
- package/dist/ui/server/terminal.html +2 -2
- package/dist/ui/serverless/alarms.html +4 -4
- package/dist/ui/serverless/assets.html +2 -2
- package/dist/ui/serverless/data.html +4 -4
- package/dist/ui/serverless/deployments.html +2 -2
- package/dist/ui/serverless/firewall.html +2 -2
- package/dist/ui/serverless/functions.html +4 -4
- package/dist/ui/serverless/logs.html +4 -4
- package/dist/ui/serverless/metrics.html +2 -2
- package/dist/ui/serverless/queues.html +4 -4
- package/dist/ui/serverless/secrets.html +4 -4
- package/dist/ui/serverless/traces.html +4 -4
- package/dist/ui/serverless.html +4 -4
- package/package.json +3 -3
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export declare const SESSION_COOKIE = "ts_cloud_session";
|
|
2
|
-
|
|
2
|
+
/** Project-relative location of the session signing secret. */
|
|
3
|
+
export declare function secretFile(): string;
|
|
3
4
|
/** Eight hours: long enough to work through a deploy, short enough to expire. */
|
|
4
5
|
export declare const SESSION_TTL_MS: number;
|
|
5
6
|
export interface SessionPayload {
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The dashboard's user store: a JSON file of {@link DashboardUser} records at
|
|
3
|
-
*
|
|
4
|
-
* grants. Small on purpose — a box hosts a handful of
|
|
5
|
-
* directory service.
|
|
3
|
+
* `dashboard-users.json` (0600) inside the state directory, holding scrypt
|
|
4
|
+
* hashes and site grants. Small on purpose — a box hosts a handful of
|
|
5
|
+
* collaborators, not a directory service.
|
|
6
6
|
*
|
|
7
7
|
* On first use the store bootstraps a single admin so a freshly provisioned
|
|
8
8
|
* dashboard is never reachable without credentials. The generated password is
|
|
9
9
|
* returned to the caller to print once; only its hash is ever written.
|
|
10
10
|
*/
|
|
11
11
|
import type { DashboardUser, SiteRole } from './dashboard-auth';
|
|
12
|
-
|
|
12
|
+
/** Project-relative location of the user store, for messages and docs. */
|
|
13
|
+
export declare function usersFile(): string;
|
|
13
14
|
/** Usernames are used in URLs and shell-free contexts; keep them boring. */
|
|
14
15
|
export declare function isValidUsername(value: string): boolean;
|
|
15
16
|
export declare function parseUsersFile(text: string): DashboardUser[];
|
package/dist/deploy/index.d.ts
CHANGED
|
@@ -16,4 +16,4 @@ export { buildFunctionEnv, type CodeSource, deployServerlessApp, type DeployServ
|
|
|
16
16
|
export { buildAndPushServerlessImage, type BuildImageOptions, type BuiltImage } from './serverless-image';
|
|
17
17
|
export { type DashboardData, resolveDashboardData } from './dashboard-data';
|
|
18
18
|
export { dashboardActions, resolveDashboardAction, sanitizeCloudConfig, startLocalDashboardServer, type DashboardAction, type LocalDashboardServer, type LocalDashboardServerOptions, } from './local-dashboard-server';
|
|
19
|
-
export { buildManagementDashboardArtifact,
|
|
19
|
+
export { buildManagementDashboardArtifact, dashboardCredentialsFile, ensureManagementDashboard, type EnsureDashboardLogger, MANAGEMENT_DASHBOARD_SITE, resolveDashboardAuth, type ResolvedDashboardAuth, resolveUiSource, } from './management-dashboard';
|
package/dist/deploy/index.js
CHANGED
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
synchronizeDashboardUsers,
|
|
33
33
|
trackDashboardOperation,
|
|
34
34
|
verifyStaticApiOrigin
|
|
35
|
-
} from "../chunk-
|
|
35
|
+
} from "../chunk-cz17nhnx.js";
|
|
36
36
|
import {
|
|
37
37
|
deleteStaticSite,
|
|
38
38
|
deployStaticSite,
|
|
@@ -43,19 +43,19 @@ import {
|
|
|
43
43
|
generateStaticSiteTemplate,
|
|
44
44
|
invalidateCache,
|
|
45
45
|
uploadStaticFiles
|
|
46
|
-
} from "../chunk-
|
|
46
|
+
} from "../chunk-gcsv7g83.js";
|
|
47
47
|
import {
|
|
48
48
|
buildAndPushServerlessImage
|
|
49
|
-
} from "../chunk-
|
|
49
|
+
} from "../chunk-zvk0f89t.js";
|
|
50
50
|
import"../chunk-ybcz6sxc.js";
|
|
51
51
|
import"../chunk-01d86gt1.js";
|
|
52
52
|
import"../chunk-50jpda9q.js";
|
|
53
53
|
import"../chunk-he9a874b.js";
|
|
54
|
-
import"../chunk-
|
|
54
|
+
import"../chunk-001z7khv.js";
|
|
55
55
|
import {
|
|
56
|
-
DASHBOARD_CREDENTIALS_FILE,
|
|
57
56
|
MANAGEMENT_DASHBOARD_SITE,
|
|
58
57
|
buildManagementDashboardArtifact,
|
|
58
|
+
dashboardCredentialsFile,
|
|
59
59
|
ensureManagementDashboard,
|
|
60
60
|
isPhpSite,
|
|
61
61
|
resolveDashboardAuth,
|
|
@@ -65,8 +65,8 @@ import {
|
|
|
65
65
|
shipsARelease,
|
|
66
66
|
siteInstallBase,
|
|
67
67
|
validateDeploymentConfig
|
|
68
|
-
} from "../chunk-
|
|
69
|
-
import"../chunk-
|
|
68
|
+
} from "../chunk-sd9h1baj.js";
|
|
69
|
+
import"../chunk-tq46tnxv.js";
|
|
70
70
|
import"../chunk-703nkybg.js";
|
|
71
71
|
import"../chunk-4cjrg98a.js";
|
|
72
72
|
import"../chunk-hpv68b4a.js";
|
|
@@ -119,6 +119,7 @@ export {
|
|
|
119
119
|
deployExistingStaticFullStack,
|
|
120
120
|
deleteStaticSite,
|
|
121
121
|
dashboardPageRoutes,
|
|
122
|
+
dashboardCredentialsFile,
|
|
122
123
|
dashboardActions,
|
|
123
124
|
createStaticApiOriginDependencies,
|
|
124
125
|
createExistingStaticFullStackDependencies,
|
|
@@ -128,6 +129,5 @@ export {
|
|
|
128
129
|
buildFunctionEnv,
|
|
129
130
|
buildAndPushServerlessImage,
|
|
130
131
|
buildAndPushContainerImage,
|
|
131
|
-
MANAGEMENT_DASHBOARD_SITE
|
|
132
|
-
DASHBOARD_CREDENTIALS_FILE
|
|
132
|
+
MANAGEMENT_DASHBOARD_SITE
|
|
133
133
|
};
|
|
@@ -40,7 +40,7 @@ import type { CloudConfig } from '@ts-cloud/core';
|
|
|
40
40
|
*/
|
|
41
41
|
export declare const MANAGEMENT_DASHBOARD_SITE = "dashboard";
|
|
42
42
|
/** Where an auto-generated dashboard password is persisted (per project checkout). */
|
|
43
|
-
export declare
|
|
43
|
+
export declare function dashboardCredentialsFile(): string;
|
|
44
44
|
export interface ResolvedDashboardAuth {
|
|
45
45
|
/** The htpasswd password, or undefined when serving publicly (opt-out). */
|
|
46
46
|
password?: string;
|
|
@@ -52,7 +52,8 @@ export interface ResolvedDashboardAuth {
|
|
|
52
52
|
* 1. `TS_CLOUD_UI_PASSWORD` when set → use it verbatim.
|
|
53
53
|
* 2. `TS_CLOUD_UI_PUBLIC` truthy → serve with NO auth (deliberate opt-out).
|
|
54
54
|
* 3. Otherwise → reuse a previously-generated password from
|
|
55
|
-
*
|
|
55
|
+
* `dashboard-credentials.json` in the state directory, or generate and
|
|
56
|
+
* persist a new one.
|
|
56
57
|
*
|
|
57
58
|
* Persisting the generated password keeps htpasswd stable across deploys (so a
|
|
58
59
|
* saved credential keeps working) and lets the operator retrieve it locally.
|
|
@@ -63,7 +64,7 @@ export interface EnsureDashboardLogger {
|
|
|
63
64
|
warn: (msg: string) => void;
|
|
64
65
|
}
|
|
65
66
|
/** Where the live dashboard's release is staged, inside the project checkout. */
|
|
66
|
-
export declare
|
|
67
|
+
export declare function liveStageDir(): string;
|
|
67
68
|
/**
|
|
68
69
|
* The ts-cloud version the box should install. Reads this package's own version
|
|
69
70
|
* so a box runs a dashboard matching the CLI that deployed it, rather than
|
package/dist/dns/index.js
CHANGED
package/dist/dns/porkbun.d.ts
CHANGED
|
@@ -23,6 +23,33 @@ export declare class PorkbunProvider implements DnsProvider {
|
|
|
23
23
|
* e.g., "api.example.com" -> "example.com"
|
|
24
24
|
*/
|
|
25
25
|
private getRootDomain;
|
|
26
|
+
/**
|
|
27
|
+
* Address record types that cannot coexist with an `ALIAS`/`CNAME` on the
|
|
28
|
+
* same name. Porkbun ships every new domain with a parking `ALIAS` on the
|
|
29
|
+
* apex and a wildcard `CNAME`, both pointing at `pixie.porkbun.com`.
|
|
30
|
+
*/
|
|
31
|
+
private static readonly ADDRESS_TYPES;
|
|
32
|
+
/**
|
|
33
|
+
* Remove any `ALIAS`/`CNAME` occupying `record.name` before writing an
|
|
34
|
+
* address record there.
|
|
35
|
+
*
|
|
36
|
+
* Porkbun accepts `POST /dns/create` for an apex `A` while its parking
|
|
37
|
+
* `ALIAS` still owns that name, answers `SUCCESS`, and then silently
|
|
38
|
+
* discards the record — nothing is created and nothing is reported. A deploy
|
|
39
|
+
* therefore logged a successful DNS reconciliation while the domain stayed
|
|
40
|
+
* parked, which is indistinguishable from slow propagation until someone
|
|
41
|
+
* digs the zone by hand.
|
|
42
|
+
*
|
|
43
|
+
* Only conflicting ALIAS/CNAME entries on the SAME name are touched; MX, TXT,
|
|
44
|
+
* NS and records on other names are left alone.
|
|
45
|
+
*/
|
|
46
|
+
private clearConflictingAliases;
|
|
47
|
+
/**
|
|
48
|
+
* Confirm an address record actually exists after a create that reported
|
|
49
|
+
* success — see {@link clearConflictingAliases} for why a `SUCCESS` from
|
|
50
|
+
* Porkbun is not sufficient evidence that anything was written.
|
|
51
|
+
*/
|
|
52
|
+
private addressRecordExists;
|
|
26
53
|
createRecord(domain: string, record: DnsRecord): Promise<CreateRecordResult>;
|
|
27
54
|
upsertRecord(domain: string, record: DnsRecord): Promise<CreateRecordResult>;
|
|
28
55
|
deleteRecord(domain: string, record: DnsRecord): Promise<DeleteRecordResult>;
|
package/dist/dns/types.d.ts
CHANGED
|
@@ -2,7 +2,14 @@
|
|
|
2
2
|
* DNS Provider Types
|
|
3
3
|
* Common interfaces for DNS provider abstraction
|
|
4
4
|
*/
|
|
5
|
-
|
|
5
|
+
/**
|
|
6
|
+
* `ALIAS` is a provider-specific CNAME-like record permitted at a zone apex
|
|
7
|
+
* (Porkbun, DNSimple, Route53's ALIAS). It is included because ts-cloud has to
|
|
8
|
+
* *see* one to manage a zone correctly, not because it writes them: Porkbun
|
|
9
|
+
* puts a parking `ALIAS` on the apex of every new domain, and an apex `A`
|
|
10
|
+
* written while that exists is accepted and then silently discarded.
|
|
11
|
+
*/
|
|
12
|
+
export type DnsRecordType = 'A' | 'AAAA' | 'ALIAS' | 'CNAME' | 'TXT' | 'MX' | 'NS' | 'SRV' | 'CAA';
|
|
6
13
|
export interface DnsRecord {
|
|
7
14
|
name: string;
|
|
8
15
|
type: DnsRecordType;
|
package/dist/drivers/index.js
CHANGED
|
@@ -52,8 +52,8 @@ import {
|
|
|
52
52
|
waitForCloudInit,
|
|
53
53
|
waitForSsh,
|
|
54
54
|
wrapCloudInitUserData
|
|
55
|
-
} from "../chunk-
|
|
56
|
-
import"../chunk-
|
|
55
|
+
} from "../chunk-sd9h1baj.js";
|
|
56
|
+
import"../chunk-tq46tnxv.js";
|
|
57
57
|
import"../chunk-703nkybg.js";
|
|
58
58
|
import"../chunk-4cjrg98a.js";
|
|
59
59
|
import"../chunk-wj3s95p9.js";
|
package/dist/index.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ export type { ObjectStorageConfig, ObjectStorageCredentials, ObjectStorageProvid
|
|
|
29
29
|
export { keyMatchesFilters, migrateObjectStorage, remapKey } from './object-storage/migrate';
|
|
30
30
|
export type { MigrateEndpoint, MigrateError, MigrateOptions, MigratePlanItem, MigrateProgress, MigrateResult, MigrateVerification, } from './object-storage/migrate';
|
|
31
31
|
export * from './ssl';
|
|
32
|
-
export { deployStaticSite, deployStaticSiteFull, uploadStaticFiles, invalidateCache, deleteStaticSite, generateStaticSiteTemplate, deployStaticSiteWithExternalDns, deployStaticSiteWithExternalDnsFull, generateExternalDnsStaticSiteTemplate, deploySite, resolveSiteDeployTarget, resolveSiteKind, validateDeploymentConfig, buildAndPushServerlessImage, buildFunctionEnv, deployServerlessApp, infraEnvFromOutputs, redeployServerlessApp, rollbackServerlessApp, runRemoteCommand, setMaintenance, buildManagementDashboardArtifact,
|
|
32
|
+
export { deployStaticSite, deployStaticSiteFull, uploadStaticFiles, invalidateCache, deleteStaticSite, generateStaticSiteTemplate, deployStaticSiteWithExternalDns, deployStaticSiteWithExternalDnsFull, generateExternalDnsStaticSiteTemplate, deploySite, resolveSiteDeployTarget, resolveSiteKind, validateDeploymentConfig, buildAndPushServerlessImage, buildFunctionEnv, deployServerlessApp, infraEnvFromOutputs, redeployServerlessApp, rollbackServerlessApp, runRemoteCommand, setMaintenance, buildManagementDashboardArtifact, dashboardCredentialsFile, ensureManagementDashboard, MANAGEMENT_DASHBOARD_SITE, resolveDashboardAuth, resolveUiSource, } from './deploy';
|
|
33
33
|
export { collectServerDnsDomains, removeStaleServerAddressRecords } from './deploy/server-dns';
|
|
34
34
|
export type { EnsureDashboardLogger, ResolvedDashboardAuth, StaticSiteConfig, DeployResult, UploadOptions, ExternalDnsStaticSiteConfig, ExternalDnsDeployResult, DeploySiteConfig, DeploySiteResult, StaticSiteDnsProvider, SiteDeployKind, DeploymentValidationResult, BuildImageOptions, BuiltImage, CodeSource, DeployServerlessOptions, ResolvedContext, } from './deploy';
|
|
35
35
|
export { createCloudDriver, CloudDriverFactory, cloudDrivers, AwsDriver, HetznerDriver, HetznerClient, resolveHetznerApiToken, normalizeSshPublicKey, ensureFirewall, ensureServer, ensureSshKey, serverPublicIpv4, sshExec, sshExecOrThrow, scpUpload, waitForSsh, waitForCloudInit, buildSshArgs, generateUbuntuAppCloudInit, wrapCloudInitUserData, buildHostCleanupScript, buildSiteDeployScript, buildStaticSiteDeployScript, resolveExecStart, deployAllComputeSites, deploySiteRelease, } from './drivers';
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,6 @@ import {
|
|
|
5
5
|
API_VERSION,
|
|
6
6
|
AUTHORIZATION_CAPABILITIES,
|
|
7
7
|
AUTH_ACTION_TOKEN_TTL_MS,
|
|
8
|
-
AUTH_ENCRYPTION_KEY_FILE,
|
|
9
8
|
AUTH_MFA_CHALLENGE_TTL_MS,
|
|
10
9
|
AUTH_OIDC_TRANSACTION_TTL_MS,
|
|
11
10
|
AUTH_SESSION_ABSOLUTE_TTL_MS,
|
|
@@ -34,7 +33,6 @@ import {
|
|
|
34
33
|
BunDockerRuntime,
|
|
35
34
|
BunDockerVolumeRuntime,
|
|
36
35
|
BunFilesystemArchiveRuntime,
|
|
37
|
-
CONTROL_PLANE_DATABASE_FILE,
|
|
38
36
|
CONTROL_PLANE_SCHEMA_VERSION,
|
|
39
37
|
CloudBlockVolumeDriver,
|
|
40
38
|
ComposeApplicationService,
|
|
@@ -126,6 +124,7 @@ import {
|
|
|
126
124
|
attachProvenanceToRelease,
|
|
127
125
|
attachSbomToRelease,
|
|
128
126
|
attachVulnerabilitySummary,
|
|
127
|
+
authEncryptionKeyFile,
|
|
129
128
|
authorizeOrganization,
|
|
130
129
|
authorizeRuntimePath,
|
|
131
130
|
backupCredentialStatus,
|
|
@@ -147,6 +146,7 @@ import {
|
|
|
147
146
|
compressBackup,
|
|
148
147
|
config,
|
|
149
148
|
connectionGuidance,
|
|
149
|
+
controlPlaneDatabaseFile,
|
|
150
150
|
controlPlaneMigrations,
|
|
151
151
|
createApiV1Handler,
|
|
152
152
|
createAsgBuildDriver,
|
|
@@ -285,7 +285,7 @@ import {
|
|
|
285
285
|
volumeCapabilities,
|
|
286
286
|
webhookEndpoint,
|
|
287
287
|
zeroCapacity
|
|
288
|
-
} from "./chunk-
|
|
288
|
+
} from "./chunk-cz17nhnx.js";
|
|
289
289
|
import {
|
|
290
290
|
deleteStaticSite,
|
|
291
291
|
deployStaticSite,
|
|
@@ -296,10 +296,10 @@ import {
|
|
|
296
296
|
generateStaticSiteTemplate,
|
|
297
297
|
invalidateCache,
|
|
298
298
|
uploadStaticFiles
|
|
299
|
-
} from "./chunk-
|
|
299
|
+
} from "./chunk-gcsv7g83.js";
|
|
300
300
|
import {
|
|
301
301
|
buildAndPushServerlessImage
|
|
302
|
-
} from "./chunk-
|
|
302
|
+
} from "./chunk-zvk0f89t.js";
|
|
303
303
|
import {
|
|
304
304
|
ApplicationAutoScalingClient,
|
|
305
305
|
BedrockClient,
|
|
@@ -361,11 +361,10 @@ import {
|
|
|
361
361
|
createRoute53Validator,
|
|
362
362
|
detectDnsProvider,
|
|
363
363
|
dnsProviders
|
|
364
|
-
} from "./chunk-
|
|
364
|
+
} from "./chunk-001z7khv.js";
|
|
365
365
|
import {
|
|
366
366
|
AwsDriver,
|
|
367
367
|
CloudDriverFactory,
|
|
368
|
-
DASHBOARD_CREDENTIALS_FILE,
|
|
369
368
|
HetznerClient,
|
|
370
369
|
HetznerDriver,
|
|
371
370
|
MANAGEMENT_DASHBOARD_SITE,
|
|
@@ -377,6 +376,7 @@ import {
|
|
|
377
376
|
buildUbuntuBootstrapScript,
|
|
378
377
|
cloudDrivers,
|
|
379
378
|
createCloudDriver,
|
|
379
|
+
dashboardCredentialsFile,
|
|
380
380
|
deployAllComputeSites,
|
|
381
381
|
deploySiteRelease,
|
|
382
382
|
ensureFirewall,
|
|
@@ -398,7 +398,7 @@ import {
|
|
|
398
398
|
waitForCloudInit,
|
|
399
399
|
waitForSsh,
|
|
400
400
|
wrapCloudInitUserData
|
|
401
|
-
} from "./chunk-
|
|
401
|
+
} from "./chunk-sd9h1baj.js";
|
|
402
402
|
import {
|
|
403
403
|
ABTestManager,
|
|
404
404
|
AI,
|
|
@@ -435,6 +435,7 @@ import {
|
|
|
435
435
|
DASHBOARD_PORT_SPAN,
|
|
436
436
|
DASHBOARD_STATE_DIR,
|
|
437
437
|
DEFAULT_SERVICE_LIMITS,
|
|
438
|
+
DEFAULT_STATE_DIR,
|
|
438
439
|
DLQMonitoringManager,
|
|
439
440
|
DNS,
|
|
440
441
|
DNSSECManager,
|
|
@@ -512,6 +513,7 @@ import {
|
|
|
512
513
|
Route53RoutingManager,
|
|
513
514
|
S3Error,
|
|
514
515
|
SMS,
|
|
516
|
+
STATE_DIR_ENV_VAR,
|
|
515
517
|
Search,
|
|
516
518
|
Secrets,
|
|
517
519
|
SecretsManager,
|
|
@@ -699,6 +701,7 @@ import {
|
|
|
699
701
|
isLocalDevelopment,
|
|
700
702
|
isManagementDashboardSiteName,
|
|
701
703
|
isNodeCryptoAvailable,
|
|
704
|
+
isStatePath,
|
|
702
705
|
isValidRegion,
|
|
703
706
|
isWebCryptoAvailable,
|
|
704
707
|
lambdaConcurrencyManager,
|
|
@@ -761,6 +764,7 @@ import {
|
|
|
761
764
|
resolveSiteBucketName,
|
|
762
765
|
resolveSiteResourceName,
|
|
763
766
|
resolveSiteStackName,
|
|
767
|
+
resolveStatePath,
|
|
764
768
|
resolveStorageBucketName,
|
|
765
769
|
resourceManagementManager,
|
|
766
770
|
responseToResult,
|
|
@@ -777,11 +781,14 @@ import {
|
|
|
777
781
|
senderReputationManager,
|
|
778
782
|
sequence,
|
|
779
783
|
serviceMeshManager,
|
|
784
|
+
setStateDir,
|
|
780
785
|
sha256,
|
|
781
786
|
sharedRuntimeLoop,
|
|
782
787
|
signRequest,
|
|
783
788
|
signRequestAsync,
|
|
784
789
|
stackDependencyManager,
|
|
790
|
+
stateDir,
|
|
791
|
+
statePath,
|
|
785
792
|
staticSiteManager,
|
|
786
793
|
storageAdvancedManager,
|
|
787
794
|
suggestCommand,
|
|
@@ -805,7 +812,7 @@ import {
|
|
|
805
812
|
withSecurity,
|
|
806
813
|
withTimeout,
|
|
807
814
|
xrayManager
|
|
808
|
-
} from "./chunk-
|
|
815
|
+
} from "./chunk-tq46tnxv.js";
|
|
809
816
|
import {
|
|
810
817
|
EC2Client,
|
|
811
818
|
SSMClient
|
|
@@ -5156,6 +5163,8 @@ export {
|
|
|
5156
5163
|
suggestCommand,
|
|
5157
5164
|
storageAdvancedManager,
|
|
5158
5165
|
staticSiteManager,
|
|
5166
|
+
statePath,
|
|
5167
|
+
stateDir,
|
|
5159
5168
|
startLocalDashboardServer,
|
|
5160
5169
|
stackDependencyManager,
|
|
5161
5170
|
sshExecOrThrow,
|
|
@@ -5167,6 +5176,7 @@ export {
|
|
|
5167
5176
|
sharedRuntimeLoop,
|
|
5168
5177
|
sha256,
|
|
5169
5178
|
setupDns01Challenge,
|
|
5179
|
+
setStateDir,
|
|
5170
5180
|
setMaintenance,
|
|
5171
5181
|
serviceMeshManager,
|
|
5172
5182
|
serverPublicIpv4,
|
|
@@ -5203,6 +5213,7 @@ export {
|
|
|
5203
5213
|
resourceManagementManager,
|
|
5204
5214
|
resolveUiSource,
|
|
5205
5215
|
resolveStorageBucketName,
|
|
5216
|
+
resolveStatePath,
|
|
5206
5217
|
resolveSiteStackName,
|
|
5207
5218
|
resolveSiteResourceName,
|
|
5208
5219
|
resolveSiteKind,
|
|
@@ -5324,6 +5335,7 @@ export {
|
|
|
5324
5335
|
jobProviderCapability,
|
|
5325
5336
|
isWebCryptoAvailable,
|
|
5326
5337
|
isValidRegion,
|
|
5338
|
+
isStatePath,
|
|
5327
5339
|
isQuietHours,
|
|
5328
5340
|
isNodeCryptoAvailable,
|
|
5329
5341
|
isManagementDashboardSiteName,
|
|
@@ -5473,6 +5485,7 @@ export {
|
|
|
5473
5485
|
decodeBase32,
|
|
5474
5486
|
databaseUserManager,
|
|
5475
5487
|
dataServiceCapabilities,
|
|
5488
|
+
dashboardCredentialsFile,
|
|
5476
5489
|
dashboardActions,
|
|
5477
5490
|
crossRegionReferenceManager,
|
|
5478
5491
|
createZip,
|
|
@@ -5530,6 +5543,7 @@ export {
|
|
|
5530
5543
|
createApiV1Handler,
|
|
5531
5544
|
createApiBackendPreset,
|
|
5532
5545
|
controlPlaneMigrations,
|
|
5546
|
+
controlPlaneDatabaseFile,
|
|
5533
5547
|
containerRegistryManager,
|
|
5534
5548
|
connectionGuidance,
|
|
5535
5549
|
config,
|
|
@@ -5585,6 +5599,7 @@ export {
|
|
|
5585
5599
|
autocomplete,
|
|
5586
5600
|
authorizeRuntimePath,
|
|
5587
5601
|
authorizeOrganization,
|
|
5602
|
+
authEncryptionKeyFile,
|
|
5588
5603
|
attachVulnerabilitySummary,
|
|
5589
5604
|
attachSbomToRelease,
|
|
5590
5605
|
attachProvenanceToRelease,
|
|
@@ -5651,6 +5666,7 @@ export {
|
|
|
5651
5666
|
Search,
|
|
5652
5667
|
SchedulerClient,
|
|
5653
5668
|
STSClient,
|
|
5669
|
+
STATE_DIR_ENV_VAR,
|
|
5654
5670
|
SSMClient,
|
|
5655
5671
|
SQSClient,
|
|
5656
5672
|
SNSClient,
|
|
@@ -5817,12 +5833,12 @@ export {
|
|
|
5817
5833
|
DIAGNOSTIC_PRESETS,
|
|
5818
5834
|
DEPLOYMENT_QUEUE_KINDS,
|
|
5819
5835
|
DEFAULT_TELEMETRY_POLICY,
|
|
5836
|
+
DEFAULT_STATE_DIR,
|
|
5820
5837
|
DEFAULT_SERVICE_LIMITS,
|
|
5821
5838
|
DASHBOARD_STATE_DIR,
|
|
5822
5839
|
DASHBOARD_PORT_SPAN,
|
|
5823
5840
|
DASHBOARD_PORT_BASE,
|
|
5824
5841
|
DASHBOARD_ENTRY,
|
|
5825
|
-
DASHBOARD_CREDENTIALS_FILE,
|
|
5826
5842
|
CrossRegionReferenceManager,
|
|
5827
5843
|
CredentialError,
|
|
5828
5844
|
ControlPlaneStore,
|
|
@@ -5852,7 +5868,6 @@ export {
|
|
|
5852
5868
|
CanaryManager,
|
|
5853
5869
|
Cache,
|
|
5854
5870
|
CONTROL_PLANE_SCHEMA_VERSION,
|
|
5855
|
-
CONTROL_PLANE_DATABASE_FILE,
|
|
5856
5871
|
COMMON_CROSS_ACCOUNT_ROLES,
|
|
5857
5872
|
CDN,
|
|
5858
5873
|
BunFilesystemArchiveRuntime,
|
|
@@ -5904,7 +5919,6 @@ export {
|
|
|
5904
5919
|
AUTH_SESSION_ABSOLUTE_TTL_MS,
|
|
5905
5920
|
AUTH_OIDC_TRANSACTION_TTL_MS,
|
|
5906
5921
|
AUTH_MFA_CHALLENGE_TTL_MS,
|
|
5907
|
-
AUTH_ENCRYPTION_KEY_FILE,
|
|
5908
5922
|
AUTH_ACTION_TOKEN_TTL_MS,
|
|
5909
5923
|
AUTHORIZATION_CAPABILITIES,
|
|
5910
5924
|
API_VERSION,
|