theprogrammablemind 7.5.5-beta.2 → 7.5.5-beta.3
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/client.js +4 -1
- package/package.json +1 -1
- package/src/config.js +1 -1
- package/src/semantics.js +3 -0
package/client.js
CHANGED
@@ -130,6 +130,10 @@ const setupArgs = (args, config, logs, hierarchy) => {
|
|
130
130
|
}
|
131
131
|
}
|
132
132
|
args.motivation = (m) => config.addMotivation(m)
|
133
|
+
args.breakOnSemantics = false
|
134
|
+
args.theDebugger = {
|
135
|
+
breakOnSemantics: (value) => args.breakOnSemantics = value
|
136
|
+
}
|
133
137
|
args.s = (c) => config.getSemantics(logs).apply(args, c)
|
134
138
|
args.g = (c) => config.getGenerators(logs).apply(args, c)
|
135
139
|
args.gp = (c) => config.getGenerators(logs).apply(args, { ...c, paraphrase: true, isResponse: false, response: false})
|
@@ -1517,7 +1521,6 @@ const knowledgeModule = async ({
|
|
1517
1521
|
test = useTestConfig.name
|
1518
1522
|
|
1519
1523
|
}
|
1520
|
-
// runTests(config, args.testFileName ? `${args.testFileName}.test.json` : test, { debug: args.debug, testConfig: testConfig, verbose: args.testVerbose || args.testAllVerbose, stopAtFirstError: !args.testAllVerbose }).then((results) => {
|
1521
1524
|
runTests(config, test, { debug: args.debug, testConfig: useTestConfig, verbose: args.testVerbose || args.testAllVerbose, stopAtFirstError: !args.testAllVerbose }).then((results) => {
|
1522
1525
|
if (results.length > 0 && args.vimdiff) {
|
1523
1526
|
for (const result of results) {
|
package/package.json
CHANGED
package/src/config.js
CHANGED
@@ -1220,7 +1220,7 @@ class Config {
|
|
1220
1220
|
config.priorities = config.priorities || []
|
1221
1221
|
}
|
1222
1222
|
|
1223
|
-
this.maxDepth =
|
1223
|
+
this.maxDepth = 20 // for generators and semantics
|
1224
1224
|
this.debugLoops = false // for generators and semantics
|
1225
1225
|
|
1226
1226
|
this.allowDelta = false
|