@bitfun-vsl/plugin 0.0.0-stage → 0.0.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/LICENSE +21 -0
- package/README.md +62 -3
- package/assets/bitfun/command/vsl/cr-health.md +5 -0
- package/assets/bitfun/command/vsl/review.md +5 -0
- package/assets/bitfun/command/vsl/trajectory.md +8 -0
- package/assets/build.json +4 -0
- package/assets/claude-code/.claude-plugin/plugin.json +5 -0
- package/assets/claude-code/.mcp.json +10 -0
- package/assets/claude-code/agents/vsl-trajectory.md +6 -0
- package/assets/claude-code/commands/cr-health.md +7 -0
- package/assets/claude-code/commands/review.md +7 -0
- package/assets/claude-code/commands/trajectory.md +10 -0
- package/assets/claude-code/scripts/mcp-server.js +741 -0
- package/assets/claude-code/skills/vsl-trajectory-analysis/SKILL.md +7 -0
- package/assets/deveco/skills/vsl-trajectory-analysis/SKILL.md +7 -0
- package/assets/install-manifest.json +58 -0
- package/assets/skills/vsl-trajectory-analysis/SKILL.md +7 -0
- package/dist/cli/index.d.ts +17 -0
- package/dist/cli/index.js +4576 -0
- package/dist/hosts/bitfun-kernel/commands.d.ts +26 -0
- package/dist/hosts/bitfun-kernel/plugin.d.ts +2 -0
- package/dist/hosts/bitfun-kernel/plugin.js +661 -0
- package/dist/hosts/claude-code/index.d.ts +1 -0
- package/dist/hosts/claude-code/index.js +680 -0
- package/dist/hosts/claude-code/mcp-server.d.ts +45 -0
- package/dist/hosts/deveco/plugin.d.ts +2 -0
- package/dist/hosts/deveco/plugin.js +659 -0
- package/dist/hosts/shared/opencode.d.ts +12 -0
- package/dist/hosts/shared/schema.d.ts +8 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +663 -0
- package/dist/install/config.d.ts +50 -0
- package/dist/install/index.d.ts +182 -0
- package/dist/install/resources.d.ts +7 -0
- package/dist/install/resources.js +590 -0
- package/dist/plugin/contracts.d.ts +63 -0
- package/dist/plugin/index.d.ts +19 -0
- package/dist/plugin/index.js +539 -0
- package/dist/plugin/modules/code-review/index.d.ts +4 -0
- package/dist/plugin/modules/code-review/runtime.d.ts +42 -0
- package/dist/plugin/modules/trajectory-analysis.d.ts +2 -0
- package/dist/plugin/registry.d.ts +16 -0
- package/dist/plugin/schema.d.ts +2 -0
- package/dist/runtime.d.ts +22 -0
- package/docs/code-review-integration.md +182 -0
- package/docs/init-installation.md +97 -0
- package/docs/plugin-design.md +391 -0
- package/package.json +74 -6
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { ModuleCommand } from "../../plugin/contracts.js";
|
|
2
|
+
/**
|
|
3
|
+
* BitFun names an OpenCode command after its path below `command/`, so
|
|
4
|
+
* `vsl:trajectory` is installed as `command/vsl/trajectory.md`. A colon is not
|
|
5
|
+
* representable in a Windows file name, and the slash form is what the BitFun
|
|
6
|
+
* command source yields.
|
|
7
|
+
*/
|
|
8
|
+
export declare const bitfunCommandPath: (name: string) => string;
|
|
9
|
+
/**
|
|
10
|
+
* BitFun gates a command whose `agent` names an external subagent on that
|
|
11
|
+
* subagent appearing in the reconciled external-subagent registrations. Plugin
|
|
12
|
+
* projected agents live in the registry route overlay instead, so a
|
|
13
|
+
* plugin-only agent such as `vsl-trajectory` would restrict the command. The
|
|
14
|
+
* default therefore drops `agent` and lets the main agent run the same
|
|
15
|
+
* template. Plugin tools are not visible to the native main agent, so the main
|
|
16
|
+
* agent reaches them by delegating to the plugin subagent through Task.
|
|
17
|
+
*/
|
|
18
|
+
export declare const bitfunCommandFile: (command: ModuleCommand, includeAgent?: boolean) => string;
|
|
19
|
+
export declare const installBitfunCommands: (input: {
|
|
20
|
+
root: string;
|
|
21
|
+
commands: ModuleCommand[];
|
|
22
|
+
includeAgent?: boolean | undefined;
|
|
23
|
+
}) => Promise<{
|
|
24
|
+
base: string;
|
|
25
|
+
files: string[];
|
|
26
|
+
}>;
|