@xn-intenton-z2a/agentic-lib 7.1.15 → 7.1.16

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": "@xn-intenton-z2a/agentic-lib",
3
- "version": "7.1.15",
3
+ "version": "7.1.16",
4
4
  "description": "Agentic-lib Agentic Coding Systems SDK powering automated GitHub workflows.",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -32,7 +32,20 @@ env:
32
32
  configPath: ".github/agentic-lib/agents/agentic-lib.yml"
33
33
 
34
34
  jobs:
35
+ params:
36
+ runs-on: ubuntu-latest
37
+ steps:
38
+ - name: Normalise params
39
+ id: normalise
40
+ shell: bash
41
+ run: |
42
+ STEP='${{ inputs.step }}'
43
+ echo "step=${STEP:-all}" >> $GITHUB_OUTPUT
44
+ outputs:
45
+ step: ${{ steps.normalise.outputs.step }}
46
+
35
47
  maintain:
48
+ needs: params
36
49
  runs-on: ubuntu-latest
37
50
  steps:
38
51
  - uses: actions/checkout@v4
@@ -58,7 +71,7 @@ jobs:
58
71
  echo "libraryWritablePaths=${LIBRARY};${SOURCES}" >> $GITHUB_OUTPUT
59
72
 
60
73
  - name: Maintain features
61
- if: inputs.step == 'all' || inputs.step == 'features' || github.event_name == 'schedule'
74
+ if: needs.params.outputs.step == 'all' || needs.params.outputs.step == 'features'
62
75
  uses: ./.github/agentic-lib/actions/agentic-step
63
76
  env:
64
77
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -70,7 +83,7 @@ jobs:
70
83
  writable-paths: ${{ steps.config.outputs.featuresWritablePaths }}
71
84
 
72
85
  - name: Maintain library
73
- if: inputs.step == 'all' || inputs.step == 'library' || github.event_name == 'schedule'
86
+ if: needs.params.outputs.step == 'all' || needs.params.outputs.step == 'library'
74
87
  uses: ./.github/agentic-lib/actions/agentic-step
75
88
  env:
76
89
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -31,8 +31,21 @@ env:
31
31
  configPath: ".github/agentic-lib/agents/agentic-lib.yml"
32
32
 
33
33
  jobs:
34
+ params:
35
+ runs-on: ubuntu-latest
36
+ steps:
37
+ - name: Normalise params
38
+ id: normalise
39
+ shell: bash
40
+ run: |
41
+ STEP='${{ inputs.step }}'
42
+ echo "step=${STEP:-all}" >> $GITHUB_OUTPUT
43
+ outputs:
44
+ step: ${{ steps.normalise.outputs.step }}
45
+
34
46
  review-issues:
35
- if: inputs.step == 'all' || inputs.step == 'review' || github.event_name == 'schedule'
47
+ needs: params
48
+ if: needs.params.outputs.step == 'all' || needs.params.outputs.step == 'review'
36
49
  runs-on: ubuntu-latest
37
50
  steps:
38
51
  - uses: actions/checkout@v4
@@ -56,7 +69,8 @@ jobs:
56
69
  instructions: ".github/agentic-lib/agents/agent-review-issue.md"
57
70
 
58
71
  enhance-issues:
59
- if: inputs.step == 'all' || inputs.step == 'enhance' || github.event_name == 'schedule'
72
+ needs: params
73
+ if: needs.params.outputs.step == 'all' || needs.params.outputs.step == 'enhance'
60
74
  runs-on: ubuntu-latest
61
75
  steps:
62
76
  - uses: actions/checkout@v4
@@ -33,7 +33,20 @@ env:
33
33
  configPath: ".github/agentic-lib/agents/agentic-lib.yml"
34
34
 
35
35
  jobs:
36
+ params:
37
+ runs-on: ubuntu-latest
38
+ steps:
39
+ - name: Normalise params
40
+ id: normalise
41
+ shell: bash
42
+ run: |
43
+ MODEL='${{ inputs.model }}'
44
+ echo "model=${MODEL:-claude-sonnet-4}" >> $GITHUB_OUTPUT
45
+ outputs:
46
+ model: ${{ steps.normalise.outputs.model }}
47
+
36
48
  transform:
49
+ needs: params
37
50
  runs-on: ubuntu-latest
38
51
  steps:
39
52
  - uses: actions/checkout@v4
@@ -72,7 +85,7 @@ jobs:
72
85
  config: ${{ env.configPath }}
73
86
  instructions: ".github/agentic-lib/agents/agent-issue-resolution.md"
74
87
  test-command: "npm test"
75
- model: ${{ inputs.model || 'claude-sonnet-4' }}
88
+ model: ${{ needs.params.outputs.model }}
76
89
  writable-paths: ${{ steps.config.outputs.writablePaths }}
77
90
 
78
91
  - name: Commit and push changes