@ulpi/cli 0.1.3 → 0.1.5

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.
Files changed (57) hide show
  1. package/dist/{auth-KQCJ43U2.js → auth-BFFBUJUC.js} +1 -1
  2. package/dist/{chunk-YM2HV4IA.js → chunk-26LLDX2T.js} +50 -2
  3. package/dist/{chunk-QJ5GSMEC.js → chunk-5SCG7UYM.js} +2 -1
  4. package/dist/{chunk-5J6NLQUN.js → chunk-6OURRFP7.js} +8 -8
  5. package/dist/chunk-AV5RB3N2.js +173 -0
  6. package/dist/{chunk-7LXY5UVC.js → chunk-DDRLI6JU.js} +2 -1
  7. package/dist/{chunk-ZLYRPD7I.js → chunk-DOIKS6C5.js} +1 -1
  8. package/dist/{chunk-SPOI23SB.js → chunk-EIWYSP3A.js} +1 -1
  9. package/dist/{chunk-7AL4DOEJ.js → chunk-ELTGWMDE.js} +3 -3
  10. package/dist/{chunk-6OCEY7JY.js → chunk-IFATANHR.js} +34 -3
  11. package/dist/{chunk-2HEE5OKX.js → chunk-K4OVPFY2.js} +1 -1
  12. package/dist/{chunk-JGBXM5NC.js → chunk-L3PWNHSA.js} +2 -2
  13. package/dist/{chunk-2VYFVYJL.js → chunk-LD52XG3X.js} +24 -24
  14. package/dist/{chunk-F7OXF7Z3.js → chunk-P2RESJRN.js} +2 -2
  15. package/dist/{chunk-3SBPZRB5.js → chunk-RJIRWQJD.js} +1 -1
  16. package/dist/{chunk-2CLNOKPA.js → chunk-RSFJ6QSR.js} +18 -0
  17. package/dist/{chunk-PDR55ZNW.js → chunk-UCMT5OKP.js} +4 -4
  18. package/dist/{chunk-2MZER6ND.js → chunk-YYZOFYS6.js} +2 -2
  19. package/dist/ci-JQ56YIKC.js +756 -0
  20. package/dist/{codemap-RKSD4MIE.js → codemap-HMYBXJL2.js} +36 -36
  21. package/dist/{config-EGAXXCGL.js → config-YYWEN7U2.js} +1 -1
  22. package/dist/dist-2K7IEVTA.js +43 -0
  23. package/dist/{dist-UKMCJBB2.js → dist-4XTJ6HLM.js} +7 -7
  24. package/dist/{dist-QAU3LGJN.js → dist-5R4RYNQO.js} +3 -3
  25. package/dist/{dist-CB5D5LMO.js → dist-6MFVWIFF.js} +8 -8
  26. package/dist/{dist-GJYT2OQV.js → dist-7WLLPWWB.js} +8 -8
  27. package/dist/{dist-RKOGLK7R.js → dist-GWGTAHNM.js} +1 -1
  28. package/dist/{dist-CS2VKNYS.js → dist-U7ZIJMZD.js} +8 -8
  29. package/dist/{dist-YA2BWZB2.js → dist-WAMAQVPK.js} +2 -2
  30. package/dist/dist-XD4YI27T.js +26 -0
  31. package/dist/dist-XG2GG5SD.js +36 -0
  32. package/dist/{history-NFNA4HE5.js → history-RNUWO4JZ.js} +7 -7
  33. package/dist/hooks-installer-K2JXEBNN.js +19 -0
  34. package/dist/index.js +42 -42
  35. package/dist/{init-6CH4HV5T.js → init-NQWFZPKO.js} +11 -11
  36. package/dist/{launchd-LF2QMSKZ.js → launchd-OYXUAVW6.js} +2 -2
  37. package/dist/{mcp-installer-NQCGKQ23.js → mcp-installer-TOYDP77X.js} +1 -1
  38. package/dist/{memory-Y6OZTXJ2.js → memory-D6ZFFCI2.js} +17 -17
  39. package/dist/{openai-E7G2YAHU-UYY4ZWON.js → openai-E7G2YAHU-IG33BFYF.js} +2 -2
  40. package/dist/{projects-ATHDD3D6.js → projects-COUJP4ZC.js} +3 -3
  41. package/dist/{review-ADUPV3PN.js → review-KMGP2S25.js} +2 -2
  42. package/dist/{rules-E427DKYJ.js → rules-3OFGWHP4.js} +1 -1
  43. package/dist/server-USLHY6GH-F4JSXCWA.js +18 -0
  44. package/dist/server-X5P6WH2M-ULZF5WHZ.js +11 -0
  45. package/dist/{skills-CX73O3IV.js → skills-GY2CTPWN.js} +2 -2
  46. package/dist/{status-4DFHDJMN.js → status-SE43TIFJ.js} +2 -2
  47. package/dist/{templates-U7T6MARD.js → templates-O2XDKB5R.js} +5 -5
  48. package/dist/{ui-OWXZ3YSR.js → ui-4SM2SUI6.js} +13 -13
  49. package/dist/{ulpi-RMMCUAGP-JCJ273T6.js → ulpi-RMMCUAGP-EWYUE7RU.js} +1 -1
  50. package/dist/{uninstall-6SW35IK4.js → uninstall-KWGSGZTI.js} +3 -3
  51. package/dist/{update-WUITQX4Z.js → update-QYZA4D23.js} +3 -3
  52. package/dist/{version-checker-SMAYSN7Y.js → version-checker-MVB74DEX.js} +2 -2
  53. package/package.json +1 -1
  54. package/dist/chunk-G6SVZ4Q5.js +0 -122
  55. package/dist/ci-QM57ZCBW.js +0 -367
  56. package/dist/server-USLHY6GH-AEOJC5ST.js +0 -18
  57. package/dist/server-X5P6WH2M-7K2RY34N.js +0 -11
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  discoverUlpiServer,
4
4
  registerWithServer,
5
5
  waitForServerDecision
6
- } from "./chunk-2MZER6ND.js";
6
+ } from "./chunk-YYZOFYS6.js";
7
7
  import {
8
8
  captureCommitDiff,
9
9
  extractSections,
@@ -11,24 +11,24 @@ import {
11
11
  getSectionFullText,
12
12
  isGitCommitCommand,
13
13
  parseMarkdownToBlocks
14
- } from "./chunk-3SBPZRB5.js";
15
- import {
16
- detectStack
17
- } from "./chunk-2CLNOKPA.js";
14
+ } from "./chunk-RJIRWQJD.js";
18
15
  import {
19
16
  getDefaultProject,
20
17
  getProject,
21
18
  registerProject
22
- } from "./chunk-SPOI23SB.js";
23
- import {
24
- injectSkill,
25
- loadSkillSync
26
- } from "./chunk-6OCEY7JY.js";
19
+ } from "./chunk-EIWYSP3A.js";
27
20
  import {
28
21
  evaluateRules,
29
22
  loadRulesSync,
30
23
  matchesFilePattern
31
24
  } from "./chunk-SIAQVRKG.js";
25
+ import {
26
+ injectSkill,
27
+ loadSkillSync
28
+ } from "./chunk-IFATANHR.js";
29
+ import {
30
+ detectStack
31
+ } from "./chunk-RSFJ6QSR.js";
32
32
  import {
33
33
  buildPrePromptSnapshot,
34
34
  buildSessionSummary,
@@ -46,7 +46,7 @@ import {
46
46
  readTranscript,
47
47
  updateEntryTranscript,
48
48
  writeHistoryEntry
49
- } from "./chunk-JGBXM5NC.js";
49
+ } from "./chunk-L3PWNHSA.js";
50
50
  import {
51
51
  JsonSessionStore,
52
52
  appendEvent,
@@ -54,7 +54,7 @@ import {
54
54
  projectDirToSlug,
55
55
  readEvents,
56
56
  updateStateFromInput
57
- } from "./chunk-YM2HV4IA.js";
57
+ } from "./chunk-26LLDX2T.js";
58
58
  import "./chunk-KIKPIH6N.js";
59
59
  import {
60
60
  NOTIFICATIONS_LOG_FILE,
@@ -68,7 +68,7 @@ import {
68
68
  projectGuardsFile,
69
69
  projectGuardsFileAlt,
70
70
  projectNoAutoGenFile
71
- } from "./chunk-7LXY5UVC.js";
71
+ } from "./chunk-DDRLI6JU.js";
72
72
  import "./chunk-4VNS5WPM.js";
73
73
 
74
74
  // src/index.ts
@@ -138,10 +138,10 @@ async function handleSessionStart(ctx) {
138
138
  if (shouldPromptForGeneration(projectDir2)) {
139
139
  outputGenerationPrompt();
140
140
  }
141
- import("./version-checker-SMAYSN7Y.js").then((m) => m.checkForUpdates()).catch(() => {
141
+ import("./version-checker-MVB74DEX.js").then((m) => m.checkForUpdates()).catch(() => {
142
142
  });
143
143
  try {
144
- const { isMemoryEnabled, loadMemoryConfig, getTopMemories, formatMemoriesForAgent } = await import("./dist-GJYT2OQV.js");
144
+ const { isMemoryEnabled, loadMemoryConfig, getTopMemories, formatMemoriesForAgent } = await import("./dist-7WLLPWWB.js");
145
145
  if (isMemoryEnabled(projectDir2)) {
146
146
  const config = loadMemoryConfig(projectDir2);
147
147
  if (config.surfaceOnStart) {
@@ -155,15 +155,15 @@ async function handleSessionStart(ctx) {
155
155
  } catch {
156
156
  }
157
157
  try {
158
- const { loadCodemapConfig } = await import("./dist-CB5D5LMO.js");
159
- const { getCodemapBranch, getCurrentBranch } = await import("./dist-RKOGLK7R.js");
160
- const { historyBranchExists: historyBranchExists2 } = await import("./dist-QAU3LGJN.js");
158
+ const { loadCodemapConfig } = await import("./dist-6MFVWIFF.js");
159
+ const { getCodemapBranch, getCurrentBranch } = await import("./dist-GWGTAHNM.js");
160
+ const { historyBranchExists: historyBranchExists2 } = await import("./dist-5R4RYNQO.js");
161
161
  const codemapConfig = loadCodemapConfig(projectDir2);
162
162
  if (codemapConfig.autoImport) {
163
163
  const branch = state.branch ?? getCurrentBranch(projectDir2);
164
164
  const shadowBranch = getCodemapBranch(branch);
165
165
  if (historyBranchExists2(projectDir2, shadowBranch)) {
166
- const { importIndex } = await import("./dist-CB5D5LMO.js");
166
+ const { importIndex } = await import("./dist-6MFVWIFF.js");
167
167
  await importIndex(projectDir2, branch);
168
168
  }
169
169
  }
@@ -1473,7 +1473,7 @@ ${failureFeedback.join("\n\n")}`
1473
1473
  }
1474
1474
  }
1475
1475
  try {
1476
- const { isMemoryEnabled, loadMemoryConfig, appendMemoryEvent, toClassificationEvent } = await import("./dist-GJYT2OQV.js");
1476
+ const { isMemoryEnabled, loadMemoryConfig, appendMemoryEvent, toClassificationEvent } = await import("./dist-7WLLPWWB.js");
1477
1477
  if (isMemoryEnabled(projectDir2)) {
1478
1478
  const memConfig = loadMemoryConfig(projectDir2);
1479
1479
  if (memConfig.captureMode === "continuous") {
@@ -1493,8 +1493,8 @@ ${failureFeedback.join("\n\n")}`
1493
1493
  }
1494
1494
  if (input.tool_name === "Bash" && /\bgit\s+push\b/.test(String(input.tool_input?.command ?? ""))) {
1495
1495
  try {
1496
- const { loadCodemapConfig, getCodemapStatus, exportIndex } = await import("./dist-CB5D5LMO.js");
1497
- const { getCurrentBranch } = await import("./dist-RKOGLK7R.js");
1496
+ const { loadCodemapConfig, getCodemapStatus, exportIndex } = await import("./dist-6MFVWIFF.js");
1497
+ const { getCurrentBranch } = await import("./dist-GWGTAHNM.js");
1498
1498
  const codemapConfig = loadCodemapConfig(projectDir2);
1499
1499
  if (codemapConfig.autoExport) {
1500
1500
  const branch = state.branch ?? getCurrentBranch(projectDir2);
@@ -1835,7 +1835,7 @@ async function handleSessionEnd(ctx) {
1835
1835
  } catch {
1836
1836
  }
1837
1837
  try {
1838
- const memEngine = await import("./dist-GJYT2OQV.js");
1838
+ const memEngine = await import("./dist-7WLLPWWB.js");
1839
1839
  if (memEngine.isMemoryEnabled(projectDir2)) {
1840
1840
  const config = memEngine.loadMemoryConfig(projectDir2);
1841
1841
  memEngine.finalizeCapture(input.session_id, state, projectDir2);
@@ -1874,8 +1874,8 @@ async function handleSessionEnd(ctx) {
1874
1874
  } catch {
1875
1875
  }
1876
1876
  try {
1877
- const { loadCodemapConfig, getCodemapStatus, exportIndex } = await import("./dist-CB5D5LMO.js");
1878
- const { getCurrentBranch } = await import("./dist-RKOGLK7R.js");
1877
+ const { loadCodemapConfig, getCodemapStatus, exportIndex } = await import("./dist-6MFVWIFF.js");
1878
+ const { getCurrentBranch } = await import("./dist-GWGTAHNM.js");
1879
1879
  const codemapConfig = loadCodemapConfig(projectDir2);
1880
1880
  if (codemapConfig.autoExport) {
1881
1881
  const branch = state.branch ?? getCurrentBranch(projectDir2);
@@ -2045,16 +2045,16 @@ async function main() {
2045
2045
  switch (command) {
2046
2046
  case "init": {
2047
2047
  const initDir = rawArgs.some((a) => a === "--project" || a === "-p") ? projectDir : process.cwd();
2048
- return (await import("./init-6CH4HV5T.js")).runInit([initDir, ...args.slice(1)]);
2048
+ return (await import("./init-NQWFZPKO.js")).runInit([initDir, ...args.slice(1)]);
2049
2049
  }
2050
2050
  case "rules":
2051
- return (await import("./rules-E427DKYJ.js")).runRules(args.slice(1), projectDir);
2051
+ return (await import("./rules-3OFGWHP4.js")).runRules(args.slice(1), projectDir);
2052
2052
  case "templates":
2053
- return (await import("./templates-U7T6MARD.js")).runTemplates(args.slice(1), projectDir);
2053
+ return (await import("./templates-O2XDKB5R.js")).runTemplates(args.slice(1), projectDir);
2054
2054
  case "skills":
2055
- return (await import("./skills-CX73O3IV.js")).runSkills(args.slice(1), projectDir);
2055
+ return (await import("./skills-GY2CTPWN.js")).runSkills(args.slice(1), projectDir);
2056
2056
  case "status":
2057
- return (await import("./status-4DFHDJMN.js")).runStatus(args.slice(1), projectDir);
2057
+ return (await import("./status-SE43TIFJ.js")).runStatus(args.slice(1), projectDir);
2058
2058
  case "log":
2059
2059
  return (await import("./log-TVTUXAYD.js")).runLog(args.slice(1), projectDir);
2060
2060
  case "export":
@@ -2062,30 +2062,30 @@ async function main() {
2062
2062
  case "import":
2063
2063
  return (await import("./export-import-4A5MWLIA.js")).runImport(args.slice(1), projectDir);
2064
2064
  case "uninstall":
2065
- return (await import("./uninstall-6SW35IK4.js")).runUninstall(args.slice(1), projectDir);
2065
+ return (await import("./uninstall-KWGSGZTI.js")).runUninstall(args.slice(1), projectDir);
2066
2066
  case "ui":
2067
- return (await import("./ui-OWXZ3YSR.js")).runUI(args.slice(1), projectDir);
2067
+ return (await import("./ui-4SM2SUI6.js")).runUI(args.slice(1), projectDir);
2068
2068
  case "update":
2069
- return (await import("./update-WUITQX4Z.js")).runUpdate(args.slice(1));
2069
+ return (await import("./update-QYZA4D23.js")).runUpdate(args.slice(1));
2070
2070
  case "history":
2071
- return (await import("./history-NFNA4HE5.js")).runHistory(args.slice(1), projectDir);
2071
+ return (await import("./history-RNUWO4JZ.js")).runHistory(args.slice(1), projectDir);
2072
2072
  case "review":
2073
- return (await import("./review-ADUPV3PN.js")).runReview(args.slice(1), projectDir);
2073
+ return (await import("./review-KMGP2S25.js")).runReview(args.slice(1), projectDir);
2074
2074
  case "config":
2075
- return (await import("./config-EGAXXCGL.js")).runConfig(args.slice(1));
2075
+ return (await import("./config-YYWEN7U2.js")).runConfig(args.slice(1));
2076
2076
  case "codemap":
2077
- return (await import("./codemap-RKSD4MIE.js")).runCodemap(args.slice(1), projectDir);
2077
+ return (await import("./codemap-HMYBXJL2.js")).runCodemap(args.slice(1), projectDir);
2078
2078
  case "memory":
2079
- return (await import("./memory-Y6OZTXJ2.js")).runMemory(args.slice(1), projectDir);
2079
+ return (await import("./memory-D6ZFFCI2.js")).runMemory(args.slice(1), projectDir);
2080
2080
  case "projects":
2081
- return (await import("./projects-ATHDD3D6.js")).runProjects(args.slice(1));
2081
+ return (await import("./projects-COUJP4ZC.js")).runProjects(args.slice(1));
2082
2082
  case "ci":
2083
- return (await import("./ci-QM57ZCBW.js")).runCi(args.slice(1), projectDir);
2083
+ return (await import("./ci-JQ56YIKC.js")).runCi(args.slice(1), projectDir);
2084
2084
  case "auth":
2085
- return (await import("./auth-KQCJ43U2.js")).runAuth(args.slice(1));
2085
+ return (await import("./auth-BFFBUJUC.js")).runAuth(args.slice(1));
2086
2086
  case "--version":
2087
2087
  case "-v":
2088
- console.log("0.1.3");
2088
+ console.log("0.1.5");
2089
2089
  return;
2090
2090
  case "--help":
2091
2091
  case "-h":
@@ -2,24 +2,24 @@ import {
2
2
  installGlobalSkill,
3
3
  installHooks,
4
4
  installLocalSkill
5
- } from "./chunk-QJ5GSMEC.js";
6
- import {
7
- detectStack
8
- } from "./chunk-2CLNOKPA.js";
5
+ } from "./chunk-5SCG7UYM.js";
9
6
  import {
10
7
  registerProject
11
- } from "./chunk-SPOI23SB.js";
8
+ } from "./chunk-EIWYSP3A.js";
12
9
  import {
13
10
  composeTemplates,
14
11
  loadBundledTemplates,
15
12
  resolveTemplate
16
- } from "./chunk-6OCEY7JY.js";
13
+ } from "./chunk-IFATANHR.js";
14
+ import {
15
+ detectStack
16
+ } from "./chunk-RSFJ6QSR.js";
17
17
  import {
18
18
  DEFAULT_AI_MODEL,
19
19
  GUARDS_FILENAME,
20
20
  getApiPort,
21
21
  projectConfigDir
22
- } from "./chunk-7LXY5UVC.js";
22
+ } from "./chunk-DDRLI6JU.js";
23
23
  import "./chunk-4VNS5WPM.js";
24
24
 
25
25
  // src/commands/init.ts
@@ -95,7 +95,7 @@ async function runInit(args) {
95
95
  console.log(chalk.yellow(`\u26A0 ${globalResult.message}`));
96
96
  }
97
97
  try {
98
- const { isSupported, isLaunchAgentInstalled, needsLegacyMigration, installLaunchAgent } = await import("./launchd-LF2QMSKZ.js");
98
+ const { isSupported, isLaunchAgentInstalled, needsLegacyMigration, installLaunchAgent } = await import("./launchd-OYXUAVW6.js");
99
99
  if (isSupported() && (!isLaunchAgentInstalled() || needsLegacyMigration())) {
100
100
  const migrating = needsLegacyMigration();
101
101
  installLaunchAgent();
@@ -109,7 +109,7 @@ async function runInit(args) {
109
109
  } catch {
110
110
  }
111
111
  try {
112
- const { installMcpServer, installMemoryMcpServer } = await import("./mcp-installer-NQCGKQ23.js");
112
+ const { installMcpServer, installMemoryMcpServer } = await import("./mcp-installer-TOYDP77X.js");
113
113
  const codemapMcp = installMcpServer(projectDir);
114
114
  if (codemapMcp.installed) {
115
115
  console.log(chalk.green("\u2713 CodeMap MCP server registered"));
@@ -121,8 +121,8 @@ async function runInit(args) {
121
121
  } catch {
122
122
  }
123
123
  try {
124
- const { runInitPipeline } = await import("./dist-CB5D5LMO.js");
125
- const { initMemoryBranch } = await import("./dist-GJYT2OQV.js");
124
+ const { runInitPipeline } = await import("./dist-6MFVWIFF.js");
125
+ const { initMemoryBranch } = await import("./dist-7WLLPWWB.js");
126
126
  console.log(chalk.cyan("\nInitializing code index..."));
127
127
  try {
128
128
  await runInitPipeline(projectDir, (progress) => {
@@ -1,10 +1,10 @@
1
- import "./chunk-QJ5GSMEC.js";
1
+ import "./chunk-5SCG7UYM.js";
2
2
  import {
3
3
  LAUNCHD_LABEL,
4
4
  LOGS_DIR,
5
5
  getApiPort,
6
6
  getBinaryPath
7
- } from "./chunk-7LXY5UVC.js";
7
+ } from "./chunk-DDRLI6JU.js";
8
8
  import "./chunk-4VNS5WPM.js";
9
9
 
10
10
  // src/launchd.ts
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getBinaryPath
3
- } from "./chunk-7LXY5UVC.js";
3
+ } from "./chunk-DDRLI6JU.js";
4
4
  import "./chunk-4VNS5WPM.js";
5
5
 
6
6
  // src/mcp-installer.ts
@@ -50,8 +50,8 @@ Subcommands:
50
50
  }
51
51
  async function initSubcommand(projectDir) {
52
52
  console.log(chalk.bold("\nAgent Memory -- Initialize\n"));
53
- const { isMemoryInitialized, saveMemoryConfig, DEFAULT_MEMORY_CONFIG } = await import("./dist-GJYT2OQV.js");
54
- const { projectMemoryDir } = await import("./dist-RKOGLK7R.js");
53
+ const { isMemoryInitialized, saveMemoryConfig, DEFAULT_MEMORY_CONFIG } = await import("./dist-7WLLPWWB.js");
54
+ const { projectMemoryDir } = await import("./dist-GWGTAHNM.js");
55
55
  const fs = await import("fs");
56
56
  if (isMemoryInitialized(projectDir)) {
57
57
  console.log(chalk.yellow("Memory is already initialized for this project."));
@@ -67,7 +67,7 @@ async function initSubcommand(projectDir) {
67
67
  console.log(chalk.dim(` Capture mode: ${config.captureMode}`));
68
68
  console.log(chalk.dim(` Classifier: ${config.classifier.enabled ? "enabled" : "disabled"}`));
69
69
  console.log(chalk.dim(` Surface: ${config.surfaceOnStart ? `on start (limit ${config.surfaceLimit})` : "disabled"}`));
70
- const { installMemoryMcpServer } = await import("./mcp-installer-NQCGKQ23.js");
70
+ const { installMemoryMcpServer } = await import("./mcp-installer-TOYDP77X.js");
71
71
  const mcp = installMemoryMcpServer(projectDir);
72
72
  if (mcp.installed) {
73
73
  console.log(chalk.green("\u2713 MCP server registered"));
@@ -104,7 +104,7 @@ async function searchSubcommand(args, projectDir) {
104
104
  const ora = (await import("ora")).default;
105
105
  const spinner = ora("Searching memories...").start();
106
106
  try {
107
- const { searchMemory, isMemoryInitialized } = await import("./dist-GJYT2OQV.js");
107
+ const { searchMemory, isMemoryInitialized } = await import("./dist-7WLLPWWB.js");
108
108
  if (!isMemoryInitialized(projectDir)) {
109
109
  spinner.fail("Memory not initialized");
110
110
  console.log(chalk.dim("Run 'ulpi memory init' first."));
@@ -170,7 +170,7 @@ async function rememberSubcommand(args, projectDir) {
170
170
  console.log(chalk.dim('\nExample: ulpi memory remember "Always run tests before committing" --type PREFERENCE --importance high'));
171
171
  return;
172
172
  }
173
- const { isMemoryInitialized } = await import("./dist-GJYT2OQV.js");
173
+ const { isMemoryInitialized } = await import("./dist-7WLLPWWB.js");
174
174
  if (!isMemoryInitialized(projectDir)) {
175
175
  console.log(chalk.red("Error: Memory not initialized. Run 'ulpi memory init' first."));
176
176
  return;
@@ -190,7 +190,7 @@ async function rememberSubcommand(args, projectDir) {
190
190
  const ora = (await import("ora")).default;
191
191
  const spinner = ora("Storing memory...").start();
192
192
  try {
193
- const { generateMemoryId, rememberMemory } = await import("./dist-GJYT2OQV.js");
193
+ const { generateMemoryId, rememberMemory } = await import("./dist-7WLLPWWB.js");
194
194
  const now = (/* @__PURE__ */ new Date()).toISOString();
195
195
  const entry = {
196
196
  id: generateMemoryId(memType, text),
@@ -216,7 +216,7 @@ async function rememberSubcommand(args, projectDir) {
216
216
  }
217
217
  }
218
218
  async function statusSubcommand(projectDir) {
219
- const { isMemoryInitialized, getMemoryStats, isMemoryEnabled, loadMemoryConfig } = await import("./dist-GJYT2OQV.js");
219
+ const { isMemoryInitialized, getMemoryStats, isMemoryEnabled, loadMemoryConfig } = await import("./dist-7WLLPWWB.js");
220
220
  console.log(chalk.bold("\nAgent Memory Status\n"));
221
221
  if (!isMemoryInitialized(projectDir)) {
222
222
  console.log(chalk.yellow(" Not initialized"));
@@ -257,7 +257,7 @@ async function statusSubcommand(projectDir) {
257
257
  }
258
258
  async function exportSubcommand(projectDir) {
259
259
  console.log(chalk.bold("\nAgent Memory -- Export\n"));
260
- const { isMemoryInitialized, exportMemories } = await import("./dist-GJYT2OQV.js");
260
+ const { isMemoryInitialized, exportMemories } = await import("./dist-7WLLPWWB.js");
261
261
  if (!isMemoryInitialized(projectDir)) {
262
262
  console.log(chalk.red("Error: Memory not initialized. Run 'ulpi memory init' first."));
263
263
  return;
@@ -277,7 +277,7 @@ async function exportSubcommand(projectDir) {
277
277
  }
278
278
  async function importSubcommand(projectDir) {
279
279
  console.log(chalk.bold("\nAgent Memory -- Import\n"));
280
- const { importMemories } = await import("./dist-GJYT2OQV.js");
280
+ const { importMemories } = await import("./dist-7WLLPWWB.js");
281
281
  try {
282
282
  const result = await importMemories(projectDir);
283
283
  if (!result.success) {
@@ -295,18 +295,18 @@ async function importSubcommand(projectDir) {
295
295
  }
296
296
  }
297
297
  async function serveSubcommand(projectDir) {
298
- const { isMemoryInitialized } = await import("./dist-GJYT2OQV.js");
298
+ const { isMemoryInitialized } = await import("./dist-7WLLPWWB.js");
299
299
  if (!isMemoryInitialized(projectDir)) {
300
300
  console.error(chalk.red("Error: Memory not initialized. Run 'ulpi memory init' first."));
301
301
  process.exit(1);
302
302
  }
303
303
  console.error(chalk.dim("[memory-mcp] Starting MCP server..."));
304
304
  console.error(chalk.dim(`[memory-mcp] Project: ${projectDir}`));
305
- const { startMemoryMcpServer } = await import("./dist-CS2VKNYS.js");
305
+ const { startMemoryMcpServer } = await import("./dist-U7ZIJMZD.js");
306
306
  await startMemoryMcpServer({ projectDir });
307
307
  }
308
308
  async function classifySubcommand(args, projectDir) {
309
- const { isMemoryInitialized, listCapturedSessions, classifySession, loadWatermark, writeClassifyBatchProgress, clearClassifyBatchProgress } = await import("./dist-GJYT2OQV.js");
309
+ const { isMemoryInitialized, listCapturedSessions, classifySession, loadWatermark, writeClassifyBatchProgress, clearClassifyBatchProgress } = await import("./dist-7WLLPWWB.js");
310
310
  if (!isMemoryInitialized(projectDir)) {
311
311
  console.log(chalk.red("Error: Memory not initialized. Run 'ulpi memory init' first."));
312
312
  return;
@@ -341,7 +341,7 @@ async function classifySubcommand(args, projectDir) {
341
341
  }
342
342
  if (doExport) {
343
343
  try {
344
- const { exportMemories } = await import("./dist-GJYT2OQV.js");
344
+ const { exportMemories } = await import("./dist-7WLLPWWB.js");
345
345
  await exportMemories(projectDir);
346
346
  } catch {
347
347
  }
@@ -351,7 +351,7 @@ async function classifySubcommand(args, projectDir) {
351
351
  await classifySingleSession(projectDir, sessionId, classifySession);
352
352
  if (doExport) {
353
353
  try {
354
- const { exportMemories } = await import("./dist-GJYT2OQV.js");
354
+ const { exportMemories } = await import("./dist-7WLLPWWB.js");
355
355
  const result = await exportMemories(projectDir);
356
356
  console.log(chalk.green(`\u2713 Exported ${result.memoriesExported} memories to ${result.branchName}`));
357
357
  } catch (err) {
@@ -526,7 +526,7 @@ Agent Memory -- Classify Session
526
526
  }
527
527
  }
528
528
  async function enableSubcommand(projectDir) {
529
- const { loadMemoryConfig, saveMemoryConfig, isMemoryInitialized } = await import("./dist-GJYT2OQV.js");
529
+ const { loadMemoryConfig, saveMemoryConfig, isMemoryInitialized } = await import("./dist-7WLLPWWB.js");
530
530
  if (!isMemoryInitialized(projectDir)) {
531
531
  console.log(chalk.red("Error: Memory not initialized. Run 'ulpi memory init' first."));
532
532
  return;
@@ -537,7 +537,7 @@ async function enableSubcommand(projectDir) {
537
537
  console.log(chalk.green("\u2713 Memory capture enabled"));
538
538
  }
539
539
  async function disableSubcommand(projectDir) {
540
- const { loadMemoryConfig, saveMemoryConfig, isMemoryInitialized } = await import("./dist-GJYT2OQV.js");
540
+ const { loadMemoryConfig, saveMemoryConfig, isMemoryInitialized } = await import("./dist-7WLLPWWB.js");
541
541
  if (!isMemoryInitialized(projectDir)) {
542
542
  console.log(chalk.red("Error: Memory not initialized. Run 'ulpi memory init' first."));
543
543
  return;
@@ -548,7 +548,7 @@ async function disableSubcommand(projectDir) {
548
548
  console.log(chalk.yellow("\u2713 Memory capture disabled"));
549
549
  }
550
550
  async function reindexSubcommand(projectDir) {
551
- const { isMemoryInitialized, reindexMemories } = await import("./dist-GJYT2OQV.js");
551
+ const { isMemoryInitialized, reindexMemories } = await import("./dist-7WLLPWWB.js");
552
552
  if (!isMemoryInitialized(projectDir)) {
553
553
  console.log(chalk.red("Error: Memory not initialized. Run 'ulpi memory init' first."));
554
554
  return;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  OpenAIEmbedder
3
- } from "./chunk-2HEE5OKX.js";
4
- import "./chunk-7LXY5UVC.js";
3
+ } from "./chunk-K4OVPFY2.js";
4
+ import "./chunk-DDRLI6JU.js";
5
5
  import "./chunk-4VNS5WPM.js";
6
6
  export {
7
7
  OpenAIEmbedder
@@ -7,11 +7,11 @@ import {
7
7
  scanForProjects,
8
8
  setDefaultProject,
9
9
  unregisterProject
10
- } from "./chunk-SPOI23SB.js";
10
+ } from "./chunk-EIWYSP3A.js";
11
11
  import {
12
12
  JsonSessionStore
13
- } from "./chunk-YM2HV4IA.js";
14
- import "./chunk-7LXY5UVC.js";
13
+ } from "./chunk-26LLDX2T.js";
14
+ import "./chunk-DDRLI6JU.js";
15
15
  import "./chunk-4VNS5WPM.js";
16
16
 
17
17
  // src/commands/projects.ts
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  listPlansWithMeta,
3
3
  loadPlan
4
- } from "./chunk-3SBPZRB5.js";
4
+ } from "./chunk-RJIRWQJD.js";
5
5
  import {
6
6
  loadRulesSync
7
7
  } from "./chunk-SIAQVRKG.js";
@@ -10,7 +10,7 @@ import {
10
10
  REVIEWS_DIR,
11
11
  loadUlpiSettings,
12
12
  projectGuardsFile
13
- } from "./chunk-7LXY5UVC.js";
13
+ } from "./chunk-DDRLI6JU.js";
14
14
  import "./chunk-4VNS5WPM.js";
15
15
 
16
16
  // src/commands/review.ts
@@ -4,7 +4,7 @@ import {
4
4
  import "./chunk-KIKPIH6N.js";
5
5
  import {
6
6
  projectGuardsFile
7
- } from "./chunk-7LXY5UVC.js";
7
+ } from "./chunk-DDRLI6JU.js";
8
8
  import "./chunk-4VNS5WPM.js";
9
9
 
10
10
  // src/commands/rules.ts
@@ -0,0 +1,18 @@
1
+ import {
2
+ createApiServer
3
+ } from "./chunk-LD52XG3X.js";
4
+ import "./chunk-MIAQVCFW.js";
5
+ import "./chunk-YYZOFYS6.js";
6
+ import "./chunk-RJIRWQJD.js";
7
+ import "./chunk-EIWYSP3A.js";
8
+ import "./chunk-SIAQVRKG.js";
9
+ import "./chunk-IFATANHR.js";
10
+ import "./chunk-RSFJ6QSR.js";
11
+ import "./chunk-L3PWNHSA.js";
12
+ import "./chunk-26LLDX2T.js";
13
+ import "./chunk-KIKPIH6N.js";
14
+ import "./chunk-DDRLI6JU.js";
15
+ import "./chunk-4VNS5WPM.js";
16
+ export {
17
+ createApiServer
18
+ };
@@ -0,0 +1,11 @@
1
+ import {
2
+ attachWebSocket
3
+ } from "./chunk-ELTGWMDE.js";
4
+ import "./chunk-MIAQVCFW.js";
5
+ import "./chunk-EIWYSP3A.js";
6
+ import "./chunk-26LLDX2T.js";
7
+ import "./chunk-DDRLI6JU.js";
8
+ import "./chunk-4VNS5WPM.js";
9
+ export {
10
+ attachWebSocket
11
+ };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  loadSkillSync
3
- } from "./chunk-6OCEY7JY.js";
4
- import "./chunk-7LXY5UVC.js";
3
+ } from "./chunk-IFATANHR.js";
4
+ import "./chunk-DDRLI6JU.js";
5
5
  import "./chunk-4VNS5WPM.js";
6
6
 
7
7
  // src/commands/skills.ts
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  JsonSessionStore
3
- } from "./chunk-YM2HV4IA.js";
4
- import "./chunk-7LXY5UVC.js";
3
+ } from "./chunk-26LLDX2T.js";
4
+ import "./chunk-DDRLI6JU.js";
5
5
  import "./chunk-4VNS5WPM.js";
6
6
 
7
7
  // src/commands/status.ts
@@ -1,3 +1,6 @@
1
+ import {
2
+ loadRulesSync
3
+ } from "./chunk-SIAQVRKG.js";
1
4
  import {
2
5
  deleteUserTemplate,
3
6
  exportUserTemplate,
@@ -5,12 +8,9 @@ import {
5
8
  listUserTemplates,
6
9
  loadBundledTemplates,
7
10
  saveUserTemplate
8
- } from "./chunk-6OCEY7JY.js";
9
- import {
10
- loadRulesSync
11
- } from "./chunk-SIAQVRKG.js";
11
+ } from "./chunk-IFATANHR.js";
12
12
  import "./chunk-KIKPIH6N.js";
13
- import "./chunk-7LXY5UVC.js";
13
+ import "./chunk-DDRLI6JU.js";
14
14
  import "./chunk-4VNS5WPM.js";
15
15
 
16
16
  // src/commands/templates.ts
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  createApiServer,
3
3
  setUiServerPort
4
- } from "./chunk-2VYFVYJL.js";
4
+ } from "./chunk-LD52XG3X.js";
5
5
  import {
6
6
  attachWebSocket
7
- } from "./chunk-7AL4DOEJ.js";
7
+ } from "./chunk-ELTGWMDE.js";
8
8
  import {
9
9
  generateApiSecret,
10
10
  setApiSecret
11
11
  } from "./chunk-MIAQVCFW.js";
12
- import "./chunk-2MZER6ND.js";
13
- import "./chunk-3SBPZRB5.js";
14
- import "./chunk-2CLNOKPA.js";
15
- import "./chunk-SPOI23SB.js";
16
- import "./chunk-6OCEY7JY.js";
12
+ import "./chunk-YYZOFYS6.js";
13
+ import "./chunk-RJIRWQJD.js";
14
+ import "./chunk-EIWYSP3A.js";
17
15
  import "./chunk-SIAQVRKG.js";
18
- import "./chunk-JGBXM5NC.js";
19
- import "./chunk-YM2HV4IA.js";
16
+ import "./chunk-IFATANHR.js";
17
+ import "./chunk-RSFJ6QSR.js";
18
+ import "./chunk-L3PWNHSA.js";
19
+ import "./chunk-26LLDX2T.js";
20
20
  import "./chunk-KIKPIH6N.js";
21
21
  import {
22
22
  API_LOCK_FILE,
23
23
  getApiHost,
24
24
  getApiPort
25
- } from "./chunk-7LXY5UVC.js";
25
+ } from "./chunk-DDRLI6JU.js";
26
26
  import "./chunk-4VNS5WPM.js";
27
27
 
28
28
  // src/commands/ui.ts
@@ -48,15 +48,15 @@ function removeApiLockFile() {
48
48
  }
49
49
  }
50
50
  async function main() {
51
- const { getApiPort: getApiPort2, getApiHost: getApiHost2 } = await import("./dist-RKOGLK7R.js");
51
+ const { getApiPort: getApiPort2, getApiHost: getApiHost2 } = await import("./dist-GWGTAHNM.js");
52
52
  const { generateApiSecret: generateApiSecret2, setApiSecret: setApiSecret2 } = await import("./auth-PN7TMQHV-2W4ICG64.js");
53
53
  const port = getApiPort2();
54
54
  const host = getApiHost2();
55
55
  const projectDir = process.argv[2] || process.cwd();
56
56
  const secret = generateApiSecret2();
57
57
  setApiSecret2(secret);
58
- const { createApiServer: createApiServer2 } = await import("./server-USLHY6GH-AEOJC5ST.js");
59
- const { attachWebSocket: attachWebSocket2 } = await import("./server-X5P6WH2M-7K2RY34N.js");
58
+ const { createApiServer: createApiServer2 } = await import("./server-USLHY6GH-F4JSXCWA.js");
59
+ const { attachWebSocket: attachWebSocket2 } = await import("./server-X5P6WH2M-ULZF5WHZ.js");
60
60
  const server = createApiServer2(projectDir);
61
61
  const wss = attachWebSocket2(server, projectDir);
62
62
  const shutdown = () => {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  resolveApiKey,
3
3
  resolveUlpiUrl
4
- } from "./chunk-7LXY5UVC.js";
4
+ } from "./chunk-DDRLI6JU.js";
5
5
  import "./chunk-4VNS5WPM.js";
6
6
 
7
7
  // ../../packages/codemap-engine/dist/ulpi-RMMCUAGP.js
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  uninstallHooks
3
- } from "./chunk-QJ5GSMEC.js";
4
- import "./chunk-7LXY5UVC.js";
3
+ } from "./chunk-5SCG7UYM.js";
4
+ import "./chunk-DDRLI6JU.js";
5
5
  import "./chunk-4VNS5WPM.js";
6
6
 
7
7
  // src/commands/uninstall.ts
@@ -11,7 +11,7 @@ async function runUninstall(_args, projectDir) {
11
11
  uninstallHooks(projectDir);
12
12
  console.log(chalk.green("\u2713 Hooks removed from .claude/settings.json"));
13
13
  try {
14
- const { isSupported, isLaunchAgentInstalled, uninstallLaunchAgent } = await import("./launchd-LF2QMSKZ.js");
14
+ const { isSupported, isLaunchAgentInstalled, uninstallLaunchAgent } = await import("./launchd-OYXUAVW6.js");
15
15
  if (isSupported() && isLaunchAgentInstalled()) {
16
16
  uninstallLaunchAgent();
17
17
  console.log(chalk.green("\u2713 Removed LaunchAgent for UI server"));