solana-traderclaw 1.0.60 → 1.0.62

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,14 @@
1
- # solana-traderclaw (V1-Upgraded)
1
+ # solana-traderclaw (Public V1)
2
2
 
3
- Public edition of the upgraded TraderClaw V1 plugin for autonomous Solana memecoin trading. Identical to the team edition with one difference: X/Twitter tools are read-only (social intel only, no posting). 94 Solana tools + 3 X/Twitter read tools = 97 total. Full trading lifecycle. Connects OpenClaw to a trading orchestrator that handles market data, risk enforcement, and trade execution. Includes a full memory layer with local persistence, episodic logging, deterministic compute tools, intelligence lab, standardized tool envelopes, prompt scrubbing, and OpenClaw-native memory integration.
3
+ Public release of TraderClaw’s Solana trading skill built on the OpenClaw framework.
4
+
5
+ This is the open execution layer of an autonomous trading system: a composable, agent-driven architecture wired directly into server-side tooling for market data, execution, risk enforcement, deterministic compute, memory, episodic logging, and intelligence workflows.
6
+
7
+ At its core, this repository exposes a fully operational trading framework with 97 integrated tools spanning the entire lifecycle of Solana memecoin trading — from discovery to execution to risk management and post-trade evaluation.
8
+
9
+ TraderClaw is evolving toward a multi-agent trading desk architecture, where specialized agents operate across strategy, execution, token discovery, social intelligence, smart money tracking, and adaptive learning.
10
+
11
+ This release gives builders direct access to the underlying system primitives — and the ability to build, extend, and deploy their own agentic trading logic on top of the OpenClaw stack.
4
12
 
5
13
  ## Architecture
6
14
 
package/dist/index.js CHANGED
@@ -26,8 +26,7 @@ import {
26
26
  scrubUntrustedText
27
27
  } from "./chunk-AI6MTHUN.js";
28
28
  import {
29
- readRecoverySecretFromDisk,
30
- writeRecoverySecretToOpenclawAtomic
29
+ readRecoverySecretFromDisk
31
30
  } from "./chunk-SBYHSJLU.js";
32
31
  import {
33
32
  generateBulletinDigest,
@@ -946,6 +945,9 @@ var solanaTraderPlugin = {
946
945
  return typeof k === "string" && k.trim() ? k.trim() : void 0;
947
946
  },
948
947
  recoverySecretProvider: async () => {
948
+ const sidecarData = readSessionSidecar();
949
+ const fromSidecar = sidecarData?.recoverySecret;
950
+ if (typeof fromSidecar === "string" && fromSidecar.trim().length > 0) return fromSidecar.trim();
949
951
  const fromDisk = readRecoverySecretFromDisk();
950
952
  if (fromDisk) return fromDisk;
951
953
  const s = config.recoverySecret;
@@ -953,8 +955,9 @@ var solanaTraderPlugin = {
953
955
  },
954
956
  onRecoverySecretRotated: (newSecret) => {
955
957
  try {
956
- writeRecoverySecretToOpenclawAtomic(newSecret);
957
- api.logger.info("[solana-trader] Persisted rotated recovery secret to openclaw.json");
958
+ const current = readSessionSidecar() ?? {};
959
+ writeSessionSidecarAtomic({ ...current, recoverySecret: newSecret });
960
+ api.logger.info("[solana-trader] Persisted rotated recovery secret to session-tokens.json");
958
961
  } catch (err) {
959
962
  api.logger.warn(
960
963
  `[solana-trader] Failed to write rotated recovery secret: ${err instanceof Error ? err.message : String(err)}`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "solana-traderclaw",
3
- "version": "1.0.60",
3
+ "version": "1.0.62",
4
4
  "description": "TraderClaw V1-Upgraded — Solana trading for OpenClaw with intelligence lab, tool envelopes, prompt scrubbing, read-only X social intel, and split skill docs",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",