@planu/cli 5.3.28 → 5.3.29
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
CHANGED
|
@@ -61,8 +61,43 @@ export class MacOSKeychainAdapter {
|
|
|
61
61
|
}
|
|
62
62
|
set(id, value) {
|
|
63
63
|
return this.enqueue(id, 'set', true, async () => {
|
|
64
|
+
try {
|
|
65
|
+
await this.run(['delete-generic-password', '-a', id, '-s', SERVICE_LABEL]);
|
|
66
|
+
}
|
|
67
|
+
catch (error) {
|
|
68
|
+
if (!isMissingCredentialExit(error)) {
|
|
69
|
+
throw error;
|
|
70
|
+
}
|
|
71
|
+
reportClassifiedDegradation('MACOS_SECRET_DELETE', error);
|
|
72
|
+
}
|
|
64
73
|
const encoded = Buffer.from(value, 'utf8').toString('base64');
|
|
65
|
-
await this.run([
|
|
74
|
+
await this.run([
|
|
75
|
+
'add-generic-password',
|
|
76
|
+
'-T',
|
|
77
|
+
'/usr/bin/security',
|
|
78
|
+
'-a',
|
|
79
|
+
id,
|
|
80
|
+
'-s',
|
|
81
|
+
SERVICE_LABEL,
|
|
82
|
+
'-w',
|
|
83
|
+
encoded,
|
|
84
|
+
]);
|
|
85
|
+
try {
|
|
86
|
+
await this.run([
|
|
87
|
+
'set-generic-password-partition-list',
|
|
88
|
+
'-S',
|
|
89
|
+
'apple:,apple-tool:',
|
|
90
|
+
'-s',
|
|
91
|
+
SERVICE_LABEL,
|
|
92
|
+
'-a',
|
|
93
|
+
id,
|
|
94
|
+
'-k',
|
|
95
|
+
'',
|
|
96
|
+
]);
|
|
97
|
+
}
|
|
98
|
+
catch (error) {
|
|
99
|
+
reportClassifiedDegradation('MACOS_SECRET_PARTITION', error);
|
|
100
|
+
}
|
|
66
101
|
});
|
|
67
102
|
}
|
|
68
103
|
delete(id) {
|
package/package.json
CHANGED
package/planu-plugin.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "dev.planu.cli",
|
|
3
3
|
"displayName": "Planu — Spec Driven Development",
|
|
4
4
|
"description": "Manage software specs, estimations, and autonomous SDD workflows. Language-agnostic MCP server for Claude Code.",
|
|
5
|
-
"version": "5.3.
|
|
5
|
+
"version": "5.3.29",
|
|
6
6
|
"icon": "assets/plugin/icon.svg",
|
|
7
7
|
"command": ["npx", "@planu/cli@latest"],
|
|
8
8
|
"packageName": "@planu/cli",
|