@manifesto-ai/governance 5.1.0 → 5.1.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/dist/index.d.ts +1 -1
- package/dist/provider.d.ts +3 -3
- package/package.json +9 -9
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type { ActorAuthorityBinding, ActorId, ActorKind, ActorRef, AuthorityId, AuthorityKind, AuthorityPolicy, AuthorityRef, DecisionId, DecisionRecord, ErrorInfo, FinalDecision, GovernanceEvent, GovernanceEventSink, GovernanceEventType, IntentScope, PolicyCondition, PolicyRule, Proposal, ProposalId, ProposalStatus, QuorumRule, SourceKind, SourceRef, SupersedeReason, Vote, WaitingFor, } from "./types.js";
|
|
2
2
|
export type { GovernanceComposableManifesto, GovernanceConfig, GovernanceControlSurface, GovernanceExecutionConfig, GovernanceInstance, GovernanceProposalRuntime, } from "./runtime-types.js";
|
|
3
|
-
export { createNoopGovernanceEventSink
|
|
3
|
+
export { createNoopGovernanceEventSink } from "./types.js";
|
|
4
4
|
export { createInMemoryGovernanceStore } from "./store/in-memory-governance-store.js";
|
|
5
5
|
export { withGovernance } from "./with-governance.js";
|
package/dist/provider.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export type { ActorAuthorityBinding, ActorId, ActorKind, ActorRef, AuthorityId, AuthorityKind, AuthorityPolicy, AuthorityRef, DecisionId, DecisionRecord, ErrorInfo, ExecutionKey, ExecutionKeyContext, ExecutionKeyPolicy, FinalDecision, GovernanceEvent, GovernanceEventDispatcher, GovernanceEventSink, GovernanceEventType, GovernanceService, GovernanceStore, Intent, IntentBody, IntentInstance, IntentOrigin, IntentScope, PolicyCondition, PolicyRule, PreparedGovernanceCommit, Proposal, ProposalId, ProposalStatus, QuorumRule, SourceKind, SourceRef, SupersedeReason, Vote, WaitingFor, } from "./types.js";
|
|
2
2
|
export { createDecisionId, createExecutionKey, createNoopGovernanceEventSink, createProposalId, defaultExecutionKeyPolicy, toHostIntent, } from "./types.js";
|
|
3
3
|
export { computeIntentKey, createIntentInstance, createIntentInstanceSync, } from "./intent-instance.js";
|
|
4
|
-
export type { CreateIntentInstanceOptions
|
|
4
|
+
export type { CreateIntentInstanceOptions } from "./intent-instance.js";
|
|
5
5
|
export { INGRESS_STATUSES, EXECUTION_STAGE_STATUSES, TERMINAL_STATUSES, DECISION_TRANSITION_TARGETS, isValidTransition, getValidTransitions, isIngressStatus, isExecutionStageStatus, isTerminalStatus, transitionCreatesDecisionRecord, } from "./state-machine.js";
|
|
6
6
|
export { InMemoryGovernanceStore, createInMemoryGovernanceStore, } from "./store/in-memory-governance-store.js";
|
|
7
7
|
export { DefaultGovernanceService, createGovernanceService, } from "./service/governance-service.js";
|
|
8
|
-
export { createGovernanceEventDispatcher
|
|
9
|
-
export type { CreateGovernanceEventDispatcherOptions
|
|
8
|
+
export { createGovernanceEventDispatcher } from "./event-dispatcher.js";
|
|
9
|
+
export type { CreateGovernanceEventDispatcherOptions } from "./event-dispatcher.js";
|
|
10
10
|
export type { AuthorityHandler, HITLDecisionCallback, HITLPendingState, } from "./authority/types.js";
|
|
11
11
|
export { AutoApproveHandler, createAutoApproveHandler, } from "./authority/auto.js";
|
|
12
12
|
export { PolicyRulesHandler, createPolicyRulesHandler, type CustomConditionEvaluator, } from "./authority/policy.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@manifesto-ai/governance",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.1",
|
|
4
4
|
"description": "Manifesto Governance - decorator runtime for legitimacy, approval, and governed execution",
|
|
5
5
|
"author": "eggplantiny <eggplantiny@gmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -34,17 +34,17 @@
|
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
|
-
"@manifesto-ai/core": "^5.1.
|
|
37
|
+
"@manifesto-ai/core": "^5.1.1"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@manifesto-ai/sdk": "5.1.
|
|
41
|
-
"@manifesto-ai/lineage": "5.1.
|
|
40
|
+
"@manifesto-ai/sdk": "5.1.1",
|
|
41
|
+
"@manifesto-ai/lineage": "5.1.1"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"typescript": "^
|
|
45
|
-
"vite": "^8.0.
|
|
46
|
-
"vitest": "^4.1.
|
|
47
|
-
"@manifesto-ai/core": "5.1.
|
|
44
|
+
"typescript": "^6.0.3",
|
|
45
|
+
"vite": "^8.0.16",
|
|
46
|
+
"vitest": "^4.1.9",
|
|
47
|
+
"@manifesto-ai/core": "5.1.1",
|
|
48
48
|
"@manifesto-ai/cts-kit": "5.0.0"
|
|
49
49
|
},
|
|
50
50
|
"files": [
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"scripts": {
|
|
54
54
|
"build": "rm -rf dist && tsup && tsc -p tsconfig.build.json --emitDeclarationOnly --declarationMap false --outDir dist && node ../../scripts/check-public-surface.mjs packages/governance",
|
|
55
55
|
"clean": "rm -rf dist",
|
|
56
|
-
"lint": "node ../../
|
|
56
|
+
"lint": "node ../../scripts/run-biome.mjs check src",
|
|
57
57
|
"test": "pnpm run test:runtime && pnpm run test:types",
|
|
58
58
|
"test:runtime": "node ../../scripts/run-vitest.mjs run",
|
|
59
59
|
"test:types": "node ../../scripts/run-tsc.mjs -p tsconfig.types.json --noEmit",
|