OpenSite/Reference/Workbenches/Native sample: Difference between revisions

From BathAfrica Documentation
Jump to navigation Jump to search
Use BathAfrica sidebar contents without duplicate inline contents box
Link adjacent OpenSite reference pages in reading order
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
{{OpenSite scope}}
{{BathAfrica Workbench
{{BathAfrica Workbench
|review=Development documentation for OpenSite 0.0.1, source snapshot 77c3fee (Phase 13C). Reviewed against implementation on 29 October 2026. Tests and the Windows desktop were not rerun for this publication; this is not a released-product support claim.
|id=sample_native
|id=sample_native
|summary=The sample native provider lists ping and span as one tool collection.
|summary=The sample native provider lists ping and span as one tool collection.
Line 18: Line 18:
[[OpenSite|OpenSite overview]] · [[OpenSite/Reference|Reference]] · [[OpenSite/Guides|Guides]]
[[OpenSite|OpenSite overview]] · [[OpenSite/Reference|Reference]] · [[OpenSite/Guides|Guides]]
[[Category:OpenSite documentation]]
[[Category:OpenSite documentation]]
<div class="os-page-nav">{{Docnav|OpenSite/Reference|OpenSite/Examples|OpenSite/Guides|All guides}}</div>

Latest revision as of 14:15, 29 October 2026

OpenSite 0.0.1 · DevelopmentSource scope and availability


The sample native provider lists ping and span as one tool collection.

Stable identifier
sample_native

Tools

Ping returns a fixed text value. Span creates a document object, stores a length, and recomputes a doubled length.

Commands

sample_native.tool.ping, sample_native.tool.span

Limitations

The workbench is a stored command list. Selecting it does not create a menu, does not load other providers, and does not decide whether the span object recomputes.


Documentation basis

Source-reviewed against development commit 77c3fee13944bcc4b5d487c77eb1f82fbe4c6ea7, branch feature/phase-13c-properties-python-expressions. This review inspected the implementation and repository evidence; it did not run the Windows application or repeat CTest.

  • examples/plugins/native/sample_native.cpp
  • src/plugins/plugin_host.cpp

OpenSite overview · Reference · Guides