unreal-engine-mcp-server 0.6.0-beta-e → 0.6.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/CHANGELOG.md +185 -0
- package/README.md +41 -58
- package/dist/cli.js +3 -13
- package/dist/constants.js +0 -15
- package/dist/proxy/native-proxy.js +49 -8
- package/package.json +13 -17
- package/server.json +10 -55
- package/dist/automation/bridge-client.d.ts +0 -36
- package/dist/automation/bridge-client.js +0 -194
- package/dist/automation/bridge-config.d.ts +0 -25
- package/dist/automation/bridge-config.js +0 -182
- package/dist/automation/bridge-request-dispatcher.d.ts +0 -28
- package/dist/automation/bridge-request-dispatcher.js +0 -152
- package/dist/automation/bridge-state.d.ts +0 -18
- package/dist/automation/bridge-state.js +0 -2
- package/dist/automation/bridge-status.d.ts +0 -15
- package/dist/automation/bridge-status.js +0 -47
- package/dist/automation/bridge.d.ts +0 -48
- package/dist/automation/bridge.js +0 -152
- package/dist/automation/capability-token-provider.d.ts +0 -11
- package/dist/automation/capability-token-provider.js +0 -62
- package/dist/automation/connection-lifecycle.d.ts +0 -19
- package/dist/automation/connection-lifecycle.js +0 -109
- package/dist/automation/connection-manager.d.ts +0 -40
- package/dist/automation/connection-manager.js +0 -127
- package/dist/automation/diagnostics-snapshot-reader.d.ts +0 -76
- package/dist/automation/diagnostics-snapshot-reader.js +0 -86
- package/dist/automation/dispatcher.test-support.d.ts +0 -9
- package/dist/automation/dispatcher.test-support.js +0 -26
- package/dist/automation/handshake.d.ts +0 -11
- package/dist/automation/handshake.js +0 -132
- package/dist/automation/index.d.ts +0 -6
- package/dist/automation/index.js +0 -4
- package/dist/automation/log-redaction.d.ts +0 -11
- package/dist/automation/log-redaction.js +0 -165
- package/dist/automation/message-handler.d.ts +0 -15
- package/dist/automation/message-handler.js +0 -103
- package/dist/automation/message-schema.d.ts +0 -128
- package/dist/automation/message-schema.js +0 -92
- package/dist/automation/request-cancellation-error.d.ts +0 -7
- package/dist/automation/request-cancellation-error.js +0 -11
- package/dist/automation/request-context.d.ts +0 -8
- package/dist/automation/request-context.js +0 -12
- package/dist/automation/request-correlation.d.ts +0 -22
- package/dist/automation/request-correlation.js +0 -79
- package/dist/automation/request-tracker.d.ts +0 -32
- package/dist/automation/request-tracker.js +0 -139
- package/dist/automation/socket.test-support.d.ts +0 -9
- package/dist/automation/socket.test-support.js +0 -55
- package/dist/automation/types.d.ts +0 -198
- package/dist/automation/types.js +0 -2
- package/dist/cli.d.ts +0 -3
- package/dist/config.d.ts +0 -38
- package/dist/config.js +0 -106
- package/dist/constants.d.ts +0 -20
- package/dist/gateway/gateway-manifest-types.d.ts +0 -36
- package/dist/gateway/gateway-manifest-types.js +0 -16
- package/dist/gateway/gateway-manifest.d.ts +0 -10
- package/dist/gateway/gateway-manifest.generated.json +0 -17865
- package/dist/gateway/gateway-manifest.js +0 -19
- package/dist/handlers/resource-handlers.d.ts +0 -46
- package/dist/handlers/resource-handlers.js +0 -177
- package/dist/index.d.ts +0 -4
- package/dist/index.js +0 -5
- package/dist/proxy/native-proxy.d.ts +0 -12
- package/dist/resources/actors.d.ts +0 -3
- package/dist/resources/actors.js +0 -20
- package/dist/resources/assets.d.ts +0 -7
- package/dist/resources/assets.js +0 -58
- package/dist/resources/capability-resources.d.ts +0 -37
- package/dist/resources/capability-resources.js +0 -86
- package/dist/resources/editor-state-resources.d.ts +0 -65
- package/dist/resources/editor-state-resources.js +0 -129
- package/dist/resources/knowledge-resources.d.ts +0 -22
- package/dist/resources/knowledge-resources.js +0 -59
- package/dist/resources/resource-catalog.d.ts +0 -15
- package/dist/resources/resource-catalog.js +0 -54
- package/dist/resources/resource-errors.d.ts +0 -17
- package/dist/resources/resource-errors.js +0 -76
- package/dist/resources/resource-read-router.d.ts +0 -19
- package/dist/resources/resource-read-router.js +0 -56
- package/dist/resources/resources.test-support.d.ts +0 -5
- package/dist/resources/resources.test-support.js +0 -7
- package/dist/server/gateway/direct-call-migration.d.ts +0 -26
- package/dist/server/gateway/direct-call-migration.js +0 -46
- package/dist/server/gateway/gateway-availability.d.ts +0 -10
- package/dist/server/gateway/gateway-availability.js +0 -15
- package/dist/server/gateway/gateway-capability-index.d.ts +0 -45
- package/dist/server/gateway/gateway-capability-index.js +0 -148
- package/dist/server/gateway/gateway-capability-view.d.ts +0 -20
- package/dist/server/gateway/gateway-capability-view.js +0 -144
- package/dist/server/gateway/gateway-describe-browse.d.ts +0 -14
- package/dist/server/gateway/gateway-describe-browse.js +0 -110
- package/dist/server/gateway/gateway-describe-capability.d.ts +0 -6
- package/dist/server/gateway/gateway-describe-capability.js +0 -74
- package/dist/server/gateway/gateway-describe.d.ts +0 -2
- package/dist/server/gateway/gateway-describe.js +0 -109
- package/dist/server/gateway/gateway-dispatch-by.d.ts +0 -17
- package/dist/server/gateway/gateway-dispatch-by.js +0 -67
- package/dist/server/gateway/gateway-execute-dispatch.d.ts +0 -24
- package/dist/server/gateway/gateway-execute-dispatch.js +0 -204
- package/dist/server/gateway/gateway-execute-envelope.d.ts +0 -48
- package/dist/server/gateway/gateway-execute-envelope.js +0 -194
- package/dist/server/gateway/gateway-execute-idempotency.d.ts +0 -19
- package/dist/server/gateway/gateway-execute-idempotency.js +0 -64
- package/dist/server/gateway/gateway-execute-lookup.d.ts +0 -11
- package/dist/server/gateway/gateway-execute-lookup.js +0 -122
- package/dist/server/gateway/gateway-execute-policy.d.ts +0 -9
- package/dist/server/gateway/gateway-execute-policy.js +0 -93
- package/dist/server/gateway/gateway-execute-resolve.d.ts +0 -28
- package/dist/server/gateway/gateway-execute-resolve.js +0 -2
- package/dist/server/gateway/gateway-execute-static-check.d.ts +0 -13
- package/dist/server/gateway/gateway-execute-static-check.js +0 -127
- package/dist/server/gateway/gateway-execute.d.ts +0 -6
- package/dist/server/gateway/gateway-execute.js +0 -145
- package/dist/server/gateway/gateway-guidance.d.ts +0 -15
- package/dist/server/gateway/gateway-guidance.js +0 -78
- package/dist/server/gateway/gateway-option-validate.d.ts +0 -10
- package/dist/server/gateway/gateway-option-validate.js +0 -73
- package/dist/server/gateway/gateway-receipt-context.d.ts +0 -21
- package/dist/server/gateway/gateway-receipt-context.js +0 -36
- package/dist/server/gateway/gateway-schema-validate.d.ts +0 -14
- package/dist/server/gateway/gateway-schema-validate.js +0 -316
- package/dist/server/gateway/gateway-search-filters.d.ts +0 -19
- package/dist/server/gateway/gateway-search-filters.js +0 -107
- package/dist/server/gateway/gateway-search.d.ts +0 -2
- package/dist/server/gateway/gateway-search.js +0 -106
- package/dist/server/gateway/gateway-shared.d.ts +0 -20
- package/dist/server/gateway/gateway-shared.js +0 -52
- package/dist/server/gateway/gateway-task-results.d.ts +0 -6
- package/dist/server/gateway/gateway-task-results.js +0 -40
- package/dist/server/gateway/idempotency-ledger.d.ts +0 -42
- package/dist/server/gateway/idempotency-ledger.js +0 -102
- package/dist/server/mcp-primitives/completions.d.ts +0 -11
- package/dist/server/mcp-primitives/completions.js +0 -103
- package/dist/server/mcp-primitives/primitive-wiring.d.ts +0 -12
- package/dist/server/mcp-primitives/primitive-wiring.js +0 -31
- package/dist/server/mcp-primitives/progress/progress-reporter.d.ts +0 -33
- package/dist/server/mcp-primitives/progress/progress-reporter.js +0 -50
- package/dist/server/mcp-primitives/progress/progress-sink-registry.d.ts +0 -17
- package/dist/server/mcp-primitives/progress/progress-sink-registry.js +0 -35
- package/dist/server/mcp-primitives/progress/progress-token.d.ts +0 -3
- package/dist/server/mcp-primitives/progress/progress-token.js +0 -12
- package/dist/server/mcp-primitives/prompts.d.ts +0 -43
- package/dist/server/mcp-primitives/prompts.js +0 -142
- package/dist/server/mcp-primitives/resource-revision.d.ts +0 -15
- package/dist/server/mcp-primitives/resource-revision.js +0 -11
- package/dist/server/server-factory.d.ts +0 -47
- package/dist/server/server-factory.js +0 -84
- package/dist/server/stdio-lifecycle.d.ts +0 -2
- package/dist/server/stdio-lifecycle.js +0 -57
- package/dist/server/tool-registry-gateway.d.ts +0 -4
- package/dist/server/tool-registry-gateway.js +0 -80
- package/dist/server/tool-registry-manage-tools.d.ts +0 -2
- package/dist/server/tool-registry-manage-tools.js +0 -160
- package/dist/server/tool-registry.d.ts +0 -15
- package/dist/server/tool-registry.js +0 -110
- package/dist/server-setup.d.ts +0 -21
- package/dist/server-setup.js +0 -60
- package/dist/services/health-monitor.d.ts +0 -42
- package/dist/services/health-monitor.js +0 -103
- package/dist/services/readiness.d.ts +0 -35
- package/dist/services/readiness.js +0 -77
- package/dist/services/telemetry/prometheus-exposition.d.ts +0 -11
- package/dist/services/telemetry/prometheus-exposition.js +0 -80
- package/dist/services/telemetry-observation.d.ts +0 -4
- package/dist/services/telemetry-observation.js +0 -65
- package/dist/services/telemetry-registry.d.ts +0 -69
- package/dist/services/telemetry-registry.js +0 -128
- package/dist/services/telemetry-schema.d.ts +0 -36
- package/dist/services/telemetry-schema.js +0 -64
- package/dist/tools/catalog/capabilities/capability-record.test-support.d.ts +0 -158
- package/dist/tools/catalog/capabilities/capability-record.test-support.js +0 -94
- package/dist/tools/catalog/capabilities/catalog-schema.d.ts +0 -114
- package/dist/tools/catalog/capabilities/catalog-schema.js +0 -82
- package/dist/tools/catalog/capabilities/constants.d.ts +0 -12
- package/dist/tools/catalog/capabilities/constants.js +0 -12
- package/dist/tools/catalog/capabilities/generated/canonical-registry.generated.d.ts +0 -6
- package/dist/tools/catalog/capabilities/generated/canonical-registry.generated.js +0 -6
- package/dist/tools/catalog/capabilities/generated/canonical-registry.generated.json +0 -96681
- package/dist/tools/catalog/capabilities/generated/capability-cost-index.generated.d.ts +0 -3
- package/dist/tools/catalog/capabilities/generated/capability-cost-index.generated.js +0 -1547
- package/dist/tools/catalog/capabilities/generated/parent-tool-definitions.generated.d.ts +0 -3
- package/dist/tools/catalog/capabilities/generated/parent-tool-definitions.generated.js +0 -23483
- package/dist/tools/catalog/capabilities/hashing.d.ts +0 -14
- package/dist/tools/catalog/capabilities/hashing.js +0 -80
- package/dist/tools/catalog/capabilities/identifiers.d.ts +0 -21
- package/dist/tools/catalog/capabilities/identifiers.js +0 -47
- package/dist/tools/catalog/capabilities/json-schema.d.ts +0 -12
- package/dist/tools/catalog/capabilities/json-schema.js +0 -71
- package/dist/tools/catalog/capabilities/model.d.ts +0 -100
- package/dist/tools/catalog/capabilities/model.js +0 -2
- package/dist/tools/catalog/capabilities/parser.d.ts +0 -5
- package/dist/tools/catalog/capabilities/parser.js +0 -41
- package/dist/tools/catalog/capabilities/record-fields.d.ts +0 -114
- package/dist/tools/catalog/capabilities/record-fields.js +0 -91
- package/dist/tools/catalog/capabilities/record-folding.d.ts +0 -3
- package/dist/tools/catalog/capabilities/record-folding.js +0 -136
- package/dist/tools/catalog/capabilities/record-hashing.d.ts +0 -3
- package/dist/tools/catalog/capabilities/record-hashing.js +0 -33
- package/dist/tools/catalog/capabilities/record-schema.d.ts +0 -221
- package/dist/tools/catalog/capabilities/record-schema.js +0 -22
- package/dist/tools/catalog/capabilities/records/aggregate.d.ts +0 -4
- package/dist/tools/catalog/capabilities/records/aggregate.js +0 -60
- package/dist/tools/catalog/capabilities/records/build-environment/atmosphere.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/build-environment/atmosphere.data.js +0 -124
- package/dist/tools/catalog/capabilities/records/build-environment/foliage.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/build-environment/foliage.data.js +0 -162
- package/dist/tools/catalog/capabilities/records/build-environment/helpers.d.ts +0 -9
- package/dist/tools/catalog/capabilities/records/build-environment/helpers.js +0 -3
- package/dist/tools/catalog/capabilities/records/build-environment/index.d.ts +0 -4
- package/dist/tools/catalog/capabilities/records/build-environment/index.js +0 -28
- package/dist/tools/catalog/capabilities/records/build-environment/landscape.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/build-environment/landscape.data.js +0 -166
- package/dist/tools/catalog/capabilities/records/build-environment/lighting.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/build-environment/lighting.data.js +0 -183
- package/dist/tools/catalog/capabilities/records/build-environment/procedural.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/build-environment/procedural.data.js +0 -72
- package/dist/tools/catalog/capabilities/records/build-environment/properties.d.ts +0 -166
- package/dist/tools/catalog/capabilities/records/build-environment/properties.js +0 -212
- package/dist/tools/catalog/capabilities/records/build-environment/render-postprocess.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/build-environment/render-postprocess.data.js +0 -40
- package/dist/tools/catalog/capabilities/records/build-environment/render-raytrace.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/build-environment/render-raytrace.data.js +0 -39
- package/dist/tools/catalog/capabilities/records/build-environment/render-screen.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/build-environment/render-screen.data.js +0 -36
- package/dist/tools/catalog/capabilities/records/build-environment/spline.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/build-environment/spline.data.js +0 -200
- package/dist/tools/catalog/capabilities/records/build-environment/water.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/build-environment/water.data.js +0 -83
- package/dist/tools/catalog/capabilities/records/build-environment/weather.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/build-environment/weather.data.js +0 -52
- package/dist/tools/catalog/capabilities/records/compensation.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/compensation.js +0 -15
- package/dist/tools/catalog/capabilities/records/control-actor/advanced-records.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/control-actor/advanced-records.js +0 -135
- package/dist/tools/catalog/capabilities/records/control-actor/component-records.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/control-actor/component-records.js +0 -107
- package/dist/tools/catalog/capabilities/records/control-actor/index.d.ts +0 -4
- package/dist/tools/catalog/capabilities/records/control-actor/index.js +0 -18
- package/dist/tools/catalog/capabilities/records/control-actor/properties.d.ts +0 -103
- package/dist/tools/catalog/capabilities/records/control-actor/properties.js +0 -94
- package/dist/tools/catalog/capabilities/records/control-actor/search-records.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/control-actor/search-records.js +0 -322
- package/dist/tools/catalog/capabilities/records/control-actor/spawn-records.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/control-actor/spawn-records.js +0 -305
- package/dist/tools/catalog/capabilities/records/control-actor/state-records.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/control-actor/state-records.js +0 -129
- package/dist/tools/catalog/capabilities/records/control-actor/transform-records.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/control-actor/transform-records.js +0 -280
- package/dist/tools/catalog/capabilities/records/control-editor/asset.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/control-editor/asset.js +0 -134
- package/dist/tools/catalog/capabilities/records/control-editor/bookmark.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/control-editor/bookmark.js +0 -27
- package/dist/tools/catalog/capabilities/records/control-editor/camera.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/control-editor/camera.js +0 -65
- package/dist/tools/catalog/capabilities/records/control-editor/command.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/control-editor/command.js +0 -251
- package/dist/tools/catalog/capabilities/records/control-editor/history.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/control-editor/history.js +0 -27
- package/dist/tools/catalog/capabilities/records/control-editor/index.d.ts +0 -4
- package/dist/tools/catalog/capabilities/records/control-editor/index.js +0 -28
- package/dist/tools/catalog/capabilities/records/control-editor/input.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/control-editor/input.js +0 -50
- package/dist/tools/catalog/capabilities/records/control-editor/properties.d.ts +0 -77
- package/dist/tools/catalog/capabilities/records/control-editor/properties.js +0 -70
- package/dist/tools/catalog/capabilities/records/control-editor/recording.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/control-editor/recording.js +0 -31
- package/dist/tools/catalog/capabilities/records/control-editor/screenshot.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/control-editor/screenshot.js +0 -76
- package/dist/tools/catalog/capabilities/records/control-editor/session.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/control-editor/session.js +0 -137
- package/dist/tools/catalog/capabilities/records/control-editor/timing.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/control-editor/timing.js +0 -59
- package/dist/tools/catalog/capabilities/records/control-editor/viewport.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/control-editor/viewport.js +0 -91
- package/dist/tools/catalog/capabilities/records/core/builder.d.ts +0 -35
- package/dist/tools/catalog/capabilities/records/core/builder.js +0 -46
- package/dist/tools/catalog/capabilities/records/folds/animation-physics.folds.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/folds/animation-physics.folds.js +0 -113
- package/dist/tools/catalog/capabilities/records/folds/build-environment.folds.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/folds/build-environment.folds.js +0 -165
- package/dist/tools/catalog/capabilities/records/folds/control-actor.folds.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/folds/control-actor.folds.js +0 -61
- package/dist/tools/catalog/capabilities/records/folds/control-editor.folds.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/folds/control-editor.folds.js +0 -52
- package/dist/tools/catalog/capabilities/records/folds/inspect.folds.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/folds/inspect.folds.js +0 -50
- package/dist/tools/catalog/capabilities/records/folds/manage-ai.folds.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/folds/manage-ai.folds.js +0 -96
- package/dist/tools/catalog/capabilities/records/folds/manage-asset.folds.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/folds/manage-asset.folds.js +0 -226
- package/dist/tools/catalog/capabilities/records/folds/manage-audio.folds.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/folds/manage-audio.folds.js +0 -70
- package/dist/tools/catalog/capabilities/records/folds/manage-blueprint.folds.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/folds/manage-blueprint.folds.js +0 -137
- package/dist/tools/catalog/capabilities/records/folds/manage-character.folds.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/folds/manage-character.folds.js +0 -19
- package/dist/tools/catalog/capabilities/records/folds/manage-combat.folds.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/folds/manage-combat.folds.js +0 -37
- package/dist/tools/catalog/capabilities/records/folds/manage-effect.folds.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/folds/manage-effect.folds.js +0 -59
- package/dist/tools/catalog/capabilities/records/folds/manage-gas.folds.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/folds/manage-gas.folds.js +0 -42
- package/dist/tools/catalog/capabilities/records/folds/manage-geometry.folds.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/folds/manage-geometry.folds.js +0 -69
- package/dist/tools/catalog/capabilities/records/folds/manage-interaction.folds.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/folds/manage-interaction.folds.js +0 -17
- package/dist/tools/catalog/capabilities/records/folds/manage-inventory.folds.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/folds/manage-inventory.folds.js +0 -27
- package/dist/tools/catalog/capabilities/records/folds/manage-level-structure.folds.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/folds/manage-level-structure.folds.js +0 -30
- package/dist/tools/catalog/capabilities/records/folds/manage-level.folds.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/folds/manage-level.folds.js +0 -28
- package/dist/tools/catalog/capabilities/records/folds/manage-networking.folds.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/folds/manage-networking.folds.js +0 -86
- package/dist/tools/catalog/capabilities/records/folds/manage-pcg.folds.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/folds/manage-pcg.folds.js +0 -22
- package/dist/tools/catalog/capabilities/records/folds/manage-sequence.folds.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/folds/manage-sequence.folds.js +0 -106
- package/dist/tools/catalog/capabilities/records/folds/system-control.folds.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/folds/system-control.folds.js +0 -62
- package/dist/tools/catalog/capabilities/records/gameplay/animation-physics/animation-properties.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/gameplay/animation-physics/animation-properties.js +0 -82
- package/dist/tools/catalog/capabilities/records/gameplay/animation-physics/authoring-1.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/gameplay/animation-physics/authoring-1.data.js +0 -224
- package/dist/tools/catalog/capabilities/records/gameplay/animation-physics/authoring-2.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/gameplay/animation-physics/authoring-2.data.js +0 -179
- package/dist/tools/catalog/capabilities/records/gameplay/animation-physics/authoring-3.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/gameplay/animation-physics/authoring-3.data.js +0 -123
- package/dist/tools/catalog/capabilities/records/gameplay/animation-physics/index.d.ts +0 -4
- package/dist/tools/catalog/capabilities/records/gameplay/animation-physics/index.js +0 -14
- package/dist/tools/catalog/capabilities/records/gameplay/animation-physics/skeleton-bone.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/gameplay/animation-physics/skeleton-bone.data.js +0 -52
- package/dist/tools/catalog/capabilities/records/gameplay/animation-physics/skeleton-physics-morph.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/gameplay/animation-physics/skeleton-physics-morph.data.js +0 -97
- package/dist/tools/catalog/capabilities/records/gameplay/animation-physics/skeleton-read-alias.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/gameplay/animation-physics/skeleton-read-alias.data.js +0 -141
- package/dist/tools/catalog/capabilities/records/gameplay/animation-physics/skeleton-socket-weight.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/gameplay/animation-physics/skeleton-socket-weight.data.js +0 -80
- package/dist/tools/catalog/capabilities/records/gameplay/animation-physics/skeleton.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/gameplay/animation-physics/skeleton.data.js +0 -11
- package/dist/tools/catalog/capabilities/records/gameplay/helpers.d.ts +0 -10
- package/dist/tools/catalog/capabilities/records/gameplay/helpers.js +0 -3
- package/dist/tools/catalog/capabilities/records/gameplay/manage-ai/add-actions.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/gameplay/manage-ai/add-actions.data.js +0 -200
- package/dist/tools/catalog/capabilities/records/gameplay/manage-ai/builder.d.ts +0 -24
- package/dist/tools/catalog/capabilities/records/gameplay/manage-ai/builder.js +0 -34
- package/dist/tools/catalog/capabilities/records/gameplay/manage-ai/configure-actions.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/gameplay/manage-ai/configure-actions.data.js +0 -203
- package/dist/tools/catalog/capabilities/records/gameplay/manage-ai/create-read-actions.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/gameplay/manage-ai/create-read-actions.data.js +0 -233
- package/dist/tools/catalog/capabilities/records/gameplay/manage-ai/properties-navigation.d.ts +0 -32
- package/dist/tools/catalog/capabilities/records/gameplay/manage-ai/properties-navigation.js +0 -34
- package/dist/tools/catalog/capabilities/records/gameplay/manage-ai/properties.d.ts +0 -74
- package/dist/tools/catalog/capabilities/records/gameplay/manage-ai/properties.js +0 -112
- package/dist/tools/catalog/capabilities/records/gameplay/manage-ai/records.d.ts +0 -4
- package/dist/tools/catalog/capabilities/records/gameplay/manage-ai/records.js +0 -14
- package/dist/tools/catalog/capabilities/records/gameplay/manage-ai/set-actions.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/gameplay/manage-ai/set-actions.data.js +0 -203
- package/dist/tools/catalog/capabilities/records/gameplay/manage-character/character-1.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/gameplay/manage-character/character-1.data.js +0 -81
- package/dist/tools/catalog/capabilities/records/gameplay/manage-character/character-2.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/gameplay/manage-character/character-2.data.js +0 -46
- package/dist/tools/catalog/capabilities/records/gameplay/manage-character/character-3.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/gameplay/manage-character/character-3.data.js +0 -73
- package/dist/tools/catalog/capabilities/records/gameplay/manage-character/character.props.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/gameplay/manage-character/character.props.js +0 -83
- package/dist/tools/catalog/capabilities/records/gameplay/manage-character/index.d.ts +0 -4
- package/dist/tools/catalog/capabilities/records/gameplay/manage-character/index.js +0 -12
- package/dist/tools/catalog/capabilities/records/gameplay/manage-combat/combat-properties.d.ts +0 -88
- package/dist/tools/catalog/capabilities/records/gameplay/manage-combat/combat-properties.js +0 -70
- package/dist/tools/catalog/capabilities/records/gameplay/manage-combat/combat.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/gameplay/manage-combat/combat.data.js +0 -92
- package/dist/tools/catalog/capabilities/records/gameplay/manage-combat/index.d.ts +0 -4
- package/dist/tools/catalog/capabilities/records/gameplay/manage-combat/index.js +0 -8
- package/dist/tools/catalog/capabilities/records/gameplay/manage-effect/effect-properties.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/gameplay/manage-effect/effect-properties.js +0 -67
- package/dist/tools/catalog/capabilities/records/gameplay/manage-effect/effect.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/gameplay/manage-effect/effect.data.js +0 -345
- package/dist/tools/catalog/capabilities/records/gameplay/manage-effect/index.d.ts +0 -4
- package/dist/tools/catalog/capabilities/records/gameplay/manage-effect/index.js +0 -8
- package/dist/tools/catalog/capabilities/records/gameplay/manage-gas/gas.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/gameplay/manage-gas/gas.data.js +0 -146
- package/dist/tools/catalog/capabilities/records/gameplay/manage-gas/gas.props.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/gameplay/manage-gas/gas.props.js +0 -62
- package/dist/tools/catalog/capabilities/records/gameplay/manage-gas/index.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/gameplay/manage-gas/index.js +0 -5
- package/dist/tools/catalog/capabilities/records/gameplay/manage-interaction/index.d.ts +0 -4
- package/dist/tools/catalog/capabilities/records/gameplay/manage-interaction/index.js +0 -8
- package/dist/tools/catalog/capabilities/records/gameplay/manage-interaction/interaction.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/gameplay/manage-interaction/interaction.data.js +0 -253
- package/dist/tools/catalog/capabilities/records/gameplay/manage-interaction/schema.d.ts +0 -18
- package/dist/tools/catalog/capabilities/records/gameplay/manage-interaction/schema.js +0 -52
- package/dist/tools/catalog/capabilities/records/gameplay/manage-inventory/index.d.ts +0 -4
- package/dist/tools/catalog/capabilities/records/gameplay/manage-inventory/index.js +0 -8
- package/dist/tools/catalog/capabilities/records/gameplay/manage-inventory/inventory.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/gameplay/manage-inventory/inventory.data.js +0 -331
- package/dist/tools/catalog/capabilities/records/gameplay/manage-inventory/schema.d.ts +0 -19
- package/dist/tools/catalog/capabilities/records/gameplay/manage-inventory/schema.js +0 -71
- package/dist/tools/catalog/capabilities/records/gameplay/properties.d.ts +0 -4
- package/dist/tools/catalog/capabilities/records/gameplay/properties.js +0 -94
- package/dist/tools/catalog/capabilities/records/inspect/component-actor.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/inspect/component-actor.data.js +0 -182
- package/dist/tools/catalog/capabilities/records/inspect/global.data.d.ts +0 -4
- package/dist/tools/catalog/capabilities/records/inspect/global.data.js +0 -121
- package/dist/tools/catalog/capabilities/records/inspect/index.d.ts +0 -4
- package/dist/tools/catalog/capabilities/records/inspect/index.js +0 -17
- package/dist/tools/catalog/capabilities/records/inspect/inspect-records.shared.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/inspect/inspect-records.shared.js +0 -9
- package/dist/tools/catalog/capabilities/records/inspect/object-property.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/inspect/object-property.data.js +0 -481
- package/dist/tools/catalog/capabilities/records/inspect/properties.d.ts +0 -31
- package/dist/tools/catalog/capabilities/records/inspect/properties.js +0 -30
- package/dist/tools/catalog/capabilities/records/inspect/runtime.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/inspect/runtime.data.js +0 -37
- package/dist/tools/catalog/capabilities/records/inspect/stats.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/inspect/stats.data.js +0 -91
- package/dist/tools/catalog/capabilities/records/manage-asset/asset-advanced.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-asset/asset-advanced.js +0 -185
- package/dist/tools/catalog/capabilities/records/manage-asset/asset-lifecycle.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-asset/asset-lifecycle.js +0 -136
- package/dist/tools/catalog/capabilities/records/manage-asset/asset-query.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-asset/asset-query.js +0 -95
- package/dist/tools/catalog/capabilities/records/manage-asset/builder.d.ts +0 -54
- package/dist/tools/catalog/capabilities/records/manage-asset/builder.js +0 -91
- package/dist/tools/catalog/capabilities/records/manage-asset/content-sources.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-asset/content-sources.js +0 -314
- package/dist/tools/catalog/capabilities/records/manage-asset/datatable-records.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-asset/datatable-records.js +0 -51
- package/dist/tools/catalog/capabilities/records/manage-asset/enum-records.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-asset/enum-records.js +0 -38
- package/dist/tools/catalog/capabilities/records/manage-asset/index.d.ts +0 -6
- package/dist/tools/catalog/capabilities/records/manage-asset/index.js +0 -27
- package/dist/tools/catalog/capabilities/records/manage-asset/material-create.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-asset/material-create.js +0 -57
- package/dist/tools/catalog/capabilities/records/manage-asset/material-graph.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-asset/material-graph.js +0 -152
- package/dist/tools/catalog/capabilities/records/manage-asset/material-nodes.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-asset/material-nodes.js +0 -77
- package/dist/tools/catalog/capabilities/records/manage-asset/material-params.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-asset/material-params.js +0 -88
- package/dist/tools/catalog/capabilities/records/manage-asset/struct-records.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-asset/struct-records.js +0 -82
- package/dist/tools/catalog/capabilities/records/manage-asset/texture-adjust.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-asset/texture-adjust.js +0 -42
- package/dist/tools/catalog/capabilities/records/manage-asset/texture-config.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-asset/texture-config.js +0 -26
- package/dist/tools/catalog/capabilities/records/manage-asset/texture-create.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-asset/texture-create.js +0 -28
- package/dist/tools/catalog/capabilities/records/manage-audio/authoring.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-audio/authoring.data.js +0 -121
- package/dist/tools/catalog/capabilities/records/manage-audio/index.d.ts +0 -4
- package/dist/tools/catalog/capabilities/records/manage-audio/index.js +0 -10
- package/dist/tools/catalog/capabilities/records/manage-audio/runtime.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-audio/runtime.data.js +0 -30
- package/dist/tools/catalog/capabilities/records/manage-blueprint/blueprint-lifecycle.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-blueprint/blueprint-lifecycle.js +0 -152
- package/dist/tools/catalog/capabilities/records/manage-blueprint/functions-events.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-blueprint/functions-events.js +0 -103
- package/dist/tools/catalog/capabilities/records/manage-blueprint/graph-batch.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-blueprint/graph-batch.js +0 -80
- package/dist/tools/catalog/capabilities/records/manage-blueprint/graph-nodes.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-blueprint/graph-nodes.js +0 -274
- package/dist/tools/catalog/capabilities/records/manage-blueprint/graph-pins.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-blueprint/graph-pins.js +0 -153
- package/dist/tools/catalog/capabilities/records/manage-blueprint/helpers.d.ts +0 -11
- package/dist/tools/catalog/capabilities/records/manage-blueprint/helpers.js +0 -5
- package/dist/tools/catalog/capabilities/records/manage-blueprint/index.d.ts +0 -4
- package/dist/tools/catalog/capabilities/records/manage-blueprint/index.js +0 -40
- package/dist/tools/catalog/capabilities/records/manage-blueprint/probe.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-blueprint/probe.js +0 -30
- package/dist/tools/catalog/capabilities/records/manage-blueprint/properties.d.ts +0 -417
- package/dist/tools/catalog/capabilities/records/manage-blueprint/properties.js +0 -237
- package/dist/tools/catalog/capabilities/records/manage-blueprint/scs-components.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-blueprint/scs-components.js +0 -203
- package/dist/tools/catalog/capabilities/records/manage-blueprint/variables-metadata.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-blueprint/variables-metadata.js +0 -140
- package/dist/tools/catalog/capabilities/records/manage-blueprint/widget-animation.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-blueprint/widget-animation.js +0 -124
- package/dist/tools/catalog/capabilities/records/manage-blueprint/widget-bindings.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-blueprint/widget-bindings.js +0 -108
- package/dist/tools/catalog/capabilities/records/manage-blueprint/widget-content.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-blueprint/widget-content.js +0 -113
- package/dist/tools/catalog/capabilities/records/manage-blueprint/widget-game-ui.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-blueprint/widget-game-ui.js +0 -56
- package/dist/tools/catalog/capabilities/records/manage-blueprint/widget-info.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-blueprint/widget-info.js +0 -107
- package/dist/tools/catalog/capabilities/records/manage-blueprint/widget-layout.d.ts +0 -24
- package/dist/tools/catalog/capabilities/records/manage-blueprint/widget-layout.js +0 -45
- package/dist/tools/catalog/capabilities/records/manage-blueprint/widget-lifecycle.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-blueprint/widget-lifecycle.js +0 -189
- package/dist/tools/catalog/capabilities/records/manage-blueprint/widget-panels.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-blueprint/widget-panels.js +0 -153
- package/dist/tools/catalog/capabilities/records/manage-blueprint/widget-templates.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-blueprint/widget-templates.js +0 -47
- package/dist/tools/catalog/capabilities/records/manage-level/index.d.ts +0 -4
- package/dist/tools/catalog/capabilities/records/manage-level/index.js +0 -7
- package/dist/tools/catalog/capabilities/records/manage-level/lifecycle.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-level/lifecycle.data.js +0 -132
- package/dist/tools/catalog/capabilities/records/manage-level/operations-io.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-level/operations-io.data.js +0 -32
- package/dist/tools/catalog/capabilities/records/manage-level/operations-power.data.d.ts +0 -5
- package/dist/tools/catalog/capabilities/records/manage-level/operations-power.data.js +0 -178
- package/dist/tools/catalog/capabilities/records/manage-level/operations.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-level/operations.data.js +0 -88
- package/dist/tools/catalog/capabilities/records/manage-level/properties.d.ts +0 -45
- package/dist/tools/catalog/capabilities/records/manage-level/properties.js +0 -45
- package/dist/tools/catalog/capabilities/records/manage-networking/framework.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-networking/framework.data.js +0 -45
- package/dist/tools/catalog/capabilities/records/manage-networking/index.d.ts +0 -4
- package/dist/tools/catalog/capabilities/records/manage-networking/index.js +0 -15
- package/dist/tools/catalog/capabilities/records/manage-networking/input.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-networking/input.data.js +0 -24
- package/dist/tools/catalog/capabilities/records/manage-networking/replication.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-networking/replication.data.js +0 -60
- package/dist/tools/catalog/capabilities/records/manage-networking/session.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-networking/session.data.js +0 -26
- package/dist/tools/catalog/capabilities/records/manage-sequence/alias-props.d.ts +0 -49
- package/dist/tools/catalog/capabilities/records/manage-sequence/alias-props.js +0 -78
- package/dist/tools/catalog/capabilities/records/manage-sequence/cinematic.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-sequence/cinematic.js +0 -166
- package/dist/tools/catalog/capabilities/records/manage-sequence/helpers.d.ts +0 -119
- package/dist/tools/catalog/capabilities/records/manage-sequence/helpers.js +0 -108
- package/dist/tools/catalog/capabilities/records/manage-sequence/index.d.ts +0 -4
- package/dist/tools/catalog/capabilities/records/manage-sequence/index.js +0 -28
- package/dist/tools/catalog/capabilities/records/manage-sequence/media.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-sequence/media.js +0 -119
- package/dist/tools/catalog/capabilities/records/manage-sequence/metadata.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-sequence/metadata.js +0 -41
- package/dist/tools/catalog/capabilities/records/manage-sequence/mrq.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-sequence/mrq.js +0 -146
- package/dist/tools/catalog/capabilities/records/manage-sequence/replay.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-sequence/replay.js +0 -103
- package/dist/tools/catalog/capabilities/records/manage-sequence/take.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-sequence/take.js +0 -59
- package/dist/tools/catalog/capabilities/records/manage-sequence/timeline-bindings.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-sequence/timeline-bindings.js +0 -88
- package/dist/tools/catalog/capabilities/records/manage-sequence/timeline-lifecycle.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-sequence/timeline-lifecycle.js +0 -132
- package/dist/tools/catalog/capabilities/records/manage-sequence/timeline-playback.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-sequence/timeline-playback.js +0 -81
- package/dist/tools/catalog/capabilities/records/manage-sequence/timeline-state-ranges.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-sequence/timeline-state-ranges.js +0 -95
- package/dist/tools/catalog/capabilities/records/manage-sequence/timeline-tracks.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-sequence/timeline-tracks.js +0 -147
- package/dist/tools/catalog/capabilities/records/manage-tools/index.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/manage-tools/index.js +0 -276
- package/dist/tools/catalog/capabilities/records/parent-metadata.d.ts +0 -8
- package/dist/tools/catalog/capabilities/records/parent-metadata.js +0 -103
- package/dist/tools/catalog/capabilities/records/shared/fold-build.d.ts +0 -4
- package/dist/tools/catalog/capabilities/records/shared/fold-build.js +0 -175
- package/dist/tools/catalog/capabilities/records/shared/fold-members.d.ts +0 -5
- package/dist/tools/catalog/capabilities/records/shared/fold-members.js +0 -63
- package/dist/tools/catalog/capabilities/records/shared/fold-spec.d.ts +0 -4
- package/dist/tools/catalog/capabilities/records/shared/fold-spec.js +0 -10
- package/dist/tools/catalog/capabilities/records/shared/fold-support.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/shared/fold-support.js +0 -4
- package/dist/tools/catalog/capabilities/records/shared/fold-types.d.ts +0 -16
- package/dist/tools/catalog/capabilities/records/shared/fold-types.js +0 -2
- package/dist/tools/catalog/capabilities/records/shared/fold-widen.d.ts +0 -5
- package/dist/tools/catalog/capabilities/records/shared/fold-widen.js +0 -104
- package/dist/tools/catalog/capabilities/records/shared/fold.d.ts +0 -6
- package/dist/tools/catalog/capabilities/records/shared/fold.js +0 -37
- package/dist/tools/catalog/capabilities/records/shared/light-text.d.ts +0 -13
- package/dist/tools/catalog/capabilities/records/shared/light-text.js +0 -37
- package/dist/tools/catalog/capabilities/records/shared/record-presets.d.ts +0 -11
- package/dist/tools/catalog/capabilities/records/shared/record-presets.js +0 -41
- package/dist/tools/catalog/capabilities/records/shared/schema-props.d.ts +0 -8
- package/dist/tools/catalog/capabilities/records/shared/schema-props.js +0 -13
- package/dist/tools/catalog/capabilities/records/system-control/console.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/system-control/console.js +0 -149
- package/dist/tools/catalog/capabilities/records/system-control/index.d.ts +0 -4
- package/dist/tools/catalog/capabilities/records/system-control/index.js +0 -18
- package/dist/tools/catalog/capabilities/records/system-control/insights.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/system-control/insights.js +0 -194
- package/dist/tools/catalog/capabilities/records/system-control/performance.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/system-control/performance.js +0 -336
- package/dist/tools/catalog/capabilities/records/system-control/plugins.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/system-control/plugins.js +0 -101
- package/dist/tools/catalog/capabilities/records/system-control/system-ops.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/system-control/system-ops.js +0 -523
- package/dist/tools/catalog/capabilities/records/system-control/widget-audio-viewport.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/system-control/widget-audio-viewport.js +0 -115
- package/dist/tools/catalog/capabilities/records/unfolded.d.ts +0 -4
- package/dist/tools/catalog/capabilities/records/unfolded.js +0 -51
- package/dist/tools/catalog/capabilities/records/utility/example-values.d.ts +0 -4
- package/dist/tools/catalog/capabilities/records/utility/example-values.js +0 -195
- package/dist/tools/catalog/capabilities/records/utility/output-glossary.d.ts +0 -4
- package/dist/tools/catalog/capabilities/records/utility/output-glossary.js +0 -120
- package/dist/tools/catalog/capabilities/records/utility/utility-output-schema.d.ts +0 -4
- package/dist/tools/catalog/capabilities/records/utility/utility-output-schema.js +0 -16
- package/dist/tools/catalog/capabilities/records/utility/utility-record-builders.d.ts +0 -29
- package/dist/tools/catalog/capabilities/records/utility/utility-record-builders.js +0 -61
- package/dist/tools/catalog/capabilities/records/utility/utility-schema-pins.d.ts +0 -9
- package/dist/tools/catalog/capabilities/records/utility/utility-schema-pins.js +0 -294
- package/dist/tools/catalog/capabilities/records/world/builder.d.ts +0 -19
- package/dist/tools/catalog/capabilities/records/world/builder.js +0 -21
- package/dist/tools/catalog/capabilities/records/world/manage-geometry.deform.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/world/manage-geometry.deform.data.js +0 -74
- package/dist/tools/catalog/capabilities/records/world/manage-geometry.dynamicmesh.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/world/manage-geometry.dynamicmesh.data.js +0 -260
- package/dist/tools/catalog/capabilities/records/world/manage-geometry.index.d.ts +0 -4
- package/dist/tools/catalog/capabilities/records/world/manage-geometry.index.js +0 -16
- package/dist/tools/catalog/capabilities/records/world/manage-geometry.operations.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/world/manage-geometry.operations.data.js +0 -191
- package/dist/tools/catalog/capabilities/records/world/manage-geometry.optimize.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/world/manage-geometry.optimize.data.js +0 -280
- package/dist/tools/catalog/capabilities/records/world/manage-geometry.primitives.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/world/manage-geometry.primitives.data.js +0 -166
- package/dist/tools/catalog/capabilities/records/world/manage-level-structure.index.d.ts +0 -4
- package/dist/tools/catalog/capabilities/records/world/manage-level-structure.index.js +0 -10
- package/dist/tools/catalog/capabilities/records/world/manage-level-structure.structure.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/world/manage-level-structure.structure.data.js +0 -180
- package/dist/tools/catalog/capabilities/records/world/manage-level-structure.volume.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/world/manage-level-structure.volume.data.js +0 -141
- package/dist/tools/catalog/capabilities/records/world/manage-pcg.async.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/world/manage-pcg.async.data.js +0 -21
- package/dist/tools/catalog/capabilities/records/world/manage-pcg.graph.data.d.ts +0 -3
- package/dist/tools/catalog/capabilities/records/world/manage-pcg.graph.data.js +0 -196
- package/dist/tools/catalog/capabilities/records/world/manage-pcg.index.d.ts +0 -4
- package/dist/tools/catalog/capabilities/records/world/manage-pcg.index.js +0 -10
- package/dist/tools/catalog/capabilities/records/world/properties.d.ts +0 -200
- package/dist/tools/catalog/capabilities/records/world/properties.js +0 -239
- package/dist/tools/catalog/capabilities/retrieval/alias-fold.d.ts +0 -7
- package/dist/tools/catalog/capabilities/retrieval/alias-fold.js +0 -20
- package/dist/tools/catalog/capabilities/retrieval/constants.d.ts +0 -56
- package/dist/tools/catalog/capabilities/retrieval/constants.js +0 -71
- package/dist/tools/catalog/capabilities/retrieval/scoring.d.ts +0 -52
- package/dist/tools/catalog/capabilities/retrieval/scoring.js +0 -289
- package/dist/tools/catalog/capabilities/retrieval/tokenize.d.ts +0 -4
- package/dist/tools/catalog/capabilities/retrieval/tokenize.js +0 -47
- package/dist/tools/catalog/capabilities/semantic/authorization.d.ts +0 -20
- package/dist/tools/catalog/capabilities/semantic/authorization.js +0 -25
- package/dist/tools/catalog/capabilities/semantic/envelope.d.ts +0 -244
- package/dist/tools/catalog/capabilities/semantic/envelope.js +0 -81
- package/dist/tools/catalog/capabilities/semantic/errors.d.ts +0 -122
- package/dist/tools/catalog/capabilities/semantic/errors.js +0 -163
- package/dist/tools/catalog/capabilities/semantic/execution-options.d.ts +0 -23
- package/dist/tools/catalog/capabilities/semantic/execution-options.js +0 -29
- package/dist/tools/catalog/capabilities/semantic/handles.d.ts +0 -33
- package/dist/tools/catalog/capabilities/semantic/handles.js +0 -28
- package/dist/tools/catalog/capabilities/semantic/ids.d.ts +0 -14
- package/dist/tools/catalog/capabilities/semantic/ids.js +0 -36
- package/dist/tools/catalog/capabilities/semantic/live-state-revisions.d.ts +0 -11
- package/dist/tools/catalog/capabilities/semantic/live-state-revisions.js +0 -18
- package/dist/tools/catalog/capabilities/semantic/paths.d.ts +0 -9
- package/dist/tools/catalog/capabilities/semantic/paths.js +0 -148
- package/dist/tools/catalog/capabilities/semantic/receipt-outcome.d.ts +0 -10
- package/dist/tools/catalog/capabilities/semantic/receipt-outcome.js +0 -114
- package/dist/tools/catalog/capabilities/semantic/receipt-redaction.d.ts +0 -19
- package/dist/tools/catalog/capabilities/semantic/receipt-redaction.js +0 -176
- package/dist/tools/catalog/unreal-gateway-definition.d.ts +0 -5
- package/dist/tools/catalog/unreal-gateway-definition.js +0 -147
- package/dist/tools/definitions/shared/tool-definition.d.ts +0 -9
- package/dist/tools/definitions/shared/tool-definition.js +0 -2
- package/dist/tools/dynamic/dynamic-tool-manager.d.ts +0 -55
- package/dist/tools/dynamic/dynamic-tool-manager.js +0 -171
- package/dist/tools/handlers/foundation/arguments/handler-argument-validation.d.ts +0 -2
- package/dist/tools/handlers/foundation/arguments/handler-argument-validation.js +0 -160
- package/dist/tools/handlers/foundation/dispatch/automation-request-dispatch.d.ts +0 -13
- package/dist/tools/handlers/foundation/dispatch/automation-request-dispatch.js +0 -60
- package/dist/tools/handlers/foundation/dispatch/handler-timeout.d.ts +0 -5
- package/dist/tools/handlers/foundation/dispatch/handler-timeout.js +0 -28
- package/dist/types/automation/automation-responses.d.ts +0 -18
- package/dist/types/automation/automation-responses.js +0 -2
- package/dist/types/tools/tool-interfaces.d.ts +0 -26
- package/dist/types/tools/tool-interfaces.js +0 -2
- package/dist/unreal-bridge.d.ts +0 -27
- package/dist/unreal-bridge.js +0 -59
- package/dist/utils/collections/bounded.d.ts +0 -7
- package/dist/utils/collections/bounded.js +0 -13
- package/dist/utils/commands/command-validator.d.ts +0 -4
- package/dist/utils/commands/command-validator.js +0 -20
- package/dist/utils/commands/console-command-policy-matching.d.ts +0 -6
- package/dist/utils/commands/console-command-policy-matching.js +0 -38
- package/dist/utils/commands/console-command-policy-rules.d.ts +0 -179
- package/dist/utils/commands/console-command-policy-rules.js +0 -173
- package/dist/utils/config/ini-reader.d.ts +0 -3
- package/dist/utils/logging/log-redaction.d.ts +0 -4
- package/dist/utils/logging/log-redaction.js +0 -27
- package/dist/utils/logging/logger.d.ts +0 -13
- package/dist/utils/paths/content-path-policy.d.ts +0 -6
- package/dist/utils/paths/content-path-policy.js +0 -29
- package/dist/utils/paths/path-security.d.ts +0 -10
- package/dist/utils/paths/path-security.js +0 -115
- package/dist/utils/responses/automation-frame-normalization.d.ts +0 -2
- package/dist/utils/responses/automation-frame-normalization.js +0 -51
- package/dist/utils/responses/gateway-reply-compaction.d.ts +0 -6
- package/dist/utils/responses/gateway-reply-compaction.js +0 -264
- package/dist/utils/responses/response-content.d.ts +0 -4
- package/dist/utils/responses/response-content.js +0 -54
- package/dist/utils/responses/response-validator.d.ts +0 -2
- package/dist/utils/responses/response-validator.js +0 -61
- package/dist/utils/serialization/ordering.d.ts +0 -9
- package/dist/utils/serialization/ordering.js +0 -17
- package/dist/utils/serialization/safe-json.d.ts +0 -2
- package/dist/utils/serialization/safe-json.js +0 -44
- package/dist/utils/validation/type-guards.d.ts +0 -4
- package/dist/utils/validation/type-guards.js +0 -23
- package/dist/utils/validation/validation.d.ts +0 -3
- package/dist/utils/validation/validation.js +0 -82
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import { rankCapabilityRecords } from '../../tools/catalog/capabilities/retrieval/scoring.js';
|
|
2
|
-
import { capabilityIndex, catalogRevision } from './gateway-capability-index.js';
|
|
3
|
-
import { capabilitySearchRow } from './gateway-capability-view.js';
|
|
4
|
-
import { DEFAULT_SEARCH_MAX_BYTES, MAX_SEARCH_MAX_BYTES, MIN_SEARCH_MAX_BYTES, decodeCursor, encodeCursor, readFilters, selectCandidates, validateFilters } from './gateway-search-filters.js';
|
|
5
|
-
import { DEFAULT_SEARCH_LIMIT, MAX_SEARCH_LIMIT, gatewayError, getBoundedInteger, getString, integerCoercion } from './gateway-shared.js';
|
|
6
|
-
function orderCandidates(candidates, query) {
|
|
7
|
-
if (query.trim().length === 0) {
|
|
8
|
-
return candidates.map((record) => ({ record, reasons: [] }));
|
|
9
|
-
}
|
|
10
|
-
const ranked = rankCapabilityRecords(capabilityIndex().search, candidates, query);
|
|
11
|
-
return ranked.map((entry) => ({ record: entry.record, reasons: entry.reasons }));
|
|
12
|
-
}
|
|
13
|
-
function declaredFilters(filters) {
|
|
14
|
-
const declared = {};
|
|
15
|
-
for (const [name, value] of Object.entries(filters)) {
|
|
16
|
-
if (name !== 'query' && typeof value === 'string')
|
|
17
|
-
declared[name] = value;
|
|
18
|
-
}
|
|
19
|
-
return declared;
|
|
20
|
-
}
|
|
21
|
-
function envelope(filters, page, rows, byteBudgetTruncated, coercions) {
|
|
22
|
-
const hasMore = page.offset + rows.length < page.total;
|
|
23
|
-
const truncationReason = byteBudgetTruncated ? 'byte-budget' : hasMore ? 'limit' : 'none';
|
|
24
|
-
const result = {
|
|
25
|
-
success: true,
|
|
26
|
-
operation: 'search',
|
|
27
|
-
catalogRevision: catalogRevision(),
|
|
28
|
-
query: filters.query,
|
|
29
|
-
filters: declaredFilters(filters),
|
|
30
|
-
results: rows,
|
|
31
|
-
total: page.total,
|
|
32
|
-
offset: page.offset,
|
|
33
|
-
limit: page.limit,
|
|
34
|
-
maxBytes: page.maxBytes,
|
|
35
|
-
hasMore,
|
|
36
|
-
truncationReason,
|
|
37
|
-
message: 'Results are compact. Call describe with an exact capability before execute.'
|
|
38
|
-
};
|
|
39
|
-
if (hasMore)
|
|
40
|
-
result.nextCursor = encodeCursor(page.offset + rows.length);
|
|
41
|
-
if (rows.length === 0 && page.total === 0) {
|
|
42
|
-
result.message = filters.query.length === 0
|
|
43
|
-
? 'No capability matches these filters. Remove a filter, or call describe with no selector to browse domains.'
|
|
44
|
-
: `No capability matched '${filters.query}'. Use 2-4 plain words naming the verb and the object (e.g. 'spawn actor'), drop any filter, or call describe with no selector to browse domains.`;
|
|
45
|
-
result.nextCall = { operation: 'describe' };
|
|
46
|
-
}
|
|
47
|
-
if (coercions.length > 0)
|
|
48
|
-
result.coercions = coercions;
|
|
49
|
-
return result;
|
|
50
|
-
}
|
|
51
|
-
function withinByteBudget(filters, page, rows, coercions) {
|
|
52
|
-
let kept = rows;
|
|
53
|
-
let response = envelope(filters, page, kept, false, coercions);
|
|
54
|
-
while (kept.length > 0 && JSON.stringify(response).length > page.maxBytes) {
|
|
55
|
-
kept = kept.slice(0, kept.length - 1);
|
|
56
|
-
response = envelope(filters, page, kept, true, coercions);
|
|
57
|
-
}
|
|
58
|
-
if (kept.length === 0 && rows.length > 0) {
|
|
59
|
-
delete response.nextCursor;
|
|
60
|
-
response.budgetExceeded = true;
|
|
61
|
-
response.message =
|
|
62
|
-
`No result fits maxBytes=${page.maxBytes}. Raise maxBytes and retry; `
|
|
63
|
-
+ 'this page cannot advance at the current budget.';
|
|
64
|
-
}
|
|
65
|
-
return response;
|
|
66
|
-
}
|
|
67
|
-
function resolveOffset(args) {
|
|
68
|
-
const cursor = getString(args, 'cursor');
|
|
69
|
-
if (cursor === undefined)
|
|
70
|
-
return getBoundedInteger(args.offset, 0, 0, Number.MAX_SAFE_INTEGER);
|
|
71
|
-
const decoded = decodeCursor(cursor);
|
|
72
|
-
if (decoded === undefined) {
|
|
73
|
-
return {
|
|
74
|
-
...gatewayError('search', 'INVALID_CURSOR', 'cursor is not a gateway search cursor. Re-run search without a cursor.'),
|
|
75
|
-
nextCall: { operation: 'search' }
|
|
76
|
-
};
|
|
77
|
-
}
|
|
78
|
-
return decoded;
|
|
79
|
-
}
|
|
80
|
-
function pageCoercions(args) {
|
|
81
|
-
const candidates = [
|
|
82
|
-
getString(args, 'cursor') === undefined
|
|
83
|
-
? integerCoercion('offset', args.offset, 0, Number.MAX_SAFE_INTEGER)
|
|
84
|
-
: undefined,
|
|
85
|
-
integerCoercion('limit', args.limit, 1, MAX_SEARCH_LIMIT),
|
|
86
|
-
integerCoercion('maxBytes', args.maxBytes, MIN_SEARCH_MAX_BYTES, MAX_SEARCH_MAX_BYTES)
|
|
87
|
-
];
|
|
88
|
-
return candidates.filter((entry) => entry !== undefined);
|
|
89
|
-
}
|
|
90
|
-
export function searchGatewayCapabilities(args) {
|
|
91
|
-
const filters = readFilters(args);
|
|
92
|
-
const invalidFilter = validateFilters(filters);
|
|
93
|
-
if (invalidFilter)
|
|
94
|
-
return invalidFilter;
|
|
95
|
-
const offset = resolveOffset(args);
|
|
96
|
-
if (typeof offset !== 'number')
|
|
97
|
-
return offset;
|
|
98
|
-
const limit = getBoundedInteger(args.limit, DEFAULT_SEARCH_LIMIT, 1, MAX_SEARCH_LIMIT);
|
|
99
|
-
const maxBytes = getBoundedInteger(args.maxBytes, DEFAULT_SEARCH_MAX_BYTES, MIN_SEARCH_MAX_BYTES, MAX_SEARCH_MAX_BYTES);
|
|
100
|
-
const ordered = orderCandidates(selectCandidates(filters), filters.query);
|
|
101
|
-
const rows = ordered
|
|
102
|
-
.slice(offset, offset + limit)
|
|
103
|
-
.map((entry) => capabilitySearchRow(entry.record, entry.reasons));
|
|
104
|
-
return withinByteBudget(filters, { offset, limit, total: ordered.length, maxBytes }, rows, pageCoercions(args));
|
|
105
|
-
}
|
|
106
|
-
//# sourceMappingURL=gateway-search.js.map
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { type ManifestToolDefinition } from '../../gateway/gateway-manifest.js';
|
|
2
|
-
import { type CorrelationId } from '../../tools/catalog/capabilities/semantic/ids.js';
|
|
3
|
-
export declare const DEFAULT_SEARCH_LIMIT = 12;
|
|
4
|
-
export declare const MAX_SEARCH_LIMIT = 25;
|
|
5
|
-
export declare function getString(args: Record<string, unknown>, key: string): string | undefined;
|
|
6
|
-
export declare function getBoundedInteger(value: unknown, fallback: number, minimum: number, maximum: number): number;
|
|
7
|
-
export declare function getOptionalBoundedInteger(value: unknown, minimum: number, maximum: number): number | undefined;
|
|
8
|
-
export type ParameterCoercion = {
|
|
9
|
-
readonly parameter: string;
|
|
10
|
-
readonly requested: number;
|
|
11
|
-
readonly applied: number;
|
|
12
|
-
readonly reason: string;
|
|
13
|
-
};
|
|
14
|
-
export declare function integerCoercion(parameter: string, value: unknown, minimum: number, maximum: number): ParameterCoercion | undefined;
|
|
15
|
-
export declare function gatewayError(operation: string, errorCode: string, message: string): Record<string, unknown>;
|
|
16
|
-
export declare function isGatewayFailure(result: unknown): result is Record<string, unknown>;
|
|
17
|
-
export declare function findTool(name: string | undefined): ManifestToolDefinition | undefined;
|
|
18
|
-
export declare function allToolNames(): string[];
|
|
19
|
-
export declare function nextGatewayCorrelationId(): CorrelationId;
|
|
20
|
-
//# sourceMappingURL=gateway-shared.d.ts.map
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { getManifestToolDefinitions } from '../../gateway/gateway-manifest.js';
|
|
2
|
-
import { isRecord } from '../../utils/validation/type-guards.js';
|
|
3
|
-
import { CorrelationIdSchema } from '../../tools/catalog/capabilities/semantic/ids.js';
|
|
4
|
-
export const DEFAULT_SEARCH_LIMIT = 12;
|
|
5
|
-
export const MAX_SEARCH_LIMIT = 25;
|
|
6
|
-
export function getString(args, key) {
|
|
7
|
-
const value = args[key];
|
|
8
|
-
return typeof value === 'string' && value.trim().length > 0 ? value.trim() : undefined;
|
|
9
|
-
}
|
|
10
|
-
export function getBoundedInteger(value, fallback, minimum, maximum) {
|
|
11
|
-
return typeof value === 'number' && Number.isInteger(value)
|
|
12
|
-
? Math.min(Math.max(value, minimum), maximum)
|
|
13
|
-
: fallback;
|
|
14
|
-
}
|
|
15
|
-
export function getOptionalBoundedInteger(value, minimum, maximum) {
|
|
16
|
-
return typeof value === 'number' && Number.isInteger(value)
|
|
17
|
-
? Math.min(Math.max(value, minimum), maximum)
|
|
18
|
-
: undefined;
|
|
19
|
-
}
|
|
20
|
-
export function integerCoercion(parameter, value, minimum, maximum) {
|
|
21
|
-
if (typeof value !== 'number' || !Number.isInteger(value))
|
|
22
|
-
return undefined;
|
|
23
|
-
const applied = Math.min(Math.max(value, minimum), maximum);
|
|
24
|
-
if (applied === value)
|
|
25
|
-
return undefined;
|
|
26
|
-
return {
|
|
27
|
-
parameter,
|
|
28
|
-
requested: value,
|
|
29
|
-
applied,
|
|
30
|
-
reason: value < minimum
|
|
31
|
-
? `${parameter}=${value} is below the minimum of ${minimum}.`
|
|
32
|
-
: `${parameter}=${value} is above the maximum of ${maximum}.`
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
export function gatewayError(operation, errorCode, message) {
|
|
36
|
-
return { success: false, operation, errorCode, error: message, message };
|
|
37
|
-
}
|
|
38
|
-
export function isGatewayFailure(result) {
|
|
39
|
-
return isRecord(result) && result.success === false;
|
|
40
|
-
}
|
|
41
|
-
export function findTool(name) {
|
|
42
|
-
return name === undefined ? undefined : getManifestToolDefinitions().find((tool) => tool.name === name);
|
|
43
|
-
}
|
|
44
|
-
export function allToolNames() {
|
|
45
|
-
return getManifestToolDefinitions().map((tool) => tool.name);
|
|
46
|
-
}
|
|
47
|
-
let gatewayRequestCounter = 0;
|
|
48
|
-
export function nextGatewayCorrelationId() {
|
|
49
|
-
gatewayRequestCounter += 1;
|
|
50
|
-
return CorrelationIdSchema.parse(`gw-${gatewayRequestCounter}`);
|
|
51
|
-
}
|
|
52
|
-
//# sourceMappingURL=gateway-shared.js.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export declare const MAX_KEPT_TASKS = 32;
|
|
2
|
-
export declare function noteTaskRunning(taskId: string): void;
|
|
3
|
-
export declare function noteTaskDone(taskId: string, reply: Record<string, unknown>): void;
|
|
4
|
-
export declare function describeTask(taskId: string): Record<string, unknown>;
|
|
5
|
-
export declare function resetTasksForTest(): void;
|
|
6
|
-
//# sourceMappingURL=gateway-task-results.d.ts.map
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { compactGatewayReply } from '../../utils/responses/gateway-reply-compaction.js';
|
|
2
|
-
export const MAX_KEPT_TASKS = 32;
|
|
3
|
-
const tasks = new Map();
|
|
4
|
-
function remember(taskId, entry) {
|
|
5
|
-
tasks.delete(taskId);
|
|
6
|
-
tasks.set(taskId, entry);
|
|
7
|
-
while (tasks.size > MAX_KEPT_TASKS) {
|
|
8
|
-
const oldest = tasks.keys().next().value;
|
|
9
|
-
if (oldest === undefined)
|
|
10
|
-
break;
|
|
11
|
-
tasks.delete(oldest);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
export function noteTaskRunning(taskId) {
|
|
15
|
-
remember(taskId, { state: 'running' });
|
|
16
|
-
}
|
|
17
|
-
export function noteTaskDone(taskId, reply) {
|
|
18
|
-
remember(taskId, { state: 'done', reply });
|
|
19
|
-
}
|
|
20
|
-
export function describeTask(taskId) {
|
|
21
|
-
const entry = tasks.get(taskId);
|
|
22
|
-
if (entry === undefined) {
|
|
23
|
-
return {
|
|
24
|
-
success: false,
|
|
25
|
-
errorCode: 'TASK_NOT_FOUND',
|
|
26
|
-
error: `No task ${taskId}: only a call answered "still running" since the server started is kept, the last ${MAX_KEPT_TASKS} of them.`
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
if (entry.state === 'running') {
|
|
30
|
-
return { success: true, taskId, state: 'running', message: `Task ${taskId} is still running.` };
|
|
31
|
-
}
|
|
32
|
-
const outcome = { ...compactGatewayReply(entry.reply) };
|
|
33
|
-
delete outcome.operation;
|
|
34
|
-
outcome.success = entry.reply.success === true;
|
|
35
|
-
return { success: true, taskId, state: 'done', outcome, message: `Task ${taskId} is done.` };
|
|
36
|
-
}
|
|
37
|
-
export function resetTasksForTest() {
|
|
38
|
-
tasks.clear();
|
|
39
|
-
}
|
|
40
|
-
//# sourceMappingURL=gateway-task-results.js.map
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
export declare const DEFAULT_IDEMPOTENCY_TTL_MS: number;
|
|
2
|
-
export declare const DEFAULT_MAX_IDEMPOTENCY_ENTRIES = 1024;
|
|
3
|
-
export interface LedgerScope {
|
|
4
|
-
readonly principal: string;
|
|
5
|
-
readonly capabilityId: string;
|
|
6
|
-
readonly key: string;
|
|
7
|
-
}
|
|
8
|
-
export interface LedgerHandle {
|
|
9
|
-
readonly slot: string;
|
|
10
|
-
}
|
|
11
|
-
export type BeginOutcome = {
|
|
12
|
-
readonly kind: 'first';
|
|
13
|
-
readonly handle: LedgerHandle;
|
|
14
|
-
} | {
|
|
15
|
-
readonly kind: 'in-flight';
|
|
16
|
-
} | {
|
|
17
|
-
readonly kind: 'replay';
|
|
18
|
-
readonly receipt: Record<string, unknown>;
|
|
19
|
-
} | {
|
|
20
|
-
readonly kind: 'conflict';
|
|
21
|
-
};
|
|
22
|
-
export interface IdempotencyLedgerOptions {
|
|
23
|
-
readonly clock: () => number;
|
|
24
|
-
readonly maxEntries?: number;
|
|
25
|
-
readonly ttlMs?: number;
|
|
26
|
-
}
|
|
27
|
-
export declare class IdempotencyLedger {
|
|
28
|
-
readonly maxEntries: number;
|
|
29
|
-
readonly ttlMs: number;
|
|
30
|
-
private readonly entries;
|
|
31
|
-
private readonly clock;
|
|
32
|
-
constructor(options: IdempotencyLedgerOptions);
|
|
33
|
-
begin(scope: LedgerScope, fingerprint: string): BeginOutcome;
|
|
34
|
-
complete(handle: LedgerHandle, receipt: Record<string, unknown>): void;
|
|
35
|
-
abandon(handle: LedgerHandle): void;
|
|
36
|
-
size(): number;
|
|
37
|
-
private admit;
|
|
38
|
-
private isExpired;
|
|
39
|
-
private evictCompletedOverCap;
|
|
40
|
-
static computeSlot(scope: LedgerScope): string;
|
|
41
|
-
}
|
|
42
|
-
//# sourceMappingURL=idempotency-ledger.d.ts.map
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { createHash } from 'node:crypto';
|
|
2
|
-
export const DEFAULT_IDEMPOTENCY_TTL_MS = 24 * 60 * 60 * 1000;
|
|
3
|
-
export const DEFAULT_MAX_IDEMPOTENCY_ENTRIES = 1024;
|
|
4
|
-
function appendLengthPrefixedField(hash, field) {
|
|
5
|
-
const bytes = Buffer.from(field, 'utf8');
|
|
6
|
-
hash.update(`${bytes.length}:`, 'utf8');
|
|
7
|
-
hash.update(bytes);
|
|
8
|
-
}
|
|
9
|
-
export class IdempotencyLedger {
|
|
10
|
-
maxEntries;
|
|
11
|
-
ttlMs;
|
|
12
|
-
entries = new Map();
|
|
13
|
-
clock;
|
|
14
|
-
constructor(options) {
|
|
15
|
-
const cap = options.maxEntries ?? DEFAULT_MAX_IDEMPOTENCY_ENTRIES;
|
|
16
|
-
if (!Number.isInteger(cap) || cap < 1) {
|
|
17
|
-
throw new RangeError(`Invalid maxEntries: ${String(cap)} (expected integer >= 1)`);
|
|
18
|
-
}
|
|
19
|
-
const ttl = options.ttlMs ?? DEFAULT_IDEMPOTENCY_TTL_MS;
|
|
20
|
-
if (!Number.isInteger(ttl) || ttl < 1) {
|
|
21
|
-
throw new RangeError(`Invalid ttlMs: ${String(ttl)} (expected integer >= 1)`);
|
|
22
|
-
}
|
|
23
|
-
this.maxEntries = cap;
|
|
24
|
-
this.ttlMs = ttl;
|
|
25
|
-
this.clock = options.clock;
|
|
26
|
-
}
|
|
27
|
-
begin(scope, fingerprint) {
|
|
28
|
-
const slot = IdempotencyLedger.computeSlot(scope);
|
|
29
|
-
const existing = this.entries.get(slot);
|
|
30
|
-
if (existing !== undefined && this.isExpired(existing)) {
|
|
31
|
-
this.entries.delete(slot);
|
|
32
|
-
return this.admit(slot, scope.principal, fingerprint);
|
|
33
|
-
}
|
|
34
|
-
if (existing === undefined) {
|
|
35
|
-
return this.admit(slot, scope.principal, fingerprint);
|
|
36
|
-
}
|
|
37
|
-
if (existing.fingerprint !== fingerprint) {
|
|
38
|
-
return { kind: 'conflict' };
|
|
39
|
-
}
|
|
40
|
-
if (existing.state === 'in-flight') {
|
|
41
|
-
return { kind: 'in-flight' };
|
|
42
|
-
}
|
|
43
|
-
return { kind: 'replay', receipt: existing.receipt ?? {} };
|
|
44
|
-
}
|
|
45
|
-
complete(handle, receipt) {
|
|
46
|
-
const entry = this.entries.get(handle.slot);
|
|
47
|
-
if (entry === undefined || entry.state === 'completed') {
|
|
48
|
-
return;
|
|
49
|
-
}
|
|
50
|
-
entry.state = 'completed';
|
|
51
|
-
entry.receipt = receipt;
|
|
52
|
-
entry.completedAt = this.clock();
|
|
53
|
-
this.evictCompletedOverCap();
|
|
54
|
-
}
|
|
55
|
-
abandon(handle) {
|
|
56
|
-
this.entries.delete(handle.slot);
|
|
57
|
-
}
|
|
58
|
-
size() {
|
|
59
|
-
return this.entries.size;
|
|
60
|
-
}
|
|
61
|
-
admit(slot, principal, fingerprint) {
|
|
62
|
-
this.entries.set(slot, {
|
|
63
|
-
principal,
|
|
64
|
-
fingerprint,
|
|
65
|
-
state: 'in-flight',
|
|
66
|
-
receipt: null,
|
|
67
|
-
completedAt: 0,
|
|
68
|
-
});
|
|
69
|
-
return { kind: 'first', handle: { slot } };
|
|
70
|
-
}
|
|
71
|
-
isExpired(entry) {
|
|
72
|
-
if (entry.state !== 'completed') {
|
|
73
|
-
return false;
|
|
74
|
-
}
|
|
75
|
-
return this.clock() - entry.completedAt > this.ttlMs;
|
|
76
|
-
}
|
|
77
|
-
evictCompletedOverCap() {
|
|
78
|
-
let completed = 0;
|
|
79
|
-
for (const entry of this.entries.values()) {
|
|
80
|
-
if (entry.state === 'completed') {
|
|
81
|
-
completed++;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
for (const [slot, entry] of this.entries) {
|
|
85
|
-
if (completed <= this.maxEntries) {
|
|
86
|
-
return;
|
|
87
|
-
}
|
|
88
|
-
if (entry.state === 'completed') {
|
|
89
|
-
this.entries.delete(slot);
|
|
90
|
-
completed--;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
static computeSlot(scope) {
|
|
95
|
-
const hash = createHash('sha256');
|
|
96
|
-
appendLengthPrefixedField(hash, scope.principal);
|
|
97
|
-
appendLengthPrefixedField(hash, scope.capabilityId);
|
|
98
|
-
appendLengthPrefixedField(hash, scope.key);
|
|
99
|
-
return hash.digest('hex');
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
//# sourceMappingURL=idempotency-ledger.js.map
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export interface CompletionResult {
|
|
2
|
-
readonly values: string[];
|
|
3
|
-
readonly total: number;
|
|
4
|
-
readonly hasMore: boolean;
|
|
5
|
-
}
|
|
6
|
-
export declare function complete(ref: {
|
|
7
|
-
type: string;
|
|
8
|
-
name?: string;
|
|
9
|
-
uri?: string;
|
|
10
|
-
}, argument: string, prefix: string): CompletionResult;
|
|
11
|
-
//# sourceMappingURL=completions.d.ts.map
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import { knowledgeTopics } from '../../resources/knowledge-resources.js';
|
|
2
|
-
import { dynamicToolManager } from '../../tools/dynamic/dynamic-tool-manager.js';
|
|
3
|
-
import { HOST_PATH_PATTERN, UE_CONTENT_ROOTS, isTraversalPath } from '../../utils/paths/content-path-policy.js';
|
|
4
|
-
import { capabilityIndex } from '../gateway/gateway-capability-index.js';
|
|
5
|
-
import { WORKFLOW_PROMPTS } from './prompts.js';
|
|
6
|
-
const MAX_ITEMS = 100;
|
|
7
|
-
const MAX_BYTES = 8192;
|
|
8
|
-
const MAX_PREFIX = 128;
|
|
9
|
-
const EMPTY = { values: [], total: 0, hasMore: false };
|
|
10
|
-
function capabilityCandidates() {
|
|
11
|
-
const values = new Set();
|
|
12
|
-
for (const record of capabilityIndex().records) {
|
|
13
|
-
if (!dynamicToolManager.isToolEnabled(record.routing.parentTool))
|
|
14
|
-
continue;
|
|
15
|
-
values.add(String(record.id));
|
|
16
|
-
for (const alias of record.aliases)
|
|
17
|
-
values.add(String(alias));
|
|
18
|
-
for (const legacy of record.legacyIds)
|
|
19
|
-
values.add(`${String(legacy.tool)}.${String(legacy.action)}`);
|
|
20
|
-
}
|
|
21
|
-
return [...values];
|
|
22
|
-
}
|
|
23
|
-
function candidatesFor(ref, argument) {
|
|
24
|
-
if (ref.type === 'ref/prompt') {
|
|
25
|
-
return WORKFLOW_PROMPTS.find((prompt) => prompt.id === ref.name)?.arguments.find((spec) => spec.name === argument)?.allowed;
|
|
26
|
-
}
|
|
27
|
-
if (ref.uri === 'ue://capability/{capabilityId}' && argument === 'capabilityId')
|
|
28
|
-
return capabilityCandidates();
|
|
29
|
-
if (ref.uri === 'ue://knowledge/{topic}' && argument === 'topic')
|
|
30
|
-
return knowledgeTopics();
|
|
31
|
-
if (ref.uri === 'ue://asset/{assetPath}' && argument === 'assetPath')
|
|
32
|
-
return [...UE_CONTENT_ROOTS];
|
|
33
|
-
return undefined;
|
|
34
|
-
}
|
|
35
|
-
function withinOneEdit(a, b) {
|
|
36
|
-
if (Math.abs(a.length - b.length) > 1)
|
|
37
|
-
return false;
|
|
38
|
-
let i = 0;
|
|
39
|
-
let j = 0;
|
|
40
|
-
let edits = 0;
|
|
41
|
-
while (i < a.length && j < b.length) {
|
|
42
|
-
if (a[i] === b[j]) {
|
|
43
|
-
i += 1;
|
|
44
|
-
j += 1;
|
|
45
|
-
continue;
|
|
46
|
-
}
|
|
47
|
-
edits += 1;
|
|
48
|
-
if (edits > 1)
|
|
49
|
-
return false;
|
|
50
|
-
if (a.length > b.length)
|
|
51
|
-
i += 1;
|
|
52
|
-
else if (b.length > a.length)
|
|
53
|
-
j += 1;
|
|
54
|
-
else {
|
|
55
|
-
i += 1;
|
|
56
|
-
j += 1;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
return edits + (i < a.length || j < b.length ? 1 : 0) <= 1;
|
|
60
|
-
}
|
|
61
|
-
function isSubsequence(needle, haystack) {
|
|
62
|
-
let n = 0;
|
|
63
|
-
for (let h = 0; h < haystack.length && n < needle.length; h += 1)
|
|
64
|
-
if (haystack[h] === needle[n])
|
|
65
|
-
n += 1;
|
|
66
|
-
return n === needle.length;
|
|
67
|
-
}
|
|
68
|
-
function tierFor(value, prefix) {
|
|
69
|
-
if (prefix.length === 0 || value.startsWith(prefix))
|
|
70
|
-
return 0;
|
|
71
|
-
if (value.includes(prefix))
|
|
72
|
-
return 1;
|
|
73
|
-
if (isSubsequence(prefix, value))
|
|
74
|
-
return 2;
|
|
75
|
-
if (withinOneEdit(prefix, value.slice(0, prefix.length)) || withinOneEdit(prefix, value.slice(0, prefix.length + 1)))
|
|
76
|
-
return 3;
|
|
77
|
-
return undefined;
|
|
78
|
-
}
|
|
79
|
-
export function complete(ref, argument, prefix) {
|
|
80
|
-
if (prefix.length > MAX_PREFIX || HOST_PATH_PATTERN.test(prefix) || isTraversalPath(prefix))
|
|
81
|
-
return EMPTY;
|
|
82
|
-
const pool = candidatesFor(ref, argument);
|
|
83
|
-
if (pool === undefined)
|
|
84
|
-
return EMPTY;
|
|
85
|
-
const lowered = prefix.toLowerCase();
|
|
86
|
-
const scored = pool.flatMap((value) => {
|
|
87
|
-
const tier = tierFor(value.toLowerCase(), lowered);
|
|
88
|
-
return tier === undefined ? [] : [{ value, tier }];
|
|
89
|
-
});
|
|
90
|
-
const matched = scored.some((entry) => entry.tier < 3) ? scored.filter((entry) => entry.tier < 3) : scored;
|
|
91
|
-
matched.sort((a, b) => a.tier - b.tier || (a.value < b.value ? -1 : a.value > b.value ? 1 : 0));
|
|
92
|
-
const values = [];
|
|
93
|
-
let bytes = 0;
|
|
94
|
-
for (const { value } of matched) {
|
|
95
|
-
const size = Buffer.byteLength(value, 'utf8');
|
|
96
|
-
if (values.length >= MAX_ITEMS || (values.length > 0 && bytes + size > MAX_BYTES))
|
|
97
|
-
break;
|
|
98
|
-
values.push(value);
|
|
99
|
-
bytes += size;
|
|
100
|
-
}
|
|
101
|
-
return { values, total: matched.length, hasMore: values.length < matched.length };
|
|
102
|
-
}
|
|
103
|
-
//# sourceMappingURL=completions.js.map
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Server } from '@modelcontextprotocol/sdk/server/index.js';
|
|
2
|
-
import { type ServerCapabilities } from '@modelcontextprotocol/sdk/types.js';
|
|
3
|
-
export declare const SERVER_CAPABILITIES: ServerCapabilities;
|
|
4
|
-
export declare function discoverResult(serverInfo: {
|
|
5
|
-
name: string;
|
|
6
|
-
version: string;
|
|
7
|
-
}, instructions: string): Record<string, unknown>;
|
|
8
|
-
export declare function wirePrimitives(server: Server, serverInfo: {
|
|
9
|
-
name: string;
|
|
10
|
-
version: string;
|
|
11
|
-
}, instructions: string): void;
|
|
12
|
-
//# sourceMappingURL=primitive-wiring.d.ts.map
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { CompleteRequestSchema, GetPromptRequestSchema, ListPromptsRequestSchema, SUPPORTED_PROTOCOL_VERSIONS, } from '@modelcontextprotocol/sdk/types.js';
|
|
2
|
-
import { z } from 'zod';
|
|
3
|
-
import { complete } from './completions.js';
|
|
4
|
-
import { getPrompt, listPrompts } from './prompts.js';
|
|
5
|
-
export const SERVER_CAPABILITIES = {
|
|
6
|
-
tools: {},
|
|
7
|
-
resources: {},
|
|
8
|
-
prompts: {},
|
|
9
|
-
completions: {},
|
|
10
|
-
};
|
|
11
|
-
const DiscoverRequestSchema = z.object({ method: z.literal('server/discover'), params: z.optional(z.looseObject({})) });
|
|
12
|
-
export function discoverResult(serverInfo, instructions) {
|
|
13
|
-
return {
|
|
14
|
-
resultType: 'complete',
|
|
15
|
-
supportedVersions: [...SUPPORTED_PROTOCOL_VERSIONS],
|
|
16
|
-
capabilities: SERVER_CAPABILITIES,
|
|
17
|
-
instructions,
|
|
18
|
-
ttlMs: 3_600_000,
|
|
19
|
-
cacheScope: 'public',
|
|
20
|
-
_meta: { 'io.modelcontextprotocol/serverInfo': serverInfo },
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
export function wirePrimitives(server, serverInfo, instructions) {
|
|
24
|
-
server.setRequestHandler(ListPromptsRequestSchema, () => ({ prompts: listPrompts() }));
|
|
25
|
-
server.setRequestHandler(GetPromptRequestSchema, (request) => getPrompt(request.params.name, request.params.arguments ?? {}));
|
|
26
|
-
server.setRequestHandler(CompleteRequestSchema, (request) => ({
|
|
27
|
-
completion: complete(request.params.ref, request.params.argument.name, request.params.argument.value),
|
|
28
|
-
}));
|
|
29
|
-
server.setRequestHandler(DiscoverRequestSchema, () => discoverResult(serverInfo, instructions));
|
|
30
|
-
}
|
|
31
|
-
//# sourceMappingURL=primitive-wiring.js.map
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import type { ProgressToken } from './progress-token.js';
|
|
2
|
-
export declare const MAX_PROGRESS_NOTIFICATIONS = 64;
|
|
3
|
-
export declare const MAX_PROGRESS_MESSAGE_LENGTH = 512;
|
|
4
|
-
export interface ProgressNotification {
|
|
5
|
-
readonly method: 'notifications/progress';
|
|
6
|
-
readonly params: {
|
|
7
|
-
readonly progressToken: ProgressToken;
|
|
8
|
-
readonly progress: number;
|
|
9
|
-
readonly total?: number;
|
|
10
|
-
readonly message?: string;
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
export interface ProgressUpdate {
|
|
14
|
-
readonly progress: number;
|
|
15
|
-
readonly total?: number;
|
|
16
|
-
readonly message?: string;
|
|
17
|
-
}
|
|
18
|
-
export type ProgressNotifier = (notification: ProgressNotification) => Promise<void>;
|
|
19
|
-
export interface ProgressReporter {
|
|
20
|
-
report(update: ProgressUpdate): void;
|
|
21
|
-
close(): void;
|
|
22
|
-
drain(): Promise<void>;
|
|
23
|
-
readonly sent: number;
|
|
24
|
-
readonly active: boolean;
|
|
25
|
-
}
|
|
26
|
-
export interface CreateProgressReporterOptions {
|
|
27
|
-
readonly token: ProgressToken | undefined;
|
|
28
|
-
readonly notify: ProgressNotifier;
|
|
29
|
-
readonly max?: number;
|
|
30
|
-
readonly onError?: (error: unknown) => void;
|
|
31
|
-
}
|
|
32
|
-
export declare function createProgressReporter(options: CreateProgressReporterOptions): ProgressReporter;
|
|
33
|
-
//# sourceMappingURL=progress-reporter.d.ts.map
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
export const MAX_PROGRESS_NOTIFICATIONS = 64;
|
|
2
|
-
export const MAX_PROGRESS_MESSAGE_LENGTH = 512;
|
|
3
|
-
export function createProgressReporter(options) {
|
|
4
|
-
const { token, notify, onError } = options;
|
|
5
|
-
const max = options.max ?? MAX_PROGRESS_NOTIFICATIONS;
|
|
6
|
-
let lastProgress = Number.NEGATIVE_INFINITY;
|
|
7
|
-
let sent = 0;
|
|
8
|
-
let active = true;
|
|
9
|
-
let chain = Promise.resolve();
|
|
10
|
-
const accepts = (update) => active &&
|
|
11
|
-
sent < max &&
|
|
12
|
-
Number.isFinite(update.progress) &&
|
|
13
|
-
update.progress > lastProgress;
|
|
14
|
-
const buildParams = (activeToken, update) => ({
|
|
15
|
-
progressToken: activeToken,
|
|
16
|
-
progress: update.progress,
|
|
17
|
-
...(Number.isFinite(update.total) ? { total: update.total } : {}),
|
|
18
|
-
...(typeof update.message === 'string' && update.message.length > 0
|
|
19
|
-
? { message: update.message.slice(0, MAX_PROGRESS_MESSAGE_LENGTH) }
|
|
20
|
-
: {}),
|
|
21
|
-
});
|
|
22
|
-
return {
|
|
23
|
-
report(update) {
|
|
24
|
-
if (token === undefined || !accepts(update))
|
|
25
|
-
return;
|
|
26
|
-
lastProgress = update.progress;
|
|
27
|
-
sent += 1;
|
|
28
|
-
const notification = {
|
|
29
|
-
method: 'notifications/progress',
|
|
30
|
-
params: buildParams(token, update),
|
|
31
|
-
};
|
|
32
|
-
chain = chain.then(() => notify(notification).then(() => undefined, (error) => {
|
|
33
|
-
onError?.(error);
|
|
34
|
-
}), () => undefined);
|
|
35
|
-
},
|
|
36
|
-
close() {
|
|
37
|
-
active = false;
|
|
38
|
-
},
|
|
39
|
-
drain() {
|
|
40
|
-
return chain;
|
|
41
|
-
},
|
|
42
|
-
get sent() {
|
|
43
|
-
return sent;
|
|
44
|
-
},
|
|
45
|
-
get active() {
|
|
46
|
-
return active;
|
|
47
|
-
},
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
//# sourceMappingURL=progress-reporter.js.map
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { ProgressReporter, ProgressUpdate } from './progress-reporter.js';
|
|
2
|
-
export declare const MAX_TRACKED_PROGRESS_REQUESTS = 256;
|
|
3
|
-
export interface ProgressSinkRegistryOptions {
|
|
4
|
-
readonly max?: number;
|
|
5
|
-
}
|
|
6
|
-
export declare class ProgressSinkRegistry {
|
|
7
|
-
private readonly sinks;
|
|
8
|
-
private readonly max;
|
|
9
|
-
constructor(options?: ProgressSinkRegistryOptions);
|
|
10
|
-
register(mcpRequestId: string, reporter: ProgressReporter): void;
|
|
11
|
-
report(mcpRequestId: string, update: ProgressUpdate): void;
|
|
12
|
-
unregister(mcpRequestId: string): void;
|
|
13
|
-
close(mcpRequestId: string): void;
|
|
14
|
-
clear(): void;
|
|
15
|
-
get size(): number;
|
|
16
|
-
}
|
|
17
|
-
//# sourceMappingURL=progress-sink-registry.d.ts.map
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { evictOldestUntilUnder } from '../../../utils/collections/bounded.js';
|
|
2
|
-
export const MAX_TRACKED_PROGRESS_REQUESTS = 256;
|
|
3
|
-
export class ProgressSinkRegistry {
|
|
4
|
-
sinks = new Map();
|
|
5
|
-
max;
|
|
6
|
-
constructor(options = {}) {
|
|
7
|
-
this.max = options.max ?? MAX_TRACKED_PROGRESS_REQUESTS;
|
|
8
|
-
}
|
|
9
|
-
register(mcpRequestId, reporter) {
|
|
10
|
-
if (mcpRequestId.length === 0)
|
|
11
|
-
return;
|
|
12
|
-
this.sinks.delete(mcpRequestId);
|
|
13
|
-
evictOldestUntilUnder(this.sinks, this.max);
|
|
14
|
-
this.sinks.set(mcpRequestId, reporter);
|
|
15
|
-
}
|
|
16
|
-
report(mcpRequestId, update) {
|
|
17
|
-
this.sinks.get(mcpRequestId)?.report(update);
|
|
18
|
-
}
|
|
19
|
-
unregister(mcpRequestId) {
|
|
20
|
-
this.sinks.delete(mcpRequestId);
|
|
21
|
-
}
|
|
22
|
-
close(mcpRequestId) {
|
|
23
|
-
this.sinks.get(mcpRequestId)?.close();
|
|
24
|
-
this.sinks.delete(mcpRequestId);
|
|
25
|
-
}
|
|
26
|
-
clear() {
|
|
27
|
-
for (const reporter of this.sinks.values())
|
|
28
|
-
reporter.close();
|
|
29
|
-
this.sinks.clear();
|
|
30
|
-
}
|
|
31
|
-
get size() {
|
|
32
|
-
return this.sinks.size;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
//# sourceMappingURL=progress-sink-registry.js.map
|