heyatlas 1.0.0 → 1.1.0

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.
Files changed (2) hide show
  1. package/dist/cli.js +26 -0
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -49384,6 +49384,7 @@ async function connect(agentType, options = {}) {
49384
49384
  const result = agent.stream(prompt);
49385
49385
  const parts = [];
49386
49386
  const toolCalls = new Map;
49387
+ const activeReasoningParts = new Map;
49387
49388
  for await (const chunk of result.toUIMessageStream()) {
49388
49389
  await tunnel.broadcastTaskEvent(task.id, {
49389
49390
  type: "ui_stream_chunk",
@@ -49400,6 +49401,31 @@ async function connect(agentType, options = {}) {
49400
49401
  }
49401
49402
  break;
49402
49403
  }
49404
+ case "reasoning-start": {
49405
+ const reasoningPart = {
49406
+ type: "reasoning",
49407
+ text: "",
49408
+ state: "streaming"
49409
+ };
49410
+ activeReasoningParts.set(chunk.id, reasoningPart);
49411
+ parts.push(reasoningPart);
49412
+ break;
49413
+ }
49414
+ case "reasoning-delta": {
49415
+ const reasoningPart = activeReasoningParts.get(chunk.id);
49416
+ if (reasoningPart && "text" in reasoningPart) {
49417
+ reasoningPart.text += chunk.delta || "";
49418
+ }
49419
+ break;
49420
+ }
49421
+ case "reasoning-end": {
49422
+ const reasoningPart = activeReasoningParts.get(chunk.id);
49423
+ if (reasoningPart) {
49424
+ reasoningPart.state = "done";
49425
+ activeReasoningParts.delete(chunk.id);
49426
+ }
49427
+ break;
49428
+ }
49403
49429
  case "tool-input-available":
49404
49430
  toolCalls.set(chunk.toolCallId, {
49405
49431
  type: "dynamic-tool",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "heyatlas",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "Tunnel local AI agents to the cloud for voice-powered interactions",
5
5
  "author": "Bishwendu Kundu <bishwenduk029@gmail.com>",
6
6
  "license": "MIT",