Skip to content

Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.

release(dsh): prepare 1.0.0 with verified published-package upgrade

tt-a1ic19acd4c9f3a
diff --git a/community/packages/archify-dsh.json b/community/packages/archify-dsh.json
index 0d5ea4e2..5a3bd37b 100644
--- a/community/packages/archify-dsh.json
+++ b/community/packages/archify-dsh.json
@@ -2,8 +2,8 @@
"name": "archify-dsh",
"type": "wrapper",
"summary": {
- "en": "Published DSH bundle 0.1.0 contains Archify 2.14.0 (DSH 0.1.0-rc.6, experimental). Pending 0.2.0 contains Archify 3.0.1 and is not published.",
- "zh": "已发布的 DSH 技能包 @tt-a1i/archify-dsh 0.1.0 内含 Archify 2.14.0,实验支持 DSH 0.1.0-rc.6;内含 Archify 3.0.1 的 0.2.0 包尚未发布。"
+ "en": "Published DSH bundle 0.1.0 contains Archify 2.14.0 (DSH 0.1.0-rc.6, experimental). Pending 1.0.0 contains Archify 3.0.1 and is not published.",
+ "zh": "已发布的 DSH 技能包 @tt-a1i/archify-dsh 0.1.0 内含 Archify 2.14.0,实验支持 DSH 0.1.0-rc.6;内含 Archify 3.0.1 的 1.0.0 包尚未发布。"
},
"author": {
"name": "tt-a1i",
diff --git a/integrations/deepseek-harness/CHANGELOG.md b/integrations/deepseek-harness/CHANGELOG.md
new file mode 100644
index 00000000..4d86ad9f
--- /dev/null
+++ b/integrations/deepseek-harness/CHANGELOG.md
@@ -0,0 +1,14 @@
+# DSH adapter changelog
+
+## 1.0.0 — pending publication
+
+- First stable adapter contract for the exact tested host `@deepseek-ai/[email protected]`; the host remains a developer preview. Other host versions are not covered by this release claim.
+- Bundles Archify 3.0.1 from stable commit `7158026e852f3aa6578c741e673b46d7878c92c1`, including the installation fix after the Archify v3.0.1 tag. Archify and adapter versions are independent.
+- Preserves the Skill-only activation contract: one `archify-plugin` provider, no native tools, dependencies, install hooks, telemetry, or automatic updates.
+- The release gate covers clean installation and published plugin 0.1.0 → 1.0.0 upgrade, discovery/loading, workspace rendering, and uninstall on Linux, macOS, and Windows. Full example-rewriting smoke runs outside the pnpm store.
+- Archify 3.x changes the Viewer and authoring/delivery flow; existing schema-v1 input remains supported. See [Archify 3.0 upgrade notes](https://github.com/tt-a1i/archify/blob/v3.0.1/CHANGELOG.md#upgrading-from-2x). Existing HTML keeps its embedded Viewer.
+- The prepared 0.2.0 adapter was never published; 1.0.0 supersedes that candidate. Public installation remains 0.1.0 until this release is published and verified.
+
+## 0.1.0 — 2026-08-14
+
+Initial experimental community bundle: Archify 2.14.0 with `@deepseek-ai/[email protected]`. The published version and its `archify-dsh-v0.1.0` tag remain immutable.
diff --git a/integrations/deepseek-harness/README.md b/integrations/deepseek-harness/README.md
index a9911864..298c03fa 100644
--- a/integrations/deepseek-harness/README.md
+++ b/integrations/deepseek-harness/README.md
@@ -4,11 +4,11 @@ Community DeepSeek Harness integration for [Archify](https://github.com/tt-a1i/a
The currently published npm package is **v0.1.0**, with experimental compatibility for developer-preview **`@deepseek-ai/[email protected]`** on Node.js **`^22.19.0 || >=24.0.0`**. It bundles Archify Skill **2.14.0**. It is not a stable cross-version guarantee.
-The pending **v0.2.0** release is prepared for experimental compatibility with developer-preview **`@deepseek-ai/[email protected]`**. It is not published or available as an npm install yet. It is a Skill-only bundle: it inserts one filesystem Skill provider named `archify-plugin` and exposes **Archify 3.0.1**, pinned to stable `main` commit `7158026e852f3aa6578c741e673b46d7878c92c1`. This snapshot includes the Skill installation fix from [#704](https://github.com/tt-a1i/archify/pull/704), which landed after the `v3.0.1` tag; it is not a byte-for-byte copy of that tag. The packaged `package.json` and `skill-release.json` both declare 3.0.1. Compared with the published plugin 0.1.0, it includes the Archify 3.x authoring and delivery flow, authored brand marks, Workflow schema v2, Viewer localization, and update awareness.
+The pending **v1.0.0** release candidate is prepared for the explicitly supported developer-preview **`@deepseek-ai/[email protected]`**. It is not published or available as an npm install yet. The 1.0 adapter contract covers this exact DSH host version; it does not make the host stable or guarantee compatibility with other DSH versions. It is a Skill-only bundle: it inserts one filesystem Skill provider named `archify-plugin` and exposes **Archify 3.0.1**, pinned to stable `main` commit `7158026e852f3aa6578c741e673b46d7878c92c1`. This snapshot includes the Skill installation fix from [#704](https://github.com/tt-a1i/archify/pull/704), which landed after the `v3.0.1` tag; it is not a byte-for-byte copy of that tag. The packaged `package.json` and `skill-release.json` both declare 3.0.1. Compared with the published plugin 0.1.0, it includes the Archify 3.x authoring and delivery flow, authored brand marks, Workflow schema v2, Viewer localization, and update awareness.
`release.json` records the immutable Skill source commit, Skill version, and DSH version used by acceptance. Packaging uses the canonical clean-Skill stager against that commit, preserving license notices and excluding development files. Adapter version 0.1.0 and its `archify-dsh-v0.1.0` tag remain unchanged; reproduce that old release by checking out its tag first.
-The adapter registers no native render/validate/deliver tools, custom Web client, Produced Files chips, telemetry, credentials handling, background services, or install hooks. The pending v0.2.0 Skill includes an optional, notification-only stable Archify update checker; it never upgrades the plugin. Authored remote brand assets may also use the Skill's bounded network path. The adapter itself makes no network requests.
+The adapter registers no native render/validate/deliver tools, custom Web client, Produced Files chips, telemetry, credentials handling, background services, or install hooks. The pending v1.0.0 Skill includes an optional, notification-only stable Archify update checker; it never upgrades the plugin. Authored remote brand assets may also use the Skill's bounded network path. The adapter itself makes no network requests.
## Patch execution boundary
@@ -26,6 +26,8 @@ dsh plugin --profile web add @tt-a1i/[email protected]
## Upgrade
+The 1.0.0 release gate covers both a clean installation and upgrading the published plugin 0.1.0 to the candidate in the same isolated profile on `@deepseek-ai/[email protected]`. The older host `0.1.0-rc.6` is not a supported 1.0 target: update the host separately before upgrading the plugin. The Node requirement remains `^22.19.0 || >=24.0.0`; the three-platform release gate runs on Node 22. See the [adapter changelog](CHANGELOG.md) for the bundled Archify change.
+
Run the same exact-version install command above in each profile that uses Archify. Updating DSH itself or the Archify repository does not update an already installed plugin.
Do **not** use `dsh plugin add tt-a1i/archify`: the repository root is not a DSH package and has no bundle metadata (see [#341](https://github.com/tt-a1i/archify/issues/341)). For an npm download problem, a locally downloaded, integrity-verified `.tgz` can be passed to `dsh plugin --profile web add /absolute/path/to/package.tgz`.
@@ -46,7 +48,7 @@ node integrations/deepseek-harness/scripts/distribution-acceptance.mjs
node integrations/deepseek-harness/scripts/pack.mjs --out /tmp/archify-dsh.tgz --json
```
-Distribution acceptance requires Node 22 for the canonical ZIP regression check and pnpm 10. It installs the real pinned DSH runtime and tarball in temporary profiles, checks discovery and loading, runs `doctor` and `demo` through the installed CLI, and checks uninstall. The full source-version package smoke runs on a temporary copy of the installed Skill because it rewrites bundled examples; the copy preserves pnpm store hard links in the actual installation. Release CI runs this on Linux, macOS, and Windows. Publish only the tested tarball as a new version; tag the corresponding adapter commit as `archify-dsh-v<version>`. After v0.2.0 is published and publicly verified, switch the public install examples to `@0.2.0`. Rebuilding a released adapter uses its tag and recorded Skill commit, not a moving branch.
+Distribution acceptance requires Node 22 for the canonical ZIP regression check and pnpm 10. It installs the real pinned DSH runtime and tarball in temporary profiles, checks discovery and loading, runs `doctor` and `demo` through the installed CLI, and checks uninstall. It also installs an integrity-pinned published 0.1.0 tarball, upgrades that same profile to the candidate, checks both Skill identities and loading, exercises the upgraded CLI, and verifies removal preserves the base profile. The full source-version package smoke runs on a temporary copy of the installed Skill because it rewrites bundled examples; the copy preserves pnpm store hard links in the actual installation. Release CI runs this on Linux, macOS, and Windows. Publish only the tested tarball as a new version; tag the corresponding adapter commit as `archify-dsh-v<version>`. After v1.0.0 is published and publicly verified, switch the public install examples to `@1.0.0`. Rebuilding a released adapter uses its tag and recorded Skill commit, not a moving branch.
## Invoke
diff --git a/integrations/deepseek-harness/package.json b/integrations/deepseek-harness/package.json
index f5087aa0..f6521b94 100644
--- a/integrations/deepseek-harness/package.json
+++ b/integrations/deepseek-harness/package.json
@@ -1,6 +1,6 @@
{
"name": "@tt-a1i/archify-dsh",
- "version": "0.2.0",
+ "version": "1.0.0",
"description": "Opt-in DeepSeek Harness Skill-only bundle for the Archify architecture-diagram skill.",
"license": "MIT",
"type": "module",
@@ -14,6 +14,7 @@
"cordis.patch.yml",
"skills",
"README.md",
+ "CHANGELOG.md",
"LICENSE",
"release.json"
],
diff --git a/integrations/deepseek-harness/scripts/distribution-acceptance.mjs b/integrations/deepseek-harness/scripts/distribution-acceptance.mjs
index 837bf962..28ff59dc 100644
--- a/integrations/deepseek-harness/scripts/distribution-acceptance.mjs
+++ b/integrations/deepseek-harness/scripts/distribution-acceptance.mjs
@@ -1,6 +1,7 @@
#!/usr/bin/env node
import fs from 'node:fs';
+import { createHash } from 'node:crypto';
import os from 'node:os';
import path from 'node:path';
import { fileURLToPath, pathToFileURL } from 'node:url';
@@ -18,6 +19,12 @@ const DSH_RELEASE_REF = release.sourceCommit;
const DSH_PACKAGE_NAME = '@deepseek-ai/dsh';
const DSH_SPEC = `${DSH_PACKAGE_NAME}@${release.dshVersion}`;
const PROFILE = 'archify-dsh-acceptance';
+const UPGRADE_PROFILE = 'archify-dsh-upgrade';
+const PREVIOUS_RELEASE = Object.freeze({
+ version: '0.1.0',
+ skillVersion: '2.14.0',
+ integrity: 'sha512-D8fDqV6DV/vo80Gj/3rgidd+hwBbhTVncaVoD5Uhh+DbgYlEoQQOmBVbhU5HW33wE5OqJP/2HkTRPJ0hf7W0tA==',
+});
const DSH_RUNTIME_INSTALL_TIMEOUT = process.platform === 'win32' ? 600_000 : 300_000;
const PLUGIN_MUTATION_TIMEOUT = 180_000;
@@ -140,7 +147,6 @@ const dshHome = path.join(scratch, 'dsh-home');
const agentsHome = path.join(scratch, 'agents-home');
const dshRuntime = path.join(scratch, 'dsh-runtime');
const workspace = path.join(scratch, 'workspace');
-const probeOut = path.join(scratch, 'skill-probe.json');
fs.mkdirSync(dshHome);
fs.mkdirSync(agentsHome);
fs.mkdirSync(dshRuntime);
@@ -206,7 +212,6 @@ const dshEnv = {
DSH_HOME: dshHome,
DSH_AGENTS_HOME: agentsHome,
DSH_TELEMETRY_DISABLED: '1',
- ARCHIFY_DSH_PROBE_OUT: probeOut,
npm_config_update_notifier: 'false',
};
@@ -321,23 +326,29 @@ fs.writeFileSync(probePatch, `- insert:
name: ${JSON.stringify(pathToFileURL(probeModule).href)}
inject: [skills]
`);
-const probeChild = spawnCli(process.execPath, [dshBin, '--profile', PROFILE, '--patch', probePatch], {
- cwd: workspace,
- env: dshEnv,
- stdio: ['ignore', 'pipe', 'pipe'],
-});
-let probeStdout = '';
-let probeStderr = '';
-probeChild.stdout.on('data', (chunk) => { probeStdout += chunk; });
-probeChild.stderr.on('data', (chunk) => { probeStderr += chunk; });
-try {
- await waitForProbe(probeChild, probeOut, 90_000);
-} catch (error) {
- probeChild.kill('SIGTERM');
- fail('skill-discovery', error.message, { stdout: probeStdout, stderr: probeStderr });
+async function probeProfile(profile, stage) {
+ const probeOut = path.join(scratch, `${stage}-probe.json`);
+ const child = spawnCli(process.execPath, [dshBin, '--profile', profile, '--patch', probePatch], {
+ cwd: workspace,
+ env: { ...dshEnv, ARCHIFY_DSH_PROBE_OUT: probeOut },
+ stdio: ['ignore', 'pipe', 'pipe'],
+ });
+ let stdout = '';
+ let stderr = '';
+ child.stdout.on('data', (chunk) => { stdout += chunk; });
+ child.stderr.on('data', (chunk) => { stderr += chunk; });
+ try {
+ await waitForProbe(child, probeOut, 90_000);
+ } catch (error) {
+ child.kill('SIGTERM');
+ fail(stage, error.message, { stdout, stderr });
+ } finally {
+ child.kill('SIGTERM');
+ }
+ return { probe: JSON.parse(fs.readFileSync(probeOut, 'utf8')), stdout, stderr };
}
-probeChild.kill('SIGTERM');
-const probeReceipt = JSON.parse(fs.readFileSync(probeOut, 'utf8'));
+
+const { probe: probeReceipt, stdout: probeStdout, stderr: probeStderr } = await probeProfile(PROFILE, 'skill-discovery');
const archifyHits = (probeReceipt.skills || []).filter((skill) => skill.name === 'archify');
if (archifyHits.length !== 1 || archifyHits[0].provider !== 'archify-plugin') {
fail('skill-discovery', 'public Skill registry did not discover archify only from archify-plugin', {
@@ -434,6 +445,90 @@ if (leftover.length > 0) {
}
pass('base-profile', { bundles: removedManifest.dsh?.profile?.bundles || [] });
+// Exercise an existing published installation independently of the clean
+// installation above. Pin its registry bytes, not just an npm dist-tag.
+const previousSpec = `${PACKAGE_NAME}@${PREVIOUS_RELEASE.version}`;
+const previousPack = runWithTransientNetworkRetry(() => run('npm', [
+ 'pack', previousSpec, '--ignore-scripts', '--json',
+ '--registry=https://registry.npmjs.org', '--pack-destination', scratch,
+], { cwd: scratch, env: dshEnv, timeout: 120_000 }));
+requireStatus('upgrade-baseline-download', previousPack.result, { command: `npm pack ${previousSpec}` });
+const previousTarball = path.join(scratch, `tt-a1i-archify-dsh-${PREVIOUS_RELEASE.version}.tgz`);
+const previousIntegrity = `sha512-${createHash('sha512').update(fs.readFileSync(previousTarball)).digest('base64')}`;
+if (previousIntegrity !== PREVIOUS_RELEASE.integrity) {
+ fail('upgrade-baseline-download', 'published baseline tarball integrity mismatch', { previousIntegrity });
+}
+const previousRoot = path.join(scratch, 'previous-package');
+fs.mkdirSync(previousRoot);
+requireStatus('upgrade-baseline-download', run('tar', ['-xzf', previousTarball, '-C', previousRoot]));
+pass('upgrade-baseline-download', { spec: previousSpec, integrity: previousIntegrity });
+
+async function verifyUpgradeProfile(stage, version, skillVersion, expectedRoot) {
+ const root = path.join(dshHome, 'profiles', UPGRADE_PROFILE);
+ const installed = path.join(root, 'node_modules', '@tt-a1i', 'archify-dsh');
+ const pkg = JSON.parse(fs.readFileSync(path.join(installed, 'package.json'), 'utf8'));
+ const skill = path.join(installed, 'skills', 'archify');
+ const skillPkg = JSON.parse(fs.readFileSync(path.join(skill, 'package.json'), 'utf8'));
+ if (pkg.name !== PACKAGE_NAME || pkg.version !== version || skillPkg.version !== skillVersion) {
+ fail(stage, 'installed upgrade identity mismatch', { version: pkg.version, skillVersion: skillPkg.version });
+ }
+ const expectedFiles = listRelativeFiles(expectedRoot);
+ if (JSON.stringify(listRelativeFiles(installed)) !== JSON.stringify(expectedFiles)
+ || expectedFiles.some((file) => !fs.readFileSync(path.join(installed, file)).equals(fs.readFileSync(path.join(expectedRoot, file))))) {
+ fail(stage, 'installed upgrade payload differs from the verified tarball');
+ }
+ const config = dsh(['--profile', UPGRADE_PROFILE, '--dump-config']);
+ requireStatus(stage, config);
+ const rows = parseDump(config.stdout).rows;
+ const providers = rows.filter((row) => row.config.providerName === 'archify-plugin');
+ if (providers.length !== 1 || providers[0].config.includeDefaultRoots !== false
+ || !rows.some((row) => row.id === 'skill-filesystem' && row.config.providerName !== 'archify-plugin')) {
+ fail(stage, 'upgrade duplicated the provider or replaced the base Skill provider');
+ }
+ const { probe } = await probeProfile(UPGRADE_PROFILE, stage);
+ const hits = (probe.skills || []).filter((entry) => entry.name === 'archify');
+ const resource = probe.definition?.resourceBase?.path || probe.definition?.path;
+ const expectedRoots = [path.join(installed, 'skills'), skill];
+ if (hits.length !== 1 || hits[0].provider !== 'archify-plugin'
+ || !probe.definition?.contentLength || probe.definition.provider !== 'archify-plugin'
+ || !resource || !expectedRoots.some((entry) => sameEntry(entry, resource).status === 'match')) {
+ fail(stage, 'upgrade did not discover and load exactly one installed Archify Skill', { probe });
+ }
+ pass(stage, { version, skillVersion, provider: 'archify-plugin', fileCount: expectedFiles.length });
+ return skill;
+}
+
+requireStatus('upgrade-baseline-install', dsh(['plugin', '--profile', UPGRADE_PROFILE, 'add', previousTarball], {
+ timeout: PLUGIN_MUTATION_TIMEOUT,
+}));
+await verifyUpgradeProfile('upgrade-baseline-load', PREVIOUS_RELEASE.version, PREVIOUS_RELEASE.skillVersion,
+ path.join(previousRoot, 'package'));
+requireStatus('plugin-upgrade', dsh(['plugin', '--profile', UPGRADE_PROFILE, 'add', tarball], {
+ timeout: PLUGIN_MUTATION_TIMEOUT,
+}));
+const upgradedSkill = await verifyUpgradeProfile('plugin-upgrade-load', PACKAGE_VERSION, release.skillVersion,
+ path.join(inspectRoot, 'package'));
+for (const args of [['doctor'], ['demo', path.join(workspace, 'upgraded-smoke')]]) {
+ requireStatus('upgraded-skill-smoke', run(process.execPath, [path.join(upgradedSkill, 'bin', 'archify.mjs'), ...args], {
+ cwd: workspace,
+ timeout: 120_000,
+ }));
+}
+pass('upgraded-skill-smoke', { from: PREVIOUS_RELEASE.version, to: PACKAGE_VERSION, commands: ['doctor', 'demo'] });
+requireStatus('upgrade-uninstall', dsh(['plugin', '--profile', UPGRADE_PROFILE, 'remove', PACKAGE_NAME], {
+ timeout: PLUGIN_MUTATION_TIMEOUT,
+}));
+const afterUpgrade = JSON.parse(fs.readFileSync(path.join(dshHome, 'profiles', UPGRADE_PROFILE, 'package.json'), 'utf8'));
+const afterUpgradeDump = dsh(['--profile', UPGRADE_PROFILE, '--dump-config']);
+requireStatus('upgrade-uninstall', afterUpgradeDump);
+const afterRows = parseDump(afterUpgradeDump.stdout).rows;
+if (afterUpgrade.dependencies?.[PACKAGE_NAME] || (afterUpgrade.dsh?.profile?.bundles || []).includes(PACKAGE_NAME)
+ || afterRows.some((row) => row.id === 'archify-skill-filesystem' || row.config.providerName === 'archify-plugin')
+ || !afterRows.some((row) => row.id === 'skill-filesystem')) {
+ fail('upgrade-uninstall', 'upgraded plugin did not uninstall cleanly while preserving the base profile');
+}
+pass('upgrade-uninstall', { profile: UPGRADE_PROFILE, bundles: afterUpgrade.dsh?.profile?.bundles || [] });
+
const zipBlob = run('git', ['hash-object', 'archify.zip'], { cwd: repoRoot });
const pkgBlob = run('git', ['hash-object', 'archify/package.json'], { cwd: repoRoot });
const skipFreshZipRebuild = process.platform === 'win32';
diff --git a/integrations/deepseek-harness/scripts/pack.mjs b/integrations/deepseek-harness/scripts/pack.mjs
index 18e9b6fb..a81fc8e5 100644
--- a/integrations/deepseek-harness/scripts/pack.mjs
+++ b/integrations/deepseek-harness/scripts/pack.mjs
@@ -59,7 +59,7 @@ try {
}
const files = packMeta.files.map((file) => ({ path: file.path }));
const packagedPaths = new Set(files.map(({ path: filePath }) => filePath.replace(/^package\//, '')));
- for (const required of ['package.json', 'release.json', 'cordis.patch.yml', 'README.md', 'LICENSE', 'lib/index.js', 'skills/archify/SKILL.md']) {
+ for (const required of ['package.json', 'release.json', 'cordis.patch.yml', 'README.md', 'CHANGELOG.md', 'LICENSE', 'lib/index.js', 'skills/archify/SKILL.md']) {
if (!packagedPaths.has(required)) throw new Error(`DSH tarball is missing required file: ${required}`);
}
const destination = path.resolve(out || path.join(process.cwd(), produced));
diff --git a/integrations/deepseek-harness/scripts/release-source.mjs b/integrations/deepseek-harness/scripts/release-source.mjs
index b7e209e4..ac1595d5 100644
--- a/integrations/deepseek-harness/scripts/release-source.mjs
+++ b/integrations/deepseek-harness/scripts/release-source.mjs
@@ -7,7 +7,7 @@ import { spawnCliSync } from './resolve-cli.mjs';
export const integrationRoot = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..');
export const repoRoot = path.resolve(integrationRoot, '..', '..');
const adapterPrefix = 'integrations/deepseek-harness/';
-const requiredAdapterFiles = ['package.json', 'release.json', 'cordis.patch.yml', 'README.md', 'lib/index.js'];
+const requiredAdapterFiles = ['package.json', 'release.json', 'cordis.patch.yml', 'README.md', 'CHANGELOG.md', 'lib/index.js'];
function readGit(args) {
const result = spawnCliSync('git', args, { cwd: repoRoot, encoding: null, maxBuffer: 128 * 1024 * 1024 });
diff --git a/integrations/deepseek-harness/test/package-contract.test.mjs b/integrations/deepseek-harness/test/package-contract.test.mjs
index 06603bac..8722b487 100644
--- a/integrations/deepseek-harness/test/package-contract.test.mjs
+++ b/integrations/deepseek-harness/test/package-contract.test.mjs
@@ -43,10 +43,10 @@ test('adapter source lives only under integrations/deepseek-harness with no root
assert.equal(fs.existsSync(path.join(repoRoot, 'integrations/deepseek-harness/package.json')), true);
});
-test('publishable manifest is @tt-a1i/[email protected] with a DSH bundle patch and no install surface', () => {
+test('publishable manifest is @tt-a1i/[email protected] with a DSH bundle patch and no install surface', () => {
const pkg = JSON.parse(fs.readFileSync(manifestPath, 'utf8'));
assert.equal(pkg.name, '@tt-a1i/archify-dsh');
- assert.equal(pkg.version, '0.2.0');
+ assert.equal(pkg.version, '1.0.0');
assert.equal(pkg.license, 'MIT');
assert.equal(pkg.type, 'module');
assert.equal(pkg.main, './lib/index.js');
diff --git a/integrations/deepseek-harness/test/tarball-contract.test.mjs b/integrations/deepseek-harness/test/tarball-contract.test.mjs
index 14dcc353..99df2ed4 100644
--- a/integrations/deepseek-harness/test/tarball-contract.test.mjs
+++ b/integrations/deepseek-harness/test/tarball-contract.test.mjs
@@ -27,7 +27,7 @@ const FORBIDDEN = [
function packTarball() {
const scratch = fs.mkdtempSync(path.join(os.tmpdir(), 'archify-dsh-tarball-'));
- const out = path.join(scratch, 'tt-a1i-archify-dsh-0.2.0.tgz');
+ const out = path.join(scratch, 'tt-a1i-archify-dsh-1.0.0.tgz');
const result = spawnSync(process.execPath, [packScript, '--out', out, '--json'], {
cwd: repoRoot,
encoding: 'utf8',
@@ -41,7 +41,7 @@ test('pack command emits a real npm tarball with the expected identity and file
assert.equal(result.status, 0, result.stderr || result.stdout);
const receipt = JSON.parse(result.stdout);
assert.equal(receipt.name, '@tt-a1i/archify-dsh');
- assert.equal(receipt.version, '0.2.0');
+ assert.equal(receipt.version, '1.0.0');
assert.equal(fs.existsSync(out), true);
const files = receipt.files.map((file) => file.path.replace(/^package\//, ''));
for (const required of [
@@ -49,6 +49,7 @@ test('pack command emits a real npm tarball with the expected identity and file
'cordis.patch.yml',
'lib/index.js',
'README.md',
+ 'CHANGELOG.md',
'LICENSE',
'skills/archify/SKILL.md',
'skills/archify/bin/archify.mjs',
@@ -65,7 +66,7 @@ test('pack command emits a real npm tarball with the expected identity and file
'skills/archify/scripts/check-update.mjs',
'skills/archify/scripts/update-contract.mjs',
]) {
- assert.equal(files.includes(notifierFile), true, `DSH 0.2.0 must contain ${notifierFile}`);
+ assert.equal(files.includes(notifierFile), true, `DSH 1.0.0 must contain ${notifierFile}`);
}
for (const file of files) {
for (const forbidden of FORBIDDEN) {