dsh-pentester 1.0.0 → 2.2.0

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/lib/index.d.ts CHANGED
@@ -16,25 +16,13 @@ declare const name = "dsh-pentester";
16
16
  declare const inject: string[];
17
17
  interface Config {
18
18
  verbose: boolean;
19
- /**
20
- * Global docker host (unix:///path or http://host:port). Fallback chain:
21
- * this config > DOCKER_HOST > /var/run/docker.sock.
22
- */
23
19
  dockerHost?: string;
24
- /** Optional image tag overrides keyed by toolbox name (default: kali). */
25
20
  toolboxImages?: Record<string, string>;
26
21
  }
27
22
  declare const Config: Schema<Config>;
28
23
  declare function apply(ctx: Context, config: Config): Promise<void>;
29
- /** run-state.mjs 读取的 stage → AgentProfile 清单文件名(与 preset 同目录发布)。 */
30
24
  declare const STAGE_PROFILES_FILE = "stage-profiles.json";
31
- /**
32
- * 生成并发布 stage → [{id, name}] 清单(docs/plan.md §7:Root compact state
33
- * 的 Available AgentProfiles 从 STAGE_DEFINITIONS + AgentProfile registry 生成,
34
- * 不硬编码第二套映射)。随 preset 目录发布,run-state.mjs 同目录读取。
35
- */
36
25
  declare function writeStageProfilesManifest(presetDir: string, profiles: ReadonlyMap<string, AgentProfile>): Promise<void>;
37
- /** 把随包发布的 pentester preset 拷贝到 DSH 用户 preset 根目录。 */
38
26
  declare function publishPentesterPreset(home?: string): Promise<string | undefined>;
39
27
  //#endregion
40
28
  export { Config, STAGE_PROFILES_FILE, apply, inject, name, publishPentesterPreset, writeStageProfilesManifest };