@latentforce/shift 1.0.3 → 1.0.5
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/README.md +10 -35
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -18,9 +18,9 @@ npm install -g @latentforce/shift
|
|
|
18
18
|
If you're connecting to a hosted Shift backend (not localhost), configure the URLs first:
|
|
19
19
|
|
|
20
20
|
```bash
|
|
21
|
-
shift config set api-url https://
|
|
22
|
-
shift config set orch-url https://orch.latentforce.ai
|
|
23
|
-
shift config set ws-url wss://
|
|
21
|
+
shift config set api-url https://dev-shift-lite.latentforce.ai
|
|
22
|
+
shift config set orch-url https://agent-orch.latentforce.ai
|
|
23
|
+
shift config set ws-url wss://agent-orch.latentforce.ai
|
|
24
24
|
```
|
|
25
25
|
|
|
26
26
|
### Step 2: Start and configure your project
|
|
@@ -88,9 +88,9 @@ The easiest way to configure Shift after installing globally with `npm i -g @lat
|
|
|
88
88
|
shift config
|
|
89
89
|
|
|
90
90
|
# Set backend URLs
|
|
91
|
-
shift config set api-url https://
|
|
92
|
-
shift config set orch-url https://orch.latentforce.ai
|
|
93
|
-
shift config set ws-url wss://
|
|
91
|
+
shift config set api-url https://dev-shift-lite.latentforce.ai
|
|
92
|
+
shift config set orch-url https://agent-orch.latentforce.ai
|
|
93
|
+
shift config set ws-url wss://agent-orch.latentforce.ai
|
|
94
94
|
|
|
95
95
|
# Set API key directly (alternative to interactive prompt)
|
|
96
96
|
shift config set api-key your-api-key-here
|
|
@@ -115,12 +115,12 @@ Example using environment variables:
|
|
|
115
115
|
|
|
116
116
|
```bash
|
|
117
117
|
# Set for current session
|
|
118
|
-
export SHIFT_API_URL=https://
|
|
119
|
-
export SHIFT_ORCH_URL=https://orch.latentforce.ai
|
|
120
|
-
export SHIFT_WS_URL=wss://
|
|
118
|
+
export SHIFT_API_URL=https://dev-shift-lite.latentforce.ai
|
|
119
|
+
export SHIFT_ORCH_URL=https://agent-orch.latentforce.ai
|
|
120
|
+
export SHIFT_WS_URL=wss://agent-orch.latentforce.ai
|
|
121
121
|
|
|
122
122
|
# Or inline when running commands
|
|
123
|
-
SHIFT_API_URL=https://
|
|
123
|
+
SHIFT_API_URL=https://dev-shift-lite.latentforce.ai shift start
|
|
124
124
|
```
|
|
125
125
|
|
|
126
126
|
### Priority Order
|
|
@@ -201,28 +201,3 @@ node build/index.js init
|
|
|
201
201
|
node build/index.js status
|
|
202
202
|
node build/index.js stop
|
|
203
203
|
```
|
|
204
|
-
|
|
205
|
-
## How It All Works Together
|
|
206
|
-
|
|
207
|
-
```
|
|
208
|
-
┌─────────────────────────────────────────────────────────────────┐
|
|
209
|
-
│ User's Machine │
|
|
210
|
-
│ │
|
|
211
|
-
│ ┌─────────────┐ ┌─────────────┐ ┌─────────────────┐ │
|
|
212
|
-
│ │ shift start │────▶│ Daemon │────▶│ Backend (WS) │ │
|
|
213
|
-
│ │ shift init │ │ (background)│ │ │ │
|
|
214
|
-
│ │ shift stop │ └─────────────┘ │ │ │
|
|
215
|
-
│ │ shift status│ │ │ │
|
|
216
|
-
│ └─────────────┘ │ Shift Lite │ │
|
|
217
|
-
│ │ Backend │ │
|
|
218
|
-
│ ┌─────────────┐ ┌─────────────┐ │ │ │
|
|
219
|
-
│ │ Claude │────▶│ shift (MCP) │────▶│ (REST API) │ │
|
|
220
|
-
│ │ Desktop/Code│ │ Server │ │ │ │
|
|
221
|
-
│ └─────────────┘ └─────────────┘ └─────────────────┘ │
|
|
222
|
-
│ │
|
|
223
|
-
└─────────────────────────────────────────────────────────────────┘
|
|
224
|
-
|
|
225
|
-
1. `shift start` - Starts daemon, connects to backend via WebSocket
|
|
226
|
-
2. `shift init` - Indexes project files to backend
|
|
227
|
-
3. Claude calls MCP tools - MCP server queries backend REST API
|
|
228
|
-
```
|