@aion0/forge 0.5.38 → 0.5.40
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/RELEASE_NOTES.md
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
# Forge v0.5.
|
|
1
|
+
# Forge v0.5.40
|
|
2
2
|
|
|
3
3
|
Released: 2026-04-14
|
|
4
4
|
|
|
5
|
-
## Changes since v0.5.
|
|
5
|
+
## Changes since v0.5.38
|
|
6
6
|
|
|
7
|
+
### Other
|
|
8
|
+
- v0.5.39
|
|
9
|
+
- add option to disable claude modification
|
|
7
10
|
|
|
8
|
-
|
|
11
|
+
|
|
12
|
+
**Full Changelog**: https://github.com/aiwatching/forge/compare/v0.5.38...v0.5.40
|
|
@@ -23,6 +23,7 @@ Settings are stored in `~/.forge/data/settings.yaml`. Configure via the web UI (
|
|
|
23
23
|
| `telegramAgent` | string | `""` | Agent for Telegram task execution |
|
|
24
24
|
| `docsAgent` | string | `""` | Agent for documentation queries |
|
|
25
25
|
| `skipPermissions` | boolean | `false` | Add `--dangerously-skip-permissions` to claude invocations |
|
|
26
|
+
| `manageClaudeConfig` | boolean | `true` | When `false`, Forge will not modify `~/.claude/` or project `.claude/` files (skills, Stop hook, permissions, profile env/model) |
|
|
26
27
|
| `notificationRetentionDays` | number | `30` | Auto-cleanup notifications older than N days |
|
|
27
28
|
| `skillsRepoUrl` | string | forge-skills URL | GitHub raw URL for skills registry |
|
|
28
29
|
| `displayName` | string | `"Forge"` | Display name shown in header |
|
package/lib/settings.ts
CHANGED
|
@@ -47,6 +47,7 @@ export interface Settings {
|
|
|
47
47
|
pipelineModel: string;
|
|
48
48
|
telegramModel: string;
|
|
49
49
|
skipPermissions: boolean;
|
|
50
|
+
manageClaudeConfig: boolean;
|
|
50
51
|
notificationRetentionDays: number;
|
|
51
52
|
skillsRepoUrl: string;
|
|
52
53
|
displayName: string;
|
|
@@ -74,6 +75,7 @@ const defaults: Settings = {
|
|
|
74
75
|
pipelineModel: 'default',
|
|
75
76
|
telegramModel: 'sonnet',
|
|
76
77
|
skipPermissions: false,
|
|
78
|
+
manageClaudeConfig: true,
|
|
77
79
|
notificationRetentionDays: 30,
|
|
78
80
|
skillsRepoUrl: 'https://raw.githubusercontent.com/aiwatching/forge-skills/main',
|
|
79
81
|
displayName: 'Forge',
|
|
@@ -7,6 +7,7 @@ import { readFileSync, writeFileSync, mkdirSync, existsSync, readdirSync } from
|
|
|
7
7
|
import { join, dirname } from 'node:path';
|
|
8
8
|
import { homedir } from 'node:os';
|
|
9
9
|
import { fileURLToPath } from 'node:url';
|
|
10
|
+
import { loadSettings } from '../settings';
|
|
10
11
|
|
|
11
12
|
const _filename = typeof __filename !== 'undefined' ? __filename : fileURLToPath(import.meta.url);
|
|
12
13
|
const _dirname = typeof __dirname !== 'undefined' ? __dirname : dirname(_filename);
|
|
@@ -23,6 +24,7 @@ export function installForgeSkills(
|
|
|
23
24
|
agentId: string,
|
|
24
25
|
forgePort = 8403,
|
|
25
26
|
): { installed: string[] } {
|
|
27
|
+
if (!loadSettings().manageClaudeConfig) return { installed: [] };
|
|
26
28
|
const skillsDir = join(homedir(), '.claude', 'skills');
|
|
27
29
|
mkdirSync(skillsDir, { recursive: true });
|
|
28
30
|
|
|
@@ -126,6 +128,7 @@ export function applyProfileToProject(
|
|
|
126
128
|
profile: { env?: Record<string, string>; model?: string },
|
|
127
129
|
): void {
|
|
128
130
|
if (!profile.env && !profile.model) return;
|
|
131
|
+
if (!loadSettings().manageClaudeConfig) return;
|
|
129
132
|
|
|
130
133
|
const settingsFile = join(projectPath, '.claude', 'settings.json');
|
|
131
134
|
try {
|
package/package.json
CHANGED