@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.
@@ -1,78 +0,0 @@
1
- /**
2
- * Smart Sync Routes
3
- */
4
-
5
- /**
6
- * Get smart sync status
7
- */
8
- function getSmartSyncStatus(manager) {
9
- try {
10
- return manager.smartSyncStatus();
11
- } catch (e) {
12
- return { error: e.message };
13
- }
14
- }
15
-
16
- /**
17
- * Detect workstream from projects
18
- */
19
- function smartSyncDetect(manager, projects) {
20
- try {
21
- return manager.smartSyncDetect(projects || []);
22
- } catch (e) {
23
- return { error: e.message };
24
- }
25
- }
26
-
27
- /**
28
- * Check for nudge
29
- */
30
- function smartSyncCheckNudge(manager, projects) {
31
- try {
32
- return manager.smartSyncCheckNudge(projects || []);
33
- } catch (e) {
34
- return { error: e.message };
35
- }
36
- }
37
-
38
- /**
39
- * Handle nudge action
40
- */
41
- function smartSyncHandleAction(manager, nudgeKey, action, context) {
42
- try {
43
- return manager.smartSyncHandleAction(nudgeKey, action, context || {});
44
- } catch (e) {
45
- return { error: e.message };
46
- }
47
- }
48
-
49
- /**
50
- * Update smart sync settings
51
- */
52
- function smartSyncUpdateSettings(manager, settings) {
53
- try {
54
- return manager.smartSyncUpdateSettings(settings);
55
- } catch (e) {
56
- return { error: e.message };
57
- }
58
- }
59
-
60
- /**
61
- * Remember choice
62
- */
63
- function smartSyncRememberChoice(manager, projectPath, workstreamId, choice) {
64
- try {
65
- return manager.smartSyncRememberChoice(projectPath, workstreamId, choice);
66
- } catch (e) {
67
- return { error: e.message };
68
- }
69
- }
70
-
71
- module.exports = {
72
- getSmartSyncStatus,
73
- smartSyncDetect,
74
- smartSyncCheckNudge,
75
- smartSyncHandleAction,
76
- smartSyncUpdateSettings,
77
- smartSyncRememberChoice,
78
- };