@lucasreiners/lead 0.1.0 → 0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lucasreiners/lead",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "L.E.A.D. (Lucas Engineering Automation & Delivery) — enterprise-grade OpenCode plugin with professional agent orchestration",
5
5
  "author": "L.E.A.D.",
6
6
  "license": "MIT",
@@ -17,7 +17,9 @@
17
17
  "import": "./dist/index.js"
18
18
  }
19
19
  },
20
- "files": ["dist/"],
20
+ "files": [
21
+ "dist/"
22
+ ],
21
23
  "scripts": {
22
24
  "build": "bun run script/build.ts && tsc --emitDeclarationOnly",
23
25
  "clean": "rm -rf dist",
@@ -1,11 +0,0 @@
1
- import type { AgentConfig } from "@opencode-ai/sdk";
2
- import type { AgentFactory } from "../types";
3
- import { type AvailableAgent } from "../dynamic-prompt-builder";
4
- export declare const LEAD_DEFAULTS: AgentConfig;
5
- export interface CreateLeadAgentOptions {
6
- disabledAgents?: Set<string>;
7
- fingerprint?: string;
8
- customAgents?: AvailableAgent[];
9
- }
10
- export declare function createLeadAgentWithOptions(model: string, options?: CreateLeadAgentOptions): AgentConfig;
11
- export declare const createLeadAgent: AgentFactory;
@@ -1,6 +0,0 @@
1
- import type { AgentConfig } from "@opencode-ai/sdk";
2
- import type { AgentFactory } from "../types";
3
- import type { ContinuationConfig } from "../../config/schema";
4
- export declare const EXECUTOR_DEFAULTS: AgentConfig;
5
- export declare function createExecutorAgentWithOptions(model: string, _disabledAgents?: Set<string>, _continuation?: ContinuationConfig): AgentConfig;
6
- export declare const createExecutorAgent: AgentFactory;
@@ -1,11 +0,0 @@
1
- import type { AgentConfig } from "@opencode-ai/sdk";
2
- import type { AgentFactory } from "../types";
3
- import { type AvailableAgent } from "../dynamic-prompt-builder";
4
- export declare const LEAD_DEFAULTS: AgentConfig;
5
- export interface CreateLeadAgentOptions {
6
- disabledAgents?: Set<string>;
7
- fingerprint?: string;
8
- customAgents?: AvailableAgent[];
9
- }
10
- export declare function createLeadAgentWithOptions(model: string, options?: CreateLeadAgentOptions): AgentConfig;
11
- export declare const createLeadAgent: AgentFactory;
@@ -1,4 +0,0 @@
1
- import type { AgentConfig } from "@opencode-ai/sdk";
2
- import type { AgentFactory } from "../types";
3
- export declare const SCOUT_DEFAULTS: AgentConfig;
4
- export declare const createScoutAgent: AgentFactory;
@@ -1,12 +0,0 @@
1
- interface ScaffoldOptions {
2
- directory: string;
3
- }
4
- /**
5
- * Checks if a project-level lead.jsonc exists.
6
- * If not, creates one with the default model chains documented.
7
- *
8
- * Synchronous — safe to call during plugin init without blocking.
9
- * Returns true if a config was scaffolded, false if one already existed.
10
- */
11
- export declare function scaffoldConfigIfMissing(options: ScaffoldOptions): boolean;
12
- export {};
@@ -1,26 +0,0 @@
1
- /**
2
- * Start-work hook.
3
- * Handles the `/implement` command.
4
- * Finds the plan file, creates work state, and returns a prompt directing executor to begin.
5
- */
6
- export interface StartWorkOptions {
7
- /** The command arguments (plan name or path) */
8
- args: string;
9
- /** Current session ID */
10
- sessionId: string;
11
- /** Working directory */
12
- directory: string;
13
- /** Optional git SHA at start */
14
- startSha?: string;
15
- }
16
- export interface StartWorkResult {
17
- /** Prompt to inject into the session */
18
- prompt: string | null;
19
- /** Error message if the command failed */
20
- error?: string;
21
- }
22
- /**
23
- * Handle the /implement command.
24
- * Finds the plan file and creates work state with reference to it.
25
- */
26
- export declare function handleStartWork(options: StartWorkOptions): Promise<StartWorkResult>;