@nathapp/nax 0.91.7-canary.4 → 0.91.7-canary.5

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/nax.js +9 -8
  2. package/package.json +2 -2
package/dist/nax.js CHANGED
@@ -52056,7 +52056,7 @@ var package_default;
52056
52056
  var init_package = __esm(() => {
52057
52057
  package_default = {
52058
52058
  name: "@nathapp/nax",
52059
- version: "0.91.7-canary.4",
52059
+ version: "0.91.7-canary.5",
52060
52060
  description: "AI Coding Agent Orchestrator \u2014 loops until done",
52061
52061
  type: "module",
52062
52062
  bin: {
@@ -52142,7 +52142,7 @@ var init_package = __esm(() => {
52142
52142
  "@agentclientprotocol/sdk": "~1.7.0",
52143
52143
  "@anthropic-ai/sandbox-runtime": "0.0.77",
52144
52144
  "@modelcontextprotocol/sdk": "^1.32.1",
52145
- "@nathapp/nax-ai": "0.91.7-canary.4",
52145
+ "@nathapp/nax-ai": "0.91.7-canary.5",
52146
52146
  chalk: "^5.6.2",
52147
52147
  commander: "^13.1.0",
52148
52148
  "highlight.js": "^11.12.0",
@@ -77453,8 +77453,8 @@ var init_version = __esm(() => {
77453
77453
  NAX_AI_VERSION = CATALOG_VERSION;
77454
77454
  NAX_COMMIT = (() => {
77455
77455
  try {
77456
- if (/^[0-9a-f]{6,10}$/.test("cceac3b"))
77457
- return "cceac3b";
77456
+ if (/^[0-9a-f]{6,10}$/.test("2415c3a"))
77457
+ return "2415c3a";
77458
77458
  } catch {}
77459
77459
  try {
77460
77460
  const result = Bun.spawnSync(["git", "rev-parse", "--short", "HEAD"], {
@@ -175743,9 +175743,11 @@ var init_selection = __esm(async () => {
175743
175743
  function finishSelection(gesture, input) {
175744
175744
  gesture.dragging = false;
175745
175745
  const range = gesture.selection;
175746
- if (range && (range.anchor.line !== range.focus.line || range.anchor.column !== range.focus.column)) {
175747
- input.onCopy?.(selectedText(input.lines, range));
175748
- }
175746
+ if (!range || range.anchor.line === range.focus.line && range.anchor.column === range.focus.column)
175747
+ return;
175748
+ const text = selectedText(input.lines, range);
175749
+ if (text.length > 0)
175750
+ input.onCopy?.(text);
175749
175751
  }
175750
175752
  function useMouseSelection(input) {
175751
175753
  const latest = import_react33.useRef(input);
@@ -176832,7 +176834,6 @@ function renderChat(props) {
176832
176834
  try {
176833
176835
  const instance = _renderChatDeps.render(import_react39.createElement(ChatApp, { ...props, mouse: mouse.events }), {
176834
176836
  exitOnCtrlC: false,
176835
- incrementalRendering: true,
176836
176837
  stdin: mouse.stdin
176837
176838
  });
176838
176839
  if (isTTY)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nathapp/nax",
3
- "version": "0.91.7-canary.4",
3
+ "version": "0.91.7-canary.5",
4
4
  "description": "AI Coding Agent Orchestrator — loops until done",
5
5
  "type": "module",
6
6
  "bin": {
@@ -86,7 +86,7 @@
86
86
  "@agentclientprotocol/sdk": "~1.7.0",
87
87
  "@anthropic-ai/sandbox-runtime": "0.0.77",
88
88
  "@modelcontextprotocol/sdk": "^1.32.1",
89
- "@nathapp/nax-ai": "0.91.7-canary.4",
89
+ "@nathapp/nax-ai": "0.91.7-canary.5",
90
90
  "chalk": "^5.6.2",
91
91
  "commander": "^13.1.0",
92
92
  "highlight.js": "^11.12.0",