@xrkseek/harness-cli 0.0.11 → 0.1.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/dist/plugin/install-client.d.ts.map +1 -1
- package/dist/plugin/install-client.js +80 -2
- package/dist/plugin/install-client.js.map +1 -1
- package/node_modules/@img/colour/LICENSE.md +82 -0
- package/node_modules/@img/colour/README.md +15 -0
- package/node_modules/@img/colour/color.cjs +1596 -0
- package/node_modules/@img/colour/index.cjs +1 -0
- package/node_modules/@img/colour/index.d.ts +929 -0
- package/node_modules/@img/colour/package.json +58 -0
- package/node_modules/@img/sharp-win32-x64/LICENSE +191 -0
- package/node_modules/@img/sharp-win32-x64/README.md +59 -0
- package/node_modules/@img/sharp-win32-x64/index.cjs +1 -0
- package/node_modules/@img/sharp-win32-x64/lib/libvips-42.dll +0 -0
- package/node_modules/@img/sharp-win32-x64/lib/libvips-cpp-8.18.3.dll +0 -0
- package/node_modules/@img/sharp-win32-x64/lib/sharp-win32-x64-0.35.3.node +0 -0
- package/node_modules/@img/sharp-win32-x64/package.json +40 -0
- package/node_modules/@img/sharp-win32-x64/versions.json +30 -0
- package/node_modules/@types/node/LICENSE +21 -0
- package/node_modules/@types/node/README.md +15 -0
- package/node_modules/@types/node/assert/strict.d.ts +111 -0
- package/node_modules/@types/node/assert.d.ts +1115 -0
- package/node_modules/@types/node/async_hooks.d.ts +623 -0
- package/node_modules/@types/node/buffer.buffer.d.ts +472 -0
- package/node_modules/@types/node/buffer.d.ts +1934 -0
- package/node_modules/@types/node/child_process.d.ts +1476 -0
- package/node_modules/@types/node/cluster.d.ts +578 -0
- package/node_modules/@types/node/compatibility/iterators.d.ts +21 -0
- package/node_modules/@types/node/console.d.ts +453 -0
- package/node_modules/@types/node/constants.d.ts +21 -0
- package/node_modules/@types/node/crypto.d.ts +5417 -0
- package/node_modules/@types/node/dgram.d.ts +600 -0
- package/node_modules/@types/node/diagnostics_channel.d.ts +576 -0
- package/node_modules/@types/node/dns/promises.d.ts +503 -0
- package/node_modules/@types/node/dns.d.ts +923 -0
- package/node_modules/@types/node/domain.d.ts +166 -0
- package/node_modules/@types/node/events.d.ts +976 -0
- package/node_modules/@types/node/fs/promises.d.ts +1341 -0
- package/node_modules/@types/node/fs.d.ts +4714 -0
- package/node_modules/@types/node/globals.d.ts +170 -0
- package/node_modules/@types/node/globals.typedarray.d.ts +41 -0
- package/node_modules/@types/node/http.d.ts +2154 -0
- package/node_modules/@types/node/http2.d.ts +2835 -0
- package/node_modules/@types/node/https.d.ts +585 -0
- package/node_modules/@types/node/index.d.ts +101 -0
- package/node_modules/@types/node/inspector.d.ts +277 -0
- package/node_modules/@types/node/inspector.generated.d.ts +4239 -0
- package/node_modules/@types/node/module.d.ts +843 -0
- package/node_modules/@types/node/net.d.ts +1073 -0
- package/node_modules/@types/node/os.d.ts +507 -0
- package/node_modules/@types/node/package.json +155 -0
- package/node_modules/@types/node/path.d.ts +200 -0
- package/node_modules/@types/node/perf_hooks.d.ts +1042 -0
- package/node_modules/@types/node/process.d.ts +2102 -0
- package/node_modules/@types/node/punycode.d.ts +117 -0
- package/node_modules/@types/node/querystring.d.ts +152 -0
- package/node_modules/@types/node/readline/promises.d.ts +161 -0
- package/node_modules/@types/node/readline.d.ts +600 -0
- package/node_modules/@types/node/repl.d.ts +438 -0
- package/node_modules/@types/node/sea.d.ts +162 -0
- package/node_modules/@types/node/sqlite.d.ts +1040 -0
- package/node_modules/@types/node/stream/consumers.d.ts +38 -0
- package/node_modules/@types/node/stream/promises.d.ts +90 -0
- package/node_modules/@types/node/stream/web.d.ts +573 -0
- package/node_modules/@types/node/stream.d.ts +1706 -0
- package/node_modules/@types/node/string_decoder.d.ts +67 -0
- package/node_modules/@types/node/test.d.ts +2349 -0
- package/node_modules/@types/node/timers/promises.d.ts +108 -0
- package/node_modules/@types/node/timers.d.ts +285 -0
- package/node_modules/@types/node/tls.d.ts +1279 -0
- package/node_modules/@types/node/trace_events.d.ts +197 -0
- package/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +468 -0
- package/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +71 -0
- package/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +36 -0
- package/node_modules/@types/node/ts5.6/index.d.ts +103 -0
- package/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +72 -0
- package/node_modules/@types/node/ts5.7/index.d.ts +103 -0
- package/node_modules/@types/node/tty.d.ts +208 -0
- package/node_modules/@types/node/url.d.ts +1079 -0
- package/node_modules/@types/node/util.d.ts +2336 -0
- package/node_modules/@types/node/v8.d.ts +982 -0
- package/node_modules/@types/node/vm.d.ts +1195 -0
- package/node_modules/@types/node/wasi.d.ts +202 -0
- package/node_modules/@types/node/web-globals/abortcontroller.d.ts +34 -0
- package/node_modules/@types/node/web-globals/crypto.d.ts +32 -0
- package/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
- package/node_modules/@types/node/web-globals/events.d.ts +97 -0
- package/node_modules/@types/node/web-globals/fetch.d.ts +62 -0
- package/node_modules/@types/node/web-globals/navigator.d.ts +25 -0
- package/node_modules/@types/node/web-globals/storage.d.ts +24 -0
- package/node_modules/@types/node/web-globals/streams.d.ts +22 -0
- package/node_modules/@types/node/worker_threads.d.ts +894 -0
- package/node_modules/@types/node/zlib.d.ts +745 -0
- package/node_modules/@xrkseek/attachment/dist/error.d.ts +3 -2
- package/node_modules/@xrkseek/attachment/dist/error.d.ts.map +1 -1
- package/node_modules/@xrkseek/attachment/dist/error.js +17 -2
- package/node_modules/@xrkseek/attachment/dist/error.js.map +1 -1
- package/node_modules/@xrkseek/attachment/dist/index.d.ts +2 -2
- package/node_modules/@xrkseek/attachment/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/attachment/dist/index.js +1 -1
- package/node_modules/@xrkseek/attachment/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/attachment/dist/memory.d.ts.map +1 -1
- package/node_modules/@xrkseek/attachment/dist/memory.js +6 -0
- package/node_modules/@xrkseek/attachment/dist/memory.js.map +1 -1
- package/node_modules/@xrkseek/attachment/dist/store.d.ts +6 -1
- package/node_modules/@xrkseek/attachment/dist/store.d.ts.map +1 -1
- package/node_modules/@xrkseek/attachment/dist/types.d.ts +19 -0
- package/node_modules/@xrkseek/attachment/dist/types.d.ts.map +1 -1
- package/node_modules/@xrkseek/attachment/dist/types.js.map +1 -1
- package/node_modules/@xrkseek/attachment-local/README.md +3 -0
- package/node_modules/@xrkseek/attachment-local/dist/compression-limiter.d.ts +18 -0
- package/node_modules/@xrkseek/attachment-local/dist/compression-limiter.d.ts.map +1 -0
- package/node_modules/@xrkseek/attachment-local/dist/compression-limiter.js +43 -0
- package/node_modules/@xrkseek/attachment-local/dist/compression-limiter.js.map +1 -0
- package/node_modules/@xrkseek/attachment-local/dist/encoding.d.ts +23 -0
- package/node_modules/@xrkseek/attachment-local/dist/encoding.d.ts.map +1 -0
- package/node_modules/@xrkseek/attachment-local/dist/encoding.js +33 -0
- package/node_modules/@xrkseek/attachment-local/dist/encoding.js.map +1 -0
- package/node_modules/@xrkseek/attachment-local/dist/image.d.ts +54 -0
- package/node_modules/@xrkseek/attachment-local/dist/image.d.ts.map +1 -0
- package/node_modules/@xrkseek/attachment-local/dist/image.js +97 -0
- package/node_modules/@xrkseek/attachment-local/dist/image.js.map +1 -0
- package/node_modules/@xrkseek/attachment-local/dist/index.d.ts +32 -0
- package/node_modules/@xrkseek/attachment-local/dist/index.d.ts.map +1 -0
- package/node_modules/@xrkseek/attachment-local/dist/index.js +188 -0
- package/node_modules/@xrkseek/attachment-local/dist/index.js.map +1 -0
- package/node_modules/@xrkseek/attachment-local/dist/normalization.d.ts +44 -0
- package/node_modules/@xrkseek/attachment-local/dist/normalization.d.ts.map +1 -0
- package/node_modules/@xrkseek/attachment-local/dist/normalization.js +148 -0
- package/node_modules/@xrkseek/attachment-local/dist/normalization.js.map +1 -0
- package/node_modules/@xrkseek/attachment-local/dist/request-image.d.ts +34 -0
- package/node_modules/@xrkseek/attachment-local/dist/request-image.d.ts.map +1 -0
- package/node_modules/@xrkseek/attachment-local/dist/request-image.js +208 -0
- package/node_modules/@xrkseek/attachment-local/dist/request-image.js.map +1 -0
- package/node_modules/@xrkseek/attachment-local/dist/store.d.ts +58 -0
- package/node_modules/@xrkseek/attachment-local/dist/store.d.ts.map +1 -0
- package/node_modules/@xrkseek/attachment-local/dist/store.js +290 -0
- package/node_modules/@xrkseek/attachment-local/dist/store.js.map +1 -0
- package/node_modules/@xrkseek/attachment-local/package.json +25 -0
- package/node_modules/@xrkseek/exec-fs/dist/index.d.ts +3 -0
- package/node_modules/@xrkseek/exec-fs/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-fs/dist/index.js +10 -0
- package/node_modules/@xrkseek/exec-fs/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/exec-fs/dist/read-image.d.ts +35 -0
- package/node_modules/@xrkseek/exec-fs/dist/read-image.d.ts.map +1 -0
- package/node_modules/@xrkseek/exec-fs/dist/read-image.js +120 -0
- package/node_modules/@xrkseek/exec-fs/dist/read-image.js.map +1 -0
- package/node_modules/@xrkseek/exec-fs/package.json +3 -1
- package/node_modules/@xrkseek/llm/dist/index.d.ts +1 -0
- package/node_modules/@xrkseek/llm/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/llm/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/llm-deepseek/README.md +3 -1
- package/node_modules/@xrkseek/llm-deepseek/dist/file-id.d.ts +10 -0
- package/node_modules/@xrkseek/llm-deepseek/dist/file-id.d.ts.map +1 -0
- package/node_modules/@xrkseek/llm-deepseek/dist/file-id.js +8 -0
- package/node_modules/@xrkseek/llm-deepseek/dist/file-id.js.map +1 -0
- package/node_modules/@xrkseek/llm-deepseek/dist/file-store.d.ts +40 -0
- package/node_modules/@xrkseek/llm-deepseek/dist/file-store.d.ts.map +1 -0
- package/node_modules/@xrkseek/llm-deepseek/dist/file-store.js +164 -0
- package/node_modules/@xrkseek/llm-deepseek/dist/file-store.js.map +1 -0
- package/node_modules/@xrkseek/llm-deepseek/dist/files-api.d.ts +56 -0
- package/node_modules/@xrkseek/llm-deepseek/dist/files-api.d.ts.map +1 -0
- package/node_modules/@xrkseek/llm-deepseek/dist/files-api.js +180 -0
- package/node_modules/@xrkseek/llm-deepseek/dist/files-api.js.map +1 -0
- package/node_modules/@xrkseek/llm-deepseek/dist/index.d.ts +15 -6
- package/node_modules/@xrkseek/llm-deepseek/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/llm-deepseek/dist/index.js +63 -13
- package/node_modules/@xrkseek/llm-deepseek/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/llm-deepseek/dist/request-policy.d.ts +8 -0
- package/node_modules/@xrkseek/llm-deepseek/dist/request-policy.d.ts.map +1 -0
- package/node_modules/@xrkseek/llm-deepseek/dist/request-policy.js +12 -0
- package/node_modules/@xrkseek/llm-deepseek/dist/request-policy.js.map +1 -0
- package/node_modules/@xrkseek/llm-deepseek/dist/upload-index.d.ts +28 -0
- package/node_modules/@xrkseek/llm-deepseek/dist/upload-index.d.ts.map +1 -0
- package/node_modules/@xrkseek/llm-deepseek/dist/upload-index.js +142 -0
- package/node_modules/@xrkseek/llm-deepseek/dist/upload-index.js.map +1 -0
- package/node_modules/@xrkseek/llm-deepseek/package.json +3 -1
- package/node_modules/@xrkseek/llm-openai-compatible/dist/index.d.ts +27 -0
- package/node_modules/@xrkseek/llm-openai-compatible/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/llm-openai-compatible/dist/index.js +20 -5
- package/node_modules/@xrkseek/llm-openai-compatible/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/llm-registry/dist/registry.d.ts +1 -0
- package/node_modules/@xrkseek/llm-registry/dist/registry.d.ts.map +1 -1
- package/node_modules/@xrkseek/llm-registry/dist/registry.js +15 -1
- package/node_modules/@xrkseek/llm-registry/dist/registry.js.map +1 -1
- package/node_modules/@xrkseek/preset-harness/dist/preset.d.ts +5 -0
- package/node_modules/@xrkseek/preset-harness/dist/preset.d.ts.map +1 -1
- package/node_modules/@xrkseek/preset-harness/dist/preset.js +10 -1
- package/node_modules/@xrkseek/preset-harness/dist/preset.js.map +1 -1
- package/node_modules/@xrkseek/preset-harness/dist/tsconfig.tsbuildinfo +1 -1
- package/node_modules/@xrkseek/preset-harness/package.json +1 -0
- package/node_modules/@xrkseek/preset-minimal/dist/tsconfig.tsbuildinfo +1 -1
- package/node_modules/@xrkseek/preset-server/dist/preset.d.ts.map +1 -1
- package/node_modules/@xrkseek/preset-server/dist/preset.js +3 -1
- package/node_modules/@xrkseek/preset-server/dist/preset.js.map +1 -1
- package/node_modules/@xrkseek/preset-server/dist/tsconfig.tsbuildinfo +1 -1
- package/node_modules/@xrkseek/protocol/dist/content.d.ts +5 -0
- package/node_modules/@xrkseek/protocol/dist/content.d.ts.map +1 -1
- package/node_modules/@xrkseek/protocol/dist/content.js +8 -1
- package/node_modules/@xrkseek/protocol/dist/content.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/context.d.ts +6 -3
- package/node_modules/@xrkseek/server-face/dist/context.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/cordis-bridge.d.ts +9 -0
- package/node_modules/@xrkseek/server-face/dist/cordis-bridge.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/cordis-bridge.js +28 -0
- package/node_modules/@xrkseek/server-face/dist/cordis-bridge.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-balance.d.ts +16 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-balance.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-balance.js +141 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-balance.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-coding-plan-service.d.ts +13 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-coding-plan-service.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-coding-plan-service.js +158 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-coding-plan-service.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-coding-plans.d.ts +284 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-coding-plans.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-coding-plans.js +696 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-coding-plans.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-custom-balance.d.ts +15 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-custom-balance.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-custom-balance.js +196 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-custom-balance.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-go-quota.d.ts +19 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-go-quota.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-go-quota.js +143 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-go-quota.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-pricing.d.ts +16 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-pricing.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-pricing.js +84 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-pricing.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-record.d.ts +19 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-record.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-record.js +221 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-record.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-store.d.ts +133 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-store.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-store.js +561 -0
- package/node_modules/@xrkseek/server-face/dist/cost-meter-store.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/dispatch.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/dispatch.js +15 -0
- package/node_modules/@xrkseek/server-face/dist/dispatch.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/handlers/cordis-stub.d.ts +0 -5
- package/node_modules/@xrkseek/server-face/dist/handlers/cordis-stub.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/handlers/cordis-stub.js +277 -24
- package/node_modules/@xrkseek/server-face/dist/handlers/cordis-stub.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/handlers/cost-meter.d.ts +30 -0
- package/node_modules/@xrkseek/server-face/dist/handlers/cost-meter.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/handlers/cost-meter.js +48 -0
- package/node_modules/@xrkseek/server-face/dist/handlers/cost-meter.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/handlers/references.d.ts +6 -0
- package/node_modules/@xrkseek/server-face/dist/handlers/references.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/handlers/references.js +42 -0
- package/node_modules/@xrkseek/server-face/dist/handlers/references.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/handlers/staged-client-code.d.ts +6 -0
- package/node_modules/@xrkseek/server-face/dist/handlers/staged-client-code.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/handlers/staged-client-code.js +24 -0
- package/node_modules/@xrkseek/server-face/dist/handlers/staged-client-code.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/index.d.ts +1 -0
- package/node_modules/@xrkseek/server-face/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/index.js +1 -0
- package/node_modules/@xrkseek/server-face/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/llm-resolve.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/llm-resolve.js +5 -3
- package/node_modules/@xrkseek/server-face/dist/llm-resolve.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/plugin-inventory.d.ts +2 -2
- package/node_modules/@xrkseek/server-face/dist/plugin-inventory.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/plugin-inventory.js +7 -3
- package/node_modules/@xrkseek/server-face/dist/plugin-inventory.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/projections/index.d.ts +2 -0
- package/node_modules/@xrkseek/server-face/dist/projections/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/projections/index.js +2 -0
- package/node_modules/@xrkseek/server-face/dist/projections/index.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/projections/install-defaults.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/projections/install-defaults.js +12 -0
- package/node_modules/@xrkseek/server-face/dist/projections/install-defaults.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/projections/registry.d.ts +45 -0
- package/node_modules/@xrkseek/server-face/dist/projections/registry.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/projections/registry.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/projections/units/auto-review.d.ts +40 -0
- package/node_modules/@xrkseek/server-face/dist/projections/units/auto-review.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/projections/units/auto-review.js +103 -0
- package/node_modules/@xrkseek/server-face/dist/projections/units/auto-review.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/projections/units/context-headers.d.ts +9 -0
- package/node_modules/@xrkseek/server-face/dist/projections/units/context-headers.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/projections/units/context-headers.js +24 -0
- package/node_modules/@xrkseek/server-face/dist/projections/units/context-headers.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/projections/units/context-timeline.d.ts +37 -0
- package/node_modules/@xrkseek/server-face/dist/projections/units/context-timeline.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/projections/units/context-timeline.js +109 -0
- package/node_modules/@xrkseek/server-face/dist/projections/units/context-timeline.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/projections/units/cost-usage.d.ts +35 -0
- package/node_modules/@xrkseek/server-face/dist/projections/units/cost-usage.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/projections/units/cost-usage.js +151 -0
- package/node_modules/@xrkseek/server-face/dist/projections/units/cost-usage.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/reference-discovery.d.ts +13 -0
- package/node_modules/@xrkseek/server-face/dist/reference-discovery.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/reference-discovery.js +81 -0
- package/node_modules/@xrkseek/server-face/dist/reference-discovery.js.map +1 -0
- package/node_modules/@xrkseek/server-face/dist/runtime.d.ts +5 -1
- package/node_modules/@xrkseek/server-face/dist/runtime.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/runtime.js +25 -0
- package/node_modules/@xrkseek/server-face/dist/runtime.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/settings-credentials.d.ts +15 -0
- package/node_modules/@xrkseek/server-face/dist/settings-credentials.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/settings-credentials.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/slash.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/slash.js +19 -0
- package/node_modules/@xrkseek/server-face/dist/slash.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/wire/paths.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/wire/paths.js +3 -0
- package/node_modules/@xrkseek/server-face/dist/wire/paths.js.map +1 -1
- package/node_modules/@xrkseek/server-face/package.json +3 -0
- package/node_modules/@xrkseek/server-host/dist/auto-review-bridge.d.ts +4 -0
- package/node_modules/@xrkseek/server-host/dist/auto-review-bridge.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-host/dist/auto-review-bridge.js +10 -0
- package/node_modules/@xrkseek/server-host/dist/auto-review-bridge.js.map +1 -0
- package/node_modules/@xrkseek/server-host/dist/cost-meter-bridge.d.ts +11 -0
- package/node_modules/@xrkseek/server-host/dist/cost-meter-bridge.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-host/dist/cost-meter-bridge.js +29 -0
- package/node_modules/@xrkseek/server-host/dist/cost-meter-bridge.js.map +1 -0
- package/node_modules/@xrkseek/server-host/dist/harness-connector-bridge.d.ts +15 -0
- package/node_modules/@xrkseek/server-host/dist/harness-connector-bridge.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-host/dist/harness-connector-bridge.js +34 -0
- package/node_modules/@xrkseek/server-host/dist/harness-connector-bridge.js.map +1 -0
- package/node_modules/@xrkseek/server-host/dist/index.d.ts +6 -1
- package/node_modules/@xrkseek/server-host/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-host/dist/index.js +126 -19
- package/node_modules/@xrkseek/server-host/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/server-host/dist/sidebar-pty.d.ts +17 -0
- package/node_modules/@xrkseek/server-host/dist/sidebar-pty.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-host/dist/sidebar-pty.js +201 -0
- package/node_modules/@xrkseek/server-host/dist/sidebar-pty.js.map +1 -0
- package/node_modules/@xrkseek/server-host/dist/usage-stats-bridge.d.ts +10 -0
- package/node_modules/@xrkseek/server-host/dist/usage-stats-bridge.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-host/dist/usage-stats-bridge.js +31 -0
- package/node_modules/@xrkseek/server-host/dist/usage-stats-bridge.js.map +1 -0
- package/node_modules/@xrkseek/server-host/dist/wallet-bridge.d.ts +7 -0
- package/node_modules/@xrkseek/server-host/dist/wallet-bridge.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-host/dist/wallet-bridge.js +40 -0
- package/node_modules/@xrkseek/server-host/dist/wallet-bridge.js.map +1 -0
- package/node_modules/@xrkseek/server-host/package.json +8 -1
- package/node_modules/@xrkseek/server-http/dist/boot-inject.d.ts +12 -0
- package/node_modules/@xrkseek/server-http/dist/boot-inject.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/boot-inject.js +54 -0
- package/node_modules/@xrkseek/server-http/dist/boot-inject.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-compose.d.ts +6 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-compose.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-compose.js +141 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-compose.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-providers.d.ts +3 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-providers.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-providers.js +445 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-providers.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-registry.d.ts +7 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-registry.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-registry.js +15 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-registry.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-types.d.ts +57 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-types.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-types.js +2 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapter-types.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapters/builtin.d.ts +10 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapters/builtin.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapters/builtin.js +275 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/adapters/builtin.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/audit-community-client.d.ts +10 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/audit-community-client.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/audit-community-client.js +41 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/audit-community-client.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/auto-review-http.d.ts +17 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/auto-review-http.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/auto-review-http.js +184 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/auto-review-http.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/barrel.d.ts +5 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/barrel.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/barrel.js +5 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/barrel.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/bundle-chunk-stub.d.ts +21 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/bundle-chunk-stub.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/bundle-chunk-stub.js +122 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/bundle-chunk-stub.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/chat-import.d.ts +10 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/chat-import.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/chat-import.js +58 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/chat-import.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/community-root-http.d.ts +7 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/community-root-http.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/community-root-http.js +59 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/community-root-http.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-fiber-runner.d.ts +25 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-fiber-runner.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-fiber-runner.js +154 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-fiber-runner.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-fiber-worker.d.ts +2 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-fiber-worker.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-fiber-worker.js +77 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-fiber-worker.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-registry.d.ts +16 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-registry.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-registry.js +121 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-registry.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-settings-fallback.d.ts +12 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-settings-fallback.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-settings-fallback.js +48 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/cordis-settings-fallback.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/create-host-plugin.d.ts +18 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/create-host-plugin.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/create-host-plugin.js +62 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/create-host-plugin.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dream-skin.d.ts +9 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dream-skin.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dream-skin.js +42 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dream-skin.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-client-scan.d.ts +6 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-client-scan.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-client-scan.js +88 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-client-scan.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-community-infer.d.ts +9 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-community-infer.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-community-infer.js +67 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-community-infer.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-matrix.d.ts +18 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-matrix.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-matrix.js +198 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-matrix.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-upgrades.d.ts +27 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-upgrades.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-upgrades.js +71 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-compat-upgrades.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-envelope.d.ts +8 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-envelope.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-envelope.js +12 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-envelope.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-package-names.d.ts +2 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-package-names.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-package-names.js +6 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-package-names.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-path-capabilities.d.ts +22 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-path-capabilities.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-path-capabilities.js +219 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-path-capabilities.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-plugin-presets.d.ts +4 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-plugin-presets.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-plugin-presets.js +53 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/dsh-plugin-presets.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-dsh-http.d.ts +11 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-dsh-http.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-dsh-http.js +61 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-dsh-http.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-plugin-http.d.ts +7 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-plugin-http.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-plugin-http.js +150 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/generic-plugin-http.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/genui.d.ts +10 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/genui.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/genui.js +239 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/genui.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/harness-connector-store.d.ts +22 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/harness-connector-store.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/harness-connector-store.js +83 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/harness-connector-store.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/harness-connector.d.ts +18 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/harness-connector.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/harness-connector.js +191 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/harness-connector.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/honest-envelope.d.ts +21 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/honest-envelope.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/honest-envelope.js +105 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/honest-envelope.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/honest-http-catchall.d.ts +7 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/honest-http-catchall.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/honest-http-catchall.js +57 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/honest-http-catchall.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-apply-bridge.d.ts +6 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-apply-bridge.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-apply-bridge.js +74 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-apply-bridge.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-apply-registry.d.ts +14 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-apply-registry.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-apply-registry.js +17 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-apply-registry.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-feature-bridge.d.ts +76 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-feature-bridge.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-feature-bridge.js +551 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-feature-bridge.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-manifest.d.ts +7 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-manifest.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-manifest.js +136 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/host-manifest.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-channels.d.ts +21 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-channels.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-channels.js +281 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-channels.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-messaging-bridge.d.ts +16 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-messaging-bridge.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-messaging-bridge.js +163 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-messaging-bridge.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-office.d.ts +5 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-office.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-office.js +125 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-office.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-provision-bridge.d.ts +17 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-provision-bridge.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-provision-bridge.js +188 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-provision-bridge.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-rpc-adapter.d.ts +9 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-rpc-adapter.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-rpc-adapter.js +55 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/im-rpc-adapter.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/index.d.ts +37 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/index.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/index.js +36 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/index.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/json-store.d.ts +5 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/json-store.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/json-store.js +28 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/json-store.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/market-adapter.d.ts +7 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/market-adapter.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/market-adapter.js +108 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/market-adapter.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/market.d.ts +7 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/market.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/market.js +218 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/market.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/memento.d.ts +10 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/memento.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/memento.js +81 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/memento.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/meta.d.ts +10 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/meta.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/meta.js +15 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/meta.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-adapter.d.ts +8 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-adapter.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-adapter.js +83 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-adapter.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-shapes.d.ts +9 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-shapes.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-shapes.js +144 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-shapes.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-store.d.ts +17 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-store.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-store.js +52 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon-store.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon.d.ts +11 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon.js +221 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mnemon.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access.d.ts +22 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access.js +155 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/mobile-access.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/modlens.d.ts +14 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/modlens.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/modlens.js +213 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/modlens.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/modsearch.d.ts +14 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/modsearch.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/modsearch.js +200 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/modsearch.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/noema.d.ts +11 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/noema.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/noema.js +200 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/noema.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/persisted-settings-store.d.ts +6 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/persisted-settings-store.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/persisted-settings-store.js +47 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/persisted-settings-store.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/plugin-host-manifest.d.ts +15 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/plugin-host-manifest.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/plugin-host-manifest.js +132 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/plugin-host-manifest.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/plugin-surface-adapter.d.ts +13 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/plugin-surface-adapter.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/plugin-surface-adapter.js +336 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/plugin-surface-adapter.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/pocket.d.ts +10 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/pocket.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/pocket.js +86 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/pocket.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/releases.d.ts +8 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/releases.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/releases.js +34 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/releases.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/settings-defaults.d.ts +4 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/settings-defaults.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/settings-defaults.js +170 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/settings-defaults.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/settings-store.d.ts +33 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/settings-store.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/settings-store.js +108 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/settings-store.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/shared-registry.d.ts +10 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/shared-registry.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/shared-registry.js +38 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/shared-registry.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-adapter.d.ts +10 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-adapter.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-adapter.js +358 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-adapter.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-git.d.ts +25 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-git.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-git.js +78 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-git.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-prefs-store.d.ts +9 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-prefs-store.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-prefs-store.js +56 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/sidebar-prefs-store.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/skin-market.d.ts +11 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/skin-market.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/skin-market.js +106 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/skin-market.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/surface-registry.d.ts +18 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/surface-registry.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/surface-registry.js +240 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/surface-registry.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/surfaces.d.ts +5 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/surfaces.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/surfaces.js +78 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/surfaces.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/tokenledger.d.ts +42 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/tokenledger.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/tokenledger.js +117 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/tokenledger.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow-node-runtime.d.ts +11 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow-node-runtime.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow-node-runtime.js +111 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow-node-runtime.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow.d.ts +16 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow.js +455 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/tongflow.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind-store.d.ts +26 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind-store.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind-store.js +22 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind-store.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind-workspace.d.ts +12 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind-workspace.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind-workspace.js +123 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind-workspace.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind.d.ts +16 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind.js +99 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/turn-rewind.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/contracts/wallet-port.d.ts +106 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/contracts/wallet-port.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/contracts/wallet-port.js +6 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/contracts/wallet-port.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/doc-store.d.ts +14 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/doc-store.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/doc-store.js +21 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/doc-store.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/http-kit.d.ts +9 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/http-kit.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/http-kit.js +22 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/http-kit.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/index.d.ts +22 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/index.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/index.js +13 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/index.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/wallet-service.d.ts +21 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/wallet-service.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/wallet-service.js +190 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/underlying/wallet-service.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/undo.d.ts +10 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/undo.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/undo.js +438 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/undo.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/usage-stats.d.ts +8 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/usage-stats.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/usage-stats.js +69 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/usage-stats.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-adapter.d.ts +6 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-adapter.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-adapter.js +62 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-adapter.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-defaults.d.ts +5 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-defaults.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-defaults.js +17 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-defaults.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-router-adapter.d.ts +7 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-router-adapter.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-router-adapter.js +67 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision-router-adapter.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision.d.ts +12 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision.js +198 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/vision.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/wallet.d.ts +15 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/wallet.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/wallet.js +111 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/wallet.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/wallpaper.d.ts +9 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/wallpaper.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/wallpaper.js +161 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/wallpaper.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/settings-provider.d.ts +6 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/settings-provider.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/settings-provider.js +31 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/settings-provider.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/stub-handlers.d.ts +9 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/stub-handlers.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/stub-handlers.js +103 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/wire/stub-handlers.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/xrk-host-apply.d.ts +49 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/xrk-host-apply.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/xrk-host-apply.js +190 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/xrk-host-apply.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/xrk-json-store.d.ts +9 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/xrk-json-store.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/xrk-json-store.js +44 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat/xrk-json-store.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat.d.ts +6 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat.js +6 -0
- package/node_modules/@xrkseek/server-http/dist/dsh-compat.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/host-wire.d.ts +14 -0
- package/node_modules/@xrkseek/server-http/dist/host-wire.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/host-wire.js +15 -0
- package/node_modules/@xrkseek/server-http/dist/host-wire.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/http-json.d.ts +12 -0
- package/node_modules/@xrkseek/server-http/dist/http-json.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/http-json.js +40 -0
- package/node_modules/@xrkseek/server-http/dist/http-json.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/index.d.ts +12 -1
- package/node_modules/@xrkseek/server-http/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/index.js +12 -1
- package/node_modules/@xrkseek/server-http/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/server-http/dist/public-routes.d.ts +19 -0
- package/node_modules/@xrkseek/server-http/dist/public-routes.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/public-routes.js +34 -0
- package/node_modules/@xrkseek/server-http/dist/public-routes.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/xrk/plugin-mutate.d.ts +13 -0
- package/node_modules/@xrkseek/server-http/dist/xrk/plugin-mutate.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/xrk/plugin-mutate.js +58 -0
- package/node_modules/@xrkseek/server-http/dist/xrk/plugin-mutate.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/xrk/plugin-routes.d.ts +16 -0
- package/node_modules/@xrkseek/server-http/dist/xrk/plugin-routes.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/xrk/plugin-routes.js +49 -0
- package/node_modules/@xrkseek/server-http/dist/xrk/plugin-routes.js.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/xrk/plugin-services.d.ts +35 -0
- package/node_modules/@xrkseek/server-http/dist/xrk/plugin-services.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-http/dist/xrk/plugin-services.js +103 -0
- package/node_modules/@xrkseek/server-http/dist/xrk/plugin-services.js.map +1 -0
- package/node_modules/@xrkseek/server-http/package.json +2 -1
- package/node_modules/@xrkseek/server-loader/dist/host.d.ts +6 -0
- package/node_modules/@xrkseek/server-loader/dist/host.d.ts.map +1 -0
- package/node_modules/@xrkseek/server-loader/dist/host.js +11 -0
- package/node_modules/@xrkseek/server-loader/dist/host.js.map +1 -0
- package/node_modules/@xrkseek/server-loader/dist/index.d.ts +2 -1
- package/node_modules/@xrkseek/server-loader/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-loader/dist/index.js +1 -0
- package/node_modules/@xrkseek/server-loader/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/server-loader/dist/kinds.d.ts +5 -0
- package/node_modules/@xrkseek/server-loader/dist/kinds.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-loader/dist/kinds.js +5 -0
- package/node_modules/@xrkseek/server-loader/dist/kinds.js.map +1 -1
- package/node_modules/@xrkseek/server-loader/dist/load.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-loader/dist/load.js +5 -0
- package/node_modules/@xrkseek/server-loader/dist/load.js.map +1 -1
- package/node_modules/@xrkseek/server-loader/dist/types.d.ts +40 -0
- package/node_modules/@xrkseek/server-loader/dist/types.d.ts.map +1 -1
- package/node_modules/@xrkseek/xrk-file-reference/README.i18n.yaml +6 -0
- package/node_modules/@xrkseek/xrk-file-reference/README.md +22 -0
- package/node_modules/@xrkseek/xrk-file-reference/README.zh.md +22 -0
- package/node_modules/@xrkseek/xrk-file-reference/package.json +68 -0
- package/node_modules/@xrkseek/xrk-file-reference-local/README.i18n.yaml +6 -0
- package/node_modules/@xrkseek/xrk-file-reference-local/README.md +45 -0
- package/node_modules/@xrkseek/xrk-file-reference-local/README.zh.md +45 -0
- package/node_modules/@xrkseek/xrk-file-reference-local/package.json +56 -0
- package/node_modules/@xrkseek/xrk-session-reference/README.i18n.yaml +6 -0
- package/node_modules/@xrkseek/xrk-session-reference/README.md +50 -0
- package/node_modules/@xrkseek/xrk-session-reference/README.zh.md +50 -0
- package/node_modules/@xrkseek/xrk-session-reference/package.json +79 -0
- package/node_modules/detect-libc/LICENSE +201 -0
- package/node_modules/detect-libc/README.md +163 -0
- package/node_modules/detect-libc/index.d.ts +14 -0
- package/node_modules/detect-libc/lib/detect-libc.js +313 -0
- package/node_modules/detect-libc/lib/elf.js +39 -0
- package/node_modules/detect-libc/lib/filesystem.js +51 -0
- package/node_modules/detect-libc/lib/process.js +24 -0
- package/node_modules/detect-libc/package.json +44 -0
- package/node_modules/semver/LICENSE +15 -0
- package/node_modules/semver/README.md +680 -0
- package/node_modules/semver/bin/semver.js +195 -0
- package/node_modules/semver/classes/comparator.js +143 -0
- package/node_modules/semver/classes/index.js +7 -0
- package/node_modules/semver/classes/range.js +577 -0
- package/node_modules/semver/classes/semver.js +350 -0
- package/node_modules/semver/functions/clean.js +8 -0
- package/node_modules/semver/functions/cmp.js +54 -0
- package/node_modules/semver/functions/coerce.js +62 -0
- package/node_modules/semver/functions/compare-build.js +9 -0
- package/node_modules/semver/functions/compare-loose.js +5 -0
- package/node_modules/semver/functions/compare.js +7 -0
- package/node_modules/semver/functions/diff.js +60 -0
- package/node_modules/semver/functions/eq.js +5 -0
- package/node_modules/semver/functions/gt.js +5 -0
- package/node_modules/semver/functions/gte.js +5 -0
- package/node_modules/semver/functions/inc.js +21 -0
- package/node_modules/semver/functions/lt.js +5 -0
- package/node_modules/semver/functions/lte.js +5 -0
- package/node_modules/semver/functions/major.js +5 -0
- package/node_modules/semver/functions/minor.js +5 -0
- package/node_modules/semver/functions/neq.js +5 -0
- package/node_modules/semver/functions/parse.js +18 -0
- package/node_modules/semver/functions/patch.js +5 -0
- package/node_modules/semver/functions/prerelease.js +8 -0
- package/node_modules/semver/functions/rcompare.js +5 -0
- package/node_modules/semver/functions/rsort.js +5 -0
- package/node_modules/semver/functions/satisfies.js +12 -0
- package/node_modules/semver/functions/sort.js +5 -0
- package/node_modules/semver/functions/truncate.js +48 -0
- package/node_modules/semver/functions/valid.js +8 -0
- package/node_modules/semver/index.js +93 -0
- package/node_modules/semver/internal/constants.js +37 -0
- package/node_modules/semver/internal/debug.js +11 -0
- package/node_modules/semver/internal/identifiers.js +29 -0
- package/node_modules/semver/internal/lrucache.js +42 -0
- package/node_modules/semver/internal/parse-options.js +17 -0
- package/node_modules/semver/internal/re.js +223 -0
- package/node_modules/semver/package.json +78 -0
- package/node_modules/semver/preload.js +4 -0
- package/node_modules/semver/range.bnf +17 -0
- package/node_modules/semver/ranges/gtr.js +6 -0
- package/node_modules/semver/ranges/intersects.js +9 -0
- package/node_modules/semver/ranges/ltr.js +6 -0
- package/node_modules/semver/ranges/max-satisfying.js +27 -0
- package/node_modules/semver/ranges/min-satisfying.js +26 -0
- package/node_modules/semver/ranges/min-version.js +63 -0
- package/node_modules/semver/ranges/outside.js +82 -0
- package/node_modules/semver/ranges/simplify.js +49 -0
- package/node_modules/semver/ranges/subset.js +249 -0
- package/node_modules/semver/ranges/to-comparators.js +10 -0
- package/node_modules/semver/ranges/valid.js +13 -0
- package/node_modules/sharp/LICENSE +191 -0
- package/node_modules/sharp/README.md +112 -0
- package/node_modules/sharp/dist/channel.cjs +177 -0
- package/node_modules/sharp/dist/channel.mjs +177 -0
- package/node_modules/sharp/dist/colour.cjs +199 -0
- package/node_modules/sharp/dist/colour.mjs +199 -0
- package/node_modules/sharp/dist/composite.cjs +213 -0
- package/node_modules/sharp/dist/composite.mjs +213 -0
- package/node_modules/sharp/dist/constructor.cjs +511 -0
- package/node_modules/sharp/dist/constructor.mjs +511 -0
- package/node_modules/sharp/dist/index.cjs +25 -0
- package/node_modules/sharp/dist/index.d.cts +1999 -0
- package/node_modules/sharp/dist/index.d.mts +2046 -0
- package/node_modules/sharp/dist/index.mjs +25 -0
- package/node_modules/sharp/dist/input.cjs +814 -0
- package/node_modules/sharp/dist/input.mjs +814 -0
- package/node_modules/sharp/dist/is.cjs +143 -0
- package/node_modules/sharp/dist/is.mjs +143 -0
- package/node_modules/sharp/dist/libvips.cjs +212 -0
- package/node_modules/sharp/dist/libvips.mjs +212 -0
- package/node_modules/sharp/dist/operation.cjs +998 -0
- package/node_modules/sharp/dist/operation.mjs +998 -0
- package/node_modules/sharp/dist/output.cjs +1788 -0
- package/node_modules/sharp/dist/output.mjs +1788 -0
- package/node_modules/sharp/dist/resize.cjs +617 -0
- package/node_modules/sharp/dist/resize.mjs +617 -0
- package/node_modules/sharp/dist/sharp.cjs +174 -0
- package/node_modules/sharp/dist/sharp.mjs +174 -0
- package/node_modules/sharp/dist/utility.cjs +301 -0
- package/node_modules/sharp/dist/utility.mjs +301 -0
- package/node_modules/sharp/install/build.js +38 -0
- package/node_modules/sharp/lib/index.d.ts +1999 -0
- package/node_modules/sharp/package.json +227 -0
- package/node_modules/sharp/src/binding.gyp +303 -0
- package/node_modules/sharp/src/common.cc +1183 -0
- package/node_modules/sharp/src/common.h +421 -0
- package/node_modules/sharp/src/metadata.cc +404 -0
- package/node_modules/sharp/src/metadata.h +95 -0
- package/node_modules/sharp/src/operations.cc +516 -0
- package/node_modules/sharp/src/operations.h +137 -0
- package/node_modules/sharp/src/pipeline.cc +1948 -0
- package/node_modules/sharp/src/pipeline.h +422 -0
- package/node_modules/sharp/src/sharp.cc +43 -0
- package/node_modules/sharp/src/stats.cc +186 -0
- package/node_modules/sharp/src/stats.h +62 -0
- package/node_modules/sharp/src/utilities.cc +289 -0
- package/node_modules/sharp/src/utilities.h +22 -0
- package/node_modules/undici-types/LICENSE +21 -0
- package/node_modules/undici-types/README.md +6 -0
- package/node_modules/undici-types/agent.d.ts +32 -0
- package/node_modules/undici-types/api.d.ts +43 -0
- package/node_modules/undici-types/balanced-pool.d.ts +30 -0
- package/node_modules/undici-types/cache-interceptor.d.ts +173 -0
- package/node_modules/undici-types/cache.d.ts +36 -0
- package/node_modules/undici-types/client-stats.d.ts +15 -0
- package/node_modules/undici-types/client.d.ts +108 -0
- package/node_modules/undici-types/connector.d.ts +34 -0
- package/node_modules/undici-types/content-type.d.ts +21 -0
- package/node_modules/undici-types/cookies.d.ts +30 -0
- package/node_modules/undici-types/diagnostics-channel.d.ts +74 -0
- package/node_modules/undici-types/dispatcher.d.ts +276 -0
- package/node_modules/undici-types/env-http-proxy-agent.d.ts +22 -0
- package/node_modules/undici-types/errors.d.ts +161 -0
- package/node_modules/undici-types/eventsource.d.ts +66 -0
- package/node_modules/undici-types/fetch.d.ts +211 -0
- package/node_modules/undici-types/formdata.d.ts +108 -0
- package/node_modules/undici-types/global-dispatcher.d.ts +9 -0
- package/node_modules/undici-types/global-origin.d.ts +7 -0
- package/node_modules/undici-types/h2c-client.d.ts +73 -0
- package/node_modules/undici-types/handlers.d.ts +15 -0
- package/node_modules/undici-types/header.d.ts +160 -0
- package/node_modules/undici-types/index.d.ts +88 -0
- package/node_modules/undici-types/interceptors.d.ts +73 -0
- package/node_modules/undici-types/mock-agent.d.ts +68 -0
- package/node_modules/undici-types/mock-call-history.d.ts +111 -0
- package/node_modules/undici-types/mock-client.d.ts +27 -0
- package/node_modules/undici-types/mock-errors.d.ts +12 -0
- package/node_modules/undici-types/mock-interceptor.d.ts +94 -0
- package/node_modules/undici-types/mock-pool.d.ts +27 -0
- package/node_modules/undici-types/package.json +55 -0
- package/node_modules/undici-types/patch.d.ts +29 -0
- package/node_modules/undici-types/pool-stats.d.ts +19 -0
- package/node_modules/undici-types/pool.d.ts +41 -0
- package/node_modules/undici-types/proxy-agent.d.ts +29 -0
- package/node_modules/undici-types/readable.d.ts +68 -0
- package/node_modules/undici-types/retry-agent.d.ts +8 -0
- package/node_modules/undici-types/retry-handler.d.ts +125 -0
- package/node_modules/undici-types/round-robin-pool.d.ts +41 -0
- package/node_modules/undici-types/snapshot-agent.d.ts +109 -0
- package/node_modules/undici-types/util.d.ts +18 -0
- package/node_modules/undici-types/utility.d.ts +7 -0
- package/node_modules/undici-types/webidl.d.ts +341 -0
- package/node_modules/undici-types/websocket.d.ts +186 -0
- package/package.json +23 -1
- package/product-web/assets/{index-CSGf6Qzd.css → index-C0u-TtQQ.css} +1 -1
- package/product-web/assets/index-CHKZdZNt.js +112 -0
- package/product-web/assets/index-CHKZdZNt.js.map +1 -0
- package/product-web/assets/langs/{php-DY2VakOf.js → php-9bx0az3O.js} +2 -2
- package/product-web/assets/langs/{php-DY2VakOf.js.map → php-9bx0az3O.js.map} +1 -1
- package/product-web/assets/langs/{ruby-hwtoiFmS.js → ruby-HDLHRjSL.js} +2 -2
- package/product-web/assets/langs/{ruby-hwtoiFmS.js.map → ruby-HDLHRjSL.js.map} +1 -1
- package/product-web/assets/{vendor-CldRVjca.js → vendor-CeMKrCZm.js} +36 -35
- package/product-web/assets/vendor-CeMKrCZm.js.map +1 -0
- package/product-web/boot.json +20 -1
- package/product-web/index.html +3 -3
- package/product-web/plugins/@xrkseek/client-modules/client.js +83 -12
- package/product-web/plugins/@xrkseek/client-runtime/client.js +1 -37
- package/product-web/plugins/@xrkseek/client-ui-agent-preset/client.js +39 -39
- package/product-web/plugins/@xrkseek/client-ui-attachment/client.js +782 -0
- package/product-web/plugins/@xrkseek/client-ui-commands/client.js +7 -7
- package/product-web/plugins/@xrkseek/client-ui-conversation/client.js +965 -561
- package/product-web/plugins/@xrkseek/client-ui-deliverables/client.js +4 -4
- package/product-web/plugins/@xrkseek/client-ui-directory-picker-browse/client.js +24 -24
- package/product-web/plugins/@xrkseek/client-ui-goal/client.js +8 -8
- package/product-web/plugins/@xrkseek/client-ui-input-trigger/client.js +83 -27
- package/product-web/plugins/@xrkseek/client-ui-jobs/client.js +9 -9
- package/product-web/plugins/@xrkseek/client-ui-layout/client.js +3 -3
- package/product-web/plugins/@xrkseek/client-ui-message-feedback/client.js +4 -4
- package/product-web/plugins/@xrkseek/client-ui-model-selection/client.js +15 -15
- package/product-web/plugins/@xrkseek/client-ui-permission-presets/client.js +2 -2
- package/product-web/plugins/@xrkseek/client-ui-plan/client.js +3 -3
- package/product-web/plugins/@xrkseek/client-ui-reference/client.js +148 -0
- package/product-web/plugins/@xrkseek/client-ui-settings-general/client.js +13 -13
- package/product-web/plugins/@xrkseek/client-ui-settings-models/client.js +56 -56
- package/product-web/plugins/@xrkseek/client-ui-settings-plugin-inventory/client.js +12 -12
- package/product-web/plugins/@xrkseek/client-ui-settings-plugins/client.js +43 -43
- package/product-web/plugins/@xrkseek/client-ui-sidebar/client.js +14 -14
- package/product-web/plugins/@xrkseek/client-ui-skill/client.js +11 -11
- package/product-web/plugins/@xrkseek/client-ui-subagent/client.js +289 -157
- package/product-web/plugins/@xrkseek/client-ui-theme/client.js +4 -4
- package/product-web/plugins/@xrkseek/client-ui-tool/client.js +33 -33
- package/product-web/plugins/@xrkseek/client-ui-trajectory/client.js +144 -165
- package/product-web/plugins/@xrkseek/client-ui-user-questions/client.js +26 -26
- package/product-web/plugins/@xrkseek/client-ui-workflow-run/client.js +15 -15
- package/product-web/plugins/@xrkseek/client-ui-workspace/client.js +54 -54
- package/product-web/plugins/@xrkseek/xrk-api-remotes/client.js +20 -1
- package/product-web/assets/index-CcF0Sxxg.js +0 -297
- package/product-web/assets/index-CcF0Sxxg.js.map +0 -1
- package/product-web/assets/vendor-CldRVjca.js.map +0 -1
|
@@ -0,0 +1,998 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
Copyright 2013 Lovell Fuller and others.
|
|
3
|
+
SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import is from './is.mjs';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* How accurate an operation should be.
|
|
10
|
+
* @member
|
|
11
|
+
* @private
|
|
12
|
+
*/
|
|
13
|
+
const vipsPrecision = {
|
|
14
|
+
integer: 'integer',
|
|
15
|
+
float: 'float',
|
|
16
|
+
approximate: 'approximate'
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Rotate the output image.
|
|
21
|
+
*
|
|
22
|
+
* The provided angle is converted to a valid positive degree rotation.
|
|
23
|
+
* For example, `-450` will produce a 270 degree rotation.
|
|
24
|
+
*
|
|
25
|
+
* When rotating by an angle other than a multiple of 90,
|
|
26
|
+
* the background colour can be provided with the `background` option.
|
|
27
|
+
*
|
|
28
|
+
* For backwards compatibility, if no angle is provided, `.autoOrient()` will be called.
|
|
29
|
+
*
|
|
30
|
+
* Only one rotation can occur per pipeline (aside from an initial call without
|
|
31
|
+
* arguments to orient via EXIF data). Previous calls to `rotate` in the same
|
|
32
|
+
* pipeline will be ignored.
|
|
33
|
+
*
|
|
34
|
+
* Multi-page images can only be rotated by 180 degrees.
|
|
35
|
+
*
|
|
36
|
+
* Method order is important when rotating, resizing and/or extracting regions,
|
|
37
|
+
* for example `.rotate(x).extract(y)` will produce a different result to `.extract(y).rotate(x)`.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* const rotateThenResize = await sharp(input)
|
|
41
|
+
* .rotate(90)
|
|
42
|
+
* .resize({ width: 16, height: 8, fit: 'fill' })
|
|
43
|
+
* .toBuffer();
|
|
44
|
+
* const resizeThenRotate = await sharp(input)
|
|
45
|
+
* .resize({ width: 16, height: 8, fit: 'fill' })
|
|
46
|
+
* .rotate(90)
|
|
47
|
+
* .toBuffer();
|
|
48
|
+
*
|
|
49
|
+
* @param {number} [angle=auto] angle of rotation.
|
|
50
|
+
* @param {Object} [options] - if present, is an Object with optional attributes.
|
|
51
|
+
* @param {string|Object} [options.background="#000000"] parsed by the [color](https://www.npmjs.org/package/color) module to extract values for red, green, blue and alpha.
|
|
52
|
+
* @returns {Sharp}
|
|
53
|
+
* @throws {Error} Invalid parameters
|
|
54
|
+
*/
|
|
55
|
+
function rotate (angle, options) {
|
|
56
|
+
if (!is.defined(angle)) {
|
|
57
|
+
return this.autoOrient();
|
|
58
|
+
}
|
|
59
|
+
if (this.options.angle || this.options.rotationAngle) {
|
|
60
|
+
this.options.debuglog('ignoring previous rotate options');
|
|
61
|
+
this.options.angle = 0;
|
|
62
|
+
this.options.rotationAngle = 0;
|
|
63
|
+
}
|
|
64
|
+
if (is.integer(angle) && !(angle % 90)) {
|
|
65
|
+
this.options.angle = angle;
|
|
66
|
+
} else if (is.number(angle)) {
|
|
67
|
+
this.options.rotationAngle = angle;
|
|
68
|
+
if (is.object(options) && options.background) {
|
|
69
|
+
this._setBackgroundColourOption('rotationBackground', options.background);
|
|
70
|
+
}
|
|
71
|
+
} else {
|
|
72
|
+
throw is.invalidParameterError('angle', 'numeric', angle);
|
|
73
|
+
}
|
|
74
|
+
return this;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Auto-orient based on the EXIF `Orientation` tag, then remove the tag.
|
|
79
|
+
* Mirroring is supported and may infer the use of a flip operation.
|
|
80
|
+
*
|
|
81
|
+
* Previous or subsequent use of `rotate(angle)` and either `flip()` or `flop()`
|
|
82
|
+
* will logically occur after auto-orientation, regardless of call order.
|
|
83
|
+
*
|
|
84
|
+
* @example
|
|
85
|
+
* const output = await sharp(input).autoOrient().toBuffer();
|
|
86
|
+
*
|
|
87
|
+
* @example
|
|
88
|
+
* const pipeline = sharp()
|
|
89
|
+
* .autoOrient()
|
|
90
|
+
* .resize(null, 200)
|
|
91
|
+
* .toBuffer(function (err, outputBuffer, info) {
|
|
92
|
+
* // outputBuffer contains 200px high JPEG image data,
|
|
93
|
+
* // auto-oriented using EXIF Orientation tag
|
|
94
|
+
* // info.width and info.height contain the dimensions of the resized image
|
|
95
|
+
* });
|
|
96
|
+
* readableStream.pipe(pipeline);
|
|
97
|
+
*
|
|
98
|
+
* @returns {Sharp}
|
|
99
|
+
*/
|
|
100
|
+
function autoOrient () {
|
|
101
|
+
this.options.input.autoOrient = true;
|
|
102
|
+
return this;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Mirror the image vertically (up-down) about the x-axis.
|
|
107
|
+
* This always occurs before rotation, if any.
|
|
108
|
+
*
|
|
109
|
+
* This operation does not work correctly with multi-page images.
|
|
110
|
+
*
|
|
111
|
+
* @example
|
|
112
|
+
* const output = await sharp(input).flip().toBuffer();
|
|
113
|
+
*
|
|
114
|
+
* @param {Boolean} [flip=true]
|
|
115
|
+
* @returns {Sharp}
|
|
116
|
+
*/
|
|
117
|
+
function flip (flip) {
|
|
118
|
+
this.options.flip = is.bool(flip) ? flip : true;
|
|
119
|
+
return this;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* Mirror the image horizontally (left-right) about the y-axis.
|
|
124
|
+
* This always occurs before rotation, if any.
|
|
125
|
+
*
|
|
126
|
+
* @example
|
|
127
|
+
* const output = await sharp(input).flop().toBuffer();
|
|
128
|
+
*
|
|
129
|
+
* @param {Boolean} [flop=true]
|
|
130
|
+
* @returns {Sharp}
|
|
131
|
+
*/
|
|
132
|
+
function flop (flop) {
|
|
133
|
+
this.options.flop = is.bool(flop) ? flop : true;
|
|
134
|
+
return this;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Perform an affine transform on an image. This operation will always occur after resizing, extraction and rotation, if any.
|
|
139
|
+
*
|
|
140
|
+
* You must provide an array of length 4 or a 2x2 affine transformation matrix.
|
|
141
|
+
* By default, new pixels are filled with a black background. You can provide a background colour with the `background` option.
|
|
142
|
+
* A particular interpolator may also be specified. Set the `interpolator` option to an attribute of the `sharp.interpolators` Object e.g. `sharp.interpolators.nohalo`.
|
|
143
|
+
*
|
|
144
|
+
* In the case of a 2x2 matrix, the transform is:
|
|
145
|
+
* - X = `matrix[0, 0]` \* (x + `idx`) + `matrix[0, 1]` \* (y + `idy`) + `odx`
|
|
146
|
+
* - Y = `matrix[1, 0]` \* (x + `idx`) + `matrix[1, 1]` \* (y + `idy`) + `ody`
|
|
147
|
+
*
|
|
148
|
+
* where:
|
|
149
|
+
* - x and y are the coordinates in input image.
|
|
150
|
+
* - X and Y are the coordinates in output image.
|
|
151
|
+
* - (0,0) is the upper left corner.
|
|
152
|
+
*
|
|
153
|
+
* @since 0.27.0
|
|
154
|
+
*
|
|
155
|
+
* @example
|
|
156
|
+
* const pipeline = sharp()
|
|
157
|
+
* .affine([[1, 0.3], [0.1, 0.7]], {
|
|
158
|
+
* background: 'white',
|
|
159
|
+
* interpolator: sharp.interpolators.nohalo
|
|
160
|
+
* })
|
|
161
|
+
* .toBuffer((err, outputBuffer, info) => {
|
|
162
|
+
* // outputBuffer contains the transformed image
|
|
163
|
+
* // info.width and info.height contain the new dimensions
|
|
164
|
+
* });
|
|
165
|
+
*
|
|
166
|
+
* inputStream
|
|
167
|
+
* .pipe(pipeline);
|
|
168
|
+
*
|
|
169
|
+
* @param {Array<Array<number>>|Array<number>} matrix - affine transformation matrix
|
|
170
|
+
* @param {Object} [options] - if present, is an Object with optional attributes.
|
|
171
|
+
* @param {String|Object} [options.background="#000000"] - parsed by the [color](https://www.npmjs.org/package/color) module to extract values for red, green, blue and alpha.
|
|
172
|
+
* @param {Number} [options.idx=0] - input horizontal offset
|
|
173
|
+
* @param {Number} [options.idy=0] - input vertical offset
|
|
174
|
+
* @param {Number} [options.odx=0] - output horizontal offset
|
|
175
|
+
* @param {Number} [options.ody=0] - output vertical offset
|
|
176
|
+
* @param {String} [options.interpolator=sharp.interpolators.bicubic] - interpolator
|
|
177
|
+
* @returns {Sharp}
|
|
178
|
+
* @throws {Error} Invalid parameters
|
|
179
|
+
*/
|
|
180
|
+
function affine (matrix, options) {
|
|
181
|
+
const isValidShape = Array.isArray(matrix) && (
|
|
182
|
+
// 1x4 array of numbers
|
|
183
|
+
(matrix.length === 4 && matrix.every(is.number)) ||
|
|
184
|
+
// 2x2 array of arrays of numbers
|
|
185
|
+
(matrix.length === 2 && matrix.every((row) => Array.isArray(row) && row.length === 2))
|
|
186
|
+
);
|
|
187
|
+
const flatMatrix = isValidShape ? matrix.flat() : [];
|
|
188
|
+
if (flatMatrix.length === 4 && flatMatrix.every(is.number)) {
|
|
189
|
+
this.options.affineMatrix = flatMatrix;
|
|
190
|
+
} else {
|
|
191
|
+
throw is.invalidParameterError('matrix', '1x4 or 2x2 array', matrix);
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
if (is.defined(options)) {
|
|
195
|
+
if (is.object(options)) {
|
|
196
|
+
this._setBackgroundColourOption('affineBackground', options.background);
|
|
197
|
+
if (is.defined(options.idx)) {
|
|
198
|
+
if (is.number(options.idx)) {
|
|
199
|
+
this.options.affineIdx = options.idx;
|
|
200
|
+
} else {
|
|
201
|
+
throw is.invalidParameterError('options.idx', 'number', options.idx);
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
if (is.defined(options.idy)) {
|
|
205
|
+
if (is.number(options.idy)) {
|
|
206
|
+
this.options.affineIdy = options.idy;
|
|
207
|
+
} else {
|
|
208
|
+
throw is.invalidParameterError('options.idy', 'number', options.idy);
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
if (is.defined(options.odx)) {
|
|
212
|
+
if (is.number(options.odx)) {
|
|
213
|
+
this.options.affineOdx = options.odx;
|
|
214
|
+
} else {
|
|
215
|
+
throw is.invalidParameterError('options.odx', 'number', options.odx);
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
if (is.defined(options.ody)) {
|
|
219
|
+
if (is.number(options.ody)) {
|
|
220
|
+
this.options.affineOdy = options.ody;
|
|
221
|
+
} else {
|
|
222
|
+
throw is.invalidParameterError('options.ody', 'number', options.ody);
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
if (is.defined(options.interpolator)) {
|
|
226
|
+
if (is.inArray(options.interpolator, Object.values(this.constructor.interpolators))) {
|
|
227
|
+
this.options.affineInterpolator = options.interpolator;
|
|
228
|
+
} else {
|
|
229
|
+
throw is.invalidParameterError('options.interpolator', 'valid interpolator name', options.interpolator);
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
} else {
|
|
233
|
+
throw is.invalidParameterError('options', 'object', options);
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
return this;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* Sharpen the image.
|
|
242
|
+
*
|
|
243
|
+
* When used without parameters, performs a fast, mild sharpen of the output image.
|
|
244
|
+
*
|
|
245
|
+
* When a `sigma` is provided, performs a slower, more accurate sharpen of the L channel in the LAB colour space.
|
|
246
|
+
* Fine-grained control over the level of sharpening in "flat" (m1) and "jagged" (m2) areas is available.
|
|
247
|
+
*
|
|
248
|
+
* See {@link https://www.libvips.org/API/current/method.Image.sharpen.html libvips sharpen} operation.
|
|
249
|
+
*
|
|
250
|
+
* @example
|
|
251
|
+
* const data = await sharp(input).sharpen().toBuffer();
|
|
252
|
+
*
|
|
253
|
+
* @example
|
|
254
|
+
* const data = await sharp(input).sharpen({ sigma: 2 }).toBuffer();
|
|
255
|
+
*
|
|
256
|
+
* @example
|
|
257
|
+
* const data = await sharp(input)
|
|
258
|
+
* .sharpen({
|
|
259
|
+
* sigma: 2,
|
|
260
|
+
* m1: 0,
|
|
261
|
+
* m2: 3,
|
|
262
|
+
* x1: 3,
|
|
263
|
+
* y2: 15,
|
|
264
|
+
* y3: 15,
|
|
265
|
+
* })
|
|
266
|
+
* .toBuffer();
|
|
267
|
+
*
|
|
268
|
+
* @param {Object} [options] - if present, is an Object with attributes
|
|
269
|
+
* @param {number} [options.sigma] - the sigma of the Gaussian mask, where `sigma = 1 + radius / 2`, between 0.000001 and 10
|
|
270
|
+
* @param {number} [options.m1=1.0] - the level of sharpening to apply to "flat" areas, between 0 and 1000000
|
|
271
|
+
* @param {number} [options.m2=2.0] - the level of sharpening to apply to "jagged" areas, between 0 and 1000000
|
|
272
|
+
* @param {number} [options.x1=2.0] - threshold between "flat" and "jagged", between 0 and 1000000
|
|
273
|
+
* @param {number} [options.y2=10.0] - maximum amount of brightening, between 0 and 1000000
|
|
274
|
+
* @param {number} [options.y3=20.0] - maximum amount of darkening, between 0 and 1000000
|
|
275
|
+
* @returns {Sharp}
|
|
276
|
+
* @throws {Error} Invalid parameters
|
|
277
|
+
*/
|
|
278
|
+
function sharpen (options) {
|
|
279
|
+
if (is.plainObject(options)) {
|
|
280
|
+
if (is.number(options.sigma) && is.inRange(options.sigma, 0.000001, 10)) {
|
|
281
|
+
this.options.sharpenSigma = options.sigma;
|
|
282
|
+
} else {
|
|
283
|
+
throw is.invalidParameterError('options.sigma', 'number between 0.000001 and 10', options.sigma);
|
|
284
|
+
}
|
|
285
|
+
if (is.defined(options.m1)) {
|
|
286
|
+
if (is.number(options.m1) && is.inRange(options.m1, 0, 1000000)) {
|
|
287
|
+
this.options.sharpenM1 = options.m1;
|
|
288
|
+
} else {
|
|
289
|
+
throw is.invalidParameterError('options.m1', 'number between 0 and 1000000', options.m1);
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
if (is.defined(options.m2)) {
|
|
293
|
+
if (is.number(options.m2) && is.inRange(options.m2, 0, 1000000)) {
|
|
294
|
+
this.options.sharpenM2 = options.m2;
|
|
295
|
+
} else {
|
|
296
|
+
throw is.invalidParameterError('options.m2', 'number between 0 and 1000000', options.m2);
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
if (is.defined(options.x1)) {
|
|
300
|
+
if (is.number(options.x1) && is.inRange(options.x1, 0, 1000000)) {
|
|
301
|
+
this.options.sharpenX1 = options.x1;
|
|
302
|
+
} else {
|
|
303
|
+
throw is.invalidParameterError('options.x1', 'number between 0 and 1000000', options.x1);
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
if (is.defined(options.y2)) {
|
|
307
|
+
if (is.number(options.y2) && is.inRange(options.y2, 0, 1000000)) {
|
|
308
|
+
this.options.sharpenY2 = options.y2;
|
|
309
|
+
} else {
|
|
310
|
+
throw is.invalidParameterError('options.y2', 'number between 0 and 1000000', options.y2);
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
if (is.defined(options.y3)) {
|
|
314
|
+
if (is.number(options.y3) && is.inRange(options.y3, 0, 1000000)) {
|
|
315
|
+
this.options.sharpenY3 = options.y3;
|
|
316
|
+
} else {
|
|
317
|
+
throw is.invalidParameterError('options.y3', 'number between 0 and 1000000', options.y3);
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
} else {
|
|
321
|
+
this.options.sharpenSigma = -1;
|
|
322
|
+
}
|
|
323
|
+
return this;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
/**
|
|
327
|
+
* Apply median filter.
|
|
328
|
+
* When used without parameters the default window is 3x3.
|
|
329
|
+
*
|
|
330
|
+
* @example
|
|
331
|
+
* const output = await sharp(input).median().toBuffer();
|
|
332
|
+
*
|
|
333
|
+
* @example
|
|
334
|
+
* const output = await sharp(input).median(5).toBuffer();
|
|
335
|
+
*
|
|
336
|
+
* @param {number} [size=3] square mask size: size x size
|
|
337
|
+
* @returns {Sharp}
|
|
338
|
+
* @throws {Error} Invalid parameters
|
|
339
|
+
*/
|
|
340
|
+
function median (size) {
|
|
341
|
+
if (!is.defined(size)) {
|
|
342
|
+
// No arguments: default to 3x3
|
|
343
|
+
this.options.medianSize = 3;
|
|
344
|
+
} else if (is.integer(size) && is.inRange(size, 1, 1000)) {
|
|
345
|
+
// Numeric argument: specific sigma
|
|
346
|
+
this.options.medianSize = size;
|
|
347
|
+
} else {
|
|
348
|
+
throw is.invalidParameterError('size', 'integer between 1 and 1000', size);
|
|
349
|
+
}
|
|
350
|
+
return this;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
/**
|
|
354
|
+
* Blur the image.
|
|
355
|
+
*
|
|
356
|
+
* When used without parameters, performs a fast 3x3 box blur (equivalent to a box linear filter).
|
|
357
|
+
*
|
|
358
|
+
* When a `sigma` is provided, performs a slower, more accurate Gaussian blur.
|
|
359
|
+
*
|
|
360
|
+
* @example
|
|
361
|
+
* const boxBlurred = await sharp(input)
|
|
362
|
+
* .blur()
|
|
363
|
+
* .toBuffer();
|
|
364
|
+
*
|
|
365
|
+
* @example
|
|
366
|
+
* const gaussianBlurred = await sharp(input)
|
|
367
|
+
* .blur(5)
|
|
368
|
+
* .toBuffer();
|
|
369
|
+
*
|
|
370
|
+
* @param {Object|number|Boolean} [options]
|
|
371
|
+
* @param {number} [options.sigma] a value between 0.3 and 1000 representing the sigma of the Gaussian mask, where `sigma = 1 + radius / 2`.
|
|
372
|
+
* @param {string} [options.precision='integer'] How accurate the operation should be, one of: integer, float, approximate.
|
|
373
|
+
* @param {number} [options.minAmplitude=0.2] A value between 0.001 and 1. A smaller value will generate a larger, more accurate mask.
|
|
374
|
+
* @returns {Sharp}
|
|
375
|
+
* @throws {Error} Invalid parameters
|
|
376
|
+
*/
|
|
377
|
+
function blur (options) {
|
|
378
|
+
let sigma;
|
|
379
|
+
if (is.number(options)) {
|
|
380
|
+
sigma = options;
|
|
381
|
+
} else if (is.plainObject(options)) {
|
|
382
|
+
if (!is.number(options.sigma)) {
|
|
383
|
+
throw is.invalidParameterError('options.sigma', 'number between 0.3 and 1000', sigma);
|
|
384
|
+
}
|
|
385
|
+
sigma = options.sigma;
|
|
386
|
+
if ('precision' in options) {
|
|
387
|
+
if (is.string(vipsPrecision[options.precision])) {
|
|
388
|
+
this.options.precision = vipsPrecision[options.precision];
|
|
389
|
+
} else {
|
|
390
|
+
throw is.invalidParameterError('precision', 'one of: integer, float, approximate', options.precision);
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
if ('minAmplitude' in options) {
|
|
394
|
+
if (is.number(options.minAmplitude) && is.inRange(options.minAmplitude, 0.001, 1)) {
|
|
395
|
+
this.options.minAmpl = options.minAmplitude;
|
|
396
|
+
} else {
|
|
397
|
+
throw is.invalidParameterError('minAmplitude', 'number between 0.001 and 1', options.minAmplitude);
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
if (!is.defined(options)) {
|
|
403
|
+
// No arguments: default to mild blur
|
|
404
|
+
this.options.blurSigma = -1;
|
|
405
|
+
} else if (is.bool(options)) {
|
|
406
|
+
// Boolean argument: apply mild blur?
|
|
407
|
+
this.options.blurSigma = options ? -1 : 0;
|
|
408
|
+
} else if (is.number(sigma) && is.inRange(sigma, 0.3, 1000)) {
|
|
409
|
+
// Numeric argument: specific sigma
|
|
410
|
+
this.options.blurSigma = sigma;
|
|
411
|
+
} else {
|
|
412
|
+
throw is.invalidParameterError('sigma', 'number between 0.3 and 1000', sigma);
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
return this;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
/**
|
|
419
|
+
* Expand foreground objects using the dilate morphological operator.
|
|
420
|
+
*
|
|
421
|
+
* @example
|
|
422
|
+
* const output = await sharp(input)
|
|
423
|
+
* .dilate()
|
|
424
|
+
* .toBuffer();
|
|
425
|
+
*
|
|
426
|
+
* @param {Number} [width=1] dilation width in pixels.
|
|
427
|
+
* @returns {Sharp}
|
|
428
|
+
* @throws {Error} Invalid parameters
|
|
429
|
+
*/
|
|
430
|
+
function dilate (width) {
|
|
431
|
+
if (!is.defined(width)) {
|
|
432
|
+
this.options.dilateWidth = 1;
|
|
433
|
+
} else if (is.integer(width) && is.inRange(width, 1, 65536)) {
|
|
434
|
+
this.options.dilateWidth = width;
|
|
435
|
+
} else {
|
|
436
|
+
throw is.invalidParameterError('width', 'integer between 1 and 65536', width);
|
|
437
|
+
}
|
|
438
|
+
return this;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
/**
|
|
442
|
+
* Shrink foreground objects using the erode morphological operator.
|
|
443
|
+
*
|
|
444
|
+
* @example
|
|
445
|
+
* const output = await sharp(input)
|
|
446
|
+
* .erode()
|
|
447
|
+
* .toBuffer();
|
|
448
|
+
*
|
|
449
|
+
* @param {Number} [width=1] erosion width in pixels.
|
|
450
|
+
* @returns {Sharp}
|
|
451
|
+
* @throws {Error} Invalid parameters
|
|
452
|
+
*/
|
|
453
|
+
function erode (width) {
|
|
454
|
+
if (!is.defined(width)) {
|
|
455
|
+
this.options.erodeWidth = 1;
|
|
456
|
+
} else if (is.integer(width) && is.inRange(width, 1, 65536)) {
|
|
457
|
+
this.options.erodeWidth = width;
|
|
458
|
+
} else {
|
|
459
|
+
throw is.invalidParameterError('width', 'integer between 1 and 65536', width);
|
|
460
|
+
}
|
|
461
|
+
return this;
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
/**
|
|
465
|
+
* Merge alpha transparency channel, if any, with a background, then remove the alpha channel.
|
|
466
|
+
*
|
|
467
|
+
* See also {@link /api-channel#removealpha removeAlpha}.
|
|
468
|
+
*
|
|
469
|
+
* @example
|
|
470
|
+
* await sharp(rgbaInput)
|
|
471
|
+
* .flatten({ background: '#F0A703' })
|
|
472
|
+
* .toBuffer();
|
|
473
|
+
*
|
|
474
|
+
* @param {Object} [options]
|
|
475
|
+
* @param {string|Object} [options.background={r: 0, g: 0, b: 0}] - background colour, parsed by the [color](https://www.npmjs.org/package/color) module, defaults to black.
|
|
476
|
+
* @returns {Sharp}
|
|
477
|
+
*/
|
|
478
|
+
function flatten (options) {
|
|
479
|
+
this.options.flatten = is.bool(options) ? options : true;
|
|
480
|
+
if (is.object(options)) {
|
|
481
|
+
this._setBackgroundColourOption('flattenBackground', options.background);
|
|
482
|
+
}
|
|
483
|
+
return this;
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
/**
|
|
487
|
+
* Ensure the image has an alpha channel
|
|
488
|
+
* with all white pixel values made fully transparent.
|
|
489
|
+
*
|
|
490
|
+
* Existing alpha channel values for non-white pixels remain unchanged.
|
|
491
|
+
*
|
|
492
|
+
* @since 0.32.1
|
|
493
|
+
*
|
|
494
|
+
* @example
|
|
495
|
+
* await sharp(rgbInput)
|
|
496
|
+
* .unflatten()
|
|
497
|
+
* .toBuffer();
|
|
498
|
+
*
|
|
499
|
+
* @example
|
|
500
|
+
* await sharp(rgbInput)
|
|
501
|
+
* .threshold(128, { grayscale: false }) // converter bright pixels to white
|
|
502
|
+
* .unflatten()
|
|
503
|
+
* .toBuffer();
|
|
504
|
+
*/
|
|
505
|
+
function unflatten () {
|
|
506
|
+
this.options.unflatten = true;
|
|
507
|
+
return this;
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
/**
|
|
511
|
+
* Apply a gamma correction by reducing the encoding (darken) pre-resize at a factor of `1/gamma`
|
|
512
|
+
* then increasing the encoding (brighten) post-resize at a factor of `gamma`.
|
|
513
|
+
* This can improve the perceived brightness of a resized image in non-linear colour spaces.
|
|
514
|
+
* JPEG and WebP input images will not take advantage of the shrink-on-load performance optimisation
|
|
515
|
+
* when applying a gamma correction.
|
|
516
|
+
*
|
|
517
|
+
* Supply a second argument to use a different output gamma value, otherwise the first value is used in both cases.
|
|
518
|
+
*
|
|
519
|
+
* @param {number} [gamma=2.2] value between 1.0 and 3.0.
|
|
520
|
+
* @param {number} [gammaOut] value between 1.0 and 3.0. (optional, defaults to same as `gamma`)
|
|
521
|
+
* @returns {Sharp}
|
|
522
|
+
* @throws {Error} Invalid parameters
|
|
523
|
+
*/
|
|
524
|
+
function gamma (gamma, gammaOut) {
|
|
525
|
+
if (!is.defined(gamma)) {
|
|
526
|
+
// Default gamma correction of 2.2 (sRGB)
|
|
527
|
+
this.options.gamma = 2.2;
|
|
528
|
+
} else if (is.number(gamma) && is.inRange(gamma, 1, 3)) {
|
|
529
|
+
this.options.gamma = gamma;
|
|
530
|
+
} else {
|
|
531
|
+
throw is.invalidParameterError('gamma', 'number between 1.0 and 3.0', gamma);
|
|
532
|
+
}
|
|
533
|
+
if (!is.defined(gammaOut)) {
|
|
534
|
+
// Default gamma correction for output is same as input
|
|
535
|
+
this.options.gammaOut = this.options.gamma;
|
|
536
|
+
} else if (is.number(gammaOut) && is.inRange(gammaOut, 1, 3)) {
|
|
537
|
+
this.options.gammaOut = gammaOut;
|
|
538
|
+
} else {
|
|
539
|
+
throw is.invalidParameterError('gammaOut', 'number between 1.0 and 3.0', gammaOut);
|
|
540
|
+
}
|
|
541
|
+
return this;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
/**
|
|
545
|
+
* Produce the "negative" of the image.
|
|
546
|
+
*
|
|
547
|
+
* @example
|
|
548
|
+
* const output = await sharp(input)
|
|
549
|
+
* .negate()
|
|
550
|
+
* .toBuffer();
|
|
551
|
+
*
|
|
552
|
+
* @example
|
|
553
|
+
* const output = await sharp(input)
|
|
554
|
+
* .negate({ alpha: false })
|
|
555
|
+
* .toBuffer();
|
|
556
|
+
*
|
|
557
|
+
* @param {Object} [options]
|
|
558
|
+
* @param {Boolean} [options.alpha=true] Whether or not to negate any alpha channel
|
|
559
|
+
* @returns {Sharp}
|
|
560
|
+
*/
|
|
561
|
+
function negate (options) {
|
|
562
|
+
this.options.negate = is.bool(options) ? options : true;
|
|
563
|
+
if (is.plainObject(options) && 'alpha' in options) {
|
|
564
|
+
if (!is.bool(options.alpha)) {
|
|
565
|
+
throw is.invalidParameterError('alpha', 'should be boolean value', options.alpha);
|
|
566
|
+
} else {
|
|
567
|
+
this.options.negateAlpha = options.alpha;
|
|
568
|
+
}
|
|
569
|
+
}
|
|
570
|
+
return this;
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
/**
|
|
574
|
+
* Enhance output image contrast by stretching its luminance to cover a full dynamic range.
|
|
575
|
+
*
|
|
576
|
+
* Uses a histogram-based approach, taking a default range of 1% to 99% to reduce sensitivity to noise at the extremes.
|
|
577
|
+
*
|
|
578
|
+
* Luminance values below the `lower` percentile will be underexposed by clipping to zero.
|
|
579
|
+
* Luminance values above the `upper` percentile will be overexposed by clipping to the max pixel value.
|
|
580
|
+
*
|
|
581
|
+
* @example
|
|
582
|
+
* const output = await sharp(input)
|
|
583
|
+
* .normalise()
|
|
584
|
+
* .toBuffer();
|
|
585
|
+
*
|
|
586
|
+
* @example
|
|
587
|
+
* const output = await sharp(input)
|
|
588
|
+
* .normalise({ lower: 0, upper: 100 })
|
|
589
|
+
* .toBuffer();
|
|
590
|
+
*
|
|
591
|
+
* @param {Object} [options]
|
|
592
|
+
* @param {number} [options.lower=1] - Percentile below which luminance values will be underexposed.
|
|
593
|
+
* @param {number} [options.upper=99] - Percentile above which luminance values will be overexposed.
|
|
594
|
+
* @returns {Sharp}
|
|
595
|
+
*/
|
|
596
|
+
function normalise (options) {
|
|
597
|
+
if (is.plainObject(options)) {
|
|
598
|
+
if (is.defined(options.lower)) {
|
|
599
|
+
if (is.number(options.lower) && is.inRange(options.lower, 0, 99)) {
|
|
600
|
+
this.options.normaliseLower = options.lower;
|
|
601
|
+
} else {
|
|
602
|
+
throw is.invalidParameterError('lower', 'number between 0 and 99', options.lower);
|
|
603
|
+
}
|
|
604
|
+
}
|
|
605
|
+
if (is.defined(options.upper)) {
|
|
606
|
+
if (is.number(options.upper) && is.inRange(options.upper, 1, 100)) {
|
|
607
|
+
this.options.normaliseUpper = options.upper;
|
|
608
|
+
} else {
|
|
609
|
+
throw is.invalidParameterError('upper', 'number between 1 and 100', options.upper);
|
|
610
|
+
}
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
if (this.options.normaliseLower >= this.options.normaliseUpper) {
|
|
614
|
+
throw is.invalidParameterError('range', 'lower to be less than upper',
|
|
615
|
+
`${this.options.normaliseLower} >= ${this.options.normaliseUpper}`);
|
|
616
|
+
}
|
|
617
|
+
this.options.normalise = true;
|
|
618
|
+
return this;
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
/**
|
|
622
|
+
* Alternative spelling of normalise.
|
|
623
|
+
*
|
|
624
|
+
* @example
|
|
625
|
+
* const output = await sharp(input)
|
|
626
|
+
* .normalize()
|
|
627
|
+
* .toBuffer();
|
|
628
|
+
*
|
|
629
|
+
* @param {Object} [options]
|
|
630
|
+
* @param {number} [options.lower=1] - Percentile below which luminance values will be underexposed.
|
|
631
|
+
* @param {number} [options.upper=99] - Percentile above which luminance values will be overexposed.
|
|
632
|
+
* @returns {Sharp}
|
|
633
|
+
*/
|
|
634
|
+
function normalize (options) {
|
|
635
|
+
return this.normalise(options);
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
/**
|
|
639
|
+
* Perform contrast limiting adaptive histogram equalization
|
|
640
|
+
* {@link https://en.wikipedia.org/wiki/Adaptive_histogram_equalization#Contrast_Limited_AHE CLAHE}.
|
|
641
|
+
*
|
|
642
|
+
* This will, in general, enhance the clarity of the image by bringing out darker details.
|
|
643
|
+
*
|
|
644
|
+
* @since 0.28.3
|
|
645
|
+
*
|
|
646
|
+
* @example
|
|
647
|
+
* const output = await sharp(input)
|
|
648
|
+
* .clahe({
|
|
649
|
+
* width: 3,
|
|
650
|
+
* height: 3,
|
|
651
|
+
* })
|
|
652
|
+
* .toBuffer();
|
|
653
|
+
*
|
|
654
|
+
* @param {Object} options
|
|
655
|
+
* @param {number} options.width - Integral width of the search window, in pixels, between 1 and 65536.
|
|
656
|
+
* @param {number} options.height - Integral height of the search window, in pixels, between 1 and 65536.
|
|
657
|
+
* @param {number} [options.maxSlope=3] - Integral level of brightening, between 0 and 100, where 0 disables contrast limiting.
|
|
658
|
+
* @returns {Sharp}
|
|
659
|
+
* @throws {Error} Invalid parameters
|
|
660
|
+
*/
|
|
661
|
+
function clahe (options) {
|
|
662
|
+
if (is.plainObject(options)) {
|
|
663
|
+
if (is.integer(options.width) && is.inRange(options.width, 1, 65536)) {
|
|
664
|
+
this.options.claheWidth = options.width;
|
|
665
|
+
} else {
|
|
666
|
+
throw is.invalidParameterError('width', 'integer between 1 and 65536', options.width);
|
|
667
|
+
}
|
|
668
|
+
if (is.integer(options.height) && is.inRange(options.height, 1, 65536)) {
|
|
669
|
+
this.options.claheHeight = options.height;
|
|
670
|
+
} else {
|
|
671
|
+
throw is.invalidParameterError('height', 'integer between 1 and 65536', options.height);
|
|
672
|
+
}
|
|
673
|
+
if (is.defined(options.maxSlope)) {
|
|
674
|
+
if (is.integer(options.maxSlope) && is.inRange(options.maxSlope, 0, 100)) {
|
|
675
|
+
this.options.claheMaxSlope = options.maxSlope;
|
|
676
|
+
} else {
|
|
677
|
+
throw is.invalidParameterError('maxSlope', 'integer between 0 and 100', options.maxSlope);
|
|
678
|
+
}
|
|
679
|
+
}
|
|
680
|
+
} else {
|
|
681
|
+
throw is.invalidParameterError('options', 'plain object', options);
|
|
682
|
+
}
|
|
683
|
+
return this;
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
/**
|
|
687
|
+
* Convolve the image with the specified kernel.
|
|
688
|
+
*
|
|
689
|
+
* @example
|
|
690
|
+
* sharp(input)
|
|
691
|
+
* .convolve({
|
|
692
|
+
* width: 3,
|
|
693
|
+
* height: 3,
|
|
694
|
+
* kernel: [-1, 0, 1, -2, 0, 2, -1, 0, 1]
|
|
695
|
+
* })
|
|
696
|
+
* .raw()
|
|
697
|
+
* .toBuffer(function(err, data, info) {
|
|
698
|
+
* // data contains the raw pixel data representing the convolution
|
|
699
|
+
* // of the input image with the horizontal Sobel operator
|
|
700
|
+
* });
|
|
701
|
+
*
|
|
702
|
+
* @param {Object} kernel
|
|
703
|
+
* @param {number} kernel.width - width of the kernel in pixels.
|
|
704
|
+
* @param {number} kernel.height - height of the kernel in pixels.
|
|
705
|
+
* @param {Array<number>} kernel.kernel - Array of length `width*height` containing the kernel values.
|
|
706
|
+
* @param {number} [kernel.scale=sum] - the scale of the kernel in pixels.
|
|
707
|
+
* @param {number} [kernel.offset=0] - the offset of the kernel in pixels.
|
|
708
|
+
* @returns {Sharp}
|
|
709
|
+
* @throws {Error} Invalid parameters
|
|
710
|
+
*/
|
|
711
|
+
function convolve (kernel) {
|
|
712
|
+
if (!is.object(kernel) || !Array.isArray(kernel.kernel) ||
|
|
713
|
+
!is.integer(kernel.width) || !is.integer(kernel.height) ||
|
|
714
|
+
!is.inRange(kernel.width, 3, 1001) || !is.inRange(kernel.height, 3, 1001) ||
|
|
715
|
+
kernel.height * kernel.width !== kernel.kernel.length ||
|
|
716
|
+
!kernel.kernel.every(is.number)
|
|
717
|
+
) {
|
|
718
|
+
// must pass in a kernel
|
|
719
|
+
throw new Error('Invalid convolution kernel');
|
|
720
|
+
}
|
|
721
|
+
// Default scale is sum of kernel values
|
|
722
|
+
if (!is.integer(kernel.scale)) {
|
|
723
|
+
kernel.scale = kernel.kernel.reduce((a, b) => a + b, 0);
|
|
724
|
+
}
|
|
725
|
+
// Clip scale to a minimum value of 1
|
|
726
|
+
if (kernel.scale < 1) {
|
|
727
|
+
kernel.scale = 1;
|
|
728
|
+
}
|
|
729
|
+
if (!is.integer(kernel.offset)) {
|
|
730
|
+
kernel.offset = 0;
|
|
731
|
+
}
|
|
732
|
+
this.options.convKernel = kernel;
|
|
733
|
+
return this;
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
/**
|
|
737
|
+
* Any pixel value greater than or equal to the threshold value will be set to 255, otherwise it will be set to 0.
|
|
738
|
+
* @param {number} [threshold=128] - a value in the range 0-255 representing the level at which the threshold will be applied.
|
|
739
|
+
* @param {Object} [options]
|
|
740
|
+
* @param {Boolean} [options.greyscale=true] - convert to single channel greyscale.
|
|
741
|
+
* @param {Boolean} [options.grayscale=true] - alternative spelling for greyscale.
|
|
742
|
+
* @returns {Sharp}
|
|
743
|
+
* @throws {Error} Invalid parameters
|
|
744
|
+
*/
|
|
745
|
+
function threshold (threshold, options) {
|
|
746
|
+
if (!is.defined(threshold)) {
|
|
747
|
+
this.options.threshold = 128;
|
|
748
|
+
} else if (is.bool(threshold)) {
|
|
749
|
+
this.options.threshold = threshold ? 128 : 0;
|
|
750
|
+
} else if (is.integer(threshold) && is.inRange(threshold, 0, 255)) {
|
|
751
|
+
this.options.threshold = threshold;
|
|
752
|
+
} else {
|
|
753
|
+
throw is.invalidParameterError('threshold', 'integer between 0 and 255', threshold);
|
|
754
|
+
}
|
|
755
|
+
if (!is.object(options) || options.greyscale === true || options.grayscale === true) {
|
|
756
|
+
this.options.thresholdGrayscale = true;
|
|
757
|
+
} else {
|
|
758
|
+
this.options.thresholdGrayscale = false;
|
|
759
|
+
}
|
|
760
|
+
return this;
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
/**
|
|
764
|
+
* Perform a bitwise boolean operation with operand image.
|
|
765
|
+
*
|
|
766
|
+
* This operation creates an output image where each pixel is the result of
|
|
767
|
+
* the selected bitwise boolean `operation` between the corresponding pixels of the input images.
|
|
768
|
+
*
|
|
769
|
+
* @param {Buffer|string} operand - Buffer containing image data or string containing the path to an image file.
|
|
770
|
+
* @param {string} operator - one of `and`, `or` or `eor` to perform that bitwise operation, like the C logic operators `&`, `|` and `^` respectively.
|
|
771
|
+
* @param {Object} [options]
|
|
772
|
+
* @param {Object} [options.raw] - describes operand when using raw pixel data.
|
|
773
|
+
* @param {number} [options.raw.width]
|
|
774
|
+
* @param {number} [options.raw.height]
|
|
775
|
+
* @param {number} [options.raw.channels]
|
|
776
|
+
* @returns {Sharp}
|
|
777
|
+
* @throws {Error} Invalid parameters
|
|
778
|
+
*/
|
|
779
|
+
function boolean (operand, operator, options) {
|
|
780
|
+
this.options.boolean = this._createInputDescriptor(operand, options);
|
|
781
|
+
if (is.string(operator) && is.inArray(operator, ['and', 'or', 'eor'])) {
|
|
782
|
+
this.options.booleanOp = operator;
|
|
783
|
+
} else {
|
|
784
|
+
throw is.invalidParameterError('operator', 'one of: and, or, eor', operator);
|
|
785
|
+
}
|
|
786
|
+
return this;
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
/**
|
|
790
|
+
* Apply the linear formula `a` * input + `b` to the image to adjust image levels.
|
|
791
|
+
*
|
|
792
|
+
* When a single number is provided, it will be used for all image channels.
|
|
793
|
+
* When an array of numbers is provided, the array length must match the number of channels.
|
|
794
|
+
*
|
|
795
|
+
* @example
|
|
796
|
+
* await sharp(input)
|
|
797
|
+
* .linear(0.5, 2)
|
|
798
|
+
* .toBuffer();
|
|
799
|
+
*
|
|
800
|
+
* @example
|
|
801
|
+
* await sharp(rgbInput)
|
|
802
|
+
* .linear(
|
|
803
|
+
* [0.25, 0.5, 0.75],
|
|
804
|
+
* [150, 100, 50]
|
|
805
|
+
* )
|
|
806
|
+
* .toBuffer();
|
|
807
|
+
*
|
|
808
|
+
* @param {(number|number[])} [a=[]] multiplier
|
|
809
|
+
* @param {(number|number[])} [b=[]] offset
|
|
810
|
+
* @returns {Sharp}
|
|
811
|
+
* @throws {Error} Invalid parameters
|
|
812
|
+
*/
|
|
813
|
+
function linear (a, b) {
|
|
814
|
+
if (!is.defined(a) && is.number(b)) {
|
|
815
|
+
a = 1.0;
|
|
816
|
+
} else if (is.number(a) && !is.defined(b)) {
|
|
817
|
+
b = 0.0;
|
|
818
|
+
}
|
|
819
|
+
if (!is.defined(a)) {
|
|
820
|
+
this.options.linearA = [];
|
|
821
|
+
} else if (is.number(a)) {
|
|
822
|
+
this.options.linearA = [a];
|
|
823
|
+
} else if (Array.isArray(a) && a.length && a.every(is.number)) {
|
|
824
|
+
this.options.linearA = a;
|
|
825
|
+
} else {
|
|
826
|
+
throw is.invalidParameterError('a', 'number or array of numbers', a);
|
|
827
|
+
}
|
|
828
|
+
if (!is.defined(b)) {
|
|
829
|
+
this.options.linearB = [];
|
|
830
|
+
} else if (is.number(b)) {
|
|
831
|
+
this.options.linearB = [b];
|
|
832
|
+
} else if (Array.isArray(b) && b.length && b.every(is.number)) {
|
|
833
|
+
this.options.linearB = b;
|
|
834
|
+
} else {
|
|
835
|
+
throw is.invalidParameterError('b', 'number or array of numbers', b);
|
|
836
|
+
}
|
|
837
|
+
if (this.options.linearA.length !== this.options.linearB.length) {
|
|
838
|
+
throw new Error('Expected a and b to be arrays of the same length');
|
|
839
|
+
}
|
|
840
|
+
return this;
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
/**
|
|
844
|
+
* Recombine the image with the specified matrix.
|
|
845
|
+
*
|
|
846
|
+
* @since 0.21.1
|
|
847
|
+
*
|
|
848
|
+
* @example
|
|
849
|
+
* sharp(input)
|
|
850
|
+
* .recomb([
|
|
851
|
+
* [0.3588, 0.7044, 0.1368],
|
|
852
|
+
* [0.2990, 0.5870, 0.1140],
|
|
853
|
+
* [0.2392, 0.4696, 0.0912],
|
|
854
|
+
* ])
|
|
855
|
+
* .raw()
|
|
856
|
+
* .toBuffer(function(err, data, info) {
|
|
857
|
+
* // data contains the raw pixel data after applying the matrix
|
|
858
|
+
* // With this example input, a sepia filter has been applied
|
|
859
|
+
* });
|
|
860
|
+
*
|
|
861
|
+
* @param {Array<Array<number>>} inputMatrix - 3x3 or 4x4 Recombination matrix
|
|
862
|
+
* @returns {Sharp}
|
|
863
|
+
* @throws {Error} Invalid parameters
|
|
864
|
+
*/
|
|
865
|
+
function recomb (inputMatrix) {
|
|
866
|
+
if (!Array.isArray(inputMatrix)) {
|
|
867
|
+
throw is.invalidParameterError('inputMatrix', 'array', inputMatrix);
|
|
868
|
+
}
|
|
869
|
+
const dimensions = inputMatrix.length;
|
|
870
|
+
if (dimensions !== 3 && dimensions !== 4) {
|
|
871
|
+
throw is.invalidParameterError('inputMatrix', '3x3 or 4x4 array', dimensions);
|
|
872
|
+
}
|
|
873
|
+
if (!inputMatrix.every((row) => Array.isArray(row) && row.length === dimensions)) {
|
|
874
|
+
throw is.invalidParameterError('inputMatrix', `array of ${dimensions} arrays of length ${dimensions}`, inputMatrix);
|
|
875
|
+
}
|
|
876
|
+
const recombMatrix = inputMatrix.flat();
|
|
877
|
+
if (!recombMatrix.every(is.number)) {
|
|
878
|
+
throw is.invalidParameterError('inputMatrix', 'array of numbers', recombMatrix);
|
|
879
|
+
}
|
|
880
|
+
this.options.recombMatrix = recombMatrix;
|
|
881
|
+
return this;
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
/**
|
|
885
|
+
* Transforms the image using brightness, saturation, hue rotation, and lightness.
|
|
886
|
+
* Brightness and lightness both operate on luminance, with the difference being that
|
|
887
|
+
* brightness is multiplicative whereas lightness is additive.
|
|
888
|
+
*
|
|
889
|
+
* @since 0.22.1
|
|
890
|
+
*
|
|
891
|
+
* @example
|
|
892
|
+
* // increase brightness by a factor of 2
|
|
893
|
+
* const output = await sharp(input)
|
|
894
|
+
* .modulate({
|
|
895
|
+
* brightness: 2
|
|
896
|
+
* })
|
|
897
|
+
* .toBuffer();
|
|
898
|
+
*
|
|
899
|
+
* @example
|
|
900
|
+
* // hue-rotate by 180 degrees
|
|
901
|
+
* const output = await sharp(input)
|
|
902
|
+
* .modulate({
|
|
903
|
+
* hue: 180
|
|
904
|
+
* })
|
|
905
|
+
* .toBuffer();
|
|
906
|
+
*
|
|
907
|
+
* @example
|
|
908
|
+
* // increase lightness by +50
|
|
909
|
+
* const output = await sharp(input)
|
|
910
|
+
* .modulate({
|
|
911
|
+
* lightness: 50
|
|
912
|
+
* })
|
|
913
|
+
* .toBuffer();
|
|
914
|
+
*
|
|
915
|
+
* @example
|
|
916
|
+
* // decrease brightness and saturation while also hue-rotating by 90 degrees
|
|
917
|
+
* const output = await sharp(input)
|
|
918
|
+
* .modulate({
|
|
919
|
+
* brightness: 0.5,
|
|
920
|
+
* saturation: 0.5,
|
|
921
|
+
* hue: 90,
|
|
922
|
+
* })
|
|
923
|
+
* .toBuffer();
|
|
924
|
+
*
|
|
925
|
+
* @param {Object} [options]
|
|
926
|
+
* @param {number} [options.brightness] Brightness multiplier
|
|
927
|
+
* @param {number} [options.saturation] Saturation multiplier
|
|
928
|
+
* @param {number} [options.hue] Degrees for hue rotation
|
|
929
|
+
* @param {number} [options.lightness] Lightness addend
|
|
930
|
+
* @returns {Sharp}
|
|
931
|
+
*/
|
|
932
|
+
function modulate (options) {
|
|
933
|
+
if (!is.plainObject(options)) {
|
|
934
|
+
throw is.invalidParameterError('options', 'plain object', options);
|
|
935
|
+
}
|
|
936
|
+
if ('brightness' in options) {
|
|
937
|
+
if (is.number(options.brightness) && options.brightness >= 0) {
|
|
938
|
+
this.options.brightness = options.brightness;
|
|
939
|
+
} else {
|
|
940
|
+
throw is.invalidParameterError('brightness', 'number above zero', options.brightness);
|
|
941
|
+
}
|
|
942
|
+
}
|
|
943
|
+
if ('saturation' in options) {
|
|
944
|
+
if (is.number(options.saturation) && options.saturation >= 0) {
|
|
945
|
+
this.options.saturation = options.saturation;
|
|
946
|
+
} else {
|
|
947
|
+
throw is.invalidParameterError('saturation', 'number above zero', options.saturation);
|
|
948
|
+
}
|
|
949
|
+
}
|
|
950
|
+
if ('hue' in options) {
|
|
951
|
+
if (is.integer(options.hue)) {
|
|
952
|
+
this.options.hue = options.hue % 360;
|
|
953
|
+
} else {
|
|
954
|
+
throw is.invalidParameterError('hue', 'number', options.hue);
|
|
955
|
+
}
|
|
956
|
+
}
|
|
957
|
+
if ('lightness' in options) {
|
|
958
|
+
if (is.number(options.lightness)) {
|
|
959
|
+
this.options.lightness = options.lightness;
|
|
960
|
+
} else {
|
|
961
|
+
throw is.invalidParameterError('lightness', 'number', options.lightness);
|
|
962
|
+
}
|
|
963
|
+
}
|
|
964
|
+
return this;
|
|
965
|
+
}
|
|
966
|
+
|
|
967
|
+
/**
|
|
968
|
+
* Decorate the Sharp prototype with operation-related functions.
|
|
969
|
+
* @module Sharp
|
|
970
|
+
* @private
|
|
971
|
+
*/
|
|
972
|
+
export default (Sharp) => {
|
|
973
|
+
Object.assign(Sharp.prototype, {
|
|
974
|
+
autoOrient,
|
|
975
|
+
rotate,
|
|
976
|
+
flip,
|
|
977
|
+
flop,
|
|
978
|
+
affine,
|
|
979
|
+
sharpen,
|
|
980
|
+
erode,
|
|
981
|
+
dilate,
|
|
982
|
+
median,
|
|
983
|
+
blur,
|
|
984
|
+
flatten,
|
|
985
|
+
unflatten,
|
|
986
|
+
gamma,
|
|
987
|
+
negate,
|
|
988
|
+
normalise,
|
|
989
|
+
normalize,
|
|
990
|
+
clahe,
|
|
991
|
+
convolve,
|
|
992
|
+
threshold,
|
|
993
|
+
boolean,
|
|
994
|
+
linear,
|
|
995
|
+
recomb,
|
|
996
|
+
modulate
|
|
997
|
+
});
|
|
998
|
+
};
|