@jskit-ai/agent-docs 0.1.329 → 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.
- package/guide/agent/app-extras/assistant.md +7 -3
- package/guide/agent/framework/data-access.md +67 -6
- package/package.json +1 -1
- package/patterns/minimal-foundation/example/package.json +1 -1
- package/patterns/shell-foundation/example/package.json +1 -1
- package/reference/autogen/PATTERN_INDEX.md +25 -25
- package/reference/autogen/packages/assistant-core.md +2 -0
- package/reference/autogen/packages/workspaces-core.md +2 -1
- package/skills/jskit/references/data-access.md +67 -6
- package/skills/jskit/references/pattern-index.md +25 -25
- package/skills/jskit/references/patterns/app/minimal-foundation/example/package.json +1 -1
- package/skills/jskit/references/patterns/app/shell-foundation/example/package.json +1 -1
- package/skills/jskit/references/patterns/connectors/calendar-cli/example/package.json +2 -2
- package/skills/jskit/references/patterns/crud/crud-feature-package/example/packages/books/package.json +1 -1
- package/skills/jskit/references/patterns/users/user-administration-server/example/packages/users/package.json +2 -2
- package/skills/jskit/references/patterns/users/user-administration-server/example/packages/users-workspace/package.json +4 -4
|
@@ -789,9 +789,13 @@ answer in the existing chat rows.
|
|
|
789
789
|
|
|
790
790
|
Replies run on the agent engine (`@jskit-ai/agent`), up to 40 steps by default, so
|
|
791
791
|
catalog search, contract lookup and execution can complete in one turn. A failed
|
|
792
|
-
action reaches the model as its error: a refusal
|
|
793
|
-
validation error, the field errors a person would see on screen,
|
|
794
|
-
say what to fix;
|
|
792
|
+
action reaches the model as its error: a refusal the application raised with its
|
|
793
|
+
message and, for a validation error, the field errors a person would see on screen,
|
|
794
|
+
so the model can say what to fix; a refusal json-rest-api raises itself, whose
|
|
795
|
+
developer text names internal resource types and ids, with its status and
|
|
796
|
+
`Tool call failed.`; an internal failure only as `Tool call failed.` To have the
|
|
797
|
+
model explain a refused write, refuse it in the action, in the application's own
|
|
798
|
+
words, before the write runs. A reply that runs
|
|
795
799
|
out of steps ends with the model's own account of what it did and what is left.
|
|
796
800
|
The engine's checks send a reply back once when it leaks markup, stops at
|
|
797
801
|
announcing its next step (“Let me query…”), or claims an action no tool
|
|
@@ -90,6 +90,7 @@ the filters match.
|
|
|
90
90
|
| system scope | Why a feature works across every workspace and user, declared with `systemScope`. |
|
|
91
91
|
| system context | The context of that work, from `systemContext(reason)`; `forWorkspace`, `forUser` and `forWorkspaceUser` narrow it. |
|
|
92
92
|
| 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. |
|
|
93
|
+
| 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. |
|
|
93
94
|
| `txOptions` | What `withTransaction(options, work)` hands `work`: only the call's context and its transaction, `{ context, trx }`, passed to every call inside. |
|
|
94
95
|
| record | What a handle answers: `{ id, ...fields }`, relationships as ids, included records nested. |
|
|
95
96
|
|
|
@@ -469,7 +470,8 @@ never loads everything the subject was ever linked to into an `IN` list, and
|
|
|
469
470
|
never calls another owner's check once per item: it runs on every read, write
|
|
470
471
|
read-back and lookup, so every request pays what it costs. A policy is told
|
|
471
472
|
who the call runs for as `caller`: `{ kind: "user", userId }` for a signed-in
|
|
472
|
-
request
|
|
473
|
+
request (and for a role context, with its `reason`, which grants nothing),
|
|
474
|
+
`{ kind: "anonymous" }` for one by no one, and `{ kind: "system" }` or
|
|
473
475
|
`{ kind: "job" }` (a context `forWorkspace` and its kin derived), each with its
|
|
474
476
|
`reason`, for background work. A job names a user only as `actorId`, the
|
|
475
477
|
person it works for ([below](#background-work)), so never read a missing actor
|
|
@@ -831,7 +833,11 @@ match while it waited; with a `limit` it stops once it holds that many. A
|
|
|
831
833
|
`limit` outside 1 to 1,000, or a `sort` on no stored field, is refused before
|
|
832
834
|
any statement.
|
|
833
835
|
|
|
834
|
-
A lock answers the rows it locks, with the fields `fields` names.
|
|
836
|
+
A lock answers the rows it locks, with the fields `fields` names. A belongs-to
|
|
837
|
+
field among them is checked against its target as last committed, as the lock
|
|
838
|
+
sees its own rows (on MySQL and MariaDB with a shared lock of the target until
|
|
839
|
+
commit), so a link to a target saved after the transaction's first plain read
|
|
840
|
+
shows, and a link to a target the caller may not see reads null. Its
|
|
835
841
|
`include` names belongs-to relationships (`include: ["customer"]`, or
|
|
836
842
|
`"batch.yard"` a level further): after its own rows, the lock locks the
|
|
837
843
|
records they name through each related table's own handle (its scope, its row
|
|
@@ -852,7 +858,9 @@ sees what had committed when it began, so that read is current. On MySQL and
|
|
|
852
858
|
MariaDB a plain read inside a transaction sees the snapshot of the
|
|
853
859
|
transaction's first plain read, and a lock that waited does not move it. So
|
|
854
860
|
take the lock before any plain read in the transaction: the reads after it then
|
|
855
|
-
see what the lock's previous holder committed.
|
|
861
|
+
see what the lock's previous holder committed. On MySQL and MariaDB a
|
|
862
|
+
`createMany` with `onConflict` reads its keys plainly first, so it counts as a
|
|
863
|
+
plain read here: lock, then upsert. A related row the work decides
|
|
856
864
|
on (is this seat already booked?) is locked itself, through the lock's
|
|
857
865
|
`include` or a lock of its own, or read after a lock that every writer of it
|
|
858
866
|
takes first.
|
|
@@ -920,7 +928,16 @@ the sort's columns, ascending, and then nothing but the id, and the sort's
|
|
|
920
928
|
fields go one way (all ascending or all descending). A unique key the filters
|
|
921
929
|
fix whole, as a membership's workspace and user are, needs nothing more.
|
|
922
930
|
`lockPages` locks in id order, so its index holds nothing after the ownership
|
|
923
|
-
columns and the columns the filters fix but the id.
|
|
931
|
+
columns and the columns the filters fix but the id. In id order it walks the
|
|
932
|
+
owner's rows by id, so on MySQL and MariaDB a lock of the rows of a list
|
|
933
|
+
(every link of the listed actions) holds every row of the owner it passes too.
|
|
934
|
+
Name the list filter in `pageBy` (a filter whose search entry says
|
|
935
|
+
`filterOperator: "in"`, on the table's own column) and the pages follow that
|
|
936
|
+
column, then the id: `lockPages({ actionIds }, { ...txOptions, pageBy:
|
|
937
|
+
"actionIds" })` reads through an index that holds the column after the
|
|
938
|
+
ownership columns and the filters' other fixed columns, and holds the listed
|
|
939
|
+
values' rows alone. Give the values as the column stores them; the statements
|
|
940
|
+
still follow the pages, not the rows.
|
|
924
941
|
|
|
925
942
|
A worker taking the next job uses `claim({ filters, sort, take }, txOptions)`,
|
|
926
943
|
which skips rows another worker holds. A record that serializes work on a key
|
|
@@ -930,7 +947,15 @@ it locks the record, creating it from the row first when it is missing, and
|
|
|
930
947
|
runs `work(record, txOptions)` in the same transaction, so failed work leaves
|
|
931
948
|
no record behind. On its own it runs work once, so work may call a provider:
|
|
932
949
|
two first uses of one id at once can collide on the insert, and the loser runs
|
|
933
|
-
again before its work starts.
|
|
950
|
+
again before its work starts. On MySQL and MariaDB first uses of neighbouring
|
|
951
|
+
ids collide too: the lock of an id no row holds locks the gap where it would
|
|
952
|
+
go, and two such locks in one gap make both inserts wait for each other, a
|
|
953
|
+
deadlock the database ends by failing one. It locks before it inserts all the
|
|
954
|
+
same, since an upsert reads its keys plainly, and a plain read before the lock
|
|
955
|
+
would leave the work reading the rows as they stood before the record's
|
|
956
|
+
previous holder committed. In a transaction of its own it runs the loser
|
|
957
|
+
again; in the caller's, the caller's `withTransaction` runs the unit again when
|
|
958
|
+
it opened the transaction.
|
|
934
959
|
|
|
935
960
|
Every lock takes `FOR UPDATE`, as `patchWhere` does for the rows it selects,
|
|
936
961
|
which also keeps out another transaction's insert of a row that references the
|
|
@@ -998,7 +1023,13 @@ locks that read it, and work that locks through a policy and then writes a row
|
|
|
998
1023
|
the policy read can deadlock with work doing the same (the database fails one,
|
|
999
1024
|
and `withTransaction` runs it again). Give the policy's subqueries an index
|
|
1000
1025
|
that finds the deciding rows directly, since on MySQL and MariaDB a locking
|
|
1001
|
-
subquery locks every row it examines.
|
|
1026
|
+
subquery locks every row it examines. The rows a subquery examines are the
|
|
1027
|
+
rows its plan walks, not the rows it returns: one that reads through another
|
|
1028
|
+
table by a link (a module's definition by its id) and narrows to the caller's
|
|
1029
|
+
owner after the walk locks the rows of every owner its index range crosses.
|
|
1030
|
+
Give each nested read a filter on the owner's columns that an index leads
|
|
1031
|
+
with, or keep the walk out of the lock: lock the rows, then check the linked
|
|
1032
|
+
rows with a read of their own. `claim` keeps its policy's subqueries
|
|
1002
1033
|
plain reads. Rows
|
|
1003
1034
|
of several owners are never locked in one statement over a join, which on
|
|
1004
1035
|
MySQL and MariaDB locks every joined row the read examines: lock each owner's
|
|
@@ -1425,6 +1456,36 @@ const SettlementFeature = defineFeature({
|
|
|
1425
1456
|
account its auth provider refuses at sign-in (a local account marked
|
|
1426
1457
|
disabled) is still resolved; a job that must skip such people asks the
|
|
1427
1458
|
provider first.
|
|
1459
|
+
- Installer and seed work the platform does in a workspace for a person who
|
|
1460
|
+
is no member there, or a member in another role (the required records a
|
|
1461
|
+
workspace gets for the platform's owner, a seed's starter data), acts in a
|
|
1462
|
+
role of the catalog with `workspaces.roleContext`, never with a hand-built
|
|
1463
|
+
membership:
|
|
1464
|
+
|
|
1465
|
+
```js
|
|
1466
|
+
// requires: { workspaces: "workspaces.core" }; the feature declares systemScope
|
|
1467
|
+
const installer = await workspaces.roleContext(
|
|
1468
|
+
{ workspaceId, userId: platformOwnerId, role: "owner", reason: "install the workspace's required records" },
|
|
1469
|
+
{ context: systemContext("install each workspace's required records") }
|
|
1470
|
+
);
|
|
1471
|
+
```
|
|
1472
|
+
|
|
1473
|
+
It has exactly a member context's shape: the user is its actor, its
|
|
1474
|
+
`membership` is `{ workspaceId, userId, roleSid, status: "active" }` in that
|
|
1475
|
+
role, never saved and replacing any membership the user has there, and its
|
|
1476
|
+
`permissions` are the role's, so a permission check and a row policy decide
|
|
1477
|
+
as for a member in that role, and an action it runs keeps that membership.
|
|
1478
|
+
It is no system context and no job: request row limits apply and other
|
|
1479
|
+
owners' hidden fields stay hidden. It records its `reason`, which a row
|
|
1480
|
+
policy reads as `caller.reason` and which grants nothing. Only a system
|
|
1481
|
+
context makes one, with a reason: any other context, a missing reason, ids
|
|
1482
|
+
that are no record ids and a role the catalog lacks are a TypeError before
|
|
1483
|
+
any statement; a missing or deleted workspace is 404
|
|
1484
|
+
`workspaces.workspace.notFound` and a user id naming no one 404
|
|
1485
|
+
`users.profile.notFound`. It reads the user, the workspace and its settings,
|
|
1486
|
+
and writes nothing. Work done as a real member takes `memberContext`, which
|
|
1487
|
+
refuses anyone who is not one; `roleContext` is for installer and seed work
|
|
1488
|
+
only, where the person is not given that role in the workspace.
|
|
1428
1489
|
- A job finds its units with an `aggregate` grouped by the ownership field,
|
|
1429
1490
|
which a system context may group by (and count distinct) even when the table
|
|
1430
1491
|
hides it, then runs each unit scoped to it. It reads the units in pages, all
|
package/package.json
CHANGED
|
@@ -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.
|
|
18
|
+
- Owner: `@jskit-ai/agent-docs@0.1.330`
|
|
19
19
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/app/minimal-foundation/PATTERN.md)
|
|
20
20
|
- Examples: [example/](../../skills/jskit/references/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.
|
|
29
|
+
- Owner: `@jskit-ai/agent-docs@0.1.330`
|
|
30
30
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/app/shell-foundation/PATTERN.md)
|
|
31
31
|
- Examples: [example/](../../skills/jskit/references/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.
|
|
40
|
+
- Owner: `@jskit-ai/assistant-runtime@0.2.68`
|
|
41
41
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/assistant/assistant-surface/PATTERN.md)
|
|
42
42
|
- Examples: [example/](../../skills/jskit/references/patterns/assistant/assistant-surface/example/)
|
|
43
43
|
- Requires: `@jskit-ai/assistant-runtime`, `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`, `@jskit-ai/shell-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.
|
|
95
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.39`
|
|
96
96
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/ai-connections/PATTERN.md)
|
|
97
97
|
- Examples: [example/](../../skills/jskit/references/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.
|
|
106
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.39`
|
|
107
107
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/api-key-connection/PATTERN.md)
|
|
108
108
|
- Examples: [example/](../../skills/jskit/references/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.
|
|
117
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.39`
|
|
118
118
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/assistant-mcp/PATTERN.md)
|
|
119
119
|
- Examples: [example/](../../skills/jskit/references/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.
|
|
128
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.39`
|
|
129
129
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/assistant-mcp-oauth/PATTERN.md)
|
|
130
130
|
- Examples: [example/](../../skills/jskit/references/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.
|
|
139
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.39`
|
|
140
140
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/aws-storage-queries/PATTERN.md)
|
|
141
141
|
- Examples: [example/](../../skills/jskit/references/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.
|
|
150
|
+
- Owner: `@jskit-ai/connector-google-calendar@0.2.38`
|
|
151
151
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/calendar-cli/PATTERN.md)
|
|
152
152
|
- Examples: [example/](../../skills/jskit/references/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.
|
|
161
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.39`
|
|
162
162
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/event-delivery/PATTERN.md)
|
|
163
163
|
- Examples: [example/](../../skills/jskit/references/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.
|
|
172
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.39`
|
|
173
173
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/firebase-messaging/PATTERN.md)
|
|
174
174
|
- Examples: [example/](../../skills/jskit/references/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.
|
|
183
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.39`
|
|
184
184
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/google-ads-search/PATTERN.md)
|
|
185
185
|
- Examples: [example/](../../skills/jskit/references/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.
|
|
194
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.39`
|
|
195
195
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/oauth-connection/PATTERN.md)
|
|
196
196
|
- Examples: [example/](../../skills/jskit/references/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.
|
|
205
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.39`
|
|
206
206
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/paddle-catalogue/PATTERN.md)
|
|
207
207
|
- Examples: [example/](../../skills/jskit/references/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.
|
|
216
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.39`
|
|
217
217
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/public-image/PATTERN.md)
|
|
218
218
|
- Examples: [example/](../../skills/jskit/references/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.
|
|
227
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.39`
|
|
228
228
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/redshift-queries/PATTERN.md)
|
|
229
229
|
- Examples: [example/](../../skills/jskit/references/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.
|
|
238
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.39`
|
|
239
239
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/source-scanning/PATTERN.md)
|
|
240
240
|
- Examples: [example/](../../skills/jskit/references/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.
|
|
249
|
+
- Owner: `@jskit-ai/console-web@0.1.277`
|
|
250
250
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/console/console-surface/PATTERN.md)
|
|
251
251
|
- Examples: [example/](../../skills/jskit/references/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.
|
|
271
|
+
- Owner: `@jskit-ai/crud-core@0.2.39`
|
|
272
272
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/crud/crud-feature-package/PATTERN.md)
|
|
273
273
|
- Examples: [example/](../../skills/jskit/references/patterns/crud/crud-feature-package/example/)
|
|
274
274
|
- Requires: `@jskit-ai/crud-core`, `@jskit-ai/resource-core`, `@jskit-ai/resource-crud-core`
|
|
@@ -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.
|
|
348
|
+
- Owner: `@jskit-ai/rewarded-web@0.2.54`
|
|
349
349
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/rewards/google-rewarded/PATTERN.md)
|
|
350
350
|
- Examples: [example/](../../skills/jskit/references/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.
|
|
359
|
+
- Owner: `@jskit-ai/agent-docs@0.1.330`
|
|
360
360
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/server/feature-package/PATTERN.md)
|
|
361
361
|
- Examples: [example/](../../skills/jskit/references/patterns/server/feature-package/example/)
|
|
362
362
|
- Requires: `@jskit-ai/kernel`
|
|
@@ -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.
|
|
392
|
+
- Owner: `@jskit-ai/users-web@0.2.60`
|
|
393
393
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/users/account-settings/PATTERN.md)
|
|
394
394
|
- Examples: [example/](../../skills/jskit/references/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.
|
|
403
|
+
- Owner: `@jskit-ai/users-core@0.2.47`
|
|
404
404
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/users/user-administration-server/PATTERN.md)
|
|
405
405
|
- Examples: [example/](../../skills/jskit/references/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.
|
|
414
|
+
- Owner: `@jskit-ai/workspaces-core@0.2.47`
|
|
415
415
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/workspaces/workspace-server/PATTERN.md)
|
|
416
416
|
- Examples: [example/](../../skills/jskit/references/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.
|
|
425
|
+
- Owner: `@jskit-ai/workspaces-web@0.2.60`
|
|
426
426
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/workspaces/workspace-surfaces/PATTERN.md)
|
|
427
427
|
- Examples: [example/](../../skills/jskit/references/patterns/workspaces/workspace-surfaces/example/)
|
|
428
428
|
- Requires: `@jskit-ai/shell-web`, `@jskit-ai/workspaces-core`, `@jskit-ai/workspaces-web`
|
|
@@ -2063,6 +2063,8 @@ Local functions
|
|
|
2063
2063
|
- `decodeDiscoveryCursor(value, query)`
|
|
2064
2064
|
- `truncateDescription(value, maxLength = 240)`
|
|
2065
2065
|
- `resolveValidationFailureMessage(error)`
|
|
2066
|
+
- `isJsonRestApiError(error)`
|
|
2067
|
+
- `applicationRefusal(error)`
|
|
2066
2068
|
- `canInvokeMethod(permission, context)`
|
|
2067
2069
|
- `stripWorkspaceSlugFromSchema(schema, context = {})`
|
|
2068
2070
|
- `canUseToolOnSurface(entry = {}, context = {})`
|
|
@@ -71,9 +71,10 @@ Local functions
|
|
|
71
71
|
|
|
72
72
|
### `src/server/common/services/workspaceMemberContext.js`
|
|
73
73
|
Exports
|
|
74
|
-
- `createWorkspaceMemberContexts({ workspaceService, userProfiles })`
|
|
74
|
+
- `createWorkspaceMemberContexts({ workspaceService, userProfiles, roleCatalog })`
|
|
75
75
|
Local functions
|
|
76
76
|
- `memberActorOf(profile)`
|
|
77
|
+
- `workspaceUserContextOf(profile, resolvedWorkspaceContext)`
|
|
77
78
|
|
|
78
79
|
### `src/server/common/support/realtimeServiceEvents.js`
|
|
79
80
|
Exports
|
|
@@ -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
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
@@ -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.
|
|
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.
|
|
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.
|
|
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`
|
|
@@ -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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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`
|
|
@@ -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.
|
|
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.
|
|
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`
|
|
@@ -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.
|
|
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.
|
|
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.
|
|
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.
|
|
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`
|
|
@@ -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.
|
|
11
|
-
"@jskit-ai/connector-google-calendar": "0.2.
|
|
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"
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
"./shared": "./src/shared/index.js"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@jskit-ai/crud-core": "0.2.
|
|
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.
|
|
15
|
+
"@jskit-ai/users-core": "0.2.47"
|
|
16
16
|
},
|
|
17
17
|
"jskit": {
|
|
18
18
|
"kind": "runtime",
|
|
@@ -10,14 +10,14 @@
|
|
|
10
10
|
"./shared": "./src/shared/index.js"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@jskit-ai/crud-core": "0.2.
|
|
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.
|
|
16
|
-
"@jskit-ai/workspaces-core": "0.2.
|
|
15
|
+
"@jskit-ai/users-core": "0.2.47",
|
|
16
|
+
"@jskit-ai/workspaces-core": "0.2.47"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
19
|
"@jskit-ai/kernel": "0.2.26",
|
|
20
|
-
"@jskit-ai/resource-runtime": "0.2.
|
|
20
|
+
"@jskit-ai/resource-runtime": "0.2.35"
|
|
21
21
|
},
|
|
22
22
|
"jskit": {
|
|
23
23
|
"kind": "runtime",
|