You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+9-3Lines changed: 9 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,11 +11,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
11
11
### Added
12
12
13
13
-`apm install` now automatically discovers and deploys local `.apm/` primitives (skills, instructions, agents, prompts, hooks, commands) to target directories, with local content taking priority over dependencies on collision (#626, #644)
14
+
- Add `temp-dir` configuration key (`apm config set temp-dir PATH`) to override the system temporary directory, resolving `[WinError 5] Access is denied` in corporate Windows environments (#629)
14
15
15
16
### Fixed
16
17
17
18
-`apm init` now creates `start.prompt.md` so `apm run start` works out of the box; Next Steps panel no longer references `apm compile` (#649)
19
+
- Fix `apm marketplace add` silently failing for private repos by using credentials when probing `marketplace.json` (#701)
20
+
- Pin codex setup to `rust-v0.118.0` for security and reproducibility; update config to `wire_api = "responses"` (#663)
18
21
- Propagate headers and environment variables through OpenCode MCP adapter with defensive copies to prevent mutation (#622)
22
+
- Fix `apm install` hanging indefinitely when corporate firewalls silently drop SSH packets by setting `GIT_SSH_COMMAND` with `ConnectTimeout=30` (#652)
-`apm marketplace browse/search/add/update` now route through the registry proxy when `PROXY_REGISTRY_URL` is set; `PROXY_REGISTRY_ONLY=1` blocks direct GitHub API calls (#506)
@@ -452,7 +458,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
452
458
453
459
### Fixed
454
460
455
-
-**Install Script and `apm update`**: Repaired corrupted header in install.sh. Use awk instead of sed for shell subprocess compatibility. Directed shell output to terminal for password input during update process.
461
+
-**Install Script and `apm update`**: Repaired corrupted header in install.sh. Use awk instead of sed for shell subprocess compatibility. Directed shell output to terminal for password input during update process.
456
462
457
463
## [0.7.1] - 2025-01-22
458
464
@@ -494,7 +500,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
494
500
495
501
-**SKILL.md as first-class primitive**: meta-description of what an APM Package does for agents to read
496
502
-**Claude Skills Installation**: Install Claude Skills directly as APM Packages
497
-
-**Bidirectional Format Support**:
503
+
-**Bidirectional Format Support**:
498
504
- APM packages → SKILL.md (for Claude target)
499
505
- Claude Skills → .agent.md (for VSCode target)
500
506
-**Skills Documentation**: New `docs/skills.md` guide
@@ -511,7 +517,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
511
517
512
518
-**Target Auto-Detection**: Smart compilation based on project structure
513
519
-`.github/` only → generates `AGENTS.md` + VSCode integration
514
-
-`.claude/` only → generates `CLAUDE.md` + Claude integration
520
+
-`.claude/` only → generates `CLAUDE.md` + Claude integration
515
521
- Both folders → generates all formats
516
522
- Neither folder → generates `AGENTS.md` only (universal format)
### SSH connection hangs on corporate/VPN networks
286
+
287
+
When no token is available, APM tries SSH before falling back to plain HTTPS. Firewalls that silently drop SSH packets (port 22) can make `apm install` appear to hang. APM sets `GIT_SSH_COMMAND="ssh -o ConnectTimeout=30"` so SSH attempts fail within 30 seconds and the fallback proceeds to HTTPS with git credential helpers.
288
+
289
+
If you already set `GIT_SSH_COMMAND` (e.g., for a custom key), APM appends `-o ConnectTimeout=30` unless `ConnectTimeout` is already present in your value.
Copy file name to clipboardExpand all lines: docs/src/content/docs/reference/cli-commands.md
+27Lines changed: 27 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1345,6 +1345,7 @@ apm config
1345
1345
- Global configuration
1346
1346
- APM CLI version
1347
1347
- `auto-integrate`setting
1348
+
- `temp-dir`setting (when configured)
1348
1349
1349
1350
**Examples:**
1350
1351
```bash
@@ -1363,6 +1364,7 @@ apm config get [KEY]
1363
1364
**Arguments:**
1364
1365
- `KEY` (optional) - Configuration key to retrieve. Supported keys:
1365
1366
- `auto-integrate`- Whether to automatically integrate `.prompt.md` files into AGENTS.md
1367
+
- `temp-dir`- Custom temporary directory for clone/download operations
1366
1368
1367
1369
If `KEY` is omitted, displays all configuration values.
1368
1370
@@ -1386,6 +1388,7 @@ apm config set KEY VALUE
1386
1388
**Arguments:**
1387
1389
- `KEY` - Configuration key to set. Supported keys:
1388
1390
- `auto-integrate`- Enable/disable automatic integration of `.prompt.md` files
1391
+
- `temp-dir`- Set a custom temporary directory path
1389
1392
- `VALUE` - Value to set. For boolean keys, use: `true`, `false`, `yes`, `no`, `1`, `0`
1390
1393
1391
1394
**Configuration Keys:**
@@ -1411,6 +1414,30 @@ apm config set auto-integrate yes
1411
1414
apm config set auto-integrate 1
1412
1415
```
1413
1416
1417
+
**`temp-dir`** - Override the system temporary directory
1418
+
- **Type:** String (directory path)
1419
+
- **Default:** System temp directory (not stored)
1420
+
- **Description:** Set a custom temporary directory for clone and download operations. Useful in corporate Windows environments where endpoint security software restricts access to `%TEMP%`, causing `[WinError 5] Access is denied`.
1421
+
- **Resolution order:** `APM_TEMP_DIR` environment variable > `temp_dir` in `~/.apm/config.json` > system default.
1422
+
- **Use Cases:**
1423
+
- Set when the default system temp directory is restricted or unavailable
1424
+
- Use the `APM_TEMP_DIR` environment variable for CI pipelines or per-session overrides
1425
+
1426
+
**Examples:**
1427
+
```bash
1428
+
# Set a custom temp directory (Windows)
1429
+
apm config set temp-dir C:\apm-temp
1430
+
1431
+
# Set a custom temp directory (macOS/Linux)
1432
+
apm config set temp-dir /tmp/apm-work
1433
+
1434
+
# Check the current temp-dir setting
1435
+
apm config get temp-dir
1436
+
1437
+
# Or use the environment variable instead
1438
+
export APM_TEMP_DIR=/tmp/apm-work
1439
+
```
1440
+
1414
1441
## Runtime Management (Experimental)
1415
1442
1416
1443
### `apm runtime` (Experimental) - Manage AI runtimes
0 commit comments