@pleri/olam-cli 0.1.62 → 0.1.63
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/image-digests.json +1 -1
- package/dist/index.js +11 -5
- package/dist/mcp-server.js +10 -4
- package/package.json +1 -1
package/dist/image-digests.json
CHANGED
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
"host-cp": "sha256:c747251056dda0aa8c53a69f69972ff789a842d4ca2cf2cdfd91bc51e803ec9b",
|
|
5
5
|
"mcp-auth": "sha256:f48ddee58c4126a8c23db41859d722991c5feef8887af0f465ac2f462d0f97e7",
|
|
6
6
|
"$schema_version": 1,
|
|
7
|
-
"$published_version": "0.1.
|
|
7
|
+
"$published_version": "0.1.63",
|
|
8
8
|
"$registry": "ghcr.io/pleri"
|
|
9
9
|
}
|
package/dist/index.js
CHANGED
|
@@ -7738,7 +7738,7 @@ function copyDirRecursive(src, dest, depth = 0, skipFiles = /* @__PURE__ */ new
|
|
|
7738
7738
|
continue;
|
|
7739
7739
|
if (DENY_PATTERNS.some((p) => p.test(name)))
|
|
7740
7740
|
continue;
|
|
7741
|
-
if (entry.isDirectory() &&
|
|
7741
|
+
if (entry.isDirectory() && SKIP_DIRS_ANYWHERE.has(name))
|
|
7742
7742
|
continue;
|
|
7743
7743
|
const srcPath = path13.join(src, name);
|
|
7744
7744
|
const destPath = path13.join(dest, name);
|
|
@@ -7750,7 +7750,7 @@ function copyDirRecursive(src, dest, depth = 0, skipFiles = /* @__PURE__ */ new
|
|
|
7750
7750
|
continue;
|
|
7751
7751
|
}
|
|
7752
7752
|
if (stat.isDirectory()) {
|
|
7753
|
-
if (
|
|
7753
|
+
if (SKIP_DIRS_ANYWHERE.has(name))
|
|
7754
7754
|
continue;
|
|
7755
7755
|
copyDirRecursive(srcPath, destPath, depth + 1, skipFiles);
|
|
7756
7756
|
} else if (stat.isFile()) {
|
|
@@ -7979,7 +7979,7 @@ function applyEnvOverrides(repoPath, overrides) {
|
|
|
7979
7979
|
}
|
|
7980
7980
|
}
|
|
7981
7981
|
}
|
|
7982
|
-
var MCP_SERVER_ALLOWLIST, SKIP_FILES, DENY_PATTERNS, SKIP_DIRS, PROTECTED_ENV_KEYS, PROTECTED_ENV_KEY_SET, ENV_KEY_PATTERN, ENV_VALUE_FORBIDDEN;
|
|
7982
|
+
var MCP_SERVER_ALLOWLIST, SKIP_FILES, DENY_PATTERNS, SKIP_DIRS_ANYWHERE, SKIP_DIRS_ROOT_ONLY, SKIP_DIRS, PROTECTED_ENV_KEYS, PROTECTED_ENV_KEY_SET, ENV_KEY_PATTERN, ENV_VALUE_FORBIDDEN;
|
|
7983
7983
|
var init_env_setup = __esm({
|
|
7984
7984
|
"../core/dist/world/env-setup.js"() {
|
|
7985
7985
|
"use strict";
|
|
@@ -8002,8 +8002,10 @@ var init_env_setup = __esm({
|
|
|
8002
8002
|
/\.(key|pem|secret|token)$/i,
|
|
8003
8003
|
/^credentials/i
|
|
8004
8004
|
];
|
|
8005
|
-
|
|
8006
|
-
".ssh"
|
|
8005
|
+
SKIP_DIRS_ANYWHERE = /* @__PURE__ */ new Set([
|
|
8006
|
+
".ssh"
|
|
8007
|
+
]);
|
|
8008
|
+
SKIP_DIRS_ROOT_ONLY = /* @__PURE__ */ new Set([
|
|
8007
8009
|
"sessions",
|
|
8008
8010
|
"projects",
|
|
8009
8011
|
"cache",
|
|
@@ -8011,6 +8013,10 @@ var init_env_setup = __esm({
|
|
|
8011
8013
|
"teams",
|
|
8012
8014
|
"tasks"
|
|
8013
8015
|
]);
|
|
8016
|
+
SKIP_DIRS = /* @__PURE__ */ new Set([
|
|
8017
|
+
...SKIP_DIRS_ANYWHERE,
|
|
8018
|
+
...SKIP_DIRS_ROOT_ONLY
|
|
8019
|
+
]);
|
|
8014
8020
|
PROTECTED_ENV_KEYS = [
|
|
8015
8021
|
// Discrete host vars
|
|
8016
8022
|
"POSTGRESQL_HOST",
|
package/dist/mcp-server.js
CHANGED
|
@@ -25248,8 +25248,10 @@ var DENY_PATTERNS = [
|
|
|
25248
25248
|
/\.(key|pem|secret|token)$/i,
|
|
25249
25249
|
/^credentials/i
|
|
25250
25250
|
];
|
|
25251
|
-
var
|
|
25252
|
-
".ssh"
|
|
25251
|
+
var SKIP_DIRS_ANYWHERE = /* @__PURE__ */ new Set([
|
|
25252
|
+
".ssh"
|
|
25253
|
+
]);
|
|
25254
|
+
var SKIP_DIRS_ROOT_ONLY = /* @__PURE__ */ new Set([
|
|
25253
25255
|
"sessions",
|
|
25254
25256
|
"projects",
|
|
25255
25257
|
"cache",
|
|
@@ -25257,6 +25259,10 @@ var SKIP_DIRS = /* @__PURE__ */ new Set([
|
|
|
25257
25259
|
"teams",
|
|
25258
25260
|
"tasks"
|
|
25259
25261
|
]);
|
|
25262
|
+
var SKIP_DIRS = /* @__PURE__ */ new Set([
|
|
25263
|
+
...SKIP_DIRS_ANYWHERE,
|
|
25264
|
+
...SKIP_DIRS_ROOT_ONLY
|
|
25265
|
+
]);
|
|
25260
25266
|
function copyDirRecursive(src, dest, depth = 0, skipFiles = /* @__PURE__ */ new Set()) {
|
|
25261
25267
|
if (depth > 10)
|
|
25262
25268
|
return;
|
|
@@ -25269,7 +25275,7 @@ function copyDirRecursive(src, dest, depth = 0, skipFiles = /* @__PURE__ */ new
|
|
|
25269
25275
|
continue;
|
|
25270
25276
|
if (DENY_PATTERNS.some((p) => p.test(name)))
|
|
25271
25277
|
continue;
|
|
25272
|
-
if (entry.isDirectory() &&
|
|
25278
|
+
if (entry.isDirectory() && SKIP_DIRS_ANYWHERE.has(name))
|
|
25273
25279
|
continue;
|
|
25274
25280
|
const srcPath = path9.join(src, name);
|
|
25275
25281
|
const destPath = path9.join(dest, name);
|
|
@@ -25281,7 +25287,7 @@ function copyDirRecursive(src, dest, depth = 0, skipFiles = /* @__PURE__ */ new
|
|
|
25281
25287
|
continue;
|
|
25282
25288
|
}
|
|
25283
25289
|
if (stat.isDirectory()) {
|
|
25284
|
-
if (
|
|
25290
|
+
if (SKIP_DIRS_ANYWHERE.has(name))
|
|
25285
25291
|
continue;
|
|
25286
25292
|
copyDirRecursive(srcPath, destPath, depth + 1, skipFiles);
|
|
25287
25293
|
} else if (stat.isFile()) {
|