agentshq 0.1.3 → 0.1.5
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.mjs
CHANGED
|
@@ -2945,7 +2945,7 @@ var WellKnownProvider = class {
|
|
|
2945
2945
|
const wellKnownProvider = new WellKnownProvider();
|
|
2946
2946
|
//#endregion
|
|
2947
2947
|
//#region package.json
|
|
2948
|
-
var version$1 = "0.1.
|
|
2948
|
+
var version$1 = "0.1.5";
|
|
2949
2949
|
//#endregion
|
|
2950
2950
|
//#region src/add.ts
|
|
2951
2951
|
const isCancelled$1 = (value) => typeof value === "symbol";
|
|
@@ -3296,6 +3296,7 @@ async function handleWellKnownAgents(source, url, options, spinner) {
|
|
|
3296
3296
|
source: sourceIdentifier,
|
|
3297
3297
|
agents: selectedAgents.map((s) => s.installName).join(","),
|
|
3298
3298
|
...installGlobally && { global: "1" },
|
|
3299
|
+
ide: targetIdes.join(","),
|
|
3299
3300
|
agentFiles: JSON.stringify(agentFiles),
|
|
3300
3301
|
sourceType: "well-known"
|
|
3301
3302
|
});
|
|
@@ -3708,6 +3709,7 @@ async function runAdd(args, options = {}) {
|
|
|
3708
3709
|
source: normalizedSource,
|
|
3709
3710
|
agents: selectedAgents.map((s) => getAgentDisplayName(s)).join(","),
|
|
3710
3711
|
...installGlobally && { global: "1" },
|
|
3712
|
+
ide: targetIdes.join(","),
|
|
3711
3713
|
agentFiles: JSON.stringify(agentFiles)
|
|
3712
3714
|
});
|
|
3713
3715
|
if (successful.length > 0 && installGlobally && normalizedSource) {
|
|
@@ -4751,7 +4753,6 @@ async function removeCommand(agentNames, options) {
|
|
|
4751
4753
|
}
|
|
4752
4754
|
const format = ide.agentFileFormat;
|
|
4753
4755
|
if (format === "flat-md" || format === "flat-agent-md" || format === "json" || format === "toml") {
|
|
4754
|
-
const { getOutputFileName } = await import("./_chunks/format-translator.mjs");
|
|
4755
4756
|
const fileName = getOutputFileName(sanitizedName, format);
|
|
4756
4757
|
const flatFilePath = join(isGlobal ? ide.globalAgentsDir : join(cwd, ide.agentsDir), fileName);
|
|
4757
4758
|
try {
|
|
@@ -5356,4 +5357,4 @@ async function main() {
|
|
|
5356
5357
|
}
|
|
5357
5358
|
main();
|
|
5358
5359
|
//#endregion
|
|
5359
|
-
export {
|
|
5360
|
+
export {};
|
package/package.json
CHANGED