@fias/arche-sdk 1.1.8 → 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fias/arche-sdk",
3
- "version": "1.1.8",
3
+ "version": "1.1.9",
4
4
  "description": "SDK for building FIAS platform plugin arches",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -259,25 +259,22 @@ These are hard limits enforced by the platform. Code that violates these will fa
259
259
  npx fias-dev login # Opens browser to sign in, saves API key automatically
260
260
  ```
261
261
 
262
- ### Step 2: Run the dev servers (two terminals)
262
+ ### Step 2: Start development
263
263
 
264
264
  ```bash
265
- # Terminal 1: Start plugin dev server (Vite, port 3100)
266
- npm run dev
267
-
268
- # Terminal 2: Start dev harness with real AI (port 3200, uses credits)
269
- npm run dev:harness
265
+ npm start # Starts both Vite + dev harness with real AI (uses credits)
270
266
  ```
271
267
 
272
- Open http://localhost:3200 in your browser. Entity invocations will use real AI models and deduct credits.
273
-
274
- For offline development without credits (AI calls return canned responses):
268
+ Or for offline development without credits (AI calls return canned responses):
275
269
 
276
270
  ```bash
277
- # Terminal 2 alternative: mock mode (no login needed, no credits)
278
- npm run dev:mock
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
@@ -259,25 +259,22 @@ These are hard limits enforced by the platform. Code that violates these will fa
259
259
  npx fias-dev login # Opens browser to sign in, saves API key automatically
260
260
  ```
261
261
 
262
- ### Step 2: Run the dev servers (two terminals)
262
+ ### Step 2: Start development
263
263
 
264
264
  ```bash
265
- # Terminal 1: Start plugin dev server (Vite, port 3100)
266
- npm run dev
267
-
268
- # Terminal 2: Start dev harness with real AI (port 3200, uses credits)
269
- npm run dev:harness
265
+ npm start # Starts both Vite + dev harness with real AI (uses credits)
270
266
  ```
271
267
 
272
- Open http://localhost:3200 in your browser. Entity invocations will use real AI models and deduct credits.
273
-
274
- For offline development without credits (AI calls return canned responses):
268
+ Or for offline development without credits (AI calls return canned responses):
275
269
 
276
270
  ```bash
277
- # Terminal 2 alternative: mock mode (no login needed, no credits)
278
- npm run dev:mock
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
@@ -3,6 +3,8 @@
3
3
  "version": "1.0.0",
4
4
  "private": true,
5
5
  "scripts": {
6
+ "start": "vite & fias-dev --live",
7
+ "start:mock": "vite & fias-dev",
6
8
  "dev": "vite",
7
9
  "build": "vite build",
8
10
  "validate": "tsc --noEmit",