@finchtech/cli 0.5.4 → 0.5.5
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/README.md +6 -0
- package/dist/finch.js +85 -3
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -197,6 +197,12 @@ CLI 0.5.1 allows ordinary logout and wallet switching with unfinished transactio
|
|
|
197
197
|
|
|
198
198
|
CLI 0.5.2 names the rejected option, missing argument or unknown subcommand together with the command's usage instead of a generic schema message; every command already prints JSON, so there is no `--json` option. `finch wallet list` shows the current wallet and registered addresses offline. Failed `finch mcp doctor` network checks report `httpStatus` or `networkErrorCode`, so a TLS-intercepting proxy, DNS failure or timeout is distinguishable from a server outage. Its PROD authentication-chain help also lists Injective (`1776`). Upgrade the installed executable to receive these changes; updating the Skill or website alone does not apply them.
|
|
199
199
|
|
|
200
|
+
### Avalanche Agent transactions (0.5.5)
|
|
201
|
+
|
|
202
|
+
Use CLI 0.5.5 or newer for Agent wallet transactions on Avalanche C-Chain (`43114`). This release includes the reviewed Avalanche transaction adapter and the purchase-response contract for all reviewed Agent chains, including Injective (`1776`). Request the plan through Remote MCP, preserve its exact `chainId` and operation ID, and execute only the returned local action. Agent purchases use the deployment's USDC token; transaction gas on Avalanche uses AVAX. The CLI login authentication chain does not select a market transaction chain.
|
|
203
|
+
|
|
204
|
+
Upgrade while preserving the original wallet, Session and unfinished recovery journals. Re-read the same operation before resuming an uncertain transaction; do not create another purchase or rebroadcast a confirmed transaction. Avalanche Task creation remains closed by the server manifest; this CLI release does not open it.
|
|
205
|
+
|
|
200
206
|
### Injective Skill transactions (0.5.4)
|
|
201
207
|
|
|
202
208
|
CLI 0.5.4 supports Skill publication, acquisition, version updates, price/supply changes and recovery on Injective EVM (`1776`). The real transaction adapter now accepts the reviewed Injective chain definition; older executables can reject these plans before reaching RPC. Use the exact chain from the Remote MCP plan; prices and gas use INJ. Upgrade the executable while preserving existing recovery journals.
|
package/dist/finch.js
CHANGED
|
@@ -6619,7 +6619,7 @@ var init_package = __esm({
|
|
|
6619
6619
|
"package.json"() {
|
|
6620
6620
|
package_default = {
|
|
6621
6621
|
name: "@finchtech/cli",
|
|
6622
|
-
version: "0.5.
|
|
6622
|
+
version: "0.5.5",
|
|
6623
6623
|
description: "Finch Agent CLI for wallet custody, Session-owned execution, and MCP OAuth approval.",
|
|
6624
6624
|
type: "module",
|
|
6625
6625
|
bin: {
|
|
@@ -21980,6 +21980,46 @@ var init_agent_service = __esm({
|
|
|
21980
21980
|
paymentTokenSymbol: "USDC",
|
|
21981
21981
|
paymentTokenDecimals: 6
|
|
21982
21982
|
}
|
|
21983
|
+
},
|
|
21984
|
+
"43114": {
|
|
21985
|
+
enabled: true,
|
|
21986
|
+
network: {
|
|
21987
|
+
chainId: 43114,
|
|
21988
|
+
name: "Avalanche C-Chain",
|
|
21989
|
+
explorerUrl: "https://snowtrace.io",
|
|
21990
|
+
defaultRpcUrls: [
|
|
21991
|
+
"https://api.avax.network/ext/bc/C/rpc",
|
|
21992
|
+
"https://avalanche-c-chain-rpc.publicnode.com"
|
|
21993
|
+
]
|
|
21994
|
+
},
|
|
21995
|
+
sourceRepository: "FinchipAI/Finch-Agent-Service-Protocol",
|
|
21996
|
+
sourceCommit: "c5f7eb3e2f6a1f783cabf50c72cb7420d2e0e5b8",
|
|
21997
|
+
contracts: {
|
|
21998
|
+
protocol: "0xbd6eeacb63a0248df1ee0d38c641bd50aac96b67",
|
|
21999
|
+
protocolImplementation: "0x6e8360b46225f40ecd66ef7c2b7fbfa4fa72dc82",
|
|
22000
|
+
protocolProxyAdmin: "0x3e8fd4020f65b3cf04a2d7678eb83b9c45186c03",
|
|
22001
|
+
vault: "0x2078fbcc8205432477fa1c006a08e37182d73d8b",
|
|
22002
|
+
vaultImplementation: "0xad8999ae8a63fc30dac591dc613105dccbb74c99",
|
|
22003
|
+
vaultProxyAdmin: "0x30ba3ac69b4f0a78ad6285ec3b882928a87bafc1",
|
|
22004
|
+
paymentToken: "0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e"
|
|
22005
|
+
},
|
|
22006
|
+
authority: {
|
|
22007
|
+
admin: "0x4fcb985a020dc1dd8a5dfc4adf4606eac4f68075",
|
|
22008
|
+
treasury: "0xd5ca4d96a17723fd008b2c3f1a413cb0736a2848",
|
|
22009
|
+
settlementAttestor: "0x1dc1ccc1ebdcdd6c57a8c22776883b45c6824cf6",
|
|
22010
|
+
refundAttestor: "0x1dc1ccc1ebdcdd6c57a8c22776883b45c6824cf6",
|
|
22011
|
+
freezeKeeper: "0x1dc1ccc1ebdcdd6c57a8c22776883b45c6824cf6"
|
|
22012
|
+
},
|
|
22013
|
+
deployment: {
|
|
22014
|
+
firstBlock: "97507741",
|
|
22015
|
+
completedBlock: "97507776",
|
|
22016
|
+
confirmations: 2,
|
|
22017
|
+
deploymentHash: "0x3e808ff698f81bc01df4ab35290cdad2b83ef0c1928cf8241c81bb258b51d75f"
|
|
22018
|
+
},
|
|
22019
|
+
policy: {
|
|
22020
|
+
paymentTokenSymbol: "USDC",
|
|
22021
|
+
paymentTokenDecimals: 6
|
|
22022
|
+
}
|
|
21983
22023
|
}
|
|
21984
22024
|
}
|
|
21985
22025
|
}
|
|
@@ -22435,6 +22475,46 @@ var init_task_protocol = __esm({
|
|
|
22435
22475
|
paymentTokenSymbol: "USDC",
|
|
22436
22476
|
paymentTokenDecimals: 6
|
|
22437
22477
|
}
|
|
22478
|
+
},
|
|
22479
|
+
"43114": {
|
|
22480
|
+
enabled: true,
|
|
22481
|
+
creationOpen: false,
|
|
22482
|
+
network: {
|
|
22483
|
+
chainId: 43114,
|
|
22484
|
+
name: "Avalanche C-Chain",
|
|
22485
|
+
explorerUrl: "https://snowtrace.io",
|
|
22486
|
+
defaultRpcUrls: [
|
|
22487
|
+
"https://api.avax.network/ext/bc/C/rpc",
|
|
22488
|
+
"https://avalanche-c-chain-rpc.publicnode.com"
|
|
22489
|
+
]
|
|
22490
|
+
},
|
|
22491
|
+
sourceRepository: "FinchipAI/Finch-Task-Protocol",
|
|
22492
|
+
sourceCommit: "1a89d732e9b2e6a87c1e89a7fb6ad2966d32f934",
|
|
22493
|
+
abiSourceCommit: "1a89d732e9b2e6a87c1e89a7fb6ad2966d32f934",
|
|
22494
|
+
contracts: {
|
|
22495
|
+
protocol: "0x0678ac48214c3a61c577819468d9c25c615eae12",
|
|
22496
|
+
protocolImplementation: "0xc4111f795b5701ac1385eae5db349337a7e669fa",
|
|
22497
|
+
protocolProxyAdmin: "0xeb3a69f087d7aa85581b613e689050a392455c49",
|
|
22498
|
+
vault: "0xe4a402a0936b275ca8ad89cf7688cdbb756cbc82",
|
|
22499
|
+
vaultImplementation: "0x9460be4f979ec002723c6ffab2be8b953a776937",
|
|
22500
|
+
vaultProxyAdmin: "0xdda4eb2592bad9c228697507b93c3ab0d9e10386",
|
|
22501
|
+
paymentToken: "0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e"
|
|
22502
|
+
},
|
|
22503
|
+
authority: {
|
|
22504
|
+
admin: "0x4fcb985a020dc1dd8a5dfc4adf4606eac4f68075",
|
|
22505
|
+
treasury: "0xd5ca4d96a17723fd008b2c3f1a413cb0736a2848",
|
|
22506
|
+
awardAttestor: "0x1dc1ccc1ebdcdd6c57a8c22776883b45c6824cf6",
|
|
22507
|
+
freezeKeeper: "0x1dc1ccc1ebdcdd6c57a8c22776883b45c6824cf6"
|
|
22508
|
+
},
|
|
22509
|
+
deployment: {
|
|
22510
|
+
firstBlock: "97507648",
|
|
22511
|
+
completedBlock: "97507680",
|
|
22512
|
+
confirmations: 2
|
|
22513
|
+
},
|
|
22514
|
+
policy: {
|
|
22515
|
+
paymentTokenSymbol: "USDC",
|
|
22516
|
+
paymentTokenDecimals: 6
|
|
22517
|
+
}
|
|
22438
22518
|
}
|
|
22439
22519
|
}
|
|
22440
22520
|
}
|
|
@@ -29568,7 +29648,9 @@ var init_testnet_purchase_v1 = __esm({
|
|
|
29568
29648
|
});
|
|
29569
29649
|
testnetPurchaseTransactionResponseSchema = strictObjectSchema2({
|
|
29570
29650
|
operationId: canonicalUuidSchema2,
|
|
29571
|
-
|
|
29651
|
+
// Base Sepolia (test) plus every reviewed production Agent Service chain; must
|
|
29652
|
+
// match the deployment manifest or non-Base purchases fail response validation.
|
|
29653
|
+
chainId: { type: "string", enum: ["84532", "8453", "1776", "43114"] },
|
|
29572
29654
|
deploymentHash: hex32Schema,
|
|
29573
29655
|
paymentTokenAddress: evmAddressSchema,
|
|
29574
29656
|
totalPaidAtomic: positiveIntegerStringSchema2,
|
|
@@ -63104,7 +63186,7 @@ var init_custody_chains = __esm({
|
|
|
63104
63186
|
"use strict";
|
|
63105
63187
|
init_chains2();
|
|
63106
63188
|
CUSTODY_CHAINS = new Map(
|
|
63107
|
-
[base2, injective, baseSepolia].map((chain) => [chain.id, chain])
|
|
63189
|
+
[base2, avalanche, injective, baseSepolia].map((chain) => [chain.id, chain])
|
|
63108
63190
|
);
|
|
63109
63191
|
}
|
|
63110
63192
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finchtech/cli",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.5",
|
|
4
4
|
"description": "Finch Agent CLI for wallet custody, Session-owned execution, and MCP OAuth approval.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
"vitest": "4.1.10",
|
|
39
39
|
"@finch/agent-market-contracts": "0.1.0",
|
|
40
40
|
"@finch/deployment-manifest": "0.1.0",
|
|
41
|
-
"@finch/skill-market-contracts": "0.1.0",
|
|
42
41
|
"@finch/skill-content": "0.1.0",
|
|
43
|
-
"@finch/task-market-contracts": "0.1.0"
|
|
42
|
+
"@finch/task-market-contracts": "0.1.0",
|
|
43
|
+
"@finch/skill-market-contracts": "0.1.0"
|
|
44
44
|
},
|
|
45
45
|
"scripts": {
|
|
46
46
|
"build": "esbuild src/bootstrap.ts --bundle --platform=node --format=esm --target=node20 --outfile=dist/finch.js --banner:js=\"import { createRequire as createBundleRequire } from 'node:module'; const require = createBundleRequire(import.meta.url);\"",
|