@jskit-ai/agent-docs 0.1.296 → 0.1.298
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/guide/agent/app-setup/multi-homing.md +40 -0
- package/guide/agent/framework/data-access.md +3 -1
- package/guide/agent/framework/typed-features.md +11 -0
- package/package.json +1 -1
- package/patterns/feature-package/example/booking-engine/package.json +1 -1
- package/patterns/minimal-foundation/example/package.json +3 -3
- package/patterns/shell-foundation/example/package.json +4 -4
- package/patterns/shell-foundation/example/packages/main/package.json +1 -1
- package/reference/autogen/PATTERN_INDEX.md +38 -38
- package/reference/autogen/packages/crud-core.md +5 -3
- package/reference/autogen/packages/kernel.md +6 -2
- package/reference/autogen/packages/workspaces-core.md +21 -0
- package/reference/autogen/tooling/jskit-catalog.md +1 -0
- package/skills/jskit/references/data-access.md +3 -1
- package/skills/jskit/references/heuristics/filters.md +1 -0
- package/skills/jskit/references/heuristics/row-policies.md +2 -1
- package/skills/jskit/references/multi-homing.md +40 -0
- package/skills/jskit/references/pattern-index.md +38 -38
- package/skills/jskit/references/patterns/app/minimal-foundation/example/package.json +3 -3
- package/skills/jskit/references/patterns/app/shell-foundation/example/package.json +4 -4
- package/skills/jskit/references/patterns/app/shell-foundation/example/packages/main/package.json +1 -1
- package/skills/jskit/references/patterns/auth/accounts-hub/example/package.json +3 -3
- package/skills/jskit/references/patterns/auth/oidc-sign-in/example/package.json +2 -2
- package/skills/jskit/references/patterns/auth/supabase-auth/example/package.json +1 -1
- package/skills/jskit/references/patterns/connectors/calendar-cli/example/package.json +4 -4
- package/skills/jskit/references/patterns/crud/crud-feature-package/PATTERN.md +2 -1
- package/skills/jskit/references/patterns/crud/crud-feature-package/example/packages/books/package.json +3 -3
- package/skills/jskit/references/patterns/database/mysql-application/example/package.json +2 -2
- package/skills/jskit/references/patterns/database/postgres-application/example/package.json +2 -2
- package/skills/jskit/references/patterns/realtime/realtime-application/example/package.json +2 -2
- package/skills/jskit/references/patterns/server/feature-package/example/booking-engine/package.json +1 -1
- package/skills/jskit/references/patterns/users/user-administration-server/example/packages/users/package.json +3 -3
- package/skills/jskit/references/patterns/users/user-administration-server/example/packages/users-workspace/package.json +6 -6
- package/skills/jskit/references/patterns/workspaces/workspace-server/PATTERN.md +18 -0
- package/skills/jskit/references/typed-features.md +11 -0
|
@@ -478,6 +478,13 @@ record declares `mode: "patch"`; a command never does.**
|
|
|
478
478
|
- An input field lists its allowed values with `enum`; the kernel refuses
|
|
479
479
|
`oneOf` on an input field at startup, because json-rest-schema checks no
|
|
480
480
|
`oneOf` and the field would accept any value.
|
|
481
|
+
- A check of the input that the schema cannot make until the application
|
|
482
|
+
runs (a value only boot resolves, such as the types a CRUD read's includes
|
|
483
|
+
reach) is the definition's `checkInput(input)`, never a check inside
|
|
484
|
+
`execute`. The kernel runs it on the validated input before the action and
|
|
485
|
+
answers the field errors it throws (`createValidationError`) as an
|
|
486
|
+
`ACTION_VALIDATION_FAILED`, exactly as a schema refusal, so HTTP clients and
|
|
487
|
+
assistant tools are told the field to correct.
|
|
481
488
|
|
|
482
489
|
Why: a command whose required field is never enforced reaches the service
|
|
483
490
|
without it.
|
|
@@ -1005,6 +1012,10 @@ and Vitest's `maxWorkers` come from `testConcurrency()`.**
|
|
|
1005
1012
|
`node --test` and sets `--test-concurrency` to the budget.
|
|
1006
1013
|
`testConcurrency()` from `@jskit-ai/jskit-catalog/test-budget` returns the
|
|
1007
1014
|
same number for a config.
|
|
1015
|
+
- A Node test file is named `<name>.test.js`, and a database test
|
|
1016
|
+
`<name>.integration.test.js`: given no files, `jskit test` runs node's
|
|
1017
|
+
default pattern and fails on a `tests/` file it would leave out, such as
|
|
1018
|
+
`<name>.integration.js` or `<name>.spec.js`.
|
|
1008
1019
|
- No script passes a fixed concurrency or worker count. `jskit check` fails a
|
|
1009
1020
|
package script that runs `node --test` directly or passes one, and a
|
|
1010
1021
|
Playwright or Vitest config those scripts use whose workers do not come from
|