softwareobservatory 0.2.0 → 0.2.1

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-CODE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Justin Abrahms
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.
@@ -0,0 +1,451 @@
1
+ Software Observatory catalog content
2
+ Copyright (c) 2026 Justin Abrahms
3
+
4
+ Licensed under the Creative Commons Attribution-ShareAlike 4.0 International
5
+ License (CC BY-SA 4.0). SPDX-License-Identifier: CC-BY-SA-4.0
6
+
7
+ This license covers the catalog content: the sensor entries in
8
+ content/sensors/*.md, the prose generated from them (the published HTML pages,
9
+ md/, rss.xml, llms.txt), and the catalog data derived from them, including
10
+ cli/data/sensors.json. Code in this repository -- scripts/, cli/ (except
11
+ cli/data/), css/, js/ -- is licensed separately under the MIT License; see
12
+ LICENSE-CODE.
13
+
14
+ Suggested attribution:
15
+ "Software Observatory" by Justin Abrahms (https://softwareobservatory.com),
16
+ licensed under CC BY-SA 4.0
17
+ (https://creativecommons.org/licenses/by-sa/4.0/).
18
+
19
+ The scope note above is not part of the license text. The complete legal code
20
+ of CC BY-SA 4.0 follows.
21
+
22
+ -----------------------------------------------------------------------
23
+
24
+ Attribution-ShareAlike 4.0 International
25
+
26
+ =======================================================================
27
+
28
+ Creative Commons Corporation ("Creative Commons") is not a law firm and
29
+ does not provide legal services or legal advice. Distribution of
30
+ Creative Commons public licenses does not create a lawyer-client or
31
+ other relationship. Creative Commons makes its licenses and related
32
+ information available on an "as-is" basis. Creative Commons gives no
33
+ warranties regarding its licenses, any material licensed under their
34
+ terms and conditions, or any related information. Creative Commons
35
+ disclaims all liability for damages resulting from their use to the
36
+ fullest extent possible.
37
+
38
+ Using Creative Commons Public Licenses
39
+
40
+ Creative Commons public licenses provide a standard set of terms and
41
+ conditions that creators and other rights holders may use to share
42
+ original works of authorship and other material subject to copyright
43
+ and certain other rights specified in the public license below. The
44
+ following considerations are for informational purposes only, are not
45
+ exhaustive, and do not form part of our licenses.
46
+
47
+ Considerations for licensors: Our public licenses are
48
+ intended for use by those authorized to give the public
49
+ permission to use material in ways otherwise restricted by
50
+ copyright and certain other rights. Our licenses are
51
+ irrevocable. Licensors should read and understand the terms
52
+ and conditions of the license they choose before applying it.
53
+ Licensors should also secure all rights necessary before
54
+ applying our licenses so that the public can reuse the
55
+ material as expected. Licensors should clearly mark any
56
+ material not subject to the license. This includes other CC-
57
+ licensed material, or material used under an exception or
58
+ limitation to copyright. More considerations for licensors:
59
+ wiki.creativecommons.org/Considerations_for_licensors
60
+
61
+ Considerations for the public: By using one of our public
62
+ licenses, a licensor grants the public permission to use the
63
+ licensed material under specified terms and conditions. If
64
+ the licensor's permission is not necessary for any reason--for
65
+ example, because of any applicable exception or limitation to
66
+ copyright--then that use is not regulated by the license. Our
67
+ licenses grant only permissions under copyright and certain
68
+ other rights that a licensor has authority to grant. Use of
69
+ the licensed material may still be restricted for other
70
+ reasons, including because others have copyright or other
71
+ rights in the material. A licensor may make special requests,
72
+ such as asking that all changes be marked or described.
73
+ Although not required by our licenses, you are encouraged to
74
+ respect those requests where reasonable. More considerations
75
+ for the public:
76
+ wiki.creativecommons.org/Considerations_for_licensees
77
+
78
+ =======================================================================
79
+
80
+ Creative Commons Attribution-ShareAlike 4.0 International Public
81
+ License
82
+
83
+ By exercising the Licensed Rights (defined below), You accept and agree
84
+ to be bound by the terms and conditions of this Creative Commons
85
+ Attribution-ShareAlike 4.0 International Public License ("Public
86
+ License"). To the extent this Public License may be interpreted as a
87
+ contract, You are granted the Licensed Rights in consideration of Your
88
+ acceptance of these terms and conditions, and the Licensor grants You
89
+ such rights in consideration of benefits the Licensor receives from
90
+ making the Licensed Material available under these terms and
91
+ conditions.
92
+
93
+
94
+ Section 1 -- Definitions.
95
+
96
+ a. Adapted Material means material subject to Copyright and Similar
97
+ Rights that is derived from or based upon the Licensed Material
98
+ and in which the Licensed Material is translated, altered,
99
+ arranged, transformed, or otherwise modified in a manner requiring
100
+ permission under the Copyright and Similar Rights held by the
101
+ Licensor. For purposes of this Public License, where the Licensed
102
+ Material is a musical work, performance, or sound recording,
103
+ Adapted Material is always produced where the Licensed Material is
104
+ synched in timed relation with a moving image.
105
+
106
+ b. Adapter's License means the license You apply to Your Copyright
107
+ and Similar Rights in Your contributions to Adapted Material in
108
+ accordance with the terms and conditions of this Public License.
109
+
110
+ c. BY-SA Compatible License means a license listed at
111
+ creativecommons.org/compatiblelicenses, approved by Creative
112
+ Commons as essentially the equivalent of this Public License.
113
+
114
+ d. Copyright and Similar Rights means copyright and/or similar rights
115
+ closely related to copyright including, without limitation,
116
+ performance, broadcast, sound recording, and Sui Generis Database
117
+ Rights, without regard to how the rights are labeled or
118
+ categorized. For purposes of this Public License, the rights
119
+ specified in Section 2(b)(1)-(2) are not Copyright and Similar
120
+ Rights.
121
+
122
+ e. Effective Technological Measures means those measures that, in the
123
+ absence of proper authority, may not be circumvented under laws
124
+ fulfilling obligations under Article 11 of the WIPO Copyright
125
+ Treaty adopted on December 20, 1996, and/or similar international
126
+ agreements.
127
+
128
+ f. Exceptions and Limitations means fair use, fair dealing, and/or
129
+ any other exception or limitation to Copyright and Similar Rights
130
+ that applies to Your use of the Licensed Material.
131
+
132
+ g. License Elements means the license attributes listed in the name
133
+ of a Creative Commons Public License. The License Elements of this
134
+ Public License are Attribution and ShareAlike.
135
+
136
+ h. Licensed Material means the artistic or literary work, database,
137
+ or other material to which the Licensor applied this Public
138
+ License.
139
+
140
+ i. Licensed Rights means the rights granted to You subject to the
141
+ terms and conditions of this Public License, which are limited to
142
+ all Copyright and Similar Rights that apply to Your use of the
143
+ Licensed Material and that the Licensor has authority to license.
144
+
145
+ j. Licensor means the individual(s) or entity(ies) granting rights
146
+ under this Public License.
147
+
148
+ k. Share means to provide material to the public by any means or
149
+ process that requires permission under the Licensed Rights, such
150
+ as reproduction, public display, public performance, distribution,
151
+ dissemination, communication, or importation, and to make material
152
+ available to the public including in ways that members of the
153
+ public may access the material from a place and at a time
154
+ individually chosen by them.
155
+
156
+ l. Sui Generis Database Rights means rights other than copyright
157
+ resulting from Directive 96/9/EC of the European Parliament and of
158
+ the Council of 11 March 1996 on the legal protection of databases,
159
+ as amended and/or succeeded, as well as other essentially
160
+ equivalent rights anywhere in the world.
161
+
162
+ m. You means the individual or entity exercising the Licensed Rights
163
+ under this Public License. Your has a corresponding meaning.
164
+
165
+
166
+ Section 2 -- Scope.
167
+
168
+ a. License grant.
169
+
170
+ 1. Subject to the terms and conditions of this Public License,
171
+ the Licensor hereby grants You a worldwide, royalty-free,
172
+ non-sublicensable, non-exclusive, irrevocable license to
173
+ exercise the Licensed Rights in the Licensed Material to:
174
+
175
+ a. reproduce and Share the Licensed Material, in whole or
176
+ in part; and
177
+
178
+ b. produce, reproduce, and Share Adapted Material.
179
+
180
+ 2. Exceptions and Limitations. For the avoidance of doubt, where
181
+ Exceptions and Limitations apply to Your use, this Public
182
+ License does not apply, and You do not need to comply with
183
+ its terms and conditions.
184
+
185
+ 3. Term. The term of this Public License is specified in Section
186
+ 6(a).
187
+
188
+ 4. Media and formats; technical modifications allowed. The
189
+ Licensor authorizes You to exercise the Licensed Rights in
190
+ all media and formats whether now known or hereafter created,
191
+ and to make technical modifications necessary to do so. The
192
+ Licensor waives and/or agrees not to assert any right or
193
+ authority to forbid You from making technical modifications
194
+ necessary to exercise the Licensed Rights, including
195
+ technical modifications necessary to circumvent Effective
196
+ Technological Measures. For purposes of this Public License,
197
+ simply making modifications authorized by this Section 2(a)
198
+ (4) never produces Adapted Material.
199
+
200
+ 5. Downstream recipients.
201
+
202
+ a. Offer from the Licensor -- Licensed Material. Every
203
+ recipient of the Licensed Material automatically
204
+ receives an offer from the Licensor to exercise the
205
+ Licensed Rights under the terms and conditions of this
206
+ Public License.
207
+
208
+ b. Additional offer from the Licensor -- Adapted Material.
209
+ Every recipient of Adapted Material from You
210
+ automatically receives an offer from the Licensor to
211
+ exercise the Licensed Rights in the Adapted Material
212
+ under the conditions of the Adapter's License You apply.
213
+
214
+ c. No downstream restrictions. You may not offer or impose
215
+ any additional or different terms or conditions on, or
216
+ apply any Effective Technological Measures to, the
217
+ Licensed Material if doing so restricts exercise of the
218
+ Licensed Rights by any recipient of the Licensed
219
+ Material.
220
+
221
+ 6. No endorsement. Nothing in this Public License constitutes or
222
+ may be construed as permission to assert or imply that You
223
+ are, or that Your use of the Licensed Material is, connected
224
+ with, or sponsored, endorsed, or granted official status by,
225
+ the Licensor or others designated to receive attribution as
226
+ provided in Section 3(a)(1)(A)(i).
227
+
228
+ b. Other rights.
229
+
230
+ 1. Moral rights, such as the right of integrity, are not
231
+ licensed under this Public License, nor are publicity,
232
+ privacy, and/or other similar personality rights; however, to
233
+ the extent possible, the Licensor waives and/or agrees not to
234
+ assert any such rights held by the Licensor to the limited
235
+ extent necessary to allow You to exercise the Licensed
236
+ Rights, but not otherwise.
237
+
238
+ 2. Patent and trademark rights are not licensed under this
239
+ Public License.
240
+
241
+ 3. To the extent possible, the Licensor waives any right to
242
+ collect royalties from You for the exercise of the Licensed
243
+ Rights, whether directly or through a collecting society
244
+ under any voluntary or waivable statutory or compulsory
245
+ licensing scheme. In all other cases the Licensor expressly
246
+ reserves any right to collect such royalties.
247
+
248
+
249
+ Section 3 -- License Conditions.
250
+
251
+ Your exercise of the Licensed Rights is expressly made subject to the
252
+ following conditions.
253
+
254
+ a. Attribution.
255
+
256
+ 1. If You Share the Licensed Material (including in modified
257
+ form), You must:
258
+
259
+ a. retain the following if it is supplied by the Licensor
260
+ with the Licensed Material:
261
+
262
+ i. identification of the creator(s) of the Licensed
263
+ Material and any others designated to receive
264
+ attribution, in any reasonable manner requested by
265
+ the Licensor (including by pseudonym if
266
+ designated);
267
+
268
+ ii. a copyright notice;
269
+
270
+ iii. a notice that refers to this Public License;
271
+
272
+ iv. a notice that refers to the disclaimer of
273
+ warranties;
274
+
275
+ v. a URI or hyperlink to the Licensed Material to the
276
+ extent reasonably practicable;
277
+
278
+ b. indicate if You modified the Licensed Material and
279
+ retain an indication of any previous modifications; and
280
+
281
+ c. indicate the Licensed Material is licensed under this
282
+ Public License, and include the text of, or the URI or
283
+ hyperlink to, this Public License.
284
+
285
+ 2. You may satisfy the conditions in Section 3(a)(1) in any
286
+ reasonable manner based on the medium, means, and context in
287
+ which You Share the Licensed Material. For example, it may be
288
+ reasonable to satisfy the conditions by providing a URI or
289
+ hyperlink to a resource that includes the required
290
+ information.
291
+
292
+ 3. If requested by the Licensor, You must remove any of the
293
+ information required by Section 3(a)(1)(A) to the extent
294
+ reasonably practicable.
295
+
296
+ b. ShareAlike.
297
+
298
+ In addition to the conditions in Section 3(a), if You Share
299
+ Adapted Material You produce, the following conditions also apply.
300
+
301
+ 1. The Adapter's License You apply must be a Creative Commons
302
+ license with the same License Elements, this version or
303
+ later, or a BY-SA Compatible License.
304
+
305
+ 2. You must include the text of, or the URI or hyperlink to, the
306
+ Adapter's License You apply. You may satisfy this condition
307
+ in any reasonable manner based on the medium, means, and
308
+ context in which You Share Adapted Material.
309
+
310
+ 3. You may not offer or impose any additional or different terms
311
+ or conditions on, or apply any Effective Technological
312
+ Measures to, Adapted Material that restrict exercise of the
313
+ rights granted under the Adapter's License You apply.
314
+
315
+
316
+ Section 4 -- Sui Generis Database Rights.
317
+
318
+ Where the Licensed Rights include Sui Generis Database Rights that
319
+ apply to Your use of the Licensed Material:
320
+
321
+ a. for the avoidance of doubt, Section 2(a)(1) grants You the right
322
+ to extract, reuse, reproduce, and Share all or a substantial
323
+ portion of the contents of the database;
324
+
325
+ b. if You include all or a substantial portion of the database
326
+ contents in a database in which You have Sui Generis Database
327
+ Rights, then the database in which You have Sui Generis Database
328
+ Rights (but not its individual contents) is Adapted Material,
329
+ including for purposes of Section 3(b); and
330
+
331
+ c. You must comply with the conditions in Section 3(a) if You Share
332
+ all or a substantial portion of the contents of the database.
333
+
334
+ For the avoidance of doubt, this Section 4 supplements and does not
335
+ replace Your obligations under this Public License where the Licensed
336
+ Rights include other Copyright and Similar Rights.
337
+
338
+
339
+ Section 5 -- Disclaimer of Warranties and Limitation of Liability.
340
+
341
+ a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
342
+ EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
343
+ AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
344
+ ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
345
+ IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
346
+ WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
347
+ PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
348
+ ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
349
+ KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
350
+ ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
351
+
352
+ b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
353
+ TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
354
+ NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
355
+ INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
356
+ COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
357
+ USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
358
+ ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
359
+ DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
360
+ IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
361
+
362
+ c. The disclaimer of warranties and limitation of liability provided
363
+ above shall be interpreted in a manner that, to the extent
364
+ possible, most closely approximates an absolute disclaimer and
365
+ waiver of all liability.
366
+
367
+
368
+ Section 6 -- Term and Termination.
369
+
370
+ a. This Public License applies for the term of the Copyright and
371
+ Similar Rights licensed here. However, if You fail to comply with
372
+ this Public License, then Your rights under this Public License
373
+ terminate automatically.
374
+
375
+ b. Where Your right to use the Licensed Material has terminated under
376
+ Section 6(a), it reinstates:
377
+
378
+ 1. automatically as of the date the violation is cured, provided
379
+ it is cured within 30 days of Your discovery of the
380
+ violation; or
381
+
382
+ 2. upon express reinstatement by the Licensor.
383
+
384
+ For the avoidance of doubt, this Section 6(b) does not affect any
385
+ right the Licensor may have to seek remedies for Your violations
386
+ of this Public License.
387
+
388
+ c. For the avoidance of doubt, the Licensor may also offer the
389
+ Licensed Material under separate terms or conditions or stop
390
+ distributing the Licensed Material at any time; however, doing so
391
+ will not terminate this Public License.
392
+
393
+ d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
394
+ License.
395
+
396
+
397
+ Section 7 -- Other Terms and Conditions.
398
+
399
+ a. The Licensor shall not be bound by any additional or different
400
+ terms or conditions communicated by You unless expressly agreed.
401
+
402
+ b. Any arrangements, understandings, or agreements regarding the
403
+ Licensed Material not stated herein are separate from and
404
+ independent of the terms and conditions of this Public License.
405
+
406
+
407
+ Section 8 -- Interpretation.
408
+
409
+ a. For the avoidance of doubt, this Public License does not, and
410
+ shall not be interpreted to, reduce, limit, restrict, or impose
411
+ conditions on any use of the Licensed Material that could lawfully
412
+ be made without permission under this Public License.
413
+
414
+ b. To the extent possible, if any provision of this Public License is
415
+ deemed unenforceable, it shall be automatically reformed to the
416
+ minimum extent necessary to make it enforceable. If the provision
417
+ cannot be reformed, it shall be severed from this Public License
418
+ without affecting the enforceability of the remaining terms and
419
+ conditions.
420
+
421
+ c. No term or condition of this Public License will be waived and no
422
+ failure to comply consented to unless expressly agreed to by the
423
+ Licensor.
424
+
425
+ d. Nothing in this Public License constitutes or may be interpreted
426
+ as a limitation upon, or waiver of, any privileges and immunities
427
+ that apply to the Licensor or You, including from the legal
428
+ processes of any jurisdiction or authority.
429
+
430
+
431
+ =======================================================================
432
+
433
+ Creative Commons is not a party to its public
434
+ licenses. Notwithstanding, Creative Commons may elect to apply one of
435
+ its public licenses to material it publishes and in those instances
436
+ will be considered the “Licensor.” The text of the Creative Commons
437
+ public licenses is dedicated to the public domain under the CC0 Public
438
+ Domain Dedication. Except for the limited purpose of indicating that
439
+ material is shared under a Creative Commons public license or as
440
+ otherwise permitted by the Creative Commons policies published at
441
+ creativecommons.org/policies, Creative Commons does not authorize the
442
+ use of the trademark "Creative Commons" or any other trademark or logo
443
+ of Creative Commons without its prior written consent including,
444
+ without limitation, in connection with any unauthorized modifications
445
+ to any of its public licenses or any other arrangements,
446
+ understandings, or agreements concerning use of licensed material. For
447
+ the avoidance of doubt, this paragraph does not form part of the
448
+ public licenses.
449
+
450
+ Creative Commons may be contacted at creativecommons.org.
451
+
package/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # softwareobservatory
2
2
 
3
3
  CLI and MCP server for querying the [Software
4
- Observatory](https://softwareobservatory.com) catalog: 56 "epistemic sensors"
5
- for software correctness, organized into 11 families. The full catalog ships
4
+ Observatory](https://softwareobservatory.com) catalog: 59 "epistemic sensors"
5
+ for software correctness, organized into 10 families. The full catalog ships
6
6
  inside the package, so every command works offline.
7
7
 
8
8
  Built to be driven by agents as well as humans: stdout is JSON whenever it is
@@ -26,7 +26,7 @@ $ npx softwareobservatory values oracle
26
26
  | Command | Description |
27
27
  |---------|-------------|
28
28
  | `list [--family <slug>]` | List sensors, optionally within one family. |
29
- | `families` | List the 11 sensor families with counts. |
29
+ | `families` | List the 10 sensor families with counts. |
30
30
  | `get <id\|slug\|title>` | One sensor in full: frontmatter, entry text, related entries. |
31
31
  | `search <term...>` | Substring search over titles and entry text, ranked. |
32
32
  | `values <field>` | Distinct values of a frontmatter field (`oracle`, `latency`, `type`, `stack_level`, ...). |
@@ -72,3 +72,37 @@ Example MCP client config (Claude Code, Crush, etc.):
72
72
  `scripts/export_cli_data.py` (which `scripts/build.py` runs on every build) and
73
73
  committed so the package can be published straight from the repo. Dataset
74
74
  schema is versioned (`version` field); the CLI prints it via `version`.
75
+
76
+ ## License
77
+
78
+ This package is dual-licensed, and the split is by file:
79
+
80
+ | Files | License | SPDX |
81
+ |-------|---------|------|
82
+ | `bin/`, `lib/` — the CLI and MCP server | MIT (`LICENSE-CODE`) | `MIT` |
83
+ | `data/sensors.json` — the catalog data | CC BY-SA 4.0 (`LICENSE-CONTENT`) | `CC-BY-SA-4.0` |
84
+
85
+ The `license` field in `package.json` is `MIT` because that is the license of
86
+ the software npm installs and runs. `data/sensors.json` is catalog *content*,
87
+ not code: it is the Software Observatory sensor entries in machine-readable
88
+ form, and it stays under [CC BY-SA
89
+ 4.0](https://creativecommons.org/licenses/by-sa/4.0/) inside this package.
90
+
91
+ In practice:
92
+
93
+ - **Installing, running, embedding, or vendoring the CLI or MCP server** — MIT
94
+ terms only. Keep the copyright notice; do whatever else you like.
95
+ - **Reading the data at runtime** to answer questions, suggest sensors, or
96
+ drive an agent — no obligations. Using CC-licensed data is not distributing
97
+ it.
98
+ - **Republishing the catalog content itself** — the entries, their prose, or a
99
+ derived catalog — requires attribution and ShareAlike under CC BY-SA 4.0.
100
+
101
+ Attribution string for content reuse:
102
+
103
+ > "Software Observatory" by [Justin Abrahms](https://justin.abrah.ms/),
104
+ > <https://softwareobservatory.com>, licensed under [CC BY-SA
105
+ > 4.0](https://creativecommons.org/licenses/by-sa/4.0/).
106
+
107
+ Both license texts ship in the published tarball (`LICENSE-CODE`,
108
+ `LICENSE-CONTENT`); they are copies of the files at the repository root.
@@ -79,19 +79,19 @@ function searchSensors(terms) {
79
79
  const needle = terms.join(" ").toLowerCase();
80
80
  if (!needle) return [];
81
81
  return loadData().sensors.filter(
82
- (s) => s.title.toLowerCase().includes(needle) || s.body_text.includes(needle)
82
+ (s) => s.title.toLowerCase().includes(needle) || s.body_text.toLowerCase().includes(needle)
83
83
  );
84
84
  }
85
85
 
86
86
  function scoreSearch(sensor, needle) {
87
87
  let score = 0;
88
88
  if (sensor.title.toLowerCase().includes(needle)) score += 10;
89
- const occurrences = sensor.body_text.split(needle).length - 1;
89
+ const occurrences = sensor.body_text.toLowerCase().split(needle).length - 1;
90
90
  return score + Math.min(occurrences, 5);
91
91
  }
92
92
 
93
93
  function snippet(sensor, needle) {
94
- const index = sensor.body_text.indexOf(needle);
94
+ const index = sensor.body_text.toLowerCase().indexOf(needle);
95
95
  if (index === -1) return sensor.body_text.slice(0, 120).trim() + "...";
96
96
  const start = Math.max(0, index - 60);
97
97
  const end = Math.min(sensor.body_text.length, index + needle.length + 60);