@cleocode/contracts 2026.3.65 → 2026.3.67

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.
Files changed (193) hide show
  1. package/README.md +0 -0
  2. package/dist/adapter.d.ts +0 -0
  3. package/dist/adapter.d.ts.map +0 -0
  4. package/dist/adapter.js +0 -0
  5. package/dist/adapter.js.map +0 -0
  6. package/dist/archive.d.ts +0 -0
  7. package/dist/archive.d.ts.map +0 -0
  8. package/dist/archive.js +0 -0
  9. package/dist/archive.js.map +0 -0
  10. package/dist/brain.d.ts +0 -0
  11. package/dist/brain.d.ts.map +0 -0
  12. package/dist/brain.js +0 -0
  13. package/dist/brain.js.map +0 -0
  14. package/dist/capabilities.d.ts +0 -0
  15. package/dist/capabilities.d.ts.map +0 -0
  16. package/dist/capabilities.js +0 -0
  17. package/dist/capabilities.js.map +0 -0
  18. package/dist/config.d.ts +34 -0
  19. package/dist/config.d.ts.map +1 -1
  20. package/dist/config.js +0 -0
  21. package/dist/config.js.map +0 -0
  22. package/dist/context-monitor.d.ts +0 -0
  23. package/dist/context-monitor.d.ts.map +0 -0
  24. package/dist/context-monitor.js +0 -0
  25. package/dist/context-monitor.js.map +0 -0
  26. package/dist/data-accessor.d.ts +0 -0
  27. package/dist/data-accessor.d.ts.map +0 -0
  28. package/dist/data-accessor.js +0 -0
  29. package/dist/data-accessor.js.map +0 -0
  30. package/dist/discovery.d.ts +0 -0
  31. package/dist/discovery.d.ts.map +0 -0
  32. package/dist/discovery.js +0 -0
  33. package/dist/discovery.js.map +0 -0
  34. package/dist/errors.d.ts +0 -0
  35. package/dist/errors.d.ts.map +0 -0
  36. package/dist/errors.js +0 -0
  37. package/dist/errors.js.map +0 -0
  38. package/dist/exit-codes.d.ts +0 -0
  39. package/dist/exit-codes.d.ts.map +0 -0
  40. package/dist/exit-codes.js +0 -0
  41. package/dist/exit-codes.js.map +0 -0
  42. package/dist/hooks.d.ts +0 -0
  43. package/dist/hooks.d.ts.map +0 -0
  44. package/dist/hooks.js +0 -0
  45. package/dist/hooks.js.map +0 -0
  46. package/dist/index.d.ts +0 -0
  47. package/dist/index.d.ts.map +0 -0
  48. package/dist/index.js +0 -0
  49. package/dist/index.js.map +0 -0
  50. package/dist/install.d.ts +0 -0
  51. package/dist/install.d.ts.map +0 -0
  52. package/dist/install.js +0 -0
  53. package/dist/install.js.map +0 -0
  54. package/dist/lafs.d.ts +0 -0
  55. package/dist/lafs.d.ts.map +0 -0
  56. package/dist/lafs.js +0 -0
  57. package/dist/lafs.js.map +0 -0
  58. package/dist/memory.d.ts +0 -0
  59. package/dist/memory.d.ts.map +0 -0
  60. package/dist/memory.js +0 -0
  61. package/dist/memory.js.map +0 -0
  62. package/dist/operations/index.d.ts +0 -0
  63. package/dist/operations/index.d.ts.map +0 -0
  64. package/dist/operations/index.js +0 -0
  65. package/dist/operations/index.js.map +0 -0
  66. package/dist/operations/issues.d.ts +0 -0
  67. package/dist/operations/issues.d.ts.map +0 -0
  68. package/dist/operations/issues.js +0 -0
  69. package/dist/operations/issues.js.map +0 -0
  70. package/dist/operations/lifecycle.d.ts +0 -0
  71. package/dist/operations/lifecycle.d.ts.map +0 -0
  72. package/dist/operations/lifecycle.js +0 -0
  73. package/dist/operations/lifecycle.js.map +0 -0
  74. package/dist/operations/orchestrate.d.ts +0 -0
  75. package/dist/operations/orchestrate.d.ts.map +0 -0
  76. package/dist/operations/orchestrate.js +0 -0
  77. package/dist/operations/orchestrate.js.map +0 -0
  78. package/dist/operations/release.d.ts +0 -0
  79. package/dist/operations/release.d.ts.map +0 -0
  80. package/dist/operations/release.js +0 -0
  81. package/dist/operations/release.js.map +0 -0
  82. package/dist/operations/research.d.ts +0 -0
  83. package/dist/operations/research.d.ts.map +0 -0
  84. package/dist/operations/research.js +0 -0
  85. package/dist/operations/research.js.map +0 -0
  86. package/dist/operations/session.d.ts +0 -0
  87. package/dist/operations/session.d.ts.map +0 -0
  88. package/dist/operations/session.js +0 -0
  89. package/dist/operations/session.js.map +0 -0
  90. package/dist/operations/skills.d.ts +0 -0
  91. package/dist/operations/skills.d.ts.map +0 -0
  92. package/dist/operations/skills.js +0 -0
  93. package/dist/operations/skills.js.map +0 -0
  94. package/dist/operations/system.d.ts +0 -0
  95. package/dist/operations/system.d.ts.map +0 -0
  96. package/dist/operations/system.js +0 -0
  97. package/dist/operations/system.js.map +0 -0
  98. package/dist/operations/tasks.d.ts +0 -0
  99. package/dist/operations/tasks.d.ts.map +0 -0
  100. package/dist/operations/tasks.js +0 -0
  101. package/dist/operations/tasks.js.map +0 -0
  102. package/dist/operations/validate.d.ts +0 -0
  103. package/dist/operations/validate.d.ts.map +0 -0
  104. package/dist/operations/validate.js +0 -0
  105. package/dist/operations/validate.js.map +0 -0
  106. package/dist/provider-paths.d.ts +0 -0
  107. package/dist/provider-paths.d.ts.map +0 -0
  108. package/dist/provider-paths.js +0 -0
  109. package/dist/provider-paths.js.map +0 -0
  110. package/dist/results.d.ts +0 -0
  111. package/dist/results.d.ts.map +0 -0
  112. package/dist/results.js +0 -0
  113. package/dist/results.js.map +0 -0
  114. package/dist/session.d.ts +0 -0
  115. package/dist/session.d.ts.map +0 -0
  116. package/dist/session.js +0 -0
  117. package/dist/session.js.map +0 -0
  118. package/dist/spawn-types.d.ts +0 -0
  119. package/dist/spawn-types.d.ts.map +0 -0
  120. package/dist/spawn-types.js +0 -0
  121. package/dist/spawn-types.js.map +0 -0
  122. package/dist/spawn.d.ts +0 -0
  123. package/dist/spawn.d.ts.map +0 -0
  124. package/dist/spawn.js +0 -0
  125. package/dist/spawn.js.map +0 -0
  126. package/dist/status-registry.d.ts +0 -0
  127. package/dist/status-registry.d.ts.map +0 -0
  128. package/dist/status-registry.js +0 -0
  129. package/dist/status-registry.js.map +0 -0
  130. package/dist/task-record.d.ts +0 -0
  131. package/dist/task-record.d.ts.map +0 -0
  132. package/dist/task-record.js +0 -0
  133. package/dist/task-record.js.map +0 -0
  134. package/dist/task-sync.d.ts +0 -0
  135. package/dist/task-sync.d.ts.map +0 -0
  136. package/dist/task-sync.js +0 -0
  137. package/dist/task-sync.js.map +0 -0
  138. package/dist/task.d.ts +0 -0
  139. package/dist/task.d.ts.map +0 -0
  140. package/dist/task.js +0 -0
  141. package/dist/task.js.map +0 -0
  142. package/dist/tessera.d.ts +0 -0
  143. package/dist/tessera.d.ts.map +0 -0
  144. package/dist/tessera.js +0 -0
  145. package/dist/tessera.js.map +0 -0
  146. package/dist/transport.d.ts +0 -0
  147. package/dist/transport.d.ts.map +0 -0
  148. package/dist/transport.js +0 -0
  149. package/dist/transport.js.map +0 -0
  150. package/dist/warp-chain.d.ts +0 -0
  151. package/dist/warp-chain.d.ts.map +0 -0
  152. package/dist/warp-chain.js +0 -0
  153. package/dist/warp-chain.js.map +0 -0
  154. package/package.json +6 -6
  155. package/src/adapter.ts +0 -0
  156. package/src/archive.ts +0 -0
  157. package/src/brain.ts +0 -0
  158. package/src/capabilities.ts +0 -0
  159. package/src/config.ts +39 -0
  160. package/src/context-monitor.ts +0 -0
  161. package/src/data-accessor.ts +0 -0
  162. package/src/discovery.ts +0 -0
  163. package/src/errors.ts +0 -0
  164. package/src/exit-codes.ts +0 -0
  165. package/src/hooks.ts +0 -0
  166. package/src/index.ts +0 -0
  167. package/src/install.ts +0 -0
  168. package/src/lafs.ts +0 -0
  169. package/src/memory.ts +0 -0
  170. package/src/operations/index.ts +0 -0
  171. package/src/operations/issues.ts +0 -0
  172. package/src/operations/lifecycle.ts +0 -0
  173. package/src/operations/orchestrate.ts +0 -0
  174. package/src/operations/release.ts +0 -0
  175. package/src/operations/research.ts +0 -0
  176. package/src/operations/session.ts +0 -0
  177. package/src/operations/skills.ts +0 -0
  178. package/src/operations/system.ts +0 -0
  179. package/src/operations/tasks.ts +0 -0
  180. package/src/operations/validate.ts +0 -0
  181. package/src/provider-paths.ts +0 -0
  182. package/src/results.ts +0 -0
  183. package/src/session.ts +0 -0
  184. package/src/spawn-types.ts +0 -0
  185. package/src/spawn.ts +0 -0
  186. package/src/status-registry.ts +0 -0
  187. package/src/task-record.ts +0 -0
  188. package/src/task-sync.ts +0 -0
  189. package/src/task.ts +0 -0
  190. package/src/tessera.ts +0 -0
  191. package/src/transport.ts +0 -0
  192. package/src/warp-chain.ts +0 -0
  193. package/LICENSE +0 -21
package/README.md CHANGED
File without changes
package/dist/adapter.d.ts CHANGED
File without changes
File without changes
package/dist/adapter.js CHANGED
File without changes
File without changes
package/dist/archive.d.ts CHANGED
File without changes
File without changes
package/dist/archive.js CHANGED
File without changes
File without changes
package/dist/brain.d.ts CHANGED
File without changes
File without changes
package/dist/brain.js CHANGED
File without changes
package/dist/brain.js.map CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
package/dist/config.d.ts CHANGED
@@ -63,6 +63,38 @@ export interface LoggingConfig {
63
63
  /** Whether to archive pruned rows to compressed JSONL before deletion (default: true) */
64
64
  archiveBeforePrune: boolean;
65
65
  }
66
+ /** Acceptance criteria enforcement mode. */
67
+ export type AcceptanceEnforcementMode = 'block' | 'warn' | 'off';
68
+ /** Acceptance criteria enforcement settings. */
69
+ export interface AcceptanceEnforcementConfig {
70
+ /** Enforcement mode. */
71
+ mode: AcceptanceEnforcementMode;
72
+ /** Task priorities that require AC. */
73
+ requiredForPriorities: string[];
74
+ /** Minimum acceptance criteria count. */
75
+ minimumCriteria: number;
76
+ }
77
+ /** Session enforcement settings. */
78
+ export interface SessionEnforcementConfig {
79
+ /** Whether mutate operations require an active session. */
80
+ requiredForMutate: boolean;
81
+ }
82
+ /** Top-level enforcement configuration. */
83
+ export interface EnforcementConfig {
84
+ /** Acceptance criteria enforcement. */
85
+ acceptance: AcceptanceEnforcementConfig;
86
+ /** Session enforcement. */
87
+ session: SessionEnforcementConfig;
88
+ }
89
+ /** Verification gate configuration. */
90
+ export interface VerificationConfig {
91
+ /** Whether verification gates are enabled. */
92
+ enabled: boolean;
93
+ /** Maximum verification rounds. */
94
+ maxRounds: number;
95
+ /** Gate names required for completion. */
96
+ requiredGates: string[];
97
+ }
66
98
  /** Lifecycle enforcement mode. */
67
99
  export type LifecycleEnforcementMode = 'strict' | 'advisory' | 'off';
68
100
  /** Lifecycle enforcement configuration. */
@@ -102,6 +134,8 @@ export interface CleoConfig {
102
134
  backup: BackupConfig;
103
135
  hierarchy: HierarchyConfig;
104
136
  session: SessionConfig;
137
+ enforcement: EnforcementConfig;
138
+ verification: VerificationConfig;
105
139
  lifecycle: LifecycleConfig;
106
140
  logging: LoggingConfig;
107
141
  sharing: SharingConfig;
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,6BAA6B;AAC7B,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,OAAO,CAAC;AAE5E,2BAA2B;AAC3B,MAAM,MAAM,UAAU,GAAG,UAAU,GAAG,KAAK,GAAG,OAAO,GAAG,MAAM,CAAC;AAE/D,4BAA4B;AAC5B,MAAM,WAAW,YAAY;IAC3B,aAAa,EAAE,YAAY,CAAC;IAC5B,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,OAAO,CAAC;IACrB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,UAAU,EAAE,UAAU,CAAC;CACxB;AAED,4BAA4B;AAC5B,MAAM,WAAW,YAAY;IAC3B,qBAAqB,EAAE,MAAM,CAAC;IAC9B,gBAAgB,EAAE,MAAM,CAAC;IACzB,kBAAkB,EAAE,OAAO,CAAC;CAC7B;AAED,4CAA4C;AAC5C,MAAM,MAAM,kBAAkB,GAAG,iBAAiB,GAAG,iBAAiB,GAAG,QAAQ,CAAC;AAElF,+BAA+B;AAC/B,MAAM,WAAW,eAAe;IAC9B,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,OAAO,CAAC;IACvB,kEAAkE;IAClE,iBAAiB,EAAE,MAAM,CAAC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AO,EAAE,OAAO,CAAC;IACjB,mGAAmG;IACnG,IAAI,EAAE,cAAc,CAAC;IACrB,yEAAyE;IACzE,QAAQ,EAAE,MAAM,CAAC;IACjB,6EAA6E;IAC7E,WAAW,EAAE,MAAM,CAAC;IACpB,uEAAuE;IACvE,WAAW,EAAE,QAAQ,GAAG,cAAc,GAAG,SAAS,CAAC;CACpD;AAED,gDAAgD;AAChD,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,YAAY,CAAC;IACrB,MAAM,EAAE,YAAY,CAAC;IACrB,SAAS,EAAE,eAAe,CAAC;IAC3B,OAAO,EAAE,aAAa,CAAC;IACvB,WAAW,EAAE,iBAAiB,CAAC;IAC/B,YAAY,EAAE,kBAAkB,CAAC;IACjC,SAAS,EAAE,eAAe,CAAC;IAC3B,OAAO,EAAE,aAAa,CAAC;IACvB,OAAO,EAAE,aAAa,CAAC;IACvB,wEAAwE;IACxE,UAAU,CAAC,EAAE,gBAAgB,CAAC;CAC/B;AAED,yCAAyC;AACzC,MAAM,MAAM,YAAY,GAAG,KAAK,GAAG,KAAK,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,CAAC;AAE5E,+CAA+C;AAC/C,MAAM,WAAW,aAAa,CAAC,CAAC;IAC9B,KAAK,EAAE,CAAC,CAAC;IACT,MAAM,EAAE,YAAY,CAAC;CACtB"}
package/dist/config.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/dist/discovery.js CHANGED
File without changes
File without changes
package/dist/errors.d.ts CHANGED
File without changes
File without changes
package/dist/errors.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/dist/hooks.d.ts CHANGED
File without changes
File without changes
package/dist/hooks.js CHANGED
File without changes
package/dist/hooks.js.map CHANGED
File without changes
package/dist/index.d.ts CHANGED
File without changes
File without changes
package/dist/index.js CHANGED
File without changes
package/dist/index.js.map CHANGED
File without changes
package/dist/install.d.ts CHANGED
File without changes
File without changes
package/dist/install.js CHANGED
File without changes
File without changes
package/dist/lafs.d.ts CHANGED
File without changes
File without changes
package/dist/lafs.js CHANGED
File without changes
package/dist/lafs.js.map CHANGED
File without changes
package/dist/memory.d.ts CHANGED
File without changes
File without changes
package/dist/memory.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/dist/results.d.ts CHANGED
File without changes
File without changes
package/dist/results.js CHANGED
File without changes
File without changes
package/dist/session.d.ts CHANGED
File without changes
File without changes
package/dist/session.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/dist/spawn.d.ts CHANGED
File without changes
File without changes
package/dist/spawn.js CHANGED
File without changes
package/dist/spawn.js.map CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/dist/task-sync.js CHANGED
File without changes
File without changes
package/dist/task.d.ts CHANGED
File without changes
File without changes
package/dist/task.js CHANGED
File without changes
package/dist/task.js.map CHANGED
File without changes
package/dist/tessera.d.ts CHANGED
File without changes
File without changes
package/dist/tessera.js CHANGED
File without changes
File without changes
File without changes
File without changes
package/dist/transport.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cleocode/contracts",
3
- "version": "2026.3.65",
3
+ "version": "2026.3.67",
4
4
  "description": "Domain types, interfaces, and contracts for the CLEO ecosystem",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -11,6 +11,10 @@
11
11
  "types": "./dist/index.d.ts"
12
12
  }
13
13
  },
14
+ "scripts": {
15
+ "build": "tsc -b --force",
16
+ "typecheck": "tsc --noEmit"
17
+ },
14
18
  "engines": {
15
19
  "node": ">=24.0.0"
16
20
  },
@@ -26,9 +30,5 @@
26
30
  "type": "git",
27
31
  "url": "https://github.com/kryptobaseddev/cleo",
28
32
  "directory": "packages/contracts"
29
- },
30
- "scripts": {
31
- "build": "tsc -b --force",
32
- "typecheck": "tsc --noEmit"
33
33
  }
34
- }
34
+ }
package/src/adapter.ts CHANGED
File without changes
package/src/archive.ts CHANGED
File without changes
package/src/brain.ts CHANGED
File without changes
File without changes
package/src/config.ts CHANGED
@@ -73,6 +73,43 @@ export interface LoggingConfig {
73
73
  archiveBeforePrune: boolean;
74
74
  }
75
75
 
76
+ /** Acceptance criteria enforcement mode. */
77
+ export type AcceptanceEnforcementMode = 'block' | 'warn' | 'off';
78
+
79
+ /** Acceptance criteria enforcement settings. */
80
+ export interface AcceptanceEnforcementConfig {
81
+ /** Enforcement mode. */
82
+ mode: AcceptanceEnforcementMode;
83
+ /** Task priorities that require AC. */
84
+ requiredForPriorities: string[];
85
+ /** Minimum acceptance criteria count. */
86
+ minimumCriteria: number;
87
+ }
88
+
89
+ /** Session enforcement settings. */
90
+ export interface SessionEnforcementConfig {
91
+ /** Whether mutate operations require an active session. */
92
+ requiredForMutate: boolean;
93
+ }
94
+
95
+ /** Top-level enforcement configuration. */
96
+ export interface EnforcementConfig {
97
+ /** Acceptance criteria enforcement. */
98
+ acceptance: AcceptanceEnforcementConfig;
99
+ /** Session enforcement. */
100
+ session: SessionEnforcementConfig;
101
+ }
102
+
103
+ /** Verification gate configuration. */
104
+ export interface VerificationConfig {
105
+ /** Whether verification gates are enabled. */
106
+ enabled: boolean;
107
+ /** Maximum verification rounds. */
108
+ maxRounds: number;
109
+ /** Gate names required for completion. */
110
+ requiredGates: string[];
111
+ }
112
+
76
113
  /** Lifecycle enforcement mode. */
77
114
  export type LifecycleEnforcementMode = 'strict' | 'advisory' | 'off';
78
115
 
@@ -118,6 +155,8 @@ export interface CleoConfig {
118
155
  backup: BackupConfig;
119
156
  hierarchy: HierarchyConfig;
120
157
  session: SessionConfig;
158
+ enforcement: EnforcementConfig;
159
+ verification: VerificationConfig;
121
160
  lifecycle: LifecycleConfig;
122
161
  logging: LoggingConfig;
123
162
  sharing: SharingConfig;
File without changes
File without changes
package/src/discovery.ts CHANGED
File without changes
package/src/errors.ts CHANGED
File without changes
package/src/exit-codes.ts CHANGED
File without changes
package/src/hooks.ts CHANGED
File without changes
package/src/index.ts CHANGED
File without changes
package/src/install.ts CHANGED
File without changes
package/src/lafs.ts CHANGED
File without changes
package/src/memory.ts CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/src/results.ts CHANGED
File without changes
package/src/session.ts CHANGED
File without changes
File without changes
package/src/spawn.ts CHANGED
File without changes
File without changes
File without changes
package/src/task-sync.ts CHANGED
File without changes
package/src/task.ts CHANGED
File without changes
package/src/tessera.ts CHANGED
File without changes
package/src/transport.ts CHANGED
File without changes
package/src/warp-chain.ts CHANGED
File without changes
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 CLEO Contributors
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.