@standardagents/cli 0.45.8 → 0.45.9
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/README.md +6 -0
- package/dist/index.js +16 -5
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -273,6 +273,12 @@ agents deploy
|
|
|
273
273
|
the platform build of that commit and reports the result. It does not run a
|
|
274
274
|
local build or upload bundles.
|
|
275
275
|
|
|
276
|
+
This is the only deploy path. The Standard Agents Builder runtime is licensed
|
|
277
|
+
for local development, and for production on Standard Agents hosting only, so
|
|
278
|
+
the `builder()` plugin stops a production build (`vite build`) on your machine.
|
|
279
|
+
Deploying a project to your own Cloudflare account or to any other host is
|
|
280
|
+
outside the license.
|
|
281
|
+
|
|
276
282
|
- `Push accepted` means git stored the commit. It is not a deployment.
|
|
277
283
|
- When the remote branch already has the commit, nothing is pushed. The
|
|
278
284
|
command says that no build was started and reports the existing build.
|
package/dist/index.js
CHANGED
|
@@ -1755,7 +1755,12 @@ function getScaffoldStandardAgentsVersion() {
|
|
|
1755
1755
|
if (process.env.STANDARDAGENTS_WORKSPACE === "1") {
|
|
1756
1756
|
return workspacePackageLink("@standardagents/builder");
|
|
1757
1757
|
}
|
|
1758
|
-
return "0.45.
|
|
1758
|
+
return "0.45.9";
|
|
1759
|
+
}
|
|
1760
|
+
var SPEC_PACKAGE = "@standardagents/spec";
|
|
1761
|
+
function specSpecifierFor(builderSpecifier) {
|
|
1762
|
+
if (!builderSpecifier.startsWith("link:")) return builderSpecifier;
|
|
1763
|
+
return `link:${path19.join(path19.dirname(builderSpecifier.slice("link:".length)), "spec")}`;
|
|
1759
1764
|
}
|
|
1760
1765
|
function findViteConfig(cwd) {
|
|
1761
1766
|
const candidates = ["vite.config.ts", "vite.config.js", "vite.config.mts", "vite.config.mjs"];
|
|
@@ -1796,6 +1801,12 @@ function updatePackageDependencies(cwd, versions = {}) {
|
|
|
1796
1801
|
if (pkg[builderSection]?.["@standardagents/builder"] !== desiredBuilderVersion) {
|
|
1797
1802
|
const result = setPackageDependency(text2, builderSection, "@standardagents/builder", desiredBuilderVersion);
|
|
1798
1803
|
fs14.writeFileSync(packageJsonPath, `${result.trimEnd()}
|
|
1804
|
+
`, "utf-8");
|
|
1805
|
+
}
|
|
1806
|
+
if (pkg.dependencies?.[SPEC_PACKAGE] === void 0 && pkg.devDependencies?.[SPEC_PACKAGE] === void 0) {
|
|
1807
|
+
const current = fs14.readFileSync(packageJsonPath, "utf-8");
|
|
1808
|
+
const result = setPackageDependency(current, "dependencies", SPEC_PACKAGE, specSpecifierFor(desiredBuilderVersion));
|
|
1809
|
+
fs14.writeFileSync(packageJsonPath, `${result.trimEnd()}
|
|
1799
1810
|
`, "utf-8");
|
|
1800
1811
|
}
|
|
1801
1812
|
if (isExactVersion(desiredBuilderVersion)) pinFrameworkDependencies(cwd, desiredBuilderVersion);
|
|
@@ -2096,7 +2107,7 @@ function writeBuildGuardScript(projectPath) {
|
|
|
2096
2107
|
|
|
2097
2108
|
// src/utils/git-helper-command.ts
|
|
2098
2109
|
function cliVersion() {
|
|
2099
|
-
return "0.45.
|
|
2110
|
+
return "0.45.9";
|
|
2100
2111
|
}
|
|
2101
2112
|
function defaultGitCredentialHelperCommand(version = cliVersion()) {
|
|
2102
2113
|
return `!npx -y @standardagents/cli@${version} git-credential`;
|
|
@@ -3084,7 +3095,7 @@ function renderInitStepHeader(stage, title, subtitle, options) {
|
|
|
3084
3095
|
logger.log("");
|
|
3085
3096
|
}
|
|
3086
3097
|
function getCliVersion() {
|
|
3087
|
-
return "0.45.
|
|
3098
|
+
return "0.45.9";
|
|
3088
3099
|
}
|
|
3089
3100
|
function getSipVersion() {
|
|
3090
3101
|
return "1.0.1";
|
|
@@ -10287,7 +10298,7 @@ async function settleStdinForInitHandoff(stdin = process.stdin) {
|
|
|
10287
10298
|
}
|
|
10288
10299
|
}
|
|
10289
10300
|
var program = new Command();
|
|
10290
|
-
program.name("agents").description("CLI tool for Standard Agents Builder").version("0.45.
|
|
10301
|
+
program.name("agents").description("CLI tool for Standard Agents Builder").version("0.45.9").exitOverride();
|
|
10291
10302
|
registerInitCommand(program);
|
|
10292
10303
|
registerLoginCommands(program);
|
|
10293
10304
|
addPlatformEndpointOption(
|
|
@@ -10312,7 +10323,7 @@ program.command("skill").description("Install the bundled Standard Agents Builde
|
|
|
10312
10323
|
program.command("current-models").description("Print the live curated model guide from standardagentspec.org (standardagentspec.com when that request fails)").option("--url <url>", "Request this models markdown URL instead").action(currentModels);
|
|
10313
10324
|
program.command("available-models").description("List the model IDs of one provider in the current project, using its own key or the project's Standard Agents account key").option("--provider <provider>", "Provider to query: an installed provider package such as openai, or a provider defined in agents/providers/").option("--json", "Print the provider and its models as one JSON document on stdout").action(availableModels);
|
|
10314
10325
|
registerDiagCommand(program);
|
|
10315
|
-
registerTermsCommand(program, "0.45.
|
|
10326
|
+
registerTermsCommand(program, "0.45.9");
|
|
10316
10327
|
async function run() {
|
|
10317
10328
|
const userArgs = process.argv.slice(2);
|
|
10318
10329
|
if (userArgs[0] !== "git-credential") {
|