@algosuite/vo-mcp 0.2.0-beta.11 → 0.2.0-beta.13
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/cli.js +6 -0
- package/dist/cli.js.map +2 -2
- package/dist/index.js +6 -0
- package/dist/index.js.map +2 -2
- package/dist/install-cli.js.map +2 -2
- package/dist/login-cli.js.map +2 -2
- package/dist/pair-cli.js.map +2 -2
- package/dist/runner-cli.js +183 -19
- package/dist/runner-cli.js.map +3 -3
- package/dist/runner-supervisor.js +890 -28
- package/dist/runner-supervisor.js.map +4 -4
- package/dist/supervisor-credential-helper.js +8 -2
- package/dist/supervisor-credential-helper.js.map +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -180,6 +180,7 @@ __export(credential_store_exports, {
|
|
|
180
180
|
KEYCHAIN_LOCATION: () => KEYCHAIN_LOCATION,
|
|
181
181
|
credentialPath: () => credentialPath,
|
|
182
182
|
readStoredCredential: () => readStoredCredential,
|
|
183
|
+
readStoredCredentialKeychainOnly: () => readStoredCredentialKeychainOnly,
|
|
183
184
|
writeStoredCredential: () => writeStoredCredential
|
|
184
185
|
});
|
|
185
186
|
import { homedir as homedir3 } from "node:os";
|
|
@@ -238,6 +239,11 @@ function readStoredCredential(env = process.env, keychain = realKeychain) {
|
|
|
238
239
|
}
|
|
239
240
|
return readFromFile(env);
|
|
240
241
|
}
|
|
242
|
+
function readStoredCredentialKeychainOnly(env = process.env, keychain = realKeychain) {
|
|
243
|
+
if (!keychainEnabled(env, keychain)) return null;
|
|
244
|
+
const raw = keychain.get();
|
|
245
|
+
return raw ? deserialize(raw) : null;
|
|
246
|
+
}
|
|
241
247
|
function deleteFile(env) {
|
|
242
248
|
try {
|
|
243
249
|
rmSync(credentialPath(env), { force: true });
|