@ymdvsymd/tornado 0.7.0 → 0.7.1
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/bin/tornado.js +8 -3
- package/package.json +1 -1
package/bin/tornado.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
#\!/usr/bin/env node
|
|
2
2
|
function _M0DTPB4Json4Null() {}
|
|
3
3
|
_M0DTPB4Json4Null.prototype.$tag = 0;
|
|
4
4
|
const _M0DTPB4Json4Null__ = new _M0DTPB4Json4Null();
|
|
@@ -10636,7 +10636,12 @@ function _M0FP36mizchi7tornado5agent15create__backend(config) {
|
|
|
10636
10636
|
return _M0MP36mizchi7tornado5agent10ApiBackend5boxed(_M0MP36mizchi7tornado5agent10ApiBackend17anthropic_2einner(api_key, model$3));
|
|
10637
10637
|
}
|
|
10638
10638
|
default: {
|
|
10639
|
-
|
|
10639
|
+
const _bind$2 = config.role;
|
|
10640
|
+
if (_bind$2 === 4) {
|
|
10641
|
+
return _M0MP36mizchi7tornado5agent11MockBackend5boxed(_M0MP36mizchi7tornado5agent11MockBackend11new_2einner("<wave_approved>"));
|
|
10642
|
+
} else {
|
|
10643
|
+
return _M0MP36mizchi7tornado5agent11MockBackend5boxed(_M0MP36mizchi7tornado5agent11MockBackend11new_2einner("mock response"));
|
|
10644
|
+
}
|
|
10640
10645
|
}
|
|
10641
10646
|
}
|
|
10642
10647
|
}
|
|
@@ -12162,7 +12167,7 @@ function _M0MP36mizchi7tornado5ralph13VerifierAgent14parse__verdict(_self, outpu
|
|
|
12162
12167
|
if (_M0MPC16string6String8contains(output, new _M0TPC16string10StringView(_bind, 0, _bind.length))) {
|
|
12163
12168
|
return _M0DTP36mizchi7tornado5types15VerifierVerdict8Approved__;
|
|
12164
12169
|
}
|
|
12165
|
-
return
|
|
12170
|
+
return new _M0DTP36mizchi7tornado5types15VerifierVerdict15MilestoneFailed("Verifier output did not contain expected verdict tags");
|
|
12166
12171
|
}
|
|
12167
12172
|
function _M0FP36mizchi7tornado5ralph24inject__perspective__tag(item, perspective) {
|
|
12168
12173
|
const tag = `[${_M0IP016_24default__implPB4Show10to__stringGRP36mizchi7tornado5ralph19VerifierPerspectiveE(perspective)}] `;
|