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

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.2
File Size Uploaded Provenance Actions
konstera_sdk_contexts-1.0.2.tar.gz 7.6 kB With provenance Details for konstera_sdk_contexts-1.0.2.tar.gz

Built distribution (wheel)

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

Total release size: 17.8 kB

Release files / konstera_sdk_contexts-1.0.2.tar.gz

Download URL konstera_sdk_contexts-1.0.2.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
6324b8a17bde0979ed906b29dc52d663af5fbabc1a8ff3c2686ddec5b9c39544
BLAKE2b-256 checksum
How to use checksums
7adb18b6648e04c2fd9a30e79838f7ec2ce7469da68e05d59ff78a6b5ff4134a
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 29, 2026.

Transparency log

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

Download URL konstera_sdk_contexts-1.0.2-py3-none-any.whl
Size 10.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ea680f37eb957da81a22ad35fd131f4cf526fd02da73b8d7cd3eac312743b426
BLAKE2b-256 checksum
How to use checksums
80985a37443538338663bf352d9e18cf416e89b1ab445439bd2163eb1e3de3c2
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 29, 2026.

Transparency log

Security for konstera-sdk-contexts 1.0.2

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.2.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 29, 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