@venlyfinance/settlement-mcp 0.4.0 → 0.4.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/CHANGELOG.md +4 -0
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/dist/frontend.js +20 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -100,3 +100,7 @@ Frontend toolset: the judgment layer for interface assembly.
|
|
|
100
100
|
### Removed
|
|
101
101
|
|
|
102
102
|
- **`stage_transfer`**, as promised in 0.3.0's deprecation: use `create_fiat_transfer`, whose inputs match the OpenAPI contract directly. The skills pack is updated accordingly.
|
|
103
|
+
|
|
104
|
+
## 0.4.1 – 2026-08-07
|
|
105
|
+
|
|
106
|
+
- `venly://frontend/agents` now carries the full cold-start recipe, learned from a fresh-agent build run: Tailwind + path-alias prerequisites before `shadcn init`, the non-interactive `-y -b radix -p nova` flags, that blocks land under `components/venly/` at the project root (relative imports, not the `@/` alias), that `shadcn add` auto-installs the npm dependencies, and the `.js`-extension bundler note.
|
package/dist/constants.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** Shared constants. The default environment is MOCK so an unconfigured run
|
|
2
2
|
* never touches real infrastructure; staging/production are explicit. */
|
|
3
3
|
export declare const SERVER_NAME = "venly-finance-mcp-server";
|
|
4
|
-
export declare const SERVER_VERSION = "0.4.
|
|
4
|
+
export declare const SERVER_VERSION = "0.4.1";
|
|
5
5
|
export declare const ENVIRONMENT_FLAG = "VENLY_ENV";
|
|
6
6
|
export type VenlyEnvironment = "mock" | "staging" | "production";
|
|
7
7
|
export declare function resolveVenlyEnvironment(env: Record<string, string | undefined>): VenlyEnvironment;
|
package/dist/constants.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** Shared constants. The default environment is MOCK so an unconfigured run
|
|
2
2
|
* never touches real infrastructure; staging/production are explicit. */
|
|
3
3
|
export const SERVER_NAME = "venly-finance-mcp-server";
|
|
4
|
-
export const SERVER_VERSION = "0.4.
|
|
4
|
+
export const SERVER_VERSION = "0.4.1";
|
|
5
5
|
export const ENVIRONMENT_FLAG = "VENLY_ENV";
|
|
6
6
|
export function resolveVenlyEnvironment(env) {
|
|
7
7
|
// Default is MOCK (since 0.3.0): the mock-first product must not point at
|
package/dist/frontend.js
CHANGED
|
@@ -94,11 +94,27 @@ export function reviewScreenSource(source) {
|
|
|
94
94
|
}
|
|
95
95
|
const AGENTS_TEXT = `# Composition rules for coding agents building on the Venly UI registry
|
|
96
96
|
|
|
97
|
-
Delivery:
|
|
97
|
+
Delivery: the shadcn CLI expects a working shadcn environment BEFORE any
|
|
98
|
+
registry install. On a fresh Vite/React app that means, in order:
|
|
99
|
+
1. Install Tailwind (\`npm i tailwindcss @tailwindcss/vite\`) and wire the
|
|
100
|
+
\`@/\` path alias in tsconfig + vite config - \`shadcn init\` refuses to
|
|
101
|
+
run without both.
|
|
102
|
+
2. \`npx shadcn@latest init -y -b radix -p nova\` (the -b/-p flags keep it
|
|
103
|
+
non-interactive; the kit is plain React + Radix-compatible, so any base
|
|
104
|
+
works - it never imports base-library components itself).
|
|
105
|
+
3. Add the registry once to components.json -
|
|
98
106
|
{ "registries": { "@venlyfinance": "${REGISTRY_URL_TEMPLATE}" } }
|
|
99
|
-
|
|
100
|
-
Each block auto-installs its components, the venly-tokens file
|
|
101
|
-
@venlyfinance/react
|
|
107
|
+
4. \`npx shadcn@latest add @venlyfinance/receive @venlyfinance/send @venlyfinance/activity -y -o\`.
|
|
108
|
+
Each block auto-installs its components, the venly-tokens file AND its
|
|
109
|
+
npm dependencies (@venlyfinance/react, @venlyfinance/sdk, TanStack
|
|
110
|
+
Query) - no separate npm install step is needed.
|
|
111
|
+
|
|
112
|
+
Install layout: files land under \`components/venly/\` at the PROJECT ROOT
|
|
113
|
+
(not src/), preserving their relative imports - import them with a relative
|
|
114
|
+
path (e.g. \`../components/venly/blocks/receive.js\`), not the \`@/\` alias.
|
|
115
|
+
The sources use TypeScript-style \`.js\` extensions on .tsx imports: fine
|
|
116
|
+
under Vite/esbuild/Next; webpack needs \`extensionAlias\`. Import the
|
|
117
|
+
installed venly-tokens css once at the app root.
|
|
102
118
|
|
|
103
119
|
1. Never hand-roll API calls, auth, retries, or transfer state - every read
|
|
104
120
|
is a hook, every regulated lifecycle is a flow machine from
|
package/package.json
CHANGED