@yorha2b-lab/autodev 4.0.0 → 4.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/package.json
CHANGED
|
@@ -83,7 +83,6 @@ module.exports = async () => {
|
|
|
83
83
|
// 💡 锁定待通电锚点
|
|
84
84
|
if (indexCode.includes('BUNKER_API_ANCHOR')) {
|
|
85
85
|
const resourceCode = fs.readFileSync(resourcePath, 'utf-8')
|
|
86
|
-
const fileName = path.basename(indexPath, path.extname(indexPath))
|
|
87
86
|
const bunkerAnchors = indexCode.match(/BUNKER_API_ANCHOR_\w+/g).join('\n')
|
|
88
87
|
|
|
89
88
|
// 💡 执行语义提取流程
|
|
@@ -92,7 +91,6 @@ module.exports = async () => {
|
|
|
92
91
|
|
|
93
92
|
const moduleSemantics = `${returnStatement}${resourceCode}`.match(/[\u4e00-\u9fa5][\u4e00-\u9fa5A-Za-z0-9?。,、:;!() ]*/g) || []
|
|
94
93
|
const pageKeywords = getSemanticKeywords(moduleSemantics)
|
|
95
|
-
|
|
96
94
|
// 💡 物理扫描:执行“语义雷达”过滤
|
|
97
95
|
const candidates = refinedApis
|
|
98
96
|
.map(api => ({
|