usertrust-acs-adapter 1.4.0 → 2.0.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/dist/index.d.ts CHANGED
@@ -1,9 +1,9 @@
1
- export { ACS_BUDGET_REASONS, ACS_DECISIONS, isAcsDecision, runtimeError, } from "./vocabulary.js";
2
- export type { AcsBudgetsEnvelope, AcsDecision, AcsVerdict } from "./vocabulary.js";
3
- export { actionIdentity, assertApprovalMatches, bindApproval, canonicalJson, IdentityMismatchError, } from "./identity.js";
4
- export type { AcsApproval } from "./identity.js";
5
- export { CompositeEvaluator } from "./composite.js";
6
1
  export type { AcsAction, CompositeResult, PolicyDecider } from "./composite.js";
7
- export { createMockGovernor, mockPolicyDecider, runDemo } from "./mock.js";
2
+ export { CompositeEvaluator } from "./composite.js";
3
+ export type { AcsApproval } from "./identity.js";
4
+ export { actionIdentity, assertApprovalMatches, bindApproval, canonicalJson, IdentityMismatchError, } from "./identity.js";
8
5
  export type { DemoStep } from "./mock.js";
6
+ export { createMockGovernor, mockPolicyDecider, runDemo } from "./mock.js";
7
+ export type { AcsBudgetsEnvelope, AcsDecision, AcsVerdict } from "./vocabulary.js";
8
+ export { ACS_BUDGET_REASONS, ACS_DECISIONS, isAcsDecision, runtimeError, } from "./vocabulary.js";
9
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,kBAAkB,EAClB,aAAa,EACb,aAAa,EACb,YAAY,GACZ,MAAM,iBAAiB,CAAC;AACzB,YAAY,EAAE,kBAAkB,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACnF,OAAO,EACN,cAAc,EACd,qBAAqB,EACrB,YAAY,EACZ,aAAa,EACb,qBAAqB,GACrB,MAAM,eAAe,CAAC;AACvB,YAAY,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACpD,YAAY,EAAE,SAAS,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAChF,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAC3E,YAAY,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,SAAS,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAChF,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACpD,YAAY,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EACN,cAAc,EACd,qBAAqB,EACrB,YAAY,EACZ,aAAa,EACb,qBAAqB,GACrB,MAAM,eAAe,CAAC;AACvB,YAAY,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAC3E,YAAY,EAAE,kBAAkB,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACnF,OAAO,EACN,kBAAkB,EAClB,aAAa,EACb,aAAa,EACb,YAAY,GACZ,MAAM,iBAAiB,CAAC"}
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- export { ACS_BUDGET_REASONS, ACS_DECISIONS, isAcsDecision, runtimeError, } from "./vocabulary.js";
2
- export { actionIdentity, assertApprovalMatches, bindApproval, canonicalJson, IdentityMismatchError, } from "./identity.js";
3
1
  export { CompositeEvaluator } from "./composite.js";
2
+ export { actionIdentity, assertApprovalMatches, bindApproval, canonicalJson, IdentityMismatchError, } from "./identity.js";
4
3
  export { createMockGovernor, mockPolicyDecider, runDemo } from "./mock.js";
4
+ export { ACS_BUDGET_REASONS, ACS_DECISIONS, isAcsDecision, runtimeError, } from "./vocabulary.js";
5
5
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,kBAAkB,EAClB,aAAa,EACb,aAAa,EACb,YAAY,GACZ,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACN,cAAc,EACd,qBAAqB,EACrB,YAAY,EACZ,aAAa,EACb,qBAAqB,GACrB,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAEpD,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAEpD,OAAO,EACN,cAAc,EACd,qBAAqB,EACrB,YAAY,EACZ,aAAa,EACb,qBAAqB,GACrB,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAE3E,OAAO,EACN,kBAAkB,EAClB,aAAa,EACb,aAAa,EACb,YAAY,GACZ,MAAM,iBAAiB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "usertrust-acs-adapter",
3
- "version": "1.4.0",
3
+ "version": "2.0.0",
4
4
  "description": "ACS/AGT composite-evaluator adapter: external policy decides, the usertrust ledger reserves",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Usertools, Inc. <hello@usertools.ai> (https://usertrust.ai)",
@@ -11,7 +11,15 @@
11
11
  "directory": "packages/acs-adapter"
12
12
  },
13
13
  "bugs": "https://github.com/usertools-ai/usertrust/issues",
14
- "keywords": ["ai", "governance", "agent", "acs", "agt", "policy", "adapter"],
14
+ "keywords": [
15
+ "ai",
16
+ "governance",
17
+ "agent",
18
+ "acs",
19
+ "agt",
20
+ "policy",
21
+ "adapter"
22
+ ],
15
23
  "type": "module",
16
24
  "main": "dist/index.js",
17
25
  "types": "dist/index.d.ts",
@@ -25,7 +33,9 @@
25
33
  "build": "tsc -b",
26
34
  "prepublishOnly": "tsc -b"
27
35
  },
28
- "files": ["dist"],
36
+ "files": [
37
+ "dist"
38
+ ],
29
39
  "dependencies": {
30
40
  "usertrust": "*"
31
41
  }