@ekkos/cli 0.2.11 → 0.2.12

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.
@@ -123,8 +123,11 @@ async function requestPairingCode(deviceInfo, authToken) {
123
123
  }),
124
124
  });
125
125
  if (!response.ok) {
126
- const error = await response.json().catch(() => ({ error: 'Unknown error' }));
127
- throw new Error(error.error || `Failed to request pairing code: ${response.status}`);
126
+ const errorData = await response.json().catch(() => ({ error: 'Unknown error' }));
127
+ const errorMessage = typeof errorData === 'string'
128
+ ? errorData
129
+ : errorData.error || errorData.message || JSON.stringify(errorData);
130
+ throw new Error(errorMessage || `Failed to request pairing code: ${response.status}`);
128
131
  }
129
132
  return response.json();
130
133
  }
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "@ekkos/cli",
3
- "version": "0.2.11",
3
+ "version": "0.2.12",
4
4
  "description": "Setup ekkOS memory for AI coding assistants (Claude Code, Cursor, Windsurf)",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
7
7
  "ekkos": "dist/index.js",
8
+ "cli": "dist/index.js",
8
9
  "ekkos-capture": "dist/cache/capture.js"
9
10
  },
10
11
  "scripts": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://ekkos.dev/schemas/manifest-v1.json",
3
3
  "manifestVersion": "1.0.0",
4
- "generatedAt": "2026-01-21T03:41:22.207Z",
4
+ "generatedAt": "2026-01-21T08:07:39.857Z",
5
5
  "platforms": {
6
6
  "darwin": {
7
7
  "configDir": "~/.ekkos",