@lythos/cold-pool 0.15.5 → 0.15.6
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 +2 -2
- package/package.json +2 -2
- package/src/mirror.test.ts +6 -4
package/README.md
CHANGED
|
@@ -15,10 +15,10 @@ deck / curator / arena consume it instead of running `git clone` themselves.
|
|
|
15
15
|
|
|
16
16
|
```bash
|
|
17
17
|
# Scan cold pool for unreferenced repos
|
|
18
|
-
bunx @lythos/cold-pool@0.15.
|
|
18
|
+
bunx @lythos/cold-pool@0.15.6 prune [--yes] [--dry-run]
|
|
19
19
|
|
|
20
20
|
# Validate lock file against cold pool
|
|
21
|
-
bunx @lythos/cold-pool@0.15.
|
|
21
|
+
bunx @lythos/cold-pool@0.15.6 validate [--lock ./skill-deck.lock]
|
|
22
22
|
```
|
|
23
23
|
|
|
24
24
|
## Architecture
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lythos/cold-pool",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.6",
|
|
4
4
|
"description": "Cold pool service layer — dedicated resource holder for skill repositories with intent/plan/execute primitives. Single owner of git side-effects; consumed by deck/curator/arena.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai-agent",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
},
|
|
43
43
|
"homepage": "https://github.com/lythos-labs/lythoskill/tree/main/packages/lythoskill-cold-pool#readme",
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@lythos/infra": "^0.15.
|
|
45
|
+
"@lythos/infra": "^0.15.6",
|
|
46
46
|
"simple-git": "^3.36.0"
|
|
47
47
|
},
|
|
48
48
|
"engines": {
|
package/src/mirror.test.ts
CHANGED
|
@@ -209,8 +209,8 @@ describe('probeConnectivity', () => {
|
|
|
209
209
|
expect(execCalls[0].args).not.toContain('socks5://socks5://proxy.example.com:1080')
|
|
210
210
|
})
|
|
211
211
|
|
|
212
|
-
// ── Vertical Slice 10: SOCKS proxy fails
|
|
213
|
-
test('SOCKS proxy fails
|
|
212
|
+
// ── Vertical Slice 10: SOCKS proxy fails → no automatic unproxied fallback ──
|
|
213
|
+
test('SOCKS proxy fails → no automatic unproxied fallback', async () => {
|
|
214
214
|
process.env.LYTHOS_SOCKS_PROXY = '127.0.0.1:1080'
|
|
215
215
|
|
|
216
216
|
const result = await probeConnectivity('https://example.com/skill', 3000, {
|
|
@@ -220,8 +220,10 @@ describe('probeConnectivity', () => {
|
|
|
220
220
|
fetch: async () => new Response(null, { status: 200 }),
|
|
221
221
|
})
|
|
222
222
|
|
|
223
|
-
//
|
|
224
|
-
// No automatic fallback to unproxied fetch — user
|
|
223
|
+
// Design choice: when SOCKS proxy is configured but curl fails, the direct
|
|
224
|
+
// probe fails. No automatic fallback to unproxied fetch — the user
|
|
225
|
+
// explicitly chose to route traffic through the proxy, so we honor that
|
|
226
|
+
// choice rather than silently bypassing it.
|
|
225
227
|
expect(result).toBeUndefined()
|
|
226
228
|
})
|
|
227
229
|
|