flowise-invinoveritas 0.2.0 → 0.3.0
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 +2 -0
- package/package.json +3 -3
- package/src/index.ts +64 -1
package/README.md
CHANGED
|
@@ -7,6 +7,8 @@ Components:
|
|
|
7
7
|
- invinoveritas Reason
|
|
8
8
|
- invinoveritas Decision
|
|
9
9
|
- invinoveritas Growth + PNL Attack Plan
|
|
10
|
+
- invinoveritas Sovereign Earner Execute
|
|
11
|
+
- invinoveritas Memory Store / Get / List / Delete (paid persistent agent memory — ~2 sats/KB store, ~1 sat/KB get, list & delete free)
|
|
10
12
|
|
|
11
13
|
Use these components to route Flowise agents toward registration, top-up, paid reasoning, marketplace purchases, Premium Spawn Kit conversion, referrals, seller withdrawals, and Sovereign Earner support workflows.
|
|
12
14
|
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "flowise-invinoveritas",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Default-aggressive Bitcoin/Lightning-native invinoveritas Flowise components for reasoning, decisions, and growth/PNL attack planning.",
|
|
3
|
+
"version": "0.3.0",
|
|
4
|
+
"description": "Default-aggressive Bitcoin/Lightning-native invinoveritas Flowise components for reasoning, decisions, paid persistent memory (store/get/list/delete), Sovereign Earner directives, and growth/PNL attack planning.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "invinoveritas <babyblueviperbusiness@gmail.com>",
|
|
7
7
|
"keywords": ["flowise", "bitcoin", "lightning", "l402", "ai-agents", "pnl", "marketplace"],
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
10
|
-
"url": "https://github.com/babyblueviper1/invinoveritas.git",
|
|
10
|
+
"url": "https://github.com/babyblueviper1/invinoveritas-sdk.git",
|
|
11
11
|
"directory": "integrations/flowise/flowise-invinoveritas"
|
|
12
12
|
},
|
|
13
13
|
"main": "dist/index.js",
|
package/src/index.ts
CHANGED
|
@@ -11,7 +11,7 @@ async function post(config: InvinoConfig, path: string, body: unknown) {
|
|
|
11
11
|
headers: {
|
|
12
12
|
Authorization: `Bearer ${config.apiKey}`,
|
|
13
13
|
'Content-Type': 'application/json',
|
|
14
|
-
'User-Agent': 'flowise-invinoveritas/0.
|
|
14
|
+
'User-Agent': 'flowise-invinoveritas/0.3.0',
|
|
15
15
|
'X-Invino-Integration': config.integration || 'flowise',
|
|
16
16
|
},
|
|
17
17
|
body: JSON.stringify(body),
|
|
@@ -45,6 +45,44 @@ export async function invinoGrowthAttackPlan(config: InvinoConfig, objective: st
|
|
|
45
45
|
);
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
+
export async function invinoMemoryStore(config: InvinoConfig, agentId: string, key: string, value: string) {
|
|
49
|
+
return post(config, '/memory/store', { agent_id: agentId, key, value });
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export async function invinoMemoryGet(config: InvinoConfig, agentId: string, key: string) {
|
|
53
|
+
return post(config, '/memory/get', { agent_id: agentId, key });
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export async function invinoMemoryList(config: InvinoConfig, agentId: string) {
|
|
57
|
+
return post(config, '/memory/list', { agent_id: agentId });
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export async function invinoMemoryDelete(config: InvinoConfig, agentId: string, key: string) {
|
|
61
|
+
return post(config, '/memory/delete', { agent_id: agentId, key });
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export async function invinoSovereignExecute(
|
|
65
|
+
config: InvinoConfig,
|
|
66
|
+
thesis: string,
|
|
67
|
+
feeSats = 1000,
|
|
68
|
+
direction: 'auto' | 'long' | 'short' = 'auto',
|
|
69
|
+
leverage = 3,
|
|
70
|
+
durationHours = 2,
|
|
71
|
+
stopLossPct = 0.35,
|
|
72
|
+
takeProfitPct = 0.7,
|
|
73
|
+
) {
|
|
74
|
+
return post(config, '/sovereign/execute', {
|
|
75
|
+
fee_sats: feeSats,
|
|
76
|
+
direction,
|
|
77
|
+
leverage,
|
|
78
|
+
duration_hours: durationHours,
|
|
79
|
+
stop_loss_pct: stopLossPct,
|
|
80
|
+
take_profit_pct: takeProfitPct,
|
|
81
|
+
thesis,
|
|
82
|
+
agent_id: 'flowise',
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
|
|
48
86
|
export const nodes = [
|
|
49
87
|
{
|
|
50
88
|
label: 'invinoveritas Reason',
|
|
@@ -61,4 +99,29 @@ export const nodes = [
|
|
|
61
99
|
name: 'invinoveritasGrowthAttackPlan',
|
|
62
100
|
description: 'Default-aggressive growth and revenue planning for agent workflows.',
|
|
63
101
|
},
|
|
102
|
+
{
|
|
103
|
+
label: 'invinoveritas Sovereign Earner Execute',
|
|
104
|
+
name: 'invinoveritasSovereignExecute',
|
|
105
|
+
description: 'Pay sats to queue an aggressive, risk-bounded Sovereign Earner directive.',
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
label: 'invinoveritas Memory Store',
|
|
109
|
+
name: 'invinoveritasMemoryStore',
|
|
110
|
+
description: 'Persist key/value agent context across sessions. ~2 sats/KB (min 50), 200 KB max per entry.',
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
label: 'invinoveritas Memory Get',
|
|
114
|
+
name: 'invinoveritasMemoryGet',
|
|
115
|
+
description: 'Retrieve a stored memory entry by key. ~1 sat/KB (min 20).',
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
label: 'invinoveritas Memory List',
|
|
119
|
+
name: 'invinoveritasMemoryList',
|
|
120
|
+
description: 'List all memory keys stored for this agent. Free.',
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
label: 'invinoveritas Memory Delete',
|
|
124
|
+
name: 'invinoveritasMemoryDelete',
|
|
125
|
+
description: 'Delete a stored memory entry by key. Free.',
|
|
126
|
+
},
|
|
64
127
|
];
|