openship 0.5.0 → 0.6.0
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 +26 -1
- package/dist/bare-FSUAM5V5.js +23 -0
- package/dist/{bowser-O3AEA6AN.js → bowser-HNOTPGJO.js} +2 -2
- package/dist/{chunk-5MZ624VX.js → chunk-2GWYYHOR.js} +1 -1
- package/dist/chunk-3FYIXVX5.js +8051 -0
- package/dist/{chunk-ILFETZOM.js → chunk-3LDWWY7U.js} +21 -1
- package/dist/{chunk-W73X43R7.js → chunk-3NQQXMDR.js} +3 -3
- package/dist/{chunk-OWED2GRM.js → chunk-42WQABXM.js} +2 -2
- package/dist/{chunk-TYVME3XD.js → chunk-6FH4AXVY.js} +20 -3
- package/dist/{chunk-ZCOQJCZO.js → chunk-6ODUBKUB.js} +3 -3
- package/dist/{chunk-DYPH4HCI.js → chunk-AO252K7Z.js} +1 -1
- package/dist/{chunk-K2RPVGPN.js → chunk-B3CE2OMR.js} +14 -12
- package/dist/{chunk-IXCHURVK.js → chunk-DOD2BXHQ.js} +4 -4
- package/dist/{chunk-VWPEKOH6.js → chunk-DRK3MEDS.js} +3 -3
- package/dist/{chunk-V7BZMGOT.js → chunk-EMXI4UCU.js} +5 -5
- package/dist/{chunk-NNPEG6HM.js → chunk-EP2TNALB.js} +2 -2
- package/dist/{chunk-NXFIRK2Z.js → chunk-GUQ3QCJ7.js} +573 -459
- package/dist/chunk-I3DPMTSF.js +29 -0
- package/dist/{chunk-KZOBYJUW.js → chunk-IW2UKBVF.js} +3 -3
- package/dist/{chunk-YWMODKWL.js → chunk-IXM5245F.js} +165 -13
- package/dist/{chunk-KNTJ7PSF.js → chunk-JIMUYEKN.js} +4 -4
- package/dist/chunk-OGY63DGD.js +705 -0
- package/dist/{chunk-O6ZZF52V.js → chunk-ONKEYSMY.js} +2 -2
- package/dist/{chunk-UMQP7SYT.js → chunk-OTLSJYAC.js} +1316 -53
- package/dist/{chunk-EI575GHN.js → chunk-PDW4L3NV.js} +3 -3
- package/dist/{chunk-JLKKYUZA.js → chunk-PSZSKEPA.js} +7 -7
- package/dist/{chunk-KI2EY3WB.js → chunk-PXKCZB2I.js} +1 -1
- package/dist/{chunk-RB35YN3J.js → chunk-QEH4QUBX.js} +391 -63
- package/dist/{chunk-6APIPIJY.js → chunk-QWHBRY2K.js} +5 -5
- package/dist/{chunk-6B5YCFFV.js → chunk-RVER2EOO.js} +5 -5
- package/dist/{chunk-Q2CIRAOK.js → chunk-RXQBD4ZY.js} +1 -1
- package/dist/{chunk-6LKHXB6T.js → chunk-TWJCLD4W.js} +48 -13
- package/dist/{chunk-I6PSTQIR.js → chunk-VDDMADOF.js} +3 -3
- package/dist/{chunk-BS2AXYZX.js → chunk-VE2YOK4I.js} +626 -214
- package/dist/{chunk-6PIYRG5I.js → chunk-VZ2ZHPS2.js} +52 -42
- package/dist/{chunk-AVIB7CT7.js → chunk-WNWQBB7F.js} +2 -2
- package/dist/{chunk-FRNAR33O.js → chunk-XZYFZ6A5.js} +3 -3
- package/dist/{chunk-RPHRPFEH.js → chunk-ZCFVHA25.js} +1 -1
- package/dist/{chunk-FPRHYBY2.js → chunk-ZFJXPCQP.js} +1 -1
- package/dist/{chunk-JYGD5WSN.js → chunk-ZWLDLTJP.js} +1 -1
- package/dist/cloud-E5M6VMCG.js +31 -0
- package/dist/{cloud-7QYOGF7F.js → cloud-KRTZ2IL5.js} +3 -3
- package/dist/{detect-BAJMY6KM.js → detect-ALF4GXRX.js} +7 -8
- package/dist/{dist-IQJ6H6UZ.js → dist-BM6NPWIH.js} +3 -3
- package/dist/{dist-es-X3B5QYKB.js → dist-es-2YRDXMUU.js} +6 -6
- package/dist/{dist-es-OSNJBLXB.js → dist-es-CCVZEFRZ.js} +5 -5
- package/dist/{dist-es-VNKHQVIB.js → dist-es-IOH6G4GM.js} +4 -4
- package/dist/{dist-es-RYHIPOTN.js → dist-es-JGBPABJI.js} +14 -14
- package/dist/{dist-es-JSTDUS7Q.js → dist-es-KWSMDPIP.js} +6 -6
- package/dist/{dist-es-5DY7K32L.js → dist-es-UYDDOVZ3.js} +6 -6
- package/dist/{dist-es-WV4AMOII.js → dist-es-XUOR4NQN.js} +8 -8
- package/dist/docker-QECQJ5P4.js +32 -0
- package/dist/docker-edge-executor-62N64MGS.js +17 -0
- package/dist/edge-import-CQWHN2Q3.js +48 -0
- package/dist/ensure-container-edge-MJVXJQG5.js +32 -0
- package/dist/{event-streams-EHRAKL75.js → event-streams-TR4GAC53.js} +4 -4
- package/dist/{executor-LOYMPU67.js → executor-JELARVKC.js} +8 -8
- package/dist/index.js +1170 -459
- package/dist/{loadSso-46FQRIZS.js → loadSso-UGF4JMRK.js} +10 -10
- package/dist/{local-executor-V7U5VOZW.js → local-executor-WOFZD72X.js} +4 -4
- package/dist/nginx-AXGNWRKZ.js +31 -0
- package/dist/node-entry.js +4 -0
- package/dist/{noop-FMMFG2EZ.js → noop-NJ72F46T.js} +3 -3
- package/dist/openresty-lua-IE4P5YQX.js +81 -0
- package/dist/server/index.js +23172 -7994
- package/dist/server/lua/geo_country.lua +31 -6
- package/dist/server/lua/maxminddb.lua +403 -0
- package/dist/server/lua/mgmt_api.lua +431 -68
- package/dist/server/lua/pipe_log.lua +10 -4
- package/dist/server/lua/site_logger.lua +220 -12
- package/dist/server/migrations/0082_edge_target_verification.sql +39 -0
- package/dist/server/migrations/0083_service_incident.sql +84 -0
- package/dist/server/migrations/0084_analytics_daily_rollup.sql +72 -0
- package/dist/server/migrations/0085_resource_usage.sql +68 -0
- package/dist/server/migrations/0086_remote_infra_updates.sql +41 -0
- package/dist/server/migrations/0087_server_container_version_columns.sql +17 -0
- package/dist/server/migrations/0088_audit_source_and_settings.sql +27 -0
- package/dist/server/migrations/0089_auto_scan_infra.sql +7 -0
- package/dist/server/migrations/0090_project_collect_paths.sql +18 -0
- package/dist/server/migrations/0091_project_server_id.sql +26 -0
- package/dist/server/migrations/0092_project_internal_alias.sql +13 -0
- package/dist/server/migrations/0093_service_incident_org_index.sql +13 -0
- package/dist/server/migrations/0094_backup_restore_meta.sql +15 -0
- package/dist/server/migrations/0095_backup_restore_cancel.sql +19 -0
- package/dist/server/migrations/0096_backup_policy_retention_defaults.sql +20 -0
- package/dist/server/migrations/0097_update_status_upstream_only.sql +35 -0
- package/dist/server/migrations/meta/_journal.json +112 -0
- package/dist/setup-FA4PW4NU.js +21 -0
- package/dist/{signin-ITOPKKUB.js → signin-3M3UPB6K.js} +10 -10
- package/dist/{sso-oidc-NON2PD7Y.js → sso-oidc-3VDIYOEJ.js} +10 -10
- package/dist/{sts-HHFFSAY2.js → sts-B3WIYLXR.js} +9 -9
- package/package.json +6 -3
- package/dist/bare-VRGE5MXH.js +0 -23
- package/dist/chunk-CUJXGK7R.js +0 -3167
- package/dist/chunk-EAAGSQXN.js +0 -377
- package/dist/cloud-3M2WZ624.js +0 -30
- package/dist/docker-2NGBRJFJ.js +0 -18
- package/dist/docker-edge-executor-5I4M5QT7.js +0 -13
- package/dist/edge-import-RIWNEIXQ.js +0 -47
- package/dist/ensure-container-edge-3NSYKHRX.js +0 -31
- package/dist/nginx-QE4DOM5J.js +0 -24
- package/dist/openresty-lua-BTAKECCF.js +0 -42
- package/dist/setup-KELALK7H.js +0 -20
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
-- instance_settings.auto_scan_infra — when on (default), the dashboard runs one
|
|
2
|
+
-- detect-only container scan on a relevant surface load (Infrastructure tab /
|
|
3
|
+
-- home) if the cached drift state is stale, so the attention dot + issue list
|
|
4
|
+
-- stay fresh without a manual Scan. Detect-only; auto-APPLY stays the separate
|
|
5
|
+
-- auto_update_infra. Idempotent ADD COLUMN IF NOT EXISTS + DEFAULT true so both
|
|
6
|
+
-- a clean create and an existing settings row converge on "on".
|
|
7
|
+
ALTER TABLE "instance_settings" ADD COLUMN IF NOT EXISTS "auto_scan_infra" boolean DEFAULT true NOT NULL;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
-- Top Paths becomes opt-in.
|
|
2
|
+
--
|
|
3
|
+
-- The per-path aggregation is the one analytics dimension that isn't effectively free.
|
|
4
|
+
-- Measured on the shipped edge image, per request:
|
|
5
|
+
--
|
|
6
|
+
-- paths (whole block) 1.72 us <- 57% of the log handler's counter path
|
|
7
|
+
-- of which string work 1.38 us normalize_path + is_static_asset
|
|
8
|
+
-- minute buckets 0.61 us
|
|
9
|
+
-- country 0.24 us
|
|
10
|
+
-- status 0.14 us
|
|
11
|
+
--
|
|
12
|
+
-- It is also the highest-cardinality dimension (up to 2000 keys per domain per day) and
|
|
13
|
+
-- the largest column in the daily rollup. So it is now a per-project switch, read on the
|
|
14
|
+
-- hot path from the edge's `rules` shared dict and pushed there on every route apply.
|
|
15
|
+
--
|
|
16
|
+
-- DEFAULT false, which turns it off for existing projects as well. Deliberate: no one
|
|
17
|
+
-- opted into the cost, so no one should keep paying it without asking.
|
|
18
|
+
ALTER TABLE "project" ADD COLUMN IF NOT EXISTS "collect_paths" boolean DEFAULT false NOT NULL;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
-- Durable server ownership on the project.
|
|
2
|
+
--
|
|
3
|
+
-- A project's deploy target lived ONLY in the active deployment's volatile
|
|
4
|
+
-- meta.serverId. When resolveSnapshotTarget couldn't re-derive that binding from
|
|
5
|
+
-- a fresh/partial snapshot, the deploy fell back to "local", which then nulled
|
|
6
|
+
-- the project's verified custom-domain ports and regressed the Access URL to
|
|
7
|
+
-- localhost:3000. This makes the server binding a durable, first-class column.
|
|
8
|
+
--
|
|
9
|
+
-- cloudWorkspaceId still owns "is this a cloud project", so we deliberately do
|
|
10
|
+
-- NOT add a deployTarget column (that would be a second source of truth for the
|
|
11
|
+
-- same fact); the effective target is derived — cloudWorkspaceId ? "cloud" :
|
|
12
|
+
-- server_id ? "server" : "local".
|
|
13
|
+
--
|
|
14
|
+
-- ON DELETE SET NULL: removing a server unbinds its projects rather than
|
|
15
|
+
-- cascade-deleting them.
|
|
16
|
+
ALTER TABLE "project" ADD COLUMN IF NOT EXISTS "server_id" text REFERENCES "servers"("id") ON DELETE SET NULL;
|
|
17
|
+
--> statement-breakpoint
|
|
18
|
+
-- Backfill the binding from each project's active-deployment meta so existing
|
|
19
|
+
-- server-hosted projects survive the next redeploy without regressing to local.
|
|
20
|
+
UPDATE "project" SET "server_id" = (
|
|
21
|
+
SELECT d."meta"->>'serverId'
|
|
22
|
+
FROM "deployment" d
|
|
23
|
+
WHERE d."id" = "project"."active_deployment_id"
|
|
24
|
+
)
|
|
25
|
+
WHERE "server_id" IS NULL
|
|
26
|
+
AND "active_deployment_id" IS NOT NULL;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
-- User-chosen internal DNS alias for a single-app native project.
|
|
2
|
+
--
|
|
3
|
+
-- Single-app containers now join their own `openship-<slug>` network with a
|
|
4
|
+
-- stable default alias (`<slug>`), the same east-west reachability compose
|
|
5
|
+
-- services already have. This column lets an operator add a custom hostname
|
|
6
|
+
-- that resolves ALONGSIDE the default (both point at the container) — it never
|
|
7
|
+
-- replaces the default and never changes public exposure (the edge stays the
|
|
8
|
+
-- sole public ingress; publishing is loopback-only).
|
|
9
|
+
--
|
|
10
|
+
-- Nullable, no default: absence means "default alias only" and existing rows
|
|
11
|
+
-- need no backfill. Compose services store the equivalent in the zero-migration
|
|
12
|
+
-- `service.advanced.alias` JSONB, so only single-app needs a column.
|
|
13
|
+
ALTER TABLE "project" ADD COLUMN IF NOT EXISTS "internal_alias" text;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
-- Org-wide incident reads for the global issue tracker.
|
|
2
|
+
--
|
|
3
|
+
-- The existing indexes on this table are project-keyed (`idx_service_incident_project`)
|
|
4
|
+
-- or exist to enforce the one-open-incident invariant. Both are wrong shapes for the
|
|
5
|
+
-- new question: "every incident in THIS organization, newest first" — the Issues feed's
|
|
6
|
+
-- Open tab and its Resolved tab, which sorts org-wide across up to 30 days of retained
|
|
7
|
+
-- history. Without this the feed sequentially scans the whole table and filters, which
|
|
8
|
+
-- gets slower exactly as an instance accumulates the history that makes the tab useful.
|
|
9
|
+
--
|
|
10
|
+
-- Covers both scopes: server-scoped rows have `project_id IS NULL`, so a project-keyed
|
|
11
|
+
-- index can't serve them at all.
|
|
12
|
+
CREATE INDEX IF NOT EXISTS "idx_service_incident_org"
|
|
13
|
+
ON "service_incident" ("organization_id", "opened_at" DESC);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
-- Record WHICH integrity check a restore actually performed.
|
|
2
|
+
--
|
|
3
|
+
-- Prepare used to comment that it verified every artifact's sha256 while
|
|
4
|
+
-- comparing only byte sizes. Now that it really re-hashes the archive, the row
|
|
5
|
+
-- has to say so — because the check is downgradeable (a run with no recorded
|
|
6
|
+
-- digest falls back to size-only, and a policy can defer verification to apply
|
|
7
|
+
-- time), and "restore succeeded" means something different in each case. An
|
|
8
|
+
-- operator reading a month-old restore has no other way to tell a re-hashed
|
|
9
|
+
-- archive from a length-matched one.
|
|
10
|
+
--
|
|
11
|
+
-- Keys written today: `integrity` ("sha256" | "size-only" | "deferred"),
|
|
12
|
+
-- `verifiedBytes`, `verifyMs`, `manifest` ("verified" | "missing").
|
|
13
|
+
-- JSONB rather than columns so the cancel/partial-write facts that follow need
|
|
14
|
+
-- no further migration.
|
|
15
|
+
ALTER TABLE "backup_restore" ADD COLUMN IF NOT EXISTS "meta" jsonb DEFAULT '{}'::jsonb;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
-- Make "cancel a restore" durable.
|
|
2
|
+
--
|
|
3
|
+
-- Cancel used to be advisory at best: it refused `applying` outright, and for
|
|
4
|
+
-- `preparing` it wrote the row while the running phase carried on and
|
|
5
|
+
-- overwrote it with `prepared` — so the operator saw a cancel that never
|
|
6
|
+
-- happened. Cancelling has to survive the phase it interrupts, and the node
|
|
7
|
+
-- receiving the request is not guaranteed to be the node running the apply, so
|
|
8
|
+
-- the in-process AbortController cannot be the only signal.
|
|
9
|
+
--
|
|
10
|
+
-- `cancel_requested_at` is also the force-terminal window: an `applying` row
|
|
11
|
+
-- whose request is older than a couple of minutes (operator pressed cancel,
|
|
12
|
+
-- waited, pressed again) can be force-terminaled without a second endpoint,
|
|
13
|
+
-- which is the only escape from a wedged row that otherwise blocks project
|
|
14
|
+
-- deletion.
|
|
15
|
+
ALTER TABLE "backup_restore" ADD COLUMN IF NOT EXISTS "cancel_requested" boolean DEFAULT false NOT NULL;
|
|
16
|
+
--> statement-breakpoint
|
|
17
|
+
ALTER TABLE "backup_restore" ADD COLUMN IF NOT EXISTS "cancel_requested_at" timestamp;
|
|
18
|
+
--> statement-breakpoint
|
|
19
|
+
ALTER TABLE "backup_restore" ADD COLUMN IF NOT EXISTS "cancelled_at" timestamp;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
-- Turn retention on for policies that never said anything about it.
|
|
2
|
+
--
|
|
3
|
+
-- `retain_count` and `retain_days` were the only two fields on the policy
|
|
4
|
+
-- insert with neither an API default nor a column default, so every policy
|
|
5
|
+
-- created through the API or MCP stored NULL for both. `prunePolicy`
|
|
6
|
+
-- short-circuits on "no retention configured", so retention silently never ran
|
|
7
|
+
-- for those policies and their runs accumulated until the destination filled.
|
|
8
|
+
-- The dashboard's form defaults to 7, so a human creating a policy in the UI
|
|
9
|
+
-- got retention and the same policy created over the API did not.
|
|
10
|
+
--
|
|
11
|
+
-- 7 = the dashboard's own default (PolicyEditor), now shared as
|
|
12
|
+
-- DEFAULT_RETAIN_COUNT so the column, the API fallback, and the form agree.
|
|
13
|
+
--
|
|
14
|
+
-- The backfill is what actually fixes instances running today, and it is
|
|
15
|
+
-- narrowed to rows where BOTH fields are null: a policy with only `retain_days`
|
|
16
|
+
-- set has retention configured deliberately, and writing a count there would
|
|
17
|
+
-- silently tighten a window the operator chose.
|
|
18
|
+
ALTER TABLE "backup_policy" ALTER COLUMN "retain_count" SET DEFAULT 7;
|
|
19
|
+
--> statement-breakpoint
|
|
20
|
+
UPDATE "backup_policy" SET "retain_count" = 7 WHERE "retain_count" IS NULL AND "retain_days" IS NULL;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
-- update_status becomes an UPSTREAM-only cache.
|
|
2
|
+
--
|
|
3
|
+
-- The table used to cache both halves of the drift answer: what the source offers
|
|
4
|
+
-- (upstream) and what is currently deployed. Only the first half is expensive and
|
|
5
|
+
-- poll-only. The second half — `behind`, `latest_in_progress`, `current_label` —
|
|
6
|
+
-- is derived from the project's ACTIVE deployment, which seven separate code paths
|
|
7
|
+
-- write (deploy success, rollback, reconcile, activate, clear, self-deploy,
|
|
8
|
+
-- migrate). Caching it meant each of those needed an invalidation hook; only one
|
|
9
|
+
-- ever had it, so rows froze mid-window and the dashboard advertised updates for
|
|
10
|
+
-- commits the operator had already shipped.
|
|
11
|
+
--
|
|
12
|
+
-- Those columns are now computed on read, so keeping them would leave a copy that
|
|
13
|
+
-- looks authoritative while describing a superseded release. `latest_label` goes
|
|
14
|
+
-- too: it's rendered from `detail` alongside the live current label, in one code
|
|
15
|
+
-- path, so the two can never disagree.
|
|
16
|
+
--
|
|
17
|
+
-- Existing rows keep `detail`, but rows written before this migration carry only
|
|
18
|
+
-- the 7-char sha prefix in the dropped `latest_label` — never a full `latestSha`
|
|
19
|
+
-- in `detail` — so a commit row cannot be compared until it is re-polled. Clear
|
|
20
|
+
-- them and let `updates:scan` (or the dashboard's explicit check) repopulate;
|
|
21
|
+
-- until then those projects simply report no update, which is the conservative
|
|
22
|
+
-- direction.
|
|
23
|
+
DELETE FROM "update_status";
|
|
24
|
+
--> statement-breakpoint
|
|
25
|
+
DROP INDEX IF EXISTS "idx_update_status_org_behind";
|
|
26
|
+
--> statement-breakpoint
|
|
27
|
+
CREATE INDEX IF NOT EXISTS "idx_update_status_org" ON "update_status" ("organization_id");
|
|
28
|
+
--> statement-breakpoint
|
|
29
|
+
ALTER TABLE "update_status" DROP COLUMN IF EXISTS "behind";
|
|
30
|
+
--> statement-breakpoint
|
|
31
|
+
ALTER TABLE "update_status" DROP COLUMN IF EXISTS "latest_in_progress";
|
|
32
|
+
--> statement-breakpoint
|
|
33
|
+
ALTER TABLE "update_status" DROP COLUMN IF EXISTS "current_label";
|
|
34
|
+
--> statement-breakpoint
|
|
35
|
+
ALTER TABLE "update_status" DROP COLUMN IF EXISTS "latest_label";
|
|
@@ -575,6 +575,118 @@
|
|
|
575
575
|
"when": 1786054907324,
|
|
576
576
|
"tag": "0081_project_readiness_repair",
|
|
577
577
|
"breakpoints": true
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
"idx": 82,
|
|
581
|
+
"version": "7",
|
|
582
|
+
"when": 1786141307324,
|
|
583
|
+
"tag": "0082_edge_target_verification",
|
|
584
|
+
"breakpoints": true
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
"idx": 83,
|
|
588
|
+
"version": "7",
|
|
589
|
+
"when": 1786227707324,
|
|
590
|
+
"tag": "0083_service_incident",
|
|
591
|
+
"breakpoints": true
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
"idx": 84,
|
|
595
|
+
"version": "7",
|
|
596
|
+
"when": 1786314107324,
|
|
597
|
+
"tag": "0084_analytics_daily_rollup",
|
|
598
|
+
"breakpoints": true
|
|
599
|
+
},
|
|
600
|
+
{
|
|
601
|
+
"idx": 85,
|
|
602
|
+
"version": "7",
|
|
603
|
+
"when": 1786400507324,
|
|
604
|
+
"tag": "0085_resource_usage",
|
|
605
|
+
"breakpoints": true
|
|
606
|
+
},
|
|
607
|
+
{
|
|
608
|
+
"idx": 86,
|
|
609
|
+
"version": "7",
|
|
610
|
+
"when": 1786486907324,
|
|
611
|
+
"tag": "0086_remote_infra_updates",
|
|
612
|
+
"breakpoints": true
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
"idx": 87,
|
|
616
|
+
"version": "7",
|
|
617
|
+
"when": 1786573307324,
|
|
618
|
+
"tag": "0087_server_container_version_columns",
|
|
619
|
+
"breakpoints": true
|
|
620
|
+
},
|
|
621
|
+
{
|
|
622
|
+
"idx": 88,
|
|
623
|
+
"version": "7",
|
|
624
|
+
"when": 1786659707324,
|
|
625
|
+
"tag": "0088_audit_source_and_settings",
|
|
626
|
+
"breakpoints": true
|
|
627
|
+
},
|
|
628
|
+
{
|
|
629
|
+
"idx": 89,
|
|
630
|
+
"version": "7",
|
|
631
|
+
"when": 1786746107324,
|
|
632
|
+
"tag": "0089_auto_scan_infra",
|
|
633
|
+
"breakpoints": true
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
"idx": 90,
|
|
637
|
+
"version": "7",
|
|
638
|
+
"when": 1786746107325,
|
|
639
|
+
"tag": "0090_project_collect_paths",
|
|
640
|
+
"breakpoints": true
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
"idx": 91,
|
|
644
|
+
"version": "7",
|
|
645
|
+
"when": 1786832507325,
|
|
646
|
+
"tag": "0091_project_server_id",
|
|
647
|
+
"breakpoints": true
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
"idx": 92,
|
|
651
|
+
"version": "7",
|
|
652
|
+
"when": 1786918907325,
|
|
653
|
+
"tag": "0092_project_internal_alias",
|
|
654
|
+
"breakpoints": true
|
|
655
|
+
},
|
|
656
|
+
{
|
|
657
|
+
"idx": 93,
|
|
658
|
+
"version": "7",
|
|
659
|
+
"when": 1787005307325,
|
|
660
|
+
"tag": "0093_service_incident_org_index",
|
|
661
|
+
"breakpoints": true
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
"idx": 94,
|
|
665
|
+
"version": "7",
|
|
666
|
+
"when": 1787091707325,
|
|
667
|
+
"tag": "0094_backup_restore_meta",
|
|
668
|
+
"breakpoints": true
|
|
669
|
+
},
|
|
670
|
+
{
|
|
671
|
+
"idx": 95,
|
|
672
|
+
"version": "7",
|
|
673
|
+
"when": 1787178107325,
|
|
674
|
+
"tag": "0095_backup_restore_cancel",
|
|
675
|
+
"breakpoints": true
|
|
676
|
+
},
|
|
677
|
+
{
|
|
678
|
+
"idx": 96,
|
|
679
|
+
"version": "7",
|
|
680
|
+
"when": 1787264507325,
|
|
681
|
+
"tag": "0096_backup_policy_retention_defaults",
|
|
682
|
+
"breakpoints": true
|
|
683
|
+
},
|
|
684
|
+
{
|
|
685
|
+
"idx": 97,
|
|
686
|
+
"version": "7",
|
|
687
|
+
"when": 1787350907325,
|
|
688
|
+
"tag": "0097_update_status_upstream_only",
|
|
689
|
+
"breakpoints": true
|
|
578
690
|
}
|
|
579
691
|
]
|
|
580
692
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/usr/bin/env sh
|
|
2
|
+
":" //# ; exec "$(command -v node || command -v bun)" "$0" "$@"
|
|
3
|
+
import { createRequire as __ospCreateRequire } from "node:module";
|
|
4
|
+
const require = __ospCreateRequire(import.meta.url);
|
|
5
|
+
import {
|
|
6
|
+
SystemManager
|
|
7
|
+
} from "./chunk-EP2TNALB.js";
|
|
8
|
+
import "./chunk-GUQ3QCJ7.js";
|
|
9
|
+
import "./chunk-IW2UKBVF.js";
|
|
10
|
+
import "./chunk-ZCFVHA25.js";
|
|
11
|
+
import "./chunk-QEH4QUBX.js";
|
|
12
|
+
import "./chunk-I3DPMTSF.js";
|
|
13
|
+
import "./chunk-VZ2ZHPS2.js";
|
|
14
|
+
import "./chunk-3LDWWY7U.js";
|
|
15
|
+
import "./chunk-OGY63DGD.js";
|
|
16
|
+
import "./chunk-ZFJXPCQP.js";
|
|
17
|
+
import "./chunk-OTLSJYAC.js";
|
|
18
|
+
import "./chunk-PXKCZB2I.js";
|
|
19
|
+
export {
|
|
20
|
+
SystemManager
|
|
21
|
+
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env sh
|
|
2
|
-
":" //# ; exec "$(command -v
|
|
2
|
+
":" //# ; exec "$(command -v node || command -v bun)" "$0" "$@"
|
|
3
3
|
import { createRequire as __ospCreateRequire } from "node:module";
|
|
4
4
|
const require = __ospCreateRequire(import.meta.url);
|
|
5
5
|
import {
|
|
6
6
|
AwsRestJsonProtocol
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-RVER2EOO.js";
|
|
8
8
|
import {
|
|
9
9
|
NoAuthSigner,
|
|
10
10
|
package_default
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-AO252K7Z.js";
|
|
12
|
+
import "./chunk-PDW4L3NV.js";
|
|
13
13
|
import {
|
|
14
14
|
AwsSdkSigV4Signer,
|
|
15
15
|
DefaultIdentityProviderConfig,
|
|
@@ -19,10 +19,10 @@ import {
|
|
|
19
19
|
getSchemaSerdePlugin,
|
|
20
20
|
resolveAwsSdkSigV4Config,
|
|
21
21
|
streamCollector
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-DOD2BXHQ.js";
|
|
23
23
|
import {
|
|
24
24
|
NodeHttpHandler
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-42WQABXM.js";
|
|
26
26
|
import {
|
|
27
27
|
BinaryDecisionDiagram,
|
|
28
28
|
Client,
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
resolveHostHeaderConfig,
|
|
57
57
|
resolveRetryConfig,
|
|
58
58
|
resolveUserAgentConfig
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-DRK3MEDS.js";
|
|
60
60
|
import {
|
|
61
61
|
NODE_REGION_CONFIG_FILE_OPTIONS,
|
|
62
62
|
NODE_REGION_CONFIG_OPTIONS,
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
resolveDefaultsModeConfig,
|
|
73
73
|
resolveHttpHandlerRuntimeConfig,
|
|
74
74
|
resolveRegionConfig
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-3NQQXMDR.js";
|
|
76
76
|
import {
|
|
77
77
|
Hash,
|
|
78
78
|
calculateBodyLength,
|
|
@@ -80,8 +80,8 @@ import {
|
|
|
80
80
|
fromUtf8,
|
|
81
81
|
toBase64,
|
|
82
82
|
toUtf8
|
|
83
|
-
} from "./chunk-
|
|
84
|
-
import "./chunk-
|
|
83
|
+
} from "./chunk-ZWLDLTJP.js";
|
|
84
|
+
import "./chunk-PXKCZB2I.js";
|
|
85
85
|
|
|
86
86
|
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js
|
|
87
87
|
var defaultSigninHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env sh
|
|
2
|
-
":" //# ; exec "$(command -v
|
|
2
|
+
":" //# ; exec "$(command -v node || command -v bun)" "$0" "$@"
|
|
3
3
|
import { createRequire as __ospCreateRequire } from "node:module";
|
|
4
4
|
const require = __ospCreateRequire(import.meta.url);
|
|
5
5
|
import {
|
|
6
6
|
AwsRestJsonProtocol
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-RVER2EOO.js";
|
|
8
8
|
import {
|
|
9
9
|
NoAuthSigner,
|
|
10
10
|
package_default
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-AO252K7Z.js";
|
|
12
|
+
import "./chunk-PDW4L3NV.js";
|
|
13
13
|
import {
|
|
14
14
|
AwsSdkSigV4Signer,
|
|
15
15
|
DefaultIdentityProviderConfig,
|
|
@@ -19,10 +19,10 @@ import {
|
|
|
19
19
|
getSchemaSerdePlugin,
|
|
20
20
|
resolveAwsSdkSigV4Config,
|
|
21
21
|
streamCollector
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-DOD2BXHQ.js";
|
|
23
23
|
import {
|
|
24
24
|
NodeHttpHandler
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-42WQABXM.js";
|
|
26
26
|
import {
|
|
27
27
|
BinaryDecisionDiagram,
|
|
28
28
|
Client,
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
resolveHostHeaderConfig,
|
|
57
57
|
resolveRetryConfig,
|
|
58
58
|
resolveUserAgentConfig
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-DRK3MEDS.js";
|
|
60
60
|
import {
|
|
61
61
|
NODE_REGION_CONFIG_FILE_OPTIONS,
|
|
62
62
|
NODE_REGION_CONFIG_OPTIONS,
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
resolveDefaultsModeConfig,
|
|
73
73
|
resolveHttpHandlerRuntimeConfig,
|
|
74
74
|
resolveRegionConfig
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-3NQQXMDR.js";
|
|
76
76
|
import {
|
|
77
77
|
Hash,
|
|
78
78
|
calculateBodyLength,
|
|
@@ -80,8 +80,8 @@ import {
|
|
|
80
80
|
fromUtf8,
|
|
81
81
|
toBase64,
|
|
82
82
|
toUtf8
|
|
83
|
-
} from "./chunk-
|
|
84
|
-
import "./chunk-
|
|
83
|
+
} from "./chunk-ZWLDLTJP.js";
|
|
84
|
+
import "./chunk-PXKCZB2I.js";
|
|
85
85
|
|
|
86
86
|
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js
|
|
87
87
|
var defaultSSOOIDCHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env sh
|
|
2
|
-
":" //# ; exec "$(command -v
|
|
2
|
+
":" //# ; exec "$(command -v node || command -v bun)" "$0" "$@"
|
|
3
3
|
import { createRequire as __ospCreateRequire } from "node:module";
|
|
4
4
|
const require = __ospCreateRequire(import.meta.url);
|
|
5
5
|
import {
|
|
6
6
|
NoAuthSigner,
|
|
7
7
|
package_default
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-AO252K7Z.js";
|
|
9
9
|
import {
|
|
10
10
|
SignatureV4MultiRegion,
|
|
11
11
|
XmlShapeDeserializer
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QWHBRY2K.js";
|
|
13
13
|
import {
|
|
14
14
|
AwsSdkSigV4ASigner,
|
|
15
15
|
AwsSdkSigV4Signer,
|
|
@@ -24,10 +24,10 @@ import {
|
|
|
24
24
|
resolveAwsSdkSigV4AConfig,
|
|
25
25
|
resolveAwsSdkSigV4Config,
|
|
26
26
|
streamCollector
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-DOD2BXHQ.js";
|
|
28
28
|
import {
|
|
29
29
|
NodeHttpHandler
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-42WQABXM.js";
|
|
31
31
|
import {
|
|
32
32
|
BinaryDecisionDiagram,
|
|
33
33
|
Client,
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
resolveUserAgentConfig,
|
|
65
65
|
setCredentialFeature,
|
|
66
66
|
stsRegionDefaultResolver
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-DRK3MEDS.js";
|
|
68
68
|
import {
|
|
69
69
|
NODE_REGION_CONFIG_FILE_OPTIONS,
|
|
70
70
|
NODE_REGION_CONFIG_OPTIONS,
|
|
@@ -86,7 +86,7 @@ import {
|
|
|
86
86
|
resolveDefaultsModeConfig,
|
|
87
87
|
resolveHttpHandlerRuntimeConfig,
|
|
88
88
|
resolveRegionConfig
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-3NQQXMDR.js";
|
|
90
90
|
import {
|
|
91
91
|
Hash,
|
|
92
92
|
NumericValue,
|
|
@@ -97,8 +97,8 @@ import {
|
|
|
97
97
|
generateIdempotencyToken,
|
|
98
98
|
toBase64,
|
|
99
99
|
toUtf8
|
|
100
|
-
} from "./chunk-
|
|
101
|
-
import "./chunk-
|
|
100
|
+
} from "./chunk-ZWLDLTJP.js";
|
|
101
|
+
import "./chunk-PXKCZB2I.js";
|
|
102
102
|
|
|
103
103
|
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/bdd.js
|
|
104
104
|
var q = "ref";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openship",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "Openship CLI - deploy, manage, and open your Openship platform from the terminal",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
],
|
|
19
19
|
"type": "module",
|
|
20
20
|
"bin": {
|
|
21
|
-
"openship": "./dist/
|
|
21
|
+
"openship": "./dist/node-entry.js"
|
|
22
22
|
},
|
|
23
23
|
"files": [
|
|
24
24
|
"dist",
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
],
|
|
27
27
|
"scripts": {
|
|
28
28
|
"build": "tsup && bun run build/stage-server.ts",
|
|
29
|
+
"build:payload": "tsup && bun run build/stage-server.ts && bun run build/stage-cli-payload.ts",
|
|
29
30
|
"cli": "bun dist/index.js",
|
|
30
31
|
"dev": "bun run build && bun run build/stage-dashboard.ts && OPENSHIP_DASHBOARD_DIR=\"$(cd ../dashboard/.next/standalone && pwd)\" bun dist/index.js",
|
|
31
32
|
"lint": "tsc --noEmit",
|
|
@@ -35,11 +36,13 @@
|
|
|
35
36
|
"prepack": "cp ../../README.md README.md"
|
|
36
37
|
},
|
|
37
38
|
"dependencies": {
|
|
39
|
+
"@bomb.sh/tab": "^0.0.22",
|
|
38
40
|
"@clack/prompts": "^0.11.0",
|
|
39
|
-
"commander": "^14.0.3",
|
|
40
41
|
"chalk": "^5.6.2",
|
|
42
|
+
"commander": "^14.0.3",
|
|
41
43
|
"dockerode": "^4.0.9",
|
|
42
44
|
"open": "^10.2.0",
|
|
45
|
+
"openship": "^0.5.0",
|
|
43
46
|
"ora": "^9.3.0",
|
|
44
47
|
"ssh2": "^1.17.0"
|
|
45
48
|
},
|
package/dist/bare-VRGE5MXH.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env sh
|
|
2
|
-
":" //# ; exec "$(command -v bun || command -v node)" "$0" "$@"
|
|
3
|
-
import { createRequire as __ospCreateRequire } from "node:module";
|
|
4
|
-
const require = __ospCreateRequire(import.meta.url);
|
|
5
|
-
import {
|
|
6
|
-
BareRuntime,
|
|
7
|
-
STATIC_RELEASE_BASE
|
|
8
|
-
} from "./chunk-YWMODKWL.js";
|
|
9
|
-
import "./chunk-KNTJ7PSF.js";
|
|
10
|
-
import "./chunk-KZOBYJUW.js";
|
|
11
|
-
import "./chunk-I6PSTQIR.js";
|
|
12
|
-
import "./chunk-K2RPVGPN.js";
|
|
13
|
-
import "./chunk-ZCOQJCZO.js";
|
|
14
|
-
import "./chunk-RPHRPFEH.js";
|
|
15
|
-
import "./chunk-TYVME3XD.js";
|
|
16
|
-
import "./chunk-FPRHYBY2.js";
|
|
17
|
-
import "./chunk-ILFETZOM.js";
|
|
18
|
-
import "./chunk-UMQP7SYT.js";
|
|
19
|
-
import "./chunk-KI2EY3WB.js";
|
|
20
|
-
export {
|
|
21
|
-
BareRuntime,
|
|
22
|
-
STATIC_RELEASE_BASE
|
|
23
|
-
};
|