@ultimat3/manifest 5.0.1 → 7.0.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/package.json +6 -6
- package/src/index.ts +1 -3
- package/src/schema.ts +5 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ultimat3/manifest",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0",
|
|
4
4
|
"description": "x.manifest.json: deterministic generated facts, contract diff, AGENTS.md budget",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
"test": "bun test"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@ultimat3/action": "
|
|
35
|
-
"@ultimat3/core": "
|
|
36
|
-
"@ultimat3/entity": "
|
|
37
|
-
"@ultimat3/jobs": "
|
|
38
|
-
"@ultimat3/query": "
|
|
34
|
+
"@ultimat3/action": "7.0.0",
|
|
35
|
+
"@ultimat3/core": "7.0.0",
|
|
36
|
+
"@ultimat3/entity": "7.0.0",
|
|
37
|
+
"@ultimat3/jobs": "7.0.0",
|
|
38
|
+
"@ultimat3/query": "7.0.0"
|
|
39
39
|
}
|
|
40
40
|
}
|
package/src/index.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// Public API of @ultimat3/manifest. Explicit — `x verify`, `x manifest`, and the MCP
|
|
2
2
|
// `manifest.read` resource are all built from exactly these exports.
|
|
3
3
|
|
|
4
|
+
export type { HydrateStrategy, OfflineStrategy, RenderMode } from '@ultimat3/core';
|
|
4
5
|
export type { AgentsMdCheck, CheckAgentsMdInput } from './agents-md';
|
|
5
6
|
export {
|
|
6
7
|
AGENTS_MD_FILENAME,
|
|
@@ -46,15 +47,12 @@ export type {
|
|
|
46
47
|
ColumnFact,
|
|
47
48
|
EntityFact,
|
|
48
49
|
ErrorCodeFact,
|
|
49
|
-
HydrateStrategy,
|
|
50
50
|
JobFact,
|
|
51
51
|
JsonValue,
|
|
52
52
|
Manifest,
|
|
53
|
-
OfflineStrategy,
|
|
54
53
|
PolicyFact,
|
|
55
54
|
QueryFact,
|
|
56
55
|
RateLimitFact,
|
|
57
|
-
RenderMode,
|
|
58
56
|
RouteFact,
|
|
59
57
|
TaskFact,
|
|
60
58
|
} from './schema';
|
package/src/schema.ts
CHANGED
|
@@ -5,6 +5,11 @@
|
|
|
5
5
|
// Every collection is `readonly` and every field is a plain JSON value: the manifest must
|
|
6
6
|
// round-trip through `JSON.stringify` without loss, because that is how it is stored.
|
|
7
7
|
|
|
8
|
+
// The route vocabulary is `@ultimat3/core`'s, at tier 0. It is IMPORTED rather than restated even
|
|
9
|
+
// though every other field here is a plain literal: the manifest's `render` field means the same
|
|
10
|
+
// thing as the route's, and two spellings of one closed set is what `'spa'` escaped through.
|
|
11
|
+
import type { HydrateStrategy, OfflineStrategy, RenderMode } from '@ultimat3/core';
|
|
12
|
+
|
|
8
13
|
/**
|
|
9
14
|
* Bumped when a reader built for the previous version would be WRONG, not merely incomplete:
|
|
10
15
|
* a field removed, retyped, or given a new meaning.
|
|
@@ -25,10 +30,6 @@ export type JsonValue =
|
|
|
25
30
|
| readonly JsonValue[]
|
|
26
31
|
| { readonly [key: string]: JsonValue };
|
|
27
32
|
|
|
28
|
-
export type RenderMode = 'static' | 'isr' | 'ssr' | 'stream' | 'spa';
|
|
29
|
-
export type OfflineStrategy = 'precache' | 'runtime' | 'network-only';
|
|
30
|
-
export type HydrateStrategy = 'idle' | 'visible' | 'interaction' | 'never';
|
|
31
|
-
|
|
32
33
|
export interface RouteFact {
|
|
33
34
|
readonly url: string;
|
|
34
35
|
readonly render: RenderMode;
|