fable 3.1.71 → 3.1.73

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.
Files changed (39) hide show
  1. package/docs/README.md +30 -6
  2. package/docs/_brand.json +18 -0
  3. package/docs/_playground.json +10 -0
  4. package/docs/_sidebar.md +2 -0
  5. package/docs/_version.json +3 -3
  6. package/docs/architecture.md +201 -39
  7. package/docs/index.html +6 -7
  8. package/docs/pict-docuserve.min.js +91 -0
  9. package/docs/pict-docuserve.min.js.map +1 -0
  10. package/docs/playground.md +38 -0
  11. package/docs/retold-catalog.json +1 -1
  12. package/docs/retold-keyword-index.json +8721 -8105
  13. package/docs/services/README.md +26 -9
  14. package/docs/services/anticipate.md +104 -40
  15. package/docs/services/csv-parser.md +63 -35
  16. package/docs/services/data-format.md +154 -49
  17. package/docs/services/data-generation.md +77 -16
  18. package/docs/services/dates.md +103 -36
  19. package/docs/services/environment-data.md +13 -2
  20. package/docs/services/expression-parser.md +280 -68
  21. package/docs/services/file-persistence.md +142 -150
  22. package/docs/services/logging.md +93 -37
  23. package/docs/services/logic.md +70 -22
  24. package/docs/services/manifest.md +114 -26
  25. package/docs/services/math.md +168 -63
  26. package/docs/services/meta-template.md +312 -158
  27. package/docs/services/object-cache.md +94 -11
  28. package/docs/services/operation.md +68 -6
  29. package/docs/services/progress-time.md +74 -13
  30. package/docs/services/progress-tracker-set.md +101 -3
  31. package/docs/services/rest-client.md +136 -104
  32. package/docs/services/settings-manager.md +133 -40
  33. package/docs/services/template.md +71 -22
  34. package/docs/services/utility.md +121 -29
  35. package/docs/services/uuid.md +58 -10
  36. package/package.json +4 -4
  37. package/source/services/Fable-Service-RestClient.js +204 -7
  38. package/test/RestClient_test.js +342 -0
  39. package/.claude/settings.local.json +0 -8
@@ -0,0 +1,38 @@
1
+ # Code Playground
2
+
3
+ Fable's docs are wired to the **Fable Playground** — a live editor + sandbox
4
+ that lives in a sliding drawer at the bottom of the viewport. Every
5
+ JavaScript example in these docs has a small **▶** play button next to its
6
+ Copy and Fullscreen actions; clicking it loads the snippet into the
7
+ playground, where you can edit it and press **Run** to see the output
8
+ captured in the panel beside the editor.
9
+
10
+ For the full reference on what the playground does, how the `require`
11
+ shim works, and the caveats around module sandboxing, see the
12
+ [Fable Playground reference page](/#/playground/fable).
13
+
14
+ ## Try it
15
+
16
+ The example below is wired to the playground — click the **▶** button on
17
+ its action strip to load it into the editor, then press **Run**.
18
+
19
+ ```javascript
20
+ const Fable = require('fable');
21
+
22
+ const app = new Fable({ Product: 'PlaygroundDemo' });
23
+ app.log.info('Fable instance created', {
24
+ Product: app.settingsManager.settings.Product,
25
+ UUID: app.getUUID()
26
+ });
27
+
28
+ // Read a setting that wasn't configured — Settings-Manager returns
29
+ // undefined rather than throwing.
30
+ let tmpMissing = app.settingsManager.settings.NotConfigured;
31
+ app.log.warn('NotConfigured =', { Value: tmpMissing });
32
+
33
+ // Increment a tracked metric and report it.
34
+ app.log.info('app boot complete');
35
+ ```
36
+
37
+ The Run button creates a fresh Fable instance under the hood and pipes
38
+ every `app.log.*` call into the output panel alongside the editor.
@@ -1,5 +1,5 @@
1
1
  {
2
- "Generated": "2026-04-10T17:19:37.879Z",
2
+ "Generated": "2026-05-15T13:50:08.244Z",
3
3
  "GitHubOrg": "stevenvelozo",
4
4
  "DefaultBranch": "master",
5
5
  "Groups": [