par5-mcp 0.2.2 → 0.2.3

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.
@@ -0,0 +1,3 @@
1
+ # These are supported funding model platforms
2
+
3
+ github: mathematic-inc
@@ -0,0 +1,30 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
+ branches: [main]
8
+
9
+ concurrency:
10
+ group: ci-${{ github.ref }}
11
+ cancel-in-progress: true
12
+
13
+ jobs:
14
+ ci:
15
+ name: CI
16
+ runs-on: ubuntu-latest
17
+ timeout-minutes: 15
18
+ steps:
19
+ - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
20
+ - uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
21
+ - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
22
+ with:
23
+ node-version-file: .node-version
24
+ cache: pnpm
25
+ - name: Install
26
+ run: pnpm install --frozen-lockfile
27
+ - name: Build
28
+ run: pnpm run build
29
+ - name: Lint
30
+ run: pnpm run lint
@@ -0,0 +1,53 @@
1
+ name: Release Notes
2
+
3
+ on:
4
+ workflow_dispatch:
5
+ inputs:
6
+ tag:
7
+ description: "Release tag (e.g. v0.2.0)"
8
+ required: true
9
+ type: string
10
+
11
+ concurrency:
12
+ group: release-notes-${{ github.event.inputs.tag }}
13
+ cancel-in-progress: true
14
+
15
+ jobs:
16
+ enhance:
17
+ name: Enhance release notes with Claude
18
+ runs-on: ubuntu-latest
19
+ permissions:
20
+ contents: write
21
+ id-token: write
22
+ steps:
23
+ - name: Checkout
24
+ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
25
+ with:
26
+ fetch-depth: 0
27
+
28
+ - name: Write release notes with Claude
29
+ uses: anthropics/claude-code-action@26ec041249acb0a944c0a47b6c0c13f05dbc5b44 # v1
30
+ with:
31
+ claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
32
+ claude_args: --allowedTools "Bash(git log:*),Bash(git describe:*),Read,Write"
33
+ prompt: |
34
+ Write an exciting, polished GitHub release body for par5-mcp ${{ inputs.tag }} and save it to `release-notes.md`.
35
+
36
+ par5-mcp is an MCP server for parallel list operations — run shell commands and AI agents across lists in parallel. It enables Claude and other AI coding tools to process items in bulk by creating reusable lists and executing operations concurrently.
37
+
38
+ Steps:
39
+ 1. Run `git describe --tags --abbrev=0 HEAD^` to get the previous tag, then run `git log <previous-tag>..HEAD --oneline` to see all commits in this release.
40
+ 2. Read `src/index.ts` and key source files to understand the API surface and available tools.
41
+ 3. Write the release body to `release-notes.md`. It should:
42
+ - Open with an enthusiastic one-paragraph summary of what's new or why this release is exciting.
43
+ - Have clearly labelled sections (e.g. **✨ New Features**, **🐛 Bug Fixes**, **⚡ Improvements**) — only include sections that actually have content.
44
+ - For any significant new feature, include a short example showing it in action.
45
+ - End with an installation snippet (`npx par5-mcp` or `pnpm dlx par5-mcp`).
46
+ - Be written in an upbeat, developer-friendly tone — celebrate the work!
47
+ Do NOT publish it yourself — a subsequent step will do that.
48
+
49
+ - name: Publish release notes
50
+ uses: softprops/action-gh-release@a06a81a03ee405af7f2048a818ed3f03bbf83c7b # v2
51
+ with:
52
+ tag_name: ${{ inputs.tag }}
53
+ body_path: release-notes.md
@@ -0,0 +1,20 @@
1
+ name: Release Please
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+
7
+ permissions:
8
+ contents: write
9
+ pull-requests: write
10
+
11
+ jobs:
12
+ release-please:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - name: Run Release Please
16
+ uses: googleapis/release-please-action@16a9c90856f42705d54a6fda1823352bdc62cf38 # v4
17
+ with:
18
+ token: ${{ secrets.RELEASE_TOKEN }}
19
+ config-file: release-please-config.json
20
+ manifest-file: .release-please-manifest.json
@@ -0,0 +1,147 @@
1
+ name: Release
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - v*
7
+
8
+ concurrency:
9
+ group: release-${{ github.workflow }}-${{ github.ref }}
10
+ cancel-in-progress: false
11
+
12
+ permissions:
13
+ contents: write
14
+ id-token: write
15
+ attestations: write
16
+
17
+ jobs:
18
+ build-artifacts:
19
+ name: Build
20
+ runs-on: ubuntu-latest
21
+ steps:
22
+ - name: Checkout
23
+ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
24
+ - name: Set up pnpm
25
+ uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
26
+ - name: Set up Node.js
27
+ uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
28
+ with:
29
+ node-version-file: .node-version
30
+ cache: "pnpm"
31
+ - name: Install dependencies
32
+ run: pnpm install --frozen-lockfile
33
+ - name: Build
34
+ run: pnpm build
35
+ - name: Pack
36
+ run: pnpm pack
37
+ - name: Upload artifact archive
38
+ uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
39
+ with:
40
+ name: build-artifact
41
+ path: "*.tgz"
42
+
43
+ release-assets:
44
+ name: Assemble Release Assets
45
+ needs:
46
+ - build-artifacts
47
+ runs-on: ubuntu-latest
48
+ steps:
49
+ - name: Download build artifact
50
+ uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
51
+ with:
52
+ name: build-artifact
53
+ path: dist
54
+ - name: Upload complete release assets
55
+ uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
56
+ with:
57
+ name: release-assets
58
+ path: dist/*
59
+
60
+ create-release:
61
+ name: Publish GitHub Release
62
+ needs:
63
+ - release-assets
64
+ runs-on: ubuntu-latest
65
+ environment: release
66
+ permissions:
67
+ contents: write
68
+ id-token: write
69
+ steps:
70
+ - name: Checkout
71
+ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
72
+ with:
73
+ fetch-depth: 0
74
+
75
+ - name: Download release assets
76
+ uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
77
+ with:
78
+ name: release-assets
79
+ path: dist
80
+
81
+ - name: Create GitHub release
82
+ uses: softprops/action-gh-release@a06a81a03ee405af7f2048a818ed3f03bbf83c7b # v2.5.0
83
+ with:
84
+ tag_name: ${{ github.ref_name }}
85
+ name: ${{ github.ref_name }}
86
+ generate_release_notes: true
87
+ prerelease: ${{ contains(github.ref_name, '-') }}
88
+ files: dist/*
89
+ fail_on_unmatched_files: true
90
+ make_latest: ${{ !contains(github.ref_name, '-') }}
91
+
92
+ - name: Trigger release notes workflow
93
+ env:
94
+ GH_TOKEN: ${{ secrets.RELEASE_TOKEN }}
95
+ run: |
96
+ gh workflow run release-notes.yml \
97
+ --field tag="${{ github.ref_name }}"
98
+
99
+ attest-provenance:
100
+ name: Attest Build Provenance
101
+ needs:
102
+ - create-release
103
+ runs-on: ubuntu-latest
104
+ permissions:
105
+ id-token: write
106
+ attestations: write
107
+ contents: read
108
+ steps:
109
+ - name: Download release assets
110
+ uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
111
+ with:
112
+ name: release-assets
113
+ path: dist
114
+ - name: Attest release assets
115
+ uses: actions/attest-build-provenance@e8998f949152b193b063cb0ec769d69d929409be # v2.4.0
116
+ with:
117
+ subject-path: |
118
+ dist/*
119
+
120
+ publish-npm:
121
+ name: Publish to npm
122
+ needs:
123
+ - create-release
124
+ runs-on: ubuntu-latest
125
+ environment: release
126
+ permissions:
127
+ contents: read
128
+ id-token: write
129
+ steps:
130
+ - name: Checkout
131
+ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
132
+ - name: Set up pnpm
133
+ uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
134
+ - name: Set up Node.js
135
+ uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
136
+ with:
137
+ node-version-file: .node-version
138
+ cache: "pnpm"
139
+ registry-url: "https://registry.npmjs.org"
140
+ - name: Upgrade npm
141
+ run: npm install -g npm@latest
142
+ - name: Install dependencies
143
+ run: pnpm install --frozen-lockfile
144
+ - name: Build
145
+ run: pnpm build
146
+ - name: Publish
147
+ run: pnpm publish --no-git-checks
package/.node-version ADDED
@@ -0,0 +1 @@
1
+ 22
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "0.2.2"
2
+ ".": "0.2.3"
3
3
  }
package/CHANGELOG.md CHANGED
@@ -1,47 +1,48 @@
1
1
  # Changelog
2
2
 
3
- ## [0.2.2](https://github.com/jrandolf/par5-mcp/compare/v0.2.1...v0.2.2) (2025-12-31)
3
+ ## [0.2.3](https://github.com/mathematic-inc/par5-mcp/compare/v0.2.2...v0.2.3) (2026-03-11)
4
4
 
5
5
 
6
6
  ### Bug Fixes
7
7
 
8
- * remove timeout ([c26768f](https://github.com/jrandolf/par5-mcp/commit/c26768ff06be59e44c08e499b74e62dbca49b467))
8
+ * Transfer repository to mathematic-inc org ([#7](https://github.com/mathematic-inc/par5-mcp/issues/7)) ([fea2c99](https://github.com/mathematic-inc/par5-mcp/commit/fea2c99264f5feafa9ede8f52118be50106ff8bf))
9
9
 
10
- ## [0.2.1](https://github.com/jrandolf/par5-mcp/compare/v0.2.0...v0.2.1) (2025-12-30)
10
+ ## [0.2.2](https://github.com/mathematic-inc/par5-mcp/compare/v0.2.1...v0.2.2) (2025-12-31)
11
11
 
12
+ ### Bug Fixes
12
13
 
13
- ### Features
14
+ - remove timeout ([c26768f](https://github.com/mathematic-inc/par5-mcp/commit/c26768ff06be59e44c08e499b74e62dbca49b467))
14
15
 
15
- * add OpenCode agent support with CLI integration ([fadf84d](https://github.com/jrandolf/par5-mcp/commit/fadf84d4731ff4c416175f7ddb1ae9b572b55d13))
16
+ ## [0.2.1](https://github.com/mathematic-inc/par5-mcp/compare/v0.2.0...v0.2.1) (2025-12-30)
17
+
18
+ ### Features
16
19
 
17
- ## [0.2.0](https://github.com/jrandolf/par5-mcp/compare/v0.1.2...v0.2.0) (2025-12-30)
20
+ - add OpenCode agent support with CLI integration ([fadf84d](https://github.com/mathematic-inc/par5-mcp/commit/fadf84d4731ff4c416175f7ddb1ae9b572b55d13))
18
21
 
22
+ ## [0.2.0](https://github.com/mathematic-inc/par5-mcp/compare/v0.1.2...v0.2.0) (2025-12-30)
19
23
 
20
24
  ### ⚠ BREAKING CHANGES
21
25
 
22
- * only return text
26
+ - only return text
23
27
 
24
28
  ### Bug Fixes
25
29
 
26
- * only return text ([0b73afd](https://github.com/jrandolf/par5-mcp/commit/0b73afdadcb71c583ea87958ef89e920d7517d8e))
27
-
28
- ## [0.1.2](https://github.com/jrandolf/par5-mcp/compare/v0.1.1...v0.1.2) (2025-12-30)
30
+ - only return text ([0b73afd](https://github.com/mathematic-inc/par5-mcp/commit/0b73afdadcb71c583ea87958ef89e920d7517d8e))
29
31
 
32
+ ## [0.1.2](https://github.com/mathematic-inc/par5-mcp/compare/v0.1.1...v0.1.2) (2025-12-30)
30
33
 
31
34
  ### Features
32
35
 
33
- * add process cleanup on shutdown to manage active child processes ([68cbbbe](https://github.com/jrandolf/par5-mcp/commit/68cbbbec5188d9caba55bf17f8aa6a022e70cc17))
34
-
35
- ## [0.1.1](https://github.com/jrandolf/par5-mcp/compare/v0.1.0...v0.1.1) (2025-12-30)
36
+ - add process cleanup on shutdown to manage active child processes ([68cbbbe](https://github.com/mathematic-inc/par5-mcp/commit/68cbbbec5188d9caba55bf17f8aa6a022e70cc17))
36
37
 
38
+ ## [0.1.1](https://github.com/mathematic-inc/par5-mcp/compare/v0.1.0...v0.1.1) (2025-12-30)
37
39
 
38
40
  ### Features
39
41
 
40
- * implement diceware list names and create_list_from_shell ([5e3e0ff](https://github.com/jrandolf/par5-mcp/commit/5e3e0ff9cbdce32a7d399f9eea8a7bd36b7d876f))
42
+ - implement diceware list names and create_list_from_shell ([5e3e0ff](https://github.com/mathematic-inc/par5-mcp/commit/5e3e0ff9cbdce32a7d399f9eea8a7bd36b7d876f))
41
43
 
42
44
  ## 0.1.0 (2025-12-30)
43
45
 
44
-
45
46
  ### Features
46
47
 
47
- * initial commit ([4f95cea](https://github.com/jrandolf/par5-mcp/commit/4f95ceaf254e9667103673e34d87dd84a8a09693))
48
+ - initial commit ([4f95cea](https://github.com/mathematic-inc/par5-mcp/commit/4f95ceaf254e9667103673e34d87dd84a8a09693))
package/LICENSE CHANGED
@@ -1,21 +1,202 @@
1
- MIT License
2
-
3
- Copyright (c) 2024 jrandolf
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright 2025 Mathematic Inc
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
package/README.md CHANGED
@@ -244,7 +244,7 @@ File names are derived from the item value (sanitized for filesystem safety).
244
244
  ### Building from Source
245
245
 
246
246
  ```bash
247
- git clone <repository-url>
247
+ git clone https://github.com/mathematic-inc/par5-mcp.git
248
248
  cd par5-mcp
249
249
  npm install
250
250
  npm run build
@@ -266,4 +266,6 @@ npm start
266
266
 
267
267
  ## License
268
268
 
269
- ISC
269
+ Apache-2.0
270
+
271
+ > This project is free and open-source work by a 501(c)(3) non-profit. If you find it useful, please consider [donating](https://github.com/sponsors/mathematic-inc).
package/biome.json ADDED
@@ -0,0 +1,50 @@
1
+ {
2
+ "$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
3
+ "vcs": {
4
+ "enabled": true,
5
+ "clientKind": "git",
6
+ "useIgnoreFile": true
7
+ },
8
+ "files": {
9
+ "ignoreUnknown": true,
10
+ "includes": [
11
+ "!node_modules",
12
+ "!dist",
13
+ "!build",
14
+ "!**/dist",
15
+ "!**/build",
16
+ "!.pnpm-store"
17
+ ]
18
+ },
19
+ "formatter": {
20
+ "enabled": true,
21
+ "indentStyle": "space",
22
+ "indentWidth": 2
23
+ },
24
+ "linter": {
25
+ "enabled": true,
26
+ "rules": {
27
+ "recommended": true
28
+ }
29
+ },
30
+ "assist": {
31
+ "actions": {
32
+ "source": {
33
+ "organizeImports": "on"
34
+ }
35
+ }
36
+ },
37
+ "overrides": [
38
+ {
39
+ "includes": ["src/index.ts"],
40
+ "linter": {
41
+ "rules": {
42
+ "suspicious": {
43
+ "useAwait": "off"
44
+ }
45
+ }
46
+ }
47
+ }
48
+ ],
49
+ "extends": ["ultracite/core"]
50
+ }
package/dist/index.js CHANGED
@@ -39,7 +39,7 @@ function toSafeFilename(item) {
39
39
  return name.replace(/[^a-zA-Z0-9._-]/g, "_").slice(0, 100);
40
40
  }
41
41
  // Batch size for parallel execution (configurable via PAR5_BATCH_SIZE env var)
42
- const BATCH_SIZE = parseInt(process.env.PAR5_BATCH_SIZE || "10", 10);
42
+ const BATCH_SIZE = Number.parseInt(process.env.PAR5_BATCH_SIZE || "10", 10);
43
43
  // Helper to run a command and stream stdout/stderr to separate files
44
44
  // Returns a promise that resolves when the command completes
45
45
  function runCommandToFiles(command, stdoutFile, stderrFile) {
@@ -415,8 +415,7 @@ VARIABLE SUBSTITUTION:
415
415
  await mkdir(runDir, { recursive: true });
416
416
  const results = [];
417
417
  const tasks = [];
418
- for (let i = 0; i < items.length; i++) {
419
- const item = items[i];
418
+ for (const item of items) {
420
419
  // Replace $item with the actual item value (properly escaped)
421
420
  const escapedItem = item.replace(/'/g, "'\\''");
422
421
  const expandedCommand = command.replace(/\$item/g, `'${escapedItem}'`);
@@ -558,8 +557,7 @@ VARIABLE SUBSTITUTION:
558
557
  throw new Error(`Unknown agent: ${agentName}`);
559
558
  }
560
559
  };
561
- for (let i = 0; i < items.length; i++) {
562
- const item = items[i];
560
+ for (const item of items) {
563
561
  // Replace {{item}} with the actual item value
564
562
  const expandedPrompt = prompt.replace(/\{\{item\}\}/g, item);
565
563
  const safeFilename = toSafeFilename(item);
package/lefthook.yml ADDED
@@ -0,0 +1,12 @@
1
+ pre-commit:
2
+ jobs:
3
+ - run: pnpm exec ultracite fix
4
+ glob:
5
+ - "*.js"
6
+ - "*.jsx"
7
+ - "*.ts"
8
+ - "*.tsx"
9
+ - "*.json"
10
+ - "*.jsonc"
11
+ - "*.css"
12
+ stage_fixed: true
package/package.json CHANGED
@@ -1,50 +1,54 @@
1
1
  {
2
- "name": "par5-mcp",
3
- "version": "0.2.2",
4
- "description": "MCP server for parallel list operations - run shell commands and AI agents across lists in parallel",
5
- "main": "dist/index.js",
6
- "bin": {
7
- "par5-mcp": "dist/index.js"
8
- },
9
- "scripts": {
10
- "build": "tsc",
11
- "start": "node dist/index.js",
12
- "prepublishOnly": "npm run build"
13
- },
14
- "keywords": [
15
- "mcp",
16
- "model-context-protocol",
17
- "parallel",
18
- "batch",
19
- "shell",
20
- "ai-agents",
21
- "claude",
22
- "gemini",
23
- "codex",
24
- "automation"
25
- ],
26
- "author": "jrandolf",
27
- "license": "MIT",
28
- "repository": {
29
- "type": "git",
30
- "url": "git+https://github.com/jrandolf/par5-mcp.git"
31
- },
32
- "bugs": {
33
- "url": "https://github.com/jrandolf/par5-mcp/issues"
34
- },
35
- "homepage": "https://github.com/jrandolf/par5-mcp#readme",
36
- "engines": {
37
- "node": ">=18"
38
- },
39
- "type": "module",
40
- "dependencies": {
41
- "@modelcontextprotocol/sdk": "^1.25.1",
42
- "@types/eff-diceware-passphrase": "^3.0.2",
43
- "eff-diceware-passphrase": "^3.0.0",
44
- "zod": "^4.2.1"
45
- },
46
- "devDependencies": {
47
- "@types/node": "^25.0.3",
48
- "typescript": "^5.9.3"
49
- }
50
- }
2
+ "name": "par5-mcp",
3
+ "version": "0.2.3",
4
+ "description": "MCP server for parallel list operations - run shell commands and AI agents across lists in parallel",
5
+ "main": "dist/index.js",
6
+ "bin": {
7
+ "par5-mcp": "dist/index.js"
8
+ },
9
+ "keywords": [
10
+ "mcp",
11
+ "model-context-protocol",
12
+ "parallel",
13
+ "batch",
14
+ "shell",
15
+ "ai-agents",
16
+ "claude",
17
+ "gemini",
18
+ "codex",
19
+ "automation"
20
+ ],
21
+ "author": "Mathematic Inc",
22
+ "license": "Apache-2.0",
23
+ "repository": {
24
+ "type": "git",
25
+ "url": "https://github.com/mathematic-inc/par5-mcp.git"
26
+ },
27
+ "bugs": {
28
+ "url": "https://github.com/mathematic-inc/par5-mcp/issues"
29
+ },
30
+ "homepage": "https://github.com/mathematic-inc/par5-mcp#readme",
31
+ "engines": {
32
+ "node": ">=24"
33
+ },
34
+ "type": "module",
35
+ "dependencies": {
36
+ "@modelcontextprotocol/sdk": "^1.27.1",
37
+ "@types/eff-diceware-passphrase": "^3.0.2",
38
+ "eff-diceware-passphrase": "^3.0.0",
39
+ "zod": "^4.3.6"
40
+ },
41
+ "devDependencies": {
42
+ "@biomejs/biome": "^2.4.6",
43
+ "@types/node": "^25.4.0",
44
+ "lefthook": "^2.1.3",
45
+ "typescript": "^5.9.3",
46
+ "ultracite": "^7.2.5"
47
+ },
48
+ "scripts": {
49
+ "build": "tsc",
50
+ "start": "node dist/index.js",
51
+ "lint": "ultracite check",
52
+ "format": "ultracite fix"
53
+ }
54
+ }
@@ -1,12 +1,14 @@
1
1
  {
2
- "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
3
- "packages": {
4
- ".": {
5
- "release-type": "node",
6
- "bump-minor-pre-major": true,
7
- "bump-patch-for-minor-pre-major": true,
8
- "initial-version": "0.1.0",
9
- "include-component-in-tag": false
10
- }
11
- }
2
+ "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
3
+ "bump-minor-pre-major": true,
4
+ "bump-patch-for-minor-pre-major": true,
5
+ "initial-version": "0.1.0",
6
+ "packages": {
7
+ ".": {
8
+ "release-type": "node",
9
+ "initial-version": "0.1.0",
10
+ "include-component-in-tag": false
11
+ }
12
+ },
13
+ "plugins": ["sentence-case"]
12
14
  }
@@ -1,37 +0,0 @@
1
- name: Release and Publish
2
-
3
- on:
4
- push:
5
- branches:
6
- - main
7
-
8
- permissions:
9
- id-token: write
10
- contents: write
11
- pull-requests: write
12
-
13
- jobs:
14
- release-please:
15
- runs-on: ubuntu-latest
16
- outputs:
17
- release_created: ${{ steps.release.outputs.release_created }}
18
- steps:
19
- - uses: googleapis/release-please-action@v4
20
- id: release
21
- with:
22
- token: ${{ secrets.RELEASE_PAT }}
23
-
24
- publish:
25
- needs: release-please
26
- if: ${{ needs.release-please.outputs.release_created }}
27
- runs-on: ubuntu-latest
28
- steps:
29
- - uses: actions/checkout@v4
30
-
31
- - uses: actions/setup-node@v4
32
- with:
33
- node-version: '22'
34
- registry-url: 'https://registry.npmjs.org'
35
- - run: npm ci
36
- - run: npm run build
37
- - run: npm publish