@oh-my-dsh/auto-team 0.1.5 → 0.2.1

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
@@ -1,85 +1,19 @@
1
- import schema from "@deepseek-ai/schemastery";
1
+ import Schema from "@deepseek-ai/schemastery";
2
2
  import { Context } from "@deepseek-ai/cordis";
3
- //#region src/policy.d.ts
4
- /** Relative weight of each difficulty factor. */
5
- interface ScoreWeights {
6
- readonly scope: number;
7
- readonly parallelism: number;
8
- readonly ambiguity: number;
9
- readonly risk: number;
10
- readonly expectedSteps: number;
11
- }
12
- //#endregion
13
- //#region src/config.d.ts
14
- /** Plugin configuration supplied by the profile composition. */
3
+ //#region src/index.d.ts
4
+ /** Existing Cordis row identity. */
5
+ declare const name = "auto-team";
6
+ /** Services supplied by the native DSH profile, never started by this plugin. */
7
+ declare const inject: string[];
15
8
  interface PluginConfig {
16
- /** Message written when this plugin loads. */
17
- message?: string;
18
- /** Base team-trigger threshold in the 0..1 range. */
19
- threshold?: number;
20
- /**
21
- * Multiplier applied to the threshold when a user-triggered goal already
22
- * exists.
23
- */
24
- manualGoalFactor?: number;
25
- /** Relative weight of each difficulty factor. */
26
- weights?: Partial<ScoreWeights>;
27
- /** Name of the reporting teammate created for a team task. */
28
- reportingAgentName?: string;
29
- /** Continuable-subagent provider used for the reporting teammate. */
30
- reportingProvider?: string;
31
- /** Positive round cap used when auto-team creates a goal. */
32
- goalMaxRounds?: number;
33
- /** Block Lead writes after the team decision. Defaults to true. */
34
- enforceLeadNoCode?: boolean;
35
- /** Tool names denied to a Team-mode Lead. Defaults to write and edit. */
36
- leadDeniedTools?: string[];
37
- }
38
- /** Loader-visible configuration schema and defaults. */
39
- declare const Config: schema<PluginConfig>;
40
- /** Configuration after defaults have been resolved. */
41
- interface ResolvedConfig {
42
- /** Message written when this plugin loads. */
9
+ /** Diagnostic written when the execution rules are registered. */
43
10
  message: string;
44
- /** Base team-trigger threshold in the 0..1 range. */
45
- threshold: number;
46
- /**
47
- * Multiplier applied to the threshold when a user-triggered goal already
48
- * exists.
49
- */
50
- manualGoalFactor: number;
51
- /** Relative weight of each difficulty factor. */
52
- weights: ScoreWeights;
53
- /** Name of the reporting teammate created for a team task. */
54
- reportingAgentName: string;
55
- /** Continuable-subagent provider used for the reporting teammate. */
56
- reportingProvider: string;
57
- /** Positive round cap used when auto-team creates a goal. */
58
- goalMaxRounds: number;
59
- /** Block Lead writes after the team decision. */
60
- enforceLeadNoCode: boolean;
61
- /** Tool names denied to a Team-mode Lead. */
62
- leadDeniedTools: string[];
63
11
  }
64
- //#endregion
65
- //#region src/runtime.d.ts
66
- /** Fakeable host boundary used by the baseline load message. */
67
- interface PluginRuntime {
68
- info: (message: string) => void;
69
- warn: (message: string) => void;
70
- }
71
- /** Apply auto-team after its host-only score projection is ready. */
72
- declare function apply(ctx: Context, config: PluginConfig): Promise<void>;
73
- //#endregion
74
- //#region src/index.d.ts
12
+ declare const Config: Schema<PluginConfig>;
75
13
  /**
76
- * Standalone function plugin for DeepSeek Harness.
77
- *
78
- * @module @oh-my-dsh/auto-team
14
+ * Install fiber-owned execution rules without changing native team or goal
15
+ * state.
79
16
  */
80
- /** Cordis plugin name; keep this stable after publishing. */
81
- declare const name = "auto-team";
82
- /** Services that must exist before the plugin is applied. */
83
- declare const inject: string[];
17
+ declare function apply(ctx: Context, config: PluginConfig): void;
84
18
  //#endregion
85
- export { Config, type PluginConfig, type PluginRuntime, type ResolvedConfig, apply, inject, name };
19
+ export { Config, type PluginConfig, apply, inject, name };