diff --git a/AGENTS.md b/AGENTS.md index 307f768..3982e3e 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -68,7 +68,9 @@ On npm: `@cap2ui5/cds-plugin@0.5.0` (since 2026-10-14; Node ≥ 22, peer plugin pins one `@abap2ui5/node-runtime` release **exactly**: 0.4.0 pinned 1.146.0 (the first runtime whose frontend does the approuter's `X-CSRF-Token` handshake and has `accelerate( )`), 0.5.0 pins 1.147.0, and cap2UI5's `main` -pins 1.148.0. +pins a later one — read it from `plugin/package.json` there; it moved twice +within a day of this being written, and the weekly check run exists to say +when it moves again. **The site describes two things, and says which is which.** verify-refs compares against cap2UI5's `main`, so `main`'s pin is the number it accepts @@ -76,8 +78,8 @@ compares against cap2UI5's `main`, so `main`'s pin is the number it accepts `runtime/package.json`), and a reader installs the newest release on npm. What is on `main` under the CHANGELOG's "Unreleased" — at the time of writing `cds.requires.cap2ui5.timeout`, `purgeDrafts`, the queue warning, and -`client.window_bind_tab( )` / `window_get_row( )`, which also need a runtime -after 1.148.0 — is documented, and marked **not released yet** wherever it +`client.window_bind_tab( )` / `window_get_row( )`, which come with the +runtime `main` pins — is documented, and marked **not released yet** wherever it appears. Move the mark when the release happens; do not present an unreleased thing as installable. Older pins are named only with the plugin version they belong to, and are in `docs/.verify-refs-ignore` for that reason. diff --git a/docs/.verify-refs-ignore b/docs/.verify-refs-ignore index dcfdd23..f87871b 100644 --- a/docs/.verify-refs-ignore +++ b/docs/.verify-refs-ignore @@ -40,7 +40,7 @@ cap2ui5.timeout # the ms an async main( ) may take — config.js timeout cap2ui5.agent # the MCP endpoint's switch and settings — config.js / lib/agent/policy.js agentConfig( ), since 0.5.0 # --- release numbers that are NOT the pinned runtime release ---------------- -# The pin itself (1.148.0 today, on cap2UI5's main) is read from the checkout +# The pin itself (whatever cap2UI5's main pins) is read from the checkout # and never listed here — listing it would keep the old number green after a # pin move, which is the one defect the release check exists to catch. # diff --git a/docs/api/client.md b/docs/api/client.md index 37f4989..caa9d63 100644 --- a/docs/api/client.md +++ b/docs/api/client.md @@ -155,14 +155,15 @@ runtime from before transitions existed — the one plugin 0.3.x pins — ## The windowed table -::: warning Not released yet, and not in any pinned runtime +::: warning Not released yet `client.window_bind_tab( )` and `client.window_get_row( )` are on cap2UI5's -`main`, after 0.5.0 — and they need an `@abap2ui5/node-runtime` **after** -`1.148.0`, the release `main` pins. On that runtime and every older one the -client does not have them, and a call throws: +`main`, after 0.5.0. They come with `@abap2ui5/node-runtime` `1.149.0`, the +release `main` pins; plugin 0.5.0 and its runtime have neither. On an older +runtime the client does not have the two methods, and a call throws, naming +the runtime in use: ``` -client.window_bind_tab( ): z2ui5_if_client has no window_bind_tab in the abap2UI5 runtime this project runs on (@abap2ui5/node-runtime 1.148.0) - it came with a later release +client.window_bind_tab( ): z2ui5_if_client has no window_bind_tab in the abap2UI5 runtime this project runs on (@abap2ui5/node-runtime ) - it came with a later release ``` What follows is read from the plugin's code and abap2UI5's interface. It has diff --git a/docs/guide/agents.md b/docs/guide/agents.md index c4ca7de..6597fec 100644 --- a/docs/guide/agents.md +++ b/docs/guide/agents.md @@ -13,9 +13,24 @@ addon. The decision record is [ADR-009](https://github.com/cap2UI5/cap2UI5/blob/main/docs/adr/adr-009-agent-endpoint.md). ::: warning What is verified here -This page is written from the plugin's code and its test suite -(`examples/bookshop/test/agent.test.mjs` and its siblings in cap2UI5). The -endpoint has not been run on BTP, and not behind an approuter. +**Measured**, with the published plugin 0.5.0 in a project of its own, on +localhost with CAP's mocked users: every status in the table +[below](#what-the-endpoint-answers-before-any-tool-runs) except the user +without an id; the four tools; opting in and the refusal for an app that did +not; the `"policy"` marks, the `confirm` and `forbidden` refusals; pending +values; the handover link opened in a browser as the same user and as another +one; another user's and an earlier session id; the rows of +`cap2ui5.AgentLog`, without the values entered; a session restored after a +restart; a misspelt setting and a `retention` that is no number failing the +start. + +**Read from the code and the plugin's test suite, not run for this page** +(`examples/bookshop/test/agent.test.mjs` and its siblings in cap2UI5): the +hourly retention sweep and `purgeAgentLog`, a user without an id, a +transpiled ABAP app opted in through `apps`, tables, row actions and selection +dialogs. + +**Not run at all:** on BTP, behind an approuter, with XSUAA or IAS. ::: ## Switch it on diff --git a/docs/guide/ecosystem.md b/docs/guide/ecosystem.md index 8052abe..adf2281 100644 --- a/docs/guide/ecosystem.md +++ b/docs/guide/ecosystem.md @@ -33,7 +33,7 @@ abap2UI5 builds itself. All three are on npm: `@cap2ui5/cds-plugin` 0.5.0 (Node ≥ 22, `@sap/cds` ≥ 9 as a peer), `@abap2ui5/node-runtime`, of which the plugin pins one release exactly — -`1.147.0` in 0.5.0, `1.148.0` on `main`, which is not released yet — +`1.147.0` in 0.5.0, `1.149.0` on `main`, which is not released yet — and `@cap2ui5/samples` 0.3.0, which needs plugin 0.5. `npm add @cap2ui5/cds-plugin` installs the first two — see the [Quickstart](./getting-started). Up to 0.2.0 the plugin was the unscoped package `cap2ui5`. On npm that name is now only a deprecated placeholder that diff --git a/docs/guide/roadmap.md b/docs/guide/roadmap.md index b6bc426..5b63bb1 100644 --- a/docs/guide/roadmap.md +++ b/docs/guide/roadmap.md @@ -31,9 +31,9 @@ roundtrips of a process one at a time; and keeps the session of a stateful ABAP app per user. **On `main`, not released yet:** a `timeout` for an app's async `main( )` -(504 after a minute), `purgeDrafts` for a scheduled job, runtime 1.148.0, and -`client.window_bind_tab( )` / `window_get_row( )` — abap2UI5's windowed table, -which needs a runtime later than the one `main` pins. The details are in the plugin's +(504 after a minute), `purgeDrafts` for a scheduled job, and runtime 1.149.0 +with `client.window_bind_tab( )` / `window_get_row( )` — abap2UI5's windowed +table. The details are in the plugin's [CHANGELOG](https://github.com/cap2UI5/cap2UI5/blob/main/plugin/CHANGELOG.md). ## Known limits today diff --git a/docs/reference/configuration.md b/docs/reference/configuration.md index ee5d53c..3224b33 100644 --- a/docs/reference/configuration.md +++ b/docs/reference/configuration.md @@ -118,19 +118,18 @@ There is nothing to add to your own `package.json`. |---|---|---| | 0.4.0 | `1.146.0` | the frontend's `X-CSRF-Token` handshake with the approuter, `accelerate( )`, `view_display`'s transitions | | 0.5.0 | `1.147.0` | flat tables written to JSON directly, the draft kept as a digest, the developer tools as a bundle of their own | -| `main`, not released yet | `1.148.0` | fixes in the runtime underneath (`ASSIGN COMPONENT` of a name with a dash, `rescale( )`, `CREATE DATA` with a lower-case type name) | +| `main`, not released yet | `1.149.0` | the windowed table behind `client.window_bind_tab( )` and `window_get_row( )` — see [`client`](../api/client#the-windowed-table). The eight obsolete invisible custom controls (`z2ui5.cc.Timer`, `Focus`, `Scrolling`, `Title`, `LPTitle`, `Favicon`, `History`, `Info`) are gone from the frontend: a view that still names one fails to load | The plugin's [CHANGELOG](https://github.com/cap2UI5/cap2UI5/blob/main/plugin/CHANGELOG.md) -has the full list per release. `client.window_bind_tab( )` and -`window_get_row( )` need a runtime **after** `1.148.0` — none of the three -rows has them, see [`client`](../api/client#the-windowed-table). +has the full list per release. No plugin release pinned the runtime between +the last two rows. The runtime resolves as the plugin's own dependency, at the pinned version. To load another release, use npm `overrides` in your `package.json`. The log names what was loaded at startup — for a checkout of `main`: ``` -[cap2ui5] - @abap2ui5/node-runtime 1.148.0 from …/node_modules/@abap2ui5/node-runtime +[cap2ui5] - @abap2ui5/node-runtime 1.149.0 from …/node_modules/@abap2ui5/node-runtime [cap2ui5] - runtime accelerations active ```