@fias/arche-sdk 1.1.7 → 1.1.8

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.7",
3
+ "version": "1.1.8",
4
4
  "description": "SDK for building FIAS platform plugin arches",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -253,29 +253,29 @@ These are hard limits enforced by the platform. Code that violates these will fa
253
253
 
254
254
  ## Development Workflow
255
255
 
256
- ```bash
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
- # Open http://localhost:3200 in browser
258
+ ```bash
259
+ npx fias-dev login # Opens browser to sign in, saves API key automatically
264
260
  ```
265
261
 
266
- ### Authenticating with the FIAS Platform
262
+ ### Step 2: Run the dev servers (two terminals)
267
263
 
268
264
  ```bash
269
- npx fias-dev login # Opens browser to authenticate (recommended)
270
- npx fias-dev login --key fias_sk_... # Or paste an API key directly
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
271
270
  ```
272
271
 
273
- Running `npx fias-dev login` opens your browser to the FIAS platform. After signing in, an API key is created automatically and saved to `~/.fias/credentials`. No manual key copying needed.
272
+ Open http://localhost:3200 in your browser. Entity invocations will use real AI models and deduct credits.
274
273
 
275
- ### Testing with Real AI Entities (costs credits)
274
+ For offline development without credits (AI calls return canned responses):
276
275
 
277
276
  ```bash
278
- npm run dev:harness # Start harness in live mode (requires login first)
277
+ # Terminal 2 alternative: mock mode (no login needed, no credits)
278
+ npm run dev:mock
279
279
  ```
280
280
 
281
281
  ### Browsing Available Entities
@@ -253,29 +253,29 @@ These are hard limits enforced by the platform. Code that violates these will fa
253
253
 
254
254
  ## Development Workflow
255
255
 
256
- ```bash
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
- # Open http://localhost:3200 in browser
258
+ ```bash
259
+ npx fias-dev login # Opens browser to sign in, saves API key automatically
264
260
  ```
265
261
 
266
- ### Authenticating with the FIAS Platform
262
+ ### Step 2: Run the dev servers (two terminals)
267
263
 
268
264
  ```bash
269
- npx fias-dev login # Opens browser to authenticate (recommended)
270
- npx fias-dev login --key fias_sk_... # Or paste an API key directly
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
271
270
  ```
272
271
 
273
- Running `npx fias-dev login` opens your browser to the FIAS platform. After signing in, an API key is created automatically and saved to `~/.fias/credentials`. No manual key copying needed.
272
+ Open http://localhost:3200 in your browser. Entity invocations will use real AI models and deduct credits.
274
273
 
275
- ### Testing with Real AI Entities (costs credits)
274
+ For offline development without credits (AI calls return canned responses):
276
275
 
277
276
  ```bash
278
- npm run dev:harness # Start harness in live mode (requires login first)
277
+ # Terminal 2 alternative: mock mode (no login needed, no credits)
278
+ npm run dev:mock
279
279
  ```
280
280
 
281
281
  ### Browsing Available Entities