skill-tree 0.1.6 → 0.1.7
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/cli/index.js +1 -1
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/index.mjs +1 -1
- package/dist/cli/index.mjs.map +1 -1
- package/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -3848,6 +3848,8 @@ declare class IndexerService {
|
|
|
3848
3848
|
force?: boolean;
|
|
3849
3849
|
autoClassify?: boolean;
|
|
3850
3850
|
detectRelationships?: boolean;
|
|
3851
|
+
/** Import all scraped skills into SkillBank regardless of classification status */
|
|
3852
|
+
importAll?: boolean;
|
|
3851
3853
|
}): Promise<{
|
|
3852
3854
|
scraped: ScrapeResult;
|
|
3853
3855
|
indexed: IndexResult;
|
package/dist/index.d.ts
CHANGED
|
@@ -3848,6 +3848,8 @@ declare class IndexerService {
|
|
|
3848
3848
|
force?: boolean;
|
|
3849
3849
|
autoClassify?: boolean;
|
|
3850
3850
|
detectRelationships?: boolean;
|
|
3851
|
+
/** Import all scraped skills into SkillBank regardless of classification status */
|
|
3852
|
+
importAll?: boolean;
|
|
3851
3853
|
}): Promise<{
|
|
3852
3854
|
scraped: ScrapeResult;
|
|
3853
3855
|
indexed: IndexResult;
|
package/dist/index.js
CHANGED
|
@@ -9605,7 +9605,7 @@ var IndexerService = class {
|
|
|
9605
9605
|
if (this.db) {
|
|
9606
9606
|
const skills = await (this.db.getAllSkills?.() || this.db.listSkills?.()) || [];
|
|
9607
9607
|
for (const skill of skills) {
|
|
9608
|
-
if (skill.status !== "indexed" && !options?.force) continue;
|
|
9608
|
+
if (skill.status !== "indexed" && !options?.force && !options?.importAll) continue;
|
|
9609
9609
|
try {
|
|
9610
9610
|
const converted = convertIndexerSkill(skill);
|
|
9611
9611
|
await this.skillBank.saveSkill(converted.skill);
|