@fias/arche-sdk 1.1.0 → 1.1.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/README.md +10 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -19,11 +19,13 @@ npm run dev:mock
|
|
|
19
19
|
# Open http://localhost:3200 in your browser
|
|
20
20
|
```
|
|
21
21
|
|
|
22
|
-
For real AI testing with live entity invocations (costs credits)
|
|
22
|
+
For real AI testing with live entity invocations (costs credits), click the **MOCK** badge in the toolbar to switch to live mode. If you haven't saved an API key yet, the harness will prompt you to enter one.
|
|
23
|
+
|
|
24
|
+
Alternatively, use the CLI:
|
|
23
25
|
|
|
24
26
|
```bash
|
|
25
|
-
npx fias-dev login
|
|
26
|
-
npm run dev:harness
|
|
27
|
+
npx fias-dev login # Save your API key (one-time)
|
|
28
|
+
npm run dev:harness # Start harness in live mode
|
|
27
29
|
```
|
|
28
30
|
|
|
29
31
|
When you're ready to submit:
|
|
@@ -313,9 +315,12 @@ npm run dev:harness # Connects to FIAS production API
|
|
|
313
315
|
The harness provides:
|
|
314
316
|
|
|
315
317
|
- An iframe embedding your plugin (same sandbox attributes as production)
|
|
316
|
-
- A toolbar
|
|
318
|
+
- A toolbar with:
|
|
319
|
+
- Clickable **MOCK/LIVE** badge to toggle between modes
|
|
320
|
+
- **DARK/LIGHT** theme badge
|
|
321
|
+
- Credit balance (visible in live mode)
|
|
322
|
+
- Theme toggle and reload buttons
|
|
317
323
|
- A dev console showing all bridge messages with timestamps
|
|
318
|
-
- Theme toggle and reload buttons
|
|
319
324
|
|
|
320
325
|
### Dev Preview (alternative)
|
|
321
326
|
|