mirror of https://github.com/openclaw/openclaw.git
Plugins/lobster: migrate to scoped plugin-sdk imports
This commit is contained in:
parent
ccd2d7dc27
commit
a5f56e8b4e
|
|
@ -2,7 +2,7 @@ import type {
|
|||
AnyAgentTool,
|
||||
OpenClawPluginApi,
|
||||
OpenClawPluginToolFactory,
|
||||
} from "../../src/plugins/types.js";
|
||||
} from "openclaw/plugin-sdk/lobster";
|
||||
import { createLobsterTool } from "./src/lobster-tool.js";
|
||||
|
||||
export default function register(api: OpenClawPluginApi) {
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@ import fs from "node:fs/promises";
|
|||
import os from "node:os";
|
||||
import path from "node:path";
|
||||
import { PassThrough } from "node:stream";
|
||||
import type { OpenClawPluginApi, OpenClawPluginToolContext } from "openclaw/plugin-sdk/lobster";
|
||||
import { afterAll, afterEach, beforeAll, beforeEach, describe, expect, it, vi } from "vitest";
|
||||
import type { OpenClawPluginApi, OpenClawPluginToolContext } from "../../../src/plugins/types.js";
|
||||
import {
|
||||
createWindowsCmdShimFixture,
|
||||
restorePlatformPathEnv,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import { spawn } from "node:child_process";
|
||||
import path from "node:path";
|
||||
import { Type } from "@sinclair/typebox";
|
||||
import type { OpenClawPluginApi } from "../../../src/plugins/types.js";
|
||||
import type { OpenClawPluginApi } from "openclaw/plugin-sdk/lobster";
|
||||
import { resolveWindowsLobsterSpawn } from "./windows-spawn.js";
|
||||
|
||||
type LobsterEnvelope =
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import {
|
|||
applyWindowsSpawnProgramPolicy,
|
||||
materializeWindowsSpawnProgram,
|
||||
resolveWindowsSpawnProgramCandidate,
|
||||
} from "openclaw/plugin-sdk/compat";
|
||||
} from "openclaw/plugin-sdk/lobster";
|
||||
|
||||
type SpawnTarget = {
|
||||
command: string;
|
||||
|
|
|
|||
Loading…
Reference in New Issue