@fias/arche-sdk 1.1.7 → 1.1.9
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
|
@@ -253,31 +253,28 @@ These are hard limits enforced by the platform. Code that violates these will fa
|
|
|
253
253
|
|
|
254
254
|
## Development Workflow
|
|
255
255
|
|
|
256
|
-
|
|
257
|
-
# Terminal 1: Start plugin dev server (Vite, port 3100)
|
|
258
|
-
npm run dev
|
|
259
|
-
|
|
260
|
-
# Terminal 2: Start dev harness (mock mode, port 3200)
|
|
261
|
-
npm run dev:mock
|
|
256
|
+
### Step 1: Authenticate (one-time)
|
|
262
257
|
|
|
263
|
-
|
|
258
|
+
```bash
|
|
259
|
+
npx fias-dev login # Opens browser to sign in, saves API key automatically
|
|
264
260
|
```
|
|
265
261
|
|
|
266
|
-
###
|
|
262
|
+
### Step 2: Start development
|
|
267
263
|
|
|
268
264
|
```bash
|
|
269
|
-
|
|
270
|
-
npx fias-dev login --key fias_sk_... # Or paste an API key directly
|
|
265
|
+
npm start # Starts both Vite + dev harness with real AI (uses credits)
|
|
271
266
|
```
|
|
272
267
|
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
### Testing with Real AI Entities (costs credits)
|
|
268
|
+
Or for offline development without credits (AI calls return canned responses):
|
|
276
269
|
|
|
277
270
|
```bash
|
|
278
|
-
npm run
|
|
271
|
+
npm run start:mock # Starts both Vite + dev harness with mock AI
|
|
279
272
|
```
|
|
280
273
|
|
|
274
|
+
Open http://localhost:3200 in your browser.
|
|
275
|
+
|
|
276
|
+
**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.
|
|
277
|
+
|
|
281
278
|
### Browsing Available Entities
|
|
282
279
|
|
|
283
280
|
```bash
|
|
@@ -253,31 +253,28 @@ These are hard limits enforced by the platform. Code that violates these will fa
|
|
|
253
253
|
|
|
254
254
|
## Development Workflow
|
|
255
255
|
|
|
256
|
-
|
|
257
|
-
# Terminal 1: Start plugin dev server (Vite, port 3100)
|
|
258
|
-
npm run dev
|
|
259
|
-
|
|
260
|
-
# Terminal 2: Start dev harness (mock mode, port 3200)
|
|
261
|
-
npm run dev:mock
|
|
256
|
+
### Step 1: Authenticate (one-time)
|
|
262
257
|
|
|
263
|
-
|
|
258
|
+
```bash
|
|
259
|
+
npx fias-dev login # Opens browser to sign in, saves API key automatically
|
|
264
260
|
```
|
|
265
261
|
|
|
266
|
-
###
|
|
262
|
+
### Step 2: Start development
|
|
267
263
|
|
|
268
264
|
```bash
|
|
269
|
-
|
|
270
|
-
npx fias-dev login --key fias_sk_... # Or paste an API key directly
|
|
265
|
+
npm start # Starts both Vite + dev harness with real AI (uses credits)
|
|
271
266
|
```
|
|
272
267
|
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
### Testing with Real AI Entities (costs credits)
|
|
268
|
+
Or for offline development without credits (AI calls return canned responses):
|
|
276
269
|
|
|
277
270
|
```bash
|
|
278
|
-
npm run
|
|
271
|
+
npm run start:mock # Starts both Vite + dev harness with mock AI
|
|
279
272
|
```
|
|
280
273
|
|
|
274
|
+
Open http://localhost:3200 in your browser.
|
|
275
|
+
|
|
276
|
+
**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.
|
|
277
|
+
|
|
281
278
|
### Browsing Available Entities
|
|
282
279
|
|
|
283
280
|
```bash
|