cuelo 0.10.293 → 0.10.296
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/.next/BUILD_ID +1 -1
- package/.next/app-path-routes-manifest.json +58 -58
- package/.next/build-manifest.json +2 -2
- package/.next/prerender-manifest.json +3 -3
- package/.next/required-server-files.js +2 -2
- package/.next/required-server-files.json +2 -2
- package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_global-error.html +1 -1
- package/.next/server/app/_global-error.rsc +1 -1
- package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.rsc +3 -3
- package/.next/server/app/_not-found.segments/_full.segment.rsc +3 -3
- package/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_index.segment.rsc +3 -3
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/api/agent/[id]/account/route.js +1 -1
- package/.next/server/app/api/agent/[id]/account/route.js.nft.json +1 -1
- package/.next/server/app/api/agent/[id]/computer-takeover/route.js +1 -1
- package/.next/server/app/api/agent/[id]/computer-takeover/route.js.nft.json +1 -1
- package/.next/server/app/api/agent/[id]/events/route.js +2 -2
- package/.next/server/app/api/agent/[id]/events/route.js.nft.json +1 -1
- package/.next/server/app/api/agent/[id]/route.js +1 -1
- package/.next/server/app/api/agent/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/agent/new/route.js +1 -1
- package/.next/server/app/api/agent/new/route.js.nft.json +1 -1
- package/.next/server/app/api/agent/running/route.js +1 -1
- package/.next/server/app/api/agent/running/route.js.nft.json +1 -1
- package/.next/server/app/api/gpt6/handles/route.js +1 -1
- package/.next/server/app/api/gpt6/handles/route.js.nft.json +1 -1
- package/.next/server/app/api/gpt6/reply/route.js +1 -1
- package/.next/server/app/api/gpt6/reply/route.js.nft.json +1 -1
- package/.next/server/app/api/gpt6/token/route.js +1 -1
- package/.next/server/app/api/gpt6/token/route.js.nft.json +1 -1
- package/.next/server/app/api/gpt6/web6-session/route.js +1 -1
- package/.next/server/app/api/gpt6/web6-session/route.js.nft.json +1 -1
- package/.next/server/app/api/live/call/[callId]/route.js +1 -1
- package/.next/server/app/api/live/call/[callId]/route.js.nft.json +1 -1
- package/.next/server/app/api/live/draft-secret/route.js +1 -1
- package/.next/server/app/api/live/draft-secret/route.js.nft.json +1 -1
- package/.next/server/app/api/live/events/route.js +2 -2
- package/.next/server/app/api/live/events/route.js.nft.json +1 -1
- package/.next/server/app/api/live/interpret/assist/route.js +1 -1
- package/.next/server/app/api/live/interpret/assist/route.js.nft.json +1 -1
- package/.next/server/app/api/live/interpret/reading/route.js +1 -1
- package/.next/server/app/api/live/interpret/reading/route.js.nft.json +1 -1
- package/.next/server/app/api/live/interpret/route.js +1 -1
- package/.next/server/app/api/live/interpret/route.js.nft.json +1 -1
- package/.next/server/app/api/live/interpret/scan/route.js +1 -1
- package/.next/server/app/api/live/interpret/scan/route.js.nft.json +1 -1
- package/.next/server/app/api/live/interpret/text/route.js +1 -1
- package/.next/server/app/api/live/interpret/text/route.js.nft.json +1 -1
- package/.next/server/app/api/live/offer/route.js +1 -1
- package/.next/server/app/api/live/offer/route.js.nft.json +1 -1
- package/.next/server/app/api/live/voices/route.js +1 -1
- package/.next/server/app/api/live/voices/route.js.nft.json +1 -1
- package/.next/server/app/api/project-trust/route.js +1 -1
- package/.next/server/app/api/project-trust/route.js.nft.json +1 -1
- package/.next/server/app/api/routines/[id]/posts/[file]/replies/route.js +1 -1
- package/.next/server/app/api/routines/[id]/posts/[file]/replies/route.js.nft.json +1 -1
- package/.next/server/app/api/routines/[id]/route.js +1 -1
- package/.next/server/app/api/routines/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/routines/[id]/run/route.js +1 -1
- package/.next/server/app/api/routines/[id]/run/route.js.nft.json +1 -1
- package/.next/server/app/api/routines/assistant/[id]/route.js +1 -1
- package/.next/server/app/api/routines/assistant/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/routines/assistant/route.js +1 -1
- package/.next/server/app/api/routines/assistant/route.js.nft.json +1 -1
- package/.next/server/app/api/routines/route.js +1 -1
- package/.next/server/app/api/routines/route.js.nft.json +1 -1
- package/.next/server/app/api/runs/[runId]/prelude/route.js +1 -1
- package/.next/server/app/api/runs/[runId]/prelude/route.js.nft.json +1 -1
- package/.next/server/app/api/sessions/[id]/auto-name/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/auto-name/route.js.nft.json +1 -1
- package/.next/server/app/api/sessions/[id]/context/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/context/route.js.nft.json +1 -1
- package/.next/server/app/api/sessions/[id]/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/sessions/[id]/state/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/state/route.js.nft.json +1 -1
- package/.next/server/app/api/sessions/route.js +1 -1
- package/.next/server/app/api/sessions/route.js.nft.json +1 -1
- package/.next/server/app/api/tool-image/route.js +1 -1
- package/.next/server/app/api/tool-image/route.js.nft.json +1 -1
- package/.next/server/app/api/update-maintenance/route.js +1 -1
- package/.next/server/app/api/update-maintenance/route.js.nft.json +1 -1
- package/.next/server/app/api/updates/apply/route.js +1 -1
- package/.next/server/app/api/updates/route.js +1 -1
- package/.next/server/app/api/upkeep/check/route.js +1 -1
- package/.next/server/app/api/upkeep/check/route.js.nft.json +1 -1
- package/.next/server/app/api/upkeep/morning/route.js +1 -1
- package/.next/server/app/api/upkeep/morning/route.js.nft.json +1 -1
- package/.next/server/app/api/upkeep/nightly/export/route.js +1 -1
- package/.next/server/app/api/upkeep/nightly/export/route.js.nft.json +1 -1
- package/.next/server/app/api/upkeep/nightly/result/route.js +1 -1
- package/.next/server/app/api/upkeep/nightly/result/route.js.nft.json +1 -1
- package/.next/server/app/api/upkeep/nightly/route.js +1 -1
- package/.next/server/app/api/upkeep/nightly/route.js.nft.json +1 -1
- package/.next/server/app/api/upkeep/route.js +1 -1
- package/.next/server/app/api/upkeep/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/route.js +1 -1
- package/.next/server/app/api/worktrees/route.js.nft.json +1 -1
- package/.next/server/app/index.html +1 -1
- package/.next/server/app/index.rsc +5 -5
- package/.next/server/app/index.segments/__PAGE__.segment.rsc +3 -3
- package/.next/server/app/index.segments/_full.segment.rsc +5 -5
- package/.next/server/app/index.segments/_head.segment.rsc +1 -1
- package/.next/server/app/index.segments/_index.segment.rsc +3 -3
- package/.next/server/app/index.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/page.js +2 -2
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app/recover/page_client-reference-manifest.js +1 -1
- package/.next/server/app/recover.html +1 -1
- package/.next/server/app/recover.rsc +3 -3
- package/.next/server/app/recover.segments/_full.segment.rsc +3 -3
- package/.next/server/app/recover.segments/_head.segment.rsc +1 -1
- package/.next/server/app/recover.segments/_index.segment.rsc +3 -3
- package/.next/server/app/recover.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/recover.segments/recover/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/recover.segments/recover.segment.rsc +1 -1
- package/.next/server/app-paths-manifest.json +58 -58
- package/.next/server/chunks/205.js +1 -1
- package/.next/server/chunks/5228.js +1 -1
- package/.next/server/chunks/8685.js +2 -2
- package/.next/server/chunks/9467.js +2 -2
- package/.next/server/instrumentation.js +1 -1
- package/.next/server/instrumentation.js.nft.json +1 -1
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/server-reference-manifest.json +1 -1
- package/.next/static/chunks/app/{layout-7b2e2e18d40a8f7d.js → layout-fb0fc505611b5b05.js} +1 -1
- package/.next/static/chunks/app/{page-43eaaf190abfa78f.js → page-6ec4266f7b4d9282.js} +2 -2
- package/.next/static/css/{0d6197eb6b1463c7.css → 3ad039045afabd13.css} +1 -1
- package/.next/trace +114 -114
- package/.next/trace-build +1 -1
- package/README.md +1 -1
- package/Tools/CUELO_Setup/files/native-runtime-patch.js +3 -3
- package/Tools/OMP_Global_Config/agent/cuelo-plugins/preflight-routing/index.ts +46 -9
- package/Tools/OMP_Global_Config/agent/cuelo-plugins/preflight-routing/plugin.json +5 -1
- package/Tools/OMP_Global_Config/agent/rules/subagent.md +1 -1
- package/Tools/OMP_Global_Config/patches/apply-core-patch.mjs +59 -0
- package/package.json +7 -7
- /package/.next/static/{qGBwI-TnWbyCARl3nWJEz → dZV2n4zwTSSATVzn4QkSn}/_buildManifest.js +0 -0
- /package/.next/static/{qGBwI-TnWbyCARl3nWJEz → dZV2n4zwTSSATVzn4QkSn}/_ssgManifest.js +0 -0
package/.next/trace-build
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"name":"run-webpack","duration":
|
|
1
|
+
[{"name":"run-webpack","duration":74636164,"timestamp":377986,"id":14,"parentId":1,"tags":{},"startTime":1794867034286,"traceId":"ea33cc4e1e29e796"},{"name":"run-typescript","duration":17320502,"timestamp":75426285,"id":11697,"parentId":1,"tags":{},"startTime":1794867109334,"traceId":"ea33cc4e1e29e796"},{"name":"static-check","duration":2376696,"timestamp":92826719,"id":11700,"parentId":1,"tags":{},"startTime":1794867126735,"traceId":"ea33cc4e1e29e796"},{"name":"static-generation","duration":4769431,"timestamp":95293142,"id":11936,"parentId":1,"tags":{},"startTime":1794867129201,"traceId":"ea33cc4e1e29e796"},{"name":"collect-build-traces","duration":15678687,"timestamp":95278144,"id":11933,"parentId":1,"tags":{},"startTime":1794867129186,"traceId":"ea33cc4e1e29e796"},{"name":"telemetry-flush","duration":69,"timestamp":110960486,"id":11945,"parentId":1,"tags":{},"startTime":1794867144868,"traceId":"ea33cc4e1e29e796"},{"name":"next-build","duration":110652133,"timestamp":308444,"id":1,"tags":{"buildMode":"default","version":"16.2.12","bundler":"webpack","has-custom-webpack-config":"true","use-build-worker":"false"},"startTime":1794867034216,"traceId":"ea33cc4e1e29e796"}]
|
package/README.md
CHANGED
|
@@ -242,7 +242,7 @@ Requires Node.js 22.19+ and Bun 1.4.4+ on Linux. Native Windows server installat
|
|
|
242
242
|
|
|
243
243
|
## 하네스 세부 동작
|
|
244
244
|
|
|
245
|
-
내장 OMP 코어는 **18.
|
|
245
|
+
내장 OMP 코어는 **18.21.0**입니다. 에이전트가 묻는 질문은 HTML 폼 하나로 오며, 웹은 폼 전체를 한 화면에 보여 줍니다. 별도로 설치한 `omp` CLI의 버전은 웹 업데이트와 독립적이며, 앱에 포함된 CLI를 `omp` 명령으로 사용하는 설치에서는 웹과 같은 코어를 사용합니다.
|
|
246
246
|
|
|
247
247
|
문서 하네스는 기존 Word·Excel·PowerPoint 문서를 열고 편집하거나 변환할 때 LibreOffice를 우선 사용합니다. 원본은 보존하고 출력 결과를 확인하며, 매크로·전용 기능·서식 호환성이 필요하거나 사용자가 지정하면 MS Office를 사용합니다.
|
|
248
248
|
|
|
@@ -9,9 +9,9 @@ const MEMORY_RE = /(const phase1Model = await resolveMemoryModel\(\{[^}]*?fallba
|
|
|
9
9
|
const MEMORY_DONE = /const phase1Model = await resolveMemoryModel\(\{[^}]*?fallbackRole: "smol"/;
|
|
10
10
|
const EXPECTED = {
|
|
11
11
|
name: 'cuelo',
|
|
12
|
-
version: '0.10.
|
|
12
|
+
version: '0.10.296',
|
|
13
13
|
distribution: 'cuelo',
|
|
14
|
-
coreVersion: '18.
|
|
14
|
+
coreVersion: '18.21.0',
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
// OMP core `src/sdk.ts`: session-scoped AsyncJobManager for a process that hosts
|
|
@@ -89,7 +89,7 @@ function readNativePackage(target) {
|
|
|
89
89
|
throw new Error(`unexpected native package ${packageJson.name}@${packageJson.version}`);
|
|
90
90
|
}
|
|
91
91
|
if (!build || build.distribution !== EXPECTED.distribution || build.coreVersion !== EXPECTED.coreVersion) {
|
|
92
|
-
throw new Error('native cueloBuild metadata does not match cuelo / core 18.
|
|
92
|
+
throw new Error('native cueloBuild metadata does not match cuelo / core 18.21.0');
|
|
93
93
|
}
|
|
94
94
|
return packageJson;
|
|
95
95
|
}
|
|
@@ -21,6 +21,9 @@ const BLOCK_TIMEOUT_MS = 25_000;
|
|
|
21
21
|
|
|
22
22
|
type Verdict = { block: true; reason: string; stale?: true };
|
|
23
23
|
|
|
24
|
+
/** A dispatch correction may be resent through either dispatch tool; a goal correction only through lab_goal. */
|
|
25
|
+
const DISPATCH = "dispatch";
|
|
26
|
+
|
|
24
27
|
type Check = {
|
|
25
28
|
plan: string;
|
|
26
29
|
tool: string;
|
|
@@ -85,7 +88,9 @@ export default async function preflightRouting(pi: ExtensionAPI): Promise<void>
|
|
|
85
88
|
// Installed plugins resolve host SDK packages through the loader's lazy-import bridge.
|
|
86
89
|
const { getAgentDir } = await import("@oh-my-pi/pi-utils");
|
|
87
90
|
const checks = new Map<string, Check>();
|
|
88
|
-
|
|
91
|
+
/** Advice for a maker_route call that ran unheld, keyed by its tool call id until its result arrives. */
|
|
92
|
+
const advised = new Map<string, string>();
|
|
93
|
+
const state = createPreflightCheck(pi, () => { checks.clear(); advised.clear(); });
|
|
89
94
|
const { ask, note, inflight } = state;
|
|
90
95
|
// 조언은 wait를 끊거나 끝난 턴을 다시 열지 않고 다음 모델 호출 전에 닿는다(2026-11-16, lib/quiet-delivery).
|
|
91
96
|
const quiet = createQuietDelivery(pi);
|
|
@@ -119,7 +124,8 @@ export default async function preflightRouting(pi: ExtensionAPI): Promise<void>
|
|
|
119
124
|
note(ctx, `${what} 통과(이미 점검한 계획)`);
|
|
120
125
|
return;
|
|
121
126
|
}
|
|
122
|
-
|
|
127
|
+
const correctionScope = name === "lab_goal" ? name : DISPATCH;
|
|
128
|
+
if (identity && previous?.correctionTool === correctionScope) {
|
|
123
129
|
checks.set(key, { plan, tool: name, checked: true });
|
|
124
130
|
note(ctx, `${what} 통과(같은 작업의 조언 반영 뒤 재호출)`);
|
|
125
131
|
return;
|
|
@@ -127,8 +133,20 @@ export default async function preflightRouting(pi: ExtensionAPI): Promise<void>
|
|
|
127
133
|
// 2026-11-12 user decision: a goal frame is never held. Its check runs behind the call and the advice arrives as an
|
|
128
134
|
// aside; dispatches stay held because a wrong dispatch costs a whole Maker run.
|
|
129
135
|
const background = name === "lab_goal";
|
|
136
|
+
// 2026-11-17 user decision (「둘 다 고치기」): maker_route only prepares, the Maker starts at task. Holding it made Main
|
|
137
|
+
// resend the whole brief (45 of 101 maker_route calls in 7 days), so its check still runs before it executes but the
|
|
138
|
+
// advice rides on its result instead of refusing it. The Maker still never starts before the advice is read.
|
|
139
|
+
const advisory = name === "maker_route";
|
|
130
140
|
// A goal frame resent after steering starts a fresh check instead of sharing one the steering already made stale.
|
|
131
|
-
if (previous?.plan === plan && previous.pending && (!background || previous.gen === state.gen))
|
|
141
|
+
if (previous?.plan === plan && previous.pending && (!background || previous.gen === state.gen)) {
|
|
142
|
+
if (background) return;
|
|
143
|
+
const verdict = await previous.pending;
|
|
144
|
+
if (advisory && verdict && !verdict.stale) {
|
|
145
|
+
advised.set(event.toolCallId, verdict.reason);
|
|
146
|
+
return;
|
|
147
|
+
}
|
|
148
|
+
return verdict;
|
|
149
|
+
}
|
|
132
150
|
const check: Check = { plan, tool: name, checked: false, gen: myGen };
|
|
133
151
|
// Only one goal is current: a new frame retires every other frame's check, so its late advice is dropped.
|
|
134
152
|
if (background) for (const [other, entry] of checks) if (entry.tool === "lab_goal" && other !== key) checks.delete(other);
|
|
@@ -154,21 +172,27 @@ export default async function preflightRouting(pi: ExtensionAPI): Promise<void>
|
|
|
154
172
|
// Every participant that answered found nothing to change: that is a pass. A participant that gave no advice
|
|
155
173
|
// stays named in the panel and never counts as having reviewed the plan.
|
|
156
174
|
if (advice.opinions.every((o) => CLEAN.test(o.text))) { note(ctx, `${what} 통과(빠진 것 없음${failedLanes ? `; ${failedLanes}` : ""})`); return; }
|
|
157
|
-
if (identity) check.correctionTool =
|
|
175
|
+
if (identity) check.correctionTool = correctionScope;
|
|
158
176
|
return {
|
|
159
177
|
block: true,
|
|
160
178
|
reason: [
|
|
161
179
|
background
|
|
162
180
|
? `[사전 점검] 오류가 아니다. 작업 목표는 이미 등록됐고 도구는 막지 않았다. ${advice.opinions.map((o) => o.model).join("와 ")}(${secs(advice.ms)}초)가 사용자의 최근 말과 그 목표를 대 본 조언이다. 참고 의견이며 승인이나 사용자 지시가 아니다.`
|
|
163
|
-
:
|
|
181
|
+
: advisory
|
|
182
|
+
? `[사전 점검] maker_route는 막지 않았다. ${advice.opinions.map((o) => o.model).join("와 ")}(${secs(advice.ms)}초)가 사용자의 최근 말과 발주 계획을 대 본 조언이다. 참고 의견이며 승인이나 사용자 지시가 아니다.`
|
|
183
|
+
: `[사전 점검] 오류가 아니다. ${what} 직전에 ${advice.opinions.map((o) => o.model).join("와 ")}(${secs(advice.ms)}초)가 사용자의 최근 말과 계획을 대 본 조언이다. 참고 의견이며 승인이나 사용자 지시가 아니다.`,
|
|
164
184
|
...(failedLanes ? [failedLanes] : []),
|
|
165
185
|
background
|
|
166
186
|
? identity
|
|
167
187
|
? "맞는 것이 있으면 같은 산출물 id와 경로로 lab_goal frame을 다시 불러 반영하라. 그 재호출은 한 번 점검 없이 통과하고, 산출물이 바뀌면 다시 점검한다. 반영할 것이 없으면 그대로 진행한다."
|
|
168
188
|
: "맞는 것이 있으면 lab_goal frame을 다시 불러 반영하라. 내용을 바꾸면 새 목표로 다시 점검한다. 반영할 것이 없으면 그대로 진행한다."
|
|
169
|
-
:
|
|
170
|
-
?
|
|
171
|
-
|
|
189
|
+
: advisory
|
|
190
|
+
? identity
|
|
191
|
+
? "맞는 것은 task 발주에 반영하라: `PREPARED_TASK: <preparedId>` 다음 줄에 덧붙이거나 고친 발주문 전체를 보낸다. maker_route는 다시 부르지 않는다. 같은 작업 이름과 범위의 수정 발주는 한 번 통과하며, TASK_GUARD 범위가 바뀌면 다시 점검한다. 반영할 것이 없으면 준비 참조로 그대로 발주한다."
|
|
192
|
+
: "작업 식별 정보가 부족해 수정 발주 허용을 묶을 수 없다. task에서 내용을 바꾸면 새 계획으로 점검하고, 준비 참조나 같은 내용으로 발주하면 통과한다."
|
|
193
|
+
: identity
|
|
194
|
+
? `맞는 것은 계획에 반영하고, 같은 도구(${name})를 다시 불러라. 같은 작업 이름과 범위의 수정 재호출은 한 번 통과하며, 범위가 바뀌면 다시 점검한다.`
|
|
195
|
+
: `작업 식별 정보가 부족해 수정 재호출 허용을 묶을 수 없다. 내용을 바꾸면 새 계획으로 점검하고, 같은 내용을 그대로 다시 보내면 통과한다.`,
|
|
172
196
|
"사용자 결정이 필요한 항목은 직접 정하지 말고 사용자에게 묻는다. 반영한 것과 버린 것(이유 한 마디)을 사용자에게 한 줄로 알린다.",
|
|
173
197
|
"",
|
|
174
198
|
opinionText(advice.opinions),
|
|
@@ -191,9 +215,22 @@ export default async function preflightRouting(pi: ExtensionAPI): Promise<void>
|
|
|
191
215
|
}
|
|
192
216
|
try {
|
|
193
217
|
const verdict = await check.pending;
|
|
194
|
-
|
|
218
|
+
if (!verdict) return;
|
|
219
|
+
// A stale answer still refuses: steering changed the work, so the prepared plan must not run on old advice.
|
|
220
|
+
if (advisory && !verdict.stale) {
|
|
221
|
+
advised.set(event.toolCallId, verdict.reason);
|
|
222
|
+
return;
|
|
223
|
+
}
|
|
224
|
+
return { block: verdict.block, reason: verdict.reason };
|
|
195
225
|
} finally {
|
|
196
226
|
settle();
|
|
197
227
|
}
|
|
198
228
|
});
|
|
229
|
+
|
|
230
|
+
pi.on("tool_result", (event) => {
|
|
231
|
+
const advice = advised.get(event.toolCallId);
|
|
232
|
+
if (advice === undefined) return;
|
|
233
|
+
advised.delete(event.toolCallId);
|
|
234
|
+
return { content: [...event.content, { type: "text", text: advice }] };
|
|
235
|
+
});
|
|
199
236
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "preflight-routing",
|
|
3
3
|
"name": "발주 전 자동 점검",
|
|
4
|
-
"description": "두 모델 사전 점검(argon-preflight) 플러그인이 켜져 있을 때만 동작합니다. 발주
|
|
4
|
+
"description": "두 모델 사전 점검(argon-preflight) 플러그인이 켜져 있을 때만 동작합니다. 발주(task) 호출은 25초 한도(무응답 시 통과)로 자동 보류해 점검하고, 발주 준비(maker_route)는 같은 점검을 마친 뒤 막지 않고 조언을 그 결과에 붙입니다. 작지 않은 목표 설정(lab_goal frame)은 막지 않고 뒤에서 점검해 조언을 옆 메시지로 붙입니다. 조언을 반영한 수정은 같은 범위에서 한 번 통과시킵니다.",
|
|
5
5
|
"createdAt": "2026-11-07T18:08:35+09:00",
|
|
6
6
|
"enhancements": [
|
|
7
7
|
{
|
|
@@ -31,6 +31,10 @@
|
|
|
31
31
|
{
|
|
32
32
|
"at": "2026-11-12T23:30:00+09:00",
|
|
33
33
|
"summary": "작업 목표 설정은 더 이상 보류하지 않고 뒤에서 점검해 조언을 옆 메시지로 붙이며, 발주 보류는 그대로 둡니다."
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"at": "2026-11-17T05:40:00+09:00",
|
|
37
|
+
"summary": "발주 준비(maker_route)는 막지 않고 점검 조언을 그 결과에 붙여, 발주문 전체를 다시 보내지 않게 했습니다. 실제 발주(task) 보류는 그대로입니다."
|
|
34
38
|
}
|
|
35
39
|
],
|
|
36
40
|
"extension": "index.ts",
|
|
@@ -119,7 +119,7 @@ description: For SubAgent delegation, parallel execution, review contracts and G
|
|
|
119
119
|
발주를 session-local `name`과 `TASK_GUARD` 의미 필드(`WORK_CLASS`·`PRIMARY_DELIVERABLE`·
|
|
120
120
|
`OWNED_PATHS`·`FINDING_ID`)로 연결하고 정본 기준·후보·owner revision을 확인한다 — 산문·`context`
|
|
121
121
|
표현 차이는 허용되고 이름이나 의미 필드가 바뀌면 다시 준비한다. 다시 판정하거나 자율 선택하지 않는다.
|
|
122
|
-
실제 발주는 `maker_route`가 돌려준 session-local `preparedId
|
|
122
|
+
실제 발주는 기본으로 `maker_route`가 돌려준 session-local `preparedId` 참조로 보낸다(2026-11-17 사용자 결정: 발주문 전체를 다시 보내면 같은 원문이 맥락에 한 번 더 남아, 7일 발주 53번 중 47번이 그랬다) —
|
|
123
123
|
`context='PREPARED_CONTEXT'`와 각 task 문자열 `'PREPARED_TASK: <preparedId>'`에 `model:'<후보 selector>:auto'`와 `solutionSpace`는 Main이 반드시 명시하고
|
|
124
124
|
`name`·`agent`는 생략할 수 있다(생략한 name은 준비한 이름으로 복원되고 명시하면 일치해야 하며, 생략한 agent는 maker이고 명시한 다른 agent는 거절) — hook이 원문 context·guard·task·title·TODO를
|
|
125
125
|
기존 guard 앞에서 복원한다. 참조 다음 줄에 추가 지시나 `ROUTING_REASON: <근거>`를 붙이면 복원한 brief 뒤에 붙인다.
|
|
@@ -25497,6 +25497,65 @@ function planSpawns(
|
|
|
25497
25497
|
noop(one(entry => entry.file === "dist/cli.js" && entry.marker.includes('o==="__advisor.jsonl"')), skip);
|
|
25498
25498
|
}
|
|
25499
25499
|
|
|
25500
|
+
// 18.21.0 (ADAPT): raw session events now distinguish a paused loop from a
|
|
25501
|
+
// terminal run. Preserve older candidate bodies and the browser wire contract.
|
|
25502
|
+
{
|
|
25503
|
+
const one = predicate => {
|
|
25504
|
+
const entries = EDITS.filter(predicate);
|
|
25505
|
+
if (entries.length !== 1) throw new Error(`18.21.0 candidate: ${entries.length}/1 entries`);
|
|
25506
|
+
return entries[0];
|
|
25507
|
+
};
|
|
25508
|
+
const alternate = (entry, candidate, discriminator) => {
|
|
25509
|
+
for (const old of [entry, ...(entry.alternates ?? [])]) old.excludes = [...[old.excludes ?? []].flat(), discriminator];
|
|
25510
|
+
(entry.alternates ??= []).push({ file: entry.file, ...candidate, requires: discriminator });
|
|
25511
|
+
};
|
|
25512
|
+
const swap = (text, from, to) => {
|
|
25513
|
+
if (text.split(from).length !== 2) throw new Error(`18.21.0 anchor: ${JSON.stringify(from)}`);
|
|
25514
|
+
return text.replace(from, () => to);
|
|
25515
|
+
};
|
|
25516
|
+
const observation = one(entry => entry.marker.startsWith("this.#endInFlight(async () => {"));
|
|
25517
|
+
const priorObservation = observation.alternates.at(-1);
|
|
25518
|
+
const runWait = text => swap(swap(text, "await this.settleAsyncWork();", "await this.waitForRunEnd();"),
|
|
25519
|
+
"Turn observation async-work settle failed", "Turn observation run-end wait failed");
|
|
25520
|
+
alternate(observation, {
|
|
25521
|
+
marker: priorObservation.marker,
|
|
25522
|
+
anchor: runWait(priorObservation.anchor),
|
|
25523
|
+
patched: runWait(priorObservation.patched),
|
|
25524
|
+
}, "get isRunActive(): boolean {");
|
|
25525
|
+
|
|
25526
|
+
// The lifecycle host file is unchanged between versions. A supplemental edit
|
|
25527
|
+
// adapts only our inserted guard; old sessions retain their original predicate.
|
|
25528
|
+
const parkAnchor = "\t\t\t\tif (session.hasPendingAsyncWork()) {";
|
|
25529
|
+
const parkPatched = '\t\t\t\tif ("isRunActive" in session ? session.isRunActive || session.wakeSources !== undefined : session.hasPendingAsyncWork()) {';
|
|
25530
|
+
const park = one(entry => entry.file === "src/registry/agent-lifecycle.ts" && entry.marker === "// HANSE: keep sessions with pending async work");
|
|
25531
|
+
for (const candidate of [park, ...(park.alternates ?? [])]) {
|
|
25532
|
+
candidate.legacyPatched = candidate.patched;
|
|
25533
|
+
candidate.patched = swap(candidate.patched, parkAnchor, parkPatched);
|
|
25534
|
+
candidate.marker = parkPatched;
|
|
25535
|
+
}
|
|
25536
|
+
|
|
25537
|
+
const watcher = one(entry => entry.file === "src/task/executor.ts" && entry.patched.includes("class SubagentActivityWatch"));
|
|
25538
|
+
const oldWatcher = watcher.alternates?.at(-1) ?? watcher;
|
|
25539
|
+
alternate(watcher, {
|
|
25540
|
+
marker: oldWatcher.marker,
|
|
25541
|
+
anchor: oldWatcher.anchor,
|
|
25542
|
+
patched: swap(swap(swap(oldWatcher.patched,
|
|
25543
|
+
'if (event.type === "agent_end") {', 'if (event.type === "agent_end" || event.type === "agent_pause") {'),
|
|
25544
|
+
"event.isTerminal === false && event.yielded !== true", 'event.type === "agent_pause" && event.yielded !== true'),
|
|
25545
|
+
"event.isTerminal === false && event.awaitingAsyncWork === true", 'event.type === "agent_pause" && event.awaiting === true'),
|
|
25546
|
+
}, 'type MonitoredEvent = AgentEvent | Extract<AgentSessionEvent, { type: "agent_pause" }>;');
|
|
25547
|
+
|
|
25548
|
+
const ask = one(entry => entry.marker === "\t\t\t\tconst richResult = await waitForUser(showRichDialog);");
|
|
25549
|
+
const askOld = ask.alternates.at(-1);
|
|
25550
|
+
const acceptImages = text => swap(text, "{ timeout, signal: dialogSignal }", "{ timeout, signal: dialogSignal, acceptImages: true }");
|
|
25551
|
+
alternate(ask, {
|
|
25552
|
+
marker: askOld.marker, anchor: acceptImages(askOld.anchor), patched: acceptImages(askOld.patched),
|
|
25553
|
+
}, "acceptImages: true");
|
|
25554
|
+
const skip = 'if(!c.endsWith(".jsonl")||a.includes(".bak")||!r.includeAdvisors&&qWe(c))continue';
|
|
25555
|
+
alternate(one(entry => entry.file === "dist/cli.js" && entry.marker.includes('o==="__advisor.jsonl"')),
|
|
25556
|
+
{ marker: skip, anchor: skip, patched: skip }, skip);
|
|
25557
|
+
}
|
|
25558
|
+
|
|
25500
25559
|
// 2026-11-16 (doc/history/2026/11/16-quiet-advisories): the auto-learn notice is display-only (dropped from model
|
|
25501
25560
|
// context), yet sent as an aside while streaming it ended a running `wait` or extended a finished turn — 42 extra
|
|
25502
25561
|
// model calls in 7 days. Park it for the next turn instead. r1 and r2 bodies both upgrade to this one.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cuelo",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.296",
|
|
4
4
|
"description": "CUELO — open-source AI coding agent workspace and harness for omp (oh-my-pi)",
|
|
5
5
|
"homepage": "https://github.com/gim47656-ship-it/CUELO#readme",
|
|
6
6
|
"repository": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"cueloBuild": {
|
|
32
32
|
"distribution": "cuelo",
|
|
33
|
-
"coreVersion": "18.
|
|
33
|
+
"coreVersion": "18.21.0"
|
|
34
34
|
},
|
|
35
35
|
"engines": {
|
|
36
36
|
"node": ">=22.19.0",
|
|
@@ -99,11 +99,11 @@
|
|
|
99
99
|
"test:coverage": "bun test --coverage ./app ./components ./hooks ./lib ./public ./bin ./install.test.mjs"
|
|
100
100
|
},
|
|
101
101
|
"dependencies": {
|
|
102
|
-
"@oh-my-pi/pi-agent-core": "18.
|
|
103
|
-
"@oh-my-pi/pi-ai": "18.
|
|
104
|
-
"@oh-my-pi/pi-coding-agent": "18.
|
|
105
|
-
"@oh-my-pi/pi-tui": "18.
|
|
106
|
-
"@oh-my-pi/pi-utils": "18.
|
|
102
|
+
"@oh-my-pi/pi-agent-core": "18.21.0",
|
|
103
|
+
"@oh-my-pi/pi-ai": "18.21.0",
|
|
104
|
+
"@oh-my-pi/pi-coding-agent": "18.21.0",
|
|
105
|
+
"@oh-my-pi/pi-tui": "18.21.0",
|
|
106
|
+
"@oh-my-pi/pi-utils": "18.21.0",
|
|
107
107
|
"@sapphi-red/web-noise-suppressor": "^0.4.1",
|
|
108
108
|
"@seed-design/css": "2.8.0",
|
|
109
109
|
"@seed-design/react": "2.4.1",
|
|
File without changes
|
|
File without changes
|