@intentic/need-resolver 1.223.0 → 1.225.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/README.md +8 -8
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
# @intentic/need-resolver
|
|
2
2
|
|
|
3
|
-
The **need resolver**: turns an authored `IntentSet` into the abstract capabilities it requires. It owns the authored intent shapes and the intent → needs derivation
|
|
3
|
+
The **need resolver**: turns an authored `IntentSet` into the abstract capabilities it requires. It owns the authored intent shapes and the intent → needs derivation, the first stage of the pipeline. Depends only on [`@intentic/graph`](../graph); consumed by [`@intentic/state-resolver`](../state-resolver) and [`@intentic/sdk`](../sdk).
|
|
4
4
|
|
|
5
5
|
## Responsibilities
|
|
6
6
|
|
|
7
7
|
- Define the authored intent shapes (`IntentSet`, `HostIntent`, `CloudflareIntent`, `AppIntent`, …) and their input types.
|
|
8
|
-
- Derive the abstract `Need`s an intent implies
|
|
9
|
-
- It stops at *abstract capabilities*: it does **not** choose concrete options (Forgejo/Komodo/etc.) or emit graph nodes
|
|
8
|
+
- Derive the abstract `Need`s an intent implies (`source-control`, `docker-registry`, `infra-control`, `deployment-target`, `domain`) each a `Capability` on a `Plane` (control vs application).
|
|
9
|
+
- It stops at *abstract capabilities*: it does **not** choose concrete options (Forgejo/Komodo/etc.) or emit graph nodes, that is `state-resolver`'s job.
|
|
10
10
|
|
|
11
11
|
## Key files
|
|
12
12
|
|
|
13
|
-
- [src/intent.ts](src/intent.ts)
|
|
14
|
-
- [src/inputs.ts](src/inputs.ts)
|
|
15
|
-
- [src/needs.ts](src/needs.ts)
|
|
16
|
-
- [src/index.ts](src/index.ts)
|
|
13
|
+
- [src/intent.ts](src/intent.ts): the authored intent types (`IntentSet` and friends).
|
|
14
|
+
- [src/inputs.ts](src/inputs.ts): input shapes (`HostInput`, `CloudflareInput`, `EnvironmentInput`, `NotifyInput`, …).
|
|
15
|
+
- [src/needs.ts](src/needs.ts): `resolveNeeds`, `Capability`/`Need`/`Plane`, `needKey`.
|
|
16
|
+
- [src/index.ts](src/index.ts): public surface.
|
|
17
17
|
|
|
18
18
|
## How it fits
|
|
19
19
|
|
|
@@ -21,5 +21,5 @@ Stage 1 of intent → needs → desired-state. The `sdk` builds an `IntentSet` f
|
|
|
21
21
|
|
|
22
22
|
## Conventions & gotchas
|
|
23
23
|
|
|
24
|
-
- Needs are intentionally provider-agnostic
|
|
24
|
+
- Needs are intentionally provider-agnostic: keep concrete tech names out of this layer.
|
|
25
25
|
- Each need carries its `Plane`; downstream resolution and ordering rely on it. Co-located tests in [src/needs.test.ts](src/needs.test.ts). See [ARCHITECTURE.md](../../ARCHITECTURE.md).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intentic/need-resolver",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.225.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"tslib": "2.8.1",
|
|
34
|
-
"@intentic/graph": "1.
|
|
34
|
+
"@intentic/graph": "1.225.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@typescript/native-preview": "7.0.0-dev.20260707.2",
|