stk-codegen 1.2.0 → 1.2.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stk-codegen",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
4
4
  "description": "A CLI executor for the autonomous agent.",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -20,8 +20,20 @@
20
20
  "build": "rm -rf dist && ncc build src/cli.tsx -o dist -m",
21
21
  "prepare-publish": "rm -rf dist && pnpm build && pnpm pack",
22
22
  "lint": "eslint \"src/**/*.ts\" \"src/**/*.tsx\"",
23
+ "format:check": "prettier --check .",
23
24
  "fix": "eslint --fix . && prettier --write .",
24
- "check-branch": "pnpm fix && pnpm lint && pnpm build"
25
+ "check": "pnpm fix && pnpm build",
26
+ "check:ci": "pnpm lint && pnpm format:check && pnpm test && pnpm build",
27
+ "precommit:staged": "lint-staged"
28
+ },
29
+ "lint-staged": {
30
+ "*.{ts,tsx}": [
31
+ "eslint --fix --max-warnings=0",
32
+ "prettier --write ."
33
+ ],
34
+ "*.{js,jsx,mjs,cjs,json,md,css,scss,yml,yaml}": [
35
+ "prettier --write ."
36
+ ]
25
37
  },
26
38
  "keywords": [],
27
39
  "author": "",
@@ -34,7 +46,7 @@
34
46
  "axios": "^1.13.5",
35
47
  "diff": "^8.0.3",
36
48
  "fernet": "^0.3.3",
37
- "glob": "^13.0.5",
49
+ "glob": "^13.0.6",
38
50
  "html-to-text": "^9.0.5",
39
51
  "ink": "6.6.0",
40
52
  "ink-spinner": "^5.0.0",
@@ -49,7 +61,8 @@
49
61
  "serpapi": "^2.2.1",
50
62
  "strip-ansi": "^7.1.2",
51
63
  "tmp": "^0.2.5",
52
- "ws": "^8.19.0"
64
+ "ws": "^8.19.0",
65
+ "zod": "^4.3.6"
53
66
  },
54
67
  "devDependencies": {
55
68
  "@eslint/compat": "^2.0.2",
@@ -78,6 +91,7 @@
78
91
  "eslint-plugin-react-hooks-order": "^0.1.2",
79
92
  "eslint-plugin-react-refresh": "^0.4.26",
80
93
  "ink-testing-library": "^4.0.0",
94
+ "lint-staged": "^15.5.2",
81
95
  "prettier": "^3.8.1",
82
96
  "typescript": "^5.9.3",
83
97
  "vitest": "^1.6.1"