@microsoft/rayfin-docs 1.35.0-alpha.1368 → 1.35.0-alpha.1412
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/assets/catalog.json +25 -3
- package/dist/catalog-types.d.ts +20 -0
- package/dist/catalog.d.ts +5 -2
- package/dist/catalog.js +7 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +5 -0
- package/package.json +1 -1
package/assets/catalog.json
CHANGED
|
@@ -62,9 +62,10 @@
|
|
|
62
62
|
{
|
|
63
63
|
"name": "@microsoft/rayfin-storage",
|
|
64
64
|
"kind": "sdk",
|
|
65
|
-
"
|
|
65
|
+
"stability": "experimental",
|
|
66
|
+
"summary": "Experimental — type-safe blob storage client for Rayfin storage backends. Requires the `@blob()` decorator from `@microsoft/rayfin-core/experimental`.",
|
|
66
67
|
"topics": ["storage", "blob", "azure-blob", "file", "upload"],
|
|
67
|
-
"modules": []
|
|
68
|
+
"modules": ["rayfin-storage"]
|
|
68
69
|
},
|
|
69
70
|
{
|
|
70
71
|
"name": "@microsoft/rayfin-auth-provider-fabric",
|
|
@@ -73,6 +74,20 @@
|
|
|
73
74
|
"topics": ["fabric", "auth-provider", "token", "msal"],
|
|
74
75
|
"modules": ["rayfin-auth-provider-fabric"]
|
|
75
76
|
},
|
|
77
|
+
{
|
|
78
|
+
"name": "@microsoft/rayfin-app-state-fabric",
|
|
79
|
+
"kind": "sdk",
|
|
80
|
+
"summary": "Deep-link application state for Rayfin apps embedded in the Microsoft Fabric portal. Reads launch state and writes shareable, bookmarkable portal URLs.",
|
|
81
|
+
"topics": [
|
|
82
|
+
"fabric",
|
|
83
|
+
"deep-link",
|
|
84
|
+
"url-state",
|
|
85
|
+
"history",
|
|
86
|
+
"embedded",
|
|
87
|
+
"share"
|
|
88
|
+
],
|
|
89
|
+
"modules": ["rayfin-app-state-fabric"]
|
|
90
|
+
},
|
|
76
91
|
{
|
|
77
92
|
"name": "@microsoft/rayfin-connector-fabric-semanticmodel",
|
|
78
93
|
"kind": "sdk",
|
|
@@ -94,6 +109,13 @@
|
|
|
94
109
|
"topics": ["cli", "scaffolding", "init", "deploy", "docs"],
|
|
95
110
|
"modules": []
|
|
96
111
|
},
|
|
112
|
+
{
|
|
113
|
+
"name": "@microsoft/rayfin-local-dev",
|
|
114
|
+
"kind": "tool",
|
|
115
|
+
"summary": "Local-development adapters for Rayfin applications, including same-origin Vite routing to the Functions host selected by `rayfin dev`.",
|
|
116
|
+
"topics": ["local-development", "vite", "functions", "proxy"],
|
|
117
|
+
"modules": []
|
|
118
|
+
},
|
|
97
119
|
{
|
|
98
120
|
"name": "@microsoft/rayfin-mcp",
|
|
99
121
|
"kind": "tool",
|
|
@@ -124,7 +146,7 @@
|
|
|
124
146
|
{
|
|
125
147
|
"name": "@microsoft/rayfin-host-docs",
|
|
126
148
|
"kind": "host",
|
|
127
|
-
"summary": "Host service reference docs for Rayfin .NET hosting components (WebService, Auth,
|
|
149
|
+
"summary": "Host service reference docs for Rayfin .NET hosting components (WebService, Auth, DataApi, Function). Discovered via the rayfinDocs field.",
|
|
128
150
|
"topics": [
|
|
129
151
|
"host",
|
|
130
152
|
"dotnet",
|
package/dist/catalog-types.d.ts
CHANGED
|
@@ -18,12 +18,32 @@
|
|
|
18
18
|
* updates ship as `rayfin-docs` version bumps (no hosted endpoint).
|
|
19
19
|
*/
|
|
20
20
|
export type CatalogPackageKind = 'sdk' | 'tool' | 'guide' | 'host' | 'sample' | 'external';
|
|
21
|
+
/**
|
|
22
|
+
* Release stability of a catalog package.
|
|
23
|
+
*
|
|
24
|
+
* - `stable` — on the supported public surface; safe to recommend.
|
|
25
|
+
* - `experimental` — ships, but its API may change or be removed without
|
|
26
|
+
* a major-version bump. Present in the catalog so its docs are still
|
|
27
|
+
* discovered and searchable once installed, but never recommended by
|
|
28
|
+
* `discoverPackages(query)`.
|
|
29
|
+
*/
|
|
30
|
+
export type CatalogPackageStability = 'stable' | 'experimental';
|
|
21
31
|
/** A single entry in the catalog. */
|
|
22
32
|
export interface CatalogPackage {
|
|
23
33
|
/** Full npm name (e.g. `@microsoft/rayfin-core`). */
|
|
24
34
|
name: string;
|
|
25
35
|
/** Kind, used to group results in CLI/MCP surfaces. */
|
|
26
36
|
kind: CatalogPackageKind;
|
|
37
|
+
/**
|
|
38
|
+
* Release stability. Defaults to `stable` when omitted.
|
|
39
|
+
*
|
|
40
|
+
* Experimental packages stay in the catalog so
|
|
41
|
+
* `getKnownRayfinDocsPackages()` still probes them for the `rayfinDocs`
|
|
42
|
+
* field — their docs remain listable and searchable once installed —
|
|
43
|
+
* but {@link discoverPackages} filters them out so install
|
|
44
|
+
* recommendations never point at an unsupported surface.
|
|
45
|
+
*/
|
|
46
|
+
stability?: CatalogPackageStability;
|
|
27
47
|
/** One-line summary surfaced in discover results. */
|
|
28
48
|
summary: string;
|
|
29
49
|
/** Searchable topics - used by the relevance scorer in
|
package/dist/catalog.d.ts
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
* `assets/` directory. Updates are rolled out as `rayfin-docs` version
|
|
17
17
|
* bumps - there is no hosted-endpoint refresh path.
|
|
18
18
|
*/
|
|
19
|
-
export type { Catalog, CatalogPackage, CatalogPackageKind, } from './catalog-types.js';
|
|
19
|
+
export type { Catalog, CatalogPackage, CatalogPackageKind, CatalogPackageStability, } from './catalog-types.js';
|
|
20
20
|
import type { Catalog, CatalogPackage, CatalogPackageKind } from './catalog-types.js';
|
|
21
21
|
export declare function getCatalog(): Catalog;
|
|
22
22
|
/**
|
|
@@ -44,7 +44,10 @@ export interface DiscoverScore {
|
|
|
44
44
|
* alphabetical package name. Packages with score 0 are excluded.
|
|
45
45
|
* SDK catalog-only entries with no docs modules are also excluded so
|
|
46
46
|
* discover results never recommend installing an SDK package that cannot
|
|
47
|
-
* contribute searchable docs yet.
|
|
47
|
+
* contribute searchable docs yet. Packages marked
|
|
48
|
+
* `stability: 'experimental'` are excluded for the same reason — they
|
|
49
|
+
* stay in the catalog so their docs are still discovered once installed,
|
|
50
|
+
* but they are never surfaced as an install recommendation.
|
|
48
51
|
*
|
|
49
52
|
* Stop-words and tokens shorter than 3 chars are ignored to keep the
|
|
50
53
|
* signal-to-noise ratio high - the rare "auth" 4-char query still
|
package/dist/catalog.js
CHANGED
|
@@ -76,7 +76,10 @@ function freezeCatalog(data) {
|
|
|
76
76
|
* alphabetical package name. Packages with score 0 are excluded.
|
|
77
77
|
* SDK catalog-only entries with no docs modules are also excluded so
|
|
78
78
|
* discover results never recommend installing an SDK package that cannot
|
|
79
|
-
* contribute searchable docs yet.
|
|
79
|
+
* contribute searchable docs yet. Packages marked
|
|
80
|
+
* `stability: 'experimental'` are excluded for the same reason — they
|
|
81
|
+
* stay in the catalog so their docs are still discovered once installed,
|
|
82
|
+
* but they are never surfaced as an install recommendation.
|
|
80
83
|
*
|
|
81
84
|
* Stop-words and tokens shorter than 3 chars are ignored to keep the
|
|
82
85
|
* signal-to-noise ratio high - the rare "auth" 4-char query still
|
|
@@ -93,6 +96,9 @@ export function discoverPackages(query, catalog = getCatalog()) {
|
|
|
93
96
|
if (pkg.kind === 'sdk' && pkg.modules.length === 0) {
|
|
94
97
|
continue;
|
|
95
98
|
}
|
|
99
|
+
if (pkg.stability === 'experimental') {
|
|
100
|
+
continue;
|
|
101
|
+
}
|
|
96
102
|
let score = 0;
|
|
97
103
|
const matchedOn = [];
|
|
98
104
|
// Name substring match - strongest signal
|
package/dist/index.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ export declare function getKnownRayfinDocsPackages(): readonly string[];
|
|
|
36
36
|
export type { DocEntry, DocListItem, DocModule, DocSearchResult, DocSearchScope, DocSection, DocSectionRef, DocSource, DocKind, RayfinDocsManifest, } from './types.js';
|
|
37
37
|
export { type DiscoveredPackage, type DiscoveryResult, type DiscoveryOptions, type ManifestValidation, type TrustPredicate, defaultTrust, discoverRayfinDocsPackages, validateRayfinDocsManifest, docKindToModule, } from './discovery.js';
|
|
38
38
|
export type { DocsIndex, PrebuiltDocsIndex } from './search.js';
|
|
39
|
-
export { type Catalog, type CatalogPackage, type CatalogPackageKind, type DiscoverItem, type DiscoverScore, getCatalog, discoverPackages, mapDiscoverResult, deriveInstallCommand, deriveUpdateCommand, _resetCatalogForTesting, } from './catalog.js';
|
|
39
|
+
export { type Catalog, type CatalogPackage, type CatalogPackageKind, type CatalogPackageStability, type DiscoverItem, type DiscoverScore, getCatalog, discoverPackages, mapDiscoverResult, deriveInstallCommand, deriveUpdateCommand, _resetCatalogForTesting, } from './catalog.js';
|
|
40
40
|
export declare class DocsService {
|
|
41
41
|
private entries;
|
|
42
42
|
private entriesById;
|
package/dist/index.js
CHANGED
|
@@ -40,6 +40,11 @@ export const DOCS_DEFAULT_MODULES = ['guide', 'ts-sdk'];
|
|
|
40
40
|
* by `discoverRayfinDocsPackages`; catalog candidates not present in
|
|
41
41
|
* `node_modules` appear in `DiscoveryResult.notInstalled`.
|
|
42
42
|
*
|
|
43
|
+
* Experimental packages are deliberately still probed. `stability` only
|
|
44
|
+
* gates install recommendations in `discoverPackages(query)` — once a
|
|
45
|
+
* Builder has actually installed an experimental package, its docs
|
|
46
|
+
* should be listable and searchable like any other.
|
|
47
|
+
*
|
|
43
48
|
* **`--module ts-sdk` compatibility:** when a discovered package
|
|
44
49
|
* declares `kind: 'api-reference'`, its docs are tagged with the
|
|
45
50
|
* legacy `module: 'ts-sdk'` so existing CLI/MCP filters keep working
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/rayfin-docs",
|
|
3
|
-
"version": "1.35.0-alpha.
|
|
3
|
+
"version": "1.35.0-alpha.1412",
|
|
4
4
|
"description": "Rayfin docs indexing and search library — used by the MCP server, CLI, and other doc-facing surfaces",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|