@cmdoss/agent-pass-plugin 0.1.2-dev.21.1 → 0.1.2-dev.23.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/mcp.js +7 -2
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/public/assets/agent-pass-plugin-client.js +4 -4
- package/public/assets/agent-pass-plugin-sdk.js +1 -1
- package/public/styles/plans.css +15 -0
- package/public/styles/review.css +99 -0
- package/skills/agent-pass-plugin-trading/SKILL.md +2 -2
package/dist/mcp.js
CHANGED
|
@@ -133,7 +133,7 @@ server.registerTool("testnet_capabilities", {
|
|
|
133
133
|
annotations: readOnly,
|
|
134
134
|
}, () => api("/api/testnet/capabilities"));
|
|
135
135
|
server.registerTool("create_testnet_plan", {
|
|
136
|
-
description: "Create a Sui Testnet Agent Pass draft using the owner's explicit address, direction, decimal input/budget/daily cap, owner-selected demo USDC per SUI price bound, whole-day
|
|
136
|
+
description: "Create a Sui Testnet Agent Pass draft using the owner's explicit address, direction, decimal input/budget/daily cap, owner-selected demo USDC per SUI price bound, whole-day permission window (durationDays), venue and gas caps. This creates no pass or transaction. Request authorization separately, show exact official rules, wait for the owner signature, then Start only with explicit intent. Never invent the price bound. No mainnet.",
|
|
137
137
|
inputSchema: {
|
|
138
138
|
expectedOwner: z.string().regex(/^0x[0-9a-fA-F]{64}$/),
|
|
139
139
|
botId: z.enum(["steady-dca", "price-watch"]),
|
|
@@ -143,7 +143,12 @@ server.registerTool("create_testnet_plan", {
|
|
|
143
143
|
dailyLimitIn: z.string(),
|
|
144
144
|
limitPrice: z.string(),
|
|
145
145
|
intervalSeconds: z.number().int().min(5).max(86400),
|
|
146
|
-
durationDays: z
|
|
146
|
+
durationDays: z
|
|
147
|
+
.number()
|
|
148
|
+
.int()
|
|
149
|
+
.min(1)
|
|
150
|
+
.max(7)
|
|
151
|
+
.describe("Permission window in whole days (1-7): how long the strategy may submit trades within the approved limits. Sent to the official SDK propose_authorization as days; after the owner signs, the plan uses the SDK expiry verified on chain. Not the check interval and not service runtime. Expiry stops new submissions only; submitted transactions still reconcile and holdings stay in the owner wallet. Start does not reset it."),
|
|
147
152
|
slippageBps: z.number().int().min(1).max(500),
|
|
148
153
|
venue: z.enum(["cetus", "deepbook"]),
|
|
149
154
|
gasSui: z.string(),
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cmdoss/agent-pass-plugin",
|
|
3
|
-
"version": "0.1.2-dev.
|
|
3
|
+
"version": "0.1.2-dev.23.1",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@cmdoss/agent-pass-plugin",
|
|
9
|
-
"version": "0.1.2-dev.
|
|
9
|
+
"version": "0.1.2-dev.23.1",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@fastify/static": "10.1.10",
|
|
12
12
|
"@modelcontextprotocol/sdk": "1.32.2",
|
package/package.json
CHANGED