traderclaw-cli 1.0.86 → 1.0.87
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/bin/openclaw-trader.mjs +9 -9
- package/package.json +2 -2
package/bin/openclaw-trader.mjs
CHANGED
|
@@ -2215,11 +2215,11 @@ function wizardHtml(defaults) {
|
|
|
2215
2215
|
</div>
|
|
2216
2216
|
<div style="margin-top:12px;" id="llmOauthBlock" class="hidden">
|
|
2217
2217
|
<p class="muted" style="margin-bottom:12px;">
|
|
2218
|
-
OAuth here is fully guided. After you choose OAuth, we start OpenClaw login automatically. Use the sign-in button below, then complete ChatGPT in this browser.
|
|
2218
|
+
OAuth here is fully guided. After you choose OAuth, we start OpenClaw login automatically. Use the sign-in button below, then complete ChatGPT in this browser. If the redirect does not land automatically, you will be asked to paste the callback URL.
|
|
2219
2219
|
</p>
|
|
2220
2220
|
<div class="oauth-guide">
|
|
2221
2221
|
<p class="muted" style="margin-top:0;">
|
|
2222
|
-
<strong>Important:</strong> Complete the ChatGPT sign-in in this browser, then return to this tab.
|
|
2222
|
+
<strong>Important:</strong> Complete the ChatGPT sign-in in this browser, then return to this tab. If the redirect does not finish on its own, paste the callback URL using the box below.
|
|
2223
2223
|
</p>
|
|
2224
2224
|
<p class="muted" style="margin-top:4px;font-size:13px;color:#7a8ba8;">
|
|
2225
2225
|
<strong>Remote VPS?</strong> Forward port <code>1455</code> alongside the wizard port:
|
|
@@ -2229,13 +2229,13 @@ function wizardHtml(defaults) {
|
|
|
2229
2229
|
<li class="oauth-step pending" id="oauthStepPrepare">Preparing ChatGPT sign-in...</li>
|
|
2230
2230
|
<li class="oauth-step pending" id="oauthStepOpen">Open ChatGPT sign-in in this browser.</li>
|
|
2231
2231
|
<li class="oauth-step pending" id="oauthStepComplete">Finish ChatGPT approval, then return here.</li>
|
|
2232
|
-
<li class="oauth-step pending" id="oauthStepVerify">
|
|
2232
|
+
<li class="oauth-step pending" id="oauthStepVerify">If the redirect does not complete, paste the callback URL below.</li>
|
|
2233
2233
|
</ol>
|
|
2234
2234
|
<div class="oauth-actions">
|
|
2235
2235
|
<a id="oauthOpenUrlBtn" class="secondary" href="#" target="_blank" rel="noopener noreferrer" style="display:inline-block;padding:10px 14px;border-radius:8px;background:#2d7dff;color:#fff;text-decoration:none;font-weight:600;opacity:.55;pointer-events:none;">Open ChatGPT sign-in</a>
|
|
2236
2236
|
<button type="button" id="oauthRetryBtn" class="secondary hidden">Try sign-in again</button>
|
|
2237
2237
|
</div>
|
|
2238
|
-
<p id="oauthFlowStatus" class="muted" style="margin-top:8px;" aria-live="polite">Choose OAuth and wait a moment. We will prepare your sign-in
|
|
2238
|
+
<p id="oauthFlowStatus" class="muted" style="margin-top:8px;" aria-live="polite">Choose OAuth and wait a moment. We will prepare your sign-in link.</p>
|
|
2239
2239
|
<div id="oauthFallbackPaste" class="hidden" style="margin-top:12px;padding:12px;background:#111827;border:1px solid #334a87;border-radius:8px;">
|
|
2240
2240
|
<p class="muted" style="margin:0 0 8px;font-size:13px;color:#ffcc70;">
|
|
2241
2241
|
<strong>Redirect didn't reach us?</strong> Copy the full URL from the error page in your browser (it starts with <code>http://localhost:1455/auth/callback?code=…</code>) and paste it below.
|
|
@@ -2525,7 +2525,7 @@ function wizardHtml(defaults) {
|
|
|
2525
2525
|
setOauthStep(oauthStepOpen, "pending");
|
|
2526
2526
|
setOauthStep(oauthStepComplete, "pending");
|
|
2527
2527
|
setOauthStep(oauthStepVerify, "pending");
|
|
2528
|
-
setOauthStatus("Choose OAuth and wait a moment. We will prepare your sign-in
|
|
2528
|
+
setOauthStatus("Choose OAuth and wait a moment. We will prepare your sign-in link.");
|
|
2529
2529
|
}
|
|
2530
2530
|
|
|
2531
2531
|
(function initLlmAuthDefaults() {
|
|
@@ -2598,7 +2598,7 @@ function wizardHtml(defaults) {
|
|
|
2598
2598
|
setOauthStep(oauthStepComplete, "error");
|
|
2599
2599
|
setOauthStep(oauthStepVerify, "error");
|
|
2600
2600
|
setOauthStatus(
|
|
2601
|
-
"
|
|
2601
|
+
"OAuth session expired. This flow requires the wizard and OpenClaw on the same machine and browser. Click Try sign-in again.",
|
|
2602
2602
|
true,
|
|
2603
2603
|
);
|
|
2604
2604
|
} else {
|
|
@@ -2618,7 +2618,7 @@ function wizardHtml(defaults) {
|
|
|
2618
2618
|
const elapsed = oauthFlowStartedAtMs > 0 ? Math.floor((Date.now() - oauthFlowStartedAtMs) / 1000) : 0;
|
|
2619
2619
|
if (elapsed >= 90) {
|
|
2620
2620
|
setOauthStatus(
|
|
2621
|
-
"Still waiting for callback.
|
|
2621
|
+
"Still waiting for the callback. Make sure you are using this same browser and the 1455 port is forwarded (ssh -L 1455:127.0.0.1:1455). If the redirect does not land, paste the localhost:1455/auth/callback?… URL using the box below.",
|
|
2622
2622
|
true,
|
|
2623
2623
|
);
|
|
2624
2624
|
if (oauthRetryBtn) oauthRetryBtn.classList.remove("hidden");
|
|
@@ -2653,7 +2653,7 @@ function wizardHtml(defaults) {
|
|
|
2653
2653
|
setOauthStep(oauthStepComplete, "error");
|
|
2654
2654
|
setOauthStep(oauthStepVerify, "error");
|
|
2655
2655
|
setOauthStatus(
|
|
2656
|
-
errorText + "
|
|
2656
|
+
errorText + " Make sure you are using the same browser and the 1455 port is forwarded. Click Try sign-in again.",
|
|
2657
2657
|
true,
|
|
2658
2658
|
);
|
|
2659
2659
|
setOauthOpenButton("");
|
|
@@ -3179,7 +3179,7 @@ function wizardHtml(defaults) {
|
|
|
3179
3179
|
setOauthStep(oauthStepOpen, "done");
|
|
3180
3180
|
setOauthStep(oauthStepComplete, "active");
|
|
3181
3181
|
setOauthStep(oauthStepVerify, "active");
|
|
3182
|
-
setOauthStatus("
|
|
3182
|
+
setOauthStatus("After approval, return here. If the tab does not finish, paste the localhost:1455/auth/callback?… URL using the box below.");
|
|
3183
3183
|
showFallbackPasteAfterDelay(15_000);
|
|
3184
3184
|
});
|
|
3185
3185
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "traderclaw-cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.87",
|
|
4
4
|
"description": "Global TraderClaw CLI (install --wizard, setup, precheck). Installs solana-traderclaw as a dependency for OpenClaw plugin files.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"node": ">=22"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"solana-traderclaw": "^1.0.
|
|
20
|
+
"solana-traderclaw": "^1.0.87"
|
|
21
21
|
},
|
|
22
22
|
"keywords": [
|
|
23
23
|
"traderclaw",
|