@wayai/cli 0.3.157 → 0.3.158
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/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -15277,7 +15277,7 @@ function planOrgMigration(gitRoot) {
|
|
|
15277
15277
|
function writeRepoConfig(config, root) {
|
|
15278
15278
|
const gitRoot = root ?? findGitRoot();
|
|
15279
15279
|
if (!gitRoot) {
|
|
15280
|
-
throw
|
|
15280
|
+
throw expected("Not inside a git repository. Run `git init` first.");
|
|
15281
15281
|
}
|
|
15282
15282
|
const stale = declarationFrom(loadYamlMapping(rootConfigPath(gitRoot)));
|
|
15283
15283
|
if (stale.kind === "declared" && stale.config.organization_id !== config.organization_id) {
|
|
@@ -24519,7 +24519,7 @@ function resolveTagIds(tagRefs, orgTags) {
|
|
|
24519
24519
|
}
|
|
24520
24520
|
if (missing.length > 0) {
|
|
24521
24521
|
const available = orgTags.map((t) => t.name).join(", ") || "(none)";
|
|
24522
|
-
throw
|
|
24522
|
+
throw expected(
|
|
24523
24523
|
`Unknown tag(s): ${missing.join(", ")}. Available org tags: ${available}`
|
|
24524
24524
|
);
|
|
24525
24525
|
}
|
|
@@ -24536,6 +24536,7 @@ var VALID_AUTH_TYPES4, LEGACY_AUTH_TYPE_MAP4, VALID_ENVIRONMENTS;
|
|
|
24536
24536
|
var init_credential_utils = __esm({
|
|
24537
24537
|
"src/lib/credential-utils.ts"() {
|
|
24538
24538
|
"use strict";
|
|
24539
|
+
init_expected();
|
|
24539
24540
|
VALID_AUTH_TYPES4 = ["api_key", "bearer", "basic_auth"];
|
|
24540
24541
|
LEGACY_AUTH_TYPE_MAP4 = {
|
|
24541
24542
|
"API Key": "api_key",
|