aienvmp 0.1.31 → 0.1.32
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/CHANGELOG.md +6 -0
- package/README.md +2 -0
- package/action.yml +12 -0
- package/examples/github-action.yml +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.32
|
|
4
|
+
|
|
5
|
+
- Added GitHub Action support for writing `.aienvmp/status.json` by default.
|
|
6
|
+
- Added a `write-status` action input so CI can keep compact AI status artifacts optional.
|
|
7
|
+
- Updated the GitHub Action example artifact list to include the status output.
|
|
8
|
+
|
|
3
9
|
## 0.1.31
|
|
4
10
|
|
|
5
11
|
- Added `aienvmp status` as a compact human and AI entrypoint.
|
package/README.md
CHANGED
|
@@ -67,11 +67,13 @@ npx aienvmp snippet agents
|
|
|
67
67
|
## CI Usage
|
|
68
68
|
|
|
69
69
|
Use the GitHub Action to write the env map, plan, dashboard, and optional strict checks. See [examples/github-action.yml](examples/github-action.yml).
|
|
70
|
+
CI also writes `.aienvmp/status.json` for a compact AI-readable result.
|
|
70
71
|
The dashboard shows which strict scopes are CI-ready before you enforce them.
|
|
71
72
|
|
|
72
73
|
```yaml
|
|
73
74
|
- uses: soovwv/aienvmp@main
|
|
74
75
|
with:
|
|
76
|
+
write-status: "true"
|
|
75
77
|
write-plan: "true"
|
|
76
78
|
strict: "off" # security, policy, coordination, all, or off
|
|
77
79
|
```
|
package/action.yml
CHANGED
|
@@ -15,6 +15,10 @@ inputs:
|
|
|
15
15
|
description: Write read-only AI plan artifacts
|
|
16
16
|
required: false
|
|
17
17
|
default: "true"
|
|
18
|
+
write-status:
|
|
19
|
+
description: Write compact AI status artifact
|
|
20
|
+
required: false
|
|
21
|
+
default: "true"
|
|
18
22
|
|
|
19
23
|
runs:
|
|
20
24
|
using: composite
|
|
@@ -30,6 +34,14 @@ runs:
|
|
|
30
34
|
node "$GITHUB_ACTION_PATH/bin/aienvmp.js" plan --dir "${{ inputs.directory }}" --write --json
|
|
31
35
|
fi
|
|
32
36
|
|
|
37
|
+
- name: Write AI status
|
|
38
|
+
shell: bash
|
|
39
|
+
run: |
|
|
40
|
+
if [ "${{ inputs.write-status }}" = "true" ]; then
|
|
41
|
+
mkdir -p "${{ inputs.directory }}/.aienvmp"
|
|
42
|
+
node "$GITHUB_ACTION_PATH/bin/aienvmp.js" status --dir "${{ inputs.directory }}" --json > "${{ inputs.directory }}/.aienvmp/status.json"
|
|
43
|
+
fi
|
|
44
|
+
|
|
33
45
|
- name: Doctor
|
|
34
46
|
shell: bash
|
|
35
47
|
run: |
|