@xn-intenton-z2a/agentic-lib 7.2.14 → 7.2.15
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.
|
@@ -231,6 +231,8 @@ jobs:
|
|
|
231
231
|
script: |
|
|
232
232
|
const fs = require('fs');
|
|
233
233
|
const frequency = '${{ inputs.schedule }}';
|
|
234
|
+
const workflowPath = '.github/workflows/agentic-lib-workflow.yml';
|
|
235
|
+
const tomlPath = 'agentic-lib.toml';
|
|
234
236
|
let model = '${{ inputs.model }}';
|
|
235
237
|
if (!model && fs.existsSync(tomlPath)) {
|
|
236
238
|
const toml = fs.readFileSync(tomlPath, 'utf8');
|
|
@@ -238,8 +240,6 @@ jobs:
|
|
|
238
240
|
if (m) model = m[1];
|
|
239
241
|
}
|
|
240
242
|
if (!model) model = 'gpt-5-mini';
|
|
241
|
-
const workflowPath = '.github/workflows/agentic-lib-workflow.yml';
|
|
242
|
-
const tomlPath = 'agentic-lib.toml';
|
|
243
243
|
|
|
244
244
|
const SCHEDULE_MAP = {
|
|
245
245
|
off: null,
|
|
@@ -92,6 +92,8 @@ jobs:
|
|
|
92
92
|
script: |
|
|
93
93
|
const fs = require('fs');
|
|
94
94
|
const frequency = '${{ inputs.frequency }}';
|
|
95
|
+
const workflowPath = '.github/workflows/agentic-lib-workflow.yml';
|
|
96
|
+
const tomlPath = 'agentic-lib.toml';
|
|
95
97
|
let model = '${{ inputs.model }}';
|
|
96
98
|
if (!model && fs.existsSync(tomlPath)) {
|
|
97
99
|
const toml = fs.readFileSync(tomlPath, 'utf8');
|
|
@@ -100,8 +102,6 @@ jobs:
|
|
|
100
102
|
}
|
|
101
103
|
if (!model) model = 'gpt-5-mini';
|
|
102
104
|
const profile = '${{ inputs.profile }}';
|
|
103
|
-
const workflowPath = '.github/workflows/agentic-lib-workflow.yml';
|
|
104
|
-
const tomlPath = 'agentic-lib.toml';
|
|
105
105
|
|
|
106
106
|
const isMaintenance = frequency === 'maintenance';
|
|
107
107
|
const effectiveFrequency = isMaintenance ? 'weekly' : frequency;
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@ import { test, expect } from "@playwright/test";
|
|
|
4
4
|
import { getIdentity } from "../../src/lib/main.js";
|
|
5
5
|
|
|
6
6
|
test("homepage returns 200 and renders", async ({ page }) => {
|
|
7
|
-
const response = await page.goto("
|
|
7
|
+
const response = await page.goto("./", { waitUntil: "networkidle" });
|
|
8
8
|
expect(response.status()).toBe(200);
|
|
9
9
|
|
|
10
10
|
await expect(page.locator("#lib-name")).toBeVisible({ timeout: 10000 });
|
|
@@ -16,7 +16,7 @@ test("homepage returns 200 and renders", async ({ page }) => {
|
|
|
16
16
|
|
|
17
17
|
test("page displays the library version from src/lib/main.js", async ({ page }) => {
|
|
18
18
|
const { version } = getIdentity();
|
|
19
|
-
await page.goto("
|
|
19
|
+
await page.goto("./", { waitUntil: "networkidle" });
|
|
20
20
|
const pageVersion = await page.locator("#lib-version").textContent();
|
|
21
21
|
expect(pageVersion).toContain(version);
|
|
22
22
|
});
|