fix(FN-4486): complete Step 5 — restore workspace verification gates
Fusion-Task-Id: FN-4486 Fusion-Task-Lineage: 7d3b40b2-883f-450c-96ec-796f8af4fa45
This commit is contained in:
8
packages/desktop/src/node-pty.d.ts
vendored
8
packages/desktop/src/node-pty.d.ts
vendored
@@ -1,12 +1,12 @@
|
||||
declare module "node-pty" {
|
||||
export interface IPty {
|
||||
[key: string]: any;
|
||||
[key: string]: unknown;
|
||||
}
|
||||
export interface IPtyForkOptions {
|
||||
[key: string]: any;
|
||||
[key: string]: unknown;
|
||||
}
|
||||
export interface IWindowsPtyForkOptions extends IPtyForkOptions {
|
||||
[key: string]: any;
|
||||
[key: string]: unknown;
|
||||
}
|
||||
export function spawn(...args: any[]): IPty;
|
||||
export function spawn(...args: unknown[]): IPty;
|
||||
}
|
||||
|
||||
@@ -13,6 +13,7 @@ import { installFusionSkillIntoHermesHome } from "./fusion-skill-install.js";
|
||||
import { HermesRuntimeAdapter } from "./runtime-adapter.js";
|
||||
import type {
|
||||
FusionPlugin,
|
||||
PluginContext,
|
||||
PluginRuntimeFactory,
|
||||
PluginRuntimeManifestMetadata,
|
||||
} from "@fusion/plugin-sdk";
|
||||
@@ -50,7 +51,7 @@ const plugin: FusionPlugin = definePlugin({
|
||||
},
|
||||
state: "installed",
|
||||
hooks: {
|
||||
onLoad: (ctx) => {
|
||||
onLoad: (ctx: PluginContext) => {
|
||||
const settings = resolveCliSettings(ctx.settings);
|
||||
const skillInstall = installFusionSkillIntoHermesHome({ profile: settings.profile });
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@ import { installFusionSkillIntoHermesHome } from "./fusion-skill-install.js";
|
||||
import { HermesRuntimeAdapter } from "./runtime-adapter.js";
|
||||
import type {
|
||||
FusionPlugin,
|
||||
PluginContext,
|
||||
PluginRuntimeFactory,
|
||||
PluginRuntimeManifestMetadata,
|
||||
} from "@fusion/plugin-sdk";
|
||||
@@ -50,7 +51,7 @@ const plugin: FusionPlugin = definePlugin({
|
||||
},
|
||||
state: "installed",
|
||||
hooks: {
|
||||
onLoad: (ctx) => {
|
||||
onLoad: (ctx: PluginContext) => {
|
||||
const settings = resolveCliSettings(ctx.settings);
|
||||
const skillInstall = installFusionSkillIntoHermesHome({ profile: settings.profile });
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@ import { installFusionSkillIntoHermesHome } from "./fusion-skill-install.js";
|
||||
import { HermesRuntimeAdapter } from "./runtime-adapter.js";
|
||||
import type {
|
||||
FusionPlugin,
|
||||
PluginContext,
|
||||
PluginRuntimeFactory,
|
||||
PluginRuntimeManifestMetadata,
|
||||
} from "@fusion/plugin-sdk";
|
||||
@@ -50,7 +51,7 @@ const plugin: FusionPlugin = definePlugin({
|
||||
},
|
||||
state: "installed",
|
||||
hooks: {
|
||||
onLoad: (ctx) => {
|
||||
onLoad: (ctx: PluginContext) => {
|
||||
const settings = resolveCliSettings(ctx.settings);
|
||||
const skillInstall = installFusionSkillIntoHermesHome({ profile: settings.profile });
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@ const plugin: FusionPlugin = definePlugin({
|
||||
},
|
||||
state: "installed",
|
||||
hooks: {
|
||||
onLoad: async (ctx) => {
|
||||
onLoad: async (ctx: PluginContext) => {
|
||||
const config = resolveCliConfig(ctx.settings);
|
||||
const probe = await probeOpenClawBinary({ binaryPath: config.binaryPath });
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { definePlugin } from "@fusion/plugin-sdk";
|
||||
import type { PluginContext } from "@fusion/plugin-sdk";
|
||||
import {
|
||||
probePaperclipConnection,
|
||||
resolvePaperclipConfig,
|
||||
@@ -80,7 +81,7 @@ const plugin: FusionPlugin = definePlugin({
|
||||
state: "installed",
|
||||
runtime: paperclipRuntime,
|
||||
hooks: {
|
||||
onLoad: async (ctx) => {
|
||||
onLoad: async (ctx: PluginContext) => {
|
||||
const config = getSettingsConfig(ctx.settings);
|
||||
ctx.logger.info(`Paperclip Runtime Plugin loaded (apiUrl=${config.apiUrl})`);
|
||||
|
||||
|
||||
3
tsconfig.json
Normal file
3
tsconfig.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"files": ["./tsconfig.placeholder.d.ts"]
|
||||
}
|
||||
1
tsconfig.placeholder.d.ts
vendored
Normal file
1
tsconfig.placeholder.d.ts
vendored
Normal file
@@ -0,0 +1 @@
|
||||
export {};
|
||||
Reference in New Issue
Block a user