agentful 0.3.6 → 0.3.7
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/index.cjs +8 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3044,7 +3044,7 @@ var VERSION, brand, useColor, wrap, paint, sym, ui;
|
|
|
3044
3044
|
var init_branding = __esm({
|
|
3045
3045
|
"src/branding.ts"() {
|
|
3046
3046
|
"use strict";
|
|
3047
|
-
VERSION = "0.3.
|
|
3047
|
+
VERSION = "0.3.7" ? "0.3.7" : null.version;
|
|
3048
3048
|
brand = {
|
|
3049
3049
|
name: "agentful",
|
|
3050
3050
|
// the command users type
|
|
@@ -8275,6 +8275,12 @@ async function upgradeCommand() {
|
|
|
8275
8275
|
process.exitCode = 1;
|
|
8276
8276
|
}
|
|
8277
8277
|
|
|
8278
|
+
// src/lib/commandOptions.ts
|
|
8279
|
+
function tuiOptionsFrom(command) {
|
|
8280
|
+
const { session, model, variant } = command.optsWithGlobals();
|
|
8281
|
+
return { session, model, variant };
|
|
8282
|
+
}
|
|
8283
|
+
|
|
8278
8284
|
// src/index.ts
|
|
8279
8285
|
var program2 = new Command();
|
|
8280
8286
|
var run = (fn) => async (...args) => {
|
|
@@ -8308,7 +8314,7 @@ program2.command("push").description("Upload this project and get a live preview
|
|
|
8308
8314
|
program2.command("build-status").description("Show the cloud's record of the last build (the real error on failures)").action(run(buildStatusCommand));
|
|
8309
8315
|
program2.command("backend").description("Open this project's Backend tab (managed DB + server actions) in the browser").action(run(backendCommand));
|
|
8310
8316
|
program2.command("open").description("Open the live preview in the browser").action(run(openCommand));
|
|
8311
|
-
program2.command("tui").description("Start the Agentful coding TUI with your Agentful account").option("-s, --session <id>", "resume a previous session").option("-m, --model <provider/model>", "pin an exact model from the final engine catalog").option("--variant <name>", "pin the provider-specific model variant (for example high)").action(run((
|
|
8317
|
+
program2.command("tui").description("Start the Agentful coding TUI with your Agentful account").option("-s, --session <id>", "resume a previous session").option("-m, --model <provider/model>", "pin an exact model from the final engine catalog").option("--variant <name>", "pin the provider-specific model variant (for example high)").action(run((_opts, cmd) => tuiCommand(tuiOptionsFrom(cmd))));
|
|
8312
8318
|
program2.command("publish <subdomain>").description("Publish the built project at https://<subdomain>.agentful.dev").action(run(publishCommand));
|
|
8313
8319
|
program2.command("share").description("Make the live preview public (anyone with the link)").option("--private", "make the preview owner-only again").action(run((opts) => shareCommand(opts)));
|
|
8314
8320
|
program2.command("pull").description("Download the cloud workspace into this directory").option("--force", "overwrite files in a non-empty directory").action(run((opts) => pullCommand(opts)));
|