@continuumdao/ctm-mpc-defi 0.2.52 → 0.2.53
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/agent/catalog.cjs +11 -8
- package/dist/agent/catalog.cjs.map +1 -1
- package/dist/agent/catalog.js +11 -8
- package/dist/agent/catalog.js.map +1 -1
- package/dist/agent/skills/continuum-dao/SKILL.md +1 -1
- package/dist/protocols/evm/continuum-dao/index.cjs +10 -4
- package/dist/protocols/evm/continuum-dao/index.cjs.map +1 -1
- package/dist/protocols/evm/continuum-dao/index.d.ts +1 -1
- package/dist/protocols/evm/continuum-dao/index.js +10 -4
- package/dist/protocols/evm/continuum-dao/index.js.map +1 -1
- package/package.json +1 -1
package/dist/agent/catalog.js
CHANGED
|
@@ -570,7 +570,7 @@ function listContinuumDaoDefaultAssets() {
|
|
|
570
570
|
}
|
|
571
571
|
return out;
|
|
572
572
|
}
|
|
573
|
-
var CONTINUUM_DAO_PROTOCOL_ID, CONTINUUM_DAO_ETHEREUM_CHAIN_ID, CONTINUUM_DAO_LINEA_CHAIN_ID, CONTINUUM_DAO_LINEA_SEPOLIA_CHAIN_ID, CTM_TOKEN_NAME, CTM_TOKEN_SYMBOL, VECTM_TOKEN_NAME, VECTM_TOKEN_SYMBOL, CTM_TOKEN_DECIMALS, UNSET, CTM_TOKEN_ADDRESS, VOTING_ESCROW_LINEA_ADDRESS, VOTING_ESCROW_MARKETPLACE_LINEA_ADDRESS, CONTINUUM_DAO_MARKETPLACE_PROTOCOL_ID, CONTINUUM_DAO_DEPLOYMENTS;
|
|
573
|
+
var CONTINUUM_DAO_PROTOCOL_ID, CONTINUUM_DAO_ETHEREUM_CHAIN_ID, CONTINUUM_DAO_LINEA_CHAIN_ID, CONTINUUM_DAO_LINEA_SEPOLIA_CHAIN_ID, CTM_TOKEN_NAME, CTM_TOKEN_SYMBOL, VECTM_TOKEN_NAME, VECTM_TOKEN_SYMBOL, CTM_TOKEN_DECIMALS, UNSET, CTM_TOKEN_ADDRESS, VOTING_ESCROW_LINEA_ADDRESS, VOTING_ESCROW_MARKETPLACE_LINEA_ADDRESS, CONTINUUM_DAO_MARKETPLACE_PROTOCOL_ID, CONTINUUM_DAO_LINEA_GOVERNOR_ADDRESS, CONTINUUM_DAO_DEPLOYMENTS;
|
|
574
574
|
var init_constants2 = __esm({
|
|
575
575
|
"src/protocols/evm/continuum-dao/constants.ts"() {
|
|
576
576
|
CONTINUUM_DAO_PROTOCOL_ID = "continuum-dao";
|
|
@@ -596,7 +596,7 @@ var init_constants2 = __esm({
|
|
|
596
596
|
getAddress("0xe5D7C2a44FfDDf6b295A15c148167daaAf5Cf34f");
|
|
597
597
|
getAddress("0x176211869cA2b568f2A7D4EE941E073a821EE1ff");
|
|
598
598
|
CONTINUUM_DAO_MARKETPLACE_PROTOCOL_ID = "continuum-dao-marketplace";
|
|
599
|
-
getAddress("0x76FF2CB03175900F1D83328C82D27EA9aeaF2355");
|
|
599
|
+
CONTINUUM_DAO_LINEA_GOVERNOR_ADDRESS = getAddress("0x76FF2CB03175900F1D83328C82D27EA9aeaF2355");
|
|
600
600
|
getAddress("0x4800F9f1dC1b6daCA841B71E0531F547D374168E");
|
|
601
601
|
[
|
|
602
602
|
getAddress("0xd23eecBe0362F36b254F774C274823Cbfc482a10"),
|
|
@@ -607,7 +607,8 @@ var init_constants2 = __esm({
|
|
|
607
607
|
[CONTINUUM_DAO_LINEA_CHAIN_ID]: {
|
|
608
608
|
...UNSET,
|
|
609
609
|
ctm: CTM_TOKEN_ADDRESS,
|
|
610
|
-
votingEscrow: VOTING_ESCROW_LINEA_ADDRESS
|
|
610
|
+
votingEscrow: VOTING_ESCROW_LINEA_ADDRESS,
|
|
611
|
+
governor: CONTINUUM_DAO_LINEA_GOVERNOR_ADDRESS
|
|
611
612
|
},
|
|
612
613
|
[CONTINUUM_DAO_LINEA_SEPOLIA_CHAIN_ID]: { ...UNSET },
|
|
613
614
|
[CONTINUUM_DAO_ETHEREUM_CHAIN_ID]: {
|
|
@@ -4018,12 +4019,14 @@ var mcpContinuumDaoForumSignInEligibleOutputSchema = z.object({
|
|
|
4018
4019
|
tokenId: z.string().optional()
|
|
4019
4020
|
});
|
|
4020
4021
|
var mcpContinuumDaoForumSignInInputSchema = mcpMultisignInput({
|
|
4021
|
-
nodeKey: z.string().optional().describe(
|
|
4022
|
+
nodeKey: z.string().optional().describe(
|
|
4023
|
+
"Node key bound to this KeyGen. Always required on KeyGen forum sign-in, including when username is a custom name. The server fills it from this node when omitted. useNodeKeyUsername does not replace it."
|
|
4024
|
+
),
|
|
4022
4025
|
username: z.string().min(2).max(16).regex(/^[A-Za-z0-9._-]+$/).optional().describe(
|
|
4023
4026
|
"Custom forum username for a wallet or a KeyGen. Ask the operator before calling. 2\u201316 letters, numbers, . _ -."
|
|
4024
4027
|
),
|
|
4025
4028
|
useNodeKeyUsername: z.boolean().optional().describe(
|
|
4026
|
-
"Set true only after the operator declines a custom username. The forum assigns the first 16 characters of nodeKey."
|
|
4029
|
+
"Set true only after the operator declines a custom username. The forum assigns the first 16 characters of nodeKey as the username. Still pass nodeKey."
|
|
4027
4030
|
),
|
|
4028
4031
|
forumUrl: z.string().optional()
|
|
4029
4032
|
});
|
|
@@ -7177,11 +7180,11 @@ var MCP_PROTOCOL_TOOL_DEFINITIONS = [
|
|
|
7177
7180
|
actionId: "continuum-dao.forum-sign-in",
|
|
7178
7181
|
protocolId: "continuum-dao",
|
|
7179
7182
|
chainCategory: "evm",
|
|
7180
|
-
description: "Build an EIP-712 forum login multi-sign (no EVM tx). Refuses when this node already has a live forum session for the KeyGen (getForumSession plus forum_me loggedIn) and returns that ticket instead of creating a sign request. Checks current balanceOfNFT on an owned or attached veCTM against MultiSignAgentWallet.veCtmThresholdPower and refuses if that power is short, so other nodes never enter the sign loop. Ask the operator for a custom username (2\u201316 letters, numbers, . _ -) and pass it as username. If they decline, set useNodeKeyUsername true
|
|
7183
|
+
description: "Build an EIP-712 forum login multi-sign (no EVM tx). Refuses when this node already has a live forum session for the KeyGen (getForumSession plus forum_me loggedIn) and returns that ticket instead of creating a sign request. Checks current balanceOfNFT on an owned or attached veCTM against MultiSignAgentWallet.veCtmThresholdPower and refuses if that power is short, so other nodes never enter the sign loop. Always include nodeKey from this node; a custom username does not omit it. Ask the operator for a custom username (2\u201316 letters, numbers, . _ -) and pass it as username. If they decline, set useNodeKeyUsername true; the forum assigns the first 16 characters of the node key as the username. After Get Sig, node-app stores the ticket on the node. The forum stores the verified node key on that user, including when the user already exists, which is what allows MPA Wallet Chat.",
|
|
7181
7184
|
prerequisites: [
|
|
7182
7185
|
"keyGen",
|
|
7183
7186
|
"current balanceOfNFT on an owned or attached veCTM at or above MultiSignAgentWallet.veCtmThresholdPower",
|
|
7184
|
-
"username from the operator
|
|
7187
|
+
"nodeKey from this node, plus username from the operator or useNodeKeyUsername"
|
|
7185
7188
|
],
|
|
7186
7189
|
followUp: [...MCP_MULTISIGN_SUBMIT_FOLLOW_UP, "ctm_continuum_dao_forum_me"],
|
|
7187
7190
|
handler: { importPath: "protocols/evm/continuum-dao", exportName: "buildEvmMultisignBodyContinuumDaoForumSignIn" },
|
|
@@ -9664,7 +9667,7 @@ var CORE_MCP_TOOL_DEFINITIONS = [
|
|
|
9664
9667
|
actionId: "continuum-dao.forum-me",
|
|
9665
9668
|
protocolId: "continuum-dao",
|
|
9666
9669
|
chainCategory: "evm",
|
|
9667
|
-
description: "Current forum user, votes, canPropose (Governance), canPostIdea (Ideas), and canPostMpa (MPA Wallet Chat listings / mailbox).",
|
|
9670
|
+
description: "Current forum user, votes, canPropose (Governance), canPostIdea (Ideas), and canPostMpa (MPA Wallet Chat listings / mailbox). canPropose is governor getVotes(address, clock-1) >= proposalThreshold(). Null votes means that read failed \u2014 do not say the KeyGen has no veCTM. Attachment is get_ve_ctm_attach_status, not this flag.",
|
|
9668
9671
|
prerequisites: [],
|
|
9669
9672
|
followUp: [
|
|
9670
9673
|
"ctm_continuum_dao_forum_unread",
|