autark-cli 0.1.6 → 0.1.7

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.
Files changed (2) hide show
  1. package/autark.mjs +2 -1
  2. package/package.json +1 -1
package/autark.mjs CHANGED
@@ -12,7 +12,8 @@ import process from 'node:process'
12
12
 
13
13
  const API = process.env.AUTARK_API_URL || 'https://autark-api.kushalsokke.workers.dev'
14
14
  const AGENTMAIL_API = process.env.AGENTMAIL_API_URL || 'https://api.agentmail.to/v0'
15
- const CREDS_PATH = path.join(os.homedir(), '.autark', 'credentials.json')
15
+ const AUTARK_HOME = process.env.AUTARK_HOME || path.join(os.homedir(), '.autark')
16
+ const CREDS_PATH = process.env.AUTARK_CREDENTIALS || path.join(AUTARK_HOME, 'credentials.json')
16
17
 
17
18
  const args = process.argv.slice(2)
18
19
  main().catch(err => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "autark-cli",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "CLI for autark — hypothesis-driven product runbooks. Track products, hypotheses, runs, and actions from the terminal.",
5
5
  "type": "module",
6
6
  "license": "MIT",