@fias/arche-sdk 1.2.0 → 1.2.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.
package/package.json
CHANGED
|
@@ -259,17 +259,21 @@ This opens the FIAS platform in your browser. If you're already signed in, the A
|
|
|
259
259
|
|
|
260
260
|
### Step 2: Start development
|
|
261
261
|
|
|
262
|
+
**With real AI (recommended — requires login first):**
|
|
262
263
|
```bash
|
|
263
264
|
npm start # Starts both Vite + dev harness with real AI (uses credits)
|
|
264
265
|
```
|
|
265
266
|
|
|
266
|
-
|
|
267
|
-
|
|
267
|
+
**Without AI (offline, for UI-only work):**
|
|
268
268
|
```bash
|
|
269
|
-
npm run start:mock # Starts both Vite + dev harness with mock
|
|
269
|
+
npm run start:mock # Starts both Vite + dev harness with mock responses
|
|
270
270
|
```
|
|
271
271
|
|
|
272
|
-
|
|
272
|
+
`npm start` will fail with "Not logged in" if `npx fias-dev login` hasn't been run. If that happens, run the login command first, then retry `npm start`.
|
|
273
|
+
|
|
274
|
+
**IMPORTANT:** Always tell the user to open **http://localhost:3200** in their browser to see the plugin running. Port 3200 is the dev harness that wraps the plugin in the platform iframe. Port 3100 is just the raw Vite server and won't work correctly on its own.
|
|
275
|
+
|
|
276
|
+
**IMPORTANT:** `npm start` uses real AI and costs credits. `npm run start:mock` returns canned responses and does NOT call real AI models. If the user wants actual AI-powered features to work during testing, they MUST use `npm start` (not `start:mock`).
|
|
273
277
|
|
|
274
278
|
**Advanced:** If you prefer separate terminals, use `npm run dev` (Vite on port 3100) and `npm run dev:harness` or `npm run dev:mock` (harness on port 3200) independently.
|
|
275
279
|
|
|
@@ -259,17 +259,21 @@ This opens the FIAS platform in your browser. If you're already signed in, the A
|
|
|
259
259
|
|
|
260
260
|
### Step 2: Start development
|
|
261
261
|
|
|
262
|
+
**With real AI (recommended — requires login first):**
|
|
262
263
|
```bash
|
|
263
264
|
npm start # Starts both Vite + dev harness with real AI (uses credits)
|
|
264
265
|
```
|
|
265
266
|
|
|
266
|
-
|
|
267
|
-
|
|
267
|
+
**Without AI (offline, for UI-only work):**
|
|
268
268
|
```bash
|
|
269
|
-
npm run start:mock # Starts both Vite + dev harness with mock
|
|
269
|
+
npm run start:mock # Starts both Vite + dev harness with mock responses
|
|
270
270
|
```
|
|
271
271
|
|
|
272
|
-
|
|
272
|
+
`npm start` will fail with "Not logged in" if `npx fias-dev login` hasn't been run. If that happens, run the login command first, then retry `npm start`.
|
|
273
|
+
|
|
274
|
+
**IMPORTANT:** Always tell the user to open **http://localhost:3200** in their browser to see the plugin running. Port 3200 is the dev harness that wraps the plugin in the platform iframe. Port 3100 is just the raw Vite server and won't work correctly on its own.
|
|
275
|
+
|
|
276
|
+
**IMPORTANT:** `npm start` uses real AI and costs credits. `npm run start:mock` returns canned responses and does NOT call real AI models. If the user wants actual AI-powered features to work during testing, they MUST use `npm start` (not `start:mock`).
|
|
273
277
|
|
|
274
278
|
**Advanced:** If you prefer separate terminals, use `npm run dev` (Vite on port 3100) and `npm run dev:harness` or `npm run dev:mock` (harness on port 3200) independently.
|
|
275
279
|
|