@apso/cli 0.26.0 → 0.26.1

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.
@@ -88,12 +88,17 @@ class Link extends base_command_1.default {
88
88
  else {
89
89
  const servicesResponse = await services_1.servicesApi.list(workspace.id);
90
90
  const services = servicesResponse.data;
91
+ // "+ Create new service" first so it's always visible, not buried under a
92
+ // long list of existing services.
93
+ const serviceChoices = services.map((svc) => ({
94
+ name: `${svc.name} (${svc.slug})`,
95
+ value: svc,
96
+ }));
91
97
  const choices = [
92
- ...services.map((svc) => ({
93
- name: `${svc.name} (${svc.slug})`,
94
- value: svc,
95
- })),
96
98
  { name: "+ Create new service", value: null },
99
+ ...(serviceChoices.length > 0
100
+ ? [new inquirer_1.default.Separator(), ...serviceChoices]
101
+ : []),
97
102
  ];
98
103
  const { selectedService } = await inquirer_1.default.prompt([
99
104
  {
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@apso/cli",
3
- "version": "0.26.0",
3
+ "version": "0.26.1",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@apso/cli",
9
- "version": "0.26.0",
9
+ "version": "0.26.1",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "@biomejs/biome": "^1.9.4",
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.26.0",
2
+ "version": "0.26.1",
3
3
  "commands": {
4
4
  "config": {
5
5
  "id": "config",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apso/cli",
3
- "version": "0.26.0",
3
+ "version": "0.26.1",
4
4
  "mcpName": "io.github.apsoai/apso",
5
5
  "description": "Apso CLI",
6
6
  "author": "Apso by Mavric - @mavric",