@faapi/faapi 3.1.0 → 3.2.0
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 +17 -22
- package/dist/cli/index.js.map +1 -1
- package/dist/index.d.ts +33 -11
- package/dist/index.js +31 -32
- package/dist/index.js.map +1 -1
- package/dist/testing.js +2 -9
- package/dist/testing.js.map +1 -1
- package/package.json +1 -1
package/dist/testing.js
CHANGED
|
@@ -590,18 +590,11 @@ function queryToObject(params) {
|
|
|
590
590
|
return result;
|
|
591
591
|
}
|
|
592
592
|
|
|
593
|
-
// src/injection/skillRegistry.ts
|
|
594
|
-
var registry = /* @__PURE__ */ new Map();
|
|
595
|
-
function listSkills() {
|
|
596
|
-
return Array.from(registry.values());
|
|
597
|
-
}
|
|
598
|
-
|
|
599
593
|
// src/injection/agentRegistry.ts
|
|
600
|
-
var
|
|
594
|
+
var registry = /* @__PURE__ */ new Map();
|
|
601
595
|
function listAgents() {
|
|
602
596
|
const merged = /* @__PURE__ */ new Map();
|
|
603
|
-
for (const agent of
|
|
604
|
-
for (const skill of listSkills()) merged.set(skill.name, skill);
|
|
597
|
+
for (const agent of registry.values()) merged.set(agent.name, agent);
|
|
605
598
|
return Array.from(merged.values());
|
|
606
599
|
}
|
|
607
600
|
|