byterover-cli 1.0.1 → 1.0.3
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.
|
@@ -26,7 +26,7 @@ export const ENV_CONFIG = {
|
|
|
26
26
|
apiBaseUrl: 'https://iam.byterover.dev/api/v1',
|
|
27
27
|
authorizationUrl: 'https://iam.byterover.dev/api/v1/oidc/authorize',
|
|
28
28
|
clientId: 'byterover-cli-client',
|
|
29
|
-
cogitApiBaseUrl: 'https://v3-cgit.byterover.dev',
|
|
29
|
+
cogitApiBaseUrl: 'https://v3-cgit.byterover.dev/api/v1',
|
|
30
30
|
issuerUrl: 'https://iam.byterover.dev/api/v1/oidc',
|
|
31
31
|
llmApiBaseUrl: 'https://llm.byterover.dev',
|
|
32
32
|
memoraApiBaseUrl: 'https://beta-memora-retrieve.byterover.dev/api/v3',
|
|
@@ -109,8 +109,7 @@ export class InitUseCase {
|
|
|
109
109
|
const { spaces } = await this.spaceService.getSpaces(token.accessToken, token.sessionKey, team.id, { fetchAll: true });
|
|
110
110
|
this.terminal.actionStop();
|
|
111
111
|
if (spaces.length === 0) {
|
|
112
|
-
this.terminal.
|
|
113
|
-
this.terminal.log(`Please visit ${getCurrentConfig().webAppUrl} to create your first space for ${team.getDisplayName()}.`);
|
|
112
|
+
this.terminal.error(`No spaces found in team "${team.getDisplayName()}"\nPlease visit ${getCurrentConfig().webAppUrl} to create your first space for ${team.getDisplayName()}.`);
|
|
114
113
|
return undefined;
|
|
115
114
|
}
|
|
116
115
|
this.terminal.log();
|
|
@@ -121,8 +120,7 @@ export class InitUseCase {
|
|
|
121
120
|
const { teams } = await this.teamService.getTeams(token.accessToken, token.sessionKey, { fetchAll: true });
|
|
122
121
|
this.terminal.actionStop();
|
|
123
122
|
if (teams.length === 0) {
|
|
124
|
-
this.terminal.
|
|
125
|
-
this.terminal.log(`Please visit ${getCurrentConfig().webAppUrl} to create your first team.`);
|
|
123
|
+
this.terminal.error(`No teams found.\nPlease visit ${getCurrentConfig().webAppUrl} to create your first team.`);
|
|
126
124
|
return undefined;
|
|
127
125
|
}
|
|
128
126
|
this.terminal.log();
|
package/oclif.manifest.json
CHANGED