@odla-ai/cli 0.20.0 → 0.20.2
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/bin.cjs +4 -2
- package/dist/bin.cjs.map +1 -1
- package/dist/bin.js +1 -1
- package/dist/{chunk-I4XURPUK.js → chunk-XBPDHNWO.js} +5 -3
- package/dist/{chunk-I4XURPUK.js.map → chunk-XBPDHNWO.js.map} +1 -1
- package/dist/index.cjs +4 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/skills/odla-migrate/SKILL.md +5 -2
- package/skills/odla-migrate/references/phase-0-preflight.md +5 -0
- package/skills/odla-migrate/references/phase-2-chapter.md +25 -12
- package/skills/odla-migrate/references/phase-5-cutover.md +8 -3
- package/skills/odla-migrate/references/troubleshooting.md +15 -0
package/dist/index.cjs
CHANGED
|
@@ -8779,11 +8779,13 @@ async function loadOrDefaultConfig(configPath, action, appId) {
|
|
|
8779
8779
|
}
|
|
8780
8780
|
return loadProjectConfig(configPath);
|
|
8781
8781
|
}
|
|
8782
|
+
var PURE_STDOUT = /* @__PURE__ */ new Set(["get", "cat"]);
|
|
8782
8783
|
async function buildContext2(parsed, deps, action) {
|
|
8783
8784
|
const configPath = stringOpt(parsed.options.config) ?? "odla.config.mjs";
|
|
8784
8785
|
const cfg = await loadOrDefaultConfig(configPath, action, stringOpt(parsed.options.app));
|
|
8785
8786
|
const doFetch = deps.fetch ?? fetch;
|
|
8786
8787
|
const out = deps.stdout ?? console;
|
|
8788
|
+
const authOut = PURE_STDOUT.has(action) ? { log: (line) => out.error(line), error: (line) => out.error(line) } : out;
|
|
8787
8789
|
const appId = stringOpt(parsed.options.app) ?? PLATFORM_SCOPE;
|
|
8788
8790
|
const dryRun = parsed.options["dry-run"] === true;
|
|
8789
8791
|
if (action === "import" && dryRun) {
|
|
@@ -8803,7 +8805,7 @@ async function buildContext2(parsed, deps, action) {
|
|
|
8803
8805
|
email: stringOpt(parsed.options.email),
|
|
8804
8806
|
label: `odla CLI (runbook ${action})`,
|
|
8805
8807
|
fetch: doFetch,
|
|
8806
|
-
stdout:
|
|
8808
|
+
stdout: authOut,
|
|
8807
8809
|
openApprovalUrl: deps.openUrl,
|
|
8808
8810
|
// Anchor the grant cache to this project, not the shell's cwd.
|
|
8809
8811
|
rootDir: cfg.rootDir
|
|
@@ -8820,7 +8822,7 @@ async function buildContext2(parsed, deps, action) {
|
|
|
8820
8822
|
open: void 0
|
|
8821
8823
|
},
|
|
8822
8824
|
doFetch,
|
|
8823
|
-
|
|
8825
|
+
authOut
|
|
8824
8826
|
);
|
|
8825
8827
|
return {
|
|
8826
8828
|
platformUrl: cfg.platformUrl,
|