effect 4.0.6 → 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/Arbitrary.d.ts +10 -2
- package/dist/Arbitrary.d.ts.map +1 -1
- package/dist/Arbitrary.js +2 -1
- package/dist/Arbitrary.js.map +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 +30 -9
- 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/Data.d.ts +54 -235
- package/dist/Data.d.ts.map +1 -1
- package/dist/Data.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 +165 -8
- package/dist/Effect.d.ts.map +1 -1
- package/dist/Effect.js +12 -2
- package/dist/Effect.js.map +1 -1
- package/dist/Equal.d.ts.map +1 -1
- package/dist/Equal.js +8 -1
- package/dist/Equal.js.map +1 -1
- package/dist/Exit.d.ts +3 -3
- package/dist/Exit.d.ts.map +1 -1
- package/dist/Exit.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/Formatter.d.ts.map +1 -1
- package/dist/Formatter.js +27 -13
- package/dist/Formatter.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/Hash.d.ts.map +1 -1
- package/dist/Hash.js +4 -1
- package/dist/Hash.js.map +1 -1
- package/dist/JsonPatch.js +4 -0
- package/dist/JsonPatch.js.map +1 -1
- package/dist/JsonSchema.d.ts.map +1 -1
- package/dist/JsonSchema.js +13 -40
- package/dist/JsonSchema.js.map +1 -1
- 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/Metric.d.ts +3 -3
- package/dist/MutableList.d.ts +5 -2
- package/dist/MutableList.d.ts.map +1 -1
- package/dist/MutableList.js +7 -5
- package/dist/MutableList.js.map +1 -1
- package/dist/MutableRef.d.ts.map +1 -1
- package/dist/MutableRef.js +7 -0
- package/dist/MutableRef.js.map +1 -1
- package/dist/PartitionedSemaphore.d.ts +2 -1
- package/dist/PartitionedSemaphore.d.ts.map +1 -1
- package/dist/PartitionedSemaphore.js +22 -12
- package/dist/PartitionedSemaphore.js.map +1 -1
- package/dist/Pool.d.ts +51 -0
- package/dist/Pool.d.ts.map +1 -1
- package/dist/Pool.js +136 -36
- package/dist/Pool.js.map +1 -1
- package/dist/PubSub.d.ts.map +1 -1
- package/dist/PubSub.js +5 -6
- package/dist/PubSub.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/Ref.d.ts.map +1 -1
- package/dist/Ref.js +8 -0
- package/dist/Ref.js.map +1 -1
- package/dist/Schedule.d.ts +18 -1
- package/dist/Schedule.d.ts.map +1 -1
- package/dist/Schedule.js +8 -3
- package/dist/Schedule.js.map +1 -1
- package/dist/Schema.d.ts +690 -49
- package/dist/Schema.d.ts.map +1 -1
- package/dist/Schema.js +687 -28
- package/dist/Schema.js.map +1 -1
- package/dist/SchemaAST.d.ts +4 -2
- package/dist/SchemaAST.d.ts.map +1 -1
- package/dist/SchemaAST.js +14 -17
- package/dist/SchemaAST.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/SchemaParser.d.ts.map +1 -1
- package/dist/SchemaParser.js +48 -22
- package/dist/SchemaParser.js.map +1 -1
- package/dist/SchemaRepresentation.d.ts +33 -10
- package/dist/SchemaRepresentation.d.ts.map +1 -1
- package/dist/SchemaRepresentation.js +39 -13
- package/dist/SchemaRepresentation.js.map +1 -1
- package/dist/SchemaTransformation.d.ts +12 -4
- package/dist/SchemaTransformation.d.ts.map +1 -1
- package/dist/SchemaTransformation.js +15 -5
- 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 +94 -35
- package/dist/Semaphore.js.map +1 -1
- package/dist/Sink.d.ts.map +1 -1
- package/dist/Sink.js +7 -2
- package/dist/Sink.js.map +1 -1
- package/dist/Stream.d.ts +13 -4
- package/dist/Stream.d.ts.map +1 -1
- package/dist/Stream.js +31 -10
- package/dist/Stream.js.map +1 -1
- package/dist/String.d.ts +3 -0
- package/dist/String.d.ts.map +1 -1
- package/dist/String.js +3 -0
- package/dist/String.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/Tracer.d.ts +11 -1
- package/dist/Tracer.d.ts.map +1 -1
- package/dist/Tracer.js +6 -1
- package/dist/Tracer.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/LanguageModel.d.ts.map +1 -1
- package/dist/ai/LanguageModel.js +9 -0
- package/dist/ai/LanguageModel.js.map +1 -1
- package/dist/ai/McpSchema.d.ts +110 -110
- package/dist/ai/McpSchema.d.ts.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 +583 -131
- 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/Prompt.d.ts +52 -0
- package/dist/ai/Prompt.d.ts.map +1 -1
- package/dist/ai/Prompt.js +38 -0
- package/dist/ai/Prompt.js.map +1 -1
- package/dist/ai/Response.d.ts +17 -28
- package/dist/ai/Response.d.ts.map +1 -1
- package/dist/ai/Response.js +5 -10
- package/dist/ai/Response.js.map +1 -1
- package/dist/ai/Tool.d.ts +43 -1
- package/dist/ai/Tool.d.ts.map +1 -1
- package/dist/ai/Tool.js +5 -2
- package/dist/ai/Tool.js.map +1 -1
- package/dist/ai/Toolkit.d.ts.map +1 -1
- package/dist/ai/Toolkit.js +8 -1
- package/dist/ai/Toolkit.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 +21 -0
- package/dist/cli/Argument.d.ts.map +1 -1
- package/dist/cli/Argument.js +7 -0
- package/dist/cli/Argument.js.map +1 -1
- package/dist/cli/CliError.d.ts +78 -0
- package/dist/cli/CliError.d.ts.map +1 -1
- package/dist/cli/CliError.js +65 -3
- package/dist/cli/CliError.js.map +1 -1
- package/dist/cli/CliOutput.d.ts +220 -7
- package/dist/cli/CliOutput.d.ts.map +1 -1
- package/dist/cli/CliOutput.js +156 -43
- package/dist/cli/CliOutput.js.map +1 -1
- package/dist/cli/Command.d.ts +47 -16
- package/dist/cli/Command.d.ts.map +1 -1
- package/dist/cli/Command.js +67 -29
- package/dist/cli/Command.js.map +1 -1
- package/dist/cli/Completions.d.ts +58 -0
- package/dist/cli/Completions.d.ts.map +1 -1
- package/dist/cli/Completions.js +49 -9
- package/dist/cli/Completions.js.map +1 -1
- package/dist/cli/Flag.d.ts +122 -0
- package/dist/cli/Flag.d.ts.map +1 -1
- package/dist/cli/Flag.js +42 -0
- package/dist/cli/Flag.js.map +1 -1
- package/dist/cli/GlobalFlag.d.ts.map +1 -1
- package/dist/cli/GlobalFlag.js +15 -7
- package/dist/cli/GlobalFlag.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 +15 -0
- package/dist/cli/Param.d.ts.map +1 -1
- package/dist/cli/Param.js +23 -2
- 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/TerminalCapabilities.d.ts +3 -2
- package/dist/cli/TerminalCapabilities.d.ts.map +1 -1
- package/dist/cli/TerminalCapabilities.js +3 -1
- package/dist/cli/TerminalCapabilities.js.map +1 -1
- package/dist/cli/internal/completions/bash.js +73 -27
- package/dist/cli/internal/completions/bash.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/ClusterWorkflowEngine.d.ts.map +1 -1
- package/dist/cluster/ClusterWorkflowEngine.js +45 -10
- package/dist/cluster/ClusterWorkflowEngine.js.map +1 -1
- package/dist/cluster/MessageStorage.d.ts +23 -45
- package/dist/cluster/MessageStorage.d.ts.map +1 -1
- package/dist/cluster/MessageStorage.js +6 -7
- package/dist/cluster/MessageStorage.js.map +1 -1
- package/dist/cluster/Sharding.d.ts.map +1 -1
- package/dist/cluster/Sharding.js +151 -49
- package/dist/cluster/Sharding.js.map +1 -1
- package/dist/cluster/ShardingConfig.d.ts +76 -0
- 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/Snowflake.d.ts.map +1 -1
- package/dist/cluster/Snowflake.js +3 -7
- package/dist/cluster/Snowflake.js.map +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 +109 -46
- package/dist/cluster/SqlRunnerStorage.js.map +1 -1
- package/dist/cluster/internal/entityManager.js +54 -20
- package/dist/cluster/internal/entityManager.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/devtools/DevToolsClient.d.ts.map +1 -1
- package/dist/devtools/DevToolsClient.js +2 -0
- package/dist/devtools/DevToolsClient.js.map +1 -1
- package/dist/encoding/Base64.js +36 -0
- package/dist/encoding/Base64.js.map +1 -1
- 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/Sse.d.ts.map +1 -1
- package/dist/encoding/Sse.js +3 -3
- package/dist/encoding/Sse.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 +124 -31
- 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.d.ts.map +1 -1
- package/dist/eventlog/SqlEventJournal.js +47 -27
- 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/conflicts.d.ts +0 -1
- package/dist/eventlog/internal/conflicts.d.ts.map +1 -1
- package/dist/eventlog/internal/conflicts.js +0 -3
- package/dist/eventlog/internal/conflicts.js.map +1 -1
- 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 +153 -10
- 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 +502 -8
- package/dist/http/HttpClient.d.ts.map +1 -1
- package/dist/http/HttpClient.js +296 -12
- package/dist/http/HttpClient.js.map +1 -1
- package/dist/http/HttpClientError.d.ts +8 -1
- package/dist/http/HttpClientError.d.ts.map +1 -1
- package/dist/http/HttpClientError.js +37 -1
- package/dist/http/HttpClientError.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 +3 -4
- 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/HttpMiddleware.d.ts +1 -1
- package/dist/http/HttpMiddleware.d.ts.map +1 -1
- package/dist/http/HttpMiddleware.js +14 -16
- package/dist/http/HttpMiddleware.js.map +1 -1
- package/dist/http/HttpRouter.d.ts.map +1 -1
- package/dist/http/HttpRouter.js +2 -1
- package/dist/http/HttpRouter.js.map +1 -1
- package/dist/http/HttpServerError.js +2 -2
- package/dist/http/HttpServerError.js.map +1 -1
- package/dist/http/HttpServerRequest.d.ts +11 -3
- package/dist/http/HttpServerRequest.d.ts.map +1 -1
- package/dist/http/HttpServerRequest.js +77 -25
- 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/HttpStaticServer.d.ts.map +1 -1
- package/dist/http/HttpStaticServer.js +48 -21
- package/dist/http/HttpStaticServer.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/MultipartParser/internal/contentType.js +3 -3
- 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/UrlParams.d.ts +3 -1
- package/dist/http/UrlParams.d.ts.map +1 -1
- package/dist/http/UrlParams.js +4 -2
- package/dist/http/UrlParams.js.map +1 -1
- 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/compression.js +4 -5
- package/dist/http/internal/compression.js.map +1 -1
- package/dist/http/internal/decompression.js +6 -2
- package/dist/http/internal/decompression.js.map +1 -1
- package/dist/http/internal/httpBody.js +8 -1
- package/dist/http/internal/httpBody.js.map +1 -1
- package/dist/http/internal/urlParams.js +33 -0
- package/dist/http/internal/urlParams.js.map +1 -1
- package/dist/http-api/HttpApi.d.ts +3 -6
- package/dist/http-api/HttpApi.d.ts.map +1 -1
- package/dist/http-api/HttpApi.js +3 -6
- package/dist/http-api/HttpApi.js.map +1 -1
- package/dist/http-api/HttpApiBuilder.d.ts.map +1 -1
- package/dist/http-api/HttpApiBuilder.js +43 -13
- package/dist/http-api/HttpApiBuilder.js.map +1 -1
- package/dist/http-api/HttpApiClient.d.ts +140 -7
- package/dist/http-api/HttpApiClient.d.ts.map +1 -1
- package/dist/http-api/HttpApiClient.js +193 -44
- package/dist/http-api/HttpApiClient.js.map +1 -1
- package/dist/http-api/HttpApiEndpoint.d.ts +24 -7
- package/dist/http-api/HttpApiEndpoint.d.ts.map +1 -1
- package/dist/http-api/HttpApiEndpoint.js +123 -32
- 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 +142 -33
- package/dist/http-api/HttpApiSchema.d.ts.map +1 -1
- package/dist/http-api/HttpApiSchema.js +123 -59
- package/dist/http-api/HttpApiSchema.js.map +1 -1
- package/dist/http-api/HttpApiTest.d.ts.map +1 -1
- package/dist/http-api/HttpApiTest.js +3 -2
- package/dist/http-api/HttpApiTest.js.map +1 -1
- package/dist/http-api/OpenApi.d.ts.map +1 -1
- package/dist/http-api/OpenApi.js +25 -16
- package/dist/http-api/OpenApi.js.map +1 -1
- package/dist/http-api/internal/toCodecHttpProperties.d.ts +2 -0
- package/dist/http-api/internal/toCodecHttpProperties.d.ts.map +1 -0
- package/dist/http-api/internal/toCodecHttpProperties.js +38 -0
- package/dist/http-api/internal/toCodecHttpProperties.js.map +1 -0
- 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/arbitrary/runner.d.ts.map +1 -1
- package/dist/internal/arbitrary/runner.js +120 -44
- package/dist/internal/arbitrary/runner.js.map +1 -1
- package/dist/internal/core.js +2 -0
- package/dist/internal/core.js.map +1 -1
- package/dist/internal/effect.js +46 -27
- package/dist/internal/effect.js.map +1 -1
- package/dist/internal/equal.js +14 -0
- package/dist/internal/equal.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/jsonSchema.d.ts +2 -0
- package/dist/internal/jsonSchema.d.ts.map +1 -0
- package/dist/internal/jsonSchema.js +28 -0
- package/dist/internal/jsonSchema.js.map +1 -0
- package/dist/internal/matcher.js +11 -1
- 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/compilerRegistry.js +4 -1
- package/dist/internal/schema/compilerRegistry.js.map +1 -1
- package/dist/internal/schema/content.d.ts +2 -0
- package/dist/internal/schema/content.d.ts.map +1 -0
- package/dist/internal/schema/content.js +13 -0
- package/dist/internal/schema/content.js.map +1 -0
- package/dist/internal/schema/fromJsonSchemaDocument.js +173 -185
- package/dist/internal/schema/fromJsonSchemaDocument.js.map +1 -1
- package/dist/internal/schema/fromRepresentation.js +2 -1
- package/dist/internal/schema/fromRepresentation.js.map +1 -1
- package/dist/internal/schema/standardSchema.js +8 -2
- package/dist/internal/schema/standardSchema.js.map +1 -1
- package/dist/internal/schema/toCodeDocument.js +9 -6
- package/dist/internal/schema/toCodeDocument.js.map +1 -1
- package/dist/internal/schema/toCodec.js +21 -24
- package/dist/internal/schema/toCodec.js.map +1 -1
- package/dist/internal/schema/toJsonSchemaDocument.js +205 -140
- package/dist/internal/schema/toJsonSchemaDocument.js.map +1 -1
- package/dist/internal/schema/toRepresentation.js +107 -129
- package/dist/internal/schema/toRepresentation.js.map +1 -1
- package/dist/internal/sql.d.ts +2 -0
- package/dist/internal/sql.d.ts.map +1 -0
- package/dist/internal/sql.js +13 -0
- package/dist/internal/sql.js.map +1 -0
- 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/OtlpProxy.d.ts +154 -0
- package/dist/observability/OtlpProxy.d.ts.map +1 -0
- package/dist/observability/OtlpProxy.js +235 -0
- package/dist/observability/OtlpProxy.js.map +1 -0
- 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/observability/OtlpTracer.d.ts.map +1 -1
- package/dist/observability/OtlpTracer.js +4 -0
- package/dist/observability/OtlpTracer.js.map +1 -1
- package/dist/observability/index.d.ts +5 -0
- package/dist/observability/index.d.ts.map +1 -1
- package/dist/observability/index.js +5 -0
- package/dist/observability/index.js.map +1 -1
- package/dist/persistence/CircuitBreaker.d.ts +897 -0
- package/dist/persistence/CircuitBreaker.d.ts.map +1 -0
- package/dist/persistence/CircuitBreaker.js +1165 -0
- package/dist/persistence/CircuitBreaker.js.map +1 -0
- 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/persistence/Redis.d.ts +78 -2
- package/dist/persistence/Redis.d.ts.map +1 -1
- package/dist/persistence/Redis.js +62 -7
- package/dist/persistence/Redis.js.map +1 -1
- package/dist/persistence/index.d.ts +5 -0
- package/dist/persistence/index.d.ts.map +1 -1
- package/dist/persistence/index.js +5 -0
- package/dist/persistence/index.js.map +1 -1
- package/dist/process/ChildProcess.d.ts +237 -71
- 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 +35 -0
- package/dist/process/ChildProcessSpawner.d.ts.map +1 -1
- package/dist/process/ChildProcessSpawner.js +5 -2
- 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/AsyncResult.d.ts +1 -1
- package/dist/reactivity/AsyncResult.d.ts.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 +59 -24
- 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 +14 -0
- package/dist/rpc/RpcSerialization.d.ts.map +1 -1
- package/dist/rpc/RpcSerialization.js +26 -8
- 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 -56
- package/dist/rpc/RpcServer.js.map +1 -1
- package/dist/rpc/RpcTest.d.ts +1 -0
- package/dist/rpc/RpcTest.d.ts.map +1 -1
- package/dist/rpc/RpcTest.js +1 -0
- package/dist/rpc/RpcTest.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 +2 -20
- package/dist/sql/Migrator.d.ts.map +1 -1
- package/dist/sql/Migrator.js +13 -55
- 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 +9 -4
- package/dist/sql/SqlClient.d.ts.map +1 -1
- package/dist/sql/SqlClient.js +13 -10
- package/dist/sql/SqlClient.js.map +1 -1
- package/dist/sql/SqlResolver.d.ts +4 -0
- package/dist/sql/SqlResolver.d.ts.map +1 -1
- package/dist/sql/SqlResolver.js +18 -4
- package/dist/sql/SqlResolver.js.map +1 -1
- package/dist/sql/Statement.d.ts +27 -6
- package/dist/sql/Statement.d.ts.map +1 -1
- package/dist/sql/Statement.js +21 -15
- 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/DurableDeferred.d.ts.map +1 -1
- package/dist/workflow/DurableDeferred.js +21 -2
- package/dist/workflow/DurableDeferred.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/Arbitrary.ts +10 -2
- package/src/BigDecimal.ts +3 -0
- package/src/Channel.ts +64 -29
- package/src/Config.ts +7 -1
- package/src/Context.ts +34 -10
- package/src/Cron.ts +178 -29
- package/src/Data.ts +60 -265
- package/src/Duration.ts +140 -0
- package/src/Effect.ts +915 -86
- package/src/Equal.ts +8 -1
- package/src/Exit.ts +3 -3
- package/src/FileSystem.ts +65 -4
- package/src/Formatter.ts +28 -13
- package/src/Glob.ts +205 -0
- package/src/Hash.ts +4 -1
- package/src/JsonPatch.ts +4 -0
- package/src/JsonSchema.ts +12 -40
- package/src/Match.ts +127 -0
- package/src/Metric.ts +3 -3
- package/src/MutableList.ts +7 -5
- package/src/MutableRef.ts +8 -1
- package/src/PartitionedSemaphore.ts +24 -13
- package/src/Pool.ts +182 -52
- package/src/PubSub.ts +5 -6
- package/src/Random.ts +3 -3
- package/src/RcMap.ts +5 -1
- package/src/Ref.ts +8 -0
- package/src/Schedule.ts +27 -4
- package/src/Schema.ts +1237 -87
- package/src/SchemaAST.ts +20 -20
- package/src/SchemaGetter.ts +27 -11
- package/src/SchemaParser.ts +51 -18
- package/src/SchemaRepresentation.ts +50 -34
- package/src/SchemaTransformation.ts +17 -5
- package/src/ScopedCache.ts +5 -9
- package/src/Semaphore.ts +208 -40
- package/src/Sink.ts +15 -2
- package/src/Stream.ts +48 -22
- package/src/String.ts +3 -0
- package/src/Terminal.ts +19 -1
- package/src/Tracer.ts +15 -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/LanguageModel.ts +9 -0
- package/src/ai/McpServer.ts +1283 -299
- package/src/ai/McpTest.ts +380 -0
- package/src/ai/Prompt.ts +65 -0
- package/src/ai/Response.ts +36 -31
- package/src/ai/Tool.ts +65 -10
- package/src/ai/Toolkit.ts +4 -1
- 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 +21 -0
- package/src/cli/CliError.ts +90 -3
- package/src/cli/CliOutput.ts +300 -55
- package/src/cli/Command.ts +76 -41
- package/src/cli/Completions.ts +51 -0
- package/src/cli/Flag.ts +122 -0
- package/src/cli/GlobalFlag.ts +6 -7
- package/src/cli/HelpDoc.ts +18 -1
- package/src/cli/Param.ts +35 -6
- package/src/cli/Primitive.ts +16 -1
- package/src/cli/Prompt.ts +1 -0
- package/src/cli/TerminalCapabilities.ts +6 -3
- package/src/cli/internal/completions/bash.ts +79 -29
- package/src/cli/internal/help.ts +21 -9
- package/src/cluster/ClusterWorkflowEngine.ts +46 -16
- package/src/cluster/MessageStorage.ts +19 -14
- package/src/cluster/Sharding.ts +176 -47
- package/src/cluster/ShardingConfig.ts +43 -0
- package/src/cluster/SingleRunner.ts +3 -3
- package/src/cluster/Snowflake.ts +3 -7
- package/src/cluster/SqlMessageStorage.ts +49 -17
- package/src/cluster/SqlRunnerStorage.ts +143 -70
- package/src/cluster/internal/entityManager.ts +75 -22
- 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/devtools/DevToolsClient.ts +2 -0
- package/src/encoding/Base64.ts +38 -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/Sse.ts +4 -3
- package/src/encoding/Toml.ts +117 -35
- 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 +68 -45
- 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/conflicts.ts +0 -4
- package/src/eventlog/internal/identityRootSecretDerivation.ts +93 -123
- package/src/eventlog/internal/remoteCompaction.ts +92 -0
- package/src/http/Cookies.ts +291 -12
- package/src/http/FetchHttpClient.ts +88 -16
- package/src/http/HttpClient.ts +636 -29
- package/src/http/HttpClientError.ts +35 -1
- package/src/http/HttpClientRequest.ts +21 -10
- package/src/http/HttpClientResponse.ts +3 -2
- package/src/http/HttpMethod.ts +10 -2
- package/src/http/HttpMiddleware.ts +15 -18
- package/src/http/HttpRouter.ts +2 -1
- package/src/http/HttpServerError.ts +2 -2
- package/src/http/HttpServerRequest.ts +101 -30
- package/src/http/HttpServerResponse.ts +3 -2
- package/src/http/HttpStaticServer.ts +51 -22
- package/src/http/HttpTraceContext.ts +7 -4
- package/src/http/MultipartParser/internal/contentType.ts +3 -3
- package/src/http/ProblemDetails.ts +149 -0
- package/src/http/UrlParams.ts +6 -1
- package/src/http/index.ts +6 -0
- package/src/http/internal/compression.ts +4 -5
- package/src/http/internal/decompression.ts +10 -4
- package/src/http/internal/httpBody.ts +10 -2
- package/src/http/internal/urlParams.ts +37 -0
- package/src/http-api/HttpApi.ts +3 -6
- package/src/http-api/HttpApiBuilder.ts +61 -19
- package/src/http-api/HttpApiClient.ts +284 -72
- package/src/http-api/HttpApiEndpoint.ts +135 -35
- package/src/http-api/HttpApiError.ts +250 -0
- package/src/http-api/HttpApiMiddleware.ts +95 -1
- package/src/http-api/HttpApiSchema.ts +236 -52
- package/src/http-api/HttpApiTest.ts +3 -2
- package/src/http-api/OpenApi.ts +20 -17
- package/src/http-api/internal/toCodecHttpProperties.ts +56 -0
- package/src/index.ts +6 -6
- package/src/internal/arbitrary/runner.ts +133 -36
- package/src/internal/core.ts +2 -0
- package/src/internal/effect.ts +58 -34
- package/src/internal/equal.ts +17 -0
- package/src/internal/glob.ts +736 -0
- package/src/internal/jsonSchema.ts +27 -0
- package/src/internal/matcher.ts +18 -1
- package/src/internal/persistence.ts +11 -0
- package/src/internal/rcRef.ts +4 -1
- package/src/internal/schema/compilerRegistry.ts +6 -1
- package/src/internal/schema/content.ts +18 -0
- package/src/internal/schema/fromJsonSchemaDocument.ts +228 -190
- package/src/internal/schema/fromRepresentation.ts +2 -1
- package/src/internal/schema/standardSchema.ts +2 -2
- package/src/internal/schema/toCodeDocument.ts +11 -7
- package/src/internal/schema/toCodec.ts +26 -22
- package/src/internal/schema/toJsonSchemaDocument.ts +189 -167
- package/src/internal/schema/toRepresentation.ts +122 -140
- package/src/internal/sql.ts +14 -0
- 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/OtlpProxy.ts +314 -0
- package/src/observability/OtlpResource.ts +9 -1
- package/src/observability/OtlpTracer.ts +4 -0
- package/src/observability/index.ts +6 -0
- package/src/persistence/CircuitBreaker.ts +1678 -0
- package/src/persistence/KeyValueStore.ts +219 -22
- package/src/persistence/PersistedQueue.ts +128 -59
- package/src/persistence/Persistence.ts +20 -13
- package/src/persistence/Redis.ts +129 -8
- package/src/persistence/index.ts +6 -0
- package/src/process/ChildProcess.ts +285 -264
- package/src/process/ChildProcessSpawner.ts +46 -2
- package/src/process/CommandLine.ts +630 -0
- package/src/process/index.ts +6 -0
- package/src/reactivity/AsyncResult.ts +1 -1
- package/src/reactivity/Atom.ts +5 -5
- package/src/reactivity/AtomRegistry.ts +1 -1
- package/src/rpc/RpcClient.ts +75 -36
- package/src/rpc/RpcMessage.ts +10 -1
- package/src/rpc/RpcSerialization.ts +35 -9
- package/src/rpc/RpcServer.ts +176 -63
- package/src/rpc/RpcTest.ts +3 -0
- package/src/schema/Model.ts +26 -3
- package/src/sql/Migrator.ts +15 -69
- package/src/sql/MigratorFileSystem.ts +71 -0
- package/src/sql/SqlClient.ts +13 -20
- package/src/sql/SqlResolver.ts +23 -9
- package/src/sql/Statement.ts +38 -9
- package/src/sql/index.ts +1 -1
- package/src/testing/index.ts +0 -6
- package/src/workflow/DurableDeferred.ts +23 -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
|
}
|
|
@@ -214,10 +217,17 @@ export interface StdoutConfig {
|
|
|
214
217
|
* Can be a string indicating how the operating system should configure the
|
|
215
218
|
* pipe established between the child process `stdout` and the parent process.
|
|
216
219
|
*
|
|
217
|
-
* A `Sink` can also be passed
|
|
218
|
-
*
|
|
220
|
+
* A `Sink` can also be passed. The output is transduced through the sink as
|
|
221
|
+
* `handle.stdout` is consumed, and `handle.stdout` emits the results produced by
|
|
222
|
+
* the sink instead of the raw output.
|
|
219
223
|
*
|
|
220
224
|
* Defaults to "pipe".
|
|
225
|
+
*
|
|
226
|
+
* **Gotchas**
|
|
227
|
+
*
|
|
228
|
+
* A `Sink` only receives data while `handle.stdout` is being consumed. If
|
|
229
|
+
* it is never consumed, the sink receives nothing and a child process that
|
|
230
|
+
* writes more than the pipe buffer can block before it exits.
|
|
221
231
|
*/
|
|
222
232
|
readonly stream?: CommandOutput | undefined;
|
|
223
233
|
}
|
|
@@ -237,10 +247,17 @@ export interface StderrConfig {
|
|
|
237
247
|
* Can be a string indicating how the operating system should configure the
|
|
238
248
|
* pipe established between the child process `stderr` and the parent process.
|
|
239
249
|
*
|
|
240
|
-
* A `Sink` can also be passed
|
|
241
|
-
*
|
|
250
|
+
* A `Sink` can also be passed. The output is transduced through the sink as
|
|
251
|
+
* `handle.stderr` is consumed, and `handle.stderr` emits the results produced by
|
|
252
|
+
* the sink instead of the raw output.
|
|
242
253
|
*
|
|
243
254
|
* Defaults to "pipe".
|
|
255
|
+
*
|
|
256
|
+
* **Gotchas**
|
|
257
|
+
*
|
|
258
|
+
* A `Sink` only receives data while `handle.stderr` is being consumed. If
|
|
259
|
+
* it is never consumed, the sink receives nothing and a child process that
|
|
260
|
+
* writes more than the pipe buffer can block before it exits.
|
|
244
261
|
*/
|
|
245
262
|
readonly stream?: CommandOutput | undefined;
|
|
246
263
|
}
|
|
@@ -273,6 +290,34 @@ export type AdditionalFdConfig = {
|
|
|
273
290
|
/**
|
|
274
291
|
* For output file descriptors, an optional sink which receives data from
|
|
275
292
|
* the file descriptor.
|
|
293
|
+
*
|
|
294
|
+
* **Details**
|
|
295
|
+
*
|
|
296
|
+
* The data is transduced through the sink as `handle.getOutputFd(fd)` is
|
|
297
|
+
* consumed, and that stream emits the results produced by the sink
|
|
298
|
+
* instead of the raw output.
|
|
299
|
+
*
|
|
300
|
+
* **Gotchas**
|
|
301
|
+
*
|
|
302
|
+
* The sink only receives data while `handle.getOutputFd(fd)` is being
|
|
303
|
+
* consumed. If it is never consumed, the sink receives nothing and a child
|
|
304
|
+
* process that writes more than the pipe buffer can block before it exits.
|
|
305
|
+
*/
|
|
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.
|
|
276
321
|
*/
|
|
277
322
|
readonly sink?: Sink.Sink<Uint8Array, Uint8Array, never, PlatformError.PlatformError> | undefined;
|
|
278
323
|
};
|
|
@@ -295,14 +340,18 @@ export interface CommandOptions extends KillOptions {
|
|
|
295
340
|
*
|
|
296
341
|
* If `extendEnv` is set to `true`, the value of `env` will be merged with
|
|
297
342
|
* the value of `globalThis.process.env`, prioritizing the values in `env`
|
|
298
|
-
* 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.
|
|
299
348
|
*
|
|
300
349
|
* **Gotchas**
|
|
301
350
|
*
|
|
302
351
|
* Without `extendEnv: true`, providing `env` replaces the inherited child
|
|
303
352
|
* environment. The child will not receive `PATH` unless `env` includes it.
|
|
304
353
|
*/
|
|
305
|
-
readonly env?: Record<string, string | undefined> | undefined;
|
|
354
|
+
readonly env?: Record<string, string | Redacted.Redacted<string> | undefined> | undefined;
|
|
306
355
|
/**
|
|
307
356
|
* If set to `true`, the child process uses both the values in `env` as well
|
|
308
357
|
* as the values in `globalThis.process.env`, prioritizing the values in `env`
|
|
@@ -316,17 +365,45 @@ export interface CommandOptions extends KillOptions {
|
|
|
316
365
|
*/
|
|
317
366
|
readonly extendEnv?: boolean | undefined;
|
|
318
367
|
/**
|
|
319
|
-
* If set to `true`, runs the command inside of a shell,
|
|
320
|
-
* 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.
|
|
321
370
|
*
|
|
322
371
|
* **Details**
|
|
323
372
|
*
|
|
324
373
|
* Can also be set to a string representing the absolute path to a shell to
|
|
325
|
-
* 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.
|
|
326
382
|
*
|
|
327
383
|
* **Gotchas**
|
|
328
384
|
*
|
|
329
|
-
*
|
|
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
|
+
* ```
|
|
330
407
|
*/
|
|
331
408
|
readonly shell?: boolean | string | undefined;
|
|
332
409
|
/**
|
|
@@ -372,11 +449,21 @@ export interface CommandOptions extends KillOptions {
|
|
|
372
449
|
*
|
|
373
450
|
* **Details**
|
|
374
451
|
*
|
|
375
|
-
* Keys
|
|
376
|
-
*
|
|
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.
|
|
456
|
+
*
|
|
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.
|
|
377
463
|
*
|
|
378
|
-
*
|
|
379
|
-
*
|
|
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.
|
|
380
467
|
*
|
|
381
468
|
* **Example** (Configuring additional file descriptors)
|
|
382
469
|
*
|
|
@@ -396,28 +483,22 @@ export interface CommandOptions extends KillOptions {
|
|
|
396
483
|
* fd3: { type: "input" }
|
|
397
484
|
* }
|
|
398
485
|
* })
|
|
399
|
-
*
|
|
400
|
-
*
|
|
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"]
|
|
401
498
|
* ```
|
|
402
499
|
*/
|
|
403
500
|
readonly additionalFds?: Record<`fd${number}`, AdditionalFdConfig> | undefined;
|
|
404
501
|
}
|
|
405
|
-
/**
|
|
406
|
-
* Valid template expression item types.
|
|
407
|
-
*
|
|
408
|
-
* @stability unstable
|
|
409
|
-
* @category models
|
|
410
|
-
* @since 4.0.0
|
|
411
|
-
*/
|
|
412
|
-
export type TemplateExpressionItem = string | number | boolean;
|
|
413
|
-
/**
|
|
414
|
-
* Template expression type for interpolated values.
|
|
415
|
-
*
|
|
416
|
-
* @stability unstable
|
|
417
|
-
* @category models
|
|
418
|
-
* @since 4.0.0
|
|
419
|
-
*/
|
|
420
|
-
export type TemplateExpression = TemplateExpressionItem | ReadonlyArray<TemplateExpressionItem>;
|
|
421
502
|
/**
|
|
422
503
|
* Checks whether a value is a `Command`.
|
|
423
504
|
*
|
|
@@ -452,16 +533,33 @@ export declare const isPipedCommand: (command: Command) => command is PipedComma
|
|
|
452
533
|
* 2. Options + template literal: `make({ cwd: "/app" })\`npm run build\``
|
|
453
534
|
* 3. Array form: `make("npm", ["run", "build"], options?)`
|
|
454
535
|
*
|
|
455
|
-
*
|
|
456
|
-
*
|
|
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.
|
|
457
555
|
*
|
|
458
556
|
* **Example** (Creating commands)
|
|
459
557
|
*
|
|
460
558
|
* ```ts import.meta.vitest
|
|
461
559
|
* import { ChildProcess } from "effect/process"
|
|
462
560
|
*
|
|
463
|
-
* // Template literal form
|
|
464
|
-
* const cmd1 = ChildProcess.make`echo "hello"`
|
|
561
|
+
* // Template literal form; quotes group words
|
|
562
|
+
* const cmd1 = ChildProcess.make`echo "hello world"`
|
|
465
563
|
*
|
|
466
564
|
* // With options
|
|
467
565
|
* const cmd2 = ChildProcess.make({ cwd: "/tmp" })`ls -la`
|
|
@@ -469,7 +567,7 @@ export declare const isPipedCommand: (command: Command) => command is PipedComma
|
|
|
469
567
|
* // Array form
|
|
470
568
|
* const cmd3 = ChildProcess.make("git", ["status"])
|
|
471
569
|
*
|
|
472
|
-
* const result = [cmd1.
|
|
570
|
+
* const result = [cmd1.args[0], cmd2.options.cwd, cmd3.args[0]] // => ["hello world", "/tmp", "status"]
|
|
473
571
|
* ```
|
|
474
572
|
*
|
|
475
573
|
* @stability unstable
|
|
@@ -487,16 +585,33 @@ export declare const make: {
|
|
|
487
585
|
* 2. Options + template literal: `make({ cwd: "/app" })\`npm run build\``
|
|
488
586
|
* 3. Array form: `make("npm", ["run", "build"], options?)`
|
|
489
587
|
*
|
|
490
|
-
*
|
|
491
|
-
*
|
|
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.
|
|
492
607
|
*
|
|
493
608
|
* **Example** (Creating commands)
|
|
494
609
|
*
|
|
495
610
|
* ```ts import.meta.vitest
|
|
496
611
|
* import { ChildProcess } from "effect/process"
|
|
497
612
|
*
|
|
498
|
-
* // Template literal form
|
|
499
|
-
* const cmd1 = ChildProcess.make`echo "hello"`
|
|
613
|
+
* // Template literal form; quotes group words
|
|
614
|
+
* const cmd1 = ChildProcess.make`echo "hello world"`
|
|
500
615
|
*
|
|
501
616
|
* // With options
|
|
502
617
|
* const cmd2 = ChildProcess.make({ cwd: "/tmp" })`ls -la`
|
|
@@ -504,7 +619,7 @@ export declare const make: {
|
|
|
504
619
|
* // Array form
|
|
505
620
|
* const cmd3 = ChildProcess.make("git", ["status"])
|
|
506
621
|
*
|
|
507
|
-
* const result = [cmd1.
|
|
622
|
+
* const result = [cmd1.args[0], cmd2.options.cwd, cmd3.args[0]] // => ["hello world", "/tmp", "status"]
|
|
508
623
|
* ```
|
|
509
624
|
*
|
|
510
625
|
* @stability unstable
|
|
@@ -522,16 +637,33 @@ export declare const make: {
|
|
|
522
637
|
* 2. Options + template literal: `make({ cwd: "/app" })\`npm run build\``
|
|
523
638
|
* 3. Array form: `make("npm", ["run", "build"], options?)`
|
|
524
639
|
*
|
|
525
|
-
*
|
|
526
|
-
*
|
|
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.
|
|
527
659
|
*
|
|
528
660
|
* **Example** (Creating commands)
|
|
529
661
|
*
|
|
530
662
|
* ```ts import.meta.vitest
|
|
531
663
|
* import { ChildProcess } from "effect/process"
|
|
532
664
|
*
|
|
533
|
-
* // Template literal form
|
|
534
|
-
* const cmd1 = ChildProcess.make`echo "hello"`
|
|
665
|
+
* // Template literal form; quotes group words
|
|
666
|
+
* const cmd1 = ChildProcess.make`echo "hello world"`
|
|
535
667
|
*
|
|
536
668
|
* // With options
|
|
537
669
|
* const cmd2 = ChildProcess.make({ cwd: "/tmp" })`ls -la`
|
|
@@ -539,14 +671,14 @@ export declare const make: {
|
|
|
539
671
|
* // Array form
|
|
540
672
|
* const cmd3 = ChildProcess.make("git", ["status"])
|
|
541
673
|
*
|
|
542
|
-
* const result = [cmd1.
|
|
674
|
+
* const result = [cmd1.args[0], cmd2.options.cwd, cmd3.args[0]] // => ["hello world", "/tmp", "status"]
|
|
543
675
|
* ```
|
|
544
676
|
*
|
|
545
677
|
* @stability unstable
|
|
546
678
|
* @category constructors
|
|
547
679
|
* @since 4.0.0
|
|
548
680
|
*/
|
|
549
|
-
(command: string, args: ReadonlyArray<
|
|
681
|
+
(command: string, args: ReadonlyArray<CommandLine.Word>, options?: CommandOptions): StandardCommand;
|
|
550
682
|
/**
|
|
551
683
|
* Create a command from a template literal, options + template, or array form.
|
|
552
684
|
*
|
|
@@ -557,16 +689,33 @@ export declare const make: {
|
|
|
557
689
|
* 2. Options + template literal: `make({ cwd: "/app" })\`npm run build\``
|
|
558
690
|
* 3. Array form: `make("npm", ["run", "build"], options?)`
|
|
559
691
|
*
|
|
560
|
-
*
|
|
561
|
-
*
|
|
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.
|
|
562
711
|
*
|
|
563
712
|
* **Example** (Creating commands)
|
|
564
713
|
*
|
|
565
714
|
* ```ts import.meta.vitest
|
|
566
715
|
* import { ChildProcess } from "effect/process"
|
|
567
716
|
*
|
|
568
|
-
* // Template literal form
|
|
569
|
-
* const cmd1 = ChildProcess.make`echo "hello"`
|
|
717
|
+
* // Template literal form; quotes group words
|
|
718
|
+
* const cmd1 = ChildProcess.make`echo "hello world"`
|
|
570
719
|
*
|
|
571
720
|
* // With options
|
|
572
721
|
* const cmd2 = ChildProcess.make({ cwd: "/tmp" })`ls -la`
|
|
@@ -574,14 +723,14 @@ export declare const make: {
|
|
|
574
723
|
* // Array form
|
|
575
724
|
* const cmd3 = ChildProcess.make("git", ["status"])
|
|
576
725
|
*
|
|
577
|
-
* const result = [cmd1.
|
|
726
|
+
* const result = [cmd1.args[0], cmd2.options.cwd, cmd3.args[0]] // => ["hello world", "/tmp", "status"]
|
|
578
727
|
* ```
|
|
579
728
|
*
|
|
580
729
|
* @stability unstable
|
|
581
730
|
* @category constructors
|
|
582
731
|
* @since 4.0.0
|
|
583
732
|
*/
|
|
584
|
-
(options: CommandOptions): (templates: TemplateStringsArray, ...expressions: ReadonlyArray<TemplateExpression>) => StandardCommand;
|
|
733
|
+
(options: CommandOptions): (templates: TemplateStringsArray, ...expressions: ReadonlyArray<CommandLine.TemplateExpression>) => StandardCommand;
|
|
585
734
|
/**
|
|
586
735
|
* Create a command from a template literal, options + template, or array form.
|
|
587
736
|
*
|
|
@@ -592,16 +741,33 @@ export declare const make: {
|
|
|
592
741
|
* 2. Options + template literal: `make({ cwd: "/app" })\`npm run build\``
|
|
593
742
|
* 3. Array form: `make("npm", ["run", "build"], options?)`
|
|
594
743
|
*
|
|
595
|
-
*
|
|
596
|
-
*
|
|
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.
|
|
597
763
|
*
|
|
598
764
|
* **Example** (Creating commands)
|
|
599
765
|
*
|
|
600
766
|
* ```ts import.meta.vitest
|
|
601
767
|
* import { ChildProcess } from "effect/process"
|
|
602
768
|
*
|
|
603
|
-
* // Template literal form
|
|
604
|
-
* const cmd1 = ChildProcess.make`echo "hello"`
|
|
769
|
+
* // Template literal form; quotes group words
|
|
770
|
+
* const cmd1 = ChildProcess.make`echo "hello world"`
|
|
605
771
|
*
|
|
606
772
|
* // With options
|
|
607
773
|
* const cmd2 = ChildProcess.make({ cwd: "/tmp" })`ls -la`
|
|
@@ -609,14 +775,14 @@ export declare const make: {
|
|
|
609
775
|
* // Array form
|
|
610
776
|
* const cmd3 = ChildProcess.make("git", ["status"])
|
|
611
777
|
*
|
|
612
|
-
* const result = [cmd1.
|
|
778
|
+
* const result = [cmd1.args[0], cmd2.options.cwd, cmd3.args[0]] // => ["hello world", "/tmp", "status"]
|
|
613
779
|
* ```
|
|
614
780
|
*
|
|
615
781
|
* @stability unstable
|
|
616
782
|
* @category constructors
|
|
617
783
|
* @since 4.0.0
|
|
618
784
|
*/
|
|
619
|
-
(templates: TemplateStringsArray, ...expressions: ReadonlyArray<TemplateExpression>): StandardCommand;
|
|
785
|
+
(templates: TemplateStringsArray, ...expressions: ReadonlyArray<CommandLine.TemplateExpression>): StandardCommand;
|
|
620
786
|
};
|
|
621
787
|
/**
|
|
622
788
|
* Pipes the output of one command to the input of another.
|
|
@@ -742,7 +908,7 @@ export declare const pipeTo: {
|
|
|
742
908
|
* ```ts import.meta.vitest
|
|
743
909
|
* import { ChildProcess } from "effect/process"
|
|
744
910
|
*
|
|
745
|
-
* const command = ChildProcess.make`echo
|
|
911
|
+
* const command = ChildProcess.make`echo foo`
|
|
746
912
|
*
|
|
747
913
|
* const prefixed = command.pipe(
|
|
748
914
|
* ChildProcess.prefix`time`
|
|
@@ -770,7 +936,7 @@ export declare const prefix: {
|
|
|
770
936
|
* ```ts import.meta.vitest
|
|
771
937
|
* import { ChildProcess } from "effect/process"
|
|
772
938
|
*
|
|
773
|
-
* const command = ChildProcess.make`echo
|
|
939
|
+
* const command = ChildProcess.make`echo foo`
|
|
774
940
|
*
|
|
775
941
|
* const prefixed = command.pipe(
|
|
776
942
|
* ChildProcess.prefix`time`
|
|
@@ -785,7 +951,7 @@ export declare const prefix: {
|
|
|
785
951
|
* @category combinators
|
|
786
952
|
* @since 4.0.0
|
|
787
953
|
*/
|
|
788
|
-
(command: string, args?: ReadonlyArray<
|
|
954
|
+
(command: string, args?: ReadonlyArray<CommandLine.Word>): (self: Command) => Command;
|
|
789
955
|
/**
|
|
790
956
|
* Prepends another command to a command.
|
|
791
957
|
*
|
|
@@ -798,7 +964,7 @@ export declare const prefix: {
|
|
|
798
964
|
* ```ts import.meta.vitest
|
|
799
965
|
* import { ChildProcess } from "effect/process"
|
|
800
966
|
*
|
|
801
|
-
* const command = ChildProcess.make`echo
|
|
967
|
+
* const command = ChildProcess.make`echo foo`
|
|
802
968
|
*
|
|
803
969
|
* const prefixed = command.pipe(
|
|
804
970
|
* ChildProcess.prefix`time`
|
|
@@ -813,7 +979,7 @@ export declare const prefix: {
|
|
|
813
979
|
* @category combinators
|
|
814
980
|
* @since 4.0.0
|
|
815
981
|
*/
|
|
816
|
-
(templates: TemplateStringsArray, ...expressions: ReadonlyArray<TemplateExpression>): (self: Command) => Command;
|
|
982
|
+
(templates: TemplateStringsArray, ...expressions: ReadonlyArray<CommandLine.TemplateExpression>): (self: Command) => Command;
|
|
817
983
|
/**
|
|
818
984
|
* Prepends another command to a command.
|
|
819
985
|
*
|
|
@@ -826,7 +992,7 @@ export declare const prefix: {
|
|
|
826
992
|
* ```ts import.meta.vitest
|
|
827
993
|
* import { ChildProcess } from "effect/process"
|
|
828
994
|
*
|
|
829
|
-
* const command = ChildProcess.make`echo
|
|
995
|
+
* const command = ChildProcess.make`echo foo`
|
|
830
996
|
*
|
|
831
997
|
* const prefixed = command.pipe(
|
|
832
998
|
* ChildProcess.prefix`time`
|
|
@@ -841,7 +1007,7 @@ export declare const prefix: {
|
|
|
841
1007
|
* @category combinators
|
|
842
1008
|
* @since 4.0.0
|
|
843
1009
|
*/
|
|
844
|
-
(self: Command, command: string, args?: ReadonlyArray<
|
|
1010
|
+
(self: Command, command: string, args?: ReadonlyArray<CommandLine.Word>): Command;
|
|
845
1011
|
};
|
|
846
1012
|
/**
|
|
847
1013
|
* Sets the current working directory for a command.
|
|
@@ -960,7 +1126,7 @@ export declare const setEnv: {
|
|
|
960
1126
|
* @category combinators
|
|
961
1127
|
* @since 4.0.0
|
|
962
1128
|
*/
|
|
963
|
-
(env: Record<string, string
|
|
1129
|
+
(env: Record<string, string | Redacted.Redacted<string>>): (self: Command) => Command;
|
|
964
1130
|
/**
|
|
965
1131
|
* Adds environment variables to a command, merging them with any existing
|
|
966
1132
|
* command environment and overriding duplicate keys.
|
|
@@ -984,7 +1150,7 @@ export declare const setEnv: {
|
|
|
984
1150
|
* @category combinators
|
|
985
1151
|
* @since 4.0.0
|
|
986
1152
|
*/
|
|
987
|
-
(self: Command, env: Record<string, string
|
|
1153
|
+
(self: Command, env: Record<string, string | Redacted.Redacted<string>>): Command;
|
|
988
1154
|
};
|
|
989
1155
|
/**
|
|
990
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,O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