@intentius/chant 0.37.0 → 0.38.0
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/dist/cli/commands/check-lexicon-mcp.d.ts +44 -0
- package/dist/cli/commands/check-lexicon-mcp.d.ts.map +1 -0
- package/dist/cli/commands/check-lexicon-plugin.d.ts +57 -0
- package/dist/cli/commands/check-lexicon-plugin.d.ts.map +1 -0
- package/dist/cli/commands/check-lexicon.d.ts.map +1 -1
- package/dist/cli/handlers/emulator.d.ts.map +1 -1
- package/dist/cli/handlers/graph.d.ts.map +1 -1
- package/dist/cli/handlers/lifecycle.d.ts.map +1 -1
- package/dist/cli/mcp/server.d.ts +26 -2
- package/dist/cli/mcp/server.d.ts.map +1 -1
- package/dist/codegen/docs-rule-scanning.d.ts.map +1 -1
- package/dist/codegen/docs-sections.d.ts.map +1 -1
- package/dist/codegen/docs-sidebar.d.ts.map +1 -1
- package/dist/codegen/docs.d.ts +11 -0
- package/dist/codegen/docs.d.ts.map +1 -1
- package/dist/lexicon.d.ts +66 -37
- package/dist/lexicon.d.ts.map +1 -1
- package/dist/live-endpoint.d.ts +21 -22
- package/dist/live-endpoint.d.ts.map +1 -1
- package/dist/op/emulator-freshness.d.ts +44 -0
- package/dist/op/emulator-freshness.d.ts.map +1 -0
- package/dist/op/emulator-lifecycle.d.ts +36 -0
- package/dist/op/emulator-lifecycle.d.ts.map +1 -1
- package/dist/op/index.d.ts +4 -2
- package/dist/op/index.d.ts.map +1 -1
- package/dist/ownership.d.ts +33 -0
- package/dist/ownership.d.ts.map +1 -1
- package/dist/serializer.d.ts +15 -0
- package/dist/serializer.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/audit/catalog.test.ts +58 -6
- package/src/cli/commands/check-lexicon-doc-drift.test.ts +73 -0
- package/src/cli/commands/check-lexicon-mcp.test.ts +93 -0
- package/src/cli/commands/check-lexicon-mcp.ts +103 -0
- package/src/cli/commands/check-lexicon-plugin.test.ts +149 -0
- package/src/cli/commands/check-lexicon-plugin.ts +115 -0
- package/src/cli/commands/check-lexicon.ts +157 -26
- package/src/cli/handlers/components.test.ts +17 -0
- package/src/cli/handlers/components.ts +1 -1
- package/src/cli/handlers/emulator.ts +12 -8
- package/src/cli/handlers/graph.test.ts +71 -12
- package/src/cli/handlers/graph.ts +46 -5
- package/src/cli/handlers/lifecycle.test.ts +25 -4
- package/src/cli/handlers/lifecycle.ts +9 -3
- package/src/cli/mcp/server.test.ts +82 -0
- package/src/cli/mcp/server.ts +40 -5
- package/src/codegen/docs-rule-scanning.ts +12 -3
- package/src/codegen/docs-sections.ts +5 -3
- package/src/codegen/docs-sidebar.ts +8 -2
- package/src/codegen/docs.ts +19 -0
- package/src/lexicon-doc-coverage.test.ts +128 -0
- package/src/lexicon-seams.test.ts +113 -0
- package/src/lexicon.ts +68 -38
- package/src/live-endpoint.test.ts +51 -12
- package/src/live-endpoint.ts +32 -33
- package/src/op/emulator-declaration.test.ts +63 -0
- package/src/op/emulator-freshness.test.ts +135 -0
- package/src/op/emulator-freshness.ts +102 -0
- package/src/op/emulator-lifecycle.ts +49 -0
- package/src/op/index.ts +4 -2
- package/src/ownership.ts +41 -0
- package/src/serializer.ts +16 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Audit of the names a lexicon's MCP contributions are registered under (#1341).
|
|
3
|
+
*
|
|
4
|
+
* Core namespaces every contribution — `<lexicon>:<verb>` for a tool,
|
|
5
|
+
* `chant://<lexicon>/<path>` for a resource — but core is not the only place
|
|
6
|
+
* that applies a prefix. `createDiffTool`/`createCatalogResource`
|
|
7
|
+
* (../../lexicon-plugin-helpers.ts) emit `<lexicon>:diff` and
|
|
8
|
+
* `<lexicon>:resource-catalog`, eleven lexicons write the prefix into the name
|
|
9
|
+
* by hand, and `lexicon-authoring/lsp-mcp.mdx` taught a third form for URIs.
|
|
10
|
+
* Applying the namespace unconditionally shipped `gitlab:gitlab:diff`,
|
|
11
|
+
* `aws:aws:diff`, and `chant://azure/chant://lexicon/azure/catalog` in every
|
|
12
|
+
* `chant serve mcp` session, while every doc named the single-prefixed form.
|
|
13
|
+
*
|
|
14
|
+
* The rule this checks is the one an agent experiences, not the one a lexicon
|
|
15
|
+
* author typed: whatever the declaration style, the registered name must be a
|
|
16
|
+
* single well-formed namespaced identifier. That keeps the check indifferent to
|
|
17
|
+
* which of the three authored forms a lexicon uses, and still fails the moment a
|
|
18
|
+
* name doubles or carries an embedded scheme.
|
|
19
|
+
*/
|
|
20
|
+
export interface McpNameAudit {
|
|
21
|
+
/** How many tools + resources were examined. */
|
|
22
|
+
checked: number;
|
|
23
|
+
/** One human-readable line per malformed registered name. */
|
|
24
|
+
violations: string[];
|
|
25
|
+
/** False when the lexicon could not be loaded — the audit is then vacuous. */
|
|
26
|
+
loaded: boolean;
|
|
27
|
+
}
|
|
28
|
+
/** `@intentius/chant-lexicon-aws` → `aws`; falls back to the directory name. */
|
|
29
|
+
export declare function lexiconNameFor(dir: string): string;
|
|
30
|
+
/**
|
|
31
|
+
* The malformed registered names among a lexicon's contributions. Pure, so the
|
|
32
|
+
* rule can be tested without loading a lexicon package.
|
|
33
|
+
*/
|
|
34
|
+
export declare function mcpNameViolations(lexicon: string, tools: Array<{
|
|
35
|
+
name: string;
|
|
36
|
+
}>, resources: Array<{
|
|
37
|
+
uri: string;
|
|
38
|
+
}>): string[];
|
|
39
|
+
/**
|
|
40
|
+
* Register this lexicon's MCP contributions the way the server does and check
|
|
41
|
+
* the resulting names.
|
|
42
|
+
*/
|
|
43
|
+
export declare function auditMcpNames(dir: string): Promise<McpNameAudit>;
|
|
44
|
+
//# sourceMappingURL=check-lexicon-mcp.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"check-lexicon-mcp.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/check-lexicon-mcp.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAMH,MAAM,WAAW,YAAY;IAC3B,gDAAgD;IAChD,OAAO,EAAE,MAAM,CAAC;IAChB,6DAA6D;IAC7D,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,8EAA8E;IAC9E,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,gFAAgF;AAChF,wBAAgB,cAAc,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CASlD;AAQD;;;GAGG;AACH,wBAAgB,iBAAiB,CAC/B,OAAO,EAAE,MAAM,EACf,KAAK,EAAE,KAAK,CAAC;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC,EAC9B,SAAS,EAAE,KAAK,CAAC;IAAE,GAAG,EAAE,MAAM,CAAA;CAAE,CAAC,GAChC,MAAM,EAAE,CAeV;AAED;;;GAGG;AACH,wBAAsB,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC,CAsBtE"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Loading a lexicon's plugin so completeness checks can look at what it
|
|
3
|
+
* actually registers (#1342).
|
|
4
|
+
*
|
|
5
|
+
* `check-lexicon`'s checks were almost all existence assertions over the
|
|
6
|
+
* directory: `src/lsp/completions.ts exists`, `At least 1 lint rule in
|
|
7
|
+
* src/lint/rules/`. A file with the right name is not the contract — the
|
|
8
|
+
* contract is the member the plugin exposes, because that is what core
|
|
9
|
+
* dispatches through. helm is the proof: it ships `src/lsp/completions.ts` and
|
|
10
|
+
* `src/lsp/hover.ts`, both with passing tests, exports `helmCompletions` and
|
|
11
|
+
* `helmHover` from its index, and never sets `completionProvider` or
|
|
12
|
+
* `hoverProvider` on the plugin. `cli/lsp/server.ts` dispatches through exactly
|
|
13
|
+
* those fields, so helm's LSP support is unreachable in an editor — while tier 1
|
|
14
|
+
* (the files) and tier 2 (the tests) both passed.
|
|
15
|
+
*
|
|
16
|
+
* Resolution is directory-local rather than by package name: `chant dev
|
|
17
|
+
* check-lexicon <dir>` should work on a lexicon that is not installed, and
|
|
18
|
+
* `loadPlugin` in ../plugins.ts imports `@intentius/chant-lexicon-<name>`,
|
|
19
|
+
* which requires it to be.
|
|
20
|
+
*/
|
|
21
|
+
import { type LexiconPlugin } from "../../lexicon.js";
|
|
22
|
+
export interface LoadedLexicon {
|
|
23
|
+
/** The plugin, when the package exported one. */
|
|
24
|
+
plugin?: LexiconPlugin;
|
|
25
|
+
/** Why loading failed, for a check's `detail`. */
|
|
26
|
+
error?: string;
|
|
27
|
+
/** The entry point that was imported, for diagnostics. */
|
|
28
|
+
entry?: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* The module a lexicon package presents to consumers.
|
|
32
|
+
*
|
|
33
|
+
* Tier 1 requires `exports["."].default` to be `./src/index.ts`, so that is the
|
|
34
|
+
* first choice — it is the module core itself imports. The fallbacks keep this
|
|
35
|
+
* usable on a lexicon that has not reached that check yet.
|
|
36
|
+
*/
|
|
37
|
+
export declare function pluginEntryFor(dir: string): string | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* Import a lexicon directory and return the `LexiconPlugin` it exports.
|
|
40
|
+
*
|
|
41
|
+
* Never throws: a lexicon that cannot be loaded is a finding, not a crash, and
|
|
42
|
+
* every caller reports it as a failed check rather than aborting the run.
|
|
43
|
+
*/
|
|
44
|
+
export declare function loadLexiconFromDir(dir: string): Promise<LoadedLexicon>;
|
|
45
|
+
/** Whether the plugin exposes a callable member under `name`. */
|
|
46
|
+
export declare function registers(plugin: LexiconPlugin | undefined, name: keyof LexiconPlugin): boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Call a plugin member that returns a list, treating a throw as an empty list.
|
|
49
|
+
*
|
|
50
|
+
* A member that throws is not a registration — it is worse than an absent one,
|
|
51
|
+
* and the check that counts its results should fail rather than the whole run.
|
|
52
|
+
*/
|
|
53
|
+
export declare function safeList<T>(fn: (() => T[]) | undefined): {
|
|
54
|
+
items: T[];
|
|
55
|
+
error?: string;
|
|
56
|
+
};
|
|
57
|
+
//# sourceMappingURL=check-lexicon-plugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"check-lexicon-plugin.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/check-lexicon-plugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAKH,OAAO,EAAmB,KAAK,aAAa,EAAE,MAAM,eAAe,CAAC;AAEpE,MAAM,WAAW,aAAa;IAC5B,iDAAiD;IACjD,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,kDAAkD;IAClD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,0DAA0D;IAC1D,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAoB9D;AAED;;;;;GAKG;AACH,wBAAsB,kBAAkB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC,CAwB5E;AAED,iEAAiE;AACjE,wBAAgB,SAAS,CAAC,MAAM,EAAE,aAAa,GAAG,SAAS,EAAE,IAAI,EAAE,MAAM,aAAa,GAAG,OAAO,CAE/F;AAED;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,EAAE,CAAC,GAAG,SAAS,GAAG;IAAE,KAAK,EAAE,CAAC,EAAE,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAOvF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-lexicon.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/check-lexicon.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"check-lexicon.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/check-lexicon.ts"],"names":[],"mappings":"AAWA,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAChB,IAAI,EAAE,OAAO,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;CACpB;AAiDD;;GAEG;AACH,wBAAsB,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC,CAqjBpE;AAqBD;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,OAAO,GAAG,IAAI,CAmDzE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emulator.d.ts","sourceRoot":"","sources":["../../../src/cli/handlers/emulator.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAIlD,wEAAwE;AACxE,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,2CAA2C;IAC3C,IAAI,EAAE,MAAM,CAAC;IACb,0DAA0D;IAC1D,QAAQ,EAAE,MAAM,CAAC;IACjB,6EAA6E;IAC7E,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC7B;AAcD;;;;;;;;GAQG;AACH,wBAAsB,WAAW,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"emulator.d.ts","sourceRoot":"","sources":["../../../src/cli/handlers/emulator.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAIlD,wEAAwE;AACxE,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,2CAA2C;IAC3C,IAAI,EAAE,MAAM,CAAC;IACb,0DAA0D;IAC1D,QAAQ,EAAE,MAAM,CAAC;IACjB,6EAA6E;IAC7E,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC7B;AAcD;;;;;;;;GAQG;AACH,wBAAsB,WAAW,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CAuDtE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"graph.d.ts","sourceRoot":"","sources":["../../../src/cli/handlers/graph.ts"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"graph.d.ts","sourceRoot":"","sources":["../../../src/cli/handlers/graph.ts"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAsClD;;;;;;;;;GASG;AACH,wBAAsB,QAAQ,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CAwCnE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lifecycle.d.ts","sourceRoot":"","sources":["../../../src/cli/handlers/lifecycle.ts"],"names":[],"mappings":"AAkCA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAqDlD;;GAEG;AACH,wBAAsB,oBAAoB,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CAoH/E;AAED;;GAEG;AACH,wBAAsB,gBAAgB,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CA4C3E;AAED;;;;;;GAMG;AACH,wBAAsB,oBAAoB,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CA8B/E;AAED;;GAEG;AACH,wBAAsB,gBAAgB,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CAuJ3E;AA0hBD;;;;;;;;;GASG;AACH,wBAAsB,gBAAgB,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"lifecycle.d.ts","sourceRoot":"","sources":["../../../src/cli/handlers/lifecycle.ts"],"names":[],"mappings":"AAkCA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAqDlD;;GAEG;AACH,wBAAsB,oBAAoB,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CAoH/E;AAED;;GAEG;AACH,wBAAsB,gBAAgB,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CA4C3E;AAED;;;;;;GAMG;AACH,wBAAsB,oBAAoB,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CA8B/E;AAED;;GAEG;AACH,wBAAsB,gBAAgB,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CAuJ3E;AA0hBD;;;;;;;;;GASG;AACH,wBAAsB,gBAAgB,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CAoJ3E;AAED;;GAEG;AACH,wBAAsB,eAAe,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CAiB1E;AAED;;GAEG;AACH,wBAAsB,mBAAmB,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CAM9E;AAkBD;;;;;;GAMG;AACH,wBAAsB,oBAAoB,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CA+C/E"}
|
package/dist/cli/mcp/server.d.ts
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
import type { LexiconPlugin } from "../../lexicon.js";
|
|
2
2
|
import type { McpRequest, McpResponse } from "./types.js";
|
|
3
|
+
/**
|
|
4
|
+
* The name a lexicon's MCP tool is registered under: `<lexicon>:<verb>`,
|
|
5
|
+
* whether or not the lexicon already wrote the prefix itself (#1341).
|
|
6
|
+
*/
|
|
7
|
+
export declare function namespacedToolName(lexicon: string, name: string): string;
|
|
8
|
+
/**
|
|
9
|
+
* The URI a lexicon's MCP resource is registered under: `chant://<lexicon>/<path>`.
|
|
10
|
+
*
|
|
11
|
+
* Three authored forms reach here (#1341). The bare path is the intended one.
|
|
12
|
+
* `createCatalogResource` emits `<lexicon>:resource-catalog`, and
|
|
13
|
+
* `lexicon-authoring/lsp-mcp.mdx` taught `chant://lexicon/<lexicon>/<path>` —
|
|
14
|
+
* which azure followed, and which produced the unusable
|
|
15
|
+
* `chant://azure/chant://lexicon/azure/catalog`.
|
|
16
|
+
*/
|
|
17
|
+
export declare function namespacedResourceUri(lexicon: string, uri: string): string;
|
|
3
18
|
/**
|
|
4
19
|
* MCP Server implementation
|
|
5
20
|
*/
|
|
@@ -9,11 +24,20 @@ export declare class McpServer {
|
|
|
9
24
|
private pluginResources;
|
|
10
25
|
constructor(plugins?: LexiconPlugin[]);
|
|
11
26
|
/**
|
|
12
|
-
* Register tools contributed by a plugin, namespaced as `lexicon:toolName
|
|
27
|
+
* Register tools contributed by a plugin, namespaced as `lexicon:toolName`.
|
|
28
|
+
*
|
|
29
|
+
* Namespacing is idempotent (#1341). Core is not the only place that applies
|
|
30
|
+
* a prefix: `createDiffTool` in ../../lexicon-plugin-helpers.ts already emits
|
|
31
|
+
* `${lexiconName}:diff`, and eleven lexicons write the prefix into the name by
|
|
32
|
+
* hand. Applying it unconditionally produced `gitlab:gitlab:diff` and
|
|
33
|
+
* `aws:aws:diff` in every `chant serve mcp` session, while every doc named the
|
|
34
|
+
* single-prefixed form. A tool declared either way now registers under exactly
|
|
35
|
+
* one namespace.
|
|
13
36
|
*/
|
|
14
37
|
private registerPluginTools;
|
|
15
38
|
/**
|
|
16
|
-
* Register resources contributed by a plugin, namespaced as
|
|
39
|
+
* Register resources contributed by a plugin, namespaced as
|
|
40
|
+
* `chant://lexicon/uri`, idempotently — see {@link registerPluginTools}.
|
|
17
41
|
*/
|
|
18
42
|
private registerPluginResources;
|
|
19
43
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../../src/cli/mcp/server.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAmD,MAAM,SAAS,CAAC;AAKxG;;GAEG;AACH,qBAAa,SAAS;IACpB,OAAO,CAAC,KAAK,CAA0C;IACvD,OAAO,CAAC,YAAY,CAAuC;IAC3D,OAAO,CAAC,eAAe,CAA8F;gBAEzG,OAAO,CAAC,EAAE,aAAa,EAAE;IA+BrC
|
|
1
|
+
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../../src/cli/mcp/server.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAmD,MAAM,SAAS,CAAC;AAKxG;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAGxE;AAED;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAO1E;AAED;;GAEG;AACH,qBAAa,SAAS;IACpB,OAAO,CAAC,KAAK,CAA0C;IACvD,OAAO,CAAC,YAAY,CAAuC;IAC3D,OAAO,CAAC,eAAe,CAA8F;gBAEzG,OAAO,CAAC,EAAE,aAAa,EAAE;IA+BrC;;;;;;;;;;OAUG;IACH,OAAO,CAAC,mBAAmB;IAc3B;;;OAGG;IACH,OAAO,CAAC,uBAAuB;IAgB/B;;OAEG;IACH,OAAO,CAAC,YAAY;IAQpB;;OAEG;IACG,aAAa,CAAC,OAAO,EAAE,UAAU,GAAG,OAAO,CAAC,WAAW,CAAC;IAoB9D;;OAEG;YACW,QAAQ;IA0BtB;;OAEG;YACW,eAAe;IAmC7B;;OAEG;IACG,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;CAyB7B;AAED;;GAEG;AACH,wBAAsB,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC,CAYpD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"docs-rule-scanning.d.ts","sourceRoot":"","sources":["../../src/codegen/docs-rule-scanning.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAMH,OAAO,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAEzD;;;GAGG;AACH,wBAAgB,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,QAAQ,EAAE,CAUpD;
|
|
1
|
+
{"version":3,"file":"docs-rule-scanning.d.ts","sourceRoot":"","sources":["../../src/codegen/docs-rule-scanning.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAMH,OAAO,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAEzD;;;GAGG;AACH,wBAAgB,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,QAAQ,EAAE,CAUpD;AAwFD,wBAAgB,aAAa,CAAC,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,MAAM,CAoD3E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"docs-sections.d.ts","sourceRoot":"","sources":["../../src/codegen/docs-sections.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAElF,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,UAAU,EAClB,QAAQ,EAAE,YAAY,EACtB,SAAS,EAAE,GAAG,CAAC,MAAM,EAAE,SAAS,CAAC,EACjC,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,SAAS,CAAC,EAClC,aAAa,EAAE,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC,EAClD,KAAK,EAAE,QAAQ,EAAE,GAChB,MAAM,
|
|
1
|
+
{"version":3,"file":"docs-sections.d.ts","sourceRoot":"","sources":["../../src/codegen/docs-sections.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAElF,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,UAAU,EAClB,QAAQ,EAAE,YAAY,EACtB,SAAS,EAAE,GAAG,CAAC,MAAM,EAAE,SAAS,CAAC,EACjC,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,SAAS,CAAC,EAClC,aAAa,EAAE,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC,EAClD,KAAK,EAAE,QAAQ,EAAE,GAChB,MAAM,CAmER;AAED,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,UAAU,EAClB,QAAQ,EAAE,YAAY,GACrB,MAAM,CA0BR;AAED,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,UAAU,EAClB,QAAQ,EAAE,YAAY,GACrB,MAAM,CAqBR;AAED,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,CAqBhE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"docs-sidebar.d.ts","sourceRoot":"","sources":["../../src/codegen/docs-sidebar.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE3D,wBAAgB,YAAY,CAC1B,MAAM,EAAE,UAAU,EAClB,MAAM,EAAE,UAAU,GACjB,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"docs-sidebar.d.ts","sourceRoot":"","sources":["../../src/codegen/docs-sidebar.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE3D,wBAAgB,YAAY,CAC1B,MAAM,EAAE,UAAU,EAClB,MAAM,EAAE,UAAU,GACjB,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAoDhC"}
|
package/dist/codegen/docs.d.ts
CHANGED
|
@@ -13,6 +13,17 @@ export type { DocsConfig, DocsResult } from "./docs-types.js";
|
|
|
13
13
|
* Run the documentation pipeline with the supplied config.
|
|
14
14
|
*/
|
|
15
15
|
export declare function docsPipeline(config: DocsConfig): DocsResult;
|
|
16
|
+
/**
|
|
17
|
+
* Render the complete rules table for a lexicon that has no {@link docsPipeline}
|
|
18
|
+
* site of its own.
|
|
19
|
+
*
|
|
20
|
+
* The docker lexicon hand-authors its docs, which left its rule table the only
|
|
21
|
+
* one in the repo that could drift from source without anything noticing
|
|
22
|
+
* (#1312). This is the one page worth generating even when the rest of a site
|
|
23
|
+
* is hand-written; the caller writes the result to `rules.mdx` and links it.
|
|
24
|
+
* Returns null when the lexicon declares no rules.
|
|
25
|
+
*/
|
|
26
|
+
export declare function generateRulesPage(config: DocsConfig, srcDir: string): string | null;
|
|
16
27
|
/**
|
|
17
28
|
* Marks a page as pipeline output. Used both to warn readers off editing the
|
|
18
29
|
* file and, in {@link writeDocsSite}, to tell a page this pipeline owns from a
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"docs.d.ts","sourceRoot":"","sources":["../../src/codegen/docs.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAUH,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAA2B,MAAM,cAAc,CAAC;AAGpF,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;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,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GAAG,GAAG,CAAC,MAAM,CAAC,CAUtF;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GACtC,MAAM,EAAE,CAQV;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,GAAG,IAAI,CAQvE;AAED;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,GAAG,IAAI,CAmI1E"}
|
package/dist/lexicon.d.ts
CHANGED
|
@@ -8,7 +8,8 @@ import type { ArtifactIntegrity } from "./lexicon-integrity.js";
|
|
|
8
8
|
import type { CompletionContext, CompletionItem, HoverContext, HoverInfo, CodeActionContext, CodeAction } from "./lsp/types.js";
|
|
9
9
|
import type { McpToolContribution, McpResourceContribution } from "./mcp/types.js";
|
|
10
10
|
import type { DriverComponent } from "./components/driver.js";
|
|
11
|
-
import type {
|
|
11
|
+
import type { EmulatorDeclaration } from "./op/emulator-lifecycle.js";
|
|
12
|
+
import type { OwnershipChannel } from "./ownership.js";
|
|
12
13
|
import type { RuleMeta } from "./audit/catalog.js";
|
|
13
14
|
import type { ReferenceCatalog } from "./graph-refs.js";
|
|
14
15
|
import type { IREdge } from "./graph-ir.js";
|
|
@@ -391,11 +392,19 @@ export interface LexiconPlugin {
|
|
|
391
392
|
verbose?: boolean;
|
|
392
393
|
force?: boolean;
|
|
393
394
|
}): Promise<void>;
|
|
394
|
-
/**
|
|
395
|
-
*
|
|
396
|
-
*
|
|
397
|
-
*
|
|
398
|
-
|
|
395
|
+
/**
|
|
396
|
+
* Local emulator(s) (#920), if this lexicon has any: Floci for aws, floci-az
|
|
397
|
+
* for azure, floci-gcp for gcp, mudflaps and spritzer for fly. Drives
|
|
398
|
+
* `chant emulator up|down|status` and lets a consumer (behold `--local`) boot
|
|
399
|
+
* one and point apply/observe at it — no cloud account. Absent when the
|
|
400
|
+
* lexicon has no local emulator.
|
|
401
|
+
*
|
|
402
|
+
* One capability or several (#1345). fly ships two, and while this field held
|
|
403
|
+
* exactly one, three of the repo's four emulators went undeclared and
|
|
404
|
+
* `chant emulator up --all` booted only Floci — even though azure's and gcp's
|
|
405
|
+
* wrappers already built the same spec this needs.
|
|
406
|
+
*/
|
|
407
|
+
readonly emulator?: EmulatorDeclaration;
|
|
399
408
|
/**
|
|
400
409
|
* A CLI verb group this lexicon contributes, mounted under `chant <name>
|
|
401
410
|
* <verb>` (#1078). Core learns that a lexicon MAY contribute a command
|
|
@@ -549,27 +558,6 @@ export interface LexiconPlugin {
|
|
|
549
558
|
*/
|
|
550
559
|
owned?: boolean;
|
|
551
560
|
}): Promise<DescribeResourcesResult>;
|
|
552
|
-
/**
|
|
553
|
-
* Read the full live *property tree* for each declared entity (#1014). Opt-in,
|
|
554
|
-
* and strictly deeper than {@link describeResources}, which reports existence
|
|
555
|
-
* plus a handful of scrubbed outputs. A lexicon that implements neither, or
|
|
556
|
-
* only the thin one, is unaffected — `lifecycle diff --live` gains
|
|
557
|
-
* property-level entries only where this exists.
|
|
558
|
-
*
|
|
559
|
-
* The result is keyed by chant entity name, exactly like the thin read, and
|
|
560
|
-
* carries the same NOT-OBSERVED map. That is the composition rule with #1089:
|
|
561
|
-
* a deep read that fails for one entity says so with a total
|
|
562
|
-
* {@link UnobservedReason}. It never returns a thin-but-clean tree, because a
|
|
563
|
-
* clean tree is a claim that nothing drifted.
|
|
564
|
-
*
|
|
565
|
-
* Properties must be normalized before they are returned — run
|
|
566
|
-
* `normalizeDeepProperties` (../deep-observation.ts) with this lexicon's own
|
|
567
|
-
* {@link deepNormalizationHooks}, so the trees a consumer sees are already
|
|
568
|
-
* free of arns, timestamps, status subtrees and unstable orderings.
|
|
569
|
-
*
|
|
570
|
-
* Throwing is the whole-lexicon failure, same as the thin read: core turns it
|
|
571
|
-
* into `read-failed` for every declared entity.
|
|
572
|
-
*/
|
|
573
561
|
/**
|
|
574
562
|
* Report the undeclared resources this estate *depends on* (#1273), as
|
|
575
563
|
* opposed to the ones it manages.
|
|
@@ -606,6 +594,16 @@ export interface LexiconPlugin {
|
|
|
606
594
|
stack?: string;
|
|
607
595
|
region?: string;
|
|
608
596
|
}): Promise<DependencyObservation>;
|
|
597
|
+
/**
|
|
598
|
+
* Kinds this lexicon can enumerate beyond the declared estate (#1278).
|
|
599
|
+
*
|
|
600
|
+
* Declared separately from {@link observeAmbient} so a caller can say that
|
|
601
|
+
* ambient resources of a kind are POSSIBLE without paying for a scan to find
|
|
602
|
+
* out. `chant search` uses it to point out that `--ambient` is relevant to
|
|
603
|
+
* the kind just queried — an agent asking which security groups are unused
|
|
604
|
+
* has no way to know that some are not in the answer at all.
|
|
605
|
+
*/
|
|
606
|
+
ambientKinds?(): string[];
|
|
609
607
|
/**
|
|
610
608
|
* Report resources of a kind this estate manages that exist in the account
|
|
611
609
|
* without being declared or referenced (#1278).
|
|
@@ -629,16 +627,6 @@ export interface LexiconPlugin {
|
|
|
629
627
|
* Optional and opt-in. A lexicon that does not implement it, or a caller that
|
|
630
628
|
* does not ask, sees exactly what it saw before.
|
|
631
629
|
*/
|
|
632
|
-
/**
|
|
633
|
-
* Kinds this lexicon can enumerate beyond the declared estate (#1278).
|
|
634
|
-
*
|
|
635
|
-
* Declared separately from {@link observeAmbient} so a caller can say that
|
|
636
|
-
* ambient resources of a kind are POSSIBLE without paying for a scan to find
|
|
637
|
-
* out. `chant search` uses it to point out that `--ambient` is relevant to
|
|
638
|
-
* the kind just queried — an agent asking which security groups are unused
|
|
639
|
-
* has no way to know that some are not in the answer at all.
|
|
640
|
-
*/
|
|
641
|
-
ambientKinds?(): string[];
|
|
642
630
|
observeAmbient?(options: {
|
|
643
631
|
environment: string;
|
|
644
632
|
/** Entity types the project declares — the bound on what to enumerate. */
|
|
@@ -648,6 +636,27 @@ export interface LexiconPlugin {
|
|
|
648
636
|
stack?: string;
|
|
649
637
|
region?: string;
|
|
650
638
|
}): Promise<Record<string, ResourceMetadata>>;
|
|
639
|
+
/**
|
|
640
|
+
* Read the full live *property tree* for each declared entity (#1014). Opt-in,
|
|
641
|
+
* and strictly deeper than {@link describeResources}, which reports existence
|
|
642
|
+
* plus a handful of scrubbed outputs. A lexicon that implements neither, or
|
|
643
|
+
* only the thin one, is unaffected — `lifecycle diff --live` gains
|
|
644
|
+
* property-level entries only where this exists.
|
|
645
|
+
*
|
|
646
|
+
* The result is keyed by chant entity name, exactly like the thin read, and
|
|
647
|
+
* carries the same NOT-OBSERVED map. That is the composition rule with #1089:
|
|
648
|
+
* a deep read that fails for one entity says so with a total
|
|
649
|
+
* {@link UnobservedReason}. It never returns a thin-but-clean tree, because a
|
|
650
|
+
* clean tree is a claim that nothing drifted.
|
|
651
|
+
*
|
|
652
|
+
* Properties must be normalized before they are returned — run
|
|
653
|
+
* `normalizeDeepProperties` (../deep-observation.ts) with this lexicon's own
|
|
654
|
+
* {@link deepNormalizationHooks}, so the trees a consumer sees are already
|
|
655
|
+
* free of arns, timestamps, status subtrees and unstable orderings.
|
|
656
|
+
*
|
|
657
|
+
* Throwing is the whole-lexicon failure, same as the thin read: core turns it
|
|
658
|
+
* into `read-failed` for every declared entity.
|
|
659
|
+
*/
|
|
651
660
|
observeResourcesDeep?(options: {
|
|
652
661
|
environment: string;
|
|
653
662
|
buildOutput: string;
|
|
@@ -694,6 +703,26 @@ export interface LexiconPlugin {
|
|
|
694
703
|
environment: string;
|
|
695
704
|
stack: string;
|
|
696
705
|
}): Promise<StackStatusObservation | null>;
|
|
706
|
+
/**
|
|
707
|
+
* Where this lexicon can stamp and read chant's ownership marker (#1348).
|
|
708
|
+
* Data, not a method.
|
|
709
|
+
*
|
|
710
|
+
* {@link ResourceMetadata.ownership} says a lexicon with no marker channel on
|
|
711
|
+
* a read path must return `unknown` rather than degrade silently. That was an
|
|
712
|
+
* obligation with no declaration behind it: a caller could not learn whether
|
|
713
|
+
* `owned: true` was answerable except by asking and reading a warning on
|
|
714
|
+
* stderr afterwards — and a warning is invisible to `lifecycle plan`, which is
|
|
715
|
+
* where the wrong delete gets proposed.
|
|
716
|
+
*
|
|
717
|
+
* Declared per read path, because the answer differs by path. aws stamps tags
|
|
718
|
+
* at synthesis and reads them on the deep observation and on live export,
|
|
719
|
+
* while its `describeResources` is sourced from `describe-stack-resources`,
|
|
720
|
+
* which returns no tags — so an `owned: true` thin read against aws can only
|
|
721
|
+
* answer `unknown`, and does.
|
|
722
|
+
*
|
|
723
|
+
* Absent means no channel anywhere: every verdict must be `unknown`.
|
|
724
|
+
*/
|
|
725
|
+
readonly ownershipChannel?: OwnershipChannel;
|
|
697
726
|
/**
|
|
698
727
|
* Reference catalog for live edge reconstruction (#778). Declares how this
|
|
699
728
|
* lexicon's observed resources reference each other — an identity map (which
|
package/dist/lexicon.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lexicon.d.ts","sourceRoot":"","sources":["../src/lexicon.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,KAAK,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,KAAK,EAAE,iBAAiB,EAAE,cAAc,EAAE,YAAY,EAAE,SAAS,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAA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E,MAAM,CAAC;IACf,mCAAmC;IACnC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,mCAAmC;IACnC,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACtC;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,aAAa,CAkBtE"}
|
package/dist/live-endpoint.d.ts
CHANGED
|
@@ -24,32 +24,31 @@
|
|
|
24
24
|
* Audited (#1166) which lexicons have an ambient-env-var endpoint knob at
|
|
25
25
|
* all, since that's the specific footgun — a lexicon whose environment
|
|
26
26
|
* binding is resolved from `chant.config` itself (not an ambient var) has
|
|
27
|
-
* nothing to inject here
|
|
27
|
+
* nothing to inject here.
|
|
28
28
|
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
* (`k8s.profiles.<env>.context` via `resolveClusterTarget`,
|
|
37
|
-
* `packages/core/src/kubectl-context.ts`), not an ambient var. Nothing to
|
|
38
|
-
* inject: the config *is* the binding already.
|
|
39
|
-
* - **azure** — resolves via the `az` CLI's own logged-in
|
|
40
|
-
* subscription/session context; no ambient endpoint var exists to miss.
|
|
41
|
-
* - **temporal** — resolves its connection from `temporal.profiles.<env>`
|
|
42
|
-
* (`resolveProfile`, `lexicons/temporal/src/describe-resources.ts`), the
|
|
43
|
-
* same "config is the binding" shape as k8s/gcp.
|
|
29
|
+
* Which var that is per lexicon is no longer written down twice (#1345). It is
|
|
30
|
+
* derived from the lexicon's own {@link EmulatorCapability.env}, which already
|
|
31
|
+
* has to name the var that points tooling at a booted emulator. The map this
|
|
32
|
+
* replaced listed aws and fly, and its prose asserted azure had no ambient
|
|
33
|
+
* endpoint var — while `lexicons/azure/src/describe-resources.ts` and
|
|
34
|
+
* `deep-observe.ts` both read `AZURE_ENDPOINT_URL` on every call, so a
|
|
35
|
+
* `--live --env floci` read against azure silently went to real Azure.
|
|
44
36
|
*/
|
|
45
37
|
import { type EnvironmentDeclaration } from "./config.js";
|
|
38
|
+
import { type EmulatorDeclaration } from "./op/emulator-lifecycle.js";
|
|
46
39
|
/**
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
40
|
+
* The ambient endpoint vars a lexicon honors, from its emulator capability.
|
|
41
|
+
*
|
|
42
|
+
* A lexicon with no emulator contributes nothing, which is the same answer the
|
|
43
|
+
* hand-maintained map gave for k8s, gcp and temporal — they resolve their live
|
|
44
|
+
* target from `chant.config` itself, so there is nothing to inject.
|
|
51
45
|
*/
|
|
52
|
-
export declare
|
|
46
|
+
export declare function endpointEnvVarsFor(lexicon: EndpointLexicon): string[];
|
|
47
|
+
/** What {@link applyLiveEndpoint} needs of a plugin: its name and its emulators. */
|
|
48
|
+
export interface EndpointLexicon {
|
|
49
|
+
name: string;
|
|
50
|
+
emulator?: EmulatorDeclaration;
|
|
51
|
+
}
|
|
53
52
|
/** Result of {@link applyLiveEndpoint} — always call `restore()`, even when nothing was applied (it is then a no-op). */
|
|
54
53
|
export interface AppliedEndpoint {
|
|
55
54
|
/**
|
|
@@ -74,7 +73,7 @@ export interface AppliedEndpoint {
|
|
|
74
73
|
* the injected value never leaks into a later invocation in the same process
|
|
75
74
|
* (tests, or a long-lived host like the MCP server).
|
|
76
75
|
*/
|
|
77
|
-
export declare function applyLiveEndpoint(environments: EnvironmentDeclaration[] | undefined, environment: string, lexicons: readonly
|
|
76
|
+
export declare function applyLiveEndpoint(environments: EnvironmentDeclaration[] | undefined, environment: string, lexicons: readonly EndpointLexicon[], env?: NodeJS.ProcessEnv): AppliedEndpoint;
|
|
78
77
|
/**
|
|
79
78
|
* #1166 acceptance: when a `--live` describe comes back with zero resources
|
|
80
79
|
* for a lexicon that had declared entities to look for, and nothing was
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"live-endpoint.d.ts","sourceRoot":"","sources":["../src/live-endpoint.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"live-endpoint.d.ts","sourceRoot":"","sources":["../src/live-endpoint.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AAEH,OAAO,EAAuB,KAAK,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAC5E,OAAO,EAAgC,KAAK,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAEjG;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,eAAe,GAAG,MAAM,EAAE,CAErE;AAED,oFAAoF;AACpF,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,mBAAmB,CAAC;CAChC;AACD,yHAAyH;AACzH,MAAM,WAAW,eAAe;IAC9B;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,yEAAyE;IACzE,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,CAC/B,YAAY,EAAE,sBAAsB,EAAE,GAAG,SAAS,EAClD,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,SAAS,eAAe,EAAE,EACpC,GAAG,GAAE,MAAM,CAAC,UAAwB,GACnC,eAAe,CAsCjB;AAED;;;;;;;;;GASG;AACH,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,MAAM,EACf,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,EACrB,QAAQ,EAAE;IAAE,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAAC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAAE,GACpF,MAAM,GAAG,SAAS,CAKpB"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* How far behind an emulator's pinned image is (#1345, generalizing #808 T2).
|
|
3
|
+
*
|
|
4
|
+
* This began as `lexicons/fly/src/emulator-freshness.ts`, checking fly's two
|
|
5
|
+
* pins against their GitHub releases. The other three emulators — Floci for aws,
|
|
6
|
+
* floci-az, floci-gcp — ran `:latest`, so there was nothing to be behind and
|
|
7
|
+
* nothing to check: an image could change underneath a passing local test suite
|
|
8
|
+
* with no record in the repo of what moved.
|
|
9
|
+
*
|
|
10
|
+
* With the pin and its upstream declared on {@link EmulatorSpec}, the check
|
|
11
|
+
* covers every emulator any lexicon ships, and a new one is included by
|
|
12
|
+
* declaring `upstream` rather than by editing a list here.
|
|
13
|
+
*
|
|
14
|
+
* Advisory, never gating. Per the bump policy (#808) a pin moves when a
|
|
15
|
+
* consuming test needs the newer emulator, not because a release happened.
|
|
16
|
+
*/
|
|
17
|
+
import type { EmulatorSpec } from "./emulator-lifecycle.js";
|
|
18
|
+
export interface FreshnessResult {
|
|
19
|
+
/** The emulator's container name, e.g. `chant-mudflaps`. */
|
|
20
|
+
name: string;
|
|
21
|
+
/** Pinned version, no leading `v`. */
|
|
22
|
+
pinned: string;
|
|
23
|
+
/** Latest released version, no leading `v`. */
|
|
24
|
+
latest: string;
|
|
25
|
+
/** True when the latest release is newer than the pin. */
|
|
26
|
+
behind: boolean;
|
|
27
|
+
}
|
|
28
|
+
/** The version tag of an image ref (`ghcr.io/x/mudflaps:0.3.1` → `0.3.1`). */
|
|
29
|
+
export declare function parseVersion(image: string): string;
|
|
30
|
+
/** Compare pinned against latest as dotted numeric versions. */
|
|
31
|
+
export declare function compare(name: string, pinned: string, latest: string): FreshnessResult;
|
|
32
|
+
/** The latest release tag for a repo, via the GitHub REST API. */
|
|
33
|
+
export declare function latestRelease(repo: string, fetchImpl?: typeof fetch): Promise<string>;
|
|
34
|
+
/**
|
|
35
|
+
* Check every spec that declares an upstream. A spec without one is skipped
|
|
36
|
+
* rather than reported — an emulator built from a local image has no release
|
|
37
|
+
* feed to be behind.
|
|
38
|
+
*/
|
|
39
|
+
export declare function checkFreshness(specs: readonly EmulatorSpec[], fetchImpl?: typeof fetch): Promise<FreshnessResult[]>;
|
|
40
|
+
/** One-line human summary of a result. */
|
|
41
|
+
export declare function formatResult(r: FreshnessResult): string;
|
|
42
|
+
/** Emulator images that carry no version tag — `:latest` or none at all. */
|
|
43
|
+
export declare function unpinned(specs: readonly EmulatorSpec[]): EmulatorSpec[];
|
|
44
|
+
//# sourceMappingURL=emulator-freshness.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emulator-freshness.d.ts","sourceRoot":"","sources":["../../src/op/emulator-freshness.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEzD,MAAM,WAAW,eAAe;IAC9B,4DAA4D;IAC5D,IAAI,EAAE,MAAM,CAAC;IACb,sCAAsC;IACtC,MAAM,EAAE,MAAM,CAAC;IACf,+CAA+C;IAC/C,MAAM,EAAE,MAAM,CAAC;IACf,0DAA0D;IAC1D,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,8EAA8E;AAC9E,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAMlD;AAMD,gEAAgE;AAChE,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,eAAe,CAcrF;AAED,kEAAkE;AAClE,wBAAsB,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,GAAE,OAAO,KAAa,GAAG,OAAO,CAAC,MAAM,CAAC,CAQlG;AAED;;;;GAIG;AACH,wBAAsB,cAAc,CAClC,KAAK,EAAE,SAAS,YAAY,EAAE,EAC9B,SAAS,GAAE,OAAO,KAAa,GAC9B,OAAO,CAAC,eAAe,EAAE,CAAC,CAO5B;AAED,0CAA0C;AAC1C,wBAAgB,YAAY,CAAC,CAAC,EAAE,eAAe,GAAG,MAAM,CAIvD;AAED,4EAA4E;AAC5E,wBAAgB,QAAQ,CAAC,KAAK,EAAE,SAAS,YAAY,EAAE,GAAG,YAAY,EAAE,CAKvE"}
|
|
@@ -16,6 +16,20 @@ export interface EmulatorSpec {
|
|
|
16
16
|
ready?: (healthBody: string) => boolean;
|
|
17
17
|
/** Extra `docker run` args inserted before the image (e.g. a socket mount). */
|
|
18
18
|
runArgs?: readonly string[];
|
|
19
|
+
/**
|
|
20
|
+
* Where {@link image} is published, so how far behind the pin is can be
|
|
21
|
+
* answered (#1345).
|
|
22
|
+
*
|
|
23
|
+
* fly pinned its two emulators and tracked their freshness; aws, azure and gcp
|
|
24
|
+
* ran `floci/*:latest`, which is the drift a pin exists to stop — a local test
|
|
25
|
+
* suite that passes today and fails tomorrow because an image moved underneath
|
|
26
|
+
* it, with nothing in the repo recording what changed. Declaring the upstream
|
|
27
|
+
* makes the check general instead of one lexicon's private tooling.
|
|
28
|
+
*/
|
|
29
|
+
upstream?: {
|
|
30
|
+
/** `owner/repo` whose latest GitHub release names the current version. */
|
|
31
|
+
repo: string;
|
|
32
|
+
};
|
|
19
33
|
}
|
|
20
34
|
/**
|
|
21
35
|
* A lexicon's local-emulator capability (#920) — what `chant emulator` needs to
|
|
@@ -28,6 +42,28 @@ export interface EmulatorCapability {
|
|
|
28
42
|
spec: EmulatorSpec;
|
|
29
43
|
env(endpoint: string): Record<string, string>;
|
|
30
44
|
}
|
|
45
|
+
/**
|
|
46
|
+
* What a plugin declares: one emulator, or several (#1345).
|
|
47
|
+
*
|
|
48
|
+
* fly ships two — mudflaps for the Machines API and spritzer for Sprites — and
|
|
49
|
+
* a single-spec field could describe only one of them, so both stayed
|
|
50
|
+
* unreachable from `chant emulator` while the repo's docs presented them as
|
|
51
|
+
* first-class local targets.
|
|
52
|
+
*/
|
|
53
|
+
export type EmulatorDeclaration = EmulatorCapability | readonly EmulatorCapability[];
|
|
54
|
+
/** Every emulator a plugin declares, normalized to a list. */
|
|
55
|
+
export declare function emulatorsOf(declaration: EmulatorDeclaration | undefined): readonly EmulatorCapability[];
|
|
56
|
+
/**
|
|
57
|
+
* The env vars whose value *is* the endpoint, as opposed to the credentials and
|
|
58
|
+
* region an emulator also needs (#1345).
|
|
59
|
+
*
|
|
60
|
+
* Derived by asking `env()` for a sentinel and keeping the keys that carry it,
|
|
61
|
+
* so a lexicon states the mapping once in the place it already states it. The
|
|
62
|
+
* alternative — `LEXICON_ENDPOINT_ENV_VAR`, a hand-maintained map in core — held
|
|
63
|
+
* two of the four lexicons that have one, and its module doc asserted azure had
|
|
64
|
+
* none while `describe-resources.ts` read `AZURE_ENDPOINT_URL` on every call.
|
|
65
|
+
*/
|
|
66
|
+
export declare function endpointEnvVars(capability: EmulatorCapability): string[];
|
|
31
67
|
/** Per-call overrides for {@link EmulatorLifecycle.up} / `runCommand`. */
|
|
32
68
|
export interface EmulatorUpArgs {
|
|
33
69
|
name?: string;
|