@lazyingart/agintiflow 0.20.53 → 0.20.55

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/README.md CHANGED
@@ -18,7 +18,9 @@
18
18
  ![Sandbox](https://img.shields.io/badge/Shell-Docker%20Sandbox-f97316)
19
19
  ![Status](https://img.shields.io/badge/Status-Prototype-7c3aed)
20
20
 
21
- AgInTiFlow is a local web and CLI agent workspace for real project folders. It combines cheap model routing, inspectable tool use, durable sessions, guarded file/shell/browser actions, optional image generation, and structured large-task supervision.
21
+ **Low-cost, project-aware agents for real-life problems.**
22
+
23
+ Use the same agent workspace from Web or CLI, with DeepSeek/Venice/OpenAI routing, visible tool calls, durable sessions, scouts, SCS supervision, AAPS workflows, and guarded local execution.
22
24
 
23
25
  The short version: run `aginti` inside a project, give it a task, inspect what it plans, see every tool call, resume later, and keep the outputs in your workspace.
24
26
 
@@ -30,6 +32,7 @@ The short version: run `aginti` inside a project, give it a task, inspect what i
30
32
  | GitHub | [https://github.com/lazyingart/AgInTiFlow](https://github.com/lazyingart/AgInTiFlow) |
31
33
  | npm | [https://www.npmjs.com/package/@lazyingart/agintiflow](https://www.npmjs.com/package/@lazyingart/agintiflow) |
32
34
  | AAPS npm | [https://www.npmjs.com/package/@lazyingart/aaps](https://www.npmjs.com/package/@lazyingart/aaps) |
35
+ | Product positioning | [references/agintiflow-product-positioning.md](references/agintiflow-product-positioning.md) |
33
36
  | Full archived README reference | [references/notes/readme-full-reference-2026-05-05.md](references/notes/readme-full-reference-2026-05-05.md) |
34
37
 
35
38
  <p align="center">
package/i18n/README.ar.md CHANGED
@@ -10,42 +10,358 @@
10
10
 
11
11
  # AgInTiFlow
12
12
 
13
- AgInTiFlow هو وكيل من AgInTi للتحكم المنضبط في المتصفح والأدوات المحلية: أتمتة الويب، محادثات مستمرة، تشغيل قابل للاستئناف، وأوامر محلية محمية.
13
+ ![Node.js](https://img.shields.io/badge/Node.js-22%2B-339933?logo=nodedotjs&logoColor=white)
14
+ ![Playwright](https://img.shields.io/badge/Browser-Playwright-2EAD33?logo=playwright&logoColor=white)
15
+ ![CLI + Web](https://img.shields.io/badge/Interface-CLI%20%2B%20Web-0ea5e9)
16
+ ![Text Models](https://img.shields.io/badge/Text-DeepSeek%20%2B%20Venice%20%2B%20OpenAI%20%2B%20Qwen-2563eb)
17
+ ![Aux Image](https://img.shields.io/badge/Aux%20Image-GRS%20AI%20%2B%20Venice-ec4899)
18
+ ![Sandbox](https://img.shields.io/badge/Shell-Docker%20Sandbox-f97316)
19
+ ![Status](https://img.shields.io/badge/Status-Prototype-7c3aed)
14
20
 
15
- ## لمحة
21
+ **وكلاء منخفضو التكلفة وواعون بالمشروع للمشكلات الواقعية.**
16
22
 
17
- | المجال | الاتجاه |
23
+ استخدم مساحة عمل الوكيل نفسها من Web أو CLI، مع توجيه DeepSeek/Venice/OpenAI، واستدعاءات أدوات مرئية، وجلسات دائمة، وscouts، وإشراف SCS، وسير عمل AAPS، وتنفيذ محلي محمي.
24
+
25
+ باختصار: شغّل `aginti` داخل مشروع، أعطه مهمة، افحص خطته، شاهد كل استدعاء أداة، استأنف لاحقاً، واحتفظ بالمخرجات داخل مساحة العمل.
26
+
27
+ **روابط**
28
+
29
+ | المورد | URL |
30
+ | --- | --- |
31
+ | Website | [https://flow.lazying.art](https://flow.lazying.art) |
32
+ | GitHub | [https://github.com/lazyingart/AgInTiFlow](https://github.com/lazyingart/AgInTiFlow) |
33
+ | npm | [https://www.npmjs.com/package/@lazyingart/agintiflow](https://www.npmjs.com/package/@lazyingart/agintiflow) |
34
+ | AAPS npm | [https://www.npmjs.com/package/@lazyingart/aaps](https://www.npmjs.com/package/@lazyingart/aaps) |
35
+ | تموضع المنتج | [../references/agintiflow-product-positioning.md](../references/agintiflow-product-positioning.md) |
36
+ | مرجع README الكامل المؤرشف | [../references/notes/readme-full-reference-2026-05-05.md](../references/notes/readme-full-reference-2026-05-05.md) |
37
+
38
+ <p align="center">
39
+ <img src="../demos/agintiflow-cli-launch.jpg" alt="AgInTiFlow interactive CLI launch screen with colorful terminal banner, Docker workspace status, and chat input panel" width="960" />
40
+ </p>
41
+
42
+ ## لماذا يوجد
43
+
44
+ معظم أدوات الوكلاء إما صندوق دردشة بحالة مخفية أو حلقة نموذج واحد مكلفة. AgInTiFlow مبني على فلسفة مختلفة:
45
+
46
+ | المبدأ | معناه عملياً |
18
47
  | --- | --- |
19
- | الحلقة الأساسية | تخطيط -> استخدام أدوات -> تسجيل أحداث -> إنهاء أو استئناف |
20
- | المتصفح | Playwright، تشغيل عند الحاجة، قائمة سماح للنطاقات |
21
- | النماذج | Tool calling متوافق مع OpenAI مع إعدادات OpenAI و DeepSeek |
22
- | الأدوات المحلية | Shell اختياري مع guardrails و Docker sandbox |
23
- | الذاكرة | حالة الجلسة، إعدادات محفوظة، ومتابعة المحادثة |
48
+ | الذكاء الرخيص يغير البنية | DeepSeek V4 Flash و Pro يجعلان من العملي إنفاق استدعاءات إضافية على routing و scouting و review و recovery بدلاً من إجبار استدعاء مكلف واحد على فعل كل شيء. |
49
+ | القابلية للفحص أفضل من الغموض | الخطط، استدعاءات الأدوات، file diffs، مخرجات الأوامر، canvas artifacts، وأحداث الجلسة تُحفظ ويمكن استئنافها. |
50
+ | نماذج حسب الأدوار | route و main و spare و wrapper و auxiliary image أدوار منفصلة. يمكنك جمع route models رخيصة، main models أقوى، مسارات OpenAI/Qwen/Venice اختيارية، وأدوات صور GRS AI/Venice. |
51
+ | Scouts قبل العمل الكبير | parallel scouts ترسم architecture و tests و risks و symbols و integration points بتكلفة قليلة قبل أن يعدّل المنفذ الرئيسي الملفات. |
52
+ | SCS للعمل عالي المخاطر | Student-Committee-Supervisor يضيف بوابة typed: committee يضع المسودة، student يوافق/يراقب، supervisor ينفذ. استخدم `/scs` أو `--scs auto`. |
53
+ | AAPS للـ workflows الكبيرة | AAPS يصف agentic pipeline scripts من الأعلى إلى الأسفل؛ ويمكن لـ AgInTiFlow أن يكون backend تفاعلياً للتحقق والترجمة والتنفيذ. |
54
+ | أمان محلي افتراضي | Docker workspace، path guardrails، secret redaction، حظر أوامر npm publish/token، وسجلات مرئية تجعل الوكيل عملياً وغير معتم. |
55
+
56
+ ## بداية سريعة
24
57
 
25
- ## تشغيل سريع
58
+ ثبّت وافتح مشروعاً:
26
59
 
27
60
  ```bash
28
- cd /home/lachlan/ProjectsLFS/Agent/AgInTiFlow
29
- npm install
30
- npx playwright install chromium
31
- npm run web
61
+ npm install -g @lazyingart/agintiflow
62
+ cd /path/to/your-project
63
+ aginti init
64
+ aginti
65
+ ```
66
+
67
+ عند أول استخدام تفاعلي، يفتح AgInTiFlow معالج auth إذا لم يجد مفتاح main model. اختر DeepSeek أو OpenAI أو Qwen أو Venice، ألصق المفتاح، وسيُحفظ في ملف `.aginti/.env` المحلي للمشروع، وهو ignored من git وبصلاحيات مقيدة. يمكنك إعادة الإعداد في أي وقت:
68
+
69
+ ```bash
70
+ aginti auth
71
+ aginti auth deepseek
72
+ aginti auth venice
73
+ aginti login grsai
74
+ ```
75
+
76
+ شغّل Web UI من نفس المشروع:
77
+
78
+ ```bash
79
+ aginti web --port 3210
80
+ # open http://127.0.0.1:3210
81
+ ```
82
+
83
+ شغّل smoke test من دون credentials لنموذج حي:
84
+
85
+ ```bash
86
+ aginti --provider mock --routing manual --allow-file-tools "Create notes/hello.md with a smoke-test note"
87
+ ```
88
+
89
+ حدد اللغة صراحة، أو اتركها لتتبع system locale:
90
+
91
+ ```bash
92
+ aginti --language ja
93
+ aginti --language zh-Hans
94
+ aginti --language de
32
95
  ```
33
96
 
34
- افتح `http://127.0.0.1:3210`.
97
+ ## أوامر يومية
98
+
99
+ | الهدف | الأمر |
100
+ | --- | --- |
101
+ | بدء دردشة تفاعلية | `aginti` أو `aginti chat` |
102
+ | بدء تطبيق Web محلي | `aginti web --port 3210` |
103
+ | حفظ مفاتيح providers | `aginti auth`, `/auth`, `/login` |
104
+ | مراجعة repo الحالي | `/review [focus]` |
105
+ | تبديل SCS quality gate | `/scs` |
106
+ | استخدام SCS فقط للعمل المعقد | `/scs auto` أو `aginti --scs auto "task"` |
107
+ | العمل مع AAPS workflows | `aginti aaps status`, `/aaps validate` |
108
+ | اختيار النماذج | `/route`, `/model`, `/spare`, `/wrapper`, `/auxiliary model` |
109
+ | تفعيل shortcut لـ Venice | `/venice` |
110
+ | توليد الصور | `/auxiliary image` ثم اطلب الصورة |
111
+ | استئناف المشروع الحالي | `aginti resume` |
112
+ | تصفح كل الجلسات | `aginti resume --all-sessions` |
113
+ | إرسال queue إلى جلسة تعمل | `aginti queue <session-id> "extra instruction"` |
114
+ | تنظيف الجلسات الفارغة | `aginti --remove-empty-sessions` |
115
+ | فحص القدرات | `aginti capabilities`, `aginti doctor --capabilities` |
116
+ | مزامنة skills المراجعة | `aginti skillmesh status`, `aginti skillmesh sync` |
117
+ | تحديث CLI | `aginti update` |
118
+
119
+ الدردشة التفاعلية تدعم slash completion، selectors بأسهم Up/Down، إدخال متعدد الأسطر بـ `Ctrl+J`، سجل resume كامل، Markdown rendering، run status مرئي، رسائل ASAP pipe أثناء التشغيل، و interrupt/resume نظيف بـ `Ctrl+C`. الأوامر التفاعلية المثبتة تفحص npm أيضاً لوجود إصدار أحدث من AgInTiFlow وتعرض selector للتحديث/التخطي؛ أما source checkouts و non-TTY automation فلا تتأثر.
120
+
121
+ لـ one-shot resume مضبوط بالكامل، استخدم session id صريحاً واختر task profile بوضوح. استخدم `auto` للـ routing العادي أو `android` لأعمال Android/emulator:
35
122
 
36
123
  ```bash
37
- AGENT_PROVIDER=deepseek npm start -- "List this folder"
124
+ PROFILE=android # or auto
125
+ aginti --resume <session-id> \
126
+ --profile "$PROFILE" \
127
+ --sandbox-mode host \
128
+ --package-install-policy allow \
129
+ --approve-package-installs \
130
+ --allow-shell \
131
+ --allow-file-tools \
132
+ --allow-destructive \
133
+ "Take a fresh screenshot of the running app in the emulator, save it with a durable filename in this project, and keep git status clean."
134
+ ```
135
+
136
+ ## لقطات حقيقية
137
+
138
+ | تشغيل CLI | نظرة عامة على Web app |
139
+ | --- | --- |
140
+ | <img src="../demos/agintiflow-cli-launch.jpg" alt="AgInTiFlow CLI launch" width="480" /> | <img src="../website/assets/screenshots/app-overview.jpg" alt="AgInTiFlow web app overview" width="480" /> |
141
+
142
+ | عناصر التحكم بالمهمة | مخرجات runtime |
143
+ | --- | --- |
144
+ | <img src="../website/assets/screenshots/task-controls.jpg" alt="AgInTiFlow task controls" width="480" /> | <img src="../website/assets/screenshots/run-output.jpg" alt="AgInTiFlow runtime output" width="480" /> |
145
+
146
+ | سجل المحادثة | حالة sandbox |
147
+ | --- | --- |
148
+ | <img src="../website/assets/screenshots/conversation-history.jpg" alt="AgInTiFlow conversation history" width="480" /> | <img src="../website/assets/screenshots/sandbox-status.jpg" alt="AgInTiFlow sandbox status" width="480" /> |
149
+
150
+ | نظرة mobile |
151
+ | --- |
152
+ | <img src="../website/assets/screenshots/mobile-overview.jpg" alt="AgInTiFlow mobile overview" width="480" /> |
153
+
154
+ لقطات التشغيل الأقدم محفوظة في source repository تحت [demos/archive/](https://github.com/lazyingart/AgInTiFlow/tree/main/demos/archive).
155
+
156
+ ## القدرات الأساسية
157
+
158
+ | القدرة | ما يقدمه AgInTiFlow |
159
+ | --- | --- |
160
+ | CLI agent workspace | دردشة terminal دائمة مع project cwd، session resume، حالة model/tool مرئية، وتلميحات أوامر واضحة. |
161
+ | Local web workspace | Browser UI للجلسات، runtime logs، artifacts، model settings، project controls، canvas previews، وحالة sandbox. |
162
+ | File tools | `inspect_project`, `list_files`, `read_file`, `search_files`, `write_file`, `apply_patch`, `open_workspace_file`, `preview_workspace`. |
163
+ | Shell tools | تنفيذ shell محمي على host أو Docker workspace مع package-install policy و command safety checks. |
164
+ | Browser tools | Playwright browser actions مع lazy startup و optional domain allowlists. |
165
+ | Model routing | DeepSeek fast/pro defaults، مسارات OpenAI/Qwen/Venice/mock يدوية، spare models، wrapper models، و auxiliary image models. |
166
+ | Patch workflow | Codex-style patch envelopes، unified diffs، exact replacements، hashes، compact diffs، و path guardrails. |
167
+ | Parallel scouts | استدعاءات scout اختيارية لـ architecture و implementation و review و tests و git flow و research و symbol tracing و dependency risk. |
168
+ | SCS mode | Student-Committee-Supervisor quality gate اختياري للمهام المعقدة أو عالية المخاطر. |
169
+ | AAPS adapter | تكامل اختياري مع `@lazyingart/aaps` لـ `.aaps` workflow init و validate و parse و compile و dry-run و run. |
170
+ | Image generation | أدوات GRS AI و Venice اختيارية للصور مع manifests محفوظة و canvas artifact previews. |
171
+ | Skill library | Markdown skills مدمجة للبرمجة، المواقع، Android/iOS، Python، Rust، Java، LaTeX، الكتابة، reviews، GitHub، AAPS والمزيد. |
172
+ | Skill Mesh | تسجيل/مشاركة صارمة اختيارية لـ reusable skill packs تمت مراجعتها. إذا لم تستخدمها، يعمل AgInTiFlow طبيعياً دون background sharing. |
173
+ | Multilingual UI | CLI والوثائق تدعم English و Japanese و Simplified/Traditional Chinese و Korean و French و Spanish و Arabic و Vietnamese و German و Russian. |
174
+
175
+ ## النماذج والأدوار
176
+
177
+ AgInTiFlow لا يتعامل مع “النموذج” كإعداد عالمي واحد. لديه أدوار:
178
+
179
+ | الدور | الافتراضي | الغرض |
180
+ | --- | --- | --- |
181
+ | Route | `deepseek/deepseek-v4-flash` | تخطيط رخيص، triage، مهام قصيرة، و routing decisions. |
182
+ | Main | `deepseek/deepseek-v4-pro` | coding معقد، debugging، writing، research، ومهام طويلة. |
183
+ | Spare | `openai/gpt-5.4` medium | fallback اختياري أو route للـ cross-check. |
184
+ | Wrapper | `codex/gpt-5.5` medium | مستشار coding-agent خارجي اختياري. |
185
+ | Auxiliary | `grsai/nano-banana-2` | توليد صور وأدوات مساعدة غير نصية. |
186
+
187
+ Selectors مفيدة:
188
+
189
+ ```text
190
+ /models
191
+ /route
192
+ /model
193
+ /spare
194
+ /wrapper
195
+ /auxiliary model
196
+ /venice
38
197
  ```
39
198
 
40
- ## الأمان
199
+ يمكن استخدام Venice routes للأعمال الإبداعية الاختيارية uncensored أو الأقل تقييداً. يبقى DeepSeek هو default الاقتصادي لـ engineering workflows العادية. راجع [../docs/model-selection.md](../docs/model-selection.md) و [../references/venice-model-reference.md](../references/venice-model-reference.md).
200
+
201
+ ## AAPS و workflows الكبيرة
41
202
 
42
- - كلمات المرور والإجراءات التخريبية محجوبة ما لم يتم تفعيلها صراحة.
43
- - shell اختياري ويمكن تشغيله داخل Docker بلا شبكة.
44
- - كل طلب أداة ونتيجته يتم تسجيلهما في `.sessions/`.
203
+ AAPS هو طبقة pipeline-script؛ و AgInTiFlow هو backend تفاعلي للوكيل/الأدوات.
204
+
205
+ ```bash
206
+ aginti aaps status
207
+ aginti aaps init "Project Workflow"
208
+ aginti aaps validate
209
+ aginti aaps compile check
210
+ ```
211
+
212
+ داخل الدردشة:
213
+
214
+ ```text
215
+ /aaps on
216
+ /aaps validate
217
+ /aaps dry-run workflows/main.aaps
218
+ ```
219
+
220
+ استخدم AAPS عندما تكون المهمة أكبر من دردشة واحدة: تطوير تطبيقات بمراحل، workflows للأبحاث/الكتب، validation gates، recovery steps، artifact production، أو top-down agentic scripts. راجع [../docs/aaps.md](../docs/aaps.md) والحزمة [https://www.npmjs.com/package/@lazyingart/aaps](https://www.npmjs.com/package/@lazyingart/aaps).
221
+
222
+ ## مرجع سريع للـ Local API
223
+
224
+ يعرض Web app APIs محلية للواجهة والأتمتة. هذه endpoints تعرض الحالة دون كشف API keys خام أو npm tokens:
225
+
226
+ ```bash
227
+ curl http://127.0.0.1:3210/api/config
228
+ curl http://127.0.0.1:3210/api/capabilities
229
+ curl http://127.0.0.1:3210/api/sandbox/status
230
+ curl -X POST http://127.0.0.1:3210/api/sandbox/preflight \
231
+ -H 'Content-Type: application/json' \
232
+ -d '{"sandboxMode":"docker-workspace","buildImage":true}'
233
+ curl http://127.0.0.1:3210/api/workspace/changes
234
+ curl "http://127.0.0.1:3210/api/sessions/<session-id>/artifacts"
235
+ curl "http://127.0.0.1:3210/api/sessions/<session-id>/inbox"
236
+ ```
237
+
238
+ شغّل API smoke test بلا credentials:
239
+
240
+ ```bash
241
+ npm run smoke:web-api
242
+ ```
243
+
244
+ ## التخزين والأمان والاستئناف
245
+
246
+ يخزن AgInTiFlow canonical sessions مركزياً ويحتفظ فقط بمؤشرات project-local:
247
+
248
+ | الموقع | الغرض |
249
+ | --- | --- |
250
+ | `~/.agintiflow/sessions/<session-id>/` | canonical state، events، browser state، artifacts، snapshots، canvas files. |
251
+ | `<project>/.aginti-sessions/` | project-local session pointers و Web UI database. Ignored من git. |
252
+ | `<project>/.aginti/.env` | API keys اختيارية للمشروع بصلاحيات مقيدة. Ignored من git. |
253
+ | `<project>/AGINTI.md` | تعليمات مشروع قابلة للتحرير وتفضيلات محلية دائمة. آمن للـ commit إذا لم يحتوي أسراراً. |
254
+
255
+ إعدادات الأمان الافتراضية:
256
+
257
+ - Docker workspace mode هو default العادي للـ CLI/Web في coding عملي و artifact generation.
258
+ - File tools تحظر secret-like paths و `.env` و `.git` و `node_modules` writes و absolute escapes و huge files و binary edits.
259
+ - Shell commands تمر عبر policy checks؛ npm publish و npm token commands و sudo و destructive git و credential reads محظورة.
260
+ - File writes تسجل hashes و compact diffs.
261
+ - Tool calls والنتائج تُسجل في structured session events.
262
+ - Web و CLI يستخدمان نفس session store، لذلك يمكن inspect/resume لأي run لاحقاً.
263
+
264
+ ملاحظات runtime التفصيلية في [../docs/runtime-modes-and-autonomy.md](../docs/runtime-modes-and-autonomy.md)، [../docs/patch-tools.md](../docs/patch-tools.md)، و [../docs/agent-runtime-pipe.md](../docs/agent-runtime-pipe.md).
265
+
266
+ ## الإعداد
267
+
268
+ متغيرات البيئة الشائعة:
269
+
270
+ ```bash
271
+ DEEPSEEK_API_KEY=...
272
+ OPENAI_API_KEY=...
273
+ QWEN_API_KEY=...
274
+ VENICE_API_KEY=...
275
+ GRSAI_API_KEY=...
276
+ AGENT_PROVIDER=deepseek
277
+ AGENT_ROUTING_MODE=smart
278
+ AGINTI_TASK_PROFILE=auto
279
+ AGINTI_LANGUAGE=en
280
+ SANDBOX_MODE=docker-workspace
281
+ PACKAGE_INSTALL_POLICY=allow
282
+ COMMAND_CWD=/path/to/project
283
+ ```
284
+
285
+ مفاتيح محلية للمشروع:
286
+
287
+ ```bash
288
+ aginti init
289
+ printf '%s' "$DEEPSEEK_API_KEY" | aginti keys set deepseek --stdin
290
+ printf '%s' "$VENICE_API_KEY" | aginti keys set venice --stdin
291
+ ```
292
+
293
+ تفاصيل إضافية:
294
+
295
+ - [../docs/model-selection.md](../docs/model-selection.md)
296
+ - [../docs/auxiliary-image-generation.md](../docs/auxiliary-image-generation.md)
297
+ - [../docs/cli-i18n.md](../docs/cli-i18n.md)
298
+ - [../docs/skillmesh.md](../docs/skillmesh.md)
299
+
300
+ ## خريطة الوثائق
301
+
302
+ | الموضوع | الرابط |
303
+ | --- | --- |
304
+ | AAPS adapter | [../docs/aaps.md](../docs/aaps.md) |
305
+ | Model selection and roles | [../docs/model-selection.md](../docs/model-selection.md) |
306
+ | SCS mode | [../docs/student-committee-supervisor.md](../docs/student-committee-supervisor.md) |
307
+ | Large-codebase engineering | [../docs/large-codebase-engineering.md](../docs/large-codebase-engineering.md) |
308
+ | Runtime modes and autonomy | [../docs/runtime-modes-and-autonomy.md](../docs/runtime-modes-and-autonomy.md) |
309
+ | Skills and tools | [../docs/skills-and-tools.md](../docs/skills-and-tools.md) |
310
+ | Skill Mesh | [../docs/skillmesh.md](../docs/skillmesh.md) |
311
+ | Housekeeping logs | [../docs/housekeeping.md](../docs/housekeeping.md) |
312
+ | npm publishing | [../docs/npm-publishing.md](../docs/npm-publishing.md) |
313
+ | Product roadmap | [../docs/productive-agent-roadmap.md](../docs/productive-agent-roadmap.md) |
314
+ | Supervised capability curriculum | [../docs/supervised-capability-curriculum.md](../docs/supervised-capability-curriculum.md) |
315
+ | مرجع README الكامل السابق | [../references/notes/readme-full-reference-2026-05-05.md](../references/notes/readme-full-reference-2026-05-05.md) |
45
316
 
46
317
  ## التطوير
47
318
 
319
+ التشغيل من المصدر:
320
+
48
321
  ```bash
322
+ git clone https://github.com/lazyingart/AgInTiFlow.git
323
+ cd AgInTiFlow
324
+ npm install
325
+ npx playwright install chromium
49
326
  npm run check
50
- node tools/readme_prompt_tool.js agintiflow
327
+ npm test
328
+ ```
329
+
330
+ تشغيل local web من المصدر:
331
+
332
+ ```bash
333
+ npm run web
334
+ # open http://127.0.0.1:3210
51
335
  ```
336
+
337
+ Smoke checks مفيدة:
338
+
339
+ ```bash
340
+ npm run smoke:web-api
341
+ npm run smoke:coding-tools
342
+ npm run smoke:aaps-adapter
343
+ npm run smoke:cli-chat
344
+ npm run smoke:toolchain-docker
345
+ ```
346
+
347
+ تستخدم smoke scripts الـ local mock provider ما لم تكن معلّمة صراحة كاختبارات real-provider.
348
+
349
+ ## ملاحظات الإصدار
350
+
351
+ ينشر AgInTiFlow باسم `@lazyingart/agintiflow`. المسار المفضل للإصدار هو GitHub Actions Trusted Publishing مع npm provenance. النشر المحلي بالتوكن هو fallback للـ bootstrap فقط، ولا يجب أبداً commit ملفات `.env` أو `.npmrc` أو npm tokens أو OTPs أو debug logs.
352
+
353
+ راجع [../docs/npm-publishing.md](../docs/npm-publishing.md) للـ release workflow الكامل.
354
+
355
+ ## الدعم
356
+
357
+ إذا كان هذا المشروع مفيداً، يمكنك دعم التطوير هنا:
358
+
359
+ | الدعم | URL |
360
+ | --- | --- |
361
+ | GitHub Sponsors: LazyingArt | [https://github.com/sponsors/lazyingart](https://github.com/sponsors/lazyingart) |
362
+ | GitHub Sponsors: Lachlan Chen | [https://github.com/sponsors/lachlanchen](https://github.com/sponsors/lachlanchen) |
363
+ | LazyingArt | [https://lazying.art](https://lazying.art) |
364
+ | Chat | [https://chat.lazying.art](https://chat.lazying.art) |
365
+ | OnlyIdeas | [https://onlyideas.art](https://onlyideas.art) |
366
+
367
+ تم تطوير AgInTiFlow بواسطة AgInTi Lab, LazyingArt LLC.