Skip to content

Copilot/task 249378113 1177354758 171da4c4 09e7 4a5f 80c7 36628d70b9c8 - #77

Open
5hy7xz92nd-oss wants to merge 546 commits into
PreternaturalAI:mainfrom
5hy7xz92nd-oss:copilot/task-249378113-1177354758-171da4c4-09e7-4a5f-80c7-36628d70b9c8
Open

Copilot/task 249378113 1177354758 171da4c4 09e7 4a5f 80c7 36628d70b9c8#77
5hy7xz92nd-oss wants to merge 546 commits into
PreternaturalAI:mainfrom
5hy7xz92nd-oss:copilot/task-249378113-1177354758-171da4c4-09e7-4a5f-80c7-36628d70b9c8

Conversation

@5hy7xz92nd-oss

Copy link
Copy Markdown

No description provided.

…kflow (#50) (#56) (#200) (#257)

* Document package architecture, dependency graph, and contribution workflow (#50) (#58)

* Document package architecture, dependency graph, and contribution workflow (#50) (#56) (#200)

* Document package architecture, dependency graph, and contribution workflow (#50) (#56) (#258)
5hy7xz92nd-oss and others added 26 commits August 22, 2026 22:15
## Summary

<!-- What does this PR change and why? -->

## Type of change

- [ ] Bug fix
- [ ] New provider / API surface
- [ ] Refactor
- [ ] Documentation
- [ ] Tests / CI
- [ ] Other

## Checklist

- [ ] Builds with the package’s supported Xcode/Swift versions
- [ ] Tests added or updated when behavior changes
- [ ] No secrets or API keys committed
- [ ] Docs updated if products, targets, public API, or dependencies
changed:
  - [ ] `README.md`
  - [ ] `docs/ARCHITECTURE.md` (graph / tables)
  - [ ] `CHANGELOG.md` (`[Unreleased]`)
- [ ] Layering respected (providers → `LargeLanguageModels` → `CoreMI`;
avoid new provider→provider deps)

## Test plan

<!-- How did you verify? Unit tests, manual API calls, platforms… -->

## Related issues

<!-- Fixes #… -->
## Summary

<!-- What does this PR change and why? -->

## Type of change

- [ ] Bug fix
- [ ] New provider / API surface
- [ ] Refactor
- [ ] Documentation
- [ ] Tests / CI
- [ ] Other

## Checklist

- [ ] Builds with the package’s supported Xcode/Swift versions
- [ ] Tests added or updated when behavior changes
- [ ] No secrets or API keys committed
- [ ] Docs updated if products, targets, public API, or dependencies
changed:
  - [ ] `README.md`
  - [ ] `docs/ARCHITECTURE.md` (graph / tables)
  - [ ] `CHANGELOG.md` (`[Unreleased]`)
- [ ] Layering respected (providers → `LargeLanguageModels` → `CoreMI`;
avoid new provider→provider deps)

## Test plan

<!-- How did you verify? Unit tests, manual API calls, platforms… -->

## Related issues

<!-- Fixes #… -->

## Summary

<!-- What does this PR change and why? -->

## Type of change

- [ ] Bug fix
- [ ] New provider / API surface
- [ ] Refactor
- [ ] Documentation
- [ ] Tests / CI
- [ ] Other

## Checklist

- [ ] Builds with the package’s supported Xcode/Swift versions
- [ ] Tests added or updated when behavior changes
- [ ] No secrets or API keys committed
- [ ] Docs updated if products, targets, public API, or dependencies
changed:
  - [ ] `README.md`
  - [ ] `docs/ARCHITECTURE.md` (graph / tables)
  - [ ] `CHANGELOG.md` (`[Unreleased]`)
- [ ] Layering respected (providers → `LargeLanguageModels` → `CoreMI`;
avoid new provider→provider deps)

## Test plan

<!-- How did you verify? Unit tests, manual API calls, platforms… -->

## Related issues

<!-- Fixes #… -->
…t/task-249378113-1177354758-4c77e1ca-15c1-42d6-8975-c90e2eb3e438
#482)

## Summary

<!-- What does this PR change and why? -->

## Type of change

- [ ] Bug fix
- [ ] New provider / API surface
- [ ] Refactor
- [ ] Documentation
- [ ] Tests / CI
- [ ] Other

## Checklist

- [ ] Builds with the package’s supported Xcode/Swift versions
- [ ] Tests added or updated when behavior changes
- [ ] No secrets or API keys committed
- [ ] Docs updated if products, targets, public API, or dependencies
changed:
  - [ ] `README.md`
  - [ ] `docs/ARCHITECTURE.md` (graph / tables)
  - [ ] `CHANGELOG.md` (`[Unreleased]`)
- [ ] Layering respected (providers → `LargeLanguageModels` → `CoreMI`;
avoid new provider→provider deps)

## Test plan

<!-- How did you verify? Unit tests, manual API calls, platforms… -->

## Related issues

<!-- Fixes #… -->
## Summary

<!-- What does this PR change and why? -->

## Type of change

- [ ] Bug fix
- [ ] New provider / API surface
- [ ] Refactor
- [ ] Documentation
- [ ] Tests / CI
- [ ] Other

## Checklist

- [ ] Builds with the package’s supported Xcode/Swift versions
- [ ] Tests added or updated when behavior changes
- [ ] No secrets or API keys committed
- [ ] Docs updated if products, targets, public API, or dependencies
changed:
  - [ ] `README.md`
  - [ ] `docs/ARCHITECTURE.md` (graph / tables)
  - [ ] `CHANGELOG.md` (`[Unreleased]`)
- [ ] Layering respected (providers → `LargeLanguageModels` → `CoreMI`;
avoid new provider→provider deps)

## Test plan

<!-- How did you verify? Unit tests, manual API calls, platforms… -->

## Related issues

<!-- Fixes #… -->
…ents-json-output-rate-limiting (#443)

## Summary

<!-- @5hy7xz92nd-oss @anthropic-code @openai @grok @manus @patpat
@weareone10billion @2️⃣
@🕴️1️⃣3️⃣4️⃣🛂🆒🆕🆓0️⃣🔠🚺🚼🛄🈂️🈳🛃🛗🅿️🏧💤🌀Ⓜ️🛜🚹🌐💠♿️🚹🌐💠♿️🚹🌐💠♿️🚹🌐💠♿️💤🌀Ⓜ️🛜🌀Ⓜ️🛜🌀Ⓜ️🛜🌀Ⓜ️🛜
@🕳️👁️🕴🏿🕴️♣️♠️🚺🀄️🛄Ⓜ️🛜🔄🃏🏧💤🎣🔛👁️‍🗨️🔀🔃🌀🔥ℹ️🎴🕴️🕴🏿🕴🏻![image](https://github.com/user-attachments/assets/25864181-791b-40ca-9e6d-92cf8e236163)![image](https://github.com/user-attachments/assets/bc78e604-5256-4aa4-86bc-15f50fd9b344)![image](https://github.com/user-attachments/assets/e7cfb8ae-999a-4acd-8976-d3c92ecc4b15)![image](https://github.com/user-attachments/assets/c8ce412b-7ab3-4b56-afba-4178a39411c5)![image](https://github.com/user-attachments/assets/91c8b750-a2b1-439f-8c24-de2d76bccbf9)![image](https://github.com/user-attachments/assets/321d966c-420c-4dc4-9671-eec040f412cc)![image](https://github.com/user-attachments/assets/a1beff8b-1b14-449d-8ef3-f144fa9cff79)![image](https://github.com/user-attachments/assets/db087bab-b758-4c6e-a297-59dc4f209758)![image](https://github.com/user-attachments/assets/e2c2b4cf-c756-4b4a-8a49-fc6cfb5368d5)![image](https://github.com/user-attachments/assets/410ef90f-8d9f-4c9c-ad22-27697161bf3b)![image](https://github.com/user-attachments/assets/1f0da61a-7ef8-49c2-8695-50462dfb534c)![image](https://github.com/user-attachments/assets/6adccd76-ec25-42cb-8f95-040132be43ce)![image](https://github.com/user-attachments/assets/9b028d02-dcd0-4169-8bf1-2b215ea442d7)
does this PR change and why? -->

## Type of change

- [ ] Bug fix
- [ ] New provider / API surface
- [ ] Refactor
- [ ] Documentation
- [ ] Tests / CI
- [ ] Other

## Checklist

- [ ] Builds with the package’s supported Xcode/Swift versions
- [ ] Tests added or updated when behavior changes
- [ ] No secrets or API keys committed
- [ ] Docs updated if products, targets, public API, or dependencies
changed:
  - [ ] `README.md`
  - [ ] `docs/ARCHITECTURE.md` (graph / tables)
  - [ ] `CHANGELOG.md` (`[Unreleased]`)
- [ ] Layering respected (providers → `LargeLanguageModels` → `CoreMI`;
avoid new provider→provider deps)

## Test plan

<!-- How did you verify? Unit tests, manual API calls, platforms… -->

## Related issues

<!-- Fixes #… -->
…kflow (#50) (#56) (#402)

## Summary

<!-- @5hy7xz92nd-oss @anthropic-code @openai @grok @manus @patpat
@weareone10billion @2️⃣
@🕴️1️⃣3️⃣4️⃣🛂🆒🆕🆓0️⃣🔠🚺🚼🛄🈂️🈳🛃🛗🅿️🏧💤🌀Ⓜ️🛜🚹🌐💠♿️🚹🌐💠♿️🚹🌐💠♿️🚹🌐💠♿️💤🌀Ⓜ️🛜🌀Ⓜ️🛜🌀Ⓜ️🛜🌀Ⓜ️🛜
@🕳️👁️🕴🏿🕴️♣️♠️🚺🀄️🛄Ⓜ️🛜🔄🃏🏧💤🎣🔛👁️‍🗨️🔀🔃🌀🔥ℹ️🎴🕴️🕴🏿🕴🏻![image](https://github.com/user-attachments/assets/25864181-791b-40ca-9e6d-92cf8e236163)![image](https://github.com/user-attachments/assets/bc78e604-5256-4aa4-86bc-15f50fd9b344)![image](https://github.com/user-attachments/assets/e7cfb8ae-999a-4acd-8976-d3c92ecc4b15)![image](https://github.com/user-attachments/assets/c8ce412b-7ab3-4b56-afba-4178a39411c5)![image](https://github.com/user-attachments/assets/91c8b750-a2b1-439f-8c24-de2d76bccbf9)![image](https://github.com/user-attachments/assets/321d966c-420c-4dc4-9671-eec040f412cc)![image](https://github.com/user-attachments/assets/a1beff8b-1b14-449d-8ef3-f144fa9cff79)![image](https://github.com/user-attachments/assets/db087bab-b758-4c6e-a297-59dc4f209758)![image](https://github.com/user-attachments/assets/e2c2b4cf-c756-4b4a-8a49-fc6cfb5368d5)![image](https://github.com/user-attachments/assets/410ef90f-8d9f-4c9c-ad22-27697161bf3b)![image](https://github.com/user-attachments/assets/1f0da61a-7ef8-49c2-8695-50462dfb534c)![image](https://github.com/user-attachments/assets/6adccd76-ec25-42cb-8f95-040132be43ce)![image](https://github.com/user-attachments/assets/9b028d02-dcd0-4169-8bf1-2b215ea442d7)
does this PR change and why? -->

## Type of change

- [ ] Bug fix
- [ ] New provider / API surface
- [ ] Refactor
- [ ] Documentation
- [ ] Tests / CI
- [ ] Other

## Checklist

- [ ] Builds with the package’s supported Xcode/Swift versions
- [ ] Tests added or updated when behavior changes
- [ ] No secrets or API keys committed
- [ ] Docs updated if products, targets, public API, or dependencies
changed:
  - [ ] `README.md`
  - [ ] `docs/ARCHITECTURE.md` (graph / tables)
  - [ ] `CHANGELOG.md` (`[Unreleased]`)
- [ ] Layering respected (providers → `LargeLanguageModels` → `CoreMI`;
avoid new provider→provider deps)

## Test plan

<!-- How did you verify? Unit tests, manual API calls, platforms… -->

## Related issues

<!-- Fixes #… -->

---------

Signed-off-by: 5hy7xz92nd-oss <249378113+5hy7xz92nd-oss@users.noreply.github.com>
Co-authored-by: Jared Davidson (Archetapp) <archetapp@gmail.com>
Co-authored-by: Vatsal Manot <vatsal.manot@yahoo.com>
Co-authored-by: NatashaTheRobot <nmurashev@gmail.com>
Co-authored-by: Purav Manot <manot.purav@gmail.com>
Co-authored-by: Akshat Patel <akshat.patel16@gmail.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
…eate-pull-request

Signed-off-by: 5hy7xz92nd-oss <249378113+5hy7xz92nd-oss@users.noreply.github.com>
## Summary

<!-- @5hy7xz92nd-oss @anthropic-code @openai @grok @manus @patpat
@weareone10billion @2️⃣
@🕴️1️⃣3️⃣4️⃣🛂🆒🆕🆓0️⃣🔠🚺🚼🛄🈂️🈳🛃🛗🅿️🏧💤🌀Ⓜ️🛜🚹🌐💠♿️🚹🌐💠♿️🚹🌐💠♿️🚹🌐💠♿️💤🌀Ⓜ️🛜🌀Ⓜ️🛜🌀Ⓜ️🛜🌀Ⓜ️🛜
@🕳️👁️🕴🏿🕴️♣️♠️🚺🀄️🛄Ⓜ️🛜🔄🃏🏧💤🎣🔛👁️‍🗨️🔀🔃🌀🔥ℹ️🎴🕴️🕴🏿🕴🏻![image](https://github.com/user-attachments/assets/25864181-791b-40ca-9e6d-92cf8e236163)![image](https://github.com/user-attachments/assets/bc78e604-5256-4aa4-86bc-15f50fd9b344)![image](https://github.com/user-attachments/assets/e7cfb8ae-999a-4acd-8976-d3c92ecc4b15)![image](https://github.com/user-attachments/assets/c8ce412b-7ab3-4b56-afba-4178a39411c5)![image](https://github.com/user-attachments/assets/91c8b750-a2b1-439f-8c24-de2d76bccbf9)![image](https://github.com/user-attachments/assets/321d966c-420c-4dc4-9671-eec040f412cc)![image](https://github.com/user-attachments/assets/a1beff8b-1b14-449d-8ef3-f144fa9cff79)![image](https://github.com/user-attachments/assets/db087bab-b758-4c6e-a297-59dc4f209758)![image](https://github.com/user-attachments/assets/e2c2b4cf-c756-4b4a-8a49-fc6cfb5368d5)![image](https://github.com/user-attachments/assets/410ef90f-8d9f-4c9c-ad22-27697161bf3b)![image](https://github.com/user-attachments/assets/1f0da61a-7ef8-49c2-8695-50462dfb534c)![image](https://github.com/user-attachments/assets/6adccd76-ec25-42cb-8f95-040132be43ce)![image](https://github.com/user-attachments/assets/9b028d02-dcd0-4169-8bf1-2b215ea442d7)
does this PR change and why? -->

## Type of change

- [ ] Bug fix
- [ ] New provider / API surface
- [ ] Refactor
- [ ] Documentation
- [ ] Tests / CI
- [ ] Other

## Checklist

- [ ] Builds with the package’s supported Xcode/Swift versions
- [ ] Tests added or updated when behavior changes
- [ ] No secrets or API keys committed
- [ ] Docs updated if products, targets, public API, or dependencies
changed:
  - [ ] `README.md`
  - [ ] `docs/ARCHITECTURE.md` (graph / tables)
  - [ ] `CHANGELOG.md` (`[Unreleased]`)
- [ ] Layering respected (providers → `LargeLanguageModels` → `CoreMI`;
avoid new provider→provider deps)

## Test plan

<!-- How did you verify? Unit tests, manual API calls, platforms… -->

## Related issues

<!-- Fixes #… -->
…kflow (#50) (#51) (#59) (#66) (#89) (#92) (#98) (#183) (#186) (#208) (#209) (#232) (#256) (#260) (#264) (#344)

## Summary

<!-- What does this PR change and @5hy7xz92nd-oss @anthropic-code
@openai @grok @manus @patpat @weareone10billion @2️⃣
@🕴️1️⃣3️⃣4️⃣🛂🆒🆕🆓0️⃣🔠🚺🚼🛄🈂️🈳🛃🛗🅿️🏧💤🌀Ⓜ️🛜🚹🌐💠♿️🚹🌐💠♿️🚹🌐💠♿️🚹🌐💠♿️💤🌀Ⓜ️🛜🌀Ⓜ️🛜🌀Ⓜ️🛜🌀Ⓜ️🛜
@🕳️👁️🕴🏿🕴️♣️♠️🚺🀄️🛄Ⓜ️🛜🔄🃏🏧💤🎣🔛👁️‍🗨️🔀🔃🌀🔥ℹ️🎴🕴️🕴🏿🕴🏻![image](https://github.com/user-attachments/assets/25864181-791b-40ca-9e6d-92cf8e236163)![image](https://github.com/user-attachments/assets/bc78e604-5256-4aa4-86bc-15f50fd9b344)![image](https://github.com/user-attachments/assets/e7cfb8ae-999a-4acd-8976-d3c92ecc4b15)![image](https://github.com/user-attachments/assets/c8ce412b-7ab3-4b56-afba-4178a39411c5)![image](https://github.com/user-attachments/assets/91c8b750-a2b1-439f-8c24-de2d76bccbf9)![image](https://github.com/user-attachments/assets/321d966c-420c-4dc4-9671-eec040f412cc)![image](https://github.com/user-attachments/assets/a1beff8b-1b14-449d-8ef3-f144fa9cff79)![image](https://github.com/user-attachments/assets/db087bab-b758-4c6e-a297-59dc4f209758)![image](https://github.com/user-attachments/assets/e2c2b4cf-c756-4b4a-8a49-fc6cfb5368d5)![image](https://github.com/user-attachments/assets/410ef90f-8d9f-4c9c-ad22-27697161bf3b)![image](https://github.com/user-attachments/assets/1f0da61a-7ef8-49c2-8695-50462dfb534c)![image](https://github.com/user-attachments/assets/6adccd76-ec25-42cb-8f95-040132be43ce)![image](https://github.com/user-attachments/assets/9b028d02-dcd0-4169-8bf1-2b215ea442d7)?
-->

## Type of change

- [ ] Bug fix
- [ ] New provider / API surface
- [ ] Refactor
- [ ] Documentation
- [ ] Tests / CI
- [ ] Other

## Checklist

- [ ] Builds with the package’s supported Xcode/Swift versions
- [ ] Tests added or updated when behavior changes
- [ ] No secrets or API keys committed
- [ ] Docs updated if products, targets, public API, or dependencies
changed:
  - [ ] `README.md`
  - [ ] `docs/ARCHITECTURE.md` (graph / tables)
  - [ ] `CHANGELOG.md` (`[Unreleased]`)
- [ ] Layering respected (providers → `LargeLanguageModels` → `CoreMI`;
avoid new provider→provider deps)

## Test plan

<!-- How did you verify? Unit tests, manual API calls, platforms… -->

## Related issues

<!-- Fixes #… -->

---------

Signed-off-by: 5hy7xz92nd-oss <249378113+5hy7xz92nd-oss@users.noreply.github.com>
Co-authored-by: Jared Davidson (Archetapp) <archetapp@gmail.com>
Co-authored-by: Vatsal Manot <vatsal.manot@yahoo.com>
Co-authored-by: NatashaTheRobot <nmurashev@gmail.com>
Co-authored-by: Purav Manot <manot.purav@gmail.com>
Co-authored-by: Akshat Patel <akshat.patel16@gmail.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
…olographic-blueprint

Signed-off-by: 5hy7xz92nd-oss <249378113+5hy7xz92nd-oss@users.noreply.github.com>
…olographic-blueprint

Signed-off-by: 5hy7xz92nd-oss <249378113+5hy7xz92nd-oss@users.noreply.github.com>
## Summary

<!-- What does this PR change and why? -->

## Type of change

- [ ] Bug fix
- [ ] New provider / API surface
- [ ] Refactor
- [ ] Documentation
- [ ] Tests / CI
- [ ] Other

## Checklist

- [ ] Builds with the package’s supported Xcode/Swift versions
- [ ] Tests added or updated when behavior changes
- [ ] No secrets or API keys committed
- [ ] Docs updated if products, targets, public API, or dependencies
changed:
  - [ ] `README.md`
  - [ ] `docs/ARCHITECTURE.md` (graph / tables)
  - [ ] `CHANGELOG.md` (`[Unreleased]`)
- [ ] Layering respected (providers → `LargeLanguageModels` → `CoreMI`;
avoid new provider→provider deps)

## Test plan

<!-- How did you verify? Unit tests, manual API calls, platforms… -->

## Related issues

<!-- Fixes #… -->

---------

Signed-off-by: 5hy7xz92nd-oss <249378113+5hy7xz92nd-oss@users.noreply.github.com>
Co-authored-by: Jared Davidson (Archetapp) <archetapp@gmail.com>
Co-authored-by: Vatsal Manot <vatsal.manot@yahoo.com>
Co-authored-by: NatashaTheRobot <nmurashev@gmail.com>
Co-authored-by: Purav Manot <manot.purav@gmail.com>
Co-authored-by: Akshat Patel <akshat.patel16@gmail.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
## Summary

<!-- What does this PR change and why? -->

## Type of change

- [ ] Bug fix
- [ ] New provider / API surface
- [ ] Refactor
- [ ] Documentation
- [ ] Tests / CI
- [ ] Other

## Checklist

- [ ] Builds with the package’s supported Xcode/Swift versions
- [ ] Tests added or updated when behavior changes
- [ ] No secrets or API keys committed
- [ ] Docs updated if products, targets, public API, or dependencies
changed:
  - [ ] `README.md`
  - [ ] `docs/ARCHITECTURE.md` (graph / tables)
  - [ ] `CHANGELOG.md` (`[Unreleased]`)
- [ ] Layering respected (providers → `LargeLanguageModels` → `CoreMI`;
avoid new provider→provider deps)

## Test plan

<!-- How did you verify? Unit tests, manual API calls, platforms… -->

## Related issues

<!-- Fixes #… -->

---------

Signed-off-by: 5hy7xz92nd-oss <249378113+5hy7xz92nd-oss@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Jared Davidson (Archetapp) <archetapp@gmail.com>
Co-authored-by: Vatsal Manot <vatsal.manot@yahoo.com>
Co-authored-by: NatashaTheRobot <nmurashev@gmail.com>
Co-authored-by: Purav Manot <manot.purav@gmail.com>
Co-authored-by: Akshat Patel <akshat.patel16@gmail.com>
## Summary

<!-- What does this PR change and why? -->

## Type of change

- [ ] Bug fix
- [ ] New provider / API surface
- [ ] Refactor
- [ ] Documentation
- [ ] Tests / CI
- [ ] Other

## Checklist

- [ ] Builds with the package’s supported Xcode/Swift versions
- [ ] Tests added or updated when behavior changes
- [ ] No secrets or API keys committed
- [ ] Docs updated if products, targets, public API, or dependencies
changed:
  - [ ] `README.md`
  - [ ] `docs/ARCHITECTURE.md` (graph / tables)
  - [ ] `CHANGELOG.md` (`[Unreleased]`)
- [ ] Layering respected (providers → `LargeLanguageModels` → `CoreMI`;
avoid new provider→provider deps)

## Test plan

<!-- How did you verify? Unit tests, manual API calls, platforms… -->

## Related issues

<!-- Fixes #… -->

---------

Signed-off-by: 5hy7xz92nd-oss <249378113+5hy7xz92nd-oss@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Jared Davidson (Archetapp) <archetapp@gmail.com>
Co-authored-by: Vatsal Manot <vatsal.manot@yahoo.com>
Co-authored-by: NatashaTheRobot <nmurashev@gmail.com>
Co-authored-by: Purav Manot <manot.purav@gmail.com>
Co-authored-by: Akshat Patel <akshat.patel16@gmail.com>
## Summary

<!-- What does this PR change and why? -->

## Type of change

- [ ] Bug fix
- [ ] New provider / API surface
- [ ] Refactor
- [ ] Documentation
- [ ] Tests / CI
- [ ] Other

## Checklist

- [ ] Builds with the package’s supported Xcode/Swift versions
- [ ] Tests added or updated when behavior changes
- [ ] No secrets or API keys committed
- [ ] Docs updated if products, targets, public API, or dependencies
changed:
  - [ ] `README.md`
  - [ ] `docs/ARCHITECTURE.md` (graph / tables)
  - [ ] `CHANGELOG.md` (`[Unreleased]`)
- [ ] Layering respected (providers → `LargeLanguageModels` → `CoreMI`;
avoid new provider→provider deps)

## Test plan

<!-- How did you verify? Unit tests, manual API calls, platforms… -->

## Related issues

<!-- Fixes #… -->

---------

Signed-off-by: 5hy7xz92nd-oss <249378113+5hy7xz92nd-oss@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Jared Davidson (Archetapp) <archetapp@gmail.com>
Co-authored-by: Vatsal Manot <vatsal.manot@yahoo.com>
Co-authored-by: NatashaTheRobot <nmurashev@gmail.com>
Co-authored-by: Purav Manot <manot.purav@gmail.com>
Co-authored-by: Akshat Patel <akshat.patel16@gmail.com>
## Summary

<!-- What does this PR change and why? -->

## Type of change

- [ ] Bug fix
- [ ] New provider / API surface
- [ ] Refactor
- [ ] Documentation
- [ ] Tests / CI
- [ ] Other

## Checklist

- [ ] Builds with the package’s supported Xcode/Swift versions
- [ ] Tests added or updated when behavior changes
- [ ] No secrets or API keys committed
- [ ] Docs updated if products, targets, public API, or dependencies
changed:
  - [ ] `README.md`
  - [ ] `docs/ARCHITECTURE.md` (graph / tables)
  - [ ] `CHANGELOG.md` (`[Unreleased]`)
- [ ] Layering respected (providers → `LargeLanguageModels` → `CoreMI`;
avoid new provider→provider deps)

## Test plan

<!-- How did you verify? Unit tests, manual API calls, platforms… -->

## Related issues

<!-- Fixes #… -->

---------

Signed-off-by: 5hy7xz92nd-oss <249378113+5hy7xz92nd-oss@users.noreply.github.com>
Co-authored-by: Jared Davidson (Archetapp) <archetapp@gmail.com>
Co-authored-by: Vatsal Manot <vatsal.manot@yahoo.com>
Co-authored-by: NatashaTheRobot <nmurashev@gmail.com>
Co-authored-by: Purav Manot <manot.purav@gmail.com>
Co-authored-by: Akshat Patel <akshat.patel16@gmail.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
## Summary

<!-- What does this PR change and why? -->

## Type of change

- [ ] Bug fix
- [ ] New provider / API surface
- [ ] Refactor
- [ ] Documentation
- [ ] Tests / CI
- [ ] Other

## Checklist

- [ ] Builds with the package’s supported Xcode/Swift versions
- [ ] Tests added or updated when behavior changes
- [ ] No secrets or API keys committed
- [ ] Docs updated if products, targets, public API, or dependencies
changed:
  - [ ] `README.md`
  - [ ] `docs/ARCHITECTURE.md` (graph / tables)
  - [ ] `CHANGELOG.md` (`[Unreleased]`)
- [ ] Layering respected (providers → `LargeLanguageModels` → `CoreMI`;
avoid new provider→provider deps)

## Test plan

<!-- How did you verify? Unit tests, manual API calls, platforms… -->

## Related issues

<!-- Fixes #… -->

---------

Signed-off-by: 5hy7xz92nd-oss <249378113+5hy7xz92nd-oss@users.noreply.github.com>
Co-authored-by: Jared Davidson (Archetapp) <archetapp@gmail.com>
Co-authored-by: Vatsal Manot <vatsal.manot@yahoo.com>
Co-authored-by: NatashaTheRobot <nmurashev@gmail.com>
Co-authored-by: Purav Manot <manot.purav@gmail.com>
Co-authored-by: Akshat Patel <akshat.patel16@gmail.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
#527)

…f (#526)

## Summary

<!-- What does this PR change and why? -->

## Type of change

- [ ] Bug fix
- [ ] New provider / API surface
- [ ] Refactor
- [ ] Documentation
- [ ] Tests / CI
- [ ] Other

## Checklist

- [ ] Builds with the package’s supported Xcode/Swift versions
- [ ] Tests added or updated when behavior changes
- [ ] No secrets or API keys committed
- [ ] Docs updated if products, targets, public API, or dependencies
changed:
  - [ ] `README.md`
  - [ ] `docs/ARCHITECTURE.md` (graph / tables)
  - [ ] `CHANGELOG.md` (`[Unreleased]`)
- [ ] Layering respected (providers → `LargeLanguageModels` → `CoreMI`;
avoid new provider→provider deps)

## Test plan

<!-- How did you verify? Unit tests, manual API calls, platforms… -->

## Related issues

<!-- Fixes #… -->

---------

## Summary

<!-- What does this PR change and why? -->

## Type of change

- [ ] Bug fix
- [ ] New provider / API surface
- [ ] Refactor
- [ ] Documentation
- [ ] Tests / CI
- [ ] Other

## Checklist

- [ ] Builds with the package’s supported Xcode/Swift versions
- [ ] Tests added or updated when behavior changes
- [ ] No secrets or API keys committed
- [ ] Docs updated if products, targets, public API, or dependencies
changed:
  - [ ] `README.md`
  - [ ] `docs/ARCHITECTURE.md` (graph / tables)
  - [ ] `CHANGELOG.md` (`[Unreleased]`)
- [ ] Layering respected (providers → `LargeLanguageModels` → `CoreMI`;
avoid new provider→provider deps)

## Test plan

<!-- How did you verify? Unit tests, manual API calls, platforms… -->

## Related issues

<!-- Fixes #… -->

Signed-off-by: 5hy7xz92nd-oss <249378113+5hy7xz92nd-oss@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Jared Davidson (Archetapp) <archetapp@gmail.com>
Co-authored-by: Vatsal Manot <vatsal.manot@yahoo.com>
Co-authored-by: NatashaTheRobot <nmurashev@gmail.com>
Co-authored-by: Purav Manot <manot.purav@gmail.com>
Co-authored-by: Akshat Patel <akshat.patel16@gmail.com>
## Summary

<!-- What does this PR change and why? -->

## Type of change

- [ ] Bug fix
- [ ] New provider / API surface
- [ ] Refactor
- [ ] Documentation
- [ ] Tests / CI
- [ ] Other

## Checklist

- [ ] Builds with the package’s supported Xcode/Swift versions
- [ ] Tests added or updated when behavior changes
- [ ] No secrets or API keys committed
- [ ] Docs updated if products, targets, public API, or dependencies
changed:
  - [ ] `README.md`
  - [ ] `docs/ARCHITECTURE.md` (graph / tables)
  - [ ] `CHANGELOG.md` (`[Unreleased]`)
- [ ] Layering respected (providers → `LargeLanguageModels` → `CoreMI`;
avoid new provider→provider deps)

## Test plan

<!-- How did you verify? Unit tests, manual API calls, platforms… -->

## Related issues

<!-- Fixes #… -->

---------

Signed-off-by: 5hy7xz92nd-oss <249378113+5hy7xz92nd-oss@users.noreply.github.com>
Co-authored-by: Jared Davidson (Archetapp) <archetapp@gmail.com>
Co-authored-by: Vatsal Manot <vatsal.manot@yahoo.com>
Co-authored-by: NatashaTheRobot <nmurashev@gmail.com>
Co-authored-by: Purav Manot <manot.purav@gmail.com>
Co-authored-by: Akshat Patel <akshat.patel16@gmail.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings August 23, 2026 06:59
…-249378113-1177354758-171da4c4-09e7-4a5f-80c7-36628d70b9c8

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR expands the Swift package’s provider and capability surface by adding an xAI implementation (chat completions + function/tool calling) and broadening provider parity around embeddings and speech synthesis. It also introduces new “WIP” abstractions (video generation, abstract voice/speech synthesis) plus CI/workflow and documentation scaffolding.

Changes:

  • Add a new xAI provider module (models, API spec, client, LLMRequestHandling integration) and corresponding tests.
  • Extend/adjust other providers (TogetherAI models + completions/embeddings, PlayHT/Rime/NeetsAI/ElevenLabs speech synthesis integration, Perplexity request/response updates, OpenAI image edit support, Gemini upload changes).
  • Add repo docs + GitHub workflows/templates and a new TogetherAI test target.

Reviewed changes

Copilot reviewed 117 out of 128 changed files in this pull request and generated 12 comments.

Show a summary per file
File Description
Tests/xAI/module.swift xAI test client + API key
Tests/xAI/Intramodular/FunctionCallingTests.swift xAI function calling test
Tests/xAI/Intramodular/CompletionTests.swift xAI chat completion tests
Tests/TogetherAI/module.swift TogetherAI test client API key placeholder
Tests/TogetherAI/Intramodular/EmbeddingsTests.swift TogetherAI embeddings tests
Tests/TogetherAI/Intramodular/CompetionTests.swift TogetherAI completions tests
Tests/Perplexity/Intramodular/CompletionTests.swift Perplexity completion test tweak
Tests/Mistral/Intramodular/EmbeddingsTests.swift Remove unrelated import
Sources/xAI/module.swift xAI re-exported imports
Sources/xAI/Intramodular/xAI+LLMRequestHandling.swift Bridge xAI client to LLMRequestHandling
Sources/xAI/Intramodular/xAI.swift xAI namespace
Sources/xAI/Intramodular/xAI.Model.swift xAI model identifiers
Sources/xAI/Intramodular/xAI.Client.swift xAI HTTP client + CoreMI service init
Sources/xAI/Intramodular/xAI.ChatMessage+LargeLanguageModels.swift Prompt/message conversions
Sources/xAI/Intramodular/Models/xAI.Tool.swift Tool + tool call models
Sources/xAI/Intramodular/Models/xAI.ChatRole.swift Chat role mapping
Sources/xAI/Intramodular/Models/xAI.ChatMessageBody.swift Message body + content encoding
Sources/xAI/Intramodular/Models/xAI.ChatMessage.swift Chat message model + Codable
Sources/xAI/Intramodular/Models/xAI.ChatFunctionDefinition.swift Function schema model
Sources/xAI/Intramodular/Models/xAI.ChatCompletion.swift Chat completion response model
Sources/xAI/Intramodular/API/xAI.APISpecification.swift REST API spec + error mapping
Sources/xAI/Intramodular/API/xAI.APISpecification.ResponseBodies.swift xAI response namespace placeholder
Sources/xAI/Intramodular/API/xAI.APISpecification.RequestBodies.swift Chat completions request body
Sources/TogetherAI/Intramodular/TogetherAI.Model.swift Restructure TogetherAI models/enums
Sources/TogetherAI/Intramodular/TogetherAI.Embeddings.swift Embeddings numeric type adjustment
Sources/TogetherAI/Intramodular/TogetherAI.Completion.swift TogetherAI completion response model
Sources/TogetherAI/Intramodular/TogetherAI.Client+TextEmbeddingsRequestHandling.swift Add embeddings request-handling conformance
Sources/TogetherAI/Intramodular/TogetherAI.Client+LLMRequestHandling.swift Add LLM request-handling conformance
Sources/TogetherAI/Intramodular/TogetherAI.Client.swift Add completions + embeddings conveniences
Sources/TogetherAI/Intramodular/TogetherAI.APISpecification.swift Add completions endpoint + request bodies
Sources/Rime/Intramodular/Rime.Client+SpeechSynthesisRequestHandling.swift Speech synthesis protocol conformance
Sources/Rime/Intramodular/Models/Rime.Voice.swift Voice IDs + AbstractVoice conversions
Sources/PlayHT/Intramodular/URL++.swift Audio conversion helper
Sources/PlayHT/Intramodular/PlayHT.Model.swift Add new PlayHT model IDs
Sources/PlayHT/Intramodular/PlayHT.Client+SpeechSynthesisRequestHandling.swift Speech synthesis protocol conformance
Sources/PlayHT/Intramodular/PlayHT.Client.swift Voice listing + stream response handling
Sources/PlayHT/Intramodular/Models/PlayHT.VoiceSettings.swift Import fix
Sources/PlayHT/Intramodular/Models/PlayHT.Voice.swift Voice model adjustments + AbstractVoice conversions
Sources/PlayHT/Intramodular/API/PlayHT.APISpecification.swift Change TTS output decoding to Data
Sources/PlayHT/Intramodular/API/PlayHT.APISpecification.RequestBodies.swift Adjust TTS request body fields
Sources/Perplexity/Intramodular/Perplexity+LLMRequestHandling.swift Remove unused/removed request field
Sources/Perplexity/Intramodular/Perplexity.APISpecification/Perplexity.APISpecification.ResponseBodies.swift Add citations field
Sources/Perplexity/Intramodular/Perplexity.APISpecification/Perplexity.APISpecification.RequestBodies.swift Update request body fields + initializer
Sources/OpenAI/Intramodular/Models/OpenAI.Model.swift Add DALL·E 2 model enum case
Sources/OpenAI/Intramodular/API Specification/OpenAI.APISpecification.swift Add image edit endpoint
Sources/OpenAI/Intramodular/API Specification/OpenAI.APISpecification.ResponseBodies.swift Export CreateChatCompletion response
Sources/OpenAI/Intramodular/API Specification/OpenAI.APISpecification.RequestBodies.swift Export CreateCompletion + add CreateImageEdit multipart
Sources/OpenAI/Intramodular/API Client/OpenAI.Client-Image.swift Add create image edit API client method
Sources/Ollama/Intramodular/Ollama.swift Adjust protocol extension constraint
Sources/NeetsAI/module.swift Re-export Swallow modules
Sources/NeetsAI/Intramodular/NeetsAI.Client+SpeechSynthesisRequestHandling.swift Speech synthesis protocol conformance
Sources/NeetsAI/Intramodular/Models/NeetsAI.Voice.swift AbstractVoice conversions
Sources/NeetsAI/Intramodular/API/NeetsAI.APISpecification.RequestBodies.swift Import fix
Sources/LargeLanguageModels/Intramodular/VideoGeneration (WIP)/VideoModel.swift Add video model type
Sources/LargeLanguageModels/Intramodular/VideoGeneration (WIP)/VideoGenerationSettings.swift Add video generation settings
Sources/LargeLanguageModels/Intramodular/VideoGeneration (WIP)/VideoGenerationSettings.StyleStrength.swift Style strength enum
Sources/LargeLanguageModels/Intramodular/VideoGeneration (WIP)/VideoGenerationSettings.Resolution.swift Resolution enum + helpers
Sources/LargeLanguageModels/Intramodular/VideoGeneration (WIP)/VideoGenerationSettings.Quality.swift Quality enum
Sources/LargeLanguageModels/Intramodular/VideoGeneration (WIP)/VideoGenerationSettings.MotionSettings.swift Motion settings struct
Sources/LargeLanguageModels/Intramodular/VideoGeneration (WIP)/VideoGenerationSettings.FrameRate.swift Frame rate enum
Sources/LargeLanguageModels/Intramodular/VideoGeneration (WIP)/VideoGenerationRequestHandling.swift Video request-handling protocol + type eraser
Sources/LargeLanguageModels/Intramodular/LLMs/Logging/LLMErrorLogger.swift Add thread-safe error logging
Sources/LargeLanguageModels/Intramodular/LLMs/Logging/FailedLLMResponseStore.swift Add failed response store + export
Sources/LargeLanguageModels/Intramodular/LLMs/Agents/LLMAgentPipeline.swift Add agent pipeline primitives
Sources/LargeLanguageModels/Intramodular/AbstractVoice (WIP)/SpeechSynthesisRequestHandling.swift Add speech synthesis protocol + env key
Sources/LargeLanguageModels/Intramodular/AbstractVoice (WIP)/AbstractVoiceSettings.swift Add abstract voice settings model
Sources/LargeLanguageModels/Intramodular/AbstractVoice (WIP)/AbstractVoice.swift Add abstract voice model + conversions
Sources/HumeAI/Intramodular/Models/HumeAI.Tool.swift Import fix
Sources/HumeAI/Intramodular/Models/HumeAI.Prompt.swift Import fix
Sources/HumeAI/Intramodular/Models/HumeAI.Models.swift Import fix
Sources/HumeAI/Intramodular/Models/HumeAI.Job.swift Import fix
Sources/HumeAI/Intramodular/Models/HumeAI.FileInput.swift Import fix
Sources/HumeAI/Intramodular/Models/HumeAI.File.swift Import fix
Sources/HumeAI/Intramodular/Models/HumeAI.Dataset.swift Import fix
Sources/HumeAI/Intramodular/Models/HumeAI.Config.swift Import fix
Sources/HumeAI/Intramodular/Models/HumeAI.ChatResponse.swift Import fix
Sources/HumeAI/Intramodular/Models/HumeAI.ChatMessage.swift Import fix
Sources/HumeAI/Intramodular/Models/HumeAI.ChatGroup.swift Import fix
Sources/HumeAI/Intramodular/Models/HumeAI.ChatEvent.swift Import fix
Sources/HumeAI/Intramodular/Models/HumeAI.Chat.swift Import fix
Sources/HumeAI/Intramodular/HumeAI.Client+SpeechSynthesisRequestHandling.swift Speech synthesis protocol conformance
Sources/HumeAI/Intramodular/API/HumeAI.APISpecification.swift Remove debug print
Sources/ElevenLabs/Intramodular/Models/ElevenLabs.VoiceSettings.swift Add AbstractVoiceSettings conversions
Sources/ElevenLabs/Intramodular/Models/ElevenLabs.Voice.swift Add AbstractVoice conversions
Sources/ElevenLabs/Intramodular/Models/ElevenLabs.DubbingResult.swift Add dubbing result type
Sources/ElevenLabs/Intramodular/Models/ElevenLabs.DubbingProgress.swift Add dubbing progress type
Sources/ElevenLabs/Intramodular/Models/ElevenLabs.DubbingOptions.swift Add dubbing options type
Sources/ElevenLabs/Intramodular/ElevenLabs.Model.swift Fix provider mapping + add model
Sources/ElevenLabs/Intramodular/ElevenLabs.Client+Dubbing.swift Add dubbing API wrapper
Sources/ElevenLabs/Intramodular/ElevenLabs.Client.swift Add CoreMI init + SpeechSynthesis conformance
Sources/ElevenLabs/Intramodular/API/ElevenLabs.APISpecification.swift Add dubbing endpoints
Sources/ElevenLabs/Intramodular/API/ElevenLabs.APISpecification.ResponseBodies.swift Add dubbing response models
Sources/ElevenLabs/Intramodular/API/ElevenLabs.APISpecification.RequestBodies.swift Add language code + dubbing multipart bodies
Sources/CoreMI/Intramodular/Model Identifier/ModelIdentifier.Provider.swift Add xAI provider + refactor statics
Sources/CoreMI/Intramodular/Foundation/CoreMI.RequestHandling.swift Add macro + fatalError helper
Sources/AI/AnySpeechSynthesisRequestHandling.swift Add type eraser for speech synthesis clients
Sources/_Gemini/Intramodular/Models/_Gemini.GoogleSearchRetrieval.swift Default dynamic retrieval config
Sources/_Gemini/Intramodular/Models/_Gemini.GenerationConfig.swift JSONSchema → Gemini schema conversion
Sources/_Gemini/Intramodular/API/_Gemini.APISpecification.swift Add query apiKey + resumable upload endpoints
Sources/_Gemini/Intramodular/API/_Gemini.APISpecification.RequestBodies.swift Add upload request body types
Sources/_Gemini/Intramodular/_Gemini.Model.swift Add gemini-2.0-flash identifier
Sources/_Gemini/Intramodular/_Gemini.Client+Files.swift Switch to resumable upload flow
Sources/_Gemini/Intramodular/_Gemini.Client+ContentGeneration.swift Add tools support to content generation
SECURITY.md Add security policy template
Package.swift Add ElevenLabs product + Media dep + TogetherAI tests
Package.resolved Update dependency pin revisions
enhanced-continuous-validation.yml Add enhanced validation workflow config
docs/README.md Add docs index
docs/ARCHITECTURE.md Add architecture overview + graph
CONTRIBUTING.md Add contributing guide (template-derived)
CHANGELOG.md Add initial changelog
.github/workflows/swift.yml Add Swift build/test workflow
.github/workflows/codeql.yml Add CodeQL workflow
.github/workflows/apisec-scan.yml Add APIsec scan workflow
.github/PULL_REQUEST_TEMPLATE.md Add PR template
.github/dependabot.ymlv Add dependabot config template
.github/agents/my-agent.agent.md Add custom agent template
Suppressed comments (1)

Sources/TogetherAI/Intramodular/TogetherAI.Client+TextEmbeddingsRequestHandling.swift:31

  • The fulfilled embeddings currently always report the default model identifier even when request.model specifies something else. This makes the response metadata incorrect.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread Tests/xAI/module.swift
Comment on lines +5 to +7
public var xAI_API_KEY: String {
"xai-iukwcbTFm3HCyuJVq7U5c0c9LKHJ0uhnGIsiOyn4Qu0zxSH3g1ULDSkaCHHoDQnX9tsV5cSCWom0HosP"
}
Comment on lines +15 to +17
sourceLang: String? = nil,
targetLang: String,app
numSpeakers: Int? = nil,
Comment on lines +58 to 61
),
]
AbstractLLM.ChatCompletionStream

Comment on lines +113 to +117
public init(from decoder: Decoder) throws {
let container = try decoder.container(keyedBy: CodingKeys.self)
print(try JSON(from: decoder).prettyPrintedDescription)


Comment on lines +121 to +128
switch role {
case .function:
self.body = .functionInvocation(
.init(
name: try container.decode(String.self, forKey: .name),
response: try container.decode(String.self, forKey: .name)
)
)
Comment on lines +12 to +16
guard !request.input.isEmpty else {
return TextEmbeddings(
model: .init(from: TogetherAI.Model.Embedding.togetherM2Bert80M2KRetrieval),
data: []
)
Comment on lines 60 to +64
public func getAllAvailableVoices() async throws -> [PlayHT.Voice] {
async let htVoices = availableVoices()
async let clonedVoices = clonedVoices()
async let htVoices = self.getAvailableVoices()
async let clonedVoices = self.clonedVoices()

let (available, cloned) = try await (htVoices, clonedVoices)
return available + cloned
let (_, cloned) = try await (htVoices, clonedVoices)
Comment on lines 123 to 126
) throws -> Output {
do {
dump(response)
try response.validate()

final class EmbeddingsTests: XCTestCase {

func testTextEmbeddingsRequesntHandling() async {
Comment thread Package.swift
Comment on lines +576 to 586
.testTarget(
name: "TogetherAITests",
dependencies: [
"AI",
"Swallow"
],
path: "Tests/TogetherAI",
swiftSettings: [
.enableExperimentalFeature("AccessLevelOnImport")
]
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants