@rubytech/taskmaster 1.22.3 → 1.22.4
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/dist/build-info.json
CHANGED
|
@@ -141,26 +141,26 @@ export async function startGatewayServer(port = 18789, opts = {}) {
|
|
|
141
141
|
});
|
|
142
142
|
const bundled = resolveBundledPluginsDirDetailed();
|
|
143
143
|
if (bundled.dir) {
|
|
144
|
-
logPlugins.info(`
|
|
144
|
+
logPlugins.info(`extensions loaded from ${bundled.dir}`);
|
|
145
145
|
}
|
|
146
146
|
else {
|
|
147
|
-
logPlugins.
|
|
147
|
+
logPlugins.error(`extensions directory missing — expected at ${bundled.resolvedPath ?? "unknown"}. ` +
|
|
148
|
+
"Channels like WhatsApp will not be available. " +
|
|
149
|
+
"Try reinstalling: sudo npm i -g @rubytech/taskmaster@latest");
|
|
148
150
|
}
|
|
149
151
|
const pluginIds = pluginRegistry.plugins.map((p) => p.id);
|
|
150
152
|
if (pluginIds.length > 0) {
|
|
151
|
-
logPlugins.info(`
|
|
153
|
+
logPlugins.info(`available channels: ${pluginIds.join(", ")}`);
|
|
152
154
|
}
|
|
153
155
|
else {
|
|
154
|
-
logPlugins.warn("no
|
|
156
|
+
logPlugins.warn("no channels available — WhatsApp and other integrations will not work. " +
|
|
157
|
+
"Try reinstalling: sudo npm i -g @rubytech/taskmaster@latest");
|
|
155
158
|
}
|
|
156
159
|
for (const diag of pluginRegistry.diagnostics) {
|
|
157
|
-
const msg = `plugin discovery: ${diag.message}`;
|
|
158
160
|
if (diag.level === "error")
|
|
159
|
-
logPlugins.error(
|
|
161
|
+
logPlugins.error(diag.message);
|
|
160
162
|
else if (diag.level === "warn")
|
|
161
|
-
logPlugins.warn(
|
|
162
|
-
else
|
|
163
|
-
logPlugins.info(msg);
|
|
163
|
+
logPlugins.warn(diag.message);
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
const autoEnable = applyPluginAutoEnable({ config: configSnapshot.config, env: process.env });
|