@jskit-ai/agent-docs 0.1.368 → 0.1.369
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-extras/assistant-conversation.md +12 -2
- package/guide/agent/app-extras/assistant-voice.md +2 -1
- package/guide/agent/framework/client-features.md +40 -0
- package/guide/agent/framework/crud-form-actions.md +14 -0
- package/guide/agent/framework/data-access.md +4 -2
- package/guide/agent/framework/security-pass.md +4 -2
- package/guide/agent/framework/typed-features.md +41 -2
- package/package.json +1 -1
- package/patterns/feature-package/example/booking-engine/package.json +1 -1
- package/patterns/minimal-foundation/example/AGENTS.md +9 -7
- package/patterns/minimal-foundation/example/package.json +4 -4
- package/patterns/shell-foundation/example/AGENTS.md +9 -7
- package/patterns/shell-foundation/example/package.json +5 -5
- package/patterns/shell-foundation/example/packages/main/package.json +1 -1
- package/reference/autogen/PATTERN_INDEX.md +40 -40
- package/reference/autogen/packages/assistant-runtime.md +1 -0
- package/reference/autogen/packages/http-web.md +22 -1
- package/reference/autogen/packages/kernel.md +4 -0
- package/reference/autogen/packages/resource-runtime.md +1 -0
- package/reference/autogen/tooling/config-eslint.md +7 -0
- package/reference/autogen/tooling/jskit-catalog.md +13 -7
- package/skills/jskit/references/client-features.md +40 -0
- package/skills/jskit/references/crud-form-actions.md +14 -0
- package/skills/jskit/references/data-access.md +4 -2
- package/skills/jskit/references/pattern-index.md +40 -40
- package/skills/jskit/references/patterns/app/minimal-foundation/example/AGENTS.md +9 -7
- package/skills/jskit/references/patterns/app/minimal-foundation/example/package.json +4 -4
- package/skills/jskit/references/patterns/app/shell-foundation/example/AGENTS.md +9 -7
- package/skills/jskit/references/patterns/app/shell-foundation/example/package.json +5 -5
- 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 +5 -5
- package/skills/jskit/references/patterns/crud/crud-feature-package/example/packages/books/package.json +3 -3
- package/skills/jskit/references/patterns/crud/crud-screen-set/PATTERN.md +7 -0
- 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/account-settings/PATTERN.md +12 -1
- package/skills/jskit/references/patterns/users/account-settings/example/src/components/account/settings/AccountSettingsNotificationsSection.vue +16 -2
- package/skills/jskit/references/patterns/users/account-settings/example/src/components/account/settings/AccountSettingsPreferencesSection.vue +33 -7
- package/skills/jskit/references/patterns/users/account-settings/example/src/components/account/settings/AccountSettingsProfileSection.vue +11 -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/security-pass.md +4 -2
- package/skills/jskit/references/typed-features.md +41 -2
|
@@ -435,6 +435,15 @@ access-denied targets cannot dispatch cancellation. The standard element still
|
|
|
435
435
|
uses the loaded snapshot's Stop availability; product task controls can retain
|
|
436
436
|
their original earlier Stop boundary.
|
|
437
437
|
|
|
438
|
+
`runtime.cancel()` resolves `false` when it sent nothing, the backend's answer
|
|
439
|
+
when it stopped, and `{ ok: false, error, code? }` when the backend refused (a
|
|
440
|
+
host's own `{ ok: false }` answer gains an `error` sentence). Its caller shows
|
|
441
|
+
that refusal: it never becomes the conversation's `error`, which only reads set
|
|
442
|
+
and the read Stop starts would clear. That read also decides whether a 403 meant
|
|
443
|
+
lost access. The element's `stop()` reports a refusal through the shell's action
|
|
444
|
+
feedback (`useUiFeedback`, a snackbar by default), as a refused command does, and
|
|
445
|
+
a Stop that goes through dismisses it.
|
|
446
|
+
|
|
438
447
|
For a voice binding, `projectConversationVoiceState({ turns, status, interimReply })` from
|
|
439
448
|
`@jskit-ai/assistant-voice/client` projects those same retained turns into the
|
|
440
449
|
voice owner's `messages` and `streamingReply`. It keeps user message IDs and
|
|
@@ -920,8 +929,9 @@ server agrees, or calls `cancelFailed(id, error)` to keep it with Cancel again
|
|
|
920
929
|
and running delivery check, calls the server's delivery cancel, removes the
|
|
921
930
|
message on agreement and reloads. A cancel that could not reach the server is
|
|
922
931
|
retried on the next snapshot after reconnecting, including after a page reload
|
|
923
|
-
with `draftStorage`.
|
|
924
|
-
|
|
932
|
+
with `draftStorage`. A cancel the server refused keeps its refusal: no snapshot
|
|
933
|
+
sends it again, only the person's next Cancel or that page reload. Without an
|
|
934
|
+
application `cancel` action, the element removes only a failed message.
|
|
925
935
|
Retry leaves the current draft untouched. Attachment bytes and removal on
|
|
926
936
|
acceptance remain with the application's attachment owner.
|
|
927
937
|
|
|
@@ -39,7 +39,8 @@ For the ordinary setup, use the [standard Assistant integration](./assistant.md)
|
|
|
39
39
|
`useAssistantConversationFactory()` to keep a voice-held reader of that same
|
|
40
40
|
runtime and its current adapter. It projects canonical turns with
|
|
41
41
|
`projectConversationVoiceState`, and forwards
|
|
42
|
-
text and Stop through `runtime.send()` and `runtime.cancel()
|
|
42
|
+
text and Stop through `runtime.send()` and `runtime.cancel()`, rejecting with a
|
|
43
|
+
refused Stop's `error` so voice shows it. The application
|
|
43
44
|
supplies the speech URL, target label and text-view navigation; it does not build
|
|
44
45
|
another transcript, delivery ledger or realtime subscription.
|
|
45
46
|
|
|
@@ -570,6 +570,46 @@ const sites = useList({ resource: sitesResource, requestRecovery: true, requestR
|
|
|
570
570
|
const contacts = useCrudListScreen({ resource: contactsResource, requestRecoveryLabel: "Contacts" });
|
|
571
571
|
```
|
|
572
572
|
|
|
573
|
+
### Unsaved edits
|
|
574
|
+
|
|
575
|
+
**Fetched data reaches a form's fields only through its form runtime, which
|
|
576
|
+
keeps what the person changed and has not saved. `useAddEdit` and the CRUD
|
|
577
|
+
composables built on it write each read of the record, a save's answer and
|
|
578
|
+
`applyLoaded(payload)` through `mapLoadedToModel` into a copy of the form, and
|
|
579
|
+
the form takes each field the person has not changed. A form that reads its
|
|
580
|
+
record itself does the same with `useUnsavedEdits` from
|
|
581
|
+
`@jskit-ai/http-web/client/composables/useUnsavedEdits`. Its fields stay
|
|
582
|
+
editable while the record is read again, and it shows its `conflicts`, the
|
|
583
|
+
fields whose server value changed under the person's change, with
|
|
584
|
+
`EditConflictNotice` after its fields.**
|
|
585
|
+
|
|
586
|
+
Why: a record is read again on a realtime event, when the window regains focus
|
|
587
|
+
and on Retry; a write straight into the form replaced what the person had typed
|
|
588
|
+
and not saved, without a word, and a field locked during the read dropped what
|
|
589
|
+
they typed meanwhile.
|
|
590
|
+
|
|
591
|
+
```js
|
|
592
|
+
// good: the settings read hands each form its fields through the form's runtime
|
|
593
|
+
const profile = useAddEdit({ model: profileForm, mapLoadedToModel: writeProfileFields, readEnabled: false /* ... */ });
|
|
594
|
+
const settings = useView({ mapLoadedToModel: (_model, payload) => profile.applyLoaded(payload) /* ... */ });
|
|
595
|
+
|
|
596
|
+
// good: a form that reads its record itself
|
|
597
|
+
const edits = useUnsavedEdits({ model: form });
|
|
598
|
+
watch(() => query.data.value, (payload) => {
|
|
599
|
+
if (payload) edits.merge((target) => { target.prompt = payload.prompt; }, JSON.stringify(queryKey.value));
|
|
600
|
+
else edits.reset();
|
|
601
|
+
});
|
|
602
|
+
|
|
603
|
+
// bad: every read again overwrites what the person typed
|
|
604
|
+
watch(() => query.data.value, (payload) => { form.prompt = payload.prompt; });
|
|
605
|
+
```
|
|
606
|
+
|
|
607
|
+
```vue
|
|
608
|
+
<!-- good: the notice after the fields, the fields open while the record is read again -->
|
|
609
|
+
<v-text-field v-model="form.prompt" :readonly="!canSave || isSaving" />
|
|
610
|
+
<EditConflictNotice :items="conflictItems" @accept="edits.acceptServerValue" @keep="edits.keepOwnValue" />
|
|
611
|
+
```
|
|
612
|
+
|
|
573
613
|
## Helpers and sizes
|
|
574
614
|
|
|
575
615
|
### One helper per package
|
|
@@ -35,6 +35,20 @@ submissions remain blocked during both.
|
|
|
35
35
|
- `resetValidation()`: clears the attempt flag and field-error bag. It does not
|
|
36
36
|
change the form model. Route changes also reset validation
|
|
37
37
|
unless `clearOnRouteChange: false` is configured.
|
|
38
|
+
- `conflicts`: the fields whose server value changed while the person was
|
|
39
|
+
editing them, as `{ key, value }` with the server's value. A read of the
|
|
40
|
+
record again (a realtime event, the window regaining focus, Retry) keeps
|
|
41
|
+
every field the person changed and has not saved and takes the rest; a save's
|
|
42
|
+
answer replaces the fields it sent and keeps one changed while it ran.
|
|
43
|
+
`acceptServerValue(key)` takes the server's value and `keepOwnValue(key)`
|
|
44
|
+
keeps the person's until the server's changes again; saving the field, or
|
|
45
|
+
typing the server's value, ends its conflict too. `CrudAddEditScreen` shows
|
|
46
|
+
them after its fields. Fields stay editable while the record is read again
|
|
47
|
+
(`isFieldLocked` is the save and the person's permission); Save waits for
|
|
48
|
+
the read.
|
|
49
|
+
- `applyLoaded(payload)`: gives the form a record another read loaded, as the
|
|
50
|
+
account settings' one read of all its forms does, keeping unsaved edits the
|
|
51
|
+
same way.
|
|
38
52
|
|
|
39
53
|
For guidance beside a custom button, set `addEditOptions.validationFeedback`
|
|
40
54
|
to `false` on `useCrudAddEditScreen()` or `useCrudAddEdit()`. With `useAddEdit()`,
|
|
@@ -2182,5 +2182,7 @@ copy with the catalog.
|
|
|
2182
2182
|
`src/jobs/` with it), `server/`, `scripts/`, `bin/` and `config/`.
|
|
2183
2183
|
|
|
2184
2184
|
It reads none of what the app's ESLint config ignores outside server code,
|
|
2185
|
-
such as a vendored copy of old code kept beside the
|
|
2186
|
-
it either, and lists each directory and file it
|
|
2185
|
+
Vue components included, such as a vendored copy of old code kept beside the
|
|
2186
|
+
app, since no lint reads it either, and lists each directory and file it
|
|
2187
|
+
skipped; the [test-source rules](/guide/framework/typed-features#test-source-rules)
|
|
2188
|
+
skip the same.
|
|
@@ -134,8 +134,10 @@ a JSKIT app. The rules it applies are already in [Typed features](/guide/framewo
|
|
|
134
134
|
workspace has), another workspace's record id
|
|
135
135
|
and `workspaceId` in the body (refused, or answered in the caller's own
|
|
136
136
|
workspace), a write without `csrf-token`, and one request past each
|
|
137
|
-
`rateLimit` (429). A body that does not validate, sent
|
|
138
|
-
|
|
137
|
+
`rateLimit` (429). A query, path or body that does not validate, sent
|
|
138
|
+
without a session or by a member without the permission of the route's
|
|
139
|
+
action, must get the refusal, not field errors
|
|
140
|
+
([Routes](/guide/framework/typed-features#routes)).
|
|
139
141
|
- Staging and production settings: start the server with `APP_ENV=staging`, `NODE_ENV=production` and the
|
|
140
142
|
test database, and check that it stops without `AUTH_LOCAL_SESSION_SECRET`,
|
|
141
143
|
that registering asks for the setup code, and the response headers.
|
|
@@ -863,6 +863,28 @@ for anything that reads or writes the domain.**
|
|
|
863
863
|
exporting `register<Concern>Routes` when there are several.
|
|
864
864
|
- One handler shape: a named async function that sends what
|
|
865
865
|
`request.executeAction({ actionId: ACTION_X, input })` returns.
|
|
866
|
+
- A route that runs one action names it in `actionId`, as an `actionRoute`
|
|
867
|
+
always does. On a route the auth policy signs in (`auth: "required"` or `"own"`), the kernel then checks that
|
|
868
|
+
action's channel, surface and permission before anything the request sends
|
|
869
|
+
is validated or read, so a caller the action refuses gets its 401 or 403,
|
|
870
|
+
never the field errors of the query, path or body: it checks them in the
|
|
871
|
+
context the route's `executeAction()` gives the action, with the route's
|
|
872
|
+
params as the input the context contributors read (a workspace route's
|
|
873
|
+
`workspaceSlug`). Never repeat the action's `permission` on the route to get
|
|
874
|
+
that order. A route whose handler gives its action a surface, channel or
|
|
875
|
+
context of its own (`executeAction({ surface })`, `{ context }`) names no
|
|
876
|
+
`actionId`, since the check before validation would not have them, nor does
|
|
877
|
+
one whose action finds its scope in the query or body, excused with
|
|
878
|
+
`readable-check: allow route-action-id - action scope: <where>`. A public
|
|
879
|
+
route's action is checked where its handler runs it. `jskit/route-action-id`
|
|
880
|
+
reports a route that runs one action and names none.
|
|
881
|
+
- The auth policy signs the caller in before validation: a signed-out caller
|
|
882
|
+
of a route with `auth: "required"` or `"own"` gets 401
|
|
883
|
+
`auth.session.required`, whatever its query, path or body. A policy context
|
|
884
|
+
resolver and an `ownerResolver` read `request.params` as the request sent
|
|
885
|
+
them, before validation. An application hook that signs the caller in runs
|
|
886
|
+
before the policy: an `onRequest` hook, or a `preValidation` hook registered
|
|
887
|
+
before the policy's plugin loads; a `preHandler` hook runs after it.
|
|
866
888
|
- A route that bypasses actions (a provider's callback) gets its own named
|
|
867
889
|
registrar and reads with `await request.callOptions()`
|
|
868
890
|
([data access](/guide/framework/data-access#layer-1-the-table-resource)).
|
|
@@ -886,13 +908,16 @@ events are declared.
|
|
|
886
908
|
|
|
887
909
|
```js
|
|
888
910
|
// good
|
|
889
|
-
router.register("POST", "/api/invoices/:invoiceId/send", { auth: "required", meta: { summary: "Sends an invoice." } },
|
|
911
|
+
router.register("POST", "/api/invoices/:invoiceId/send", { auth: "required", actionId: ACTION_SEND_INVOICE, meta: { summary: "Sends an invoice." } },
|
|
890
912
|
async function sendInvoice(request, reply) {
|
|
891
913
|
reply.code(200).send(await request.executeAction({ actionId: ACTION_SEND_INVOICE, input: request.input.params }));
|
|
892
914
|
});
|
|
893
915
|
|
|
894
916
|
// bad: the route reads storage itself
|
|
895
917
|
router.register("GET", "/api/invoices", {}, async (request, reply) => reply.send(await invoices.queryAll({}, { context: request })));
|
|
918
|
+
|
|
919
|
+
// bad: the action's permission repeated on the route, which still answers a caller without it with field errors
|
|
920
|
+
router.register("POST", "/api/invoices/:invoiceId/notes", { auth: "required", permission: "invoices.write", body: noteBody }, addNote);
|
|
896
921
|
```
|
|
897
922
|
|
|
898
923
|
## Errors
|
|
@@ -1390,6 +1415,7 @@ Every finding ends with a link to the section of this page that explains it.
|
|
|
1390
1415
|
| `jskit/named-repeated-type` | a `ReturnType<…>` or `X["y"]` JSDoc type written in two or more files of a package | [Capability types](#capability-types) |
|
|
1391
1416
|
| `jskit/action-creator` | an action definition outside a `create<Name>Actions` creator, or a creator that takes its capabilities positionally | [Action creators](#action-creators) |
|
|
1392
1417
|
| `jskit/action-execute-shape` | an `execute` that is not one arrow making one call: a body, `execute: helper(…)`, a built result | [One-line execute](#one-line-execute) |
|
|
1418
|
+
| `jskit/route-action-id` | a `router.register()` whose handler runs one action (`executeAction({ actionId })` without its own `surface`, `channel` or `context`) and whose options name no `actionId` | [Routes](#routes) |
|
|
1393
1419
|
| `jskit/one-line-action` | `input = {}`, `input \|\| {}` or `input?.` in an action, an `async` `execute`, an unfrozen definition or list | [One-line execute](#one-line-execute) |
|
|
1394
1420
|
| `jskit/no-idempotency` | an `idempotency` field on an action definition or its shared-field constant | [No idempotency](#no-idempotency) |
|
|
1395
1421
|
| `jskit/no-optional-after-default` | `options?.` or a second `options \|\| {}` on a parameter that has a default | [Options and defaults](#options-and-defaults) |
|
|
@@ -1435,6 +1461,16 @@ modules and names are checked by reading.
|
|
|
1435
1461
|
scripts, its Playwright and Vitest configs, its CI workflows and its root
|
|
1436
1462
|
Vite config, and reports what makes a test run slow, fragile or unsafe.
|
|
1437
1463
|
|
|
1464
|
+
Like the [data-access rules](/guide/framework/data-access#exceptions), it
|
|
1465
|
+
reads none of what the app's ESLint config ignores outside server code, such
|
|
1466
|
+
as a vendored copy of old code kept beside the app (`ignores: ["V1/**"]`), and
|
|
1467
|
+
lists each directory and file it skipped (`Skipped, as the app's ESLint config
|
|
1468
|
+
ignores them and they hold no server code`). Server code, which it reads even
|
|
1469
|
+
when the config ignores it, is the app's or a package's root files, `src/`,
|
|
1470
|
+
`server/`, `scripts/`, `bin/` and `config/`. A file type the config has no
|
|
1471
|
+
config for but does not ignore, such as a `.ts` spec in an app that lints only
|
|
1472
|
+
JavaScript, is read.
|
|
1473
|
+
|
|
1438
1474
|
| Rule | Reports | Fix |
|
|
1439
1475
|
| --- | --- | --- |
|
|
1440
1476
|
| `test/fixed-sleep` | in a test file, `page.waitForTimeout(…)`, a `new Promise` that resolves on `setTimeout(…, <ms>)`, or an awaited `setTimeout`, `sleep`, `delay`, `pause` (its own or an object's, such as `timers.setTimeout(…)`) or `wait` (its own or node's `scheduler.wait(…)`) of a number of milliseconds | wait for the condition: a web-first assertion (`await expect(locator).toBeVisible()`), `expect.poll()`, the event itself, or a fake clock (`mock.timers`, `vi.useFakeTimers()`, `page.clock`) |
|
|
@@ -1497,7 +1533,9 @@ It replaces what lies between them and leaves the text outside as it is; in a
|
|
|
1497
1533
|
file without them it puts the block at the top, and it makes the file when
|
|
1498
1534
|
there is none. `npm run jskit:update` writes it after updating the packages, so
|
|
1499
1535
|
commit `AGENTS.md` with the manifests. Write the app's own rules outside the
|
|
1500
|
-
block.
|
|
1536
|
+
block. Where they say who moves the app's JSKIT versions, or how its tests run
|
|
1537
|
+
and when the whole suite does, the block tells agents to follow them over its
|
|
1538
|
+
defaults (`npm run jskit:update`, and `npm test` running every Node test file).
|
|
1501
1539
|
|
|
1502
1540
|
| Rule | Reports | Section |
|
|
1503
1541
|
| --- | --- | --- |
|
|
@@ -1528,6 +1566,7 @@ if (typeof buildSerializer !== "function") {
|
|
|
1528
1566
|
| `cross-repository slot <token>` | keeps a probe for a token another repository supplies |
|
|
1529
1567
|
| `shared resource:` | keeps client module state that every instance on the page shares on purpose ([client features](/guide/framework/client-features#module-state)) |
|
|
1530
1568
|
| `every row: <why>` | code needs every row a read answers and narrows them for its own use, such as a read the data itself keeps small (a conversation's few summaries) whose oldest ones it deletes (`jskit/narrow-in-query`) |
|
|
1569
|
+
| `action scope: <where>` | a route whose action finds its scope in the query or body, not the path, names no `actionId` (`jskit/route-action-id`) |
|
|
1531
1570
|
| `infrastructure: <what the module is>` | excuses a whole file whose job is data access itself from `jskit/no-direct-knex` or `jskit/no-transaction-reader`, one line per rule before its first line of code ([data access](/guide/framework/data-access#exceptions)) |
|
|
1532
1571
|
|
|
1533
1572
|
One kind of probe gets one prefix and one wording everywhere, and a bare
|
package/package.json
CHANGED
|
@@ -7,9 +7,10 @@ This app is built on JSKIT. Its guide,
|
|
|
7
7
|
`https://mobily-enterprises.github.io/jskit-ai/guide/`, and its pattern
|
|
8
8
|
library, `https://mobily-enterprises.github.io/jskit-ai/patterns/`, describe
|
|
9
9
|
the current JSKIT release. `@jskit-ai/agent-docs` is not an app dependency, so
|
|
10
|
-
the guide has no copy under `node_modules`.
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
the guide has no copy under `node_modules`. `npm run jskit:update` moves the app
|
|
11
|
+
to the current release, so the two agree, unless this project's own rules say
|
|
12
|
+
who moves its JSKIT versions: then follow them. A pattern whose owner runtime
|
|
13
|
+
package is installed is also in that package's `patterns/` folder, at the app's
|
|
13
14
|
version. Never install a runtime package only to read its documentation.
|
|
14
15
|
|
|
15
16
|
Read the guide's page before the work it covers:
|
|
@@ -35,10 +36,11 @@ Read the guide's page before the work it covers:
|
|
|
35
36
|
|
|
36
37
|
`npm run verify` runs the checks listed in
|
|
37
38
|
`https://mobily-enterprises.github.io/jskit-ai/guide/framework/typed-features#running-the-checks`.
|
|
38
|
-
`npm test
|
|
39
|
-
file
|
|
40
|
-
|
|
41
|
-
|
|
39
|
+
`npm test -- <file>` runs exactly that file, and `npm test` every Node test
|
|
40
|
+
file, unless this project's own rules say how its tests run and when the whole
|
|
41
|
+
suite does: then follow them. Each finding links the guide section that
|
|
42
|
+
explains it: fix it in the code, and excuse one only with the guide's
|
|
43
|
+
`readable-check: allow` comment and reason prefix.
|
|
42
44
|
|
|
43
45
|
Where the host provides a managed browser runner, such as Vibe64's, every
|
|
44
46
|
Playwright suite runs through it from the first run, on a declared test target:
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@local/main": "0.1.0",
|
|
36
36
|
"@fastify/static": "^10.1.3",
|
|
37
|
-
"@jskit-ai/kernel": "0.2.
|
|
37
|
+
"@jskit-ai/kernel": "0.2.36",
|
|
38
38
|
"@jskit-ai/material-web": "0.1.16",
|
|
39
39
|
"@tanstack/vue-query": "^5.101.0",
|
|
40
40
|
"fastify": "^5.12.7",
|
|
@@ -44,13 +44,13 @@
|
|
|
44
44
|
"vue": "^3.5.44",
|
|
45
45
|
"vue-router": "^5.3.1",
|
|
46
46
|
"vuetify": "^4.3.0",
|
|
47
|
-
"@jskit-ai/http-runtime": "0.2.
|
|
47
|
+
"@jskit-ai/http-runtime": "0.2.37",
|
|
48
48
|
"@fastify/fast-json-stringify-compiler": "^5.1.0",
|
|
49
49
|
"@vue/devtools-api": "^8.2.1"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@jskit-ai/config-eslint": "0.1.
|
|
53
|
-
"@jskit-ai/jskit-catalog": "0.2.
|
|
52
|
+
"@jskit-ai/config-eslint": "0.1.255",
|
|
53
|
+
"@jskit-ai/jskit-catalog": "0.2.121",
|
|
54
54
|
"@playwright/test": "1.61.1",
|
|
55
55
|
"@vitejs/plugin-vue": "^6.0.7",
|
|
56
56
|
"eslint": "^10.8.0",
|
|
@@ -7,9 +7,10 @@ This app is built on JSKIT. Its guide,
|
|
|
7
7
|
`https://mobily-enterprises.github.io/jskit-ai/guide/`, and its pattern
|
|
8
8
|
library, `https://mobily-enterprises.github.io/jskit-ai/patterns/`, describe
|
|
9
9
|
the current JSKIT release. `@jskit-ai/agent-docs` is not an app dependency, so
|
|
10
|
-
the guide has no copy under `node_modules`.
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
the guide has no copy under `node_modules`. `npm run jskit:update` moves the app
|
|
11
|
+
to the current release, so the two agree, unless this project's own rules say
|
|
12
|
+
who moves its JSKIT versions: then follow them. A pattern whose owner runtime
|
|
13
|
+
package is installed is also in that package's `patterns/` folder, at the app's
|
|
13
14
|
version. Never install a runtime package only to read its documentation.
|
|
14
15
|
|
|
15
16
|
Read the guide's page before the work it covers:
|
|
@@ -35,10 +36,11 @@ Read the guide's page before the work it covers:
|
|
|
35
36
|
|
|
36
37
|
`npm run verify` runs the checks listed in
|
|
37
38
|
`https://mobily-enterprises.github.io/jskit-ai/guide/framework/typed-features#running-the-checks`.
|
|
38
|
-
`npm test
|
|
39
|
-
file
|
|
40
|
-
|
|
41
|
-
|
|
39
|
+
`npm test -- <file>` runs exactly that file, and `npm test` every Node test
|
|
40
|
+
file, unless this project's own rules say how its tests run and when the whole
|
|
41
|
+
suite does: then follow them. Each finding links the guide section that
|
|
42
|
+
explains it: fix it in the code, and excuse one only with the guide's
|
|
43
|
+
`readable-check: allow` comment and reason prefix.
|
|
42
44
|
|
|
43
45
|
Where the host provides a managed browser runner, such as Vibe64's, every
|
|
44
46
|
Playwright suite runs through it from the first run, on a declared test target:
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@local/main": "0.1.0",
|
|
36
36
|
"@fastify/static": "^10.1.3",
|
|
37
|
-
"@jskit-ai/kernel": "0.2.
|
|
37
|
+
"@jskit-ai/kernel": "0.2.36",
|
|
38
38
|
"@jskit-ai/material-web": "0.1.16",
|
|
39
39
|
"@tanstack/vue-query": "^5.101.0",
|
|
40
40
|
"fastify": "^5.12.7",
|
|
@@ -44,14 +44,14 @@
|
|
|
44
44
|
"vue": "^3.5.44",
|
|
45
45
|
"vue-router": "^5.3.1",
|
|
46
46
|
"vuetify": "^4.3.0",
|
|
47
|
-
"@jskit-ai/http-runtime": "0.2.
|
|
48
|
-
"@jskit-ai/shell-web": "0.2.
|
|
47
|
+
"@jskit-ai/http-runtime": "0.2.37",
|
|
48
|
+
"@jskit-ai/shell-web": "0.2.58",
|
|
49
49
|
"@fastify/fast-json-stringify-compiler": "^5.1.0",
|
|
50
50
|
"@vue/devtools-api": "^8.2.1"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@jskit-ai/config-eslint": "0.1.
|
|
54
|
-
"@jskit-ai/jskit-catalog": "0.2.
|
|
53
|
+
"@jskit-ai/config-eslint": "0.1.255",
|
|
54
|
+
"@jskit-ai/jskit-catalog": "0.2.121",
|
|
55
55
|
"@playwright/test": "1.61.1",
|
|
56
56
|
"@vitejs/plugin-vue": "^6.0.7",
|
|
57
57
|
"eslint": "^10.8.0",
|