@rely-ai/caliber 1.12.1 → 1.12.3
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/dist/bin.js +1 -34
- package/package.json +1 -1
package/dist/bin.js
CHANGED
|
@@ -5231,38 +5231,6 @@ async function searchSkillsSh(technologies) {
|
|
|
5231
5231
|
}
|
|
5232
5232
|
return Array.from(bestBySlug.values());
|
|
5233
5233
|
}
|
|
5234
|
-
async function searchTessl(technologies) {
|
|
5235
|
-
const results = [];
|
|
5236
|
-
const seen = /* @__PURE__ */ new Set();
|
|
5237
|
-
for (const tech of technologies) {
|
|
5238
|
-
try {
|
|
5239
|
-
const resp = await fetch(`https://tessl.io/registry?q=${encodeURIComponent(tech)}`, {
|
|
5240
|
-
signal: AbortSignal.timeout(1e4)
|
|
5241
|
-
});
|
|
5242
|
-
if (!resp.ok) continue;
|
|
5243
|
-
const html = await resp.text();
|
|
5244
|
-
const linkMatches = html.matchAll(/\/registry\/skills\/github\/([^/]+)\/([^/]+)\/([^/"]+)/g);
|
|
5245
|
-
for (const match of linkMatches) {
|
|
5246
|
-
const [, org, repo, skillName] = match;
|
|
5247
|
-
const slug = `${org}-${repo}-${skillName}`.toLowerCase();
|
|
5248
|
-
if (seen.has(slug)) continue;
|
|
5249
|
-
seen.add(slug);
|
|
5250
|
-
results.push({
|
|
5251
|
-
name: skillName,
|
|
5252
|
-
slug,
|
|
5253
|
-
source_url: `https://github.com/${org}/${repo}`,
|
|
5254
|
-
score: 0,
|
|
5255
|
-
reason: `Skill from ${org}/${repo}`,
|
|
5256
|
-
detected_technology: tech,
|
|
5257
|
-
item_type: "skill"
|
|
5258
|
-
});
|
|
5259
|
-
}
|
|
5260
|
-
} catch {
|
|
5261
|
-
continue;
|
|
5262
|
-
}
|
|
5263
|
-
}
|
|
5264
|
-
return results;
|
|
5265
|
-
}
|
|
5266
5234
|
var AWESOME_CLAUDE_CODE_URL = "https://raw.githubusercontent.com/hesreallyhim/awesome-claude-code/main/README.md";
|
|
5267
5235
|
async function searchAwesomeClaudeCode(technologies) {
|
|
5268
5236
|
try {
|
|
@@ -5299,8 +5267,7 @@ async function searchAwesomeClaudeCode(technologies) {
|
|
|
5299
5267
|
}
|
|
5300
5268
|
async function searchAllProviders(technologies, platform) {
|
|
5301
5269
|
const searches = [
|
|
5302
|
-
searchSkillsSh(technologies)
|
|
5303
|
-
searchTessl(technologies)
|
|
5270
|
+
searchSkillsSh(technologies)
|
|
5304
5271
|
];
|
|
5305
5272
|
if (platform === "claude" || !platform) {
|
|
5306
5273
|
searches.push(searchAwesomeClaudeCode(technologies));
|
package/package.json
CHANGED