stk-codegen 1.0.2 → 1.0.4

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.
@@ -1 +1,12 @@
1
+ import axios from 'axios';
2
+ import { execSync } from 'child_process';
3
+ export type VersionCheckDeps = {
4
+ axiosGet: typeof axios.get;
5
+ execSync: typeof execSync;
6
+ exit: (code: number) => never;
7
+ log: typeof console.log;
8
+ error: typeof console.error;
9
+ env: NodeJS.ProcessEnv;
10
+ };
11
+ export declare function checkCliVersionWithDeps({ axiosGet, execSync, exit, log, error: logError, env, }: VersionCheckDeps): Promise<void>;
1
12
  export declare function checkCliVersion(): Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stk-codegen",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "A CLI executor for the autonomous agent.",
5
5
  "main": "index.js",
6
6
  "bin": {