# الحوانيتStots

Canonical URL: https://developers.iagenify.com/ar/sdk/agent/skills-and-subagents/library-status/
Language: ar

أحد المجالات يقول لماذا المكتبة فارغة: لم يكن هناك مصدر هنا، أو رفض مصدر، وهذا هو رمزها.

Status: {} means both were read · "none" is normal · a code is a refusal

```javascript
await agent.run({ inputs: "…" });

agent.libraryStatus;
// {}                               both read, whatever they returned
// { subagents: "none" }            no source for subagents on this machine
// { skills: "storage_not_local" }  a source was there and refused
```

## نوعان من القيمة {#values}

| القيمة | المعنى | عادة |
| --- | --- | --- |
| `"none"` | لا يوجد مصدر لهذا النوع هنا | هاتف أو سحابة مساحة عمل، التي ليس لها قرص، وحساب مع لا شيء محفوظ. |
| هذا | مصدر موجود و مرفوض | `storage_not_local`, `storage_not_on_this_machine`أو فشل شبكة قراءة الحساب |

وقد تم قراءة نوع غائب عن الجسم بنجاح ، بما في ذلك عندما أعاد قائمة فارغة ، مما يعني ببساطة انه لم يتم انقاذ شيء .

## سبب وجوده {#why}

> **مكتبة فارغة ومكتبة مرفوضة تبدوان متشابهتين من الخارج**
>
> فبدون هذا المجال، يكون الفرق غير مرئي، "وإن الوكيل لا يقوم أبداً بالتفويض" يقرأ كخيار نموذجي وليس كمكتبة لا يمكن قراءتها.

## المُمَاَسَه {#surfacing}

```javascript
const problems = Object.entries(agent.libraryStatus).filter(([, value]) => value !== "none");

if (problems.length) {
  console.warn("library unavailable:", problems.map(([kind, code]) => `${kind}: ${code}`).join(", "));
}
```

at `"none"` أولاً هو تشكيل، والثاني هو فشل.

## When it is filled {#when}

في بداية كل عملية، عندما يتم إعادة قراءة المكتبتين. قبل أول عملية، يكون كائن فارغ، والذي لا يعني أي شيء بعد.

- [المهارات والوكلاء الفرعيون](/ar/sdk/agent/skills-and-subagents): من أين يأتي كلاهما منه ومن يفوز
- [الخيارات · الأدوات والمكتبة](/ar/sdk/ref/agents/options/tools): -تُخَوِّل ما يحصل عليه الركض

```python
agent.run(inputs="…")

# The Python engine has no library_status: it reads the libraries at creation,
# and an unreadable source simply leaves the list empty.
agent.skills, agent.subagents
```

```python
if not agent.skills and api.agents.skills.list():
    print("library unavailable: skills exist on the account but this agent has none")
```
