Skip to main content
Konstera

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.1

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.1
File Size Uploaded Provenance Actions
konstera_sdk_contexts-1.0.1.tar.gz 7.4 kB With provenance Details for konstera_sdk_contexts-1.0.1.tar.gz

Built distribution (wheel)

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

Total release size: 17.5 kB

Release files / konstera_sdk_contexts-1.0.1.tar.gz

Download URL konstera_sdk_contexts-1.0.1.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b6fdeb747652e2c2da04c5013216334d2dba5117f910f4d7fcabac291b92a17a
BLAKE2b-256 checksum
How to use checksums
c3a53b69e203ccc1ee1964d87ad012c77baaf4ce14b27fbe7c4acabb8d3a7ae3
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.1-py3-none-any.whl

Download URL konstera_sdk_contexts-1.0.1-py3-none-any.whl
Size 10.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2c30a0b0b6f2ced7789e9f4d18cf0078985d50f51e00a268b0851d6f9fc23e10
BLAKE2b-256 checksum
How to use checksums
8515f8b5312a483dc234861f1e64bbb0d71b2e1b7fa1a7099a889fd35ecf6e32
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.1

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.1.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