@defai.digital/automatosx 5.0.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.
Files changed (77) hide show
  1. package/CHANGELOG.md +2877 -0
  2. package/CONTRIBUTING.md +357 -0
  3. package/FAQ.md +604 -0
  4. package/FIXES.md +277 -0
  5. package/LICENSE +190 -0
  6. package/README.md +603 -0
  7. package/REVIEW-REPORT.md +278 -0
  8. package/TROUBLESHOOTING.md +612 -0
  9. package/automatosx.config.json +219 -0
  10. package/dist/index.d.ts +2 -0
  11. package/dist/index.js +11806 -0
  12. package/dist/index.js.map +1 -0
  13. package/docs/README.md +227 -0
  14. package/docs/guide/core-concepts.md +568 -0
  15. package/docs/guide/installation.md +406 -0
  16. package/docs/guide/introduction.md +199 -0
  17. package/docs/guide/quick-start.md +387 -0
  18. package/docs/index.md +132 -0
  19. package/docs/reference/cli-commands.md +894 -0
  20. package/docs/tutorials/first-agent.md +691 -0
  21. package/docs/tutorials/memory-management.md +785 -0
  22. package/examples/AGENTS_INFO.md +293 -0
  23. package/examples/README.md +434 -0
  24. package/examples/abilities/best-practices.md +102 -0
  25. package/examples/abilities/code-generation.md +1035 -0
  26. package/examples/abilities/code-review.md +42 -0
  27. package/examples/abilities/content-creation.md +97 -0
  28. package/examples/abilities/debugging.md +43 -0
  29. package/examples/abilities/documentation.md +54 -0
  30. package/examples/abilities/error-analysis.md +107 -0
  31. package/examples/abilities/general-assistance.md +26 -0
  32. package/examples/abilities/our-architecture-decisions.md +242 -0
  33. package/examples/abilities/our-code-review-checklist.md +217 -0
  34. package/examples/abilities/our-coding-standards.md +389 -0
  35. package/examples/abilities/our-project-structure.md +502 -0
  36. package/examples/abilities/performance-analysis.md +56 -0
  37. package/examples/abilities/problem-solving.md +50 -0
  38. package/examples/abilities/refactoring.md +49 -0
  39. package/examples/abilities/security-audit.md +65 -0
  40. package/examples/abilities/task-planning.md +65 -0
  41. package/examples/abilities/technical-writing.md +77 -0
  42. package/examples/abilities/testing.md +47 -0
  43. package/examples/abilities/troubleshooting.md +80 -0
  44. package/examples/agents/assistant.yaml +45 -0
  45. package/examples/agents/backend.yaml +60 -0
  46. package/examples/agents/ceo.yaml +47 -0
  47. package/examples/agents/coder.yaml +388 -0
  48. package/examples/agents/cto.yaml +47 -0
  49. package/examples/agents/data.yaml +47 -0
  50. package/examples/agents/debugger.yaml +59 -0
  51. package/examples/agents/design.yaml +46 -0
  52. package/examples/agents/devops.yaml +47 -0
  53. package/examples/agents/frontend.yaml +61 -0
  54. package/examples/agents/product.yaml +47 -0
  55. package/examples/agents/quality.yaml +47 -0
  56. package/examples/agents/reviewer.yaml +49 -0
  57. package/examples/agents/security.yaml +47 -0
  58. package/examples/agents/writer.yaml +66 -0
  59. package/examples/claude/commands/ax:agent.md +37 -0
  60. package/examples/claude/commands/ax:clear.md +22 -0
  61. package/examples/claude/commands/ax:init.md +25 -0
  62. package/examples/claude/commands/ax:list.md +19 -0
  63. package/examples/claude/commands/ax:memory.md +25 -0
  64. package/examples/claude/commands/ax:status.md +24 -0
  65. package/examples/claude/commands/ax:update.md +28 -0
  66. package/examples/claude/mcp/automatosx.json +74 -0
  67. package/examples/templates/analyst.yaml +60 -0
  68. package/examples/templates/basic-agent.yaml +28 -0
  69. package/examples/templates/designer.yaml +69 -0
  70. package/examples/templates/developer.yaml +60 -0
  71. package/examples/templates/qa-specialist.yaml +71 -0
  72. package/examples/use-cases/01-web-app-development.md +374 -0
  73. package/package.json +86 -0
  74. package/scripts/check-release.js +128 -0
  75. package/scripts/real-provider-test.sh +357 -0
  76. package/scripts/smoke-test.sh +286 -0
  77. package/tsup.config.ts +16 -0
package/FIXES.md ADDED
@@ -0,0 +1,277 @@
1
+ # AutomatosX 問題修復總結
2
+
3
+ **日期**: 2025-10-09
4
+ **版本**: v5.0.0
5
+ **修復內容**: 超時設定、委派解析、FTS5 搜尋
6
+
7
+ ---
8
+
9
+ ## 🔍 問題診斷 (Ultrathink Analysis)
10
+
11
+ ### 根本原因分析
12
+ 用戶報告 agent 執行超時,雖然預設超時設定為 15 分鐘。深入分析發現**三層超時設定不一致**,且存在兩個額外的關鍵問題。
13
+
14
+ ---
15
+
16
+ ## ✅ 已修復的問題
17
+
18
+ ### 問題 1: Provider 層級超時設定太短
19
+
20
+ **症狀**:
21
+ ```
22
+ [ERROR] Provider codex execution failed (attempt 1)
23
+ { "error": "Request timeout after 300000ms" }
24
+ ```
25
+
26
+ **根本原因**:
27
+ 超時設定存在三層結構,但配置不一致:
28
+ 1. Bash tool 預設超時: **2 分鐘** (120000ms)
29
+ 2. **Provider 超時: 5 分鐘** (300000ms) ⚠️ **太短!**
30
+ 3. Agent 超時: 15 分鐘 (900000ms) ✓
31
+
32
+ Provider 層級的 5 分鐘超時在 agent 和 Bash 工具超時之前就已失敗,導致重試機制被觸發(5分 × 3次 = 15分),最終仍然超時。
33
+
34
+ **修復內容**:
35
+ 更新 `automatosx.config.json` 中所有 provider 的超時設定:
36
+
37
+ ```json
38
+ {
39
+ "providers": {
40
+ "claude-code": { "timeout": 900000 }, // 5分鐘 → 15分鐘
41
+ "gemini-cli": { "timeout": 900000 }, // 5分鐘 → 15分鐘
42
+ "openai": { "timeout": 900000 } // 5分鐘 → 15分鐘
43
+ }
44
+ }
45
+ ```
46
+
47
+ **影響文件**: `automatosx.config.json`
48
+
49
+ **驗證**: 所有層級超時現在一致為 15 分鐘
50
+
51
+ ---
52
+
53
+ ### 問題 2: 委派解析器誤解文檔範例
54
+
55
+ **症狀**:
56
+ ```
57
+ [INFO] Parsed 6 delegation(s)
58
+ [ERROR] Delegation cycle detected: quality -> frontend -> frontend
59
+ ```
60
+
61
+ **根本原因**:
62
+ 1. CLAUDE.md 包含委派語法範例(在 ```typescript 程式碼區塊中)
63
+ 2. LLM 閱讀文檔並理解這些語法
64
+ 3. LLM 在回應中引用範例(**不再在程式碼區塊中**)
65
+ 4. 委派解析器將**文檔範例**誤認為**實際委派請求**
66
+
67
+ **範例文字被誤解為委派**:
68
+ ```
69
+ 1. "DELEGATE TO frontend: Create login UI"
70
+ 2. "@frontend Create login UI"
71
+ 3. "Please ask backend to implement auth API"
72
+ ```
73
+
74
+ **修復內容**:
75
+ 改進 `src/agents/delegation-parser.ts`,添加三個新檢查方法:
76
+
77
+ 1. **`isInQuotedText()`** - 檢測並跳過引號內的委派模式
78
+ ```typescript
79
+ // 檢查是否在 "..." 或 '...' 引號內
80
+ private isInQuotedText(text: string, position: number): boolean
81
+ ```
82
+
83
+ 2. **`isDocumentationExample()`** - 檢測並跳過文檔範例
84
+ ```typescript
85
+ // 檢測模式:
86
+ // - "Example:", "範例:", "Supported syntaxes:"
87
+ // - 編號列表: 1. "...", 2. "..."
88
+ // - 測試程式碼: it(, test(, describe(, async () =>
89
+ // - 字串字面量中的委派模式
90
+ private isDocumentationExample(text: string, position: number): boolean
91
+ ```
92
+
93
+ 3. **程式碼上下文檢測** - 識別測試和程式碼範例
94
+
95
+ **影響文件**: `src/agents/delegation-parser.ts`
96
+
97
+ **效果**:
98
+ - **修復前**: 6 個錯誤委派 → 委派循環錯誤
99
+ - **修復後**: 0 個錯誤委派 ✅
100
+
101
+ **測試結果**: 34 個委派解析器單元測試全部通過
102
+
103
+ ---
104
+
105
+ ### 問題 3: FTS5 搜尋特殊字元錯誤
106
+
107
+ **症狀**:
108
+ ```
109
+ [WARN] Failed to inject memory
110
+ { "error": "Search failed: fts5: syntax error near \".\"" }
111
+ ```
112
+
113
+ **根本原因**:
114
+ MemoryManager 的 FTS5 查詢清理不完整,只清理了 3 個特殊字元:
115
+
116
+ ```typescript
117
+ // 修復前(不完整):
118
+ const ftsQuery = query.text.replace(/[:"*]/g, ' ').trim();
119
+ ```
120
+
121
+ FTS5 有許多特殊字元會導致語法錯誤:
122
+ - `.` (點號) - **導致當前錯誤**
123
+ - `()` (括號) - 用於分組
124
+ - `%` (百分號) - 通配符
125
+ - `AND/OR/NOT` - 布林運算符
126
+ - 其他: `[]{}^$+|\-<>~`
127
+
128
+ **修復內容**:
129
+ 改進 `src/core/memory-manager.ts` 的 FTS5 查詢清理:
130
+
131
+ ```typescript
132
+ // 修復後(完整):
133
+ const ftsQuery = query.text
134
+ .replace(/[.:"*()[\]{}^$+|\\%<>~-]/g, ' ') // 清理所有特殊字元
135
+ .replace(/\b(AND|OR|NOT)\b/gi, ' ') // 移除布林運算符
136
+ .replace(/\s+/g, ' ') // 標準化空白
137
+ .trim();
138
+
139
+ // 空查詢檢查
140
+ if (!ftsQuery) {
141
+ logger.debug('FTS5 query empty after sanitization');
142
+ return [];
143
+ }
144
+ ```
145
+
146
+ **影響文件**: `src/core/memory-manager.ts`
147
+
148
+ **測試結果**:
149
+ 測試包含特殊字元的查詢:
150
+ ```bash
151
+ ✅ "coverage." → 無錯誤
152
+ ✅ "config.json" → 無錯誤
153
+ ✅ "timeout (300ms)" → 無錯誤
154
+ ✅ "Result: 95%" → 無錯誤 (修復 % 字元)
155
+ ✅ "coverage... analysis" → 無錯誤
156
+ ```
157
+
158
+ ---
159
+
160
+ ## 📊 驗證結果
161
+
162
+ ### 測試覆蓋率
163
+ - ✅ **1045 個測試通過** (5 個跳過)
164
+ - ✅ **58 個測試檔案通過** (1 個跳過)
165
+ - ✅ **TypeScript 類型檢查通過** (0 個錯誤)
166
+ - ✅ **構建成功** (380.06 KB)
167
+
168
+ ### 具體測試結果
169
+ ```bash
170
+ ✅ 委派解析器測試: 34/34 通過
171
+ ✅ MemoryManager 測試: 25/25 通過
172
+ ✅ 單元測試: 947 通過
173
+ ✅ 整合測試: 66 通過
174
+ ✅ E2E 測試: 完整工作流程驗證通過
175
+ ```
176
+
177
+ ### 功能驗證
178
+ ```bash
179
+ ✅ Agent 執行無超時錯誤
180
+ ✅ 委派解析無誤解文檔範例
181
+ ✅ FTS5 搜尋支援特殊字元
182
+ ✅ Memory 注入無語法錯誤
183
+ ```
184
+
185
+ ---
186
+
187
+ ## 📁 修改的文件
188
+
189
+ ### 配置文件
190
+ - `automatosx.config.json` - Provider 超時設定 (5分 → 15分)
191
+
192
+ ### 核心文件
193
+ - `src/agents/delegation-parser.ts` - 委派解析改進
194
+ - 新增 `isInQuotedText()` 方法
195
+ - 新增 `isDocumentationExample()` 方法
196
+ - 改進程式碼上下文檢測
197
+
198
+ - `src/core/memory-manager.ts` - FTS5 查詢清理改進
199
+ - 完整的特殊字元清理
200
+ - 空查詢檢查
201
+ - 改進錯誤處理
202
+
203
+ ---
204
+
205
+ ## 🎯 影響分析
206
+
207
+ ### 向後兼容性
208
+ ✅ **完全向後兼容** - 所有修復都是改進現有功能,不影響 API
209
+
210
+ ### 效能影響
211
+ - **超時設定**: 無效能影響(只是增加最大等待時間)
212
+ - **委派解析**: 輕微增加(~1-2ms,新增檢查)
213
+ - **FTS5 搜尋**: 輕微增加(~0.5ms,更完整的清理)
214
+
215
+ ### 使用者體驗改善
216
+ 1. ✅ **複雜任務不再超時** - Provider 有足夠時間完成
217
+ 2. ✅ **無錯誤委派** - Agent 不會誤解文檔範例
218
+ 3. ✅ **穩定的記憶搜尋** - 支援所有類型的查詢文字
219
+
220
+ ---
221
+
222
+ ## 🔄 回歸測試建議
223
+
224
+ 建議在以下場景進行額外測試:
225
+
226
+ ### 1. 長時間運行任務
227
+ ```bash
228
+ ./dist/index.js run queenie "Complete project quality audit"
229
+ ```
230
+
231
+ ### 2. 包含文檔範例的回應
232
+ ```bash
233
+ # 檢查日誌是否有錯誤的委派解析
234
+ ./dist/index.js run coordinator "Explain delegation syntax" | grep "Parsed.*delegation"
235
+ ```
236
+
237
+ ### 3. 特殊字元記憶搜尋
238
+ ```bash
239
+ ./dist/index.js memory search "config.json settings"
240
+ ./dist/index.js memory search "coverage: 95%"
241
+ ./dist/index.js memory search "timeout (300ms)"
242
+ ```
243
+
244
+ ---
245
+
246
+ ## 📝 後續建議
247
+
248
+ ### 立即行動
249
+ 1. ✅ 所有修復已實施並驗證
250
+ 2. ✅ 測試套件全部通過
251
+ 3. ✅ 無回歸問題
252
+
253
+ ### 未來改進
254
+ 1. **配置驗證**: 添加超時設定一致性檢查(編譯時警告)
255
+ 2. **委派語法**: 考慮添加 `<delegation>` 標記以明確區分實際委派
256
+ 3. **FTS5 增強**: 支援更高級的搜尋語法(詞組、布林運算)
257
+
258
+ ---
259
+
260
+ ## 🎉 總結
261
+
262
+ **三個關鍵修復**:
263
+ 1. ✅ Provider 超時 5分 → 15分 (解決超時問題)
264
+ 2. ✅ 委派解析器改進 (解決誤解文檔範例)
265
+ 3. ✅ FTS5 特殊字元清理 (解決搜尋語法錯誤)
266
+
267
+ **驗證結果**:
268
+ - ✅ 1045 個測試通過
269
+ - ✅ 0 個回歸問題
270
+ - ✅ 完全向後兼容
271
+
272
+ **使用者影響**:
273
+ - ✅ 複雜任務可靠執行
274
+ - ✅ 無錯誤委派
275
+ - ✅ 穩定記憶搜尋
276
+
277
+ 所有問題已通過 **ultrathink 深度分析** 完全解決!🚀
package/LICENSE ADDED
@@ -0,0 +1,190 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ Copyright 2025 DEFAI Private Limited
179
+
180
+ Licensed under the Apache License, Version 2.0 (the "License");
181
+ you may not use this file except in compliance with the License.
182
+ You may obtain a copy of the License at
183
+
184
+ http://www.apache.org/licenses/LICENSE-2.0
185
+
186
+ Unless required by applicable law or agreed to in writing, software
187
+ distributed under the License is distributed on an "AS IS" BASIS,
188
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
189
+ See the License for the specific language governing permissions and
190
+ limitations under the License.