@hashgraphonline/standards-agent-kit 0.0.17 → 0.0.19
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 +83 -0
- package/dist/_virtual/_commonjsHelpers.js +7 -0
- package/dist/_virtual/_commonjsHelpers.js.map +1 -0
- package/dist/_virtual/index.js +8 -0
- package/dist/_virtual/index.js.map +1 -0
- package/dist/_virtual/index10.js +5 -0
- package/dist/_virtual/index10.js.map +1 -0
- package/dist/_virtual/index11.js +5 -0
- package/dist/_virtual/index11.js.map +1 -0
- package/dist/_virtual/index12.js +8 -0
- package/dist/_virtual/index12.js.map +1 -0
- package/dist/_virtual/index13.js +5 -0
- package/dist/_virtual/index13.js.map +1 -0
- package/dist/_virtual/index14.js +5 -0
- package/dist/_virtual/index14.js.map +1 -0
- package/dist/_virtual/index2.js +3 -0
- package/dist/_virtual/index2.js.map +1 -0
- package/dist/_virtual/index3.js +8 -0
- package/dist/_virtual/index3.js.map +1 -0
- package/dist/_virtual/index4.js +8 -0
- package/dist/_virtual/index4.js.map +1 -0
- package/dist/_virtual/index5.js +6 -0
- package/dist/_virtual/index5.js.map +1 -0
- package/dist/_virtual/index6.js +8 -0
- package/dist/_virtual/index6.js.map +1 -0
- package/dist/_virtual/index7.js +5 -0
- package/dist/_virtual/index7.js.map +1 -0
- package/dist/_virtual/index8.js +5 -0
- package/dist/_virtual/index8.js.map +1 -0
- package/dist/_virtual/index9.js +5 -0
- package/dist/_virtual/index9.js.map +1 -0
- package/dist/_virtual/lower-bound.js +5 -0
- package/dist/_virtual/lower-bound.js.map +1 -0
- package/dist/_virtual/priority-queue.js +5 -0
- package/dist/_virtual/priority-queue.js.map +1 -0
- package/dist/_virtual/re.js +5 -0
- package/dist/_virtual/re.js.map +1 -0
- package/dist/_virtual/retry.js +5 -0
- package/dist/_virtual/retry.js.map +1 -0
- package/dist/agents/index.d.ts +0 -0
- package/dist/hcs10/HCS10Client.d.ts +117 -0
- package/dist/hcs10/HCS10Client.js +251 -0
- package/dist/hcs10/HCS10Client.js.map +1 -0
- package/dist/hcs10/index.d.ts +1 -0
- package/dist/hcs10/types.d.ts +35 -0
- package/dist/index.d.ts +5 -2
- package/dist/index.es.js +9747 -11699
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +44 -0
- package/dist/index.js.map +1 -0
- package/dist/init.d.ts +59 -0
- package/dist/init.js +92 -0
- package/dist/init.js.map +1 -0
- package/dist/node_modules/@langchain/core/dist/callbacks/base.js +98 -0
- package/dist/node_modules/@langchain/core/dist/callbacks/base.js.map +1 -0
- package/dist/node_modules/@langchain/core/dist/callbacks/manager.js +419 -0
- package/dist/node_modules/@langchain/core/dist/callbacks/manager.js.map +1 -0
- package/dist/node_modules/@langchain/core/dist/callbacks/promises.js +16 -0
- package/dist/node_modules/@langchain/core/dist/callbacks/promises.js.map +1 -0
- package/dist/node_modules/@langchain/core/dist/language_models/base.js +42 -0
- package/dist/node_modules/@langchain/core/dist/language_models/base.js.map +1 -0
- package/dist/node_modules/@langchain/core/dist/load/map_keys.js +16 -0
- package/dist/node_modules/@langchain/core/dist/load/map_keys.js.map +1 -0
- package/dist/node_modules/@langchain/core/dist/load/serializable.js +121 -0
- package/dist/node_modules/@langchain/core/dist/load/serializable.js.map +1 -0
- package/dist/node_modules/@langchain/core/dist/messages/ai.js +95 -0
- package/dist/node_modules/@langchain/core/dist/messages/ai.js.map +1 -0
- package/dist/node_modules/@langchain/core/dist/messages/base.js +112 -0
- package/dist/node_modules/@langchain/core/dist/messages/base.js.map +1 -0
- package/dist/node_modules/@langchain/core/dist/messages/utils.js +30 -0
- package/dist/node_modules/@langchain/core/dist/messages/utils.js.map +1 -0
- package/dist/node_modules/@langchain/core/dist/runnables/base.js +1277 -0
- package/dist/node_modules/@langchain/core/dist/runnables/base.js.map +1 -0
- package/dist/node_modules/@langchain/core/dist/runnables/config.js +83 -0
- package/dist/node_modules/@langchain/core/dist/runnables/config.js.map +1 -0
- package/dist/node_modules/@langchain/core/dist/runnables/graph.js +106 -0
- package/dist/node_modules/@langchain/core/dist/runnables/graph.js.map +1 -0
- package/dist/node_modules/@langchain/core/dist/runnables/iter.js +33 -0
- package/dist/node_modules/@langchain/core/dist/runnables/iter.js.map +1 -0
- package/dist/node_modules/@langchain/core/dist/runnables/utils.js +54 -0
- package/dist/node_modules/@langchain/core/dist/runnables/utils.js.map +1 -0
- package/dist/node_modules/@langchain/core/dist/runnables/wrappers.js +20 -0
- package/dist/node_modules/@langchain/core/dist/runnables/wrappers.js.map +1 -0
- package/dist/node_modules/@langchain/core/dist/singletons/index.js +34 -0
- package/dist/node_modules/@langchain/core/dist/singletons/index.js.map +1 -0
- package/dist/node_modules/@langchain/core/dist/tools.js +69 -0
- package/dist/node_modules/@langchain/core/dist/tools.js.map +1 -0
- package/dist/node_modules/@langchain/core/dist/tracers/base.js +299 -0
- package/dist/node_modules/@langchain/core/dist/tracers/base.js.map +1 -0
- package/dist/node_modules/@langchain/core/dist/tracers/console.js +193 -0
- package/dist/node_modules/@langchain/core/dist/tracers/console.js.map +1 -0
- package/dist/node_modules/@langchain/core/dist/tracers/initialize.js +10 -0
- package/dist/node_modules/@langchain/core/dist/tracers/initialize.js.map +1 -0
- package/dist/node_modules/@langchain/core/dist/tracers/log_stream.js +284 -0
- package/dist/node_modules/@langchain/core/dist/tracers/log_stream.js.map +1 -0
- package/dist/node_modules/@langchain/core/dist/tracers/root_listener.js +54 -0
- package/dist/node_modules/@langchain/core/dist/tracers/root_listener.js.map +1 -0
- package/dist/node_modules/@langchain/core/dist/tracers/tracer_langchain.js +68 -0
- package/dist/node_modules/@langchain/core/dist/tracers/tracer_langchain.js.map +1 -0
- package/dist/node_modules/@langchain/core/dist/utils/async_caller.js +86 -0
- package/dist/node_modules/@langchain/core/dist/utils/async_caller.js.map +1 -0
- package/dist/node_modules/@langchain/core/dist/utils/env.js +33 -0
- package/dist/node_modules/@langchain/core/dist/utils/env.js.map +1 -0
- package/dist/node_modules/@langchain/core/dist/utils/fast-json-patch/core.js +218 -0
- package/dist/node_modules/@langchain/core/dist/utils/fast-json-patch/core.js.map +1 -0
- package/dist/node_modules/@langchain/core/dist/utils/fast-json-patch/helpers.js +117 -0
- package/dist/node_modules/@langchain/core/dist/utils/fast-json-patch/helpers.js.map +1 -0
- package/dist/node_modules/@langchain/core/dist/utils/json.js +40 -0
- package/dist/node_modules/@langchain/core/dist/utils/json.js.map +1 -0
- package/dist/node_modules/@langchain/core/dist/utils/stream.js +164 -0
- package/dist/node_modules/@langchain/core/dist/utils/stream.js.map +1 -0
- package/dist/node_modules/@langchain/core/node_modules/ansi-styles/index.js +111 -0
- package/dist/node_modules/@langchain/core/node_modules/ansi-styles/index.js.map +1 -0
- package/dist/node_modules/@langchain/core/node_modules/camelcase/index.js +30 -0
- package/dist/node_modules/@langchain/core/node_modules/camelcase/index.js.map +1 -0
- package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/client.js +2002 -0
- package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/client.js.map +1 -0
- package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/index.js +8 -0
- package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/index.js.map +1 -0
- package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/singletons/fetch.js +5 -0
- package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/singletons/fetch.js.map +1 -0
- package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/utils/_uuid.js +12 -0
- package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/utils/_uuid.js.map +1 -0
- package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/utils/async_caller.js +94 -0
- package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/utils/async_caller.js.map +1 -0
- package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/utils/env.js +96 -0
- package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/utils/env.js.map +1 -0
- package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/utils/error.js +20 -0
- package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/utils/error.js.map +1 -0
- package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/utils/fast-safe-stringify/index.js +82 -0
- package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/utils/fast-safe-stringify/index.js.map +1 -0
- package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/utils/messages.js +15 -0
- package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/utils/messages.js.map +1 -0
- package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/utils/prompts.js +27 -0
- package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/utils/prompts.js.map +1 -0
- package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/utils/warn.js +8 -0
- package/dist/node_modules/@langchain/core/node_modules/langsmith/dist/utils/warn.js.map +1 -0
- package/dist/node_modules/@langchain/core/node_modules/langsmith/node_modules/uuid/dist/esm-browser/native.js +8 -0
- package/dist/node_modules/@langchain/core/node_modules/langsmith/node_modules/uuid/dist/esm-browser/native.js.map +1 -0
- package/dist/node_modules/@langchain/core/node_modules/langsmith/node_modules/uuid/dist/esm-browser/regex.js +5 -0
- package/dist/node_modules/@langchain/core/node_modules/langsmith/node_modules/uuid/dist/esm-browser/regex.js.map +1 -0
- package/dist/node_modules/@langchain/core/node_modules/langsmith/node_modules/uuid/dist/esm-browser/rng.js +10 -0
- package/dist/node_modules/@langchain/core/node_modules/langsmith/node_modules/uuid/dist/esm-browser/rng.js.map +1 -0
- package/dist/node_modules/@langchain/core/node_modules/langsmith/node_modules/uuid/dist/esm-browser/stringify.js +10 -0
- package/dist/node_modules/@langchain/core/node_modules/langsmith/node_modules/uuid/dist/esm-browser/stringify.js.map +1 -0
- package/dist/node_modules/@langchain/core/node_modules/langsmith/node_modules/uuid/dist/esm-browser/v4.js +14 -0
- package/dist/node_modules/@langchain/core/node_modules/langsmith/node_modules/uuid/dist/esm-browser/v4.js.map +1 -0
- package/dist/node_modules/@langchain/core/node_modules/langsmith/node_modules/uuid/dist/esm-browser/validate.js +8 -0
- package/dist/node_modules/@langchain/core/node_modules/langsmith/node_modules/uuid/dist/esm-browser/validate.js.map +1 -0
- package/dist/node_modules/@langchain/core/node_modules/uuid/dist/esm-browser/native.js +7 -0
- package/dist/node_modules/@langchain/core/node_modules/uuid/dist/esm-browser/native.js.map +1 -0
- package/dist/node_modules/@langchain/core/node_modules/uuid/dist/esm-browser/regex.js +5 -0
- package/dist/node_modules/@langchain/core/node_modules/uuid/dist/esm-browser/regex.js.map +1 -0
- package/dist/node_modules/@langchain/core/node_modules/uuid/dist/esm-browser/rng.js +11 -0
- package/dist/node_modules/@langchain/core/node_modules/uuid/dist/esm-browser/rng.js.map +1 -0
- package/dist/node_modules/@langchain/core/node_modules/uuid/dist/esm-browser/stringify.js +10 -0
- package/dist/node_modules/@langchain/core/node_modules/uuid/dist/esm-browser/stringify.js.map +1 -0
- package/dist/node_modules/@langchain/core/node_modules/uuid/dist/esm-browser/v4.js +14 -0
- package/dist/node_modules/@langchain/core/node_modules/uuid/dist/esm-browser/v4.js.map +1 -0
- package/dist/node_modules/@langchain/core/node_modules/uuid/dist/esm-browser/validate.js +8 -0
- package/dist/node_modules/@langchain/core/node_modules/uuid/dist/esm-browser/validate.js.map +1 -0
- package/dist/node_modules/base64-js/index.js +53 -0
- package/dist/node_modules/base64-js/index.js.map +1 -0
- package/dist/node_modules/decamelize/index.js +12 -0
- package/dist/node_modules/decamelize/index.js.map +1 -0
- package/dist/node_modules/eventemitter3/index.js +112 -0
- package/dist/node_modules/eventemitter3/index.js.map +1 -0
- package/dist/node_modules/js-tiktoken/dist/chunk-Z5MDQTGX.js +117 -0
- package/dist/node_modules/js-tiktoken/dist/chunk-Z5MDQTGX.js.map +1 -0
- package/dist/node_modules/p-finally/index.js +18 -0
- package/dist/node_modules/p-finally/index.js.map +1 -0
- package/dist/node_modules/p-queue/dist/index.js +198 -0
- package/dist/node_modules/p-queue/dist/index.js.map +1 -0
- package/dist/node_modules/p-queue/dist/lower-bound.js +20 -0
- package/dist/node_modules/p-queue/dist/lower-bound.js.map +1 -0
- package/dist/node_modules/p-queue/dist/priority-queue.js +41 -0
- package/dist/node_modules/p-queue/dist/priority-queue.js.map +1 -0
- package/dist/node_modules/p-retry/index.js +63 -0
- package/dist/node_modules/p-retry/index.js.map +1 -0
- package/dist/node_modules/p-timeout/index.js +45 -0
- package/dist/node_modules/p-timeout/index.js.map +1 -0
- package/dist/node_modules/retry/index.js +9 -0
- package/dist/node_modules/retry/index.js.map +1 -0
- package/dist/node_modules/retry/lib/retry.js +59 -0
- package/dist/node_modules/retry/lib/retry.js.map +1 -0
- package/dist/node_modules/retry/lib/retry_operation.js +58 -0
- package/dist/node_modules/retry/lib/retry_operation.js.map +1 -0
- package/dist/node_modules/semver/classes/comparator.js +57 -0
- package/dist/node_modules/semver/classes/comparator.js.map +1 -0
- package/dist/node_modules/semver/classes/range.js +149 -0
- package/dist/node_modules/semver/classes/range.js.map +1 -0
- package/dist/node_modules/semver/classes/semver.js +170 -0
- package/dist/node_modules/semver/classes/semver.js.map +1 -0
- package/dist/node_modules/semver/functions/clean.js +15 -0
- package/dist/node_modules/semver/functions/clean.js.map +1 -0
- package/dist/node_modules/semver/functions/cmp.js +40 -0
- package/dist/node_modules/semver/functions/cmp.js.map +1 -0
- package/dist/node_modules/semver/functions/coerce.js +34 -0
- package/dist/node_modules/semver/functions/coerce.js.map +1 -0
- package/dist/node_modules/semver/functions/compare-build.js +15 -0
- package/dist/node_modules/semver/functions/compare-build.js.map +1 -0
- package/dist/node_modules/semver/functions/compare-loose.js +12 -0
- package/dist/node_modules/semver/functions/compare-loose.js.map +1 -0
- package/dist/node_modules/semver/functions/compare.js +12 -0
- package/dist/node_modules/semver/functions/compare.js.map +1 -0
- package/dist/node_modules/semver/functions/diff.js +25 -0
- package/dist/node_modules/semver/functions/diff.js.map +1 -0
- package/dist/node_modules/semver/functions/eq.js +12 -0
- package/dist/node_modules/semver/functions/eq.js.map +1 -0
- package/dist/node_modules/semver/functions/gt.js +12 -0
- package/dist/node_modules/semver/functions/gt.js.map +1 -0
- package/dist/node_modules/semver/functions/gte.js +12 -0
- package/dist/node_modules/semver/functions/gte.js.map +1 -0
- package/dist/node_modules/semver/functions/inc.js +22 -0
- package/dist/node_modules/semver/functions/inc.js.map +1 -0
- package/dist/node_modules/semver/functions/lt.js +12 -0
- package/dist/node_modules/semver/functions/lt.js.map +1 -0
- package/dist/node_modules/semver/functions/lte.js +12 -0
- package/dist/node_modules/semver/functions/lte.js.map +1 -0
- package/dist/node_modules/semver/functions/major.js +12 -0
- package/dist/node_modules/semver/functions/major.js.map +1 -0
- package/dist/node_modules/semver/functions/minor.js +12 -0
- package/dist/node_modules/semver/functions/minor.js.map +1 -0
- package/dist/node_modules/semver/functions/neq.js +12 -0
- package/dist/node_modules/semver/functions/neq.js.map +1 -0
- package/dist/node_modules/semver/functions/parse.js +22 -0
- package/dist/node_modules/semver/functions/parse.js.map +1 -0
- package/dist/node_modules/semver/functions/patch.js +12 -0
- package/dist/node_modules/semver/functions/patch.js.map +1 -0
- package/dist/node_modules/semver/functions/prerelease.js +15 -0
- package/dist/node_modules/semver/functions/prerelease.js.map +1 -0
- package/dist/node_modules/semver/functions/rcompare.js +12 -0
- package/dist/node_modules/semver/functions/rcompare.js.map +1 -0
- package/dist/node_modules/semver/functions/rsort.js +12 -0
- package/dist/node_modules/semver/functions/rsort.js.map +1 -0
- package/dist/node_modules/semver/functions/satisfies.js +19 -0
- package/dist/node_modules/semver/functions/satisfies.js.map +1 -0
- package/dist/node_modules/semver/functions/sort.js +12 -0
- package/dist/node_modules/semver/functions/sort.js.map +1 -0
- package/dist/node_modules/semver/functions/valid.js +15 -0
- package/dist/node_modules/semver/functions/valid.js.map +1 -0
- package/dist/node_modules/semver/index.js +98 -0
- package/dist/node_modules/semver/index.js.map +1 -0
- package/dist/node_modules/semver/internal/constants.js +29 -0
- package/dist/node_modules/semver/internal/constants.js.map +1 -0
- package/dist/node_modules/semver/internal/debug.js +9 -0
- package/dist/node_modules/semver/internal/debug.js.map +1 -0
- package/dist/node_modules/semver/internal/identifiers.js +17 -0
- package/dist/node_modules/semver/internal/identifiers.js.map +1 -0
- package/dist/node_modules/semver/internal/lrucache.js +33 -0
- package/dist/node_modules/semver/internal/lrucache.js.map +1 -0
- package/dist/node_modules/semver/internal/parse-options.js +11 -0
- package/dist/node_modules/semver/internal/parse-options.js.map +1 -0
- package/dist/node_modules/semver/internal/re.js +33 -0
- package/dist/node_modules/semver/internal/re.js.map +1 -0
- package/dist/node_modules/semver/ranges/gtr.js +12 -0
- package/dist/node_modules/semver/ranges/gtr.js.map +1 -0
- package/dist/node_modules/semver/ranges/intersects.js +12 -0
- package/dist/node_modules/semver/ranges/intersects.js.map +1 -0
- package/dist/node_modules/semver/ranges/ltr.js +12 -0
- package/dist/node_modules/semver/ranges/ltr.js.map +1 -0
- package/dist/node_modules/semver/ranges/max-satisfying.js +23 -0
- package/dist/node_modules/semver/ranges/max-satisfying.js.map +1 -0
- package/dist/node_modules/semver/ranges/min-satisfying.js +23 -0
- package/dist/node_modules/semver/ranges/min-satisfying.js.map +1 -0
- package/dist/node_modules/semver/ranges/min-version.js +43 -0
- package/dist/node_modules/semver/ranges/min-version.js.map +1 -0
- package/dist/node_modules/semver/ranges/outside.js +45 -0
- package/dist/node_modules/semver/ranges/outside.js.map +1 -0
- package/dist/node_modules/semver/ranges/simplify.js +25 -0
- package/dist/node_modules/semver/ranges/simplify.js.map +1 -0
- package/dist/node_modules/semver/ranges/subset.js +95 -0
- package/dist/node_modules/semver/ranges/subset.js.map +1 -0
- package/dist/node_modules/semver/ranges/to-comparators.js +12 -0
- package/dist/node_modules/semver/ranges/to-comparators.js.map +1 -0
- package/dist/node_modules/semver/ranges/valid.js +18 -0
- package/dist/node_modules/semver/ranges/valid.js.map +1 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/Options.js +32 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/Options.js.map +1 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/Refs.js +22 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/Refs.js.map +1 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/errorMessages.js +14 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/errorMessages.js.map +1 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parseDef.js +44 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parseDef.js.map +1 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/any.js +7 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/any.js.map +1 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/array.js +17 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/array.js.map +1 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/bigint.js +26 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/bigint.js.map +1 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/boolean.js +9 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/boolean.js.map +1 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/branded.js +8 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/branded.js.map +1 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/catch.js +6 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/catch.js.map +1 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/date.js +59 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/date.js.map +1 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/default.js +11 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/default.js.map +1 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/effects.js +8 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/effects.js.map +1 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/enum.js +10 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/enum.js.map +1 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/intersection.js +36 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/intersection.js.map +1 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/literal.js +16 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/literal.js.map +1 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/map.js +27 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/map.js.map +1 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/nativeEnum.js +11 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/nativeEnum.js.map +1 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/never.js +9 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/never.js.map +1 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/null.js +12 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/null.js.map +1 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/nullable.js +30 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/nullable.js.map +1 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/number.js +28 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/number.js.map +1 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/object.js +50 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/object.js.map +1 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/optional.js +22 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/optional.js.map +1 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/pipeline.js +21 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/pipeline.js.map +1 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/promise.js +8 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/promise.js.map +1 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/readonly.js +6 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/readonly.js.map +1 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/record.js +56 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/record.js.map +1 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/set.js +17 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/set.js.map +1 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/string.js +245 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/string.js.map +1 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/tuple.js +27 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/tuple.js.map +1 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/undefined.js +9 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/undefined.js.map +1 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/union.js +69 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/union.js.map +1 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/unknown.js +7 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/unknown.js.map +1 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/selectParser.js +110 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/selectParser.js.map +1 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/zodToJsonSchema.js +26 -0
- package/dist/node_modules/zod-to-json-schema/dist/esm/zodToJsonSchema.js.map +1 -0
- package/dist/plugins/BasePlugin.d.ts +28 -0
- package/dist/plugins/BasePlugin.js +19 -0
- package/dist/plugins/BasePlugin.js.map +1 -0
- package/dist/plugins/PluginInterface.d.ts +64 -0
- package/dist/plugins/PluginLoader.d.ts +38 -0
- package/dist/plugins/PluginLoader.js +60 -0
- package/dist/plugins/PluginLoader.js.map +1 -0
- package/dist/plugins/PluginRegistry.d.ts +47 -0
- package/dist/plugins/PluginRegistry.js +71 -0
- package/dist/plugins/PluginRegistry.js.map +1 -0
- package/dist/plugins/__tests__/BasePlugin.test.d.ts +1 -0
- package/dist/plugins/__tests__/PluginLoader.test.d.ts +1 -0
- package/dist/plugins/__tests__/PluginRegistry.test.d.ts +1 -0
- package/dist/plugins/defi/index.d.ts +13 -0
- package/dist/plugins/hedera/HbarPricePlugin.d.ts +45 -0
- package/dist/plugins/hedera/HbarPricePlugin.js +70 -0
- package/dist/plugins/hedera/HbarPricePlugin.js.map +1 -0
- package/dist/plugins/hedera/__tests__/HbarPricePlugin.test.d.ts +1 -0
- package/dist/plugins/index.d.ts +5 -0
- package/dist/plugins/weather/index.d.ts +15 -0
- package/dist/src/agents/index.d.ts +0 -0
- package/dist/src/init.d.ts +2 -2
- package/dist/src/plugins/hedera/HbarPricePlugin.d.ts +45 -0
- package/dist/src/plugins/index.d.ts +1 -0
- package/dist/src/tools/CheckMessagesTool.d.ts +9 -2
- package/dist/src/utils/state-tools.d.ts +23 -0
- package/dist/state/index.d.ts +2 -0
- package/dist/state/open-convai-state.d.ts +84 -0
- package/dist/state/open-convai-state.js +132 -0
- package/dist/state/open-convai-state.js.map +1 -0
- package/dist/state/state-types.d.ts +143 -0
- package/dist/tools/AcceptConnectionRequestTool.d.ts +33 -0
- package/dist/tools/AcceptConnectionRequestTool.js +116 -0
- package/dist/tools/AcceptConnectionRequestTool.js.map +1 -0
- package/dist/tools/CheckMessagesTool.d.ts +34 -0
- package/dist/tools/CheckMessagesTool.js +96 -0
- package/dist/tools/CheckMessagesTool.js.map +1 -0
- package/dist/tools/ConnectionMonitorTool.d.ts +96 -0
- package/dist/tools/ConnectionMonitorTool.js +289 -0
- package/dist/tools/ConnectionMonitorTool.js.map +1 -0
- package/dist/tools/ConnectionTool.d.ts +40 -0
- package/dist/tools/ConnectionTool.js +114 -0
- package/dist/tools/ConnectionTool.js.map +1 -0
- package/dist/tools/FindRegistrationsTool.d.ts +27 -0
- package/dist/tools/FindRegistrationsTool.js +64 -0
- package/dist/tools/FindRegistrationsTool.js.map +1 -0
- package/dist/tools/InitiateConnectionTool.d.ts +30 -0
- package/dist/tools/InitiateConnectionTool.js +79 -0
- package/dist/tools/InitiateConnectionTool.js.map +1 -0
- package/dist/tools/ListConnectionsTool.d.ts +33 -0
- package/dist/tools/ListConnectionsTool.js +327 -0
- package/dist/tools/ListConnectionsTool.js.map +1 -0
- package/dist/tools/ListUnapprovedConnectionRequestsTool.d.ts +53 -0
- package/dist/tools/ListUnapprovedConnectionRequestsTool.js +177 -0
- package/dist/tools/ListUnapprovedConnectionRequestsTool.js.map +1 -0
- package/dist/tools/ManageConnectionRequestsTool.d.ts +39 -0
- package/dist/tools/ManageConnectionRequestsTool.js +161 -0
- package/dist/tools/ManageConnectionRequestsTool.js.map +1 -0
- package/dist/tools/RegisterAgentTool.d.ts +188 -0
- package/dist/tools/RegisterAgentTool.js +331 -0
- package/dist/tools/RegisterAgentTool.js.map +1 -0
- package/dist/tools/RetrieveProfileTool.d.ts +34 -0
- package/dist/tools/RetrieveProfileTool.js +53 -0
- package/dist/tools/RetrieveProfileTool.js.map +1 -0
- package/dist/tools/SendMessageToConnectionTool.d.ts +31 -0
- package/dist/tools/SendMessageToConnectionTool.js +74 -0
- package/dist/tools/SendMessageToConnectionTool.js.map +1 -0
- package/dist/tools/SendMessageTool.d.ts +44 -0
- package/dist/tools/SendMessageTool.js +75 -0
- package/dist/tools/SendMessageTool.js.map +1 -0
- package/dist/tools/index.d.ts +13 -0
- package/dist/utils/Encryption.d.ts +7 -0
- package/dist/utils/Encryption.js +7 -0
- package/dist/utils/Encryption.js.map +1 -0
- package/dist/utils/HederaClient.d.ts +18 -0
- package/dist/utils/connectionUtils.d.ts +15 -0
- package/dist/utils/connectionUtils.js +64 -0
- package/dist/utils/connectionUtils.js.map +1 -0
- package/dist/utils/state-tools.d.ts +23 -0
- package/dist/utils/state-tools.js +90 -0
- package/dist/utils/state-tools.js.map +1 -0
- package/package.json +20 -10
package/dist/index.js
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { initializeHCS10Client as r } from "./init.js";
|
|
2
|
+
import { HCS10Client as n } from "./hcs10/HCS10Client.js";
|
|
3
|
+
import { RegisterAgentTool as p } from "./tools/RegisterAgentTool.js";
|
|
4
|
+
import { SendMessageTool as f } from "./tools/SendMessageTool.js";
|
|
5
|
+
import { ConnectionTool as s } from "./tools/ConnectionTool.js";
|
|
6
|
+
import { SendMessageToConnectionTool as a } from "./tools/SendMessageToConnectionTool.js";
|
|
7
|
+
import { InitiateConnectionTool as C } from "./tools/InitiateConnectionTool.js";
|
|
8
|
+
import { ListConnectionsTool as g } from "./tools/ListConnectionsTool.js";
|
|
9
|
+
import { CheckMessagesTool as P } from "./tools/CheckMessagesTool.js";
|
|
10
|
+
import { FindRegistrationsTool as d } from "./tools/FindRegistrationsTool.js";
|
|
11
|
+
import { ConnectionMonitorTool as S } from "./tools/ConnectionMonitorTool.js";
|
|
12
|
+
import { ManageConnectionRequestsTool as q } from "./tools/ManageConnectionRequestsTool.js";
|
|
13
|
+
import { AcceptConnectionRequestTool as L } from "./tools/AcceptConnectionRequestTool.js";
|
|
14
|
+
import { RetrieveProfileTool as A } from "./tools/RetrieveProfileTool.js";
|
|
15
|
+
import { ListUnapprovedConnectionRequestsTool as k } from "./tools/ListUnapprovedConnectionRequestsTool.js";
|
|
16
|
+
import { OpenConvaiState as z } from "./state/open-convai-state.js";
|
|
17
|
+
import { PluginRegistry as F } from "./plugins/PluginRegistry.js";
|
|
18
|
+
import { BasePlugin as I } from "./plugins/BasePlugin.js";
|
|
19
|
+
import { PluginLoader as U } from "./plugins/PluginLoader.js";
|
|
20
|
+
import { GetHbarPriceTool as w, HbarPricePlugin as D } from "./plugins/hedera/HbarPricePlugin.js";
|
|
21
|
+
export {
|
|
22
|
+
L as AcceptConnectionRequestTool,
|
|
23
|
+
I as BasePlugin,
|
|
24
|
+
P as CheckMessagesTool,
|
|
25
|
+
S as ConnectionMonitorTool,
|
|
26
|
+
s as ConnectionTool,
|
|
27
|
+
d as FindRegistrationsTool,
|
|
28
|
+
w as GetHbarPriceTool,
|
|
29
|
+
n as HCS10Client,
|
|
30
|
+
D as HbarPricePlugin,
|
|
31
|
+
C as InitiateConnectionTool,
|
|
32
|
+
g as ListConnectionsTool,
|
|
33
|
+
k as ListUnapprovedConnectionRequestsTool,
|
|
34
|
+
q as ManageConnectionRequestsTool,
|
|
35
|
+
z as OpenConvaiState,
|
|
36
|
+
U as PluginLoader,
|
|
37
|
+
F as PluginRegistry,
|
|
38
|
+
p as RegisterAgentTool,
|
|
39
|
+
A as RetrieveProfileTool,
|
|
40
|
+
a as SendMessageToConnectionTool,
|
|
41
|
+
f as SendMessageTool,
|
|
42
|
+
r as initializeHCS10Client
|
|
43
|
+
};
|
|
44
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;"}
|
package/dist/init.d.ts
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { HCS10Client, StandardNetworkType } from './hcs10/HCS10Client';
|
|
2
|
+
import { RegisterAgentTool } from './tools/RegisterAgentTool';
|
|
3
|
+
import { SendMessageTool } from './tools/SendMessageTool';
|
|
4
|
+
import { ConnectionTool } from './tools/ConnectionTool';
|
|
5
|
+
import { IStateManager } from './state/state-types';
|
|
6
|
+
import { FindRegistrationsTool } from './tools/FindRegistrationsTool';
|
|
7
|
+
import { InitiateConnectionTool } from './tools/InitiateConnectionTool';
|
|
8
|
+
import { ListConnectionsTool } from './tools/ListConnectionsTool';
|
|
9
|
+
import { SendMessageToConnectionTool } from './tools/SendMessageToConnectionTool';
|
|
10
|
+
import { CheckMessagesTool } from './tools/CheckMessagesTool';
|
|
11
|
+
import { ConnectionMonitorTool } from './tools/ConnectionMonitorTool';
|
|
12
|
+
import { ManageConnectionRequestsTool } from './tools/ManageConnectionRequestsTool';
|
|
13
|
+
import { AcceptConnectionRequestTool } from './tools/AcceptConnectionRequestTool';
|
|
14
|
+
import { RetrieveProfileTool } from './tools/RetrieveProfileTool';
|
|
15
|
+
import { ListUnapprovedConnectionRequestsTool } from './tools/ListUnapprovedConnectionRequestsTool';
|
|
16
|
+
export interface HCS10ClientConfig {
|
|
17
|
+
operatorId?: string;
|
|
18
|
+
operatorKey?: string;
|
|
19
|
+
network?: StandardNetworkType;
|
|
20
|
+
useEncryption?: boolean;
|
|
21
|
+
registryUrl?: string;
|
|
22
|
+
logLevel?: 'debug' | 'info' | 'warn' | 'error';
|
|
23
|
+
}
|
|
24
|
+
export interface HCS10InitializationOptions {
|
|
25
|
+
clientConfig?: HCS10ClientConfig;
|
|
26
|
+
stateManager?: IStateManager;
|
|
27
|
+
createAllTools?: boolean;
|
|
28
|
+
monitoringClient?: boolean;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Tool collection containing all available tools from the standards-agent-kit
|
|
32
|
+
*/
|
|
33
|
+
export interface HCS10Tools {
|
|
34
|
+
registerAgentTool: RegisterAgentTool;
|
|
35
|
+
findRegistrationsTool: FindRegistrationsTool;
|
|
36
|
+
retrieveProfileTool: RetrieveProfileTool;
|
|
37
|
+
initiateConnectionTool: InitiateConnectionTool;
|
|
38
|
+
listConnectionsTool: ListConnectionsTool;
|
|
39
|
+
sendMessageToConnectionTool: SendMessageToConnectionTool;
|
|
40
|
+
checkMessagesTool: CheckMessagesTool;
|
|
41
|
+
sendMessageTool: SendMessageTool;
|
|
42
|
+
connectionTool: ConnectionTool;
|
|
43
|
+
connectionMonitorTool: ConnectionMonitorTool;
|
|
44
|
+
manageConnectionRequestsTool: ManageConnectionRequestsTool;
|
|
45
|
+
acceptConnectionRequestTool: AcceptConnectionRequestTool;
|
|
46
|
+
listUnapprovedConnectionRequestsTool: ListUnapprovedConnectionRequestsTool;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Initializes the HCS10 client and returns pre-registered LangChain tools.
|
|
50
|
+
*
|
|
51
|
+
* @param options - Initialization options
|
|
52
|
+
* @returns Object containing hcs10Client and requested tools
|
|
53
|
+
*/
|
|
54
|
+
export declare function initializeHCS10Client(options?: HCS10InitializationOptions): {
|
|
55
|
+
hcs10Client: HCS10Client;
|
|
56
|
+
monitoringClient?: HCS10Client;
|
|
57
|
+
tools: Partial<HCS10Tools>;
|
|
58
|
+
stateManager: IStateManager;
|
|
59
|
+
};
|
package/dist/init.js
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { HCS10Client as f } from "./hcs10/HCS10Client.js";
|
|
2
|
+
import { RegisterAgentTool as g } from "./tools/RegisterAgentTool.js";
|
|
3
|
+
import { SendMessageTool as C } from "./tools/SendMessageTool.js";
|
|
4
|
+
import { ConnectionTool as T } from "./tools/ConnectionTool.js";
|
|
5
|
+
import { OpenConvaiState as p } from "./state/open-convai-state.js";
|
|
6
|
+
import { FindRegistrationsTool as w } from "./tools/FindRegistrationsTool.js";
|
|
7
|
+
import { InitiateConnectionTool as d } from "./tools/InitiateConnectionTool.js";
|
|
8
|
+
import { ListConnectionsTool as E } from "./tools/ListConnectionsTool.js";
|
|
9
|
+
import { SendMessageToConnectionTool as u } from "./tools/SendMessageToConnectionTool.js";
|
|
10
|
+
import { CheckMessagesTool as v } from "./tools/CheckMessagesTool.js";
|
|
11
|
+
import { ConnectionMonitorTool as R } from "./tools/ConnectionMonitorTool.js";
|
|
12
|
+
import { ManageConnectionRequestsTool as h } from "./tools/ManageConnectionRequestsTool.js";
|
|
13
|
+
import { AcceptConnectionRequestTool as M } from "./tools/AcceptConnectionRequestTool.js";
|
|
14
|
+
import { RetrieveProfileTool as y } from "./tools/RetrieveProfileTool.js";
|
|
15
|
+
import { ListUnapprovedConnectionRequestsTool as A } from "./tools/ListUnapprovedConnectionRequestsTool.js";
|
|
16
|
+
import { Logger as D } from "@hashgraphonline/standards-sdk";
|
|
17
|
+
import { ENV_FILE_PATH as O } from "./utils/state-tools.js";
|
|
18
|
+
function W(n) {
|
|
19
|
+
const i = (n == null ? void 0 : n.clientConfig) || {}, l = i.operatorId || process.env.HEDERA_OPERATOR_ID, a = i.operatorKey || process.env.HEDERA_OPERATOR_KEY, m = i.network || process.env.HEDERA_NETWORK || "testnet";
|
|
20
|
+
let r;
|
|
21
|
+
if (m === "mainnet" ? r = "mainnet" : (m === "testnet" || console.warn(
|
|
22
|
+
`Unsupported network specified: '${m}'. Defaulting to 'testnet'.`
|
|
23
|
+
), r = "testnet"), !l || !a)
|
|
24
|
+
throw new Error(
|
|
25
|
+
"Operator ID and private key must be provided either through options or environment variables."
|
|
26
|
+
);
|
|
27
|
+
const s = D.getInstance({
|
|
28
|
+
level: i.logLevel || "info"
|
|
29
|
+
}), t = (n == null ? void 0 : n.stateManager) || new p({
|
|
30
|
+
defaultEnvFilePath: O,
|
|
31
|
+
defaultPrefix: "TODD"
|
|
32
|
+
// Keep backward compatibility with existing demos
|
|
33
|
+
});
|
|
34
|
+
s.info("State manager initialized");
|
|
35
|
+
const e = new f(l, a, r, {
|
|
36
|
+
useEncryption: i.useEncryption,
|
|
37
|
+
registryUrl: i.registryUrl
|
|
38
|
+
});
|
|
39
|
+
s.info(`HCS10Client initialized for ${l} on ${r}`);
|
|
40
|
+
let c;
|
|
41
|
+
n != null && n.monitoringClient && (c = new f(
|
|
42
|
+
l,
|
|
43
|
+
a,
|
|
44
|
+
r,
|
|
45
|
+
{
|
|
46
|
+
useEncryption: i.useEncryption,
|
|
47
|
+
registryUrl: i.registryUrl,
|
|
48
|
+
logLevel: "error"
|
|
49
|
+
// Reduce logging noise for monitoring client
|
|
50
|
+
}
|
|
51
|
+
), s.info("Monitoring client initialized"));
|
|
52
|
+
const o = {};
|
|
53
|
+
return o.registerAgentTool = new g(e, t), o.sendMessageTool = new C(e), o.connectionTool = new T({
|
|
54
|
+
client: c || e,
|
|
55
|
+
stateManager: t
|
|
56
|
+
}), n != null && n.createAllTools && (o.findRegistrationsTool = new w({
|
|
57
|
+
hcsClient: e
|
|
58
|
+
}), o.retrieveProfileTool = new y(e), o.initiateConnectionTool = new d({
|
|
59
|
+
hcsClient: e,
|
|
60
|
+
stateManager: t
|
|
61
|
+
}), o.listConnectionsTool = new E({
|
|
62
|
+
hcsClient: e,
|
|
63
|
+
stateManager: t
|
|
64
|
+
}), o.sendMessageToConnectionTool = new u({
|
|
65
|
+
hcsClient: e,
|
|
66
|
+
stateManager: t
|
|
67
|
+
}), o.checkMessagesTool = new v({
|
|
68
|
+
hcsClient: e,
|
|
69
|
+
stateManager: t
|
|
70
|
+
}), o.connectionMonitorTool = new R({
|
|
71
|
+
hcsClient: c || e,
|
|
72
|
+
stateManager: t
|
|
73
|
+
}), o.manageConnectionRequestsTool = new h({
|
|
74
|
+
hcsClient: e,
|
|
75
|
+
stateManager: t
|
|
76
|
+
}), o.acceptConnectionRequestTool = new M({
|
|
77
|
+
hcsClient: e,
|
|
78
|
+
stateManager: t
|
|
79
|
+
}), o.listUnapprovedConnectionRequestsTool = new A({
|
|
80
|
+
stateManager: t,
|
|
81
|
+
hcsClient: e
|
|
82
|
+
}), s.info("All tools initialized")), {
|
|
83
|
+
hcs10Client: e,
|
|
84
|
+
monitoringClient: c,
|
|
85
|
+
tools: o,
|
|
86
|
+
stateManager: t
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
export {
|
|
90
|
+
W as initializeHCS10Client
|
|
91
|
+
};
|
|
92
|
+
//# sourceMappingURL=init.js.map
|
package/dist/init.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"init.js","sources":["../src/init.ts"],"sourcesContent":["import { HCS10Client, StandardNetworkType } from './hcs10/HCS10Client';\nimport { RegisterAgentTool } from './tools/RegisterAgentTool';\nimport { SendMessageTool } from './tools/SendMessageTool';\nimport { ConnectionTool } from './tools/ConnectionTool';\nimport { IStateManager } from './state/state-types';\nimport { OpenConvaiState } from './state/open-convai-state';\nimport { FindRegistrationsTool } from './tools/FindRegistrationsTool';\nimport { InitiateConnectionTool } from './tools/InitiateConnectionTool';\nimport { ListConnectionsTool } from './tools/ListConnectionsTool';\nimport { SendMessageToConnectionTool } from './tools/SendMessageToConnectionTool';\nimport { CheckMessagesTool } from './tools/CheckMessagesTool';\nimport { ConnectionMonitorTool } from './tools/ConnectionMonitorTool';\nimport { ManageConnectionRequestsTool } from './tools/ManageConnectionRequestsTool';\nimport { AcceptConnectionRequestTool } from './tools/AcceptConnectionRequestTool';\nimport { RetrieveProfileTool } from './tools/RetrieveProfileTool';\nimport { ListUnapprovedConnectionRequestsTool } from './tools/ListUnapprovedConnectionRequestsTool';\nimport { Logger } from '@hashgraphonline/standards-sdk';\nimport { ENV_FILE_PATH } from './utils/state-tools';\n\nexport interface HCS10ClientConfig {\n operatorId?: string;\n operatorKey?: string;\n network?: StandardNetworkType;\n useEncryption?: boolean;\n registryUrl?: string;\n logLevel?: 'debug' | 'info' | 'warn' | 'error';\n}\n\nexport interface HCS10InitializationOptions {\n clientConfig?: HCS10ClientConfig;\n stateManager?: IStateManager;\n createAllTools?: boolean;\n monitoringClient?: boolean;\n}\n\n/**\n * Tool collection containing all available tools from the standards-agent-kit\n */\nexport interface HCS10Tools {\n registerAgentTool: RegisterAgentTool;\n findRegistrationsTool: FindRegistrationsTool;\n retrieveProfileTool: RetrieveProfileTool;\n initiateConnectionTool: InitiateConnectionTool;\n listConnectionsTool: ListConnectionsTool;\n sendMessageToConnectionTool: SendMessageToConnectionTool;\n checkMessagesTool: CheckMessagesTool;\n sendMessageTool: SendMessageTool;\n connectionTool: ConnectionTool;\n connectionMonitorTool: ConnectionMonitorTool;\n manageConnectionRequestsTool: ManageConnectionRequestsTool;\n acceptConnectionRequestTool: AcceptConnectionRequestTool;\n listUnapprovedConnectionRequestsTool: ListUnapprovedConnectionRequestsTool;\n}\n\n/**\n * Initializes the HCS10 client and returns pre-registered LangChain tools.\n *\n * @param options - Initialization options\n * @returns Object containing hcs10Client and requested tools\n */\nexport function initializeHCS10Client(options?: HCS10InitializationOptions): {\n hcs10Client: HCS10Client;\n monitoringClient?: HCS10Client;\n tools: Partial<HCS10Tools>;\n stateManager: IStateManager;\n} {\n // Set up the configuration\n const config = options?.clientConfig || {};\n\n // Use environment variables as fallbacks if not explicitly provided\n const operatorId = config.operatorId || process.env.HEDERA_OPERATOR_ID;\n const operatorPrivateKey =\n config.operatorKey || process.env.HEDERA_OPERATOR_KEY;\n\n // Get network from config or env, default to testnet\n const networkEnv = config.network || process.env.HEDERA_NETWORK || 'testnet';\n\n // Validate and cast network type\n let network: StandardNetworkType;\n if (networkEnv === 'mainnet') {\n network = 'mainnet';\n } else if (networkEnv === 'testnet') {\n network = 'testnet';\n } else {\n console.warn(\n `Unsupported network specified: '${networkEnv}'. Defaulting to 'testnet'.`\n );\n network = 'testnet'; // Default to testnet if invalid/unsupported\n }\n\n if (!operatorId || !operatorPrivateKey) {\n throw new Error(\n 'Operator ID and private key must be provided either through options or environment variables.'\n );\n }\n\n // Set up logging\n const logger = Logger.getInstance({\n level: config.logLevel || 'info',\n });\n\n // Create or use provided state manager\n const stateManager =\n options?.stateManager ||\n new OpenConvaiState({\n defaultEnvFilePath: ENV_FILE_PATH,\n defaultPrefix: 'TODD', // Keep backward compatibility with existing demos\n });\n logger.info('State manager initialized');\n\n // Instantiate primary HCS10Client\n const hcs10Client = new HCS10Client(operatorId, operatorPrivateKey, network, {\n useEncryption: config.useEncryption,\n registryUrl: config.registryUrl,\n });\n logger.info(`HCS10Client initialized for ${operatorId} on ${network}`);\n\n // Create monitoring client if requested\n let monitoringClient: HCS10Client | undefined;\n if (options?.monitoringClient) {\n monitoringClient = new HCS10Client(\n operatorId,\n operatorPrivateKey,\n network,\n {\n useEncryption: config.useEncryption,\n registryUrl: config.registryUrl,\n logLevel: 'error', // Reduce logging noise for monitoring client\n }\n );\n logger.info('Monitoring client initialized');\n }\n\n // Initialize the tools object\n const tools: Partial<HCS10Tools> = {};\n\n // Always create these core tools\n tools.registerAgentTool = new RegisterAgentTool(hcs10Client, stateManager);\n tools.sendMessageTool = new SendMessageTool(hcs10Client);\n tools.connectionTool = new ConnectionTool({\n client: monitoringClient || hcs10Client,\n stateManager,\n });\n\n // Create all tools if requested\n if (options?.createAllTools) {\n tools.findRegistrationsTool = new FindRegistrationsTool({\n hcsClient: hcs10Client,\n });\n tools.retrieveProfileTool = new RetrieveProfileTool(hcs10Client);\n tools.initiateConnectionTool = new InitiateConnectionTool({\n hcsClient: hcs10Client,\n stateManager,\n });\n tools.listConnectionsTool = new ListConnectionsTool({\n hcsClient: hcs10Client,\n stateManager,\n });\n tools.sendMessageToConnectionTool = new SendMessageToConnectionTool({\n hcsClient: hcs10Client,\n stateManager,\n });\n tools.checkMessagesTool = new CheckMessagesTool({\n hcsClient: hcs10Client,\n stateManager,\n });\n tools.connectionMonitorTool = new ConnectionMonitorTool({\n hcsClient: monitoringClient || hcs10Client,\n stateManager,\n });\n tools.manageConnectionRequestsTool = new ManageConnectionRequestsTool({\n hcsClient: hcs10Client,\n stateManager,\n });\n tools.acceptConnectionRequestTool = new AcceptConnectionRequestTool({\n hcsClient: hcs10Client,\n stateManager,\n });\n tools.listUnapprovedConnectionRequestsTool =\n new ListUnapprovedConnectionRequestsTool({\n stateManager,\n hcsClient: hcs10Client,\n });\n\n logger.info('All tools initialized');\n }\n\n return {\n hcs10Client,\n monitoringClient,\n tools,\n stateManager,\n };\n}\n"],"names":["initializeHCS10Client","options","config","operatorId","operatorPrivateKey","networkEnv","network","logger","Logger","stateManager","OpenConvaiState","ENV_FILE_PATH","hcs10Client","HCS10Client","monitoringClient","tools","RegisterAgentTool","SendMessageTool","ConnectionTool","FindRegistrationsTool","RetrieveProfileTool","InitiateConnectionTool","ListConnectionsTool","SendMessageToConnectionTool","CheckMessagesTool","ConnectionMonitorTool","ManageConnectionRequestsTool","AcceptConnectionRequestTool","ListUnapprovedConnectionRequestsTool"],"mappings":";;;;;;;;;;;;;;;;;AA4DO,SAASA,EAAsBC,GAKpC;AAEM,QAAAC,KAASD,KAAA,gBAAAA,EAAS,iBAAgB,CAAC,GAGnCE,IAAaD,EAAO,cAAc,QAAQ,IAAI,oBAC9CE,IACJF,EAAO,eAAe,QAAQ,IAAI,qBAG9BG,IAAaH,EAAO,WAAW,QAAQ,IAAI,kBAAkB;AAG/D,MAAAI;AAYA,MAXAD,MAAe,YACPC,IAAA,aACDD,MAAe,aAGhB,QAAA;AAAA,IACN,mCAAmCA,CAAU;AAAA,EAC/C,GACUC,IAAA,YAGR,CAACH,KAAc,CAACC;AAClB,UAAM,IAAI;AAAA,MACR;AAAA,IACF;AAII,QAAAG,IAASC,EAAO,YAAY;AAAA,IAChC,OAAON,EAAO,YAAY;AAAA,EAAA,CAC3B,GAGKO,KACJR,KAAA,gBAAAA,EAAS,iBACT,IAAIS,EAAgB;AAAA,IAClB,oBAAoBC;AAAA,IACpB,eAAe;AAAA;AAAA,EAAA,CAChB;AACH,EAAAJ,EAAO,KAAK,2BAA2B;AAGvC,QAAMK,IAAc,IAAIC,EAAYV,GAAYC,GAAoBE,GAAS;AAAA,IAC3E,eAAeJ,EAAO;AAAA,IACtB,aAAaA,EAAO;AAAA,EAAA,CACrB;AACD,EAAAK,EAAO,KAAK,+BAA+BJ,CAAU,OAAOG,CAAO,EAAE;AAGjE,MAAAQ;AACJ,EAAIb,KAAA,QAAAA,EAAS,qBACXa,IAAmB,IAAID;AAAA,IACrBV;AAAA,IACAC;AAAA,IACAE;AAAA,IACA;AAAA,MACE,eAAeJ,EAAO;AAAA,MACtB,aAAaA,EAAO;AAAA,MACpB,UAAU;AAAA;AAAA,IAAA;AAAA,EAEd,GACAK,EAAO,KAAK,+BAA+B;AAI7C,QAAMQ,IAA6B,CAAC;AAGpC,SAAAA,EAAM,oBAAoB,IAAIC,EAAkBJ,GAAaH,CAAY,GACnEM,EAAA,kBAAkB,IAAIE,EAAgBL,CAAW,GACjDG,EAAA,iBAAiB,IAAIG,EAAe;AAAA,IACxC,QAAQJ,KAAoBF;AAAA,IAC5B,cAAAH;AAAA,EAAA,CACD,GAGGR,KAAA,QAAAA,EAAS,mBACLc,EAAA,wBAAwB,IAAII,EAAsB;AAAA,IACtD,WAAWP;AAAA,EAAA,CACZ,GACKG,EAAA,sBAAsB,IAAIK,EAAoBR,CAAW,GACzDG,EAAA,yBAAyB,IAAIM,EAAuB;AAAA,IACxD,WAAWT;AAAA,IACX,cAAAH;AAAA,EAAA,CACD,GACKM,EAAA,sBAAsB,IAAIO,EAAoB;AAAA,IAClD,WAAWV;AAAA,IACX,cAAAH;AAAA,EAAA,CACD,GACKM,EAAA,8BAA8B,IAAIQ,EAA4B;AAAA,IAClE,WAAWX;AAAA,IACX,cAAAH;AAAA,EAAA,CACD,GACKM,EAAA,oBAAoB,IAAIS,EAAkB;AAAA,IAC9C,WAAWZ;AAAA,IACX,cAAAH;AAAA,EAAA,CACD,GACKM,EAAA,wBAAwB,IAAIU,EAAsB;AAAA,IACtD,WAAWX,KAAoBF;AAAA,IAC/B,cAAAH;AAAA,EAAA,CACD,GACKM,EAAA,+BAA+B,IAAIW,EAA6B;AAAA,IACpE,WAAWd;AAAA,IACX,cAAAH;AAAA,EAAA,CACD,GACKM,EAAA,8BAA8B,IAAIY,EAA4B;AAAA,IAClE,WAAWf;AAAA,IACX,cAAAH;AAAA,EAAA,CACD,GACKM,EAAA,uCACJ,IAAIa,EAAqC;AAAA,IACvC,cAAAnB;AAAA,IACA,WAAWG;AAAA,EAAA,CACZ,GAEHL,EAAO,KAAK,uBAAuB,IAG9B;AAAA,IACL,aAAAK;AAAA,IACA,kBAAAE;AAAA,IACA,OAAAC;AAAA,IACA,cAAAN;AAAA,EACF;AACF;"}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { get_lc_unique_name as a, Serializable as r } from "../load/serializable.js";
|
|
2
|
+
import { getEnvironmentVariable as n } from "../utils/env.js";
|
|
3
|
+
import l from "../../node_modules/uuid/dist/esm-browser/v4.js";
|
|
4
|
+
class s {
|
|
5
|
+
}
|
|
6
|
+
class t extends s {
|
|
7
|
+
get lc_namespace() {
|
|
8
|
+
return ["langchain_core", "callbacks", this.name];
|
|
9
|
+
}
|
|
10
|
+
get lc_secrets() {
|
|
11
|
+
}
|
|
12
|
+
get lc_attributes() {
|
|
13
|
+
}
|
|
14
|
+
get lc_aliases() {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* The name of the serializable. Override to provide an alias or
|
|
18
|
+
* to preserve the serialized module name in minified environments.
|
|
19
|
+
*
|
|
20
|
+
* Implemented as a static method to support loading logic.
|
|
21
|
+
*/
|
|
22
|
+
static lc_name() {
|
|
23
|
+
return this.name;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* The final serialized identifier for the module.
|
|
27
|
+
*/
|
|
28
|
+
get lc_id() {
|
|
29
|
+
return [
|
|
30
|
+
...this.lc_namespace,
|
|
31
|
+
a(this.constructor)
|
|
32
|
+
];
|
|
33
|
+
}
|
|
34
|
+
constructor(e) {
|
|
35
|
+
super(), Object.defineProperty(this, "lc_serializable", {
|
|
36
|
+
enumerable: !0,
|
|
37
|
+
configurable: !0,
|
|
38
|
+
writable: !0,
|
|
39
|
+
value: !1
|
|
40
|
+
}), Object.defineProperty(this, "lc_kwargs", {
|
|
41
|
+
enumerable: !0,
|
|
42
|
+
configurable: !0,
|
|
43
|
+
writable: !0,
|
|
44
|
+
value: void 0
|
|
45
|
+
}), Object.defineProperty(this, "ignoreLLM", {
|
|
46
|
+
enumerable: !0,
|
|
47
|
+
configurable: !0,
|
|
48
|
+
writable: !0,
|
|
49
|
+
value: !1
|
|
50
|
+
}), Object.defineProperty(this, "ignoreChain", {
|
|
51
|
+
enumerable: !0,
|
|
52
|
+
configurable: !0,
|
|
53
|
+
writable: !0,
|
|
54
|
+
value: !1
|
|
55
|
+
}), Object.defineProperty(this, "ignoreAgent", {
|
|
56
|
+
enumerable: !0,
|
|
57
|
+
configurable: !0,
|
|
58
|
+
writable: !0,
|
|
59
|
+
value: !1
|
|
60
|
+
}), Object.defineProperty(this, "ignoreRetriever", {
|
|
61
|
+
enumerable: !0,
|
|
62
|
+
configurable: !0,
|
|
63
|
+
writable: !0,
|
|
64
|
+
value: !1
|
|
65
|
+
}), Object.defineProperty(this, "awaitHandlers", {
|
|
66
|
+
enumerable: !0,
|
|
67
|
+
configurable: !0,
|
|
68
|
+
writable: !0,
|
|
69
|
+
value: n("LANGCHAIN_CALLBACKS_BACKGROUND") !== "true"
|
|
70
|
+
}), this.lc_kwargs = e || {}, e && (this.ignoreLLM = e.ignoreLLM ?? this.ignoreLLM, this.ignoreChain = e.ignoreChain ?? this.ignoreChain, this.ignoreAgent = e.ignoreAgent ?? this.ignoreAgent, this.ignoreRetriever = e.ignoreRetriever ?? this.ignoreRetriever, this.awaitHandlers = e._awaitHandler ?? this.awaitHandlers);
|
|
71
|
+
}
|
|
72
|
+
copy() {
|
|
73
|
+
return new this.constructor(this);
|
|
74
|
+
}
|
|
75
|
+
toJSON() {
|
|
76
|
+
return r.prototype.toJSON.call(this);
|
|
77
|
+
}
|
|
78
|
+
toJSONNotImplemented() {
|
|
79
|
+
return r.prototype.toJSONNotImplemented.call(this);
|
|
80
|
+
}
|
|
81
|
+
static fromMethods(e) {
|
|
82
|
+
class i extends t {
|
|
83
|
+
constructor() {
|
|
84
|
+
super(), Object.defineProperty(this, "name", {
|
|
85
|
+
enumerable: !0,
|
|
86
|
+
configurable: !0,
|
|
87
|
+
writable: !0,
|
|
88
|
+
value: l()
|
|
89
|
+
}), Object.assign(this, e);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
return new i();
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
export {
|
|
96
|
+
t as BaseCallbackHandler
|
|
97
|
+
};
|
|
98
|
+
//# sourceMappingURL=base.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base.js","sources":["../../../../../../node_modules/@langchain/core/dist/callbacks/base.js"],"sourcesContent":["import * as uuid from \"uuid\";\nimport { Serializable, get_lc_unique_name, } from \"../load/serializable.js\";\nimport { getEnvironmentVariable } from \"../utils/env.js\";\n/**\n * Abstract class that provides a set of optional methods that can be\n * overridden in derived classes to handle various events during the\n * execution of a LangChain application.\n */\nclass BaseCallbackHandlerMethodsClass {\n}\n/**\n * Abstract base class for creating callback handlers in the LangChain\n * framework. It provides a set of optional methods that can be overridden\n * in derived classes to handle various events during the execution of a\n * LangChain application.\n */\nexport class BaseCallbackHandler extends BaseCallbackHandlerMethodsClass {\n get lc_namespace() {\n return [\"langchain_core\", \"callbacks\", this.name];\n }\n get lc_secrets() {\n return undefined;\n }\n get lc_attributes() {\n return undefined;\n }\n get lc_aliases() {\n return undefined;\n }\n /**\n * The name of the serializable. Override to provide an alias or\n * to preserve the serialized module name in minified environments.\n *\n * Implemented as a static method to support loading logic.\n */\n static lc_name() {\n return this.name;\n }\n /**\n * The final serialized identifier for the module.\n */\n get lc_id() {\n return [\n ...this.lc_namespace,\n get_lc_unique_name(this.constructor),\n ];\n }\n constructor(input) {\n super();\n Object.defineProperty(this, \"lc_serializable\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: false\n });\n Object.defineProperty(this, \"lc_kwargs\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"ignoreLLM\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: false\n });\n Object.defineProperty(this, \"ignoreChain\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: false\n });\n Object.defineProperty(this, \"ignoreAgent\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: false\n });\n Object.defineProperty(this, \"ignoreRetriever\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: false\n });\n Object.defineProperty(this, \"awaitHandlers\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: getEnvironmentVariable(\"LANGCHAIN_CALLBACKS_BACKGROUND\") !== \"true\"\n });\n this.lc_kwargs = input || {};\n if (input) {\n this.ignoreLLM = input.ignoreLLM ?? this.ignoreLLM;\n this.ignoreChain = input.ignoreChain ?? this.ignoreChain;\n this.ignoreAgent = input.ignoreAgent ?? this.ignoreAgent;\n this.ignoreRetriever = input.ignoreRetriever ?? this.ignoreRetriever;\n this.awaitHandlers = input._awaitHandler ?? this.awaitHandlers;\n }\n }\n copy() {\n return new this.constructor(this);\n }\n toJSON() {\n return Serializable.prototype.toJSON.call(this);\n }\n toJSONNotImplemented() {\n return Serializable.prototype.toJSONNotImplemented.call(this);\n }\n static fromMethods(methods) {\n class Handler extends BaseCallbackHandler {\n constructor() {\n super();\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: uuid.v4()\n });\n Object.assign(this, methods);\n }\n }\n return new Handler();\n }\n}\n"],"names":["BaseCallbackHandlerMethodsClass","BaseCallbackHandler","get_lc_unique_name","input","getEnvironmentVariable","Serializable","methods","Handler","uuid.v4"],"mappings":";;;AAQA,MAAMA,EAAgC;AACtC;AAOO,MAAMC,UAA4BD,EAAgC;AAAA,EACrE,IAAI,eAAe;AACf,WAAO,CAAC,kBAAkB,aAAa,KAAK,IAAI;AAAA,EACxD;AAAA,EACI,IAAI,aAAa;AAAA,EAErB;AAAA,EACI,IAAI,gBAAgB;AAAA,EAExB;AAAA,EACI,IAAI,aAAa;AAAA,EAErB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOI,OAAO,UAAU;AACb,WAAO,KAAK;AAAA,EACpB;AAAA;AAAA;AAAA;AAAA,EAII,IAAI,QAAQ;AACR,WAAO;AAAA,MACH,GAAG,KAAK;AAAA,MACRE,EAAmB,KAAK,WAAW;AAAA,IACtC;AAAA,EACT;AAAA,EACI,YAAYC,GAAO;AACf,UAAO,GACP,OAAO,eAAe,MAAM,mBAAmB;AAAA,MAC3C,YAAY;AAAA,MACZ,cAAc;AAAA,MACd,UAAU;AAAA,MACV,OAAO;AAAA,IACnB,CAAS,GACD,OAAO,eAAe,MAAM,aAAa;AAAA,MACrC,YAAY;AAAA,MACZ,cAAc;AAAA,MACd,UAAU;AAAA,MACV,OAAO;AAAA,IACnB,CAAS,GACD,OAAO,eAAe,MAAM,aAAa;AAAA,MACrC,YAAY;AAAA,MACZ,cAAc;AAAA,MACd,UAAU;AAAA,MACV,OAAO;AAAA,IACnB,CAAS,GACD,OAAO,eAAe,MAAM,eAAe;AAAA,MACvC,YAAY;AAAA,MACZ,cAAc;AAAA,MACd,UAAU;AAAA,MACV,OAAO;AAAA,IACnB,CAAS,GACD,OAAO,eAAe,MAAM,eAAe;AAAA,MACvC,YAAY;AAAA,MACZ,cAAc;AAAA,MACd,UAAU;AAAA,MACV,OAAO;AAAA,IACnB,CAAS,GACD,OAAO,eAAe,MAAM,mBAAmB;AAAA,MAC3C,YAAY;AAAA,MACZ,cAAc;AAAA,MACd,UAAU;AAAA,MACV,OAAO;AAAA,IACnB,CAAS,GACD,OAAO,eAAe,MAAM,iBAAiB;AAAA,MACzC,YAAY;AAAA,MACZ,cAAc;AAAA,MACd,UAAU;AAAA,MACV,OAAOC,EAAuB,gCAAgC,MAAM;AAAA,IAChF,CAAS,GACD,KAAK,YAAYD,KAAS,CAAE,GACxBA,MACA,KAAK,YAAYA,EAAM,aAAa,KAAK,WACzC,KAAK,cAAcA,EAAM,eAAe,KAAK,aAC7C,KAAK,cAAcA,EAAM,eAAe,KAAK,aAC7C,KAAK,kBAAkBA,EAAM,mBAAmB,KAAK,iBACrD,KAAK,gBAAgBA,EAAM,iBAAiB,KAAK;AAAA,EAE7D;AAAA,EACI,OAAO;AACH,WAAO,IAAI,KAAK,YAAY,IAAI;AAAA,EACxC;AAAA,EACI,SAAS;AACL,WAAOE,EAAa,UAAU,OAAO,KAAK,IAAI;AAAA,EACtD;AAAA,EACI,uBAAuB;AACnB,WAAOA,EAAa,UAAU,qBAAqB,KAAK,IAAI;AAAA,EACpE;AAAA,EACI,OAAO,YAAYC,GAAS;AAAA,IACxB,MAAMC,UAAgBN,EAAoB;AAAA,MACtC,cAAc;AACV,cAAO,GACP,OAAO,eAAe,MAAM,QAAQ;AAAA,UAChC,YAAY;AAAA,UACZ,cAAc;AAAA,UACd,UAAU;AAAA,UACV,OAAOO,EAAO;AAAA,QAClC,CAAiB,GACD,OAAO,OAAO,MAAMF,CAAO;AAAA,MAC3C;AAAA,IACA;AACQ,WAAO,IAAIC,EAAS;AAAA,EAC5B;AACA;","x_google_ignoreList":[0]}
|