@bitfun-vsl/plugin 0.0.0-stage → 0.0.2

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.
Files changed (48) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +62 -3
  3. package/assets/bitfun/command/vsl/cr-health.md +5 -0
  4. package/assets/bitfun/command/vsl/review.md +5 -0
  5. package/assets/bitfun/command/vsl/trajectory.md +8 -0
  6. package/assets/build.json +4 -0
  7. package/assets/claude-code/.claude-plugin/plugin.json +5 -0
  8. package/assets/claude-code/.mcp.json +10 -0
  9. package/assets/claude-code/agents/vsl-trajectory.md +6 -0
  10. package/assets/claude-code/commands/cr-health.md +7 -0
  11. package/assets/claude-code/commands/review.md +7 -0
  12. package/assets/claude-code/commands/trajectory.md +10 -0
  13. package/assets/claude-code/scripts/mcp-server.js +741 -0
  14. package/assets/claude-code/skills/vsl-trajectory-analysis/SKILL.md +7 -0
  15. package/assets/deveco/skills/vsl-trajectory-analysis/SKILL.md +7 -0
  16. package/assets/install-manifest.json +58 -0
  17. package/assets/skills/vsl-trajectory-analysis/SKILL.md +7 -0
  18. package/dist/cli/index.d.ts +17 -0
  19. package/dist/cli/index.js +4576 -0
  20. package/dist/hosts/bitfun-kernel/commands.d.ts +26 -0
  21. package/dist/hosts/bitfun-kernel/plugin.d.ts +2 -0
  22. package/dist/hosts/bitfun-kernel/plugin.js +661 -0
  23. package/dist/hosts/claude-code/index.d.ts +1 -0
  24. package/dist/hosts/claude-code/index.js +680 -0
  25. package/dist/hosts/claude-code/mcp-server.d.ts +45 -0
  26. package/dist/hosts/deveco/plugin.d.ts +2 -0
  27. package/dist/hosts/deveco/plugin.js +659 -0
  28. package/dist/hosts/shared/opencode.d.ts +12 -0
  29. package/dist/hosts/shared/schema.d.ts +8 -0
  30. package/dist/index.d.ts +2 -0
  31. package/dist/index.js +663 -0
  32. package/dist/install/config.d.ts +50 -0
  33. package/dist/install/index.d.ts +182 -0
  34. package/dist/install/resources.d.ts +7 -0
  35. package/dist/install/resources.js +590 -0
  36. package/dist/plugin/contracts.d.ts +63 -0
  37. package/dist/plugin/index.d.ts +19 -0
  38. package/dist/plugin/index.js +539 -0
  39. package/dist/plugin/modules/code-review/index.d.ts +4 -0
  40. package/dist/plugin/modules/code-review/runtime.d.ts +42 -0
  41. package/dist/plugin/modules/trajectory-analysis.d.ts +2 -0
  42. package/dist/plugin/registry.d.ts +16 -0
  43. package/dist/plugin/schema.d.ts +2 -0
  44. package/dist/runtime.d.ts +22 -0
  45. package/docs/code-review-integration.md +182 -0
  46. package/docs/init-installation.md +97 -0
  47. package/docs/plugin-design.md +391 -0
  48. 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
+ }>;
@@ -0,0 +1,2 @@
1
+ export declare const BitFunKernelPlugin: (input: import("@opencode-ai/plugin").PluginInput, options?: import("@opencode-ai/plugin").PluginOptions | undefined) => Promise<import("@opencode-ai/plugin").Hooks>;
2
+ export default BitFunKernelPlugin;