@mkterswingman/5mghost-yonder 0.0.19 → 0.0.20

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.
@@ -5,6 +5,7 @@ export interface UnifiedUpdateDeps {
5
5
  getLatestVersion(): Promise<string>;
6
6
  installLatestPackage(): Promise<void>;
7
7
  updateRuntime(): Promise<import("../runtime/installers.js").RuntimeSummary>;
8
+ postUpdate?: () => Promise<void>;
8
9
  }
9
10
  export declare function compareVersions(currentVersion: string, latestVersion: string): number;
10
11
  export declare function runUnifiedUpdate(deps: UnifiedUpdateDeps): Promise<{
package/dist/cli/index.js CHANGED
@@ -59,6 +59,9 @@ export async function runUnifiedUpdate(deps) {
59
59
  updated = true;
60
60
  }
61
61
  const runtime = await deps.updateRuntime();
62
+ if (deps.postUpdate) {
63
+ await deps.postUpdate();
64
+ }
62
65
  return {
63
66
  package: { currentVersion, latestVersion, updated },
64
67
  runtime,
@@ -113,6 +116,7 @@ async function main() {
113
116
  console.log("Checking for updates...\n");
114
117
  try {
115
118
  const { updateAll } = await import("../runtime/installers.js");
119
+ const { runInstallSkills } = await import("./installSkills.js");
116
120
  const summary = await runUnifiedUpdate({
117
121
  getCurrentVersion: getVersion,
118
122
  getLatestVersion: async () => execSync("npm view @mkterswingman/5mghost-yonder version", {
@@ -125,6 +129,7 @@ async function main() {
125
129
  });
126
130
  },
127
131
  updateRuntime: updateAll,
132
+ postUpdate: runInstallSkills,
128
133
  });
129
134
  if (summary.package.updated) {
130
135
  console.log(`\n✅ Updated package to ${summary.package.latestVersion}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mkterswingman/5mghost-yonder",
3
- "version": "0.0.19",
3
+ "version": "0.0.20",
4
4
  "description": "Internal MCP client with local data tools and remote API proxy",
5
5
  "type": "module",
6
6
  "bin": {