@yanlinglabs/winter-provider-catalog 0.0.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 +21 -0
- package/NOTICE +59 -0
- package/PROVENANCE.md +598 -0
- package/README.md +46 -0
- package/UPSTREAM.json +10 -0
- package/dist/extract/fetch.d.ts +62 -0
- package/dist/extract/ledgers.d.ts +113 -0
- package/dist/extract/literal-extractor.d.ts +94 -0
- package/dist/extract/merge.d.ts +213 -0
- package/dist/families.d.ts +55 -0
- package/dist/families.js +30 -0
- package/dist/index-t40pzh81.js +94 -0
- package/dist/index.d.ts +19 -0
- package/dist/index.js +40027 -0
- package/dist/types.d.ts +385 -0
- package/dist/validate.d.ts +98 -0
- package/generated/catalog.json +39282 -0
- package/generated/denominator.json +65 -0
- package/generated/rejections.json +5780 -0
- package/generated/upstream-layer.json +37125 -0
- package/overlay/families.json +600 -0
- package/overlay/models.json +4691 -0
- package/overlay/providers.json +2383 -0
- package/package.json +50 -0
- package/schema/catalog.schema.json +238 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 yanlingLabs
|
|
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.
|
package/NOTICE
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
NOTICE — third-party material in @yanlinglabs/winter-provider-catalog
|
|
2
|
+
====================================================================
|
|
3
|
+
|
|
4
|
+
NO THIRD-PARTY SOURCE CODE. As of this file's writing, this package contains no third-party source
|
|
5
|
+
code, and no file in it was copied from any upstream project.
|
|
6
|
+
|
|
7
|
+
Two upstream files ARE copied into this repository — but into `third_party/`, not here:
|
|
8
|
+
|
|
9
|
+
third_party/omniroute-provider-source/LICENSE <- OmniRoute's root LICENSE (MIT), verbatim
|
|
10
|
+
third_party/omniroute-provider-source/NOTICE <- OmniRoute's THIRD_PARTY_NOTICES.md, verbatim
|
|
11
|
+
|
|
12
|
+
Both are registered with their upstream path, git blob id, sha256 and byte count in
|
|
13
|
+
`third_party/omniroute-provider-source/extraction-manifest.json`, under `copiedFiles`, with
|
|
14
|
+
`modifications: "none"`.
|
|
15
|
+
|
|
16
|
+
Why the file exists anyway
|
|
17
|
+
--------------------------
|
|
18
|
+
|
|
19
|
+
WS-13 §5 permits a narrow, deliberate exception: a *pure helper* may be copied from the OmniRoute
|
|
20
|
+
provider corpus with clean per-file provenance. WS-13 §13's acceptance list then requires "notices
|
|
21
|
+
cover copied files". This NOTICE is that register. It is empty of code entries on purpose, and an
|
|
22
|
+
empty register is a stronger statement than a missing one: it says the exception has not been used,
|
|
23
|
+
rather than leaving a reader to guess.
|
|
24
|
+
|
|
25
|
+
If a future lane copies such a file, it appends an entry here naming the file, the upstream project,
|
|
26
|
+
the exact commit, the upstream path, and the licence — and the copy is not merged without it.
|
|
27
|
+
|
|
28
|
+
What IS derived from upstream, and how
|
|
29
|
+
--------------------------------------
|
|
30
|
+
|
|
31
|
+
Catalog DATA (provider ids, endpoint templates, protocol families, auth kinds, model rows) is
|
|
32
|
+
extracted from the pinned upstream tree into `generated/upstream-layer.json` and merged into
|
|
33
|
+
`generated/catalog.json`. That is inert data, not code. Nothing in this package or anywhere in
|
|
34
|
+
Winter imports, evaluates, or executes an upstream module: the extractor
|
|
35
|
+
(`src/extract/literal-extractor.ts`) hands file TEXT to the TypeScript parser and walks object and
|
|
36
|
+
array literals, rejecting every executable value into `generated/rejections.json`. WS-13 §13 states
|
|
37
|
+
the rule directly — "no executable upstream URL builders", and "a catalog entry alone never causes
|
|
38
|
+
code download or execution". Adapter behaviour is Winter-authored per protocol family (WS-13 §5),
|
|
39
|
+
proven by the behavioural corpus.
|
|
40
|
+
|
|
41
|
+
The extraction materialized 309 upstream files into a scratch checkout outside this repository and
|
|
42
|
+
deleted it before the run finished. The two files listed above are the only ones that survived.
|
|
43
|
+
|
|
44
|
+
The pinned source
|
|
45
|
+
-----------------
|
|
46
|
+
|
|
47
|
+
repository https://github.com/diegosouzapw/OmniRoute
|
|
48
|
+
tag v3.8.50
|
|
49
|
+
tag object 6f5d4e00e817bc01b2ac16fdd66db3840c296416 (the ANNOTATED TAG, not a commit)
|
|
50
|
+
commit 5458026c216f77a3da68ea49152dc33470cfe2cb (the tag, peeled)
|
|
51
|
+
licence MIT, Copyright (c) 2026 diegosouzapw
|
|
52
|
+
|
|
53
|
+
The MIT licence covers the source it was applied to. It does NOT grant permission to use a
|
|
54
|
+
provider's consumer subscription, to copy user credentials from another product, to reach private or
|
|
55
|
+
reverse-engineered endpoints, or any trademark right in provider names or logos. The provider logo
|
|
56
|
+
tree is deliberately not imported by this work (report §12), and per-file intake review remains
|
|
57
|
+
mandatory even under an MIT root — the audited upstream head carries retirement migrations for
|
|
58
|
+
GPL-derived and provenance-hold integrations, which at this pinned tag have not yet landed
|
|
59
|
+
(see PROVENANCE.md).
|