@regression-io/claude-config 0.38.14 → 0.39.1
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/config-loader.js +0 -13
- package/lib/constants.js +1 -1
- package/lib/index.js +0 -3
- package/package.json +1 -1
- package/scripts/sync-version.js +12 -0
- package/ui/dist/assets/index-CRvOf892.js +3200 -0
- package/ui/dist/assets/index-DG5UkyZa.css +32 -0
- package/ui/dist/index.html +2 -2
- package/ui/routes/index.js +0 -2
- package/lib/smart-sync.js +0 -323
- package/ui/dist/assets/index-1RcqzPnS.css +0 -32
- package/ui/dist/assets/index-CMz5cwWK.js +0 -3253
- package/ui/routes/smart-sync.js +0 -78
package/config-loader.js
CHANGED
|
@@ -30,7 +30,6 @@ const { envList, envSet, envUnset } = require('./lib/env');
|
|
|
30
30
|
const { getProjectsRegistryPath, loadProjectsRegistry, saveProjectsRegistry, projectList, projectAdd, projectRemove } = require('./lib/projects');
|
|
31
31
|
const { getWorkstreamsPath, loadWorkstreams, saveWorkstreams, workstreamList, workstreamCreate, workstreamUpdate, workstreamDelete, workstreamUse, workstreamActive, workstreamAddProject, workstreamRemoveProject, workstreamInject, workstreamDetect, workstreamGet, getActiveWorkstream, countWorkstreamsForProject, workstreamInstallHook, workstreamInstallHookGemini, workstreamDeactivate, workstreamCheckPath } = require('./lib/workstreams');
|
|
32
32
|
const { getActivityPath, getDefaultActivity, loadActivity, saveActivity, detectProjectRoot, activityLog, activitySummary, generateWorkstreamName, activitySuggestWorkstreams, activityClear } = require('./lib/activity');
|
|
33
|
-
const { getSmartSyncPath, loadSmartSyncPrefs, saveSmartSyncPrefs, smartSyncRememberChoice, smartSyncDismissNudge, smartSyncUpdateSettings, smartSyncDetect, smartSyncCheckNudge, smartSyncHandleAction, smartSyncStatus } = require('./lib/smart-sync');
|
|
34
33
|
const { runCli } = require('./lib/cli');
|
|
35
34
|
|
|
36
35
|
class ClaudeConfigManager {
|
|
@@ -147,18 +146,6 @@ class ClaudeConfigManager {
|
|
|
147
146
|
activitySuggestWorkstreams() { return activitySuggestWorkstreams(this.installDir); }
|
|
148
147
|
activityClear(olderThanDays) { return activityClear(this.installDir, olderThanDays); }
|
|
149
148
|
|
|
150
|
-
// Smart Sync
|
|
151
|
-
getSmartSyncPath() { return getSmartSyncPath(this.installDir); }
|
|
152
|
-
loadSmartSyncPrefs() { return loadSmartSyncPrefs(this.installDir); }
|
|
153
|
-
saveSmartSyncPrefs(prefs) { return saveSmartSyncPrefs(this.installDir, prefs); }
|
|
154
|
-
smartSyncRememberChoice(projectPath, workstreamId, choice) { return smartSyncRememberChoice(this.installDir, projectPath, workstreamId, choice); }
|
|
155
|
-
smartSyncDismissNudge(nudgeKey) { return smartSyncDismissNudge(this.installDir, nudgeKey); }
|
|
156
|
-
smartSyncUpdateSettings(settings) { return smartSyncUpdateSettings(this.installDir, settings); }
|
|
157
|
-
smartSyncDetect(currentProjects) { return smartSyncDetect(this.installDir, currentProjects); }
|
|
158
|
-
smartSyncCheckNudge(currentProjects) { return smartSyncCheckNudge(this.installDir, currentProjects); }
|
|
159
|
-
smartSyncHandleAction(nudgeKey, action, context) { return smartSyncHandleAction(this.installDir, nudgeKey, action, context); }
|
|
160
|
-
smartSyncStatus() { return smartSyncStatus(this.installDir); }
|
|
161
|
-
|
|
162
149
|
// Update - check npm for updates or update from local source
|
|
163
150
|
async update(args = []) {
|
|
164
151
|
const https = require('https');
|
package/lib/constants.js
CHANGED
package/lib/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@regression-io/claude-config",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.39.1",
|
|
4
4
|
"description": "Configuration management UI for Claude Code and Antigravity - manage MCPs, rules, commands, memory, and project folders",
|
|
5
5
|
"author": "regression.io",
|
|
6
6
|
"main": "config-loader.js",
|
package/scripts/sync-version.js
CHANGED
|
@@ -16,6 +16,7 @@ const rootDir = path.join(__dirname, '..');
|
|
|
16
16
|
const packageJsonPath = path.join(rootDir, 'package.json');
|
|
17
17
|
const constantsPath = path.join(rootDir, 'lib', 'constants.js');
|
|
18
18
|
const uiPackageJsonPath = path.join(rootDir, 'ui', 'package.json');
|
|
19
|
+
const tauriConfigPath = path.join(rootDir, 'src-tauri', 'tauri.conf.json');
|
|
19
20
|
|
|
20
21
|
// Read version from package.json (source of truth)
|
|
21
22
|
const packageJson = JSON.parse(fs.readFileSync(packageJsonPath, 'utf8'));
|
|
@@ -62,4 +63,15 @@ if (fs.existsSync(uiPackageJsonPath)) {
|
|
|
62
63
|
}
|
|
63
64
|
}
|
|
64
65
|
|
|
66
|
+
// Update src-tauri/tauri.conf.json
|
|
67
|
+
if (fs.existsSync(tauriConfigPath)) {
|
|
68
|
+
const tauriConfig = JSON.parse(fs.readFileSync(tauriConfigPath, 'utf8'));
|
|
69
|
+
if (tauriConfig.version !== version) {
|
|
70
|
+
const oldVersion = tauriConfig.version;
|
|
71
|
+
tauriConfig.version = version;
|
|
72
|
+
fs.writeFileSync(tauriConfigPath, JSON.stringify(tauriConfig, null, 2) + '\n', 'utf8');
|
|
73
|
+
console.log(` src-tauri/tauri.conf.json: ${oldVersion} -> ${version}`);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
65
77
|
console.log('Version sync complete!');
|