solana-traderclaw 1.0.89 → 1.0.90
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/dist/index.js +2 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -32,7 +32,6 @@ import {
|
|
|
32
32
|
generateBulletinDigest,
|
|
33
33
|
generateDecisionDigest,
|
|
34
34
|
generateEntitlementsDigest,
|
|
35
|
-
generateStateMd,
|
|
36
35
|
resolveMemoryDir,
|
|
37
36
|
resolveWorkspaceRoot
|
|
38
37
|
} from "./chunk-JO3BXAUQ.js";
|
|
@@ -3905,7 +3904,7 @@ ${String(params.summary)}
|
|
|
3905
3904
|
const stateFile = path.join(stateDir, `${bootAgentId}.json`);
|
|
3906
3905
|
const stateData = readJsonFile(stateFile);
|
|
3907
3906
|
if (stateData) {
|
|
3908
|
-
const stateMd =
|
|
3907
|
+
const stateMd = generateMemoryMd(bootAgentId, stateData.state || null);
|
|
3909
3908
|
context.bootstrapFiles.push({
|
|
3910
3909
|
name: `${bootAgentId}-state.md`,
|
|
3911
3910
|
path: `state/${bootAgentId}-state.md`,
|
|
@@ -4124,7 +4123,7 @@ Context compaction triggered. STATE.md synced from last persisted state. Decisio
|
|
|
4124
4123
|
const stateFile = path.join(stateDir, `${assembleAgentId}.json`);
|
|
4125
4124
|
const stateData = readJsonFile(stateFile);
|
|
4126
4125
|
if (stateData?.state) {
|
|
4127
|
-
lines.push(
|
|
4126
|
+
lines.push(generateMemoryMd(assembleAgentId, stateData.state));
|
|
4128
4127
|
}
|
|
4129
4128
|
} catch {
|
|
4130
4129
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "solana-traderclaw",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.90",
|
|
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",
|