omaship 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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/README.md +5 -4
- data/lib/omaship/api_client.rb +22 -8
- data/lib/omaship/cli.rb +371 -147
- data/lib/omaship/color_picker.rb +41 -42
- data/lib/omaship/harbor_picker.rb +72 -0
- data/lib/omaship/linear_picker_controls.rb +34 -0
- data/lib/omaship/progress_renderer.rb +147 -0
- data/lib/omaship/ship_detector.rb +1 -1
- data/lib/omaship/ship_type_picker.rb +98 -0
- data/lib/omaship/version.rb +1 -1
- data/lib/omaship.rb +3 -0
- metadata +5 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3d81bc50d3e9969bd22559309c3523b9c26e52433a4d000d1818f3ce4ea29b36
|
|
4
|
+
data.tar.gz: eed39eca2611487699ea309ffca562b8567c20f9b37e40fd134e135352bce773
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 374cff8ff4e957f0a0f52203cb9e2b55713b78ac6925f564aa1ad09f95d120ce4e172edd3c1df0f15a969d54e617f6562a0b0f6b759a05821d2f95257d27dcf0
|
|
7
|
+
data.tar.gz: 77a1d48cf9eae912f52137ceb814170d9092180a6722ec2b63a0b5dd25b7f6532e6bbfbcd17ba07fa5958457de3142e7080da5f76159f29caf6049c709921514
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.6.0](https://github.com/bloomedai/omaship/compare/omaship/v0.5.0...omaship/v0.6.0) (2026-04-19)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* ✨ align cli ship launch naming and progress ([25fb236](https://github.com/bloomedai/omaship/commit/25fb236ac8a18ab6b8300abe37c139be044cb779))
|
|
9
|
+
* ✨ refresh cli ship creation flow ([27dccc3](https://github.com/bloomedai/omaship/commit/27dccc34dd0d66c51c54887fe5084209ca001e24))
|
|
10
|
+
* ✨ split first deploy from scaffolding ([a21f791](https://github.com/bloomedai/omaship/commit/a21f791edf84918f30fdc42ecb271c3f428254c2))
|
|
11
|
+
* ✨ tighten harbor launch flow ([a5f617c](https://github.com/bloomedai/omaship/commit/a5f617c59b483efaab8ea077142460c8341bb31a))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* 🐛 align ship surfaces with product naming ([811b8d2](https://github.com/bloomedai/omaship/commit/811b8d2099c76cc962ab008e80ea30b6d3edc19d))
|
|
17
|
+
* 🐛 fail fast on free plan ship limit ([a2c155b](https://github.com/bloomedai/omaship/commit/a2c155b1e63e688bb5ecd8510c8d80c27b59fd6a))
|
|
18
|
+
* 🐛 honor cli ship capabilities ([19d01f3](https://github.com/bloomedai/omaship/commit/19d01f3b282705248afd890eea9e7a23e0a22bbe))
|
|
19
|
+
* 🐛 improve cli ship type prompt ([779c7bf](https://github.com/bloomedai/omaship/commit/779c7bfa967437cda7db6b9d5a7c0afc04c766bc))
|
|
20
|
+
* 🐛 label admin cli access as master ([27851b0](https://github.com/bloomedai/omaship/commit/27851b0289f0e4fbe5467a88163552cba654895f))
|
|
21
|
+
* 🐛 redraw cli activity on one line ([b6036fe](https://github.com/bloomedai/omaship/commit/b6036fea38389231ded894b38db408b9c5b890e3))
|
|
22
|
+
* 🐛 refine CLI landing page flow ([bfbf661](https://github.com/bloomedai/omaship/commit/bfbf661d451e1b1a673ec5f81203d6e5bf29dce1))
|
|
23
|
+
|
|
3
24
|
## [0.5.0](https://github.com/bloomedai/omaship/compare/omaship/v0.4.0...omaship/v0.5.0) (2026-04-04)
|
|
4
25
|
|
|
5
26
|
|
data/README.md
CHANGED
|
@@ -27,20 +27,20 @@ omaship info
|
|
|
27
27
|
Examples for `SHIP_REF` (from `omaship list` output):
|
|
28
28
|
|
|
29
29
|
```bash
|
|
30
|
-
omaship use omaship
|
|
30
|
+
omaship use acme.omaship.app
|
|
31
31
|
omaship use 17
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
## Ship Selection
|
|
35
35
|
|
|
36
|
-
`info`
|
|
36
|
+
`info` resolves the target ship in this order:
|
|
37
37
|
|
|
38
38
|
1. `--ship <ship-ref>`
|
|
39
39
|
2. saved default from `omaship use <ship-ref>`
|
|
40
40
|
3. if exactly one accessible ship exists: auto-select it and persist it as default
|
|
41
41
|
4. otherwise: command fails and asks you to run `omaship list` + `omaship use ...`
|
|
42
42
|
|
|
43
|
-
Preferred ship reference format is
|
|
43
|
+
Preferred ship reference format is the ship domain from `omaship list`.
|
|
44
44
|
Numeric ids are also accepted.
|
|
45
45
|
|
|
46
46
|
## Commands
|
|
@@ -51,7 +51,6 @@ Numeric ids are also accepted.
|
|
|
51
51
|
- `omaship use <ship-ref>`
|
|
52
52
|
- `omaship info [--ship <ship-ref>]` (`status` and `ship` are aliases)
|
|
53
53
|
- `omaship new <name>` (requires Full CLI access)
|
|
54
|
-
- `omaship deploy [--ship <ship-ref>]` (requires Full CLI access)
|
|
55
54
|
- `omaship complete <bash|zsh|fish>` (print shell completion script)
|
|
56
55
|
- `omaship logout`
|
|
57
56
|
|
|
@@ -76,6 +75,8 @@ If that registry endpoint is unavailable, Omaship automatically retries `bundle
|
|
|
76
75
|
|
|
77
76
|
## Shell Completion
|
|
78
77
|
|
|
78
|
+
Homebrew installs completions automatically. For RubyGems installs, local repo usage, or other manual setups, install the generated script yourself:
|
|
79
|
+
|
|
79
80
|
Bash:
|
|
80
81
|
|
|
81
82
|
```bash
|
data/lib/omaship/api_client.rb
CHANGED
|
@@ -23,8 +23,26 @@ module Omaship
|
|
|
23
23
|
get_json("/api/v1/cli/ships").fetch("ships")
|
|
24
24
|
end
|
|
25
25
|
|
|
26
|
-
def create_ship(
|
|
27
|
-
|
|
26
|
+
def create_ship(
|
|
27
|
+
name:,
|
|
28
|
+
harbor_id:,
|
|
29
|
+
root_domain:,
|
|
30
|
+
bring_own_domain:,
|
|
31
|
+
identifier_suffix:,
|
|
32
|
+
visibility: "private",
|
|
33
|
+
starter_kind: "app"
|
|
34
|
+
)
|
|
35
|
+
post_json("/api/v1/cli/ships", {
|
|
36
|
+
ship: {
|
|
37
|
+
name: name,
|
|
38
|
+
harbor_id: harbor_id,
|
|
39
|
+
root_domain: root_domain,
|
|
40
|
+
visibility: visibility,
|
|
41
|
+
starter_kind: starter_kind,
|
|
42
|
+
bring_own_domain: bring_own_domain,
|
|
43
|
+
identifier_suffix: identifier_suffix
|
|
44
|
+
}
|
|
45
|
+
})
|
|
28
46
|
end
|
|
29
47
|
|
|
30
48
|
def create_landingpage(name:, color_scheme: "mono-dark", purpose_profile: {})
|
|
@@ -38,12 +56,8 @@ module Omaship
|
|
|
38
56
|
get_json("/api/v1/cli/ships/#{ship_id}")
|
|
39
57
|
end
|
|
40
58
|
|
|
41
|
-
def
|
|
42
|
-
|
|
43
|
-
end
|
|
44
|
-
|
|
45
|
-
def latest_deploy(ship_id:)
|
|
46
|
-
get_json("/api/v1/cli/ships/#{ship_id}/deploys/latest")
|
|
59
|
+
def voyage(voyage_id:)
|
|
60
|
+
get_json("/api/v1/cli/voyages/#{voyage_id}")
|
|
47
61
|
end
|
|
48
62
|
|
|
49
63
|
private
|