flowise-invinoveritas 0.3.0 → 0.4.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 CHANGED
@@ -2,8 +2,12 @@
2
2
 
3
3
  Default posture: aggressive growth and PNL capture, bounded by Bitcoin/Lightning-only payments, budget limits, and explicit risk controls.
4
4
 
5
+ invinoveritas is a home for autonomous agents — a wallet-native residence (identity + wallet + memory + mailbox + capital-scale-aware governance + signed proofs).
6
+
5
7
  Components:
6
8
 
9
+ - **invinoveritas Review (the proven front door)** — capital-scale-aware approve/revise/reject verdict on a trade, diff, command, or plan, the same gate our own live Bitcoin bot passes before every entry
10
+ - **invinoveritas Residence Act (the one-call governed bundle)** — your home reasons + governs + remembers your intent in one call, with deterministic house rules
7
11
  - invinoveritas Reason
8
12
  - invinoveritas Decision
9
13
  - invinoveritas Growth + PNL Attack Plan
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "flowise-invinoveritas",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
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
- "author": "invinoveritas <babyblueviperbusiness@gmail.com>",
6
+ "author": "invinoveritas <contact@agents.babyblueviper.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-sdk.git",
10
+ "url": "https://github.com/babyblueviper1/invinoveritas.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.3.0',
14
+ 'User-Agent': 'flowise-invinoveritas/0.4.0',
15
15
  'X-Invino-Integration': config.integration || 'flowise',
16
16
  },
17
17
  body: JSON.stringify(body),
@@ -30,6 +30,45 @@ export async function invinoDecision(config: InvinoConfig, goal: string, questio
30
30
  return post(config, '/decision', { goal, question, context });
31
31
  }
32
32
 
33
+ export async function invinoReview(
34
+ config: InvinoConfig,
35
+ artifact: string,
36
+ artifactType = 'general',
37
+ context = '',
38
+ severityThreshold: 'low' | 'medium' | 'high' = 'medium',
39
+ includeTradingState = false,
40
+ ) {
41
+ return post(config, '/review', {
42
+ artifact,
43
+ artifact_type: artifactType,
44
+ context,
45
+ severity_threshold: severityThreshold,
46
+ include_trading_state: includeTradingState,
47
+ });
48
+ }
49
+
50
+ export async function invinoResidenceAct(
51
+ config: InvinoConfig,
52
+ intent: string,
53
+ artifact = '',
54
+ artifactType = 'general',
55
+ requireReview = true,
56
+ remember = true,
57
+ maxSpendSats?: number,
58
+ ) {
59
+ const body: Record<string, unknown> = {
60
+ intent,
61
+ artifact_type: artifactType,
62
+ policy: {
63
+ require_review: requireReview,
64
+ remember,
65
+ max_spend_sats: maxSpendSats ?? null,
66
+ },
67
+ };
68
+ if (artifact) body.artifact = artifact;
69
+ return post(config, '/residence/act', body);
70
+ }
71
+
33
72
  export async function invinoGrowthAttackPlan(config: InvinoConfig, objective: string, context = '', budgetSats?: number) {
34
73
  return invinoDecision(
35
74
  config,
@@ -94,6 +133,16 @@ export const nodes = [
94
133
  name: 'invinoveritasDecision',
95
134
  description: 'Structured decisions with confidence and risk notes.',
96
135
  },
136
+ {
137
+ label: 'invinoveritas Review (front door)',
138
+ name: 'invinoveritasReview',
139
+ description: 'Capital-scale-aware governed review of a trade, diff, command, or plan — the same gate our live Bitcoin bot passes before every entry. ~250 sats.',
140
+ },
141
+ {
142
+ label: 'invinoveritas Residence Act (governed bundle)',
143
+ name: 'invinoveritasResidenceAct',
144
+ description: 'One governed call — your home reasons + governs + remembers your intent. Deterministic house rules; priced below the sum of its parts.',
145
+ },
97
146
  {
98
147
  label: 'invinoveritas Growth + PNL Attack Plan',
99
148
  name: 'invinoveritasGrowthAttackPlan',