@sherwoodagent/cli 0.51.0 → 0.51.1
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/{abis-RGCO5GHC.js → abis-Z6M6SRPX.js} +2 -2
- package/dist/{agent-ZPAZTJG3.js → agent-E5GHURKJ.js} +2 -2
- package/dist/{chat-MRTPUZ3X.js → chat-TD6V5LFD.js} +5 -5
- package/dist/{chunk-WMZEOR5W.js → chunk-2HNUJ7XH.js} +2 -2
- package/dist/{chunk-R7X33D2S.js → chunk-4OF4IZ6M.js} +2 -2
- package/dist/{chunk-D77JGXIV.js → chunk-J2FOCXF2.js} +1 -8
- package/dist/{chunk-D77JGXIV.js.map → chunk-J2FOCXF2.js.map} +1 -1
- package/dist/{chunk-E6LH2FJ6.js → chunk-ME6MUKGZ.js} +2 -2
- package/dist/{chunk-KJ35EF7N.js → chunk-T464VNRC.js} +2 -2
- package/dist/{chunk-IS2CLLUT.js → chunk-UYL6Q7BS.js} +2 -2
- package/dist/{eas-PEEWGSAO.js → eas-LHJF2UCG.js} +3 -3
- package/dist/{governor-MG5VVSU4.js → governor-JD4KZXDA.js} +3 -3
- package/dist/index.js +24 -32
- package/dist/index.js.map +1 -1
- package/dist/{price-WCCXWPDM.js → price-2PNKWY4D.js} +2 -2
- package/dist/{research-QBKISW2M.js → research-WBZU4QNU.js} +3 -3
- package/dist/{session-FPCPCVQX.js → session-IYT3N7MG.js} +5 -5
- package/dist/{trade-NO6CNWCA.js → trade-PTYLNJBU.js} +6 -6
- package/dist/{xmtp-ACB2W573.js → xmtp-ZACWHUI5.js} +3 -3
- package/package.json +1 -1
- /package/dist/{abis-RGCO5GHC.js.map → abis-Z6M6SRPX.js.map} +0 -0
- /package/dist/{agent-ZPAZTJG3.js.map → agent-E5GHURKJ.js.map} +0 -0
- /package/dist/{chat-MRTPUZ3X.js.map → chat-TD6V5LFD.js.map} +0 -0
- /package/dist/{chunk-WMZEOR5W.js.map → chunk-2HNUJ7XH.js.map} +0 -0
- /package/dist/{chunk-R7X33D2S.js.map → chunk-4OF4IZ6M.js.map} +0 -0
- /package/dist/{chunk-E6LH2FJ6.js.map → chunk-ME6MUKGZ.js.map} +0 -0
- /package/dist/{chunk-KJ35EF7N.js.map → chunk-T464VNRC.js.map} +0 -0
- /package/dist/{chunk-IS2CLLUT.js.map → chunk-UYL6Q7BS.js.map} +0 -0
- /package/dist/{eas-PEEWGSAO.js.map → eas-LHJF2UCG.js.map} +0 -0
- /package/dist/{governor-MG5VVSU4.js.map → governor-JD4KZXDA.js.map} +0 -0
- /package/dist/{price-WCCXWPDM.js.map → price-2PNKWY4D.js.map} +0 -0
- /package/dist/{research-QBKISW2M.js.map → research-WBZU4QNU.js.map} +0 -0
- /package/dist/{session-FPCPCVQX.js.map → session-IYT3N7MG.js.map} +0 -0
- /package/dist/{trade-NO6CNWCA.js.map → trade-PTYLNJBU.js.map} +0 -0
- /package/dist/{xmtp-ACB2W573.js.map → xmtp-ZACWHUI5.js.map} +0 -0
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
import "./chunk-2W4KGGPU.js";
|
|
12
12
|
import {
|
|
13
13
|
UNISWAP_QUOTER_V2_ABI
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-J2FOCXF2.js";
|
|
15
15
|
|
|
16
16
|
// src/lib/price.ts
|
|
17
17
|
import { encodeFunctionData, decodeFunctionResult, parseUnits, formatUnits } from "viem";
|
|
@@ -155,4 +155,4 @@ export {
|
|
|
155
155
|
getTokenPriceInAsset,
|
|
156
156
|
getTokenPricesInAsset
|
|
157
157
|
};
|
|
158
|
-
//# sourceMappingURL=price-
|
|
158
|
+
//# sourceMappingURL=price-2PNKWY4D.js.map
|
|
@@ -16,7 +16,7 @@ import ora from "ora";
|
|
|
16
16
|
import { confirm } from "@inquirer/prompts";
|
|
17
17
|
import { isAddress } from "viem";
|
|
18
18
|
async function loadXmtp() {
|
|
19
|
-
return import("./xmtp-
|
|
19
|
+
return import("./xmtp-ZACWHUI5.js");
|
|
20
20
|
}
|
|
21
21
|
var COST_ESTIMATES = {
|
|
22
22
|
messari: MESSARI_COST_ESTIMATE,
|
|
@@ -83,7 +83,7 @@ function formatValue(value) {
|
|
|
83
83
|
}
|
|
84
84
|
async function postResearch(syndicateName, result, prompt) {
|
|
85
85
|
const { pinJSON } = await import("./ipfs-IGXLLJCF.js");
|
|
86
|
-
const { createResearchAttestation, getEasScanUrl } = await import("./eas-
|
|
86
|
+
const { createResearchAttestation, getEasScanUrl } = await import("./eas-LHJF2UCG.js");
|
|
87
87
|
const xmtp = await loadXmtp();
|
|
88
88
|
const pinSpinner = ora("Pinning research result to IPFS...").start();
|
|
89
89
|
let resultUri;
|
|
@@ -312,4 +312,4 @@ function registerResearchCommands(program) {
|
|
|
312
312
|
export {
|
|
313
313
|
registerResearchCommands
|
|
314
314
|
};
|
|
315
|
-
//# sourceMappingURL=research-
|
|
315
|
+
//# sourceMappingURL=research-WBZU4QNU.js.map
|
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
} from "./chunk-W2ZUPR3W.js";
|
|
7
7
|
import {
|
|
8
8
|
resolveSyndicate
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-4OF4IZ6M.js";
|
|
10
10
|
import {
|
|
11
11
|
PROPOSAL_STATES,
|
|
12
12
|
getProposal
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-T464VNRC.js";
|
|
14
14
|
import {
|
|
15
15
|
SHERWOOD
|
|
16
16
|
} from "./chunk-FWC57PT7.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
} from "./chunk-2W4KGGPU.js";
|
|
24
24
|
import {
|
|
25
25
|
SYNDICATE_VAULT_ABI
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-J2FOCXF2.js";
|
|
27
27
|
import {
|
|
28
28
|
resolveMetadataSummary
|
|
29
29
|
} from "./chunk-2H6IGGKN.js";
|
|
@@ -187,7 +187,7 @@ async function enrichProposalEvents(events, metadataCache) {
|
|
|
187
187
|
|
|
188
188
|
// src/commands/session.ts
|
|
189
189
|
async function loadXmtp() {
|
|
190
|
-
return import("./xmtp-
|
|
190
|
+
return import("./xmtp-ZACWHUI5.js");
|
|
191
191
|
}
|
|
192
192
|
async function resolveGovernor(vaultAddress) {
|
|
193
193
|
const client = getPublicClient();
|
|
@@ -477,4 +477,4 @@ function registerSessionCommands(program) {
|
|
|
477
477
|
export {
|
|
478
478
|
registerSessionCommands
|
|
479
479
|
};
|
|
480
|
-
//# sourceMappingURL=session-
|
|
480
|
+
//# sourceMappingURL=session-IYT3N7MG.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
UniswapProvider,
|
|
6
6
|
getQuote
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2HNUJ7XH.js";
|
|
8
8
|
import {
|
|
9
9
|
chatCompletion
|
|
10
10
|
} from "./chunk-7HJXZ4NM.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
} from "./chunk-2W4KGGPU.js";
|
|
26
26
|
import {
|
|
27
27
|
ERC20_ABI
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-J2FOCXF2.js";
|
|
29
29
|
|
|
30
30
|
// src/commands/trade.ts
|
|
31
31
|
import chalk from "chalk";
|
|
@@ -334,7 +334,7 @@ async function getCurrentPrice(tokenAddress, tokenDecimals, feeTier) {
|
|
|
334
334
|
// src/commands/trade.ts
|
|
335
335
|
var uniswap = new UniswapProvider();
|
|
336
336
|
async function loadXmtp() {
|
|
337
|
-
return import("./xmtp-
|
|
337
|
+
return import("./xmtp-ZACWHUI5.js");
|
|
338
338
|
}
|
|
339
339
|
var ETH_ADDRESS = "0x0000000000000000000000000000000000000000";
|
|
340
340
|
var KNOWN_MEMECOINS = {
|
|
@@ -641,7 +641,7 @@ function registerTradeCommands(program) {
|
|
|
641
641
|
}
|
|
642
642
|
console.log(` Tx: ${chalk.dim(getExplorerUrl(txHash))}`);
|
|
643
643
|
try {
|
|
644
|
-
const { createTradeAttestation, getEasScanUrl } = await import("./eas-
|
|
644
|
+
const { createTradeAttestation, getEasScanUrl } = await import("./eas-LHJF2UCG.js");
|
|
645
645
|
const { getChainContracts } = await import("./config-REASKDIK.js");
|
|
646
646
|
const { getChain: getActiveChain } = await import("./network-3ZU7UBDU.js");
|
|
647
647
|
const vaultRecipient = getChainContracts(getActiveChain().id).vault;
|
|
@@ -769,7 +769,7 @@ function registerTradeCommands(program) {
|
|
|
769
769
|
}
|
|
770
770
|
console.log(` Tx: ${chalk.dim(getExplorerUrl(txHash))}`);
|
|
771
771
|
try {
|
|
772
|
-
const { createTradeAttestation, getEasScanUrl } = await import("./eas-
|
|
772
|
+
const { createTradeAttestation, getEasScanUrl } = await import("./eas-LHJF2UCG.js");
|
|
773
773
|
const { getChainContracts } = await import("./config-REASKDIK.js");
|
|
774
774
|
const { getChain: getActiveChain } = await import("./network-3ZU7UBDU.js");
|
|
775
775
|
const vaultRecipient = getChainContracts(getActiveChain().id).vault;
|
|
@@ -946,4 +946,4 @@ function sleep(ms) {
|
|
|
946
946
|
export {
|
|
947
947
|
registerTradeCommands
|
|
948
948
|
};
|
|
949
|
-
//# sourceMappingURL=trade-
|
|
949
|
+
//# sourceMappingURL=trade-PTYLNJBU.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getTextRecord
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4OF4IZ6M.js";
|
|
4
4
|
import "./chunk-FWC57PT7.js";
|
|
5
5
|
import {
|
|
6
6
|
getAccount
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
loadConfig,
|
|
16
16
|
saveConfig
|
|
17
17
|
} from "./chunk-2W4KGGPU.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-J2FOCXF2.js";
|
|
19
19
|
|
|
20
20
|
// src/lib/xmtp.ts
|
|
21
21
|
import fs from "fs";
|
|
@@ -281,4 +281,4 @@ export {
|
|
|
281
281
|
sendReaction,
|
|
282
282
|
streamMessages
|
|
283
283
|
};
|
|
284
|
-
//# sourceMappingURL=xmtp-
|
|
284
|
+
//# sourceMappingURL=xmtp-ZACWHUI5.js.map
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|