@jskit-ai/agent-docs 0.1.271 → 0.1.272

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 (29) hide show
  1. package/guide/agent/app-setup/authentication.md +149 -0
  2. package/guide/agent/framework/typed-features.md +5 -0
  3. package/package.json +1 -1
  4. package/patterns/feature-package/example/booking-engine/package.json +1 -1
  5. package/patterns/minimal-foundation/example/package.json +3 -3
  6. package/patterns/shell-foundation/example/package.json +4 -4
  7. package/patterns/shell-foundation/example/packages/main/package.json +1 -1
  8. package/reference/autogen/PATTERN_INDEX.md +37 -37
  9. package/reference/autogen/packages/auth-core.md +9 -2
  10. package/reference/autogen/packages/auth-provider-local-core.md +85 -21
  11. package/reference/autogen/packages/auth-provider-local-db-core.md +7 -0
  12. package/reference/autogen/packages/auth-web.md +13 -2
  13. package/reference/autogen/packages/kernel.md +15 -0
  14. package/skills/jskit/references/pattern-index.md +37 -37
  15. package/skills/jskit/references/patterns/app/minimal-foundation/example/package.json +3 -3
  16. package/skills/jskit/references/patterns/app/shell-foundation/example/package.json +4 -4
  17. package/skills/jskit/references/patterns/app/shell-foundation/example/packages/main/package.json +1 -1
  18. package/skills/jskit/references/patterns/auth/accounts-hub/example/package.json +2 -2
  19. package/skills/jskit/references/patterns/auth/oidc-sign-in/example/package.json +2 -2
  20. package/skills/jskit/references/patterns/auth/supabase-auth/example/package.json +1 -1
  21. package/skills/jskit/references/patterns/connectors/calendar-cli/example/package.json +4 -4
  22. package/skills/jskit/references/patterns/crud/json-api-resource-package/example/packages/books/package.json +2 -2
  23. package/skills/jskit/references/patterns/database/mysql-application/example/package.json +1 -1
  24. package/skills/jskit/references/patterns/database/postgres-application/example/package.json +1 -1
  25. package/skills/jskit/references/patterns/realtime/realtime-application/example/package.json +2 -2
  26. package/skills/jskit/references/patterns/server/feature-package/example/booking-engine/package.json +1 -1
  27. package/skills/jskit/references/patterns/users/user-administration-server/example/packages/users/package.json +2 -2
  28. package/skills/jskit/references/patterns/users/user-administration-server/example/packages/users-workspace/package.json +3 -3
  29. package/skills/jskit/references/typed-features.md +5 -0
@@ -2,7 +2,7 @@
2
2
  "private": true,
3
3
  "type": "module",
4
4
  "dependencies": {
5
- "@jskit-ai/database-runtime-mysql": "0.1.255",
6
- "@jskit-ai/oidc-issuer-core": "0.1.15"
5
+ "@jskit-ai/database-runtime-mysql": "0.1.256",
6
+ "@jskit-ai/oidc-issuer-core": "0.1.16"
7
7
  }
8
8
  }
@@ -2,7 +2,7 @@
2
2
  "private": true,
3
3
  "type": "module",
4
4
  "dependencies": {
5
- "@jskit-ai/auth-provider-oidc-core": "0.2.13",
6
- "@jskit-ai/auth-web": "0.2.11"
5
+ "@jskit-ai/auth-provider-oidc-core": "0.2.14",
6
+ "@jskit-ai/auth-web": "0.2.12"
7
7
  }
8
8
  }
@@ -2,6 +2,6 @@
2
2
  "private": true,
3
3
  "type": "module",
4
4
  "dependencies": {
5
- "@jskit-ai/auth-provider-supabase-core": "0.2.10"
5
+ "@jskit-ai/auth-provider-supabase-core": "0.2.11"
6
6
  }
7
7
  }
@@ -7,10 +7,10 @@
7
7
  "db:migrate:status": "knex --knexfile ./knexfile.js migrate:list"
8
8
  },
9
9
  "dependencies": {
10
- "@jskit-ai/connectors-core": "0.2.9",
11
- "@jskit-ai/connector-google-calendar": "0.2.9",
12
- "@jskit-ai/database-runtime": "0.1.257",
13
- "@jskit-ai/database-runtime-mysql": "0.1.255",
10
+ "@jskit-ai/connectors-core": "0.2.10",
11
+ "@jskit-ai/connector-google-calendar": "0.2.10",
12
+ "@jskit-ai/database-runtime": "0.1.258",
13
+ "@jskit-ai/database-runtime-mysql": "0.1.256",
14
14
  "knex": "^3.1.0"
15
15
  }
16
16
  }
@@ -9,8 +9,8 @@
9
9
  "./shared": "./src/shared/index.js"
10
10
  },
11
11
  "dependencies": {
12
- "@jskit-ai/crud-core": "0.2.9",
13
- "@jskit-ai/resource-crud-core": "0.1.199"
12
+ "@jskit-ai/crud-core": "0.2.10",
13
+ "@jskit-ai/resource-crud-core": "0.1.200"
14
14
  },
15
15
  "jskit": {
16
16
  "kind": "runtime",
@@ -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.255"
11
+ "@jskit-ai/database-runtime-mysql": "0.1.256"
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.254"
11
+ "@jskit-ai/database-runtime-postgres": "0.1.255"
12
12
  }
13
13
  }
@@ -2,7 +2,7 @@
2
2
  "private": true,
3
3
  "type": "module",
4
4
  "dependencies": {
5
- "@jskit-ai/realtime": "0.2.12",
6
- "@jskit-ai/shell-web": "0.2.9"
5
+ "@jskit-ai/realtime": "0.2.13",
6
+ "@jskit-ai/shell-web": "0.2.10"
7
7
  }
8
8
  }
@@ -5,7 +5,7 @@
5
5
  "private": true,
6
6
  "type": "module",
7
7
  "dependencies": {
8
- "@jskit-ai/kernel": "0.2.8",
8
+ "@jskit-ai/kernel": "0.2.9",
9
9
  "json-rest-schema": "^1.0.17"
10
10
  },
11
11
  "exports": {
@@ -10,8 +10,8 @@
10
10
  "./shared": "./src/shared/index.js"
11
11
  },
12
12
  "dependencies": {
13
- "@jskit-ai/crud-core": "0.2.9",
14
- "@jskit-ai/resource-crud-core": "0.1.199"
13
+ "@jskit-ai/crud-core": "0.2.10",
14
+ "@jskit-ai/resource-crud-core": "0.1.200"
15
15
  },
16
16
  "jskit": {
17
17
  "kind": "runtime",
@@ -10,9 +10,9 @@
10
10
  "./shared": "./src/shared/index.js"
11
11
  },
12
12
  "dependencies": {
13
- "@jskit-ai/crud-core": "0.2.9",
14
- "@jskit-ai/resource-crud-core": "0.1.199",
15
- "@jskit-ai/workspaces-core": "0.2.10"
13
+ "@jskit-ai/crud-core": "0.2.10",
14
+ "@jskit-ai/resource-crud-core": "0.1.200",
15
+ "@jskit-ai/workspaces-core": "0.2.11"
16
16
  },
17
17
  "jskit": {
18
18
  "kind": "runtime",
@@ -730,6 +730,11 @@ for anything that reads or writes the domain.**
730
730
  `request.executeAction({ actionId: ACTION_X, input })` returns.
731
731
  - A route that bypasses actions (a provider's callback) gets its own named
732
732
  registrar. Summaries are sentences.
733
+ - A route that repetition can abuse (sign-in, codes, sending email) declares
734
+ `rateLimit: { max, timeWindow }`, which the kernel enforces per client
735
+ address and refuses with 429, `kernel.http.rateLimited` and `Retry-After`.
736
+ A limit worth changing per application is read from its config, as
737
+ `config.auth.rateLimits` is.
733
738
 
734
739
  Why: an action is the one place a domain operation's policy, input and
735
740
  events are declared.