@obtoai/agent-bridge 0.1.0-beta.7 → 0.1.0-beta.8
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/cli/init.js +4 -4
- package/package.json +1 -1
package/cli/init.js
CHANGED
|
@@ -159,7 +159,7 @@ const main = async () => {
|
|
|
159
159
|
const username = cliUsername || deriveUsername(email);
|
|
160
160
|
const password = cliPassword || generatePassword();
|
|
161
161
|
console.log('');
|
|
162
|
-
console.log(' Username:
|
|
162
|
+
console.log(' Username: ' + username + (cliUsername ? '' : ' (derived from email)'));
|
|
163
163
|
if (!cliPassword) {
|
|
164
164
|
console.log(' Password: ' + password + ' (auto-generated)');
|
|
165
165
|
console.log('');
|
|
@@ -191,7 +191,7 @@ const main = async () => {
|
|
|
191
191
|
registeredPassword = password;
|
|
192
192
|
console.log(' ✓ Free account created.');
|
|
193
193
|
console.log(' Account: ' + accountId);
|
|
194
|
-
console.log('
|
|
194
|
+
console.log(' Username: ' + registeredUser + ' (sign in with this exact string — no @)');
|
|
195
195
|
console.log(' Plan: ' + (r.data.plan || 'free'));
|
|
196
196
|
console.log('');
|
|
197
197
|
}
|
|
@@ -258,13 +258,13 @@ const main = async () => {
|
|
|
258
258
|
|
|
259
259
|
if (result.ok && result.parsed && result.parsed.account) {
|
|
260
260
|
const a = result.parsed.account;
|
|
261
|
-
console.log(' ✓ Authenticated as
|
|
261
|
+
console.log(' ✓ Authenticated as ' + a.basicAuthUser + ' (' + a.accountId + ', status: ' + a.status + ')');
|
|
262
262
|
console.log('');
|
|
263
263
|
// The OBTO platform's root URL bounces unauthenticated users to /login.bto;
|
|
264
264
|
// /api/view is the canonical bridge entry point that serves either the
|
|
265
265
|
// sign-in form (unauthenticated) or the threads UI (authenticated).
|
|
266
266
|
const signInUrl = baseUrl.replace(/\/$/, '') + '/api/view';
|
|
267
|
-
console.log('Sign in at ' + signInUrl + ' as
|
|
267
|
+
console.log('Sign in at ' + signInUrl + ' as ' + a.basicAuthUser + (registeredPassword ? ' (password above)' : '') + '.');
|
|
268
268
|
console.log('Run: obto-bridge start');
|
|
269
269
|
return;
|
|
270
270
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@obtoai/agent-bridge",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.8",
|
|
4
4
|
"description": "Local consumer for the OBTO Agent Bridge. Receives bridge events over SSE and drives a coding agent (Claude Code or OpenAI Codex) on your machine.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "OBTO Inc.",
|