@nhtio/adk 1.20260611.0 → 1.20260611.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/batteries/embeddings/openai/adapter.cjs +1 -1
- package/batteries/embeddings/openai/adapter.mjs +1 -1
- package/batteries/embeddings/webllm/adapter.cjs +1 -1
- package/batteries/embeddings/webllm/adapter.mjs +1 -1
- package/batteries/llm/ollama/adapter.cjs +5 -5
- package/batteries/llm/ollama/adapter.mjs +5 -5
- package/batteries/llm/ollama/helpers.cjs +2 -2
- package/batteries/llm/ollama/helpers.mjs +2 -2
- package/batteries/llm/ollama/validation.cjs +1 -1
- package/batteries/llm/ollama/validation.mjs +1 -1
- package/batteries/llm/openai_chat_completions/adapter.cjs +5 -5
- package/batteries/llm/openai_chat_completions/adapter.mjs +5 -5
- package/batteries/llm/openai_chat_completions/helpers.cjs +2 -2
- package/batteries/llm/openai_chat_completions/helpers.mjs +2 -2
- package/batteries/llm/openai_chat_completions/validation.cjs +1 -1
- package/batteries/llm/openai_chat_completions/validation.mjs +1 -1
- package/batteries/llm/webllm_chat_completions/adapter.cjs +5 -5
- package/batteries/llm/webllm_chat_completions/adapter.mjs +5 -5
- package/batteries/llm/webllm_chat_completions/validation.cjs +1 -1
- package/batteries/llm/webllm_chat_completions/validation.mjs +1 -1
- package/batteries/media/contracts.cjs +1 -1
- package/batteries/media/contracts.mjs +1 -1
- package/batteries/media/engines/audio_decode.cjs +1 -1
- package/batteries/media/engines/audio_decode.mjs +1 -1
- package/batteries/media/engines/execa_executor.cjs +1 -1
- package/batteries/media/engines/execa_executor.mjs +1 -1
- package/batteries/media/engines/fs_workspace.cjs +1 -1
- package/batteries/media/engines/fs_workspace.mjs +1 -1
- package/batteries/media/engines/jimp.cjs +1 -1
- package/batteries/media/engines/jimp.mjs +1 -1
- package/batteries/media/engines/sharp.cjs +1 -1
- package/batteries/media/engines/sharp.mjs +1 -1
- package/batteries/media/engines/tesseract_js.cjs +1 -1
- package/batteries/media/engines/tesseract_js.mjs +1 -1
- package/batteries/media/engines/transformers_asr.cjs +1 -1
- package/batteries/media/engines/transformers_asr.mjs +1 -1
- package/batteries/media/forge.cjs +6 -6
- package/batteries/media/forge.mjs +6 -6
- package/batteries/media/lint.cjs +1 -1
- package/batteries/media/lint.mjs +1 -1
- package/batteries/media.cjs +2 -2
- package/batteries/media.mjs +2 -2
- package/batteries/storage/flydrive.cjs +1 -1
- package/batteries/storage/flydrive.mjs +1 -1
- package/batteries/storage/in_memory.cjs +1 -1
- package/batteries/storage/in_memory.mjs +1 -1
- package/batteries/storage/opfs.cjs +1 -1
- package/batteries/storage/opfs.mjs +1 -1
- package/batteries/tools/_shared.cjs +2 -2
- package/batteries/tools/_shared.mjs +2 -2
- package/batteries/tools/color.cjs +2 -2
- package/batteries/tools/color.mjs +2 -2
- package/batteries/tools/comparison.cjs +3 -3
- package/batteries/tools/comparison.mjs +3 -3
- package/batteries/tools/data_structure.cjs +3 -3
- package/batteries/tools/data_structure.mjs +3 -3
- package/batteries/tools/datetime_extended.cjs +3 -3
- package/batteries/tools/datetime_extended.mjs +3 -3
- package/batteries/tools/datetime_math.cjs +3 -3
- package/batteries/tools/datetime_math.mjs +3 -3
- package/batteries/tools/encoding.cjs +3 -3
- package/batteries/tools/encoding.mjs +3 -3
- package/batteries/tools/formatting.cjs +3 -3
- package/batteries/tools/formatting.mjs +3 -3
- package/batteries/tools/geo_basics.cjs +2 -2
- package/batteries/tools/geo_basics.mjs +2 -2
- package/batteries/tools/math.cjs +3 -3
- package/batteries/tools/math.mjs +3 -3
- package/batteries/tools/memory.cjs +6 -6
- package/batteries/tools/memory.mjs +6 -6
- package/batteries/tools/parsing.cjs +4 -4
- package/batteries/tools/parsing.mjs +4 -4
- package/batteries/tools/retrievables.cjs +5 -5
- package/batteries/tools/retrievables.mjs +5 -5
- package/batteries/tools/scrapper.cjs +1 -1
- package/batteries/tools/scrapper.mjs +1 -1
- package/batteries/tools/searxng.cjs +1 -1
- package/batteries/tools/searxng.mjs +1 -1
- package/batteries/tools/standing_instructions.cjs +4 -4
- package/batteries/tools/standing_instructions.mjs +4 -4
- package/batteries/tools/statistics.cjs +4 -4
- package/batteries/tools/statistics.mjs +4 -4
- package/batteries/tools/string_processing.cjs +3 -3
- package/batteries/tools/string_processing.mjs +3 -3
- package/batteries/tools/structured_data.cjs +3 -3
- package/batteries/tools/structured_data.mjs +3 -3
- package/batteries/tools/text_analysis.cjs +3 -3
- package/batteries/tools/text_analysis.mjs +3 -3
- package/batteries/tools/text_comparison.cjs +2 -2
- package/batteries/tools/text_comparison.mjs +2 -2
- package/batteries/tools/time.cjs +3 -3
- package/batteries/tools/time.mjs +3 -3
- package/batteries/tools/unit_conversion.cjs +2 -2
- package/batteries/tools/unit_conversion.mjs +2 -2
- package/batteries/tools/web_retrieval.cjs +1 -1
- package/batteries/tools/web_retrieval.mjs +1 -1
- package/batteries/tools.cjs +2 -2
- package/batteries/tools.mjs +2 -2
- package/batteries/vector/arangodb.cjs +1 -1
- package/batteries/vector/arangodb.mjs +1 -1
- package/batteries/vector/clickhouse.cjs +1 -1
- package/batteries/vector/clickhouse.mjs +1 -1
- package/batteries/vector/cloudflare.cjs +1 -1
- package/batteries/vector/cloudflare.mjs +1 -1
- package/batteries/vector/couchbase.cjs +1 -1
- package/batteries/vector/couchbase.mjs +1 -1
- package/batteries/vector/duckdb.cjs +1 -1
- package/batteries/vector/duckdb.mjs +1 -1
- package/batteries/vector/elasticsearch.cjs +1 -1
- package/batteries/vector/elasticsearch.mjs +1 -1
- package/batteries/vector/filters.cjs +1 -1
- package/batteries/vector/filters.mjs +1 -1
- package/batteries/vector/hnswlib.cjs +1 -1
- package/batteries/vector/hnswlib.mjs +1 -1
- package/batteries/vector/lancedb.cjs +1 -1
- package/batteries/vector/lancedb.mjs +1 -1
- package/batteries/vector/mariadb.cjs +1 -1
- package/batteries/vector/mariadb.mjs +1 -1
- package/batteries/vector/meilisearch.cjs +1 -1
- package/batteries/vector/meilisearch.mjs +1 -1
- package/batteries/vector/migrate.cjs +1 -1
- package/batteries/vector/migrate.mjs +1 -1
- package/batteries/vector/mongodb.cjs +1 -1
- package/batteries/vector/mongodb.mjs +1 -1
- package/batteries/vector/neo4j.cjs +1 -1
- package/batteries/vector/neo4j.mjs +1 -1
- package/batteries/vector/opensearch.cjs +1 -1
- package/batteries/vector/opensearch.mjs +1 -1
- package/batteries/vector/oracle23ai.cjs +1 -1
- package/batteries/vector/oracle23ai.mjs +1 -1
- package/batteries/vector/pinecone.cjs +1 -1
- package/batteries/vector/pinecone.mjs +1 -1
- package/batteries/vector/redis.cjs +1 -1
- package/batteries/vector/redis.mjs +1 -1
- package/batteries/vector/retrievable.cjs +1 -1
- package/batteries/vector/retrievable.mjs +1 -1
- package/batteries/vector/s3vectors.cjs +1 -1
- package/batteries/vector/s3vectors.mjs +1 -1
- package/batteries/vector/solr.cjs +1 -1
- package/batteries/vector/solr.mjs +1 -1
- package/batteries/vector/surrealdb.cjs +1 -1
- package/batteries/vector/surrealdb.mjs +1 -1
- package/batteries/vector/typesense.cjs +1 -1
- package/batteries/vector/typesense.mjs +1 -1
- package/batteries/vector/vespa.cjs +1 -1
- package/batteries/vector/vespa.mjs +1 -1
- package/batteries/vector/weaviate.cjs +1 -1
- package/batteries/vector/weaviate.mjs +1 -1
- package/batteries.cjs +2 -2
- package/batteries.mjs +2 -2
- package/{common-BBK2e5ro.js → common-6WOPAB3-.js} +7 -7
- package/{common-BBK2e5ro.js.map → common-6WOPAB3-.js.map} +1 -1
- package/{common-BxoznqbX.mjs → common-_77pbLLS.mjs} +7 -7
- package/{common-BxoznqbX.mjs.map → common-_77pbLLS.mjs.map} +1 -1
- package/common.cjs +7 -7
- package/common.mjs +7 -7
- package/{dispatch_runner-Hn5idJYx.js → dispatch_runner-BP0WMfao.js} +3 -3
- package/{dispatch_runner-Hn5idJYx.js.map → dispatch_runner-BP0WMfao.js.map} +1 -1
- package/{dispatch_runner-DUrpj0xR.mjs → dispatch_runner-CwXLFXms.mjs} +3 -3
- package/{dispatch_runner-DUrpj0xR.mjs.map → dispatch_runner-CwXLFXms.mjs.map} +1 -1
- package/dispatch_runner.cjs +1 -1
- package/dispatch_runner.mjs +1 -1
- package/eslint/rules.cjs +1 -1
- package/eslint/rules.mjs +1 -1
- package/eslint.cjs +2 -2
- package/eslint.mjs +2 -2
- package/forge.cjs +4 -4
- package/forge.mjs +4 -4
- package/guards.cjs +8 -8
- package/guards.mjs +8 -8
- package/index.cjs +10 -10
- package/index.mjs +10 -10
- package/mcp/adk-docs-corpus.json +1 -1
- package/package.json +189 -189
- package/{scrapper-4ftlLfJd.mjs → scrapper-B4kNdQ24.mjs} +5 -5
- package/{scrapper-4ftlLfJd.mjs.map → scrapper-B4kNdQ24.mjs.map} +1 -1
- package/{scrapper-BvRuu9_n.js → scrapper-EphK9589.js} +5 -5
- package/{scrapper-BvRuu9_n.js.map → scrapper-EphK9589.js.map} +1 -1
- package/{searxng-CcY_d_Mj.mjs → searxng-CGm_pvyY.mjs} +5 -5
- package/{searxng-CcY_d_Mj.mjs.map → searxng-CGm_pvyY.mjs.map} +1 -1
- package/{searxng-B_NFiYbl.js → searxng-tfkOQqH_.js} +5 -5
- package/{searxng-B_NFiYbl.js.map → searxng-tfkOQqH_.js.map} +1 -1
- package/skills/adk-assembly/SKILL.md +2 -2
- package/{spooled_artifact-nTE6ujM8.mjs → spooled_artifact-CmL5ci5Z.mjs} +3 -3
- package/{spooled_artifact-nTE6ujM8.mjs.map → spooled_artifact-CmL5ci5Z.mjs.map} +1 -1
- package/{spooled_artifact-BR0IhU9y.js → spooled_artifact-xA7Te-kE.js} +3 -3
- package/{spooled_artifact-BR0IhU9y.js.map → spooled_artifact-xA7Te-kE.js.map} +1 -1
- package/spooled_artifact.cjs +2 -2
- package/spooled_artifact.mjs +2 -2
- package/{spooled_markdown_artifact-Dj3fNowz.js → spooled_markdown_artifact-B3wDMxcb.js} +3 -3
- package/{spooled_markdown_artifact-Dj3fNowz.js.map → spooled_markdown_artifact-B3wDMxcb.js.map} +1 -1
- package/{spooled_markdown_artifact-DIYzbQv8.mjs → spooled_markdown_artifact-sEU_esW6.mjs} +3 -3
- package/{spooled_markdown_artifact-DIYzbQv8.mjs.map → spooled_markdown_artifact-sEU_esW6.mjs.map} +1 -1
- package/{thought-Cde2Y_GK.mjs → thought-DXnh31HJ.mjs} +3 -3
- package/{thought-Cde2Y_GK.mjs.map → thought-DXnh31HJ.mjs.map} +1 -1
- package/{thought-BFtsnUTU.js → thought-c4d-q-3R.js} +3 -3
- package/{thought-BFtsnUTU.js.map → thought-c4d-q-3R.js.map} +1 -1
- package/{tool-B2nnkwNU.js → tool-DerXDcez.js} +3 -3
- package/{tool-B2nnkwNU.js.map → tool-DerXDcez.js.map} +1 -1
- package/{tool-CcxYxA5X.mjs → tool-DnebtFed.mjs} +3 -3
- package/{tool-CcxYxA5X.mjs.map → tool-DnebtFed.mjs.map} +1 -1
- package/{tool_call-BxL3eU1k.js → tool_call-Bua8qpko.js} +4 -4
- package/{tool_call-BxL3eU1k.js.map → tool_call-Bua8qpko.js.map} +1 -1
- package/{tool_call-B3MOog2R.mjs → tool_call-D69JEDXJ.mjs} +4 -4
- package/{tool_call-B3MOog2R.mjs.map → tool_call-D69JEDXJ.mjs.map} +1 -1
- package/{tool_registry-BaLUIzWz.mjs → tool_registry-QKQYr8Tp.mjs} +142 -142
- package/tool_registry-QKQYr8Tp.mjs.map +1 -0
- package/{tool_registry-BdKlPuHS.js → tool_registry-bWKC6jt1.js} +141 -141
- package/tool_registry-bWKC6jt1.js.map +1 -0
- package/{turn_runner-BV4BaZK9.mjs → turn_runner-Cg4xdghG.mjs} +5 -5
- package/{turn_runner-BV4BaZK9.mjs.map → turn_runner-Cg4xdghG.mjs.map} +1 -1
- package/{turn_runner-M2I8G2ok.js → turn_runner-CrpcyQbJ.js} +5 -5
- package/{turn_runner-M2I8G2ok.js.map → turn_runner-CrpcyQbJ.js.map} +1 -1
- package/turn_runner.cjs +1 -1
- package/turn_runner.mjs +1 -1
- package/{validate-DgDZkUKs.js → validate-BT92vuuu.js} +2 -2
- package/{validate-DgDZkUKs.js.map → validate-BT92vuuu.js.map} +1 -1
- package/{validate-JOHfh-BB.mjs → validate-W0ZYAEAd.mjs} +2 -2
- package/{validate-JOHfh-BB.mjs.map → validate-W0ZYAEAd.mjs.map} +1 -1
- package/tool_registry-BaLUIzWz.mjs.map +0 -1
- package/tool_registry-BdKlPuHS.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -19,6 +19,16 @@ upgrading.
|
|
|
19
19
|
|
|
20
20
|
### Security
|
|
21
21
|
|
|
22
|
+
- **npm trusted publishing is live — releases no longer use a long-lived token.** Completing
|
|
23
|
+
the groundwork below: the package's Trusted Publisher is configured on npmjs.com (GitLab
|
|
24
|
+
CI/CD → this project's `.gitlab-ci.yml`, `npm publish` only), and both npm deploy jobs now
|
|
25
|
+
authenticate exclusively with the short-lived OIDC `id_token` — every `NPM_TOKEN` reference
|
|
26
|
+
is gone from this repository's CI. Verified live twice before removal: npm preferred the
|
|
27
|
+
OIDC exchange even with the token fallback still present (publisher identity
|
|
28
|
+
`GitLab CI/CD <npm-oidc-no-reply@github.com>`), and the first fully tokenless publish
|
|
29
|
+
succeeded with the same identity. A stolen CI token — the credential class behind most of
|
|
30
|
+
the recent registry-compromise worms — can no longer publish this package; publish rights
|
|
31
|
+
are bound to this repository's pipeline identity instead of a bearer secret.
|
|
22
32
|
- **Supply-chain hardening across the build and dependency pipeline** (prompted by the recent
|
|
23
33
|
npm worm campaigns; none of these change the published API):
|
|
24
34
|
- **Release cooldown**: pnpm now refuses to resolve any dependency version published less
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../../chunk-Cek0wNdY.js");
|
|
3
|
-
const require_tool_registry = require("../../../tool_registry-
|
|
3
|
+
const require_tool_registry = require("../../../tool_registry-bWKC6jt1.js");
|
|
4
4
|
require("../../../guards.cjs");
|
|
5
5
|
const require_lib_utils_retry = require("../../../lib/utils/retry.cjs");
|
|
6
6
|
const require_batteries_embeddings_openai_exceptions = require("./exceptions.cjs");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as isError } from "../../../tool_registry-
|
|
1
|
+
import { o as isError } from "../../../tool_registry-QKQYr8Tp.mjs";
|
|
2
2
|
import "../../../guards.mjs";
|
|
3
3
|
import { computeBackoff, parseRetryAfter, sleepWithJitter } from "../../../lib/utils/retry.mjs";
|
|
4
4
|
import { E_OPENAI_EMBEDDINGS_HTTP_ERROR, E_OPENAI_EMBEDDINGS_MALFORMED_RESPONSE, E_OPENAI_EMBEDDINGS_REQUEST_TIMEOUT } from "./exceptions.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../../chunk-Cek0wNdY.js");
|
|
3
|
-
const require_tool_registry = require("../../../tool_registry-
|
|
3
|
+
const require_tool_registry = require("../../../tool_registry-bWKC6jt1.js");
|
|
4
4
|
require("../../../guards.cjs");
|
|
5
5
|
const require_batteries_embeddings_openai_helpers = require("../openai/helpers.cjs");
|
|
6
6
|
const require_batteries_embeddings_webllm_exceptions = require("./exceptions.cjs");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as isError } from "../../../tool_registry-
|
|
1
|
+
import { o as isError } from "../../../tool_registry-QKQYr8Tp.mjs";
|
|
2
2
|
import "../../../guards.mjs";
|
|
3
3
|
import { applyEmbeddingPrefix } from "../openai/helpers.mjs";
|
|
4
4
|
import { E_INVALID_WEBLLM_EMBEDDINGS_OPTIONS, E_WEBLLM_EMBEDDINGS_ENGINE_ERROR } from "./exceptions.mjs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../../chunk-Cek0wNdY.js");
|
|
3
|
-
const require_tool_registry = require("../../../tool_registry-
|
|
4
|
-
const require_thought = require("../../../thought-
|
|
5
|
-
const require_spooled_artifact = require("../../../spooled_artifact-
|
|
6
|
-
require("../../../common-
|
|
7
|
-
const require_tool_call = require("../../../tool_call-
|
|
3
|
+
const require_tool_registry = require("../../../tool_registry-bWKC6jt1.js");
|
|
4
|
+
const require_thought = require("../../../thought-c4d-q-3R.js");
|
|
5
|
+
const require_spooled_artifact = require("../../../spooled_artifact-xA7Te-kE.js");
|
|
6
|
+
require("../../../common-6WOPAB3-.js");
|
|
7
|
+
const require_tool_call = require("../../../tool_call-Bua8qpko.js");
|
|
8
8
|
require("../../../guards.cjs");
|
|
9
9
|
const require_lib_utils_retry = require("../../../lib/utils/retry.cjs");
|
|
10
10
|
const require_batteries_storage_in_memory = require("../../storage/in_memory.cjs");
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import { n as Message, t as Thought } from "../../../thought-
|
|
3
|
-
import { i as ArtifactTool, t as SpooledArtifact } from "../../../spooled_artifact-
|
|
4
|
-
import "../../../common-
|
|
5
|
-
import { n as Media, t as ToolCall } from "../../../tool_call-
|
|
1
|
+
import { a as Tokenizable, c as isObject, n as canonicalStringify, o as isError, s as isInstanceOf, t as ToolRegistry } from "../../../tool_registry-QKQYr8Tp.mjs";
|
|
2
|
+
import { n as Message, t as Thought } from "../../../thought-DXnh31HJ.mjs";
|
|
3
|
+
import { i as ArtifactTool, t as SpooledArtifact } from "../../../spooled_artifact-CmL5ci5Z.mjs";
|
|
4
|
+
import "../../../common-_77pbLLS.mjs";
|
|
5
|
+
import { n as Media, t as ToolCall } from "../../../tool_call-D69JEDXJ.mjs";
|
|
6
6
|
import "../../../guards.mjs";
|
|
7
7
|
import { computeBackoff, linkAbortSignals, parseRetryAfter, sleepWithJitter } from "../../../lib/utils/retry.mjs";
|
|
8
8
|
import { InMemorySpoolStore } from "../../storage/in_memory.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../../chunk-Cek0wNdY.js");
|
|
3
|
-
require("../../../common-
|
|
4
|
-
const require_tool_call = require("../../../tool_call-
|
|
3
|
+
require("../../../common-6WOPAB3-.js");
|
|
4
|
+
const require_tool_call = require("../../../tool_call-Bua8qpko.js");
|
|
5
5
|
require("../../../guards.cjs");
|
|
6
6
|
const require_helpers = require("../../../helpers-1okZzNCa.js");
|
|
7
7
|
const require_batteries_llm_ollama_exceptions = require("./exceptions.cjs");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../../common-
|
|
2
|
-
import { n as Media } from "../../../tool_call-
|
|
1
|
+
import "../../../common-_77pbLLS.mjs";
|
|
2
|
+
import { n as Media } from "../../../tool_call-D69JEDXJ.mjs";
|
|
3
3
|
import "../../../guards.mjs";
|
|
4
4
|
import { A as retrievableToAttrs, C as renderRetrievables, D as renderThought, E as renderThirdPartyPublicRetrievables, M as toolsToChatCompletionsTools, O as renderTrustedContent, S as renderRetrievableSafetyDirective, T as renderThirdPartyPrivateRetrievables, _ as filterThoughts, a as defaultRenderMemories, b as renderFirstPartyRetrievables, c as defaultRenderStandingInstructions, d as defaultRenderThought, f as defaultRenderTrustedContent, g as escapeXmlAttribute, h as descriptionToChatCompletionsJsonSchema, i as defaultRenderFirstPartyRetrievables, k as renderUntrustedContent, l as defaultRenderThirdPartyPrivateRetrievables, m as defaultToolsToChatCompletionsTools, n as defaultFilterThoughts, o as defaultRenderRetrievableSafetyDirective, p as defaultRenderUntrustedContent, r as defaultRenderChatCompletionsSystemPrompt, s as defaultRenderRetrievables, t as defaultDescriptionToChatCompletionsJsonSchema, u as defaultRenderThirdPartyPublicRetrievables, v as memoryToAttrs, w as renderStandingInstructions, x as renderMemories, y as renderChatCompletionsSystemPrompt } from "../../../helpers-BCyDAn_R.mjs";
|
|
5
5
|
import { E_OLLAMA_UNSUPPORTED_MEDIA_MODALITY } from "./exceptions.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../../chunk-Cek0wNdY.js");
|
|
3
|
-
const require_common = require("../../../common-
|
|
3
|
+
const require_common = require("../../../common-6WOPAB3-.js");
|
|
4
4
|
require("../../../guards.cjs");
|
|
5
5
|
const require_batteries_llm_ollama_exceptions = require("./exceptions.cjs");
|
|
6
6
|
let _nhtio_validation = require("@nhtio/validation");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as byteStoreSchema } from "../../../common-
|
|
1
|
+
import { i as byteStoreSchema } from "../../../common-_77pbLLS.mjs";
|
|
2
2
|
import "../../../guards.mjs";
|
|
3
3
|
import { E_INVALID_OLLAMA_OPTIONS } from "./exceptions.mjs";
|
|
4
4
|
import { validator } from "@nhtio/validation";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../../chunk-Cek0wNdY.js");
|
|
3
|
-
const require_tool_registry = require("../../../tool_registry-
|
|
4
|
-
const require_thought = require("../../../thought-
|
|
5
|
-
const require_spooled_artifact = require("../../../spooled_artifact-
|
|
6
|
-
require("../../../common-
|
|
7
|
-
const require_tool_call = require("../../../tool_call-
|
|
3
|
+
const require_tool_registry = require("../../../tool_registry-bWKC6jt1.js");
|
|
4
|
+
const require_thought = require("../../../thought-c4d-q-3R.js");
|
|
5
|
+
const require_spooled_artifact = require("../../../spooled_artifact-xA7Te-kE.js");
|
|
6
|
+
require("../../../common-6WOPAB3-.js");
|
|
7
|
+
const require_tool_call = require("../../../tool_call-Bua8qpko.js");
|
|
8
8
|
require("../../../guards.cjs");
|
|
9
9
|
const require_lib_utils_retry = require("../../../lib/utils/retry.cjs");
|
|
10
10
|
const require_batteries_llm_openai_chat_completions_exceptions = require("./exceptions.cjs");
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import { n as Message, t as Thought } from "../../../thought-
|
|
3
|
-
import { i as ArtifactTool, t as SpooledArtifact } from "../../../spooled_artifact-
|
|
4
|
-
import "../../../common-
|
|
5
|
-
import { n as Media, t as ToolCall } from "../../../tool_call-
|
|
1
|
+
import { a as Tokenizable, c as isObject, n as canonicalStringify, o as isError, s as isInstanceOf, t as ToolRegistry } from "../../../tool_registry-QKQYr8Tp.mjs";
|
|
2
|
+
import { n as Message, t as Thought } from "../../../thought-DXnh31HJ.mjs";
|
|
3
|
+
import { i as ArtifactTool, t as SpooledArtifact } from "../../../spooled_artifact-CmL5ci5Z.mjs";
|
|
4
|
+
import "../../../common-_77pbLLS.mjs";
|
|
5
|
+
import { n as Media, t as ToolCall } from "../../../tool_call-D69JEDXJ.mjs";
|
|
6
6
|
import "../../../guards.mjs";
|
|
7
7
|
import { computeBackoff, linkAbortSignals, parseRetryAfter, sleepWithJitter } from "../../../lib/utils/retry.mjs";
|
|
8
8
|
import { E_INVALID_OPENAI_CHAT_COMPLETIONS_OPTIONS, E_OPENAI_CHAT_COMPLETIONS_CONTEXT_OVERFLOW, E_OPENAI_CHAT_COMPLETIONS_HTTP_ERROR, E_OPENAI_CHAT_COMPLETIONS_INVALID_TOOL_CALL_ARGS, E_OPENAI_CHAT_COMPLETIONS_REQUEST_TIMEOUT, E_OPENAI_CHAT_COMPLETIONS_STREAM_ERROR, E_OPENAI_CHAT_COMPLETIONS_STREAM_STALLED } from "./exceptions.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../../chunk-Cek0wNdY.js");
|
|
3
|
-
require("../../../common-
|
|
4
|
-
const require_tool_call = require("../../../tool_call-
|
|
3
|
+
require("../../../common-6WOPAB3-.js");
|
|
4
|
+
const require_tool_call = require("../../../tool_call-Bua8qpko.js");
|
|
5
5
|
require("../../../guards.cjs");
|
|
6
6
|
const require_batteries_llm_openai_chat_completions_exceptions = require("./exceptions.cjs");
|
|
7
7
|
const require_helpers = require("../../../helpers-1okZzNCa.js");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../../common-
|
|
2
|
-
import { n as Media } from "../../../tool_call-
|
|
1
|
+
import "../../../common-_77pbLLS.mjs";
|
|
2
|
+
import { n as Media } from "../../../tool_call-D69JEDXJ.mjs";
|
|
3
3
|
import "../../../guards.mjs";
|
|
4
4
|
import { E_UNSUPPORTED_MEDIA_MODALITY } from "./exceptions.mjs";
|
|
5
5
|
import { A as retrievableToAttrs, C as renderRetrievables, D as renderThought, E as renderThirdPartyPublicRetrievables, M as toolsToChatCompletionsTools, O as renderTrustedContent, S as renderRetrievableSafetyDirective, T as renderThirdPartyPrivateRetrievables, _ as filterThoughts, a as defaultRenderMemories, b as renderFirstPartyRetrievables, c as defaultRenderStandingInstructions, d as defaultRenderThought, f as defaultRenderTrustedContent, g as escapeXmlAttribute, h as descriptionToChatCompletionsJsonSchema, i as defaultRenderFirstPartyRetrievables, j as sanitiseNameField, k as renderUntrustedContent, l as defaultRenderThirdPartyPrivateRetrievables, m as defaultToolsToChatCompletionsTools, n as defaultFilterThoughts, o as defaultRenderRetrievableSafetyDirective, p as defaultRenderUntrustedContent, r as defaultRenderChatCompletionsSystemPrompt, s as defaultRenderRetrievables, t as defaultDescriptionToChatCompletionsJsonSchema, u as defaultRenderThirdPartyPublicRetrievables, v as memoryToAttrs, w as renderStandingInstructions, x as renderMemories, y as renderChatCompletionsSystemPrompt } from "../../../helpers-BCyDAn_R.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../../chunk-Cek0wNdY.js");
|
|
3
|
-
const require_common = require("../../../common-
|
|
3
|
+
const require_common = require("../../../common-6WOPAB3-.js");
|
|
4
4
|
require("../../../guards.cjs");
|
|
5
5
|
const require_batteries_llm_openai_chat_completions_exceptions = require("./exceptions.cjs");
|
|
6
6
|
let _nhtio_validation = require("@nhtio/validation");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as byteStoreSchema } from "../../../common-
|
|
1
|
+
import { i as byteStoreSchema } from "../../../common-_77pbLLS.mjs";
|
|
2
2
|
import "../../../guards.mjs";
|
|
3
3
|
import { E_INVALID_OPENAI_CHAT_COMPLETIONS_OPTIONS } from "./exceptions.mjs";
|
|
4
4
|
import { validator } from "@nhtio/validation";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../../chunk-Cek0wNdY.js");
|
|
3
|
-
const require_tool_registry = require("../../../tool_registry-
|
|
4
|
-
const require_thought = require("../../../thought-
|
|
5
|
-
const require_spooled_artifact = require("../../../spooled_artifact-
|
|
6
|
-
require("../../../common-
|
|
7
|
-
const require_tool_call = require("../../../tool_call-
|
|
3
|
+
const require_tool_registry = require("../../../tool_registry-bWKC6jt1.js");
|
|
4
|
+
const require_thought = require("../../../thought-c4d-q-3R.js");
|
|
5
|
+
const require_spooled_artifact = require("../../../spooled_artifact-xA7Te-kE.js");
|
|
6
|
+
require("../../../common-6WOPAB3-.js");
|
|
7
|
+
const require_tool_call = require("../../../tool_call-Bua8qpko.js");
|
|
8
8
|
require("../../../guards.cjs");
|
|
9
9
|
const require_batteries_storage_in_memory = require("../../storage/in_memory.cjs");
|
|
10
10
|
const require_helpers = require("../../../helpers-1okZzNCa.js");
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import { n as Message, t as Thought } from "../../../thought-
|
|
3
|
-
import { i as ArtifactTool, t as SpooledArtifact } from "../../../spooled_artifact-
|
|
4
|
-
import "../../../common-
|
|
5
|
-
import { n as Media, t as ToolCall } from "../../../tool_call-
|
|
1
|
+
import { a as Tokenizable, c as isObject, n as canonicalStringify, o as isError, s as isInstanceOf, t as ToolRegistry } from "../../../tool_registry-QKQYr8Tp.mjs";
|
|
2
|
+
import { n as Message, t as Thought } from "../../../thought-DXnh31HJ.mjs";
|
|
3
|
+
import { i as ArtifactTool, t as SpooledArtifact } from "../../../spooled_artifact-CmL5ci5Z.mjs";
|
|
4
|
+
import "../../../common-_77pbLLS.mjs";
|
|
5
|
+
import { n as Media, t as ToolCall } from "../../../tool_call-D69JEDXJ.mjs";
|
|
6
6
|
import "../../../guards.mjs";
|
|
7
7
|
import { InMemorySpoolStore } from "../../storage/in_memory.mjs";
|
|
8
8
|
import { a as defaultRenderMemories, c as defaultRenderStandingInstructions, d as defaultRenderThought, f as defaultRenderTrustedContent, i as defaultRenderFirstPartyRetrievables, l as defaultRenderThirdPartyPrivateRetrievables, m as defaultToolsToChatCompletionsTools, n as defaultFilterThoughts, o as defaultRenderRetrievableSafetyDirective, p as defaultRenderUntrustedContent, r as defaultRenderChatCompletionsSystemPrompt, s as defaultRenderRetrievables, t as defaultDescriptionToChatCompletionsJsonSchema, u as defaultRenderThirdPartyPublicRetrievables } from "../../../helpers-BCyDAn_R.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../../chunk-Cek0wNdY.js");
|
|
3
|
-
const require_common = require("../../../common-
|
|
3
|
+
const require_common = require("../../../common-6WOPAB3-.js");
|
|
4
4
|
require("../../../guards.cjs");
|
|
5
5
|
const require_batteries_llm_webllm_chat_completions_exceptions = require("./exceptions.cjs");
|
|
6
6
|
let _nhtio_validation = require("@nhtio/validation");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as byteStoreSchema } from "../../../common-
|
|
1
|
+
import { i as byteStoreSchema } from "../../../common-_77pbLLS.mjs";
|
|
2
2
|
import "../../../guards.mjs";
|
|
3
3
|
import { E_INVALID_WEBLLM_CHAT_COMPLETIONS_OPTIONS } from "./exceptions.mjs";
|
|
4
4
|
import { validator } from "@nhtio/validation";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../chunk-Cek0wNdY.js");
|
|
3
|
-
const require_tool_registry = require("../../tool_registry-
|
|
3
|
+
const require_tool_registry = require("../../tool_registry-bWKC6jt1.js");
|
|
4
4
|
require("../../guards.cjs");
|
|
5
5
|
//#region src/batteries/media/contracts.ts
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../../chunk-Cek0wNdY.js");
|
|
3
|
-
const require_tool_registry = require("../../../tool_registry-
|
|
3
|
+
const require_tool_registry = require("../../../tool_registry-bWKC6jt1.js");
|
|
4
4
|
require("../../../guards.cjs");
|
|
5
5
|
const require_batteries_media_contracts = require("../contracts.cjs");
|
|
6
6
|
const require_exceptions = require("../../../exceptions-D79HIKeX.js");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as isError } from "../../../tool_registry-
|
|
1
|
+
import { o as isError } from "../../../tool_registry-QKQYr8Tp.mjs";
|
|
2
2
|
import "../../../guards.mjs";
|
|
3
3
|
import { PCM_MIME, pcmToBytes } from "../contracts.mjs";
|
|
4
4
|
import { t as E_INVALID_MEDIA_PIPELINE_CONFIG } from "../../../exceptions-BLTn4Ofs.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../../chunk-Cek0wNdY.js");
|
|
3
|
-
const require_tool_registry = require("../../../tool_registry-
|
|
3
|
+
const require_tool_registry = require("../../../tool_registry-bWKC6jt1.js");
|
|
4
4
|
require("../../../guards.cjs");
|
|
5
5
|
const require_exceptions = require("../../../exceptions-D79HIKeX.js");
|
|
6
6
|
//#region src/batteries/media/engines/execa_executor.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as isObject, o as isError } from "../../../tool_registry-
|
|
1
|
+
import { c as isObject, o as isError } from "../../../tool_registry-QKQYr8Tp.mjs";
|
|
2
2
|
import "../../../guards.mjs";
|
|
3
3
|
import { t as E_INVALID_MEDIA_PIPELINE_CONFIG } from "../../../exceptions-BLTn4Ofs.mjs";
|
|
4
4
|
//#region src/batteries/media/engines/execa_executor.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../../chunk-Cek0wNdY.js");
|
|
3
|
-
const require_tool_registry = require("../../../tool_registry-
|
|
3
|
+
const require_tool_registry = require("../../../tool_registry-bWKC6jt1.js");
|
|
4
4
|
require("../../../guards.cjs");
|
|
5
5
|
const require_exceptions = require("../../../exceptions-D79HIKeX.js");
|
|
6
6
|
//#region src/batteries/media/engines/fs_workspace.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as isError, s as isInstanceOf } from "../../../tool_registry-
|
|
1
|
+
import { o as isError, s as isInstanceOf } from "../../../tool_registry-QKQYr8Tp.mjs";
|
|
2
2
|
import "../../../guards.mjs";
|
|
3
3
|
import { t as E_INVALID_MEDIA_PIPELINE_CONFIG } from "../../../exceptions-BLTn4Ofs.mjs";
|
|
4
4
|
//#region src/batteries/media/engines/fs_workspace.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../../chunk-Cek0wNdY.js");
|
|
3
|
-
const require_tool_registry = require("../../../tool_registry-
|
|
3
|
+
const require_tool_registry = require("../../../tool_registry-bWKC6jt1.js");
|
|
4
4
|
require("../../../guards.cjs");
|
|
5
5
|
const require_exceptions = require("../../../exceptions-D79HIKeX.js");
|
|
6
6
|
//#region src/batteries/media/engines/jimp.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as isError } from "../../../tool_registry-
|
|
1
|
+
import { o as isError } from "../../../tool_registry-QKQYr8Tp.mjs";
|
|
2
2
|
import "../../../guards.mjs";
|
|
3
3
|
import { t as E_INVALID_MEDIA_PIPELINE_CONFIG } from "../../../exceptions-BLTn4Ofs.mjs";
|
|
4
4
|
//#region src/batteries/media/engines/jimp.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../../chunk-Cek0wNdY.js");
|
|
3
|
-
const require_tool_registry = require("../../../tool_registry-
|
|
3
|
+
const require_tool_registry = require("../../../tool_registry-bWKC6jt1.js");
|
|
4
4
|
require("../../../guards.cjs");
|
|
5
5
|
const require_exceptions = require("../../../exceptions-D79HIKeX.js");
|
|
6
6
|
//#region src/batteries/media/engines/sharp.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as isError } from "../../../tool_registry-
|
|
1
|
+
import { o as isError } from "../../../tool_registry-QKQYr8Tp.mjs";
|
|
2
2
|
import "../../../guards.mjs";
|
|
3
3
|
import { t as E_INVALID_MEDIA_PIPELINE_CONFIG } from "../../../exceptions-BLTn4Ofs.mjs";
|
|
4
4
|
//#region src/batteries/media/engines/sharp.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../../chunk-Cek0wNdY.js");
|
|
3
|
-
const require_tool_registry = require("../../../tool_registry-
|
|
3
|
+
const require_tool_registry = require("../../../tool_registry-bWKC6jt1.js");
|
|
4
4
|
require("../../../guards.cjs");
|
|
5
5
|
const require_exceptions = require("../../../exceptions-D79HIKeX.js");
|
|
6
6
|
//#region src/batteries/media/engines/tesseract_js.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as isError } from "../../../tool_registry-
|
|
1
|
+
import { o as isError } from "../../../tool_registry-QKQYr8Tp.mjs";
|
|
2
2
|
import "../../../guards.mjs";
|
|
3
3
|
import { t as E_INVALID_MEDIA_PIPELINE_CONFIG } from "../../../exceptions-BLTn4Ofs.mjs";
|
|
4
4
|
//#region src/batteries/media/engines/tesseract_js.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../../chunk-Cek0wNdY.js");
|
|
3
|
-
const require_tool_registry = require("../../../tool_registry-
|
|
3
|
+
const require_tool_registry = require("../../../tool_registry-bWKC6jt1.js");
|
|
4
4
|
require("../../../guards.cjs");
|
|
5
5
|
const require_batteries_media_contracts = require("../contracts.cjs");
|
|
6
6
|
const require_exceptions = require("../../../exceptions-D79HIKeX.js");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as isError } from "../../../tool_registry-
|
|
1
|
+
import { o as isError } from "../../../tool_registry-QKQYr8Tp.mjs";
|
|
2
2
|
import "../../../guards.mjs";
|
|
3
3
|
import { PCM_MIME, bytesToPcm } from "../contracts.mjs";
|
|
4
4
|
import { t as E_INVALID_MEDIA_PIPELINE_CONFIG } from "../../../exceptions-BLTn4Ofs.mjs";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../chunk-Cek0wNdY.js");
|
|
3
|
-
const require_tool_registry = require("../../tool_registry-
|
|
4
|
-
const require_tool = require("../../tool-
|
|
5
|
-
require("../../common-
|
|
6
|
-
const require_tool_call = require("../../tool_call-
|
|
7
|
-
const require_spooled_markdown_artifact = require("../../spooled_markdown_artifact-
|
|
3
|
+
const require_tool_registry = require("../../tool_registry-bWKC6jt1.js");
|
|
4
|
+
const require_tool = require("../../tool-DerXDcez.js");
|
|
5
|
+
require("../../common-6WOPAB3-.js");
|
|
6
|
+
const require_tool_call = require("../../tool_call-Bua8qpko.js");
|
|
7
|
+
const require_spooled_markdown_artifact = require("../../spooled_markdown_artifact-B3wDMxcb.js");
|
|
8
8
|
require("../../guards.cjs");
|
|
9
9
|
const require_exceptions = require("../../exceptions-D79HIKeX.js");
|
|
10
|
-
const require_validate = require("../../validate-
|
|
10
|
+
const require_validate = require("../../validate-BT92vuuu.js");
|
|
11
11
|
let _nhtio_validation = require("@nhtio/validation");
|
|
12
12
|
//#region src/batteries/media/forge.ts
|
|
13
13
|
/**
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { o as isError } from "../../tool_registry-
|
|
2
|
-
import { t as Tool } from "../../tool-
|
|
3
|
-
import "../../common-
|
|
4
|
-
import { n as Media } from "../../tool_call-
|
|
5
|
-
import { n as SpooledJsonArtifact } from "../../spooled_markdown_artifact-
|
|
1
|
+
import { o as isError } from "../../tool_registry-QKQYr8Tp.mjs";
|
|
2
|
+
import { t as Tool } from "../../tool-DnebtFed.mjs";
|
|
3
|
+
import "../../common-_77pbLLS.mjs";
|
|
4
|
+
import { n as Media } from "../../tool_call-D69JEDXJ.mjs";
|
|
5
|
+
import { n as SpooledJsonArtifact } from "../../spooled_markdown_artifact-sEU_esW6.mjs";
|
|
6
6
|
import "../../guards.mjs";
|
|
7
7
|
import { t as E_INVALID_MEDIA_PIPELINE_CONFIG } from "../../exceptions-BLTn4Ofs.mjs";
|
|
8
|
-
import { m as toPipe, o as VERB_INDEX, s as foldVerb, t as availableVerbs } from "../../validate-
|
|
8
|
+
import { m as toPipe, o as VERB_INDEX, s as foldVerb, t as availableVerbs } from "../../validate-W0ZYAEAd.mjs";
|
|
9
9
|
import { validator } from "@nhtio/validation";
|
|
10
10
|
//#region src/batteries/media/forge.ts
|
|
11
11
|
/**
|
package/batteries/media/lint.cjs
CHANGED
package/batteries/media/lint.mjs
CHANGED
package/batteries/media.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_chunk = require("../chunk-Cek0wNdY.js");
|
|
3
|
-
const require_tool_registry = require("../tool_registry-
|
|
3
|
+
const require_tool_registry = require("../tool_registry-bWKC6jt1.js");
|
|
4
4
|
require("../guards.cjs");
|
|
5
5
|
const require_batteries_media_contracts = require("./media/contracts.cjs");
|
|
6
6
|
const require_exceptions = require("../exceptions-D79HIKeX.js");
|
|
7
|
-
const require_validate = require("../validate-
|
|
7
|
+
const require_validate = require("../validate-BT92vuuu.js");
|
|
8
8
|
let _nhtio_validation = require("@nhtio/validation");
|
|
9
9
|
let _nhtio_middleware = require("@nhtio/middleware");
|
|
10
10
|
let moo = require("moo");
|
package/batteries/media.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as isObject, o as isError, s as isInstanceOf } from "../tool_registry-
|
|
1
|
+
import { c as isObject, o as isError, s as isInstanceOf } from "../tool_registry-QKQYr8Tp.mjs";
|
|
2
2
|
import "../guards.mjs";
|
|
3
3
|
import { PCM_MIME, bytesToPcm, implementsMediaEngine, pcmToBytes } from "./media/contracts.mjs";
|
|
4
4
|
import { a as E_MEDIA_NOT_PIPE_EXPRESSIBLE, c as E_MEDIA_STEP_UNAVAILABLE, d as E_MEDIA_UNSUPPORTED_OP, i as E_MEDIA_MISSING_ARG, l as E_MEDIA_UNKNOWN_ARG, n as E_MEDIA_BAD_ARG, o as E_MEDIA_PIPE_SYNTAX, r as E_MEDIA_ENGINE_REQUIRED, s as E_MEDIA_STEP_FAILED, t as E_INVALID_MEDIA_PIPELINE_CONFIG, u as E_MEDIA_UNKNOWN_VERB } from "../exceptions-BLTn4Ofs.mjs";
|
|
5
|
-
import { a as VERBS, c as suggestVerbs, d as isMediaRef, f as isRegExpRef, i as FOLDED_VERBS, l as canonicalFlags, m as toPipe, n as validateOps, o as VERB_INDEX, p as toOps, r as validateSegments, s as foldVerb, t as availableVerbs, u as fromOps } from "../validate-
|
|
5
|
+
import { a as VERBS, c as suggestVerbs, d as isMediaRef, f as isRegExpRef, i as FOLDED_VERBS, l as canonicalFlags, m as toPipe, n as validateOps, o as VERB_INDEX, p as toOps, r as validateSegments, s as foldVerb, t as availableVerbs, u as fromOps } from "../validate-W0ZYAEAd.mjs";
|
|
6
6
|
import { validator } from "@nhtio/validation";
|
|
7
7
|
import { Middleware } from "@nhtio/middleware";
|
|
8
8
|
import moo from "moo";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_chunk = require("../../chunk-Cek0wNdY.js");
|
|
3
|
-
const require_tool_registry = require("../../tool_registry-
|
|
3
|
+
const require_tool_registry = require("../../tool_registry-bWKC6jt1.js");
|
|
4
4
|
require("../../guards.cjs");
|
|
5
5
|
//#endregion
|
|
6
6
|
//#region src/batteries/storage/flydrive/index.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __commonJSMin } from "../../chunk-Cf1989ZW.mjs";
|
|
2
|
-
import { s as isInstanceOf } from "../../tool_registry-
|
|
2
|
+
import { s as isInstanceOf } from "../../tool_registry-QKQYr8Tp.mjs";
|
|
3
3
|
import "../../guards.mjs";
|
|
4
4
|
//#endregion
|
|
5
5
|
//#region src/batteries/storage/flydrive/index.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../chunk-Cek0wNdY.js");
|
|
3
|
-
const require_tool_registry = require("../../tool_registry-
|
|
3
|
+
const require_tool_registry = require("../../tool_registry-bWKC6jt1.js");
|
|
4
4
|
require("../../guards.cjs");
|
|
5
5
|
//#region src/batteries/storage/in_memory/index.ts
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../chunk-Cek0wNdY.js");
|
|
3
|
-
const require_tool_registry = require("../../tool_registry-
|
|
3
|
+
const require_tool_registry = require("../../tool_registry-bWKC6jt1.js");
|
|
4
4
|
require("../../guards.cjs");
|
|
5
5
|
//#region src/batteries/storage/opfs/index.ts
|
|
6
6
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../chunk-Cek0wNdY.js");
|
|
3
|
-
const require_tool_registry = require("../../tool_registry-
|
|
4
|
-
const require_spooled_artifact = require("../../spooled_artifact-
|
|
3
|
+
const require_tool_registry = require("../../tool_registry-bWKC6jt1.js");
|
|
4
|
+
const require_spooled_artifact = require("../../spooled_artifact-xA7Te-kE.js");
|
|
5
5
|
require("../../guards.cjs");
|
|
6
6
|
require("../../spooled_artifact.cjs");
|
|
7
7
|
//#region src/batteries/tools/_shared/index.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as isObject, o as isError, s as isInstanceOf } from "../../tool_registry-
|
|
2
|
-
import { t as SpooledArtifact } from "../../spooled_artifact-
|
|
1
|
+
import { c as isObject, o as isError, s as isInstanceOf } from "../../tool_registry-QKQYr8Tp.mjs";
|
|
2
|
+
import { t as SpooledArtifact } from "../../spooled_artifact-CmL5ci5Z.mjs";
|
|
3
3
|
import "../../guards.mjs";
|
|
4
4
|
import "../../spooled_artifact.mjs";
|
|
5
5
|
//#region src/batteries/tools/_shared/index.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../chunk-Cek0wNdY.js");
|
|
3
|
-
const require_tool = require("../../tool-
|
|
4
|
-
require("../../common-
|
|
3
|
+
const require_tool = require("../../tool-DerXDcez.js");
|
|
4
|
+
require("../../common-6WOPAB3-.js");
|
|
5
5
|
let _nhtio_validation = require("@nhtio/validation");
|
|
6
6
|
//#region src/batteries/tools/color/index.ts
|
|
7
7
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Tool } from "../../tool-
|
|
2
|
-
import "../../common-
|
|
1
|
+
import { t as Tool } from "../../tool-DnebtFed.mjs";
|
|
2
|
+
import "../../common-_77pbLLS.mjs";
|
|
3
3
|
import { validator } from "@nhtio/validation";
|
|
4
4
|
//#region src/batteries/tools/color/index.ts
|
|
5
5
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../chunk-Cek0wNdY.js");
|
|
3
|
-
const require_tool_registry = require("../../tool_registry-
|
|
4
|
-
const require_tool = require("../../tool-
|
|
5
|
-
require("../../common-
|
|
3
|
+
const require_tool_registry = require("../../tool_registry-bWKC6jt1.js");
|
|
4
|
+
const require_tool = require("../../tool-DerXDcez.js");
|
|
5
|
+
require("../../common-6WOPAB3-.js");
|
|
6
6
|
require("../../guards.cjs");
|
|
7
7
|
let _nhtio_validation = require("@nhtio/validation");
|
|
8
8
|
//#region src/batteries/tools/comparison/index.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { o as isError } from "../../tool_registry-
|
|
2
|
-
import { t as Tool } from "../../tool-
|
|
3
|
-
import "../../common-
|
|
1
|
+
import { o as isError } from "../../tool_registry-QKQYr8Tp.mjs";
|
|
2
|
+
import { t as Tool } from "../../tool-DnebtFed.mjs";
|
|
3
|
+
import "../../common-_77pbLLS.mjs";
|
|
4
4
|
import "../../guards.mjs";
|
|
5
5
|
import { validator } from "@nhtio/validation";
|
|
6
6
|
//#region src/batteries/tools/comparison/index.ts
|