agentlas 1.0.50 → 1.0.52
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.
|
@@ -198,6 +198,12 @@ const RULES = [
|
|
|
198
198
|
" the expected fields' / 'the row was appended with the submitted values'. If the outside",
|
|
199
199
|
" result genuinely cannot be re-observed, say so in the step instruction rather than",
|
|
200
200
|
" skipping the check.",
|
|
201
|
+
" · A value a branch tests for emptiness (op truthy/falsy) MUST NOT also carry a check",
|
|
202
|
+
" that demands it be non-empty. Threshold watchers are the common case: on a day the",
|
|
203
|
+
" threshold is not crossed the value is correctly empty, and a check demanding content",
|
|
204
|
+
" fails the run on exactly the days nothing was supposed to happen. Put that check",
|
|
205
|
+
" INSIDE the branch that has the value, or check the comparison step's own report",
|
|
206
|
+
" (both rates read, threshold applied) instead of the alert text.",
|
|
201
207
|
" · repeatOn says which side loops. Write the condition the way the person said it and",
|
|
202
208
|
" put the loop on the side they meant — do not flip either one to make it fit.",
|
|
203
209
|
"",
|
|
@@ -557,6 +563,42 @@ function validateBlueprint(bp, ctx = {}) {
|
|
|
557
563
|
}
|
|
558
564
|
}
|
|
559
565
|
|
|
566
|
+
/*
|
|
567
|
+
* ★"비어 있을 수 있다"고 갈림길이 말한 값에 "비어 있으면 안 된다" 검증을 걸면 평상시마다
|
|
568
|
+
* 실패한다(실측 2026-08-19: 임계값 미달인 날 alertline 이 정당하게 비어 NODE_INPUT_MISSING).
|
|
569
|
+
* 정본은 데스크탑 shared/graph-blueprint.ts — 이 파일은 손복사본이고 패리티 게이트가 지킨다.
|
|
570
|
+
*/
|
|
571
|
+
const emptinessTestedVars = new Set(
|
|
572
|
+
(bp.branches || [])
|
|
573
|
+
.filter((branch) => branch.op === "truthy" || branch.op === "falsy")
|
|
574
|
+
.map((branch) => String(branch.var || "").trim())
|
|
575
|
+
.filter(Boolean),
|
|
576
|
+
);
|
|
577
|
+
for (const check of bp.checks || []) {
|
|
578
|
+
const subject = String(check.subject || "").trim();
|
|
579
|
+
if (!subject || !emptinessTestedVars.has(subject)) continue;
|
|
580
|
+
const branch = (bp.branches || []).find((b) => String(b.var || "").trim() === subject);
|
|
581
|
+
if (!branch) continue;
|
|
582
|
+
// 위치를 본다 — 갈림길 뒤 값-있는 쪽의 검증은 비는 날 아예 안 돌므로 문제가 아니다.
|
|
583
|
+
const at = typeof check.afterStep === "number" ? check.afterStep : -1;
|
|
584
|
+
const runsBeforeTheBranchDecides = at <= (branch.afterStep ?? 0);
|
|
585
|
+
const sitsOnTheEmptySide = typeof branch.noStep === "number" && at === branch.noStep;
|
|
586
|
+
if (!runsBeforeTheBranchDecides && !sitsOnTheEmptySide) continue;
|
|
587
|
+
const yesStep = typeof branch.yesStep === "number" ? branch.yesStep : null;
|
|
588
|
+
// 사람에게 묻지 않는다 — 모양이 틀린 것이고 고치는 법이 하나로 정해진다.
|
|
589
|
+
push(
|
|
590
|
+
`"${subject}"은(는) 갈림길이 비어 있을 수 있다고 말하는 값인데, 그 앞의 검증이 비어 있지 않기를 요구합니다. `
|
|
591
|
+
+ "임계값 감시처럼 '알릴 것이 없는 날'이 정상인 자동화는 그 날마다 실패합니다. "
|
|
592
|
+
+ `검증을 지우지 말고 **값이 있는 쪽에서만 돌게** 옮기세요: 이 검증의 afterStep 을 `
|
|
593
|
+
+ (yesStep !== null
|
|
594
|
+
? `갈림길의 yes 쪽 단계(${yesStep})나 그 뒤 단계로 바꾸면 됩니다.`
|
|
595
|
+
: "갈림길의 yes 쪽 단계나 그 뒤 단계로 바꾸면 됩니다.")
|
|
596
|
+
+ ` 값이 비었는지 자체를 확인하고 싶다면, "${subject}"을(를) 만든 비교 단계가 `
|
|
597
|
+
+ "무엇을 읽고 어떤 임계값을 적용했는지 보고하게 하고 그 보고를 subject 로 삼으세요 "
|
|
598
|
+
+ "— 그 보고는 알릴 것이 없는 날에도 비지 않습니다.",
|
|
599
|
+
);
|
|
600
|
+
}
|
|
601
|
+
|
|
560
602
|
for (const branch of bp.branches || []) {
|
|
561
603
|
const at = `${(branch.afterStep ?? 0) + 1}번째 단계 뒤의 갈림길`;
|
|
562
604
|
if (!steps[branch.afterStep]) { push(`${at}가 없는 단계를 가리킵니다.`); continue; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "
|
|
3
|
-
"url": "https://github.com/agentlas-ai/agentlas-terminal/releases/download/desktop-core-
|
|
4
|
-
"sha256": "
|
|
5
|
-
"sizeBytes":
|
|
6
|
-
"writtenAt": "2026-08-
|
|
2
|
+
"version": "5",
|
|
3
|
+
"url": "https://github.com/agentlas-ai/agentlas-terminal/releases/download/desktop-core-v5/desktop-core.tar.gz",
|
|
4
|
+
"sha256": "25f67d67865dcb3eeb9194608839b0444c224db3c475e557d18669c741b7d669",
|
|
5
|
+
"sizeBytes": 12535762,
|
|
6
|
+
"writtenAt": "2026-08-19T14:10:26.679Z"
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agentlas",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.52",
|
|
4
4
|
"description": "Agentlas project terminal — run project controllers and task-scoped agent teams from the terminal. Standalone: no desktop app process required.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"agentlas": "bin/agentlas.cjs"
|