@elizaos/agent 2.0.0-alpha.418 → 2.0.0-alpha.420

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elizaos/agent",
3
- "version": "2.0.0-alpha.418",
3
+ "version": "2.0.0-alpha.420",
4
4
  "description": "Standalone elizaOS-based agent and backend server package.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -467,7 +467,7 @@
467
467
  "@elizaos/app-steward": "^0.0.0",
468
468
  "@elizaos/app-task-coordinator": "^0.0.0",
469
469
  "@elizaos/app-training": "^0.0.1",
470
- "@elizaos/core": "^2.0.0-alpha.418",
470
+ "@elizaos/core": "^2.0.0-alpha.420",
471
471
  "@elizaos/plugin-agent-orchestrator": "^0.6.2-alpha.0",
472
472
  "@elizaos/plugin-browser-bridge": "^0.1.0",
473
473
  "@elizaos/plugin-local-embedding": "^2.0.0-alpha.12",
@@ -476,8 +476,8 @@
476
476
  "@elizaos/plugin-solana": "^2.0.0-alpha.6",
477
477
  "@elizaos/plugin-sql": "^2.0.0-alpha.19",
478
478
  "@elizaos/plugin-wechat": "^0.1.0",
479
- "@elizaos/shared": "^2.0.0-alpha.418",
480
- "@elizaos/skills": "^2.0.0-alpha.418",
479
+ "@elizaos/shared": "^2.0.0-alpha.420",
480
+ "@elizaos/skills": "^2.0.0-alpha.420",
481
481
  "@hapi/boom": "^10.0.1",
482
482
  "@noble/curves": "^2.0.1",
483
483
  "@solana/web3.js": "^1.98.4",
@@ -1 +1 @@
1
- {"version":3,"file":"ConfigPageView.d.ts","sourceRoot":"","sources":["../../../../../../../app-core/src/components/pages/ConfigPageView.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AA2CH,wBAAgB,cAAc,CAAC,EAC7B,QAAgB,EAChB,mBAAmB,GACpB,EAAE;IACD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAC;CAClC,2CAylBA"}
1
+ {"version":3,"file":"ConfigPageView.d.ts","sourceRoot":"","sources":["../../../../../../../app-core/src/components/pages/ConfigPageView.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AA2CH,wBAAgB,cAAc,CAAC,EAC7B,QAAgB,EAChB,mBAAmB,GACpB,EAAE;IACD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAC;CAClC,2CA4lBA"}
@@ -191,7 +191,7 @@ export function ConfigPageView({ embedded = false, onWalletSaveSuccess, }) {
191
191
  : null;
192
192
  /* Filter out eliza-cloud from per-chain options in custom mode */
193
193
  const filterCloudOption = (options) => options.filter((o) => o.id !== "eliza-cloud");
194
- return (_jsxs("div", { children: [!embedded && (_jsxs(_Fragment, { children: [_jsx("h2", { className: "text-lg font-bold mb-1", children: t("configpageview.Config") }), _jsx("p", { className: "text-sm text-muted mb-5", children: t("configpageview.WalletProvidersAnd") })] })), _jsxs("div", { className: "grid grid-cols-1 sm:grid-cols-2 gap-3 mb-5", children: [_jsxs(Button, { variant: "ghost", onClick: () => handleModeChange("cloud"), className: `relative flex flex-col items-start gap-1.5 rounded-xl border-2 p-4 text-left transition-all h-auto !whitespace-normal ${rpcMode === "cloud"
194
+ return (_jsxs("div", { children: [!embedded && (_jsxs(_Fragment, { children: [_jsx("h2", { className: "text-lg font-bold mb-1", children: t("configpageview.Config") }), _jsx("p", { className: "text-sm text-muted mb-5", children: t("configpageview.WalletProvidersAnd") })] })), _jsxs("div", { className: "grid grid-cols-1 sm:grid-cols-2 gap-3 mb-5", children: [_jsxs(Button, { variant: "ghost", "data-testid": "wallet-rpc-mode-cloud", onClick: () => handleModeChange("cloud"), className: `relative flex flex-col items-start gap-1.5 rounded-xl border-2 p-4 text-left transition-all h-auto !whitespace-normal ${rpcMode === "cloud"
195
195
  ? "border-accent bg-accent/8 shadow-[0_0_20px_rgba(var(--accent-rgb),0.1)]"
196
196
  : "border-border/40 bg-card/30 opacity-50 grayscale hover:opacity-70 hover:grayscale-0"}`, children: [_jsxs("div", { className: "flex items-center gap-2", children: [_jsxs("svg", { width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", className: rpcMode === "cloud" ? "text-accent" : "text-muted", children: [_jsx("title", { children: t("configpageview.CloudModeSvgTitle", {
197
197
  defaultValue: "Eliza Cloud managed RPC",
@@ -238,7 +238,7 @@ export function ConfigPageView({ embedded = false, onWalletSaveSuccess, }) {
238
238
  })
239
239
  : t("elizaclouddashboard.ConnectElizaCloud", {
240
240
  defaultValue: "Connect to Eliza Cloud",
241
- }) })] })), _jsx("div", { className: "flex justify-end mt-4", children: _jsx(Button, { variant: "default", size: "sm", className: "text-xs-tight", onClick: () => {
241
+ }) })] })), _jsx("div", { className: "flex justify-end mt-4", children: _jsx(Button, { variant: "default", size: "sm", "data-testid": "wallet-rpc-save", className: "text-xs-tight", onClick: () => {
242
242
  void handleWalletSaveAll();
243
243
  }, disabled: walletApiKeySaving, children: walletApiKeySaving ? t("common.saving") : t("common.save") }) })] })), rpcMode === "custom" && (_jsxs("div", { children: [_jsxs("div", { className: "flex items-center justify-between mb-4", children: [_jsx("div", { className: "font-bold text-sm", children: t("configpageview.CustomRpcProviders", {
244
244
  defaultValue: "Custom RPC Providers",
@@ -257,7 +257,7 @@ export function ConfigPageView({ embedded = false, onWalletSaveSuccess, }) {
257
257
  }), options: filterCloudOption(SOLANA_RPC_OPTIONS), selectedProvider: selectedSolanaRpc === "eliza-cloud"
258
258
  ? (SOLANA_RPC_OPTIONS.find((o) => o.id !== "eliza-cloud")
259
259
  ?.id ?? selectedSolanaRpc)
260
- : selectedSolanaRpc, onSelect: (provider) => setSelectedSolanaRpc(provider), providerConfigs: solanaRpcConfigs, rpcFieldValues: rpcFieldValues, onRpcFieldChange: handleRpcFieldChange, cloud: cloudStatusProps, containerClassName: "flex flex-wrap gap-1.5", t: t })] }), legacyRpcWarning && (_jsx("div", { className: "mt-4 rounded-lg border border-warn bg-warn-subtle px-3 py-2 text-xs-tight text-txt", children: legacyRpcWarning })), _jsx("div", { className: "flex justify-end mt-4", children: _jsx(Button, { variant: "default", size: "sm", className: "text-xs-tight", onClick: () => {
260
+ : selectedSolanaRpc, onSelect: (provider) => setSelectedSolanaRpc(provider), providerConfigs: solanaRpcConfigs, rpcFieldValues: rpcFieldValues, onRpcFieldChange: handleRpcFieldChange, cloud: cloudStatusProps, containerClassName: "flex flex-wrap gap-1.5", t: t })] }), legacyRpcWarning && (_jsx("div", { className: "mt-4 rounded-lg border border-warn bg-warn-subtle px-3 py-2 text-xs-tight text-txt", children: legacyRpcWarning })), _jsx("div", { className: "flex justify-end mt-4", children: _jsx(Button, { variant: "default", size: "sm", "data-testid": "wallet-rpc-save", className: "text-xs-tight", onClick: () => {
261
261
  void handleWalletSaveAll();
262
262
  }, disabled: walletApiKeySaving, children: walletApiKeySaving ? t("common.saving") : t("common.save") }) })] })), _jsx(Dialog, { open: secretsOpen, onOpenChange: setSecretsOpen, children: _jsx(DialogContent, { showCloseButton: false, className: "w-[min(100%-2rem,42rem)] max-h-[min(88vh,48rem)] overflow-hidden rounded-2xl border border-border/70 bg-card/96 p-0 shadow-2xl", children: _jsxs("div", { className: "flex max-h-[min(88vh,48rem)] flex-col", children: [_jsxs(DialogHeader, { className: "flex flex-row items-center justify-between px-5 py-4", children: [_jsxs("div", { className: "flex items-center gap-2", children: [_jsxs("svg", { width: "15", height: "15", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", className: "text-accent", children: [_jsx("title", { children: t("configpageview.SecretsVault") }), _jsx("rect", { x: "3", y: "11", width: "18", height: "11", rx: "2", ry: "2" }), _jsx("path", { d: "M7 11V7a5 5 0 0 1 10 0v4" })] }), _jsx(DialogTitle, { className: "text-sm font-bold", children: t("configpageview.SecretsVault1") })] }), _jsx(Button, { variant: "ghost", size: "icon", className: "text-muted hover:text-txt text-lg leading-none", onClick: () => setSecretsOpen(false), "aria-label": t("common.close"), children: t("bugreportmodal.Times") })] }), _jsx("div", { className: "flex-1 min-h-0 overflow-y-auto p-5", children: _jsx(SecretsView, {}) })] }) }) })] }));
263
263
  }