@contractspec/example.locale-jurisdiction-gate 3.2.0 → 3.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.
@@ -1,62 +1,63 @@
1
- $ contractspec-bun-build prebuild
2
- $ bun run prebuild && bun run build:bundle && bun run build:types
3
- $ contractspec-bun-build prebuild
4
- $ contractspec-bun-build transpile
5
- [contractspec-bun-build] transpile target=bun root=src entries=15
6
- Bundled 15 modules in 34ms
7
-
8
- docs/index.js 1.64 KB (entry point)
9
- ./index.js 18.39 KB (entry point)
10
- ./locale-jurisdiction-gate.feature.js 1.1 KB (entry point)
11
- operations/index.js 6.95 KB (entry point)
12
- operations/assistant.js 6.95 KB (entry point)
13
- policy/index.js 2.0 KB (entry point)
14
- policy/types.js 8 bytes (entry point)
15
- docs/locale-jurisdiction-gate.docblock.js 1.64 KB (entry point)
16
- entities/index.js 3.89 KB (entry point)
17
- entities/models.js 3.89 KB (entry point)
18
- ./events.js 2.97 KB (entry point)
19
- ./example.js 1.1 KB (entry point)
20
- handlers/index.js 4.45 KB (entry point)
21
- handlers/demo.handlers.js 4.45 KB (entry point)
22
- policy/guard.js 2.0 KB (entry point)
23
-
24
- [contractspec-bun-build] transpile target=node root=src entries=15
25
- Bundled 15 modules in 23ms
26
-
27
- docs/index.js 1.63 KB (entry point)
28
- ./index.js 18.38 KB (entry point)
29
- ./locale-jurisdiction-gate.feature.js 1.1 KB (entry point)
30
- operations/index.js 6.94 KB (entry point)
31
- operations/assistant.js 6.94 KB (entry point)
32
- policy/index.js 2.0 KB (entry point)
33
- policy/types.js 0 KB (entry point)
34
- docs/locale-jurisdiction-gate.docblock.js 1.63 KB (entry point)
35
- entities/index.js 3.88 KB (entry point)
36
- entities/models.js 3.88 KB (entry point)
37
- ./events.js 2.96 KB (entry point)
38
- ./example.js 1.1 KB (entry point)
39
- handlers/index.js 4.44 KB (entry point)
40
- handlers/demo.handlers.js 4.44 KB (entry point)
41
- policy/guard.js 2.0 KB (entry point)
42
-
43
- [contractspec-bun-build] transpile target=browser root=src entries=15
44
- Bundled 15 modules in 17ms
45
-
46
- docs/index.js 1.63 KB (entry point)
47
- ./index.js 18.38 KB (entry point)
48
- ./locale-jurisdiction-gate.feature.js 1.1 KB (entry point)
49
- operations/index.js 6.94 KB (entry point)
50
- operations/assistant.js 6.94 KB (entry point)
51
- policy/index.js 2.0 KB (entry point)
52
- policy/types.js 0 KB (entry point)
53
- docs/locale-jurisdiction-gate.docblock.js 1.63 KB (entry point)
54
- entities/index.js 3.88 KB (entry point)
55
- entities/models.js 3.88 KB (entry point)
56
- ./events.js 2.96 KB (entry point)
57
- ./example.js 1.1 KB (entry point)
58
- handlers/index.js 4.44 KB (entry point)
59
- handlers/demo.handlers.js 4.44 KB (entry point)
60
- policy/guard.js 2.0 KB (entry point)
61
-
62
- $ contractspec-bun-build types
1
+
2
+ $ contractspec-bun-build prebuild
3
+ $ bun run prebuild && bun run build:bundle && bun run build:types
4
+ $ contractspec-bun-build prebuild
5
+ $ contractspec-bun-build transpile
6
+ [contractspec-bun-build] transpile target=bun root=src entries=15
7
+ Bundled 15 modules in 9ms
8
+
9
+ docs/index.js 1.64 KB (entry point)
10
+ ./index.js 18.69 KB (entry point)
11
+ ./locale-jurisdiction-gate.feature.js 1.38 KB (entry point)
12
+ operations/index.js 6.95 KB (entry point)
13
+ operations/assistant.js 6.95 KB (entry point)
14
+ policy/index.js 2.0 KB (entry point)
15
+ policy/types.js 8 bytes (entry point)
16
+ docs/locale-jurisdiction-gate.docblock.js 1.64 KB (entry point)
17
+ entities/index.js 3.89 KB (entry point)
18
+ entities/models.js 3.89 KB (entry point)
19
+ ./events.js 2.97 KB (entry point)
20
+ ./example.js 1.1 KB (entry point)
21
+ handlers/index.js 4.45 KB (entry point)
22
+ handlers/demo.handlers.js 4.45 KB (entry point)
23
+ policy/guard.js 2.0 KB (entry point)
24
+
25
+ [contractspec-bun-build] transpile target=node root=src entries=15
26
+ Bundled 15 modules in 10ms
27
+
28
+ docs/index.js 1.63 KB (entry point)
29
+ ./index.js 18.68 KB (entry point)
30
+ ./locale-jurisdiction-gate.feature.js 1.37 KB (entry point)
31
+ operations/index.js 6.94 KB (entry point)
32
+ operations/assistant.js 6.94 KB (entry point)
33
+ policy/index.js 2.0 KB (entry point)
34
+ policy/types.js 0 KB (entry point)
35
+ docs/locale-jurisdiction-gate.docblock.js 1.63 KB (entry point)
36
+ entities/index.js 3.88 KB (entry point)
37
+ entities/models.js 3.88 KB (entry point)
38
+ ./events.js 2.96 KB (entry point)
39
+ ./example.js 1.1 KB (entry point)
40
+ handlers/index.js 4.44 KB (entry point)
41
+ handlers/demo.handlers.js 4.44 KB (entry point)
42
+ policy/guard.js 2.0 KB (entry point)
43
+
44
+ [contractspec-bun-build] transpile target=browser root=src entries=15
45
+ Bundled 15 modules in 7ms
46
+
47
+ docs/index.js 1.63 KB (entry point)
48
+ ./index.js 18.68 KB (entry point)
49
+ ./locale-jurisdiction-gate.feature.js 1.37 KB (entry point)
50
+ operations/index.js 6.94 KB (entry point)
51
+ operations/assistant.js 6.94 KB (entry point)
52
+ policy/index.js 2.0 KB (entry point)
53
+ policy/types.js 0 KB (entry point)
54
+ docs/locale-jurisdiction-gate.docblock.js 1.63 KB (entry point)
55
+ entities/index.js 3.88 KB (entry point)
56
+ entities/models.js 3.88 KB (entry point)
57
+ ./events.js 2.96 KB (entry point)
58
+ ./example.js 1.1 KB (entry point)
59
+ handlers/index.js 4.44 KB (entry point)
60
+ handlers/demo.handlers.js 4.44 KB (entry point)
61
+ policy/guard.js 2.0 KB (entry point)
62
+
63
+ $ contractspec-bun-build types
@@ -1 +1,2 @@
1
- $ contractspec-bun-build prebuild
1
+
2
+ $ contractspec-bun-build prebuild
package/CHANGELOG.md CHANGED
@@ -1,5 +1,30 @@
1
1
  # @contractspec/example.locale-jurisdiction-gate
2
2
 
3
+ ## 3.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 0ee467a: feat: improve ai and customization
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [0ee467a]
12
+ - Updated dependencies [56ee8e6]
13
+ - @contractspec/lib.contracts-spec@3.4.0
14
+ - @contractspec/lib.schema@3.4.0
15
+
16
+ ## 3.3.0
17
+
18
+ ### Minor Changes
19
+
20
+ - 890a0da: fix: stability improvements
21
+
22
+ ### Patch Changes
23
+
24
+ - Updated dependencies [890a0da]
25
+ - @contractspec/lib.contracts-spec@3.3.0
26
+ - @contractspec/lib.schema@3.3.0
27
+
3
28
  ## 3.2.0
4
29
 
5
30
  ### Minor Changes
@@ -506,7 +506,15 @@ var LocaleJurisdictionGateFeature = defineFeature({
506
506
  presentationsTargets: [],
507
507
  capabilities: {
508
508
  requires: [{ key: "knowledge", version: "1.0.0" }]
509
- }
509
+ },
510
+ policies: [{ key: "locale-jurisdiction-gate.policy.gate", version: "1.0.0" }],
511
+ knowledge: [
512
+ { key: "locale-jurisdiction-gate.knowledge.rules", version: "1.0.0" }
513
+ ],
514
+ docs: [
515
+ "docs.examples.locale-jurisdiction-gate.goal",
516
+ "docs.examples.locale-jurisdiction-gate.reference"
517
+ ]
510
518
  });
511
519
  export {
512
520
  validateEnvelope,
@@ -25,7 +25,15 @@ var LocaleJurisdictionGateFeature = defineFeature({
25
25
  presentationsTargets: [],
26
26
  capabilities: {
27
27
  requires: [{ key: "knowledge", version: "1.0.0" }]
28
- }
28
+ },
29
+ policies: [{ key: "locale-jurisdiction-gate.policy.gate", version: "1.0.0" }],
30
+ knowledge: [
31
+ { key: "locale-jurisdiction-gate.knowledge.rules", version: "1.0.0" }
32
+ ],
33
+ docs: [
34
+ "docs.examples.locale-jurisdiction-gate.goal",
35
+ "docs.examples.locale-jurisdiction-gate.reference"
36
+ ]
29
37
  });
30
38
  export {
31
39
  LocaleJurisdictionGateFeature
package/dist/index.js CHANGED
@@ -507,7 +507,15 @@ var LocaleJurisdictionGateFeature = defineFeature({
507
507
  presentationsTargets: [],
508
508
  capabilities: {
509
509
  requires: [{ key: "knowledge", version: "1.0.0" }]
510
- }
510
+ },
511
+ policies: [{ key: "locale-jurisdiction-gate.policy.gate", version: "1.0.0" }],
512
+ knowledge: [
513
+ { key: "locale-jurisdiction-gate.knowledge.rules", version: "1.0.0" }
514
+ ],
515
+ docs: [
516
+ "docs.examples.locale-jurisdiction-gate.goal",
517
+ "docs.examples.locale-jurisdiction-gate.reference"
518
+ ]
511
519
  });
512
520
  export {
513
521
  validateEnvelope,
@@ -26,7 +26,15 @@ var LocaleJurisdictionGateFeature = defineFeature({
26
26
  presentationsTargets: [],
27
27
  capabilities: {
28
28
  requires: [{ key: "knowledge", version: "1.0.0" }]
29
- }
29
+ },
30
+ policies: [{ key: "locale-jurisdiction-gate.policy.gate", version: "1.0.0" }],
31
+ knowledge: [
32
+ { key: "locale-jurisdiction-gate.knowledge.rules", version: "1.0.0" }
33
+ ],
34
+ docs: [
35
+ "docs.examples.locale-jurisdiction-gate.goal",
36
+ "docs.examples.locale-jurisdiction-gate.reference"
37
+ ]
30
38
  });
31
39
  export {
32
40
  LocaleJurisdictionGateFeature
@@ -506,7 +506,15 @@ var LocaleJurisdictionGateFeature = defineFeature({
506
506
  presentationsTargets: [],
507
507
  capabilities: {
508
508
  requires: [{ key: "knowledge", version: "1.0.0" }]
509
- }
509
+ },
510
+ policies: [{ key: "locale-jurisdiction-gate.policy.gate", version: "1.0.0" }],
511
+ knowledge: [
512
+ { key: "locale-jurisdiction-gate.knowledge.rules", version: "1.0.0" }
513
+ ],
514
+ docs: [
515
+ "docs.examples.locale-jurisdiction-gate.goal",
516
+ "docs.examples.locale-jurisdiction-gate.reference"
517
+ ]
510
518
  });
511
519
  export {
512
520
  validateEnvelope,
@@ -25,7 +25,15 @@ var LocaleJurisdictionGateFeature = defineFeature({
25
25
  presentationsTargets: [],
26
26
  capabilities: {
27
27
  requires: [{ key: "knowledge", version: "1.0.0" }]
28
- }
28
+ },
29
+ policies: [{ key: "locale-jurisdiction-gate.policy.gate", version: "1.0.0" }],
30
+ knowledge: [
31
+ { key: "locale-jurisdiction-gate.knowledge.rules", version: "1.0.0" }
32
+ ],
33
+ docs: [
34
+ "docs.examples.locale-jurisdiction-gate.goal",
35
+ "docs.examples.locale-jurisdiction-gate.reference"
36
+ ]
29
37
  });
30
38
  export {
31
39
  LocaleJurisdictionGateFeature
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/example.locale-jurisdiction-gate",
3
- "version": "3.2.0",
3
+ "version": "3.4.0",
4
4
  "description": "Example: enforce locale + jurisdiction + kbSnapshotId + allowed scope for assistant calls (fail-closed).",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
@@ -162,13 +162,13 @@
162
162
  "typecheck": "tsc --noEmit"
163
163
  },
164
164
  "dependencies": {
165
- "@contractspec/lib.contracts-spec": "3.2.0",
166
- "@contractspec/lib.schema": "3.2.0"
165
+ "@contractspec/lib.contracts-spec": "3.4.0",
166
+ "@contractspec/lib.schema": "3.4.0"
167
167
  },
168
168
  "devDependencies": {
169
- "@contractspec/tool.typescript": "3.2.0",
169
+ "@contractspec/tool.typescript": "3.4.0",
170
170
  "typescript": "^5.9.3",
171
- "@contractspec/tool.bun": "3.2.0"
171
+ "@contractspec/tool.bun": "3.4.0"
172
172
  },
173
173
  "publishConfig": {
174
174
  "access": "public",
@@ -27,4 +27,15 @@ export const LocaleJurisdictionGateFeature = defineFeature({
27
27
  capabilities: {
28
28
  requires: [{ key: 'knowledge', version: '1.0.0' }],
29
29
  },
30
+
31
+ policies: [{ key: 'locale-jurisdiction-gate.policy.gate', version: '1.0.0' }],
32
+
33
+ knowledge: [
34
+ { key: 'locale-jurisdiction-gate.knowledge.rules', version: '1.0.0' },
35
+ ],
36
+
37
+ docs: [
38
+ 'docs.examples.locale-jurisdiction-gate.goal',
39
+ 'docs.examples.locale-jurisdiction-gate.reference',
40
+ ],
30
41
  });