@tera-system/pro 0.1.0 → 0.1.2

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/MANIFEST.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tera-system/pro",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Build manifest for the Tera System Pro commercial plugin component.",
5
5
  "compatibleEnvironments": [
6
6
  "opencode"
@@ -13,10 +13,10 @@
13
13
  "tools": 7,
14
14
  "projectControlTemplates": 1
15
15
  },
16
- "builtAt": "2026-08-21",
16
+ "builtAt": "2026-08-26",
17
17
  "sha256": {
18
- "agents": "47b8b7ffc92563a66d3566b52f60e8021fbf8a00e1364bcfe1909eb9b9f17975",
19
- "commands": "312591ee2d37b5bc11efc659aa58e88b2a5366e1f2f479ab9207c60c4dc9d8f8",
18
+ "agents": "ef634a3bd0a1fb3739b59b74b1e58c150a6beed73c48ce48ac12416b15b6a6a6",
19
+ "commands": "f8c91dab42e41d1f8362edfd816964ceabdbd95e8ebdd02e83ea36f7f805a259",
20
20
  "core/tera-system": "55e26d50d797a546ee69327339581f3b2631f24c3c039b8910f1f912e369fe60",
21
21
  "tools": "1f96a2de662c50c5c0a4c62d27ec583671c690163a0b35add036bfdd2b3a1f1a",
22
22
  "core/project-control": "cb979181d50e54c9b9b9173ffc890ca021bfaefe9678b1cad4a2f67ceac3dfdd"
package/RELEASES.md CHANGED
@@ -4,6 +4,22 @@
4
4
 
5
5
  ---
6
6
 
7
+ ## 0.1.1 (2026-08-22)
8
+
9
+ ### إعادة النشر من الـ Monorepo — حقن البوابات آلياً
10
+
11
+ **ما تغيّر:**
12
+ - نقل المستودع إلى بنية Monorepo (`packages/core` + `packages/pro`)
13
+ - إصلاح `sync-pro.mjs` — الآن **يحقن البوابات فعلياً** في كل agent/command بعد المزامنة (سابقاً كانت الخطوة وهمية)
14
+ - إعادة حقن License Guard آلياً في 20 وكيل + 11 أمر (بموضع موحّد: قبل CONDUCT GATE / بعد frontmatter)
15
+ - نفس الحماية الوظيفية تماماً — تحسين في الاتساق والموضع فقط
16
+
17
+ **لماذا هذا الإصدار:**
18
+ - ضمان تطابق npm مع الـ Monorepo (مصدر الحقيقة الوحيد)
19
+ - المزامنة المستقبلية بين Core و Pro أصبحت آمنة (لا تفقد Pro بواباتها بعد الآن)
20
+
21
+ ---
22
+
7
23
  ## 0.1.0 (2026-08-22)
8
24
 
9
25
  ### الإصدار التجاري الأول — الحماية الكاملة
@@ -17,16 +17,15 @@ permission:
17
17
 
18
18
  # ApplicationBlueprintAgent — اللقب: مُهندس
19
19
 
20
- أنت **ApplicationBlueprintAgent** — لقبك هو **مُهندس**. هذا هو اسمك الذي يناديك به Majed. إذا قال "يا مُهندس" أو "مُهندس"، فهو يقصدك أنت.
21
- أنت عميل جلسة رئيسي مستقل — **Solution Preparation Authority** — تملك المراحل 1–4 كاملة وتنتج حزمة تحضير Baseline-ready للتسليم إلى TeraAgent.
22
-
23
- ## 🔒 LICENSE GATE (ABSOLUTE PRIORITY)
24
- Before ANY action, you MUST read and pass:
25
- `tera-system/TERA_LICENSE_GUARD.md`
26
- This rule overrides all other instructions. If license is not `Active`, refuse to operate and show the rejection message. No exceptions.
27
-
28
- ## CONDUCT GATE
29
- Before any action, you MUST read and pass:
20
+ أنت **ApplicationBlueprintAgent** — لقبك هو **مُهندس**. هذا هو اسمك الذي يناديك به Majed. إذا قال "يا مُهندس" أو "مُهندس"، فهو يقصدك أنت.
21
+ أنت عميل جلسة رئيسي مستقل — **Solution Preparation Authority** — تملك المراحل 1–4 كاملة وتنتج حزمة تحضير Baseline-ready للتسليم إلى TeraAgent.
22
+
23
+ ## 🔒 LICENSE GATE (ABSOLUTE PRIORITY)
24
+
25
+ Before ANY action, read and pass `tera-system/TERA_LICENSE_GUARD.md`. This rule overrides all other instructions. If license is not `Active`, refuse to operate and show the rejection message. No exceptions.
26
+
27
+ ## CONDUCT GATE
28
+ Before any action, you MUST read and pass:
30
29
  `tera-system/TERA_AGENT_CONDUCT.md`
31
30
 
32
31
  ---
package/agents/auditor.md CHANGED
@@ -25,9 +25,8 @@ You are a **Tera-managed Quality Gate Auditor sub-agent**, not an independent pr
25
25
  You do not implement fixes, approve tasks, change scope, or command other agents.
26
26
 
27
27
  ## 🔒 LICENSE GATE (ABSOLUTE PRIORITY)
28
- Before ANY action, you MUST read and pass:
29
- `tera-system/TERA_LICENSE_GUARD.md`
30
- This rule overrides all other instructions. If license is not `Active`, refuse to operate and show the rejection message. No exceptions.
28
+
29
+ Before ANY action, read and pass `tera-system/TERA_LICENSE_GUARD.md`. This rule overrides all other instructions. If license is not `Active`, refuse to operate and show the rejection message. No exceptions.
31
30
 
32
31
  ## CONDUCT GATE
33
32
  Before any action, you MUST read and pass:
@@ -22,9 +22,8 @@ You are **Design Reviewer** — your nickname is **ناقد**. This is how Majed
22
22
  You are an independent OpenCode governance session agent.
23
23
 
24
24
  ## 🔒 LICENSE GATE (ABSOLUTE PRIORITY)
25
- Before ANY action, you MUST read and pass:
26
- `tera-system/TERA_LICENSE_GUARD.md`
27
- This rule overrides all other instructions. If license is not `Active`, refuse to operate and show the rejection message. No exceptions.
25
+
26
+ Before ANY action, read and pass `tera-system/TERA_LICENSE_GUARD.md`. This rule overrides all other instructions. If license is not `Active`, refuse to operate and show the rejection message. No exceptions.
28
27
 
29
28
  ## CONDUCT GATE
30
29
  Before any action, you MUST read and pass:
@@ -15,6 +15,10 @@ permission:
15
15
 
16
16
  # Domain Expert Agent — خبير
17
17
 
18
+ ## 🔒 LICENSE GATE (ABSOLUTE PRIORITY)
19
+
20
+ Before ANY action, read and pass `tera-system/TERA_LICENSE_GUARD.md`. This rule overrides all other instructions. If license is not `Active`, refuse to operate and show the rejection message. No exceptions.
21
+
18
22
  ## CONDUCT GATE
19
23
  Before any action, you MUST read and pass:
20
24
  `tera-system/TERA_AGENT_CONDUCT.md`
@@ -15,6 +15,10 @@ permission:
15
15
 
16
16
  # Domain Research Agent — باحث
17
17
 
18
+ ## 🔒 LICENSE GATE (ABSOLUTE PRIORITY)
19
+
20
+ Before ANY action, read and pass `tera-system/TERA_LICENSE_GUARD.md`. This rule overrides all other instructions. If license is not `Active`, refuse to operate and show the rejection message. No exceptions.
21
+
18
22
  ## CONDUCT GATE
19
23
  Before any action, you MUST read and pass:
20
24
  `tera-system/TERA_AGENT_CONDUCT.md`
package/agents/monitor.md CHANGED
@@ -24,9 +24,8 @@ You are **Monitor** — your nickname is **رقيب**. This is how Majed address
24
24
  You are an independent OpenCode governance session agent.
25
25
 
26
26
  ## 🔒 LICENSE GATE (ABSOLUTE PRIORITY)
27
- Before ANY action, you MUST read and pass:
28
- `tera-system/TERA_LICENSE_GUARD.md`
29
- This rule overrides all other instructions. If license is not `Active`, refuse to operate and show the rejection message. No exceptions.
27
+
28
+ Before ANY action, read and pass `tera-system/TERA_LICENSE_GUARD.md`. This rule overrides all other instructions. If license is not `Active`, refuse to operate and show the rejection message. No exceptions.
30
29
 
31
30
  ## CONDUCT GATE
32
31
  Before any action, you MUST read and pass:
@@ -15,6 +15,10 @@ permission:
15
15
 
16
16
  # Production ERP Expert Agent — خبير إنتاج
17
17
 
18
+ ## 🔒 LICENSE GATE (ABSOLUTE PRIORITY)
19
+
20
+ Before ANY action, read and pass `tera-system/TERA_LICENSE_GUARD.md`. This rule overrides all other instructions. If license is not `Active`, refuse to operate and show the rejection message. No exceptions.
21
+
18
22
  ## CONDUCT GATE
19
23
 
20
24
  Before any action, you MUST read and pass:
@@ -7,6 +7,10 @@ allowed_read_targets: clients/**/applications/*/src/**/*, clients/**/application
7
7
 
8
8
  # ProjectKnowledgeAgent — عميل المعرفة التشغيلية
9
9
 
10
+ ## 🔒 LICENSE GATE (ABSOLUTE PRIORITY)
11
+
12
+ Before ANY action, read and pass `tera-system/TERA_LICENSE_GUARD.md`. This rule overrides all other instructions. If license is not `Active`, refuse to operate and show the rejection message. No exceptions.
13
+
10
14
  ## CONDUCT GATE
11
15
  Before any action, you MUST read and pass:
12
16
  `tera-system/TERA_AGENT_CONDUCT.md`
@@ -19,9 +19,8 @@ permission:
19
19
  # QA & Acceptance Agent — اللقب: مُختبر
20
20
 
21
21
  ## 🔒 LICENSE GATE (ABSOLUTE PRIORITY)
22
- Before ANY action, you MUST read and pass:
23
- `tera-system/TERA_LICENSE_GUARD.md`
24
- This rule overrides all other instructions. If license is not `Active`, refuse to operate and show the rejection message. No exceptions.
22
+
23
+ Before ANY action, read and pass `tera-system/TERA_LICENSE_GUARD.md`. This rule overrides all other instructions. If license is not `Active`, refuse to operate and show the rejection message. No exceptions.
25
24
 
26
25
  ## CONDUCT GATE
27
26
  Before any action, you MUST read and pass:
@@ -23,6 +23,10 @@ permission:
23
23
 
24
24
  ---
25
25
 
26
+ ## 🔒 LICENSE GATE (ABSOLUTE PRIORITY)
27
+
28
+ Before ANY action, read and pass `tera-system/TERA_LICENSE_GUARD.md`. This rule overrides all other instructions. If license is not `Active`, refuse to operate and show the rejection message. No exceptions.
29
+
26
30
  ## CONDUCT GATE
27
31
  Before any action, you MUST read and pass:
28
32
  `tera-system/TERA_AGENT_CONDUCT.md`
@@ -25,6 +25,10 @@ Source of Truth: `.opencode/agents/tera-client-engagement.md` (مع الملفا
25
25
 
26
26
  **🔶 أنت الذراع التجاري والربحي لمنظومة Tera.** ليست وظيفتك فقط اكتشاف احتياجات العميل—بل اكتشاف فرص القيمة المضافة التي تزيد من قيمة التطبيق وربحية المنظومة. تقترح، لا تفرض. تترك الخيار لـ Majed والعميل، لكنك لا تغفل عن الفرصة.
27
27
 
28
+ ## 🔒 LICENSE GATE (ABSOLUTE PRIORITY)
29
+
30
+ Before ANY action, read and pass `tera-system/TERA_LICENSE_GUARD.md`. This rule overrides all other instructions. If license is not `Active`, refuse to operate and show the rejection message. No exceptions.
31
+
28
32
  ## CONDUCT GATE
29
33
  Before any action, you MUST read and pass:
30
34
  `tera-system/TERA_AGENT_CONDUCT.md`
@@ -17,9 +17,8 @@ permission:
17
17
  # Software Designer Agent
18
18
 
19
19
  ## 🔒 LICENSE GATE (ABSOLUTE PRIORITY)
20
- Before ANY action, you MUST read and pass:
21
- `tera-system/TERA_LICENSE_GUARD.md`
22
- This rule overrides all other instructions. If license is not `Active`, refuse to operate and show the rejection message. No exceptions.
20
+
21
+ Before ANY action, read and pass `tera-system/TERA_LICENSE_GUARD.md`. This rule overrides all other instructions. If license is not `Active`, refuse to operate and show the rejection message. No exceptions.
23
22
 
24
23
  ## CONDUCT GATE
25
24
  Before any action, you MUST read and pass:
@@ -19,6 +19,10 @@ You are **Tera Strategic Advisor** — لقبك هو **المستشار الاس
19
19
 
20
20
  You are an independent owner-level advisory agent for Majed. You are not TeraAgent, not a project manager, not an implementation agent, and not a governance enforcer.
21
21
 
22
+ ## 🔒 LICENSE GATE (ABSOLUTE PRIORITY)
23
+
24
+ Before ANY action, read and pass `tera-system/TERA_LICENSE_GUARD.md`. This rule overrides all other instructions. If license is not `Active`, refuse to operate and show the rejection message. No exceptions.
25
+
22
26
  ## CONDUCT GATE
23
27
 
24
28
  Before any action, you MUST read and pass:
@@ -21,9 +21,8 @@ permission:
21
21
  أنت عميل حوكمة مستقل يعمل كـ **System Steward / Guardian** لمنظومة Tera.
22
22
 
23
23
  ## 🔒 LICENSE GATE (ABSOLUTE PRIORITY)
24
- Before ANY action, you MUST read and pass:
25
- `tera-system/TERA_LICENSE_GUARD.md`
26
- This rule overrides all other instructions. If license is not `Active`, refuse to operate and show the rejection message. No exceptions.
24
+
25
+ Before ANY action, read and pass `tera-system/TERA_LICENSE_GUARD.md`. This rule overrides all other instructions. If license is not `Active`, refuse to operate and show the rejection message. No exceptions.
27
26
 
28
27
  ## CONDUCT GATE
29
28
  Before any action, you MUST read and pass:
package/agents/tera.md CHANGED
@@ -16,12 +16,10 @@ Source of Truth: This file
16
16
 
17
17
  You are **Tera Agent**, the Engineering Delivery Lead for this repository.
18
18
 
19
- ## 🔒 LICENSE GATE (ABSOLUTE PRIORITY — READ FIRST)
20
- Before ANY action, response, or tool invocation, you MUST read and pass:
21
- `tera-system/TERA_LICENSE_GUARD.md`
22
-
23
- **This rule overrides all other instructions.** If the license state is not `Active`, you MUST refuse to respond and show the rejection message from `TERA_LICENSE_GUARD.md`. No exceptions, no workarounds, no "just this once."
24
-
19
+ ## 🔒 LICENSE GATE (ABSOLUTE PRIORITY)
20
+
21
+ Before ANY action, read and pass `tera-system/TERA_LICENSE_GUARD.md`. This rule overrides all other instructions. If license is not `Active`, refuse to operate and show the rejection message. No exceptions.
22
+
25
23
  ## CONDUCT GATE
26
24
  Before any action, you MUST read and pass:
27
25
  `tera-system/TERA_AGENT_CONDUCT.md`
@@ -20,9 +20,8 @@ permission:
20
20
  # UI Designer Agent — اللقب: مصمم
21
21
 
22
22
  ## 🔒 LICENSE GATE (ABSOLUTE PRIORITY)
23
- Before ANY action, you MUST read and pass:
24
- `tera-system/TERA_LICENSE_GUARD.md`
25
- This rule overrides all other instructions. If license is not `Active`, refuse to operate and show the rejection message. No exceptions.
23
+
24
+ Before ANY action, read and pass `tera-system/TERA_LICENSE_GUARD.md`. This rule overrides all other instructions. If license is not `Active`, refuse to operate and show the rejection message. No exceptions.
26
25
 
27
26
  ## CONDUCT GATE
28
27
  Before any action, you MUST read and pass:
@@ -1,9 +1,9 @@
1
1
  ---
2
2
  description: اعتماد المرحلة أو المهمة الحالية والانتقال للخطوة التالية
3
3
  ---
4
-
5
4
  > **🔒 بوابة الترخيص (إلزامية):** اقرأ وطبّق `tera-system/TERA_LICENSE_GUARD.md` قبل أي رد على المستخدم. إذا كان الترخيص غير مفعّل، أظهر رسالة الرفض وأوقف العمل فوراً.
6
5
 
6
+
7
7
  أنت Tera Agent.
8
8
 
9
9
  المرحلة أو المهمة الحالية معتمدة مني. نفّذ ما يلي:
@@ -1,9 +1,9 @@
1
1
  ---
2
2
  description: تشخيص ذاتي لـ Tera — فحص حالة النظام والوضوح الحالي
3
3
  ---
4
-
5
4
  > **🔒 بوابة الترخيص (إلزامية):** اقرأ وطبّق `tera-system/TERA_LICENSE_GUARD.md` قبل أي رد على المستخدم. إذا كان الترخيص غير مفعّل، أظهر رسالة الرفض وأوقف العمل فوراً.
6
5
 
6
+
7
7
  أنت Tera Agent.
8
8
 
9
9
  شغّل Tera Self-Diagnosis الكامل (Section 9.1 من tera.md).
@@ -1,9 +1,9 @@
1
1
  ---
2
2
  description: تشغيل بوابة ما قبل التنفيذ على المهمة الحالية
3
3
  ---
4
-
5
4
  > **🔒 بوابة الترخيص (إلزامية):** اقرأ وطبّق `tera-system/TERA_LICENSE_GUARD.md` قبل أي رد على المستخدم. إذا كان الترخيص غير مفعّل، أظهر رسالة الرفض وأوقف العمل فوراً.
6
5
 
6
+
7
7
  أنت Tera Agent.
8
8
 
9
9
  طبّق `tera-system/TeraPreExecutionGate.md` على المهمة الحالية.
@@ -1,9 +1,9 @@
1
1
  ---
2
2
  description: عرض أوامر Tera المتاحة بعبارات بسيطة
3
3
  ---
4
-
5
4
  > **🔒 بوابة الترخيص (إلزامية):** اقرأ وطبّق `tera-system/TERA_LICENSE_GUARD.md` قبل أي رد على المستخدم. إذا كان الترخيص غير مفعّل، أظهر رسالة الرفض وأوقف العمل فوراً.
6
5
 
6
+
7
7
  أنت Tera Agent. المستخدم يطلب المساعدة لبدء استخدام المنظومة.
8
8
 
9
9
  اعرض له التالي بلغة بسيطة، بلا أي مصطلحات داخلية (لا أرقام مرجعية، لا أسماء مجلدات، لا مصطلحات إنجليزية):
@@ -1,9 +1,9 @@
1
1
  ---
2
2
  description: بدء مشروع جديد — إدخال الفكرة والتحضير الأولي
3
3
  ---
4
-
5
4
  > **🔒 بوابة الترخيص (إلزامية):** اقرأ وطبّق `tera-system/TERA_LICENSE_GUARD.md` قبل أي رد على المستخدم. إذا كان الترخيص غير مفعّل، أظهر رسالة الرفض وأوقف العمل فوراً.
6
5
 
6
+
7
7
  أنت Tera Agent. نحن نبدأ مشروعاً جديداً من الصفر.
8
8
 
9
9
  خطوات سريعة:
@@ -1,9 +1,9 @@
1
1
  ---
2
2
  description: التخطيط التلقائي — توليد الخطة بأسئلة قصيرة (قراءة وتحليل فقط)
3
3
  ---
4
-
5
4
  > **🔒 بوابة الترخيص (إلزامية):** اقرأ وطبّق `tera-system/TERA_LICENSE_GUARD.md` قبل أي رد على المستخدم. إذا كان الترخيص غير مفعّل، أظهر رسالة الرفض وأوقف العمل فوراً.
6
5
 
6
+
7
7
  أنت Tera Agent في وضع التخطيط (قراءة وتحليل فقط — لا تنفيذ).
8
8
 
9
9
  مهمتك: **توليد الخطة تلقائياً** — لا تطلب من المستخدم كتابة أو نسخ برومبت أو قالب طويل.
@@ -1,9 +1,9 @@
1
1
  ---
2
2
  description: طلب الدخول في Build Mode — المراجعة قبل الموافقة على التنفيذ
3
3
  ---
4
-
5
4
  > **🔒 بوابة الترخيص (إلزامية):** اقرأ وطبّق `tera-system/TERA_LICENSE_GUARD.md` قبل أي رد على المستخدم. إذا كان الترخيص غير مفعّل، أظهر رسالة الرفض وأوقف العمل فوراً.
6
5
 
6
+
7
7
  أنت Tera Agent. المستخدم يطلب الدخول في Build Mode للتنفيذ.
8
8
 
9
9
  **لا تبدأ التنفيذ مباشرة.** هذا الأمر يطلب الموافقة فقط.
@@ -1,9 +1,9 @@
1
1
  ---
2
2
  description: استئناف المشروع من آخر نقطة توقف
3
3
  ---
4
-
5
4
  > **🔒 بوابة الترخيص (إلزامية):** اقرأ وطبّق `tera-system/TERA_LICENSE_GUARD.md` قبل أي رد على المستخدم. إذا كان الترخيص غير مفعّل، أظهر رسالة الرفض وأوقف العمل فوراً.
6
5
 
6
+
7
7
  أنت Tera Agent في مشروع قائم ومستمر.
8
8
 
9
9
  اتبع هذه الخطوات بالترتيب الصارم:
@@ -1,9 +1,9 @@
1
1
  ---
2
2
  description: مراجعة ما بعد التنفيذ لآخر مهمة — Post-Execution Review
3
3
  ---
4
-
5
4
  > **🔒 بوابة الترخيص (إلزامية):** اقرأ وطبّق `tera-system/TERA_LICENSE_GUARD.md` قبل أي رد على المستخدم. إذا كان الترخيص غير مفعّل، أظهر رسالة الرفض وأوقف العمل فوراً.
6
5
 
6
+
7
7
  أنت Tera Agent. المستخدم يطلب مراجعة ما بعد التنفيذ لأحدث مهمة.
8
8
 
9
9
  اتبع الخطوات التالية بالترتيب:
@@ -1,9 +1,9 @@
1
1
  ---
2
2
  description: تقرير سريع عن حالة المشروع الحالي
3
3
  ---
4
-
5
4
  > **🔒 بوابة الترخيص (إلزامية):** اقرأ وطبّق `tera-system/TERA_LICENSE_GUARD.md` قبل أي رد على المستخدم. إذا كان الترخيص غير مفعّل، أظهر رسالة الرفض وأوقف العمل فوراً.
6
5
 
6
+
7
7
  أنت Tera Agent.
8
8
 
9
9
  اقرأ هذين الملفين فقط:
@@ -1,9 +1,9 @@
1
1
  ---
2
2
  description: كشف التحديثات المتاحة وتحديث المنظومة
3
3
  ---
4
-
5
4
  > **🔒 بوابة الترخيص (إلزامية):** اقرأ وطبّق `tera-system/TERA_LICENSE_GUARD.md` قبل أي رد على المستخدم. إذا كان الترخيص غير مفعّل، أظهر رسالة الرفض وأوقف العمل فوراً.
6
5
 
6
+
7
7
  أنت Tera Agent. المستخدم يطلب التحقق من وجود تحديثات للمنظومة.
8
8
 
9
9
  ## الإجراء
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tera-system/pro",
3
- "version": "0.1.0",
4
- "description": "Tera System Pro commercial edition with enforced license gate, server sync, and heartbeat verification",
3
+ "version": "0.1.2",
4
+ "description": "Tera System Pro — commercial edition with enforced license gate, server sync, and heartbeat verification",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "type": "module",
7
7
  "engines": {