@windagency/codemap-gen-for-agents 1.0.3 → 1.1.0-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/THIRD_PARTY_LICENSES.md +448 -57
  2. package/dist/core/cache/cache-schema.js +1 -0
  3. package/dist/core/cache/cache-schema.js.map +1 -1
  4. package/dist/core/cache/extraction-cache.d.ts +1 -0
  5. package/dist/core/cache/extraction-cache.js +1 -0
  6. package/dist/core/cache/extraction-cache.js.map +1 -1
  7. package/dist/core/cli-args-schema.d.ts +5 -1
  8. package/dist/core/cli-args-schema.js +42 -1
  9. package/dist/core/cli-args-schema.js.map +1 -1
  10. package/dist/core/cli-args.js +18 -8
  11. package/dist/core/cli-args.js.map +1 -1
  12. package/dist/core/compose.d.ts +1 -0
  13. package/dist/core/compose.js +5 -0
  14. package/dist/core/compose.js.map +1 -1
  15. package/dist/core/config-schema.d.ts +7 -0
  16. package/dist/core/config-schema.js +5 -0
  17. package/dist/core/config-schema.js.map +1 -1
  18. package/dist/core/config.d.ts +6 -0
  19. package/dist/core/config.js +14 -0
  20. package/dist/core/config.js.map +1 -1
  21. package/dist/core/generate-command.d.ts +5 -1
  22. package/dist/core/generate-command.js +15 -1
  23. package/dist/core/generate-command.js.map +1 -1
  24. package/dist/core/generate-map.d.ts +10 -0
  25. package/dist/core/generate-map.js +100 -13
  26. package/dist/core/generate-map.js.map +1 -1
  27. package/dist/core/index-warning.d.ts +9 -0
  28. package/dist/core/index-warning.js +17 -0
  29. package/dist/core/index-warning.js.map +1 -0
  30. package/dist/core/languages.d.ts +2 -0
  31. package/dist/core/languages.js +3 -0
  32. package/dist/core/languages.js.map +1 -1
  33. package/dist/core/read-command.d.ts +2 -0
  34. package/dist/core/read-command.js +6 -1
  35. package/dist/core/read-command.js.map +1 -1
  36. package/dist/core/types.d.ts +2 -0
  37. package/dist/core/types.js.map +1 -1
  38. package/dist/extraction/scip/index-hashes-schema.d.ts +8 -0
  39. package/dist/extraction/scip/index-hashes-schema.js +14 -0
  40. package/dist/extraction/scip/index-hashes-schema.js.map +1 -0
  41. package/dist/extraction/scip/indexer-process.d.ts +20 -0
  42. package/dist/extraction/scip/indexer-process.js +55 -0
  43. package/dist/extraction/scip/indexer-process.js.map +1 -0
  44. package/dist/extraction/scip/scip-call-refinement.d.ts +11 -0
  45. package/dist/extraction/scip/scip-call-refinement.js +88 -0
  46. package/dist/extraction/scip/scip-call-refinement.js.map +1 -0
  47. package/dist/extraction/scip/scip-index-reader.d.ts +9 -0
  48. package/dist/extraction/scip/scip-index-reader.js +38 -0
  49. package/dist/extraction/scip/scip-index-reader.js.map +1 -0
  50. package/dist/extraction/scip/scip-index-schema.d.ts +29 -0
  51. package/dist/extraction/scip/scip-index-schema.js +64 -0
  52. package/dist/extraction/scip/scip-index-schema.js.map +1 -0
  53. package/dist/extraction/scip/scip-index.d.ts +20 -0
  54. package/dist/extraction/scip/scip-index.js +5 -0
  55. package/dist/extraction/scip/scip-index.js.map +1 -0
  56. package/dist/extraction/scip/scip-staleness.d.ts +6 -0
  57. package/dist/extraction/scip/scip-staleness.js +65 -0
  58. package/dist/extraction/scip/scip-staleness.js.map +1 -0
  59. package/dist/extraction/scip/scip-symbol.d.ts +19 -0
  60. package/dist/extraction/scip/scip-symbol.js +68 -0
  61. package/dist/extraction/scip/scip-symbol.js.map +1 -0
  62. package/dist/extraction/scip-indexer.d.ts +32 -0
  63. package/dist/extraction/scip-indexer.js +210 -0
  64. package/dist/extraction/scip-indexer.js.map +1 -0
  65. package/dist/extraction/scip-resolver.d.ts +20 -0
  66. package/dist/extraction/scip-resolver.js +148 -0
  67. package/dist/extraction/scip-resolver.js.map +1 -0
  68. package/dist/integration/cli/cli-help.d.ts +2 -2
  69. package/dist/integration/cli/cli-help.js +9 -1
  70. package/dist/integration/cli/cli-help.js.map +1 -1
  71. package/dist/integration/mcp/tool-input-schema.d.ts +13 -0
  72. package/dist/integration/mcp/tool-input-schema.js +14 -6
  73. package/dist/integration/mcp/tool-input-schema.js.map +1 -1
  74. package/dist/integration/skill/SKILL.md +5 -2
  75. package/dist/integration/skill/skill-help.d.ts +2 -2
  76. package/dist/integration/skill/skill-help.js +9 -1
  77. package/dist/integration/skill/skill-help.js.map +1 -1
  78. package/package.json +4 -2
@@ -12,7 +12,7 @@ node scripts/generate-third-party-licenses.mjs
12
12
 
13
13
  CI runs the same script with `--check` and fails the build if this file is stale, or if a production dependency's license isn't on the generator's permissive allowlist - see `.github/workflows/ci.yml`.
14
14
 
15
- All 146 packages in the production tree use a permissive license (Apache-2.0, BSD-2-Clause, BSD-3-Clause, ISC, MIT, Unlicense). None introduce copyleft obligations.
15
+ All 148 packages in the production tree use a permissive license ((Apache-2.0 AND BSD-3-Clause), Apache-2.0, BSD-2-Clause, BSD-3-Clause, ISC, MIT, Unlicense). None introduce copyleft obligations.
16
16
 
17
17
  ## Direct dependencies
18
18
 
@@ -20,6 +20,8 @@ The packages this project's own `package.json` depends on directly.
20
20
 
21
21
  | Package | Version | License | Copyright |
22
22
  | --- | --- | --- | --- |
23
+ | @bufbuild/protobuf | 2.16.0 | (Apache-2.0 AND BSD-3-Clause) | - |
24
+ | @scip-code/scip | 0.10.0 | Apache-2.0 | Sourcegraph |
23
25
  | typescript | 7.0.2 | Apache-2.0 | Microsoft Corp. |
24
26
  | d3 | 7.9.0 | ISC | Mike Bostock |
25
27
  | @modelcontextprotocol/sdk | 1.32.1 | MIT | Anthropic, PBC |
@@ -32,7 +34,7 @@ The packages this project's own `package.json` depends on directly.
32
34
  | tree-sitter-java | 0.23.5 | MIT | Ayman Nadeem |
33
35
  | tree-sitter-python | 0.25.0 | MIT | Max Brunsfeld |
34
36
  | tree-sitter-rust | 0.24.0 | MIT | Maxim Sokolov |
35
- | zod | 4.6.5 | MIT | Colin McDonnell |
37
+ | zod | 4.6.7 | MIT | Colin McDonnell |
36
38
 
37
39
  ## Full production dependency tree
38
40
 
@@ -40,6 +42,8 @@ Every package resolved into the production tree (direct and transitive), as inst
40
42
 
41
43
  | Package | Version | License | Copyright |
42
44
  | --- | --- | --- | --- |
45
+ | @bufbuild/protobuf | 2.16.0 | (Apache-2.0 AND BSD-3-Clause) | - |
46
+ | @scip-code/scip | 0.10.0 | Apache-2.0 | Sourcegraph |
43
47
  | typescript | 7.0.2 | Apache-2.0 | Microsoft Corp. |
44
48
  | json-schema-typed | 8.0.2 | BSD-2-Clause | Remy Rylan |
45
49
  | d3-ease | 3.0.1 | BSD-3-Clause | Mike Bostock |
@@ -184,73 +188,460 @@ Every package resolved into the production tree (direct and transitive), as inst
184
188
  | type-is | 2.1.0 | MIT | - |
185
189
  | unpipe | 1.0.0 | MIT | Douglas Christopher Wilson |
186
190
  | vary | 1.1.2 | MIT | Douglas Christopher Wilson |
187
- | zod | 4.6.5 | MIT | Colin McDonnell |
191
+ | zod | 4.6.7 | MIT | Colin McDonnell |
188
192
  | robust-predicates | 3.0.3 | Unlicense | Vladimir Agafonkin |
189
193
 
190
194
  ## License texts
191
195
 
192
196
  Each permissive license's full terms require the text below plus the copyright line(s) for the specific package - see the Copyright column in the tables above for the holder that applies to each package. Where only one package in the tree uses a license, its license file is reproduced verbatim, copyright line included.
193
197
 
194
- ### Apache-2.0
198
+ ### (Apache-2.0 AND BSD-3-Clause)
195
199
 
196
- Applies to: typescript. Reproduced verbatim from the package's own license file, copyright line included.
200
+ Applies to: @bufbuild/protobuf. Reproduced verbatim from the package's own license file, copyright line included.
197
201
 
198
202
  ```
199
- Apache License
200
-
201
- Version 2.0, January 2004
202
-
203
- http://www.apache.org/licenses/
204
-
205
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
206
-
207
- 1. Definitions.
208
-
209
- "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
210
-
211
- "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
212
-
213
- "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
214
-
215
- "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
216
-
217
- "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
218
-
219
- "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
220
-
221
- "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
222
-
223
- "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
224
-
225
- "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
226
-
227
- "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
228
-
229
- 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
230
-
231
- 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
232
-
233
- 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
234
-
235
- You must give any other recipients of the Work or Derivative Works a copy of this License; and
236
-
237
- You must cause any modified files to carry prominent notices stating that You changed the files; and
238
-
239
- You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
240
-
241
- If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
242
-
243
- 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
244
-
245
- 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
246
-
247
- 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
203
+ Apache License
204
+ Version 2.0, January 2004
205
+ http://www.apache.org/licenses/
206
+
207
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
208
+
209
+ 1. Definitions.
210
+
211
+ "License" shall mean the terms and conditions for use, reproduction,
212
+ and distribution as defined by Sections 1 through 9 of this document.
213
+
214
+ "Licensor" shall mean the copyright owner or entity authorized by
215
+ the copyright owner that is granting the License.
216
+
217
+ "Legal Entity" shall mean the union of the acting entity and all
218
+ other entities that control, are controlled by, or are under common
219
+ control with that entity. For the purposes of this definition,
220
+ "control" means (i) the power, direct or indirect, to cause the
221
+ direction or management of such entity, whether by contract or
222
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
223
+ outstanding shares, or (iii) beneficial ownership of such entity.
224
+
225
+ "You" (or "Your") shall mean an individual or Legal Entity
226
+ exercising permissions granted by this License.
227
+
228
+ "Source" form shall mean the preferred form for making modifications,
229
+ including but not limited to software source code, documentation
230
+ source, and configuration files.
231
+
232
+ "Object" form shall mean any form resulting from mechanical
233
+ transformation or translation of a Source form, including but
234
+ not limited to compiled object code, generated documentation,
235
+ and conversions to other media types.
236
+
237
+ "Work" shall mean the work of authorship, whether in Source or
238
+ Object form, made available under the License, as indicated by a
239
+ copyright notice that is included in or attached to the work
240
+ (an example is provided in the Appendix below).
241
+
242
+ "Derivative Works" shall mean any work, whether in Source or Object
243
+ form, that is based on (or derived from) the Work and for which the
244
+ editorial revisions, annotations, elaborations, or other modifications
245
+ represent, as a whole, an original work of authorship. For the purposes
246
+ of this License, Derivative Works shall not include works that remain
247
+ separable from, or merely link (or bind by name) to the interfaces of,
248
+ the Work and Derivative Works thereof.
249
+
250
+ "Contribution" shall mean any work of authorship, including
251
+ the original version of the Work and any modifications or additions
252
+ to that Work or Derivative Works thereof, that is intentionally
253
+ submitted to Licensor for inclusion in the Work by the copyright owner
254
+ or by an individual or Legal Entity authorized to submit on behalf of
255
+ the copyright owner. For the purposes of this definition, "submitted"
256
+ means any form of electronic, verbal, or written communication sent
257
+ to the Licensor or its representatives, including but not limited to
258
+ communication on electronic mailing lists, source code control systems,
259
+ and issue tracking systems that are managed by, or on behalf of, the
260
+ Licensor for the purpose of discussing and improving the Work, but
261
+ excluding communication that is conspicuously marked or otherwise
262
+ designated in writing by the copyright owner as "Not a Contribution."
263
+
264
+ "Contributor" shall mean Licensor and any individual or Legal Entity
265
+ on behalf of whom a Contribution has been received by Licensor and
266
+ subsequently incorporated within the Work.
267
+
268
+ 2. Grant of Copyright License. Subject to the terms and conditions of
269
+ this License, each Contributor hereby grants to You a perpetual,
270
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
271
+ copyright license to reproduce, prepare Derivative Works of,
272
+ publicly display, publicly perform, sublicense, and distribute the
273
+ Work and such Derivative Works in Source or Object form.
274
+
275
+ 3. Grant of Patent License. Subject to the terms and conditions of
276
+ this License, each Contributor hereby grants to You a perpetual,
277
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
278
+ (except as stated in this section) patent license to make, have made,
279
+ use, offer to sell, sell, import, and otherwise transfer the Work,
280
+ where such license applies only to those patent claims licensable
281
+ by such Contributor that are necessarily infringed by their
282
+ Contribution(s) alone or by combination of their Contribution(s)
283
+ with the Work to which such Contribution(s) was submitted. If You
284
+ institute patent litigation against any entity (including a
285
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
286
+ or a Contribution incorporated within the Work constitutes direct
287
+ or contributory patent infringement, then any patent licenses
288
+ granted to You under this License for that Work shall terminate
289
+ as of the date such litigation is filed.
290
+
291
+ 4. Redistribution. You may reproduce and distribute copies of the
292
+ Work or Derivative Works thereof in any medium, with or without
293
+ modifications, and in Source or Object form, provided that You
294
+ meet the following conditions:
295
+
296
+ (a) You must give any other recipients of the Work or
297
+ Derivative Works a copy of this License; and
298
+
299
+ (b) You must cause any modified files to carry prominent notices
300
+ stating that You changed the files; and
301
+
302
+ (c) You must retain, in the Source form of any Derivative Works
303
+ that You distribute, all copyright, patent, trademark, and
304
+ attribution notices from the Source form of the Work,
305
+ excluding those notices that do not pertain to any part of
306
+ the Derivative Works; and
307
+
308
+ (d) If the Work includes a "NOTICE" text file as part of its
309
+ distribution, then any Derivative Works that You distribute must
310
+ include a readable copy of the attribution notices contained
311
+ within such NOTICE file, excluding those notices that do not
312
+ pertain to any part of the Derivative Works, in at least one
313
+ of the following places: within a NOTICE text file distributed
314
+ as part of the Derivative Works; within the Source form or
315
+ documentation, if provided along with the Derivative Works; or,
316
+ within a display generated by the Derivative Works, if and
317
+ wherever such third-party notices normally appear. The contents
318
+ of the NOTICE file are for informational purposes only and
319
+ do not modify the License. You may add Your own attribution
320
+ notices within Derivative Works that You distribute, alongside
321
+ or as an addendum to the NOTICE text from the Work, provided
322
+ that such additional attribution notices cannot be construed
323
+ as modifying the License.
324
+
325
+ You may add Your own copyright statement to Your modifications and
326
+ may provide additional or different license terms and conditions
327
+ for use, reproduction, or distribution of Your modifications, or
328
+ for any such Derivative Works as a whole, provided Your use,
329
+ reproduction, and distribution of the Work otherwise complies with
330
+ the conditions stated in this License.
331
+
332
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
333
+ any Contribution intentionally submitted for inclusion in the Work
334
+ by You to the Licensor shall be under the terms and conditions of
335
+ this License, without any additional terms or conditions.
336
+ Notwithstanding the above, nothing herein shall supersede or modify
337
+ the terms of any separate license agreement you may have executed
338
+ with Licensor regarding such Contributions.
339
+
340
+ 6. Trademarks. This License does not grant permission to use the trade
341
+ names, trademarks, service marks, or product names of the Licensor,
342
+ except as required for reasonable and customary use in describing the
343
+ origin of the Work and reproducing the content of the NOTICE file.
344
+
345
+ 7. Disclaimer of Warranty. Unless required by applicable law or
346
+ agreed to in writing, Licensor provides the Work (and each
347
+ Contributor provides its Contributions) on an "AS IS" BASIS,
348
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
349
+ implied, including, without limitation, any warranties or conditions
350
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
351
+ PARTICULAR PURPOSE. You are solely responsible for determining the
352
+ appropriateness of using or redistributing the Work and assume any
353
+ risks associated with Your exercise of permissions under this License.
354
+
355
+ 8. Limitation of Liability. In no event and under no legal theory,
356
+ whether in tort (including negligence), contract, or otherwise,
357
+ unless required by applicable law (such as deliberate and grossly
358
+ negligent acts) or agreed to in writing, shall any Contributor be
359
+ liable to You for damages, including any direct, indirect, special,
360
+ incidental, or consequential damages of any character arising as a
361
+ result of this License or out of the use or inability to use the
362
+ Work (including but not limited to damages for loss of goodwill,
363
+ work stoppage, computer failure or malfunction, or any and all
364
+ other commercial damages or losses), even if such Contributor
365
+ has been advised of the possibility of such damages.
366
+
367
+ 9. Accepting Warranty or Additional Liability. While redistributing
368
+ the Work or Derivative Works thereof, You may choose to offer,
369
+ and charge a fee for, acceptance of support, warranty, indemnity,
370
+ or other liability obligations and/or rights consistent with this
371
+ License. However, in accepting such obligations, You may act only
372
+ on Your own behalf and on Your sole responsibility, not on behalf
373
+ of any other Contributor, and only if You agree to indemnify,
374
+ defend, and hold each Contributor harmless for any liability
375
+ incurred by, or claims asserted against, such Contributor by reason
376
+ of your accepting any such warranty or additional liability.
377
+
378
+ END OF TERMS AND CONDITIONS
379
+
380
+ APPENDIX: How to apply the Apache License to your work.
381
+
382
+ To apply the Apache License to your work, attach the following
383
+ boilerplate notice, with the fields enclosed by brackets "[]"
384
+ replaced with your own identifying information. (Don't include
385
+ the brackets!) The text should be enclosed in the appropriate
386
+ comment syntax for the file format. We also recommend that a
387
+ file or class name and description of purpose be included on the
388
+ same "printed page" as the copyright notice for easier
389
+ identification within third-party archives.
390
+
391
+ Copyright 2021-2026 Buf Technologies, Inc.
392
+
393
+ Licensed under the Apache License, Version 2.0 (the "License");
394
+ you may not use this file except in compliance with the License.
395
+ You may obtain a copy of the License at
396
+
397
+ http://www.apache.org/licenses/LICENSE-2.0
398
+
399
+ Unless required by applicable law or agreed to in writing, software
400
+ distributed under the License is distributed on an "AS IS" BASIS,
401
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
402
+ See the License for the specific language governing permissions and
403
+ limitations under the License.
404
+
405
+ Copyright 2008 Google Inc. All rights reserved.
406
+
407
+ Redistribution and use in source and binary forms, with or without
408
+ modification, are permitted provided that the following conditions are
409
+ met:
410
+
411
+ * Redistributions of source code must retain the above copyright
412
+ notice, this list of conditions and the following disclaimer.
413
+ * Redistributions in binary form must reproduce the above
414
+ copyright notice, this list of conditions and the following disclaimer
415
+ in the documentation and/or other materials provided with the
416
+ distribution.
417
+ * Neither the name of Google Inc. nor the names of its
418
+ contributors may be used to endorse or promote products derived from
419
+ this software without specific prior written permission.
420
+
421
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
422
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
423
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
424
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
425
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
426
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
427
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
428
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
429
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
430
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
431
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
432
+
433
+ Code generated by the Protocol Buffer compiler is owned by the owner
434
+ of the input file used when generating it. This code is not
435
+ standalone and requires a support library to be linked with it. This
436
+ support library is itself covered by the above license.
437
+ ```
248
438
 
249
- 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
439
+ ### Apache-2.0
250
440
 
251
- 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
441
+ Applies to: @scip-code/scip, typescript, with the copyright line(s) from the table above substituted per package.
252
442
 
253
- END OF TERMS AND CONDITIONS
443
+ ```
444
+ Apache License
445
+ Version 2.0, January 2004
446
+ http://www.apache.org/licenses/
447
+
448
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
449
+
450
+ 1. Definitions.
451
+
452
+ "License" shall mean the terms and conditions for use, reproduction,
453
+ and distribution as defined by Sections 1 through 9 of this document.
454
+
455
+ "Licensor" shall mean the copyright owner or entity authorized by
456
+ the copyright owner that is granting the License.
457
+
458
+ "Legal Entity" shall mean the union of the acting entity and all
459
+ other entities that control, are controlled by, or are under common
460
+ control with that entity. For the purposes of this definition,
461
+ "control" means (i) the power, direct or indirect, to cause the
462
+ direction or management of such entity, whether by contract or
463
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
464
+ outstanding shares, or (iii) beneficial ownership of such entity.
465
+
466
+ "You" (or "Your") shall mean an individual or Legal Entity
467
+ exercising permissions granted by this License.
468
+
469
+ "Source" form shall mean the preferred form for making modifications,
470
+ including but not limited to software source code, documentation
471
+ source, and configuration files.
472
+
473
+ "Object" form shall mean any form resulting from mechanical
474
+ transformation or translation of a Source form, including but
475
+ not limited to compiled object code, generated documentation,
476
+ and conversions to other media types.
477
+
478
+ "Work" shall mean the work of authorship, whether in Source or
479
+ Object form, made available under the License, as indicated by a
480
+ copyright notice that is included in or attached to the work
481
+ (an example is provided in the Appendix below).
482
+
483
+ "Derivative Works" shall mean any work, whether in Source or Object
484
+ form, that is based on (or derived from) the Work and for which the
485
+ editorial revisions, annotations, elaborations, or other modifications
486
+ represent, as a whole, an original work of authorship. For the purposes
487
+ of this License, Derivative Works shall not include works that remain
488
+ separable from, or merely link (or bind by name) to the interfaces of,
489
+ the Work and Derivative Works thereof.
490
+
491
+ "Contribution" shall mean any work of authorship, including
492
+ the original version of the Work and any modifications or additions
493
+ to that Work or Derivative Works thereof, that is intentionally
494
+ submitted to Licensor for inclusion in the Work by the copyright owner
495
+ or by an individual or Legal Entity authorized to submit on behalf of
496
+ the copyright owner. For the purposes of this definition, "submitted"
497
+ means any form of electronic, verbal, or written communication sent
498
+ to the Licensor or its representatives, including but not limited to
499
+ communication on electronic mailing lists, source code control systems,
500
+ and issue tracking systems that are managed by, or on behalf of, the
501
+ Licensor for the purpose of discussing and improving the Work, but
502
+ excluding communication that is conspicuously marked or otherwise
503
+ designated in writing by the copyright owner as "Not a Contribution."
504
+
505
+ "Contributor" shall mean Licensor and any individual or Legal Entity
506
+ on behalf of whom a Contribution has been received by Licensor and
507
+ subsequently incorporated within the Work.
508
+
509
+ 2. Grant of Copyright License. Subject to the terms and conditions of
510
+ this License, each Contributor hereby grants to You a perpetual,
511
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
512
+ copyright license to reproduce, prepare Derivative Works of,
513
+ publicly display, publicly perform, sublicense, and distribute the
514
+ Work and such Derivative Works in Source or Object form.
515
+
516
+ 3. Grant of Patent License. Subject to the terms and conditions of
517
+ this License, each Contributor hereby grants to You a perpetual,
518
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
519
+ (except as stated in this section) patent license to make, have made,
520
+ use, offer to sell, sell, import, and otherwise transfer the Work,
521
+ where such license applies only to those patent claims licensable
522
+ by such Contributor that are necessarily infringed by their
523
+ Contribution(s) alone or by combination of their Contribution(s)
524
+ with the Work to which such Contribution(s) was submitted. If You
525
+ institute patent litigation against any entity (including a
526
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
527
+ or a Contribution incorporated within the Work constitutes direct
528
+ or contributory patent infringement, then any patent licenses
529
+ granted to You under this License for that Work shall terminate
530
+ as of the date such litigation is filed.
531
+
532
+ 4. Redistribution. You may reproduce and distribute copies of the
533
+ Work or Derivative Works thereof in any medium, with or without
534
+ modifications, and in Source or Object form, provided that You
535
+ meet the following conditions:
536
+
537
+ (a) You must give any other recipients of the Work or
538
+ Derivative Works a copy of this License; and
539
+
540
+ (b) You must cause any modified files to carry prominent notices
541
+ stating that You changed the files; and
542
+
543
+ (c) You must retain, in the Source form of any Derivative Works
544
+ that You distribute, all copyright, patent, trademark, and
545
+ attribution notices from the Source form of the Work,
546
+ excluding those notices that do not pertain to any part of
547
+ the Derivative Works; and
548
+
549
+ (d) If the Work includes a "NOTICE" text file as part of its
550
+ distribution, then any Derivative Works that You distribute must
551
+ include a readable copy of the attribution notices contained
552
+ within such NOTICE file, excluding those notices that do not
553
+ pertain to any part of the Derivative Works, in at least one
554
+ of the following places: within a NOTICE text file distributed
555
+ as part of the Derivative Works; within the Source form or
556
+ documentation, if provided along with the Derivative Works; or,
557
+ within a display generated by the Derivative Works, if and
558
+ wherever such third-party notices normally appear. The contents
559
+ of the NOTICE file are for informational purposes only and
560
+ do not modify the License. You may add Your own attribution
561
+ notices within Derivative Works that You distribute, alongside
562
+ or as an addendum to the NOTICE text from the Work, provided
563
+ that such additional attribution notices cannot be construed
564
+ as modifying the License.
565
+
566
+ You may add Your own copyright statement to Your modifications and
567
+ may provide additional or different license terms and conditions
568
+ for use, reproduction, or distribution of Your modifications, or
569
+ for any such Derivative Works as a whole, provided Your use,
570
+ reproduction, and distribution of the Work otherwise complies with
571
+ the conditions stated in this License.
572
+
573
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
574
+ any Contribution intentionally submitted for inclusion in the Work
575
+ by You to the Licensor shall be under the terms and conditions of
576
+ this License, without any additional terms or conditions.
577
+ Notwithstanding the above, nothing herein shall supersede or modify
578
+ the terms of any separate license agreement you may have executed
579
+ with Licensor regarding such Contributions.
580
+
581
+ 6. Trademarks. This License does not grant permission to use the trade
582
+ names, trademarks, service marks, or product names of the Licensor,
583
+ except as required for reasonable and customary use in describing the
584
+ origin of the Work and reproducing the content of the NOTICE file.
585
+
586
+ 7. Disclaimer of Warranty. Unless required by applicable law or
587
+ agreed to in writing, Licensor provides the Work (and each
588
+ Contributor provides its Contributions) on an "AS IS" BASIS,
589
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
590
+ implied, including, without limitation, any warranties or conditions
591
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
592
+ PARTICULAR PURPOSE. You are solely responsible for determining the
593
+ appropriateness of using or redistributing the Work and assume any
594
+ risks associated with Your exercise of permissions under this License.
595
+
596
+ 8. Limitation of Liability. In no event and under no legal theory,
597
+ whether in tort (including negligence), contract, or otherwise,
598
+ unless required by applicable law (such as deliberate and grossly
599
+ negligent acts) or agreed to in writing, shall any Contributor be
600
+ liable to You for damages, including any direct, indirect, special,
601
+ incidental, or consequential damages of any character arising as a
602
+ result of this License or out of the use or inability to use the
603
+ Work (including but not limited to damages for loss of goodwill,
604
+ work stoppage, computer failure or malfunction, or any and all
605
+ other commercial damages or losses), even if such Contributor
606
+ has been advised of the possibility of such damages.
607
+
608
+ 9. Accepting Warranty or Additional Liability. While redistributing
609
+ the Work or Derivative Works thereof, You may choose to offer,
610
+ and charge a fee for, acceptance of support, warranty, indemnity,
611
+ or other liability obligations and/or rights consistent with this
612
+ License. However, in accepting such obligations, You may act only
613
+ on Your own behalf and on Your sole responsibility, not on behalf
614
+ of any other Contributor, and only if You agree to indemnify,
615
+ defend, and hold each Contributor harmless for any liability
616
+ incurred by, or claims asserted against, such Contributor by reason
617
+ of your accepting any such warranty or additional liability.
618
+
619
+ END OF TERMS AND CONDITIONS
620
+
621
+ APPENDIX: How to apply the Apache License to your work.
622
+
623
+ To apply the Apache License to your work, attach the following
624
+ boilerplate notice, with the fields enclosed by brackets "[]"
625
+ replaced with your own identifying information. (Don't include
626
+ the brackets!) The text should be enclosed in the appropriate
627
+ comment syntax for the file format. We also recommend that a
628
+ file or class name and description of purpose be included on the
629
+ same "printed page" as the copyright notice for easier
630
+ identification within third-party archives.
631
+
632
+ Copyright [yyyy] [name of copyright owner]
633
+
634
+ Licensed under the Apache License, Version 2.0 (the "License");
635
+ you may not use this file except in compliance with the License.
636
+ You may obtain a copy of the License at
637
+
638
+ http://www.apache.org/licenses/LICENSE-2.0
639
+
640
+ Unless required by applicable law or agreed to in writing, software
641
+ distributed under the License is distributed on an "AS IS" BASIS,
642
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
643
+ See the License for the specific language governing permissions and
644
+ limitations under the License.
254
645
  ```
255
646
 
256
647
  ### BSD-2-Clause
@@ -49,6 +49,7 @@ const extractedSymbolsSchema = z.object({
49
49
  symbols: z.array(rawSymbolSchema),
50
50
  imports: z.array(rawImportSchema),
51
51
  calls: z.array(rawCallSchema),
52
+ indexFallback: z.enum(["index-stale", "index-uncovered"]).optional(),
52
53
  });
53
54
  // `CONTRIBUTING.md`'s "all external input validated with Zod before use" - `cache.json` is
54
55
  // hand-editable, on-disk external input, same as `codemap.config.json` (src/core/config.ts).
@@ -1 +1 @@
1
- {"version":3,"file":"cache-schema.js","sourceRoot":"","sources":["../../../src/core/cache/cache-schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAyB,SAAS,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAChF,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,yFAAyF;AACzF,0FAA0F;AAC1F,+FAA+F;AAC/F,gFAAgF;AAChF,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACnB,CAAC,CAAC;AAEH,MAAM,gBAAgB,GAAG,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;AAE9C,MAAM,cAAc,GAAG,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;AAEzC,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC;IAChC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,UAAU,EAAE,gBAAgB;IAC5B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,QAAQ,EAAE,CAAC,CAAC,OAAO,EAAE;IACrB,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC,CAAC;AAEH,MAAM,0BAA0B,GAAG,CAAC,CAAC,kBAAkB,CAAC,MAAM,EAAE;IAC/D,CAAC,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC;IAC3D,CAAC,CAAC,MAA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BAAsB,CAAC;IAC3C,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC;CACtC,CAAC,CAAC;AAEH,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC;IACjC,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC;IACjC,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC;IAC7B,aAAa,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,aAAa,EAAE,iBAAiB,CAAC,CAAC,CAAC,QAAQ,EAAE;CACpE,CAAuC,CAAC;AAEzC,2FAA2F;AAC3F,6FAA6F;AAC7F,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC;IAChC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,KAAK,EAAE,CAAC,CAAC,MAAM,CACd,CAAC,CAAC,MAAM,EAAE,EACV,CAAC,CAAC,MAAM,CAAC;QACR,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;QACvB,gBAAgB,EAAE,sBAAsB;KACxC,CAAC,CACF;CACD,CAAC,CAAC;AAEH,8FAA8F;AAC9F,MAAM,UAAU,cAAc,CAAC,GAAY;IAC1C,MAAM,MAAM,GAAG,eAAe,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;IAC9C,OAAO,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;AACjD,CAAC"}
@@ -12,6 +12,7 @@ export interface EpochInputs {
12
12
  excludePatterns: string[];
13
13
  includeTests: boolean;
14
14
  dependencyFiles: Record<string, string>;
15
+ scipIndexes?: Record<string, string>;
15
16
  }
16
17
  export declare function computeEpoch(inputs: EpochInputs): string;
17
18
  export declare function loadCache(cachePath: string): CacheFile;
@@ -18,6 +18,7 @@ export function computeEpoch(inputs) {
18
18
  excludePatterns: [...inputs.excludePatterns].sort(),
19
19
  includeTests: inputs.includeTests,
20
20
  dependencyFiles: sortedEntries(inputs.dependencyFiles),
21
+ scipIndexes: sortedEntries(inputs.scipIndexes ?? {}),
21
22
  });
22
23
  return sha256Hex(payload);
23
24
  }
@@ -1 +1 @@
1
- {"version":3,"file":"extraction-cache.js","sourceRoot":"","sources":["../../../src/core/cache/extraction-cache.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAa7D,MAAM,WAAW,GAAc,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC;AAExD,SAAS,SAAS,CAAC,KAAwB;IAC1C,OAAO,MAAM,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AAChE,CAAC;AAaD,SAAS,aAAa,CAAC,MAA8B;IACpD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC;AACtE,CAAC;AAED,MAAM,UAAU,YAAY,CAAC,MAAmB;IAC/C,8FAA8F;IAC9F,oFAAoF;IACpF,MAAM,OAAO,GAAG,IAAI,CAAC,SAAS,CAAC;QAC9B,gBAAgB,EAAE,MAAM,CAAC,gBAAgB;QACzC,uBAAuB,EAAE,MAAM,CAAC,eAAe;QAC/C,eAAe,EAAE,CAAC,GAAG,MAAM,CAAC,eAAe,CAAC,CAAC,IAAI,EAAE;QACnD,YAAY,EAAE,MAAM,CAAC,YAAY;Q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