opencode-deepa 1.0.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/README.md +38 -0
- package/dist/cli/config-io.d.ts +23 -0
- package/dist/cli/config-io.d.ts.map +1 -0
- package/dist/cli/config-manager.d.ts +6 -0
- package/dist/cli/config-manager.d.ts.map +1 -0
- package/dist/cli/custom-skills.d.ts +26 -0
- package/dist/cli/custom-skills.d.ts.map +1 -0
- package/dist/cli/index.d.ts +3 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +706 -0
- package/dist/cli/install.d.ts +3 -0
- package/dist/cli/install.d.ts.map +1 -0
- package/dist/cli/paths.d.ts +10 -0
- package/dist/cli/paths.d.ts.map +1 -0
- package/dist/cli/providers.d.ts +3 -0
- package/dist/cli/providers.d.ts.map +1 -0
- package/dist/cli/system.d.ts +7 -0
- package/dist/cli/system.d.ts.map +1 -0
- package/dist/cli/types.d.ts +37 -0
- package/dist/cli/types.d.ts.map +1 -0
- package/dist/config/agent-mcps.d.ts +19 -0
- package/dist/config/agent-mcps.d.ts.map +1 -0
- package/dist/config/mcp-types.d.ts +4 -0
- package/dist/config/mcp-types.d.ts.map +1 -0
- package/dist/index.d.ts +24 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +305 -0
- package/dist/index.test.d.ts +2 -0
- package/dist/index.test.d.ts.map +1 -0
- package/dist/skills/index.d.ts +53 -0
- package/dist/skills/index.d.ts.map +1 -0
- package/dist/tools/codeindexScan.d.ts +7 -0
- package/dist/tools/codeindexScan.d.ts.map +1 -0
- package/dist/tools/deepaSummary/index.d.ts +7 -0
- package/dist/tools/deepaSummary/index.d.ts.map +1 -0
- package/dist/tools/fastcode.d.ts +7 -0
- package/dist/tools/fastcode.d.ts.map +1 -0
- package/dist/tools/gitingest.d.ts +10 -0
- package/dist/tools/gitingest.d.ts.map +1 -0
- package/dist/tools/index.d.ts +5 -0
- package/dist/tools/index.d.ts.map +1 -0
- package/opencode-deepa.schema.json +74 -0
- package/package.json +68 -0
- package/src/skills/deepa-planning/SKILL.md +98 -0
- package/src/skills/index.ts +142 -0
package/README.md
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# opencode-deepa
|
|
2
|
+
|
|
3
|
+
DeepA - Orchestrator-like agent plugin for OpenCode that delegates tasks to specialist agents.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
bunx opencode-deepa install
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
Once installed, you can use the DeepA agent in OpenCode by selecting it from the agent menu or by invoking it directly in your prompts.
|
|
14
|
+
|
|
15
|
+
DeepA acts as an orchestrator that delegates tasks to specialist agents like:
|
|
16
|
+
- @explorer for discovering information in the codebase
|
|
17
|
+
- @librarian for fetching library documentation
|
|
18
|
+
- @oracle for architectural decisions
|
|
19
|
+
- @designer for UI/UX work
|
|
20
|
+
- @fixer for implementation tasks
|
|
21
|
+
|
|
22
|
+
## Features
|
|
23
|
+
|
|
24
|
+
- Strategic task decomposition and planning
|
|
25
|
+
- Intelligent delegation to specialist agents
|
|
26
|
+
- Parallel execution of independent tasks
|
|
27
|
+
- Context-aware decision making
|
|
28
|
+
- Built-in planning skill for complex tasks
|
|
29
|
+
|
|
30
|
+
## Configuration
|
|
31
|
+
|
|
32
|
+
DeepA supports the same configuration options as other OpenCode plugins. You can customize models, enable/disable TMUX integration, and install additional skills.
|
|
33
|
+
|
|
34
|
+
See `docs/provider-configurations.md` for alternative provider configurations (Kimi, GitHub Copilot, ZAI Coding Plan).
|
|
35
|
+
|
|
36
|
+
## License
|
|
37
|
+
|
|
38
|
+
MIT
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { ConfigMergeResult, DetectedConfig, InstallConfig, OpenCodeConfig } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* Strip JSON comments (single-line // and multi-line) and trailing commas for JSONC support.
|
|
4
|
+
*/
|
|
5
|
+
export declare function stripJsonComments(json: string): string;
|
|
6
|
+
export declare function parseConfigFile(path: string): {
|
|
7
|
+
config: OpenCodeConfig | null;
|
|
8
|
+
error?: string;
|
|
9
|
+
};
|
|
10
|
+
export declare function parseConfig(path: string): {
|
|
11
|
+
config: OpenCodeConfig | null;
|
|
12
|
+
error?: string;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Write config to file atomically.
|
|
16
|
+
*/
|
|
17
|
+
export declare function writeConfig(configPath: string, config: OpenCodeConfig): void;
|
|
18
|
+
export declare function addPluginToOpenCodeConfig(): Promise<ConfigMergeResult>;
|
|
19
|
+
export declare function writeLiteConfig(installConfig: InstallConfig): ConfigMergeResult;
|
|
20
|
+
export declare function disableDefaultAgents(): ConfigMergeResult;
|
|
21
|
+
export declare function canModifyOpenCodeConfig(): boolean;
|
|
22
|
+
export declare function detectCurrentConfig(): DetectedConfig;
|
|
23
|
+
//# sourceMappingURL=config-io.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config-io.d.ts","sourceRoot":"","sources":["../../src/cli/config-io.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EACV,iBAAiB,EACjB,cAAc,EACd,aAAa,EACb,cAAc,EACf,MAAM,SAAS,CAAC;AAIjB;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAWtD;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG;IAC7C,MAAM,EAAE,cAAc,GAAG,IAAI,CAAC;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAWA;AAED,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG;IACzC,MAAM,EAAE,cAAc,GAAG,IAAI,CAAC;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CASA;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,cAAc,GAAG,IAAI,CAmB5E;AAED,wBAAsB,yBAAyB,IAAI,OAAO,CAAC,iBAAiB,CAAC,CA2C5E;AAKD,wBAAgB,eAAe,CAC7B,aAAa,EAAE,aAAa,GAC3B,iBAAiB,CA4BnB;AAED,wBAAgB,oBAAoB,IAAI,iBAAiB,CA6BxD;AAED,wBAAgB,uBAAuB,IAAI,OAAO,CAUjD;AAID,wBAAgB,mBAAmB,IAAI,cAAc,CAkEpD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config-manager.d.ts","sourceRoot":"","sources":["../../src/cli/config-manager.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom skills bundled with this plugin that get installed during setup.
|
|
3
|
+
* These are in addition to the recommended skills from the community.
|
|
4
|
+
*/
|
|
5
|
+
export interface CustomSkill {
|
|
6
|
+
/** Human-readable name for prompts */
|
|
7
|
+
name: string;
|
|
8
|
+
/** GitHub repo URL for `npx skills add` */
|
|
9
|
+
repo: string;
|
|
10
|
+
/** Skill name within the repo (--skill flag) */
|
|
11
|
+
skillName: string;
|
|
12
|
+
/** List of agents that should auto-allow this skill */
|
|
13
|
+
allowedAgents: string[];
|
|
14
|
+
/** Description shown to user during install */
|
|
15
|
+
description: string;
|
|
16
|
+
/** Optional commands to run after the skill is added */
|
|
17
|
+
postInstallCommands?: string[];
|
|
18
|
+
}
|
|
19
|
+
export declare const CUSTOM_SKILLS: CustomSkill[];
|
|
20
|
+
/**
|
|
21
|
+
* Install a custom skill using `npx skills add`.
|
|
22
|
+
* @param skill - The skill to install
|
|
23
|
+
* @returns True if installation succeeded, false otherwise
|
|
24
|
+
*/
|
|
25
|
+
export declare function installCustomSkill(skill: CustomSkill): boolean;
|
|
26
|
+
//# sourceMappingURL=custom-skills.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"custom-skills.d.ts","sourceRoot":"","sources":["../../src/cli/custom-skills.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,WAAW;IAC1B,sCAAsC;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,2CAA2C;IAC3C,IAAI,EAAE,MAAM,CAAC;IACb,gDAAgD;IAChD,SAAS,EAAE,MAAM,CAAC;IAClB,uDAAuD;IACvD,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,+CAA+C;IAC/C,WAAW,EAAE,MAAM,CAAC;IACpB,wDAAwD;IACxD,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;CAChC;AAED,eAAO,MAAM,aAAa,EAAE,WAAW,EAQtC,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,WAAW,GAAG,OAAO,CAqC9D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cli/index.ts"],"names":[],"mappings":""}
|