@descryy/mcp 0.11.3 → 0.11.5
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 +20 -20
- package/dist/action-handshake.d.ts +0 -38
- package/dist/action-handshake.d.ts.map +0 -1
- package/dist/action-handshake.js +0 -127
- package/dist/action-handshake.js.map +0 -1
- package/dist/bin/descry-mcp.d.ts +0 -7
- package/dist/bin/descry-mcp.d.ts.map +0 -1
- package/dist/bin/descry-mcp.js +0 -72
- package/dist/bin/descry-mcp.js.map +0 -1
- package/dist/browser/auth.d.ts +0 -84
- package/dist/browser/auth.d.ts.map +0 -1
- package/dist/browser/auth.js +0 -233
- package/dist/browser/auth.js.map +0 -1
- package/dist/browser/capability-probe.d.ts +0 -109
- package/dist/browser/capability-probe.d.ts.map +0 -1
- package/dist/browser/capability-probe.js +0 -201
- package/dist/browser/capability-probe.js.map +0 -1
- package/dist/browser/driver.d.ts +0 -570
- package/dist/browser/driver.d.ts.map +0 -1
- package/dist/browser/driver.js +0 -116
- package/dist/browser/driver.js.map +0 -1
- package/dist/browser/evidence.d.ts +0 -28
- package/dist/browser/evidence.d.ts.map +0 -1
- package/dist/browser/evidence.js +0 -82
- package/dist/browser/evidence.js.map +0 -1
- package/dist/browser/fake-driver.d.ts +0 -116
- package/dist/browser/fake-driver.d.ts.map +0 -1
- package/dist/browser/fake-driver.js +0 -416
- package/dist/browser/fake-driver.js.map +0 -1
- package/dist/browser/fault-attribution.d.ts +0 -178
- package/dist/browser/fault-attribution.d.ts.map +0 -1
- package/dist/browser/fault-attribution.js +0 -266
- package/dist/browser/fault-attribution.js.map +0 -1
- package/dist/browser/graph-write.d.ts +0 -45
- package/dist/browser/graph-write.d.ts.map +0 -1
- package/dist/browser/graph-write.js +0 -103
- package/dist/browser/graph-write.js.map +0 -1
- package/dist/browser/identity-graph-write.d.ts +0 -55
- package/dist/browser/identity-graph-write.d.ts.map +0 -1
- package/dist/browser/identity-graph-write.js +0 -45
- package/dist/browser/identity-graph-write.js.map +0 -1
- package/dist/browser/page-probe.d.ts +0 -81
- package/dist/browser/page-probe.d.ts.map +0 -1
- package/dist/browser/page-probe.js +0 -202
- package/dist/browser/page-probe.js.map +0 -1
- package/dist/browser/playwright-driver.d.ts +0 -114
- package/dist/browser/playwright-driver.d.ts.map +0 -1
- package/dist/browser/playwright-driver.js +0 -1479
- package/dist/browser/playwright-driver.js.map +0 -1
- package/dist/browser/provider.d.ts +0 -26
- package/dist/browser/provider.d.ts.map +0 -1
- package/dist/browser/provider.js +0 -14
- package/dist/browser/provider.js.map +0 -1
- package/dist/browser/reach-recording-session.d.ts +0 -44
- package/dist/browser/reach-recording-session.d.ts.map +0 -1
- package/dist/browser/reach-recording-session.js +0 -143
- package/dist/browser/reach-recording-session.js.map +0 -1
- package/dist/browser/reachability.d.ts +0 -168
- package/dist/browser/reachability.d.ts.map +0 -1
- package/dist/browser/reachability.js +0 -294
- package/dist/browser/reachability.js.map +0 -1
- package/dist/browser/registry.d.ts +0 -126
- package/dist/browser/registry.d.ts.map +0 -1
- package/dist/browser/registry.js +0 -177
- package/dist/browser/registry.js.map +0 -1
- package/dist/browser/scenario-provenance.d.ts +0 -23
- package/dist/browser/scenario-provenance.d.ts.map +0 -1
- package/dist/browser/scenario-provenance.js +0 -73
- package/dist/browser/scenario-provenance.js.map +0 -1
- package/dist/browser/scenario-resolve.d.ts +0 -28
- package/dist/browser/scenario-resolve.d.ts.map +0 -1
- package/dist/browser/scenario-resolve.js +0 -96
- package/dist/browser/scenario-resolve.js.map +0 -1
- package/dist/browser/scenario-runner.d.ts +0 -72
- package/dist/browser/scenario-runner.d.ts.map +0 -1
- package/dist/browser/scenario-runner.js +0 -353
- package/dist/browser/scenario-runner.js.map +0 -1
- package/dist/browser/stack-parser.d.ts +0 -19
- package/dist/browser/stack-parser.d.ts.map +0 -1
- package/dist/browser/stack-parser.js +0 -85
- package/dist/browser/stack-parser.js.map +0 -1
- package/dist/browser/tool-support.d.ts +0 -71
- package/dist/browser/tool-support.d.ts.map +0 -1
- package/dist/browser/tool-support.js +0 -216
- package/dist/browser/tool-support.js.map +0 -1
- package/dist/browser/url-scheme.d.ts +0 -14
- package/dist/browser/url-scheme.d.ts.map +0 -1
- package/dist/browser/url-scheme.js +0 -38
- package/dist/browser/url-scheme.js.map +0 -1
- package/dist/browser/wait-target.d.ts +0 -37
- package/dist/browser/wait-target.d.ts.map +0 -1
- package/dist/browser/wait-target.js +0 -54
- package/dist/browser/wait-target.js.map +0 -1
- package/dist/cancellation.d.ts +0 -20
- package/dist/cancellation.d.ts.map +0 -1
- package/dist/cancellation.js +0 -41
- package/dist/cancellation.js.map +0 -1
- package/dist/capped.d.ts +0 -17
- package/dist/capped.d.ts.map +0 -1
- package/dist/capped.js +0 -15
- package/dist/capped.js.map +0 -1
- package/dist/credential-store.d.ts +0 -22
- package/dist/credential-store.d.ts.map +0 -1
- package/dist/credential-store.js +0 -33
- package/dist/credential-store.js.map +0 -1
- package/dist/disclosure-ledger.d.ts +0 -14
- package/dist/disclosure-ledger.d.ts.map +0 -1
- package/dist/disclosure-ledger.js +0 -18
- package/dist/disclosure-ledger.js.map +0 -1
- package/dist/evidence/observed-route-evidence.d.ts +0 -25
- package/dist/evidence/observed-route-evidence.d.ts.map +0 -1
- package/dist/evidence/observed-route-evidence.js +0 -76
- package/dist/evidence/observed-route-evidence.js.map +0 -1
- package/dist/heap.d.ts +0 -61
- package/dist/heap.d.ts.map +0 -1
- package/dist/heap.js +0 -82
- package/dist/heap.js.map +0 -1
- package/dist/heartbeat.d.ts +0 -46
- package/dist/heartbeat.d.ts.map +0 -1
- package/dist/heartbeat.js +0 -66
- package/dist/heartbeat.js.map +0 -1
- package/dist/index.d.ts +0 -32
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -19
- package/dist/index.js.map +0 -1
- package/dist/module-trust.d.ts +0 -37
- package/dist/module-trust.d.ts.map +0 -1
- package/dist/module-trust.js +0 -77
- package/dist/module-trust.js.map +0 -1
- package/dist/path-confinement.d.ts +0 -31
- package/dist/path-confinement.d.ts.map +0 -1
- package/dist/path-confinement.js +0 -44
- package/dist/path-confinement.js.map +0 -1
- package/dist/planner/predict-then-propose.d.ts +0 -134
- package/dist/planner/predict-then-propose.d.ts.map +0 -1
- package/dist/planner/predict-then-propose.js +0 -138
- package/dist/planner/predict-then-propose.js.map +0 -1
- package/dist/planner/propose-journey.d.ts +0 -75
- package/dist/planner/propose-journey.d.ts.map +0 -1
- package/dist/planner/propose-journey.js +0 -96
- package/dist/planner/propose-journey.js.map +0 -1
- package/dist/protocol.d.ts +0 -57
- package/dist/protocol.d.ts.map +0 -1
- package/dist/protocol.js +0 -90
- package/dist/protocol.js.map +0 -1
- package/dist/registry.d.ts +0 -103
- package/dist/registry.d.ts.map +0 -1
- package/dist/registry.js +0 -319
- package/dist/registry.js.map +0 -1
- package/dist/render.d.ts +0 -580
- package/dist/render.d.ts.map +0 -1
- package/dist/render.js +0 -867
- package/dist/render.js.map +0 -1
- package/dist/runtime-registry.d.ts +0 -22
- package/dist/runtime-registry.d.ts.map +0 -1
- package/dist/runtime-registry.js +0 -142
- package/dist/runtime-registry.js.map +0 -1
- package/dist/sandbox-defaults.d.ts +0 -41
- package/dist/sandbox-defaults.d.ts.map +0 -1
- package/dist/sandbox-defaults.js +0 -14
- package/dist/sandbox-defaults.js.map +0 -1
- package/dist/scenarios/browser-run-plan-projection.d.ts +0 -161
- package/dist/scenarios/browser-run-plan-projection.d.ts.map +0 -1
- package/dist/scenarios/browser-run-plan-projection.js +0 -264
- package/dist/scenarios/browser-run-plan-projection.js.map +0 -1
- package/dist/scenarios/credential-ref.d.ts +0 -102
- package/dist/scenarios/credential-ref.d.ts.map +0 -1
- package/dist/scenarios/credential-ref.js +0 -148
- package/dist/scenarios/credential-ref.js.map +0 -1
- package/dist/scenarios/index.d.ts +0 -7
- package/dist/scenarios/index.d.ts.map +0 -1
- package/dist/scenarios/index.js +0 -7
- package/dist/scenarios/index.js.map +0 -1
- package/dist/scenarios/parse.d.ts +0 -18
- package/dist/scenarios/parse.d.ts.map +0 -1
- package/dist/scenarios/parse.js +0 -212
- package/dist/scenarios/parse.js.map +0 -1
- package/dist/scenarios/scenario.d.ts +0 -93
- package/dist/scenarios/scenario.d.ts.map +0 -1
- package/dist/scenarios/scenario.js +0 -27
- package/dist/scenarios/scenario.js.map +0 -1
- package/dist/scenarios/secret-ref.d.ts +0 -86
- package/dist/scenarios/secret-ref.d.ts.map +0 -1
- package/dist/scenarios/secret-ref.js +0 -125
- package/dist/scenarios/secret-ref.js.map +0 -1
- package/dist/scenarios/storage.d.ts +0 -21
- package/dist/scenarios/storage.d.ts.map +0 -1
- package/dist/scenarios/storage.js +0 -103
- package/dist/scenarios/storage.js.map +0 -1
- package/dist/server.d.ts +0 -61
- package/dist/server.d.ts.map +0 -1
- package/dist/server.js +0 -541
- package/dist/server.js.map +0 -1
- package/dist/session.d.ts +0 -243
- package/dist/session.d.ts.map +0 -1
- package/dist/session.js +0 -602
- package/dist/session.js.map +0 -1
- package/dist/tools/alias-kit.d.ts +0 -29
- package/dist/tools/alias-kit.d.ts.map +0 -1
- package/dist/tools/alias-kit.js +0 -21
- package/dist/tools/alias-kit.js.map +0 -1
- package/dist/tools/aliases.d.ts +0 -42
- package/dist/tools/aliases.d.ts.map +0 -1
- package/dist/tools/aliases.js +0 -52
- package/dist/tools/aliases.js.map +0 -1
- package/dist/tools/analyze-workspace.d.ts +0 -52
- package/dist/tools/analyze-workspace.d.ts.map +0 -1
- package/dist/tools/analyze-workspace.js +0 -207
- package/dist/tools/analyze-workspace.js.map +0 -1
- package/dist/tools/analyze.d.ts +0 -163
- package/dist/tools/analyze.d.ts.map +0 -1
- package/dist/tools/analyze.js +0 -724
- package/dist/tools/analyze.js.map +0 -1
- package/dist/tools/browser-click.d.ts +0 -18
- package/dist/tools/browser-click.d.ts.map +0 -1
- package/dist/tools/browser-click.js +0 -110
- package/dist/tools/browser-click.js.map +0 -1
- package/dist/tools/browser-close-session.d.ts +0 -39
- package/dist/tools/browser-close-session.d.ts.map +0 -1
- package/dist/tools/browser-close-session.js +0 -120
- package/dist/tools/browser-close-session.js.map +0 -1
- package/dist/tools/browser-fill.d.ts +0 -18
- package/dist/tools/browser-fill.d.ts.map +0 -1
- package/dist/tools/browser-fill.js +0 -117
- package/dist/tools/browser-fill.js.map +0 -1
- package/dist/tools/browser-navigate.d.ts +0 -15
- package/dist/tools/browser-navigate.d.ts.map +0 -1
- package/dist/tools/browser-navigate.js +0 -104
- package/dist/tools/browser-navigate.js.map +0 -1
- package/dist/tools/browser-read.d.ts +0 -33
- package/dist/tools/browser-read.d.ts.map +0 -1
- package/dist/tools/browser-read.js +0 -113
- package/dist/tools/browser-read.js.map +0 -1
- package/dist/tools/browser-run-scenario.d.ts +0 -28
- package/dist/tools/browser-run-scenario.d.ts.map +0 -1
- package/dist/tools/browser-run-scenario.js +0 -206
- package/dist/tools/browser-run-scenario.js.map +0 -1
- package/dist/tools/browser-save-scenario.d.ts +0 -19
- package/dist/tools/browser-save-scenario.d.ts.map +0 -1
- package/dist/tools/browser-save-scenario.js +0 -447
- package/dist/tools/browser-save-scenario.js.map +0 -1
- package/dist/tools/browser-select.d.ts +0 -20
- package/dist/tools/browser-select.d.ts.map +0 -1
- package/dist/tools/browser-select.js +0 -120
- package/dist/tools/browser-select.js.map +0 -1
- package/dist/tools/browser-snapshot.d.ts +0 -46
- package/dist/tools/browser-snapshot.d.ts.map +0 -1
- package/dist/tools/browser-snapshot.js +0 -127
- package/dist/tools/browser-snapshot.js.map +0 -1
- package/dist/tools/browser-start-session.d.ts +0 -24
- package/dist/tools/browser-start-session.d.ts.map +0 -1
- package/dist/tools/browser-start-session.js +0 -622
- package/dist/tools/browser-start-session.js.map +0 -1
- package/dist/tools/browser-submit.d.ts +0 -18
- package/dist/tools/browser-submit.d.ts.map +0 -1
- package/dist/tools/browser-submit.js +0 -106
- package/dist/tools/browser-submit.js.map +0 -1
- package/dist/tools/browser-type.d.ts +0 -18
- package/dist/tools/browser-type.d.ts.map +0 -1
- package/dist/tools/browser-type.js +0 -115
- package/dist/tools/browser-type.js.map +0 -1
- package/dist/tools/browser-wait-for.d.ts +0 -45
- package/dist/tools/browser-wait-for.d.ts.map +0 -1
- package/dist/tools/browser-wait-for.js +0 -150
- package/dist/tools/browser-wait-for.js.map +0 -1
- package/dist/tools/browser.d.ts +0 -69
- package/dist/tools/browser.d.ts.map +0 -1
- package/dist/tools/browser.js +0 -386
- package/dist/tools/browser.js.map +0 -1
- package/dist/tools/chain.d.ts +0 -41
- package/dist/tools/chain.d.ts.map +0 -1
- package/dist/tools/chain.js +0 -105
- package/dist/tools/chain.js.map +0 -1
- package/dist/tools/change-scope.d.ts +0 -25
- package/dist/tools/change-scope.d.ts.map +0 -1
- package/dist/tools/change-scope.js +0 -110
- package/dist/tools/change-scope.js.map +0 -1
- package/dist/tools/code-context.d.ts +0 -83
- package/dist/tools/code-context.d.ts.map +0 -1
- package/dist/tools/code-context.js +0 -416
- package/dist/tools/code-context.js.map +0 -1
- package/dist/tools/contracts.d.ts +0 -74
- package/dist/tools/contracts.d.ts.map +0 -1
- package/dist/tools/contracts.js +0 -196
- package/dist/tools/contracts.js.map +0 -1
- package/dist/tools/cross-pr.d.ts +0 -178
- package/dist/tools/cross-pr.d.ts.map +0 -1
- package/dist/tools/cross-pr.js +0 -321
- package/dist/tools/cross-pr.js.map +0 -1
- package/dist/tools/disclosure.d.ts +0 -75
- package/dist/tools/disclosure.d.ts.map +0 -1
- package/dist/tools/disclosure.js +0 -288
- package/dist/tools/disclosure.js.map +0 -1
- package/dist/tools/draw-conclusion.d.ts +0 -55
- package/dist/tools/draw-conclusion.d.ts.map +0 -1
- package/dist/tools/draw-conclusion.js +0 -259
- package/dist/tools/draw-conclusion.js.map +0 -1
- package/dist/tools/git-context.d.ts +0 -39
- package/dist/tools/git-context.d.ts.map +0 -1
- package/dist/tools/git-context.js +0 -364
- package/dist/tools/git-context.js.map +0 -1
- package/dist/tools/git-diff.d.ts +0 -45
- package/dist/tools/git-diff.d.ts.map +0 -1
- package/dist/tools/git-diff.js +0 -338
- package/dist/tools/git-diff.js.map +0 -1
- package/dist/tools/git-history.d.ts +0 -16
- package/dist/tools/git-history.d.ts.map +0 -1
- package/dist/tools/git-history.js +0 -86
- package/dist/tools/git-history.js.map +0 -1
- package/dist/tools/history.d.ts +0 -34
- package/dist/tools/history.d.ts.map +0 -1
- package/dist/tools/history.js +0 -121
- package/dist/tools/history.js.map +0 -1
- package/dist/tools/impact.d.ts +0 -46
- package/dist/tools/impact.d.ts.map +0 -1
- package/dist/tools/impact.js +0 -225
- package/dist/tools/impact.js.map +0 -1
- package/dist/tools/index.d.ts +0 -59
- package/dist/tools/index.d.ts.map +0 -1
- package/dist/tools/index.js +0 -70
- package/dist/tools/index.js.map +0 -1
- package/dist/tools/kit.d.ts +0 -165
- package/dist/tools/kit.d.ts.map +0 -1
- package/dist/tools/kit.js +0 -153
- package/dist/tools/kit.js.map +0 -1
- package/dist/tools/link-workspace.d.ts +0 -24
- package/dist/tools/link-workspace.d.ts.map +0 -1
- package/dist/tools/link-workspace.js +0 -131
- package/dist/tools/link-workspace.js.map +0 -1
- package/dist/tools/lookup.d.ts +0 -19
- package/dist/tools/lookup.d.ts.map +0 -1
- package/dist/tools/lookup.js +0 -63
- package/dist/tools/lookup.js.map +0 -1
- package/dist/tools/mark-incident.d.ts +0 -28
- package/dist/tools/mark-incident.d.ts.map +0 -1
- package/dist/tools/mark-incident.js +0 -188
- package/dist/tools/mark-incident.js.map +0 -1
- package/dist/tools/merged-browser.d.ts +0 -11
- package/dist/tools/merged-browser.d.ts.map +0 -1
- package/dist/tools/merged-browser.js +0 -20
- package/dist/tools/merged-browser.js.map +0 -1
- package/dist/tools/merged-context.d.ts +0 -11
- package/dist/tools/merged-context.d.ts.map +0 -1
- package/dist/tools/merged-context.js +0 -21
- package/dist/tools/merged-context.js.map +0 -1
- package/dist/tools/merged-observe.d.ts +0 -13
- package/dist/tools/merged-observe.d.ts.map +0 -1
- package/dist/tools/merged-observe.js +0 -21
- package/dist/tools/merged-observe.js.map +0 -1
- package/dist/tools/merged-workspace.d.ts +0 -14
- package/dist/tools/merged-workspace.d.ts.map +0 -1
- package/dist/tools/merged-workspace.js +0 -21
- package/dist/tools/merged-workspace.js.map +0 -1
- package/dist/tools/observe-runtime.d.ts +0 -250
- package/dist/tools/observe-runtime.d.ts.map +0 -1
- package/dist/tools/observe-runtime.js +0 -1753
- package/dist/tools/observe-runtime.js.map +0 -1
- package/dist/tools/observe-tests.d.ts +0 -57
- package/dist/tools/observe-tests.d.ts.map +0 -1
- package/dist/tools/observe-tests.js +0 -368
- package/dist/tools/observe-tests.js.map +0 -1
- package/dist/tools/observe.d.ts +0 -28
- package/dist/tools/observe.d.ts.map +0 -1
- package/dist/tools/observe.js +0 -330
- package/dist/tools/observe.js.map +0 -1
- package/dist/tools/pr-analysis.d.ts +0 -189
- package/dist/tools/pr-analysis.d.ts.map +0 -1
- package/dist/tools/pr-analysis.js +0 -299
- package/dist/tools/pr-analysis.js.map +0 -1
- package/dist/tools/pre-push.d.ts +0 -168
- package/dist/tools/pre-push.d.ts.map +0 -1
- package/dist/tools/pre-push.js +0 -416
- package/dist/tools/pre-push.js.map +0 -1
- package/dist/tools/predict-reach.d.ts +0 -57
- package/dist/tools/predict-reach.d.ts.map +0 -1
- package/dist/tools/predict-reach.js +0 -159
- package/dist/tools/predict-reach.js.map +0 -1
- package/dist/tools/propagation.d.ts +0 -37
- package/dist/tools/propagation.d.ts.map +0 -1
- package/dist/tools/propagation.js +0 -162
- package/dist/tools/propagation.js.map +0 -1
- package/dist/tools/propose-journey.d.ts +0 -16
- package/dist/tools/propose-journey.d.ts.map +0 -1
- package/dist/tools/propose-journey.js +0 -121
- package/dist/tools/propose-journey.js.map +0 -1
- package/dist/tools/prove-reach.d.ts +0 -74
- package/dist/tools/prove-reach.d.ts.map +0 -1
- package/dist/tools/prove-reach.js +0 -286
- package/dist/tools/prove-reach.js.map +0 -1
- package/dist/tools/questions.d.ts +0 -30
- package/dist/tools/questions.d.ts.map +0 -1
- package/dist/tools/questions.js +0 -232
- package/dist/tools/questions.js.map +0 -1
- package/dist/tools/refusal-fetch.d.ts +0 -35
- package/dist/tools/refusal-fetch.d.ts.map +0 -1
- package/dist/tools/refusal-fetch.js +0 -103
- package/dist/tools/refusal-fetch.js.map +0 -1
- package/dist/tools/runtime-incident.d.ts +0 -33
- package/dist/tools/runtime-incident.d.ts.map +0 -1
- package/dist/tools/runtime-incident.js +0 -67
- package/dist/tools/runtime-incident.js.map +0 -1
- package/dist/tools/runtime-journey-drive.d.ts +0 -102
- package/dist/tools/runtime-journey-drive.d.ts.map +0 -1
- package/dist/tools/runtime-journey-drive.js +0 -247
- package/dist/tools/runtime-journey-drive.js.map +0 -1
- package/dist/tools/scope.d.ts +0 -45
- package/dist/tools/scope.d.ts.map +0 -1
- package/dist/tools/scope.js +0 -186
- package/dist/tools/scope.js.map +0 -1
- package/dist/tools/similar-incidents.d.ts +0 -43
- package/dist/tools/similar-incidents.d.ts.map +0 -1
- package/dist/tools/similar-incidents.js +0 -179
- package/dist/tools/similar-incidents.js.map +0 -1
- package/dist/tools/validate.d.ts +0 -133
- package/dist/tools/validate.d.ts.map +0 -1
- package/dist/tools/validate.js +0 -442
- package/dist/tools/validate.js.map +0 -1
- package/dist/tools/verb.d.ts +0 -46
- package/dist/tools/verb.d.ts.map +0 -1
- package/dist/tools/verb.js +0 -78
- package/dist/tools/verb.js.map +0 -1
- package/dist/tools/verification-status.d.ts +0 -38
- package/dist/tools/verification-status.d.ts.map +0 -1
- package/dist/tools/verification-status.js +0 -203
- package/dist/tools/verification-status.js.map +0 -1
- package/dist/tools/verify-claim.d.ts +0 -29
- package/dist/tools/verify-claim.d.ts.map +0 -1
- package/dist/tools/verify-claim.js +0 -220
- package/dist/tools/verify-claim.js.map +0 -1
- package/dist/tools/workspace.d.ts +0 -28
- package/dist/tools/workspace.d.ts.map +0 -1
- package/dist/tools/workspace.js +0 -101
- package/dist/tools/workspace.js.map +0 -1
- package/dist/transport.d.ts +0 -32
- package/dist/transport.d.ts.map +0 -1
- package/dist/transport.js +0 -85
- package/dist/transport.js.map +0 -1
- package/dist/workspace-index.d.ts +0 -164
- package/dist/workspace-index.d.ts.map +0 -1
- package/dist/workspace-index.js +0 -381
- package/dist/workspace-index.js.map +0 -1
package/dist/tools/impact.d.ts
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* `impact` wires §18's `impactOf`/`testsCovering`/`rootCauseSearch` (blast
|
|
3
|
-
* radius, tests, incidents) into one call, plus `traceApi` when `to` is
|
|
4
|
-
* given. Defaults to structural edges (CALLS/IMPORTS/IMPLEMENTS/INHERITS/USES_API/SERVES_API) — data-flow is `propagation`'s job.
|
|
5
|
-
*/
|
|
6
|
-
import type { EdgeType } from "@descryy/ir";
|
|
7
|
-
import { type BriefNode, type NodeCandidates, type ToolDefinition } from "./kit.ts";
|
|
8
|
-
/** A node in the blast radius, with how far out and how hard it is hit. */
|
|
9
|
-
export interface ImpactedNode extends BriefNode {
|
|
10
|
-
readonly depth: number;
|
|
11
|
-
readonly score: number;
|
|
12
|
-
/** 1-based position in this answer, highest score first. */
|
|
13
|
-
readonly rank: number;
|
|
14
|
-
/** `top`/`notable`/`rest` by rank, never an absolute score threshold — this score is `weightedBfs`'s confidence decay, not `scoping/`'s calibrated tiers. */
|
|
15
|
-
readonly prominence: "top" | "notable" | "rest";
|
|
16
|
-
}
|
|
17
|
-
/** An INCIDENT or FIX_PATTERN linked to the start node, and by which edge. */
|
|
18
|
-
export interface RelatedNode extends BriefNode {
|
|
19
|
-
readonly via: EdgeType;
|
|
20
|
-
}
|
|
21
|
-
/** Present only when `to` was given and resolved. */
|
|
22
|
-
export interface TracedPath {
|
|
23
|
-
readonly to: BriefNode;
|
|
24
|
-
readonly hops: number;
|
|
25
|
-
readonly nodes: readonly BriefNode[];
|
|
26
|
-
}
|
|
27
|
-
export interface ImpactReport {
|
|
28
|
-
readonly from: BriefNode;
|
|
29
|
-
/** Capped by `limit`; `affectedTotal` is the uncapped count. */
|
|
30
|
-
readonly affected: readonly ImpactedNode[];
|
|
31
|
-
readonly affectedTotal: number;
|
|
32
|
-
readonly coveringTests: readonly BriefNode[];
|
|
33
|
-
/** Incidents/fix patterns joined by a graph edge — structural only, no similarity search; an empty list is never evidence none exists (`similar_incidents` is that tool). */
|
|
34
|
-
readonly related: readonly RelatedNode[];
|
|
35
|
-
/** Null when no `to` was given, or when the one given did not resolve. */
|
|
36
|
-
readonly path: TracedPath | null;
|
|
37
|
-
/** False when no edge of any walked type touches the start node — an empty `affected` here means the walk didn't run, not that nothing depends on this symbol. */
|
|
38
|
-
readonly analysed: boolean;
|
|
39
|
-
readonly edgeTypesWalked: readonly EdgeType[];
|
|
40
|
-
/** The subset of `edgeTypesWalked` actually found on an edge touching this node. */
|
|
41
|
-
readonly edgeTypesPresent: readonly string[];
|
|
42
|
-
}
|
|
43
|
-
/** One call, two shapes: `NodeCandidates` when the symbol didn't resolve to exactly one node (narrow on `"from" in data`) — nothing was walked, so `ImpactReport`'s counts don't exist rather than reading zero. */
|
|
44
|
-
export type ImpactData = ImpactReport | NodeCandidates;
|
|
45
|
-
export declare const impactTool: ToolDefinition;
|
|
46
|
-
//# sourceMappingURL=impact.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"impact.d.ts","sourceRoot":"","sources":["../../src/tools/impact.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAE5C,OAAO,EAQL,KAAK,SAAS,EACd,KAAK,cAAc,EAEnB,KAAK,cAAc,EACpB,MAAM,UAAU,CAAC;AAIlB,2EAA2E;AAC3E,MAAM,WAAW,YAAa,SAAQ,SAAS;IAC7C,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,KAAK,EAAE,MAAM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Of`/`testsCovering`/`rootCauseSearch` (blast
|
|
3
|
-
* radius, tests, incidents) into one call, plus `traceApi` when `to` is
|
|
4
|
-
* given. Defaults to structural edges (CALLS/IMPORTS/IMPLEMENTS/INHERITS/USES_API/SERVES_API) — data-flow is `propagation`'s job.
|
|
5
|
-
*/
|
|
6
|
-
import { impactOf, rootCauseSearch, testsCovering, traceApi, withProminence } from "@descryy/core";
|
|
7
|
-
import { briefNode, optionalBoolean, optionalEnum, optionalInteger, optionalString, optionalStringArray, ToolInputError, } from "./kit.js";
|
|
8
|
-
import { resolveOneNode } from "./lookup.js";
|
|
9
|
-
/** Structural edges — what depends on what, never what data carries. */
|
|
10
|
-
const STRUCTURAL_EDGE_TYPES = [
|
|
11
|
-
"CALLS",
|
|
12
|
-
"IMPORTS",
|
|
13
|
-
"IMPLEMENTS",
|
|
14
|
-
"INHERITS",
|
|
15
|
-
"USES_API",
|
|
16
|
-
"SERVES_API",
|
|
17
|
-
];
|
|
18
|
-
const SCHEMA = {
|
|
19
|
-
type: "object",
|
|
20
|
-
properties: {
|
|
21
|
-
nodeId: { type: "string", description: "Graph node id to start from." },
|
|
22
|
-
symbol: {
|
|
23
|
-
type: "string",
|
|
24
|
-
description: "Symbol name to start from, when you do not have a node id. Ambiguity is reported rather " +
|
|
25
|
-
"than guessed at — narrow it with \"file\".",
|
|
26
|
-
},
|
|
27
|
-
file: {
|
|
28
|
-
type: "string",
|
|
29
|
-
description: "Repository-relative path, to disambiguate \"symbol\" or to start from a file.",
|
|
30
|
-
},
|
|
31
|
-
to: {
|
|
32
|
-
type: "string",
|
|
33
|
-
description: "A second node id, symbol or path — when given, also traces a path from the start node to " +
|
|
34
|
-
"this one (find_api_contract's \"how does this reach that\" question).",
|
|
35
|
-
},
|
|
36
|
-
edgeTypes: {
|
|
37
|
-
type: "array",
|
|
38
|
-
items: { type: "string" },
|
|
39
|
-
description: "Restrict the blast-radius walk. Defaults to CALLS, IMPORTS, IMPLEMENTS, INHERITS, " +
|
|
40
|
-
"USES_API and SERVES_API — structural edges. For data-flow, use \"propagation\" instead.",
|
|
41
|
-
},
|
|
42
|
-
direction: {
|
|
43
|
-
type: "string",
|
|
44
|
-
enum: ["in", "out"],
|
|
45
|
-
description: "Which way to walk. Default \"in\" — what depends on this symbol (the blast radius). " +
|
|
46
|
-
"\"out\" answers a different question — what this symbol reaches — and is what a caller " +
|
|
47
|
-
"in one repository needs to walk toward a route served by another.",
|
|
48
|
-
},
|
|
49
|
-
crossApiEndpoint: {
|
|
50
|
-
type: "boolean",
|
|
51
|
-
description: "At an API_ENDPOINT node, also follow the USES_API/SERVES_API edge the walk's own " +
|
|
52
|
-
"direction would not otherwise see, reaching the API_ROUTE that serves it on the other " +
|
|
53
|
-
"side of the join (DEC-138: the walk otherwise stops at the shared endpoint). Off by " +
|
|
54
|
-
"default.",
|
|
55
|
-
},
|
|
56
|
-
maxDepth: { type: "integer", minimum: 1, description: "Hop limit on the blast radius. Default unbounded." },
|
|
57
|
-
limit: {
|
|
58
|
-
type: "integer",
|
|
59
|
-
minimum: 1,
|
|
60
|
-
description: "Cap on nodes in the reply. Default 25 — MK-9: the prior default of 100 cost ~5.6k tokens " +
|
|
61
|
-
"per call in this surface's own serialized envelope; 25 lands near ~1.6k, matching the " +
|
|
62
|
-
"default cap `validate`/`contracts` already use. A capped reply always discloses shown/total " +
|
|
63
|
-
"(§5.5); raise this explicitly when the full set is needed.",
|
|
64
|
-
},
|
|
65
|
-
},
|
|
66
|
-
additionalProperties: false,
|
|
67
|
-
};
|
|
68
|
-
async function run(args, ctx) {
|
|
69
|
-
const nodeId = optionalString(args, "nodeId");
|
|
70
|
-
const symbol = optionalString(args, "symbol");
|
|
71
|
-
const file = optionalString(args, "file");
|
|
72
|
-
const to = optionalString(args, "to");
|
|
73
|
-
const edgeTypes = optionalStringArray(args, "edgeTypes");
|
|
74
|
-
const direction = optionalEnum(args, "direction", ["in", "out"]);
|
|
75
|
-
const crossApiEndpoint = optionalBoolean(args, "crossApiEndpoint") ?? false;
|
|
76
|
-
const maxDepth = optionalInteger(args, "maxDepth", 1);
|
|
77
|
-
const limit = optionalInteger(args, "limit", 1) ?? 25;
|
|
78
|
-
if (nodeId === undefined && symbol === undefined && file === undefined) {
|
|
79
|
-
throw new ToolInputError('give one of "nodeId", "symbol" or "file"');
|
|
80
|
-
}
|
|
81
|
-
const provider = ctx.session.provider();
|
|
82
|
-
const found = resolveOneNode(ctx.session, { nodeId, symbol, file });
|
|
83
|
-
if (found.node === null) {
|
|
84
|
-
const base = provider.baseStamp();
|
|
85
|
-
return {
|
|
86
|
-
result: {
|
|
87
|
-
data: { candidates: found.candidates.map(briefNode) },
|
|
88
|
-
stamp: { commitSha: base.commitSha, graphBuiltAt: base.graphBuiltAt, irSchemaVersion: base.irSchemaVersion, commitSpread: base.commitSpread, repoCount: base.repoCount, resolutionFloor: 0 },
|
|
89
|
-
truncated: false,
|
|
90
|
-
notes: found.notes,
|
|
91
|
-
},
|
|
92
|
-
nameLevel: true,
|
|
93
|
-
state: "refused",
|
|
94
|
-
headline: found.headline,
|
|
95
|
-
};
|
|
96
|
-
}
|
|
97
|
-
const walked = edgeTypes ?? STRUCTURAL_EDGE_TYPES;
|
|
98
|
-
ctx.progress(direction === "out" ? `Finding what ${found.node.name} reaches` : `Finding what depends on ${found.node.name}`);
|
|
99
|
-
const impact = impactOf(provider, [found.node.id], {
|
|
100
|
-
types: walked,
|
|
101
|
-
...(direction === undefined ? {} : { direction }),
|
|
102
|
-
...(crossApiEndpoint ? { crossApiEndpoint } : {}),
|
|
103
|
-
...(maxDepth === undefined ? {} : { maxDepth }),
|
|
104
|
-
});
|
|
105
|
-
const affected = impact.data.filter((entry) => entry.node.id !== found.node?.id);
|
|
106
|
-
const shownAffected = affected.slice(0, limit);
|
|
107
|
-
ctx.progress(`Finding tests covering ${found.node.name}`);
|
|
108
|
-
const tests = testsCovering(provider, found.node.id, maxDepth === undefined ? {} : { maxDepth });
|
|
109
|
-
ctx.progress(`Checking for related incidents and fix patterns`);
|
|
110
|
-
const related = rootCauseSearch(provider, found.node.id);
|
|
111
|
-
let path = null;
|
|
112
|
-
const pathNotes = [];
|
|
113
|
-
if (to !== undefined) {
|
|
114
|
-
// `to` is documented as "node id, symbol or path"; each shape is tried in
|
|
115
|
-
// order since `resolveOneNode` is single-shot (a symbol passed as
|
|
116
|
-
// `nodeId` fails rather than falling through to a name lookup). (DEC-398.)
|
|
117
|
-
const target = firstResolved(ctx.session, [{ nodeId: to }, { symbol: to }, { file: to }]) ??
|
|
118
|
-
resolveOneNode(ctx.session, { symbol: to, file: undefined });
|
|
119
|
-
if (target.node === null) {
|
|
120
|
-
pathNotes.push(`"to" (${JSON.stringify(to)}) did not resolve: ${target.headline}`);
|
|
121
|
-
}
|
|
122
|
-
else {
|
|
123
|
-
ctx.progress(`Tracing a path to ${target.node.name}`);
|
|
124
|
-
const traced = traceApi(provider, found.node.id, target.node.id, { direction: "both" });
|
|
125
|
-
path = { to: briefNode(target.node), hops: traced.data.hops, nodes: traced.data.path.map(briefNode) };
|
|
126
|
-
pathNotes.push(...traced.notes);
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
const present = new Set();
|
|
130
|
-
for (const edge of [...provider.outgoing(found.node.id), ...provider.incoming(found.node.id)]) {
|
|
131
|
-
if (walked.includes(edge.type))
|
|
132
|
-
present.add(edge.type);
|
|
133
|
-
}
|
|
134
|
-
const absent = walked.filter((type) => !present.has(type));
|
|
135
|
-
const analysed = present.size > 0;
|
|
136
|
-
const notes = [...found.notes, ...impact.notes, ...tests.notes, ...related.notes, ...pathNotes];
|
|
137
|
-
if (shownAffected.length < affected.length) {
|
|
138
|
-
notes.push(`${affected.length - shownAffected.length} further affected node(s) exist but are not listed — ` +
|
|
139
|
-
`the reply is capped at ${limit}.`);
|
|
140
|
-
}
|
|
141
|
-
if (absent.length > 0) {
|
|
142
|
-
notes.push(`No ${absent.join(", ")} edge touches this node, so ${absent.length === 1 ? "that type" : "those types"} ` +
|
|
143
|
-
"contributed nothing to the blast radius.");
|
|
144
|
-
}
|
|
145
|
-
if (!analysed) {
|
|
146
|
-
notes.push(`None of the requested edge types (${walked.join(", ")}) appear on any edge touching this node. ` +
|
|
147
|
-
"That is not a finding that nothing depends on it — a producer for these edges may not run in " +
|
|
148
|
-
"this graph. This probe is local to one node and does not choose between the causes.");
|
|
149
|
-
}
|
|
150
|
-
// Floor is the weakest evidence *behind the answer* — a sub-query that
|
|
151
|
-
// found nothing (R0) isn't behind it, else a sparse graph always caps
|
|
152
|
-
// reliability C regardless of what the impact walk actually crossed. (DEC-399.)
|
|
153
|
-
const contributing = [
|
|
154
|
-
impact.stamp.resolutionFloor,
|
|
155
|
-
...(tests.data.length > 0 ? [tests.stamp.resolutionFloor] : []),
|
|
156
|
-
...(related.data.length > 0 ? [related.stamp.resolutionFloor] : []),
|
|
157
|
-
];
|
|
158
|
-
const resolutionFloor = Math.min(...contributing);
|
|
159
|
-
return {
|
|
160
|
-
result: {
|
|
161
|
-
data: {
|
|
162
|
-
from: briefNode(found.node),
|
|
163
|
-
affected: withProminence(shownAffected.map((entry) => ({
|
|
164
|
-
...briefNode(entry.node),
|
|
165
|
-
depth: entry.depth,
|
|
166
|
-
score: Number(entry.score.toFixed(4)),
|
|
167
|
-
}))),
|
|
168
|
-
affectedTotal: affected.length,
|
|
169
|
-
coveringTests: tests.data.map(briefNode),
|
|
170
|
-
related: related.data.map((m) => ({ ...briefNode(m.incident), via: m.via })),
|
|
171
|
-
path,
|
|
172
|
-
analysed,
|
|
173
|
-
edgeTypesWalked: walked,
|
|
174
|
-
edgeTypesPresent: [...present].sort(),
|
|
175
|
-
},
|
|
176
|
-
stamp: { ...impact.stamp, resolutionFloor },
|
|
177
|
-
// `impact.truncated` is the query layer's own cap; it says nothing
|
|
178
|
-
// about this tool's own `limit` slice of `affected` (same gap history.ts had, P27).
|
|
179
|
-
truncated: impact.truncated || tests.truncated || related.truncated || shownAffected.length < affected.length,
|
|
180
|
-
notes,
|
|
181
|
-
},
|
|
182
|
-
nameLevel: false,
|
|
183
|
-
...(analysed ? (affected.length === 0 ? { state: "empty" } : {}) : { state: "refused" }),
|
|
184
|
-
// `affected` is the primary collection this tool reports — tests/related
|
|
185
|
-
// can also be capped, but one shown/total pair can't describe three
|
|
186
|
-
// lists, so this covers only the primary one (§4's TruncationDetail).
|
|
187
|
-
...(shownAffected.length < affected.length
|
|
188
|
-
? { truncatedDetail: { shown: shownAffected.length, total: affected.length, more: null } }
|
|
189
|
-
: {}),
|
|
190
|
-
headline: !analysed
|
|
191
|
-
? `${found.node.name}'s blast radius was not analysed: the graph holds no ${walked.join("/")} edge ` +
|
|
192
|
-
"touching it. This is not a finding that nothing depends on it."
|
|
193
|
-
: direction === "out"
|
|
194
|
-
? `${found.node.name} reaches ${affected.length} node(s); ${tests.data.length} test(s) cover it` +
|
|
195
|
-
`${related.data.length > 0 ? `; ${related.data.length} related incident(s)/fix(es)` : ""}.`
|
|
196
|
-
: `${found.node.name} affects ${affected.length} node(s); ${tests.data.length} test(s) cover it` +
|
|
197
|
-
`${related.data.length > 0 ? `; ${related.data.length} related incident(s)/fix(es)` : ""}.`,
|
|
198
|
-
};
|
|
199
|
-
}
|
|
200
|
-
/** First criteria shape that resolves, or null. `resolveOneNode` is single-shot per criterion, so a parameter documented as accepting several shapes needs each tried before reporting no match. */
|
|
201
|
-
function firstResolved(session, attempts) {
|
|
202
|
-
for (const criteria of attempts) {
|
|
203
|
-
const found = resolveOneNode(session, criteria);
|
|
204
|
-
if (found.node !== null)
|
|
205
|
-
return found;
|
|
206
|
-
}
|
|
207
|
-
return null;
|
|
208
|
-
}
|
|
209
|
-
export const impactTool = {
|
|
210
|
-
name: "impact",
|
|
211
|
-
class: "read",
|
|
212
|
-
tier: "evidence",
|
|
213
|
-
version: "1.0.0",
|
|
214
|
-
title: "Blast radius, test coverage and prior incidents for a symbol",
|
|
215
|
-
description: "Given a symbol, report what depends on it (blast radius over CALLS/IMPORTS/IMPLEMENTS/" +
|
|
216
|
-
"INHERITS/USES_API/SERVES_API), which tests cover it, and any incidents or fix patterns " +
|
|
217
|
-
"linked to it by a graph edge. Pass \"to\" to also trace a path to a second symbol. Pass " +
|
|
218
|
-
"\"direction\": \"out\" to instead ask what a symbol reaches, and \"crossApiEndpoint\": true " +
|
|
219
|
-
"with it to walk from a frontend caller across a shared API_ENDPOINT into the backend " +
|
|
220
|
-
"API_ROUTE that serves it. For data flow (what a value reaches, not what depends on a " +
|
|
221
|
-
"symbol), use \"propagation\" instead.",
|
|
222
|
-
inputSchema: SCHEMA,
|
|
223
|
-
run,
|
|
224
|
-
};
|
|
225
|
-
//# sourceMappingURL=impact.js.map
|
package/dist/tools/impact.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"impact.js","sourceRoot":"","sources":["../../src/tools/impact.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,aAAa,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAGnG,OAAO,EACL,SAAS,EACT,eAAe,EACf,YAAY,EACZ,eAAe,EACf,cAAc,EACd,mBAAmB,EACnB,cAAc,GAKf,MAAM,UAAU,CAAC;AAElB,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AA4C7C,wEAAwE;AACxE,MAAM,qBAAqB,GAAwB;IACjD,OAAO;IACP,SAAS;IACT,YAAY;IACZ,UAAU;IACV,UAAU;IACV,YAAY;CACb,CAAC;AAEF,MAAM,MAAM,GAAG;IACb,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,8BAA8B,EAAE;QACvE,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,WAAW,EACT,0FAA0F;gBAC1F,4CAA4C;SAC/C;QACD,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,+EAA+E;SAC7F;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;CACJ,CAAC"}
|
package/dist/tools/index.d.ts
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The advertised tool surface: sixteen endpoints.
|
|
3
|
-
*
|
|
4
|
-
* It was thirty-four. Twenty-six of those were merged into eight, each merged
|
|
5
|
-
* tool dispatching on a `verb` to the *same* `run` function its predecessor
|
|
6
|
-
* used — the absorbed tool files are unchanged and still export their
|
|
7
|
-
* definitions, they simply stopped being listed. The retired names keep
|
|
8
|
-
* answering through `aliases.ts` for one minor version and are not advertised,
|
|
9
|
-
* because a listing carrying the old names beside the new ones would be a
|
|
10
|
-
* worse surface than the one this work started from.
|
|
11
|
-
*
|
|
12
|
-
* Order is the order a developer meets them: `workspace` first (nothing else
|
|
13
|
-
* works without a graph), the questions asked of an existing graph next, then
|
|
14
|
-
* the tools that reach a running application.
|
|
15
|
-
*/
|
|
16
|
-
import type { ToolDefinition } from "./kit.ts";
|
|
17
|
-
export declare const TOOLS: readonly ToolDefinition[];
|
|
18
|
-
export declare const TOOLS_BY_NAME: ReadonlyMap<string, ToolDefinition>;
|
|
19
|
-
export { ToolInputError } from "./kit.ts";
|
|
20
|
-
export type { BriefNode, NodeCandidates, Progress, ToolContext, ToolDefinition, } from "./kit.ts";
|
|
21
|
-
export { resolveOneNode } from "./lookup.ts";
|
|
22
|
-
export { TOOL_TIERS } from "../render.ts";
|
|
23
|
-
export type { ToolTier } from "../render.ts";
|
|
24
|
-
export type { AnalyzeData, SourceRun } from "./analyze.ts";
|
|
25
|
-
export type { AnalyzeWorkspaceData } from "./analyze-workspace.ts";
|
|
26
|
-
export type { BrowserClickData } from "./browser-click.ts";
|
|
27
|
-
export type { ChainData, ChainReport, ChainStageReport } from "./chain.ts";
|
|
28
|
-
export type { PredictReachData, PredictReachReport } from "./predict-reach.ts";
|
|
29
|
-
export type { ProveReachData, ProveReachReport } from "./prove-reach.ts";
|
|
30
|
-
export type { BrowserCloseSessionData } from "./browser-close-session.ts";
|
|
31
|
-
export type { BrowserFillData } from "./browser-fill.ts";
|
|
32
|
-
export type { BrowserSelectData } from "./browser-select.ts";
|
|
33
|
-
export type { BrowserSubmitData } from "./browser-submit.ts";
|
|
34
|
-
export type { BrowserWaitForData } from "./browser-wait-for.ts";
|
|
35
|
-
export type { BrowserTypeData } from "./browser-type.ts";
|
|
36
|
-
export type { BrowserNavigateData } from "./browser-navigate.ts";
|
|
37
|
-
export type { BrowserRunScenarioData } from "./browser-run-scenario.ts";
|
|
38
|
-
export type { BrowserSaveScenarioData } from "./browser-save-scenario.ts";
|
|
39
|
-
export type { BrowserPageData, BrowserSnapshotData } from "./browser-snapshot.ts";
|
|
40
|
-
export type { BrowserStartSessionData } from "./browser-start-session.ts";
|
|
41
|
-
export type { ContractPathFinding, ContractShapeMismatchReport, ContractShapeStatus, ContractsData, } from "./contracts.ts";
|
|
42
|
-
export type { BlockedCheck, CrossPrData, CrossPrEmptyDiff, CrossPrGitFailure, CrossPrReport, HiddenDependencyCheck, HiddenDependencyFinding, OverlapCheck, OverlapReportChecked, SupersededCheck, } from "./cross-pr.ts";
|
|
43
|
-
export type { GitDiffData, GitDiffEntry } from "./git-diff.ts";
|
|
44
|
-
export type { GitHistoryCommit, GitHistoryData } from "./git-history.ts";
|
|
45
|
-
export type { CoChangedFile, HistoryData, HistoryFile, HistoryFileResolved, HistoryFileUnresolved, HistoryReport } from "./history.ts";
|
|
46
|
-
export type { ImpactData, ImpactedNode, ImpactReport, RelatedNode, TracedPath } from "./impact.ts";
|
|
47
|
-
export type { LinkWorkspaceData, LinkedRepo } from "./link-workspace.ts";
|
|
48
|
-
export type { CorrelationSummary, ObservedService, ObserveRuntimeData, RuntimeWriteSummary, } from "./observe-runtime.ts";
|
|
49
|
-
export type { MarkIncidentData } from "./mark-incident.ts";
|
|
50
|
-
export type { AffectedRef, PrAnalysisData, PrAnalysisEmptyDiff, PrAnalysisGitFailure, PrAnalysisLists, PrAnalysisRange, PrAnalysisReport, PrAnalysisUnresolved, } from "./pr-analysis.ts";
|
|
51
|
-
export type { PropagationData, PropagationReport, ReachedNode } from "./propagation.ts";
|
|
52
|
-
export type { QuestionsData } from "./questions.ts";
|
|
53
|
-
export type { RefusalFetchData, RefusalFetchPageData, RefusalFetchSummaryData, RefusalFetchSummaryItem, } from "./refusal-fetch.ts";
|
|
54
|
-
export type { ScopeData, ScopeNotSeeded, ScopeReport, ScopeTierCount, ScopedNodeReport } from "./scope.ts";
|
|
55
|
-
export type { SimilarIncidentReport, SimilarIncidentSignalReport, SimilarIncidentsData, } from "./similar-incidents.ts";
|
|
56
|
-
export type { ConfigDependencyReport, EnvFindingReport, ValidateData } from "./validate.ts";
|
|
57
|
-
export type { VerificationStatusData, VerificationStatusExercisedItem, } from "./verification-status.ts";
|
|
58
|
-
export type { VerifyClaimData, VerifyClaimResult } from "./verify-claim.ts";
|
|
59
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tools/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAoBH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,eAAO,MAAM,KAAK,EAAE,SAAS,cAAc,EAgC1C,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,WAAW,CAAC,MAAM,EAAE,cAAc,CAE7D,CAAC;AAEF,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC1C,YAAY,EACV,SAAS,EACT,cAAc,EACd,QAAQ,EACR,WAAW,EACX,cAAc,GACf,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAK7C,YAAY,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC3D,YAAY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
package/dist/tools/index.js
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The advertised tool surface: sixteen endpoints.
|
|
3
|
-
*
|
|
4
|
-
* It was thirty-four. Twenty-six of those were merged into eight, each merged
|
|
5
|
-
* tool dispatching on a `verb` to the *same* `run` function its predecessor
|
|
6
|
-
* used — the absorbed tool files are unchanged and still export their
|
|
7
|
-
* definitions, they simply stopped being listed. The retired names keep
|
|
8
|
-
* answering through `aliases.ts` for one minor version and are not advertised,
|
|
9
|
-
* because a listing carrying the old names beside the new ones would be a
|
|
10
|
-
* worse surface than the one this work started from.
|
|
11
|
-
*
|
|
12
|
-
* Order is the order a developer meets them: `workspace` first (nothing else
|
|
13
|
-
* works without a graph), the questions asked of an existing graph next, then
|
|
14
|
-
* the tools that reach a running application.
|
|
15
|
-
*/
|
|
16
|
-
import { chainTool } from "./chain.js";
|
|
17
|
-
import { contractsTool } from "./contracts.js";
|
|
18
|
-
import { drawConclusionTool } from "./draw-conclusion.js";
|
|
19
|
-
import { predictReachTool } from "./predict-reach.js";
|
|
20
|
-
import { proveReachTool } from "./prove-reach.js";
|
|
21
|
-
import { proposeJourneyTool } from "./propose-journey.js";
|
|
22
|
-
import { crossPrTool } from "./cross-pr.js";
|
|
23
|
-
import { markIncidentTool } from "./mark-incident.js";
|
|
24
|
-
import { prAnalysisTool } from "./pr-analysis.js";
|
|
25
|
-
import { questionsTool } from "./questions.js";
|
|
26
|
-
import { similarIncidentsTool } from "./similar-incidents.js";
|
|
27
|
-
import { validateTool } from "./validate.js";
|
|
28
|
-
import { verifyClaimTool } from "./verify-claim.js";
|
|
29
|
-
import { WORKSPACE_GROUP_TOOLS } from "./merged-workspace.js";
|
|
30
|
-
import { CONTEXT_GROUP_TOOLS } from "./merged-context.js";
|
|
31
|
-
import { OBSERVE_GROUP_TOOLS } from "./merged-observe.js";
|
|
32
|
-
import { BROWSER_GROUP_TOOLS } from "./merged-browser.js";
|
|
33
|
-
export const TOOLS = [
|
|
34
|
-
// workspace, change_scope
|
|
35
|
-
...WORKSPACE_GROUP_TOOLS,
|
|
36
|
-
// code_context, git_context, disclosure
|
|
37
|
-
...CONTEXT_GROUP_TOOLS,
|
|
38
|
-
prAnalysisTool,
|
|
39
|
-
crossPrTool,
|
|
40
|
-
// The four that landed on integration/runtime-gaps while this consolidation
|
|
41
|
-
// was in flight. Left standalone rather than folded into a verb group: three
|
|
42
|
-
// are read/evidence and could plausibly join `code_context`, but which of
|
|
43
|
-
// them belongs under which verb is a judgement about their semantics, not a
|
|
44
|
-
// mechanical merge, and `draw_conclusion` is conclusion-tier so it could not
|
|
45
|
-
// join an evidence tool regardless. Filed as a follow-up rather than guessed.
|
|
46
|
-
// `prove_reach` (RG-10's full loop) landed after the consolidation and stays
|
|
47
|
-
// standalone for the stronger version of the same reason: it is action-class
|
|
48
|
-
// and conclusion-tier, so no verb group could hold it without mixing classes.
|
|
49
|
-
chainTool,
|
|
50
|
-
predictReachTool,
|
|
51
|
-
proveReachTool,
|
|
52
|
-
proposeJourneyTool,
|
|
53
|
-
drawConclusionTool,
|
|
54
|
-
contractsTool,
|
|
55
|
-
validateTool,
|
|
56
|
-
verifyClaimTool,
|
|
57
|
-
questionsTool,
|
|
58
|
-
similarIncidentsTool,
|
|
59
|
-
markIncidentTool,
|
|
60
|
-
// observe, browser_read
|
|
61
|
-
...OBSERVE_GROUP_TOOLS,
|
|
62
|
-
// browser — the eight action verbs, last for the same reason the browser
|
|
63
|
-
// primitives were last before: a reader meets the graph tools first.
|
|
64
|
-
...BROWSER_GROUP_TOOLS,
|
|
65
|
-
];
|
|
66
|
-
export const TOOLS_BY_NAME = new Map(TOOLS.map((tool) => [tool.name, tool]));
|
|
67
|
-
export { ToolInputError } from "./kit.js";
|
|
68
|
-
export { resolveOneNode } from "./lookup.js";
|
|
69
|
-
export { TOOL_TIERS } from "../render.js";
|
|
70
|
-
//# sourceMappingURL=index.js.map
|
package/dist/tools/index.js.map
DELETED
|
@@ -1 +0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AA6E;IAC7E,6EAA6E;IAC7E,8EAA8E;IAC9E,SAAS;IACT,gBAAgB;IAChB,cAAc;IACd,kBAAkB;IAClB,kBAAkB;IAClB,aAAa;IACb,YAAY;IACZ,eAAe;IACf,aAAa;IACb,oBAAoB;IACpB,gBAAgB;IAChB,wBAAwB;IACxB,GAAG,mBAAmB;IACtB,yEAAyE;IACzE,qEAAqE;IACrE,GAAG,mBAAmB;CACvB,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAwC,IAAI,GAAG,CACvE,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CACvC,CAAC;AAEF,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAQ1C,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC"}
|
package/dist/tools/kit.d.ts
DELETED
|
@@ -1,165 +0,0 @@
|
|
|
1
|
-
/** What every tool is handed and returns. A tool produces a `ToolAnswer`, never content —
|
|
2
|
-
* `render.ts` alone turns it into a reply, attaching the staleness stamp, reliability cap and
|
|
3
|
-
* disclosures. A tool cannot ship a result with the caveats stripped off. */
|
|
4
|
-
import type { ResolutionLevel, ResultState, ToolClass } from "@descryy/ir";
|
|
5
|
-
import type { ReplyFit, ToolAnswer, ToolTier, TruncationDetail, WitnessedEvidence } from "../render.ts";
|
|
6
|
-
import type { Session } from "../session.ts";
|
|
7
|
-
/** Streaming narration, §22.2. A no-op when the client sent no progress token; tools call it
|
|
8
|
-
* unconditionally and leave "is anyone listening" to the caller. */
|
|
9
|
-
export type Progress = (message: string, current?: number, total?: number) => void;
|
|
10
|
-
export interface ToolContext {
|
|
11
|
-
readonly session: Session;
|
|
12
|
-
readonly progress: Progress;
|
|
13
|
-
readonly signal: AbortSignal;
|
|
14
|
-
}
|
|
15
|
-
export interface ToolDefinition {
|
|
16
|
-
readonly name: string;
|
|
17
|
-
readonly title: string;
|
|
18
|
-
readonly description: string;
|
|
19
|
-
/** DEC-278's three classes (`ai-tool-contract.md` §8). Not "does it write bytes" but "can this
|
|
20
|
-
* change a later finding unannounced" — twelve of the registry's 34 tools are `action`, gated
|
|
21
|
-
* by §4's handshake, capped at reliability B by DEC-223. No default: unset silently treats
|
|
22
|
-
* writes as pure. */
|
|
23
|
-
readonly class: ToolClass;
|
|
24
|
-
/** MK-5 — does the output state a conclusion, or just a graph fact? Required, undefaulted, same
|
|
25
|
-
* reasoning as `class`. See `ToolTier` in `../render.ts` for why the type lives there. */
|
|
26
|
-
readonly tier: ToolTier;
|
|
27
|
-
/** Contract §6 rule 8. Starts at `"1.0.0"`; a future bump invalidates golden investigations
|
|
28
|
-
* that depended on the old behaviour (`ai-layer-plan.md` §9 layer 4). */
|
|
29
|
-
readonly version: string;
|
|
30
|
-
readonly inputSchema: Record<string, unknown>;
|
|
31
|
-
run(args: Record<string, unknown>, ctx: ToolContext): Promise<ToolAnswer<unknown>>;
|
|
32
|
-
/** Required iff `class === "action"` (enforced in `action-handshake.ts` and
|
|
33
|
-
* `tool-classes.test.ts`, not by the type). Returns the "willDo" text, or `undefined` when this
|
|
34
|
-
* call has nothing to confirm (e.g. `questions` with no `answer`). */
|
|
35
|
-
describeAction?(args: Record<string, unknown>, ctx: ToolContext): string | undefined | Promise<string | undefined>;
|
|
36
|
-
/**
|
|
37
|
-
* The form of this call's arguments that may be kept — B1.
|
|
38
|
-
*
|
|
39
|
-
* `server.ts` records every completed call's arguments on the `Session` so
|
|
40
|
-
* `verify_claim` can check a citation against what a tool actually
|
|
41
|
-
* returned. That record lives for the life of the connection, and
|
|
42
|
-
* `browser_start_session` is the first tool whose arguments can carry a
|
|
43
|
-
* credential. A tool that takes one implements this and hands back a copy
|
|
44
|
-
* with the values replaced; every other tool leaves it undefined and is
|
|
45
|
-
* recorded verbatim, exactly as before.
|
|
46
|
-
*
|
|
47
|
-
* The tool's job rather than a generic pass in the server, deliberately:
|
|
48
|
-
* only the tool knows which of its arguments is a secret, and a
|
|
49
|
-
* server-side "looks sensitive" heuristic is the pattern-guessing this
|
|
50
|
-
* repo's own redactor already refuses to be.
|
|
51
|
-
*/
|
|
52
|
-
redactArgs?(args: Record<string, unknown>): Record<string, unknown>;
|
|
53
|
-
}
|
|
54
|
-
/** An argument the caller can fix — distinct from a thrown `Error` (a bug here). This becomes an
|
|
55
|
-
* `isError` result the agent can read and retry from; a bug becomes an unreadable JSON-RPC error. */
|
|
56
|
-
export declare class ToolInputError extends Error {
|
|
57
|
-
constructor(message: string);
|
|
58
|
-
}
|
|
59
|
-
export declare function optionalString(args: Record<string, unknown>, key: string): string | undefined;
|
|
60
|
-
export declare function requiredString(args: Record<string, unknown>, key: string): string;
|
|
61
|
-
export declare function optionalStringArray(args: Record<string, unknown>, key: string): readonly string[] | undefined;
|
|
62
|
-
export declare function optionalInteger(args: Record<string, unknown>, key: string, min: number): number | undefined;
|
|
63
|
-
export declare function optionalEnum<T extends string>(args: Record<string, unknown>, key: string, allowed: readonly T[]): T | undefined;
|
|
64
|
-
export declare function optionalBoolean(args: Record<string, unknown>, key: string): boolean | undefined;
|
|
65
|
-
/** Wraps data that did not come from the query layer in the same envelope — e.g. `analyze`, which
|
|
66
|
-
* writes rather than reads and has no `QueryResult`, so its reply still carries the same stamp. */
|
|
67
|
-
export declare function answer<T>(options: {
|
|
68
|
-
readonly headline: string;
|
|
69
|
-
readonly data: T;
|
|
70
|
-
readonly resolutionFloor: ResolutionLevel;
|
|
71
|
-
readonly commitSha: string | null;
|
|
72
|
-
readonly graphBuiltAt: number | null;
|
|
73
|
-
readonly irSchemaVersion: number;
|
|
74
|
-
readonly commitSpread: number;
|
|
75
|
-
readonly repoCount: number;
|
|
76
|
-
readonly notes: readonly string[];
|
|
77
|
-
readonly truncated?: boolean;
|
|
78
|
-
readonly truncatedDetail?: TruncationDetail;
|
|
79
|
-
readonly nameLevel: boolean;
|
|
80
|
-
/** One of the five result states (`ai-tool-contract.md` §1). Omitted means `"ok"`. */
|
|
81
|
-
readonly state?: ResultState;
|
|
82
|
-
/** §5.4 — see `render.ts`'s `ToolAnswer.refusalSummary` doc for which callers have one. */
|
|
83
|
-
readonly refusalSummary?: {
|
|
84
|
-
readonly count: number;
|
|
85
|
-
readonly exemplar: string;
|
|
86
|
-
readonly handle: string;
|
|
87
|
-
};
|
|
88
|
-
/** See `render.ts`'s `ToolAnswer.fitToBudget` — how this tool shrinks to the reply ceiling. */
|
|
89
|
-
readonly fitToBudget?: (budgetBytes: number) => ReplyFit<T>;
|
|
90
|
-
/** See `render.ts`'s `ToolAnswer.runtimeEvidence`. Set only by a tool that actually watched a
|
|
91
|
-
* running app; omitted everywhere else, including every refusal. */
|
|
92
|
-
readonly runtimeEvidence?: WitnessedEvidence;
|
|
93
|
-
}): ToolAnswer<T>;
|
|
94
|
-
/** An IR node as it appears in a reply. Optional fields are omitted, not `null`, keeping a
|
|
95
|
-
* 1,000-node reply affordable — callers test for presence. `language` passes through verbatim;
|
|
96
|
-
* nothing here reads or branches on it (rule 1 — no language name above the IR boundary). */
|
|
97
|
-
export interface BriefNode {
|
|
98
|
-
readonly id: string;
|
|
99
|
-
readonly type: string;
|
|
100
|
-
readonly name: string;
|
|
101
|
-
readonly file?: string;
|
|
102
|
-
/** Start line only — a reply carries where to look, not how much to read. */
|
|
103
|
-
readonly line?: number;
|
|
104
|
-
readonly language?: string;
|
|
105
|
-
readonly resolution: number;
|
|
106
|
-
}
|
|
107
|
-
/** Returned when a symbol/path/id resolved to nothing or to more than one thing (shared by
|
|
108
|
-
* `impact` and `propagation` via `resolveOneNode`): empty `candidates` means no match, two or
|
|
109
|
-
* more means ambiguous — one is impossible, that case resolves. */
|
|
110
|
-
export interface NodeCandidates {
|
|
111
|
-
readonly candidates: readonly BriefNode[];
|
|
112
|
-
}
|
|
113
|
-
/** Trim an IR node down to what an agent needs, so a 1,000-node reply stays readable. */
|
|
114
|
-
export declare function briefNode(node: {
|
|
115
|
-
id: string;
|
|
116
|
-
type: string;
|
|
117
|
-
name: string;
|
|
118
|
-
file: string | null;
|
|
119
|
-
range: {
|
|
120
|
-
startLine: number;
|
|
121
|
-
endLine: number;
|
|
122
|
-
} | null;
|
|
123
|
-
language: string | null;
|
|
124
|
-
resolution: number;
|
|
125
|
-
}): BriefNode;
|
|
126
|
-
/**
|
|
127
|
-
* Descry's own state inside this repository, which is not the developer's
|
|
128
|
-
* uncommitted change.
|
|
129
|
-
*
|
|
130
|
-
* ## Two paths, not one, and the second is the one that bit
|
|
131
|
-
*
|
|
132
|
-
* The first version derived this from the configured graph path alone. That is
|
|
133
|
-
* right for a single repository, where the graph sits in this repo's own
|
|
134
|
-
* `.descry/` — and wrong the moment two repositories share one graph, which is
|
|
135
|
-
* exactly what `link_workspace` produces:
|
|
136
|
-
*
|
|
137
|
-
* ```json
|
|
138
|
-
* // sherpa-backend/.descry/config.json
|
|
139
|
-
* "graph": "/home/…/sherpa-frontend/.descry/graph.db"
|
|
140
|
-
* ```
|
|
141
|
-
*
|
|
142
|
-
* The derived exclusion then pointed into the *other* repository, and this
|
|
143
|
-
* repository's own `.descry/config.json` was excluded by nothing. Measured on a
|
|
144
|
-
* real workspace: it was reported as the developer's uncommitted work. Not an
|
|
145
|
-
* edge case — every shared-graph workspace has it.
|
|
146
|
-
*
|
|
147
|
-
* `.descry/evidence.db` escaped only because that repository's `.gitignore`
|
|
148
|
-
* happened to carry `*.db`. **The exclusion must not depend on the user having
|
|
149
|
-
* gitignored anything**, which is what that near-miss shows: a tool's own state
|
|
150
|
-
* is excluded because it is the tool's, not because someone tidied up.
|
|
151
|
-
*
|
|
152
|
-
* ## Why the graph path is still consulted
|
|
153
|
-
*
|
|
154
|
-
* It is configurable, so it can be moved out of `.descry/` and stay inside the
|
|
155
|
-
* repository. A path outside the repository costs nothing to list — it is not
|
|
156
|
-
* in this working tree — and is kept rather than special-cased, because the
|
|
157
|
-
* test for "is this path inside this repo" is the kind that is subtly wrong on
|
|
158
|
-
* symlinks and relative paths.
|
|
159
|
-
*
|
|
160
|
-
* Returned as directory prefixes matched at a segment boundary by the git
|
|
161
|
-
* helpers, so `.descry` excludes `.descry/config.json` and leaves
|
|
162
|
-
* `src/.descryfile.py` alone.
|
|
163
|
-
*/
|
|
164
|
-
export declare function descryOwnState(graphPath: string): readonly string[];
|
|
165
|
-
//# sourceMappingURL=kit.d.ts.map
|
package/dist/tools/kit.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"kit.d.ts","sourceRoot":"","sources":["../../src/tools/kit.ts"],"names":[],"mappings":"AAAA;;8EAE8E;AAO9E,OAAO,KAAK,EAAE,eAAe,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE3E,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACxG,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAE7C;qEACqE;AACrE,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;AAEnF,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,QAAQ,EAAE,QAAQ,CAAC;IAC5B,QAAQ,CAAC,MAAM,EAAE,WAAW,CAAC;CAC9B;AAED,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B;;;0BAGsB;IACtB,QAAQ,CAAC,KAAK,EAAE,SAAS,CAAC;IAC1B;+FAC2F;IAC3F,QAAQ,CAAC,IAAI,EAAE,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