@linghun/tools 0.1.4 → 0.1.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.
package/LICENSE ADDED
@@ -0,0 +1,190 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ Copyright 2026 Linghun contributors
179
+
180
+ Licensed under the Apache License, Version 2.0 (the "License");
181
+ you may not use this file except in compliance with the License.
182
+ You may obtain a copy of the License at
183
+
184
+ http://www.apache.org/licenses/LICENSE-2.0
185
+
186
+ Unless required by applicable law or agreed to in writing, software
187
+ distributed under the License is distributed on an "AS IS" BASIS,
188
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
189
+ See the License for the specific language governing permissions and
190
+ limitations under the License.
@@ -1,12 +1,15 @@
1
1
  import {
2
2
  WebSearchTool
3
3
  } from "./chunk-4EZHIDZ6.js";
4
- import {
5
- WriteTool
6
- } from "./chunk-I3Z4OKMS.js";
7
4
  import {
8
5
  WebFetchTool
9
6
  } from "./chunk-LGZOG7IQ.js";
7
+ import {
8
+ TodoTool
9
+ } from "./chunk-MFHY7PBM.js";
10
+ import {
11
+ WriteTool
12
+ } from "./chunk-I3Z4OKMS.js";
10
13
  import {
11
14
  ReadTool
12
15
  } from "./chunk-TZ6QK52L.js";
@@ -16,12 +19,12 @@ import {
16
19
  import {
17
20
  SourcePackTool
18
21
  } from "./chunk-A6FUAM64.js";
19
- import {
20
- TodoTool
21
- } from "./chunk-4567YAXM.js";
22
22
  import {
23
23
  GrepTool
24
24
  } from "./chunk-AZCQL24J.js";
25
+ import {
26
+ MultiEditTool
27
+ } from "./chunk-VJDLOFCF.js";
25
28
  import {
26
29
  EditTool
27
30
  } from "./chunk-WLQ7DGMG.js";
@@ -30,10 +33,7 @@ import {
30
33
  } from "./chunk-7ZOADACP.js";
31
34
  import {
32
35
  GlobTool
33
- } from "./chunk-DN3KJZRV.js";
34
- import {
35
- MultiEditTool
36
- } from "./chunk-3NZ3IOPM.js";
36
+ } from "./chunk-Z3H6SZBS.js";
37
37
  import {
38
38
  BashTool
39
39
  } from "./chunk-2DIXRINW.js";
@@ -1,12 +1,15 @@
1
1
  import {
2
2
  WebSearchTool
3
3
  } from "./chunk-4EZHIDZ6.js";
4
- import {
5
- WriteTool
6
- } from "./chunk-I3Z4OKMS.js";
7
4
  import {
8
5
  WebFetchTool
9
6
  } from "./chunk-LGZOG7IQ.js";
7
+ import {
8
+ TodoTool
9
+ } from "./chunk-MFHY7PBM.js";
10
+ import {
11
+ WriteTool
12
+ } from "./chunk-I3Z4OKMS.js";
10
13
  import {
11
14
  ReadTool
12
15
  } from "./chunk-TZ6QK52L.js";
@@ -16,12 +19,12 @@ import {
16
19
  import {
17
20
  SourcePackTool
18
21
  } from "./chunk-A6FUAM64.js";
19
- import {
20
- TodoTool
21
- } from "./chunk-4567YAXM.js";
22
22
  import {
23
23
  GrepTool
24
24
  } from "./chunk-AZCQL24J.js";
25
+ import {
26
+ MultiEditTool
27
+ } from "./chunk-VJDLOFCF.js";
25
28
  import {
26
29
  EditTool
27
30
  } from "./chunk-WLQ7DGMG.js";
@@ -30,10 +33,7 @@ import {
30
33
  } from "./chunk-7ZOADACP.js";
31
34
  import {
32
35
  GlobTool
33
- } from "./chunk-DN3KJZRV.js";
34
- import {
35
- MultiEditTool
36
- } from "./chunk-3NZ3IOPM.js";
36
+ } from "./chunk-Z3H6SZBS.js";
37
37
  import {
38
38
  BashTool
39
39
  } from "./chunk-2DIXRINW.js";
package/dist/index.d.ts CHANGED
@@ -99,6 +99,22 @@ export type DiffSummary = {
99
99
  summary: string;
100
100
  riskyFiles: string[];
101
101
  };
102
+ export type PatchHunk = {
103
+ oldStart: number;
104
+ newStart: number;
105
+ oldLines: string[];
106
+ newLines: string[];
107
+ oldLineCount: number;
108
+ newLineCount: number;
109
+ truncated?: boolean;
110
+ };
111
+ export type StructuredPatchFile = {
112
+ path: string;
113
+ hunks: PatchHunk[];
114
+ };
115
+ export type StructuredPatch = {
116
+ files: StructuredPatchFile[];
117
+ };
102
118
  export type ReadInput = {
103
119
  path: string;
104
120
  offset?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAKvD,OAAO,EACL,KAAK,cAAc,EAIpB,MAAM,mBAAmB,CAAC;AAS3B,YAAY,EACV,cAAc,EACd,qBAAqB,EACrB,qBAAqB,EACrB,qBAAqB,EACrB,sBAAsB,GACvB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,MAAM,MAAM,QAAQ,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,CAAC;AAEjD,MAAM,MAAM,kBAAkB,GA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E,MAAM,KAAK,IAAI,CAAC;IAC5E,iBAAiB,CAAC,EAAE,WAAW,CAAC,mBAAmB,CAAC,CAAC;IACrD,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE,oBAAoB,KAAK,IAAI,CAAC;CACrD,CAAC;AAEF,iBAAe,iBAAiB,CAAC,IAAI,EAAE,wBAAwB,GAAG,OAAO,CAAC,IAAI,CAAC,CA4K9E;AAED,iBAAS,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAgB/C;AA8HD,eAAO,MAAM,kBAAkB,qBAAe,CAAC;AAC/C,eAAO,MAAM,sBAAsB,yBAAmB,CAAC;AACvD,eAAO,MAAM,4BAA4B,+BAAyB,CAAC;AACnE,eAAO,MAAM,iCAAiC,oCAA8B,CAAC;AAC7E,OAAO,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAC3E,eAAO,MAAM,uBAAuB,0BAAoB,CAAC"}
package/dist/index.js CHANGED
@@ -1,55 +1,55 @@
1
- import {
2
- formatFetchOutput,
3
- webFetch
4
- } from "./chunk-4UHQWBFA.js";
5
1
  import {
6
2
  applyDomainFilter,
7
3
  bingSearch,
8
4
  formatSearchOutput
9
5
  } from "./chunk-EPIB4FSE.js";
6
+ import {
7
+ formatFetchOutput,
8
+ webFetch
9
+ } from "./chunk-4UHQWBFA.js";
10
10
  import {
11
11
  createTool
12
12
  } from "./chunk-MMJX44V6.js";
13
13
  import {
14
14
  toolPrompts
15
- } from "./chunk-ZGLZZKO6.js";
15
+ } from "./chunk-XGK6YYZO.js";
16
16
  import {
17
17
  toolUserFacingNames
18
- } from "./chunk-6BBM4UX3.js";
18
+ } from "./chunk-PNXZO2UE.js";
19
19
  import "./chunk-4EZHIDZ6.js";
20
+ import "./chunk-YR4HWOR2.js";
21
+ import "./chunk-VAFW24RN.js";
22
+ import "./chunk-LGZOG7IQ.js";
23
+ import "./chunk-MFHY7PBM.js";
24
+ import "./chunk-SZFZPQGL.js";
25
+ import "./chunk-XZWSO5CM.js";
20
26
  import "./chunk-I3Z4OKMS.js";
21
27
  import "./chunk-PS2ZOFZ6.js";
22
28
  import "./chunk-NPKLGVDQ.js";
23
- import "./chunk-LGZOG7IQ.js";
24
- import "./chunk-ZYAEUABC.js";
25
- import "./chunk-SWK6XRZQ.js";
26
- import "./chunk-YR4HWOR2.js";
27
- import "./chunk-VAFW24RN.js";
28
29
  import "./chunk-TZ6QK52L.js";
29
30
  import "./chunk-K3YDFDLP.js";
30
31
  import "./chunk-GI5XI4HN.js";
31
32
  import "./chunk-WEWXKRKL.js";
32
33
  import "./chunk-A6FUAM64.js";
33
34
  import "./chunk-YCO6C7KF.js";
34
- import "./chunk-4567YAXM.js";
35
- import "./chunk-XZWSO5CM.js";
36
- import "./chunk-SZFZPQGL.js";
35
+ import "./chunk-ZYAEUABC.js";
36
+ import "./chunk-SWK6XRZQ.js";
37
37
  import "./chunk-AZCQL24J.js";
38
38
  import "./chunk-HUIZOB4A.js";
39
39
  import "./chunk-MK3YP2VR.js";
40
+ import "./chunk-VJDLOFCF.js";
41
+ import "./chunk-3RP665TH.js";
42
+ import "./chunk-IOC3BSPT.js";
43
+ import "./chunk-HNIVNZIS.js";
40
44
  import "./chunk-WLQ7DGMG.js";
41
45
  import "./chunk-SQP6SJRP.js";
42
46
  import "./chunk-BRG64AEC.js";
43
- import "./chunk-HNIVNZIS.js";
44
47
  import "./chunk-7ZOADACP.js";
45
48
  import "./chunk-H5OOD2OS.js";
46
49
  import "./chunk-IQP3XE32.js";
47
- import "./chunk-DN3KJZRV.js";
48
- import "./chunk-2U4BZXAI.js";
50
+ import "./chunk-Z3H6SZBS.js";
49
51
  import "./chunk-ITBZHMZQ.js";
50
- import "./chunk-3NZ3IOPM.js";
51
- import "./chunk-IOC3BSPT.js";
52
- import "./chunk-3RP665TH.js";
52
+ import "./chunk-2U4BZXAI.js";
53
53
  import "./chunk-2DIXRINW.js";
54
54
  import {
55
55
  interpretCommandResult
@@ -1619,15 +1619,20 @@ function adaptShellCommand(command) {
1619
1619
  }
1620
1620
  function adaptShellCommandForPlatform(command, platform) {
1621
1621
  if (platform !== "win32") return { command, adapter: "native" };
1622
+ if (isExplicitPowerShellCommand(command)) return { command, adapter: "native" };
1623
+ const fileWriteBlock = blockWindowsShellFileWriteCommand(command);
1624
+ if (fileWriteBlock) return fileWriteBlock;
1622
1625
  const heredoc = convertNodeHereDocForPowerShell(command);
1623
1626
  if (heredoc) return heredoc;
1627
+ const nativePowerShell = convertNativePowerShellCommand(command);
1628
+ if (nativePowerShell) return nativePowerShell;
1624
1629
  if (looksLikeUnsupportedUnixMultiline(command)) {
1625
1630
  return createBlockedPowerShellAdapter(
1626
1631
  "Unsupported multi-line Unix shell syntax on Windows PowerShell; use PowerShell-safe commands or Node one-liners."
1627
1632
  );
1628
1633
  }
1629
- const nativePowerShell = convertNativePowerShellCommand(command);
1630
- if (nativePowerShell) return nativePowerShell;
1634
+ const unsupportedPosix = blockUnsupportedPosixShellSyntax(command);
1635
+ if (unsupportedPosix) return unsupportedPosix;
1631
1636
  const converted = convertUnixPipelineForPowerShell(command);
1632
1637
  if (converted) return { command: converted, adapter: "powershell-adapted" };
1633
1638
  const readOnlyCommand = convertUnixReadOnlyCommandForPowerShell(command);
@@ -1640,11 +1645,26 @@ function adaptShellCommandForPlatform(command, platform) {
1640
1645
  if (unsupportedReadOnlyCommand) return unsupportedReadOnlyCommand;
1641
1646
  return { command, adapter: "native" };
1642
1647
  }
1648
+ function isExplicitPowerShellCommand(command) {
1649
+ return /^(?:powershell(?:\.exe)?|pwsh(?:\.exe)?)\b/iu.test(command.trim());
1650
+ }
1651
+ var WINDOWS_SHELL_WRITE_BLOCK_MESSAGE = "Linghun Bash does not support shell apply_patch or heredoc file writes on Windows; use Edit/MultiEdit/Write structured tools instead.";
1652
+ function blockWindowsShellFileWriteCommand(command) {
1653
+ const normalized = command.replace(/\r\n/gu, "\n").trim();
1654
+ if (!normalized) return void 0;
1655
+ if (/\bapply_patch\b/iu.test(normalized) && (/(?:^|\n|;)\s*apply_patch\s*<</iu.test(normalized) || /@['"][\s\S]*?['"]@\s*\|\s*apply_patch\b/iu.test(normalized) || /\$[A-Za-z_][\w]*\s*=\s*@['"][\s\S]*?['"]@/u.test(normalized) || /\$[A-Za-z_][\w]*\s*\|\s*apply_patch\b/u.test(normalized))) {
1656
+ return createBlockedPowerShellAdapter(WINDOWS_SHELL_WRITE_BLOCK_MESSAGE);
1657
+ }
1658
+ if (/(?:^|\n|;)\s*cat\b[^\n;]*>\s*\S+/iu.test(normalized) || /(?:^|\n|;)\s*cat\b[^\n;]*<<[^\n]*>\s*\S+/iu.test(normalized) || /(?:^|\n|;)\s*tee\b\s+\S+/iu.test(normalized)) {
1659
+ return createBlockedPowerShellAdapter(WINDOWS_SHELL_WRITE_BLOCK_MESSAGE);
1660
+ }
1661
+ return void 0;
1662
+ }
1643
1663
  function convertNativePowerShellCommand(command) {
1644
1664
  const normalized = command.trim();
1645
1665
  if (!normalized) return void 0;
1646
- if (/^(?:powershell(?:\.exe)?|pwsh(?:\.exe)?)\b/iu.test(normalized)) return void 0;
1647
- if (!/^(?:Get|Set|New|Remove|Select|ForEach|Where|Test|Resolve|Join|Split|Copy|Move|Write|Out|Measure|Compare|Sort|Format)-[A-Za-z]+\b/u.test(normalized)) {
1666
+ if (isExplicitPowerShellCommand(normalized)) return void 0;
1667
+ if (!looksLikePowerShellScript(normalized)) {
1648
1668
  return void 0;
1649
1669
  }
1650
1670
  return {
@@ -1653,9 +1673,45 @@ function convertNativePowerShellCommand(command) {
1653
1673
  quoteCmdArg(`$ErrorActionPreference='Stop'; ${normalized}`)
1654
1674
  ].join(" "),
1655
1675
  adapter: "powershell-adapted",
1656
- logCommand: `powershell.exe -NoProfile -NonInteractive -Command <powershell cmdlet>`
1676
+ logCommand: `powershell.exe -NoProfile -NonInteractive -Command <powershell script>`
1657
1677
  };
1658
1678
  }
1679
+ function looksLikePowerShellScript(command) {
1680
+ const normalized = command.trim();
1681
+ if (/^\$[A-Za-z_][\w]*\s*=/u.test(normalized)) return true;
1682
+ if (/^\$PWD\.Path\b/iu.test(normalized)) return true;
1683
+ if (/@['"][\s\S]*?['"]@/u.test(normalized)) return true;
1684
+ if (/^\$[A-Za-z_][\w]*\s*\|/u.test(normalized) || /;\s*\$[A-Za-z_][\w]*\s*\|/u.test(normalized)) {
1685
+ return true;
1686
+ }
1687
+ const cmdlet = /\b(?:Get|Set|New|Remove|Select|ForEach|Where|Test|Resolve|Join|Split|Copy|Move|Write|Out|Measure|Compare|Sort|Format)-[A-Za-z]+\b/u;
1688
+ if (!cmdlet.test(normalized)) return false;
1689
+ if (/^(?:Get|Set|New|Remove|Select|ForEach|Where|Test|Resolve|Join|Split|Copy|Move|Write|Out|Measure|Compare|Sort|Format)-[A-Za-z]+\b/u.test(normalized)) {
1690
+ return true;
1691
+ }
1692
+ return /[;|]/u.test(normalized) || /\$[A-Za-z_][\w]*(?:\.|\s*\|)/u.test(normalized);
1693
+ }
1694
+ function blockUnsupportedPosixShellSyntax(command) {
1695
+ const normalized = command.replace(/\r\n/gu, "\n").trim();
1696
+ if (!normalized) return void 0;
1697
+ const message = "Unsupported POSIX shell syntax on Windows; use PowerShell-safe commands, Node one-liners, or structured tools.";
1698
+ if (/<<\s*['"]?[A-Za-z_][\w.-]*['"]?/u.test(normalized)) {
1699
+ return createBlockedPowerShellAdapter(message);
1700
+ }
1701
+ if (/(?:^|\n|;)\s*export\s+[A-Za-z_][\w]*=/u.test(normalized)) {
1702
+ return createBlockedPowerShellAdapter(message);
1703
+ }
1704
+ if (/^(?:[A-Za-z_][\w]*=[^\s]+\s+)+\S+/u.test(normalized)) {
1705
+ return createBlockedPowerShellAdapter(message);
1706
+ }
1707
+ if (/\$\([^)]*\)/u.test(normalized)) {
1708
+ return createBlockedPowerShellAdapter(message);
1709
+ }
1710
+ if (/\n/u.test(normalized)) {
1711
+ return createBlockedPowerShellAdapter(message);
1712
+ }
1713
+ return void 0;
1714
+ }
1659
1715
  function convertNodeHereDocForPowerShell(command) {
1660
1716
  const normalized = command.replace(/\r\n/gu, "\n");
1661
1717
  const match = normalized.match(
@@ -2068,6 +2124,8 @@ function rememberReadSnapshot(context, filePath, content, info) {
2068
2124
  function createEditOutput(context, operation, filePath, before, after, readGuard, editCount = 1) {
2069
2125
  const rel = relativePath(context.workspaceRoot, filePath);
2070
2126
  const summary = createPatchSummary([rel], before, after);
2127
+ const structuredPatch = createStructuredPatch(rel, before, after);
2128
+ const patchHunks = structuredPatch.files.flatMap((file) => file.hunks);
2071
2129
  context.patchSummaries = { ...context.patchSummaries ?? {}, [rel]: summary };
2072
2130
  const newlineBefore = detectNewlineStyle(before);
2073
2131
  const newlineAfter = detectNewlineStyle(after);
@@ -2093,11 +2151,46 @@ function createEditOutput(context, operation, filePath, before, after, readGuard
2093
2151
  afterHash: hashText(after),
2094
2152
  newlineBefore,
2095
2153
  newlineAfter,
2096
- encoding: "utf8"
2154
+ encoding: "utf8",
2155
+ structuredPatch,
2156
+ patchHunks
2097
2157
  },
2098
2158
  changedFiles: [rel]
2099
2159
  };
2100
2160
  }
2161
+ var STRUCTURED_PATCH_LINE_LIMIT = 120;
2162
+ function createStructuredPatch(path, before, after) {
2163
+ const beforeLines = splitPatchLines(before);
2164
+ const afterLines = splitPatchLines(after);
2165
+ const hunk = createPatchHunk(beforeLines, afterLines);
2166
+ return { files: [{ path, hunks: hunk ? [hunk] : [] }] };
2167
+ }
2168
+ function splitPatchLines(content) {
2169
+ if (content.length === 0) return [];
2170
+ return content.replace(/\r\n/gu, "\n").replace(/\n$/u, "").split("\n");
2171
+ }
2172
+ function createPatchHunk(beforeLines, afterLines) {
2173
+ let prefix = 0;
2174
+ while (prefix < beforeLines.length && prefix < afterLines.length && beforeLines[prefix] === afterLines[prefix]) {
2175
+ prefix += 1;
2176
+ }
2177
+ let suffix = 0;
2178
+ while (suffix < beforeLines.length - prefix && suffix < afterLines.length - prefix && beforeLines[beforeLines.length - 1 - suffix] === afterLines[afterLines.length - 1 - suffix]) {
2179
+ suffix += 1;
2180
+ }
2181
+ const oldLines = beforeLines.slice(prefix, beforeLines.length - suffix);
2182
+ const newLines = afterLines.slice(prefix, afterLines.length - suffix);
2183
+ if (oldLines.length === 0 && newLines.length === 0) return void 0;
2184
+ return {
2185
+ oldStart: oldLines.length > 0 ? prefix + 1 : prefix,
2186
+ newStart: newLines.length > 0 ? prefix + 1 : prefix,
2187
+ oldLines: oldLines.slice(0, STRUCTURED_PATCH_LINE_LIMIT),
2188
+ newLines: newLines.slice(0, STRUCTURED_PATCH_LINE_LIMIT),
2189
+ oldLineCount: oldLines.length,
2190
+ newLineCount: newLines.length,
2191
+ truncated: oldLines.length > STRUCTURED_PATCH_LINE_LIMIT || newLines.length > STRUCTURED_PATCH_LINE_LIMIT
2192
+ };
2193
+ }
2101
2194
  function createPatchSummary(changedFiles, before, after) {
2102
2195
  const beforeLines = before.length > 0 ? before.split(/\r?\n/u) : [];
2103
2196
  const afterLines = after.length > 0 ? after.split(/\r?\n/u) : [];
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  GlobTool
3
- } from "../../chunk-DN3KJZRV.js";
4
- import "../../chunk-2U4BZXAI.js";
3
+ } from "../../chunk-Z3H6SZBS.js";
5
4
  import "../../chunk-ITBZHMZQ.js";
5
+ import "../../chunk-2U4BZXAI.js";
6
6
  export {
7
7
  GlobTool
8
8
  };
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  MultiEditTool
3
- } from "../../chunk-3NZ3IOPM.js";
4
- import "../../chunk-IOC3BSPT.js";
3
+ } from "../../chunk-VJDLOFCF.js";
5
4
  import "../../chunk-3RP665TH.js";
5
+ import "../../chunk-IOC3BSPT.js";
6
6
  export {
7
7
  MultiEditTool
8
8
  };
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  TodoTool
3
- } from "../../chunk-4567YAXM.js";
4
- import "../../chunk-XZWSO5CM.js";
3
+ } from "../../chunk-MFHY7PBM.js";
5
4
  import "../../chunk-SZFZPQGL.js";
5
+ import "../../chunk-XZWSO5CM.js";
6
6
  export {
7
7
  TodoTool
8
8
  };
@@ -1,40 +1,40 @@
1
1
  import {
2
2
  toolPrompts
3
- } from "../chunk-ZGLZZKO6.js";
3
+ } from "../chunk-XGK6YYZO.js";
4
4
  import "../chunk-4EZHIDZ6.js";
5
+ import "../chunk-YR4HWOR2.js";
6
+ import "../chunk-VAFW24RN.js";
7
+ import "../chunk-LGZOG7IQ.js";
8
+ import "../chunk-MFHY7PBM.js";
9
+ import "../chunk-SZFZPQGL.js";
10
+ import "../chunk-XZWSO5CM.js";
5
11
  import "../chunk-I3Z4OKMS.js";
6
12
  import "../chunk-PS2ZOFZ6.js";
7
13
  import "../chunk-NPKLGVDQ.js";
8
- import "../chunk-LGZOG7IQ.js";
9
- import "../chunk-ZYAEUABC.js";
10
- import "../chunk-SWK6XRZQ.js";
11
- import "../chunk-YR4HWOR2.js";
12
- import "../chunk-VAFW24RN.js";
13
14
  import "../chunk-TZ6QK52L.js";
14
15
  import "../chunk-K3YDFDLP.js";
15
16
  import "../chunk-GI5XI4HN.js";
16
17
  import "../chunk-WEWXKRKL.js";
17
18
  import "../chunk-A6FUAM64.js";
18
19
  import "../chunk-YCO6C7KF.js";
19
- import "../chunk-4567YAXM.js";
20
- import "../chunk-XZWSO5CM.js";
21
- import "../chunk-SZFZPQGL.js";
20
+ import "../chunk-ZYAEUABC.js";
21
+ import "../chunk-SWK6XRZQ.js";
22
22
  import "../chunk-AZCQL24J.js";
23
23
  import "../chunk-HUIZOB4A.js";
24
24
  import "../chunk-MK3YP2VR.js";
25
+ import "../chunk-VJDLOFCF.js";
26
+ import "../chunk-3RP665TH.js";
27
+ import "../chunk-IOC3BSPT.js";
28
+ import "../chunk-HNIVNZIS.js";
25
29
  import "../chunk-WLQ7DGMG.js";
26
30
  import "../chunk-SQP6SJRP.js";
27
31
  import "../chunk-BRG64AEC.js";
28
- import "../chunk-HNIVNZIS.js";
29
32
  import "../chunk-7ZOADACP.js";
30
33
  import "../chunk-H5OOD2OS.js";
31
34
  import "../chunk-IQP3XE32.js";
32
- import "../chunk-DN3KJZRV.js";
33
- import "../chunk-2U4BZXAI.js";
35
+ import "../chunk-Z3H6SZBS.js";
34
36
  import "../chunk-ITBZHMZQ.js";
35
- import "../chunk-3NZ3IOPM.js";
36
- import "../chunk-IOC3BSPT.js";
37
- import "../chunk-3RP665TH.js";
37
+ import "../chunk-2U4BZXAI.js";
38
38
  import "../chunk-2DIXRINW.js";
39
39
  import "../chunk-PKMIDA5A.js";
40
40
  import "../chunk-GAWMEMXB.js";
package/dist/tools/ui.js CHANGED
@@ -1,40 +1,40 @@
1
1
  import {
2
2
  toolUserFacingNames
3
- } from "../chunk-6BBM4UX3.js";
3
+ } from "../chunk-PNXZO2UE.js";
4
4
  import "../chunk-4EZHIDZ6.js";
5
+ import "../chunk-YR4HWOR2.js";
6
+ import "../chunk-VAFW24RN.js";
7
+ import "../chunk-LGZOG7IQ.js";
8
+ import "../chunk-MFHY7PBM.js";
9
+ import "../chunk-SZFZPQGL.js";
10
+ import "../chunk-XZWSO5CM.js";
5
11
  import "../chunk-I3Z4OKMS.js";
6
12
  import "../chunk-PS2ZOFZ6.js";
7
13
  import "../chunk-NPKLGVDQ.js";
8
- import "../chunk-LGZOG7IQ.js";
9
- import "../chunk-ZYAEUABC.js";
10
- import "../chunk-SWK6XRZQ.js";
11
- import "../chunk-YR4HWOR2.js";
12
- import "../chunk-VAFW24RN.js";
13
14
  import "../chunk-TZ6QK52L.js";
14
15
  import "../chunk-K3YDFDLP.js";
15
16
  import "../chunk-GI5XI4HN.js";
16
17
  import "../chunk-WEWXKRKL.js";
17
18
  import "../chunk-A6FUAM64.js";
18
19
  import "../chunk-YCO6C7KF.js";
19
- import "../chunk-4567YAXM.js";
20
- import "../chunk-XZWSO5CM.js";
21
- import "../chunk-SZFZPQGL.js";
20
+ import "../chunk-ZYAEUABC.js";
21
+ import "../chunk-SWK6XRZQ.js";
22
22
  import "../chunk-AZCQL24J.js";
23
23
  import "../chunk-HUIZOB4A.js";
24
24
  import "../chunk-MK3YP2VR.js";
25
+ import "../chunk-VJDLOFCF.js";
26
+ import "../chunk-3RP665TH.js";
27
+ import "../chunk-IOC3BSPT.js";
28
+ import "../chunk-HNIVNZIS.js";
25
29
  import "../chunk-WLQ7DGMG.js";
26
30
  import "../chunk-SQP6SJRP.js";
27
31
  import "../chunk-BRG64AEC.js";
28
- import "../chunk-HNIVNZIS.js";
29
32
  import "../chunk-7ZOADACP.js";
30
33
  import "../chunk-H5OOD2OS.js";
31
34
  import "../chunk-IQP3XE32.js";
32
- import "../chunk-DN3KJZRV.js";
33
- import "../chunk-2U4BZXAI.js";
35
+ import "../chunk-Z3H6SZBS.js";
34
36
  import "../chunk-ITBZHMZQ.js";
35
- import "../chunk-3NZ3IOPM.js";
36
- import "../chunk-IOC3BSPT.js";
37
- import "../chunk-3RP665TH.js";
37
+ import "../chunk-2U4BZXAI.js";
38
38
  import "../chunk-2DIXRINW.js";
39
39
  import "../chunk-PKMIDA5A.js";
40
40
  import "../chunk-GAWMEMXB.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@linghun/tools",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -11,15 +11,19 @@
11
11
  "import": "./dist/index.js"
12
12
  }
13
13
  },
14
- "files": ["dist", "!dist/**/*.test.*", "!dist/**/tsconfig.tsbuildinfo"],
14
+ "files": [
15
+ "dist",
16
+ "!dist/**/*.test.*",
17
+ "!dist/**/tsconfig.tsbuildinfo"
18
+ ],
15
19
  "publishConfig": {
16
20
  "access": "public"
17
21
  },
22
+ "dependencies": {
23
+ "parse5": "^8.0.1"
24
+ },
18
25
  "scripts": {
19
26
  "build": "tsup \"src/**/*.ts\" \"!src/**/*.test.ts\" --format esm --clean && tsc -p tsconfig.json --emitDeclarationOnly --noEmit false --tsBuildInfoFile dist/tsconfig.tsbuildinfo",
20
27
  "typecheck": "tsc -p tsconfig.json --noEmit"
21
- },
22
- "dependencies": {
23
- "parse5": "^8.0.1"
24
28
  }
25
- }
29
+ }
@@ -1,9 +1,9 @@
1
- import {
2
- userFacingName
3
- } from "./chunk-XZWSO5CM.js";
4
1
  import {
5
2
  prompt
6
3
  } from "./chunk-SZFZPQGL.js";
4
+ import {
5
+ userFacingName
6
+ } from "./chunk-XZWSO5CM.js";
7
7
 
8
8
  // src/tools/Todo/TodoTool.ts
9
9
  var TodoTool = { name: "Todo", prompt, userFacingName };
@@ -1,9 +1,9 @@
1
- import {
2
- userFacingName
3
- } from "./chunk-IOC3BSPT.js";
4
1
  import {
5
2
  prompt
6
3
  } from "./chunk-3RP665TH.js";
4
+ import {
5
+ userFacingName
6
+ } from "./chunk-IOC3BSPT.js";
7
7
 
8
8
  // src/tools/MultiEdit/MultiEditTool.ts
9
9
  var MultiEditTool = { name: "MultiEdit", prompt, userFacingName };
@@ -1,9 +1,9 @@
1
- import {
2
- prompt
3
- } from "./chunk-2U4BZXAI.js";
4
1
  import {
5
2
  userFacingName
6
3
  } from "./chunk-ITBZHMZQ.js";
4
+ import {
5
+ prompt
6
+ } from "./chunk-2U4BZXAI.js";
7
7
 
8
8
  // src/tools/Glob/GlobTool.ts
9
9
  var GlobTool = { name: "Glob", prompt, userFacingName };