Commit 66802bc
committed
fix(cli): accept Artifact downloads from a service subdomain
The service now serves Artifact bytes from artifacts.skilld.dev, but the
origin allowlist only knew the API origin. Every skilld: run and install
therefore failed at the final hop with REMOTE_ORIGIN_REJECTED, after the
resolution, trusted root, and grant had all succeeded.
A grant may now point at the service origin or at an https subdomain of
it. Every other origin is still rejected before the request leaves.
Claude-Session: https://claude.ai/code/session_01ASGK6drkuCbo7vsPQcYCvn1 parent 0bdd451 commit 66802bc
2 files changed
Lines changed: 78 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1098 | 1098 | | |
1099 | 1099 | | |
1100 | 1100 | | |
1101 | | - | |
| 1101 | + | |
1102 | 1102 | | |
1103 | 1103 | | |
1104 | 1104 | | |
| |||
2371 | 2371 | | |
2372 | 2372 | | |
2373 | 2373 | | |
| 2374 | + | |
| 2375 | + | |
| 2376 | + | |
2374 | 2377 | | |
2375 | 2378 | | |
2376 | 2379 | | |
| 2380 | + | |
| 2381 | + | |
| 2382 | + | |
| 2383 | + | |
| 2384 | + | |
| 2385 | + | |
| 2386 | + | |
| 2387 | + | |
| 2388 | + | |
| 2389 | + | |
| 2390 | + | |
| 2391 | + | |
| 2392 | + | |
| 2393 | + | |
| 2394 | + | |
| 2395 | + | |
| 2396 | + | |
2377 | 2397 | | |
2378 | 2398 | | |
2379 | 2399 | | |
| |||
2388 | 2408 | | |
2389 | 2409 | | |
2390 | 2410 | | |
2391 | | - | |
2392 | | - | |
2393 | | - | |
2394 | | - | |
| 2411 | + | |
| 2412 | + | |
| 2413 | + | |
2395 | 2414 | | |
2396 | 2415 | | |
2397 | 2416 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1745 | 1745 | | |
1746 | 1746 | | |
1747 | 1747 | | |
| 1748 | + | |
| 1749 | + | |
| 1750 | + | |
| 1751 | + | |
| 1752 | + | |
| 1753 | + | |
| 1754 | + | |
| 1755 | + | |
| 1756 | + | |
| 1757 | + | |
| 1758 | + | |
| 1759 | + | |
| 1760 | + | |
| 1761 | + | |
| 1762 | + | |
| 1763 | + | |
| 1764 | + | |
| 1765 | + | |
| 1766 | + | |
| 1767 | + | |
| 1768 | + | |
| 1769 | + | |
| 1770 | + | |
| 1771 | + | |
| 1772 | + | |
| 1773 | + | |
| 1774 | + | |
| 1775 | + | |
| 1776 | + | |
| 1777 | + | |
| 1778 | + | |
| 1779 | + | |
| 1780 | + | |
| 1781 | + | |
| 1782 | + | |
| 1783 | + | |
| 1784 | + | |
| 1785 | + | |
| 1786 | + | |
| 1787 | + | |
| 1788 | + | |
| 1789 | + | |
| 1790 | + | |
| 1791 | + | |
| 1792 | + | |
| 1793 | + | |
| 1794 | + | |
| 1795 | + | |
| 1796 | + | |
| 1797 | + | |
| 1798 | + | |
| 1799 | + | |
| 1800 | + | |
| 1801 | + | |
1748 | 1802 | | |
1749 | 1803 | | |
1750 | 1804 | | |
| |||
0 commit comments