heyatlas 0.1.0 → 0.1.1
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/cli.js +2 -6
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -836,7 +836,6 @@ class AtlasTunnel {
|
|
|
836
836
|
this.client.onopen = () => {
|
|
837
837
|
clearTimeout(timeout);
|
|
838
838
|
this._isConnected = true;
|
|
839
|
-
console.log(`✅ Connected to Atlas agent: ${userId}`);
|
|
840
839
|
resolve();
|
|
841
840
|
};
|
|
842
841
|
this.client.onerror = (error) => {
|
|
@@ -16034,9 +16033,6 @@ class ACPAgent {
|
|
|
16034
16033
|
|
|
16035
16034
|
// commands/connect.ts
|
|
16036
16035
|
async function connect(agentType, options = {}) {
|
|
16037
|
-
console.log(`
|
|
16038
|
-
✨ Connecting to Atlas...
|
|
16039
|
-
`);
|
|
16040
16036
|
const credentials = await login();
|
|
16041
16037
|
if (!isACPAgent(agentType)) {
|
|
16042
16038
|
console.error(`❌ Agent '${agentType}' is not ACP-compatible`);
|
|
@@ -16053,7 +16049,7 @@ async function connect(agentType, options = {}) {
|
|
|
16053
16049
|
}
|
|
16054
16050
|
console.log(`\uD83E\uDD16 Agent: ${agentType} (via ACP)`);
|
|
16055
16051
|
const tunnel = new AtlasTunnel({
|
|
16056
|
-
host: process.env.ATLAS_AGENT_HOST || "
|
|
16052
|
+
host: process.env.ATLAS_AGENT_HOST || "agent.heyatlas.app",
|
|
16057
16053
|
token: credentials.accessToken,
|
|
16058
16054
|
interactive: true
|
|
16059
16055
|
});
|
|
@@ -16143,7 +16139,7 @@ async function connect(agentType, options = {}) {
|
|
|
16143
16139
|
} catch {}
|
|
16144
16140
|
}
|
|
16145
16141
|
console.log(`
|
|
16146
|
-
|
|
16142
|
+
✨ HeyAtlas connected to ${agentType}`);
|
|
16147
16143
|
console.log(`\uD83C\uDF10 Talk here: ${voiceUrl}`);
|
|
16148
16144
|
console.log(`
|
|
16149
16145
|
\uD83D\uDED1 Press Ctrl+C to disconnect
|