8cb1f9f479
Publish SDK (PyPI) / publish (push) Waiting to run
Publish SDK (npm) / publish (@aionui/officecli-sdk) (push) Waiting to run
Publish SDK (npm) / publish (@officecli/officecli-sdk) (push) Waiting to run
Publish SDK (npm) / publish (@officecli/sdk) (push) Waiting to run
Publish SDK (npm) / publish (officecli-sdk) (push) Waiting to run
SDK smoke / smoke (windows-latest) (push) Waiting to run
SDK smoke / smoke (macos-latest) (push) Waiting to run
SDK smoke / smoke (ubuntu-latest) (push) Waiting to run
Skill parity / diff (push) Waiting to run
1.4 KiB
1.4 KiB
schemas/
Agent-facing capability schemas for officecli. Single source of truth for what the CLI supports, consumed in three places:
officecli <format> <op> <element> --help --json— runtime output for agents. Schemas are embedded into the binary at build time, so runtime does not depend on filesystem paths or network access.- Contract tests — every schema claim (
add,set,get,readback) is verified against the real handler implementation. Properties markedenforcement: strictbreak CI on drift;reportonly log. - Release-time wiki generation (future) — wiki markdown is generated/diffed from schemas before publishing. During development, wiki is not touched; agents read schemas directly.
Layout
schemas/
help/
_schema.json ← JSON Schema (draft 2020-12) describing the format below
docx/<element>.json ← Word per-element capability
pptx/<element>.json ← PowerPoint per-element capability
xlsx/<element>.json ← Excel per-element capability
Editing rule
Any PR that changes Add, Set, or Get behavior for an element must update the matching schema file in the same PR. CI contract tests will fail otherwise.
Not here
- Narrative / tutorials / best practices → wiki (generated or hand-written at release time).
- Internal implementation notes → the project conventions and code comments.
- Ephemeral release notes → CHANGELOG.