@lukstei/wf 0.1.1 → 0.1.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/AGENTS.md CHANGED
@@ -10,3 +10,4 @@
10
10
  - Prefer inline types, if the type is not reused
11
11
  - Prefer discriminated unions
12
12
  - No use of any or unjustified type castings
13
+ - Never change the git state without confirmation
package/README.md CHANGED
@@ -59,9 +59,9 @@ flowchart TD
59
59
  ## Installation
60
60
 
61
61
  ### Google Antigravity
62
- Clone into your global or workspace plugin directory:
62
+ Install using the Antigravity CLI:
63
63
  ```bash
64
- git clone https://github.com/lukstei/wf.git ~/.gemini/config/plugins/wf
64
+ agy plugin install https://github.com/lukstei/wf
65
65
  ```
66
66
 
67
67
  ### Claude Code
package/hooks.json ADDED
@@ -0,0 +1,16 @@
1
+ {
2
+ "wf": {
3
+ "PreInvocation": [
4
+ {
5
+ "type": "command",
6
+ "command": "node ./dist/wf.cjs hook pre"
7
+ }
8
+ ],
9
+ "Stop": [
10
+ {
11
+ "type": "command",
12
+ "command": "node ./dist/wf.cjs hook stop"
13
+ }
14
+ ]
15
+ }
16
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lukstei/wf",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Deterministic skill workflow runner for AI agents",
5
5
  "license": "MIT",
6
6
  "author": "Lukas Steinbrecher",
@@ -26,10 +26,11 @@
26
26
  ".agents",
27
27
  "AGENTS.md",
28
28
  "README.md",
29
- "plugin.json"
29
+ "plugin.json",
30
+ "hooks.json"
30
31
  ],
31
32
  "bin": {
32
- "wf": "./dist/wf.cjs"
33
+ "wf": "dist/wf.cjs"
33
34
  },
34
35
  "scripts": {
35
36
  "build": "node esbuild.config.js",
@@ -38,7 +39,11 @@
38
39
  "test": "vitest run",
39
40
  "test:watch": "vitest",
40
41
  "test:update": "vitest run -u",
41
- "verify": "npm run test && npm run typecheck"
42
+ "verify": "npm run test && npm run typecheck",
43
+ "check:clean": "test -z \"$(git status --porcelain)\" || (echo \"Error: Git working directory is not clean\" && exit 1)",
44
+ "release:patch": "npm run check:clean && npm run verify && gh workflow run publish.yml -f bump=patch && sleep 2 && gh run watch",
45
+ "release:minor": "npm run check:clean && npm run verify && gh workflow run publish.yml -f bump=minor && sleep 2 && gh run watch",
46
+ "release:major": "npm run check:clean && npm run verify && gh workflow run publish.yml -f bump=major && sleep 2 && gh run watch"
42
47
  },
43
48
  "devDependencies": {
44
49
  "@biomejs/biome": "2.5.14",