@homespunapps/cli 1.6.87 → 1.6.89
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.
|
@@ -91,7 +91,7 @@ async function runRegisterStart(opts) {
|
|
|
91
91
|
name: agentName,
|
|
92
92
|
profile: opts.profileName,
|
|
93
93
|
pending_saved_to: savedTo,
|
|
94
|
-
next: "show the link and code to your human, then run 'homespun agent register --resume
|
|
94
|
+
next: "show the link and code to your human, then run 'homespun agent register --resume' once they say they approved it",
|
|
95
95
|
});
|
|
96
96
|
}
|
|
97
97
|
/**
|
|
@@ -137,7 +137,7 @@ async function runRegisterResume(opts) {
|
|
|
137
137
|
if (outcome.state !== "approved") {
|
|
138
138
|
// Not an error in the flow's terms, but a non-zero exit so a script that
|
|
139
139
|
// ignores the payload does not sail on believing it is registered.
|
|
140
|
-
fail(`not approved yet - open ${pending.verification_uri_complete} and confirm the code ${pending.user_code}, then run 'homespun agent register --resume
|
|
140
|
+
fail(`not approved yet - open ${pending.verification_uri_complete} and confirm the code ${pending.user_code}, then run 'homespun agent register --resume' again`, "not_approved_yet", undefined, { retryable: true });
|
|
141
141
|
}
|
|
142
142
|
const savedTo = upsertProfile(pending.profile, { url: pending.url, apiKey: outcome.agent_key }, true);
|
|
143
143
|
clearPendingDevice();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@homespunapps/cli",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.89",
|
|
4
4
|
"description": "Command-line client for the Homespun relay: deploy a real multi-user web app from your agent, then keep reading and writing its data.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"test:unit": "vitest run"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@homespunapps/core": "^1.6.
|
|
39
|
+
"@homespunapps/core": "^1.6.89",
|
|
40
40
|
"qrcode-terminal": "^0.12.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|