@xn-intenton-z2a/agentic-lib 7.1.56 → 7.1.57

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.56",
3
+ "version": "7.1.57",
4
4
  "description": "Agentic-lib Agentic Coding Systems SDK powering automated GitHub workflows.",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -96,7 +96,7 @@ async function run() {
96
96
  if (result.tokensUsed) core.setOutput("tokens-used", String(result.tokensUsed));
97
97
  if (result.model) core.setOutput("model", result.model);
98
98
 
99
- // Log to intentïon.md
99
+ // Log to intentïon.md (commit-if-changed excludes this on non-default branches)
100
100
  const intentionFilepath = config.intentionBot?.intentionFilepath;
101
101
  if (intentionFilepath) {
102
102
  logActivity({
@@ -26,6 +26,11 @@ runs:
26
26
  git config --local user.email 'action@github.com'
27
27
  git config --local user.name 'GitHub Actions[bot]'
28
28
  git add -A
29
+ # Unstage log files on non-default branches to avoid merge conflicts
30
+ REF="${{ inputs.push-ref }}"
31
+ if [ -n "$REF" ] && [ "$REF" != "main" ] && [ "$REF" != "master" ]; then
32
+ git reset HEAD -- 'intentïon.md' 'intention.md' 2>/dev/null || true
33
+ fi
29
34
  if git diff --cached --quiet; then
30
35
  echo "No changes to commit"
31
36
  elif git diff --cached --name-only | grep -qvE '(intentïon\.md|intention\.md)$'; then
@@ -14,7 +14,7 @@
14
14
  "author": "",
15
15
  "license": "MIT",
16
16
  "dependencies": {
17
- "@xn-intenton-z2a/agentic-lib": "^7.1.56"
17
+ "@xn-intenton-z2a/agentic-lib": "^7.1.57"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@vitest/coverage-v8": "^4.0.18",