@jskit-ai/agent-docs 0.1.397 → 0.1.399

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 (94) hide show
  1. package/guide/agent/app-extras/assistant-conversation.md +5 -3
  2. package/guide/agent/app-extras/assistant.md +171 -20
  3. package/guide/agent/app-extras/mobile-capacitor.md +110 -4
  4. package/guide/agent/app-extras/push-notifications.md +149 -0
  5. package/guide/agent/app-extras/realtime.md +11 -0
  6. package/guide/agent/app-setup/authentication.md +93 -1
  7. package/guide/agent/app-setup/users.md +32 -0
  8. package/guide/agent/framework/client-features.md +65 -0
  9. package/guide/agent/framework/test-pass.md +3 -1
  10. package/guide/agent/framework/typed-features.md +12 -0
  11. package/guide/agent/index.md +1 -0
  12. package/guide/agent/recipes/file-uploads-and-images.md +24 -1
  13. package/guide/agent/recipes/installable-app.md +76 -82
  14. package/guide/agent/recipes/payments-and-subscriptions.md +30 -1
  15. package/package.json +1 -1
  16. package/patterns/feature-package/example/booking-engine/package.json +1 -1
  17. package/patterns/minimal-foundation/example/config/public.js +9 -1
  18. package/patterns/minimal-foundation/example/package.json +4 -4
  19. package/patterns/shell-foundation/example/config/public.js +9 -1
  20. package/patterns/shell-foundation/example/package.json +5 -5
  21. package/patterns/shell-foundation/example/packages/main/package.json +1 -1
  22. package/reference/autogen/PATTERN_INDEX.md +106 -40
  23. package/reference/autogen/README.md +4 -0
  24. package/reference/autogen/packages/assistant-core.md +4 -2
  25. package/reference/autogen/packages/assistant-runtime.md +14 -3
  26. package/reference/autogen/packages/auth-core.md +33 -0
  27. package/reference/autogen/packages/auth-provider-local-core.md +42 -2
  28. package/reference/autogen/packages/auth-provider-local-db-core.md +5 -0
  29. package/reference/autogen/packages/auth-web.md +46 -7
  30. package/reference/autogen/packages/http-runtime.md +11 -1
  31. package/reference/autogen/packages/http-web.md +36 -0
  32. package/reference/autogen/packages/mobile-capacitor.md +121 -5
  33. package/reference/autogen/packages/payments-core.md +2 -0
  34. package/reference/autogen/packages/push-core.md +128 -0
  35. package/reference/autogen/packages/push-web.md +99 -0
  36. package/reference/autogen/packages/realtime.md +6 -3
  37. package/reference/autogen/packages/shell-web.md +1 -1
  38. package/reference/autogen/packages/store-purchases-core.md +113 -0
  39. package/reference/autogen/packages/store-purchases-web.md +55 -0
  40. package/reference/autogen/packages/uploads-image-web.md +3 -2
  41. package/reference/autogen/packages/uploads-runtime.md +21 -1
  42. package/reference/autogen/packages/users-core.md +4 -2
  43. package/reference/autogen/packages/users-web.md +7 -0
  44. package/reference/autogen/tooling/config-eslint.md +36 -0
  45. package/reference/autogen/tooling/jskit-catalog.md +23 -1
  46. package/reference/autogen/tooling/jskit-release.md +4 -1
  47. package/skills/jskit/references/client-features.md +65 -0
  48. package/skills/jskit/references/pattern-index.md +106 -40
  49. package/skills/jskit/references/patterns/app/minimal-foundation/example/config/public.js +9 -1
  50. package/skills/jskit/references/patterns/app/minimal-foundation/example/package.json +4 -4
  51. package/skills/jskit/references/patterns/app/shell-foundation/example/config/public.js +9 -1
  52. package/skills/jskit/references/patterns/app/shell-foundation/example/package.json +5 -5
  53. package/skills/jskit/references/patterns/app/shell-foundation/example/packages/main/package.json +1 -1
  54. package/skills/jskit/references/patterns/auth/accounts-hub/example/package.json +3 -3
  55. package/skills/jskit/references/patterns/auth/oidc-sign-in/example/package.json +2 -2
  56. package/skills/jskit/references/patterns/auth/supabase-auth/example/package.json +1 -1
  57. package/skills/jskit/references/patterns/connectors/calendar-cli/example/package.json +5 -5
  58. package/skills/jskit/references/patterns/crud/crud-feature-package/example/packages/books/package.json +3 -3
  59. package/skills/jskit/references/patterns/database/mysql-application/example/package.json +2 -2
  60. package/skills/jskit/references/patterns/database/postgres-application/example/package.json +2 -2
  61. package/skills/jskit/references/patterns/mobile/android-app-actions/PATTERN.md +78 -0
  62. package/skills/jskit/references/patterns/mobile/android-app-actions/example/android/app/src/main/java/com/example/app/SummaryWidget.kt +33 -0
  63. package/skills/jskit/references/patterns/mobile/android-app-actions/example/android/app/src/main/res/layout/summary_widget.xml +17 -0
  64. package/skills/jskit/references/patterns/mobile/android-app-actions/example/android/app/src/main/res/xml/shortcuts.xml +16 -0
  65. package/skills/jskit/references/patterns/mobile/android-app-actions/example/android/app/src/main/res/xml/summary_widget_info.xml +8 -0
  66. package/skills/jskit/references/patterns/mobile/android-application/PATTERN.md +45 -2
  67. package/skills/jskit/references/patterns/mobile/android-application/example/android/app/src/main/AndroidManifest.xml +65 -0
  68. package/skills/jskit/references/patterns/mobile/android-application/example/src/placement.js +19 -0
  69. package/skills/jskit/references/patterns/mobile/ios-app-intents/PATTERN.md +55 -0
  70. package/skills/jskit/references/patterns/mobile/ios-app-intents/example/ios/App/App/Intents/ExampleShortcuts.swift +9 -0
  71. package/skills/jskit/references/patterns/mobile/ios-app-intents/example/ios/App/App/Intents/UnreadCountIntent.swift +33 -0
  72. package/skills/jskit/references/patterns/mobile/ios-application/PATTERN.md +169 -0
  73. package/skills/jskit/references/patterns/mobile/ios-application/example/capacitor.config.json +10 -0
  74. package/skills/jskit/references/patterns/mobile/ios-application/example/ios/App/App/App.entitlements +12 -0
  75. package/skills/jskit/references/patterns/mobile/ios-application/example/ios/App/App/App.swift +20 -0
  76. package/skills/jskit/references/patterns/mobile/ios-application/example/ios/App/App/Info.plist +63 -0
  77. package/skills/jskit/references/patterns/mobile/ios-application/example/package.json +15 -0
  78. package/skills/jskit/references/patterns/mobile/ios-application/example/src/placement.js +19 -0
  79. package/skills/jskit/references/patterns/mobile/ios-live-activity/PATTERN.md +73 -0
  80. package/skills/jskit/references/patterns/mobile/ios-live-activity/example/ios/App/LiveActivities/LiveActivitiesBundle.swift +13 -0
  81. package/skills/jskit/references/patterns/mobile/ios-live-activity/example/src/deliveryActivity.js +33 -0
  82. package/skills/jskit/references/patterns/mobile/ios-share-extension/PATTERN.md +83 -0
  83. package/skills/jskit/references/patterns/mobile/ios-share-extension/example/ios/App/ShareExtension/Info.plist +31 -0
  84. package/skills/jskit/references/patterns/mobile/ios-share-extension/example/ios/App/ShareExtension/ShareExtension.entitlements +10 -0
  85. package/skills/jskit/references/patterns/mobile/ios-share-extension/example/ios/App/ShareExtension/ShareViewController.swift +94 -0
  86. package/skills/jskit/references/patterns/mobile/ios-widget/PATTERN.md +66 -0
  87. package/skills/jskit/references/patterns/mobile/ios-widget/example/ios/App/SummaryWidget/SummaryWidget.swift +64 -0
  88. package/skills/jskit/references/patterns/mobile/ios-widget/example/src/widgetSummary.js +10 -0
  89. package/skills/jskit/references/patterns/realtime/realtime-application/example/package.json +2 -2
  90. package/skills/jskit/references/patterns/server/feature-package/example/booking-engine/package.json +1 -1
  91. package/skills/jskit/references/patterns/users/user-administration-server/example/packages/users/package.json +3 -3
  92. package/skills/jskit/references/patterns/users/user-administration-server/example/packages/users-workspace/package.json +6 -6
  93. package/skills/jskit/references/test-pass.md +3 -1
  94. package/skills/jskit/references/typed-features.md +12 -0
@@ -46,7 +46,9 @@ The rules it applies are in [Typed features](typed-features.md),
46
46
  states once.
47
47
  - `jskit test --list` prints the files a run takes and their total, and runs
48
48
  nothing: the total matches the test files under `tests/`, or a file is named
49
- so that node's default pattern leaves it out.
49
+ so that node's default pattern leaves it out. `npm run verify --list [files]`
50
+ does the same for the whole Verification
51
+ ([A check runs once per tree](typed-features.md#a-check-runs-once-per-tree)).
50
52
  - `jskit test` starts by saying how many files it runs at a time and where that
51
53
  number came from (the host's `V64_TEST_CONCURRENCY`, else half the CPUs), and
52
54
  ends with its 10 slowest files and tests; each file's time is kept in
@@ -1495,6 +1495,18 @@ that is interrupted, or a tree or input that changed while it ran. Words after
1495
1495
  such a run checks part of the suite, so it neither reads nor writes a pass. A
1496
1496
  fresh `npm ci` empties the records; each machine keeps its own.
1497
1497
 
1498
+ `npm run verify --list [files]` (or `jskit verify --list [files]`) runs
1499
+ nothing, not even the JSKIT check: it prints the files `npm run verify --
1500
+ [files]` would run, one per line, then `Total: <n> file(s)`, as
1501
+ `jskit test --list` does, so a host can see that a check of named files runs
1502
+ exactly them before sending it anywhere. It lists the part the files go to,
1503
+ the last that runs, as in a run: a `jskit test …` part as `jskit test --list`
1504
+ does (a script that runs a glob lists the glob's files beside the named ones),
1505
+ a `playwright test` part with Playwright's own `--list`. The parts before it
1506
+ (lint, checks) take no files and are not listed. It exits 2, saying why, for an
1507
+ option among the files, a file that part doesn't take, or that part being one
1508
+ that can't list its files (any other script), which it never runs.
1509
+
1498
1510
  A CI run installs everything afresh, so its record is an artifact GitHub keeps,
1499
1511
  named for the project's tree and the commits of the other repositories the run
1500
1512
  checks out. `jskit verify-pass` is the run's first step: it names the pass,