@appchy/jarvis 0.1.45 → 0.1.46

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.js CHANGED
@@ -4606,22 +4606,23 @@ function harness2() {
4606
4606
  return script && python ? [python, script] : INSTALLED;
4607
4607
  }
4608
4608
  function sessionContext(repo) {
4609
- return say(["context", "--project", repo]);
4609
+ return say(repo, ["context"]);
4610
4610
  }
4611
4611
  function sessionMethod(repo) {
4612
- return say(["method", "--project", repo]);
4612
+ return say(repo, ["method"]);
4613
4613
  }
4614
4614
  function wrapBrief(repo) {
4615
- return say(["wrap", "--project", repo]);
4615
+ return say(repo, ["wrap"]);
4616
4616
  }
4617
4617
  var PATIENCE = 1e4;
4618
- function say(args, timeout = PATIENCE) {
4618
+ function say(repo, args, timeout = PATIENCE) {
4619
4619
  try {
4620
4620
  const [command, ...prefix] = harness2();
4621
- const ran = spawnSync(command, [...prefix, ...args], {
4621
+ const { WORK_DIR: _inherited, ...ambient } = process.env;
4622
+ const ran = spawnSync(command, [...prefix, ...args, "--project", repo], {
4622
4623
  encoding: "utf-8",
4623
4624
  timeout,
4624
- env: { ...process.env, PYTHONDONTWRITEBYTECODE: "1" }
4625
+ env: { ...ambient, CLAUDE_PROJECT_DIR: repo, PYTHONDONTWRITEBYTECODE: "1" }
4625
4626
  });
4626
4627
  if (ran.status !== 0) return null;
4627
4628
  return ran.stdout.trim() ? ran.stdout.trimEnd() : null;
@@ -9622,7 +9623,7 @@ import { createRequire as createRequire2 } from "module";
9622
9623
  var _require = createRequire2(import.meta.url);
9623
9624
  var VERSION2 = _require("../package.json").version ?? "0.0.0";
9624
9625
  var IS_DEV = String(_require("../package.json").name ?? "").endsWith("-dev");
9625
- var SHA = "86c8e54";
9626
+ var SHA = "d68669d";
9626
9627
  var BUILT = "2026-09-07";
9627
9628
  var BUILD = SHA ?? "source";
9628
9629
  var BUILD_LABEL = `${SHA ? `${VERSION2} (${SHA}${BUILT ? ` ${BUILT}` : ""})` : `${VERSION2} (source)`}${IS_DEV ? " \u2014 development build" : ""}`;