@deepraxis/cli 0.1.0-dev.244cd7e → 0.1.0-dev.98b03cc
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/praxis.js +5 -2
- package/package.json +1 -1
package/dist/praxis.js
CHANGED
|
@@ -21273,6 +21273,9 @@ var unavailableSecretStore = {
|
|
|
21273
21273
|
return false;
|
|
21274
21274
|
}
|
|
21275
21275
|
};
|
|
21276
|
+
function selectSecretStore(env, injected) {
|
|
21277
|
+
return injected ?? (env.PRAXIS_CREDENTIAL_STORE === "file" ? unavailableSecretStore : undefined);
|
|
21278
|
+
}
|
|
21276
21279
|
function systemSecretStore(options = {}) {
|
|
21277
21280
|
const platform = options.platform ?? process.platform;
|
|
21278
21281
|
const run = options.run ?? runSecretCommand;
|
|
@@ -22371,7 +22374,7 @@ function startProgress(ctx, write = (text) => writeOutput({ stderr: text })) {
|
|
|
22371
22374
|
}
|
|
22372
22375
|
|
|
22373
22376
|
// src/main.ts
|
|
22374
|
-
var version = "0.1.0-dev.
|
|
22377
|
+
var version = "0.1.0-dev.98b03cc";
|
|
22375
22378
|
var commands = commandTree(operations);
|
|
22376
22379
|
var manual = [["login"], ["logout"], ["whoami"], ["org", "list"], ["org", "switch"], ["api"], ["skill"]];
|
|
22377
22380
|
function route(argv) {
|
|
@@ -22515,7 +22518,7 @@ Examples:
|
|
|
22515
22518
|
return 0;
|
|
22516
22519
|
}
|
|
22517
22520
|
const path = ports.tokenPath ?? tokenPath(config.env);
|
|
22518
|
-
const store = createTokenStore(config.env, path, ports.secretStore);
|
|
22521
|
+
const store = createTokenStore(config.env, path, selectSecretStore(ports.env, ports.secretStore));
|
|
22519
22522
|
const wireFetch = async (input, init) => {
|
|
22520
22523
|
const request = new Request(input, init);
|
|
22521
22524
|
request.headers.set("User-Agent", `praxis-cli/${version}${ctx.mode === "agent" ? ` agent/${ctx.agentName ?? "unknown"}` : ""}`);
|