@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.js
CHANGED
|
@@ -3302,7 +3302,13 @@ var govActionSchema = z.object({
|
|
|
3302
3302
|
target: evmAddressSchema,
|
|
3303
3303
|
value: z.string().optional(),
|
|
3304
3304
|
signature: z.string().optional(),
|
|
3305
|
-
inputs: z.array(
|
|
3305
|
+
inputs: z.array(
|
|
3306
|
+
z.object({
|
|
3307
|
+
name: z.string().optional().describe("Required. ABI parameter name for this input."),
|
|
3308
|
+
type: z.string(),
|
|
3309
|
+
value: z.string()
|
|
3310
|
+
})
|
|
3311
|
+
).optional()
|
|
3306
3312
|
});
|
|
3307
3313
|
var govOptionSchema = z.object({
|
|
3308
3314
|
label: z.string().min(1),
|
|
@@ -7123,7 +7129,7 @@ var MCP_PROTOCOL_TOOL_DEFINITIONS = [
|
|
|
7123
7129
|
actionId: "continuum-dao.propose-bravo",
|
|
7124
7130
|
protocolId: "continuum-dao",
|
|
7125
7131
|
chainCategory: "evm",
|
|
7126
|
-
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
|
|
7132
|
+
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.",
|
|
7127
7133
|
prerequisites: [
|
|
7128
7134
|
"keyGen",
|
|
7129
7135
|
"Linea RPC",
|
|
@@ -7141,7 +7147,7 @@ var MCP_PROTOCOL_TOOL_DEFINITIONS = [
|
|
|
7141
7147
|
actionId: "continuum-dao.propose-delta",
|
|
7142
7148
|
protocolId: "continuum-dao",
|
|
7143
7149
|
chainCategory: "evm",
|
|
7144
|
-
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.",
|
|
7150
|
+
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.",
|
|
7145
7151
|
prerequisites: [
|
|
7146
7152
|
"keyGen",
|
|
7147
7153
|
"at least 2 options",
|
|
@@ -9422,7 +9428,7 @@ var CORE_MCP_TOOL_DEFINITIONS = [
|
|
|
9422
9428
|
actionId: "continuum-dao.register-proposal",
|
|
9423
9429
|
protocolId: "continuum-dao",
|
|
9424
9430
|
chainCategory: "evm",
|
|
9425
|
-
description: "Retry POST /proposals/create
|
|
9431
|
+
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.",
|
|
9426
9432
|
prerequisites: ["onchainId from hashProposal or ProposalCreated", "title", "proposer", "forumKey", "type", "configuration"],
|
|
9427
9433
|
followUp: [],
|
|
9428
9434
|
handler: { importPath: "protocols/evm/continuum-dao", exportName: "continuumDaoRegisterProposal" },
|