@pleri/olam-cli 0.1.131 → 0.1.133

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.
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "auth": "sha256:c8ebf817e09719289c7d7e37056b24adacb9d9fbc555e2540fbe88dfd400f2d9",
3
- "devbox": "sha256:b9a5f1e249784090424278f0b217453459b95daece91e0b5d9e6c426c963d628",
4
- "devbox-base": "sha256:6c0aaf359f80d85553fb702d6c09f0de1393e388690ea12f1cc2d1da337fd2d9",
3
+ "devbox": "sha256:bf0636a8a4733d181f67b9248c033679196e6a89d0290198405ada5b7c07c7a1",
4
+ "devbox-base": "sha256:7ac8f509f6e1b4661168485c64d8da81187f4c6bd030c8826d09dbe4804f0124",
5
5
  "host-cp": "sha256:13a26950fea2917ebb268f7bda04fd54267ffe8e5ba4a550db89f28eb309553f",
6
6
  "mcp-auth": "sha256:c82fcfca7ed1b139cbea252697487889b96b45a6575cfba076de7f57eaa943ac",
7
7
  "$schema_version": 1,
8
- "$published_version": "0.1.131",
8
+ "$published_version": "0.1.133",
9
9
  "$registry": "ghcr.io/pleri"
10
10
  }
package/dist/index.js CHANGED
@@ -8737,44 +8737,8 @@ var init_kg_overlay = __esm({
8737
8737
  }
8738
8738
  });
8739
8739
 
8740
- // ../core/dist/world/kg-install-hook.js
8741
- import { execFileSync as execFileSync4 } from "node:child_process";
8742
- function installGraphifyHookInWorld(opts) {
8743
- const timeout = opts.timeoutMs ?? 3e4;
8744
- try {
8745
- execFileSync4("docker", [
8746
- "exec",
8747
- "-u",
8748
- "olam",
8749
- "-w",
8750
- `/home/olam/workspace/${opts.repoName}`,
8751
- opts.containerName,
8752
- "graphify",
8753
- "claude",
8754
- "install",
8755
- "--platform",
8756
- "claude"
8757
- ], { stdio: ["ignore", "pipe", "pipe"], encoding: "utf-8", timeout });
8758
- } catch (err) {
8759
- const msg = err instanceof Error ? err.message : String(err);
8760
- throw new KgHookInstallError(`graphify claude install failed in ${opts.containerName} (repo=${opts.repoName}): ${msg}`);
8761
- }
8762
- }
8763
- var KgHookInstallError;
8764
- var init_kg_install_hook = __esm({
8765
- "../core/dist/world/kg-install-hook.js"() {
8766
- "use strict";
8767
- KgHookInstallError = class extends Error {
8768
- constructor(message) {
8769
- super(message);
8770
- this.name = "KgHookInstallError";
8771
- }
8772
- };
8773
- }
8774
- });
8775
-
8776
8740
  // ../core/dist/world/baseline-diff.js
8777
- import { execFileSync as execFileSync5 } from "node:child_process";
8741
+ import { execFileSync as execFileSync4 } from "node:child_process";
8778
8742
  import * as fs15 from "node:fs";
8779
8743
  import * as os9 from "node:os";
8780
8744
  import * as path16 from "node:path";
@@ -8801,7 +8765,7 @@ ${stderr}`;
8801
8765
  return /unknown revision|bad revision|does not have any commits|HEAD'?: ambiguous|Needed a single revision/.test(blob);
8802
8766
  }
8803
8767
  function snapshotBaselineDiff(repos, workspacePath, deps = {}) {
8804
- const exec = deps.exec ?? ((cmd, args, opts) => execFileSync5(cmd, args, opts));
8768
+ const exec = deps.exec ?? ((cmd, args, opts) => execFileSync4(cmd, args, opts));
8805
8769
  const homedir35 = deps.homedir ?? (() => os9.homedir());
8806
8770
  const baselineDir = path16.join(workspacePath, ".olam", "baseline");
8807
8771
  try {
@@ -8898,7 +8862,7 @@ function stripWorktreeEdits(repos, workspacePath) {
8898
8862
  if (!fs15.existsSync(worktreePath))
8899
8863
  continue;
8900
8864
  try {
8901
- execFileSync5("git", ["checkout", "--", "."], {
8865
+ execFileSync4("git", ["checkout", "--", "."], {
8902
8866
  cwd: worktreePath,
8903
8867
  stdio: "pipe"
8904
8868
  });
@@ -8909,7 +8873,7 @@ function stripWorktreeEdits(repos, workspacePath) {
8909
8873
  }
8910
8874
  }
8911
8875
  function captureOperatorDiff(repoPath, deps = {}) {
8912
- const exec = deps.exec ?? ((cmd, args, opts) => execFileSync5(cmd, args, opts));
8876
+ const exec = deps.exec ?? ((cmd, args, opts) => execFileSync4(cmd, args, opts));
8913
8877
  const unstaged = exec("git", ["diff"], {
8914
8878
  cwd: repoPath,
8915
8879
  encoding: "utf-8",
@@ -8937,7 +8901,7 @@ function extractStderr(err) {
8937
8901
  return typeof raw === "string" ? raw : raw.toString("utf-8");
8938
8902
  }
8939
8903
  function carryUncommittedEdits(repos, workspacePath, deps = {}) {
8940
- const exec = deps.exec ?? ((cmd, args, opts) => execFileSync5(cmd, args, opts));
8904
+ const exec = deps.exec ?? ((cmd, args, opts) => execFileSync4(cmd, args, opts));
8941
8905
  const homedir35 = deps.homedir ?? (() => os9.homedir());
8942
8906
  const existsSync64 = deps.existsSync ?? ((p) => fs15.existsSync(p));
8943
8907
  const copyFileSync9 = deps.copyFileSync ?? ((src, dest) => fs15.copyFileSync(src, dest));
@@ -9796,7 +9760,7 @@ import * as crypto4 from "node:crypto";
9796
9760
  import * as fs17 from "node:fs";
9797
9761
  import * as os10 from "node:os";
9798
9762
  import * as path18 from "node:path";
9799
- import { execFileSync as execFileSync6, spawn as spawn2 } from "node:child_process";
9763
+ import { execFileSync as execFileSync5, spawn as spawn2 } from "node:child_process";
9800
9764
  import { gunzipSync } from "node:zlib";
9801
9765
  function snapshotsDir() {
9802
9766
  return process.env["OLAM_SNAPSHOTS_DIR"] ?? path18.join(os10.homedir(), ".olam", "snapshots");
@@ -9886,7 +9850,7 @@ function packTarball(srcDir, destPath, opts = {}) {
9886
9850
  args.push("-h");
9887
9851
  args.push("-czf", tmp, "-C", srcDir, ".");
9888
9852
  try {
9889
- execFileSync6("tar", args, { stdio: "pipe" });
9853
+ execFileSync5("tar", args, { stdio: "pipe" });
9890
9854
  fs17.renameSync(tmp, destPath);
9891
9855
  } catch (err) {
9892
9856
  try {
@@ -9911,7 +9875,7 @@ function unpackTarballAtomic(srcPath, destDir) {
9911
9875
  const tmpDir = `${destDir}${tmpSuffix}`;
9912
9876
  try {
9913
9877
  fs17.mkdirSync(tmpDir, { recursive: true });
9914
- execFileSync6("tar", ["-xzf", srcPath, "-C", tmpDir], { stdio: "pipe" });
9878
+ execFileSync5("tar", ["-xzf", srcPath, "-C", tmpDir], { stdio: "pipe" });
9915
9879
  fs17.renameSync(tmpDir, destDir);
9916
9880
  return { ok: true, entryCount: validation.entries.length };
9917
9881
  } catch (err) {
@@ -10008,7 +9972,7 @@ function validateHardlinksBinary(tarPath, targetDir) {
10008
9972
  function enumerateAndValidateTarballEntries(tarPath, targetDir) {
10009
9973
  let raw;
10010
9974
  try {
10011
- raw = execFileSync6("tar", ["-tvf", tarPath], {
9975
+ raw = execFileSync5("tar", ["-tvf", tarPath], {
10012
9976
  stdio: ["ignore", "pipe", "pipe"],
10013
9977
  env: { ...process.env, LC_ALL: "C", TZ: "UTC" },
10014
9978
  encoding: "utf-8",
@@ -11880,7 +11844,6 @@ var init_manager = __esm({
11880
11844
  init_worktree();
11881
11845
  init_env_setup();
11882
11846
  init_kg_overlay();
11883
- init_kg_install_hook();
11884
11847
  init_baseline_diff();
11885
11848
  init_context_injection();
11886
11849
  init_stack_detect();
@@ -12455,15 +12418,6 @@ ${detail}`);
12455
12418
  await copyClaudeConfigIntoContainer(containerName);
12456
12419
  } catch {
12457
12420
  }
12458
- for (const { repo: repoName } of overlayAttachments) {
12459
- try {
12460
- installGraphifyHookInWorld({ containerName, repoName });
12461
- console.log(`[WorldManager] KG hook installed for ${repoName}`);
12462
- } catch (err) {
12463
- const msg = err instanceof Error ? err.message : String(err);
12464
- console.warn(`[WorldManager] KG hook install failed for ${repoName}: ${msg}`);
12465
- }
12466
- }
12467
12421
  const credentialsInjected = { claude: !opts.noAuth, codex: false };
12468
12422
  try {
12469
12423
  await setupContainerGit(containerName, repos, branch);
@@ -16964,12 +16918,12 @@ function registerAuthUpgrade(auth) {
16964
16918
  // src/commands/services.ts
16965
16919
  init_auth();
16966
16920
  init_output();
16967
- import { execFileSync as execFileSync8, spawnSync as spawnSync11 } from "node:child_process";
16921
+ import { execFileSync as execFileSync7, spawnSync as spawnSync11 } from "node:child_process";
16968
16922
  import pc8 from "picocolors";
16969
16923
 
16970
16924
  // src/commands/kg-service-container.ts
16971
16925
  init_storage_paths();
16972
- import { execFileSync as execFileSync7, spawnSync as spawnSync10 } from "node:child_process";
16926
+ import { execFileSync as execFileSync6, spawnSync as spawnSync10 } from "node:child_process";
16973
16927
  import * as fs28 from "node:fs";
16974
16928
  var KG_SERVICE_PORT = 9997;
16975
16929
  var KG_SERVICE_CONTAINER = "olam-kg-service";
@@ -17028,13 +16982,13 @@ var KgServiceContainerController = class {
17028
16982
  const current = this.status();
17029
16983
  if (current.state === "running") return;
17030
16984
  if (current.state === "stopped") {
17031
- execFileSync7("docker", ["start", KG_SERVICE_CONTAINER], { stdio: "pipe" });
16985
+ execFileSync6("docker", ["start", KG_SERVICE_CONTAINER], { stdio: "pipe" });
17032
16986
  return;
17033
16987
  }
17034
16988
  this.imageTag = this.resolveImage();
17035
16989
  const kgData = kgDataHostPath();
17036
16990
  fs28.mkdirSync(kgData, { recursive: true });
17037
- execFileSync7(
16991
+ execFileSync6(
17038
16992
  "docker",
17039
16993
  [
17040
16994
  "run",
@@ -17071,7 +17025,7 @@ var KgServiceContainerController = class {
17071
17025
  stop() {
17072
17026
  const current = this.status();
17073
17027
  if (current.state !== "running") return;
17074
- execFileSync7("docker", ["stop", KG_SERVICE_CONTAINER], { stdio: "pipe" });
17028
+ execFileSync6("docker", ["stop", KG_SERVICE_CONTAINER], { stdio: "pipe" });
17075
17029
  }
17076
17030
  remove() {
17077
17031
  spawnSync10("docker", ["rm", "-f", KG_SERVICE_CONTAINER], { stdio: "pipe" });
@@ -17152,7 +17106,7 @@ var McpAuthContainerController = class {
17152
17106
  const current = this.status();
17153
17107
  if (current.state === "running") return;
17154
17108
  if (current.state === "stopped") {
17155
- execFileSync8("docker", ["start", MCP_AUTH_CONTAINER], { stdio: "pipe" });
17109
+ execFileSync7("docker", ["start", MCP_AUTH_CONTAINER], { stdio: "pipe" });
17156
17110
  return;
17157
17111
  }
17158
17112
  if (!this.imageExists()) {
@@ -17164,7 +17118,7 @@ var McpAuthContainerController = class {
17164
17118
  );
17165
17119
  }
17166
17120
  }
17167
- execFileSync8(
17121
+ execFileSync7(
17168
17122
  "docker",
17169
17123
  [
17170
17124
  "run",
@@ -17185,7 +17139,7 @@ var McpAuthContainerController = class {
17185
17139
  stop() {
17186
17140
  const current = this.status();
17187
17141
  if (current.state !== "running") return;
17188
- execFileSync8("docker", ["stop", MCP_AUTH_CONTAINER], { stdio: "pipe" });
17142
+ execFileSync7("docker", ["stop", MCP_AUTH_CONTAINER], { stdio: "pipe" });
17189
17143
  }
17190
17144
  remove() {
17191
17145
  spawnSync11("docker", ["rm", "-f", MCP_AUTH_CONTAINER], { stdio: "pipe" });
@@ -18680,7 +18634,7 @@ init_output();
18680
18634
  import fs31 from "node:fs";
18681
18635
  import os17 from "node:os";
18682
18636
  import path32 from "node:path";
18683
- import { execFileSync as execFileSync9 } from "node:child_process";
18637
+ import { execFileSync as execFileSync8 } from "node:child_process";
18684
18638
  function registerClean(program2) {
18685
18639
  program2.command("clean").description("Reap orphan world filesystem state under ~/.olam/worlds/").option("--apply", "Actually delete the orphans (default is dry-run)", false).option(
18686
18640
  "--include-dirty",
@@ -18823,7 +18777,7 @@ function reapEntry(entry) {
18823
18777
  try {
18824
18778
  const gitDir = resolveGitDirForWorktree(entry.worktreePath);
18825
18779
  if (gitDir) {
18826
- execFileSync9("git", ["worktree", "remove", "--force", entry.worktreePath], {
18780
+ execFileSync8("git", ["worktree", "remove", "--force", entry.worktreePath], {
18827
18781
  cwd: gitDir,
18828
18782
  stdio: "pipe"
18829
18783
  });
@@ -18858,13 +18812,13 @@ function collectWorktrees(worldsDir) {
18858
18812
  function resolveGitDirForWorktree(worktreePath) {
18859
18813
  const gitMarker = path32.join(worktreePath, ".git");
18860
18814
  try {
18861
- const top = execFileSync9("git", ["rev-parse", "--show-toplevel"], {
18815
+ const top = execFileSync8("git", ["rev-parse", "--show-toplevel"], {
18862
18816
  cwd: worktreePath,
18863
18817
  encoding: "utf-8",
18864
18818
  stdio: "pipe"
18865
18819
  }).trim();
18866
18820
  if (!top) return null;
18867
- const common = execFileSync9("git", ["rev-parse", "--git-common-dir"], {
18821
+ const common = execFileSync8("git", ["rev-parse", "--git-common-dir"], {
18868
18822
  cwd: worktreePath,
18869
18823
  encoding: "utf-8",
18870
18824
  stdio: "pipe"
@@ -18878,7 +18832,7 @@ function resolveGitDirForWorktree(worktreePath) {
18878
18832
  }
18879
18833
  function readBranch(worktreePath) {
18880
18834
  try {
18881
- return execFileSync9("git", ["branch", "--show-current"], {
18835
+ return execFileSync8("git", ["branch", "--show-current"], {
18882
18836
  cwd: worktreePath,
18883
18837
  encoding: "utf-8",
18884
18838
  stdio: "pipe"
@@ -18889,7 +18843,7 @@ function readBranch(worktreePath) {
18889
18843
  }
18890
18844
  function countDirty(worktreePath) {
18891
18845
  try {
18892
- const out = execFileSync9("git", ["status", "--porcelain"], {
18846
+ const out = execFileSync8("git", ["status", "--porcelain"], {
18893
18847
  cwd: worktreePath,
18894
18848
  encoding: "utf-8",
18895
18849
  stdio: "pipe"
@@ -18901,7 +18855,7 @@ function countDirty(worktreePath) {
18901
18855
  }
18902
18856
  function countUnpushed(worktreePath) {
18903
18857
  try {
18904
- const out = execFileSync9("git", ["log", "@{u}..HEAD", "--oneline"], {
18858
+ const out = execFileSync8("git", ["log", "@{u}..HEAD", "--oneline"], {
18905
18859
  cwd: worktreePath,
18906
18860
  encoding: "utf-8",
18907
18861
  stdio: "pipe"
@@ -18988,7 +18942,7 @@ async function confirmInteractive() {
18988
18942
 
18989
18943
  // src/commands/implode.ts
18990
18944
  init_output();
18991
- import { execFileSync as execFileSync10 } from "node:child_process";
18945
+ import { execFileSync as execFileSync9 } from "node:child_process";
18992
18946
  import * as fs32 from "node:fs";
18993
18947
  import * as os18 from "node:os";
18994
18948
  import * as path33 from "node:path";
@@ -18997,7 +18951,7 @@ import pc14 from "picocolors";
18997
18951
  var NPM_PACKAGE = "@pleri/olam-cli";
18998
18952
  var realExec = (cmd, args) => {
18999
18953
  try {
19000
- const stdout = execFileSync10(cmd, [...args], {
18954
+ const stdout = execFileSync9(cmd, [...args], {
19001
18955
  encoding: "utf-8",
19002
18956
  stdio: ["ignore", "pipe", "pipe"]
19003
18957
  });
@@ -19092,7 +19046,7 @@ function inspectWorldGitState(worldPath) {
19092
19046
  const gitDir = path33.join(repo, ".git");
19093
19047
  if (!fs32.existsSync(gitDir)) continue;
19094
19048
  try {
19095
- const status2 = execFileSync10("git", ["status", "--porcelain"], {
19049
+ const status2 = execFileSync9("git", ["status", "--porcelain"], {
19096
19050
  cwd: repo,
19097
19051
  encoding: "utf-8",
19098
19052
  stdio: ["ignore", "pipe", "ignore"]
@@ -19106,7 +19060,7 @@ function inspectWorldGitState(worldPath) {
19106
19060
  continue;
19107
19061
  }
19108
19062
  try {
19109
- const ahead = execFileSync10(
19063
+ const ahead = execFileSync9(
19110
19064
  "git",
19111
19065
  ["rev-list", "--count", "@{upstream}..HEAD"],
19112
19066
  { cwd: repo, encoding: "utf-8", stdio: ["ignore", "pipe", "ignore"] }
@@ -22508,11 +22462,11 @@ async function resolveDigests(lockfile, resolver) {
22508
22462
  }
22509
22463
 
22510
22464
  // ../core/dist/worldspec/image-digest.js
22511
- import { execFileSync as execFileSync11 } from "node:child_process";
22465
+ import { execFileSync as execFileSync10 } from "node:child_process";
22512
22466
  var DOCKER_SUBPROCESS_TIMEOUT_MS = 3e4;
22513
22467
  var dockerDigestResolver = async (image, source) => {
22514
22468
  if (source === "local") {
22515
- const out = execFileSync11("docker", ["inspect", image, "--format", "{{.Id}}"], {
22469
+ const out = execFileSync10("docker", ["inspect", image, "--format", "{{.Id}}"], {
22516
22470
  encoding: "utf8",
22517
22471
  stdio: ["ignore", "pipe", "pipe"],
22518
22472
  timeout: DOCKER_SUBPROCESS_TIMEOUT_MS,
@@ -22523,7 +22477,7 @@ var dockerDigestResolver = async (image, source) => {
22523
22477
  }
22524
22478
  return out;
22525
22479
  }
22526
- const raw = execFileSync11("docker", ["buildx", "imagetools", "inspect", image], {
22480
+ const raw = execFileSync10("docker", ["buildx", "imagetools", "inspect", image], {
22527
22481
  encoding: "utf8",
22528
22482
  stdio: ["ignore", "pipe", "pipe"],
22529
22483
  timeout: DOCKER_SUBPROCESS_TIMEOUT_MS,
@@ -26549,7 +26503,7 @@ Run \`olam refresh\` from the olam repo root.`
26549
26503
  import * as fs41 from "node:fs";
26550
26504
  import * as os23 from "node:os";
26551
26505
  import * as path43 from "node:path";
26552
- import { execFileSync as execFileSync12, execSync as execSync12 } from "node:child_process";
26506
+ import { execFileSync as execFileSync11, execSync as execSync12 } from "node:child_process";
26553
26507
  import pc22 from "picocolors";
26554
26508
 
26555
26509
  // ../core/dist/diagnose/secret-stripper.js
@@ -26595,7 +26549,7 @@ function safeExec(cmd) {
26595
26549
  }
26596
26550
  }
26597
26551
  function defaultZip(zipPath, files) {
26598
- execFileSync12("zip", ["-j", zipPath, ...files]);
26552
+ execFileSync11("zip", ["-j", zipPath, ...files]);
26599
26553
  }
26600
26554
  async function buildDiagnosticsZip(_exec = (cmd) => safeExec(cmd), _outDir = DIAGNOSTICS_DIR, _logDir = LOG_DIR, _zip = defaultZip) {
26601
26555
  const ts = (/* @__PURE__ */ new Date()).toISOString().replace(/[:.]/g, "-").slice(0, 23);
@@ -31043,38 +31043,8 @@ function createWorldOverlay(opts) {
31043
31043
  };
31044
31044
  }
31045
31045
 
31046
- // ../core/dist/world/kg-install-hook.js
31047
- import { execFileSync as execFileSync4 } from "node:child_process";
31048
- var KgHookInstallError = class extends Error {
31049
- constructor(message) {
31050
- super(message);
31051
- this.name = "KgHookInstallError";
31052
- }
31053
- };
31054
- function installGraphifyHookInWorld(opts) {
31055
- const timeout = opts.timeoutMs ?? 3e4;
31056
- try {
31057
- execFileSync4("docker", [
31058
- "exec",
31059
- "-u",
31060
- "olam",
31061
- "-w",
31062
- `/home/olam/workspace/${opts.repoName}`,
31063
- opts.containerName,
31064
- "graphify",
31065
- "claude",
31066
- "install",
31067
- "--platform",
31068
- "claude"
31069
- ], { stdio: ["ignore", "pipe", "pipe"], encoding: "utf-8", timeout });
31070
- } catch (err) {
31071
- const msg = err instanceof Error ? err.message : String(err);
31072
- throw new KgHookInstallError(`graphify claude install failed in ${opts.containerName} (repo=${opts.repoName}): ${msg}`);
31073
- }
31074
- }
31075
-
31076
31046
  // ../core/dist/world/baseline-diff.js
31077
- import { execFileSync as execFileSync5 } from "node:child_process";
31047
+ import { execFileSync as execFileSync4 } from "node:child_process";
31078
31048
  import * as fs19 from "node:fs";
31079
31049
  import * as os12 from "node:os";
31080
31050
  import * as path21 from "node:path";
@@ -31102,7 +31072,7 @@ ${stderr}`;
31102
31072
  return /unknown revision|bad revision|does not have any commits|HEAD'?: ambiguous|Needed a single revision/.test(blob);
31103
31073
  }
31104
31074
  function snapshotBaselineDiff(repos, workspacePath, deps = {}) {
31105
- const exec = deps.exec ?? ((cmd, args, opts) => execFileSync5(cmd, args, opts));
31075
+ const exec = deps.exec ?? ((cmd, args, opts) => execFileSync4(cmd, args, opts));
31106
31076
  const homedir18 = deps.homedir ?? (() => os12.homedir());
31107
31077
  const baselineDir = path21.join(workspacePath, ".olam", "baseline");
31108
31078
  try {
@@ -31199,7 +31169,7 @@ function stripWorktreeEdits(repos, workspacePath) {
31199
31169
  if (!fs19.existsSync(worktreePath))
31200
31170
  continue;
31201
31171
  try {
31202
- execFileSync5("git", ["checkout", "--", "."], {
31172
+ execFileSync4("git", ["checkout", "--", "."], {
31203
31173
  cwd: worktreePath,
31204
31174
  stdio: "pipe"
31205
31175
  });
@@ -31226,7 +31196,7 @@ ${stderr.trim()}` : "";
31226
31196
  }
31227
31197
  };
31228
31198
  function captureOperatorDiff(repoPath, deps = {}) {
31229
- const exec = deps.exec ?? ((cmd, args, opts) => execFileSync5(cmd, args, opts));
31199
+ const exec = deps.exec ?? ((cmd, args, opts) => execFileSync4(cmd, args, opts));
31230
31200
  const unstaged = exec("git", ["diff"], {
31231
31201
  cwd: repoPath,
31232
31202
  encoding: "utf-8",
@@ -31254,7 +31224,7 @@ function extractStderr(err) {
31254
31224
  return typeof raw === "string" ? raw : raw.toString("utf-8");
31255
31225
  }
31256
31226
  function carryUncommittedEdits(repos, workspacePath, deps = {}) {
31257
- const exec = deps.exec ?? ((cmd, args, opts) => execFileSync5(cmd, args, opts));
31227
+ const exec = deps.exec ?? ((cmd, args, opts) => execFileSync4(cmd, args, opts));
31258
31228
  const homedir18 = deps.homedir ?? (() => os12.homedir());
31259
31229
  const existsSync27 = deps.existsSync ?? ((p) => fs19.existsSync(p));
31260
31230
  const copyFileSync7 = deps.copyFileSync ?? ((src, dest) => fs19.copyFileSync(src, dest));
@@ -32061,7 +32031,7 @@ import * as crypto5 from "node:crypto";
32061
32031
  import * as fs21 from "node:fs";
32062
32032
  import * as os13 from "node:os";
32063
32033
  import * as path23 from "node:path";
32064
- import { execFileSync as execFileSync6, spawn as spawn2 } from "node:child_process";
32034
+ import { execFileSync as execFileSync5, spawn as spawn2 } from "node:child_process";
32065
32035
  import { gunzipSync } from "node:zlib";
32066
32036
  function snapshotsDir() {
32067
32037
  return process.env["OLAM_SNAPSHOTS_DIR"] ?? path23.join(os13.homedir(), ".olam", "snapshots");
@@ -32137,7 +32107,7 @@ function unpackTarballAtomic(srcPath, destDir) {
32137
32107
  const tmpDir = `${destDir}${tmpSuffix}`;
32138
32108
  try {
32139
32109
  fs21.mkdirSync(tmpDir, { recursive: true });
32140
- execFileSync6("tar", ["-xzf", srcPath, "-C", tmpDir], { stdio: "pipe" });
32110
+ execFileSync5("tar", ["-xzf", srcPath, "-C", tmpDir], { stdio: "pipe" });
32141
32111
  fs21.renameSync(tmpDir, destDir);
32142
32112
  return { ok: true, entryCount: validation.entries.length };
32143
32113
  } catch (err) {
@@ -32241,7 +32211,7 @@ function validateHardlinksBinary(tarPath, targetDir) {
32241
32211
  function enumerateAndValidateTarballEntries(tarPath, targetDir) {
32242
32212
  let raw;
32243
32213
  try {
32244
- raw = execFileSync6("tar", ["-tvf", tarPath], {
32214
+ raw = execFileSync5("tar", ["-tvf", tarPath], {
32245
32215
  stdio: ["ignore", "pipe", "pipe"],
32246
32216
  env: { ...process.env, LC_ALL: "C", TZ: "UTC" },
32247
32217
  encoding: "utf-8",
@@ -33854,15 +33824,6 @@ ${detail}`);
33854
33824
  await copyClaudeConfigIntoContainer(containerName);
33855
33825
  } catch {
33856
33826
  }
33857
- for (const { repo: repoName } of overlayAttachments) {
33858
- try {
33859
- installGraphifyHookInWorld({ containerName, repoName });
33860
- console.log(`[WorldManager] KG hook installed for ${repoName}`);
33861
- } catch (err) {
33862
- const msg = err instanceof Error ? err.message : String(err);
33863
- console.warn(`[WorldManager] KG hook install failed for ${repoName}: ${msg}`);
33864
- }
33865
- }
33866
33827
  const credentialsInjected = { claude: !opts.noAuth, codex: false };
33867
33828
  try {
33868
33829
  await setupContainerGit(containerName, repos, branch);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pleri/olam-cli",
3
- "version": "0.1.131",
3
+ "version": "0.1.133",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "olam": "./bin/olam.cjs"