@remix_labs/machine-starter 2.3187.0-dev → 2.3189.0-dev
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/common.js +21 -15
- package/groovebox_build.js +1 -1
- package/package.json +2 -2
package/common.js
CHANGED
|
@@ -72,6 +72,23 @@ if (globalThis.Process) {
|
|
|
72
72
|
let initialMask = 0;
|
|
73
73
|
const logMaskTopic = "/logMask";
|
|
74
74
|
|
|
75
|
+
globalThis.MixExplain = (_ => {
|
|
76
|
+
console.debug("Debug levels (call MixSetMask to change, or set the _rmx_mask URL parameter):");
|
|
77
|
+
console.debug("DEBUG_MEMORY 1");
|
|
78
|
+
console.debug("DEBUG_SCHEDULER 2");
|
|
79
|
+
console.debug("DEBUG_STATE 4");
|
|
80
|
+
console.debug("DEBUG_STACK 8");
|
|
81
|
+
console.debug("DEBUG_LOOP 16");
|
|
82
|
+
console.debug("DEBUG_MEMORY_OG 32");
|
|
83
|
+
console.debug("DEBUG_GC 64");
|
|
84
|
+
console.debug("DEBUG_INTERPRETER 128");
|
|
85
|
+
console.debug("DEBUG_MIXERROR 256");
|
|
86
|
+
console.debug("DEBUG_MESSAGES 1024");
|
|
87
|
+
console.debug("DEBUG_QUEUES 2048");
|
|
88
|
+
console.debug("DEBUG_OUTPUT 4096");
|
|
89
|
+
console.debug("DEBUG_COMPILER 8192");
|
|
90
|
+
});
|
|
91
|
+
|
|
75
92
|
globalThis.MixSetMask = (m => {
|
|
76
93
|
initialMask = m;
|
|
77
94
|
if (last_hub) {
|
|
@@ -94,21 +111,10 @@ function StartWASM(hub, baseURL, org, workspace, vmID, user, token, noOutputViaM
|
|
|
94
111
|
}
|
|
95
112
|
|
|
96
113
|
async function StartWASM2(hub, config) {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
console.
|
|
101
|
-
console.debug("DEBUG_STATE 4");
|
|
102
|
-
console.debug("DEBUG_STACK 8");
|
|
103
|
-
console.debug("DEBUG_LOOP 16");
|
|
104
|
-
console.debug("DEBUG_MEMORY_OG 32");
|
|
105
|
-
console.debug("DEBUG_GC 64");
|
|
106
|
-
console.debug("DEBUG_INTERPRETER 128");
|
|
107
|
-
console.debug("DEBUG_MIXERROR 256");
|
|
108
|
-
console.debug("DEBUG_MESSAGES 1024");
|
|
109
|
-
console.debug("DEBUG_QUEUES 2048");
|
|
110
|
-
console.debug("DEBUG_OUTPUT 4096");
|
|
111
|
-
console.debug("DEBUG_COMPILER 8192");
|
|
114
|
+
if (!last_hub) {
|
|
115
|
+
console.log("[machine-starter] Call MixExplain() for explaining debug levels, and MixSetMask(m) for changing these")
|
|
116
|
+
};
|
|
117
|
+
console.log("[machine-starter] start VM", config.vmID, config.mixcore);
|
|
112
118
|
last_hub = hub;
|
|
113
119
|
let channel = await hub.newChannel();
|
|
114
120
|
// injected by either index.js or node.js
|
package/groovebox_build.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var GROOVEBOX_BUILD = "
|
|
1
|
+
var GROOVEBOX_BUILD = "3189";
|
|
2
2
|
export { GROOVEBOX_BUILD }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remix_labs/machine-starter",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3189.0-dev",
|
|
4
4
|
"description": "start the groove",
|
|
5
5
|
"main": "node.js",
|
|
6
6
|
"browser": "index.js",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"author": "Remixlabs staff",
|
|
12
12
|
"license": "ISC",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@remix_labs/hub-client": "2.
|
|
14
|
+
"@remix_labs/hub-client": "2.3189.0-dev",
|
|
15
15
|
"nanoid": "^5.0.2",
|
|
16
16
|
"web-worker": "^1.2.0"
|
|
17
17
|
},
|