@saptools/service-flow 0.1.49 → 0.1.50
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 +7 -0
- package/README.md +1 -1
- package/dist/{chunk-XOROZHW4.js → chunk-52OUS3MO.js} +303 -109
- package/dist/chunk-52OUS3MO.js.map +1 -0
- package/dist/cli.js +67 -16
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/cli/doctor.ts +59 -1
- package/src/db/migrations.ts +4 -1
- package/src/db/repositories.ts +2 -1
- package/src/db/schema.ts +1 -1
- package/src/linker/cross-repo-linker.ts +102 -5
- package/src/linker/operation-decorator-normalizer.ts +3 -3
- package/src/parsers/decorator-parser.ts +128 -22
- package/src/trace/selectors.ts +36 -0
- package/src/trace/trace-engine.ts +1 -20
- package/src/types.ts +12 -0
- package/dist/chunk-XOROZHW4.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.50
|
|
4
|
+
|
|
5
|
+
- Resolved local string, enum-member, and const-object decorator arguments with persisted evidence while keeping unsupported expressions conservative.
|
|
6
|
+
- Prevented handler registrations with exact class ids from producing cross-repository class-name candidates; genuine duplicate implementations remain ambiguous with scoped hints.
|
|
7
|
+
- Added copyable service-and-path trace-start selectors and strict doctor aggregates for decorator resolution and registration pairing.
|
|
8
|
+
- Added a neutral implementation-resolution workspace with SQLite, trace, hint, and runtime-variable regression coverage.
|
|
9
|
+
|
|
3
10
|
## 0.1.49
|
|
4
11
|
|
|
5
12
|
- Unified direct and wrapper operation-path analysis with deterministic static, ambiguous, and dynamic candidate evidence while preserving lexical scope and source order.
|
package/README.md
CHANGED
|
@@ -231,7 +231,7 @@ service-flow list calls --workspace /path/to/workspace --repo facade-service --o
|
|
|
231
231
|
|
|
232
232
|
### Operation selector resolution
|
|
233
233
|
|
|
234
|
-
Operation-based trace starts first resolve indexed CDS operations, then follow the persisted `OPERATION_IMPLEMENTED_BY_HANDLER` graph edge to the exact handler method symbol. Generated decorator constants such as `ActionPublishRecord.name` and `FuncLookupRecord.name
|
|
234
|
+
Operation-based trace starts first resolve indexed CDS operations, then follow the persisted `OPERATION_IMPLEMENTED_BY_HANDLER` graph edge to the exact handler method symbol. Generated decorator constants such as `ActionPublishRecord.name` and `FuncLookupRecord.name`, local string constants, string enum members, and const-object string properties are normalized with structured resolution evidence. Unsupported decorator expressions remain visible and do not contradict a matching method name. If the same operation name exists in multiple services or repositories, `service-flow` returns `trace_start_ambiguous` with copyable `--service <path> --path <operation-path>` selectors; add `--repo` when repository scope is also ambiguous. Unique operation selectors emit the initial operation node and implementation hop exactly once before traversing handler-owned calls.
|
|
235
235
|
|
|
236
236
|
Ambiguous operation starts include repository, service path, operation path, source file, and source line candidates. When service paths are unique, JSON diagnostics also include copyable `--service <path>` suggestions. A scoped implementation hint changes only the matching implementation hop; guided traversal uses the selected handler repository even when the operation model belongs to another repository.
|
|
237
237
|
|