@manifesto-ai/governance 3.12.1 → 3.12.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/dist/index.d.ts +1 -1
- package/dist/runtime-types.d.ts +1 -0
- package/package.json +5 -5
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
|
-
export type { GovernanceComposableManifesto, GovernanceConfig, GovernanceExecutionConfig, GovernanceInstance, } from "./runtime-types.js";
|
|
2
|
+
export type { GovernanceComposableManifesto, GovernanceConfig, GovernanceExecutionConfig, GovernanceInstance, GovernanceProposalRuntime, } from "./runtime-types.js";
|
|
3
3
|
export type { ProposalSettlement, ProposalSettlementReport, WaitForProposalOptions, } from "./wait-for-proposal.js";
|
|
4
4
|
export { createNoopGovernanceEventSink, } from "./types.js";
|
|
5
5
|
export { createInMemoryGovernanceStore } from "./store/in-memory-governance-store.js";
|
package/dist/runtime-types.d.ts
CHANGED
|
@@ -29,6 +29,7 @@ export type GovernanceInstance<T extends ManifestoDomainShape> = Omit<LineageIns
|
|
|
29
29
|
readonly getActorBinding: (actorId: ActorId) => Promise<ActorAuthorityBinding | null>;
|
|
30
30
|
readonly getDecisionRecord: (decisionId: DecisionId) => Promise<DecisionRecord | null>;
|
|
31
31
|
};
|
|
32
|
+
export type GovernanceProposalRuntime<T extends ManifestoDomainShape> = Pick<GovernanceInstance<T>, "proposeAsync">;
|
|
32
33
|
export type GovernanceComposableManifesto<T extends ManifestoDomainShape> = Omit<ComposableManifesto<T, GovernedComposableLaws>, "activate"> & {
|
|
33
34
|
activate(): GovernanceInstance<T>;
|
|
34
35
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@manifesto-ai/governance",
|
|
3
|
-
"version": "3.12.
|
|
3
|
+
"version": "3.12.3",
|
|
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": "^2.
|
|
37
|
+
"@manifesto-ai/core": "^2.13.0"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@manifesto-ai/lineage": "3.11.
|
|
41
|
-
"@manifesto-ai/sdk": "3.17.
|
|
40
|
+
"@manifesto-ai/lineage": "3.11.3",
|
|
41
|
+
"@manifesto-ai/sdk": "3.17.3"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"typescript": "^5.9.3",
|
|
45
45
|
"vite": "^8.0.8",
|
|
46
46
|
"vitest": "^4.1.4",
|
|
47
|
-
"@manifesto-ai/core": "2.
|
|
47
|
+
"@manifesto-ai/core": "2.13.0",
|
|
48
48
|
"@manifesto-ai/cts-kit": "0.1.0"
|
|
49
49
|
},
|
|
50
50
|
"files": [
|