Repository navigation
Describe plugin 0.5.0 and what is on cap2UI5's main: the agent endpoint, timeout, purgeDrafts, stateful sessions, windowed tables - #38
Merged
Conversation
verify-refs compares the site with cap2UI5's main, which moves without a push here: a plugin release, a runtime pin. A weekly schedule and workflow_dispatch show that drift without waiting for the next pull request to trip over it. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014YZFmESgvbsKSoDRf88S3G
…main New guide page on the MCP agent endpoint (the agent setting, defineApp's agent option, allowed / confirm / forbidden, the tools, who the caller is, the HTTP answers, cap2ui5.AgentLog and its retention). Reference: timeout and agent in the configuration, one roundtrip at a time, a plugin-to-runtime table; cap2ui5.AgentLog and purgeDrafts in the database model, and draft cleanup runs when an app is opened, not on every roundtrip; the scaling note for stateful ABAP sessions and the ^0.5.0 pin in deployment. API: view_display's transitions and cs_transition, get_event_arg past the eighth argument, set_session_stateful for JS and ABAP apps, and window_bind_tab / window_get_row. What is only on cap2UI5's main (timeout, the 504, the queue warning, purgeDrafts, the windowed table, runtime 1.148.0) is marked as not released yet. Recounted: the plugin's size and the samples (76 of 138, 73 by abap2js). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014YZFmESgvbsKSoDRf88S3G
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The site described plugin 0.4.0 and runtime 1.146.0. This brings it to the published
@cap2ui5/cds-plugin0.5.0 and to what is on cap2UI5'smain(at0f8d821), with everything that is only onmainmarked not released yet.Written from the plugin's code on cap2UI5
main(plugin/CHANGELOG.md,README.md,index.cds,index.d.ts,cds-plugin.js,lib/config.js,lib/define-app.js,lib/sessions.js,lib/draft-store.js,lib/agent/*,docs/adr/adr-009-agent-endpoint.md), abap2UI5'sz2ui5_if_clientand handler, and npm's registry for what is published.What changed
Commit 1 — the check workflow
.github/workflows/check.ymlgets a weeklyschedule(Mondays 05:17 UTC) andworkflow_dispatch, so drift against cap2UI5mainshows without a push here.Commit 2 — the docs
guide/agents.md, in the sidebar under "Working With It": theagentsetting,defineApp'sagentoption, allowed / confirm / forbidden and the handover link, the four tools, who the caller is, the HTTP answers before a tool runs,cap2ui5.AgentLog, retention andpurgeAgentLog, sessions after a restart.reference/configuration.md:timeoutandagentin the settings table, a section "One roundtrip at a time" (the queue, the 504, the queue warning), a plugin-to-runtime table (0.4.0 → 1.146.0, 0.5.0 → 1.147.0,main→ 1.148.0), the 500/504 error bodies.reference/database.md: thecap2ui5.AgentLogentity and why its table is unconditional,purgeDrafts, and a correction — draft cleanup runs when an app is opened, not once per roundtrip (z2ui5_cl_ui5_handler, the first-start branch). The same claim is corrected inguide/persistence.mdandguide/troubleshooting.md.reference/deployment.md: a "Scaling" section — "no sticky sessions" holds for JavaScript apps; a stateful transpiled ABAP app keeps its session in the process and needs sticky routing; roundtrips run one at a time per process. The pin is^0.5.0.api/client.md:view_display'stransition/transition_backandcs_transition;get_event_argpast the eighth argument (0.5.0); theset_session_statefulrow for JS and ABAP apps;window_bind_tab( )/window_get_row( ).guide/troubleshooting.md: a 504 entry.main(about 2,000 of themabap2js) plus about 1,950 vendored for the agent endpoint, not "about 640";@cap2ui5/samples0.3.0 is 76 of abap2UI5's 138 samples, 73 byabap2jsand three by hand (was 71 / 69 of 129).api/app-interface.md,guide/ecosystem.md,guide/roadmap.md,guide/project-structure.md,guide/getting-started.md,guide/lifecycle.md,guide/migration-from-abap2ui5.md,guide/vs-abap2ui5.md,reference/protocol.md,reference/architecture.md.AGENTS.md: the ground-truth versions, the plugin's file list, and a rule that the site describes both the published release andmain, marking the latter.Released or not
cap2ui5.AgentLog,purgeAgentLog, one roundtrip at a time, per-user stateful sessions,get_event_argwithout a limittimeoutand the 504, the queue warning,purgeDrafts, runtime 1.148.0main, marked not released yetwindow_bind_tab( )/window_get_row( )main, and they need a runtime after 1.148.0 —main's own pin does not have them; the page says soCheck results
Against cap2UI5
mainat0f8d821(pins@abap2ui5/node-runtime1.148.0, plugin 0.5.0) and abap2UI5main, cloned the way the workflow checks them out:mainof this repository:npm run check:cifailed with 11 stale references (nine naming runtime 1.146.0, two naming plugin 0.4.x).npm ciok;npm run check:ci—verify-refs: OK — every documented path, class, app id and option resolves, VitePress build complete.npm run checkwithout checkouts also builds.Adjusted for the checker
docs/.verify-refs-ignoregainscap2ui5.timeoutandcap2ui5.agent: verify-refs reads option names from the plugin'spackage.json, and these two have their defaults inplugin/lib/config.js.1.146.0and1.147.0, because the site now says which plugin release pinned which runtime. The trade-off is written next to the entries: a page that still called one of them the current pin would now pass.Unverified
76 apps) is the count of modules in@cap2ui5/samples'srv/apps/, not a captured line.1.149.0exists on npm, but cap2UI5maindoes not pin it, so the site does not name it.Generated by Claude Code