@aident-ai/cli 0.2.2-staging.ci.33949534070.1 → 0.2.2
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 +3196 -2058
- package/dist/dsh.mjs +5 -5
- package/package.json +2 -2
package/dist/dsh.mjs
CHANGED
|
@@ -575,7 +575,7 @@ function getConfigFile() {
|
|
|
575
575
|
function getConfigFileForHome(home) {
|
|
576
576
|
return join(getAidentDir(home), "config.json");
|
|
577
577
|
}
|
|
578
|
-
var DEFAULT_BASE_URL = "https://
|
|
578
|
+
var DEFAULT_BASE_URL = "https://loadout.aident.ai"?.trim() || "https://loadout.aident.ai";
|
|
579
579
|
var CONFIG_KEYS = ["baseUrl", "packages"];
|
|
580
580
|
async function readConfig(configFile = getConfigFile()) {
|
|
581
581
|
try {
|
|
@@ -4679,7 +4679,7 @@ function serializeLoadoutSkillPackage(skillPackage) {
|
|
|
4679
4679
|
}
|
|
4680
4680
|
|
|
4681
4681
|
// src/version.ts
|
|
4682
|
-
var VERSION = "0.2.2
|
|
4682
|
+
var VERSION = "0.2.2";
|
|
4683
4683
|
var DESKTOP_VERSION = process.env.AIDENT_DESKTOP_VERSION?.trim() || undefined;
|
|
4684
4684
|
var DESKTOP_CHANNEL = parseDesktopChannel(process.env.AIDENT_DESKTOP_CHANNEL);
|
|
4685
4685
|
function parseDesktopChannel(value) {
|
|
@@ -6665,7 +6665,7 @@ function getHarnessRoots(home, env) {
|
|
|
6665
6665
|
function getManifestPath(home) {
|
|
6666
6666
|
return path.join(home, ".aident", "favorite-skills.json");
|
|
6667
6667
|
}
|
|
6668
|
-
function
|
|
6668
|
+
function getLoadoutFavoriteSkillCommandName(pkg) {
|
|
6669
6669
|
return `loadout-${pkg.slug}-${pkg.name.slice("skill:".length, "skill:".length + 8)}`;
|
|
6670
6670
|
}
|
|
6671
6671
|
function assertPackage(pkg) {
|
|
@@ -6715,7 +6715,7 @@ function stripFrontmatter(content) {
|
|
|
6715
6715
|
function entrypointContent(pkg, content) {
|
|
6716
6716
|
return [
|
|
6717
6717
|
"---",
|
|
6718
|
-
`name: ${quoteYaml(
|
|
6718
|
+
`name: ${quoteYaml(getLoadoutFavoriteSkillCommandName(pkg))}`,
|
|
6719
6719
|
`description: ${quoteYaml(`${pkg.displayName}: ${pkg.summary}`)}`,
|
|
6720
6720
|
"---",
|
|
6721
6721
|
`<!-- aident-loadout-skill name=${pkg.name} artifact-version=${pkg.artifactVersionId} -->`,
|
|
@@ -6807,7 +6807,7 @@ async function reconcileLoadoutFavoriteSkills(payload, home = getHome(), env = p
|
|
|
6807
6807
|
}
|
|
6808
6808
|
for (const pkg of payload.packages) {
|
|
6809
6809
|
const previous = previousByName.get(pkg.name);
|
|
6810
|
-
const nextCommandName =
|
|
6810
|
+
const nextCommandName = getLoadoutFavoriteSkillCommandName(pkg);
|
|
6811
6811
|
const installPath = path.join(getCanonicalRoot(home, env), nextCommandName);
|
|
6812
6812
|
const linkPaths = getHarnessRoots(home, env).map((root) => path.join(root, nextCommandName));
|
|
6813
6813
|
const conflictingPath = (await Promise.all([installPath, ...linkPaths].map(async (candidate) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aident-ai/cli",
|
|
3
|
-
"version": "0.2.2
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Aident CLI — umbrella access to Loadout integrations, Playbook automation, Intern tools, and the Aident platform.",
|
|
5
5
|
"homepage": "https://aident.ai",
|
|
6
6
|
"repository": {
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"dsh",
|
|
66
66
|
"deepseek-harness"
|
|
67
67
|
],
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "561c2f72f77164256017ab03511cb3371beb82ad",
|
|
69
69
|
"scripts": {
|
|
70
70
|
"build": "bun run scripts/build.ts",
|
|
71
71
|
"dev": "AIDENT_CLI_VERSION=$npm_package_version bun run src/cli.ts",
|