@exaudeus/workrail 3.2.1 → 3.3.0
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.
|
@@ -40,10 +40,10 @@ exports.FEATURE_FLAG_DEFINITIONS = [
|
|
|
40
40
|
{
|
|
41
41
|
key: 'agenticRoutines',
|
|
42
42
|
envVar: 'WORKRAIL_ENABLE_AGENTIC_ROUTINES',
|
|
43
|
-
defaultValue:
|
|
43
|
+
defaultValue: true,
|
|
44
44
|
description: 'Enable Agentic Orchestration features (subagent delegation, .agentic.json overrides, routines)',
|
|
45
45
|
since: '0.8.3',
|
|
46
|
-
stable:
|
|
46
|
+
stable: true,
|
|
47
47
|
},
|
|
48
48
|
{
|
|
49
49
|
key: 'leanWorkflows',
|
|
@@ -162,7 +162,8 @@ class StaticFeatureFlagProvider {
|
|
|
162
162
|
this.flags = flags;
|
|
163
163
|
}
|
|
164
164
|
isEnabled(key) {
|
|
165
|
-
|
|
165
|
+
const definition = exports.FEATURE_FLAG_DEFINITIONS.find(flag => flag.key === key);
|
|
166
|
+
return this.flags[key] ?? definition?.defaultValue ?? false;
|
|
166
167
|
}
|
|
167
168
|
getAll() {
|
|
168
169
|
const allFlags = {};
|
package/dist/manifest.json
CHANGED
|
@@ -334,8 +334,8 @@
|
|
|
334
334
|
"bytes": 1512
|
|
335
335
|
},
|
|
336
336
|
"config/feature-flags.js": {
|
|
337
|
-
"sha256": "
|
|
338
|
-
"bytes":
|
|
337
|
+
"sha256": "ce45dded930747e989783df453bfea0458f87bf790c8be4a1b0bd9ceac9ac2a5",
|
|
338
|
+
"bytes": 7374
|
|
339
339
|
},
|
|
340
340
|
"core/error-handler.d.ts": {
|
|
341
341
|
"sha256": "80451f12ac8e185133ec3dc4c57285491a785f27525ed21e729db1da3f61010d",
|