clishop 1.3.0 → 1.3.1

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.
@@ -66,10 +66,6 @@ var ACCOUNT_USER = "user-info";
66
66
  var _activeBackend = null;
67
67
  function resolveBackend() {
68
68
  if (_activeBackend) return _activeBackend;
69
- if (process.env.CLISHOP_TOKEN) {
70
- _activeBackend = "env";
71
- return _activeBackend;
72
- }
73
69
  const kt = getKeytar();
74
70
  if (kt) {
75
71
  _activeBackend = "keytar";
@@ -88,7 +84,6 @@ function isKeytarAvailable() {
88
84
  }
89
85
  async function setPassword(account, value) {
90
86
  const backend = resolveBackend();
91
- if (backend === "env") return;
92
87
  if (backend === "keytar") {
93
88
  return getKeytar().setPassword(SERVICE_NAME, account, value);
94
89
  }
@@ -96,9 +91,6 @@ async function setPassword(account, value) {
96
91
  }
97
92
  async function getPassword(account) {
98
93
  const backend = resolveBackend();
99
- if (backend === "env" && account === ACCOUNT_TOKEN) {
100
- return process.env.CLISHOP_TOKEN;
101
- }
102
94
  if (backend === "keytar") {
103
95
  return getKeytar().getPassword(SERVICE_NAME, account);
104
96
  }
@@ -106,7 +98,6 @@ async function getPassword(account) {
106
98
  }
107
99
  async function deletePassword(account) {
108
100
  const backend = resolveBackend();
109
- if (backend === "env") return;
110
101
  if (backend === "keytar") {
111
102
  await getKeytar().deletePassword(SERVICE_NAME, account);
112
103
  return;
package/dist/index.js CHANGED
@@ -11,7 +11,7 @@ import {
11
11
  logout,
12
12
  register,
13
13
  resolveBackend
14
- } from "./chunk-3BBLDX6L.js";
14
+ } from "./chunk-ML7L6BAH.js";
15
15
  import {
16
16
  createAgent,
17
17
  deleteAgent,
@@ -936,7 +936,7 @@ async function runSetupWizard() {
936
936
  console.log();
937
937
  console.log(chalk4.bold.cyan(" W E L C O M E T O C L I S H O P"));
938
938
  console.log(chalk4.dim(" Order anything from your terminal."));
939
- console.log(chalk4.dim(` Build: ${"2026-03-22T16:08:08.167Z"}`));
939
+ console.log(chalk4.dim(` Build: ${"2026-03-22T16:20:26.194Z"}`));
940
940
  console.log();
941
941
  divider(chalk4.cyan);
942
942
  console.log();
@@ -4603,7 +4603,7 @@ function registerDoctorCommand(program2) {
4603
4603
  checks.push({
4604
4604
  name: "Auth backend",
4605
4605
  ok: true,
4606
- detail: backend === "env" ? "Using CLISHOP_TOKEN environment variable" : backend === "keytar" ? "Using OS keychain" : "Using file store (~/.config/clishop/auth.json)"
4606
+ detail: backend === "keytar" ? "Using OS keychain" : "Using file store (~/.config/clishop/auth.json)"
4607
4607
  });
4608
4608
  try {
4609
4609
  const dir = join(homedir(), ".config", "clishop");
package/dist/mcp.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  getApiClient,
4
4
  getUserInfo,
5
5
  isLoggedIn
6
- } from "./chunk-3BBLDX6L.js";
6
+ } from "./chunk-ML7L6BAH.js";
7
7
  import {
8
8
  __export,
9
9
  getActiveAgent,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clishop",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "mcpName": "io.github.StefDCL/clishop",
5
5
  "description": "CLISHOP — Order anything from your terminal",
6
6
  "main": "dist/index.js",