@elizaos/app-core 2.0.0-alpha.85 → 2.0.0-beta.2
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/account-pool.d.ts +6 -0
- package/account-pool.d.ts.map +1 -0
- package/account-pool.js +5 -0
- package/api/__tests__/sandbox-test-helpers.d.ts +10 -0
- package/api/__tests__/sandbox-test-helpers.d.ts.map +1 -0
- package/api/__tests__/sandbox-test-helpers.js +15 -0
- package/api/auth/audit.d.ts +52 -0
- package/api/auth/audit.d.ts.map +1 -0
- package/api/auth/audit.js +126 -0
- package/api/auth/auth-context.d.ts +40 -0
- package/api/auth/auth-context.d.ts.map +1 -0
- package/api/auth/auth-context.js +68 -0
- package/api/auth/bootstrap-token.d.ts +50 -0
- package/api/auth/bootstrap-token.d.ts.map +1 -0
- package/api/auth/bootstrap-token.js +157 -0
- package/api/auth/index.d.ts +14 -0
- package/api/auth/index.d.ts.map +1 -0
- package/api/auth/index.js +13 -0
- package/api/auth/passwords.d.ts +65 -0
- package/api/auth/passwords.d.ts.map +1 -0
- package/api/auth/passwords.js +87 -0
- package/api/auth/sensitive-rate-limit.d.ts +56 -0
- package/api/auth/sensitive-rate-limit.d.ts.map +1 -0
- package/api/auth/sensitive-rate-limit.js +95 -0
- package/api/auth/sessions.d.ts +152 -0
- package/api/auth/sessions.d.ts.map +1 -0
- package/api/auth/sessions.js +298 -0
- package/api/auth/tokens.d.ts +3 -0
- package/api/auth/tokens.d.ts.map +1 -0
- package/api/auth/tokens.js +13 -0
- package/api/auth-bootstrap-routes.d.ts +32 -0
- package/api/auth-bootstrap-routes.d.ts.map +1 -0
- package/api/auth-bootstrap-routes.js +179 -0
- package/api/auth-pairing-compat-routes.d.ts +17 -0
- package/api/auth-pairing-compat-routes.d.ts.map +1 -0
- package/api/auth-pairing-compat-routes.js +301 -0
- package/api/auth-session-routes.d.ts +31 -0
- package/api/auth-session-routes.d.ts.map +1 -0
- package/api/auth-session-routes.js +560 -0
- package/api/auth.d.ts +153 -0
- package/api/auth.d.ts.map +1 -0
- package/api/auth.js +290 -0
- package/api/automation-node-contributors.d.ts +14 -0
- package/api/automation-node-contributors.d.ts.map +1 -0
- package/api/automation-node-contributors.js +14 -0
- package/api/automations-compat-routes.d.ts +18 -0
- package/api/automations-compat-routes.d.ts.map +1 -0
- package/api/automations-compat-routes.js +274 -0
- package/api/catalog-routes.d.ts +4 -0
- package/api/catalog-routes.d.ts.map +1 -0
- package/api/catalog-routes.js +61 -0
- package/api/compat-route-shared.d.ts +29 -0
- package/api/compat-route-shared.d.ts.map +1 -0
- package/api/compat-route-shared.js +298 -0
- package/api/credential-resolver.d.ts +31 -0
- package/api/credential-resolver.d.ts.map +1 -0
- package/api/credential-resolver.js +199 -0
- package/api/database-rows-compat-routes.d.ts +4 -0
- package/api/database-rows-compat-routes.d.ts.map +1 -0
- package/api/database-rows-compat-routes.js +100 -0
- package/api/dev-compat-routes.d.ts +11 -0
- package/api/dev-compat-routes.d.ts.map +1 -0
- package/api/dev-compat-routes.js +144 -0
- package/api/dev-console-log.d.ts +21 -0
- package/api/dev-console-log.d.ts.map +1 -0
- package/api/dev-console-log.js +65 -0
- package/api/dev-stack.d.ts +49 -0
- package/api/dev-stack.d.ts.map +1 -0
- package/api/dev-stack.js +60 -0
- package/api/local-inference-compat-routes.d.ts +16 -0
- package/api/local-inference-compat-routes.d.ts.map +1 -0
- package/api/local-inference-compat-routes.js +617 -0
- package/api/onboarding-compat-routes.d.ts +4 -0
- package/api/onboarding-compat-routes.d.ts.map +1 -0
- package/api/onboarding-compat-routes.js +207 -0
- package/api/plugins-compat-routes.d.ts +103 -0
- package/api/plugins-compat-routes.d.ts.map +1 -0
- package/api/plugins-compat-routes.js +1181 -0
- package/api/response.d.ts +4 -0
- package/api/response.d.ts.map +1 -0
- package/api/response.js +28 -0
- package/api/runtime-mode-routes.d.ts +13 -0
- package/api/runtime-mode-routes.d.ts.map +1 -0
- package/api/runtime-mode-routes.js +32 -0
- package/api/secrets-inventory-routes.d.ts +39 -0
- package/api/secrets-inventory-routes.d.ts.map +1 -0
- package/api/secrets-inventory-routes.js +487 -0
- package/api/secrets-manager-routes.d.ts +9 -0
- package/api/secrets-manager-routes.d.ts.map +1 -0
- package/api/secrets-manager-routes.js +476 -0
- package/api/sensitive-request-routes.d.ts +20 -0
- package/api/sensitive-request-routes.d.ts.map +1 -0
- package/api/sensitive-request-routes.js +489 -0
- package/api/sensitive-request-store.d.ts +39 -0
- package/api/sensitive-request-store.d.ts.map +1 -0
- package/api/sensitive-request-store.js +204 -0
- package/api/server-config-filter.d.ts +14 -0
- package/api/server-config-filter.d.ts.map +1 -0
- package/api/server-config-filter.js +77 -0
- package/api/server-cors.d.ts +30 -0
- package/api/server-cors.d.ts.map +1 -0
- package/api/server-cors.js +128 -0
- package/api/server-html.d.ts +4 -0
- package/api/server-html.d.ts.map +1 -0
- package/api/server-html.js +5 -0
- package/api/server-onboarding-compat.d.ts +31 -0
- package/api/server-onboarding-compat.d.ts.map +1 -0
- package/api/server-onboarding-compat.js +283 -0
- package/api/server-security.d.ts +11 -0
- package/api/server-security.d.ts.map +1 -0
- package/api/server-security.js +29 -0
- package/api/server-startup.d.ts +5 -0
- package/api/server-startup.d.ts.map +1 -0
- package/api/server-startup.js +74 -0
- package/api/server-wallet-trade.d.ts +10 -0
- package/api/server-wallet-trade.d.ts.map +1 -0
- package/api/server-wallet-trade.js +240 -0
- package/api/server.d.ts +32 -0
- package/api/server.d.ts.map +1 -0
- package/api/server.js +768 -0
- package/api/workbench-compat-routes.d.ts +11 -0
- package/api/workbench-compat-routes.d.ts.map +1 -0
- package/api/workbench-compat-routes.js +325 -0
- package/benchmark/cua-routes.d.ts +10 -0
- package/benchmark/cua-routes.d.ts.map +1 -0
- package/benchmark/cua-routes.js +179 -0
- package/benchmark/lifeops-bench-handler.d.ts +94 -0
- package/benchmark/lifeops-bench-handler.d.ts.map +1 -0
- package/benchmark/lifeops-bench-handler.js +280 -0
- package/benchmark/lifeops-fake-backend.d.ts +227 -0
- package/benchmark/lifeops-fake-backend.d.ts.map +1 -0
- package/benchmark/lifeops-fake-backend.js +499 -0
- package/benchmark/mock-plugin-base.d.ts +9 -0
- package/benchmark/mock-plugin-base.d.ts.map +1 -0
- package/benchmark/mock-plugin-base.js +325 -0
- package/benchmark/mock-plugin.d.ts +3 -0
- package/benchmark/mock-plugin.d.ts.map +1 -0
- package/benchmark/mock-plugin.js +504 -0
- package/benchmark/params.d.ts +2 -0
- package/benchmark/params.d.ts.map +1 -0
- package/benchmark/params.js +18 -0
- package/benchmark/plugin.d.ts +42 -0
- package/benchmark/plugin.d.ts.map +1 -0
- package/benchmark/plugin.js +422 -0
- package/benchmark/replay-capture.d.ts +73 -0
- package/benchmark/replay-capture.d.ts.map +1 -0
- package/benchmark/replay-capture.js +223 -0
- package/benchmark/server-utils.d.ts +100 -0
- package/benchmark/server-utils.d.ts.map +1 -0
- package/benchmark/server-utils.js +289 -0
- package/benchmark/server.d.ts +2 -0
- package/benchmark/server.d.ts.map +1 -0
- package/benchmark/server.js +1176 -0
- package/browser.d.ts +13 -0
- package/browser.d.ts.map +1 -0
- package/browser.js +15 -0
- package/cli/argv.d.ts +17 -0
- package/cli/argv.d.ts.map +1 -0
- package/cli/argv.js +140 -0
- package/cli/banner.d.ts +11 -0
- package/cli/banner.d.ts.map +1 -0
- package/cli/banner.js +36 -0
- package/cli/cli-name.d.ts +5 -0
- package/cli/cli-name.d.ts.map +1 -0
- package/cli/cli-name.js +21 -0
- package/cli/cli-utils.d.ts +5 -0
- package/cli/cli-utils.d.ts.map +1 -0
- package/cli/cli-utils.js +13 -0
- package/cli/command-format.d.ts +2 -0
- package/cli/command-format.d.ts.map +1 -0
- package/cli/command-format.js +20 -0
- package/cli/doctor/checks.d.ts +96 -0
- package/cli/doctor/checks.d.ts.map +1 -0
- package/cli/doctor/checks.js +483 -0
- package/cli/git-commit.d.ts +5 -0
- package/cli/git-commit.d.ts.map +1 -0
- package/cli/git-commit.js +106 -0
- package/cli/parse-duration.d.ts +5 -0
- package/cli/parse-duration.d.ts.map +1 -0
- package/cli/parse-duration.js +27 -0
- package/cli/plugins-cli.d.ts +26 -0
- package/cli/plugins-cli.d.ts.map +1 -0
- package/cli/plugins-cli.js +892 -0
- package/cli/profile-utils.d.ts +3 -0
- package/cli/profile-utils.d.ts.map +1 -0
- package/cli/profile-utils.js +21 -0
- package/cli/profile.d.ts +15 -0
- package/cli/profile.d.ts.map +1 -0
- package/cli/profile.js +93 -0
- package/cli/program/build-program.d.ts +3 -0
- package/cli/program/build-program.d.ts.map +1 -0
- package/cli/program/build-program.js +12 -0
- package/cli/program/command-registry.d.ts +3 -0
- package/cli/program/command-registry.d.ts.map +1 -0
- package/cli/program/command-registry.js +24 -0
- package/cli/program/help.d.ts +3 -0
- package/cli/program/help.d.ts.map +1 -0
- package/cli/program/help.js +57 -0
- package/cli/program/preaction.d.ts +3 -0
- package/cli/program/preaction.d.ts.map +1 -0
- package/cli/program/preaction.js +40 -0
- package/cli/program/register.auth.d.ts +51 -0
- package/cli/program/register.auth.d.ts.map +1 -0
- package/cli/program/register.auth.js +203 -0
- package/cli/program/register.benchmark.d.ts +3 -0
- package/cli/program/register.benchmark.d.ts.map +1 -0
- package/cli/program/register.benchmark.js +12 -0
- package/cli/program/register.config.d.ts +3 -0
- package/cli/program/register.config.d.ts.map +1 -0
- package/cli/program/register.config.js +150 -0
- package/cli/program/register.configure.d.ts +3 -0
- package/cli/program/register.configure.d.ts.map +1 -0
- package/cli/program/register.configure.js +18 -0
- package/cli/program/register.dashboard.d.ts +3 -0
- package/cli/program/register.dashboard.d.ts.map +1 -0
- package/cli/program/register.dashboard.js +124 -0
- package/cli/program/register.db.d.ts +3 -0
- package/cli/program/register.db.d.ts.map +1 -0
- package/cli/program/register.db.js +45 -0
- package/cli/program/register.doctor.d.ts +3 -0
- package/cli/program/register.doctor.d.ts.map +1 -0
- package/cli/program/register.doctor.js +170 -0
- package/cli/program/register.models.d.ts +3 -0
- package/cli/program/register.models.d.ts.map +1 -0
- package/cli/program/register.models.js +32 -0
- package/cli/program/register.setup.d.ts +16 -0
- package/cli/program/register.setup.d.ts.map +1 -0
- package/cli/program/register.setup.js +333 -0
- package/cli/program/register.start.d.ts +3 -0
- package/cli/program/register.start.d.ts.map +1 -0
- package/cli/program/register.start.js +95 -0
- package/cli/program/register.subclis.d.ts +4 -0
- package/cli/program/register.subclis.d.ts.map +1 -0
- package/cli/program/register.subclis.js +87 -0
- package/cli/program/register.update.d.ts +12 -0
- package/cli/program/register.update.d.ts.map +1 -0
- package/cli/program/register.update.js +173 -0
- package/cli/program.d.ts +2 -0
- package/cli/program.d.ts.map +1 -0
- package/cli/program.js +1 -0
- package/cli/run-main.d.ts +2 -0
- package/cli/run-main.d.ts.map +1 -0
- package/cli/run-main.js +71 -0
- package/cli/version.d.ts +2 -0
- package/cli/version.d.ts.map +1 -0
- package/cli/version.js +2 -0
- package/connectors/capacitor-jsc.d.ts +66 -0
- package/connectors/capacitor-jsc.d.ts.map +1 -0
- package/connectors/capacitor-jsc.js +39 -0
- package/connectors/capacitor-quickjs.d.ts +64 -0
- package/connectors/capacitor-quickjs.d.ts.map +1 -0
- package/connectors/capacitor-quickjs.js +50 -0
- package/connectors/capacitor-sqlite.d.ts +41 -0
- package/connectors/capacitor-sqlite.d.ts.map +1 -0
- package/connectors/capacitor-sqlite.js +87 -0
- package/diagnostics/integration-observability.d.ts +40 -0
- package/diagnostics/integration-observability.d.ts.map +1 -0
- package/diagnostics/integration-observability.js +68 -0
- package/entry.d.ts +10 -0
- package/entry.d.ts.map +1 -0
- package/entry.js +66 -0
- package/index.d.ts +34 -4
- package/index.d.ts.map +1 -1
- package/index.js +42 -6
- package/package.json +81 -151
- package/packaging/PUBLISHING_GUIDE.md +707 -0
- package/packaging/debian/changelog +9 -0
- package/packaging/debian/control +26 -0
- package/packaging/debian/copyright +27 -0
- package/packaging/debian/elizaos-app.service +15 -0
- package/packaging/debian/install +4 -0
- package/packaging/debian/postinst +28 -0
- package/packaging/debian/prerm +14 -0
- package/packaging/debian/rules +44 -0
- package/packaging/debian/source/format +1 -0
- package/packaging/flatpak/README.md +150 -0
- package/packaging/flatpak/ai.elizaos.App.desktop +11 -0
- package/packaging/flatpak/ai.elizaos.App.metainfo.xml +81 -0
- package/packaging/flatpak/ai.elizaos.App.store.yml +142 -0
- package/packaging/flatpak/ai.elizaos.App.yml +142 -0
- package/packaging/flatpak/elizaos-app-wrapper.sh +5 -0
- package/packaging/flatpak/elizaos-app-wrapper.store.sh +16 -0
- package/packaging/flatpak/icons/128x128/ai.elizaos.App.png +0 -0
- package/packaging/flatpak/icons/256x256/ai.elizaos.App.png +0 -0
- package/packaging/flatpak/icons/512x512/ai.elizaos.App.png +0 -0
- package/packaging/homebrew/README.md +80 -0
- package/packaging/homebrew/elizaos-app.cask.rb +60 -0
- package/packaging/homebrew/elizaos-app.rb +49 -0
- package/packaging/inno/ElizaOSApp.iss +53 -0
- package/packaging/inno/build-inno.ps1 +231 -0
- package/packaging/msix/AppxManifest.store.xml +79 -0
- package/packaging/msix/AppxManifest.xml +53 -0
- package/packaging/msix/README.md +201 -0
- package/packaging/msix/assets/LargeTile.png +0 -0
- package/packaging/msix/assets/Square150x150Logo.png +0 -0
- package/packaging/msix/assets/Square44x44Logo.png +0 -0
- package/packaging/msix/assets/StoreLogo.png +0 -0
- package/packaging/msix/assets/Wide310x150Logo.png +0 -0
- package/packaging/msix/build-msix.ps1 +206 -0
- package/packaging/msix/generate-placeholder-assets.ps1 +49 -0
- package/packaging/msix/store/description.md +31 -0
- package/packaging/msix/store/listing.json +27 -0
- package/packaging/pypi/README.md +14 -0
- package/packaging/pypi/elizaos_app/__init__.py +7 -0
- package/packaging/pypi/elizaos_app/__main__.py +6 -0
- package/packaging/pypi/elizaos_app/cli.py +21 -0
- package/packaging/pypi/elizaos_app/loader.py +127 -0
- package/packaging/pypi/elizaos_app/py.typed +1 -0
- package/packaging/pypi/pyproject.toml +38 -0
- package/packaging/snap/snapcraft.yaml +560 -0
- package/packaging/test-packaging.sh +309 -0
- package/patches/@noble%2Fcurves@2.0.1.patch +33 -0
- package/patches/@pixiv%2Fthree-vrm@3.5.2.patch +26 -0
- package/patches/coding-agent-adapters@0.16.3.patch +44 -0
- package/patches/electrobun@1.16.0.patch +13 -0
- package/patches/llama-cpp-capacitor@0.1.5.patch +2387 -0
- package/patches/proper-lockfile@4.1.2.patch +14 -0
- package/patches/pty-manager@1.11.0.patch +194 -0
- package/permissions/types.d.ts +8 -0
- package/permissions/types.d.ts.map +1 -0
- package/permissions/types.js +7 -0
- package/platform/agent-browser-stub.d.ts +27 -0
- package/platform/agent-browser-stub.d.ts.map +1 -0
- package/platform/agent-browser-stub.js +16 -0
- package/platform/empty-node-module.d.ts +31 -0
- package/platform/empty-node-module.d.ts.map +1 -0
- package/platform/empty-node-module.js +22 -0
- package/platforms/android/Gemfile +6 -0
- package/platforms/android/README.md +79 -0
- package/platforms/android/app/build.gradle +124 -0
- package/platforms/android/app/capacitor.build.gradle +32 -0
- package/platforms/android/app/proguard-rules.pro +46 -0
- package/platforms/android/app/src/androidTest/java/ai/elizaos/app/ElizaOsInstrumentedTest.java +162 -0
- package/platforms/android/app/src/androidTest/java/com/getcapacitor/myapp/ExampleInstrumentedTest.java +26 -0
- package/platforms/android/app/src/main/AndroidManifest.xml +83 -0
- package/platforms/android/app/src/main/java/ai/elizaos/app/AgentPlugin.java +232 -0
- package/platforms/android/app/src/main/java/ai/elizaos/app/ElizaAgentService.java +1514 -0
- package/platforms/android/app/src/main/java/ai/elizaos/app/ElizaAssistActivity.java +21 -0
- package/platforms/android/app/src/main/java/ai/elizaos/app/ElizaBootReceiver.java +61 -0
- package/platforms/android/app/src/main/java/ai/elizaos/app/ElizaBrowserActivity.java +39 -0
- package/platforms/android/app/src/main/java/ai/elizaos/app/ElizaCalendarActivity.java +75 -0
- package/platforms/android/app/src/main/java/ai/elizaos/app/ElizaCameraActivity.java +54 -0
- package/platforms/android/app/src/main/java/ai/elizaos/app/ElizaClockActivity.java +70 -0
- package/platforms/android/app/src/main/java/ai/elizaos/app/ElizaContactsActivity.java +56 -0
- package/platforms/android/app/src/main/java/ai/elizaos/app/ElizaDialActivity.java +83 -0
- package/platforms/android/app/src/main/java/ai/elizaos/app/ElizaInCallService.java +168 -0
- package/platforms/android/app/src/main/java/ai/elizaos/app/ElizaMmsReceiver.java +70 -0
- package/platforms/android/app/src/main/java/ai/elizaos/app/ElizaNativeBridge.java +38 -0
- package/platforms/android/app/src/main/java/ai/elizaos/app/ElizaRespondViaMessageService.java +119 -0
- package/platforms/android/app/src/main/java/ai/elizaos/app/ElizaSmsComposeActivity.java +50 -0
- package/platforms/android/app/src/main/java/ai/elizaos/app/ElizaSmsReceiver.java +84 -0
- package/platforms/android/app/src/main/java/ai/elizaos/app/GatewayConnectionService.java +211 -0
- package/platforms/android/app/src/main/java/ai/elizaos/app/MainActivity.java +202 -0
- package/platforms/android/app/src/main/res/drawable/ic_launcher_background.xml +170 -0
- package/platforms/android/app/src/main/res/drawable/splash.png +0 -0
- package/platforms/android/app/src/main/res/drawable-land-hdpi/splash.png +0 -0
- package/platforms/android/app/src/main/res/drawable-land-mdpi/splash.png +0 -0
- package/platforms/android/app/src/main/res/drawable-land-xhdpi/splash.png +0 -0
- package/platforms/android/app/src/main/res/drawable-land-xxhdpi/splash.png +0 -0
- package/platforms/android/app/src/main/res/drawable-land-xxxhdpi/splash.png +0 -0
- package/platforms/android/app/src/main/res/drawable-port-hdpi/splash.png +0 -0
- package/platforms/android/app/src/main/res/drawable-port-mdpi/splash.png +0 -0
- package/platforms/android/app/src/main/res/drawable-port-xhdpi/splash.png +0 -0
- package/platforms/android/app/src/main/res/drawable-port-xxhdpi/splash.png +0 -0
- package/platforms/android/app/src/main/res/drawable-port-xxxhdpi/splash.png +0 -0
- package/platforms/android/app/src/main/res/drawable-v24/ic_launcher_foreground.xml +34 -0
- package/platforms/android/app/src/main/res/layout/activity_main.xml +12 -0
- package/platforms/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +5 -0
- package/platforms/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +5 -0
- package/platforms/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
- package/platforms/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png +0 -0
- package/platforms/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
- package/platforms/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
- package/platforms/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png +0 -0
- package/platforms/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
- package/platforms/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
- package/platforms/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png +0 -0
- package/platforms/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
- package/platforms/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
- package/platforms/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png +0 -0
- package/platforms/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
- package/platforms/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
- package/platforms/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png +0 -0
- package/platforms/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
- package/platforms/android/app/src/main/res/values/ic_launcher_background.xml +4 -0
- package/platforms/android/app/src/main/res/values/strings.xml +7 -0
- package/platforms/android/app/src/main/res/values/styles.xml +22 -0
- package/platforms/android/app/src/main/res/xml/file_paths.xml +5 -0
- package/platforms/android/app/src/test/java/com/getcapacitor/myapp/ExampleUnitTest.java +18 -0
- package/platforms/android/build.gradle +63 -0
- package/platforms/android/capacitor-cordova-android-plugins/build.gradle +53 -0
- package/platforms/android/capacitor-cordova-android-plugins/cordova.variables.gradle +3 -0
- package/platforms/android/capacitor-cordova-android-plugins/src/main/AndroidManifest.xml +3 -0
- package/platforms/android/capacitor-cordova-android-plugins/src/main/java/.gitkeep +1 -0
- package/platforms/android/capacitor-cordova-android-plugins/src/main/res/.gitkeep +1 -0
- package/platforms/android/capacitor.settings.gradle +45 -0
- package/platforms/android/fastlane/Appfile +2 -0
- package/platforms/android/fastlane/Fastfile +59 -0
- package/platforms/android/fastlane/metadata/android/en-US/full_description.txt +24 -0
- package/platforms/android/fastlane/metadata/android/en-US/short_description.txt +1 -0
- package/platforms/android/fastlane/metadata/android/en-US/title.txt +1 -0
- package/platforms/android/fastlane/metadata/android/en-US/video.txt +0 -0
- package/platforms/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/platforms/android/gradle/wrapper/gradle-wrapper.properties +7 -0
- package/platforms/android/gradle.properties +27 -0
- package/platforms/android/gradlew +251 -0
- package/platforms/android/gradlew.bat +94 -0
- package/platforms/android/settings.gradle +13 -0
- package/platforms/android/variables.gradle +17 -0
- package/platforms/electrobun/.generated/brand-config.json +8 -0
- package/platforms/electrobun/README.md +44 -0
- package/platforms/electrobun/assets/appIcon.ico +0 -0
- package/platforms/electrobun/assets/appIcon.iconset/icon_128x128.png +0 -0
- package/platforms/electrobun/assets/appIcon.iconset/icon_128x128@2x.png +0 -0
- package/platforms/electrobun/assets/appIcon.iconset/icon_16x16.png +0 -0
- package/platforms/electrobun/assets/appIcon.iconset/icon_16x16@2x.png +0 -0
- package/platforms/electrobun/assets/appIcon.iconset/icon_256x256.png +0 -0
- package/platforms/electrobun/assets/appIcon.iconset/icon_256x256@2x.png +0 -0
- package/platforms/electrobun/assets/appIcon.iconset/icon_32x32.png +0 -0
- package/platforms/electrobun/assets/appIcon.iconset/icon_32x32@2x.png +0 -0
- package/platforms/electrobun/assets/appIcon.iconset/icon_512x512.png +0 -0
- package/platforms/electrobun/assets/appIcon.iconset/icon_512x512@2x.png +0 -0
- package/platforms/electrobun/assets/appIcon.png +0 -0
- package/platforms/electrobun/assets/brand-config.json +8 -0
- package/platforms/electrobun/biome.json +11 -0
- package/platforms/electrobun/electrobun.config.ts +435 -0
- package/platforms/electrobun/entitlements/README.md +54 -0
- package/platforms/electrobun/entitlements/mas-child.entitlements +10 -0
- package/platforms/electrobun/entitlements/mas.entitlements +41 -0
- package/platforms/electrobun/native/macos/window-effects.mm +1030 -0
- package/platforms/electrobun/package.json +42 -0
- package/platforms/electrobun/scripts/bin/zip +2 -0
- package/platforms/electrobun/scripts/build-macos-effects.sh +31 -0
- package/platforms/electrobun/scripts/build-whisper-universal.sh +137 -0
- package/platforms/electrobun/scripts/build-whisper.sh +95 -0
- package/platforms/electrobun/scripts/ensure-whisper-model.sh +93 -0
- package/platforms/electrobun/scripts/hdiutil-wrapper.sh +33 -0
- package/platforms/electrobun/scripts/lib/app-dir.mjs +74 -0
- package/platforms/electrobun/scripts/lib/repo-root.mjs +77 -0
- package/platforms/electrobun/scripts/local-adhoc-sign-macos.ts +214 -0
- package/platforms/electrobun/scripts/macos-direct-launcher.c +84 -0
- package/platforms/electrobun/scripts/postwrap-diagnostics.ts +423 -0
- package/platforms/electrobun/scripts/postwrap-sign-runtime-macos.ts +352 -0
- package/platforms/electrobun/scripts/sign-windows.ps1 +121 -0
- package/platforms/electrobun/scripts/smoke-test-windows.ps1 +907 -0
- package/platforms/electrobun/scripts/smoke-test.sh +1186 -0
- package/platforms/electrobun/scripts/stage-macos-release-artifacts.sh +491 -0
- package/platforms/electrobun/scripts/sync-web-assets.mjs +48 -0
- package/platforms/electrobun/scripts/verify-rpc-handlers.ts +162 -0
- package/platforms/electrobun/scripts/verify-windows-installer-proof.ps1 +203 -0
- package/platforms/electrobun/scripts/xcrun-wrapper.sh +80 -0
- package/platforms/electrobun/scripts/zip-wrapper.sh +6 -0
- package/platforms/electrobun/src/__stubs__/bun-ffi.ts +51 -0
- package/platforms/electrobun/src/__stubs__/electrobun-bun.ts +20 -0
- package/platforms/electrobun/src/agent-ready-state.ts +35 -0
- package/platforms/electrobun/src/agent-reset-from-main.ts +87 -0
- package/platforms/electrobun/src/api-base.ts +169 -0
- package/platforms/electrobun/src/application-menu-action-registry.ts +21 -0
- package/platforms/electrobun/src/application-menu.ts +418 -0
- package/platforms/electrobun/src/background-notice.ts +65 -0
- package/platforms/electrobun/src/brand-config.ts +184 -0
- package/platforms/electrobun/src/bridge/browser-tabs-renderer-registry.ts +60 -0
- package/platforms/electrobun/src/bridge/electrobun-direct-rpc.ts +430 -0
- package/platforms/electrobun/src/bridge/electrobun-preload.ts +1 -0
- package/platforms/electrobun/src/bridge/electrobun-stub.ts +21 -0
- package/platforms/electrobun/src/browser-workspace-bridge-server.ts +284 -0
- package/platforms/electrobun/src/cloud-auth-window.ts +216 -0
- package/platforms/electrobun/src/cloud-disconnect-from-main.ts +118 -0
- package/platforms/electrobun/src/constants.ts +2 -0
- package/platforms/electrobun/src/desktop-http-request.test.ts +85 -0
- package/platforms/electrobun/src/desktop-http-request.ts +103 -0
- package/platforms/electrobun/src/desktop-test-bridge-server.ts +248 -0
- package/platforms/electrobun/src/devtools-layout.ts +63 -0
- package/platforms/electrobun/src/diagnostic-format.ts +65 -0
- package/platforms/electrobun/src/fatal-shutdown.test.ts +30 -0
- package/platforms/electrobun/src/fatal-shutdown.ts +10 -0
- package/platforms/electrobun/src/floating-chat-window.ts +239 -0
- package/platforms/electrobun/src/index.ts +2510 -0
- package/platforms/electrobun/src/libMacWindowEffects.dylib +0 -0
- package/platforms/electrobun/src/lifecycle/api-base-owner.ts +119 -0
- package/platforms/electrobun/src/lifecycle/desktop-session-prime.ts +77 -0
- package/platforms/electrobun/src/logger.ts +23 -0
- package/platforms/electrobun/src/main-window-runtime.ts +117 -0
- package/platforms/electrobun/src/main-window-session.ts +88 -0
- package/platforms/electrobun/src/menu-reset-from-main.ts +211 -0
- package/platforms/electrobun/src/native/agent.ts +1963 -0
- package/platforms/electrobun/src/native/auth-bridge.ts +525 -0
- package/platforms/electrobun/src/native/browser-workspace.ts +574 -0
- package/platforms/electrobun/src/native/camera.ts +68 -0
- package/platforms/electrobun/src/native/canvas.ts +504 -0
- package/platforms/electrobun/src/native/credentials.ts +765 -0
- package/platforms/electrobun/src/native/desktop.ts +2317 -0
- package/platforms/electrobun/src/native/editor-bridge.ts +292 -0
- package/platforms/electrobun/src/native/file-watcher.ts +220 -0
- package/platforms/electrobun/src/native/gateway.ts +218 -0
- package/platforms/electrobun/src/native/gpu-window.ts +301 -0
- package/platforms/electrobun/src/native/index.ts +105 -0
- package/platforms/electrobun/src/native/location.ts +110 -0
- package/platforms/electrobun/src/native/loopback-port.ts +81 -0
- package/platforms/electrobun/src/native/mac-window-effects.ts +178 -0
- package/platforms/electrobun/src/native/music-player.ts +61 -0
- package/platforms/electrobun/src/native/permissions-shared.ts +171 -0
- package/platforms/electrobun/src/native/permissions.ts +242 -0
- package/platforms/electrobun/src/native/power-state.ts +195 -0
- package/platforms/electrobun/src/native/screencapture.ts +654 -0
- package/platforms/electrobun/src/native/steward.ts +343 -0
- package/platforms/electrobun/src/native/swabble.ts +349 -0
- package/platforms/electrobun/src/native/talkmode.ts +441 -0
- package/platforms/electrobun/src/native/webgpu-browser-support.ts +220 -0
- package/platforms/electrobun/src/native/whisper.ts +280 -0
- package/platforms/electrobun/src/preload-validation.ts +65 -0
- package/platforms/electrobun/src/preload.js +1 -0
- package/platforms/electrobun/src/print-electrobun-dev-settings-banner.ts +140 -0
- package/platforms/electrobun/src/renderer-static.ts +77 -0
- package/platforms/electrobun/src/rpc-handlers.ts +1079 -0
- package/platforms/electrobun/src/rpc-schema.ts +1870 -0
- package/platforms/electrobun/src/runtime-layout.ts +150 -0
- package/platforms/electrobun/src/runtime-permissions.ts +131 -0
- package/platforms/electrobun/src/screenshot-dev-server.ts +125 -0
- package/platforms/electrobun/src/startup-trace.ts +351 -0
- package/platforms/electrobun/src/surface-windows.ts +475 -0
- package/platforms/electrobun/src/types/web-speech.d.ts +52 -0
- package/platforms/electrobun/src/types.ts +18 -0
- package/platforms/electrobun/src/windows-cef-profile.ts +124 -0
- package/platforms/electrobun/tsconfig.json +75 -0
- package/platforms/electrobun/vitest.electrobun.config.ts +54 -0
- package/platforms/ios/App/App/App.entitlements +18 -0
- package/platforms/ios/App/App/AppDelegate.swift +93 -0
- package/platforms/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-ios-marketing-1024.png +0 -0
- package/platforms/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-ipad-20x20@1x.png +0 -0
- package/platforms/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-ipad-20x20@2x.png +0 -0
- package/platforms/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-ipad-29x29@1x.png +0 -0
- package/platforms/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-ipad-29x29@2x.png +0 -0
- package/platforms/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-ipad-40x40@1x.png +0 -0
- package/platforms/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-ipad-40x40@2x.png +0 -0
- package/platforms/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-ipad-76x76@1x.png +0 -0
- package/platforms/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-ipad-76x76@2x.png +0 -0
- package/platforms/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-ipad-83_5x83_5@2x.png +0 -0
- package/platforms/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-iphone-20x20@2x.png +0 -0
- package/platforms/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-iphone-20x20@3x.png +0 -0
- package/platforms/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-iphone-29x29@2x.png +0 -0
- package/platforms/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-iphone-29x29@3x.png +0 -0
- package/platforms/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-iphone-40x40@2x.png +0 -0
- package/platforms/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-iphone-40x40@3x.png +0 -0
- package/platforms/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-iphone-60x60@2x.png +0 -0
- package/platforms/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-iphone-60x60@3x.png +0 -0
- package/platforms/ios/App/App/Assets.xcassets/AppIcon.appiconset/Contents.json +116 -0
- package/platforms/ios/App/App/Assets.xcassets/Contents.json +6 -0
- package/platforms/ios/App/App/Assets.xcassets/Splash.imageset/Contents.json +23 -0
- package/platforms/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-1.png +0 -0
- package/platforms/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-2.png +0 -0
- package/platforms/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732.png +0 -0
- package/platforms/ios/App/App/Base.lproj/LaunchScreen.storyboard +32 -0
- package/platforms/ios/App/App/Base.lproj/Main.storyboard +19 -0
- package/platforms/ios/App/App/ElizaIntentPlugin.swift +185 -0
- package/platforms/ios/App/App/Info.plist +123 -0
- package/platforms/ios/App/App/PrivacyInfo.xcprivacy +55 -0
- package/platforms/ios/App/App/SceneDelegate.swift +77 -0
- package/platforms/ios/App/App/WebsiteBlockerContentExtension/ActionRequestHandler.swift +142 -0
- package/platforms/ios/App/App/WebsiteBlockerContentExtension/Info.plist +29 -0
- package/platforms/ios/App/App/WebsiteBlockerContentExtension/PrivacyInfo.xcprivacy +23 -0
- package/platforms/ios/App/App/WebsiteBlockerContentExtension/WebsiteBlockerContentExtension.entitlements +10 -0
- package/platforms/ios/App/App.xcodeproj/project.pbxproj +596 -0
- package/platforms/ios/App/App.xcworkspace/contents.xcworkspacedata +10 -0
- package/platforms/ios/App/App.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- package/platforms/ios/App/ExportOptions.plist +18 -0
- package/platforms/ios/App/Podfile +51 -0
- package/platforms/ios/App/Podfile.lock +131 -0
- package/platforms/ios/Gemfile +6 -0
- package/platforms/ios/fastlane/Appfile +4 -0
- package/platforms/ios/fastlane/Fastfile +94 -0
- package/platforms/ios/fastlane/Matchfile +12 -0
- package/platforms/ios/fastlane/metadata/en-US/description.txt +22 -0
- package/platforms/ios/fastlane/metadata/en-US/keywords.txt +1 -0
- package/platforms/ios/fastlane/metadata/en-US/marketing_url.txt +1 -0
- package/platforms/ios/fastlane/metadata/en-US/name.txt +1 -0
- package/platforms/ios/fastlane/metadata/en-US/privacy_url.txt +1 -0
- package/platforms/ios/fastlane/metadata/en-US/promotional_text.txt +1 -0
- package/platforms/ios/fastlane/metadata/en-US/subtitle.txt +1 -0
- package/platforms/ios/fastlane/metadata/en-US/support_url.txt +1 -0
- package/register-runtime-hooks.d.ts +2 -0
- package/register-runtime-hooks.d.ts.map +1 -0
- package/register-runtime-hooks.js +13 -0
- package/registry/generate-apps.d.ts +2 -0
- package/registry/generate-apps.d.ts.map +1 -0
- package/registry/generate-apps.js +338 -0
- package/registry/generate.d.ts +2 -0
- package/registry/generate.d.ts.map +1 -0
- package/registry/generate.js +506 -0
- package/registry/index.d.ts +6 -0
- package/registry/index.d.ts.map +1 -0
- package/registry/index.js +68 -0
- package/registry/loader.d.ts +27 -0
- package/registry/loader.d.ts.map +1 -0
- package/registry/loader.js +111 -0
- package/registry/schema.d.ts +989 -0
- package/registry/schema.d.ts.map +1 -0
- package/registry/schema.js +264 -0
- package/runtime/api-dev-settings-banner.d.ts +7 -0
- package/runtime/api-dev-settings-banner.d.ts.map +1 -0
- package/runtime/api-dev-settings-banner.js +104 -0
- package/runtime/app-route-plugin-registry.d.ts +3 -0
- package/runtime/app-route-plugin-registry.d.ts.map +1 -0
- package/runtime/app-route-plugin-registry.js +1 -0
- package/runtime/build-character-from-config.d.ts +3 -0
- package/runtime/build-character-from-config.d.ts.map +1 -0
- package/runtime/build-character-from-config.js +59 -0
- package/runtime/build-variant.d.ts +8 -0
- package/runtime/build-variant.d.ts.map +1 -0
- package/runtime/build-variant.js +7 -0
- package/runtime/channel-plugin-map.d.ts +6 -0
- package/runtime/channel-plugin-map.d.ts.map +1 -0
- package/runtime/channel-plugin-map.js +38 -0
- package/runtime/dev-server.d.ts +2 -0
- package/runtime/dev-server.d.ts.map +1 -0
- package/runtime/dev-server.js +383 -0
- package/runtime/dev-settings-figlet-heading.d.ts +22 -0
- package/runtime/dev-settings-figlet-heading.d.ts.map +1 -0
- package/runtime/dev-settings-figlet-heading.js +55 -0
- package/runtime/eliza.d.ts +21 -0
- package/runtime/eliza.d.ts.map +1 -0
- package/runtime/eliza.js +863 -0
- package/runtime/embedding-manager-support.d.ts +77 -0
- package/runtime/embedding-manager-support.d.ts.map +1 -0
- package/runtime/embedding-manager-support.js +309 -0
- package/runtime/embedding-presets.d.ts +5 -0
- package/runtime/embedding-presets.d.ts.map +1 -0
- package/runtime/embedding-presets.js +47 -0
- package/runtime/embedding-warmup-policy.d.ts +13 -0
- package/runtime/embedding-warmup-policy.d.ts.map +1 -0
- package/runtime/embedding-warmup-policy.js +33 -0
- package/runtime/ensure-local-inference-handler.d.ts +25 -0
- package/runtime/ensure-local-inference-handler.d.ts.map +1 -0
- package/runtime/ensure-local-inference-handler.js +389 -0
- package/runtime/ensure-text-to-speech-handler.d.ts +18 -0
- package/runtime/ensure-text-to-speech-handler.d.ts.map +1 -0
- package/runtime/ensure-text-to-speech-handler.js +50 -0
- package/runtime/error-handlers.d.ts +12 -0
- package/runtime/error-handlers.d.ts.map +1 -0
- package/runtime/error-handlers.js +49 -0
- package/runtime/mobile-local-inference-gate.d.ts +21 -0
- package/runtime/mobile-local-inference-gate.d.ts.map +1 -0
- package/runtime/mobile-local-inference-gate.js +24 -0
- package/runtime/mobile-safe-runtime.d.ts +123 -0
- package/runtime/mobile-safe-runtime.d.ts.map +1 -0
- package/runtime/mobile-safe-runtime.js +290 -0
- package/runtime/mode/remote-forwarder.d.ts +35 -0
- package/runtime/mode/remote-forwarder.d.ts.map +1 -0
- package/runtime/mode/remote-forwarder.js +119 -0
- package/runtime/mode/route-mode-guard.d.ts +21 -0
- package/runtime/mode/route-mode-guard.d.ts.map +1 -0
- package/runtime/mode/route-mode-guard.js +30 -0
- package/runtime/mode/route-mode-matrix.d.ts +64 -0
- package/runtime/mode/route-mode-matrix.d.ts.map +1 -0
- package/runtime/mode/route-mode-matrix.js +125 -0
- package/runtime/mode/runtime-mode.d.ts +72 -0
- package/runtime/mode/runtime-mode.d.ts.map +1 -0
- package/runtime/mode/runtime-mode.js +167 -0
- package/runtime/runtime-bootstrap-policy.d.ts +17 -0
- package/runtime/runtime-bootstrap-policy.d.ts.map +1 -0
- package/runtime/runtime-bootstrap-policy.js +37 -0
- package/runtime/sandbox-policy.d.ts +8 -0
- package/runtime/sandbox-policy.d.ts.map +1 -0
- package/runtime/sandbox-policy.js +7 -0
- package/runtime/startup-overlay.d.ts +14 -0
- package/runtime/startup-overlay.d.ts.map +1 -0
- package/runtime/startup-overlay.js +55 -0
- package/runtime/telegram-standalone-handler.d.ts +34 -0
- package/runtime/telegram-standalone-handler.d.ts.map +1 -0
- package/runtime/telegram-standalone-handler.js +195 -0
- package/runtime/telegram-standalone-policy.d.ts +2 -0
- package/runtime/telegram-standalone-policy.d.ts.map +1 -0
- package/runtime/telegram-standalone-policy.js +14 -0
- package/scripts/README.md +27 -0
- package/scripts/align-electrobun-version.mjs +37 -0
- package/scripts/aosp/README.md +66 -0
- package/scripts/aosp/avd-test.mjs +403 -0
- package/scripts/aosp/boot-validate.mjs +536 -0
- package/scripts/aosp/build-aosp.mjs +448 -0
- package/scripts/aosp/build-bootanimation.mjs +178 -0
- package/scripts/aosp/capture-screens.mjs +325 -0
- package/scripts/aosp/compile-libllama.mjs +1333 -0
- package/scripts/aosp/compile-shim.mjs +328 -0
- package/scripts/aosp/e2e-validate.mjs +225 -0
- package/scripts/aosp/lib/load-variant-config.mjs +182 -0
- package/scripts/aosp/lint-init-rc.mjs +258 -0
- package/scripts/aosp/llama-cpp-patches/README.md +49 -0
- package/scripts/aosp/llama-cpp-patches/apply-patches.mjs +198 -0
- package/scripts/aosp/llama-cpp-patches/polarquant/0001-Q4_POLAR-register-GGML_TYPE_Q4_POLAR-45-and-block_q4.patch +108 -0
- package/scripts/aosp/llama-cpp-patches/polarquant/0002-Q4_POLAR-vendor-PolarQuant-ref-kernels-into-ggml-bas.patch +460 -0
- package/scripts/aosp/llama-cpp-patches/polarquant/0003-tests-cover-Q4_POLAR-fix-latent-buffer-overflow.patch +102 -0
- package/scripts/aosp/llama-cpp-patches/polarquant/0004-Q4_POLAR-gate-QJL-residual-on-runtime-flag-default-o.patch +97 -0
- package/scripts/aosp/llama-cpp-patches/qjl/0001-ggml-add-GGML_TYPE_QJL1_256-GGML_OP_ATTN_SCORE_QJL-e.patch +120 -0
- package/scripts/aosp/llama-cpp-patches/qjl/0002-ggml-register-QJL1_256-type-traits-ATTN_SCORE_QJL-op.patch +1392 -0
- package/scripts/aosp/llama-cpp-patches/qjl/0003-ggml-set-QJL1_256-blck_size-to-head_dim-128-not-sket.patch +56 -0
- package/scripts/aosp/llama-cpp-patches/qjl/0004-tests-add-test-qjl-cache-verifying-type-traits-score.patch +335 -0
- package/scripts/aosp/llama-cpp-patches/qjl/0005-ggml-flip-block_qjl1_256-to-signs-then-norm.patch +69 -0
- package/scripts/aosp/llama-shim/eliza_llama_shim.c +276 -0
- package/scripts/aosp/seccomp-shim/loader-wrap.c +141 -0
- package/scripts/aosp/seccomp-shim/sigsys-handler.c +338 -0
- package/scripts/aosp/sim.mjs +277 -0
- package/scripts/aosp/smoke-cuttlefish.mjs +673 -0
- package/scripts/aosp/stage-default-models.mjs +340 -0
- package/scripts/aosp/stage-models-dfm.mjs +384 -0
- package/scripts/aosp/sync-to-aosp.mjs +134 -0
- package/scripts/aosp/validate.mjs +1273 -0
- package/scripts/aosp/variant-config-schema.ts +10 -0
- package/scripts/audit-live-test-surface.mjs +590 -0
- package/scripts/audit-server-test-surface.mjs +163 -0
- package/scripts/benchmark-preflight.mjs +170 -0
- package/scripts/bin/.gitkeep +0 -0
- package/scripts/build-bundled-agent-skills-artifact.mjs +58 -0
- package/scripts/build-bundled-orchestrator-artifact.mjs +66 -0
- package/scripts/build-capacitor-app.mjs +122 -0
- package/scripts/build-electrobun-preload.mjs +117 -0
- package/scripts/build-flatpak.mjs +125 -0
- package/scripts/build-image.sh +461 -0
- package/scripts/build-llama-cpp-dflash.mjs +1866 -0
- package/scripts/build-native-plugins.mjs +153 -0
- package/scripts/build-patched-electrobun-cli.mjs +424 -0
- package/scripts/build-win.mjs +82 -0
- package/scripts/bump-elizaos.sh +438 -0
- package/scripts/check-i18n.mjs +328 -0
- package/scripts/check-secret-hygiene.mjs +344 -0
- package/scripts/check-upstream-drift.mjs +102 -0
- package/scripts/clean-repo.mjs +187 -0
- package/scripts/codesign-mas.mjs +297 -0
- package/scripts/container-entrypoint.mjs +101 -0
- package/scripts/coordinator-cross-platform-review.mjs +192 -0
- package/scripts/copy-package-assets.mjs +31 -0
- package/scripts/copy-runtime-node-modules.ts +1782 -0
- package/scripts/coverage-policy.d.mts +16 -0
- package/scripts/coverage-policy.mjs +38 -0
- package/scripts/css-coverage.mjs +241 -0
- package/scripts/deploy-image.sh +318 -0
- package/scripts/desktop-build.mjs +867 -0
- package/scripts/desktop-stack-status.mjs +80 -0
- package/scripts/dev-platform.mjs +975 -0
- package/scripts/dev-ui.mjs +1178 -0
- package/scripts/dev-win.mjs +25 -0
- package/scripts/disable-local-eliza-workspace.mjs +420 -0
- package/scripts/docker-ci-smoke.sh +500 -0
- package/scripts/docker-entrypoint.sh +11 -0
- package/scripts/docker-runtime-review.mjs +230 -0
- package/scripts/docs-list.js +206 -0
- package/scripts/ensure-avatars.mjs +335 -0
- package/scripts/ensure-bundled-workspaces.mjs +143 -0
- package/scripts/ensure-capacitor-platform.mjs +58 -0
- package/scripts/ensure-electrobun-core.mjs +318 -0
- package/scripts/ensure-generated-core-proto-js.mjs +125 -0
- package/scripts/ensure-shared-i18n-data.mjs +67 -0
- package/scripts/ensure-skills.mjs +177 -0
- package/scripts/ensure-type-package-aliases.mjs +246 -0
- package/scripts/ensure-vision-deps.mjs +196 -0
- package/scripts/entry.ts +11 -0
- package/scripts/find-collisions.mjs +765 -0
- package/scripts/find-duplicate-components.mjs +203 -0
- package/scripts/fix-workspace-deps.mjs +328 -0
- package/scripts/generate-onboarding-voicelines.mjs +194 -0
- package/scripts/generate-plugin-index.js +1055 -0
- package/scripts/generate-static-asset-manifest.mjs +15 -0
- package/scripts/generated/static-asset-manifest.json +4 -0
- package/scripts/i18n-dynamic-keys.json +128 -0
- package/scripts/init-submodules.mjs +425 -0
- package/scripts/ios-xcframework/README.md +233 -0
- package/scripts/ios-xcframework/build-xcframework.mjs +487 -0
- package/scripts/kernel-patches/metal-kernels.mjs +656 -0
- package/scripts/kernel-patches/vulkan-dispatch-patches/01-vulkan-shaders-gen.patch +41 -0
- package/scripts/kernel-patches/vulkan-dispatch-patches/02-ggml-vulkan-pipelines.patch +86 -0
- package/scripts/kernel-patches/vulkan-kernels.mjs +281 -0
- package/scripts/lib/allocate-loopback-port.mjs +58 -0
- package/scripts/lib/api-supervisor.mjs +115 -0
- package/scripts/lib/app-dir.mjs +74 -0
- package/scripts/lib/asset-cdn.mjs +118 -0
- package/scripts/lib/bun-version-guard.mjs +44 -0
- package/scripts/lib/capacitor-platform-templates.mjs +306 -0
- package/scripts/lib/capacitor-plugin-build-needed.mjs +79 -0
- package/scripts/lib/capacitor-plugin-names.mjs +35 -0
- package/scripts/lib/desktop-preflight.mjs +122 -0
- package/scripts/lib/desktop-stack-status.mjs +151 -0
- package/scripts/lib/dev-ui-onchain.mjs +22 -0
- package/scripts/lib/dev-ui-vision.mjs +15 -0
- package/scripts/lib/kill-process-tree.mjs +87 -0
- package/scripts/lib/kill-ui-listen-port.mjs +74 -0
- package/scripts/lib/node-path-env.mjs +11 -0
- package/scripts/lib/orchestrator-desktop-dev-banner.mjs +285 -0
- package/scripts/lib/patch-bun-exports.mjs +1446 -0
- package/scripts/lib/read-app-identity.mjs +54 -0
- package/scripts/lib/release-check-pack-dry-run.ts +34 -0
- package/scripts/lib/repo-root.mjs +77 -0
- package/scripts/lib/stage-android-agent.mjs +704 -0
- package/scripts/lib/static-asset-manifest.mjs +151 -0
- package/scripts/lib/sync-eliza-env-aliases.mjs +37 -0
- package/scripts/lib/vite-renderer-dist-stale.mjs +141 -0
- package/scripts/lib/workspace-discovery.mjs +108 -0
- package/scripts/lifeops-prompt-benchmark.ts +206 -0
- package/scripts/link-browser-server.mjs +157 -0
- package/scripts/link-docker-local-app-packages.mjs +345 -0
- package/scripts/link-external-plugins.mjs +195 -0
- package/scripts/mobile-auth-simulator-smoke.mjs +373 -0
- package/scripts/normalize-parallax-capture.ts +97 -0
- package/scripts/omnivoice-fuse/Makefile +44 -0
- package/scripts/omnivoice-fuse/README.md +266 -0
- package/scripts/omnivoice-fuse/cmake-graft.mjs +180 -0
- package/scripts/omnivoice-fuse/ffi-stub.c +222 -0
- package/scripts/omnivoice-fuse/ffi.h +158 -0
- package/scripts/omnivoice-fuse/libelizainference_stub.dylib +0 -0
- package/scripts/omnivoice-fuse/prepare.mjs +263 -0
- package/scripts/omnivoice-fuse/verify-symbols.mjs +138 -0
- package/scripts/pack-upstreams.mjs +392 -0
- package/scripts/patch-deps.mjs +597 -0
- package/scripts/patch-workspace-plugins.mjs +148 -0
- package/scripts/playwright-ui-live-stack.ts +667 -0
- package/scripts/playwright-ui-smoke-api-stub.mjs +1838 -0
- package/scripts/plugin-index-local-additions.json +12 -0
- package/scripts/plugin-metadata-overrides.json +165 -0
- package/scripts/pre-review-local.mjs +599 -0
- package/scripts/prepare-ios-cocoapods.sh +30 -0
- package/scripts/prepare-package-dist.mjs +358 -0
- package/scripts/process-vrms.mjs +203 -0
- package/scripts/prune-cdn-local-assets.mjs +44 -0
- package/scripts/publish-local-plugins-next.mjs +122 -0
- package/scripts/release-check.ts +1402 -0
- package/scripts/relink-workspace-packages-to-dist.mjs +115 -0
- package/scripts/replace-workspace-versions.mjs +128 -0
- package/scripts/report-coverage-surfaces.mjs +121 -0
- package/scripts/restore-workspace-refs.mjs +128 -0
- package/scripts/rt.mjs +29 -0
- package/scripts/rt.sh +4 -0
- package/scripts/run-biome-check.mjs +191 -0
- package/scripts/run-coding-agent-e2e.mjs +46 -0
- package/scripts/run-desktop-playwright.mjs +35 -0
- package/scripts/run-local-plugin-live-smoke.mjs +185 -0
- package/scripts/run-mobile-build.mjs +3308 -0
- package/scripts/run-node-runtime.mjs +75 -0
- package/scripts/run-node-tsx.mjs +62 -0
- package/scripts/run-node.mjs +294 -0
- package/scripts/run-playwright.mjs +66 -0
- package/scripts/run-production-build.mjs +138 -0
- package/scripts/run-release-contract-suite.mjs +57 -0
- package/scripts/run-repo-setup.mjs +230 -0
- package/scripts/run-screenshotter.mjs +140 -0
- package/scripts/run-ui-smoke-playwright-suite.mjs +96 -0
- package/scripts/run-windows-smoke-launcher.ps1 +35 -0
- package/scripts/run-with-env.mjs +60 -0
- package/scripts/runtime-package-manifest.ts +107 -0
- package/scripts/sandbox-setup.sh +7 -0
- package/scripts/sanitize-npm-package-metadata.mjs +165 -0
- package/scripts/set-package-version.mjs +13 -0
- package/scripts/setup-upstreams.mjs +838 -0
- package/scripts/smoke-api-status.mjs +113 -0
- package/scripts/smoke-lifeops.mjs +305 -0
- package/scripts/startup-integration-script-drift.test.ts +94 -0
- package/scripts/sync-desktop-renderer.mjs +308 -0
- package/scripts/sync-dod-gap-issues-lib.mjs +214 -0
- package/scripts/sync-dod-gap-issues.mjs +218 -0
- package/scripts/type-audit.mjs +606 -0
- package/scripts/validate-cdn-assets.mjs +307 -0
- package/scripts/validate-regression-matrix.mjs +360 -0
- package/scripts/workspace-plugin-patches/plugin-anthropic-elizaos-core-api-compat.patch +34 -0
- package/scripts/workspace-prepare.mjs +192 -0
- package/scripts/worktree-env.sh +41 -0
- package/scripts/write-build-info.ts +69 -0
- package/scripts/write-homepage-release-data.mjs +393 -0
- package/security/agent-vault-id.d.ts +16 -0
- package/security/agent-vault-id.d.ts.map +1 -0
- package/security/agent-vault-id.js +32 -0
- package/security/cloud-secret-store.d.ts +34 -0
- package/security/cloud-secret-store.d.ts.map +1 -0
- package/security/cloud-secret-store.js +65 -0
- package/security/export-guard.d.ts +34 -0
- package/security/export-guard.d.ts.map +1 -0
- package/security/export-guard.js +127 -0
- package/security/hydrate-wallet-keys-from-platform-store.d.ts +13 -0
- package/security/hydrate-wallet-keys-from-platform-store.d.ts.map +1 -0
- package/security/hydrate-wallet-keys-from-platform-store.js +116 -0
- package/security/platform-secure-store-node.d.ts +13 -0
- package/security/platform-secure-store-node.d.ts.map +1 -0
- package/security/platform-secure-store-node.js +311 -0
- package/security/platform-secure-store.d.ts +47 -0
- package/security/platform-secure-store.d.ts.map +1 -0
- package/security/platform-secure-store.js +10 -0
- package/security/wallet-os-store-actions.d.ts +45 -0
- package/security/wallet-os-store-actions.d.ts.map +1 -0
- package/security/wallet-os-store-actions.js +125 -0
- package/services/account-pool.d.ts +134 -0
- package/services/account-pool.d.ts.map +1 -0
- package/services/account-pool.js +693 -0
- package/services/account-usage.d.ts +75 -0
- package/services/account-usage.d.ts.map +1 -0
- package/services/account-usage.js +179 -0
- package/services/auth-store.d.ts +179 -0
- package/services/auth-store.d.ts.map +1 -0
- package/services/auth-store.js +404 -0
- package/services/cloud-jwks-store.d.ts +62 -0
- package/services/cloud-jwks-store.d.ts.map +1 -0
- package/services/cloud-jwks-store.js +118 -0
- package/services/connector-target-catalog.d.ts +78 -0
- package/services/connector-target-catalog.d.ts.map +1 -0
- package/services/connector-target-catalog.js +64 -0
- package/services/discord-target-source.d.ts +53 -0
- package/services/discord-target-source.d.ts.map +1 -0
- package/services/discord-target-source.js +116 -0
- package/services/github-credentials.d.ts +95 -0
- package/services/github-credentials.d.ts.map +1 -0
- package/services/github-credentials.js +144 -0
- package/services/local-inference/__stress__/cache-stress-helpers.d.ts +76 -0
- package/services/local-inference/__stress__/cache-stress-helpers.d.ts.map +1 -0
- package/services/local-inference/__stress__/cache-stress-helpers.js +238 -0
- package/services/local-inference/active-model.d.ts +180 -0
- package/services/local-inference/active-model.d.ts.map +1 -0
- package/services/local-inference/active-model.js +362 -0
- package/services/local-inference/assignments.d.ts +58 -0
- package/services/local-inference/assignments.d.ts.map +1 -0
- package/services/local-inference/assignments.js +179 -0
- package/services/local-inference/backend.d.ts +200 -0
- package/services/local-inference/backend.d.ts.map +1 -0
- package/services/local-inference/backend.js +242 -0
- package/services/local-inference/bundled-models.d.ts +34 -0
- package/services/local-inference/bundled-models.d.ts.map +1 -0
- package/services/local-inference/bundled-models.js +104 -0
- package/services/local-inference/cache-bridge.d.ts +184 -0
- package/services/local-inference/cache-bridge.d.ts.map +1 -0
- package/services/local-inference/cache-bridge.js +333 -0
- package/services/local-inference/catalog.d.ts +57 -0
- package/services/local-inference/catalog.d.ts.map +1 -0
- package/services/local-inference/catalog.js +262 -0
- package/services/local-inference/conversation-registry.d.ts +122 -0
- package/services/local-inference/conversation-registry.d.ts.map +1 -0
- package/services/local-inference/conversation-registry.js +182 -0
- package/services/local-inference/device-bridge.d.ts +139 -0
- package/services/local-inference/device-bridge.d.ts.map +1 -0
- package/services/local-inference/device-bridge.js +774 -0
- package/services/local-inference/dflash-doctor.d.ts +27 -0
- package/services/local-inference/dflash-doctor.d.ts.map +1 -0
- package/services/local-inference/dflash-doctor.js +149 -0
- package/services/local-inference/dflash-server.d.ts +248 -0
- package/services/local-inference/dflash-server.d.ts.map +1 -0
- package/services/local-inference/dflash-server.js +1076 -0
- package/services/local-inference/downloader.d.ts +48 -0
- package/services/local-inference/downloader.d.ts.map +1 -0
- package/services/local-inference/downloader.js +688 -0
- package/services/local-inference/engine.d.ts +282 -0
- package/services/local-inference/engine.d.ts.map +1 -0
- package/services/local-inference/engine.js +743 -0
- package/services/local-inference/external-scanner.d.ts +17 -0
- package/services/local-inference/external-scanner.d.ts.map +1 -0
- package/services/local-inference/external-scanner.js +261 -0
- package/services/local-inference/handler-registry.d.ts +72 -0
- package/services/local-inference/handler-registry.d.ts.map +1 -0
- package/services/local-inference/handler-registry.js +159 -0
- package/services/local-inference/hardware.d.ts +26 -0
- package/services/local-inference/hardware.d.ts.map +1 -0
- package/services/local-inference/hardware.js +139 -0
- package/services/local-inference/hf-search.d.ts +19 -0
- package/services/local-inference/hf-search.d.ts.map +1 -0
- package/services/local-inference/hf-search.js +169 -0
- package/services/local-inference/index.d.ts +10 -0
- package/services/local-inference/index.d.ts.map +1 -0
- package/services/local-inference/index.js +7 -0
- package/services/local-inference/llama-server-metrics.d.ts +108 -0
- package/services/local-inference/llama-server-metrics.d.ts.map +1 -0
- package/services/local-inference/llama-server-metrics.js +175 -0
- package/services/local-inference/manifest/index.d.ts +4 -0
- package/services/local-inference/manifest/index.d.ts.map +1 -0
- package/services/local-inference/manifest/index.js +5 -0
- package/services/local-inference/manifest/schema.d.ts +419 -0
- package/services/local-inference/manifest/schema.d.ts.map +1 -0
- package/services/local-inference/manifest/schema.js +227 -0
- package/services/local-inference/manifest/types.d.ts +23 -0
- package/services/local-inference/manifest/types.d.ts.map +1 -0
- package/services/local-inference/manifest/types.js +5 -0
- package/services/local-inference/manifest/validator.d.ts +43 -0
- package/services/local-inference/manifest/validator.d.ts.map +1 -0
- package/services/local-inference/manifest/validator.js +180 -0
- package/services/local-inference/paths.d.ts +8 -0
- package/services/local-inference/paths.d.ts.map +1 -0
- package/services/local-inference/paths.js +7 -0
- package/services/local-inference/providers.d.ts +61 -0
- package/services/local-inference/providers.d.ts.map +1 -0
- package/services/local-inference/providers.js +334 -0
- package/services/local-inference/ram-budget.d.ts +57 -0
- package/services/local-inference/ram-budget.d.ts.map +1 -0
- package/services/local-inference/ram-budget.js +107 -0
- package/services/local-inference/readiness.d.ts +9 -0
- package/services/local-inference/readiness.d.ts.map +1 -0
- package/services/local-inference/readiness.js +153 -0
- package/services/local-inference/recommendation.d.ts +62 -0
- package/services/local-inference/recommendation.d.ts.map +1 -0
- package/services/local-inference/recommendation.js +309 -0
- package/services/local-inference/registry.d.ts +35 -0
- package/services/local-inference/registry.d.ts.map +1 -0
- package/services/local-inference/registry.js +117 -0
- package/services/local-inference/router-handler.d.ts +51 -0
- package/services/local-inference/router-handler.d.ts.map +1 -0
- package/services/local-inference/router-handler.js +165 -0
- package/services/local-inference/routing-policy.d.ts +55 -0
- package/services/local-inference/routing-policy.d.ts.map +1 -0
- package/services/local-inference/routing-policy.js +195 -0
- package/services/local-inference/routing-preferences.d.ts +8 -0
- package/services/local-inference/routing-preferences.d.ts.map +1 -0
- package/services/local-inference/routing-preferences.js +7 -0
- package/services/local-inference/service.d.ts +88 -0
- package/services/local-inference/service.d.ts.map +1 -0
- package/services/local-inference/service.js +210 -0
- package/services/local-inference/session-pool.d.ts +72 -0
- package/services/local-inference/session-pool.d.ts.map +1 -0
- package/services/local-inference/session-pool.js +125 -0
- package/services/local-inference/types.d.ts +309 -0
- package/services/local-inference/types.d.ts.map +1 -0
- package/services/local-inference/types.js +23 -0
- package/services/local-inference/verify.d.ts +8 -0
- package/services/local-inference/verify.d.ts.map +1 -0
- package/services/local-inference/verify.js +7 -0
- package/services/local-inference/voice/barge-in.d.ts +15 -0
- package/services/local-inference/voice/barge-in.d.ts.map +1 -0
- package/services/local-inference/voice/barge-in.js +20 -0
- package/services/local-inference/voice/engine-bridge.d.ts +256 -0
- package/services/local-inference/voice/engine-bridge.d.ts.map +1 -0
- package/services/local-inference/voice/engine-bridge.js +398 -0
- package/services/local-inference/voice/ffi-bindings.d.ts +114 -0
- package/services/local-inference/voice/ffi-bindings.d.ts.map +1 -0
- package/services/local-inference/voice/ffi-bindings.js +281 -0
- package/services/local-inference/voice/index.d.ts +51 -0
- package/services/local-inference/voice/index.d.ts.map +1 -0
- package/services/local-inference/voice/index.js +50 -0
- package/services/local-inference/voice/lifecycle.d.ts +135 -0
- package/services/local-inference/voice/lifecycle.d.ts.map +1 -0
- package/services/local-inference/voice/lifecycle.js +189 -0
- package/services/local-inference/voice/phoneme-tokenizer.d.ts +58 -0
- package/services/local-inference/voice/phoneme-tokenizer.d.ts.map +1 -0
- package/services/local-inference/voice/phoneme-tokenizer.js +53 -0
- package/services/local-inference/voice/phrase-cache.d.ts +24 -0
- package/services/local-inference/voice/phrase-cache.d.ts.map +1 -0
- package/services/local-inference/voice/phrase-cache.js +32 -0
- package/services/local-inference/voice/phrase-chunker.d.ts +20 -0
- package/services/local-inference/voice/phrase-chunker.d.ts.map +1 -0
- package/services/local-inference/voice/phrase-chunker.js +85 -0
- package/services/local-inference/voice/ring-buffer.d.ts +40 -0
- package/services/local-inference/voice/ring-buffer.d.ts.map +1 -0
- package/services/local-inference/voice/ring-buffer.js +85 -0
- package/services/local-inference/voice/rollback-queue.d.ts +24 -0
- package/services/local-inference/voice/rollback-queue.d.ts.map +1 -0
- package/services/local-inference/voice/rollback-queue.js +49 -0
- package/services/local-inference/voice/scheduler.d.ts +47 -0
- package/services/local-inference/voice/scheduler.d.ts.map +1 -0
- package/services/local-inference/voice/scheduler.js +123 -0
- package/services/local-inference/voice/shared-resources.d.ts +119 -0
- package/services/local-inference/voice/shared-resources.d.ts.map +1 -0
- package/services/local-inference/voice/shared-resources.js +83 -0
- package/services/local-inference/voice/speaker-preset-cache.d.ts +28 -0
- package/services/local-inference/voice/speaker-preset-cache.d.ts.map +1 -0
- package/services/local-inference/voice/speaker-preset-cache.js +44 -0
- package/services/local-inference/voice/types.d.ts +80 -0
- package/services/local-inference/voice/types.d.ts.map +1 -0
- package/services/local-inference/voice/voice-preset-format.d.ts +56 -0
- package/services/local-inference/voice/voice-preset-format.d.ts.map +1 -0
- package/services/local-inference/voice/voice-preset-format.js +184 -0
- package/services/persistence.d.ts +48 -0
- package/services/persistence.d.ts.map +1 -0
- package/services/persistence.js +128 -0
- package/services/plugin-installer.d.ts +22 -0
- package/services/plugin-installer.d.ts.map +1 -0
- package/services/plugin-installer.js +41 -0
- package/services/secrets-manager-installer.d.ts +140 -0
- package/services/secrets-manager-installer.d.ts.map +1 -0
- package/services/secrets-manager-installer.js +374 -0
- package/services/steward-credentials.d.ts +37 -0
- package/services/steward-credentials.d.ts.map +1 -0
- package/services/steward-credentials.js +93 -0
- package/services/steward-sidecar/health-check.d.ts +9 -0
- package/services/steward-sidecar/health-check.d.ts.map +1 -0
- package/services/steward-sidecar/health-check.js +34 -0
- package/services/steward-sidecar/helpers.d.ts +21 -0
- package/services/steward-sidecar/helpers.d.ts.map +1 -0
- package/services/steward-sidecar/helpers.js +71 -0
- package/services/steward-sidecar/process-management.d.ts +9 -0
- package/services/steward-sidecar/process-management.d.ts.map +1 -0
- package/services/steward-sidecar/process-management.js +53 -0
- package/services/steward-sidecar/types.d.ts +60 -0
- package/services/steward-sidecar/types.d.ts.map +1 -0
- package/services/steward-sidecar/types.js +17 -0
- package/services/steward-sidecar/wallet-setup.d.ts +9 -0
- package/services/steward-sidecar/wallet-setup.d.ts.map +1 -0
- package/services/steward-sidecar/wallet-setup.js +114 -0
- package/services/steward-sidecar.d.ts +70 -0
- package/services/steward-sidecar.d.ts.map +1 -0
- package/services/steward-sidecar.js +385 -0
- package/services/tool-call-cache/index.d.ts +13 -0
- package/services/tool-call-cache/index.d.ts.map +1 -0
- package/services/tool-call-cache/index.js +11 -0
- package/services/trigger-event-bridge.d.ts +52 -0
- package/services/trigger-event-bridge.d.ts.map +1 -0
- package/services/trigger-event-bridge.js +217 -0
- package/services/update-notifier.d.ts +6 -0
- package/services/update-notifier.d.ts.map +1 -0
- package/services/update-notifier.js +33 -0
- package/services/vault-bootstrap.d.ts +31 -0
- package/services/vault-bootstrap.d.ts.map +1 -0
- package/services/vault-bootstrap.js +209 -0
- package/services/vault-mirror.d.ts +44 -0
- package/services/vault-mirror.d.ts.map +1 -0
- package/services/vault-mirror.js +80 -0
- package/styles/electrobun-mac-window-drag.css +66 -0
- package/test/helpers/__tests__/live-agent-test.smoke.test.ts +105 -0
- package/test/helpers/action-assertions.ts +364 -0
- package/test/helpers/action-spy.ts +354 -0
- package/test/helpers/browser-launch.ts +103 -0
- package/test/helpers/browser-mocks.ts +275 -0
- package/test/helpers/conditional-tests.ts +42 -0
- package/test/helpers/conversation-harness.ts +334 -0
- package/test/helpers/http.ts +150 -0
- package/test/helpers/i18n.ts +5 -0
- package/test/helpers/isolated-config.ts +34 -0
- package/test/helpers/live-agent-test.ts +660 -0
- package/test/helpers/live-child-env.ts +72 -0
- package/test/helpers/live-provider.test.ts +124 -0
- package/test/helpers/live-provider.ts +362 -0
- package/test/helpers/live-runtime-server.ts +88 -0
- package/test/helpers/loopback.ts +33 -0
- package/test/helpers/pglite-runtime.ts +173 -0
- package/test/helpers/react-test.ts +40 -0
- package/test/helpers/real-connector.ts +250 -0
- package/test/helpers/real-runtime.ts +543 -0
- package/test/helpers/skip-without.ts +53 -0
- package/test/helpers/stochastic-test.ts +186 -0
- package/test/helpers/test-utils.ts +94 -0
- package/test/helpers/trajectory-assertions.ts +168 -0
- package/test/helpers/trajectory-harness.test.ts +101 -0
- package/test/helpers/trajectory-harness.ts +988 -0
- package/test/scripts/managed-test-command.mjs +632 -0
- package/test/scripts/task-agent-live-smoke.ts +1335 -0
- package/test/scripts/test-parallel.mjs +237 -0
- package/test/scripts/test-root-unit.mjs +169 -0
- package/test/scripts/test-runner.mjs +78 -0
- package/test/scripts/validate-all-features.sh +541 -0
- package/test-support/test-helpers.d.ts +111 -0
- package/test-support/test-helpers.d.ts.map +1 -0
- package/test-support/test-helpers.js +410 -0
- package/ui-compat.d.ts +3 -0
- package/ui-compat.d.ts.map +1 -0
- package/ui-compat.js +3 -0
- package/utils/eliza-root.d.ts +9 -0
- package/utils/eliza-root.d.ts.map +1 -0
- package/utils/eliza-root.js +101 -0
- package/utils/globals.d.ts +7 -0
- package/utils/globals.d.ts.map +1 -0
- package/utils/globals.js +47 -0
- package/App.d.ts +0 -5
- package/App.d.ts.map +0 -1
- package/App.js +0 -220
- package/LICENSE +0 -21
- package/actions/character.d.ts +0 -39
- package/actions/character.d.ts.map +0 -1
- package/actions/character.js +0 -247
- package/actions/chat-helpers.d.ts +0 -47
- package/actions/chat-helpers.d.ts.map +0 -1
- package/actions/chat-helpers.js +0 -79
- package/actions/cloud.d.ts +0 -17
- package/actions/cloud.d.ts.map +0 -1
- package/actions/cloud.js +0 -43
- package/actions/index.d.ts +0 -12
- package/actions/index.d.ts.map +0 -1
- package/actions/index.js +0 -11
- package/actions/lifecycle.d.ts +0 -43
- package/actions/lifecycle.d.ts.map +0 -1
- package/actions/lifecycle.js +0 -118
- package/actions/onboarding.d.ts +0 -13
- package/actions/onboarding.d.ts.map +0 -1
- package/actions/onboarding.js +0 -26
- package/actions/triggers.d.ts +0 -23
- package/actions/triggers.d.ts.map +0 -1
- package/actions/triggers.js +0 -148
- package/api/client.d.ts +0 -2742
- package/api/client.d.ts.map +0 -1
- package/api/client.js +0 -2520
- package/api/index.d.ts +0 -2
- package/api/index.d.ts.map +0 -1
- package/api/index.js +0 -1
- package/autonomy/index.d.ts +0 -48
- package/autonomy/index.d.ts.map +0 -1
- package/autonomy/index.js +0 -330
- package/bridge/capacitor-bridge.d.ts +0 -153
- package/bridge/capacitor-bridge.d.ts.map +0 -1
- package/bridge/capacitor-bridge.js +0 -193
- package/bridge/electrobun-rpc.d.ts +0 -28
- package/bridge/electrobun-rpc.d.ts.map +0 -1
- package/bridge/electrobun-rpc.js +0 -35
- package/bridge/electrobun-runtime.d.ts +0 -3
- package/bridge/electrobun-runtime.d.ts.map +0 -1
- package/bridge/electrobun-runtime.js +0 -17
- package/bridge/index.d.ts +0 -6
- package/bridge/index.d.ts.map +0 -1
- package/bridge/index.js +0 -5
- package/bridge/native-plugins.d.ts +0 -82
- package/bridge/native-plugins.d.ts.map +0 -1
- package/bridge/native-plugins.js +0 -39
- package/bridge/plugin-bridge.d.ts +0 -116
- package/bridge/plugin-bridge.d.ts.map +0 -1
- package/bridge/plugin-bridge.js +0 -203
- package/bridge/storage-bridge.d.ts +0 -39
- package/bridge/storage-bridge.d.ts.map +0 -1
- package/bridge/storage-bridge.js +0 -135
- package/chat/index.d.ts +0 -57
- package/chat/index.d.ts.map +0 -1
- package/chat/index.js +0 -160
- package/coding/index.d.ts +0 -25
- package/coding/index.d.ts.map +0 -1
- package/coding/index.js +0 -25
- package/components/AdvancedPageView.d.ts +0 -17
- package/components/AdvancedPageView.d.ts.map +0 -1
- package/components/AdvancedPageView.js +0 -146
- package/components/AgentActivityBox.d.ts +0 -7
- package/components/AgentActivityBox.d.ts.map +0 -1
- package/components/AgentActivityBox.js +0 -25
- package/components/ApiKeyConfig.d.ts +0 -26
- package/components/ApiKeyConfig.d.ts.map +0 -1
- package/components/ApiKeyConfig.js +0 -119
- package/components/AppsPageView.d.ts +0 -7
- package/components/AppsPageView.d.ts.map +0 -1
- package/components/AppsPageView.js +0 -31
- package/components/AppsView.d.ts +0 -8
- package/components/AppsView.d.ts.map +0 -1
- package/components/AppsView.js +0 -149
- package/components/AvatarLoader.d.ts +0 -13
- package/components/AvatarLoader.d.ts.map +0 -1
- package/components/AvatarLoader.js +0 -53
- package/components/AvatarSelector.d.ts +0 -23
- package/components/AvatarSelector.d.ts.map +0 -1
- package/components/AvatarSelector.js +0 -105
- package/components/BscTradePanel.d.ts +0 -22
- package/components/BscTradePanel.d.ts.map +0 -1
- package/components/BscTradePanel.js +0 -221
- package/components/BugReportModal.d.ts +0 -2
- package/components/BugReportModal.d.ts.map +0 -1
- package/components/BugReportModal.js +0 -219
- package/components/CharacterRoster.d.ts +0 -31
- package/components/CharacterRoster.d.ts.map +0 -1
- package/components/CharacterRoster.js +0 -41
- package/components/CharacterView.d.ts +0 -8
- package/components/CharacterView.d.ts.map +0 -1
- package/components/CharacterView.js +0 -685
- package/components/ChatAvatar.d.ts +0 -8
- package/components/ChatAvatar.d.ts.map +0 -1
- package/components/ChatAvatar.js +0 -89
- package/components/ChatComposer.d.ts +0 -37
- package/components/ChatComposer.d.ts.map +0 -1
- package/components/ChatComposer.js +0 -136
- package/components/ChatMessage.d.ts +0 -24
- package/components/ChatMessage.d.ts.map +0 -1
- package/components/ChatMessage.js +0 -187
- package/components/ChatModalView.d.ts +0 -10
- package/components/ChatModalView.d.ts.map +0 -1
- package/components/ChatModalView.js +0 -57
- package/components/ChatView.d.ts +0 -14
- package/components/ChatView.d.ts.map +0 -1
- package/components/ChatView.js +0 -526
- package/components/CloudOnboarding.d.ts +0 -7
- package/components/CloudOnboarding.d.ts.map +0 -1
- package/components/CloudOnboarding.js +0 -22
- package/components/CloudSourceControls.d.ts +0 -13
- package/components/CloudSourceControls.d.ts.map +0 -1
- package/components/CloudSourceControls.js +0 -16
- package/components/CodingAgentSettingsSection.d.ts +0 -8
- package/components/CodingAgentSettingsSection.d.ts.map +0 -1
- package/components/CodingAgentSettingsSection.js +0 -292
- package/components/CommandPalette.d.ts +0 -2
- package/components/CommandPalette.d.ts.map +0 -1
- package/components/CommandPalette.js +0 -181
- package/components/CompanionSceneHost.d.ts +0 -14
- package/components/CompanionSceneHost.d.ts.map +0 -1
- package/components/CompanionSceneHost.js +0 -362
- package/components/CompanionShell.d.ts +0 -17
- package/components/CompanionShell.d.ts.map +0 -1
- package/components/CompanionShell.js +0 -15
- package/components/CompanionView.d.ts +0 -2
- package/components/CompanionView.d.ts.map +0 -1
- package/components/CompanionView.js +0 -22
- package/components/ConfigPageView.d.ts +0 -11
- package/components/ConfigPageView.d.ts.map +0 -1
- package/components/ConfigPageView.js +0 -311
- package/components/ConfigSaveFooter.d.ts +0 -8
- package/components/ConfigSaveFooter.d.ts.map +0 -1
- package/components/ConfigSaveFooter.js +0 -10
- package/components/ConfirmModal.d.ts +0 -61
- package/components/ConfirmModal.d.ts.map +0 -1
- package/components/ConfirmModal.js +0 -164
- package/components/ConnectionFailedBanner.d.ts +0 -6
- package/components/ConnectionFailedBanner.d.ts.map +0 -1
- package/components/ConnectionFailedBanner.js +0 -22
- package/components/ConnectorsPageView.d.ts +0 -7
- package/components/ConnectorsPageView.d.ts.map +0 -1
- package/components/ConnectorsPageView.js +0 -8
- package/components/ConversationsSidebar.d.ts +0 -9
- package/components/ConversationsSidebar.d.ts.map +0 -1
- package/components/ConversationsSidebar.js +0 -116
- package/components/CustomActionEditor.d.ts +0 -10
- package/components/CustomActionEditor.d.ts.map +0 -1
- package/components/CustomActionEditor.js +0 -596
- package/components/CustomActionsPanel.d.ts +0 -9
- package/components/CustomActionsPanel.d.ts.map +0 -1
- package/components/CustomActionsPanel.js +0 -107
- package/components/CustomActionsView.d.ts +0 -2
- package/components/CustomActionsView.d.ts.map +0 -1
- package/components/CustomActionsView.js +0 -134
- package/components/DatabasePageView.d.ts +0 -5
- package/components/DatabasePageView.d.ts.map +0 -1
- package/components/DatabasePageView.js +0 -28
- package/components/DatabaseView.d.ts +0 -9
- package/components/DatabaseView.d.ts.map +0 -1
- package/components/DatabaseView.js +0 -311
- package/components/ElizaCloudDashboard.d.ts +0 -2
- package/components/ElizaCloudDashboard.d.ts.map +0 -1
- package/components/ElizaCloudDashboard.js +0 -657
- package/components/EmotePicker.d.ts +0 -2
- package/components/EmotePicker.d.ts.map +0 -1
- package/components/EmotePicker.js +0 -343
- package/components/ErrorBoundary.d.ts +0 -22
- package/components/ErrorBoundary.d.ts.map +0 -1
- package/components/ErrorBoundary.js +0 -31
- package/components/FineTuningView.d.ts +0 -2
- package/components/FineTuningView.d.ts.map +0 -1
- package/components/FineTuningView.js +0 -433
- package/components/FlaminaGuide.d.ts +0 -10
- package/components/FlaminaGuide.d.ts.map +0 -1
- package/components/FlaminaGuide.js +0 -64
- package/components/GameView.d.ts +0 -11
- package/components/GameView.d.ts.map +0 -1
- package/components/GameView.js +0 -294
- package/components/GameViewOverlay.d.ts +0 -8
- package/components/GameViewOverlay.d.ts.map +0 -1
- package/components/GameViewOverlay.js +0 -70
- package/components/GlobalEmoteOverlay.d.ts +0 -2
- package/components/GlobalEmoteOverlay.d.ts.map +0 -1
- package/components/GlobalEmoteOverlay.js +0 -112
- package/components/Header.d.ts +0 -9
- package/components/Header.d.ts.map +0 -1
- package/components/Header.js +0 -123
- package/components/HeartbeatsView.d.ts +0 -2
- package/components/HeartbeatsView.d.ts.map +0 -1
- package/components/HeartbeatsView.js +0 -378
- package/components/InventoryView.d.ts +0 -10
- package/components/InventoryView.d.ts.map +0 -1
- package/components/InventoryView.js +0 -176
- package/components/KnowledgeView.d.ts +0 -20
- package/components/KnowledgeView.d.ts.map +0 -1
- package/components/KnowledgeView.js +0 -483
- package/components/LanguageDropdown.d.ts +0 -30
- package/components/LanguageDropdown.d.ts.map +0 -1
- package/components/LanguageDropdown.js +0 -99
- package/components/LifoMonitorPanel.d.ts +0 -21
- package/components/LifoMonitorPanel.d.ts.map +0 -1
- package/components/LifoMonitorPanel.js +0 -24
- package/components/LifoSandboxView.d.ts +0 -5
- package/components/LifoSandboxView.d.ts.map +0 -1
- package/components/LifoSandboxView.js +0 -333
- package/components/LoadingScreen.d.ts +0 -13
- package/components/LoadingScreen.d.ts.map +0 -1
- package/components/LoadingScreen.js +0 -70
- package/components/LogsPageView.d.ts +0 -2
- package/components/LogsPageView.d.ts.map +0 -1
- package/components/LogsPageView.js +0 -7
- package/components/LogsView.d.ts +0 -5
- package/components/LogsView.d.ts.map +0 -1
- package/components/LogsView.js +0 -71
- package/components/MediaGalleryView.d.ts +0 -9
- package/components/MediaGalleryView.d.ts.map +0 -1
- package/components/MediaGalleryView.js +0 -236
- package/components/MediaSettingsSection.d.ts +0 -11
- package/components/MediaSettingsSection.d.ts.map +0 -1
- package/components/MediaSettingsSection.js +0 -329
- package/components/MessageContent.d.ts +0 -51
- package/components/MessageContent.d.ts.map +0 -1
- package/components/MessageContent.js +0 -553
- package/components/OnboardingWizard.d.ts +0 -2
- package/components/OnboardingWizard.d.ts.map +0 -1
- package/components/OnboardingWizard.js +0 -86
- package/components/PairingView.d.ts +0 -5
- package/components/PairingView.d.ts.map +0 -1
- package/components/PairingView.js +0 -29
- package/components/PermissionsSection.d.ts +0 -20
- package/components/PermissionsSection.d.ts.map +0 -1
- package/components/PermissionsSection.js +0 -573
- package/components/PluginsPageView.d.ts +0 -5
- package/components/PluginsPageView.d.ts.map +0 -1
- package/components/PluginsPageView.js +0 -8
- package/components/PluginsView.d.ts +0 -21
- package/components/PluginsView.d.ts.map +0 -1
- package/components/PluginsView.js +0 -1534
- package/components/ProviderSwitcher.d.ts +0 -42
- package/components/ProviderSwitcher.d.ts.map +0 -1
- package/components/ProviderSwitcher.js +0 -493
- package/components/RestartBanner.d.ts +0 -2
- package/components/RestartBanner.d.ts.map +0 -1
- package/components/RestartBanner.js +0 -36
- package/components/RuntimeView.d.ts +0 -10
- package/components/RuntimeView.d.ts.map +0 -1
- package/components/RuntimeView.js +0 -165
- package/components/SaveCommandModal.d.ts +0 -12
- package/components/SaveCommandModal.d.ts.map +0 -1
- package/components/SaveCommandModal.js +0 -84
- package/components/SecretsView.d.ts +0 -9
- package/components/SecretsView.d.ts.map +0 -1
- package/components/SecretsView.js +0 -249
- package/components/SettingsView.d.ts +0 -9
- package/components/SettingsView.d.ts.map +0 -1
- package/components/SettingsView.js +0 -230
- package/components/ShellOverlays.d.ts +0 -8
- package/components/ShellOverlays.d.ts.map +0 -1
- package/components/ShellOverlays.js +0 -10
- package/components/ShortcutsOverlay.d.ts +0 -2
- package/components/ShortcutsOverlay.d.ts.map +0 -1
- package/components/ShortcutsOverlay.js +0 -79
- package/components/SkillsView.d.ts +0 -11
- package/components/SkillsView.d.ts.map +0 -1
- package/components/SkillsView.js +0 -358
- package/components/StartupFailureView.d.ts +0 -8
- package/components/StartupFailureView.d.ts.map +0 -1
- package/components/StartupFailureView.js +0 -16
- package/components/StreamView.d.ts +0 -16
- package/components/StreamView.d.ts.map +0 -1
- package/components/StreamView.js +0 -300
- package/components/StripeEmbeddedCheckout.d.ts +0 -24
- package/components/StripeEmbeddedCheckout.d.ts.map +0 -1
- package/components/StripeEmbeddedCheckout.js +0 -101
- package/components/SubscriptionStatus.d.ts +0 -23
- package/components/SubscriptionStatus.d.ts.map +0 -1
- package/components/SubscriptionStatus.js +0 -301
- package/components/SystemWarningBanner.d.ts +0 -6
- package/components/SystemWarningBanner.d.ts.map +0 -1
- package/components/SystemWarningBanner.js +0 -46
- package/components/ThemeToggle.d.ts +0 -21
- package/components/ThemeToggle.d.ts.map +0 -1
- package/components/ThemeToggle.js +0 -24
- package/components/TrajectoriesView.d.ts +0 -12
- package/components/TrajectoriesView.d.ts.map +0 -1
- package/components/TrajectoriesView.js +0 -183
- package/components/TrajectoryDetailView.d.ts +0 -13
- package/components/TrajectoryDetailView.d.ts.map +0 -1
- package/components/TrajectoryDetailView.js +0 -112
- package/components/TriggersView.d.ts +0 -2
- package/components/TriggersView.d.ts.map +0 -1
- package/components/TriggersView.js +0 -1
- package/components/VectorBrowserView.d.ts +0 -10
- package/components/VectorBrowserView.d.ts.map +0 -1
- package/components/VectorBrowserView.js +0 -1000
- package/components/VoiceConfigView.d.ts +0 -11
- package/components/VoiceConfigView.d.ts.map +0 -1
- package/components/VoiceConfigView.js +0 -331
- package/components/VrmStage.d.ts +0 -28
- package/components/VrmStage.d.ts.map +0 -1
- package/components/VrmStage.js +0 -178
- package/components/WhatsAppQrOverlay.d.ts +0 -8
- package/components/WhatsAppQrOverlay.d.ts.map +0 -1
- package/components/WhatsAppQrOverlay.js +0 -63
- package/components/apps/AppDetailPane.d.ts +0 -15
- package/components/apps/AppDetailPane.d.ts.map +0 -1
- package/components/apps/AppDetailPane.js +0 -13
- package/components/apps/AppsCatalogGrid.d.ts +0 -20
- package/components/apps/AppsCatalogGrid.d.ts.map +0 -1
- package/components/apps/AppsCatalogGrid.js +0 -18
- package/components/apps/extensions/registry.d.ts +0 -4
- package/components/apps/extensions/registry.d.ts.map +0 -1
- package/components/apps/extensions/registry.js +0 -7
- package/components/apps/extensions/types.d.ts +0 -7
- package/components/apps/extensions/types.d.ts.map +0 -1
- package/components/apps/helpers.d.ts +0 -7
- package/components/apps/helpers.d.ts.map +0 -1
- package/components/apps/helpers.js +0 -44
- package/components/avatar/VrmAnimationLoader.d.ts +0 -30
- package/components/avatar/VrmAnimationLoader.d.ts.map +0 -1
- package/components/avatar/VrmAnimationLoader.js +0 -99
- package/components/avatar/VrmBlinkController.d.ts +0 -37
- package/components/avatar/VrmBlinkController.d.ts.map +0 -1
- package/components/avatar/VrmBlinkController.js +0 -98
- package/components/avatar/VrmCameraManager.d.ts +0 -57
- package/components/avatar/VrmCameraManager.d.ts.map +0 -1
- package/components/avatar/VrmCameraManager.js +0 -277
- package/components/avatar/VrmEngine.d.ts +0 -246
- package/components/avatar/VrmEngine.d.ts.map +0 -1
- package/components/avatar/VrmEngine.js +0 -2087
- package/components/avatar/VrmFootShadow.d.ts +0 -18
- package/components/avatar/VrmFootShadow.d.ts.map +0 -1
- package/components/avatar/VrmFootShadow.js +0 -83
- package/components/avatar/VrmViewer.d.ts +0 -60
- package/components/avatar/VrmViewer.d.ts.map +0 -1
- package/components/avatar/VrmViewer.js +0 -396
- package/components/avatar/mixamoVRMRigMap.d.ts +0 -3
- package/components/avatar/mixamoVRMRigMap.d.ts.map +0 -1
- package/components/avatar/mixamoVRMRigMap.js +0 -56
- package/components/avatar/retargetMixamoFbxToVrm.d.ts +0 -9
- package/components/avatar/retargetMixamoFbxToVrm.d.ts.map +0 -1
- package/components/avatar/retargetMixamoFbxToVrm.js +0 -88
- package/components/avatar/retargetMixamoGltfToVrm.d.ts +0 -11
- package/components/avatar/retargetMixamoGltfToVrm.d.ts.map +0 -1
- package/components/avatar/retargetMixamoGltfToVrm.js +0 -80
- package/components/chainConfig.d.ts +0 -89
- package/components/chainConfig.d.ts.map +0 -1
- package/components/chainConfig.js +0 -287
- package/components/companion/CompanionHeader.d.ts +0 -15
- package/components/companion/CompanionHeader.d.ts.map +0 -1
- package/components/companion/CompanionHeader.js +0 -7
- package/components/companion/CompanionSceneHost.d.ts +0 -2
- package/components/companion/CompanionSceneHost.d.ts.map +0 -1
- package/components/companion/CompanionSceneHost.js +0 -1
- package/components/companion/VrmStage.d.ts +0 -3
- package/components/companion/VrmStage.d.ts.map +0 -1
- package/components/companion/VrmStage.js +0 -1
- package/components/companion/index.d.ts +0 -18
- package/components/companion/index.d.ts.map +0 -1
- package/components/companion/index.js +0 -17
- package/components/companion/walletUtils.d.ts +0 -95
- package/components/companion/walletUtils.d.ts.map +0 -1
- package/components/companion/walletUtils.js +0 -167
- package/components/companion-shell-styles.d.ts +0 -38
- package/components/companion-shell-styles.d.ts.map +0 -1
- package/components/companion-shell-styles.js +0 -248
- package/components/confirm-delete-control.d.ts +0 -16
- package/components/confirm-delete-control.d.ts.map +0 -1
- package/components/confirm-delete-control.js +0 -12
- package/components/conversations/ConversationListItem.d.ts +0 -31
- package/components/conversations/ConversationListItem.d.ts.map +0 -1
- package/components/conversations/ConversationListItem.js +0 -52
- package/components/conversations/conversation-utils.d.ts +0 -9
- package/components/conversations/conversation-utils.d.ts.map +0 -1
- package/components/conversations/conversation-utils.js +0 -138
- package/components/format.d.ts +0 -54
- package/components/format.d.ts.map +0 -1
- package/components/format.js +0 -82
- package/components/index.d.ts +0 -96
- package/components/index.d.ts.map +0 -1
- package/components/index.js +0 -95
- package/components/inventory/CopyableAddress.d.ts +0 -8
- package/components/inventory/CopyableAddress.d.ts.map +0 -1
- package/components/inventory/CopyableAddress.js +0 -18
- package/components/inventory/InventoryToolbar.d.ts +0 -25
- package/components/inventory/InventoryToolbar.d.ts.map +0 -1
- package/components/inventory/InventoryToolbar.js +0 -28
- package/components/inventory/NftGrid.d.ts +0 -13
- package/components/inventory/NftGrid.d.ts.map +0 -1
- package/components/inventory/NftGrid.js +0 -29
- package/components/inventory/TokenLogo.d.ts +0 -12
- package/components/inventory/TokenLogo.d.ts.map +0 -1
- package/components/inventory/TokenLogo.js +0 -33
- package/components/inventory/TokensTable.d.ts +0 -24
- package/components/inventory/TokensTable.d.ts.map +0 -1
- package/components/inventory/TokensTable.js +0 -26
- package/components/inventory/constants.d.ts +0 -52
- package/components/inventory/constants.d.ts.map +0 -1
- package/components/inventory/constants.js +0 -121
- package/components/inventory/index.d.ts +0 -9
- package/components/inventory/index.d.ts.map +0 -1
- package/components/inventory/index.js +0 -8
- package/components/inventory/media-url.d.ts +0 -6
- package/components/inventory/media-url.d.ts.map +0 -1
- package/components/inventory/media-url.js +0 -28
- package/components/inventory/useInventoryData.d.ts +0 -53
- package/components/inventory/useInventoryData.d.ts.map +0 -1
- package/components/inventory/useInventoryData.js +0 -332
- package/components/knowledge-upload-image.d.ts +0 -27
- package/components/knowledge-upload-image.d.ts.map +0 -1
- package/components/knowledge-upload-image.js +0 -146
- package/components/labels.d.ts +0 -6
- package/components/labels.d.ts.map +0 -1
- package/components/labels.js +0 -40
- package/components/onboarding/ActivateStep.d.ts +0 -2
- package/components/onboarding/ActivateStep.d.ts.map +0 -1
- package/components/onboarding/ActivateStep.js +0 -10
- package/components/onboarding/CloudLoginStep.d.ts +0 -2
- package/components/onboarding/CloudLoginStep.d.ts.map +0 -1
- package/components/onboarding/CloudLoginStep.js +0 -20
- package/components/onboarding/ConnectionStep.d.ts +0 -2
- package/components/onboarding/ConnectionStep.d.ts.map +0 -1
- package/components/onboarding/ConnectionStep.js +0 -609
- package/components/onboarding/IdentityStep.d.ts +0 -2
- package/components/onboarding/IdentityStep.d.ts.map +0 -1
- package/components/onboarding/IdentityStep.js +0 -102
- package/components/onboarding/OnboardingPanel.d.ts +0 -9
- package/components/onboarding/OnboardingPanel.d.ts.map +0 -1
- package/components/onboarding/OnboardingPanel.js +0 -24
- package/components/onboarding/OnboardingStepNav.d.ts +0 -2
- package/components/onboarding/OnboardingStepNav.d.ts.map +0 -1
- package/components/onboarding/OnboardingStepNav.js +0 -24
- package/components/onboarding/PermissionsStep.d.ts +0 -2
- package/components/onboarding/PermissionsStep.d.ts.map +0 -1
- package/components/onboarding/PermissionsStep.js +0 -7
- package/components/onboarding/RpcStep.d.ts +0 -2
- package/components/onboarding/RpcStep.d.ts.map +0 -1
- package/components/onboarding/RpcStep.js +0 -125
- package/components/onboarding/SaveKeysStep.d.ts +0 -2
- package/components/onboarding/SaveKeysStep.d.ts.map +0 -1
- package/components/onboarding/SaveKeysStep.js +0 -44
- package/components/onboarding/WelcomeStep.d.ts +0 -2
- package/components/onboarding/WelcomeStep.d.ts.map +0 -1
- package/components/onboarding/WelcomeStep.js +0 -30
- package/components/permissions/PermissionIcon.d.ts +0 -4
- package/components/permissions/PermissionIcon.d.ts.map +0 -1
- package/components/permissions/PermissionIcon.js +0 -12
- package/components/permissions/StreamingPermissions.d.ts +0 -20
- package/components/permissions/StreamingPermissions.d.ts.map +0 -1
- package/components/permissions/StreamingPermissions.js +0 -178
- package/components/plugins/showcase-data.d.ts +0 -7
- package/components/plugins/showcase-data.d.ts.map +0 -1
- package/components/plugins/showcase-data.js +0 -464
- package/components/shared/ShellHeaderControls.d.ts +0 -27
- package/components/shared/ShellHeaderControls.d.ts.map +0 -1
- package/components/shared/ShellHeaderControls.js +0 -55
- package/components/shared-companion-scene-context.d.ts +0 -3
- package/components/shared-companion-scene-context.d.ts.map +0 -1
- package/components/shared-companion-scene-context.js +0 -13
- package/components/skeletons.d.ts +0 -17
- package/components/skeletons.d.ts.map +0 -1
- package/components/skeletons.js +0 -22
- package/components/stream/ActivityFeed.d.ts +0 -5
- package/components/stream/ActivityFeed.d.ts.map +0 -1
- package/components/stream/ActivityFeed.js +0 -57
- package/components/stream/AvatarPip.d.ts +0 -5
- package/components/stream/AvatarPip.d.ts.map +0 -1
- package/components/stream/AvatarPip.js +0 -6
- package/components/stream/ChatContent.d.ts +0 -6
- package/components/stream/ChatContent.d.ts.map +0 -1
- package/components/stream/ChatContent.js +0 -69
- package/components/stream/ChatTicker.d.ts +0 -5
- package/components/stream/ChatTicker.d.ts.map +0 -1
- package/components/stream/ChatTicker.js +0 -34
- package/components/stream/IdleContent.d.ts +0 -5
- package/components/stream/IdleContent.d.ts.map +0 -1
- package/components/stream/IdleContent.js +0 -17
- package/components/stream/StatusBar.d.ts +0 -36
- package/components/stream/StatusBar.d.ts.map +0 -1
- package/components/stream/StatusBar.js +0 -140
- package/components/stream/StreamSettings.d.ts +0 -33
- package/components/stream/StreamSettings.d.ts.map +0 -1
- package/components/stream/StreamSettings.js +0 -99
- package/components/stream/StreamTerminal.d.ts +0 -2
- package/components/stream/StreamTerminal.d.ts.map +0 -1
- package/components/stream/StreamTerminal.js +0 -52
- package/components/stream/StreamVoiceConfig.d.ts +0 -10
- package/components/stream/StreamVoiceConfig.d.ts.map +0 -1
- package/components/stream/StreamVoiceConfig.js +0 -88
- package/components/stream/helpers.d.ts +0 -32
- package/components/stream/helpers.d.ts.map +0 -1
- package/components/stream/helpers.js +0 -110
- package/components/stream/overlays/OverlayLayer.d.ts +0 -20
- package/components/stream/overlays/OverlayLayer.d.ts.map +0 -1
- package/components/stream/overlays/OverlayLayer.js +0 -24
- package/components/stream/overlays/built-in/ActionTickerWidget.d.ts +0 -8
- package/components/stream/overlays/built-in/ActionTickerWidget.d.ts.map +0 -1
- package/components/stream/overlays/built-in/ActionTickerWidget.js +0 -44
- package/components/stream/overlays/built-in/AlertPopupWidget.d.ts +0 -7
- package/components/stream/overlays/built-in/AlertPopupWidget.d.ts.map +0 -1
- package/components/stream/overlays/built-in/AlertPopupWidget.js +0 -62
- package/components/stream/overlays/built-in/BrandingWidget.d.ts +0 -7
- package/components/stream/overlays/built-in/BrandingWidget.d.ts.map +0 -1
- package/components/stream/overlays/built-in/BrandingWidget.js +0 -36
- package/components/stream/overlays/built-in/CustomHtmlWidget.d.ts +0 -26
- package/components/stream/overlays/built-in/CustomHtmlWidget.d.ts.map +0 -1
- package/components/stream/overlays/built-in/CustomHtmlWidget.js +0 -78
- package/components/stream/overlays/built-in/PeonGlassWidget.d.ts +0 -11
- package/components/stream/overlays/built-in/PeonGlassWidget.d.ts.map +0 -1
- package/components/stream/overlays/built-in/PeonGlassWidget.js +0 -188
- package/components/stream/overlays/built-in/PeonHudWidget.d.ts +0 -10
- package/components/stream/overlays/built-in/PeonHudWidget.d.ts.map +0 -1
- package/components/stream/overlays/built-in/PeonHudWidget.js +0 -168
- package/components/stream/overlays/built-in/PeonSakuraWidget.d.ts +0 -11
- package/components/stream/overlays/built-in/PeonSakuraWidget.d.ts.map +0 -1
- package/components/stream/overlays/built-in/PeonSakuraWidget.js +0 -213
- package/components/stream/overlays/built-in/ThoughtBubbleWidget.d.ts +0 -8
- package/components/stream/overlays/built-in/ThoughtBubbleWidget.d.ts.map +0 -1
- package/components/stream/overlays/built-in/ThoughtBubbleWidget.js +0 -59
- package/components/stream/overlays/built-in/ViewerCountWidget.d.ts +0 -7
- package/components/stream/overlays/built-in/ViewerCountWidget.d.ts.map +0 -1
- package/components/stream/overlays/built-in/ViewerCountWidget.js +0 -34
- package/components/stream/overlays/built-in/index.d.ts +0 -13
- package/components/stream/overlays/built-in/index.d.ts.map +0 -1
- package/components/stream/overlays/built-in/index.js +0 -12
- package/components/stream/overlays/registry.d.ts +0 -11
- package/components/stream/overlays/registry.d.ts.map +0 -1
- package/components/stream/overlays/registry.js +0 -16
- package/components/stream/overlays/types.d.ts +0 -67
- package/components/stream/overlays/types.d.ts.map +0 -1
- package/components/stream/overlays/types.js +0 -7
- package/components/stream/overlays/useOverlayLayout.d.ts +0 -27
- package/components/stream/overlays/useOverlayLayout.d.ts.map +0 -1
- package/components/stream/overlays/useOverlayLayout.js +0 -162
- package/components/trajectory-format.d.ts +0 -6
- package/components/trajectory-format.d.ts.map +0 -1
- package/components/trajectory-format.js +0 -43
- package/components/ui-badges.d.ts +0 -23
- package/components/ui-badges.d.ts.map +0 -1
- package/components/ui-badges.js +0 -38
- package/components/ui-switch.d.ts +0 -14
- package/components/ui-switch.d.ts.map +0 -1
- package/components/ui-switch.js +0 -15
- package/components/vector-browser-three.d.ts +0 -4
- package/components/vector-browser-three.d.ts.map +0 -1
- package/components/vector-browser-three.js +0 -21
- package/config/branding.d.ts +0 -49
- package/config/branding.d.ts.map +0 -1
- package/config/branding.js +0 -16
- package/config/config-catalog.d.ts +0 -376
- package/config/config-catalog.d.ts.map +0 -1
- package/config/config-catalog.js +0 -724
- package/config/config-field.d.ts +0 -68
- package/config/config-field.d.ts.map +0 -1
- package/config/config-field.js +0 -840
- package/config/config-renderer.d.ts +0 -176
- package/config/config-renderer.d.ts.map +0 -1
- package/config/config-renderer.js +0 -405
- package/config/index.d.ts +0 -6
- package/config/index.d.ts.map +0 -1
- package/config/index.js +0 -5
- package/config/ui-renderer.d.ts +0 -26
- package/config/ui-renderer.d.ts.map +0 -1
- package/config/ui-renderer.js +0 -815
- package/config/ui-spec.d.ts +0 -164
- package/config/ui-spec.d.ts.map +0 -1
- package/config/ui-spec.js +0 -13
- package/events/index.d.ts +0 -48
- package/events/index.d.ts.map +0 -1
- package/events/index.js +0 -45
- package/hooks/index.d.ts +0 -15
- package/hooks/index.d.ts.map +0 -1
- package/hooks/index.js +0 -14
- package/hooks/useBugReport.d.ts +0 -14
- package/hooks/useBugReport.d.ts.map +0 -1
- package/hooks/useBugReport.js +0 -18
- package/hooks/useCanvasWindow.d.ts +0 -38
- package/hooks/useCanvasWindow.d.ts.map +0 -1
- package/hooks/useCanvasWindow.js +0 -273
- package/hooks/useChatAvatarVoice.d.ts +0 -10
- package/hooks/useChatAvatarVoice.d.ts.map +0 -1
- package/hooks/useChatAvatarVoice.js +0 -71
- package/hooks/useClickOutside.d.ts +0 -6
- package/hooks/useClickOutside.d.ts.map +0 -1
- package/hooks/useClickOutside.js +0 -25
- package/hooks/useContextMenu.d.ts +0 -17
- package/hooks/useContextMenu.d.ts.map +0 -1
- package/hooks/useContextMenu.js +0 -100
- package/hooks/useKeyboardShortcuts.d.ts +0 -17
- package/hooks/useKeyboardShortcuts.d.ts.map +0 -1
- package/hooks/useKeyboardShortcuts.js +0 -67
- package/hooks/useLifoSync.d.ts +0 -18
- package/hooks/useLifoSync.d.ts.map +0 -1
- package/hooks/useLifoSync.js +0 -113
- package/hooks/useMemoryMonitor.d.ts +0 -87
- package/hooks/useMemoryMonitor.d.ts.map +0 -1
- package/hooks/useMemoryMonitor.js +0 -209
- package/hooks/useRenderGuard.d.ts +0 -17
- package/hooks/useRenderGuard.d.ts.map +0 -1
- package/hooks/useRenderGuard.js +0 -36
- package/hooks/useRetakeCapture.d.ts +0 -12
- package/hooks/useRetakeCapture.d.ts.map +0 -1
- package/hooks/useRetakeCapture.js +0 -60
- package/hooks/useStreamPopoutNavigation.d.ts +0 -3
- package/hooks/useStreamPopoutNavigation.d.ts.map +0 -1
- package/hooks/useStreamPopoutNavigation.js +0 -17
- package/hooks/useTimeout.d.ts +0 -11
- package/hooks/useTimeout.d.ts.map +0 -1
- package/hooks/useTimeout.js +0 -32
- package/hooks/useVoiceChat.d.ts +0 -94
- package/hooks/useVoiceChat.d.ts.map +0 -1
- package/hooks/useVoiceChat.js +0 -1077
- package/hooks/useWhatsAppPairing.d.ts +0 -11
- package/hooks/useWhatsAppPairing.d.ts.map +0 -1
- package/hooks/useWhatsAppPairing.js +0 -95
- package/i18n/index.d.ts +0 -7
- package/i18n/index.d.ts.map +0 -1
- package/i18n/index.js +0 -53
- package/i18n/locales/en.json +0 -1268
- package/i18n/locales/es.json +0 -1236
- package/i18n/locales/ko.json +0 -1236
- package/i18n/locales/pt.json +0 -1236
- package/i18n/locales/zh-CN.json +0 -1236
- package/i18n/messages.d.ts +0 -6
- package/i18n/messages.d.ts.map +0 -1
- package/i18n/messages.js +0 -14
- package/navigation/index.d.ts +0 -27
- package/navigation/index.d.ts.map +0 -1
- package/navigation/index.js +0 -232
- package/onboarding-config.d.ts +0 -25
- package/onboarding-config.d.ts.map +0 -1
- package/onboarding-config.js +0 -76
- package/platform/browser-launch.d.ts +0 -2
- package/platform/browser-launch.d.ts.map +0 -1
- package/platform/browser-launch.js +0 -109
- package/platform/index.d.ts +0 -14
- package/platform/index.d.ts.map +0 -1
- package/platform/index.js +0 -24
- package/platform/init.d.ts +0 -40
- package/platform/init.d.ts.map +0 -1
- package/platform/init.js +0 -160
- package/platform/lifo.d.ts +0 -51
- package/platform/lifo.d.ts.map +0 -1
- package/platform/lifo.js +0 -138
- package/providers/index.d.ts +0 -19
- package/providers/index.d.ts.map +0 -1
- package/providers/index.js +0 -80
- package/shell-params.d.ts +0 -12
- package/shell-params.d.ts.map +0 -1
- package/shell-params.js +0 -19
- package/state/AppContext.d.ts +0 -12
- package/state/AppContext.d.ts.map +0 -1
- package/state/AppContext.js +0 -5102
- package/state/index.d.ts +0 -7
- package/state/index.d.ts.map +0 -1
- package/state/index.js +0 -6
- package/state/internal.d.ts +0 -7
- package/state/internal.d.ts.map +0 -1
- package/state/internal.js +0 -6
- package/state/onboarding-resume.d.ts +0 -11
- package/state/onboarding-resume.d.ts.map +0 -1
- package/state/onboarding-resume.js +0 -187
- package/state/parsers.d.ts +0 -26
- package/state/parsers.d.ts.map +0 -1
- package/state/parsers.js +0 -255
- package/state/persistence.d.ts +0 -59
- package/state/persistence.d.ts.map +0 -1
- package/state/persistence.js +0 -328
- package/state/shell-routing.d.ts +0 -12
- package/state/shell-routing.d.ts.map +0 -1
- package/state/shell-routing.js +0 -26
- package/state/types.d.ts +0 -426
- package/state/types.d.ts.map +0 -1
- package/state/types.js +0 -89
- package/state/ui-preferences.d.ts +0 -3
- package/state/ui-preferences.d.ts.map +0 -1
- package/state/ui-preferences.js +0 -1
- package/state/useApp.d.ts +0 -4
- package/state/useApp.d.ts.map +0 -1
- package/state/useApp.js +0 -22
- package/state/vrm.d.ts +0 -30
- package/state/vrm.d.ts.map +0 -1
- package/state/vrm.js +0 -82
- package/styles/anime.css +0 -6364
- package/styles/base.css +0 -255
- package/styles/onboarding-game.css +0 -1095
- package/styles/styles.css +0 -2087
- package/styles/xterm.css +0 -241
- package/types/index.d.ts +0 -657
- package/types/index.d.ts.map +0 -1
- package/types/index.js +0 -1
- package/utils/asset-url.d.ts +0 -26
- package/utils/asset-url.d.ts.map +0 -1
- package/utils/asset-url.js +0 -99
- package/utils/assistant-text.d.ts +0 -2
- package/utils/assistant-text.d.ts.map +0 -1
- package/utils/assistant-text.js +0 -161
- package/utils/clipboard.d.ts +0 -2
- package/utils/clipboard.d.ts.map +0 -1
- package/utils/clipboard.js +0 -38
- package/utils/desktop-dialogs.d.ts +0 -19
- package/utils/desktop-dialogs.d.ts.map +0 -1
- package/utils/desktop-dialogs.js +0 -50
- package/utils/eliza-globals.d.ts +0 -11
- package/utils/eliza-globals.d.ts.map +0 -1
- package/utils/eliza-globals.js +0 -33
- package/utils/index.d.ts +0 -8
- package/utils/index.d.ts.map +0 -1
- package/utils/index.js +0 -7
- package/utils/number-parsing.d.ts +0 -44
- package/utils/number-parsing.d.ts.map +0 -1
- package/utils/number-parsing.js +0 -56
- package/utils/openExternalUrl.d.ts +0 -2
- package/utils/openExternalUrl.d.ts.map +0 -1
- package/utils/openExternalUrl.js +0 -17
- package/utils/spoken-text.d.ts +0 -2
- package/utils/spoken-text.d.ts.map +0 -1
- package/utils/spoken-text.js +0 -56
- package/utils/streaming-text.d.ts +0 -3
- package/utils/streaming-text.d.ts.map +0 -1
- package/utils/streaming-text.js +0 -87
- package/voice/index.d.ts +0 -2
- package/voice/index.d.ts.map +0 -1
- package/voice/index.js +0 -1
- package/voice/types.d.ts +0 -25
- package/voice/types.d.ts.map +0 -1
- package/voice/types.js +0 -166
- package/wallet-rpc.d.ts +0 -8
- package/wallet-rpc.d.ts.map +0 -1
- package/wallet-rpc.js +0 -131
- /package/{components/apps/extensions → services/local-inference/voice}/types.js +0 -0
package/api/client.d.ts
DELETED
|
@@ -1,2742 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* API client for the Milady backend.
|
|
3
|
-
*
|
|
4
|
-
* Thin fetch wrapper + WebSocket for real-time chat/events.
|
|
5
|
-
* Replaces the gateway WebSocket protocol entirely.
|
|
6
|
-
*/
|
|
7
|
-
import type { AudioGenConfig, AudioGenProvider, CustomActionDef, CustomActionHandler, DatabaseProviderType, ImageConfig, ImageProvider, MediaConfig, MediaMode, ReleaseChannel, VideoConfig, VideoProvider, VisionConfig, VisionProvider } from "@elizaos/autonomous/contracts/config";
|
|
8
|
-
import type { DropStatus, MintResult } from "@elizaos/autonomous/contracts/drop";
|
|
9
|
-
import type { VerificationResult } from "@elizaos/autonomous/contracts/verification";
|
|
10
|
-
import type { CloudProviderOption, ConnectorConfig, InventoryProviderOption, MessageExample, MessageExampleContent, ModelOption, OnboardingConnection, OnboardingData, OnboardingOptions, OpenRouterModelOption, PiAiModelOption, ProviderOption, RpcProviderOption, StylePreset, SubscriptionProviderStatus, SubscriptionStatusResponse } from "@elizaos/autonomous/contracts/onboarding";
|
|
11
|
-
import type { BscTradeExecuteRequest, BscTradeExecuteResponse, BscTradePreflightResponse, BscTradeQuoteRequest, BscTradeQuoteResponse, BscTradeTxStatusResponse, BscTransferExecuteRequest, BscTransferExecuteResponse, EvmChainBalance, EvmNft, EvmTokenBalance, SolanaNft, SolanaTokenBalance, WalletAddresses, WalletBalancesResponse, WalletConfigStatus, WalletConfigUpdateRequest, WalletNftsResponse, WalletRpcChain, WalletRpcCredentialKey, WalletRpcSelections, TradePermissionMode as WalletTradePermissionMode, WalletTradingProfileResponse, WalletTradingProfileSourceFilter, WalletTradingProfileWindow } from "@elizaos/autonomous/contracts/wallet";
|
|
12
|
-
import { DEFAULT_WALLET_RPC_SELECTIONS, normalizeWalletRpcProviderId, normalizeWalletRpcSelections, WALLET_RPC_PROVIDER_OPTIONS } from "@elizaos/autonomous/contracts/wallet";
|
|
13
|
-
import type { AllPermissionsState, PermissionState, PermissionStatus, SystemPermissionDefinition, SystemPermissionId } from "@elizaos/autonomous/contracts/permissions";
|
|
14
|
-
import type { ConfigUiHint } from "../types";
|
|
15
|
-
export type { AllPermissionsState, AudioGenConfig, AudioGenProvider, BscTradeExecuteRequest, BscTradeExecuteResponse, BscTradePreflightResponse, BscTradeQuoteRequest, BscTradeQuoteResponse, BscTradeTxStatusResponse, BscTransferExecuteRequest, BscTransferExecuteResponse, CloudProviderOption, ConnectorConfig, CustomActionDef, CustomActionHandler, DatabaseProviderType, DropStatus, EvmChainBalance, EvmNft, EvmTokenBalance, ImageConfig, ImageProvider, InventoryProviderOption, MediaConfig, MediaMode, MessageExample, MessageExampleContent, MintResult, ModelOption, OnboardingConnection, OnboardingData, OnboardingOptions, OpenRouterModelOption, PermissionState, PermissionStatus, PiAiModelOption, ProviderOption, RpcProviderOption, ReleaseChannel, SolanaNft, SolanaTokenBalance, StylePreset, SubscriptionProviderStatus, SubscriptionStatusResponse, SystemPermissionDefinition as PermissionDefinition, SystemPermissionId, VerificationResult, VideoConfig, VideoProvider, VisionConfig, VisionProvider, WalletAddresses, WalletBalancesResponse, WalletConfigStatus, WalletConfigUpdateRequest, WalletNftsResponse, WalletRpcChain, WalletRpcCredentialKey, WalletRpcSelections, WalletTradingProfileResponse, WalletTradingProfileSourceFilter, WalletTradingProfileWindow, };
|
|
16
|
-
export { DEFAULT_WALLET_RPC_SELECTIONS, normalizeWalletRpcProviderId, normalizeWalletRpcSelections, WALLET_RPC_PROVIDER_OPTIONS, };
|
|
17
|
-
export interface DatabaseStatus {
|
|
18
|
-
provider: DatabaseProviderType;
|
|
19
|
-
connected: boolean;
|
|
20
|
-
serverVersion: string | null;
|
|
21
|
-
tableCount: number;
|
|
22
|
-
pgliteDataDir: string | null;
|
|
23
|
-
postgresHost: string | null;
|
|
24
|
-
}
|
|
25
|
-
export interface DatabaseConfigResponse {
|
|
26
|
-
config: {
|
|
27
|
-
provider?: DatabaseProviderType;
|
|
28
|
-
pglite?: {
|
|
29
|
-
dataDir?: string;
|
|
30
|
-
};
|
|
31
|
-
postgres?: {
|
|
32
|
-
connectionString?: string;
|
|
33
|
-
host?: string;
|
|
34
|
-
port?: number;
|
|
35
|
-
database?: string;
|
|
36
|
-
user?: string;
|
|
37
|
-
password?: string;
|
|
38
|
-
ssl?: boolean;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
activeProvider: DatabaseProviderType;
|
|
42
|
-
needsRestart: boolean;
|
|
43
|
-
}
|
|
44
|
-
export interface ConnectionTestResult {
|
|
45
|
-
success: boolean;
|
|
46
|
-
serverVersion: string | null;
|
|
47
|
-
error: string | null;
|
|
48
|
-
durationMs: number;
|
|
49
|
-
}
|
|
50
|
-
export interface TableInfo {
|
|
51
|
-
name: string;
|
|
52
|
-
schema: string;
|
|
53
|
-
rowCount: number;
|
|
54
|
-
columns: ColumnInfo[];
|
|
55
|
-
}
|
|
56
|
-
export interface ColumnInfo {
|
|
57
|
-
name: string;
|
|
58
|
-
type: string;
|
|
59
|
-
nullable: boolean;
|
|
60
|
-
defaultValue: string | null;
|
|
61
|
-
isPrimaryKey: boolean;
|
|
62
|
-
}
|
|
63
|
-
export interface TableRowsResponse {
|
|
64
|
-
table: string;
|
|
65
|
-
rows: Record<string, unknown>[];
|
|
66
|
-
columns: string[];
|
|
67
|
-
total: number;
|
|
68
|
-
offset: number;
|
|
69
|
-
limit: number;
|
|
70
|
-
}
|
|
71
|
-
export interface QueryResult {
|
|
72
|
-
columns: string[];
|
|
73
|
-
rows: Record<string, unknown>[];
|
|
74
|
-
rowCount: number;
|
|
75
|
-
durationMs: number;
|
|
76
|
-
}
|
|
77
|
-
export type AgentState = "not_started" | "starting" | "running" | "stopped" | "restarting" | "error";
|
|
78
|
-
export interface AgentStartupDiagnostics {
|
|
79
|
-
phase: string;
|
|
80
|
-
attempt: number;
|
|
81
|
-
lastError?: string;
|
|
82
|
-
lastErrorAt?: number;
|
|
83
|
-
nextRetryAt?: number;
|
|
84
|
-
}
|
|
85
|
-
export interface AgentStatus {
|
|
86
|
-
state: AgentState;
|
|
87
|
-
agentName: string;
|
|
88
|
-
model: string | undefined;
|
|
89
|
-
uptime: number | undefined;
|
|
90
|
-
startedAt: number | undefined;
|
|
91
|
-
pendingRestart?: boolean;
|
|
92
|
-
pendingRestartReasons?: string[];
|
|
93
|
-
startup?: AgentStartupDiagnostics;
|
|
94
|
-
}
|
|
95
|
-
export type AgentAutomationMode = "connectors-only" | "full";
|
|
96
|
-
export type TradePermissionMode = WalletTradePermissionMode;
|
|
97
|
-
export interface AgentAutomationModeResponse {
|
|
98
|
-
mode: AgentAutomationMode;
|
|
99
|
-
options: AgentAutomationMode[];
|
|
100
|
-
}
|
|
101
|
-
export interface TradePermissionModeResponse {
|
|
102
|
-
mode: TradePermissionMode;
|
|
103
|
-
options: TradePermissionMode[];
|
|
104
|
-
}
|
|
105
|
-
export interface ApplyProductionWalletDefaultsResponse {
|
|
106
|
-
ok: boolean;
|
|
107
|
-
profile: "pure-privy-safe";
|
|
108
|
-
walletMode: "privy";
|
|
109
|
-
tradePermissionMode: "user-sign-only";
|
|
110
|
-
bscExecutionEnabled: false;
|
|
111
|
-
clearedSecrets: string[];
|
|
112
|
-
}
|
|
113
|
-
export interface AgentSelfStatusSnapshot {
|
|
114
|
-
generatedAt: string;
|
|
115
|
-
state: AgentState;
|
|
116
|
-
agentName: string;
|
|
117
|
-
model: string | null;
|
|
118
|
-
provider: string | null;
|
|
119
|
-
automationMode: AgentAutomationMode;
|
|
120
|
-
tradePermissionMode: TradePermissionMode;
|
|
121
|
-
shellEnabled: boolean;
|
|
122
|
-
wallet: {
|
|
123
|
-
mode: "privy" | "hybrid";
|
|
124
|
-
evmAddress: string | null;
|
|
125
|
-
evmAddressShort: string | null;
|
|
126
|
-
solanaAddress: string | null;
|
|
127
|
-
solanaAddressShort: string | null;
|
|
128
|
-
hasWallet: boolean;
|
|
129
|
-
hasEvm: boolean;
|
|
130
|
-
hasSolana: boolean;
|
|
131
|
-
localSignerAvailable: boolean;
|
|
132
|
-
managedBscRpcReady: boolean;
|
|
133
|
-
};
|
|
134
|
-
plugins: {
|
|
135
|
-
totalActive: number;
|
|
136
|
-
active: string[];
|
|
137
|
-
aiProviders: string[];
|
|
138
|
-
connectors: string[];
|
|
139
|
-
};
|
|
140
|
-
capabilities: {
|
|
141
|
-
canTrade: boolean;
|
|
142
|
-
canLocalTrade: boolean;
|
|
143
|
-
canAutoTrade: boolean;
|
|
144
|
-
canUseBrowser: boolean;
|
|
145
|
-
canUseComputer: boolean;
|
|
146
|
-
canRunTerminal: boolean;
|
|
147
|
-
canInstallPlugins: boolean;
|
|
148
|
-
canConfigurePlugins: boolean;
|
|
149
|
-
canConfigureConnectors: boolean;
|
|
150
|
-
};
|
|
151
|
-
}
|
|
152
|
-
export type WebSocketConnectionState = "connected" | "disconnected" | "reconnecting" | "failed";
|
|
153
|
-
export interface ConnectionStateInfo {
|
|
154
|
-
state: WebSocketConnectionState;
|
|
155
|
-
reconnectAttempt: number;
|
|
156
|
-
maxReconnectAttempts: number;
|
|
157
|
-
disconnectedAt: number | null;
|
|
158
|
-
}
|
|
159
|
-
export type ApiErrorKind = "timeout" | "network" | "http";
|
|
160
|
-
export declare class ApiError extends Error {
|
|
161
|
-
readonly kind: ApiErrorKind;
|
|
162
|
-
readonly status?: number;
|
|
163
|
-
readonly path: string;
|
|
164
|
-
constructor(options: {
|
|
165
|
-
kind: ApiErrorKind;
|
|
166
|
-
path: string;
|
|
167
|
-
message: string;
|
|
168
|
-
status?: number;
|
|
169
|
-
cause?: unknown;
|
|
170
|
-
});
|
|
171
|
-
}
|
|
172
|
-
export declare function isApiError(value: unknown): value is ApiError;
|
|
173
|
-
export interface RuntimeOrderItem {
|
|
174
|
-
index: number;
|
|
175
|
-
name: string;
|
|
176
|
-
className: string;
|
|
177
|
-
id: string | null;
|
|
178
|
-
}
|
|
179
|
-
export interface RuntimeServiceOrderItem {
|
|
180
|
-
index: number;
|
|
181
|
-
serviceType: string;
|
|
182
|
-
count: number;
|
|
183
|
-
instances: RuntimeOrderItem[];
|
|
184
|
-
}
|
|
185
|
-
export interface RuntimeDebugSnapshot {
|
|
186
|
-
runtimeAvailable: boolean;
|
|
187
|
-
generatedAt: number;
|
|
188
|
-
settings: {
|
|
189
|
-
maxDepth: number;
|
|
190
|
-
maxArrayLength: number;
|
|
191
|
-
maxObjectEntries: number;
|
|
192
|
-
maxStringLength: number;
|
|
193
|
-
};
|
|
194
|
-
meta: {
|
|
195
|
-
agentId?: string;
|
|
196
|
-
agentState: AgentState;
|
|
197
|
-
agentName: string;
|
|
198
|
-
model: string | null;
|
|
199
|
-
pluginCount: number;
|
|
200
|
-
actionCount: number;
|
|
201
|
-
providerCount: number;
|
|
202
|
-
evaluatorCount: number;
|
|
203
|
-
serviceTypeCount: number;
|
|
204
|
-
serviceCount: number;
|
|
205
|
-
};
|
|
206
|
-
order: {
|
|
207
|
-
plugins: RuntimeOrderItem[];
|
|
208
|
-
actions: RuntimeOrderItem[];
|
|
209
|
-
providers: RuntimeOrderItem[];
|
|
210
|
-
evaluators: RuntimeOrderItem[];
|
|
211
|
-
services: RuntimeServiceOrderItem[];
|
|
212
|
-
};
|
|
213
|
-
sections: {
|
|
214
|
-
runtime: unknown;
|
|
215
|
-
plugins: unknown;
|
|
216
|
-
actions: unknown;
|
|
217
|
-
providers: unknown;
|
|
218
|
-
evaluators: unknown;
|
|
219
|
-
services: unknown;
|
|
220
|
-
};
|
|
221
|
-
}
|
|
222
|
-
export type TriggerType = "interval" | "once" | "cron";
|
|
223
|
-
export type TriggerWakeMode = "inject_now" | "next_autonomy_cycle";
|
|
224
|
-
export type TriggerLastStatus = "success" | "error" | "skipped";
|
|
225
|
-
export interface TriggerSummary {
|
|
226
|
-
id: string;
|
|
227
|
-
taskId: string;
|
|
228
|
-
displayName: string;
|
|
229
|
-
instructions: string;
|
|
230
|
-
triggerType: TriggerType;
|
|
231
|
-
enabled: boolean;
|
|
232
|
-
wakeMode: TriggerWakeMode;
|
|
233
|
-
createdBy: string;
|
|
234
|
-
timezone?: string;
|
|
235
|
-
intervalMs?: number;
|
|
236
|
-
scheduledAtIso?: string;
|
|
237
|
-
cronExpression?: string;
|
|
238
|
-
maxRuns?: number;
|
|
239
|
-
runCount: number;
|
|
240
|
-
nextRunAtMs?: number;
|
|
241
|
-
lastRunAtIso?: string;
|
|
242
|
-
lastStatus?: TriggerLastStatus;
|
|
243
|
-
lastError?: string;
|
|
244
|
-
updatedAt?: number;
|
|
245
|
-
updateInterval?: number;
|
|
246
|
-
}
|
|
247
|
-
export interface TriggerRunRecord {
|
|
248
|
-
triggerRunId: string;
|
|
249
|
-
triggerId: string;
|
|
250
|
-
taskId: string;
|
|
251
|
-
startedAt: number;
|
|
252
|
-
finishedAt: number;
|
|
253
|
-
status: TriggerLastStatus;
|
|
254
|
-
error?: string;
|
|
255
|
-
latencyMs: number;
|
|
256
|
-
source: "scheduler" | "manual";
|
|
257
|
-
}
|
|
258
|
-
export interface TriggerHealthSnapshot {
|
|
259
|
-
triggersEnabled: boolean;
|
|
260
|
-
activeTriggers: number;
|
|
261
|
-
disabledTriggers: number;
|
|
262
|
-
totalExecutions: number;
|
|
263
|
-
totalFailures: number;
|
|
264
|
-
totalSkipped: number;
|
|
265
|
-
lastExecutionAt?: number;
|
|
266
|
-
}
|
|
267
|
-
export interface CreateTriggerRequest {
|
|
268
|
-
displayName?: string;
|
|
269
|
-
instructions?: string;
|
|
270
|
-
triggerType?: TriggerType;
|
|
271
|
-
wakeMode?: TriggerWakeMode;
|
|
272
|
-
enabled?: boolean;
|
|
273
|
-
createdBy?: string;
|
|
274
|
-
timezone?: string;
|
|
275
|
-
intervalMs?: number;
|
|
276
|
-
scheduledAtIso?: string;
|
|
277
|
-
cronExpression?: string;
|
|
278
|
-
maxRuns?: number;
|
|
279
|
-
}
|
|
280
|
-
export interface UpdateTriggerRequest {
|
|
281
|
-
displayName?: string;
|
|
282
|
-
instructions?: string;
|
|
283
|
-
triggerType?: TriggerType;
|
|
284
|
-
wakeMode?: TriggerWakeMode;
|
|
285
|
-
enabled?: boolean;
|
|
286
|
-
timezone?: string;
|
|
287
|
-
intervalMs?: number;
|
|
288
|
-
scheduledAtIso?: string;
|
|
289
|
-
cronExpression?: string;
|
|
290
|
-
maxRuns?: number;
|
|
291
|
-
}
|
|
292
|
-
export interface SandboxPlatformStatus {
|
|
293
|
-
platform: string;
|
|
294
|
-
arch?: string;
|
|
295
|
-
dockerInstalled?: boolean;
|
|
296
|
-
dockerAvailable?: boolean;
|
|
297
|
-
dockerRunning?: boolean;
|
|
298
|
-
appleContainerAvailable?: boolean;
|
|
299
|
-
wsl2?: boolean;
|
|
300
|
-
recommended?: string;
|
|
301
|
-
}
|
|
302
|
-
export interface SandboxStartResponse {
|
|
303
|
-
success: boolean;
|
|
304
|
-
message: string;
|
|
305
|
-
waitMs?: number;
|
|
306
|
-
error?: string;
|
|
307
|
-
}
|
|
308
|
-
export interface SandboxBrowserEndpoints {
|
|
309
|
-
cdpEndpoint?: string | null;
|
|
310
|
-
wsEndpoint?: string | null;
|
|
311
|
-
noVncEndpoint?: string | null;
|
|
312
|
-
}
|
|
313
|
-
export interface SandboxScreenshotRegion {
|
|
314
|
-
x: number;
|
|
315
|
-
y: number;
|
|
316
|
-
width: number;
|
|
317
|
-
height: number;
|
|
318
|
-
}
|
|
319
|
-
export interface SandboxScreenshotPayload {
|
|
320
|
-
format: string;
|
|
321
|
-
encoding: string;
|
|
322
|
-
width: number | null;
|
|
323
|
-
height: number | null;
|
|
324
|
-
data: string;
|
|
325
|
-
}
|
|
326
|
-
export interface SandboxWindowInfo {
|
|
327
|
-
id: string;
|
|
328
|
-
title: string;
|
|
329
|
-
app: string;
|
|
330
|
-
}
|
|
331
|
-
export interface SecretInfo {
|
|
332
|
-
key: string;
|
|
333
|
-
description: string;
|
|
334
|
-
category: string;
|
|
335
|
-
sensitive: boolean;
|
|
336
|
-
required: boolean;
|
|
337
|
-
isSet: boolean;
|
|
338
|
-
maskedValue: string | null;
|
|
339
|
-
usedBy: Array<{
|
|
340
|
-
pluginId: string;
|
|
341
|
-
pluginName: string;
|
|
342
|
-
enabled: boolean;
|
|
343
|
-
}>;
|
|
344
|
-
}
|
|
345
|
-
export interface PluginParamDef {
|
|
346
|
-
key: string;
|
|
347
|
-
type: string;
|
|
348
|
-
description: string;
|
|
349
|
-
required: boolean;
|
|
350
|
-
sensitive: boolean;
|
|
351
|
-
default?: string;
|
|
352
|
-
/** Predefined options for dropdown selection (e.g. model names). */
|
|
353
|
-
options?: string[];
|
|
354
|
-
currentValue: string | null;
|
|
355
|
-
isSet: boolean;
|
|
356
|
-
}
|
|
357
|
-
export interface PluginInfo {
|
|
358
|
-
id: string;
|
|
359
|
-
name: string;
|
|
360
|
-
description: string;
|
|
361
|
-
tags?: string[];
|
|
362
|
-
enabled: boolean;
|
|
363
|
-
configured: boolean;
|
|
364
|
-
envKey: string | null;
|
|
365
|
-
category: "ai-provider" | "connector" | "streaming" | "database" | "app" | "feature";
|
|
366
|
-
source: "bundled" | "store";
|
|
367
|
-
parameters: PluginParamDef[];
|
|
368
|
-
validationErrors: Array<{
|
|
369
|
-
field: string;
|
|
370
|
-
message: string;
|
|
371
|
-
}>;
|
|
372
|
-
validationWarnings: Array<{
|
|
373
|
-
field: string;
|
|
374
|
-
message: string;
|
|
375
|
-
}>;
|
|
376
|
-
npmName?: string;
|
|
377
|
-
version?: string;
|
|
378
|
-
pluginDeps?: string[];
|
|
379
|
-
/** Whether this plugin is actually loaded and running in the runtime. */
|
|
380
|
-
isActive?: boolean;
|
|
381
|
-
/** Error message when plugin is installed but failed to load. */
|
|
382
|
-
loadError?: string;
|
|
383
|
-
/** Server-provided UI hints for plugin configuration fields. */
|
|
384
|
-
configUiHints?: Record<string, ConfigUiHint>;
|
|
385
|
-
/** Optional icon URL or emoji for the plugin card header. */
|
|
386
|
-
icon?: string | null;
|
|
387
|
-
homepage?: string;
|
|
388
|
-
repository?: string;
|
|
389
|
-
setupGuideUrl?: string;
|
|
390
|
-
}
|
|
391
|
-
export interface CorePluginEntry {
|
|
392
|
-
npmName: string;
|
|
393
|
-
id: string;
|
|
394
|
-
name: string;
|
|
395
|
-
isCore: boolean;
|
|
396
|
-
loaded: boolean;
|
|
397
|
-
enabled: boolean;
|
|
398
|
-
}
|
|
399
|
-
export interface CorePluginsResponse {
|
|
400
|
-
core: CorePluginEntry[];
|
|
401
|
-
optional: CorePluginEntry[];
|
|
402
|
-
}
|
|
403
|
-
export interface ChatMessage {
|
|
404
|
-
role: "user" | "assistant";
|
|
405
|
-
text: string;
|
|
406
|
-
timestamp: number;
|
|
407
|
-
}
|
|
408
|
-
export interface Conversation {
|
|
409
|
-
id: string;
|
|
410
|
-
title: string;
|
|
411
|
-
roomId: string;
|
|
412
|
-
createdAt: string;
|
|
413
|
-
updatedAt: string;
|
|
414
|
-
}
|
|
415
|
-
export interface ConversationGreeting {
|
|
416
|
-
text: string;
|
|
417
|
-
agentName: string;
|
|
418
|
-
generated: boolean;
|
|
419
|
-
persisted?: boolean;
|
|
420
|
-
}
|
|
421
|
-
export interface CreateConversationOptions {
|
|
422
|
-
bootstrapGreeting?: boolean;
|
|
423
|
-
lang?: string;
|
|
424
|
-
}
|
|
425
|
-
/** A plain text content block. */
|
|
426
|
-
export interface TextBlock {
|
|
427
|
-
type: "text";
|
|
428
|
-
text: string;
|
|
429
|
-
}
|
|
430
|
-
/** An inline config form block — renders ConfigRenderer in chat. */
|
|
431
|
-
export interface ConfigFormBlock {
|
|
432
|
-
type: "config-form";
|
|
433
|
-
pluginId: string;
|
|
434
|
-
pluginName?: string;
|
|
435
|
-
schema: Record<string, unknown>;
|
|
436
|
-
hints?: Record<string, unknown>;
|
|
437
|
-
values?: Record<string, unknown>;
|
|
438
|
-
}
|
|
439
|
-
/** A UiSpec interactive UI block extracted from agent response. */
|
|
440
|
-
export interface UiSpecBlock {
|
|
441
|
-
type: "ui-spec";
|
|
442
|
-
spec: Record<string, unknown>;
|
|
443
|
-
raw?: string;
|
|
444
|
-
}
|
|
445
|
-
/** Union of all content block types. */
|
|
446
|
-
export type ContentBlock = TextBlock | ConfigFormBlock | UiSpecBlock;
|
|
447
|
-
/** An image attachment to send with a chat message. */
|
|
448
|
-
export interface ImageAttachment {
|
|
449
|
-
/** Base64-encoded image data (no data URL prefix). */
|
|
450
|
-
data: string;
|
|
451
|
-
mimeType: string;
|
|
452
|
-
name: string;
|
|
453
|
-
}
|
|
454
|
-
export interface ConfigSchemaResponse {
|
|
455
|
-
schema: unknown;
|
|
456
|
-
uiHints: Record<string, unknown>;
|
|
457
|
-
version: string;
|
|
458
|
-
generatedAt: string;
|
|
459
|
-
}
|
|
460
|
-
export interface ConversationMessage {
|
|
461
|
-
id: string;
|
|
462
|
-
role: "user" | "assistant";
|
|
463
|
-
text: string;
|
|
464
|
-
timestamp: number;
|
|
465
|
-
/** Structured content blocks (A2UI). When present, `text` is the fallback. */
|
|
466
|
-
blocks?: ContentBlock[];
|
|
467
|
-
/** Source channel when forwarded from another channel (e.g. "autonomy"). */
|
|
468
|
-
source?: string;
|
|
469
|
-
/** Username of the sender (e.g. retake viewer username, discord username). */
|
|
470
|
-
from?: string;
|
|
471
|
-
/** True when the SSE stream was interrupted before receiving a "done" event. */
|
|
472
|
-
interrupted?: boolean;
|
|
473
|
-
}
|
|
474
|
-
export type ConversationChannelType = "DM" | "GROUP" | "VOICE_DM" | "VOICE_GROUP" | "API";
|
|
475
|
-
export interface ChatTokenUsage {
|
|
476
|
-
promptTokens: number;
|
|
477
|
-
completionTokens: number;
|
|
478
|
-
totalTokens: number;
|
|
479
|
-
llmCalls?: number;
|
|
480
|
-
model?: string;
|
|
481
|
-
}
|
|
482
|
-
export type ConversationMode = "simple" | "power";
|
|
483
|
-
export interface SkillInfo {
|
|
484
|
-
id: string;
|
|
485
|
-
name: string;
|
|
486
|
-
description: string;
|
|
487
|
-
enabled: boolean;
|
|
488
|
-
scanStatus?: "clean" | "warning" | "critical" | "blocked" | null;
|
|
489
|
-
}
|
|
490
|
-
export interface SkillScanReportSummary {
|
|
491
|
-
scannedAt: string;
|
|
492
|
-
status: "clean" | "warning" | "critical" | "blocked";
|
|
493
|
-
summary: {
|
|
494
|
-
scannedFiles: number;
|
|
495
|
-
critical: number;
|
|
496
|
-
warn: number;
|
|
497
|
-
info: number;
|
|
498
|
-
};
|
|
499
|
-
findings: Array<{
|
|
500
|
-
ruleId: string;
|
|
501
|
-
severity: string;
|
|
502
|
-
file: string;
|
|
503
|
-
line: number;
|
|
504
|
-
message: string;
|
|
505
|
-
evidence: string;
|
|
506
|
-
}>;
|
|
507
|
-
manifestFindings: Array<{
|
|
508
|
-
ruleId: string;
|
|
509
|
-
severity: string;
|
|
510
|
-
file: string;
|
|
511
|
-
message: string;
|
|
512
|
-
}>;
|
|
513
|
-
skillPath: string;
|
|
514
|
-
}
|
|
515
|
-
export interface CatalogSkillStats {
|
|
516
|
-
comments: number;
|
|
517
|
-
downloads: number;
|
|
518
|
-
installsAllTime: number;
|
|
519
|
-
installsCurrent: number;
|
|
520
|
-
stars: number;
|
|
521
|
-
versions: number;
|
|
522
|
-
}
|
|
523
|
-
export interface CatalogSkillVersion {
|
|
524
|
-
version: string;
|
|
525
|
-
createdAt: number;
|
|
526
|
-
changelog: string;
|
|
527
|
-
}
|
|
528
|
-
export interface CatalogSkill {
|
|
529
|
-
slug: string;
|
|
530
|
-
displayName: string;
|
|
531
|
-
summary: string | null;
|
|
532
|
-
tags: Record<string, string>;
|
|
533
|
-
stats: CatalogSkillStats;
|
|
534
|
-
createdAt: number;
|
|
535
|
-
updatedAt: number;
|
|
536
|
-
latestVersion: CatalogSkillVersion | null;
|
|
537
|
-
installed?: boolean;
|
|
538
|
-
}
|
|
539
|
-
export interface CatalogSearchResult {
|
|
540
|
-
slug: string;
|
|
541
|
-
displayName: string;
|
|
542
|
-
summary: string | null;
|
|
543
|
-
score: number;
|
|
544
|
-
latestVersion: string | null;
|
|
545
|
-
downloads: number;
|
|
546
|
-
stars: number;
|
|
547
|
-
installs: number;
|
|
548
|
-
}
|
|
549
|
-
export interface LogEntry {
|
|
550
|
-
timestamp: number;
|
|
551
|
-
level: string;
|
|
552
|
-
message: string;
|
|
553
|
-
source: string;
|
|
554
|
-
tags: string[];
|
|
555
|
-
}
|
|
556
|
-
export interface LogsResponse {
|
|
557
|
-
entries: LogEntry[];
|
|
558
|
-
sources: string[];
|
|
559
|
-
tags: string[];
|
|
560
|
-
}
|
|
561
|
-
export interface LogsFilter {
|
|
562
|
-
source?: string;
|
|
563
|
-
level?: string;
|
|
564
|
-
tag?: string;
|
|
565
|
-
since?: number;
|
|
566
|
-
}
|
|
567
|
-
export type SecurityAuditSeverity = "info" | "warn" | "error" | "critical";
|
|
568
|
-
export type SecurityAuditEventType = "sandbox_mode_transition" | "secret_token_replacement_outbound" | "secret_sanitization_inbound" | "privileged_capability_invocation" | "policy_decision" | "signing_request_submitted" | "signing_request_rejected" | "signing_request_approved" | "plugin_fallback_attempt" | "security_kill_switch" | "sandbox_lifecycle" | "fetch_proxy_error";
|
|
569
|
-
export interface SecurityAuditEntry {
|
|
570
|
-
timestamp: string;
|
|
571
|
-
type: SecurityAuditEventType;
|
|
572
|
-
summary: string;
|
|
573
|
-
metadata?: Record<string, string | number | boolean | null>;
|
|
574
|
-
severity: SecurityAuditSeverity;
|
|
575
|
-
traceId?: string;
|
|
576
|
-
}
|
|
577
|
-
export interface SecurityAuditFilter {
|
|
578
|
-
type?: SecurityAuditEventType;
|
|
579
|
-
severity?: SecurityAuditSeverity;
|
|
580
|
-
since?: number | string | Date;
|
|
581
|
-
limit?: number;
|
|
582
|
-
}
|
|
583
|
-
export interface SecurityAuditResponse {
|
|
584
|
-
entries: SecurityAuditEntry[];
|
|
585
|
-
totalBuffered: number;
|
|
586
|
-
replayed: true;
|
|
587
|
-
}
|
|
588
|
-
export type SecurityAuditStreamEvent = {
|
|
589
|
-
type: "snapshot";
|
|
590
|
-
entries: SecurityAuditEntry[];
|
|
591
|
-
totalBuffered: number;
|
|
592
|
-
} | {
|
|
593
|
-
type: "entry";
|
|
594
|
-
entry: SecurityAuditEntry;
|
|
595
|
-
};
|
|
596
|
-
export type StreamEventType = "agent_event" | "heartbeat_event" | "training_event";
|
|
597
|
-
export interface StreamEventEnvelope {
|
|
598
|
-
type: StreamEventType;
|
|
599
|
-
version: 1;
|
|
600
|
-
eventId: string;
|
|
601
|
-
ts: number;
|
|
602
|
-
runId?: string;
|
|
603
|
-
seq?: number;
|
|
604
|
-
stream?: string;
|
|
605
|
-
sessionKey?: string;
|
|
606
|
-
agentId?: string;
|
|
607
|
-
roomId?: string;
|
|
608
|
-
payload: object;
|
|
609
|
-
}
|
|
610
|
-
export type TrainingJobStatus = "queued" | "running" | "completed" | "failed" | "cancelled";
|
|
611
|
-
export interface TrainingStatus {
|
|
612
|
-
runningJobs: number;
|
|
613
|
-
queuedJobs: number;
|
|
614
|
-
completedJobs: number;
|
|
615
|
-
failedJobs: number;
|
|
616
|
-
modelCount: number;
|
|
617
|
-
datasetCount: number;
|
|
618
|
-
runtimeAvailable: boolean;
|
|
619
|
-
}
|
|
620
|
-
export interface TrainingTrajectorySummary {
|
|
621
|
-
id: string;
|
|
622
|
-
trajectoryId: string;
|
|
623
|
-
agentId: string;
|
|
624
|
-
archetype: string | null;
|
|
625
|
-
createdAt: string;
|
|
626
|
-
totalReward: number | null;
|
|
627
|
-
aiJudgeReward: number | null;
|
|
628
|
-
episodeLength: number | null;
|
|
629
|
-
hasLlmCalls: boolean;
|
|
630
|
-
llmCallCount: number;
|
|
631
|
-
}
|
|
632
|
-
export interface TrainingTrajectoryDetail extends TrainingTrajectorySummary {
|
|
633
|
-
stepsJson: string;
|
|
634
|
-
aiJudgeReasoning: string | null;
|
|
635
|
-
}
|
|
636
|
-
export interface TrainingTrajectoryList {
|
|
637
|
-
available: boolean;
|
|
638
|
-
reason?: string;
|
|
639
|
-
total: number;
|
|
640
|
-
trajectories: TrainingTrajectorySummary[];
|
|
641
|
-
}
|
|
642
|
-
export interface TrainingDatasetRecord {
|
|
643
|
-
id: string;
|
|
644
|
-
createdAt: string;
|
|
645
|
-
jsonlPath: string;
|
|
646
|
-
trajectoryDir: string;
|
|
647
|
-
metadataPath: string;
|
|
648
|
-
sampleCount: number;
|
|
649
|
-
trajectoryCount: number;
|
|
650
|
-
}
|
|
651
|
-
export interface StartTrainingOptions {
|
|
652
|
-
datasetId?: string;
|
|
653
|
-
maxTrajectories?: number;
|
|
654
|
-
backend?: "mlx" | "cuda" | "cpu";
|
|
655
|
-
model?: string;
|
|
656
|
-
iterations?: number;
|
|
657
|
-
batchSize?: number;
|
|
658
|
-
learningRate?: number;
|
|
659
|
-
}
|
|
660
|
-
export interface TrainingJobRecord {
|
|
661
|
-
id: string;
|
|
662
|
-
createdAt: string;
|
|
663
|
-
startedAt: string | null;
|
|
664
|
-
completedAt: string | null;
|
|
665
|
-
status: TrainingJobStatus;
|
|
666
|
-
phase: string;
|
|
667
|
-
progress: number;
|
|
668
|
-
error: string | null;
|
|
669
|
-
exitCode: number | null;
|
|
670
|
-
signal: string | null;
|
|
671
|
-
options: StartTrainingOptions;
|
|
672
|
-
datasetId: string;
|
|
673
|
-
pythonRoot: string;
|
|
674
|
-
scriptPath: string;
|
|
675
|
-
outputDir: string;
|
|
676
|
-
logPath: string;
|
|
677
|
-
modelPath: string | null;
|
|
678
|
-
adapterPath: string | null;
|
|
679
|
-
modelId: string | null;
|
|
680
|
-
logs: string[];
|
|
681
|
-
}
|
|
682
|
-
export interface TrainingModelRecord {
|
|
683
|
-
id: string;
|
|
684
|
-
createdAt: string;
|
|
685
|
-
jobId: string;
|
|
686
|
-
outputDir: string;
|
|
687
|
-
modelPath: string;
|
|
688
|
-
adapterPath: string | null;
|
|
689
|
-
sourceModel: string | null;
|
|
690
|
-
backend: "mlx" | "cuda" | "cpu";
|
|
691
|
-
ollamaModel: string | null;
|
|
692
|
-
active: boolean;
|
|
693
|
-
benchmark: {
|
|
694
|
-
status: "not_run" | "passed" | "failed";
|
|
695
|
-
lastRunAt: string | null;
|
|
696
|
-
output: string | null;
|
|
697
|
-
};
|
|
698
|
-
}
|
|
699
|
-
export type TrainingEventKind = "job_started" | "job_progress" | "job_log" | "job_completed" | "job_failed" | "job_cancelled" | "dataset_built" | "model_activated" | "model_imported";
|
|
700
|
-
export interface TrainingStreamEvent {
|
|
701
|
-
kind: TrainingEventKind;
|
|
702
|
-
ts: number;
|
|
703
|
-
message: string;
|
|
704
|
-
jobId?: string;
|
|
705
|
-
modelId?: string;
|
|
706
|
-
datasetId?: string;
|
|
707
|
-
progress?: number;
|
|
708
|
-
phase?: string;
|
|
709
|
-
}
|
|
710
|
-
export interface AgentEventsResponse {
|
|
711
|
-
events: StreamEventEnvelope[];
|
|
712
|
-
latestEventId: string | null;
|
|
713
|
-
totalBuffered: number;
|
|
714
|
-
replayed: boolean;
|
|
715
|
-
}
|
|
716
|
-
export interface ExtensionStatus {
|
|
717
|
-
relayReachable: boolean;
|
|
718
|
-
relayPort: number;
|
|
719
|
-
extensionPath: string | null;
|
|
720
|
-
}
|
|
721
|
-
export interface RegistryPlugin {
|
|
722
|
-
name: string;
|
|
723
|
-
gitRepo: string;
|
|
724
|
-
gitUrl: string;
|
|
725
|
-
description: string;
|
|
726
|
-
homepage: string | null;
|
|
727
|
-
topics: string[];
|
|
728
|
-
stars: number;
|
|
729
|
-
language: string;
|
|
730
|
-
npm: {
|
|
731
|
-
package: string;
|
|
732
|
-
v0Version: string | null;
|
|
733
|
-
v1Version: string | null;
|
|
734
|
-
v2Version: string | null;
|
|
735
|
-
};
|
|
736
|
-
git: {
|
|
737
|
-
v0Branch: string | null;
|
|
738
|
-
v1Branch: string | null;
|
|
739
|
-
v2Branch: string | null;
|
|
740
|
-
};
|
|
741
|
-
supports: {
|
|
742
|
-
v0: boolean;
|
|
743
|
-
v1: boolean;
|
|
744
|
-
v2: boolean;
|
|
745
|
-
};
|
|
746
|
-
installed: boolean;
|
|
747
|
-
installedVersion: string | null;
|
|
748
|
-
loaded: boolean;
|
|
749
|
-
bundled: boolean;
|
|
750
|
-
compatibility?: {
|
|
751
|
-
releaseAvailability: "bundled" | "post-release";
|
|
752
|
-
installSurface: "runtime" | "app";
|
|
753
|
-
postReleaseInstallable: boolean;
|
|
754
|
-
requiresDesktopRuntime: boolean;
|
|
755
|
-
requiresLocalRuntime: boolean;
|
|
756
|
-
note?: string;
|
|
757
|
-
};
|
|
758
|
-
}
|
|
759
|
-
export interface RegistrySearchResult {
|
|
760
|
-
name: string;
|
|
761
|
-
description: string;
|
|
762
|
-
score: number;
|
|
763
|
-
tags: string[];
|
|
764
|
-
latestVersion: string | null;
|
|
765
|
-
stars: number;
|
|
766
|
-
supports: {
|
|
767
|
-
v0: boolean;
|
|
768
|
-
v1: boolean;
|
|
769
|
-
v2: boolean;
|
|
770
|
-
};
|
|
771
|
-
repository: string;
|
|
772
|
-
}
|
|
773
|
-
export interface InstalledPlugin {
|
|
774
|
-
name: string;
|
|
775
|
-
version: string;
|
|
776
|
-
installPath: string;
|
|
777
|
-
installedAt: string;
|
|
778
|
-
}
|
|
779
|
-
export interface PluginInstallResult {
|
|
780
|
-
ok: boolean;
|
|
781
|
-
plugin?: {
|
|
782
|
-
name: string;
|
|
783
|
-
version: string;
|
|
784
|
-
installPath: string;
|
|
785
|
-
};
|
|
786
|
-
requiresRestart?: boolean;
|
|
787
|
-
message?: string;
|
|
788
|
-
error?: string;
|
|
789
|
-
}
|
|
790
|
-
export interface WalletExportResult {
|
|
791
|
-
evm: {
|
|
792
|
-
privateKey: string;
|
|
793
|
-
address: string | null;
|
|
794
|
-
} | null;
|
|
795
|
-
solana: {
|
|
796
|
-
privateKey: string;
|
|
797
|
-
address: string | null;
|
|
798
|
-
} | null;
|
|
799
|
-
}
|
|
800
|
-
export interface UpdateStatus {
|
|
801
|
-
currentVersion: string;
|
|
802
|
-
channel: ReleaseChannel;
|
|
803
|
-
installMethod: string;
|
|
804
|
-
updateAvailable: boolean;
|
|
805
|
-
latestVersion: string | null;
|
|
806
|
-
channels: Record<ReleaseChannel, string | null>;
|
|
807
|
-
distTags: Record<ReleaseChannel, string>;
|
|
808
|
-
lastCheckAt: string | null;
|
|
809
|
-
error: string | null;
|
|
810
|
-
}
|
|
811
|
-
export interface CloudStatus {
|
|
812
|
-
connected: boolean;
|
|
813
|
-
enabled?: boolean;
|
|
814
|
-
hasApiKey?: boolean;
|
|
815
|
-
userId?: string;
|
|
816
|
-
organizationId?: string;
|
|
817
|
-
topUpUrl?: string;
|
|
818
|
-
reason?: string;
|
|
819
|
-
}
|
|
820
|
-
export interface CloudCredits {
|
|
821
|
-
connected: boolean;
|
|
822
|
-
balance: number | null;
|
|
823
|
-
low?: boolean;
|
|
824
|
-
critical?: boolean;
|
|
825
|
-
topUpUrl?: string;
|
|
826
|
-
}
|
|
827
|
-
export interface CloudBillingPaymentMethod {
|
|
828
|
-
id: string;
|
|
829
|
-
type: string;
|
|
830
|
-
label?: string;
|
|
831
|
-
brand?: string;
|
|
832
|
-
last4?: string;
|
|
833
|
-
expiryMonth?: number;
|
|
834
|
-
expiryYear?: number;
|
|
835
|
-
isDefault?: boolean;
|
|
836
|
-
walletAddress?: string;
|
|
837
|
-
network?: string;
|
|
838
|
-
}
|
|
839
|
-
export interface CloudBillingHistoryItem {
|
|
840
|
-
id: string;
|
|
841
|
-
kind?: string;
|
|
842
|
-
provider?: string;
|
|
843
|
-
status: string;
|
|
844
|
-
amount: number;
|
|
845
|
-
currency: string;
|
|
846
|
-
description?: string;
|
|
847
|
-
receiptUrl?: string;
|
|
848
|
-
createdAt: string;
|
|
849
|
-
}
|
|
850
|
-
export interface CloudBillingSummary {
|
|
851
|
-
balance: number | null;
|
|
852
|
-
currency?: string;
|
|
853
|
-
low?: boolean;
|
|
854
|
-
critical?: boolean;
|
|
855
|
-
topUpUrl?: string;
|
|
856
|
-
embeddedCheckoutEnabled?: boolean;
|
|
857
|
-
hostedCheckoutEnabled?: boolean;
|
|
858
|
-
cryptoEnabled?: boolean;
|
|
859
|
-
paymentMethods?: CloudBillingPaymentMethod[];
|
|
860
|
-
history?: CloudBillingHistoryItem[];
|
|
861
|
-
[key: string]: unknown;
|
|
862
|
-
}
|
|
863
|
-
export interface CloudBillingSettings {
|
|
864
|
-
success?: boolean;
|
|
865
|
-
message?: string;
|
|
866
|
-
error?: string;
|
|
867
|
-
settings?: {
|
|
868
|
-
autoTopUp?: {
|
|
869
|
-
enabled?: boolean;
|
|
870
|
-
amount?: number | null;
|
|
871
|
-
threshold?: number | null;
|
|
872
|
-
hasPaymentMethod?: boolean;
|
|
873
|
-
};
|
|
874
|
-
limits?: {
|
|
875
|
-
minAmount?: number;
|
|
876
|
-
maxAmount?: number;
|
|
877
|
-
minThreshold?: number;
|
|
878
|
-
maxThreshold?: number;
|
|
879
|
-
};
|
|
880
|
-
};
|
|
881
|
-
[key: string]: unknown;
|
|
882
|
-
}
|
|
883
|
-
export interface CloudBillingSettingsUpdateRequest {
|
|
884
|
-
autoTopUp?: {
|
|
885
|
-
enabled?: boolean;
|
|
886
|
-
amount?: number;
|
|
887
|
-
threshold?: number;
|
|
888
|
-
};
|
|
889
|
-
}
|
|
890
|
-
export interface CloudBillingCheckoutRequest {
|
|
891
|
-
amountUsd: number;
|
|
892
|
-
mode?: "embedded" | "hosted";
|
|
893
|
-
}
|
|
894
|
-
export interface CloudBillingCheckoutResponse {
|
|
895
|
-
success?: boolean;
|
|
896
|
-
provider?: string;
|
|
897
|
-
mode?: "embedded" | "hosted";
|
|
898
|
-
checkoutUrl?: string;
|
|
899
|
-
url?: string;
|
|
900
|
-
publishableKey?: string;
|
|
901
|
-
clientSecret?: string;
|
|
902
|
-
sessionId?: string;
|
|
903
|
-
message?: string;
|
|
904
|
-
[key: string]: unknown;
|
|
905
|
-
}
|
|
906
|
-
export interface CloudBillingCryptoQuoteRequest {
|
|
907
|
-
amountUsd: number;
|
|
908
|
-
currency?: string;
|
|
909
|
-
network?: string;
|
|
910
|
-
walletAddress?: string;
|
|
911
|
-
}
|
|
912
|
-
export interface CloudBillingCryptoQuoteResponse {
|
|
913
|
-
success?: boolean;
|
|
914
|
-
provider?: string;
|
|
915
|
-
invoiceId?: string;
|
|
916
|
-
network?: string;
|
|
917
|
-
currency?: string;
|
|
918
|
-
amount?: string;
|
|
919
|
-
amountUsd?: number;
|
|
920
|
-
payToAddress?: string;
|
|
921
|
-
tokenAddress?: string;
|
|
922
|
-
paymentLinkUrl?: string;
|
|
923
|
-
expiresAt?: string;
|
|
924
|
-
memo?: string;
|
|
925
|
-
[key: string]: unknown;
|
|
926
|
-
}
|
|
927
|
-
export interface CloudLoginResponse {
|
|
928
|
-
ok: boolean;
|
|
929
|
-
sessionId: string;
|
|
930
|
-
browserUrl: string;
|
|
931
|
-
error?: string;
|
|
932
|
-
}
|
|
933
|
-
export interface CloudLoginPollResponse {
|
|
934
|
-
status: "pending" | "authenticated" | "expired" | "error";
|
|
935
|
-
keyPrefix?: string;
|
|
936
|
-
error?: string;
|
|
937
|
-
}
|
|
938
|
-
export interface CloudCompatAgent {
|
|
939
|
-
agent_id: string;
|
|
940
|
-
agent_name: string;
|
|
941
|
-
node_id: string | null;
|
|
942
|
-
container_id: string | null;
|
|
943
|
-
headscale_ip: string | null;
|
|
944
|
-
bridge_url: string | null;
|
|
945
|
-
web_ui_url: string | null;
|
|
946
|
-
status: string;
|
|
947
|
-
agent_config: Record<string, unknown>;
|
|
948
|
-
created_at: string;
|
|
949
|
-
updated_at: string;
|
|
950
|
-
containerUrl: string;
|
|
951
|
-
webUiUrl: string | null;
|
|
952
|
-
database_status: string;
|
|
953
|
-
error_message: string | null;
|
|
954
|
-
last_heartbeat_at: string | null;
|
|
955
|
-
}
|
|
956
|
-
export interface CloudCompatAgentStatus {
|
|
957
|
-
status: string;
|
|
958
|
-
lastHeartbeat: string | null;
|
|
959
|
-
bridgeUrl: string | null;
|
|
960
|
-
webUiUrl: string | null;
|
|
961
|
-
currentNode: string | null;
|
|
962
|
-
suspendedReason: string | null;
|
|
963
|
-
databaseStatus: string;
|
|
964
|
-
}
|
|
965
|
-
export interface CloudCompatJob {
|
|
966
|
-
jobId: string;
|
|
967
|
-
type: string;
|
|
968
|
-
status: "queued" | "processing" | "completed" | "failed" | "retrying";
|
|
969
|
-
data: Record<string, unknown>;
|
|
970
|
-
result: Record<string, unknown> | null;
|
|
971
|
-
error: string | null;
|
|
972
|
-
createdAt: string;
|
|
973
|
-
startedAt: string | null;
|
|
974
|
-
completedAt: string | null;
|
|
975
|
-
retryCount: number;
|
|
976
|
-
id: string;
|
|
977
|
-
name: string;
|
|
978
|
-
state: string;
|
|
979
|
-
created_on: string;
|
|
980
|
-
completed_on: string | null;
|
|
981
|
-
}
|
|
982
|
-
export interface CloudCompatLaunchResult {
|
|
983
|
-
agentId: string;
|
|
984
|
-
agentName: string;
|
|
985
|
-
appUrl: string;
|
|
986
|
-
launchSessionId: string | null;
|
|
987
|
-
issuedAt: string;
|
|
988
|
-
connection: {
|
|
989
|
-
apiBase: string;
|
|
990
|
-
token: string;
|
|
991
|
-
};
|
|
992
|
-
}
|
|
993
|
-
export interface SkillMarketplaceResult {
|
|
994
|
-
id: string;
|
|
995
|
-
slug?: string;
|
|
996
|
-
name: string;
|
|
997
|
-
description: string;
|
|
998
|
-
githubUrl?: string;
|
|
999
|
-
repository?: string;
|
|
1000
|
-
path?: string;
|
|
1001
|
-
tags?: string[];
|
|
1002
|
-
score?: number;
|
|
1003
|
-
source?: string;
|
|
1004
|
-
}
|
|
1005
|
-
export interface ShareIngestPayload {
|
|
1006
|
-
title?: string;
|
|
1007
|
-
url?: string;
|
|
1008
|
-
text?: string;
|
|
1009
|
-
files?: Array<{
|
|
1010
|
-
name: string;
|
|
1011
|
-
}>;
|
|
1012
|
-
}
|
|
1013
|
-
export interface ShareIngestItem {
|
|
1014
|
-
suggestedPrompt: string;
|
|
1015
|
-
files: Array<{
|
|
1016
|
-
name: string;
|
|
1017
|
-
}>;
|
|
1018
|
-
}
|
|
1019
|
-
export interface WorkbenchTask {
|
|
1020
|
-
id: string;
|
|
1021
|
-
name: string;
|
|
1022
|
-
description: string;
|
|
1023
|
-
tags: string[];
|
|
1024
|
-
isCompleted: boolean;
|
|
1025
|
-
updatedAt?: number;
|
|
1026
|
-
}
|
|
1027
|
-
export interface WorkbenchTodo {
|
|
1028
|
-
id: string;
|
|
1029
|
-
name: string;
|
|
1030
|
-
description: string;
|
|
1031
|
-
priority: number | null;
|
|
1032
|
-
isUrgent: boolean;
|
|
1033
|
-
isCompleted: boolean;
|
|
1034
|
-
type: string;
|
|
1035
|
-
}
|
|
1036
|
-
export interface WorkbenchOverview {
|
|
1037
|
-
tasks: WorkbenchTask[];
|
|
1038
|
-
triggers: TriggerSummary[];
|
|
1039
|
-
todos: WorkbenchTodo[];
|
|
1040
|
-
autonomy?: {
|
|
1041
|
-
enabled: boolean;
|
|
1042
|
-
thinking: boolean;
|
|
1043
|
-
lastEventAt?: number | null;
|
|
1044
|
-
};
|
|
1045
|
-
}
|
|
1046
|
-
export interface CodingAgentSession {
|
|
1047
|
-
sessionId: string;
|
|
1048
|
-
agentType: string;
|
|
1049
|
-
label: string;
|
|
1050
|
-
originalTask: string;
|
|
1051
|
-
workdir: string;
|
|
1052
|
-
status: "active" | "blocked" | "completed" | "stopped" | "error" | "tool_running";
|
|
1053
|
-
decisionCount: number;
|
|
1054
|
-
autoResolvedCount: number;
|
|
1055
|
-
/** Description of the active tool when status is "tool_running". */
|
|
1056
|
-
toolDescription?: string;
|
|
1057
|
-
/** Latest activity text for the agent activity box. */
|
|
1058
|
-
lastActivity?: string;
|
|
1059
|
-
}
|
|
1060
|
-
export interface CodingAgentScratchWorkspace {
|
|
1061
|
-
sessionId: string;
|
|
1062
|
-
label: string;
|
|
1063
|
-
path: string;
|
|
1064
|
-
status: "pending_decision" | "kept" | "promoted";
|
|
1065
|
-
createdAt: number;
|
|
1066
|
-
terminalAt: number;
|
|
1067
|
-
terminalEvent: "stopped" | "task_complete" | "error";
|
|
1068
|
-
expiresAt?: number;
|
|
1069
|
-
}
|
|
1070
|
-
export interface AgentPreflightResult {
|
|
1071
|
-
adapter?: string;
|
|
1072
|
-
installed?: boolean;
|
|
1073
|
-
installCommand?: string;
|
|
1074
|
-
docsUrl?: string;
|
|
1075
|
-
}
|
|
1076
|
-
export interface CodingAgentStatus {
|
|
1077
|
-
supervisionLevel: string;
|
|
1078
|
-
taskCount: number;
|
|
1079
|
-
tasks: CodingAgentSession[];
|
|
1080
|
-
pendingConfirmations: number;
|
|
1081
|
-
}
|
|
1082
|
-
export interface McpServerConfig {
|
|
1083
|
-
type: "stdio" | "streamable-http" | "sse";
|
|
1084
|
-
command?: string;
|
|
1085
|
-
args?: string[];
|
|
1086
|
-
url?: string;
|
|
1087
|
-
env?: Record<string, string>;
|
|
1088
|
-
headers?: Record<string, string>;
|
|
1089
|
-
}
|
|
1090
|
-
export interface McpMarketplaceResult {
|
|
1091
|
-
name: string;
|
|
1092
|
-
description?: string;
|
|
1093
|
-
connectionType: string;
|
|
1094
|
-
npmPackage?: string;
|
|
1095
|
-
dockerImage?: string;
|
|
1096
|
-
}
|
|
1097
|
-
export interface McpRegistryServerDetail {
|
|
1098
|
-
packages?: Array<{
|
|
1099
|
-
environmentVariables: Array<{
|
|
1100
|
-
name: string;
|
|
1101
|
-
default?: string;
|
|
1102
|
-
isRequired?: boolean;
|
|
1103
|
-
}>;
|
|
1104
|
-
packageArguments?: Array<{
|
|
1105
|
-
default?: string;
|
|
1106
|
-
}>;
|
|
1107
|
-
}>;
|
|
1108
|
-
remotes?: Array<{
|
|
1109
|
-
type?: string;
|
|
1110
|
-
url: string;
|
|
1111
|
-
headers: Array<{
|
|
1112
|
-
name: string;
|
|
1113
|
-
isRequired?: boolean;
|
|
1114
|
-
}>;
|
|
1115
|
-
}>;
|
|
1116
|
-
}
|
|
1117
|
-
export interface McpServerStatus {
|
|
1118
|
-
name: string;
|
|
1119
|
-
connected: boolean;
|
|
1120
|
-
error?: string;
|
|
1121
|
-
}
|
|
1122
|
-
export type VoiceProvider = "elevenlabs" | "simple-voice" | "edge";
|
|
1123
|
-
export type VoiceMode = "cloud" | "own-key";
|
|
1124
|
-
export interface VoiceConfig {
|
|
1125
|
-
provider?: VoiceProvider;
|
|
1126
|
-
mode?: VoiceMode;
|
|
1127
|
-
elevenlabs?: {
|
|
1128
|
-
apiKey?: string;
|
|
1129
|
-
voiceId?: string;
|
|
1130
|
-
modelId?: string;
|
|
1131
|
-
stability?: number;
|
|
1132
|
-
similarityBoost?: number;
|
|
1133
|
-
speed?: number;
|
|
1134
|
-
};
|
|
1135
|
-
edge?: {
|
|
1136
|
-
voice?: string;
|
|
1137
|
-
lang?: string;
|
|
1138
|
-
rate?: string;
|
|
1139
|
-
pitch?: string;
|
|
1140
|
-
volume?: string;
|
|
1141
|
-
};
|
|
1142
|
-
}
|
|
1143
|
-
export interface CharacterData {
|
|
1144
|
-
name?: string;
|
|
1145
|
-
username?: string;
|
|
1146
|
-
bio?: string | string[];
|
|
1147
|
-
system?: string;
|
|
1148
|
-
adjectives?: string[];
|
|
1149
|
-
topics?: string[];
|
|
1150
|
-
style?: {
|
|
1151
|
-
all?: string[];
|
|
1152
|
-
chat?: string[];
|
|
1153
|
-
post?: string[];
|
|
1154
|
-
};
|
|
1155
|
-
messageExamples?: Array<{
|
|
1156
|
-
examples: Array<{
|
|
1157
|
-
name: string;
|
|
1158
|
-
content: MessageExampleContent;
|
|
1159
|
-
}>;
|
|
1160
|
-
}>;
|
|
1161
|
-
postExamples?: string[];
|
|
1162
|
-
}
|
|
1163
|
-
export interface RegistryPluginItem {
|
|
1164
|
-
name: string;
|
|
1165
|
-
description: string;
|
|
1166
|
-
stars: number;
|
|
1167
|
-
repository: string;
|
|
1168
|
-
topics: string[];
|
|
1169
|
-
latestVersion: string | null;
|
|
1170
|
-
supports: {
|
|
1171
|
-
v0: boolean;
|
|
1172
|
-
v1: boolean;
|
|
1173
|
-
v2: boolean;
|
|
1174
|
-
};
|
|
1175
|
-
npm: {
|
|
1176
|
-
package: string;
|
|
1177
|
-
v0Version: string | null;
|
|
1178
|
-
v1Version: string | null;
|
|
1179
|
-
v2Version: string | null;
|
|
1180
|
-
};
|
|
1181
|
-
}
|
|
1182
|
-
export interface AppViewerAuthMessage {
|
|
1183
|
-
type: string;
|
|
1184
|
-
authToken?: string;
|
|
1185
|
-
sessionToken?: string;
|
|
1186
|
-
agentId?: string;
|
|
1187
|
-
}
|
|
1188
|
-
export interface AppViewerConfig {
|
|
1189
|
-
url: string;
|
|
1190
|
-
embedParams?: Record<string, string>;
|
|
1191
|
-
postMessageAuth?: boolean;
|
|
1192
|
-
sandbox?: string;
|
|
1193
|
-
authMessage?: AppViewerAuthMessage;
|
|
1194
|
-
}
|
|
1195
|
-
export interface AppUiExtensionConfig {
|
|
1196
|
-
detailPanelId: string;
|
|
1197
|
-
}
|
|
1198
|
-
export interface RegistryAppInfo {
|
|
1199
|
-
name: string;
|
|
1200
|
-
displayName: string;
|
|
1201
|
-
description: string;
|
|
1202
|
-
category: string;
|
|
1203
|
-
launchType: string;
|
|
1204
|
-
launchUrl: string | null;
|
|
1205
|
-
icon: string | null;
|
|
1206
|
-
capabilities: string[];
|
|
1207
|
-
stars: number;
|
|
1208
|
-
repository: string;
|
|
1209
|
-
latestVersion: string | null;
|
|
1210
|
-
supports: {
|
|
1211
|
-
v0: boolean;
|
|
1212
|
-
v1: boolean;
|
|
1213
|
-
v2: boolean;
|
|
1214
|
-
};
|
|
1215
|
-
npm: {
|
|
1216
|
-
package: string;
|
|
1217
|
-
v0Version: string | null;
|
|
1218
|
-
v1Version: string | null;
|
|
1219
|
-
v2Version: string | null;
|
|
1220
|
-
};
|
|
1221
|
-
uiExtension?: AppUiExtensionConfig;
|
|
1222
|
-
viewer?: AppViewerConfig;
|
|
1223
|
-
}
|
|
1224
|
-
export interface InstalledAppInfo {
|
|
1225
|
-
name: string;
|
|
1226
|
-
displayName: string;
|
|
1227
|
-
version: string;
|
|
1228
|
-
installPath: string;
|
|
1229
|
-
installedAt: string;
|
|
1230
|
-
isRunning: boolean;
|
|
1231
|
-
}
|
|
1232
|
-
export interface AppLaunchResult {
|
|
1233
|
-
pluginInstalled: boolean;
|
|
1234
|
-
needsRestart: boolean;
|
|
1235
|
-
displayName: string;
|
|
1236
|
-
launchType: string;
|
|
1237
|
-
launchUrl: string | null;
|
|
1238
|
-
viewer: AppViewerConfig | null;
|
|
1239
|
-
}
|
|
1240
|
-
export interface AppStopResult {
|
|
1241
|
-
success: boolean;
|
|
1242
|
-
appName: string;
|
|
1243
|
-
stoppedAt: string;
|
|
1244
|
-
pluginUninstalled: boolean;
|
|
1245
|
-
needsRestart: boolean;
|
|
1246
|
-
stopScope: "plugin-uninstalled" | "viewer-session" | "no-op";
|
|
1247
|
-
message: string;
|
|
1248
|
-
}
|
|
1249
|
-
export type HyperscapeScriptedRole = "combat" | "woodcutting" | "fishing" | "mining" | "balanced";
|
|
1250
|
-
export type HyperscapeEmbeddedAgentControlAction = "start" | "stop" | "pause" | "resume";
|
|
1251
|
-
export type HyperscapeJsonValue = string | number | boolean | null | HyperscapeJsonValue[] | {
|
|
1252
|
-
[key: string]: HyperscapeJsonValue;
|
|
1253
|
-
};
|
|
1254
|
-
export type HyperscapePosition = [number, number, number] | {
|
|
1255
|
-
x: number;
|
|
1256
|
-
y: number;
|
|
1257
|
-
z: number;
|
|
1258
|
-
};
|
|
1259
|
-
export interface HyperscapeEmbeddedAgent {
|
|
1260
|
-
agentId: string;
|
|
1261
|
-
characterId: string;
|
|
1262
|
-
accountId: string;
|
|
1263
|
-
name: string;
|
|
1264
|
-
scriptedRole: HyperscapeScriptedRole | null;
|
|
1265
|
-
state: string;
|
|
1266
|
-
entityId: string | null;
|
|
1267
|
-
position: HyperscapePosition | null;
|
|
1268
|
-
health: number | null;
|
|
1269
|
-
maxHealth: number | null;
|
|
1270
|
-
startedAt: number | null;
|
|
1271
|
-
lastActivity: number | null;
|
|
1272
|
-
error: string | null;
|
|
1273
|
-
}
|
|
1274
|
-
export interface HyperscapeEmbeddedAgentsResponse {
|
|
1275
|
-
success: boolean;
|
|
1276
|
-
agents: HyperscapeEmbeddedAgent[];
|
|
1277
|
-
count: number;
|
|
1278
|
-
error?: string;
|
|
1279
|
-
}
|
|
1280
|
-
export interface HyperscapeActionResponse {
|
|
1281
|
-
success: boolean;
|
|
1282
|
-
message?: string;
|
|
1283
|
-
error?: string;
|
|
1284
|
-
}
|
|
1285
|
-
export interface HyperscapeEmbeddedAgentMutationResponse extends HyperscapeActionResponse {
|
|
1286
|
-
agent?: HyperscapeEmbeddedAgent | null;
|
|
1287
|
-
}
|
|
1288
|
-
export interface HyperscapeAvailableGoal {
|
|
1289
|
-
id: string;
|
|
1290
|
-
type: string;
|
|
1291
|
-
description: string;
|
|
1292
|
-
priority: number;
|
|
1293
|
-
}
|
|
1294
|
-
export interface HyperscapeGoalState {
|
|
1295
|
-
type?: string;
|
|
1296
|
-
description?: string;
|
|
1297
|
-
progress?: number;
|
|
1298
|
-
target?: number;
|
|
1299
|
-
progressPercent?: number;
|
|
1300
|
-
elapsedMs?: number;
|
|
1301
|
-
startedAt?: number;
|
|
1302
|
-
locked?: boolean;
|
|
1303
|
-
lockedBy?: string;
|
|
1304
|
-
}
|
|
1305
|
-
export interface HyperscapeAgentGoalResponse {
|
|
1306
|
-
success: boolean;
|
|
1307
|
-
goal: HyperscapeGoalState | null;
|
|
1308
|
-
availableGoals?: HyperscapeAvailableGoal[];
|
|
1309
|
-
goalsPaused?: boolean;
|
|
1310
|
-
message?: string;
|
|
1311
|
-
error?: string;
|
|
1312
|
-
}
|
|
1313
|
-
export interface HyperscapeQuickCommand {
|
|
1314
|
-
id: string;
|
|
1315
|
-
label: string;
|
|
1316
|
-
command: string;
|
|
1317
|
-
icon: string;
|
|
1318
|
-
available: boolean;
|
|
1319
|
-
reason?: string;
|
|
1320
|
-
}
|
|
1321
|
-
export interface HyperscapeNearbyLocation {
|
|
1322
|
-
id: string;
|
|
1323
|
-
name: string;
|
|
1324
|
-
type: string;
|
|
1325
|
-
distance: number;
|
|
1326
|
-
}
|
|
1327
|
-
export interface HyperscapeInventoryItem {
|
|
1328
|
-
id: string;
|
|
1329
|
-
name: string;
|
|
1330
|
-
slot: number;
|
|
1331
|
-
quantity: number;
|
|
1332
|
-
canEquip: boolean;
|
|
1333
|
-
canUse: boolean;
|
|
1334
|
-
canDrop: boolean;
|
|
1335
|
-
}
|
|
1336
|
-
export interface HyperscapeQuickActionsResponse {
|
|
1337
|
-
success: boolean;
|
|
1338
|
-
nearbyLocations: HyperscapeNearbyLocation[];
|
|
1339
|
-
availableGoals: HyperscapeAvailableGoal[];
|
|
1340
|
-
quickCommands: HyperscapeQuickCommand[];
|
|
1341
|
-
inventory: HyperscapeInventoryItem[];
|
|
1342
|
-
playerPosition: [number, number, number] | null;
|
|
1343
|
-
message?: string;
|
|
1344
|
-
error?: string;
|
|
1345
|
-
}
|
|
1346
|
-
export interface TrajectoryRecord {
|
|
1347
|
-
id: string;
|
|
1348
|
-
agentId: string;
|
|
1349
|
-
roomId: string | null;
|
|
1350
|
-
entityId: string | null;
|
|
1351
|
-
conversationId: string | null;
|
|
1352
|
-
source: string;
|
|
1353
|
-
status: "active" | "completed" | "error";
|
|
1354
|
-
startTime: number;
|
|
1355
|
-
endTime: number | null;
|
|
1356
|
-
durationMs: number | null;
|
|
1357
|
-
llmCallCount: number;
|
|
1358
|
-
providerAccessCount: number;
|
|
1359
|
-
totalPromptTokens: number;
|
|
1360
|
-
totalCompletionTokens: number;
|
|
1361
|
-
metadata: Record<string, unknown>;
|
|
1362
|
-
createdAt: string;
|
|
1363
|
-
updatedAt: string;
|
|
1364
|
-
}
|
|
1365
|
-
export interface TrajectoryLlmCall {
|
|
1366
|
-
id: string;
|
|
1367
|
-
trajectoryId: string;
|
|
1368
|
-
stepId: string;
|
|
1369
|
-
model: string;
|
|
1370
|
-
systemPrompt: string;
|
|
1371
|
-
userPrompt: string;
|
|
1372
|
-
response: string;
|
|
1373
|
-
temperature: number;
|
|
1374
|
-
maxTokens: number;
|
|
1375
|
-
purpose: string;
|
|
1376
|
-
actionType: string;
|
|
1377
|
-
latencyMs: number;
|
|
1378
|
-
promptTokens?: number;
|
|
1379
|
-
completionTokens?: number;
|
|
1380
|
-
timestamp: number;
|
|
1381
|
-
createdAt: string;
|
|
1382
|
-
}
|
|
1383
|
-
export interface TrajectoryProviderAccess {
|
|
1384
|
-
id: string;
|
|
1385
|
-
trajectoryId: string;
|
|
1386
|
-
stepId: string;
|
|
1387
|
-
providerName: string;
|
|
1388
|
-
purpose: string;
|
|
1389
|
-
data: Record<string, unknown>;
|
|
1390
|
-
query?: Record<string, unknown>;
|
|
1391
|
-
timestamp: number;
|
|
1392
|
-
createdAt: string;
|
|
1393
|
-
}
|
|
1394
|
-
export interface TrajectoryListOptions {
|
|
1395
|
-
limit?: number;
|
|
1396
|
-
offset?: number;
|
|
1397
|
-
source?: string;
|
|
1398
|
-
status?: "active" | "completed" | "error";
|
|
1399
|
-
startDate?: string;
|
|
1400
|
-
endDate?: string;
|
|
1401
|
-
search?: string;
|
|
1402
|
-
}
|
|
1403
|
-
export interface TrajectoryListResult {
|
|
1404
|
-
trajectories: TrajectoryRecord[];
|
|
1405
|
-
total: number;
|
|
1406
|
-
offset: number;
|
|
1407
|
-
limit: number;
|
|
1408
|
-
}
|
|
1409
|
-
export interface TrajectoryDetailResult {
|
|
1410
|
-
trajectory: TrajectoryRecord;
|
|
1411
|
-
llmCalls: TrajectoryLlmCall[];
|
|
1412
|
-
providerAccesses: TrajectoryProviderAccess[];
|
|
1413
|
-
}
|
|
1414
|
-
export interface TrajectoryStats {
|
|
1415
|
-
totalTrajectories: number;
|
|
1416
|
-
totalLlmCalls: number;
|
|
1417
|
-
totalProviderAccesses: number;
|
|
1418
|
-
totalPromptTokens: number;
|
|
1419
|
-
totalCompletionTokens: number;
|
|
1420
|
-
averageDurationMs: number;
|
|
1421
|
-
bySource: Record<string, number>;
|
|
1422
|
-
byModel: Record<string, number>;
|
|
1423
|
-
}
|
|
1424
|
-
export interface TrajectoryConfig {
|
|
1425
|
-
enabled: boolean;
|
|
1426
|
-
}
|
|
1427
|
-
export type TrajectoryExportFormat = "json" | "csv" | "zip";
|
|
1428
|
-
export interface TrajectoryExportOptions {
|
|
1429
|
-
format: TrajectoryExportFormat;
|
|
1430
|
-
includePrompts?: boolean;
|
|
1431
|
-
trajectoryIds?: string[];
|
|
1432
|
-
startDate?: string;
|
|
1433
|
-
endDate?: string;
|
|
1434
|
-
}
|
|
1435
|
-
export interface KnowledgeStats {
|
|
1436
|
-
documentCount: number;
|
|
1437
|
-
fragmentCount: number;
|
|
1438
|
-
agentId: string;
|
|
1439
|
-
}
|
|
1440
|
-
export interface KnowledgeDocument {
|
|
1441
|
-
id: string;
|
|
1442
|
-
filename: string;
|
|
1443
|
-
contentType: string;
|
|
1444
|
-
fileSize: number;
|
|
1445
|
-
createdAt: number;
|
|
1446
|
-
fragmentCount: number;
|
|
1447
|
-
source: string;
|
|
1448
|
-
url?: string;
|
|
1449
|
-
content?: {
|
|
1450
|
-
text?: string;
|
|
1451
|
-
};
|
|
1452
|
-
}
|
|
1453
|
-
export interface KnowledgeDocumentDetail extends KnowledgeDocument {
|
|
1454
|
-
content: {
|
|
1455
|
-
text?: string;
|
|
1456
|
-
};
|
|
1457
|
-
}
|
|
1458
|
-
export interface KnowledgeDocumentsResponse {
|
|
1459
|
-
documents: KnowledgeDocument[];
|
|
1460
|
-
total: number;
|
|
1461
|
-
limit: number;
|
|
1462
|
-
offset: number;
|
|
1463
|
-
}
|
|
1464
|
-
export interface KnowledgeFragment {
|
|
1465
|
-
id: string;
|
|
1466
|
-
text: string;
|
|
1467
|
-
position?: number;
|
|
1468
|
-
createdAt: number;
|
|
1469
|
-
}
|
|
1470
|
-
export interface KnowledgeFragmentsResponse {
|
|
1471
|
-
documentId: string;
|
|
1472
|
-
fragments: KnowledgeFragment[];
|
|
1473
|
-
count: number;
|
|
1474
|
-
}
|
|
1475
|
-
export interface KnowledgeSearchResult {
|
|
1476
|
-
id: string;
|
|
1477
|
-
text: string;
|
|
1478
|
-
similarity: number;
|
|
1479
|
-
documentId?: string;
|
|
1480
|
-
documentTitle?: string;
|
|
1481
|
-
position?: number;
|
|
1482
|
-
}
|
|
1483
|
-
export interface KnowledgeSearchResponse {
|
|
1484
|
-
query: string;
|
|
1485
|
-
threshold: number;
|
|
1486
|
-
results: KnowledgeSearchResult[];
|
|
1487
|
-
count: number;
|
|
1488
|
-
}
|
|
1489
|
-
export interface KnowledgeUploadResult {
|
|
1490
|
-
ok: boolean;
|
|
1491
|
-
documentId: string;
|
|
1492
|
-
fragmentCount: number;
|
|
1493
|
-
filename?: string;
|
|
1494
|
-
contentType?: string;
|
|
1495
|
-
isYouTubeTranscript?: boolean;
|
|
1496
|
-
warnings?: string[];
|
|
1497
|
-
}
|
|
1498
|
-
export interface KnowledgeBulkUploadItemResult {
|
|
1499
|
-
index: number;
|
|
1500
|
-
ok: boolean;
|
|
1501
|
-
filename: string;
|
|
1502
|
-
documentId?: string;
|
|
1503
|
-
fragmentCount?: number;
|
|
1504
|
-
error?: string;
|
|
1505
|
-
warnings?: string[];
|
|
1506
|
-
}
|
|
1507
|
-
export interface KnowledgeBulkUploadResult {
|
|
1508
|
-
ok: boolean;
|
|
1509
|
-
total: number;
|
|
1510
|
-
successCount: number;
|
|
1511
|
-
failureCount: number;
|
|
1512
|
-
results: KnowledgeBulkUploadItemResult[];
|
|
1513
|
-
}
|
|
1514
|
-
export interface MemorySearchResult {
|
|
1515
|
-
id: string;
|
|
1516
|
-
text: string;
|
|
1517
|
-
createdAt: number;
|
|
1518
|
-
score: number;
|
|
1519
|
-
}
|
|
1520
|
-
export interface MemorySearchResponse {
|
|
1521
|
-
query: string;
|
|
1522
|
-
results: MemorySearchResult[];
|
|
1523
|
-
count: number;
|
|
1524
|
-
limit: number;
|
|
1525
|
-
}
|
|
1526
|
-
export interface MemoryRememberResponse {
|
|
1527
|
-
ok: boolean;
|
|
1528
|
-
id: string;
|
|
1529
|
-
text: string;
|
|
1530
|
-
createdAt: number;
|
|
1531
|
-
}
|
|
1532
|
-
export interface QuickContextResponse {
|
|
1533
|
-
query: string;
|
|
1534
|
-
answer: string;
|
|
1535
|
-
memories: MemorySearchResult[];
|
|
1536
|
-
knowledge: KnowledgeSearchResult[];
|
|
1537
|
-
}
|
|
1538
|
-
export type WsEventHandler = (data: Record<string, unknown>) => void;
|
|
1539
|
-
export interface RegistryStatus {
|
|
1540
|
-
registered: boolean;
|
|
1541
|
-
tokenId: number;
|
|
1542
|
-
agentName: string;
|
|
1543
|
-
agentEndpoint: string;
|
|
1544
|
-
capabilitiesHash: string;
|
|
1545
|
-
isActive: boolean;
|
|
1546
|
-
tokenURI: string;
|
|
1547
|
-
walletAddress: string;
|
|
1548
|
-
totalAgents: number;
|
|
1549
|
-
configured: boolean;
|
|
1550
|
-
}
|
|
1551
|
-
export interface RegistrationResult {
|
|
1552
|
-
tokenId: number;
|
|
1553
|
-
txHash: string;
|
|
1554
|
-
}
|
|
1555
|
-
export interface RegistryConfig {
|
|
1556
|
-
configured: boolean;
|
|
1557
|
-
chainId: number;
|
|
1558
|
-
registryAddress: string | null;
|
|
1559
|
-
collectionAddress: string | null;
|
|
1560
|
-
explorerUrl: string;
|
|
1561
|
-
}
|
|
1562
|
-
export interface WhitelistStatus {
|
|
1563
|
-
eligible: boolean;
|
|
1564
|
-
twitterVerified: boolean;
|
|
1565
|
-
ogCode: string | null;
|
|
1566
|
-
walletAddress: string;
|
|
1567
|
-
}
|
|
1568
|
-
export interface VerificationMessageResponse {
|
|
1569
|
-
message: string;
|
|
1570
|
-
walletAddress: string;
|
|
1571
|
-
}
|
|
1572
|
-
declare global {
|
|
1573
|
-
interface Window {
|
|
1574
|
-
__MILADY_API_BASE__?: string;
|
|
1575
|
-
__MILADY_API_TOKEN__?: string;
|
|
1576
|
-
}
|
|
1577
|
-
}
|
|
1578
|
-
export declare class MiladyClient {
|
|
1579
|
-
private _baseUrl;
|
|
1580
|
-
private _explicitBase;
|
|
1581
|
-
private _token;
|
|
1582
|
-
private readonly clientId;
|
|
1583
|
-
private ws;
|
|
1584
|
-
private wsHandlers;
|
|
1585
|
-
private wsSendQueue;
|
|
1586
|
-
private readonly wsSendQueueLimit;
|
|
1587
|
-
private reconnectTimer;
|
|
1588
|
-
private backoffMs;
|
|
1589
|
-
private wsHasConnectedOnce;
|
|
1590
|
-
private connectionState;
|
|
1591
|
-
private reconnectAttempt;
|
|
1592
|
-
private disconnectedAt;
|
|
1593
|
-
private connectionStateListeners;
|
|
1594
|
-
private readonly maxReconnectAttempts;
|
|
1595
|
-
private _uiLanguage;
|
|
1596
|
-
/** Store the current UI language so it can be sent as a header on every request. */
|
|
1597
|
-
setUiLanguage(lang: string): void;
|
|
1598
|
-
private static resolveDesktopLocalFallbackBase;
|
|
1599
|
-
private static generateClientId;
|
|
1600
|
-
constructor(baseUrl?: string, token?: string);
|
|
1601
|
-
/**
|
|
1602
|
-
* Resolve the API base URL lazily.
|
|
1603
|
-
* In the desktop shell the main process injects window.__MILADY_API_BASE__ after the
|
|
1604
|
-
* page loads (once the agent runtime starts). Re-checking on every call
|
|
1605
|
-
* ensures we pick up the injected value even if it wasn't set at construction.
|
|
1606
|
-
*/
|
|
1607
|
-
private get baseUrl();
|
|
1608
|
-
private get apiToken();
|
|
1609
|
-
hasToken(): boolean;
|
|
1610
|
-
setToken(token: string | null): void;
|
|
1611
|
-
getBaseUrl(): string;
|
|
1612
|
-
setBaseUrl(baseUrl: string | null): void;
|
|
1613
|
-
/** True when we have a usable HTTP(S) API endpoint. */
|
|
1614
|
-
get apiAvailable(): boolean;
|
|
1615
|
-
private rawRequest;
|
|
1616
|
-
private fetch;
|
|
1617
|
-
getStatus(): Promise<AgentStatus>;
|
|
1618
|
-
getAgentSelfStatus(): Promise<AgentSelfStatusSnapshot>;
|
|
1619
|
-
getRuntimeSnapshot(opts?: {
|
|
1620
|
-
depth?: number;
|
|
1621
|
-
maxArrayLength?: number;
|
|
1622
|
-
maxObjectEntries?: number;
|
|
1623
|
-
maxStringLength?: number;
|
|
1624
|
-
}): Promise<RuntimeDebugSnapshot>;
|
|
1625
|
-
setAutomationMode(mode: "connectors-only" | "full"): Promise<{
|
|
1626
|
-
mode: string;
|
|
1627
|
-
}>;
|
|
1628
|
-
setTradeMode(mode: string): Promise<{
|
|
1629
|
-
ok: boolean;
|
|
1630
|
-
tradePermissionMode: string;
|
|
1631
|
-
}>;
|
|
1632
|
-
playEmote(emoteId: string): Promise<{
|
|
1633
|
-
ok: boolean;
|
|
1634
|
-
}>;
|
|
1635
|
-
runTerminalCommand(command: string): Promise<{
|
|
1636
|
-
ok: boolean;
|
|
1637
|
-
}>;
|
|
1638
|
-
getOnboardingStatus(): Promise<{
|
|
1639
|
-
complete: boolean;
|
|
1640
|
-
}>;
|
|
1641
|
-
getWalletKeys(): Promise<{
|
|
1642
|
-
evmPrivateKey: string;
|
|
1643
|
-
evmAddress: string;
|
|
1644
|
-
solanaPrivateKey: string;
|
|
1645
|
-
solanaAddress: string;
|
|
1646
|
-
}>;
|
|
1647
|
-
getAuthStatus(): Promise<{
|
|
1648
|
-
required: boolean;
|
|
1649
|
-
pairingEnabled: boolean;
|
|
1650
|
-
expiresAt: number | null;
|
|
1651
|
-
}>;
|
|
1652
|
-
pair(code: string): Promise<{
|
|
1653
|
-
token: string;
|
|
1654
|
-
}>;
|
|
1655
|
-
getOnboardingOptions(): Promise<OnboardingOptions>;
|
|
1656
|
-
submitOnboarding(data: OnboardingData): Promise<void>;
|
|
1657
|
-
startAnthropicLogin(): Promise<{
|
|
1658
|
-
authUrl: string;
|
|
1659
|
-
}>;
|
|
1660
|
-
exchangeAnthropicCode(code: string): Promise<{
|
|
1661
|
-
success: boolean;
|
|
1662
|
-
expiresAt?: string;
|
|
1663
|
-
error?: string;
|
|
1664
|
-
}>;
|
|
1665
|
-
submitAnthropicSetupToken(token: string): Promise<{
|
|
1666
|
-
success: boolean;
|
|
1667
|
-
}>;
|
|
1668
|
-
getSubscriptionStatus(): Promise<SubscriptionStatusResponse>;
|
|
1669
|
-
deleteSubscription(provider: string): Promise<{
|
|
1670
|
-
success: boolean;
|
|
1671
|
-
}>;
|
|
1672
|
-
switchProvider(provider: string, apiKey?: string): Promise<{
|
|
1673
|
-
success: boolean;
|
|
1674
|
-
provider: string;
|
|
1675
|
-
restarting: boolean;
|
|
1676
|
-
}>;
|
|
1677
|
-
startOpenAILogin(): Promise<{
|
|
1678
|
-
authUrl: string;
|
|
1679
|
-
state: string;
|
|
1680
|
-
instructions: string;
|
|
1681
|
-
}>;
|
|
1682
|
-
exchangeOpenAICode(code: string): Promise<{
|
|
1683
|
-
success: boolean;
|
|
1684
|
-
expiresAt?: string;
|
|
1685
|
-
accountId?: string;
|
|
1686
|
-
error?: string;
|
|
1687
|
-
}>;
|
|
1688
|
-
getSandboxPlatform(): Promise<SandboxPlatformStatus>;
|
|
1689
|
-
getSandboxBrowser(): Promise<SandboxBrowserEndpoints>;
|
|
1690
|
-
getSandboxScreenshot(region?: SandboxScreenshotRegion): Promise<SandboxScreenshotPayload>;
|
|
1691
|
-
getSandboxWindows(): Promise<{
|
|
1692
|
-
windows: SandboxWindowInfo[];
|
|
1693
|
-
error?: string;
|
|
1694
|
-
}>;
|
|
1695
|
-
startDocker(): Promise<SandboxStartResponse>;
|
|
1696
|
-
startAgent(): Promise<AgentStatus>;
|
|
1697
|
-
stopAgent(): Promise<AgentStatus>;
|
|
1698
|
-
pauseAgent(): Promise<AgentStatus>;
|
|
1699
|
-
resumeAgent(): Promise<AgentStatus>;
|
|
1700
|
-
restartAgent(): Promise<AgentStatus>;
|
|
1701
|
-
/**
|
|
1702
|
-
* Restart the agent if possible, or wait for an in-progress restart to finish.
|
|
1703
|
-
* Polls status until the agent state is "running".
|
|
1704
|
-
*/
|
|
1705
|
-
restartAndWait(maxWaitMs?: number): Promise<AgentStatus>;
|
|
1706
|
-
resetAgent(): Promise<void>;
|
|
1707
|
-
getConfig(): Promise<Record<string, unknown>>;
|
|
1708
|
-
getConfigSchema(): Promise<ConfigSchemaResponse>;
|
|
1709
|
-
updateConfig(patch: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
1710
|
-
uploadCustomVrm(file: File): Promise<void>;
|
|
1711
|
-
/** Uses raw fetch instead of this.fetch() because HEAD returns no JSON body. */
|
|
1712
|
-
hasCustomVrm(): Promise<boolean>;
|
|
1713
|
-
uploadCustomBackground(file: File): Promise<void>;
|
|
1714
|
-
/** Uses raw fetch instead of this.fetch() because HEAD returns no JSON body. */
|
|
1715
|
-
hasCustomBackground(): Promise<boolean>;
|
|
1716
|
-
getConnectors(): Promise<{
|
|
1717
|
-
connectors: Record<string, ConnectorConfig>;
|
|
1718
|
-
}>;
|
|
1719
|
-
saveConnector(name: string, config: ConnectorConfig): Promise<{
|
|
1720
|
-
connectors: Record<string, ConnectorConfig>;
|
|
1721
|
-
}>;
|
|
1722
|
-
deleteConnector(name: string): Promise<{
|
|
1723
|
-
connectors: Record<string, ConnectorConfig>;
|
|
1724
|
-
}>;
|
|
1725
|
-
getTriggers(): Promise<{
|
|
1726
|
-
triggers: TriggerSummary[];
|
|
1727
|
-
}>;
|
|
1728
|
-
getTrigger(id: string): Promise<{
|
|
1729
|
-
trigger: TriggerSummary;
|
|
1730
|
-
}>;
|
|
1731
|
-
createTrigger(request: CreateTriggerRequest): Promise<{
|
|
1732
|
-
trigger: TriggerSummary;
|
|
1733
|
-
}>;
|
|
1734
|
-
updateTrigger(id: string, request: UpdateTriggerRequest): Promise<{
|
|
1735
|
-
trigger: TriggerSummary;
|
|
1736
|
-
}>;
|
|
1737
|
-
deleteTrigger(id: string): Promise<{
|
|
1738
|
-
ok: boolean;
|
|
1739
|
-
}>;
|
|
1740
|
-
runTriggerNow(id: string): Promise<{
|
|
1741
|
-
ok: boolean;
|
|
1742
|
-
result: {
|
|
1743
|
-
status: TriggerLastStatus;
|
|
1744
|
-
error?: string;
|
|
1745
|
-
taskDeleted: boolean;
|
|
1746
|
-
};
|
|
1747
|
-
trigger?: TriggerSummary;
|
|
1748
|
-
}>;
|
|
1749
|
-
getTriggerRuns(id: string): Promise<{
|
|
1750
|
-
runs: TriggerRunRecord[];
|
|
1751
|
-
}>;
|
|
1752
|
-
getTriggerHealth(): Promise<TriggerHealthSnapshot>;
|
|
1753
|
-
getTrainingStatus(): Promise<TrainingStatus>;
|
|
1754
|
-
listTrainingTrajectories(opts?: {
|
|
1755
|
-
limit?: number;
|
|
1756
|
-
offset?: number;
|
|
1757
|
-
}): Promise<TrainingTrajectoryList>;
|
|
1758
|
-
getTrainingTrajectory(trajectoryId: string): Promise<{
|
|
1759
|
-
trajectory: TrainingTrajectoryDetail;
|
|
1760
|
-
}>;
|
|
1761
|
-
listTrainingDatasets(): Promise<{
|
|
1762
|
-
datasets: TrainingDatasetRecord[];
|
|
1763
|
-
}>;
|
|
1764
|
-
buildTrainingDataset(options?: {
|
|
1765
|
-
limit?: number;
|
|
1766
|
-
minLlmCallsPerTrajectory?: number;
|
|
1767
|
-
}): Promise<{
|
|
1768
|
-
dataset: TrainingDatasetRecord;
|
|
1769
|
-
}>;
|
|
1770
|
-
listTrainingJobs(): Promise<{
|
|
1771
|
-
jobs: TrainingJobRecord[];
|
|
1772
|
-
}>;
|
|
1773
|
-
startTrainingJob(options?: StartTrainingOptions): Promise<{
|
|
1774
|
-
job: TrainingJobRecord;
|
|
1775
|
-
}>;
|
|
1776
|
-
getTrainingJob(jobId: string): Promise<{
|
|
1777
|
-
job: TrainingJobRecord;
|
|
1778
|
-
}>;
|
|
1779
|
-
cancelTrainingJob(jobId: string): Promise<{
|
|
1780
|
-
job: TrainingJobRecord;
|
|
1781
|
-
}>;
|
|
1782
|
-
listTrainingModels(): Promise<{
|
|
1783
|
-
models: TrainingModelRecord[];
|
|
1784
|
-
}>;
|
|
1785
|
-
importTrainingModelToOllama(modelId: string, options?: {
|
|
1786
|
-
modelName?: string;
|
|
1787
|
-
baseModel?: string;
|
|
1788
|
-
ollamaUrl?: string;
|
|
1789
|
-
}): Promise<{
|
|
1790
|
-
model: TrainingModelRecord;
|
|
1791
|
-
}>;
|
|
1792
|
-
activateTrainingModel(modelId: string, providerModel?: string): Promise<{
|
|
1793
|
-
modelId: string;
|
|
1794
|
-
providerModel: string;
|
|
1795
|
-
needsRestart: boolean;
|
|
1796
|
-
}>;
|
|
1797
|
-
benchmarkTrainingModel(modelId: string): Promise<{
|
|
1798
|
-
status: "passed" | "failed";
|
|
1799
|
-
output: string;
|
|
1800
|
-
}>;
|
|
1801
|
-
getPlugins(): Promise<{
|
|
1802
|
-
plugins: PluginInfo[];
|
|
1803
|
-
}>;
|
|
1804
|
-
fetchModels(provider: string, refresh?: boolean): Promise<{
|
|
1805
|
-
provider: string;
|
|
1806
|
-
models: unknown[];
|
|
1807
|
-
}>;
|
|
1808
|
-
getCorePlugins(): Promise<CorePluginsResponse>;
|
|
1809
|
-
toggleCorePlugin(npmName: string, enabled: boolean): Promise<{
|
|
1810
|
-
ok: boolean;
|
|
1811
|
-
restarting?: boolean;
|
|
1812
|
-
message?: string;
|
|
1813
|
-
}>;
|
|
1814
|
-
updatePlugin(id: string, config: Record<string, unknown>): Promise<{
|
|
1815
|
-
ok: boolean;
|
|
1816
|
-
restarting?: boolean;
|
|
1817
|
-
}>;
|
|
1818
|
-
getSecrets(): Promise<{
|
|
1819
|
-
secrets: SecretInfo[];
|
|
1820
|
-
}>;
|
|
1821
|
-
updateSecrets(secrets: Record<string, string>): Promise<{
|
|
1822
|
-
ok: boolean;
|
|
1823
|
-
updated: string[];
|
|
1824
|
-
}>;
|
|
1825
|
-
testPluginConnection(id: string): Promise<{
|
|
1826
|
-
success: boolean;
|
|
1827
|
-
pluginId: string;
|
|
1828
|
-
message?: string;
|
|
1829
|
-
error?: string;
|
|
1830
|
-
durationMs: number;
|
|
1831
|
-
}>;
|
|
1832
|
-
restart(): Promise<{
|
|
1833
|
-
ok: boolean;
|
|
1834
|
-
}>;
|
|
1835
|
-
getSkills(): Promise<{
|
|
1836
|
-
skills: SkillInfo[];
|
|
1837
|
-
}>;
|
|
1838
|
-
refreshSkills(): Promise<{
|
|
1839
|
-
ok: boolean;
|
|
1840
|
-
skills: SkillInfo[];
|
|
1841
|
-
}>;
|
|
1842
|
-
getLogs(filter?: LogsFilter): Promise<LogsResponse>;
|
|
1843
|
-
private buildSecurityAuditParams;
|
|
1844
|
-
getSecurityAudit(filter?: SecurityAuditFilter): Promise<SecurityAuditResponse>;
|
|
1845
|
-
streamSecurityAudit(onEvent: (event: SecurityAuditStreamEvent) => void, filter?: SecurityAuditFilter, signal?: AbortSignal): Promise<void>;
|
|
1846
|
-
getAgentEvents(opts?: {
|
|
1847
|
-
afterEventId?: string;
|
|
1848
|
-
limit?: number;
|
|
1849
|
-
runId?: string;
|
|
1850
|
-
fromSeq?: number;
|
|
1851
|
-
}): Promise<AgentEventsResponse>;
|
|
1852
|
-
getExtensionStatus(): Promise<ExtensionStatus>;
|
|
1853
|
-
getSkillCatalog(opts?: {
|
|
1854
|
-
page?: number;
|
|
1855
|
-
perPage?: number;
|
|
1856
|
-
sort?: string;
|
|
1857
|
-
}): Promise<{
|
|
1858
|
-
total: number;
|
|
1859
|
-
page: number;
|
|
1860
|
-
perPage: number;
|
|
1861
|
-
totalPages: number;
|
|
1862
|
-
skills: CatalogSkill[];
|
|
1863
|
-
}>;
|
|
1864
|
-
searchSkillCatalog(query: string, limit?: number): Promise<{
|
|
1865
|
-
query: string;
|
|
1866
|
-
count: number;
|
|
1867
|
-
results: CatalogSearchResult[];
|
|
1868
|
-
}>;
|
|
1869
|
-
getSkillCatalogDetail(slug: string): Promise<{
|
|
1870
|
-
skill: CatalogSkill;
|
|
1871
|
-
}>;
|
|
1872
|
-
refreshSkillCatalog(): Promise<{
|
|
1873
|
-
ok: boolean;
|
|
1874
|
-
count: number;
|
|
1875
|
-
}>;
|
|
1876
|
-
installCatalogSkill(slug: string, version?: string): Promise<{
|
|
1877
|
-
ok: boolean;
|
|
1878
|
-
slug: string;
|
|
1879
|
-
message: string;
|
|
1880
|
-
alreadyInstalled?: boolean;
|
|
1881
|
-
}>;
|
|
1882
|
-
uninstallCatalogSkill(slug: string): Promise<{
|
|
1883
|
-
ok: boolean;
|
|
1884
|
-
slug: string;
|
|
1885
|
-
message: string;
|
|
1886
|
-
}>;
|
|
1887
|
-
getRegistryPlugins(): Promise<{
|
|
1888
|
-
count: number;
|
|
1889
|
-
plugins: RegistryPlugin[];
|
|
1890
|
-
}>;
|
|
1891
|
-
getRegistryPluginInfo(name: string): Promise<{
|
|
1892
|
-
plugin: RegistryPlugin;
|
|
1893
|
-
}>;
|
|
1894
|
-
getInstalledPlugins(): Promise<{
|
|
1895
|
-
count: number;
|
|
1896
|
-
plugins: InstalledPlugin[];
|
|
1897
|
-
}>;
|
|
1898
|
-
installRegistryPlugin(name: string, autoRestart?: boolean): Promise<PluginInstallResult>;
|
|
1899
|
-
uninstallRegistryPlugin(name: string, autoRestart?: boolean): Promise<{
|
|
1900
|
-
ok: boolean;
|
|
1901
|
-
pluginName: string;
|
|
1902
|
-
message: string;
|
|
1903
|
-
error?: string;
|
|
1904
|
-
}>;
|
|
1905
|
-
/**
|
|
1906
|
-
* Export the agent as a password-encrypted .eliza-agent file.
|
|
1907
|
-
* Returns the raw Response so the caller can stream the binary body.
|
|
1908
|
-
*/
|
|
1909
|
-
exportAgent(password: string, includeLogs?: boolean): Promise<Response>;
|
|
1910
|
-
/** Get an estimate of the export size. */
|
|
1911
|
-
getExportEstimate(): Promise<{
|
|
1912
|
-
estimatedBytes: number;
|
|
1913
|
-
memoriesCount: number;
|
|
1914
|
-
entitiesCount: number;
|
|
1915
|
-
roomsCount: number;
|
|
1916
|
-
worldsCount: number;
|
|
1917
|
-
tasksCount: number;
|
|
1918
|
-
}>;
|
|
1919
|
-
/**
|
|
1920
|
-
* Import an agent from a password-encrypted .eliza-agent file.
|
|
1921
|
-
* Encodes the password and file into a binary envelope.
|
|
1922
|
-
*/
|
|
1923
|
-
importAgent(password: string, fileBuffer: ArrayBuffer): Promise<{
|
|
1924
|
-
success: boolean;
|
|
1925
|
-
agentId: string;
|
|
1926
|
-
agentName: string;
|
|
1927
|
-
counts: Record<string, number>;
|
|
1928
|
-
}>;
|
|
1929
|
-
getCharacter(): Promise<{
|
|
1930
|
-
character: CharacterData;
|
|
1931
|
-
agentName: string;
|
|
1932
|
-
}>;
|
|
1933
|
-
getRandomName(): Promise<{
|
|
1934
|
-
name: string;
|
|
1935
|
-
}>;
|
|
1936
|
-
generateCharacterField(field: string, context: {
|
|
1937
|
-
name?: string;
|
|
1938
|
-
system?: string;
|
|
1939
|
-
bio?: string;
|
|
1940
|
-
topics?: string[];
|
|
1941
|
-
style?: {
|
|
1942
|
-
all?: string[];
|
|
1943
|
-
chat?: string[];
|
|
1944
|
-
post?: string[];
|
|
1945
|
-
};
|
|
1946
|
-
postExamples?: string[];
|
|
1947
|
-
}, mode?: "append" | "replace"): Promise<{
|
|
1948
|
-
generated: string;
|
|
1949
|
-
}>;
|
|
1950
|
-
updateCharacter(character: CharacterData): Promise<{
|
|
1951
|
-
ok: boolean;
|
|
1952
|
-
character: CharacterData;
|
|
1953
|
-
agentName: string;
|
|
1954
|
-
}>;
|
|
1955
|
-
getWalletAddresses(): Promise<WalletAddresses>;
|
|
1956
|
-
getWalletBalances(): Promise<WalletBalancesResponse>;
|
|
1957
|
-
getWalletNfts(): Promise<WalletNftsResponse>;
|
|
1958
|
-
getWalletConfig(): Promise<WalletConfigStatus>;
|
|
1959
|
-
updateWalletConfig(config: WalletConfigUpdateRequest): Promise<{
|
|
1960
|
-
ok: boolean;
|
|
1961
|
-
}>;
|
|
1962
|
-
exportWalletKeys(exportToken: string): Promise<WalletExportResult>;
|
|
1963
|
-
getBscTradePreflight(tokenAddress?: string): Promise<BscTradePreflightResponse>;
|
|
1964
|
-
getBscTradeQuote(request: BscTradeQuoteRequest): Promise<BscTradeQuoteResponse>;
|
|
1965
|
-
executeBscTrade(request: BscTradeExecuteRequest): Promise<BscTradeExecuteResponse>;
|
|
1966
|
-
executeBscTransfer(request: BscTransferExecuteRequest): Promise<BscTransferExecuteResponse>;
|
|
1967
|
-
getBscTradeTxStatus(hash: string): Promise<BscTradeTxStatusResponse>;
|
|
1968
|
-
getWalletTradingProfile(window?: WalletTradingProfileWindow, source?: WalletTradingProfileSourceFilter): Promise<WalletTradingProfileResponse>;
|
|
1969
|
-
applyProductionWalletDefaults(): Promise<ApplyProductionWalletDefaultsResponse>;
|
|
1970
|
-
getUpdateStatus(force?: boolean): Promise<UpdateStatus>;
|
|
1971
|
-
setUpdateChannel(channel: "stable" | "beta" | "nightly"): Promise<{
|
|
1972
|
-
channel: string;
|
|
1973
|
-
}>;
|
|
1974
|
-
getCloudStatus(): Promise<CloudStatus>;
|
|
1975
|
-
getCloudCredits(): Promise<CloudCredits>;
|
|
1976
|
-
getCloudBillingSummary(): Promise<CloudBillingSummary>;
|
|
1977
|
-
getCloudBillingSettings(): Promise<CloudBillingSettings>;
|
|
1978
|
-
updateCloudBillingSettings(request: CloudBillingSettingsUpdateRequest): Promise<CloudBillingSettings>;
|
|
1979
|
-
getCloudBillingPaymentMethods(): Promise<{
|
|
1980
|
-
success?: boolean;
|
|
1981
|
-
data?: CloudBillingPaymentMethod[];
|
|
1982
|
-
items?: CloudBillingPaymentMethod[];
|
|
1983
|
-
paymentMethods?: CloudBillingPaymentMethod[];
|
|
1984
|
-
[key: string]: unknown;
|
|
1985
|
-
}>;
|
|
1986
|
-
getCloudBillingHistory(): Promise<{
|
|
1987
|
-
success?: boolean;
|
|
1988
|
-
data?: CloudBillingHistoryItem[];
|
|
1989
|
-
items?: CloudBillingHistoryItem[];
|
|
1990
|
-
history?: CloudBillingHistoryItem[];
|
|
1991
|
-
[key: string]: unknown;
|
|
1992
|
-
}>;
|
|
1993
|
-
createCloudBillingCheckout(request: CloudBillingCheckoutRequest): Promise<CloudBillingCheckoutResponse>;
|
|
1994
|
-
createCloudBillingCryptoQuote(request: CloudBillingCryptoQuoteRequest): Promise<CloudBillingCryptoQuoteResponse>;
|
|
1995
|
-
cloudLogin(): Promise<CloudLoginResponse>;
|
|
1996
|
-
cloudLoginPoll(sessionId: string): Promise<CloudLoginPollResponse>;
|
|
1997
|
-
cloudDisconnect(): Promise<{
|
|
1998
|
-
ok: boolean;
|
|
1999
|
-
}>;
|
|
2000
|
-
/** List all cloud-hosted agents for the authenticated user. */
|
|
2001
|
-
getCloudCompatAgents(): Promise<{
|
|
2002
|
-
success: boolean;
|
|
2003
|
-
data: CloudCompatAgent[];
|
|
2004
|
-
}>;
|
|
2005
|
-
/** Create a new cloud-hosted agent. */
|
|
2006
|
-
createCloudCompatAgent(opts: {
|
|
2007
|
-
agentName: string;
|
|
2008
|
-
agentConfig?: Record<string, unknown>;
|
|
2009
|
-
environmentVars?: Record<string, string>;
|
|
2010
|
-
}): Promise<{
|
|
2011
|
-
success: boolean;
|
|
2012
|
-
data: {
|
|
2013
|
-
agentId: string;
|
|
2014
|
-
agentName: string;
|
|
2015
|
-
jobId: string;
|
|
2016
|
-
status: string;
|
|
2017
|
-
nodeId: string | null;
|
|
2018
|
-
message: string;
|
|
2019
|
-
};
|
|
2020
|
-
}>;
|
|
2021
|
-
/** Get a specific cloud-hosted agent by ID. */
|
|
2022
|
-
getCloudCompatAgent(agentId: string): Promise<{
|
|
2023
|
-
success: boolean;
|
|
2024
|
-
data: CloudCompatAgent;
|
|
2025
|
-
}>;
|
|
2026
|
-
/** Delete a cloud-hosted agent. */
|
|
2027
|
-
deleteCloudCompatAgent(agentId: string): Promise<{
|
|
2028
|
-
success: boolean;
|
|
2029
|
-
data: {
|
|
2030
|
-
jobId: string;
|
|
2031
|
-
status: string;
|
|
2032
|
-
message: string;
|
|
2033
|
-
};
|
|
2034
|
-
}>;
|
|
2035
|
-
/** Get status of a cloud-hosted agent. */
|
|
2036
|
-
getCloudCompatAgentStatus(agentId: string): Promise<{
|
|
2037
|
-
success: boolean;
|
|
2038
|
-
data: CloudCompatAgentStatus;
|
|
2039
|
-
}>;
|
|
2040
|
-
/** Get logs from a cloud-hosted agent. */
|
|
2041
|
-
getCloudCompatAgentLogs(agentId: string, tail?: number): Promise<{
|
|
2042
|
-
success: boolean;
|
|
2043
|
-
data: string;
|
|
2044
|
-
}>;
|
|
2045
|
-
/** Restart a cloud-hosted agent. */
|
|
2046
|
-
restartCloudCompatAgent(agentId: string): Promise<{
|
|
2047
|
-
success: boolean;
|
|
2048
|
-
data: {
|
|
2049
|
-
jobId: string;
|
|
2050
|
-
status: string;
|
|
2051
|
-
message: string;
|
|
2052
|
-
};
|
|
2053
|
-
}>;
|
|
2054
|
-
/** Suspend a cloud-hosted agent. */
|
|
2055
|
-
suspendCloudCompatAgent(agentId: string): Promise<{
|
|
2056
|
-
success: boolean;
|
|
2057
|
-
data: {
|
|
2058
|
-
jobId: string;
|
|
2059
|
-
status: string;
|
|
2060
|
-
message: string;
|
|
2061
|
-
};
|
|
2062
|
-
}>;
|
|
2063
|
-
/** Resume a cloud-hosted agent. */
|
|
2064
|
-
resumeCloudCompatAgent(agentId: string): Promise<{
|
|
2065
|
-
success: boolean;
|
|
2066
|
-
data: {
|
|
2067
|
-
jobId: string;
|
|
2068
|
-
status: string;
|
|
2069
|
-
message: string;
|
|
2070
|
-
};
|
|
2071
|
-
}>;
|
|
2072
|
-
/** Launch a managed cloud agent into the Milady app. */
|
|
2073
|
-
launchCloudCompatAgent(agentId: string): Promise<{
|
|
2074
|
-
success: boolean;
|
|
2075
|
-
data: CloudCompatLaunchResult;
|
|
2076
|
-
}>;
|
|
2077
|
-
/** Get cloud availability (capacity info). */
|
|
2078
|
-
getCloudCompatAvailability(): Promise<{
|
|
2079
|
-
success: boolean;
|
|
2080
|
-
data: {
|
|
2081
|
-
totalSlots: number;
|
|
2082
|
-
usedSlots: number;
|
|
2083
|
-
availableSlots: number;
|
|
2084
|
-
acceptingNewAgents: boolean;
|
|
2085
|
-
};
|
|
2086
|
-
}>;
|
|
2087
|
-
/** Poll a cloud job status by job ID. */
|
|
2088
|
-
getCloudCompatJobStatus(jobId: string): Promise<{
|
|
2089
|
-
success: boolean;
|
|
2090
|
-
data: CloudCompatJob;
|
|
2091
|
-
}>;
|
|
2092
|
-
listApps(): Promise<RegistryAppInfo[]>;
|
|
2093
|
-
searchApps(query: string): Promise<RegistryAppInfo[]>;
|
|
2094
|
-
listInstalledApps(): Promise<InstalledAppInfo[]>;
|
|
2095
|
-
stopApp(name: string): Promise<AppStopResult>;
|
|
2096
|
-
getAppInfo(name: string): Promise<RegistryAppInfo>;
|
|
2097
|
-
/** Launch an app: installs its plugin (if needed), returns viewer config for iframe. */
|
|
2098
|
-
launchApp(name: string): Promise<AppLaunchResult>;
|
|
2099
|
-
listRegistryPlugins(): Promise<RegistryPluginItem[]>;
|
|
2100
|
-
searchRegistryPlugins(query: string): Promise<RegistryPluginItem[]>;
|
|
2101
|
-
listHyperscapeEmbeddedAgents(): Promise<HyperscapeEmbeddedAgentsResponse>;
|
|
2102
|
-
createHyperscapeEmbeddedAgent(input: {
|
|
2103
|
-
characterId: string;
|
|
2104
|
-
autoStart?: boolean;
|
|
2105
|
-
scriptedRole?: HyperscapeScriptedRole;
|
|
2106
|
-
}): Promise<HyperscapeEmbeddedAgentMutationResponse>;
|
|
2107
|
-
controlHyperscapeEmbeddedAgent(characterId: string, action: HyperscapeEmbeddedAgentControlAction): Promise<HyperscapeEmbeddedAgentMutationResponse>;
|
|
2108
|
-
sendHyperscapeEmbeddedAgentCommand(characterId: string, command: string, data?: {
|
|
2109
|
-
[key: string]: HyperscapeJsonValue;
|
|
2110
|
-
}): Promise<HyperscapeActionResponse>;
|
|
2111
|
-
sendHyperscapeAgentMessage(agentId: string, content: string): Promise<HyperscapeActionResponse>;
|
|
2112
|
-
getHyperscapeAgentGoal(agentId: string): Promise<HyperscapeAgentGoalResponse>;
|
|
2113
|
-
getHyperscapeAgentQuickActions(agentId: string): Promise<HyperscapeQuickActionsResponse>;
|
|
2114
|
-
searchSkillsMarketplace(query: string, installed: boolean, limit: number): Promise<{
|
|
2115
|
-
results: SkillMarketplaceResult[];
|
|
2116
|
-
}>;
|
|
2117
|
-
getSkillsMarketplaceConfig(): Promise<{
|
|
2118
|
-
keySet: boolean;
|
|
2119
|
-
}>;
|
|
2120
|
-
updateSkillsMarketplaceConfig(apiKey: string): Promise<{
|
|
2121
|
-
keySet: boolean;
|
|
2122
|
-
}>;
|
|
2123
|
-
installMarketplaceSkill(data: {
|
|
2124
|
-
slug?: string;
|
|
2125
|
-
githubUrl?: string;
|
|
2126
|
-
repository?: string;
|
|
2127
|
-
path?: string;
|
|
2128
|
-
name?: string;
|
|
2129
|
-
description?: string;
|
|
2130
|
-
source: string;
|
|
2131
|
-
autoRefresh?: boolean;
|
|
2132
|
-
}): Promise<void>;
|
|
2133
|
-
uninstallMarketplaceSkill(skillId: string, autoRefresh: boolean): Promise<void>;
|
|
2134
|
-
updateSkill(skillId: string, enabled: boolean): Promise<{
|
|
2135
|
-
skill: SkillInfo;
|
|
2136
|
-
}>;
|
|
2137
|
-
createSkill(name: string, description: string): Promise<{
|
|
2138
|
-
ok: boolean;
|
|
2139
|
-
skill: SkillInfo;
|
|
2140
|
-
path: string;
|
|
2141
|
-
}>;
|
|
2142
|
-
openSkill(id: string): Promise<{
|
|
2143
|
-
ok: boolean;
|
|
2144
|
-
path: string;
|
|
2145
|
-
}>;
|
|
2146
|
-
getSkillSource(id: string): Promise<{
|
|
2147
|
-
ok: boolean;
|
|
2148
|
-
skillId: string;
|
|
2149
|
-
content: string;
|
|
2150
|
-
path: string;
|
|
2151
|
-
}>;
|
|
2152
|
-
saveSkillSource(id: string, content: string): Promise<{
|
|
2153
|
-
ok: boolean;
|
|
2154
|
-
skillId: string;
|
|
2155
|
-
skill: SkillInfo;
|
|
2156
|
-
}>;
|
|
2157
|
-
deleteSkill(id: string): Promise<{
|
|
2158
|
-
ok: boolean;
|
|
2159
|
-
skillId: string;
|
|
2160
|
-
source: string;
|
|
2161
|
-
}>;
|
|
2162
|
-
getSkillScanReport(id: string): Promise<{
|
|
2163
|
-
ok: boolean;
|
|
2164
|
-
report: SkillScanReportSummary | null;
|
|
2165
|
-
acknowledged: boolean;
|
|
2166
|
-
acknowledgment: {
|
|
2167
|
-
acknowledgedAt: string;
|
|
2168
|
-
findingCount: number;
|
|
2169
|
-
} | null;
|
|
2170
|
-
}>;
|
|
2171
|
-
acknowledgeSkill(id: string, enable: boolean): Promise<{
|
|
2172
|
-
ok: boolean;
|
|
2173
|
-
skillId: string;
|
|
2174
|
-
acknowledged: boolean;
|
|
2175
|
-
enabled: boolean;
|
|
2176
|
-
findingCount: number;
|
|
2177
|
-
}>;
|
|
2178
|
-
getWorkbenchOverview(): Promise<WorkbenchOverview & {
|
|
2179
|
-
tasksAvailable?: boolean;
|
|
2180
|
-
triggersAvailable?: boolean;
|
|
2181
|
-
todosAvailable?: boolean;
|
|
2182
|
-
}>;
|
|
2183
|
-
listWorkbenchTasks(): Promise<{
|
|
2184
|
-
tasks: WorkbenchTask[];
|
|
2185
|
-
}>;
|
|
2186
|
-
getWorkbenchTask(taskId: string): Promise<{
|
|
2187
|
-
task: WorkbenchTask;
|
|
2188
|
-
}>;
|
|
2189
|
-
createWorkbenchTask(data: {
|
|
2190
|
-
name: string;
|
|
2191
|
-
description?: string;
|
|
2192
|
-
tags?: string[];
|
|
2193
|
-
isCompleted?: boolean;
|
|
2194
|
-
}): Promise<{
|
|
2195
|
-
task: WorkbenchTask;
|
|
2196
|
-
}>;
|
|
2197
|
-
updateWorkbenchTask(taskId: string, data: {
|
|
2198
|
-
name?: string;
|
|
2199
|
-
description?: string;
|
|
2200
|
-
tags?: string[];
|
|
2201
|
-
isCompleted?: boolean;
|
|
2202
|
-
}): Promise<{
|
|
2203
|
-
task: WorkbenchTask;
|
|
2204
|
-
}>;
|
|
2205
|
-
deleteWorkbenchTask(taskId: string): Promise<{
|
|
2206
|
-
ok: boolean;
|
|
2207
|
-
}>;
|
|
2208
|
-
listWorkbenchTodos(): Promise<{
|
|
2209
|
-
todos: WorkbenchTodo[];
|
|
2210
|
-
}>;
|
|
2211
|
-
getWorkbenchTodo(todoId: string): Promise<{
|
|
2212
|
-
todo: WorkbenchTodo;
|
|
2213
|
-
}>;
|
|
2214
|
-
createWorkbenchTodo(data: {
|
|
2215
|
-
name: string;
|
|
2216
|
-
description?: string;
|
|
2217
|
-
priority?: number;
|
|
2218
|
-
isUrgent?: boolean;
|
|
2219
|
-
type?: string;
|
|
2220
|
-
isCompleted?: boolean;
|
|
2221
|
-
}): Promise<{
|
|
2222
|
-
todo: WorkbenchTodo;
|
|
2223
|
-
}>;
|
|
2224
|
-
updateWorkbenchTodo(todoId: string, data: {
|
|
2225
|
-
name?: string;
|
|
2226
|
-
description?: string;
|
|
2227
|
-
priority?: number;
|
|
2228
|
-
isUrgent?: boolean;
|
|
2229
|
-
type?: string;
|
|
2230
|
-
isCompleted?: boolean;
|
|
2231
|
-
}): Promise<{
|
|
2232
|
-
todo: WorkbenchTodo;
|
|
2233
|
-
}>;
|
|
2234
|
-
setWorkbenchTodoCompleted(todoId: string, isCompleted: boolean): Promise<void>;
|
|
2235
|
-
deleteWorkbenchTodo(todoId: string): Promise<{
|
|
2236
|
-
ok: boolean;
|
|
2237
|
-
}>;
|
|
2238
|
-
refreshRegistry(): Promise<void>;
|
|
2239
|
-
getKnowledgeStats(): Promise<KnowledgeStats>;
|
|
2240
|
-
listKnowledgeDocuments(options?: {
|
|
2241
|
-
limit?: number;
|
|
2242
|
-
offset?: number;
|
|
2243
|
-
}): Promise<KnowledgeDocumentsResponse>;
|
|
2244
|
-
getKnowledgeDocument(documentId: string): Promise<{
|
|
2245
|
-
document: KnowledgeDocumentDetail;
|
|
2246
|
-
}>;
|
|
2247
|
-
deleteKnowledgeDocument(documentId: string): Promise<{
|
|
2248
|
-
ok: boolean;
|
|
2249
|
-
deletedFragments: number;
|
|
2250
|
-
}>;
|
|
2251
|
-
uploadKnowledgeDocument(data: {
|
|
2252
|
-
content: string;
|
|
2253
|
-
filename: string;
|
|
2254
|
-
contentType?: string;
|
|
2255
|
-
metadata?: Record<string, unknown>;
|
|
2256
|
-
}): Promise<KnowledgeUploadResult>;
|
|
2257
|
-
uploadKnowledgeDocumentsBulk(data: {
|
|
2258
|
-
documents: Array<{
|
|
2259
|
-
content: string;
|
|
2260
|
-
filename: string;
|
|
2261
|
-
contentType?: string;
|
|
2262
|
-
metadata?: Record<string, unknown>;
|
|
2263
|
-
}>;
|
|
2264
|
-
}): Promise<KnowledgeBulkUploadResult>;
|
|
2265
|
-
uploadKnowledgeFromUrl(url: string, metadata?: Record<string, unknown>): Promise<KnowledgeUploadResult>;
|
|
2266
|
-
searchKnowledge(query: string, options?: {
|
|
2267
|
-
threshold?: number;
|
|
2268
|
-
limit?: number;
|
|
2269
|
-
}): Promise<KnowledgeSearchResponse>;
|
|
2270
|
-
getKnowledgeFragments(documentId: string): Promise<KnowledgeFragmentsResponse>;
|
|
2271
|
-
rememberMemory(text: string): Promise<MemoryRememberResponse>;
|
|
2272
|
-
searchMemory(query: string, options?: {
|
|
2273
|
-
limit?: number;
|
|
2274
|
-
}): Promise<MemorySearchResponse>;
|
|
2275
|
-
quickContext(query: string, options?: {
|
|
2276
|
-
limit?: number;
|
|
2277
|
-
}): Promise<QuickContextResponse>;
|
|
2278
|
-
getMcpConfig(): Promise<{
|
|
2279
|
-
servers: Record<string, McpServerConfig>;
|
|
2280
|
-
}>;
|
|
2281
|
-
getMcpStatus(): Promise<{
|
|
2282
|
-
servers: McpServerStatus[];
|
|
2283
|
-
}>;
|
|
2284
|
-
searchMcpMarketplace(query: string, limit: number): Promise<{
|
|
2285
|
-
results: McpMarketplaceResult[];
|
|
2286
|
-
}>;
|
|
2287
|
-
getMcpServerDetails(name: string): Promise<{
|
|
2288
|
-
server: McpRegistryServerDetail;
|
|
2289
|
-
}>;
|
|
2290
|
-
addMcpServer(name: string, config: McpServerConfig): Promise<void>;
|
|
2291
|
-
removeMcpServer(name: string): Promise<void>;
|
|
2292
|
-
ingestShare(payload: ShareIngestPayload): Promise<{
|
|
2293
|
-
item: ShareIngestItem;
|
|
2294
|
-
}>;
|
|
2295
|
-
consumeShareIngest(): Promise<{
|
|
2296
|
-
items: ShareIngestItem[];
|
|
2297
|
-
}>;
|
|
2298
|
-
connectWs(): void;
|
|
2299
|
-
private scheduleReconnect;
|
|
2300
|
-
private emitConnectionStateChange;
|
|
2301
|
-
/** Get the current WebSocket connection state. */
|
|
2302
|
-
getConnectionState(): ConnectionStateInfo;
|
|
2303
|
-
/** Subscribe to connection state changes. Returns an unsubscribe function. */
|
|
2304
|
-
onConnectionStateChange(listener: (state: ConnectionStateInfo) => void): () => void;
|
|
2305
|
-
/** Reset connection state and restart reconnection attempts. */
|
|
2306
|
-
resetConnection(): void;
|
|
2307
|
-
/** Send an arbitrary JSON message over the WebSocket connection. */
|
|
2308
|
-
sendWsMessage(data: Record<string, unknown>): void;
|
|
2309
|
-
onWsEvent(type: string, handler: WsEventHandler): () => void;
|
|
2310
|
-
private normalizeAssistantText;
|
|
2311
|
-
private normalizeGreetingText;
|
|
2312
|
-
private normalizeConversationMessage;
|
|
2313
|
-
private streamChatEndpoint;
|
|
2314
|
-
/**
|
|
2315
|
-
* Send a chat message via the REST endpoint (reliable — does not depend on
|
|
2316
|
-
* a WebSocket connection). Returns the agent's response text.
|
|
2317
|
-
*/
|
|
2318
|
-
sendChatRest(text: string, channelType?: ConversationChannelType, conversationMode?: ConversationMode): Promise<{
|
|
2319
|
-
text: string;
|
|
2320
|
-
agentName: string;
|
|
2321
|
-
}>;
|
|
2322
|
-
sendChatStream(text: string, onToken: (token: string, accumulatedText?: string) => void, channelType?: ConversationChannelType, signal?: AbortSignal, conversationMode?: ConversationMode): Promise<{
|
|
2323
|
-
text: string;
|
|
2324
|
-
agentName: string;
|
|
2325
|
-
completed: boolean;
|
|
2326
|
-
usage?: ChatTokenUsage;
|
|
2327
|
-
}>;
|
|
2328
|
-
listConversations(): Promise<{
|
|
2329
|
-
conversations: Conversation[];
|
|
2330
|
-
}>;
|
|
2331
|
-
createConversation(title?: string, options?: CreateConversationOptions): Promise<{
|
|
2332
|
-
conversation: Conversation;
|
|
2333
|
-
greeting?: ConversationGreeting;
|
|
2334
|
-
}>;
|
|
2335
|
-
getConversationMessages(id: string): Promise<{
|
|
2336
|
-
messages: ConversationMessage[];
|
|
2337
|
-
}>;
|
|
2338
|
-
truncateConversationMessages(id: string, messageId: string, options?: {
|
|
2339
|
-
inclusive?: boolean;
|
|
2340
|
-
}): Promise<{
|
|
2341
|
-
ok: boolean;
|
|
2342
|
-
deletedCount: number;
|
|
2343
|
-
}>;
|
|
2344
|
-
sendConversationMessage(id: string, text: string, channelType?: ConversationChannelType, images?: ImageAttachment[], conversationMode?: ConversationMode): Promise<{
|
|
2345
|
-
text: string;
|
|
2346
|
-
agentName: string;
|
|
2347
|
-
blocks?: ContentBlock[];
|
|
2348
|
-
}>;
|
|
2349
|
-
sendConversationMessageStream(id: string, text: string, onToken: (token: string, accumulatedText?: string) => void, channelType?: ConversationChannelType, signal?: AbortSignal, images?: ImageAttachment[], conversationMode?: ConversationMode): Promise<{
|
|
2350
|
-
text: string;
|
|
2351
|
-
agentName: string;
|
|
2352
|
-
completed: boolean;
|
|
2353
|
-
usage?: ChatTokenUsage;
|
|
2354
|
-
}>;
|
|
2355
|
-
requestGreeting(id: string, lang?: string): Promise<{
|
|
2356
|
-
text: string;
|
|
2357
|
-
agentName: string;
|
|
2358
|
-
generated: boolean;
|
|
2359
|
-
persisted?: boolean;
|
|
2360
|
-
}>;
|
|
2361
|
-
renameConversation(id: string, title: string): Promise<{
|
|
2362
|
-
conversation: Conversation;
|
|
2363
|
-
}>;
|
|
2364
|
-
deleteConversation(id: string): Promise<{
|
|
2365
|
-
ok: boolean;
|
|
2366
|
-
}>;
|
|
2367
|
-
/** @deprecated Prefer {@link sendChatRest} — WebSocket chat may silently drop messages. */
|
|
2368
|
-
sendChat(text: string): void;
|
|
2369
|
-
getDatabaseStatus(): Promise<DatabaseStatus>;
|
|
2370
|
-
getDatabaseConfig(): Promise<DatabaseConfigResponse>;
|
|
2371
|
-
saveDatabaseConfig(config: {
|
|
2372
|
-
provider?: DatabaseProviderType;
|
|
2373
|
-
pglite?: {
|
|
2374
|
-
dataDir?: string;
|
|
2375
|
-
};
|
|
2376
|
-
postgres?: {
|
|
2377
|
-
connectionString?: string;
|
|
2378
|
-
host?: string;
|
|
2379
|
-
port?: number;
|
|
2380
|
-
database?: string;
|
|
2381
|
-
user?: string;
|
|
2382
|
-
password?: string;
|
|
2383
|
-
ssl?: boolean;
|
|
2384
|
-
};
|
|
2385
|
-
}): Promise<{
|
|
2386
|
-
saved: boolean;
|
|
2387
|
-
needsRestart: boolean;
|
|
2388
|
-
}>;
|
|
2389
|
-
testDatabaseConnection(creds: {
|
|
2390
|
-
connectionString?: string;
|
|
2391
|
-
host?: string;
|
|
2392
|
-
port?: number;
|
|
2393
|
-
database?: string;
|
|
2394
|
-
user?: string;
|
|
2395
|
-
password?: string;
|
|
2396
|
-
ssl?: boolean;
|
|
2397
|
-
}): Promise<ConnectionTestResult>;
|
|
2398
|
-
getDatabaseTables(): Promise<{
|
|
2399
|
-
tables: TableInfo[];
|
|
2400
|
-
}>;
|
|
2401
|
-
getDatabaseRows(table: string, opts?: {
|
|
2402
|
-
offset?: number;
|
|
2403
|
-
limit?: number;
|
|
2404
|
-
sort?: string;
|
|
2405
|
-
order?: "asc" | "desc";
|
|
2406
|
-
search?: string;
|
|
2407
|
-
}): Promise<TableRowsResponse>;
|
|
2408
|
-
insertDatabaseRow(table: string, data: Record<string, unknown>): Promise<{
|
|
2409
|
-
inserted: boolean;
|
|
2410
|
-
row: Record<string, unknown> | null;
|
|
2411
|
-
}>;
|
|
2412
|
-
updateDatabaseRow(table: string, where: Record<string, unknown>, data: Record<string, unknown>): Promise<{
|
|
2413
|
-
updated: boolean;
|
|
2414
|
-
row: Record<string, unknown>;
|
|
2415
|
-
}>;
|
|
2416
|
-
deleteDatabaseRow(table: string, where: Record<string, unknown>): Promise<{
|
|
2417
|
-
deleted: boolean;
|
|
2418
|
-
row: Record<string, unknown>;
|
|
2419
|
-
}>;
|
|
2420
|
-
executeDatabaseQuery(sql: string, readOnly?: boolean): Promise<QueryResult>;
|
|
2421
|
-
getTrajectories(options?: TrajectoryListOptions): Promise<TrajectoryListResult>;
|
|
2422
|
-
getTrajectoryDetail(trajectoryId: string): Promise<TrajectoryDetailResult>;
|
|
2423
|
-
getTrajectoryStats(): Promise<TrajectoryStats>;
|
|
2424
|
-
getTrajectoryConfig(): Promise<TrajectoryConfig>;
|
|
2425
|
-
updateTrajectoryConfig(config: Partial<TrajectoryConfig>): Promise<TrajectoryConfig>;
|
|
2426
|
-
exportTrajectories(options: TrajectoryExportOptions): Promise<Blob>;
|
|
2427
|
-
deleteTrajectories(trajectoryIds: string[]): Promise<{
|
|
2428
|
-
deleted: number;
|
|
2429
|
-
}>;
|
|
2430
|
-
clearAllTrajectories(): Promise<{
|
|
2431
|
-
deleted: number;
|
|
2432
|
-
}>;
|
|
2433
|
-
/**
|
|
2434
|
-
* Get all system permission states.
|
|
2435
|
-
*/
|
|
2436
|
-
getPermissions(): Promise<AllPermissionsState>;
|
|
2437
|
-
/**
|
|
2438
|
-
* Get a single permission state.
|
|
2439
|
-
*/
|
|
2440
|
-
getPermission(id: SystemPermissionId): Promise<PermissionState>;
|
|
2441
|
-
/**
|
|
2442
|
-
* Request a specific permission (triggers OS prompt if applicable).
|
|
2443
|
-
*/
|
|
2444
|
-
requestPermission(id: SystemPermissionId): Promise<PermissionState>;
|
|
2445
|
-
/**
|
|
2446
|
-
* Open system settings for a specific permission.
|
|
2447
|
-
*/
|
|
2448
|
-
openPermissionSettings(id: SystemPermissionId): Promise<void>;
|
|
2449
|
-
/**
|
|
2450
|
-
* Refresh all permission states from the OS.
|
|
2451
|
-
*/
|
|
2452
|
-
refreshPermissions(): Promise<AllPermissionsState>;
|
|
2453
|
-
/**
|
|
2454
|
-
* Enable or disable shell access.
|
|
2455
|
-
*/
|
|
2456
|
-
setShellEnabled(enabled: boolean): Promise<PermissionState>;
|
|
2457
|
-
/**
|
|
2458
|
-
* Get shell enabled status.
|
|
2459
|
-
*/
|
|
2460
|
-
isShellEnabled(): Promise<boolean>;
|
|
2461
|
-
/**
|
|
2462
|
-
* Get agent automation permission mode.
|
|
2463
|
-
*/
|
|
2464
|
-
getAgentAutomationMode(): Promise<AgentAutomationModeResponse>;
|
|
2465
|
-
/**
|
|
2466
|
-
* Set agent automation permission mode.
|
|
2467
|
-
*/
|
|
2468
|
-
setAgentAutomationMode(mode: AgentAutomationMode): Promise<AgentAutomationModeResponse>;
|
|
2469
|
-
/**
|
|
2470
|
-
* Get wallet trade execution permission mode.
|
|
2471
|
-
*/
|
|
2472
|
-
getTradePermissionMode(): Promise<TradePermissionModeResponse>;
|
|
2473
|
-
/**
|
|
2474
|
-
* Set wallet trade execution permission mode.
|
|
2475
|
-
*/
|
|
2476
|
-
setTradePermissionMode(mode: TradePermissionMode): Promise<TradePermissionModeResponse>;
|
|
2477
|
-
disconnectWs(): void;
|
|
2478
|
-
getRegistryStatus(): Promise<RegistryStatus>;
|
|
2479
|
-
registerAgent(params?: {
|
|
2480
|
-
name?: string;
|
|
2481
|
-
endpoint?: string;
|
|
2482
|
-
tokenURI?: string;
|
|
2483
|
-
}): Promise<RegistrationResult>;
|
|
2484
|
-
updateRegistryTokenURI(tokenURI: string): Promise<{
|
|
2485
|
-
ok: boolean;
|
|
2486
|
-
txHash: string;
|
|
2487
|
-
}>;
|
|
2488
|
-
syncRegistryProfile(params?: {
|
|
2489
|
-
name?: string;
|
|
2490
|
-
endpoint?: string;
|
|
2491
|
-
tokenURI?: string;
|
|
2492
|
-
}): Promise<{
|
|
2493
|
-
ok: boolean;
|
|
2494
|
-
txHash: string;
|
|
2495
|
-
}>;
|
|
2496
|
-
getRegistryConfig(): Promise<RegistryConfig>;
|
|
2497
|
-
getDropStatus(): Promise<DropStatus>;
|
|
2498
|
-
mintAgent(params?: {
|
|
2499
|
-
name?: string;
|
|
2500
|
-
endpoint?: string;
|
|
2501
|
-
shiny?: boolean;
|
|
2502
|
-
}): Promise<MintResult>;
|
|
2503
|
-
mintAgentWhitelist(params: {
|
|
2504
|
-
name?: string;
|
|
2505
|
-
endpoint?: string;
|
|
2506
|
-
proof: string[];
|
|
2507
|
-
}): Promise<MintResult>;
|
|
2508
|
-
getWhitelistStatus(): Promise<WhitelistStatus>;
|
|
2509
|
-
generateTwitterVerificationMessage(): Promise<VerificationMessageResponse>;
|
|
2510
|
-
verifyTwitter(tweetUrl: string): Promise<VerificationResult>;
|
|
2511
|
-
listCustomActions(): Promise<CustomActionDef[]>;
|
|
2512
|
-
createCustomAction(action: Omit<CustomActionDef, "id" | "createdAt" | "updatedAt">): Promise<CustomActionDef>;
|
|
2513
|
-
updateCustomAction(id: string, action: Partial<CustomActionDef>): Promise<CustomActionDef>;
|
|
2514
|
-
deleteCustomAction(id: string): Promise<void>;
|
|
2515
|
-
testCustomAction(id: string, params: Record<string, string>): Promise<{
|
|
2516
|
-
ok: boolean;
|
|
2517
|
-
output: string;
|
|
2518
|
-
error?: string;
|
|
2519
|
-
durationMs: number;
|
|
2520
|
-
}>;
|
|
2521
|
-
generateCustomAction(prompt: string): Promise<{
|
|
2522
|
-
ok: boolean;
|
|
2523
|
-
generated: Record<string, unknown>;
|
|
2524
|
-
}>;
|
|
2525
|
-
getWhatsAppStatus(accountId?: string): Promise<{
|
|
2526
|
-
accountId: string;
|
|
2527
|
-
status: string;
|
|
2528
|
-
authExists: boolean;
|
|
2529
|
-
serviceConnected: boolean;
|
|
2530
|
-
servicePhone: string | null;
|
|
2531
|
-
}>;
|
|
2532
|
-
startWhatsAppPairing(accountId?: string): Promise<{
|
|
2533
|
-
ok: boolean;
|
|
2534
|
-
accountId: string;
|
|
2535
|
-
status: string;
|
|
2536
|
-
error?: string;
|
|
2537
|
-
}>;
|
|
2538
|
-
stopWhatsAppPairing(accountId?: string): Promise<{
|
|
2539
|
-
ok: boolean;
|
|
2540
|
-
accountId: string;
|
|
2541
|
-
status: string;
|
|
2542
|
-
}>;
|
|
2543
|
-
disconnectWhatsApp(accountId?: string): Promise<{
|
|
2544
|
-
ok: boolean;
|
|
2545
|
-
accountId: string;
|
|
2546
|
-
}>;
|
|
2547
|
-
checkBugReportInfo(): Promise<{
|
|
2548
|
-
nodeVersion?: string;
|
|
2549
|
-
platform?: string;
|
|
2550
|
-
}>;
|
|
2551
|
-
submitBugReport(report: {
|
|
2552
|
-
description: string;
|
|
2553
|
-
stepsToReproduce: string;
|
|
2554
|
-
expectedBehavior?: string;
|
|
2555
|
-
actualBehavior?: string;
|
|
2556
|
-
environment?: string;
|
|
2557
|
-
nodeVersion?: string;
|
|
2558
|
-
modelProvider?: string;
|
|
2559
|
-
logs?: string;
|
|
2560
|
-
}): Promise<{
|
|
2561
|
-
url?: string;
|
|
2562
|
-
fallback?: string;
|
|
2563
|
-
}>;
|
|
2564
|
-
getCodingAgentStatus(): Promise<CodingAgentStatus | null>;
|
|
2565
|
-
stopCodingAgent(sessionId: string): Promise<boolean>;
|
|
2566
|
-
listCodingAgentScratchWorkspaces(): Promise<CodingAgentScratchWorkspace[]>;
|
|
2567
|
-
keepCodingAgentScratchWorkspace(sessionId: string): Promise<boolean>;
|
|
2568
|
-
deleteCodingAgentScratchWorkspace(sessionId: string): Promise<boolean>;
|
|
2569
|
-
promoteCodingAgentScratchWorkspace(sessionId: string, name?: string): Promise<CodingAgentScratchWorkspace | null>;
|
|
2570
|
-
/** Subscribe to live PTY output for a session over WebSocket. */
|
|
2571
|
-
subscribePtyOutput(sessionId: string): void;
|
|
2572
|
-
/** Unsubscribe from live PTY output for a session. */
|
|
2573
|
-
unsubscribePtyOutput(sessionId: string): void;
|
|
2574
|
-
/** Send raw keyboard input to a PTY session. */
|
|
2575
|
-
sendPtyInput(sessionId: string, data: string): void;
|
|
2576
|
-
/** Resize a PTY session's terminal dimensions. */
|
|
2577
|
-
resizePty(sessionId: string, cols: number, rows: number): void;
|
|
2578
|
-
/** Fetch buffered terminal output (raw ANSI) for xterm.js hydration. */
|
|
2579
|
-
getPtyBufferedOutput(sessionId: string): Promise<string>;
|
|
2580
|
-
streamGoLive(): Promise<{
|
|
2581
|
-
ok: boolean;
|
|
2582
|
-
live: boolean;
|
|
2583
|
-
rtmpUrl?: string;
|
|
2584
|
-
inputMode?: string;
|
|
2585
|
-
audioSource?: string;
|
|
2586
|
-
message?: string;
|
|
2587
|
-
destination?: string;
|
|
2588
|
-
}>;
|
|
2589
|
-
streamGoOffline(): Promise<{
|
|
2590
|
-
ok: boolean;
|
|
2591
|
-
live: boolean;
|
|
2592
|
-
}>;
|
|
2593
|
-
streamStatus(): Promise<{
|
|
2594
|
-
ok: boolean;
|
|
2595
|
-
running: boolean;
|
|
2596
|
-
ffmpegAlive: boolean;
|
|
2597
|
-
uptime: number;
|
|
2598
|
-
frameCount: number;
|
|
2599
|
-
volume: number;
|
|
2600
|
-
muted: boolean;
|
|
2601
|
-
audioSource: string;
|
|
2602
|
-
inputMode: string | null;
|
|
2603
|
-
destination?: {
|
|
2604
|
-
id: string;
|
|
2605
|
-
name: string;
|
|
2606
|
-
} | null;
|
|
2607
|
-
}>;
|
|
2608
|
-
getStreamingDestinations(): Promise<{
|
|
2609
|
-
ok: boolean;
|
|
2610
|
-
destinations: Array<{
|
|
2611
|
-
id: string;
|
|
2612
|
-
name: string;
|
|
2613
|
-
}>;
|
|
2614
|
-
}>;
|
|
2615
|
-
setActiveDestination(destinationId: string): Promise<{
|
|
2616
|
-
ok: boolean;
|
|
2617
|
-
destination?: {
|
|
2618
|
-
id: string;
|
|
2619
|
-
name: string;
|
|
2620
|
-
};
|
|
2621
|
-
}>;
|
|
2622
|
-
setStreamVolume(volume: number): Promise<{
|
|
2623
|
-
ok: boolean;
|
|
2624
|
-
volume: number;
|
|
2625
|
-
muted: boolean;
|
|
2626
|
-
}>;
|
|
2627
|
-
muteStream(): Promise<{
|
|
2628
|
-
ok: boolean;
|
|
2629
|
-
muted: boolean;
|
|
2630
|
-
volume: number;
|
|
2631
|
-
}>;
|
|
2632
|
-
unmuteStream(): Promise<{
|
|
2633
|
-
ok: boolean;
|
|
2634
|
-
muted: boolean;
|
|
2635
|
-
volume: number;
|
|
2636
|
-
}>;
|
|
2637
|
-
getStreamVoice(): Promise<{
|
|
2638
|
-
ok: boolean;
|
|
2639
|
-
enabled: boolean;
|
|
2640
|
-
autoSpeak: boolean;
|
|
2641
|
-
provider: string | null;
|
|
2642
|
-
configuredProvider: string | null;
|
|
2643
|
-
hasApiKey: boolean;
|
|
2644
|
-
isSpeaking: boolean;
|
|
2645
|
-
isAttached: boolean;
|
|
2646
|
-
}>;
|
|
2647
|
-
saveStreamVoice(settings: {
|
|
2648
|
-
enabled?: boolean;
|
|
2649
|
-
autoSpeak?: boolean;
|
|
2650
|
-
provider?: string;
|
|
2651
|
-
}): Promise<{
|
|
2652
|
-
ok: boolean;
|
|
2653
|
-
voice: {
|
|
2654
|
-
enabled: boolean;
|
|
2655
|
-
autoSpeak: boolean;
|
|
2656
|
-
};
|
|
2657
|
-
}>;
|
|
2658
|
-
streamVoiceSpeak(text: string): Promise<{
|
|
2659
|
-
ok: boolean;
|
|
2660
|
-
speaking: boolean;
|
|
2661
|
-
}>;
|
|
2662
|
-
getOverlayLayout(destinationId?: string | null): Promise<{
|
|
2663
|
-
ok: boolean;
|
|
2664
|
-
layout: unknown;
|
|
2665
|
-
destinationId?: string;
|
|
2666
|
-
}>;
|
|
2667
|
-
saveOverlayLayout(layout: unknown, destinationId?: string | null): Promise<{
|
|
2668
|
-
ok: boolean;
|
|
2669
|
-
layout: unknown;
|
|
2670
|
-
destinationId?: string;
|
|
2671
|
-
}>;
|
|
2672
|
-
getStreamSource(): Promise<{
|
|
2673
|
-
source: {
|
|
2674
|
-
type: string;
|
|
2675
|
-
url?: string;
|
|
2676
|
-
};
|
|
2677
|
-
}>;
|
|
2678
|
-
setStreamSource(sourceType: string, customUrl?: string): Promise<{
|
|
2679
|
-
ok: boolean;
|
|
2680
|
-
source: {
|
|
2681
|
-
type: string;
|
|
2682
|
-
url?: string;
|
|
2683
|
-
};
|
|
2684
|
-
}>;
|
|
2685
|
-
getStreamSettings(): Promise<{
|
|
2686
|
-
ok: boolean;
|
|
2687
|
-
settings: {
|
|
2688
|
-
theme?: string;
|
|
2689
|
-
avatarIndex?: number;
|
|
2690
|
-
};
|
|
2691
|
-
}>;
|
|
2692
|
-
saveStreamSettings(settings: {
|
|
2693
|
-
theme?: string;
|
|
2694
|
-
avatarIndex?: number;
|
|
2695
|
-
}): Promise<{
|
|
2696
|
-
ok: boolean;
|
|
2697
|
-
settings: unknown;
|
|
2698
|
-
}>;
|
|
2699
|
-
/**
|
|
2700
|
-
* Initiate a direct login to Eliza Cloud without going through a local agent.
|
|
2701
|
-
* Used in sandbox mode when no local backend exists yet.
|
|
2702
|
-
*/
|
|
2703
|
-
cloudLoginDirect(cloudApiBase: string): Promise<{
|
|
2704
|
-
ok: boolean;
|
|
2705
|
-
browserUrl?: string;
|
|
2706
|
-
sessionId?: string;
|
|
2707
|
-
error?: string;
|
|
2708
|
-
}>;
|
|
2709
|
-
/**
|
|
2710
|
-
* Poll a direct Eliza Cloud login session for authentication status.
|
|
2711
|
-
*/
|
|
2712
|
-
cloudLoginPollDirect(cloudApiBase: string, sessionId: string): Promise<{
|
|
2713
|
-
status: "pending" | "authenticated" | "expired" | "error";
|
|
2714
|
-
token?: string;
|
|
2715
|
-
userId?: string;
|
|
2716
|
-
error?: string;
|
|
2717
|
-
}>;
|
|
2718
|
-
/**
|
|
2719
|
-
* Create a sandbox agent on Eliza Cloud and provision it.
|
|
2720
|
-
* Returns the bridge URL when provisioning completes.
|
|
2721
|
-
*
|
|
2722
|
-
* Flow:
|
|
2723
|
-
* 1. POST /api/v1/milady/agents — create agent record
|
|
2724
|
-
* 2. POST /api/v1/milady/agents/{id}/provision — start async provisioning
|
|
2725
|
-
* 3. Poll GET /api/v1/jobs/{jobId} until completed
|
|
2726
|
-
* 4. Return bridgeUrl from job result
|
|
2727
|
-
*/
|
|
2728
|
-
provisionCloudSandbox(options: {
|
|
2729
|
-
cloudApiBase: string;
|
|
2730
|
-
authToken: string;
|
|
2731
|
-
name: string;
|
|
2732
|
-
bio?: string[];
|
|
2733
|
-
onProgress?: (status: string, detail?: string) => void;
|
|
2734
|
-
}): Promise<{
|
|
2735
|
-
bridgeUrl: string;
|
|
2736
|
-
agentId: string;
|
|
2737
|
-
}>;
|
|
2738
|
-
}
|
|
2739
|
-
/** @deprecated Use MiladyClient directly. */
|
|
2740
|
-
export type ElizaClient = MiladyClient;
|
|
2741
|
-
export declare const client: MiladyClient;
|
|
2742
|
-
//# sourceMappingURL=client.d.ts.map
|