You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 46a790b
Browse filesBrowse the repository at this point in the historyBrowse files
test(agent): the typed-goal rule runs in a test, not only as a regex
rememberTypedGoal holds the rule agentFlow applies (record only a goal marked typed; trimmed; newest 20),
so sessionExpiredHost lifts and runs it; agentFlow passing its flag through is pinned from source.
// The defaults a fresh install runs with come from package.json, not from this file: the whole
@@ -1097,11 +1097,23 @@ async function test(name, fn) { await fn(); n++; console.log(' ok - ' + name);
1097
1097
// The response bar's buttons live in the message switch, which no harness lifts: pinned from source.
1098
1098
// Exactly one caller may say `typed: true`, and it is handleSend.
1099
1099
assert.strictEqual((src.match(/typed:true/g)||[]).length,1,'another caller marks its goal as typed');
1100
+
assert.match(src,/asyncfunctionagentFlow\(text,imageBlocks,opts\)\{[\s\S]{0,4000}?rememberTypedGoal\(text,opts\);/,'agentFlow hands the flag through unchanged');
0 commit comments