@staff0rd/assist 0.348.0 → 0.349.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/README.md +1 -0
- package/claude/commands/update-jira.md +53 -0
- package/dist/commands/sessions/web/bundle.js +86 -86
- package/dist/index.js +12 -9
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { Command } from "commander";
|
|
|
6
6
|
// package.json
|
|
7
7
|
var package_default = {
|
|
8
8
|
name: "@staff0rd/assist",
|
|
9
|
-
version: "0.
|
|
9
|
+
version: "0.349.1",
|
|
10
10
|
type: "module",
|
|
11
11
|
main: "dist/index.js",
|
|
12
12
|
bin: {
|
|
@@ -23368,14 +23368,17 @@ async function syncSettings(claudeDir, targetBase, options2) {
|
|
|
23368
23368
|
const source = path54.join(claudeDir, "settings.json");
|
|
23369
23369
|
const target = path54.join(targetBase, "settings.json");
|
|
23370
23370
|
const sourceContent = fs38.readFileSync(source, "utf8");
|
|
23371
|
-
const
|
|
23372
|
-
|
|
23373
|
-
|
|
23374
|
-
|
|
23375
|
-
|
|
23376
|
-
|
|
23377
|
-
|
|
23378
|
-
|
|
23371
|
+
const sourceSettings = JSON.parse(sourceContent);
|
|
23372
|
+
const targetExists = fs38.existsSync(target);
|
|
23373
|
+
const targetContent = targetExists ? fs38.readFileSync(target, "utf8") : "";
|
|
23374
|
+
const preservedUserSettings = targetExists ? JSON.parse(targetContent) : {};
|
|
23375
|
+
const mergedContent = JSON.stringify(
|
|
23376
|
+
{ ...preservedUserSettings, ...sourceSettings },
|
|
23377
|
+
null,
|
|
23378
|
+
" "
|
|
23379
|
+
);
|
|
23380
|
+
if (targetExists) {
|
|
23381
|
+
const normalizedTarget = JSON.stringify(preservedUserSettings, null, " ");
|
|
23379
23382
|
if (mergedContent !== normalizedTarget) {
|
|
23380
23383
|
if (!options2?.yes) {
|
|
23381
23384
|
console.log(
|