@ulpi/cli 0.1.6 → 0.1.8
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 +143 -214
- package/dist/{chunk-KYYI23AQ.js → chunk-BV5UYMYQ.js} +1 -1
- package/dist/{chunk-V2H5D6Y3.js → chunk-PO4NUZUU.js} +2 -1
- package/dist/{chunk-VXH5Y4FO.js → chunk-WVOZE25N.js} +6 -10
- package/dist/{chunk-VVEDXI7E.js → chunk-XKF4DPUM.js} +6 -6
- package/dist/{ci-X3U2W4HC.js → ci-ZKXPTYOS.js} +2 -2
- package/dist/{doctor-SI4LLLDZ.js → doctor-OHAU2ZOF.js} +1 -1
- package/dist/{history-5NE46ZAH.js → history-INYAXMBQ.js} +1 -1
- package/dist/{hooks-installer-UN5JZLDQ.js → hooks-installer-YEYTYA6Q.js} +1 -1
- package/dist/index.js +16 -16
- package/dist/{init-5FK3VKRT.js → init-TJYW5ROZ.js} +4 -4
- package/dist/{launchd-6AWT54HR.js → launchd-U3MSWBRH.js} +1 -1
- package/dist/{review-integration-5WHEJU2A.js → review-integration-RQE4KMAV.js} +1 -1
- package/dist/{server-KKSETHDV-XSSLEENT.js → server-U7PQ6FTS-MG4MJPTS.js} +1 -1
- package/dist/skills/ulpi-generate-guards/SKILL.md +750 -0
- package/dist/skills/ulpi-generate-guards/references/framework-rules.md +849 -0
- package/dist/skills/ulpi-generate-guards/references/language-rules.md +591 -0
- package/dist/{start-JYOEL7AJ.js → start-SQRNELKC.js} +3 -3
- package/dist/{uninstall-ICUV6DDV.js → uninstall-BX6FOV77.js} +2 -2
- package/dist/{update-7ZMAYRBH.js → update-V4LET4UD.js} +2 -2
- package/dist/{version-checker-4ZFMZA7Y.js → version-checker-AUAHP4P2.js} +1 -1
- package/package.json +39 -38
- package/LICENSE +0 -21
package/dist/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
extractPlanForReview,
|
|
9
9
|
isReviewEnabled,
|
|
10
10
|
runPlanReviewSession
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-PO4NUZUU.js";
|
|
12
12
|
import {
|
|
13
13
|
injectSkill,
|
|
14
14
|
loadSkillSync
|
|
@@ -131,7 +131,7 @@ async function handleSessionStart(ctx) {
|
|
|
131
131
|
if (shouldPromptForGeneration(projectDir2)) {
|
|
132
132
|
outputGenerationPrompt();
|
|
133
133
|
}
|
|
134
|
-
import("./version-checker-
|
|
134
|
+
import("./version-checker-AUAHP4P2.js").then((m) => m.checkForUpdates()).catch(() => {
|
|
135
135
|
});
|
|
136
136
|
try {
|
|
137
137
|
const { isMemoryEnabled, loadMemoryConfig, getTopMemories, formatMemoriesForAgent } = await import("./dist-JLU26AB6.js");
|
|
@@ -201,11 +201,11 @@ function outputGenerationPrompt() {
|
|
|
201
201
|
\u2502 \u2022 Auto-approve safe operations \u2502
|
|
202
202
|
\u2502 \u2022 Block dangerous commands \u2502
|
|
203
203
|
\u2502 \u2502
|
|
204
|
-
\u2502 To generate: Type "/ulpi-generate-
|
|
205
|
-
\u2502 "yes, generate
|
|
204
|
+
\u2502 To generate: Type "/ulpi-generate-guards" or say \u2502
|
|
205
|
+
\u2502 "yes, generate guards" \u2502
|
|
206
206
|
\u2502 \u2502
|
|
207
|
-
\u2502 After generating, manage hooks via
|
|
208
|
-
\u2502 ulpi
|
|
207
|
+
\u2502 After generating, manage hooks via Portal: \u2502
|
|
208
|
+
\u2502 ulpi start \u2502
|
|
209
209
|
\u2502 \u2192 http://localhost:${getApiPort()} \u2502
|
|
210
210
|
\u2502 \u2502
|
|
211
211
|
\u2502 To dismiss: Create empty .ulpi/.no-auto-gen \u2502
|
|
@@ -975,7 +975,7 @@ async function handlePostTool(ctx) {
|
|
|
975
975
|
}
|
|
976
976
|
}
|
|
977
977
|
try {
|
|
978
|
-
const { collectPostReviewContexts } = await import("./review-integration-
|
|
978
|
+
const { collectPostReviewContexts } = await import("./review-integration-RQE4KMAV.js");
|
|
979
979
|
const reviewCtx = collectPostReviewContexts(input.session_id);
|
|
980
980
|
if (reviewCtx.feedback) {
|
|
981
981
|
process.stderr.write(`[ulpi] Review feedback:
|
|
@@ -1768,7 +1768,7 @@ async function main() {
|
|
|
1768
1768
|
switch (command) {
|
|
1769
1769
|
case "init": {
|
|
1770
1770
|
const initDir = rawArgs.some((a) => a === "--project" || a === "-p") ? projectDir : process.cwd();
|
|
1771
|
-
return (await import("./init-
|
|
1771
|
+
return (await import("./init-TJYW5ROZ.js")).runInit([initDir, ...args.slice(1)]);
|
|
1772
1772
|
}
|
|
1773
1773
|
case "rules":
|
|
1774
1774
|
return (await import("./rules-Y4VSOY5Y.js")).runRules(args.slice(1), projectDir);
|
|
@@ -1785,16 +1785,16 @@ async function main() {
|
|
|
1785
1785
|
case "import":
|
|
1786
1786
|
return (await import("./export-import-JFQH4KSJ.js")).runImport(args.slice(1), projectDir);
|
|
1787
1787
|
case "uninstall":
|
|
1788
|
-
return (await import("./uninstall-
|
|
1788
|
+
return (await import("./uninstall-BX6FOV77.js")).runUninstall(args.slice(1), projectDir);
|
|
1789
1789
|
case "start":
|
|
1790
|
-
return (await import("./start-
|
|
1790
|
+
return (await import("./start-SQRNELKC.js")).runStart(args.slice(1), projectDir);
|
|
1791
1791
|
case "ui":
|
|
1792
1792
|
console.log(chalk.yellow("'ulpi ui' is deprecated. Use 'ulpi start' instead."));
|
|
1793
|
-
return (await import("./start-
|
|
1793
|
+
return (await import("./start-SQRNELKC.js")).runStart(args.slice(1), projectDir);
|
|
1794
1794
|
case "update":
|
|
1795
|
-
return (await import("./update-
|
|
1795
|
+
return (await import("./update-V4LET4UD.js")).runUpdate(args.slice(1));
|
|
1796
1796
|
case "history":
|
|
1797
|
-
return (await import("./history-
|
|
1797
|
+
return (await import("./history-INYAXMBQ.js")).runHistory(args.slice(1), projectDir);
|
|
1798
1798
|
case "review":
|
|
1799
1799
|
console.error("The 'review' command has been removed in ULPI v2.");
|
|
1800
1800
|
process.exit(1);
|
|
@@ -1808,7 +1808,7 @@ async function main() {
|
|
|
1808
1808
|
case "repos":
|
|
1809
1809
|
return (await import("./repos-WWZXNN3P.js")).runRepos(args.slice(1));
|
|
1810
1810
|
case "ci":
|
|
1811
|
-
return (await import("./ci-
|
|
1811
|
+
return (await import("./ci-ZKXPTYOS.js")).runCi(args.slice(1), projectDir);
|
|
1812
1812
|
case "auth":
|
|
1813
1813
|
return (await import("./auth-HDK7ECJL.js")).runAuth(args.slice(1));
|
|
1814
1814
|
case "prd":
|
|
@@ -1822,7 +1822,7 @@ async function main() {
|
|
|
1822
1822
|
case "portal":
|
|
1823
1823
|
return (await import("./portal-JYWVHXDU.js")).runPortalCommand(args.slice(1), projectDir);
|
|
1824
1824
|
case "doctor":
|
|
1825
|
-
return (await import("./doctor-
|
|
1825
|
+
return (await import("./doctor-OHAU2ZOF.js")).runDoctorCommand(args.slice(1), projectDir);
|
|
1826
1826
|
case "kiro":
|
|
1827
1827
|
return (await import("./kiro-VMUHDFGK.js")).runKiro(args.slice(1), projectDir);
|
|
1828
1828
|
case "codex":
|
|
@@ -1842,7 +1842,7 @@ async function main() {
|
|
|
1842
1842
|
return (await import("./cloud-2F3NLVHN.js")).runCloud(args.slice(1), projectDir);
|
|
1843
1843
|
case "--version":
|
|
1844
1844
|
case "-v":
|
|
1845
|
-
console.log("0.1.
|
|
1845
|
+
console.log("0.1.8");
|
|
1846
1846
|
return;
|
|
1847
1847
|
case "--help":
|
|
1848
1848
|
case "-h":
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
installGlobalSkill,
|
|
3
3
|
installHooks,
|
|
4
4
|
installLocalSkill
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-XKF4DPUM.js";
|
|
6
6
|
import {
|
|
7
7
|
registerRepo
|
|
8
8
|
} from "./chunk-UXHCHOWQ.js";
|
|
@@ -97,7 +97,7 @@ async function runInit(args) {
|
|
|
97
97
|
console.log(chalk.yellow(`\u26A0 ${globalResult.message}`));
|
|
98
98
|
}
|
|
99
99
|
try {
|
|
100
|
-
const { isSupported, isLaunchAgentInstalled, needsLegacyMigration, installLaunchAgent } = await import("./launchd-
|
|
100
|
+
const { isSupported, isLaunchAgentInstalled, needsLegacyMigration, installLaunchAgent } = await import("./launchd-U3MSWBRH.js");
|
|
101
101
|
if (isSupported() && (!isLaunchAgentInstalled() || needsLegacyMigration())) {
|
|
102
102
|
const migrating = needsLegacyMigration();
|
|
103
103
|
installLaunchAgent();
|
|
@@ -106,7 +106,7 @@ async function runInit(args) {
|
|
|
106
106
|
} else {
|
|
107
107
|
console.log(chalk.green("\u2713 Installed LaunchAgent for UI server (auto-starts on login)"));
|
|
108
108
|
}
|
|
109
|
-
console.log(chalk.dim(`
|
|
109
|
+
console.log(chalk.dim(` Portal: http://localhost:${getApiPort()}`));
|
|
110
110
|
}
|
|
111
111
|
} catch {
|
|
112
112
|
}
|
|
@@ -255,7 +255,7 @@ function runClaudeCli(projectDir, model) {
|
|
|
255
255
|
"text",
|
|
256
256
|
"--permission-mode",
|
|
257
257
|
"bypassPermissions",
|
|
258
|
-
`/ulpi-generate-
|
|
258
|
+
`/ulpi-generate-guards ${projectDir}`
|
|
259
259
|
], {
|
|
260
260
|
cwd: projectDir,
|
|
261
261
|
stdio: ["pipe", "pipe", "pipe"]
|