@continuumdao/ctm-mpc-defi 0.2.54 → 0.2.55
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 +10 -4
- package/dist/agent/catalog.cjs.map +1 -1
- package/dist/agent/catalog.js +10 -4
- package/dist/agent/catalog.js.map +1 -1
- package/dist/agent/skills/continuum-dao/SKILL.md +2 -2
- package/dist/protocols/evm/continuum-dao/index.cjs +19 -6
- package/dist/protocols/evm/continuum-dao/index.cjs.map +1 -1
- package/dist/protocols/evm/continuum-dao/index.js +19 -6
- package/dist/protocols/evm/continuum-dao/index.js.map +1 -1
- package/package.json +1 -1
package/dist/agent/catalog.cjs
CHANGED
|
@@ -3305,7 +3305,13 @@ var govActionSchema = zod.z.object({
|
|
|
3305
3305
|
target: evmAddressSchema,
|
|
3306
3306
|
value: zod.z.string().optional(),
|
|
3307
3307
|
signature: zod.z.string().optional(),
|
|
3308
|
-
inputs: zod.z.array(
|
|
3308
|
+
inputs: zod.z.array(
|
|
3309
|
+
zod.z.object({
|
|
3310
|
+
name: zod.z.string().optional().describe("Required. ABI parameter name for this input."),
|
|
3311
|
+
type: zod.z.string(),
|
|
3312
|
+
value: zod.z.string()
|
|
3313
|
+
})
|
|
3314
|
+
).optional()
|
|
3309
3315
|
});
|
|
3310
3316
|
var govOptionSchema = zod.z.object({
|
|
3311
3317
|
label: zod.z.string().min(1),
|
|
@@ -7126,7 +7132,7 @@ var MCP_PROTOCOL_TOOL_DEFINITIONS = [
|
|
|
7126
7132
|
actionId: "continuum-dao.propose-bravo",
|
|
7127
7133
|
protocolId: "continuum-dao",
|
|
7128
7134
|
chainCategory: "evm",
|
|
7129
|
-
description: "Build ContinuumDAO.propose for a Bravo (For/Against/Abstain) proposal and POST /proposals/create (pendingOnChain) before the multi-sign request is submitted. Requires description and type (0\u20134) matching the forum section. Refuses if getVotes(KeyGen) < live proposalThreshold(), the forum section does not match type, or propose() reverts. forumKey must be a Governance thread from ctm_continuum_dao_forum_create_topic. Ideas threads and the homepage are refused. Empty actions insert a no-op to the KeyGen address. Linea only. No billing legs. register_proposal
|
|
7135
|
+
description: "Build ContinuumDAO.propose for a Bravo (For/Against/Abstain) proposal and POST /proposals/create (pendingOnChain) before the multi-sign request is submitted. Requires description and type (0\u20134) matching the forum section. Each action input requires a name. Refuses if getVotes(KeyGen) < live proposalThreshold(), the forum section does not match type, or propose() reverts. forumKey must be a Governance thread from ctm_continuum_dao_forum_create_topic. Ideas threads and the homepage are refused. Empty actions insert a no-op to the KeyGen address. Linea only. No billing legs. register_proposal retries the catalog write and, on 409, updates the existing row instead of creating a second proposal.",
|
|
7130
7136
|
prerequisites: [
|
|
7131
7137
|
"keyGen",
|
|
7132
7138
|
"Linea RPC",
|
|
@@ -7144,7 +7150,7 @@ var MCP_PROTOCOL_TOOL_DEFINITIONS = [
|
|
|
7144
7150
|
actionId: "continuum-dao.propose-delta",
|
|
7145
7151
|
protocolId: "continuum-dao",
|
|
7146
7152
|
chainCategory: "evm",
|
|
7147
|
-
description: "Build ContinuumDAO.propose for a Delta multi-option proposal and POST /proposals/create (pendingOnChain) before the multi-sign request is submitted. Requires description and type (0\u20134) matching the forum section. Refuses if getVotes(KeyGen) < live proposalThreshold(), the forum section does not match type, or propose() reverts. forumKey must be a Governance thread from ctm_continuum_dao_forum_create_topic. Empty options get a no-op so indices increment. Linea only. No billing legs.",
|
|
7153
|
+
description: "Build ContinuumDAO.propose for a Delta multi-option proposal and POST /proposals/create (pendingOnChain) before the multi-sign request is submitted. Requires description and type (0\u20134) matching the forum section. Each action input requires a name. Refuses if getVotes(KeyGen) < live proposalThreshold(), the forum section does not match type, or propose() reverts. forumKey must be a Governance thread from ctm_continuum_dao_forum_create_topic. Empty options get a no-op so indices increment. Linea only. No billing legs. register_proposal retries the catalog write and, on 409, updates the existing row instead of creating a second proposal.",
|
|
7148
7154
|
prerequisites: [
|
|
7149
7155
|
"keyGen",
|
|
7150
7156
|
"at least 2 options",
|
|
@@ -9425,7 +9431,7 @@ var CORE_MCP_TOOL_DEFINITIONS = [
|
|
|
9425
9431
|
actionId: "continuum-dao.register-proposal",
|
|
9426
9432
|
protocolId: "continuum-dao",
|
|
9427
9433
|
chainCategory: "evm",
|
|
9428
|
-
description: "Retry POST /proposals/create
|
|
9434
|
+
description: "Retry the catalog write when propose did not leave a row. POST /proposals/create, and on 409 POST /proposals/repair to update title, description, forumKey, type, and actions or option labels and actions on the existing onchainId. Each action input requires a name. A Delta repair must use the on-chain nOptions and nWinners. Does not create a second proposal and does not revert a chain tx. The node signs with Ed25519.",
|
|
9429
9435
|
prerequisites: ["onchainId from hashProposal or ProposalCreated", "title", "proposer", "forumKey", "type", "configuration"],
|
|
9430
9436
|
followUp: [],
|
|
9431
9437
|
handler: { importPath: "protocols/evm/continuum-dao", exportName: "continuumDaoRegisterProposal" },
|