@jskit-ai/agent-docs 0.1.328 → 0.1.330

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 (34) hide show
  1. package/guide/agent/app-extras/assistant.md +122 -5
  2. package/guide/agent/app-setup/authentication.md +16 -0
  3. package/guide/agent/app-setup/package-with-nix.md +118 -0
  4. package/guide/agent/app-setup/upgrading-jskit.md +21 -2
  5. package/guide/agent/framework/data-access.md +67 -6
  6. package/guide/agent/framework/security-pass.md +136 -0
  7. package/guide/agent/framework/speed-pass.md +194 -0
  8. package/guide/agent/framework/ux-pass.md +116 -0
  9. package/guide/agent/index.md +11 -0
  10. package/package.json +1 -1
  11. package/patterns/minimal-foundation/example/package.json +2 -2
  12. package/patterns/shell-foundation/example/package.json +3 -3
  13. package/reference/autogen/PATTERN_INDEX.md +33 -33
  14. package/reference/autogen/packages/assistant-core.md +5 -3
  15. package/reference/autogen/packages/assistant-runtime.md +18 -3
  16. package/reference/autogen/packages/auth-provider-local-core.md +11 -4
  17. package/reference/autogen/packages/workspaces-core.md +9 -1
  18. package/reference/autogen/tooling/jskit-catalog.md +33 -0
  19. package/skills/jskit/SKILL.md +9 -4
  20. package/skills/jskit/references/data-access.md +67 -6
  21. package/skills/jskit/references/package-with-nix.md +113 -0
  22. package/skills/jskit/references/pattern-index.md +33 -33
  23. package/skills/jskit/references/patterns/app/minimal-foundation/example/package.json +2 -2
  24. package/skills/jskit/references/patterns/app/shell-foundation/example/package.json +3 -3
  25. package/skills/jskit/references/patterns/auth/accounts-hub/example/package.json +1 -1
  26. package/skills/jskit/references/patterns/auth/oidc-sign-in/example/package.json +2 -2
  27. package/skills/jskit/references/patterns/connectors/calendar-cli/example/package.json +2 -2
  28. package/skills/jskit/references/patterns/crud/crud-feature-package/example/packages/books/package.json +1 -1
  29. package/skills/jskit/references/patterns/realtime/realtime-application/example/package.json +2 -2
  30. package/skills/jskit/references/patterns/users/user-administration-server/example/packages/users/package.json +2 -2
  31. package/skills/jskit/references/patterns/users/user-administration-server/example/packages/users-workspace/package.json +4 -4
  32. package/skills/jskit/references/security-pass.md +131 -0
  33. package/skills/jskit/references/speed-pass.md +189 -0
  34. package/skills/jskit/references/ux-pass.md +111 -0
@@ -85,6 +85,7 @@ the filters match.
85
85
  | system scope | Why a feature works across every workspace and user, declared with `systemScope`. |
86
86
  | system context | The context of that work, from `systemContext(reason)`; `forWorkspace`, `forUser` and `forWorkspaceUser` narrow it. |
87
87
  | member context | The context of work done as one member of one workspace, from `workspaces.memberContext({ workspaceId, userId }, { context: systemContext(reason) })`: resolved as the member's request is, and signed in as them. |
88
+ | role context | The context of installer or seed work done in one workspace as a user in a role of the catalog they are not given there, from `workspaces.roleContext({ workspaceId, userId, role, reason }, { context: systemContext(reason) })`: a member context's shape, with an unsaved membership in that role and the reason. |
88
89
  | `txOptions` | What `withTransaction(options, work)` hands `work`: only the call's context and its transaction, `{ context, trx }`, passed to every call inside. |
89
90
  | record | What a handle answers: `{ id, ...fields }`, relationships as ids, included records nested. |
90
91
 
@@ -464,7 +465,8 @@ never loads everything the subject was ever linked to into an `IN` list, and
464
465
  never calls another owner's check once per item: it runs on every read, write
465
466
  read-back and lookup, so every request pays what it costs. A policy is told
466
467
  who the call runs for as `caller`: `{ kind: "user", userId }` for a signed-in
467
- request, `{ kind: "anonymous" }` for one by no one, and `{ kind: "system" }` or
468
+ request (and for a role context, with its `reason`, which grants nothing),
469
+ `{ kind: "anonymous" }` for one by no one, and `{ kind: "system" }` or
468
470
  `{ kind: "job" }` (a context `forWorkspace` and its kin derived), each with its
469
471
  `reason`, for background work. A job names a user only as `actorId`, the
470
472
  person it works for ([below](#background-work)), so never read a missing actor
@@ -826,7 +828,11 @@ match while it waited; with a `limit` it stops once it holds that many. A
826
828
  `limit` outside 1 to 1,000, or a `sort` on no stored field, is refused before
827
829
  any statement.
828
830
 
829
- A lock answers the rows it locks, with the fields `fields` names. Its
831
+ A lock answers the rows it locks, with the fields `fields` names. A belongs-to
832
+ field among them is checked against its target as last committed, as the lock
833
+ sees its own rows (on MySQL and MariaDB with a shared lock of the target until
834
+ commit), so a link to a target saved after the transaction's first plain read
835
+ shows, and a link to a target the caller may not see reads null. Its
830
836
  `include` names belongs-to relationships (`include: ["customer"]`, or
831
837
  `"batch.yard"` a level further): after its own rows, the lock locks the
832
838
  records they name through each related table's own handle (its scope, its row
@@ -847,7 +853,9 @@ sees what had committed when it began, so that read is current. On MySQL and
847
853
  MariaDB a plain read inside a transaction sees the snapshot of the
848
854
  transaction's first plain read, and a lock that waited does not move it. So
849
855
  take the lock before any plain read in the transaction: the reads after it then
850
- see what the lock's previous holder committed. A related row the work decides
856
+ see what the lock's previous holder committed. On MySQL and MariaDB a
857
+ `createMany` with `onConflict` reads its keys plainly first, so it counts as a
858
+ plain read here: lock, then upsert. A related row the work decides
851
859
  on (is this seat already booked?) is locked itself, through the lock's
852
860
  `include` or a lock of its own, or read after a lock that every writer of it
853
861
  takes first.
@@ -915,7 +923,16 @@ the sort's columns, ascending, and then nothing but the id, and the sort's
915
923
  fields go one way (all ascending or all descending). A unique key the filters
916
924
  fix whole, as a membership's workspace and user are, needs nothing more.
917
925
  `lockPages` locks in id order, so its index holds nothing after the ownership
918
- columns and the columns the filters fix but the id.
926
+ columns and the columns the filters fix but the id. In id order it walks the
927
+ owner's rows by id, so on MySQL and MariaDB a lock of the rows of a list
928
+ (every link of the listed actions) holds every row of the owner it passes too.
929
+ Name the list filter in `pageBy` (a filter whose search entry says
930
+ `filterOperator: "in"`, on the table's own column) and the pages follow that
931
+ column, then the id: `lockPages({ actionIds }, { ...txOptions, pageBy:
932
+ "actionIds" })` reads through an index that holds the column after the
933
+ ownership columns and the filters' other fixed columns, and holds the listed
934
+ values' rows alone. Give the values as the column stores them; the statements
935
+ still follow the pages, not the rows.
919
936
 
920
937
  A worker taking the next job uses `claim({ filters, sort, take }, txOptions)`,
921
938
  which skips rows another worker holds. A record that serializes work on a key
@@ -925,7 +942,15 @@ it locks the record, creating it from the row first when it is missing, and
925
942
  runs `work(record, txOptions)` in the same transaction, so failed work leaves
926
943
  no record behind. On its own it runs work once, so work may call a provider:
927
944
  two first uses of one id at once can collide on the insert, and the loser runs
928
- again before its work starts.
945
+ again before its work starts. On MySQL and MariaDB first uses of neighbouring
946
+ ids collide too: the lock of an id no row holds locks the gap where it would
947
+ go, and two such locks in one gap make both inserts wait for each other, a
948
+ deadlock the database ends by failing one. It locks before it inserts all the
949
+ same, since an upsert reads its keys plainly, and a plain read before the lock
950
+ would leave the work reading the rows as they stood before the record's
951
+ previous holder committed. In a transaction of its own it runs the loser
952
+ again; in the caller's, the caller's `withTransaction` runs the unit again when
953
+ it opened the transaction.
929
954
 
930
955
  Every lock takes `FOR UPDATE`, as `patchWhere` does for the rows it selects,
931
956
  which also keeps out another transaction's insert of a row that references the
@@ -993,7 +1018,13 @@ locks that read it, and work that locks through a policy and then writes a row
993
1018
  the policy read can deadlock with work doing the same (the database fails one,
994
1019
  and `withTransaction` runs it again). Give the policy's subqueries an index
995
1020
  that finds the deciding rows directly, since on MySQL and MariaDB a locking
996
- subquery locks every row it examines. `claim` keeps its policy's subqueries
1021
+ subquery locks every row it examines. The rows a subquery examines are the
1022
+ rows its plan walks, not the rows it returns: one that reads through another
1023
+ table by a link (a module's definition by its id) and narrows to the caller's
1024
+ owner after the walk locks the rows of every owner its index range crosses.
1025
+ Give each nested read a filter on the owner's columns that an index leads
1026
+ with, or keep the walk out of the lock: lock the rows, then check the linked
1027
+ rows with a read of their own. `claim` keeps its policy's subqueries
997
1028
  plain reads. Rows
998
1029
  of several owners are never locked in one statement over a join, which on
999
1030
  MySQL and MariaDB locks every joined row the read examines: lock each owner's
@@ -1420,6 +1451,36 @@ const SettlementFeature = defineFeature({
1420
1451
  account its auth provider refuses at sign-in (a local account marked
1421
1452
  disabled) is still resolved; a job that must skip such people asks the
1422
1453
  provider first.
1454
+ - Installer and seed work the platform does in a workspace for a person who
1455
+ is no member there, or a member in another role (the required records a
1456
+ workspace gets for the platform's owner, a seed's starter data), acts in a
1457
+ role of the catalog with `workspaces.roleContext`, never with a hand-built
1458
+ membership:
1459
+
1460
+ ```js
1461
+ // requires: { workspaces: "workspaces.core" }; the feature declares systemScope
1462
+ const installer = await workspaces.roleContext(
1463
+ { workspaceId, userId: platformOwnerId, role: "owner", reason: "install the workspace's required records" },
1464
+ { context: systemContext("install each workspace's required records") }
1465
+ );
1466
+ ```
1467
+
1468
+ It has exactly a member context's shape: the user is its actor, its
1469
+ `membership` is `{ workspaceId, userId, roleSid, status: "active" }` in that
1470
+ role, never saved and replacing any membership the user has there, and its
1471
+ `permissions` are the role's, so a permission check and a row policy decide
1472
+ as for a member in that role, and an action it runs keeps that membership.
1473
+ It is no system context and no job: request row limits apply and other
1474
+ owners' hidden fields stay hidden. It records its `reason`, which a row
1475
+ policy reads as `caller.reason` and which grants nothing. Only a system
1476
+ context makes one, with a reason: any other context, a missing reason, ids
1477
+ that are no record ids and a role the catalog lacks are a TypeError before
1478
+ any statement; a missing or deleted workspace is 404
1479
+ `workspaces.workspace.notFound` and a user id naming no one 404
1480
+ `users.profile.notFound`. It reads the user, the workspace and its settings,
1481
+ and writes nothing. Work done as a real member takes `memberContext`, which
1482
+ refuses anyone who is not one; `roleContext` is for installer and seed work
1483
+ only, where the person is not given that role in the workspace.
1423
1484
  - A job finds its units with an `aggregate` grouped by the ownership field,
1424
1485
  which a system context may group by (and count distinct) even when the table
1425
1486
  hides it, then runs each unit scoped to it. It reads the units in pages, all
@@ -0,0 +1,113 @@
1
+ <!-- Generated from `packages/agent-docs/site/guide/app-setup/package-with-nix.md`. -->
2
+
3
+ # Package an App with Nix
4
+
5
+ A host that runs apps only as Nix packages builds each one in Nix's sandbox,
6
+ with no network access, and runs nothing an app would install for itself.
7
+ JSKIT writes that packaging for every JSKIT app; nobody writes Nix for one.
8
+
9
+ ## Write package.nix
10
+
11
+ ```bash
12
+ npx jskit package nix
13
+ ```
14
+
15
+ It writes `package.nix` at the app's root. Commit it with the app. The file is
16
+ the same for every JSKIT app: it reads `package.json` and `package-lock.json`
17
+ while Nix evaluates it, so a changed lock file needs no change to it and there
18
+ is no hash to keep up to date. Each npm download is fetched by the integrity
19
+ hash `package-lock.json` gives it, as a fixed-output fetch, before the build;
20
+ the build itself has no network.
21
+
22
+ The command writes nothing, and says why, when:
23
+
24
+ - `package-lock.json` names a dependency a build cannot fetch by its hash: one
25
+ from git, a local file (`file:`), one with no integrity hash, or a link to a
26
+ folder outside the app. Publish such a package to a registry, or make it one
27
+ of the app's workspaces;
28
+ - `package.json` has no `name` or no `start` script;
29
+ - the app has no `package-lock.json`, or one npm 6 wrote (`lockfileVersion` 1);
30
+ - a `package.nix` it did not write is there. It never overwrites one.
31
+
32
+ Plain `jskit check`, and so the app's `npm run verify`, checks a `package.nix`
33
+ the command wrote: it must be the one the installed JSKIT writes
34
+ (`package/nix-current`: run the command again after `npm run jskit:update`),
35
+ and the app must still build with it (`package/nix-manifest`,
36
+ `package/nix-offline`). An app with no `package.nix`, or its own, is left
37
+ alone.
38
+
39
+ ## What the build does
40
+
41
+ `package.nix` is a function `{ pkgs }:` of the host's Nixpkgs that returns one
42
+ package:
43
+
44
+ 1. Node.js is the major version `engines.node` names first (`26.x` is
45
+ `pkgs.nodejs_26`), else Nixpkgs' default Node.js.
46
+ 2. The sources are the app's folder without `node_modules`, `.git`, and, at the
47
+ root, `dist`, `.jskit`, `coverage`, test results, `result` links and the
48
+ `.env` files (`.env.example` stays).
49
+ 3. npm installs `package-lock.json` (`npm ci`) offline, from a cache holding
50
+ exactly the tarballs Nix fetched, then runs the install scripts
51
+ (`npm rebuild`) as `npm ci` would: only those the root `package.json`'s
52
+ `allowScripts` approves, when npm asks for approval. A native addon compiles
53
+ there with node-gyp, against this Node's headers, with Python and a C
54
+ compiler from Nixpkgs. A prebuilt addon, inside its package or a package of
55
+ its own (a `-linux-x64` optional dependency), is a download like any other.
56
+ An install script that downloads something fails, as there is no network.
57
+ 4. `npm run build` runs when `package.json` has a `build` script (`vite build`
58
+ in a JSKIT app).
59
+ 5. The dev dependencies leave (`npm prune --omit=dev`), and the app's folder,
60
+ with `dist` and its production `node_modules`, becomes `lib/<name>` in the
61
+ package. Whatever the app runs while it runs must be a dependency, not a
62
+ devDependency: `db:migrate`'s `knex`, for one.
63
+
64
+ The package is named after `package.json`'s `name` without its scope, as a
65
+ program name (`@acme/shop_app` is `shop-app`), with its `version`. On a machine
66
+ with Nix:
67
+
68
+ ```bash
69
+ nix build --impure --expr 'import ./package.nix { pkgs = import <nixpkgs> { }; }'
70
+ ```
71
+
72
+ ## Its programs
73
+
74
+ The package's `bin/` holds the app's programs. Each takes `--env FILE`, a file
75
+ of environment variables in Node's `.env` format whose values win over the
76
+ environment's. The option is not called `--env-file` because Node reads an
77
+ `--env-file` anywhere on its command line, even after the script.
78
+
79
+ | Program | What it does |
80
+ | --- | --- |
81
+ | `<name> [--env FILE] [--migrate]` | Runs the app's `start` script as `npm start` would, without npm, in place of itself: from `lib/<name>`, with `node_modules/.bin` and Node first on `PATH`, and `NODE_ENV=production` unless the environment or the file says otherwise. With `--migrate`, runs `db:migrate` first and starts nothing when it fails. |
82
+ | `<name>-migrate [--env FILE]` | Runs the `db:migrate` script the same way. Only an app with one has it. |
83
+ | `<name>-check [--env FILE] [--wait SECONDS]` | Exits 0 once `GET /api/health` answers 200 on `HOST`:`PORT` (127.0.0.1 when `HOST` is unset or any address; port 3000 when `PORT` is unset), and 1 after `--wait` seconds (60). |
84
+ | `<name>-prepare --settings JSON --env FILE [--user NAME]` | Writes the settings, one JSON object of environment variables (each a string, a number or `true`/`false`), as `FILE`, mode 0600, owned by `NAME` (`chown NAME:`). It is for a host that hands an app's settings to a step run as root before its services start. |
85
+
86
+ ## Running it
87
+
88
+ - The app's folder is read-only. A JSKIT package that writes files keeps them
89
+ under the app's folder unless told otherwise, so point those at a writable
90
+ data folder in the settings: `JSKIT_STORAGE_FS_BASE_PATH` (uploads and
91
+ `runtime.storage`; `data/storage` by default) and `AUTH_LOCAL_STORE_DIR`
92
+ (local sign-in's files, such as the first account's setup code;
93
+ `.jskit/auth` by default).
94
+ - Secrets come at run time, in the env file or the service's environment,
95
+ never in the package: anyone who can read the Nix store can read a package.
96
+ - The server listens where its `server.js` says: in a JSKIT app, `HOST`
97
+ (0.0.0.0) and `PORT` (3000).
98
+ - The database comes from the app's own settings: `DATABASE_URL`, or
99
+ `DB_CLIENT`, `DB_HOST`, `DB_NAME` and the rest, as the
100
+ [database layer](database-layer.md) guide says.
101
+ - Migrations run with `<name>-migrate` before the release starts, or with
102
+ `<name> --migrate` where the host has no such step. When several instances
103
+ start at once, Knex's migration lock lets one run them; the others fail and
104
+ start again once it is done, as a service restarted on failure does.
105
+
106
+ A host that runs apps as Nix packages typically runs the app `shop` as:
107
+
108
+ - a step run as root at each start, before the service:
109
+ `bin/shop-prepare --settings <the host's settings file> --env /run/shop/env --user shop`;
110
+ - one service, run as the user `shop`:
111
+ `bin/shop --env /run/shop/env --migrate`, on port 3000, healthy when
112
+ `/api/health` answers 200;
113
+ - a check after it starts: `bin/shop-check --env /run/shop/env`.
@@ -15,7 +15,7 @@ A concrete Fastify, Vue, and JSKIT application foundation for products that do n
15
15
 
16
16
  - Id: `app/minimal-foundation`
17
17
  - Keywords: `app`, `fastify`, `foundation`, `minimal`, `server`, `vite`, `vue`
18
- - Owner: `@jskit-ai/agent-docs@0.1.328`
18
+ - Owner: `@jskit-ai/agent-docs@0.1.330`
19
19
  - Read: [PATTERN.md](patterns/app/minimal-foundation/PATTERN.md)
20
20
  - Examples: [example/](patterns/app/minimal-foundation/example/)
21
21
  - Requires: `@jskit-ai/http-runtime`, `@jskit-ai/kernel`
@@ -26,7 +26,7 @@ A concrete JSKIT web application foundation with responsive shell navigation, se
26
26
 
27
27
  - Id: `app/shell-foundation`
28
28
  - Keywords: `app`, `foundation`, `material`, `navigation`, `placements`, `shell`, `vite`, `vue`
29
- - Owner: `@jskit-ai/agent-docs@0.1.328`
29
+ - Owner: `@jskit-ai/agent-docs@0.1.330`
30
30
  - Read: [PATTERN.md](patterns/app/shell-foundation/PATTERN.md)
31
31
  - Examples: [example/](patterns/app/shell-foundation/example/)
32
32
  - Requires: `@jskit-ai/http-runtime`, `@jskit-ai/kernel`, `@jskit-ai/shell-web`
@@ -37,7 +37,7 @@ Configure an assistant runtime for one application surface and expose its chat a
37
37
 
38
38
  - Id: `assistant/assistant-surface`
39
39
  - Keywords: `ai`, `assistant`, `chat`, `config`, `environment`, `page`, `placement`, `settings`, `surface`
40
- - Owner: `@jskit-ai/assistant-runtime@0.2.66`
40
+ - Owner: `@jskit-ai/assistant-runtime@0.2.68`
41
41
  - Read: [PATTERN.md](patterns/assistant/assistant-surface/PATTERN.md)
42
42
  - Examples: [example/](patterns/assistant/assistant-surface/example/)
43
43
  - Requires: `@jskit-ai/assistant-runtime`, `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`, `@jskit-ai/shell-web`
@@ -48,7 +48,7 @@ Run one OpenID Connect sign-in for all of an owner's apps as its own JSKIT proje
48
48
 
49
49
  - Id: `auth/accounts-hub`
50
50
  - Keywords: `accounts hub`, `auth`, `authentication`, `issuer`, `master login`, `oidc`, `openid connect`, `single sign-on`, `sso`
51
- - Owner: `@jskit-ai/oidc-issuer-core@0.1.40`
51
+ - Owner: `@jskit-ai/oidc-issuer-core@0.1.41`
52
52
  - Read: [PATTERN.md](patterns/auth/accounts-hub/PATTERN.md)
53
53
  - Examples: [example/](patterns/auth/accounts-hub/example/)
54
54
  - Requires: `@jskit-ai/oidc-issuer-core`
@@ -59,7 +59,7 @@ Compose JSKIT authentication routes, views, profile controls, and public surface
59
59
 
60
60
  - Id: `auth/auth-surface`
61
61
  - Keywords: `account`, `auth`, `login`, `logout`, `password`, `placement`, `profile`, `reset`, `surface`
62
- - Owner: `@jskit-ai/auth-web@0.2.42`
62
+ - Owner: `@jskit-ai/auth-web@0.2.43`
63
63
  - Read: [PATTERN.md](patterns/auth/auth-surface/PATTERN.md)
64
64
  - Examples: [example/](patterns/auth/auth-surface/example/)
65
65
  - Requires: `@jskit-ai/auth-core`, `@jskit-ai/auth-web`, `@jskit-ai/shell-web`
@@ -70,7 +70,7 @@ Let people sign in with the accounts they already have in an accounts hub or ano
70
70
 
71
71
  - Id: `auth/oidc-sign-in`
72
72
  - Keywords: `accounts hub`, `auth`, `authentication`, `back-channel logout`, `dynamic client registration`, `issuer`, `master login`, `oidc`, `openid connect`, `single sign-on`, `sso`
73
- - Owner: `@jskit-ai/auth-provider-oidc-core@0.2.46`
73
+ - Owner: `@jskit-ai/auth-provider-oidc-core@0.2.47`
74
74
  - Read: [PATTERN.md](patterns/auth/oidc-sign-in/PATTERN.md)
75
75
  - Examples: [example/](patterns/auth/oidc-sign-in/example/)
76
76
  - Requires: `@jskit-ai/auth-provider-oidc-core`, `@jskit-ai/auth-web`
@@ -92,7 +92,7 @@ Resolve an administrator environment key or an individual user's grant, then use
92
92
 
93
93
  - Id: `connectors/ai-connections`
94
94
  - Keywords: `ai`, `api-key`, `cli`, `environment`, `free`, `models`, `ownership`, `zai`, `zen`
95
- - Owner: `@jskit-ai/connectors-catalog@0.2.37`
95
+ - Owner: `@jskit-ai/connectors-catalog@0.2.39`
96
96
  - Read: [PATTERN.md](patterns/connectors/ai-connections/PATTERN.md)
97
97
  - Examples: [example/](patterns/connectors/ai-connections/example/)
98
98
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -103,7 +103,7 @@ Compose provider operations, authorization and encrypted file storage from a CLI
103
103
 
104
104
  - Id: `connectors/api-key-connection`
105
105
  - Keywords: `api-key`, `clay`, `cli`, `clickhouse`, `connectors`, `dbt`, `files`, `firecrawl`, `granola`, `integrations`, `metrics`, `prestashop`, `resend`, `semantic-layer`, `semrush`, `x-twitter`
106
- - Owner: `@jskit-ai/connectors-catalog@0.2.37`
106
+ - Owner: `@jskit-ai/connectors-catalog@0.2.39`
107
107
  - Read: [PATTERN.md](patterns/connectors/api-key-connection/PATTERN.md)
108
108
  - Examples: [example/](patterns/connectors/api-key-connection/example/)
109
109
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -114,7 +114,7 @@ Compose token-based MCP discovery and explicitly authorized tool calls using the
114
114
 
115
115
  - Id: `connectors/assistant-mcp`
116
116
  - Keywords: `assistant`, `cli`, `connectors`, `files`, `integrations`, `mcp`, `n8n`, `sanity`
117
- - Owner: `@jskit-ai/connectors-catalog@0.2.37`
117
+ - Owner: `@jskit-ai/connectors-catalog@0.2.39`
118
118
  - Read: [PATTERN.md](patterns/connectors/assistant-mcp/PATTERN.md)
119
119
  - Examples: [example/](patterns/connectors/assistant-mcp/example/)
120
120
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -125,7 +125,7 @@ Configure assistant OAuth clients, then compose existing state, encrypted file g
125
125
 
126
126
  - Id: `connectors/assistant-mcp-oauth`
127
127
  - Keywords: `amplitude`, `assistant`, `atlassian`, `canva`, `cli`, `client metadata`, `confidence`, `connectors`, `figma`, `files`, `granola`, `hex`, `mcp`, `miro`, `oauth`
128
- - Owner: `@jskit-ai/connectors-catalog@0.2.37`
128
+ - Owner: `@jskit-ai/connectors-catalog@0.2.39`
129
129
  - Read: [PATTERN.md](patterns/connectors/assistant-mcp-oauth/PATTERN.md)
130
130
  - Examples: [example/](patterns/connectors/assistant-mcp-oauth/example/)
131
131
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -136,7 +136,7 @@ Compose signed AWS operations, file configuration and application authorization
136
136
 
137
137
  - Id: `connectors/aws-storage-queries`
138
138
  - Keywords: `athena`, `aws`, `cli`, `connectors`, `files`, `iam`, `queries`, `s3`, `storage`, `sts`
139
- - Owner: `@jskit-ai/connectors-catalog@0.2.37`
139
+ - Owner: `@jskit-ai/connectors-catalog@0.2.39`
140
140
  - Read: [PATTERN.md](patterns/connectors/aws-storage-queries/PATTERN.md)
141
141
  - Examples: [example/](patterns/connectors/aws-storage-queries/example/)
142
142
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -147,7 +147,7 @@ Compose reusable connection libraries with portable configuration, application o
147
147
 
148
148
  - Id: `connectors/calendar-cli`
149
149
  - Keywords: `calendar`, `cli`, `connectors`, `google`, `integrations`, `oauth`, `permissions`
150
- - Owner: `@jskit-ai/connector-google-calendar@0.2.37`
150
+ - Owner: `@jskit-ai/connector-google-calendar@0.2.38`
151
151
  - Read: [PATTERN.md](patterns/connectors/calendar-cli/PATTERN.md)
152
152
  - Examples: [example/](patterns/connectors/calendar-cli/example/)
153
153
  - Requires: `@jskit-ai/connector-google-calendar`, `@jskit-ai/connectors-core`, `@jskit-ai/database-runtime-mysql`
@@ -158,7 +158,7 @@ Compose the shared connector runtime for event delivery while leaving workflow c
158
158
 
159
159
  - Id: `connectors/event-delivery`
160
160
  - Keywords: `cli`, `connectors`, `events`, `files`, `inngest`, `integrations`, `workflows`
161
- - Owner: `@jskit-ai/connectors-catalog@0.2.37`
161
+ - Owner: `@jskit-ai/connectors-catalog@0.2.39`
162
162
  - Read: [PATTERN.md](patterns/connectors/event-delivery/PATTERN.md)
163
163
  - Examples: [example/](patterns/connectors/event-delivery/example/)
164
164
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -169,7 +169,7 @@ Wire service-account grants, file storage, explicit message actions and public b
169
169
 
170
170
  - Id: `connectors/firebase-messaging`
171
171
  - Keywords: `cli`, `connectors`, `fcm`, `files`, `firebase`, `integrations`, `jwt`, `notifications`, `push`, `service-account`, `vapid`
172
- - Owner: `@jskit-ai/connectors-catalog@0.2.37`
172
+ - Owner: `@jskit-ai/connectors-catalog@0.2.39`
173
173
  - Read: [PATTERN.md](patterns/connectors/firebase-messaging/PATTERN.md)
174
174
  - Examples: [example/](patterns/connectors/firebase-messaging/example/)
175
175
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -180,7 +180,7 @@ Compose reviewed Search campaigns with project-owned Google OAuth and portable s
180
180
 
181
181
  - Id: `connectors/google-ads-search`
182
182
  - Keywords: `ads`, `campaigns`, `cli`, `connectors`, `conversion`, `google`, `search`
183
- - Owner: `@jskit-ai/connectors-catalog@0.2.37`
183
+ - Owner: `@jskit-ai/connectors-catalog@0.2.39`
184
184
  - Read: [PATTERN.md](patterns/connectors/google-ads-search/PATTERN.md)
185
185
  - Examples: [example/](patterns/connectors/google-ads-search/example/)
186
186
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -191,7 +191,7 @@ Compose provider consent, verification and encrypted file persistence from an ap
191
191
 
192
192
  - Id: `connectors/oauth-connection`
193
193
  - Keywords: `accounting`, `assistant permissions`, `books`, `cli`, `client credentials`, `connectors`, `consent`, `crm`, `databricks`, `developer token`, `fabric`, `files`, `gaql`, `google ads`, `graphql`, `integrations`, `linkedin`, `microsoft`, `oauth`, `powerpoint`, `salesforce`, `service principal`, `shopify`, `soql`, `staffing`, `tiktok`, `twitch`, `wave`, `word`, `wordpress`, `workday`, `xero`, `zoho`
194
- - Owner: `@jskit-ai/connectors-catalog@0.2.37`
194
+ - Owner: `@jskit-ai/connectors-catalog@0.2.39`
195
195
  - Read: [PATTERN.md](patterns/connectors/oauth-connection/PATTERN.md)
196
196
  - Examples: [example/](patterns/connectors/oauth-connection/example/)
197
197
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -202,7 +202,7 @@ Compose a sequential catalogue batch and preserve partial success for applicatio
202
202
 
203
203
  - Id: `connectors/paddle-catalogue`
204
204
  - Keywords: `batch`, `paddle`, `payments`, `prices`, `products`
205
- - Owner: `@jskit-ai/connectors-catalog@0.2.37`
205
+ - Owner: `@jskit-ai/connectors-catalog@0.2.39`
206
206
  - Read: [PATTERN.md](patterns/connectors/paddle-catalogue/PATTERN.md)
207
207
  - Examples: [example/](patterns/connectors/paddle-catalogue/example/)
208
208
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -213,7 +213,7 @@ Resolve a publishable image key deliberately and use the shared URL library in a
213
213
 
214
214
  - Id: `connectors/public-image`
215
215
  - Keywords: `cli`, `connectors`, `files`, `images`, `integrations`, `logo-dev`, `public-key`
216
- - Owner: `@jskit-ai/connectors-catalog@0.2.37`
216
+ - Owner: `@jskit-ai/connectors-catalog@0.2.39`
217
217
  - Read: [PATTERN.md](patterns/connectors/public-image/PATTERN.md)
218
218
  - Examples: [example/](patterns/connectors/public-image/example/)
219
219
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -224,7 +224,7 @@ Compose file configuration, Redshift Data API operations and application query o
224
224
 
225
225
  - Id: `connectors/redshift-queries`
226
226
  - Keywords: `aws`, `cli`, `connectors`, `files`, `iam`, `provisioned`, `redshift`, `serverless`, `sql`, `warehouse`
227
- - Owner: `@jskit-ai/connectors-catalog@0.2.37`
227
+ - Owner: `@jskit-ai/connectors-catalog@0.2.39`
228
228
  - Read: [PATTERN.md](patterns/connectors/redshift-queries/PATTERN.md)
229
229
  - Examples: [example/](patterns/connectors/redshift-queries/example/)
230
230
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -235,7 +235,7 @@ Use the shared scanner runtime from a CLI or a host worker with portable configu
235
235
 
236
236
  - Id: `connectors/source-scanning`
237
237
  - Keywords: `cancellation`, `cli`, `connectors`, `integrations`, `scanning`, `security`, `source`, `wiz`, `worker`
238
- - Owner: `@jskit-ai/connectors-catalog@0.2.37`
238
+ - Owner: `@jskit-ai/connectors-catalog@0.2.39`
239
239
  - Read: [PATTERN.md](patterns/connectors/source-scanning/PATTERN.md)
240
240
  - Examples: [example/](patterns/connectors/source-scanning/example/)
241
241
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -246,7 +246,7 @@ Add a protected administration surface, settings shell, and semantic navigation
246
246
 
247
247
  - Id: `console/console-surface`
248
248
  - Keywords: `admin`, `console`, `navigation`, `owner`, `placement`, `settings`, `surface`
249
- - Owner: `@jskit-ai/console-web@0.1.275`
249
+ - Owner: `@jskit-ai/console-web@0.1.277`
250
250
  - Read: [PATTERN.md](patterns/console/console-surface/PATTERN.md)
251
251
  - Examples: [example/](patterns/console/console-surface/example/)
252
252
  - Requires: `@jskit-ai/console-core`, `@jskit-ai/console-web`, `@jskit-ai/shell-web`
@@ -268,7 +268,7 @@ Build a complete application-owned CRUD server package from a migration, a table
268
268
 
269
269
  - Id: `crud/crud-feature-package`
270
270
  - Keywords: `actions`, `crud`, `database`, `defineCrudFeature`, `json-api`, `migration`, `owns`, `permissions`, `repository`, `routes`, `service`, `table resource`
271
- - Owner: `@jskit-ai/crud-core@0.2.38`
271
+ - Owner: `@jskit-ai/crud-core@0.2.39`
272
272
  - Read: [PATTERN.md](patterns/crud/crud-feature-package/PATTERN.md)
273
273
  - Examples: [example/](patterns/crud/crud-feature-package/example/)
274
274
  - Requires: `@jskit-ai/crud-core`, `@jskit-ai/resource-core`, `@jskit-ai/resource-crud-core`
@@ -279,7 +279,7 @@ Build a routed CRUD user interface as thin application pages over JSKIT's shared
279
279
 
280
280
  - Id: `crud/crud-screen-set`
281
281
  - Keywords: `actions`, `add`, `crud`, `delete`, `edit`, `filters`, `list`, `material`, `routes`, `view`, `vue`
282
- - Owner: `@jskit-ai/http-web@0.2.43`
282
+ - Owner: `@jskit-ai/http-web@0.2.44`
283
283
  - Read: [PATTERN.md](patterns/crud/crud-screen-set/PATTERN.md)
284
284
  - Examples: [example/](patterns/crud/crud-screen-set/example/)
285
285
  - Requires: `@jskit-ai/http-web`, `@jskit-ai/resource-core`, `@jskit-ai/resource-crud-core`
@@ -323,7 +323,7 @@ Wrap a JSKIT web application in a Capacitor Android shell using native Capacitor
323
323
 
324
324
  - Id: `mobile/android-application`
325
325
  - Keywords: `android`, `capacitor`, `device`, `mobile`, `native`, `shell`, `webview`
326
- - Owner: `@jskit-ai/mobile-capacitor@0.2.36`
326
+ - Owner: `@jskit-ai/mobile-capacitor@0.2.37`
327
327
  - Read: [PATTERN.md](patterns/mobile/android-application/PATTERN.md)
328
328
  - Examples: [example/](patterns/mobile/android-application/example/)
329
329
  - Requires: `@capacitor/android`, `@capacitor/app`, `@capacitor/cli`, `@jskit-ai/mobile-capacitor`
@@ -334,7 +334,7 @@ Add JSKIT realtime events with an optional Redis backplane and an explicit shell
334
334
 
335
335
  - Id: `realtime/realtime-application`
336
336
  - Keywords: `realtime`, `redis`, `socket.io`, `sockets`, `status`, `websocket`
337
- - Owner: `@jskit-ai/realtime@0.2.39`
337
+ - Owner: `@jskit-ai/realtime@0.2.40`
338
338
  - Read: [PATTERN.md](patterns/realtime/realtime-application/PATTERN.md)
339
339
  - Examples: [example/](patterns/realtime/realtime-application/example/)
340
340
  - Requires: `@jskit-ai/realtime`, `@jskit-ai/shell-web`
@@ -345,7 +345,7 @@ Compose application-owned Google Publisher Tag delivery with the generic rewarde
345
345
 
346
346
  - Id: `rewards/google-rewarded`
347
347
  - Keywords: `ads`, `google`, `publisher tag`, `rewarded`, `unlock`
348
- - Owner: `@jskit-ai/rewarded-web@0.2.52`
348
+ - Owner: `@jskit-ai/rewarded-web@0.2.54`
349
349
  - Read: [PATTERN.md](patterns/rewards/google-rewarded/PATTERN.md)
350
350
  - Examples: [example/](patterns/rewards/google-rewarded/example/)
351
351
  - Requires: `@jskit-ai/rewarded-web`
@@ -356,7 +356,7 @@ Define a server feature through explicit capabilities and first-class actions, a
356
356
 
357
357
  - Id: `server/feature-package`
358
358
  - Keywords: `actions`, `aggregate`, `feature`, `handle`, `orchestration`, `owns`, `package`, `provider`, `repository`, `routes`, `server`, `table resource`
359
- - Owner: `@jskit-ai/agent-docs@0.1.328`
359
+ - Owner: `@jskit-ai/agent-docs@0.1.330`
360
360
  - Read: [PATTERN.md](patterns/server/feature-package/PATTERN.md)
361
361
  - Examples: [example/](patterns/server/feature-package/example/)
362
362
  - Requires: `@jskit-ai/kernel`
@@ -367,7 +367,7 @@ Compose the JSKIT responsive shell, semantic placements, settings navigation, an
367
367
 
368
368
  - Id: `shell/application-shell`
369
369
  - Keywords: `adaptive`, `app`, `layout`, `navigation`, `placement`, `responsive`, `settings`, `shell`
370
- - Owner: `@jskit-ai/shell-web@0.2.36`
370
+ - Owner: `@jskit-ai/shell-web@0.2.37`
371
371
  - Read: [PATTERN.md](patterns/shell/application-shell/PATTERN.md)
372
372
  - Examples: [example/](patterns/shell/application-shell/example/)
373
373
  - Requires: `@jskit-ai/kernel`, `@jskit-ai/shell-web`
@@ -378,7 +378,7 @@ Add product routes and shell extensions through file routing, semantic placement
378
378
 
379
379
  - Id: `ui/page-and-placement`
380
380
  - Keywords: `component`, `navigation`, `outlet`, `page`, `placement`, `routes`, `section`, `shell`, `subpages`, `vue`
381
- - Owner: `@jskit-ai/shell-web@0.2.36`
381
+ - Owner: `@jskit-ai/shell-web@0.2.37`
382
382
  - Read: [PATTERN.md](patterns/ui/page-and-placement/PATTERN.md)
383
383
  - Examples: [example/](patterns/ui/page-and-placement/example/)
384
384
  - Requires: `@jskit-ai/kernel`, `@jskit-ai/shell-web`
@@ -389,7 +389,7 @@ Compose an account settings route and profile, preference, notification, and sig
389
389
 
390
390
  - Id: `users/account-settings`
391
391
  - Keywords: `account`, `link provider`, `notifications`, `oauth`, `preferences`, `profile`, `settings`, `sign-in methods`, `user`, `vue`
392
- - Owner: `@jskit-ai/users-web@0.2.58`
392
+ - Owner: `@jskit-ai/users-web@0.2.60`
393
393
  - Read: [PATTERN.md](patterns/users/account-settings/PATTERN.md)
394
394
  - Examples: [example/](patterns/users/account-settings/example/)
395
395
  - Requires: `@jskit-ai/shell-web`, `@jskit-ai/users-core`, `@jskit-ai/users-web`
@@ -400,7 +400,7 @@ Expose user administration and workspace-scoped member operations through app-ow
400
400
 
401
401
  - Id: `users/user-administration-server`
402
402
  - Keywords: `account`, `admin`, `member`, `repository`, `resource`, `routes`, `service`, `user`, `workspace`
403
- - Owner: `@jskit-ai/users-core@0.2.45`
403
+ - Owner: `@jskit-ai/users-core@0.2.47`
404
404
  - Read: [PATTERN.md](patterns/users/user-administration-server/PATTERN.md)
405
405
  - Examples: [example/](patterns/users/user-administration-server/example/)
406
406
  - Requires: `@jskit-ai/crud-core`, `@jskit-ai/users-core`
@@ -411,7 +411,7 @@ Configure roles, workspace access policy, invitations, and app-owned invitation
411
411
 
412
412
  - Id: `workspaces/workspace-server`
413
413
  - Keywords: `access`, `invite`, `membership`, `multitenancy`, `policy`, `role`, `tenancy`, `workspace`
414
- - Owner: `@jskit-ai/workspaces-core@0.2.45`
414
+ - Owner: `@jskit-ai/workspaces-core@0.2.47`
415
415
  - Read: [PATTERN.md](patterns/workspaces/workspace-server/PATTERN.md)
416
416
  - Examples: [example/](patterns/workspaces/workspace-server/example/)
417
417
  - Requires: `@jskit-ai/users-core`, `@jskit-ai/workspaces-core`
@@ -422,7 +422,7 @@ Compose workspace selection, invitation, member administration, settings, and re
422
422
 
423
423
  - Id: `workspaces/workspace-surfaces`
424
424
  - Keywords: `admin`, `invite`, `member`, `navigation`, `settings`, `surface`, `switcher`, `workspace`
425
- - Owner: `@jskit-ai/workspaces-web@0.2.58`
425
+ - Owner: `@jskit-ai/workspaces-web@0.2.60`
426
426
  - Read: [PATTERN.md](patterns/workspaces/workspace-surfaces/PATTERN.md)
427
427
  - Examples: [example/](patterns/workspaces/workspace-surfaces/example/)
428
428
  - Requires: `@jskit-ai/shell-web`, `@jskit-ai/workspaces-core`, `@jskit-ai/workspaces-web`
@@ -35,7 +35,7 @@
35
35
  "@local/main": "0.1.0",
36
36
  "@fastify/static": "^10.1.3",
37
37
  "@jskit-ai/kernel": "0.2.26",
38
- "@jskit-ai/material-web": "0.1.7",
38
+ "@jskit-ai/material-web": "0.1.8",
39
39
  "@tanstack/vue-query": "^5.101.0",
40
40
  "fastify": "^5.12.7",
41
41
  "pino": "^10.3.1",
@@ -50,7 +50,7 @@
50
50
  },
51
51
  "devDependencies": {
52
52
  "@jskit-ai/config-eslint": "0.1.252",
53
- "@jskit-ai/jskit-catalog": "0.2.80",
53
+ "@jskit-ai/jskit-catalog": "0.2.82",
54
54
  "@playwright/test": "1.61.1",
55
55
  "@vitejs/plugin-vue": "^6.0.7",
56
56
  "eslint": "^10.8.0",
@@ -35,7 +35,7 @@
35
35
  "@local/main": "0.1.0",
36
36
  "@fastify/static": "^10.1.3",
37
37
  "@jskit-ai/kernel": "0.2.26",
38
- "@jskit-ai/material-web": "0.1.7",
38
+ "@jskit-ai/material-web": "0.1.8",
39
39
  "@tanstack/vue-query": "^5.101.0",
40
40
  "fastify": "^5.12.7",
41
41
  "pino": "^10.3.1",
@@ -45,13 +45,13 @@
45
45
  "vue-router": "^5.3.1",
46
46
  "vuetify": "^4.3.0",
47
47
  "@jskit-ai/http-runtime": "0.2.26",
48
- "@jskit-ai/shell-web": "0.2.36",
48
+ "@jskit-ai/shell-web": "0.2.37",
49
49
  "@fastify/fast-json-stringify-compiler": "^5.1.0",
50
50
  "@vue/devtools-api": "^8.2.1"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@jskit-ai/config-eslint": "0.1.252",
54
- "@jskit-ai/jskit-catalog": "0.2.80",
54
+ "@jskit-ai/jskit-catalog": "0.2.82",
55
55
  "@playwright/test": "1.61.1",
56
56
  "@vitejs/plugin-vue": "^6.0.7",
57
57
  "eslint": "^10.8.0",
@@ -4,6 +4,6 @@
4
4
  "dependencies": {
5
5
  "@jskit-ai/database-runtime": "0.1.275",
6
6
  "@jskit-ai/database-runtime-mysql": "0.1.273",
7
- "@jskit-ai/oidc-issuer-core": "0.1.40"
7
+ "@jskit-ai/oidc-issuer-core": "0.1.41"
8
8
  }
9
9
  }
@@ -2,7 +2,7 @@
2
2
  "private": true,
3
3
  "type": "module",
4
4
  "dependencies": {
5
- "@jskit-ai/auth-provider-oidc-core": "0.2.46",
6
- "@jskit-ai/auth-web": "0.2.42"
5
+ "@jskit-ai/auth-provider-oidc-core": "0.2.47",
6
+ "@jskit-ai/auth-web": "0.2.43"
7
7
  }
8
8
  }
@@ -7,8 +7,8 @@
7
7
  "db:migrate:status": "knex --knexfile ./knexfile.js migrate:list"
8
8
  },
9
9
  "dependencies": {
10
- "@jskit-ai/connectors-core": "0.2.37",
11
- "@jskit-ai/connector-google-calendar": "0.2.37",
10
+ "@jskit-ai/connectors-core": "0.2.38",
11
+ "@jskit-ai/connector-google-calendar": "0.2.38",
12
12
  "@jskit-ai/database-runtime": "0.1.275",
13
13
  "@jskit-ai/database-runtime-mysql": "0.1.273",
14
14
  "knex": "^3.1.0"
@@ -9,7 +9,7 @@
9
9
  "./shared": "./src/shared/index.js"
10
10
  },
11
11
  "dependencies": {
12
- "@jskit-ai/crud-core": "0.2.38",
12
+ "@jskit-ai/crud-core": "0.2.39",
13
13
  "@jskit-ai/resource-core": "0.1.217",
14
14
  "@jskit-ai/resource-crud-core": "0.1.219"
15
15
  },
@@ -2,7 +2,7 @@
2
2
  "private": true,
3
3
  "type": "module",
4
4
  "dependencies": {
5
- "@jskit-ai/realtime": "0.2.39",
6
- "@jskit-ai/shell-web": "0.2.36"
5
+ "@jskit-ai/realtime": "0.2.40",
6
+ "@jskit-ai/shell-web": "0.2.37"
7
7
  }
8
8
  }
@@ -10,9 +10,9 @@
10
10
  "./shared": "./src/shared/index.js"
11
11
  },
12
12
  "dependencies": {
13
- "@jskit-ai/crud-core": "0.2.38",
13
+ "@jskit-ai/crud-core": "0.2.39",
14
14
  "@jskit-ai/resource-crud-core": "0.1.219",
15
- "@jskit-ai/users-core": "0.2.45"
15
+ "@jskit-ai/users-core": "0.2.47"
16
16
  },
17
17
  "jskit": {
18
18
  "kind": "runtime",