@xn-intenton-z2a/agentic-lib 7.1.79 → 7.1.80
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.
|
@@ -265,4 +265,16 @@ jobs:
|
|
|
265
265
|
git diff --cached --quiet && echo "No changes" && exit 0
|
|
266
266
|
VERSION=$(npx @xn-intenton-z2a/agentic-lib version 2>/dev/null || echo "latest")
|
|
267
267
|
git commit -m "init ${INIT_MODE} (agentic-lib@${VERSION}) [skip ci]"
|
|
268
|
-
|
|
268
|
+
for attempt in 1 2 3; do
|
|
269
|
+
git push origin main && break
|
|
270
|
+
echo "Push failed (attempt $attempt) — pulling and retrying"
|
|
271
|
+
git pull --rebase origin main || {
|
|
272
|
+
echo "Rebase conflict — aborting rebase and retrying"
|
|
273
|
+
git rebase --abort 2>/dev/null || true
|
|
274
|
+
}
|
|
275
|
+
sleep $((attempt * 2))
|
|
276
|
+
if [ "$attempt" -eq 3 ]; then
|
|
277
|
+
echo "::error::Failed to push after 3 attempts"
|
|
278
|
+
exit 1
|
|
279
|
+
fi
|
|
280
|
+
done
|
|
@@ -159,4 +159,16 @@ jobs:
|
|
|
159
159
|
git add .github/workflows/agentic-lib-workflow.yml agentic-lib.toml
|
|
160
160
|
git diff --cached --quiet && echo "No changes to commit" && exit 0
|
|
161
161
|
git commit -m "schedule: set to ${FREQUENCY}, model ${MODEL:-gpt-5-mini}"
|
|
162
|
-
|
|
162
|
+
for attempt in 1 2 3; do
|
|
163
|
+
git push origin main && break
|
|
164
|
+
echo "Push failed (attempt $attempt) — pulling and retrying"
|
|
165
|
+
git pull --rebase origin main || {
|
|
166
|
+
echo "Rebase conflict — aborting rebase and retrying"
|
|
167
|
+
git rebase --abort 2>/dev/null || true
|
|
168
|
+
}
|
|
169
|
+
sleep $((attempt * 2))
|
|
170
|
+
if [ "$attempt" -eq 3 ]; then
|
|
171
|
+
echo "::error::Failed to push after 3 attempts"
|
|
172
|
+
exit 1
|
|
173
|
+
fi
|
|
174
|
+
done
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"build:web": "mkdir -p docs && touch docs/.nojekyll && cp -r src/web/* docs/ 2>/dev/null || true && node --input-type=commonjs -p \"var p=require('./package.json');['name','version','description'].map(function(k){return 'export const '+k+' = '+JSON.stringify(p[k])+';'}).join('\\n')\" > docs/lib-meta.js",
|
|
10
10
|
"test": "vitest --run tests/unit/*.test.js",
|
|
11
11
|
"test:unit": "vitest --run --coverage tests/unit/*.test.js",
|
|
12
|
-
"test:behaviour": "npx playwright test --config playwright.config.js",
|
|
12
|
+
"test:behaviour": "npm run build:web && npx playwright test --config playwright.config.js",
|
|
13
13
|
"start": "npm run build:web && npx serve docs",
|
|
14
14
|
"start:cli": "node src/lib/main.js"
|
|
15
15
|
},
|
|
@@ -17,11 +17,12 @@
|
|
|
17
17
|
"author": "",
|
|
18
18
|
"license": "MIT",
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@xn-intenton-z2a/agentic-lib": "^7.1.
|
|
20
|
+
"@xn-intenton-z2a/agentic-lib": "^7.1.80"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@playwright/test": "^1.58.0",
|
|
24
24
|
"@vitest/coverage-v8": "^4.0.18",
|
|
25
|
+
"serve": "^14.2.4",
|
|
25
26
|
"vitest": "^4.0.18"
|
|
26
27
|
},
|
|
27
28
|
"engines": {
|