@sourcegraph/amp 0.0.1749139282-geae466 → 0.0.1749153691-g1c99f8

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 (45) hide show
  1. package/dist/amp.js +3 -3
  2. package/dist/{client-CR1w-Rgr.js → client-dO78YbLg.js} +2 -2
  3. package/dist/{client-CR1w-Rgr.js.map → client-dO78YbLg.js.map} +1 -1
  4. package/dist/{console-DWJKp6hf.js → console-EbqtUVJ9.js} +2736 -2684
  5. package/dist/console-EbqtUVJ9.js.map +1 -0
  6. package/dist/{create_file.node-CzelOCBr.js → create_file.node-BpunqjQ6.js} +2 -2
  7. package/dist/{create_file.node-CzelOCBr.js.map → create_file.node-BpunqjQ6.js.map} +1 -1
  8. package/dist/{edit_file.node-Bry1XUAH.js → edit_file.node-oKoJ5BpY.js} +5 -5
  9. package/dist/{edit_file.node-Bry1XUAH.js.map → edit_file.node-oKoJ5BpY.js.map} +1 -1
  10. package/dist/{executable-lUdYi_ql.js → executable-CKMskaIA.js} +2 -2
  11. package/dist/{executable-lUdYi_ql.js.map → executable-CKMskaIA.js.map} +1 -1
  12. package/dist/{files-BzJ67w7F.js → files-D78rHDQ4.js} +2 -2
  13. package/dist/{files-BzJ67w7F.js.map → files-D78rHDQ4.js.map} +1 -1
  14. package/dist/{glob.node-Cc8FpOQB.js → glob.node-BpueriDu.js} +4 -4
  15. package/dist/{glob.node-Cc8FpOQB.js.map → glob.node-BpueriDu.js.map} +1 -1
  16. package/dist/{index-CqdWfoDj.js → index-Dvd3Q7dO.js} +2 -2
  17. package/dist/{index-CqdWfoDj.js.map → index-Dvd3Q7dO.js.map} +1 -1
  18. package/dist/{list_directory.node-DCF3q5_N.js → list_directory.node-s3KvW0rS.js} +2 -2
  19. package/dist/{list_directory.node-DCF3q5_N.js.map → list_directory.node-s3KvW0rS.js.map} +1 -1
  20. package/dist/{load-profile-BfUtrEkE.js → load-profile-DJQRaG_k.js} +2 -2
  21. package/dist/{load-profile-BfUtrEkE.js.map → load-profile-DJQRaG_k.js.map} +1 -1
  22. package/dist/{main-DC23xQSD.js → main-DhAGJJRG.js} +5995 -5779
  23. package/dist/main-DhAGJJRG.js.map +1 -0
  24. package/dist/{node-BmBioTXB.js → node-C3AfReqE.js} +7 -7
  25. package/dist/{node-BmBioTXB.js.map → node-C3AfReqE.js.map} +1 -1
  26. package/dist/{node-_M4Pv69H.js → node-CPIVh6Ki.js} +9 -9
  27. package/dist/{node-_M4Pv69H.js.map → node-CPIVh6Ki.js.map} +1 -1
  28. package/dist/{node-BpXzCUbN.js → node-D3CcwlrL.js} +3 -3
  29. package/dist/{node-BpXzCUbN.js.map → node-D3CcwlrL.js.map} +1 -1
  30. package/dist/{node-BFXUDJzz.js → node-D7VCphID.js} +2 -2
  31. package/dist/{node-BFXUDJzz.js.map → node-D7VCphID.js.map} +1 -1
  32. package/dist/{node-ByHFngMn.js → node-DrdEtfaD.js} +12 -12
  33. package/dist/{node-ByHFngMn.js.map → node-DrdEtfaD.js.map} +1 -1
  34. package/dist/{node-BgmzWqX3.js → node-oFExutic.js} +2 -2
  35. package/dist/{node-BgmzWqX3.js.map → node-oFExutic.js.map} +1 -1
  36. package/dist/{read_file.node-CoIb6T3G.js → read_file.node-DlqCZQPO.js} +2 -2
  37. package/dist/{read_file.node-CoIb6T3G.js.map → read_file.node-DlqCZQPO.js.map} +1 -1
  38. package/dist/{stdio-D4q6utRX.js → stdio-CVzWTt_v.js} +3 -3
  39. package/dist/{stdio-D4q6utRX.js.map → stdio-CVzWTt_v.js.map} +1 -1
  40. package/dist/storybook.js +1 -1
  41. package/dist/{undo_edit.node-BWECUgtq.js → undo_edit.node-sSSReN3p.js} +7 -7
  42. package/dist/{undo_edit.node-BWECUgtq.js.map → undo_edit.node-sSSReN3p.js.map} +1 -1
  43. package/package.json +1 -1
  44. package/dist/console-DWJKp6hf.js.map +0 -1
  45. package/dist/main-DC23xQSD.js.map +0 -1
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  import * as ce from "node:os";
3
3
  import ee, { resolve as ue } from "node:path";
4
- import { aR as fe, aS as de, C as _e, aT as ne, aU as pe, aV as ge, aG as ae, aO as ve, aF as me, aA as be, O as se } from "./console-DWJKp6hf.js";
5
- import { loadProfileEnvironmentVariables as Se } from "./load-profile-BfUtrEkE.js";
4
+ import { aT as fe, aU as de, C as _e, aV as ne, aW as pe, aX as ge, aI as ae, aQ as ve, aH as me, aC as be, O as se } from "./console-EbqtUVJ9.js";
5
+ import { loadProfileEnvironmentVariables as Se } from "./load-profile-DJQRaG_k.js";
6
6
  const Ce = [
7
7
  "ls",
8
8
  "dir",
@@ -607,20 +607,20 @@ function ke() {
607
607
  const Y = D[String.fromCharCode(b)];
608
608
  Y && (b = Y.charCodeAt(0));
609
609
  }
610
- const Z = this._unicodeService.charProperties(b, R);
611
- A = S.UnicodeService.extractWidth(Z);
612
- const te = S.UnicodeService.extractShouldJoin(Z), K = te ? S.UnicodeService.extractWidth(R) : 0;
613
- if (R = Z, I && this._onA11yChar.fire((0, u.stringFromCodePoint)(b)), this._getCurrentLinkId() && this._oscLinkService.addLineToLink(this._getCurrentLinkId(), this._activeBuffer.ybase + this._activeBuffer.y), this._activeBuffer.x + A - K > N) {
610
+ const Q = this._unicodeService.charProperties(b, R);
611
+ A = S.UnicodeService.extractWidth(Q);
612
+ const te = S.UnicodeService.extractShouldJoin(Q), K = te ? S.UnicodeService.extractWidth(R) : 0;
613
+ if (R = Q, I && this._onA11yChar.fire((0, u.stringFromCodePoint)(b)), this._getCurrentLinkId() && this._oscLinkService.addLineToLink(this._getCurrentLinkId(), this._activeBuffer.ybase + this._activeBuffer.y), this._activeBuffer.x + A - K > N) {
614
614
  if (z) {
615
615
  const Y = L;
616
- let Q = this._activeBuffer.x - K;
617
- for (this._activeBuffer.x = K, this._activeBuffer.y++, this._activeBuffer.y === this._activeBuffer.scrollBottom + 1 ? (this._activeBuffer.y--, this._bufferService.scroll(this._eraseAttrData(), !0)) : (this._activeBuffer.y >= this._bufferService.rows && (this._activeBuffer.y = this._bufferService.rows - 1), this._activeBuffer.lines.get(this._activeBuffer.ybase + this._activeBuffer.y).isWrapped = !0), L = this._activeBuffer.lines.get(this._activeBuffer.ybase + this._activeBuffer.y), K > 0 && L instanceof e.BufferLine && L.copyCellsFrom(Y, Q, 0, K, !1); Q < N; ) Y.setCellFromCodepoint(Q++, 0, 1, M);
616
+ let Z = this._activeBuffer.x - K;
617
+ for (this._activeBuffer.x = K, this._activeBuffer.y++, this._activeBuffer.y === this._activeBuffer.scrollBottom + 1 ? (this._activeBuffer.y--, this._bufferService.scroll(this._eraseAttrData(), !0)) : (this._activeBuffer.y >= this._bufferService.rows && (this._activeBuffer.y = this._bufferService.rows - 1), this._activeBuffer.lines.get(this._activeBuffer.ybase + this._activeBuffer.y).isWrapped = !0), L = this._activeBuffer.lines.get(this._activeBuffer.ybase + this._activeBuffer.y), K > 0 && L instanceof e.BufferLine && L.copyCellsFrom(Y, Z, 0, K, !1); Z < N; ) Y.setCellFromCodepoint(Z++, 0, 1, M);
618
618
  } else if (this._activeBuffer.x = N - 1, A === 2) continue;
619
619
  }
620
620
  if (te && this._activeBuffer.x) {
621
621
  const Y = L.getWidth(this._activeBuffer.x - 1) ? 1 : 2;
622
622
  L.addCodepointToCell(this._activeBuffer.x - Y, b, A);
623
- for (let Q = A - K; --Q >= 0; ) L.setCellFromCodepoint(this._activeBuffer.x++, 0, 0, M);
623
+ for (let Z = A - K; --Z >= 0; ) L.setCellFromCodepoint(this._activeBuffer.x++, 0, 0, M);
624
624
  } else if (v && (L.insertCells(this._activeBuffer.x, A - K, this._activeBuffer.getNullCell(M)), L.getWidth(N - 1) === 2 && L.setCellFromCodepoint(N - 1, i.NULL_CELL_CODE, i.NULL_CELL_WIDTH, M)), L.setCellFromCodepoint(this._activeBuffer.x++, b, A, M), A > 0) for (; --A; ) L.setCellFromCodepoint(this._activeBuffer.x++, 0, 0, M);
625
625
  }
626
626
  this._parser.precedingJoinState = R, this._activeBuffer.x < N && g - m > 0 && L.getWidth(this._activeBuffer.x) === 0 && !L.hasContent(this._activeBuffer.x) && L.setCellFromCodepoint(this._activeBuffer.x, 0, 1, M), this._dirtyRowTracker.markDirty(this._activeBuffer.y);
@@ -1029,8 +1029,8 @@ function ke() {
1029
1029
  }
1030
1030
  requestMode(o, m) {
1031
1031
  const g = this._coreService.decPrivateModes, { activeProtocol: b, activeEncoding: A } = this._coreMouseService, D = this._coreService, { buffers: I, cols: N } = this._bufferService, { active: z, alt: v } = I, M = this._optionsService.rawOptions, L = (te) => te ? 1 : 2, R = o.params[0];
1032
- return J = R, Z = m ? R === 2 ? 4 : R === 4 ? L(D.modes.insertMode) : R === 12 ? 3 : R === 20 ? L(M.convertEol) : 0 : R === 1 ? L(g.applicationCursorKeys) : R === 3 ? M.windowOptions.setWinLines ? N === 80 ? 2 : N === 132 ? 1 : 0 : 0 : R === 6 ? L(g.origin) : R === 7 ? L(g.wraparound) : R === 8 ? 3 : R === 9 ? L(b === "X10") : R === 12 ? L(M.cursorBlink) : R === 25 ? L(!D.isCursorHidden) : R === 45 ? L(g.reverseWraparound) : R === 66 ? L(g.applicationKeypad) : R === 67 ? 4 : R === 1e3 ? L(b === "VT200") : R === 1002 ? L(b === "DRAG") : R === 1003 ? L(b === "ANY") : R === 1004 ? L(g.sendFocus) : R === 1005 ? 4 : R === 1006 ? L(A === "SGR") : R === 1015 ? 4 : R === 1016 ? L(A === "SGR_PIXELS") : R === 1048 ? 1 : R === 47 || R === 1047 || R === 1049 ? L(z === v) : R === 2004 ? L(g.bracketedPasteMode) : 0, D.triggerDataEvent(`${n.C0.ESC}[${m ? "" : "?"}${J};${Z}$y`), !0;
1033
- var J, Z;
1032
+ return J = R, Q = m ? R === 2 ? 4 : R === 4 ? L(D.modes.insertMode) : R === 12 ? 3 : R === 20 ? L(M.convertEol) : 0 : R === 1 ? L(g.applicationCursorKeys) : R === 3 ? M.windowOptions.setWinLines ? N === 80 ? 2 : N === 132 ? 1 : 0 : 0 : R === 6 ? L(g.origin) : R === 7 ? L(g.wraparound) : R === 8 ? 3 : R === 9 ? L(b === "X10") : R === 12 ? L(M.cursorBlink) : R === 25 ? L(!D.isCursorHidden) : R === 45 ? L(g.reverseWraparound) : R === 66 ? L(g.applicationKeypad) : R === 67 ? 4 : R === 1e3 ? L(b === "VT200") : R === 1002 ? L(b === "DRAG") : R === 1003 ? L(b === "ANY") : R === 1004 ? L(g.sendFocus) : R === 1005 ? 4 : R === 1006 ? L(A === "SGR") : R === 1015 ? 4 : R === 1016 ? L(A === "SGR_PIXELS") : R === 1048 ? 1 : R === 47 || R === 1047 || R === 1049 ? L(z === v) : R === 2004 ? L(g.bracketedPasteMode) : 0, D.triggerDataEvent(`${n.C0.ESC}[${m ? "" : "?"}${J};${Q}$y`), !0;
1033
+ var J, Q;
1034
1034
  }
1035
1035
  _updateAttrColor(o, m, g, b, A) {
1036
1036
  return m === 2 ? (o |= 50331648, o &= -16777216, o |= f.AttributeData.fromColorRGB([g, b, A])) : m === 5 && (o &= -50331904, o |= 33554432 | 255 & g), o;
@@ -3769,4 +3769,4 @@ function Me(x) {
3769
3769
  export {
3770
3770
  We as nodeBashTool
3771
3771
  };
3772
- //# sourceMappingURL=node-ByHFngMn.js.map
3772
+ //# sourceMappingURL=node-DrdEtfaD.js.map