Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.1.0"
".": "0.2.0"
}
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## [0.2.0](https://github.com/GonkaGate/qwen-code-setup/compare/v0.1.0...v0.2.0) (2026-06-16)

### Features

- implement qwen code setup runtime ([0449330](https://github.com/GonkaGate/qwen-code-setup/commit/0449330c2a557b2654406b9bd709dfe7932b773b))
- improve qwen code developer onboarding ([18ec322](https://github.com/GonkaGate/qwen-code-setup/commit/18ec3224c354f5fd31b8a9035eb075df52b4144a))
- improve qwen code developer onboarding ([ce4f8f4](https://github.com/GonkaGate/qwen-code-setup/commit/ce4f8f4cc6b5c3b69a280307a39e599f6e231a50))

## 0.1.0

- Bootstrap the public `@gonkagate/qwen-code-setup` repository scaffold.
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gonkagate/qwen-code-setup",
"version": "0.1.0",
"version": "0.2.0",
"description": "Developer CLI for configuring Qwen Code to use GonkaGate as an OpenAI-compatible provider.",
"homepage": "https://github.com/GonkaGate/qwen-code-setup#readme",
"bugs": {
Expand Down
2 changes: 1 addition & 1 deletion src/constants/contract.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export const QWEN_CODE_SETUP_CONTRACT = {
packageName: "@gonkagate/qwen-code-setup",
packageVersion: "0.1.0",
packageVersion: "0.2.0", // x-release-please-version
publicEntrypoint: "npx @gonkagate/qwen-code-setup",
binaryName: "gonkagate-qwen-code",
binaryAliases: ["gonkagate-qwen-code", "qwen-code-setup"],
Expand Down
6 changes: 5 additions & 1 deletion test/cli.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import assert from "node:assert/strict";
import test from "node:test";
import { runCli } from "../src/cli.js";
import { QWEN_CODE_SETUP_CONTRACT } from "../src/constants/contract.js";
import { getRequiredGonkagateModelIds } from "../src/constants/models.js";
import { createFakeInstallDependencies } from "./install/test-deps.js";

Expand Down Expand Up @@ -297,6 +298,9 @@ test("CLI renders help and version without installer execution", async () => {
});

assert.equal(version.exitCode, 0);
assert.match(versionStdout.text(), /0\.1\.0/);
assert.equal(
versionStdout.text(),
`${QWEN_CODE_SETUP_CONTRACT.packageVersion}\n`,
);
assert.equal(versionStderr.text(), "");
});
3 changes: 2 additions & 1 deletion test/install/state.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import assert from "node:assert/strict";
import test from "node:test";
import { QWEN_CODE_SETUP_CONTRACT } from "../../src/constants/contract.js";
import { getRequiredGonkagateModelIds } from "../../src/constants/models.js";
import {
createInstallState,
Expand All @@ -15,7 +16,7 @@ test("install state records runtime ownership metadata", () => {
verifiedAt: "2026-06-12T00:00:00.000Z",
});

assert.equal(state.installerVersion, "0.1.0");
assert.equal(state.installerVersion, QWEN_CODE_SETUP_CONTRACT.packageVersion);
assert.equal(state.auditedQwenVersion, "0.18.0");
assert.equal(state.scope, "project");
assert.equal(state.selectedModelKey, "kimi-k2.6");
Expand Down
6 changes: 5 additions & 1 deletion test/package-contract.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ test("package metadata follows the public qwen-code-setup contract", () => {
});

test("contract constants record shipped runtime state and Qwen Code baseline", () => {
const packageJson = JSON.parse(readText("package.json")) as {
version?: string;
};

assert.equal(
QWEN_CODE_SETUP_CONTRACT.publicEntrypoint,
"npx @gonkagate/qwen-code-setup",
Expand All @@ -57,7 +61,7 @@ test("contract constants record shipped runtime state and Qwen Code baseline", (
"@qwen-code/qwen-code",
);
assert.equal(QWEN_CODE_SETUP_CONTRACT.qwenBinaryName, "qwen");
assert.equal(QWEN_CODE_SETUP_CONTRACT.packageVersion, "0.1.0");
assert.equal(QWEN_CODE_SETUP_CONTRACT.packageVersion, packageJson.version);
assert.equal(QWEN_CODE_SETUP_CONTRACT.runtimeImplemented, true);
assert.equal(QWEN_CODE_SETUP_CONTRACT.curatedRegistryPublished, true);
assert.equal(QWEN_CODE_SETUP_CONTRACT.requiredGonkagateModelCount, 3);
Expand Down
Loading