@neuroverseos/governance 0.3.0 → 0.3.3
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/.well-known/ai-plugin.json +34 -9
- package/AGENTS.md +72 -24
- package/README.md +352 -237
- package/dist/adapters/autoresearch.cjs +1152 -3
- package/dist/adapters/autoresearch.d.cts +11 -3
- package/dist/adapters/autoresearch.d.ts +11 -3
- package/dist/adapters/autoresearch.js +9 -4
- package/dist/adapters/deep-agents.cjs +1528 -0
- package/dist/adapters/deep-agents.d.cts +181 -0
- package/dist/adapters/deep-agents.d.ts +181 -0
- package/dist/adapters/deep-agents.js +17 -0
- package/dist/adapters/express.cjs +171 -32
- package/dist/adapters/express.d.cts +1 -1
- package/dist/adapters/express.d.ts +1 -1
- package/dist/adapters/express.js +5 -5
- package/dist/adapters/index.cjs +564 -121
- package/dist/adapters/index.d.cts +3 -1
- package/dist/adapters/index.d.ts +3 -1
- package/dist/adapters/index.js +38 -16
- package/dist/adapters/langchain.cjs +217 -57
- package/dist/adapters/langchain.d.cts +5 -5
- package/dist/adapters/langchain.d.ts +5 -5
- package/dist/adapters/langchain.js +6 -5
- package/dist/adapters/openai.cjs +219 -59
- package/dist/adapters/openai.d.cts +5 -5
- package/dist/adapters/openai.d.ts +5 -5
- package/dist/adapters/openai.js +6 -5
- package/dist/adapters/openclaw.cjs +217 -57
- package/dist/adapters/openclaw.d.cts +6 -6
- package/dist/adapters/openclaw.d.ts +6 -6
- package/dist/adapters/openclaw.js +6 -5
- package/dist/add-ROOZLU62.js +314 -0
- package/dist/behavioral-MJO34S6Q.js +118 -0
- package/dist/{bootstrap-GXVDZNF7.js → bootstrap-CQRZVOXK.js} +6 -4
- package/dist/bootstrap-emitter-Q7UIJZ2O.js +7 -0
- package/dist/bootstrap-parser-EEF36XDU.js +7 -0
- package/dist/browser.global.js +941 -0
- package/dist/{build-P42YFKQV.js → build-QKOBBC23.js} +7 -5
- package/dist/{chunk-COT5XS4V.js → chunk-3WQLXYTP.js} +17 -35
- package/dist/{chunk-ER62HNGF.js → chunk-4FLICVVA.js} +17 -37
- package/dist/chunk-5TPFNWRU.js +215 -0
- package/dist/chunk-5U2MQO5P.js +57 -0
- package/dist/{chunk-NF5POFCI.js → chunk-6S5CFQXY.js} +6 -4
- package/dist/{chunk-QPASI2BR.js → chunk-A7GKPPU7.js} +49 -10
- package/dist/{chunk-OGL7QXZS.js → chunk-B6OXJLJ5.js} +17 -3
- package/dist/{chunk-2PQU3VAN.js → chunk-BNKJPUPQ.js} +17 -35
- package/dist/chunk-BQZMOEML.js +43 -0
- package/dist/chunk-CNSO6XW5.js +207 -0
- package/dist/{chunk-JZPQGIKR.js → chunk-CTZHONLA.js} +65 -9
- package/dist/chunk-D2UCV5AK.js +326 -0
- package/dist/{chunk-XPDMYECO.js → chunk-EMQDLDAF.js} +1 -185
- package/dist/{chunk-GR6DGCZ2.js → chunk-F66BVUYB.js} +3 -3
- package/dist/{chunk-2NICNKOM.js → chunk-G7DJ6VOD.js} +5 -4
- package/dist/{chunk-4A7LISES.js → chunk-IS4WUH6Y.js} +45 -6
- package/dist/{chunk-MWDQ4MJB.js → chunk-MH7BT4VH.js} +5 -1
- package/dist/chunk-O5ABKEA7.js +304 -0
- package/dist/chunk-PVTQQS3Y.js +186 -0
- package/dist/{chunk-4QXB6PEO.js → chunk-QLPTHTVB.js} +37 -16
- package/dist/chunk-QWGCMQQD.js +16 -0
- package/dist/{chunk-T5EUJQE5.js → chunk-QXBFT7NI.js} +31 -2
- package/dist/{chunk-PDOZHZWL.js → chunk-TG6SEF24.js} +25 -4
- package/dist/chunk-U6U7EJZL.js +177 -0
- package/dist/{chunk-4JRYGIO7.js → chunk-W7LLXRGY.js} +110 -7
- package/dist/{chunk-BUWWN2NX.js → chunk-ZJTDUCC2.js} +9 -7
- package/dist/{chunk-FYS2CBUW.js → chunk-ZWI3NIXK.js} +10 -0
- package/dist/cli/neuroverse.cjs +5091 -2348
- package/dist/cli/neuroverse.js +52 -21
- package/dist/cli/plan.cjs +881 -41
- package/dist/cli/plan.js +7 -15
- package/dist/cli/run.cjs +289 -34
- package/dist/cli/run.js +4 -4
- package/dist/{configure-ai-TK67ZWZL.js → configure-ai-6TZ3MCSI.js} +1 -1
- package/dist/decision-flow-M63D47LO.js +61 -0
- package/dist/demo-G43RLCPK.js +469 -0
- package/dist/{derive-TLIV4OOU.js → derive-FJZVIPUZ.js} +5 -4
- package/dist/{doctor-XPDLEYXN.js → doctor-6BC6X2VO.js} +6 -4
- package/dist/equity-penalties-SG5IZQ7I.js +244 -0
- package/dist/{explain-IDCRWMPX.js → explain-RHBU2GBR.js} +6 -25
- package/dist/{guard-RV65TT4L.js → guard-AJCCGZMF.js} +8 -12
- package/dist/{guard-contract-WZx__PmU.d.cts → guard-contract-DqFcTScd.d.cts} +117 -5
- package/dist/{guard-contract-WZx__PmU.d.ts → guard-contract-DqFcTScd.d.ts} +117 -5
- package/dist/{guard-engine-JLTUARGU.js → guard-engine-PNR6MHCM.js} +3 -3
- package/dist/{impact-XPECYRLH.js → impact-3XVDSCBU.js} +5 -5
- package/dist/{improve-GPUBKTEA.js → improve-TQP4ECSY.js} +7 -26
- package/dist/index.cjs +5597 -4279
- package/dist/index.d.cts +597 -18
- package/dist/index.d.ts +597 -18
- package/dist/index.js +134 -41
- package/dist/{infer-world-7GVZWFX4.js → infer-world-IFXCACJ5.js} +1 -1
- package/dist/{init-PKPIYHYE.js → init-FYPV4SST.js} +1 -1
- package/dist/{init-world-VWMQZQC7.js → init-world-TI7ARHBT.js} +1 -1
- package/dist/mcp-server-5Y3ZM7TV.js +13 -0
- package/dist/{model-adapter-BB7G4MFI.js → model-adapter-VXEKB4LS.js} +1 -1
- package/dist/{playground-E664U4T6.js → playground-VZBNPPBO.js} +29 -19
- package/dist/{redteam-Z7WREJ44.js → redteam-MZPZD3EF.js} +4 -4
- package/dist/session-JYOARW54.js +15 -0
- package/dist/shared-7RLUHNMU.js +16 -0
- package/dist/shared-B8dvUUD8.d.cts +60 -0
- package/dist/shared-Dr5Wiay8.d.ts +60 -0
- package/dist/{simulate-VDOYQFRO.js → simulate-LJXYBC6M.js} +8 -33
- package/dist/{test-OGXJK4QU.js → test-BOOR4A5F.js} +4 -4
- package/dist/{trace-JVF67VR3.js → trace-PKV4KX56.js} +4 -4
- package/dist/{validate-LLBWVPGV.js → validate-RALX7CZS.js} +2 -2
- package/dist/{validate-engine-UIABSIHD.js → validate-engine-7ZXFVGF2.js} +1 -1
- package/dist/viz/assets/index-B8SaeJZZ.js +23 -0
- package/dist/viz/index.html +23 -0
- package/dist/{world-LAXO6DOX.js → world-BIP4GZBZ.js} +9 -11
- package/dist/world-loader-Y6HMQH2D.js +13 -0
- package/dist/worlds/coding-agent.nv-world.md +211 -0
- package/dist/worlds/research-agent.nv-world.md +169 -0
- package/dist/worlds/social-media.nv-world.md +198 -0
- package/dist/worlds/trading-agent.nv-world.md +218 -0
- package/examples/social-media-sim/bridge.py +209 -0
- package/examples/social-media-sim/simulation.py +927 -0
- package/package.json +30 -4
- package/policies/content-moderation-rules.txt +8 -0
- package/policies/marketing-rules.txt +8 -0
- package/policies/science-research-rules.txt +11 -0
- package/policies/social-media-rules.txt +7 -0
- package/policies/strict-rules.txt +8 -0
- package/policies/trading-rules.txt +8 -0
- package/simulate.html +1567 -0
- package/dist/chunk-YZFATT7X.js +0 -9
- package/dist/mcp-server-FPVSU32Z.js +0 -13
- package/dist/session-EKTRSR7C.js +0 -14
- package/dist/world-loader-HMPTOEA2.js +0 -9
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { W as WorldDefinition, G as GuardEvent } from '../guard-contract-
|
|
1
|
+
import { W as WorldDefinition, G as GuardEvent, a as GuardVerdict } from '../guard-contract-DqFcTScd.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Autoresearch Adapter — Bridge between NeuroVerse governance and autoresearch loops
|
|
@@ -54,6 +54,8 @@ interface AutoresearchGovernorConfig {
|
|
|
54
54
|
declare class AutoresearchGovernor {
|
|
55
55
|
private config;
|
|
56
56
|
private state;
|
|
57
|
+
private world?;
|
|
58
|
+
private engineOptions;
|
|
57
59
|
constructor(config: AutoresearchGovernorConfig);
|
|
58
60
|
/**
|
|
59
61
|
* Convert an experiment proposal into a GuardEvent for governance evaluation.
|
|
@@ -61,12 +63,14 @@ declare class AutoresearchGovernor {
|
|
|
61
63
|
proposalToGuardEvent(proposal: ExperimentProposal): GuardEvent;
|
|
62
64
|
/**
|
|
63
65
|
* Evaluate an experiment proposal against governance rules.
|
|
64
|
-
*
|
|
66
|
+
* Routes through the guard engine when a world is loaded,
|
|
67
|
+
* then layers on research-specific checks (budget, constraints, drift).
|
|
65
68
|
*/
|
|
66
69
|
evaluateProposal(proposal: ExperimentProposal): {
|
|
67
70
|
allowed: boolean;
|
|
68
71
|
reason: string;
|
|
69
72
|
warnings: string[];
|
|
73
|
+
verdict?: GuardVerdict;
|
|
70
74
|
};
|
|
71
75
|
/**
|
|
72
76
|
* Record an experiment result and update research state.
|
|
@@ -99,5 +103,9 @@ declare class AutoresearchGovernor {
|
|
|
99
103
|
*/
|
|
100
104
|
exportState(): ResearchState;
|
|
101
105
|
}
|
|
106
|
+
/**
|
|
107
|
+
* Create an AutoresearchGovernor with a world loaded from disk.
|
|
108
|
+
*/
|
|
109
|
+
declare function createAutoresearchGovernor(worldPath: string, config: Omit<AutoresearchGovernorConfig, 'world' | 'worldPath'>): Promise<AutoresearchGovernor>;
|
|
102
110
|
|
|
103
|
-
export { AutoresearchGovernor, type AutoresearchGovernorConfig, type ExperimentProposal, type ExperimentResult, type ResearchState };
|
|
111
|
+
export { AutoresearchGovernor, type AutoresearchGovernorConfig, type ExperimentProposal, type ExperimentResult, type ResearchState, createAutoresearchGovernor };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { W as WorldDefinition, G as GuardEvent } from '../guard-contract-
|
|
1
|
+
import { W as WorldDefinition, G as GuardEvent, a as GuardVerdict } from '../guard-contract-DqFcTScd.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Autoresearch Adapter — Bridge between NeuroVerse governance and autoresearch loops
|
|
@@ -54,6 +54,8 @@ interface AutoresearchGovernorConfig {
|
|
|
54
54
|
declare class AutoresearchGovernor {
|
|
55
55
|
private config;
|
|
56
56
|
private state;
|
|
57
|
+
private world?;
|
|
58
|
+
private engineOptions;
|
|
57
59
|
constructor(config: AutoresearchGovernorConfig);
|
|
58
60
|
/**
|
|
59
61
|
* Convert an experiment proposal into a GuardEvent for governance evaluation.
|
|
@@ -61,12 +63,14 @@ declare class AutoresearchGovernor {
|
|
|
61
63
|
proposalToGuardEvent(proposal: ExperimentProposal): GuardEvent;
|
|
62
64
|
/**
|
|
63
65
|
* Evaluate an experiment proposal against governance rules.
|
|
64
|
-
*
|
|
66
|
+
* Routes through the guard engine when a world is loaded,
|
|
67
|
+
* then layers on research-specific checks (budget, constraints, drift).
|
|
65
68
|
*/
|
|
66
69
|
evaluateProposal(proposal: ExperimentProposal): {
|
|
67
70
|
allowed: boolean;
|
|
68
71
|
reason: string;
|
|
69
72
|
warnings: string[];
|
|
73
|
+
verdict?: GuardVerdict;
|
|
70
74
|
};
|
|
71
75
|
/**
|
|
72
76
|
* Record an experiment result and update research state.
|
|
@@ -99,5 +103,9 @@ declare class AutoresearchGovernor {
|
|
|
99
103
|
*/
|
|
100
104
|
exportState(): ResearchState;
|
|
101
105
|
}
|
|
106
|
+
/**
|
|
107
|
+
* Create an AutoresearchGovernor with a world loaded from disk.
|
|
108
|
+
*/
|
|
109
|
+
declare function createAutoresearchGovernor(worldPath: string, config: Omit<AutoresearchGovernorConfig, 'world' | 'worldPath'>): Promise<AutoresearchGovernor>;
|
|
102
110
|
|
|
103
|
-
export { AutoresearchGovernor, type AutoresearchGovernorConfig, type ExperimentProposal, type ExperimentResult, type ResearchState };
|
|
111
|
+
export { AutoresearchGovernor, type AutoresearchGovernorConfig, type ExperimentProposal, type ExperimentResult, type ResearchState, createAutoresearchGovernor };
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
AutoresearchGovernor
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
AutoresearchGovernor,
|
|
3
|
+
createAutoresearchGovernor
|
|
4
|
+
} from "../chunk-QXBFT7NI.js";
|
|
5
|
+
import "../chunk-W7LLXRGY.js";
|
|
6
|
+
import "../chunk-QLPTHTVB.js";
|
|
7
|
+
import "../chunk-CTZHONLA.js";
|
|
8
|
+
import "../chunk-QWGCMQQD.js";
|
|
5
9
|
export {
|
|
6
|
-
AutoresearchGovernor
|
|
10
|
+
AutoresearchGovernor,
|
|
11
|
+
createAutoresearchGovernor
|
|
7
12
|
};
|