Skip to main content

konstera-sdk-contexts

Typed constants for the Konstera Standard Context Pack v1 — canonical glossary / skill / ontology-entity names that every retail-core seed pack guarantees.

Mirror of Konstera.Sdk.Contexts (NuGet) and konstera-sdk-contexts (npm).

Why

A Konstera agent's manifest declares contextRequirements. If the agent hard-codes those names as magic strings, a typo ("refund_windows_days") means the install-time check silently reports "name missing" and the agent panics at runtime when ctx.context.glossary.get("refund_windows_days") returns None.

Reference the constants instead:

from konstera_sdk_contexts import ContextTerms, ContextSkills, ContextEntities

manifest["contextRequirements"] = {
    "glossary": {
        "required": [ContextTerms.REFUND_WINDOW_DAYS, ContextTerms.VIP_TIER_EXCEPTION],
        "recommended": [ContextTerms.LIMITED_EDITION_RESTOCKING_FEE],
    },
    "skills": {
        "required": [ContextSkills.EVALUATE_REFUND_ELIGIBILITY],
    },
    "ontologyEntities": {
        "required": [ContextEntities.CUSTOMER, ContextEntities.ORDER, ContextEntities.REFUND],
    },
}

Typos now fail at import, not at kns deploy.

What's in it

  • ContextTerms — 24 glossary terms (customer-service, merchandising, supply-chain, finance, general retail)
  • ContextSkills — 2 reference skills (EVALUATE_REFUND_ELIGIBILITY, DIAGNOSE_MARKDOWN_SPIKE)
  • ContextEntities — 24 ontology entities (customer, order, order_line, sku, product, …)

The raw pack JSON is bundled inside the wheel at konstera_sdk_contexts/schemas/standard-context-pack-v1.json. Load it when you need descriptions / domains:

from konstera_sdk_contexts import load_pack

pack = load_pack()
print(pack["glossary"]["refund_window_days"]["description"])

Versioning

  • Package version follows the pack version. Pack v1 → 1.x.x.
  • Adding names is a non-breaking minor bump; removing / renaming a name is major.
  • Pack v2 (planned finance + HR expansion) ships as konstera-sdk-contexts 2.x.x.

License

Apache-2.0.

Metadata

Release files for konstera-sdk-contexts 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for konstera-sdk-contexts 1.0.0
File Size Uploaded Provenance Actions
konstera_sdk_contexts-1.0.0.tar.gz 7.4 kB With provenance Details for konstera_sdk_contexts-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for konstera-sdk-contexts 1.0.0
File Interpreter ABI Platform Actions
konstera_sdk_contexts-1.0.0-py3-none-any.whl Python 3 none any Details for konstera_sdk_contexts-1.0.0-py3-none-any.whl

Total release size: 17.4 kB

Release files / konstera_sdk_contexts-1.0.0.tar.gz

Download URL konstera_sdk_contexts-1.0.0.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c38d1053ab3327224ee026359484692f10a546a4917210dc44f748fa942598e7
BLAKE2b-256 checksum
How to use checksums
231d1b66c6ee73f7b5e3ccfeb280c31f8cedfd312d7f80536d0e1ad87e5d9d13
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Release files / konstera_sdk_contexts-1.0.0-py3-none-any.whl

Download URL konstera_sdk_contexts-1.0.0-py3-none-any.whl
Size 10.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a97221e6748b920c64f06a16f9a0aa7252ea1202554e147559354789c9051cdb
BLAKE2b-256 checksum
How to use checksums
ede1a2970975839a32f27125a005c7a154eadb5f04372e3860b0c5a05d19bde8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Security for konstera-sdk-contexts 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for konstera_sdk_contexts-1.0.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page