dsh-agy-link 0.4.41 → 0.4.42
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/CHANGELOG.md +10 -0
- package/dist/index.js +6 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.4.42 (2026-09-30)
|
|
4
|
+
|
|
5
|
+
### English
|
|
6
|
+
|
|
7
|
+
- **Fix: provisioned pool keychains are now set to never auto-lock.** A created keychain can lock later (system sleep / lock policy); a locked keychain turns every agy keyring save into an unanswerable password dialog — the keychain password is random and only the plugin knows it, so the user's login password is always rejected. `ensureIsolatedKeychain` now applies never-auto-lock settings on every boot/spawn/login (idempotent), not just at creation.
|
|
8
|
+
|
|
9
|
+
### 中文 (Chinese)
|
|
10
|
+
|
|
11
|
+
- **修复:预置的池账号钥匙串现在设置为永不自动锁。** 新建的钥匙串之后可能被系统上锁(系统睡眠/锁定策略);一旦上锁,agy 的每次 keyring 保存都会弹一个**无法回答**的密码框——钥匙串密码是随机的、只有插件自己知道,用户输登录密码永远不对。`ensureIsolatedKeychain` 现在在每次启动/拉起/登录时都会幂等地套用"永不自动锁"设置,而不仅仅在创建时。
|
|
12
|
+
|
|
3
13
|
## 0.4.41 (2026-09-30)
|
|
4
14
|
|
|
5
15
|
### English
|
package/dist/index.js
CHANGED
|
@@ -2067,13 +2067,16 @@ function ensureIsolatedKeychain(dir, platform = process.platform, run = (file, a
|
|
|
2067
2067
|
if (platform !== "darwin") return false;
|
|
2068
2068
|
if (dir === "") return false;
|
|
2069
2069
|
const kc = join(dir, "Library", "Keychains", "login.keychain-db");
|
|
2070
|
-
if (existsSync(kc)) return false;
|
|
2071
2070
|
try {
|
|
2072
|
-
mkdirSync(join(dir, "Library", "Keychains"), { recursive: true });
|
|
2073
2071
|
const env = {
|
|
2074
2072
|
...process.env,
|
|
2075
2073
|
HOME: dir
|
|
2076
2074
|
};
|
|
2075
|
+
if (existsSync(kc)) {
|
|
2076
|
+
run("security", ["set-keychain-settings", kc], env);
|
|
2077
|
+
return false;
|
|
2078
|
+
}
|
|
2079
|
+
mkdirSync(join(dir, "Library", "Keychains"), { recursive: true });
|
|
2077
2080
|
run("security", [
|
|
2078
2081
|
"create-keychain",
|
|
2079
2082
|
"-p",
|
|
@@ -2085,6 +2088,7 @@ function ensureIsolatedKeychain(dir, platform = process.platform, run = (file, a
|
|
|
2085
2088
|
"-s",
|
|
2086
2089
|
kc
|
|
2087
2090
|
], env);
|
|
2091
|
+
run("security", ["set-keychain-settings", kc], env);
|
|
2088
2092
|
return true;
|
|
2089
2093
|
} catch {
|
|
2090
2094
|
return false;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-agy-link",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.42",
|
|
4
4
|
"description": "Google Antigravity (agy CLI) models for DeepSeek Harness — stream Gemini/Claude/GPT-OSS subscriptions into DSH with thinking, tool activity, token usage and in-GUI Google OAuth login.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|