gnosys 5.15.2 → 5.15.3
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/dist/lib/syncCommand.js +8 -1
- package/package.json +1 -1
package/dist/lib/syncCommand.js
CHANGED
|
@@ -30,7 +30,14 @@ export async function runSyncCommand(opts) {
|
|
|
30
30
|
process.exitCode = 1;
|
|
31
31
|
return;
|
|
32
32
|
}
|
|
33
|
-
|
|
33
|
+
// Default to "all": refresh every IDE rules file actually present in the
|
|
34
|
+
// project (detectAllTargets only touches existing files, never creating
|
|
35
|
+
// configs for unused IDEs). A project accumulates multiple IDEs over its
|
|
36
|
+
// life — bare `gnosys sync` must keep all of them current, not just the one
|
|
37
|
+
// recorded in agentRulesTarget at first setup. This matches the upgrade-time
|
|
38
|
+
// "sync registered projects" path, which already uses "all". Use
|
|
39
|
+
// `--target <ide>` to refresh a single file.
|
|
40
|
+
const resolvedTarget = target || "all";
|
|
34
41
|
const results = await syncToTarget(centralDb, projectDir, resolvedTarget, identity.projectId);
|
|
35
42
|
if (results.length === 0) {
|
|
36
43
|
console.error("No targets found. Create a CLAUDE.md, .cursor/, or .codex/ directory first.");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gnosys",
|
|
3
|
-
"version": "5.15.
|
|
3
|
+
"version": "5.15.3",
|
|
4
4
|
"description": "Gnosys — Persistent Memory for AI Agents. Sandbox-first runtime, central SQLite brain, federated search, Dream Mode, Web Knowledge Base, Obsidian export.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|