@odla-ai/cli 0.16.4 → 0.16.6
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/README.md +2 -2
- package/dist/bin.cjs +6 -6
- package/dist/bin.cjs.map +1 -1
- package/dist/bin.js +1 -1
- package/dist/{chunk-GAFC4EPJ.js → chunk-X3HUN6S3.js} +7 -7
- package/dist/chunk-X3HUN6S3.js.map +1 -0
- package/dist/index.cjs +6 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/skills/odla-migrate/references/phase-2-db.md +2 -2
- package/dist/chunk-GAFC4EPJ.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -2077,7 +2077,7 @@ function encodeAgentInput(message2) {
|
|
|
2077
2077
|
`;
|
|
2078
2078
|
}
|
|
2079
2079
|
|
|
2080
|
-
// ../harness/dist/chunk-
|
|
2080
|
+
// ../harness/dist/chunk-PHXQH4YM.js
|
|
2081
2081
|
var import_child_process = require("child_process");
|
|
2082
2082
|
var import_fs = require("fs");
|
|
2083
2083
|
var import_promises2 = require("fs/promises");
|
|
@@ -2314,7 +2314,7 @@ var SKIP_WORKSPACE_DIRS = /* @__PURE__ */ new Set([
|
|
|
2314
2314
|
"dist",
|
|
2315
2315
|
"coverage"
|
|
2316
2316
|
]);
|
|
2317
|
-
var SECRET_WORKSPACE_FILE = /^(?:\.env(?:\..+)?|\.dev\.vars
|
|
2317
|
+
var SECRET_WORKSPACE_FILE = /^(?:\.env(?:\..+)?|\.dev\.vars|\.dev-token(?:\..+)?|credentials(?:\..+)?\.json|dev-token(?:\..+)?(?:\.json)?)$/i;
|
|
2318
2318
|
function allowedWorkspacePath(relativePath) {
|
|
2319
2319
|
const parts = relativePath.split("/");
|
|
2320
2320
|
return !(0, import_path3.isAbsolute)(relativePath) && !relativePath.includes("\\") && !relativePath.includes("\0") && !parts.some((part) => !part || part === "." || part === ".." || SKIP_WORKSPACE_DIRS.has(part)) && !SECRET_WORKSPACE_FILE.test(parts.at(-1) ?? "");
|
|
@@ -2535,7 +2535,7 @@ async function captureGitDiff(root, maxBytes) {
|
|
|
2535
2535
|
if (code !== 0 && code !== 1) {
|
|
2536
2536
|
throw new Error(`git diff failed: ${Buffer.concat(stderr).toString("utf8").slice(0, 1e3)}`);
|
|
2537
2537
|
}
|
|
2538
|
-
return Buffer.concat(stdout).toString("utf8").replaceAll("a/baseline/", "a/").replaceAll("b/workspace/", "b/").replaceAll("--- a/baseline", "--- a").replaceAll("+++ b/workspace", "+++ b");
|
|
2538
|
+
return Buffer.concat(stdout).toString("utf8").replaceAll("a/baseline/", "a/").replaceAll("a/workspace/", "a/").replaceAll("b/baseline/", "b/").replaceAll("b/workspace/", "b/").replaceAll("--- a/baseline", "--- a").replaceAll("+++ b/workspace", "+++ b");
|
|
2539
2539
|
}
|
|
2540
2540
|
async function stageWorkspace(source, options = {}) {
|
|
2541
2541
|
const sourceDir = await (0, import_promises4.realpath)((0, import_path4.resolve)(source));
|
|
@@ -2594,7 +2594,7 @@ async function stageWorkspacePair(baselineSource, workspaceSource, options = {})
|
|
|
2594
2594
|
}
|
|
2595
2595
|
}
|
|
2596
2596
|
|
|
2597
|
-
// ../harness/dist/chunk-
|
|
2597
|
+
// ../harness/dist/chunk-GMVZ4LZH.js
|
|
2598
2598
|
var import_crypto = require("crypto");
|
|
2599
2599
|
var import_promises5 = require("fs/promises");
|
|
2600
2600
|
var import_path5 = require("path");
|
|
@@ -2931,7 +2931,7 @@ function validateSnapshot(snapshot, limits) {
|
|
|
2931
2931
|
}
|
|
2932
2932
|
}
|
|
2933
2933
|
|
|
2934
|
-
// ../harness/dist/chunk-
|
|
2934
|
+
// ../harness/dist/chunk-GMVZ4LZH.js
|
|
2935
2935
|
var import_child_process4 = require("child_process");
|
|
2936
2936
|
var import_promises6 = require("fs/promises");
|
|
2937
2937
|
var import_path6 = require("path");
|
|
@@ -3224,7 +3224,7 @@ function looksLikeDestination(value) {
|
|
|
3224
3224
|
return /^(?:[a-z][a-z0-9+.-]*:\/\/|\/|\\\\)/i.test(text) || /^[\w.-]+\.[a-z]{2,}(?:[/:]|$)/i.test(text);
|
|
3225
3225
|
}
|
|
3226
3226
|
|
|
3227
|
-
// ../harness/dist/chunk-
|
|
3227
|
+
// ../harness/dist/chunk-GMVZ4LZH.js
|
|
3228
3228
|
var import_crypto4 = require("crypto");
|
|
3229
3229
|
async function digestStagedWorkspace(root, limits) {
|
|
3230
3230
|
const files = [];
|