You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1fd900c
Browse filesBrowse the repository at this point in the historyBrowse files
fix(client,platform-objects,docs): in-system copy says "this system", not "this environment" (cloud#3002 ruling A)
The ai.models() TSDoc and the /ai/models docs row follow the spec's
"Models this system offers" and cite the AI model list's record as
cloud ADR-0028. permission-sets.mdx says "authored in this system" for
the provenance class the spec renamed; authentication.mdx's two
bootstrap-status sentences and the set-initial-password sentence name
the running system as "this system". The zh-CN, ja-JP and es-ES
packageId help values follow the regenerated en value.
Claude-Session: https://claude.ai/code/session_01SYEJqDL3NXxrJRBVqaMu9T
Co-authored-by: Claude <noreply@anthropic.com>
fix(client,platform-objects): the `ai.models()` TSDoc and the translated permission-set `packageId` help say "this system", as the spec now does
9
+
10
+
-**What changed.** Inside the running system, published copy names the system the reader is in as "this system", and a permission set made here, not shipped by a package, is "authored in this system". `@objectstack/spec` already says both (`AiModelsResponse.models`, the permission set's `packageId` help text); this follows it in two more places.
11
+
- The TSDoc of `client.ai.models()` now reads "Models this system offers in the chat model picker (cloud ADR-0028)". The citation is qualified as `cloud ADR-0028`: the AI service that serves this list is a cloud package, and this repository's ADR-0028 is about metadata naming.
12
+
- The zh-CN, ja-JP and es-ES values of the permission set's `packageId` help text in the Setup forms bundle now say 本系统 / このシステム / este sistema where they said 本环境 / この環境 / este entorno, matching the English text "Leave empty for a set authored in this system."
13
+
-**Unchanged.** Every method, route, type, form field, key and behaviour. No translation key is added or removed.
Copy file name to clipboardExpand all lines: content/docs/api/plugin-endpoints.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -109,7 +109,7 @@ These are the routes `service-ai` mounts, and the SDK method that reaches each:
109
109
| POST |`/ai/chat`|`ai.chat` / `ai.chatStream`| Chat completion — JSON with `stream: false`, otherwise the Vercel UI Message Stream |
110
110
| POST |`/ai/chat/stream`| — | Generic-SSE twin of `/ai/chat`: the same completion without the tool loop or persistence |
111
111
| POST |`/ai/complete`|`ai.complete`| Text completion |
112
-
| GET |`/ai/models`|`ai.models`| Models this environment offers (ADR-0028) |
112
+
| GET |`/ai/models`|`ai.models`| Models this system offers (cloud ADR-0028) |
113
113
| GET |`/ai/status`| — | Active adapter provenance (console diagnostics) |
114
114
| GET |`/ai/effective-model`| — | Resolved model ids and their source (console diagnostics) |
115
115
| POST / GET |`/ai/conversations`|`ai.conversations.create` / `.list`| Create / list conversations — the list is newest first and pages by keyset: send the `id` of the last conversation you hold as `cursor`, and read `hasMore` to learn whether another page follows |
@@ -1122,7 +1122,7 @@ All endpoints are available under `/api/v1/auth/*`:
1122
1122
#### Session
1123
1123
1124
1124
-`GET /api/v1/auth/get-session` - Get current user session
1125
-
-`GET /api/v1/auth/bootstrap-status` - Public, unauthenticated first-run probe: `{ "hasOwner": boolean }`, telling a client whether the admission gate's bootstrap window is still open — i.e. whether this environment has no human user yet ([details](#first-run-bootstrap-status))
1125
+
-`GET /api/v1/auth/bootstrap-status` - Public, unauthenticated first-run probe: `{ "hasOwner": boolean }`, telling a client whether the admission gate's bootstrap window is still open — i.e. whether this system has no human user yet ([details](#first-run-bootstrap-status))
helpText: "El paquete que distribuye este conjunto; un valor que nombra otro paquete se rechaza. Déjalo vacío para un conjunto creado en este entorno."
2337
+
helpText: "El paquete que distribuye este conjunto; un valor que nombra otro paquete se rechaza. Déjalo vacío para un conjunto creado en este sistema."
0 commit comments