Skip to content

Commit f566aa2

Browse files
committed
Merge origin/main into claude/project-thread-ewid2r
Claude-Session: https://claude.ai/code/session_01QsR2jQtTxhjJ5tQUg79qSg Co-Authored-By: Claude <noreply@anthropic.com>
2 parents e389f7f + 00d0668 commit f566aa2

80 files changed

Lines changed: 3443 additions & 709 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
'@objectstack/skills': patch
3+
---
4+
5+
docs(skills): objectstack-upgrade says a stored row in a ≤16.x shape stops being rewritten at read on 18.3, and teaches the stored pass on 18.2 or earlier first
6+
7+
Clause-②: no
8+
Metadata-protocol: none
9+
10+
- **Before.** § "Stored rows" said every stored-row rehydration replays the conversion chain including entries retired from the load path, so "a row written under protocol 16 therefore rehydrates in its protocol-17 shape without anybody editing it", and offered `os migrate meta --stored --apply` only as a way to make that durable. § 3.6 called the read-time rehydration "still the guarantee", the report template marked the stored pass optional ("rows rehydrate correctly today"), and eval 4 expected the same answer. On 18.3, which drops every conversion retired at or below 16.x, that advice leaves such a row unconverted for good.
11+
- **Now.** The section says rehydration replays only the conversions the installed release still carries, that 18.3 drops those retired at or below 16.x, and to run the stored pass on the release being left (18.2 or earlier for such a row) before moving; § 3.6 says the `os migrate meta --stored --json` exit `0` counts only on the release being left, because one that dropped a row's conversions answers `0` without recognising the row; the report template's stored-pass line says it is owed before any release that drops the rows' conversions. Eval 4's expected answer says the same, and new eval 5 asks the 18.1 → 18.3 question directly.
12+
- `SKILL.md` and `references/examples-upgrade.md` stay under their token ceilings (no ceiling moves). No schema, key, command or behaviour changes.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
'@objectstack/service-automation': patch
3+
---
4+
5+
fix(service-automation): a connection marked "reconnect required" says the cause that actually happened (#28863)
6+
7+
Clause-②: no — prose, and the stored `status_reason` text of two refresh paths. No accept set, status value, error code or export changes meaning.
8+
Metadata-protocol: none
9+
10+
A connector connection becomes `reconnect_required` four ways: the authorization server refuses the grant on refresh (`invalid_grant`); it issued no refresh token; the connection keeps no client to refresh with; or the upstream refuses the connection's token while an `mcp` instance discovers its tools. The connection's stored reason, the `sys_connector_connection.status` field help and the `ConnectorConnectionStore#markReconnectRequired` docblock all named only the first.
11+
12+
- **The stored reason, per path.** `reconnectRequiredReason` takes an optional cause (`'refused'`, `'no_refresh_token'`, `'no_client'`; `'refused'` when none is given, the old sentence unchanged). The no-refresh-token path now stores "…its authorization server issued no refresh token, so an access token the connection has to renew cannot be renewed…", and the no-client path "…its connection keeps no client to refresh with, so an access token it has to renew cannot be renewed…". Neither says the server refused anything, and neither says the access token expired: a refresh also runs on a cache miss and on a dispatch's 401, while the token may still be valid. The dispatch's 503 refusal carries the same sentence.
13+
- **The field help and the docblock** list all four causes and point to `status_reason` for which one happened.
14+
- Unchanged: the refused path's sentence, the MCP discovery path's own reason, and every status, code and write.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
'@object-ui/plugin-detail': patch
3+
---
4+
5+
fix(plugin-detail): on a desktop the record page's enlarged related tab draws the child object's list grid, as the phone already does
6+
7+
Clause-②: no
8+
Metadata-protocol: none
9+
10+
The enlarged related tab (the record page's active tab) drew a generic `data-table` on a desktop: rows about 65 px tall where the child object's list page draws 41 px, a name in plain text that did not open the record, and the count twice (on the 全部 chip and on the line under the toolbar). It now renders `object-grid` over the rows the related list already read, the branch the phone has taken since the phone card rows landed, so the tab is the child object's list face: the list page's row height and density, the name as a link that opens the record, and the grid's row actions.
11+
12+
The related list stays the source of truth. Its window, page and sort reach the grid as host props (the ones the list view hands the same grid), so paging and sort are still the server's `$top` / `$skip` / `$orderby`, and its own pager stays the one pager. The filter box, the 全部 / 我的 / 逾期 chips, 新建 and 导出 are unchanged. The host's row actions (`list_item`, and `record_related` inside a parent record) ride to the grid's row menu and still dispatch through the host against the child object and its row, which refreshes the list. While the 全部 chip is on and nothing narrows the rows, the line under the toolbar no longer repeats the chip's count.
13+
14+
One behaviour changes: while the filter box has text, the grid offers no header sort on a relational column (its stored value is an id), as on every list page; the data-table sorted that column by its label in that state. Compact panels in the right column and lists that are not enlarged are unchanged.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
'@object-ui/plugin-detail': patch
3+
'@object-ui/app-shell': patch
4+
'@objectstack/spec': patch
5+
---
6+
7+
fix(plugin-detail): the record page's highlight strip is the object's declared `highlightFields` only; the path's stage and the owner each show once, under one word for the owner (#28868)
8+
9+
Clause-②: no
10+
Metadata-protocol: none
11+
12+
**No guessed strip.** An object that declares no `highlightFields` now has no highlight strip, so every field stays in the details body. This holds on the default record page, the phone record header and the record hover card. `deriveHighlightFields` (`@object-ui/plugin-detail`) used to pick up to six fields from a preferred-name list (`owner` / `owner_id` first, then amount, rating, industry, …) and hide them from the body. That guess is deleted. The function keeps its signature and returns the declared list minus the record's title field, at most six, or nothing. A declared strip is unchanged.
13+
14+
**The stage once.** When the page draws `record:path`, its `statusField` joins the body's `hideFields`, so the stage is not drawn again as a body field. The body's hide list is also cut at the six fields the strip shows: a declared entry past the sixth is now drawn by the body instead of by neither.
15+
16+
**The owner once, under one word.** When the strip carries `owner_id`, the meta line under the details leaves the owner out. The platform label of the injected `owner_id` column (`@objectstack/spec`'s system-field fallback) now reads 「负责人」 in zh-CN, the word the ui's `detail.owner` already used. It was 「所有者」. en (`Owner`), ja-JP (`所有者`) and es-ES (`Propietario`) already matched the ui packs. A label an author wrote is still never overridden.
17+
18+
**What an app sees.** An object without declared `highlightFields` loses its strip. Declare the fields the header should show: `highlightFields: ['amount', 'close_date', 'owner_id']`.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
'@object-ui/plugin-grid': patch
3+
---
4+
5+
fix(plugin-grid): the list grid's row ⋯ trigger is visible at rest, in a muted tone, instead of appearing only under the pointer
6+
7+
Clause-②: no
8+
Metadata-protocol: none
9+
10+
The Actions column header is always drawn, but each row's ⋯ trigger was hidden by opacity on a fine pointer until the pointer reached the row, so a desktop list showed a headed column of cells that looked empty and read as "no actions available". The trigger is now drawn on every row at rest in the muted foreground tone, on every pointer type alike, and turns full strength on row hover, focus within the row, a selected row, its own keyboard focus, while its menu is open and on a coarse pointer. The menu's items, their gates and their order are unchanged. No key, option or prop is added.
11+
12+
What to do: nothing.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
'@objectstack/metadata-protocol': patch
3+
'@objectstack/objectql': patch
4+
---
5+
6+
docs(metadata-protocol, objectql): three docblocks say where a code package's `objectExtensions` go: never stored as `object_extension` items or into the metadata service, but registered by the engine's `registerApp` as `'extend'` contributors (#28874)
7+
8+
Clause-②: no
9+
Metadata-protocol: none
10+
11+
Comment only, with no behaviour change. The header of `protocol-object-extension-item.ts`, the `foldObjectExtendersFromRegistry` docblock in `protocol.ts` and the `SchemaRegistry#foldObjectExtendersOnto` docblock each said that a compiled artifact's `objectExtensions` are stored (as `object_extension` items, or as a separate collection of the metadata service). They are not. The ObjectQL engine's `registerApp` registers each one as an `'extend'` contributor of its target object. The artifact loader maps the collection to `object_extension` but files no item from it, because an extension carries `extend` and no `name`. The type's items are the stored rows the `/api/v1/meta` doors write. The wording matches the `@objectstack/spec` registry row comment (#28873). A patch changeset is used because the corrected docblocks ship in each package's `dist` declarations.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
'@objectstack/plugin-email': patch
3+
---
4+
5+
fix(plugin-email): a templated email to a named locale folds it against the template's locales and tries the stack's declared fallback before en-US (#28880)
6+
7+
Clause-②: no
8+
Metadata-protocol: none
9+
Skills-docs: none — no file under `skills/**` teaches the email template locale ladder.
10+
11+
`sendTemplate` and `renderTemplate` used to try a named recipient locale exactly, then `en-US`, then fail with `TEMPLATE_NOT_FOUND`. A recipient whose tag differed from a template row only by region (`en-GB` against an `en` row, `zh-TW` against `zh-CN`) or by case got nothing, and the stack's `i18n.fallbackLocale` was never read, so those deliveries dead-lettered.
12+
13+
With the built-in template loader, a call that names a locale now resolves, in order:
14+
15+
1. that locale against the template's own locales by the platform's BCP-47 rules (`resolveBundleLocale`): exact, case-insensitive, base language (`en-GB` → `en`), then variant expansion (`zh-TW` → `zh-CN`), taking the first match in ascending tag order;
16+
2. the stack's declared fallback (`i18n.fallbackLocale`, else `defaultLocale`, from the i18n service), folded the same way;
17+
3. `en-US`;
18+
4. `TEMPLATE_NOT_FOUND`, still a permanent failure.
19+
20+
An exact match answers as before. A call that names no locale keeps its ladder (`en-US`, then the lowest tag) and does not read the declared fallback. A replacement `TemplateLoader` keeps the exact ladder: the fold is a capability of the built-in loader, and no exported type changes.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
'@object-ui/app-shell': patch
3+
---
4+
5+
fix(app-shell): a ⌘K record hit opens under the app that lists its object, not under the app the palette was opened in (#28890)
6+
7+
Clause-②: no
8+
Metadata-protocol: none
9+
10+
An app whose navigation names no object (a component-only app, such as cloud's Account app) searches every object from the command palette, so its hits name objects it does not list. Each hit opened under that app all the same, and the record page drew its sidebar and app switcher, neither of which reaches the object: an environment found from the Account app opened in the Account app, not in the Cloud app that lists environments.
11+
12+
- **Now.** A record hit opens under the palette's own app when that app lists the hit's object; otherwise under the first app the user can open (active, not hidden, in metadata order) that lists it; and under the palette's own app when none does. "Lists" means a `type: 'object'` entry naming the object, at any depth of the app's `navigation` or of any `areas[].navigation`, among the entries the member is shown there.
13+
- **Unchanged.** When the palette's app lists the object, the hit opens there as before. The palette's search scope is untouched: an app with no object navigation still searches every object.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
'@object-ui/app-shell': patch
3+
---
4+
5+
Clause-②: no
6+
Metadata-protocol: none
7+
8+
Marketplace package page: README blockquotes (`>` lines) render as quotes instead of printing their `>`, and a GitHub alert (`> [!NOTE]`, `[!TIP]`, `[!IMPORTANT]`, `[!WARNING]`, `[!CAUTION]`) renders as the same plain quote without its marker. The Versions panel renders each version's release notes as Markdown (headings, bold, lists, code) in a compact size, instead of printing them as plain text; single line breaks inside a paragraph now join as Markdown does. Raw HTML stays skipped in both places.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
'@object-ui/plugin-tree': patch
3+
---
4+
5+
fix(plugin-tree): the object tree's loading and empty placeholders speak the page's language
6+
7+
Clause-②: no
8+
Metadata-protocol: none
9+
10+
`object-tree` drew its loading line and its empty line as the English literals `Loading…` and `No records`, so a zh-CN page showed English in the middle of a localized view. Both now read the bundle, `common.loading` and `common.noData`, the same keys the repeater and record-picker elements read for their own placeholders. A zh-CN page now reads 加载中… and 暂无数据, and English reads `Loading…` and `No data` (the empty line used to say `No records`). The `object-tree` contract declares no empty-text key, so there is no authored text to override these.

0 commit comments

Comments
 (0)