@saptools/service-flow 0.1.44 β 0.1.46
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/CHANGELOG.md +14 -0
- package/README.md +9 -1
- package/dist/{chunk-UKNPHTUS.js β chunk-EGY2A4AT.js} +1853 -1462
- package/dist/chunk-EGY2A4AT.js.map +1 -0
- package/dist/cli.js +101 -31
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +12 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/cli/doctor.ts +67 -13
- package/src/cli.ts +10 -2
- package/src/index.ts +2 -0
- package/src/linker/cross-repo-linker.ts +27 -3
- package/src/linker/odata-path-normalizer.ts +4 -1
- package/src/output/table-output.ts +16 -1
- package/src/parsers/imported-wrapper-parser.ts +262 -0
- package/src/parsers/outbound-call-parser.ts +5 -1
- package/src/parsers/symbol-parser.ts +25 -10
- package/src/trace/evidence.ts +6 -1
- package/src/trace/implementation-hints.ts +223 -0
- package/src/trace/trace-engine.ts +52 -45
- package/src/types.ts +8 -0
- package/dist/chunk-UKNPHTUS.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.46
|
|
4
|
+
|
|
5
|
+
- Improved ambiguous implementation diagnostics with ready-to-copy scoped hint suggestions for each blocked helper hop.
|
|
6
|
+
- Persisted deterministic service-client ownership across helper boundaries, object and tuple destructuring, returned clients, and transaction aliases while preserving dynamic evidence for ambiguous flows.
|
|
7
|
+
- Tightened OData operation-invocation normalization and dynamic wrapper-path evidence without promoting entity addressing paths to operation calls.
|
|
8
|
+
- Kept strict doctor output concise by default with actionable categories and detail-mode evidence expansion.
|
|
9
|
+
|
|
10
|
+
## 0.1.45
|
|
11
|
+
|
|
12
|
+
- Added repeatable scoped implementation hints with explicit selection and mismatch evidence while preserving conservative automatic and legacy repository selection.
|
|
13
|
+
- Propagated proven CAP clients and literal or runtime wrapper paths across relative imports, including object, array, returned-client, and transaction contexts.
|
|
14
|
+
- Kept OData invocation arguments, routing placeholders, and compact candidate scores distinct while preserving terminal entity paths.
|
|
15
|
+
- Added compact strict-doctor summaries with actionable detail mode and expanded publication atomicity recovery coverage.
|
|
16
|
+
|
|
3
17
|
## 0.1.44
|
|
4
18
|
|
|
5
19
|
- Separated trace-time effective resolution evidence from persisted graph resolution, including runtime substitution details and missing `--var` suggestions.
|
package/README.md
CHANGED
|
@@ -169,6 +169,7 @@ service-flow trace --workspace /path/to/workspace --service /FacadeService --pat
|
|
|
169
169
|
service-flow trace --workspace /path/to/workspace --handler EntryHandler --depth 1 --format json
|
|
170
170
|
service-flow trace --workspace /path/to/workspace --service /FacadeService --path /doWork --depth 2
|
|
171
171
|
service-flow trace --workspace /path/to/workspace --repo facade-service --operation doWork --var objectCode=xx --var objectType=Thing
|
|
172
|
+
service-flow trace --workspace /path/to/workspace --service /FacadeService --path /doWork --implementation-hint service=/TargetService,operation=/runTask,repo=target-helper
|
|
172
173
|
```
|
|
173
174
|
|
|
174
175
|
| Flag | Description |
|
|
@@ -184,6 +185,8 @@ service-flow trace --workspace /path/to/workspace --repo facade-service --operat
|
|
|
184
185
|
| `--include-external` | Include external HTTP/destination edges in traversal output |
|
|
185
186
|
| `--include-db` | Include local DB query edges in traversal output |
|
|
186
187
|
| `--include-async` | Include async publish/subscribe edges in traversal output |
|
|
188
|
+
| `--implementation-repo <name>` | Select one implementation repository for every ambiguous hop; retained for backward compatibility |
|
|
189
|
+
| `--implementation-hint <scope>` | Select one implementation for a matching hop; repeatable fields are `service`, `operation`, `package`, `repository`, `family`, and required `repo` |
|
|
187
190
|
| `--var <key=value>` | Apply runtime values to dynamic destinations/service paths; repeatable |
|
|
188
191
|
|
|
189
192
|
### πΊοΈ `service-flow graph`
|
|
@@ -203,6 +206,9 @@ service-flow graph --workspace /path/to/workspace --repo facade-service --operat
|
|
|
203
206
|
| `--service <path>` | Filter/start by service path |
|
|
204
207
|
| `--path <operationPath>` | Filter/start by operation path |
|
|
205
208
|
| `--format <format>` | `mermaid` or `json`; defaults to `mermaid` |
|
|
209
|
+
| `--implementation-repo <name>` | Select one implementation repository for every ambiguous hop |
|
|
210
|
+
| `--implementation-hint <scope>` | Apply a repeatable scoped implementation selection |
|
|
211
|
+
| `--var <key=value>` | Apply repeatable runtime substitutions |
|
|
206
212
|
|
|
207
213
|
### π `service-flow list ...`
|
|
208
214
|
|
|
@@ -276,8 +282,11 @@ Print stored diagnostics. Default output suppresses high-noise entity-only servi
|
|
|
276
282
|
```bash
|
|
277
283
|
service-flow doctor --workspace /path/to/workspace
|
|
278
284
|
service-flow doctor --workspace /path/to/workspace --strict
|
|
285
|
+
service-flow doctor --workspace /path/to/workspace --strict --detail
|
|
279
286
|
```
|
|
280
287
|
|
|
288
|
+
Strict output keeps stable category, count, severity, and capped example fields. Use `--detail` to include full `expandedExamples` for implementation candidate, parameter metadata, and dynamic wrapper categories.
|
|
289
|
+
|
|
281
290
|
### π§Ή `service-flow clean`
|
|
282
291
|
|
|
283
292
|
Remove generated service-flow state.
|
|
@@ -508,4 +517,3 @@ Graph taxonomy now keeps CAP operation candidates separate from external HTTP ta
|
|
|
508
517
|
### Runtime and parser hardening
|
|
509
518
|
|
|
510
519
|
`service-flow` treats URL and destination templates with substitutions as dynamic external targets, preserves operation-path template evidence without promoting unrelated variables, and parses CDS `@(path: ...)` annotations from original source text. Service extension declarations using both `extend Name` and `extend service Name` are recognized for routing provenance.
|
|
511
|
-
|