@zivis/mcp 0.1.0-alpha.25 → 0.1.0-alpha.26

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.
@@ -190,15 +190,28 @@ export async function keychainStore(account, value, storage) {
190
190
  }
191
191
  }
192
192
  }
193
- export async function keychainRead(account, storage) {
194
- const st = resolvedStorage(storage);
193
+ const LEGACY_KEYCHAIN_PREFIX = "io.zivis.mcp";
194
+ async function readFromBucket(account, storage) {
195
195
  if (await useKeychain()) {
196
196
  if (process.platform === "darwin")
197
- return macosRead(account, st.keychainPrefix);
197
+ return macosRead(account, storage.keychainPrefix);
198
198
  if (process.platform === "linux")
199
- return linuxRead(account, st.keychainPrefix);
199
+ return linuxRead(account, storage.keychainPrefix);
200
200
  }
201
- return fileRead(account, st);
201
+ return fileRead(account, storage);
202
+ }
203
+ export async function keychainRead(account, storage) {
204
+ const st = resolvedStorage(storage);
205
+ const primary = await readFromBucket(account, st);
206
+ if (primary !== null)
207
+ return primary;
208
+ if (st.keychainPrefix !== LEGACY_KEYCHAIN_PREFIX) {
209
+ return await readFromBucket(account, {
210
+ ...st,
211
+ keychainPrefix: LEGACY_KEYCHAIN_PREFIX,
212
+ });
213
+ }
214
+ return null;
202
215
  }
203
216
  export async function keychainDelete(account, storage) {
204
217
  const st = resolvedStorage(storage);
@@ -3,7 +3,7 @@
3
3
  "pack_id": "zivis-public",
4
4
  "pack_name": "ZIVIS Public Pattern Pack",
5
5
  "version": "0.2.0",
6
- "built_at": "2026-05-15T12:47:32.761Z",
6
+ "built_at": "2026-05-15T20:22:45.915Z",
7
7
  "tier": "customer_safe",
8
8
  "description": "ZIVIS-curated public pattern pack — capsules + inference prompts evaluated locally on the user's machine.",
9
9
  "capsules": [
package/dist/types.js CHANGED
@@ -2,7 +2,7 @@ const PRODUCTION_DEFAULTS = {
2
2
  apiBaseUrl: "https://app.zivis.ai",
3
3
  oauthClientId: "client_01KGCPA567YEEVXV307AERCB93",
4
4
  oauthApiUrl: "https://api.workos.com",
5
- keychainPrefix: "io.zivis.mcp",
5
+ keychainPrefix: "ai.zivis.mcp",
6
6
  configDir: "zivis",
7
7
  };
8
8
  export const ENV_CONFIG = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zivis/mcp",
3
- "version": "0.1.0-alpha.25",
3
+ "version": "0.1.0-alpha.26",
4
4
  "description": "ZIVIS MCP server — threat modeling, security scans, and AI red team tools for IDE integration",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://zivis.ai",