sequant 1.5.2 → 1.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,13 +2,13 @@
2
2
  * sequant status - Show version and configuration
3
3
  */
4
4
  import chalk from "chalk";
5
- import { getManifest } from "../lib/manifest.js";
5
+ import { getManifest, getPackageVersion } from "../lib/manifest.js";
6
6
  import { fileExists } from "../lib/fs.js";
7
7
  import { readdir } from "fs/promises";
8
8
  export async function statusCommand() {
9
9
  console.log(chalk.bold("\nšŸ“Š Sequant Status\n"));
10
10
  // Package version
11
- console.log(chalk.gray("Package version: 0.1.0"));
11
+ console.log(chalk.gray(`Package version: ${getPackageVersion()}`));
12
12
  // Check initialization
13
13
  const manifest = await getManifest();
14
14
  if (!manifest) {
@@ -2,6 +2,7 @@
2
2
  * Manifest management for tracking installed version
3
3
  */
4
4
  import type { PackageManager } from "./stacks.js";
5
+ export declare function getPackageVersion(): string;
5
6
  export interface Manifest {
6
7
  version: string;
7
8
  stack: string;
@@ -29,6 +29,9 @@ function findPackageJson() {
29
29
  }
30
30
  const pkg = JSON.parse(findPackageJson());
31
31
  const PACKAGE_VERSION = pkg.version;
32
+ export function getPackageVersion() {
33
+ return PACKAGE_VERSION;
34
+ }
32
35
  export async function getManifest() {
33
36
  if (!(await fileExists(MANIFEST_PATH))) {
34
37
  return null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sequant",
3
- "version": "1.5.2",
3
+ "version": "1.5.3",
4
4
  "description": "Quantize your development workflow - Sequential AI phases with quality gates",
5
5
  "type": "module",
6
6
  "bin": {