effect 4.0.7 → 4.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/README.md +1 -1
- package/dist/BigDecimal.d.ts.map +1 -1
- package/dist/BigDecimal.js +3 -0
- package/dist/BigDecimal.js.map +1 -1
- package/dist/Channel.d.ts +12 -6
- package/dist/Channel.d.ts.map +1 -1
- package/dist/Channel.js +9 -3
- package/dist/Channel.js.map +1 -1
- package/dist/Config.d.ts +7 -1
- package/dist/Config.d.ts.map +1 -1
- package/dist/Config.js.map +1 -1
- package/dist/Context.d.ts +18 -1
- package/dist/Context.d.ts.map +1 -1
- package/dist/Context.js +27 -8
- package/dist/Context.js.map +1 -1
- package/dist/Cron.d.ts +81 -11
- package/dist/Cron.d.ts.map +1 -1
- package/dist/Cron.js +101 -26
- package/dist/Cron.js.map +1 -1
- package/dist/Duration.d.ts +78 -0
- package/dist/Duration.d.ts.map +1 -1
- package/dist/Duration.js +123 -0
- package/dist/Duration.js.map +1 -1
- package/dist/Effect.d.ts +164 -7
- package/dist/Effect.d.ts.map +1 -1
- package/dist/Effect.js +11 -1
- package/dist/Effect.js.map +1 -1
- package/dist/FileSystem.d.ts +59 -4
- package/dist/FileSystem.d.ts.map +1 -1
- package/dist/FileSystem.js +9 -2
- package/dist/FileSystem.js.map +1 -1
- package/dist/Glob.d.ts +165 -0
- package/dist/Glob.d.ts.map +1 -0
- package/dist/Glob.js +127 -0
- package/dist/Glob.js.map +1 -0
- package/dist/Match.d.ts +86 -0
- package/dist/Match.d.ts.map +1 -1
- package/dist/Match.js +72 -0
- package/dist/Match.js.map +1 -1
- package/dist/Pool.d.ts +51 -0
- package/dist/Pool.d.ts.map +1 -1
- package/dist/Pool.js +59 -9
- package/dist/Pool.js.map +1 -1
- package/dist/Random.d.ts.map +1 -1
- package/dist/Random.js +3 -3
- package/dist/Random.js.map +1 -1
- package/dist/RcMap.d.ts.map +1 -1
- package/dist/RcMap.js +8 -2
- package/dist/RcMap.js.map +1 -1
- package/dist/Schedule.d.ts +18 -1
- package/dist/Schedule.d.ts.map +1 -1
- package/dist/Schedule.js +7 -2
- package/dist/Schedule.js.map +1 -1
- package/dist/Schema.d.ts +666 -41
- package/dist/Schema.d.ts.map +1 -1
- package/dist/Schema.js +650 -0
- package/dist/Schema.js.map +1 -1
- package/dist/SchemaGetter.d.ts +6 -1
- package/dist/SchemaGetter.d.ts.map +1 -1
- package/dist/SchemaGetter.js +22 -11
- package/dist/SchemaGetter.js.map +1 -1
- package/dist/SchemaRepresentation.d.ts +14 -0
- package/dist/SchemaRepresentation.d.ts.map +1 -1
- package/dist/SchemaRepresentation.js +16 -0
- package/dist/SchemaRepresentation.js.map +1 -1
- package/dist/SchemaTransformation.d.ts +8 -3
- package/dist/SchemaTransformation.d.ts.map +1 -1
- package/dist/SchemaTransformation.js +6 -3
- package/dist/SchemaTransformation.js.map +1 -1
- package/dist/ScopedCache.d.ts.map +1 -1
- package/dist/ScopedCache.js +5 -7
- package/dist/ScopedCache.js.map +1 -1
- package/dist/Semaphore.d.ts +130 -0
- package/dist/Semaphore.d.ts.map +1 -1
- package/dist/Semaphore.js +40 -0
- package/dist/Semaphore.js.map +1 -1
- package/dist/Stream.d.ts +13 -4
- package/dist/Stream.d.ts.map +1 -1
- package/dist/Stream.js +9 -0
- package/dist/Stream.js.map +1 -1
- package/dist/Terminal.d.ts +18 -1
- package/dist/Terminal.d.ts.map +1 -1
- package/dist/Terminal.js +1 -1
- package/dist/Terminal.js.map +1 -1
- package/dist/ai/AiError.d.ts +43 -116
- package/dist/ai/AiError.d.ts.map +1 -1
- package/dist/ai/AiError.js +53 -72
- package/dist/ai/AiError.js.map +1 -1
- package/dist/ai/Decision.d.ts +196 -15
- package/dist/ai/Decision.d.ts.map +1 -1
- package/dist/ai/Decision.js +130 -0
- package/dist/ai/Decision.js.map +1 -1
- package/dist/ai/DecisionModel.d.ts +54 -13
- package/dist/ai/DecisionModel.d.ts.map +1 -1
- package/dist/ai/DecisionModel.js +123 -12
- package/dist/ai/DecisionModel.js.map +1 -1
- package/dist/ai/McpServer.d.ts +630 -29
- package/dist/ai/McpServer.d.ts.map +1 -1
- package/dist/ai/McpServer.js +562 -116
- package/dist/ai/McpServer.js.map +1 -1
- package/dist/ai/McpTest.d.ts +130 -0
- package/dist/ai/McpTest.d.ts.map +1 -0
- package/dist/ai/McpTest.js +237 -0
- package/dist/ai/McpTest.js.map +1 -0
- package/dist/ai/Response.d.ts +1 -25
- package/dist/ai/Response.d.ts.map +1 -1
- package/dist/ai/Response.js +1 -10
- package/dist/ai/Response.js.map +1 -1
- package/dist/ai/Tool.d.ts +19 -1
- package/dist/ai/Tool.d.ts.map +1 -1
- package/dist/ai/Tool.js.map +1 -1
- package/dist/ai/index.d.ts +5 -0
- package/dist/ai/index.d.ts.map +1 -1
- package/dist/ai/index.js +5 -0
- package/dist/ai/index.js.map +1 -1
- package/dist/ai/internal/mcpCore.js +17 -12
- package/dist/ai/internal/mcpCore.js.map +1 -1
- package/dist/ai/internal/mcpProtocol/v2024_11_05.js +4 -5
- package/dist/ai/internal/mcpProtocol/v2024_11_05.js.map +1 -1
- package/dist/ai/internal/mcpProtocol/v2025_03_26.js +4 -5
- package/dist/ai/internal/mcpProtocol/v2025_03_26.js.map +1 -1
- package/dist/ai/internal/mcpProtocol/v2025_06_18.js +4 -5
- package/dist/ai/internal/mcpProtocol/v2025_06_18.js.map +1 -1
- package/dist/ai/internal/mcpProtocol/v2025_11_25.js +4 -5
- package/dist/ai/internal/mcpProtocol/v2025_11_25.js.map +1 -1
- package/dist/ai/internal/mcpProtocol/v2026_07_28.js +18 -10
- package/dist/ai/internal/mcpProtocol/v2026_07_28.js.map +1 -1
- package/dist/ai/internal/mcpProtocol.js +13 -0
- package/dist/ai/internal/mcpProtocol.js.map +1 -1
- package/dist/ai/internal/mcpRuntime.js +5 -3
- package/dist/ai/internal/mcpRuntime.js.map +1 -1
- package/dist/ai/internal/mcpStatefulRuntime.js +6 -1
- package/dist/ai/internal/mcpStatefulRuntime.js.map +1 -1
- package/dist/cli/Argument.d.ts +6 -0
- package/dist/cli/Argument.d.ts.map +1 -1
- package/dist/cli/Argument.js +2 -0
- package/dist/cli/Argument.js.map +1 -1
- package/dist/cli/CliOutput.d.ts +65 -1
- package/dist/cli/CliOutput.d.ts.map +1 -1
- package/dist/cli/CliOutput.js +94 -37
- package/dist/cli/CliOutput.js.map +1 -1
- package/dist/cli/Command.d.ts +23 -0
- package/dist/cli/Command.d.ts.map +1 -1
- package/dist/cli/Command.js +8 -0
- package/dist/cli/Command.js.map +1 -1
- package/dist/cli/Flag.d.ts +107 -0
- package/dist/cli/Flag.d.ts.map +1 -1
- package/dist/cli/Flag.js +37 -0
- package/dist/cli/Flag.js.map +1 -1
- package/dist/cli/HelpDoc.d.ts +15 -1
- package/dist/cli/HelpDoc.d.ts.map +1 -1
- package/dist/cli/Param.d.ts +6 -0
- package/dist/cli/Param.d.ts.map +1 -1
- package/dist/cli/Param.js +2 -0
- package/dist/cli/Param.js.map +1 -1
- package/dist/cli/Primitive.d.ts +14 -0
- package/dist/cli/Primitive.d.ts.map +1 -1
- package/dist/cli/Primitive.js +15 -1
- package/dist/cli/Primitive.js.map +1 -1
- package/dist/cli/Prompt.d.ts +1 -0
- package/dist/cli/Prompt.d.ts.map +1 -1
- package/dist/cli/Prompt.js +1 -0
- package/dist/cli/Prompt.js.map +1 -1
- package/dist/cli/internal/help.d.ts.map +1 -1
- package/dist/cli/internal/help.js +17 -10
- package/dist/cli/internal/help.js.map +1 -1
- package/dist/cluster/Sharding.d.ts.map +1 -1
- package/dist/cluster/Sharding.js +90 -28
- package/dist/cluster/Sharding.js.map +1 -1
- package/dist/cluster/ShardingConfig.d.ts +72 -6
- package/dist/cluster/ShardingConfig.d.ts.map +1 -1
- package/dist/cluster/ShardingConfig.js +4 -0
- package/dist/cluster/ShardingConfig.js.map +1 -1
- package/dist/cluster/SingleRunner.d.ts +3 -3
- package/dist/cluster/SingleRunner.d.ts.map +1 -1
- package/dist/cluster/SingleRunner.js +1 -1
- package/dist/cluster/SqlMessageStorage.d.ts +37 -6
- package/dist/cluster/SqlMessageStorage.d.ts.map +1 -1
- package/dist/cluster/SqlMessageStorage.js +34 -7
- package/dist/cluster/SqlMessageStorage.js.map +1 -1
- package/dist/cluster/SqlRunnerStorage.d.ts.map +1 -1
- package/dist/cluster/SqlRunnerStorage.js +23 -8
- package/dist/cluster/SqlRunnerStorage.js.map +1 -1
- package/dist/crypto/Aead.d.ts +322 -0
- package/dist/crypto/Aead.d.ts.map +1 -0
- package/dist/crypto/Aead.js +331 -0
- package/dist/crypto/Aead.js.map +1 -0
- package/dist/crypto/Cipher.d.ts +235 -0
- package/dist/crypto/Cipher.d.ts.map +1 -0
- package/dist/crypto/Cipher.js +233 -0
- package/dist/crypto/Cipher.js.map +1 -0
- package/dist/crypto/CryptoError.d.ts +212 -0
- package/dist/crypto/CryptoError.d.ts.map +1 -0
- package/dist/crypto/CryptoError.js +202 -0
- package/dist/crypto/CryptoError.js.map +1 -0
- package/dist/crypto/Digest.d.ts +143 -0
- package/dist/crypto/Digest.d.ts.map +1 -0
- package/dist/crypto/Digest.js +146 -0
- package/dist/crypto/Digest.js.map +1 -0
- package/dist/crypto/Kdf.d.ts +220 -0
- package/dist/crypto/Kdf.d.ts.map +1 -0
- package/dist/crypto/Kdf.js +212 -0
- package/dist/crypto/Kdf.js.map +1 -0
- package/dist/crypto/KeyAgreement.d.ts +323 -0
- package/dist/crypto/KeyAgreement.d.ts.map +1 -0
- package/dist/crypto/KeyAgreement.js +303 -0
- package/dist/crypto/KeyAgreement.js.map +1 -0
- package/dist/crypto/KeyFormat.d.ts +309 -0
- package/dist/crypto/KeyFormat.d.ts.map +1 -0
- package/dist/crypto/KeyFormat.js +556 -0
- package/dist/crypto/KeyFormat.js.map +1 -0
- package/dist/crypto/KeyWrap.d.ts +389 -0
- package/dist/crypto/KeyWrap.d.ts.map +1 -0
- package/dist/crypto/KeyWrap.js +381 -0
- package/dist/crypto/KeyWrap.js.map +1 -0
- package/dist/crypto/Mac.d.ts +277 -0
- package/dist/crypto/Mac.d.ts.map +1 -0
- package/dist/crypto/Mac.js +288 -0
- package/dist/crypto/Mac.js.map +1 -0
- package/dist/crypto/SecureRandom.d.ts +340 -0
- package/dist/crypto/SecureRandom.d.ts.map +1 -0
- package/dist/crypto/SecureRandom.js +257 -0
- package/dist/crypto/SecureRandom.js.map +1 -0
- package/dist/crypto/Signature.d.ts +448 -0
- package/dist/crypto/Signature.d.ts.map +1 -0
- package/dist/crypto/Signature.js +484 -0
- package/dist/crypto/Signature.js.map +1 -0
- package/dist/crypto/WebCrypto.d.ts +61 -0
- package/dist/crypto/WebCrypto.d.ts.map +1 -0
- package/dist/crypto/WebCrypto.js +63 -0
- package/dist/crypto/WebCrypto.js.map +1 -0
- package/dist/crypto/index.d.ts +65 -0
- package/dist/crypto/index.d.ts.map +1 -0
- package/dist/crypto/index.js +66 -0
- package/dist/crypto/index.js.map +1 -0
- package/dist/crypto/internal/asymmetric.d.ts +2 -0
- package/dist/crypto/internal/asymmetric.d.ts.map +1 -0
- package/dist/crypto/internal/asymmetric.js +210 -0
- package/dist/crypto/internal/asymmetric.js.map +1 -0
- package/dist/crypto/internal/chacha.d.ts +46 -0
- package/dist/crypto/internal/chacha.d.ts.map +1 -0
- package/dist/crypto/internal/chacha.js +885 -0
- package/dist/crypto/internal/chacha.js.map +1 -0
- package/dist/crypto/internal/der.d.ts +6 -0
- package/dist/crypto/internal/der.d.ts.map +1 -0
- package/dist/crypto/internal/der.js +86 -0
- package/dist/crypto/internal/der.js.map +1 -0
- package/dist/crypto/internal/digest.d.ts +2 -0
- package/dist/crypto/internal/digest.d.ts.map +1 -0
- package/dist/crypto/internal/digest.js +15 -0
- package/dist/crypto/internal/digest.js.map +1 -0
- package/dist/crypto/internal/key.d.ts +2 -0
- package/dist/crypto/internal/key.d.ts.map +1 -0
- package/dist/crypto/internal/key.js +170 -0
- package/dist/crypto/internal/key.js.map +1 -0
- package/dist/crypto/internal/md5.d.ts +39 -0
- package/dist/crypto/internal/md5.d.ts.map +1 -0
- package/dist/crypto/internal/md5.js +179 -0
- package/dist/crypto/internal/md5.js.map +1 -0
- package/dist/crypto/internal/webCrypto.d.ts +2 -0
- package/dist/crypto/internal/webCrypto.d.ts.map +1 -0
- package/dist/crypto/internal/webCrypto.js +111 -0
- package/dist/crypto/internal/webCrypto.js.map +1 -0
- package/dist/encoding/Base64Url.d.ts.map +1 -1
- package/dist/encoding/Base64Url.js +3 -2
- package/dist/encoding/Base64Url.js.map +1 -1
- package/dist/encoding/Csv.d.ts +608 -0
- package/dist/encoding/Csv.d.ts.map +1 -0
- package/dist/encoding/Csv.js +718 -0
- package/dist/encoding/Csv.js.map +1 -0
- package/dist/encoding/Hex.d.ts +3 -2
- package/dist/encoding/Hex.d.ts.map +1 -1
- package/dist/encoding/Hex.js +3 -2
- package/dist/encoding/Hex.js.map +1 -1
- package/dist/encoding/SchemaBinary.d.ts.map +1 -1
- package/dist/encoding/SchemaBinary.js +42 -4
- package/dist/encoding/SchemaBinary.js.map +1 -1
- package/dist/encoding/Toml.d.ts +17 -3
- package/dist/encoding/Toml.d.ts.map +1 -1
- package/dist/encoding/Toml.js +104 -16
- package/dist/encoding/Toml.js.map +1 -1
- package/dist/encoding/Yaml.d.ts +8 -1
- package/dist/encoding/Yaml.d.ts.map +1 -1
- package/dist/encoding/Yaml.js +54 -18
- package/dist/encoding/Yaml.js.map +1 -1
- package/dist/encoding/index.d.ts +5 -0
- package/dist/encoding/index.d.ts.map +1 -1
- package/dist/encoding/index.js +5 -0
- package/dist/encoding/index.js.map +1 -1
- package/dist/eventlog/EventJournal.d.ts.map +1 -1
- package/dist/eventlog/EventJournal.js +6 -3
- package/dist/eventlog/EventJournal.js.map +1 -1
- package/dist/eventlog/EventLog.d.ts +119 -4
- package/dist/eventlog/EventLog.d.ts.map +1 -1
- package/dist/eventlog/EventLog.js +200 -12
- package/dist/eventlog/EventLog.js.map +1 -1
- package/dist/eventlog/EventLogEncryption.d.ts +41 -4
- package/dist/eventlog/EventLogEncryption.d.ts.map +1 -1
- package/dist/eventlog/EventLogEncryption.js +83 -64
- package/dist/eventlog/EventLogEncryption.js.map +1 -1
- package/dist/eventlog/EventLogMessage.d.ts +279 -0
- package/dist/eventlog/EventLogMessage.d.ts.map +1 -1
- package/dist/eventlog/EventLogMessage.js +217 -1
- package/dist/eventlog/EventLogMessage.js.map +1 -1
- package/dist/eventlog/EventLogRemote.d.ts +200 -28
- package/dist/eventlog/EventLogRemote.d.ts.map +1 -1
- package/dist/eventlog/EventLogRemote.js +186 -16
- package/dist/eventlog/EventLogRemote.js.map +1 -1
- package/dist/eventlog/EventLogServer.d.ts +3 -0
- package/dist/eventlog/EventLogServer.d.ts.map +1 -1
- package/dist/eventlog/EventLogServer.js +18 -10
- package/dist/eventlog/EventLogServer.js.map +1 -1
- package/dist/eventlog/EventLogServerEncrypted.d.ts +326 -5
- package/dist/eventlog/EventLogServerEncrypted.d.ts.map +1 -1
- package/dist/eventlog/EventLogServerEncrypted.js +769 -14
- package/dist/eventlog/EventLogServerEncrypted.js.map +1 -1
- package/dist/eventlog/EventLogSessionAuth.d.ts +5 -3
- package/dist/eventlog/EventLogSessionAuth.d.ts.map +1 -1
- package/dist/eventlog/EventLogSessionAuth.js +41 -64
- package/dist/eventlog/EventLogSessionAuth.js.map +1 -1
- package/dist/eventlog/EventRow.d.ts +4 -0
- package/dist/eventlog/EventRow.d.ts.map +1 -1
- package/dist/eventlog/EventRow.js +12 -2
- package/dist/eventlog/EventRow.js.map +1 -1
- package/dist/eventlog/SqlEventJournal.js +2 -2
- package/dist/eventlog/SqlEventJournal.js.map +1 -1
- package/dist/eventlog/SqlEventLogServerEncrypted.d.ts +21 -5
- package/dist/eventlog/SqlEventLogServerEncrypted.d.ts.map +1 -1
- package/dist/eventlog/SqlEventLogServerEncrypted.js +1048 -113
- package/dist/eventlog/SqlEventLogServerEncrypted.js.map +1 -1
- package/dist/eventlog/SqlEventLogServerUnencrypted.js +2 -2
- package/dist/eventlog/SqlEventLogServerUnencrypted.js.map +1 -1
- package/dist/eventlog/internal/batches.d.ts +12 -0
- package/dist/eventlog/internal/batches.d.ts.map +1 -0
- package/dist/eventlog/internal/batches.js +26 -0
- package/dist/eventlog/internal/batches.js.map +1 -0
- package/dist/eventlog/internal/compaction.d.ts +38 -0
- package/dist/eventlog/internal/compaction.d.ts.map +1 -0
- package/dist/eventlog/internal/compaction.js +33 -0
- package/dist/eventlog/internal/compaction.js.map +1 -0
- package/dist/eventlog/internal/identityRootSecretDerivation.js +66 -67
- package/dist/eventlog/internal/identityRootSecretDerivation.js.map +1 -1
- package/dist/eventlog/internal/remoteCompaction.d.ts +31 -0
- package/dist/eventlog/internal/remoteCompaction.d.ts.map +1 -0
- package/dist/eventlog/internal/remoteCompaction.js +76 -0
- package/dist/eventlog/internal/remoteCompaction.js.map +1 -0
- package/dist/http/Cookies.d.ts +172 -0
- package/dist/http/Cookies.d.ts.map +1 -1
- package/dist/http/Cookies.js +143 -1
- package/dist/http/Cookies.js.map +1 -1
- package/dist/http/FetchHttpClient.d.ts +26 -2
- package/dist/http/FetchHttpClient.d.ts.map +1 -1
- package/dist/http/FetchHttpClient.js +78 -15
- package/dist/http/FetchHttpClient.js.map +1 -1
- package/dist/http/HttpClient.d.ts +79 -8
- package/dist/http/HttpClient.d.ts.map +1 -1
- package/dist/http/HttpClient.js +65 -5
- package/dist/http/HttpClient.js.map +1 -1
- package/dist/http/HttpClientRequest.d.ts +9 -5
- package/dist/http/HttpClientRequest.d.ts.map +1 -1
- package/dist/http/HttpClientRequest.js +2 -3
- package/dist/http/HttpClientRequest.js.map +1 -1
- package/dist/http/HttpClientResponse.d.ts.map +1 -1
- package/dist/http/HttpClientResponse.js +3 -2
- package/dist/http/HttpClientResponse.js.map +1 -1
- package/dist/http/HttpMethod.d.ts +7 -1
- package/dist/http/HttpMethod.d.ts.map +1 -1
- package/dist/http/HttpMethod.js +3 -8
- package/dist/http/HttpMethod.js.map +1 -1
- package/dist/http/HttpServerRequest.d.ts +5 -2
- package/dist/http/HttpServerRequest.d.ts.map +1 -1
- package/dist/http/HttpServerRequest.js +6 -17
- package/dist/http/HttpServerRequest.js.map +1 -1
- package/dist/http/HttpServerResponse.d.ts.map +1 -1
- package/dist/http/HttpServerResponse.js +3 -2
- package/dist/http/HttpServerResponse.js.map +1 -1
- package/dist/http/HttpTraceContext.d.ts +2 -1
- package/dist/http/HttpTraceContext.d.ts.map +1 -1
- package/dist/http/HttpTraceContext.js +7 -5
- package/dist/http/HttpTraceContext.js.map +1 -1
- package/dist/http/ProblemDetails.d.ts +96 -0
- package/dist/http/ProblemDetails.d.ts.map +1 -0
- package/dist/http/ProblemDetails.js +98 -0
- package/dist/http/ProblemDetails.js.map +1 -0
- package/dist/http/index.d.ts +5 -0
- package/dist/http/index.d.ts.map +1 -1
- package/dist/http/index.js +5 -0
- package/dist/http/index.js.map +1 -1
- package/dist/http/internal/decompression.js +3 -2
- package/dist/http/internal/decompression.js.map +1 -1
- package/dist/http/internal/urlParams.js +8 -0
- package/dist/http/internal/urlParams.js.map +1 -1
- package/dist/http-api/HttpApiBuilder.js +19 -5
- package/dist/http-api/HttpApiBuilder.js.map +1 -1
- package/dist/http-api/HttpApiClient.d.ts +63 -0
- package/dist/http-api/HttpApiClient.d.ts.map +1 -1
- package/dist/http-api/HttpApiClient.js +51 -0
- package/dist/http-api/HttpApiClient.js.map +1 -1
- package/dist/http-api/HttpApiEndpoint.d.ts.map +1 -1
- package/dist/http-api/HttpApiEndpoint.js +14 -5
- package/dist/http-api/HttpApiEndpoint.js.map +1 -1
- package/dist/http-api/HttpApiError.d.ts +185 -13
- package/dist/http-api/HttpApiError.d.ts.map +1 -1
- package/dist/http-api/HttpApiError.js +128 -0
- package/dist/http-api/HttpApiError.js.map +1 -1
- package/dist/http-api/HttpApiMiddleware.d.ts +64 -17
- package/dist/http-api/HttpApiMiddleware.d.ts.map +1 -1
- package/dist/http-api/HttpApiMiddleware.js +85 -1
- package/dist/http-api/HttpApiMiddleware.js.map +1 -1
- package/dist/http-api/HttpApiSchema.d.ts +76 -14
- package/dist/http-api/HttpApiSchema.d.ts.map +1 -1
- package/dist/http-api/HttpApiSchema.js +53 -0
- package/dist/http-api/HttpApiSchema.js.map +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/internal/effect.js +25 -14
- package/dist/internal/effect.js.map +1 -1
- package/dist/internal/glob.d.ts +2 -0
- package/dist/internal/glob.d.ts.map +1 -0
- package/dist/internal/glob.js +630 -0
- package/dist/internal/glob.js.map +1 -0
- package/dist/internal/matcher.js +10 -0
- package/dist/internal/matcher.js.map +1 -1
- package/dist/internal/persistence.js +9 -0
- package/dist/internal/persistence.js.map +1 -1
- package/dist/internal/rcRef.js +4 -1
- package/dist/internal/rcRef.js.map +1 -1
- package/dist/internal/schema/toCodeDocument.js +6 -3
- package/dist/internal/schema/toCodeDocument.js.map +1 -1
- package/dist/internal/trie.js +42 -13
- package/dist/internal/trie.js.map +1 -1
- package/dist/internal/ulid.js +41 -0
- package/dist/internal/ulid.js.map +1 -1
- package/dist/internal/uuid.js +52 -8
- package/dist/internal/uuid.js.map +1 -1
- package/dist/internal/version.js +1 -1
- package/dist/observability/Otlp.d.ts +15 -4
- package/dist/observability/Otlp.d.ts.map +1 -1
- package/dist/observability/Otlp.js +10 -0
- package/dist/observability/Otlp.js.map +1 -1
- package/dist/observability/OtlpResource.d.ts +7 -0
- package/dist/observability/OtlpResource.d.ts.map +1 -1
- package/dist/observability/OtlpResource.js +11 -1
- package/dist/observability/OtlpResource.js.map +1 -1
- package/dist/persistence/KeyValueStore.d.ts +47 -2
- package/dist/persistence/KeyValueStore.d.ts.map +1 -1
- package/dist/persistence/KeyValueStore.js +129 -18
- package/dist/persistence/KeyValueStore.js.map +1 -1
- package/dist/persistence/PersistedQueue.d.ts +9 -0
- package/dist/persistence/PersistedQueue.d.ts.map +1 -1
- package/dist/persistence/PersistedQueue.js +94 -52
- package/dist/persistence/PersistedQueue.js.map +1 -1
- package/dist/persistence/Persistence.d.ts +10 -4
- package/dist/persistence/Persistence.d.ts.map +1 -1
- package/dist/persistence/Persistence.js +18 -11
- package/dist/persistence/Persistence.js.map +1 -1
- package/dist/process/ChildProcess.d.ts +207 -67
- package/dist/process/ChildProcess.d.ts.map +1 -1
- package/dist/process/ChildProcess.js +56 -158
- package/dist/process/ChildProcess.js.map +1 -1
- package/dist/process/ChildProcessSpawner.d.ts +5 -0
- package/dist/process/ChildProcessSpawner.d.ts.map +1 -1
- package/dist/process/ChildProcessSpawner.js.map +1 -1
- package/dist/process/CommandLine.d.ts +294 -0
- package/dist/process/CommandLine.d.ts.map +1 -0
- package/dist/process/CommandLine.js +481 -0
- package/dist/process/CommandLine.js.map +1 -0
- package/dist/process/index.d.ts +5 -0
- package/dist/process/index.d.ts.map +1 -1
- package/dist/process/index.js +5 -0
- package/dist/process/index.js.map +1 -1
- package/dist/reactivity/Atom.d.ts +2 -1
- package/dist/reactivity/Atom.d.ts.map +1 -1
- package/dist/reactivity/Atom.js +3 -4
- package/dist/reactivity/Atom.js.map +1 -1
- package/dist/reactivity/AtomRegistry.js.map +1 -1
- package/dist/rpc/RpcClient.d.ts +16 -1
- package/dist/rpc/RpcClient.d.ts.map +1 -1
- package/dist/rpc/RpcClient.js +50 -16
- package/dist/rpc/RpcClient.js.map +1 -1
- package/dist/rpc/RpcMessage.d.ts +10 -1
- package/dist/rpc/RpcMessage.d.ts.map +1 -1
- package/dist/rpc/RpcMessage.js +1 -0
- package/dist/rpc/RpcMessage.js.map +1 -1
- package/dist/rpc/RpcSerialization.d.ts.map +1 -1
- package/dist/rpc/RpcSerialization.js +6 -0
- package/dist/rpc/RpcSerialization.js.map +1 -1
- package/dist/rpc/RpcServer.d.ts +31 -0
- package/dist/rpc/RpcServer.d.ts.map +1 -1
- package/dist/rpc/RpcServer.js +139 -66
- package/dist/rpc/RpcServer.js.map +1 -1
- package/dist/schema/Model.d.ts +14 -0
- package/dist/schema/Model.d.ts.map +1 -1
- package/dist/schema/Model.js +18 -3
- package/dist/schema/Model.js.map +1 -1
- package/dist/sql/Migrator.d.ts +0 -19
- package/dist/sql/Migrator.d.ts.map +1 -1
- package/dist/sql/Migrator.js +3 -48
- package/dist/sql/Migrator.js.map +1 -1
- package/dist/sql/MigratorFileSystem.d.ts +21 -0
- package/dist/sql/MigratorFileSystem.d.ts.map +1 -0
- package/dist/sql/MigratorFileSystem.js +57 -0
- package/dist/sql/MigratorFileSystem.js.map +1 -0
- package/dist/sql/SqlClient.d.ts.map +1 -1
- package/dist/sql/SqlClient.js +5 -9
- package/dist/sql/SqlClient.js.map +1 -1
- package/dist/sql/Statement.d.ts +20 -6
- package/dist/sql/Statement.d.ts.map +1 -1
- package/dist/sql/Statement.js +0 -13
- package/dist/sql/Statement.js.map +1 -1
- package/dist/sql/index.js +1 -1
- package/dist/testing/index.d.ts +0 -5
- package/dist/testing/index.d.ts.map +1 -1
- package/dist/testing/index.js +0 -5
- package/dist/testing/index.js.map +1 -1
- package/dist/workflow/internal/crypto.js +9 -8
- package/dist/workflow/internal/crypto.js.map +1 -1
- package/package.json +3 -1
- package/src/BigDecimal.ts +3 -0
- package/src/Channel.ts +17 -11
- package/src/Config.ts +7 -1
- package/src/Context.ts +34 -10
- package/src/Cron.ts +178 -29
- package/src/Duration.ts +140 -0
- package/src/Effect.ts +914 -85
- package/src/FileSystem.ts +65 -4
- package/src/Glob.ts +205 -0
- package/src/Match.ts +127 -0
- package/src/Pool.ts +73 -15
- package/src/Random.ts +3 -3
- package/src/RcMap.ts +5 -1
- package/src/Schedule.ts +26 -3
- package/src/Schema.ts +1189 -62
- package/src/SchemaGetter.ts +27 -11
- package/src/SchemaRepresentation.ts +19 -0
- package/src/SchemaTransformation.ts +8 -3
- package/src/ScopedCache.ts +5 -9
- package/src/Semaphore.ts +141 -0
- package/src/Stream.ts +15 -6
- package/src/Terminal.ts +19 -1
- package/src/ai/AiError.ts +56 -80
- package/src/ai/Decision.ts +257 -6
- package/src/ai/DecisionModel.ts +171 -28
- package/src/ai/McpServer.ts +1269 -286
- package/src/ai/McpTest.ts +380 -0
- package/src/ai/Response.ts +2 -22
- package/src/ai/Tool.ts +27 -8
- package/src/ai/index.ts +6 -0
- package/src/ai/internal/mcpCore.ts +78 -44
- package/src/ai/internal/mcpProtocol/v2024_11_05.ts +4 -7
- package/src/ai/internal/mcpProtocol/v2025_03_26.ts +4 -7
- package/src/ai/internal/mcpProtocol/v2025_06_18.ts +4 -7
- package/src/ai/internal/mcpProtocol/v2025_11_25.ts +4 -7
- package/src/ai/internal/mcpProtocol/v2026_07_28.ts +15 -10
- package/src/ai/internal/mcpProtocol.ts +29 -0
- package/src/ai/internal/mcpRuntime.ts +9 -5
- package/src/ai/internal/mcpStatefulRuntime.ts +14 -2
- package/src/cli/Argument.ts +6 -0
- package/src/cli/CliOutput.ts +117 -49
- package/src/cli/Command.ts +23 -0
- package/src/cli/Flag.ts +107 -0
- package/src/cli/HelpDoc.ts +18 -1
- package/src/cli/Param.ts +6 -0
- package/src/cli/Primitive.ts +16 -1
- package/src/cli/Prompt.ts +1 -0
- package/src/cli/internal/help.ts +21 -9
- package/src/cluster/Sharding.ts +93 -26
- package/src/cluster/ShardingConfig.ts +41 -3
- package/src/cluster/SingleRunner.ts +3 -3
- package/src/cluster/SqlMessageStorage.ts +49 -17
- package/src/cluster/SqlRunnerStorage.ts +37 -27
- package/src/crypto/Aead.ts +517 -0
- package/src/crypto/Cipher.ts +326 -0
- package/src/crypto/CryptoError.ts +242 -0
- package/src/crypto/Digest.ts +167 -0
- package/src/crypto/Kdf.ts +315 -0
- package/src/crypto/KeyAgreement.ts +489 -0
- package/src/crypto/KeyFormat.ts +712 -0
- package/src/crypto/KeyWrap.ts +639 -0
- package/src/crypto/Mac.ts +386 -0
- package/src/crypto/SecureRandom.ts +459 -0
- package/src/crypto/Signature.ts +673 -0
- package/src/crypto/WebCrypto.ts +64 -0
- package/src/crypto/index.ts +78 -0
- package/src/crypto/internal/asymmetric.ts +329 -0
- package/src/crypto/internal/chacha.ts +1088 -0
- package/src/crypto/internal/der.ts +110 -0
- package/src/crypto/internal/digest.ts +16 -0
- package/src/crypto/internal/key.ts +235 -0
- package/src/crypto/internal/md5.ts +170 -0
- package/src/crypto/internal/webCrypto.ts +150 -0
- package/src/encoding/Base64Url.ts +5 -2
- package/src/encoding/Csv.ts +1298 -0
- package/src/encoding/Hex.ts +3 -2
- package/src/encoding/SchemaBinary.ts +40 -4
- package/src/encoding/Toml.ts +85 -20
- package/src/encoding/Yaml.ts +61 -18
- package/src/encoding/index.ts +6 -0
- package/src/eventlog/EventJournal.ts +4 -3
- package/src/eventlog/EventLog.ts +340 -15
- package/src/eventlog/EventLogEncryption.ts +118 -110
- package/src/eventlog/EventLogMessage.ts +273 -1
- package/src/eventlog/EventLogRemote.ts +367 -23
- package/src/eventlog/EventLogServer.ts +23 -8
- package/src/eventlog/EventLogServerEncrypted.ts +1130 -67
- package/src/eventlog/EventLogSessionAuth.ts +56 -70
- package/src/eventlog/EventRow.ts +12 -3
- package/src/eventlog/SqlEventJournal.ts +2 -2
- package/src/eventlog/SqlEventLogServerEncrypted.ts +1244 -136
- package/src/eventlog/SqlEventLogServerUnencrypted.ts +2 -2
- package/src/eventlog/internal/batches.ts +30 -0
- package/src/eventlog/internal/compaction.ts +64 -0
- package/src/eventlog/internal/identityRootSecretDerivation.ts +93 -123
- package/src/eventlog/internal/remoteCompaction.ts +92 -0
- package/src/http/Cookies.ts +281 -1
- package/src/http/FetchHttpClient.ts +88 -16
- package/src/http/HttpClient.ts +89 -22
- package/src/http/HttpClientRequest.ts +12 -9
- package/src/http/HttpClientResponse.ts +3 -2
- package/src/http/HttpMethod.ts +10 -2
- package/src/http/HttpServerRequest.ts +15 -30
- package/src/http/HttpServerResponse.ts +3 -2
- package/src/http/HttpTraceContext.ts +7 -4
- package/src/http/ProblemDetails.ts +149 -0
- package/src/http/index.ts +6 -0
- package/src/http/internal/decompression.ts +4 -4
- package/src/http/internal/urlParams.ts +8 -0
- package/src/http-api/HttpApiBuilder.ts +24 -12
- package/src/http-api/HttpApiClient.ts +67 -1
- package/src/http-api/HttpApiEndpoint.ts +14 -5
- package/src/http-api/HttpApiError.ts +250 -0
- package/src/http-api/HttpApiMiddleware.ts +95 -1
- package/src/http-api/HttpApiSchema.ts +105 -14
- package/src/index.ts +6 -6
- package/src/internal/effect.ts +34 -18
- package/src/internal/glob.ts +736 -0
- package/src/internal/matcher.ts +17 -0
- package/src/internal/persistence.ts +11 -0
- package/src/internal/rcRef.ts +4 -1
- package/src/internal/schema/toCodeDocument.ts +7 -3
- package/src/internal/trie.ts +43 -14
- package/src/internal/ulid.ts +44 -0
- package/src/internal/uuid.ts +57 -16
- package/src/internal/version.ts +1 -1
- package/src/observability/Otlp.ts +21 -4
- package/src/observability/OtlpResource.ts +9 -1
- package/src/persistence/KeyValueStore.ts +219 -22
- package/src/persistence/PersistedQueue.ts +128 -59
- package/src/persistence/Persistence.ts +20 -13
- package/src/process/ChildProcess.ts +255 -260
- package/src/process/ChildProcessSpawner.ts +5 -0
- package/src/process/CommandLine.ts +630 -0
- package/src/process/index.ts +6 -0
- package/src/reactivity/Atom.ts +5 -5
- package/src/reactivity/AtomRegistry.ts +1 -1
- package/src/rpc/RpcClient.ts +62 -26
- package/src/rpc/RpcMessage.ts +10 -1
- package/src/rpc/RpcSerialization.ts +3 -0
- package/src/rpc/RpcServer.ts +176 -78
- package/src/schema/Model.ts +26 -3
- package/src/sql/Migrator.ts +4 -63
- package/src/sql/MigratorFileSystem.ts +71 -0
- package/src/sql/SqlClient.ts +2 -16
- package/src/sql/Statement.ts +8 -7
- package/src/sql/index.ts +1 -1
- package/src/testing/index.ts +0 -6
- package/src/workflow/internal/crypto.ts +15 -11
- package/dist/Crypto.d.ts +0 -244
- package/dist/Crypto.d.ts.map +0 -1
- package/dist/Crypto.js +0 -139
- package/dist/Crypto.js.map +0 -1
- package/dist/testing/TestCrypto.d.ts +0 -73
- package/dist/testing/TestCrypto.d.ts.map +0 -1
- package/dist/testing/TestCrypto.js +0 -87
- package/dist/testing/TestCrypto.js.map +0 -1
- package/src/Crypto.ts +0 -347
- package/src/testing/TestCrypto.ts +0 -94
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import type * as Duration from "../Duration.ts";
|
|
2
2
|
import type * as Effect from "../Effect.ts";
|
|
3
3
|
import type * as PlatformError from "../PlatformError.ts";
|
|
4
|
+
import type * as Redacted from "../Redacted.ts";
|
|
4
5
|
import type * as Scope from "../Scope.ts";
|
|
5
6
|
import type * as Sink from "../Sink.ts";
|
|
6
7
|
import type * as Stream from "../Stream.ts";
|
|
7
8
|
import { type ChildProcessHandle, ChildProcessSpawner } from "./ChildProcessSpawner.ts";
|
|
9
|
+
import * as CommandLine from "./CommandLine.ts";
|
|
8
10
|
/**
|
|
9
11
|
* A command that can be built using `make`, combined using `pipeTo`, and executed using `exec` or `spawn`.
|
|
10
12
|
*
|
|
@@ -23,7 +25,7 @@ export type Command = StandardCommand | PipedCommand;
|
|
|
23
25
|
export interface StandardCommand extends Effect.Effect<ChildProcessHandle, PlatformError.PlatformError, ChildProcessSpawner | Scope.Scope> {
|
|
24
26
|
readonly _tag: "StandardCommand";
|
|
25
27
|
readonly command: string;
|
|
26
|
-
readonly args: ReadonlyArray<
|
|
28
|
+
readonly args: ReadonlyArray<CommandLine.Word>;
|
|
27
29
|
readonly options: CommandOptions;
|
|
28
30
|
}
|
|
29
31
|
/**
|
|
@@ -105,7 +107,8 @@ export interface PipeOptions {
|
|
|
105
107
|
* **Details**
|
|
106
108
|
*
|
|
107
109
|
* - `"stdin"` (default): Pipe to stdin of the destination
|
|
108
|
-
* - `"fd3"`, `"fd4"`, etc.: Pipe to a custom file descriptor
|
|
110
|
+
* - `"fd3"`, `"fd4"`, etc.: Pipe to a custom file descriptor. A descriptor
|
|
111
|
+
* configured as `"duplex"` stays duplex.
|
|
109
112
|
*/
|
|
110
113
|
readonly to?: PipeToOption | undefined;
|
|
111
114
|
}
|
|
@@ -301,6 +304,22 @@ export type AdditionalFdConfig = {
|
|
|
301
304
|
* process that writes more than the pipe buffer can block before it exits.
|
|
302
305
|
*/
|
|
303
306
|
readonly sink?: Sink.Sink<Uint8Array, Uint8Array, never, PlatformError.PlatformError> | undefined;
|
|
307
|
+
} | {
|
|
308
|
+
/**
|
|
309
|
+
* The direction of data flow for this file descriptor.
|
|
310
|
+
* - "duplex": Data flows in both directions over the same file descriptor
|
|
311
|
+
* (writable and readable by parent)
|
|
312
|
+
*/
|
|
313
|
+
readonly type: "duplex";
|
|
314
|
+
/**
|
|
315
|
+
* An optional stream to write into the file descriptor. The write side is
|
|
316
|
+
* ended when the stream completes.
|
|
317
|
+
*/
|
|
318
|
+
readonly stream?: Stream.Stream<Uint8Array, PlatformError.PlatformError> | undefined;
|
|
319
|
+
/**
|
|
320
|
+
* An optional sink which receives data read from the file descriptor.
|
|
321
|
+
*/
|
|
322
|
+
readonly sink?: Sink.Sink<Uint8Array, Uint8Array, never, PlatformError.PlatformError> | undefined;
|
|
304
323
|
};
|
|
305
324
|
/**
|
|
306
325
|
* Options for command execution.
|
|
@@ -321,14 +340,18 @@ export interface CommandOptions extends KillOptions {
|
|
|
321
340
|
*
|
|
322
341
|
* If `extendEnv` is set to `true`, the value of `env` will be merged with
|
|
323
342
|
* the value of `globalThis.process.env`, prioritizing the values in `env`
|
|
324
|
-
* when conflicts exist.
|
|
343
|
+
* when conflicts exist. A variable set to `undefined` is then removed from
|
|
344
|
+
* the child environment.
|
|
345
|
+
*
|
|
346
|
+
* `Redacted` values are passed to the child unchanged and are never shown in
|
|
347
|
+
* errors.
|
|
325
348
|
*
|
|
326
349
|
* **Gotchas**
|
|
327
350
|
*
|
|
328
351
|
* Without `extendEnv: true`, providing `env` replaces the inherited child
|
|
329
352
|
* environment. The child will not receive `PATH` unless `env` includes it.
|
|
330
353
|
*/
|
|
331
|
-
readonly env?: Record<string, string | undefined> | undefined;
|
|
354
|
+
readonly env?: Record<string, string | Redacted.Redacted<string> | undefined> | undefined;
|
|
332
355
|
/**
|
|
333
356
|
* If set to `true`, the child process uses both the values in `env` as well
|
|
334
357
|
* as the values in `globalThis.process.env`, prioritizing the values in `env`
|
|
@@ -342,17 +365,45 @@ export interface CommandOptions extends KillOptions {
|
|
|
342
365
|
*/
|
|
343
366
|
readonly extendEnv?: boolean | undefined;
|
|
344
367
|
/**
|
|
345
|
-
* If set to `true`, runs the command inside of a shell,
|
|
346
|
-
* on UNIX systems and `cmd.exe` on Windows.
|
|
368
|
+
* If set to `true`, runs the command as a script inside of a shell,
|
|
369
|
+
* defaulting to `/bin/sh` on UNIX systems and `cmd.exe` on Windows.
|
|
347
370
|
*
|
|
348
371
|
* **Details**
|
|
349
372
|
*
|
|
350
373
|
* Can also be set to a string representing the absolute path to a shell to
|
|
351
|
-
* use on the system.
|
|
374
|
+
* use on the system. The command is the whole script; build it with
|
|
375
|
+
* `CommandLine.join` or `CommandLine.quote` when it contains values.
|
|
376
|
+
*
|
|
377
|
+
* This is also the way to run a command configured as shell text, such as
|
|
378
|
+
* the `EDITOR` environment variable. The setting is trusted shell text and
|
|
379
|
+
* runs as written, so use it as the start of the script and quote the values
|
|
380
|
+
* that follow it. Name a POSIX shell, because `shell: true` runs `cmd.exe` on
|
|
381
|
+
* Windows, which POSIX quoting does not protect.
|
|
352
382
|
*
|
|
353
383
|
* **Gotchas**
|
|
354
384
|
*
|
|
355
|
-
*
|
|
385
|
+
* - Running a command with both `shell` and arguments fails with a
|
|
386
|
+
* `BadArgument` error, because shells would join the arguments into the
|
|
387
|
+
* script without quoting them.
|
|
388
|
+
* - On Windows the script runs in `cmd.exe`, which no `CommandLine` format
|
|
389
|
+
* quotes for. `CommandLine.join` with `format: "windows"` is only safe for
|
|
390
|
+
* arguments without `%`, `^`, `&`, `|`, `<` or `>`.
|
|
391
|
+
* - It is generally disadvised to use this option.
|
|
392
|
+
*
|
|
393
|
+
* **Example** (Running a configured editor)
|
|
394
|
+
*
|
|
395
|
+
* ```ts import.meta.vitest
|
|
396
|
+
* import { Result } from "effect"
|
|
397
|
+
* import { ChildProcess, CommandLine } from "effect/process"
|
|
398
|
+
*
|
|
399
|
+
* const editor = "code --wait" // for example, process.env.EDITOR
|
|
400
|
+
* const file = "notes from today.txt"
|
|
401
|
+
*
|
|
402
|
+
* const command = ChildProcess.make(`${editor} ${Result.getOrThrow(CommandLine.quote(file))}`, {
|
|
403
|
+
* shell: "/bin/sh"
|
|
404
|
+
* })
|
|
405
|
+
* command.command // => "code --wait 'notes from today.txt'"
|
|
406
|
+
* ```
|
|
356
407
|
*/
|
|
357
408
|
readonly shell?: boolean | string | undefined;
|
|
358
409
|
/**
|
|
@@ -398,11 +449,21 @@ export interface CommandOptions extends KillOptions {
|
|
|
398
449
|
*
|
|
399
450
|
* **Details**
|
|
400
451
|
*
|
|
401
|
-
* Keys
|
|
402
|
-
*
|
|
452
|
+
* Keys use the descriptor index: `"fd3"`, `"fd4"`, etc. (index >= 3).
|
|
453
|
+
*
|
|
454
|
+
* For `"duplex"`, use `getInputFd` to write and `getOutputFd` to read the same
|
|
455
|
+
* descriptor. `pipeTo` preserves duplex targets, replacing only their input.
|
|
403
456
|
*
|
|
404
|
-
*
|
|
405
|
-
*
|
|
457
|
+
* Duplex request/response and half-close are verified on Linux with Node.js
|
|
458
|
+
* and raw Deno `node:child_process` (not Effect's spawner). The same behavior
|
|
459
|
+
* is expected on macOS; Windows request/response is expected but unverified.
|
|
460
|
+
* Half-close is unsupported on Windows and Bun: keep the input open until
|
|
461
|
+
* all responses are read. Bun extra descriptors on Windows are unverified.
|
|
462
|
+
* Native `DenoChildProcessSpawner` does not support additional descriptors.
|
|
463
|
+
*
|
|
464
|
+
* Node.js and Deno children can use `new net.Socket({ fd: 3 })`. Deno children
|
|
465
|
+
* cannot use `node:fs` on the raw descriptor; Bun children cannot use
|
|
466
|
+
* `net.Socket` on it.
|
|
406
467
|
*
|
|
407
468
|
* **Example** (Configuring additional file descriptors)
|
|
408
469
|
*
|
|
@@ -422,28 +483,22 @@ export interface CommandOptions extends KillOptions {
|
|
|
422
483
|
* fd3: { type: "input" }
|
|
423
484
|
* }
|
|
424
485
|
* })
|
|
425
|
-
*
|
|
426
|
-
*
|
|
486
|
+
* // Duplex fd3 - write and read over the same descriptor
|
|
487
|
+
* const cmd3 = ChildProcess.make("my-program", [], {
|
|
488
|
+
* additionalFds: {
|
|
489
|
+
* fd3: { type: "duplex" }
|
|
490
|
+
* }
|
|
491
|
+
* })
|
|
492
|
+
* const result = [
|
|
493
|
+
* cmd1.options.additionalFds?.fd3?.type,
|
|
494
|
+
* cmd2.options.additionalFds?.fd3?.type,
|
|
495
|
+
* cmd3.options.additionalFds?.fd3?.type
|
|
496
|
+
* ]
|
|
497
|
+
* result // => ["output", "input", "duplex"]
|
|
427
498
|
* ```
|
|
428
499
|
*/
|
|
429
500
|
readonly additionalFds?: Record<`fd${number}`, AdditionalFdConfig> | undefined;
|
|
430
501
|
}
|
|
431
|
-
/**
|
|
432
|
-
* Valid template expression item types.
|
|
433
|
-
*
|
|
434
|
-
* @stability unstable
|
|
435
|
-
* @category models
|
|
436
|
-
* @since 4.0.0
|
|
437
|
-
*/
|
|
438
|
-
export type TemplateExpressionItem = string | number | boolean;
|
|
439
|
-
/**
|
|
440
|
-
* Template expression type for interpolated values.
|
|
441
|
-
*
|
|
442
|
-
* @stability unstable
|
|
443
|
-
* @category models
|
|
444
|
-
* @since 4.0.0
|
|
445
|
-
*/
|
|
446
|
-
export type TemplateExpression = TemplateExpressionItem | ReadonlyArray<TemplateExpressionItem>;
|
|
447
502
|
/**
|
|
448
503
|
* Checks whether a value is a `Command`.
|
|
449
504
|
*
|
|
@@ -478,16 +533,33 @@ export declare const isPipedCommand: (command: Command) => command is PipedComma
|
|
|
478
533
|
* 2. Options + template literal: `make({ cwd: "/app" })\`npm run build\``
|
|
479
534
|
* 3. Array form: `make("npm", ["run", "build"], options?)`
|
|
480
535
|
*
|
|
481
|
-
*
|
|
482
|
-
*
|
|
536
|
+
* Templates are split with `CommandLine.template`: quotes group words, each
|
|
537
|
+
* `${}` value is one literal argument, and an argument that contains a
|
|
538
|
+
* `Redacted` value stays `Redacted`. Arguments in the array form can be
|
|
539
|
+
* `Redacted` too.
|
|
540
|
+
*
|
|
541
|
+
* With the `shell` option, the template text is the shell script and is kept
|
|
542
|
+
* as written.
|
|
543
|
+
*
|
|
544
|
+
* **Gotchas**
|
|
545
|
+
*
|
|
546
|
+
* - A template is parsed when `make` is called. Shell syntax such as `|`,
|
|
547
|
+
* `$HOME`, `*` or `~` throws a `CommandLine.CommandLineError`: quote it, or
|
|
548
|
+
* pass the value with `${}`.
|
|
549
|
+
* - A template with the `shell` option cannot contain `${}` values, because
|
|
550
|
+
* their quoting depends on the shell. Build the script with
|
|
551
|
+
* `CommandLine.quote` and pass it as a string.
|
|
552
|
+
* - The program name, the first word, cannot be `Redacted`.
|
|
553
|
+
* - A NUL character in the command, an argument or an `env` value fails with
|
|
554
|
+
* a `BadArgument` error when the command is spawned.
|
|
483
555
|
*
|
|
484
556
|
* **Example** (Creating commands)
|
|
485
557
|
*
|
|
486
558
|
* ```ts import.meta.vitest
|
|
487
559
|
* import { ChildProcess } from "effect/process"
|
|
488
560
|
*
|
|
489
|
-
* // Template literal form
|
|
490
|
-
* const cmd1 = ChildProcess.make`echo "hello"`
|
|
561
|
+
* // Template literal form; quotes group words
|
|
562
|
+
* const cmd1 = ChildProcess.make`echo "hello world"`
|
|
491
563
|
*
|
|
492
564
|
* // With options
|
|
493
565
|
* const cmd2 = ChildProcess.make({ cwd: "/tmp" })`ls -la`
|
|
@@ -495,7 +567,7 @@ export declare const isPipedCommand: (command: Command) => command is PipedComma
|
|
|
495
567
|
* // Array form
|
|
496
568
|
* const cmd3 = ChildProcess.make("git", ["status"])
|
|
497
569
|
*
|
|
498
|
-
* const result = [cmd1.
|
|
570
|
+
* const result = [cmd1.args[0], cmd2.options.cwd, cmd3.args[0]] // => ["hello world", "/tmp", "status"]
|
|
499
571
|
* ```
|
|
500
572
|
*
|
|
501
573
|
* @stability unstable
|
|
@@ -513,16 +585,33 @@ export declare const make: {
|
|
|
513
585
|
* 2. Options + template literal: `make({ cwd: "/app" })\`npm run build\``
|
|
514
586
|
* 3. Array form: `make("npm", ["run", "build"], options?)`
|
|
515
587
|
*
|
|
516
|
-
*
|
|
517
|
-
*
|
|
588
|
+
* Templates are split with `CommandLine.template`: quotes group words, each
|
|
589
|
+
* `${}` value is one literal argument, and an argument that contains a
|
|
590
|
+
* `Redacted` value stays `Redacted`. Arguments in the array form can be
|
|
591
|
+
* `Redacted` too.
|
|
592
|
+
*
|
|
593
|
+
* With the `shell` option, the template text is the shell script and is kept
|
|
594
|
+
* as written.
|
|
595
|
+
*
|
|
596
|
+
* **Gotchas**
|
|
597
|
+
*
|
|
598
|
+
* - A template is parsed when `make` is called. Shell syntax such as `|`,
|
|
599
|
+
* `$HOME`, `*` or `~` throws a `CommandLine.CommandLineError`: quote it, or
|
|
600
|
+
* pass the value with `${}`.
|
|
601
|
+
* - A template with the `shell` option cannot contain `${}` values, because
|
|
602
|
+
* their quoting depends on the shell. Build the script with
|
|
603
|
+
* `CommandLine.quote` and pass it as a string.
|
|
604
|
+
* - The program name, the first word, cannot be `Redacted`.
|
|
605
|
+
* - A NUL character in the command, an argument or an `env` value fails with
|
|
606
|
+
* a `BadArgument` error when the command is spawned.
|
|
518
607
|
*
|
|
519
608
|
* **Example** (Creating commands)
|
|
520
609
|
*
|
|
521
610
|
* ```ts import.meta.vitest
|
|
522
611
|
* import { ChildProcess } from "effect/process"
|
|
523
612
|
*
|
|
524
|
-
* // Template literal form
|
|
525
|
-
* const cmd1 = ChildProcess.make`echo "hello"`
|
|
613
|
+
* // Template literal form; quotes group words
|
|
614
|
+
* const cmd1 = ChildProcess.make`echo "hello world"`
|
|
526
615
|
*
|
|
527
616
|
* // With options
|
|
528
617
|
* const cmd2 = ChildProcess.make({ cwd: "/tmp" })`ls -la`
|
|
@@ -530,7 +619,7 @@ export declare const make: {
|
|
|
530
619
|
* // Array form
|
|
531
620
|
* const cmd3 = ChildProcess.make("git", ["status"])
|
|
532
621
|
*
|
|
533
|
-
* const result = [cmd1.
|
|
622
|
+
* const result = [cmd1.args[0], cmd2.options.cwd, cmd3.args[0]] // => ["hello world", "/tmp", "status"]
|
|
534
623
|
* ```
|
|
535
624
|
*
|
|
536
625
|
* @stability unstable
|
|
@@ -548,16 +637,33 @@ export declare const make: {
|
|
|
548
637
|
* 2. Options + template literal: `make({ cwd: "/app" })\`npm run build\``
|
|
549
638
|
* 3. Array form: `make("npm", ["run", "build"], options?)`
|
|
550
639
|
*
|
|
551
|
-
*
|
|
552
|
-
*
|
|
640
|
+
* Templates are split with `CommandLine.template`: quotes group words, each
|
|
641
|
+
* `${}` value is one literal argument, and an argument that contains a
|
|
642
|
+
* `Redacted` value stays `Redacted`. Arguments in the array form can be
|
|
643
|
+
* `Redacted` too.
|
|
644
|
+
*
|
|
645
|
+
* With the `shell` option, the template text is the shell script and is kept
|
|
646
|
+
* as written.
|
|
647
|
+
*
|
|
648
|
+
* **Gotchas**
|
|
649
|
+
*
|
|
650
|
+
* - A template is parsed when `make` is called. Shell syntax such as `|`,
|
|
651
|
+
* `$HOME`, `*` or `~` throws a `CommandLine.CommandLineError`: quote it, or
|
|
652
|
+
* pass the value with `${}`.
|
|
653
|
+
* - A template with the `shell` option cannot contain `${}` values, because
|
|
654
|
+
* their quoting depends on the shell. Build the script with
|
|
655
|
+
* `CommandLine.quote` and pass it as a string.
|
|
656
|
+
* - The program name, the first word, cannot be `Redacted`.
|
|
657
|
+
* - A NUL character in the command, an argument or an `env` value fails with
|
|
658
|
+
* a `BadArgument` error when the command is spawned.
|
|
553
659
|
*
|
|
554
660
|
* **Example** (Creating commands)
|
|
555
661
|
*
|
|
556
662
|
* ```ts import.meta.vitest
|
|
557
663
|
* import { ChildProcess } from "effect/process"
|
|
558
664
|
*
|
|
559
|
-
* // Template literal form
|
|
560
|
-
* const cmd1 = ChildProcess.make`echo "hello"`
|
|
665
|
+
* // Template literal form; quotes group words
|
|
666
|
+
* const cmd1 = ChildProcess.make`echo "hello world"`
|
|
561
667
|
*
|
|
562
668
|
* // With options
|
|
563
669
|
* const cmd2 = ChildProcess.make({ cwd: "/tmp" })`ls -la`
|
|
@@ -565,14 +671,14 @@ export declare const make: {
|
|
|
565
671
|
* // Array form
|
|
566
672
|
* const cmd3 = ChildProcess.make("git", ["status"])
|
|
567
673
|
*
|
|
568
|
-
* const result = [cmd1.
|
|
674
|
+
* const result = [cmd1.args[0], cmd2.options.cwd, cmd3.args[0]] // => ["hello world", "/tmp", "status"]
|
|
569
675
|
* ```
|
|
570
676
|
*
|
|
571
677
|
* @stability unstable
|
|
572
678
|
* @category constructors
|
|
573
679
|
* @since 4.0.0
|
|
574
680
|
*/
|
|
575
|
-
(command: string, args: ReadonlyArray<
|
|
681
|
+
(command: string, args: ReadonlyArray<CommandLine.Word>, options?: CommandOptions): StandardCommand;
|
|
576
682
|
/**
|
|
577
683
|
* Create a command from a template literal, options + template, or array form.
|
|
578
684
|
*
|
|
@@ -583,16 +689,33 @@ export declare const make: {
|
|
|
583
689
|
* 2. Options + template literal: `make({ cwd: "/app" })\`npm run build\``
|
|
584
690
|
* 3. Array form: `make("npm", ["run", "build"], options?)`
|
|
585
691
|
*
|
|
586
|
-
*
|
|
587
|
-
*
|
|
692
|
+
* Templates are split with `CommandLine.template`: quotes group words, each
|
|
693
|
+
* `${}` value is one literal argument, and an argument that contains a
|
|
694
|
+
* `Redacted` value stays `Redacted`. Arguments in the array form can be
|
|
695
|
+
* `Redacted` too.
|
|
696
|
+
*
|
|
697
|
+
* With the `shell` option, the template text is the shell script and is kept
|
|
698
|
+
* as written.
|
|
699
|
+
*
|
|
700
|
+
* **Gotchas**
|
|
701
|
+
*
|
|
702
|
+
* - A template is parsed when `make` is called. Shell syntax such as `|`,
|
|
703
|
+
* `$HOME`, `*` or `~` throws a `CommandLine.CommandLineError`: quote it, or
|
|
704
|
+
* pass the value with `${}`.
|
|
705
|
+
* - A template with the `shell` option cannot contain `${}` values, because
|
|
706
|
+
* their quoting depends on the shell. Build the script with
|
|
707
|
+
* `CommandLine.quote` and pass it as a string.
|
|
708
|
+
* - The program name, the first word, cannot be `Redacted`.
|
|
709
|
+
* - A NUL character in the command, an argument or an `env` value fails with
|
|
710
|
+
* a `BadArgument` error when the command is spawned.
|
|
588
711
|
*
|
|
589
712
|
* **Example** (Creating commands)
|
|
590
713
|
*
|
|
591
714
|
* ```ts import.meta.vitest
|
|
592
715
|
* import { ChildProcess } from "effect/process"
|
|
593
716
|
*
|
|
594
|
-
* // Template literal form
|
|
595
|
-
* const cmd1 = ChildProcess.make`echo "hello"`
|
|
717
|
+
* // Template literal form; quotes group words
|
|
718
|
+
* const cmd1 = ChildProcess.make`echo "hello world"`
|
|
596
719
|
*
|
|
597
720
|
* // With options
|
|
598
721
|
* const cmd2 = ChildProcess.make({ cwd: "/tmp" })`ls -la`
|
|
@@ -600,14 +723,14 @@ export declare const make: {
|
|
|
600
723
|
* // Array form
|
|
601
724
|
* const cmd3 = ChildProcess.make("git", ["status"])
|
|
602
725
|
*
|
|
603
|
-
* const result = [cmd1.
|
|
726
|
+
* const result = [cmd1.args[0], cmd2.options.cwd, cmd3.args[0]] // => ["hello world", "/tmp", "status"]
|
|
604
727
|
* ```
|
|
605
728
|
*
|
|
606
729
|
* @stability unstable
|
|
607
730
|
* @category constructors
|
|
608
731
|
* @since 4.0.0
|
|
609
732
|
*/
|
|
610
|
-
(options: CommandOptions): (templates: TemplateStringsArray, ...expressions: ReadonlyArray<TemplateExpression>) => StandardCommand;
|
|
733
|
+
(options: CommandOptions): (templates: TemplateStringsArray, ...expressions: ReadonlyArray<CommandLine.TemplateExpression>) => StandardCommand;
|
|
611
734
|
/**
|
|
612
735
|
* Create a command from a template literal, options + template, or array form.
|
|
613
736
|
*
|
|
@@ -618,16 +741,33 @@ export declare const make: {
|
|
|
618
741
|
* 2. Options + template literal: `make({ cwd: "/app" })\`npm run build\``
|
|
619
742
|
* 3. Array form: `make("npm", ["run", "build"], options?)`
|
|
620
743
|
*
|
|
621
|
-
*
|
|
622
|
-
*
|
|
744
|
+
* Templates are split with `CommandLine.template`: quotes group words, each
|
|
745
|
+
* `${}` value is one literal argument, and an argument that contains a
|
|
746
|
+
* `Redacted` value stays `Redacted`. Arguments in the array form can be
|
|
747
|
+
* `Redacted` too.
|
|
748
|
+
*
|
|
749
|
+
* With the `shell` option, the template text is the shell script and is kept
|
|
750
|
+
* as written.
|
|
751
|
+
*
|
|
752
|
+
* **Gotchas**
|
|
753
|
+
*
|
|
754
|
+
* - A template is parsed when `make` is called. Shell syntax such as `|`,
|
|
755
|
+
* `$HOME`, `*` or `~` throws a `CommandLine.CommandLineError`: quote it, or
|
|
756
|
+
* pass the value with `${}`.
|
|
757
|
+
* - A template with the `shell` option cannot contain `${}` values, because
|
|
758
|
+
* their quoting depends on the shell. Build the script with
|
|
759
|
+
* `CommandLine.quote` and pass it as a string.
|
|
760
|
+
* - The program name, the first word, cannot be `Redacted`.
|
|
761
|
+
* - A NUL character in the command, an argument or an `env` value fails with
|
|
762
|
+
* a `BadArgument` error when the command is spawned.
|
|
623
763
|
*
|
|
624
764
|
* **Example** (Creating commands)
|
|
625
765
|
*
|
|
626
766
|
* ```ts import.meta.vitest
|
|
627
767
|
* import { ChildProcess } from "effect/process"
|
|
628
768
|
*
|
|
629
|
-
* // Template literal form
|
|
630
|
-
* const cmd1 = ChildProcess.make`echo "hello"`
|
|
769
|
+
* // Template literal form; quotes group words
|
|
770
|
+
* const cmd1 = ChildProcess.make`echo "hello world"`
|
|
631
771
|
*
|
|
632
772
|
* // With options
|
|
633
773
|
* const cmd2 = ChildProcess.make({ cwd: "/tmp" })`ls -la`
|
|
@@ -635,14 +775,14 @@ export declare const make: {
|
|
|
635
775
|
* // Array form
|
|
636
776
|
* const cmd3 = ChildProcess.make("git", ["status"])
|
|
637
777
|
*
|
|
638
|
-
* const result = [cmd1.
|
|
778
|
+
* const result = [cmd1.args[0], cmd2.options.cwd, cmd3.args[0]] // => ["hello world", "/tmp", "status"]
|
|
639
779
|
* ```
|
|
640
780
|
*
|
|
641
781
|
* @stability unstable
|
|
642
782
|
* @category constructors
|
|
643
783
|
* @since 4.0.0
|
|
644
784
|
*/
|
|
645
|
-
(templates: TemplateStringsArray, ...expressions: ReadonlyArray<TemplateExpression>): StandardCommand;
|
|
785
|
+
(templates: TemplateStringsArray, ...expressions: ReadonlyArray<CommandLine.TemplateExpression>): StandardCommand;
|
|
646
786
|
};
|
|
647
787
|
/**
|
|
648
788
|
* Pipes the output of one command to the input of another.
|
|
@@ -768,7 +908,7 @@ export declare const pipeTo: {
|
|
|
768
908
|
* ```ts import.meta.vitest
|
|
769
909
|
* import { ChildProcess } from "effect/process"
|
|
770
910
|
*
|
|
771
|
-
* const command = ChildProcess.make`echo
|
|
911
|
+
* const command = ChildProcess.make`echo foo`
|
|
772
912
|
*
|
|
773
913
|
* const prefixed = command.pipe(
|
|
774
914
|
* ChildProcess.prefix`time`
|
|
@@ -796,7 +936,7 @@ export declare const prefix: {
|
|
|
796
936
|
* ```ts import.meta.vitest
|
|
797
937
|
* import { ChildProcess } from "effect/process"
|
|
798
938
|
*
|
|
799
|
-
* const command = ChildProcess.make`echo
|
|
939
|
+
* const command = ChildProcess.make`echo foo`
|
|
800
940
|
*
|
|
801
941
|
* const prefixed = command.pipe(
|
|
802
942
|
* ChildProcess.prefix`time`
|
|
@@ -811,7 +951,7 @@ export declare const prefix: {
|
|
|
811
951
|
* @category combinators
|
|
812
952
|
* @since 4.0.0
|
|
813
953
|
*/
|
|
814
|
-
(command: string, args?: ReadonlyArray<
|
|
954
|
+
(command: string, args?: ReadonlyArray<CommandLine.Word>): (self: Command) => Command;
|
|
815
955
|
/**
|
|
816
956
|
* Prepends another command to a command.
|
|
817
957
|
*
|
|
@@ -824,7 +964,7 @@ export declare const prefix: {
|
|
|
824
964
|
* ```ts import.meta.vitest
|
|
825
965
|
* import { ChildProcess } from "effect/process"
|
|
826
966
|
*
|
|
827
|
-
* const command = ChildProcess.make`echo
|
|
967
|
+
* const command = ChildProcess.make`echo foo`
|
|
828
968
|
*
|
|
829
969
|
* const prefixed = command.pipe(
|
|
830
970
|
* ChildProcess.prefix`time`
|
|
@@ -839,7 +979,7 @@ export declare const prefix: {
|
|
|
839
979
|
* @category combinators
|
|
840
980
|
* @since 4.0.0
|
|
841
981
|
*/
|
|
842
|
-
(templates: TemplateStringsArray, ...expressions: ReadonlyArray<TemplateExpression>): (self: Command) => Command;
|
|
982
|
+
(templates: TemplateStringsArray, ...expressions: ReadonlyArray<CommandLine.TemplateExpression>): (self: Command) => Command;
|
|
843
983
|
/**
|
|
844
984
|
* Prepends another command to a command.
|
|
845
985
|
*
|
|
@@ -852,7 +992,7 @@ export declare const prefix: {
|
|
|
852
992
|
* ```ts import.meta.vitest
|
|
853
993
|
* import { ChildProcess } from "effect/process"
|
|
854
994
|
*
|
|
855
|
-
* const command = ChildProcess.make`echo
|
|
995
|
+
* const command = ChildProcess.make`echo foo`
|
|
856
996
|
*
|
|
857
997
|
* const prefixed = command.pipe(
|
|
858
998
|
* ChildProcess.prefix`time`
|
|
@@ -867,7 +1007,7 @@ export declare const prefix: {
|
|
|
867
1007
|
* @category combinators
|
|
868
1008
|
* @since 4.0.0
|
|
869
1009
|
*/
|
|
870
|
-
(self: Command, command: string, args?: ReadonlyArray<
|
|
1010
|
+
(self: Command, command: string, args?: ReadonlyArray<CommandLine.Word>): Command;
|
|
871
1011
|
};
|
|
872
1012
|
/**
|
|
873
1013
|
* Sets the current working directory for a command.
|
|
@@ -986,7 +1126,7 @@ export declare const setEnv: {
|
|
|
986
1126
|
* @category combinators
|
|
987
1127
|
* @since 4.0.0
|
|
988
1128
|
*/
|
|
989
|
-
(env: Record<string, string
|
|
1129
|
+
(env: Record<string, string | Redacted.Redacted<string>>): (self: Command) => Command;
|
|
990
1130
|
/**
|
|
991
1131
|
* Adds environment variables to a command, merging them with any existing
|
|
992
1132
|
* command environment and overriding duplicate keys.
|
|
@@ -1010,7 +1150,7 @@ export declare const setEnv: {
|
|
|
1010
1150
|
* @category combinators
|
|
1011
1151
|
* @since 4.0.0
|
|
1012
1152
|
*/
|
|
1013
|
-
(self: Command, env: Record<string, string
|
|
1153
|
+
(self: Command, env: Record<string, string | Redacted.Redacted<string>>): Command;
|
|
1014
1154
|
};
|
|
1015
1155
|
/**
|
|
1016
1156
|
* Parses an fd name like "fd3" to its numeric index.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChildProcess.d.ts","sourceRoot":"","sources":["../../src/process/ChildProcess.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,KAAK,QAAQ,MAAM,gBAAgB,CAAA;AAC/C,OAAO,KAAK,KAAK,MAAM,MAAM,cAAc,CAAA;AAG3C,OAAO,KAAK,KAAK,aAAa,MAAM,qBAAqB,CAAA;AAEzD,OAAO,KAAK,KAAK,KAAK,MAAM,aAAa,CAAA;AACzC,OAAO,KAAK,KAAK,IAAI,MAAM,YAAY,CAAA;AACvC,OAAO,KAAK,KAAK,MAAM,MAAM,cAAc,CAAA;AAC3C,OAAO,EAAE,KAAK,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;
|
|
1
|
+
{"version":3,"file":"ChildProcess.d.ts","sourceRoot":"","sources":["../../src/process/ChildProcess.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,KAAK,QAAQ,MAAM,gBAAgB,CAAA;AAC/C,OAAO,KAAK,KAAK,MAAM,MAAM,cAAc,CAAA;AAG3C,OAAO,KAAK,KAAK,aAAa,MAAM,qBAAqB,CAAA;AAEzD,OAAO,KAAK,KAAK,QAAQ,MAAM,gBAAgB,CAAA;AAE/C,OAAO,KAAK,KAAK,KAAK,MAAM,aAAa,CAAA;AACzC,OAAO,KAAK,KAAK,IAAI,MAAM,YAAY,CAAA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