@astra-cli/cli 1.2.5 → 1.2.6
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/astra.js +2 -2
- package/package.json +1 -1
package/dist/astra.js
CHANGED
|
@@ -1062,7 +1062,7 @@ async function registerAgent() {
|
|
|
1062
1062
|
const result = await apiCall("POST", "/api/v1/agents/register", {
|
|
1063
1063
|
name: agentName,
|
|
1064
1064
|
description
|
|
1065
|
-
});
|
|
1065
|
+
}, void 0, false);
|
|
1066
1066
|
if (!result.ok) {
|
|
1067
1067
|
spinner5.stop("Registration failed.");
|
|
1068
1068
|
if (result.status === 409) {
|
|
@@ -2886,7 +2886,7 @@ var registerAgentTool = tool6({
|
|
|
2886
2886
|
error: "Invalid agent name. Must be 2-32 chars, lowercase letters, numbers, hyphens, or underscores."
|
|
2887
2887
|
};
|
|
2888
2888
|
}
|
|
2889
|
-
const result = await apiCall("POST", "/api/v1/agents/register", { name, description });
|
|
2889
|
+
const result = await apiCall("POST", "/api/v1/agents/register", { name, description }, void 0, false);
|
|
2890
2890
|
if (!result.ok) {
|
|
2891
2891
|
return {
|
|
2892
2892
|
error: result.error,
|