agentful 0.1.1 → 0.1.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/index.cjs +13 -3
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -3432,7 +3432,7 @@ var {
|
|
|
3432
3432
|
} = import_index.default;
|
|
3433
3433
|
|
|
3434
3434
|
// src/branding.ts
|
|
3435
|
-
var VERSION = "0.1.
|
|
3435
|
+
var VERSION = "0.1.2" ? "0.1.2" : null.version;
|
|
3436
3436
|
var brand = {
|
|
3437
3437
|
name: "agentful",
|
|
3438
3438
|
// the command users type
|
|
@@ -5751,14 +5751,24 @@ var run = (fn) => async (...args) => {
|
|
|
5751
5751
|
process.exitCode = 1;
|
|
5752
5752
|
}
|
|
5753
5753
|
};
|
|
5754
|
-
program2.name("agentful").description("Agentful in your terminal \u2014 local development with push-to-cloud previews").version(VERSION)
|
|
5754
|
+
program2.name("agentful").description("Agentful in your terminal \u2014 local development with push-to-cloud previews").version(VERSION).option("-s, --session <id>", "resume a previous session (same as `tui -s`)").action(run((opts, cmd) => {
|
|
5755
|
+
const [unknown] = cmd.args;
|
|
5756
|
+
if (unknown) {
|
|
5757
|
+
throw new ApiError(
|
|
5758
|
+
0,
|
|
5759
|
+
"unknown_command",
|
|
5760
|
+
`Unknown command '${unknown}'. Run \`agentful --help\` to see what is available.`
|
|
5761
|
+
);
|
|
5762
|
+
}
|
|
5763
|
+
return tuiCommand(opts);
|
|
5764
|
+
})).showSuggestionAfterError();
|
|
5755
5765
|
program2.command("login").description("Sign in to your Agentful account (device flow)").option("--no-browser", "do not open the browser automatically").action(run((opts) => loginCommand({ browser: opts.browser !== false })));
|
|
5756
5766
|
program2.command("logout").description("Remove the stored credentials").action(run(logoutCommand));
|
|
5757
5767
|
program2.command("whoami").description("Show the signed-in account").action(run(whoamiCommand));
|
|
5758
5768
|
program2.command("init").description("Create (or link) the Agentful cloud project for this directory").option("--link <projectId>", "link an existing project instead of creating one").option("--title <title>", "project title (skips the prompt)").action(run((opts) => initCommand(opts)));
|
|
5759
5769
|
program2.command("push").description("Upload this project and get a live preview URL").option("--prebuilt", "upload a locally built output instead of building in the cloud").option("--dir <path>", "built-output directory for --prebuilt (default: auto-detect)").action(run((opts) => pushCommand(opts)));
|
|
5760
5770
|
program2.command("open").description("Open the live preview in the browser").action(run(openCommand));
|
|
5761
|
-
program2.command("tui"
|
|
5771
|
+
program2.command("tui").description("Start the Agentful coding TUI with your Agentful account").option("-s, --session <id>", "resume a previous session").action(run((opts) => tuiCommand(opts)));
|
|
5762
5772
|
program2.command("publish <subdomain>").description("Publish the built project at https://<subdomain>.agentful.dev").action(run(publishCommand));
|
|
5763
5773
|
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)));
|
|
5764
5774
|
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)));
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agentful",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Agentful in your terminal \u2014 local development with push-to-cloud previews",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://agentful.dev",
|
|
7
7
|
"bin": {
|
|
8
|
-
"agentful": "
|
|
8
|
+
"agentful": "dist/index.cjs"
|
|
9
9
|
},
|
|
10
10
|
"files": [
|
|
11
11
|
"dist",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"repository": {
|
|
38
38
|
"type": "git",
|
|
39
|
-
"url": "https://github.com/limoncello/mainmvp.git",
|
|
39
|
+
"url": "git+https://github.com/limoncello/mainmvp.git",
|
|
40
40
|
"directory": "cli"
|
|
41
41
|
},
|
|
42
42
|
"keywords": [
|