Skip to content

Pi Packages ​

QDash's root Bun workspace builds two independently published pi extensions alongside the runtime, TypeScript client, and SDK.

SourcePackage
packages/pi-qdash/@oqtopus-team/pi-qdash
packages/pi-qcaleval/@oqtopus-team/pi-qcaleval

Development ​

Use the development toolchain, then install from the repository root with Bun 1.4.0; package tests require Node.js 24.

bash
bun install --frozen-lockfile
task ci-pi-packages
task ci-agent-runtime

Use the root bun.lock, not package-local lockfiles. Both checks build the client and SDK first. For direct pi CLI use, run task build-client-ts first. Rebuild agent-runtime after extension or skill changes. Pi Extension Design explains the shared-host boundary.

Distribution ​

.github/workflows/publish-typescript-packages.yml owns the release sequence: client → TypeScript SDK → pi packages. The SDK includes its generated API client and has no dependency on the legacy client package. The client job’s verified release record supplies the Python client and SDK versions to publish-qdash-client.yml.

TriggerResult
PR to develop affecting package workflow pathsValidate and pack; no publication
Push to develop affecting those pathsPublish beta packages
QDash vX.Y.Z tagPublish all six packages as X.Y.Z
Manual branch runValidate only
Manual tag runRetry the stable release

No package-specific tag or routine manifest bump is needed. Packed dependencies use exact release versions instead of workspace:*. Beta pi packages use a run/attempt suffix. The packed pi-qdash extension pins the TypeScript SDK version published by the same release workflow.

The Python publication validates the originating workflow, commit, ref, and release record before running that commit's code. Stable tags must resolve to a commit on main; beta commits must be on develop. Keep release tags and branches protected.

Publication is not atomic across registries. Rerun failed jobs to recover; existing stable versions are skipped and an older tag cannot move latest backward. Follow the pre-push procedure, including the full check gate.

Publishing configuration ​

Configure Trusted Publishing for organization oqtopus-team, repository qdash:

RegistryPackagesAuthorized workflow
npmClient, SDK, both pi packagespublish-typescript-packages.yml
PyPIqdash-client, qdash-sdkpublish-qdash-client.yml

Authorize the calling npm workflow, not the reusable client workflow. Enable direct npm publishing. Create new packages/pending publishers before release; repository configuration alone does not grant registry access. These jobs use OIDC, not stored publication tokens.

Retiring the original repositories ​

Verify beta and stable installs before disabling old publishers or archiving repositories. Do not publish the same package concurrently from both repositories. Preserve existing versions, licenses, changelogs, and each package's UPSTREAM.md.

Standalone users moving to @oqtopus-team/pi-qcaleval should remove the old @orangekame3/pi-qcaleval extension first to avoid duplicate tools.

Released under the Apache 2.0 License.