stashes 0.1.44 → 0.1.46

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 CHANGED
@@ -1626,6 +1626,7 @@ function injectOverlayScript(html, _upstreamPort, _proxyPort) {
1626
1626
  if (!e.data || !e.data.type) return;
1627
1627
  if (e.data.type === 'stashes:toggle_picker') {
1628
1628
  pickerEnabled = e.data.enabled;
1629
+ document.body.style.cursor = pickerEnabled ? 'pointer' : '';
1629
1630
  if (!pickerEnabled) {
1630
1631
  var ov = document.getElementById('stashes-highlight');
1631
1632
  var tp = document.getElementById('stashes-tooltip');
@@ -1923,10 +1924,10 @@ class StashService {
1923
1924
  if (match) {
1924
1925
  this.selectedComponent = { ...component, filePath: match[0] };
1925
1926
  this.broadcast({
1926
- type: "ai_stream",
1927
- content: `Identified component: ${match[0]}`,
1928
- streamType: "text",
1929
- source: "system"
1927
+ type: "component:resolved",
1928
+ filePath: match[0],
1929
+ name: component.name,
1930
+ domSelector: component.domSelector
1930
1931
  });
1931
1932
  }
1932
1933
  }
package/dist/mcp.js CHANGED
@@ -1822,6 +1822,7 @@ function injectOverlayScript(html, _upstreamPort, _proxyPort) {
1822
1822
  if (!e.data || !e.data.type) return;
1823
1823
  if (e.data.type === 'stashes:toggle_picker') {
1824
1824
  pickerEnabled = e.data.enabled;
1825
+ document.body.style.cursor = pickerEnabled ? 'pointer' : '';
1825
1826
  if (!pickerEnabled) {
1826
1827
  var ov = document.getElementById('stashes-highlight');
1827
1828
  var tp = document.getElementById('stashes-tooltip');
@@ -2119,10 +2120,10 @@ class StashService {
2119
2120
  if (match) {
2120
2121
  this.selectedComponent = { ...component, filePath: match[0] };
2121
2122
  this.broadcast({
2122
- type: "ai_stream",
2123
- content: `Identified component: ${match[0]}`,
2124
- streamType: "text",
2125
- source: "system"
2123
+ type: "component:resolved",
2124
+ filePath: match[0],
2125
+ name: component.name,
2126
+ domSelector: component.domSelector
2126
2127
  });
2127
2128
  }
2128
2129
  }