Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

sparkle

sparkle is the local CLI and MCP bridge for Code Engine.

Current implementation includes:

  • Packaging for PyPI distribution as sparkai-code-engine.
  • sparkle init endpoint bootstrap and OAuth login flow.
  • Context profiles for multiple accounts/environments.
  • OAuth login with Keycloak (PKCE) and token import fallback.
  • Local credential persistence with refresh-token reauth support.
  • Workspace registration from local git repo paths with repo auto-binding.
  • Local overlay indexing with saved-file freshness tracking.
  • Sync batch upload/commit flow to backend.
  • Retrieval command that merges local overlay candidates with /v1/search/code.
  • MCP stdio server exposing codebase-retrieval.

Install from PyPI:

uv tool install sparkai-code-engine

Basic bootstrap:

sparkle init
sparkle context list
sparkle set context default
sparkle --context staging whoami

Common runtime commands:

sparkle workspace add /path/to/repo --sync
sparkle retrieve --directory-path /path/to/repo --query "where is keycloak auth"
sparkle mcp --auto-workspace
sparkle --mcp --mcp-auto-workspace

MCP behavior:

  • When endpoint preflight succeeds, tools/list exposes codebase-retrieval.
  • When endpoint preflight fails (for example off VPN), MCP remains alive but returns an empty tool list for that session.

Metadata

Release files for sparkai-code-engine 0.0.1rc0

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

Source distribution (sdist)

Source distribution for sparkai-code-engine 0.0.1rc0
File Size Uploaded
sparkai_code_engine-0.0.1rc0.tar.gz 19.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sparkai-code-engine 0.0.1rc0
File Interpreter ABI Platform
sparkai_code_engine-0.0.1rc0-py3-none-any.whl Python 3 none any Details

Total release size: 40.7 kB

Release files / sparkai_code_engine-0.0.1rc0.tar.gz

Download URL sparkai_code_engine-0.0.1rc0.tar.gz
Size 19.7 kB
Tags Source
SHA-256 checksum
How to use checksums
17bfeec0a93e919013a2a7687a2c1e427f903837c199fcc18dd969ed25350f87
BLAKE2b-256 checksum
How to use checksums
c4dce32986d62e38dc4eceb9547778cd9fdf5767d0fc0d390c0bc96eb9bf5332
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Apr 18, 2026.

Transparency log

Release files / sparkai_code_engine-0.0.1rc0-py3-none-any.whl

Download URL sparkai_code_engine-0.0.1rc0-py3-none-any.whl
Size 21.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b0a01ab69d533144c965d56ed08fd123eec1c31b4b957b9234a0073b50c7ebd4
BLAKE2b-256 checksum
How to use checksums
3a107b545b966706db611d9df772bd9e81d2a25f6711c7862aae65860c297dba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Apr 18, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.0.1rc0 This release

2 release files

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