@buzzni/saycode-cli 0.2.1 → 0.2.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.
Files changed (3) hide show
  1. package/README.md +3 -3
  2. package/index.mjs +3 -5
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -236,11 +236,11 @@ GitHub Actions 가 태그로 발행합니다 (`.github/workflows/publish-saycode
236
236
 
237
237
  ```bash
238
238
  # 1. 버전 올리기 — 데스크탑 앱 버전과 무관합니다
239
- vi cli/manifest.json # "version": "0.2.1"
239
+ vi cli/manifest.json # "version": "0.2.2"
240
240
 
241
241
  # 2. 커밋하고 태그를 밀면 끝
242
- git tag -a saycode-cli-v0.2.1 -m "Release saycode-cli 0.2.1"
243
- git push origin saycode-cli-v0.2.1
242
+ git tag -a saycode-cli-v0.2.2 -m "Release saycode-cli 0.2.2"
243
+ git push origin saycode-cli-v0.2.2
244
244
  ```
245
245
 
246
246
  워크플로는 발행 전에 이 순서로 막습니다:
package/index.mjs CHANGED
@@ -40,7 +40,7 @@ function _mergeNamespaces(n, m) {
40
40
  }
41
41
  return Object.freeze(Object.defineProperty(n, Symbol.toStringTag, { value: "Module" }));
42
42
  }
43
- const version = "0.2.1";
43
+ const version = "0.2.2";
44
44
  const manifest = {
45
45
  version
46
46
  };
@@ -18061,10 +18061,7 @@ function credentialSearchPaths(input) {
18061
18061
  if (override) {
18062
18062
  return [{ source: "override", path: joinPath(override, "access.key") }];
18063
18063
  }
18064
- const runtimeHome = input.env.HAPPY_HOME_DIR?.trim();
18065
- const runtimeCandidate = runtimeHome ? [{ source: "happy_home_dir", path: joinPath(runtimeHome, "access.key") }] : [];
18066
18064
  return [
18067
- ...runtimeCandidate,
18068
18065
  { source: "saycode", path: joinPath(input.homeDir, ".saycode", "credentials.v1.json") },
18069
18066
  { source: "happy", path: joinPath(input.homeDir, ".happy", "access.key") },
18070
18067
  { source: "happy_remote", path: joinPath(input.homeDir, ".happy_remote", "access.key") },
@@ -22725,8 +22722,9 @@ function isInScope(session, scope) {
22725
22722
  }
22726
22723
  function machineSettingsPaths(input) {
22727
22724
  const override = input.env.SAYCODE_HAPPY_HOME?.trim();
22725
+ const runtimeHome = input.env.HAPPY_HOME_DIR?.trim();
22728
22726
  const homes = CREDENTIAL_SOURCE_ORDER.filter((source) => source !== "saycode").map((source) => `${input.homeDir}/.${source}`);
22729
- const ordered = [input.credentialHome?.trim(), override, ...homes];
22727
+ const ordered = [input.credentialHome?.trim(), override, runtimeHome, ...homes];
22730
22728
  return [...new Set(ordered.filter((home) => Boolean(home)))].map((home) => `${home}/settings.json`.replace(/\/{2,}/g, "/"));
22731
22729
  }
22732
22730
  function readMachineId(input, readFile2) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@buzzni/saycode-cli",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Drive Saycode sessions across your machines from the terminal.",
5
5
  "type": "module",
6
6
  "bin": {