@mearl/native-host 2.2.1 → 2.2.2

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.
@@ -1,6 +1,2 @@
1
- export interface AgentSpawnCommand {
2
- command: string;
3
- args: string[];
4
- }
5
- export declare function agentSpawnCommand(executable: string, args: string[], platform?: NodeJS.Platform, commandInterpreter?: string | undefined): AgentSpawnCommand;
6
- export declare function createAgentChildEnv(sourceEnv?: NodeJS.ProcessEnv, nodeExecutable?: string): NodeJS.ProcessEnv;
1
+ export { prependNodePath as createAgentChildEnv, resolveSpawnCommand as agentSpawnCommand, } from '@mearl/setup/process';
2
+ export type { SpawnCommand as AgentSpawnCommand } from '@mearl/setup/process';
@@ -1,15 +1,12 @@
1
1
  import type { AgentSkillCheckUpdatesResult, AgentSkillCheckUpdatesOptions, AgentSkillCliStatus, AgentSkillInstallOptions, AgentSkillMutationOptions, AgentSkillMutationResult, AgentSkillScope, AgentSkillUpdate } from '@mearl/browser-core';
2
- interface SkillCliOutput {
3
- stdout: string;
4
- stderr: string;
5
- }
6
- export type SkillCliRunner = (executable: string, args: string[], cwd?: string) => Promise<SkillCliOutput>;
2
+ import { resolveAliSkillsExecutable, type AliSkillsCliRunner } from '@mearl/setup/ali-skills';
3
+ export type SkillCliRunner = AliSkillsCliRunner;
4
+ export { resolveAliSkillsExecutable };
5
+ export declare const runSkillCli: SkillCliRunner;
7
6
  export interface AgentSkillManagerOptions {
8
7
  resolveExecutable?: () => string | null;
9
8
  run?: SkillCliRunner;
10
9
  }
11
- export declare function resolveAliSkillsExecutable(): string | null;
12
- export declare const runSkillCli: SkillCliRunner;
13
10
  export declare function parseSkillUpdates(stdout: string, scope: AgentSkillScope): AgentSkillUpdate[];
14
11
  export declare class AgentSkillManager {
15
12
  private readonly executableResolver;
@@ -22,4 +19,3 @@ export declare class AgentSkillManager {
22
19
  uninstall(data: AgentSkillMutationOptions): Promise<AgentSkillMutationResult>;
23
20
  private mutationContext;
24
21
  }
25
- export {};