@the-magic-tower/fixhive-opencode-plugin 0.1.6 → 0.1.7
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/index.js +7 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1602,6 +1602,9 @@ var DEFAULT_CONFIG = {
|
|
|
1602
1602
|
};
|
|
1603
1603
|
var FixHivePlugin = async (ctx) => {
|
|
1604
1604
|
const config = loadConfig();
|
|
1605
|
+
console.log("[FixHive] Plugin loaded");
|
|
1606
|
+
console.log(`[FixHive] Project: ${ctx.directory}`);
|
|
1607
|
+
console.log(`[FixHive] Cloud: ${config.supabaseUrl ? "enabled" : "disabled"}`);
|
|
1605
1608
|
const privacyFilter = new PrivacyFilter();
|
|
1606
1609
|
const filterContext = createFilterContext(ctx.directory);
|
|
1607
1610
|
const errorDetector = new ErrorDetector(privacyFilter);
|
|
@@ -1622,6 +1625,10 @@ var FixHivePlugin = async (ctx) => {
|
|
|
1622
1625
|
language: detectLanguage(ctx.directory),
|
|
1623
1626
|
framework: detectFramework(ctx.directory)
|
|
1624
1627
|
};
|
|
1628
|
+
if (pluginContext.language) {
|
|
1629
|
+
console.log(`[FixHive] Detected: ${pluginContext.language}${pluginContext.framework ? ` / ${pluginContext.framework}` : ""}`);
|
|
1630
|
+
}
|
|
1631
|
+
console.log("[FixHive] Ready - use fixhive_stats to verify");
|
|
1625
1632
|
const errorProducingTools = ["bash", "edit", "write", "read", "terminal"];
|
|
1626
1633
|
return {
|
|
1627
1634
|
// ============ Tool Execution Hook ============
|