@joelbonito/mcp-server 5.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/README.md +134 -0
- package/dist/constants.d.ts +3 -0
- package/dist/constants.js +26 -0
- package/dist/core/prompts.d.ts +3 -0
- package/dist/core/prompts.js +26 -0
- package/dist/core/resources.d.ts +3 -0
- package/dist/core/resources.js +45 -0
- package/dist/core/tools.d.ts +3 -0
- package/dist/core/tools.js +69 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +25 -0
- package/dist/loaders/agents.d.ts +2 -0
- package/dist/loaders/agents.js +20 -0
- package/dist/loaders/cache.d.ts +3 -0
- package/dist/loaders/cache.js +39 -0
- package/dist/loaders/embedded.d.ts +7 -0
- package/dist/loaders/embedded.js +50 -0
- package/dist/loaders/frontmatter.d.ts +17 -0
- package/dist/loaders/frontmatter.js +71 -0
- package/dist/loaders/skills.d.ts +2 -0
- package/dist/loaders/skills.js +55 -0
- package/dist/loaders/workflows.d.ts +2 -0
- package/dist/loaders/workflows.js +20 -0
- package/dist/paths.d.ts +8 -0
- package/dist/paths.js +16 -0
- package/dist/registry.d.ts +9 -0
- package/dist/registry.js +344 -0
- package/dist/types.d.ts +74 -0
- package/dist/types.js +2 -0
- package/dist/utils/routing.d.ts +2 -0
- package/dist/utils/routing.js +32 -0
- package/dist/utils/search.d.ts +4 -0
- package/dist/utils/search.js +42 -0
- package/dist/worker.d.ts +4 -0
- package/dist/worker.js +117 -0
- package/package.json +53 -0
package/dist/paths.d.ts
ADDED
package/dist/paths.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { dirname, join } from "node:path";
|
|
2
|
+
import { fileURLToPath } from "node:url";
|
|
3
|
+
import { existsSync } from "node:fs";
|
|
4
|
+
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
5
|
+
// Detect if running from repo (dev) or from npm package (prod)
|
|
6
|
+
const repoRoot = join(__dirname, "..", "..");
|
|
7
|
+
const agentsDir = join(repoRoot, ".agents");
|
|
8
|
+
export const IS_DEV = existsSync(agentsDir);
|
|
9
|
+
export const PATHS = {
|
|
10
|
+
agents: join(agentsDir, "agents"),
|
|
11
|
+
skills: join(agentsDir, "skills"),
|
|
12
|
+
workflows: join(agentsDir, "workflows"),
|
|
13
|
+
architecture: join(agentsDir, "ARCHITECTURE.md"),
|
|
14
|
+
instructions: join(agentsDir, "INSTRUCTIONS.md"),
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=paths.js.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const EMBEDDED_AGENTS: Record<string, string>;
|
|
2
|
+
export declare const EMBEDDED_SKILLS: Record<string, {
|
|
3
|
+
skill: string;
|
|
4
|
+
subFiles: Record<string, string>;
|
|
5
|
+
hasScripts: boolean;
|
|
6
|
+
}>;
|
|
7
|
+
export declare const EMBEDDED_WORKFLOWS: Record<string, string>;
|
|
8
|
+
export declare const EMBEDDED_ARCHITECTURE: string;
|
|
9
|
+
export declare const EMBEDDED_INSTRUCTIONS: string;
|