@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.
Files changed (35) hide show
  1. package/guide/agent/app-extras/assistant-conversation.md +10 -4
  2. package/guide/agent/app-extras/realtime.md +8 -4
  3. package/guide/agent/app-setup/multi-homing.md +189 -1
  4. package/package.json +1 -1
  5. package/patterns/feature-package/example/booking-engine/package.json +1 -1
  6. package/patterns/minimal-foundation/example/package.json +3 -3
  7. package/patterns/shell-foundation/example/package.json +4 -4
  8. package/patterns/shell-foundation/example/packages/main/package.json +1 -1
  9. package/reference/autogen/KERNEL_MAP.md +2 -0
  10. package/reference/autogen/PATTERN_INDEX.md +37 -37
  11. package/reference/autogen/packages/assistant-core.md +1 -1
  12. package/reference/autogen/packages/database-runtime.md +8 -1
  13. package/reference/autogen/packages/kernel.md +2 -0
  14. package/reference/autogen/packages/realtime.md +1 -0
  15. package/reference/autogen/packages/workspaces-core.md +4 -3
  16. package/reference/autogen/packages/workspaces-web.md +25 -2
  17. package/skills/jskit/references/multi-homing.md +189 -1
  18. package/skills/jskit/references/pattern-index.md +37 -37
  19. package/skills/jskit/references/patterns/app/minimal-foundation/example/package.json +3 -3
  20. package/skills/jskit/references/patterns/app/shell-foundation/example/package.json +4 -4
  21. package/skills/jskit/references/patterns/app/shell-foundation/example/packages/main/package.json +1 -1
  22. package/skills/jskit/references/patterns/auth/accounts-hub/example/package.json +2 -2
  23. package/skills/jskit/references/patterns/auth/oidc-sign-in/example/package.json +2 -2
  24. package/skills/jskit/references/patterns/auth/supabase-auth/example/package.json +1 -1
  25. package/skills/jskit/references/patterns/connectors/calendar-cli/example/package.json +4 -4
  26. package/skills/jskit/references/patterns/crud/json-api-resource-package/example/packages/books/package.json +2 -2
  27. package/skills/jskit/references/patterns/database/mysql-application/example/package.json +1 -1
  28. package/skills/jskit/references/patterns/database/postgres-application/example/package.json +1 -1
  29. package/skills/jskit/references/patterns/realtime/realtime-application/example/package.json +2 -2
  30. package/skills/jskit/references/patterns/server/feature-package/example/booking-engine/package.json +1 -1
  31. package/skills/jskit/references/patterns/users/user-administration-server/example/packages/users/package.json +2 -2
  32. package/skills/jskit/references/patterns/users/user-administration-server/example/packages/users-workspace/package.json +3 -3
  33. package/skills/jskit/references/patterns/workspaces/workspace-server/PATTERN.md +6 -0
  34. package/skills/jskit/references/patterns/workspaces/workspace-surfaces/PATTERN.md +10 -2
  35. package/skills/jskit/references/patterns/workspaces/workspace-surfaces/example/src/pages/home/workspaces/index.vue +7 -0
@@ -8,6 +8,6 @@
8
8
  "db:migrate:status": "knex --knexfile ./knexfile.js migrate:list"
9
9
  },
10
10
  "dependencies": {
11
- "@jskit-ai/database-runtime-mysql": "0.1.244"
11
+ "@jskit-ai/database-runtime-mysql": "0.1.246"
12
12
  }
13
13
  }
@@ -8,6 +8,6 @@
8
8
  "db:migrate:status": "knex --knexfile ./knexfile.js migrate:list"
9
9
  },
10
10
  "dependencies": {
11
- "@jskit-ai/database-runtime-postgres": "0.1.243"
11
+ "@jskit-ai/database-runtime-postgres": "0.1.245"
12
12
  }
13
13
  }
@@ -2,7 +2,7 @@
2
2
  "private": true,
3
3
  "type": "module",
4
4
  "dependencies": {
5
- "@jskit-ai/realtime": "0.1.246",
6
- "@jskit-ai/shell-web": "0.1.253"
5
+ "@jskit-ai/realtime": "0.1.248",
6
+ "@jskit-ai/shell-web": "0.1.255"
7
7
  }
8
8
  }
@@ -5,7 +5,7 @@
5
5
  "private": true,
6
6
  "type": "module",
7
7
  "dependencies": {
8
- "@jskit-ai/kernel": "0.1.246",
8
+ "@jskit-ai/kernel": "0.1.248",
9
9
  "json-rest-schema": "^1.0.17"
10
10
  },
11
11
  "exports": {
@@ -9,8 +9,8 @@
9
9
  "./shared": "./src/shared/index.js"
10
10
  },
11
11
  "dependencies": {
12
- "@jskit-ai/crud-core": "0.1.257",
13
- "@jskit-ai/resource-crud-core": "0.1.188"
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.257",
13
- "@jskit-ai/resource-crud-core": "0.1.188",
14
- "@jskit-ai/workspaces-core": "0.1.224"
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
- member and settings routes, not-found state, app-owned invitation widgets, and
47
- the components that an application's client provider registers.
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
 
@@ -0,0 +1,7 @@
1
+ <template>
2
+ <WorkspacesClientElement />
3
+ </template>
4
+
5
+ <script setup>
6
+ import WorkspacesClientElement from "@jskit-ai/workspaces-web/client/components/WorkspacesClientElement";
7
+ </script>