@jskit-ai/agent-docs 0.1.245 → 0.1.247
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/guide/agent/app-extras/assistant-conversation.md +10 -4
- package/guide/agent/app-extras/realtime.md +8 -4
- package/guide/agent/app-setup/multi-homing.md +189 -1
- package/package.json +1 -1
- package/patterns/feature-package/example/booking-engine/package.json +1 -1
- package/patterns/minimal-foundation/example/package.json +3 -3
- package/patterns/shell-foundation/example/package.json +4 -4
- package/patterns/shell-foundation/example/packages/main/package.json +1 -1
- package/reference/autogen/KERNEL_MAP.md +2 -0
- package/reference/autogen/PATTERN_INDEX.md +37 -37
- package/reference/autogen/packages/assistant-core.md +1 -1
- package/reference/autogen/packages/database-runtime.md +8 -1
- package/reference/autogen/packages/kernel.md +2 -0
- package/reference/autogen/packages/realtime.md +1 -0
- package/reference/autogen/packages/workspaces-core.md +4 -3
- package/reference/autogen/packages/workspaces-web.md +25 -2
- package/skills/jskit/references/multi-homing.md +189 -1
- package/skills/jskit/references/pattern-index.md +37 -37
- package/skills/jskit/references/patterns/app/minimal-foundation/example/package.json +3 -3
- package/skills/jskit/references/patterns/app/shell-foundation/example/package.json +4 -4
- package/skills/jskit/references/patterns/app/shell-foundation/example/packages/main/package.json +1 -1
- package/skills/jskit/references/patterns/auth/accounts-hub/example/package.json +2 -2
- package/skills/jskit/references/patterns/auth/oidc-sign-in/example/package.json +2 -2
- package/skills/jskit/references/patterns/auth/supabase-auth/example/package.json +1 -1
- package/skills/jskit/references/patterns/connectors/calendar-cli/example/package.json +4 -4
- package/skills/jskit/references/patterns/crud/json-api-resource-package/example/packages/books/package.json +2 -2
- package/skills/jskit/references/patterns/database/mysql-application/example/package.json +1 -1
- package/skills/jskit/references/patterns/database/postgres-application/example/package.json +1 -1
- package/skills/jskit/references/patterns/realtime/realtime-application/example/package.json +2 -2
- package/skills/jskit/references/patterns/server/feature-package/example/booking-engine/package.json +1 -1
- package/skills/jskit/references/patterns/users/user-administration-server/example/packages/users/package.json +2 -2
- package/skills/jskit/references/patterns/users/user-administration-server/example/packages/users-workspace/package.json +3 -3
- package/skills/jskit/references/patterns/workspaces/workspace-server/PATTERN.md +6 -0
- package/skills/jskit/references/patterns/workspaces/workspace-surfaces/PATTERN.md +10 -2
- package/skills/jskit/references/patterns/workspaces/workspace-surfaces/example/src/pages/home/workspaces/index.vue +7 -0
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
"./shared": "./src/shared/index.js"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@jskit-ai/crud-core": "0.1.
|
|
13
|
-
"@jskit-ai/resource-crud-core": "0.1.
|
|
12
|
+
"@jskit-ai/crud-core": "0.1.259",
|
|
13
|
+
"@jskit-ai/resource-crud-core": "0.1.190"
|
|
14
14
|
},
|
|
15
15
|
"jskit": {
|
|
16
16
|
"kind": "runtime",
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
"./shared": "./src/shared/index.js"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@jskit-ai/crud-core": "0.1.
|
|
13
|
-
"@jskit-ai/resource-crud-core": "0.1.
|
|
14
|
-
"@jskit-ai/workspaces-core": "0.1.
|
|
12
|
+
"@jskit-ai/crud-core": "0.1.259",
|
|
13
|
+
"@jskit-ai/resource-crud-core": "0.1.190",
|
|
14
|
+
"@jskit-ai/workspaces-core": "0.1.226"
|
|
15
15
|
},
|
|
16
16
|
"jskit": {
|
|
17
17
|
"kind": "runtime",
|
|
@@ -23,6 +23,12 @@ substitute for a simpler domain ownership column.
|
|
|
23
23
|
Choose workspace creation policy, roles, invitation policy, expiry, email copy,
|
|
24
24
|
member permissions, personal-workspace behavior, and surface access rules.
|
|
25
25
|
|
|
26
|
+
In `workspaces` mode, `tenancyPolicy.workspace.autoProvision: true` gives every
|
|
27
|
+
user a personal workspace in addition to shared ones; the server config function
|
|
28
|
+
`personalWorkspaceName(user)` names it. `workspaceSettings.defaults` sets
|
|
29
|
+
`invitesEnabled` and the colours (`lightPrimaryColor`, `darkPrimaryColor` and
|
|
30
|
+
the other palette fields) that new workspaces start with.
|
|
31
|
+
|
|
26
32
|
## Framework APIs
|
|
27
33
|
|
|
28
34
|
Use workspace routes, resources, scope helpers, tenancy profiles, and settings
|
|
@@ -24,6 +24,13 @@ Choose public invitation routes, application/admin surface ids, workspace
|
|
|
24
24
|
selector behavior, member-management permissions, settings sections, and the
|
|
25
25
|
empty or not-found experience.
|
|
26
26
|
|
|
27
|
+
Choose where signed-in people land. The default surface does not require a
|
|
28
|
+
workspace, so `/`, invitation links and the **Your workspaces** page work
|
|
29
|
+
without one. Keep a landing page there, or mount `WorkspacesClientElement` on
|
|
30
|
+
it to open the last workspace used in this browser, or the only one, and
|
|
31
|
+
otherwise show the person's workspaces, pending invitations and first-workspace
|
|
32
|
+
creation.
|
|
33
|
+
|
|
27
34
|
## Framework APIs
|
|
28
35
|
|
|
29
36
|
Use the workspace client provider, components, and composables exported by
|
|
@@ -43,8 +50,9 @@ Use the workspace client provider, components, and composables exported by
|
|
|
43
50
|
## Example files
|
|
44
51
|
|
|
45
52
|
`example/` contains workspace app/admin roots, starter pages, invitation route,
|
|
46
|
-
|
|
47
|
-
|
|
53
|
+
the **Your workspaces** page at `src/pages/home/workspaces/index.vue`, member
|
|
54
|
+
and settings routes, not-found state, app-owned invitation widgets, and the
|
|
55
|
+
components that an application's client provider registers.
|
|
48
56
|
|
|
49
57
|
## Variation points
|
|
50
58
|
|