@stigmer/plugin-package 0.1.0-dev.20261017020314.g644422724c27
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 +194 -0
- package/README.md +72 -0
- package/client/archive.d.ts +27 -0
- package/client/archive.d.ts.map +1 -0
- package/client/archive.js +38 -0
- package/client/archive.js.map +1 -0
- package/client/builtin.d.ts +37 -0
- package/client/builtin.d.ts.map +1 -0
- package/client/builtin.js +49 -0
- package/client/builtin.js.map +1 -0
- package/client/ignore/defaults.d.ts +2 -0
- package/client/ignore/defaults.d.ts.map +1 -0
- package/client/ignore/defaults.js +140 -0
- package/client/ignore/defaults.js.map +1 -0
- package/client/ignore/match.d.ts +3 -0
- package/client/ignore/match.d.ts.map +1 -0
- package/client/ignore/match.js +166 -0
- package/client/ignore/match.js.map +1 -0
- package/client/ignore/matcher.d.ts +50 -0
- package/client/ignore/matcher.d.ts.map +1 -0
- package/client/ignore/matcher.js +116 -0
- package/client/ignore/matcher.js.map +1 -0
- package/client/ignore/pattern.d.ts +13 -0
- package/client/ignore/pattern.d.ts.map +1 -0
- package/client/ignore/pattern.js +119 -0
- package/client/ignore/pattern.js.map +1 -0
- package/client/prepare-eval.d.ts +62 -0
- package/client/prepare-eval.d.ts.map +1 -0
- package/client/prepare-eval.js +60 -0
- package/client/prepare-eval.js.map +1 -0
- package/client/prepare.d.ts +99 -0
- package/client/prepare.d.ts.map +1 -0
- package/client/prepare.js +89 -0
- package/client/prepare.js.map +1 -0
- package/client/presentation.d.ts +19 -0
- package/client/presentation.d.ts.map +1 -0
- package/client/presentation.js +44 -0
- package/client/presentation.js.map +1 -0
- package/client/refs.d.ts +76 -0
- package/client/refs.d.ts.map +1 -0
- package/client/refs.js +123 -0
- package/client/refs.js.map +1 -0
- package/client/release.d.ts +20 -0
- package/client/release.d.ts.map +1 -0
- package/client/release.js +28 -0
- package/client/release.js.map +1 -0
- package/client/reroot.d.ts +21 -0
- package/client/reroot.d.ts.map +1 -0
- package/client/reroot.js +37 -0
- package/client/reroot.js.map +1 -0
- package/client/select.d.ts +74 -0
- package/client/select.d.ts.map +1 -0
- package/client/select.js +121 -0
- package/client/select.js.map +1 -0
- package/client/vocabulary.d.ts +13 -0
- package/client/vocabulary.d.ts.map +1 -0
- package/client/vocabulary.js +17 -0
- package/client/vocabulary.js.map +1 -0
- package/client.d.ts +51 -0
- package/client.d.ts.map +1 -0
- package/client.js +51 -0
- package/client.js.map +1 -0
- package/detect.d.ts +83 -0
- package/detect.d.ts.map +1 -0
- package/detect.js +210 -0
- package/detect.js.map +1 -0
- package/dialects/claude.d.ts +34 -0
- package/dialects/claude.d.ts.map +1 -0
- package/dialects/claude.js +84 -0
- package/dialects/claude.js.map +1 -0
- package/dialects/codex.d.ts +20 -0
- package/dialects/codex.d.ts.map +1 -0
- package/dialects/codex.js +21 -0
- package/dialects/codex.js.map +1 -0
- package/dialects/cursor.d.ts +25 -0
- package/dialects/cursor.d.ts.map +1 -0
- package/dialects/cursor.js +66 -0
- package/dialects/cursor.js.map +1 -0
- package/dialects/manifest.d.ts +164 -0
- package/dialects/manifest.d.ts.map +1 -0
- package/dialects/manifest.js +256 -0
- package/dialects/manifest.js.map +1 -0
- package/dialects/open.d.ts +19 -0
- package/dialects/open.d.ts.map +1 -0
- package/dialects/open.js +49 -0
- package/dialects/open.js.map +1 -0
- package/documents.d.ts +58 -0
- package/documents.d.ts.map +1 -0
- package/documents.js +121 -0
- package/documents.js.map +1 -0
- package/evals/eval-dir.d.ts +59 -0
- package/evals/eval-dir.d.ts.map +1 -0
- package/evals/eval-dir.js +84 -0
- package/evals/eval-dir.js.map +1 -0
- package/evals/fields.d.ts +78 -0
- package/evals/fields.d.ts.map +1 -0
- package/evals/fields.js +156 -0
- package/evals/fields.js.map +1 -0
- package/evals/glob.d.ts +40 -0
- package/evals/glob.d.ts.map +1 -0
- package/evals/glob.js +146 -0
- package/evals/glob.js.map +1 -0
- package/evals/graders.d.ts +52 -0
- package/evals/graders.d.ts.map +1 -0
- package/evals/graders.js +279 -0
- package/evals/graders.js.map +1 -0
- package/evals/markdown.d.ts +24 -0
- package/evals/markdown.d.ts.map +1 -0
- package/evals/markdown.js +48 -0
- package/evals/markdown.js.map +1 -0
- package/evals/mocks.d.ts +50 -0
- package/evals/mocks.d.ts.map +1 -0
- package/evals/mocks.js +182 -0
- package/evals/mocks.js.map +1 -0
- package/evals/read-eval-suite.d.ts +110 -0
- package/evals/read-eval-suite.d.ts.map +1 -0
- package/evals/read-eval-suite.js +603 -0
- package/evals/read-eval-suite.js.map +1 -0
- package/evals/summary.d.ts +61 -0
- package/evals/summary.d.ts.map +1 -0
- package/evals/summary.js +69 -0
- package/evals/summary.js.map +1 -0
- package/evals/types.d.ts +203 -0
- package/evals/types.d.ts.map +1 -0
- package/evals/types.js +21 -0
- package/evals/types.js.map +1 -0
- package/files.d.ts +135 -0
- package/files.d.ts.map +1 -0
- package/files.js +209 -0
- package/files.js.map +1 -0
- package/frontmatter.d.ts +51 -0
- package/frontmatter.d.ts.map +1 -0
- package/frontmatter.js +61 -0
- package/frontmatter.js.map +1 -0
- package/index.d.ts +37 -0
- package/index.d.ts.map +1 -0
- package/index.js +33 -0
- package/index.js.map +1 -0
- package/marketplace/messages.d.ts +20 -0
- package/marketplace/messages.d.ts.map +1 -0
- package/marketplace/messages.js +49 -0
- package/marketplace/messages.js.map +1 -0
- package/marketplace/outcome.d.ts +70 -0
- package/marketplace/outcome.d.ts.map +1 -0
- package/marketplace/outcome.js +29 -0
- package/marketplace/outcome.js.map +1 -0
- package/marketplace/read-marketplace.d.ts +52 -0
- package/marketplace/read-marketplace.d.ts.map +1 -0
- package/marketplace/read-marketplace.js +351 -0
- package/marketplace/read-marketplace.js.map +1 -0
- package/messages.d.ts +55 -0
- package/messages.d.ts.map +1 -0
- package/messages.js +167 -0
- package/messages.js.map +1 -0
- package/normalise/hooks.d.ts +91 -0
- package/normalise/hooks.d.ts.map +1 -0
- package/normalise/hooks.js +437 -0
- package/normalise/hooks.js.map +1 -0
- package/normalise/ignored.d.ts +34 -0
- package/normalise/ignored.d.ts.map +1 -0
- package/normalise/ignored.js +78 -0
- package/normalise/ignored.js.map +1 -0
- package/normalise/mcp-servers.d.ts +50 -0
- package/normalise/mcp-servers.d.ts.map +1 -0
- package/normalise/mcp-servers.js +398 -0
- package/normalise/mcp-servers.js.map +1 -0
- package/normalise/settings.d.ts +32 -0
- package/normalise/settings.d.ts.map +1 -0
- package/normalise/settings.js +72 -0
- package/normalise/settings.js.map +1 -0
- package/normalise/skills.d.ts +39 -0
- package/normalise/skills.d.ts.map +1 -0
- package/normalise/skills.js +135 -0
- package/normalise/skills.js.map +1 -0
- package/normalise/stigmer-folder.d.ts +17 -0
- package/normalise/stigmer-folder.d.ts.map +1 -0
- package/normalise/stigmer-folder.js +19 -0
- package/normalise/stigmer-folder.js.map +1 -0
- package/normalise/sub-agents.d.ts +54 -0
- package/normalise/sub-agents.d.ts.map +1 -0
- package/normalise/sub-agents.js +219 -0
- package/normalise/sub-agents.js.map +1 -0
- package/normalise/variables.d.ts +31 -0
- package/normalise/variables.d.ts.map +1 -0
- package/normalise/variables.js +170 -0
- package/normalise/variables.js.map +1 -0
- package/outcome.d.ts +59 -0
- package/outcome.d.ts.map +1 -0
- package/outcome.js +32 -0
- package/outcome.js.map +1 -0
- package/package.json +47 -0
- package/placeholders.d.ts +65 -0
- package/placeholders.d.ts.map +1 -0
- package/placeholders.js +99 -0
- package/placeholders.js.map +1 -0
- package/presentation.d.ts +53 -0
- package/presentation.d.ts.map +1 -0
- package/presentation.js +156 -0
- package/presentation.js.map +1 -0
- package/read-plugin-package.d.ts +20 -0
- package/read-plugin-package.d.ts.map +1 -0
- package/read-plugin-package.js +73 -0
- package/read-plugin-package.js.map +1 -0
- package/src/client/archive.ts +44 -0
- package/src/client/builtin.ts +60 -0
- package/src/client/ignore/defaults.ts +155 -0
- package/src/client/ignore/match.ts +158 -0
- package/src/client/ignore/matcher.ts +156 -0
- package/src/client/ignore/pattern.ts +132 -0
- package/src/client/prepare-eval.ts +92 -0
- package/src/client/prepare.ts +160 -0
- package/src/client/presentation.ts +47 -0
- package/src/client/refs.ts +170 -0
- package/src/client/release.ts +29 -0
- package/src/client/reroot.ts +35 -0
- package/src/client/select.ts +161 -0
- package/src/client/vocabulary.ts +19 -0
- package/src/client.ts +102 -0
- package/src/detect.ts +245 -0
- package/src/dialects/claude.ts +102 -0
- package/src/dialects/codex.ts +26 -0
- package/src/dialects/cursor.ts +77 -0
- package/src/dialects/manifest.ts +316 -0
- package/src/dialects/open.ts +50 -0
- package/src/documents.ts +158 -0
- package/src/evals/eval-dir.ts +101 -0
- package/src/evals/fields.ts +184 -0
- package/src/evals/glob.ts +141 -0
- package/src/evals/graders.ts +293 -0
- package/src/evals/markdown.ts +56 -0
- package/src/evals/mocks.ts +202 -0
- package/src/evals/read-eval-suite.ts +713 -0
- package/src/evals/summary.ts +100 -0
- package/src/evals/types.ts +217 -0
- package/src/files.ts +235 -0
- package/src/frontmatter.ts +70 -0
- package/src/index.ts +129 -0
- package/src/marketplace/messages.ts +61 -0
- package/src/marketplace/outcome.ts +91 -0
- package/src/marketplace/read-marketplace.ts +388 -0
- package/src/messages.ts +248 -0
- package/src/normalise/hooks.ts +469 -0
- package/src/normalise/ignored.ts +79 -0
- package/src/normalise/mcp-servers.ts +423 -0
- package/src/normalise/settings.ts +81 -0
- package/src/normalise/skills.ts +145 -0
- package/src/normalise/stigmer-folder.ts +23 -0
- package/src/normalise/sub-agents.ts +231 -0
- package/src/normalise/variables.ts +181 -0
- package/src/outcome.ts +158 -0
- package/src/placeholders.ts +110 -0
- package/src/presentation.ts +170 -0
- package/src/read-plugin-package.ts +80 -0
- package/src/testing.ts +347 -0
- package/src/tool-names.ts +30 -0
- package/src/trim.ts +10 -0
- package/src/types.ts +214 -0
- package/testing.d.ts +127 -0
- package/testing.d.ts.map +1 -0
- package/testing.js +266 -0
- package/testing.js.map +1 -0
- package/tool-names.d.ts +21 -0
- package/tool-names.d.ts.map +1 -0
- package/tool-names.js +28 -0
- package/tool-names.js.map +1 -0
- package/trim.d.ts +7 -0
- package/trim.d.ts.map +1 -0
- package/trim.js +12 -0
- package/trim.js.map +1 -0
- package/types.d.ts +179 -0
- package/types.d.ts.map +1 -0
- package/types.js +19 -0
- package/types.js.map +1 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,194 @@
|
|
|
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 Stigmer 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.
|
|
191
|
+
|
|
192
|
+
Except for the contents of the ee/ directory, which are licensed under the
|
|
193
|
+
Stigmer Enterprise License (see ee/LICENSE), everything in this repository
|
|
194
|
+
is licensed under the Apache License, Version 2.0, above.
|
package/README.md
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
# @stigmer/plugin-package
|
|
2
|
+
|
|
3
|
+
Reads an Agent Plugins package into one normalised description of what
|
|
4
|
+
Stigmer would install from it.
|
|
5
|
+
|
|
6
|
+
A plugin is a folder with a manifest, `skills/` and an MCP server
|
|
7
|
+
configuration. This library reads the open Agent Plugins 1.0.0 format and
|
|
8
|
+
the three vendor dialects that preceded it (Cursor `.cursor-plugin/`,
|
|
9
|
+
Claude Code `.claude-plugin/`, Codex `.codex-plugin/`) unchanged, and hands
|
|
10
|
+
back a `PluginPackage`: the skills, MCP servers, sub-agents and variables in
|
|
11
|
+
the shapes a plugin's status takes, and every component it ignored. What Stigmer cannot carry is
|
|
12
|
+
refused with one fixed sentence per problem, and the reader keeps scanning
|
|
13
|
+
past a refusal so one run reports every problem at once.
|
|
14
|
+
|
|
15
|
+
## Why this is a library
|
|
16
|
+
|
|
17
|
+
The same code runs in two places: the CLI validates a plugin directory
|
|
18
|
+
offline (`stigmer validate -f <dir>`), and the server parses an uploaded
|
|
19
|
+
archive when it installs a plugin. One implementation means a plugin that
|
|
20
|
+
validates offline installs, and a plugin that is refused offline is refused
|
|
21
|
+
by the server with the same sentence. The library is pure over a
|
|
22
|
+
`PluginFiles` reader (a sorted list of sized entries plus `read`), so each
|
|
23
|
+
consumer supplies its own: a directory walker in the CLI, an archive reader
|
|
24
|
+
in the server. Nothing here touches the filesystem, the clock, the network
|
|
25
|
+
or the environment, and the main entry imports no `node:*` module, so a
|
|
26
|
+
browser can run it too.
|
|
27
|
+
|
|
28
|
+
## Consumers
|
|
29
|
+
|
|
30
|
+
- `@stigmer/cli` (`client-apps/cli`): `stigmer validate -f <dir>` over a
|
|
31
|
+
plugin directory.
|
|
32
|
+
- `@stigmer/server`: the plugin install pipeline, when it lands.
|
|
33
|
+
|
|
34
|
+
## Dependency policy
|
|
35
|
+
|
|
36
|
+
One runtime dependency, `yaml` (the CLI's and the SDK's YAML library), for
|
|
37
|
+
`SKILL.md` and sub-agent frontmatter. No dependency on `@stigmer/apis`:
|
|
38
|
+
the library describes the plugin format, and the CLI's offline validation
|
|
39
|
+
should not pull the resource schemas in for a parse. Field names in the
|
|
40
|
+
normalised types mirror the protos (`PluginAgent`, `EnvVarDeclaration`,
|
|
41
|
+
`McpServerEntry`) so the server's mapping is one function per part.
|
|
42
|
+
|
|
43
|
+
## Design notes
|
|
44
|
+
|
|
45
|
+
- **Refuse, do not skip.** The open specification tells a client to skip a
|
|
46
|
+
broken component and keep loading. Stigmer refuses the plugin instead: an
|
|
47
|
+
installed agent that quietly lacks a server or a sub-agent is worse than a
|
|
48
|
+
refused install. The parser still scans past a fatal finding so an author
|
|
49
|
+
fixes everything in one pass.
|
|
50
|
+
- **Every sentence lives in `src/messages.ts`**, one per finding kind,
|
|
51
|
+
identifiers single-quoted. Consumers never compose refusal copy.
|
|
52
|
+
- **Caps are checked from declared sizes before a byte is read**
|
|
53
|
+
(`PLUGIN_DOCUMENT_LIMITS`), and again on the bytes returned, so no reader
|
|
54
|
+
can be talked into inflating a bomb through the library.
|
|
55
|
+
- **Variables are references the runner resolves.** A `${VAR}` in a server
|
|
56
|
+
configuration is a reference to a value the run's vaults hold, in every
|
|
57
|
+
dialect; an undeclared one is inferred as a required secret and warned,
|
|
58
|
+
because the runner hands a server only the variables its spec declares.
|
|
59
|
+
- **Two facts about the runner shape two refusals**: a `${VAR}` in a server
|
|
60
|
+
`url` is sent literally (refused), and a stdio `env` can only pass a
|
|
61
|
+
declared variable by its own name, so only `KEY: "${KEY}"` is
|
|
62
|
+
representable (anything else refused).
|
|
63
|
+
- **The eval suite is read, never refused.** `readEvalSuite` reads a
|
|
64
|
+
plugin's `evals/` folder (or its manifest's `experimental.evals`) in Claude
|
|
65
|
+
Code's plugin-eval format into cases and findings. A suite is the author's
|
|
66
|
+
tests rather than something Stigmer installs, so a broken case is a
|
|
67
|
+
finding beside the others, never a refused install. Its sentences live
|
|
68
|
+
with it in `src/evals/` and start with the file they name, the shape
|
|
69
|
+
Claude Code's own loader prints.
|
|
70
|
+
- **The `./testing` entry** builds in-memory plugins in each dialect's exact
|
|
71
|
+
layout, so consumers' tests and this library's own adversarial suite craft
|
|
72
|
+
fixtures from one source.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The archive a plugin push sends, and its digest.
|
|
3
|
+
*
|
|
4
|
+
* The server's identity for a plugin version is the SHA-256 of the bytes it
|
|
5
|
+
* receives, so a client that can compute those bytes knows "already
|
|
6
|
+
* installed" and "upgrade available" without pushing. That is only true if
|
|
7
|
+
* every client builds the archive the same way: the selected files in
|
|
8
|
+
* selection order, one DOS-epoch mtime on every entry, one compression
|
|
9
|
+
* level. These are the CLI's original options (the skill packager's
|
|
10
|
+
* discipline, kept byte for byte); changing any of them would make every
|
|
11
|
+
* installed plugin look like an upgrade.
|
|
12
|
+
*
|
|
13
|
+
* The digest is WebCrypto's, which Node 22 and every browser provide, so
|
|
14
|
+
* there is one hash implementation and it is asynchronous everywhere.
|
|
15
|
+
*/
|
|
16
|
+
import type { PluginFiles } from "../files.js";
|
|
17
|
+
/**
|
|
18
|
+
* The one mtime every entry carries: the DOS epoch, at local midnight so
|
|
19
|
+
* the DOS time field reads 00:00 in every zone. Construct it locally rather
|
|
20
|
+
* than from UTC: fflate converts through the Date's local getters.
|
|
21
|
+
*/
|
|
22
|
+
export declare const DETERMINISTIC_ZIP_MTIME: Date;
|
|
23
|
+
/** Zip the selected files in their listed order. */
|
|
24
|
+
export declare function archivePlugin(files: PluginFiles): Uint8Array;
|
|
25
|
+
/** Lowercase hex SHA-256 of `bytes`: the server's `status.digest` for these bytes. */
|
|
26
|
+
export declare function digestArchive(bytes: Uint8Array): Promise<string>;
|
|
27
|
+
//# sourceMappingURL=archive.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"archive.d.ts","sourceRoot":"","sources":["../src/client/archive.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE/C;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,MAAuB,CAAC;AAK5D,oDAAoD;AACpD,wBAAgB,aAAa,CAAC,KAAK,EAAE,WAAW,GAAG,UAAU,CAM5D;AAED,sFAAsF;AACtF,wBAAsB,aAAa,CAAC,KAAK,EAAE,UAAU,GAAG,OAAO,CAAC,MAAM,CAAC,CAGtE"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The archive a plugin push sends, and its digest.
|
|
3
|
+
*
|
|
4
|
+
* The server's identity for a plugin version is the SHA-256 of the bytes it
|
|
5
|
+
* receives, so a client that can compute those bytes knows "already
|
|
6
|
+
* installed" and "upgrade available" without pushing. That is only true if
|
|
7
|
+
* every client builds the archive the same way: the selected files in
|
|
8
|
+
* selection order, one DOS-epoch mtime on every entry, one compression
|
|
9
|
+
* level. These are the CLI's original options (the skill packager's
|
|
10
|
+
* discipline, kept byte for byte); changing any of them would make every
|
|
11
|
+
* installed plugin look like an upgrade.
|
|
12
|
+
*
|
|
13
|
+
* The digest is WebCrypto's, which Node 22 and every browser provide, so
|
|
14
|
+
* there is one hash implementation and it is asynchronous everywhere.
|
|
15
|
+
*/
|
|
16
|
+
import { zipSync } from "fflate";
|
|
17
|
+
/**
|
|
18
|
+
* The one mtime every entry carries: the DOS epoch, at local midnight so
|
|
19
|
+
* the DOS time field reads 00:00 in every zone. Construct it locally rather
|
|
20
|
+
* than from UTC: fflate converts through the Date's local getters.
|
|
21
|
+
*/
|
|
22
|
+
export const DETERMINISTIC_ZIP_MTIME = new Date(1980, 0, 1);
|
|
23
|
+
/** The deflate level the skill packager chose; part of the identity. */
|
|
24
|
+
const ARCHIVE_LEVEL = 6;
|
|
25
|
+
/** Zip the selected files in their listed order. */
|
|
26
|
+
export function archivePlugin(files) {
|
|
27
|
+
const tree = {};
|
|
28
|
+
for (const entry of files.entries) {
|
|
29
|
+
tree[entry.path] = files.read(entry.path);
|
|
30
|
+
}
|
|
31
|
+
return zipSync(tree, { level: ARCHIVE_LEVEL, mtime: DETERMINISTIC_ZIP_MTIME });
|
|
32
|
+
}
|
|
33
|
+
/** Lowercase hex SHA-256 of `bytes`: the server's `status.digest` for these bytes. */
|
|
34
|
+
export async function digestArchive(bytes) {
|
|
35
|
+
const hash = await globalThis.crypto.subtle.digest("SHA-256", bytes);
|
|
36
|
+
return Array.from(new Uint8Array(hash), (byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=archive.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"archive.js","sourceRoot":"","sources":["../src/client/archive.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AAIjC;;;;GAIG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;AAE5D,wEAAwE;AACxE,MAAM,aAAa,GAAG,CAAC,CAAC;AAExB,oDAAoD;AACpD,MAAM,UAAU,aAAa,CAAC,KAAkB;IAC9C,MAAM,IAAI,GAA+B,EAAE,CAAC;IAC5C,KAAK,MAAM,KAAK,IAAI,KAAK,CAAC,OAAO,EAAE,CAAC;QAClC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAC5C,CAAC;IACD,OAAO,OAAO,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,uBAAuB,EAAE,CAAC,CAAC;AACjF,CAAC;AAED,sFAAsF;AACtF,MAAM,CAAC,KAAK,UAAU,aAAa,CAAC,KAAiB;IACnD,MAAM,IAAI,GAAG,MAAM,UAAU,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;IACrE,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,UAAU,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACjG,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The one source every client lists without being told: Stigmer's official
|
|
3
|
+
* catalogue.
|
|
4
|
+
*
|
|
5
|
+
* The catalogue is curated (`plugins/README.md`, "What the catalogue holds"):
|
|
6
|
+
* every entry is one Stigmer may ship and one whose servers Stigmer can
|
|
7
|
+
* connect to, vendored from a publisher's redistributable set or authored
|
|
8
|
+
* by Stigmer for a vendor's public endpoint. The vendors' own repositories
|
|
9
|
+
* were built in for one release and were taken out again when the audit
|
|
10
|
+
* behind the catalogue measured that more than half of their entries fail
|
|
11
|
+
* that bar: a chip that offers what the catalogue left out re-surfaces
|
|
12
|
+
* what curation removed. A user who wants another catalogue adds it as a
|
|
13
|
+
* source of his own (a repository with a marketplace file, read from
|
|
14
|
+
* GitHub), in the console's Manage sources or with `stigmer marketplace
|
|
15
|
+
* add`; the vendors' repositories are ordinary candidates for that, at the
|
|
16
|
+
* user's word, never on offer by default.
|
|
17
|
+
*
|
|
18
|
+
* The list is code, not stored state: a client's remembered sources hold
|
|
19
|
+
* only what the user added, so the two clients cannot drift from each
|
|
20
|
+
* other. The official name is reserved the way it always was; a user can
|
|
21
|
+
* neither add over it nor remove it.
|
|
22
|
+
*/
|
|
23
|
+
import type { GitHubMarketplaceSource } from "./refs.js";
|
|
24
|
+
/** A source a client ships with: named, and either the official catalogue or a public GitHub tree. */
|
|
25
|
+
export interface BuiltInMarketplace {
|
|
26
|
+
readonly name: string;
|
|
27
|
+
readonly source: {
|
|
28
|
+
readonly type: "official";
|
|
29
|
+
} | GitHubMarketplaceSource;
|
|
30
|
+
}
|
|
31
|
+
/** In listing order. Today one entry; the type keeps the shape a future built-in would take. */
|
|
32
|
+
export declare const BUILT_IN_MARKETPLACES: readonly BuiltInMarketplace[];
|
|
33
|
+
/** Whether `name` is one a user may neither add nor remove. */
|
|
34
|
+
export declare function isBuiltInMarketplaceName(name: string): boolean;
|
|
35
|
+
/** The one sentence every client refuses with when a user tries to add over or remove a built-in source. */
|
|
36
|
+
export declare function builtInSourceRefusal(name: string, act: "add" | "remove"): string;
|
|
37
|
+
//# sourceMappingURL=builtin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"builtin.d.ts","sourceRoot":"","sources":["../src/client/builtin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,WAAW,CAAC;AAGzD,sGAAsG;AACtG,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,MAAM,EAAE;QAAE,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAA;KAAE,GAAG,uBAAuB,CAAC;CAC1E;AAED,gGAAgG;AAChG,eAAO,MAAM,qBAAqB,EAAE,SAAS,kBAAkB,EAK9D,CAAC;AAIF,+DAA+D;AAC/D,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAE9D;AAED,4GAA4G;AAC5G,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,CAWhF"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The one source every client lists without being told: Stigmer's official
|
|
3
|
+
* catalogue.
|
|
4
|
+
*
|
|
5
|
+
* The catalogue is curated (`plugins/README.md`, "What the catalogue holds"):
|
|
6
|
+
* every entry is one Stigmer may ship and one whose servers Stigmer can
|
|
7
|
+
* connect to, vendored from a publisher's redistributable set or authored
|
|
8
|
+
* by Stigmer for a vendor's public endpoint. The vendors' own repositories
|
|
9
|
+
* were built in for one release and were taken out again when the audit
|
|
10
|
+
* behind the catalogue measured that more than half of their entries fail
|
|
11
|
+
* that bar: a chip that offers what the catalogue left out re-surfaces
|
|
12
|
+
* what curation removed. A user who wants another catalogue adds it as a
|
|
13
|
+
* source of his own (a repository with a marketplace file, read from
|
|
14
|
+
* GitHub), in the console's Manage sources or with `stigmer marketplace
|
|
15
|
+
* add`; the vendors' repositories are ordinary candidates for that, at the
|
|
16
|
+
* user's word, never on offer by default.
|
|
17
|
+
*
|
|
18
|
+
* The list is code, not stored state: a client's remembered sources hold
|
|
19
|
+
* only what the user added, so the two clients cannot drift from each
|
|
20
|
+
* other. The official name is reserved the way it always was; a user can
|
|
21
|
+
* neither add over it nor remove it.
|
|
22
|
+
*/
|
|
23
|
+
import { OFFICIAL_MARKETPLACE_NAME } from "./refs.js";
|
|
24
|
+
/** In listing order. Today one entry; the type keeps the shape a future built-in would take. */
|
|
25
|
+
export const BUILT_IN_MARKETPLACES = [
|
|
26
|
+
{
|
|
27
|
+
name: OFFICIAL_MARKETPLACE_NAME,
|
|
28
|
+
source: { type: "official" },
|
|
29
|
+
},
|
|
30
|
+
];
|
|
31
|
+
const BUILT_IN_NAMES = new Set(BUILT_IN_MARKETPLACES.map((entry) => entry.name));
|
|
32
|
+
/** Whether `name` is one a user may neither add nor remove. */
|
|
33
|
+
export function isBuiltInMarketplaceName(name) {
|
|
34
|
+
return BUILT_IN_NAMES.has(name);
|
|
35
|
+
}
|
|
36
|
+
/** The one sentence every client refuses with when a user tries to add over or remove a built-in source. */
|
|
37
|
+
export function builtInSourceRefusal(name, act) {
|
|
38
|
+
switch (act) {
|
|
39
|
+
case "add":
|
|
40
|
+
return `'${name}' is a built-in source and cannot be added or replaced; choose another name`;
|
|
41
|
+
case "remove":
|
|
42
|
+
return `'${name}' is a built-in source and cannot be removed`;
|
|
43
|
+
default: {
|
|
44
|
+
const exhaustive = act;
|
|
45
|
+
return exhaustive;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
//# sourceMappingURL=builtin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"builtin.js","sourceRoot":"","sources":["../src/client/builtin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAGH,OAAO,EAAE,yBAAyB,EAAE,MAAM,WAAW,CAAC;AAQtD,gGAAgG;AAChG,MAAM,CAAC,MAAM,qBAAqB,GAAkC;IAClE;QACE,IAAI,EAAE,yBAAyB;QAC/B,MAAM,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE;KAC7B;CACF,CAAC;AAEF,MAAM,cAAc,GAAwB,IAAI,GAAG,CAAC,qBAAqB,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC;AAEtG,+DAA+D;AAC/D,MAAM,UAAU,wBAAwB,CAAC,IAAY;IACnD,OAAO,cAAc,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;AAClC,CAAC;AAED,4GAA4G;AAC5G,MAAM,UAAU,oBAAoB,CAAC,IAAY,EAAE,GAAqB;IACtE,QAAQ,GAAG,EAAE,CAAC;QACZ,KAAK,KAAK;YACR,OAAO,IAAI,IAAI,6EAA6E,CAAC;QAC/F,KAAK,QAAQ;YACX,OAAO,IAAI,IAAI,8CAA8C,CAAC;QAChE,OAAO,CAAC,CAAC,CAAC;YACR,MAAM,UAAU,GAAU,GAAG,CAAC;YAC9B,OAAO,UAAU,CAAC;QACpB,CAAC;IACH,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../src/client/ignore/defaults.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB,EAAE,SAAS,MAAM,EAsJ7C,CAAC"}
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
// Built-in security-first ignore patterns, applied (lowest priority) unless
|
|
2
|
+
// disabled. A verbatim port of the Go CLI's DefaultPatterns so `push` excludes
|
|
3
|
+
// the same secrets, VCS metadata, and build artifacts on both CLIs.
|
|
4
|
+
export const DEFAULT_PATTERNS = [
|
|
5
|
+
// Version control
|
|
6
|
+
".git/",
|
|
7
|
+
".svn/",
|
|
8
|
+
".hg/",
|
|
9
|
+
".bzr/",
|
|
10
|
+
// Environment files (often contain secrets)
|
|
11
|
+
".env",
|
|
12
|
+
".env.*",
|
|
13
|
+
"!.env.example",
|
|
14
|
+
"!.env.template",
|
|
15
|
+
"!.env.sample",
|
|
16
|
+
// Private keys and certificates
|
|
17
|
+
"*.pem",
|
|
18
|
+
"*.key",
|
|
19
|
+
"*.p12",
|
|
20
|
+
"*.pfx",
|
|
21
|
+
"*.keystore",
|
|
22
|
+
"*.jks",
|
|
23
|
+
"id_rsa",
|
|
24
|
+
"id_rsa.*",
|
|
25
|
+
"id_ed25519",
|
|
26
|
+
"id_ed25519.*",
|
|
27
|
+
"id_dsa",
|
|
28
|
+
"id_dsa.*",
|
|
29
|
+
// Cloud credentials
|
|
30
|
+
"credentials.json",
|
|
31
|
+
"service-account*.json",
|
|
32
|
+
"gcp-credentials*.json",
|
|
33
|
+
"aws-credentials",
|
|
34
|
+
".aws/credentials",
|
|
35
|
+
".aws/config",
|
|
36
|
+
// Generic secrets
|
|
37
|
+
".secrets",
|
|
38
|
+
".secrets/",
|
|
39
|
+
"*.secret",
|
|
40
|
+
".credentials/",
|
|
41
|
+
"secrets.yaml",
|
|
42
|
+
"secrets.yml",
|
|
43
|
+
"secrets.json",
|
|
44
|
+
// Package manager auth
|
|
45
|
+
".npmrc",
|
|
46
|
+
".pypirc",
|
|
47
|
+
".gem/credentials",
|
|
48
|
+
".docker/config.json",
|
|
49
|
+
// IDE and editor
|
|
50
|
+
".idea/",
|
|
51
|
+
".vscode/",
|
|
52
|
+
"*.swp",
|
|
53
|
+
"*.swo",
|
|
54
|
+
"*.swn",
|
|
55
|
+
"*~",
|
|
56
|
+
".project",
|
|
57
|
+
".classpath",
|
|
58
|
+
".settings/",
|
|
59
|
+
"*.sublime-workspace",
|
|
60
|
+
"*.sublime-project",
|
|
61
|
+
".vs/",
|
|
62
|
+
// Operating system
|
|
63
|
+
".DS_Store",
|
|
64
|
+
".DS_Store?",
|
|
65
|
+
"._*",
|
|
66
|
+
".Spotlight-V100",
|
|
67
|
+
".Trashes",
|
|
68
|
+
"Thumbs.db",
|
|
69
|
+
"Thumbs.db:encryptable",
|
|
70
|
+
"desktop.ini",
|
|
71
|
+
"ehthumbs.db",
|
|
72
|
+
"ehthumbs_vista.db",
|
|
73
|
+
// Node.js
|
|
74
|
+
"node_modules/",
|
|
75
|
+
"npm-debug.log*",
|
|
76
|
+
"yarn-debug.log*",
|
|
77
|
+
"yarn-error.log*",
|
|
78
|
+
".npm/",
|
|
79
|
+
".yarn/cache/",
|
|
80
|
+
".yarn/unplugged/",
|
|
81
|
+
".pnp.*",
|
|
82
|
+
// Python
|
|
83
|
+
"__pycache__/",
|
|
84
|
+
"*.py[cod]",
|
|
85
|
+
"*$py.class",
|
|
86
|
+
".Python",
|
|
87
|
+
"*.so",
|
|
88
|
+
".venv/",
|
|
89
|
+
"venv/",
|
|
90
|
+
"env/",
|
|
91
|
+
"ENV/",
|
|
92
|
+
".pytest_cache/",
|
|
93
|
+
".mypy_cache/",
|
|
94
|
+
".ruff_cache/",
|
|
95
|
+
".tox/",
|
|
96
|
+
".nox/",
|
|
97
|
+
"*.egg-info/",
|
|
98
|
+
".eggs/",
|
|
99
|
+
"dist/",
|
|
100
|
+
"build/",
|
|
101
|
+
"develop-eggs/",
|
|
102
|
+
".installed.cfg",
|
|
103
|
+
"*.manifest",
|
|
104
|
+
"*.spec",
|
|
105
|
+
"pip-log.txt",
|
|
106
|
+
"pip-delete-this-directory.txt",
|
|
107
|
+
// Java/JVM
|
|
108
|
+
"target/",
|
|
109
|
+
"*.class",
|
|
110
|
+
"*.jar",
|
|
111
|
+
"*.war",
|
|
112
|
+
"*.ear",
|
|
113
|
+
".gradle/",
|
|
114
|
+
"gradle-app.setting",
|
|
115
|
+
".gradletasknamecache",
|
|
116
|
+
// Go
|
|
117
|
+
"vendor/",
|
|
118
|
+
// Rust
|
|
119
|
+
"target/",
|
|
120
|
+
"Cargo.lock",
|
|
121
|
+
// Coverage and test reports
|
|
122
|
+
"coverage/",
|
|
123
|
+
".coverage",
|
|
124
|
+
"htmlcov/",
|
|
125
|
+
".nyc_output/",
|
|
126
|
+
"coverage.xml",
|
|
127
|
+
"*.cover",
|
|
128
|
+
".hypothesis/",
|
|
129
|
+
// Logs
|
|
130
|
+
"*.log",
|
|
131
|
+
"logs/",
|
|
132
|
+
// Temporary files
|
|
133
|
+
"tmp/",
|
|
134
|
+
"temp/",
|
|
135
|
+
"*.tmp",
|
|
136
|
+
"*.temp",
|
|
137
|
+
"*.bak",
|
|
138
|
+
"*.backup",
|
|
139
|
+
];
|
|
140
|
+
//# sourceMappingURL=defaults.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defaults.js","sourceRoot":"","sources":["../../src/client/ignore/defaults.ts"],"names":[],"mappings":"AAAA,4EAA4E;AAC5E,+EAA+E;AAC/E,oEAAoE;AAEpE,MAAM,CAAC,MAAM,gBAAgB,GAAsB;IACjD,kBAAkB;IAClB,OAAO;IACP,OAAO;IACP,MAAM;IACN,OAAO;IAEP,4CAA4C;IAC5C,MAAM;IACN,QAAQ;IACR,eAAe;IACf,gBAAgB;IAChB,cAAc;IAEd,gCAAgC;IAChC,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,YAAY;IACZ,OAAO;IACP,QAAQ;IACR,UAAU;IACV,YAAY;IACZ,cAAc;IACd,QAAQ;IACR,UAAU;IAEV,oBAAoB;IACpB,kBAAkB;IAClB,uBAAuB;IACvB,uBAAuB;IACvB,iBAAiB;IACjB,kBAAkB;IAClB,aAAa;IAEb,kBAAkB;IAClB,UAAU;IACV,WAAW;IACX,UAAU;IACV,eAAe;IACf,cAAc;IACd,aAAa;IACb,cAAc;IAEd,uBAAuB;IACvB,QAAQ;IACR,SAAS;IACT,kBAAkB;IAClB,qBAAqB;IAErB,iBAAiB;IACjB,QAAQ;IACR,UAAU;IACV,OAAO;IACP,OAAO;IACP,OAAO;IACP,IAAI;IACJ,UAAU;IACV,YAAY;IACZ,YAAY;IACZ,qBAAqB;IACrB,mBAAmB;IACnB,MAAM;IAEN,mBAAmB;IACnB,WAAW;IACX,YAAY;IACZ,KAAK;IACL,iBAAiB;IACjB,UAAU;IACV,WAAW;IACX,uBAAuB;IACvB,aAAa;IACb,aAAa;IACb,mBAAmB;IAEnB,UAAU;IACV,eAAe;IACf,gBAAgB;IAChB,iBAAiB;IACjB,iBAAiB;IACjB,OAAO;IACP,cAAc;IACd,kBAAkB;IAClB,QAAQ;IAER,SAAS;IACT,cAAc;IACd,WAAW;IACX,YAAY;IACZ,SAAS;IACT,MAAM;IACN,QAAQ;IACR,OAAO;IACP,MAAM;IACN,MAAM;IACN,gBAAgB;IAChB,cAAc;IACd,cAAc;IACd,OAAO;IACP,OAAO;IACP,aAAa;IACb,QAAQ;IACR,OAAO;IACP,QAAQ;IACR,eAAe;IACf,gBAAgB;IAChB,YAAY;IACZ,QAAQ;IACR,aAAa;IACb,+BAA+B;IAE/B,WAAW;IACX,SAAS;IACT,SAAS;IACT,OAAO;IACP,OAAO;IACP,OAAO;IACP,UAAU;IACV,oBAAoB;IACpB,sBAAsB;IAEtB,KAAK;IACL,SAAS;IAET,OAAO;IACP,SAAS;IACT,YAAY;IAEZ,4BAA4B;IAC5B,WAAW;IACX,WAAW;IACX,UAAU;IACV,cAAc;IACd,cAAc;IACd,SAAS;IACT,cAAc;IAEd,OAAO;IACP,OAAO;IACP,OAAO;IAEP,kBAAkB;IAClB,MAAM;IACN,OAAO;IACP,OAAO;IACP,QAAQ;IACR,OAAO;IACP,UAAU;CACX,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"match.d.ts","sourceRoot":"","sources":["../../src/client/ignore/match.ts"],"names":[],"mappings":"AAeA,6EAA6E;AAC7E,wBAAgB,SAAS,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAOhE"}
|