|
|
|
@ -61,10 +61,16 @@ import { remixAIDesktopPlugin } from './app/plugins/electron/remixAIDesktopPlugi |
|
|
|
|
import { RemixAIPlugin } from './app/plugins/remixAIPlugin' |
|
|
|
|
import { SlitherHandleDesktop } from './app/plugins/electron/slitherPlugin' |
|
|
|
|
import { SlitherHandle } from './app/files/slither-handle' |
|
|
|
|
import { FoundryHandle } from './app/files/foundry-handle' |
|
|
|
|
import { FoundryHandleDesktop } from './app/plugins/electron/foundryPlugin' |
|
|
|
|
import { HardhatHandle } from './app/files/hardhat-handle' |
|
|
|
|
import { HardhatHandleDesktop } from './app/plugins/electron/hardhatPlugin' |
|
|
|
|
|
|
|
|
|
import { SolCoder } from './app/plugins/solcoderAI' |
|
|
|
|
import { GitPlugin } from './app/plugins/git' |
|
|
|
|
import { Matomo } from './app/plugins/matomo' |
|
|
|
|
|
|
|
|
|
import {SolCoder} from './app/plugins/solcoderAI' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import { TemplatesSelectionPlugin } from './app/plugins/templates-selection/templates-selection-plugin' |
|
|
|
|
|
|
|
|
@ -83,6 +89,7 @@ const Config = require('./config') |
|
|
|
|
const FileManager = require('./app/files/fileManager') |
|
|
|
|
import FileProvider from "./app/files/fileProvider" |
|
|
|
|
import { appPlatformTypes } from '@remix-ui/app' |
|
|
|
|
|
|
|
|
|
const DGitProvider = require('./app/files/dgitProvider') |
|
|
|
|
const WorkspaceFileProvider = require('./app/files/workspaceFileProvider') |
|
|
|
|
|
|
|
|
@ -405,7 +412,6 @@ class AppComponent { |
|
|
|
|
const remixAIDesktop = new remixAIDesktopPlugin() |
|
|
|
|
this.engine.register([remixAIDesktop]) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
const remixAI = new RemixAIPlugin(isElectron()) |
|
|
|
|
this.engine.register([remixAI]) |
|
|
|
|
|
|
|
|
@ -416,6 +422,14 @@ class AppComponent { |
|
|
|
|
const slitherPlugin = isElectron() ? new SlitherHandleDesktop() : new SlitherHandle() |
|
|
|
|
this.engine.register([slitherPlugin]) |
|
|
|
|
|
|
|
|
|
//foundry plugin
|
|
|
|
|
const foundryPlugin = isElectron() ? new FoundryHandleDesktop() : new FoundryHandle() |
|
|
|
|
this.engine.register([foundryPlugin]) |
|
|
|
|
|
|
|
|
|
// hardhat plugin
|
|
|
|
|
const hardhatPlugin = isElectron() ? new HardhatHandleDesktop() : new HardhatHandle() |
|
|
|
|
this.engine.register([hardhatPlugin]) |
|
|
|
|
|
|
|
|
|
// LAYOUT & SYSTEM VIEWS
|
|
|
|
|
const appPanel = new MainPanel() |
|
|
|
|
Registry.getInstance().put({ api: this.mainview, name: 'mainview' }) |
|
|
|
@ -470,8 +484,6 @@ class AppComponent { |
|
|
|
|
analysis, |
|
|
|
|
test, |
|
|
|
|
filePanel.remixdHandle, |
|
|
|
|
filePanel.hardhatHandle, |
|
|
|
|
filePanel.foundryHandle, |
|
|
|
|
filePanel.truffleHandle, |
|
|
|
|
linkLibraries, |
|
|
|
|
deployLibraries, |
|
|
|
@ -540,7 +552,7 @@ class AppComponent { |
|
|
|
|
await this.appManager.activatePlugin(['solidity-script', 'remix-templates']) |
|
|
|
|
|
|
|
|
|
if (isElectron()) { |
|
|
|
|
await this.appManager.activatePlugin(['isogit', 'electronconfig', 'electronTemplates', 'xterm', 'ripgrep', 'appUpdater', 'remixAID', 'slither']) |
|
|
|
|
await this.appManager.activatePlugin(['isogit', 'electronconfig', 'electronTemplates', 'xterm', 'ripgrep', 'appUpdater', 'slither', 'foundry', 'hardhat', 'remixAID']) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
this.appManager.on( |
|
|
|
|