youiyoux 0.1.4 → 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.
- package/dist/chunks/{chunk-YFCMTTXS.js → chunk-5QRDHWK5.js} +4 -4
- package/dist/chunks/{chunk-RDTHHRZN.js → chunk-BSJLO2LJ.js} +1 -1
- package/dist/chunks/{chunk-FJZFCAL5.js → chunk-O6QTQCTC.js} +1 -1
- package/dist/chunks/{chunk-52KOKYY6.js → chunk-VG3ZCSST.js} +10 -0
- package/dist/chunks/{chunk-XAEMVEYX.js → chunk-VM6BGPRI.js} +1 -1
- package/dist/chunks/{src-6CJR547Y.js → src-34R7QMJC.js} +2 -2
- package/dist/chunks/{src-BPETAFLW.js → src-E25GHWWT.js} +2 -2
- package/dist/chunks/{src-LLV7IY6W.js → src-SZHEV4YC.js} +1 -1
- package/dist/hub-previews.js +2 -2
- package/dist/hub-server.js +2 -2
- package/dist/hub-snapshot.js +1 -1
- package/dist/youi.js +2 -2
- package/dist/youiyoux.js +2 -2
- package/package.json +4 -4
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
substituteVars,
|
|
48
48
|
vendoredPath,
|
|
49
49
|
whereUsed
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-VG3ZCSST.js";
|
|
51
51
|
import {
|
|
52
52
|
within
|
|
53
53
|
} from "./chunk-42YJX3W5.js";
|
|
@@ -2080,7 +2080,7 @@ async function libraryLicence(id) {
|
|
|
2080
2080
|
}
|
|
2081
2081
|
}
|
|
2082
2082
|
async function startRuleEditor(options) {
|
|
2083
|
-
const { FileStore, RuleWorkflow, serveWorkflow } = await import("./src-
|
|
2083
|
+
const { FileStore, RuleWorkflow, serveWorkflow } = await import("./src-34R7QMJC.js");
|
|
2084
2084
|
const projectRoot = resolve6(options.project);
|
|
2085
2085
|
const load2 = { ...options.config ? { configPath: resolve6(options.config) } : {}, ...options.design ? { designRoot: resolve6(options.design) } : {}, ...options.root ? { productRoot: resolve6(options.root) } : {} };
|
|
2086
2086
|
const project2 = await loadProject(projectRoot, load2);
|
|
@@ -5017,7 +5017,7 @@ async function cmdRequests(values, positionals) {
|
|
|
5017
5017
|
const usage = "youiyoux requests [--status open|addressed|closed|all] [--route r] or youiyoux requests show <id> | reply <id> --message <text> | addressed <id> --message <what you changed>";
|
|
5018
5018
|
const [action, id, ...rest] = positionals;
|
|
5019
5019
|
if (rest.length > 0) throw new UsageError(usage);
|
|
5020
|
-
const { RequestStore, requestBrief } = await import("./src-
|
|
5020
|
+
const { RequestStore, requestBrief } = await import("./src-34R7QMJC.js");
|
|
5021
5021
|
const { project: project2, root } = await product(values);
|
|
5022
5022
|
const store = new RequestStore(root, project2?.config.id ?? basename3(root));
|
|
5023
5023
|
const agent = { kind: "agent", name: "youiyoux CLI" };
|
|
@@ -5116,7 +5116,7 @@ async function cmdReport(values, positionals, io) {
|
|
|
5116
5116
|
return result.code;
|
|
5117
5117
|
}
|
|
5118
5118
|
async function cmdMcp(values) {
|
|
5119
|
-
const { startStdioServer } = await import("./src-
|
|
5119
|
+
const { startStdioServer } = await import("./src-E25GHWWT.js");
|
|
5120
5120
|
await startStdioServer({ projectRoot: values.project ?? process.cwd(), ...loadOptions(values), ...values.cache ? { discoverCache: values.cache } : {} });
|
|
5121
5121
|
return -1;
|
|
5122
5122
|
}
|
|
@@ -6651,7 +6651,17 @@ function checkedTsconfig(root, tsconfig) {
|
|
|
6651
6651
|
}
|
|
6652
6652
|
return { path: first };
|
|
6653
6653
|
}
|
|
6654
|
+
var SERVICE_GONE = /^The service (is no longer running|was stopped)/;
|
|
6654
6655
|
async function bundleWithin(options, timeoutMs, signal) {
|
|
6656
|
+
try {
|
|
6657
|
+
return await bundleOnce(options, timeoutMs, signal);
|
|
6658
|
+
} catch (error) {
|
|
6659
|
+
if (!(error instanceof Error && SERVICE_GONE.test(error.message))) throw error;
|
|
6660
|
+
await (await import("esbuild")).stop();
|
|
6661
|
+
return await bundleOnce(options, timeoutMs, signal);
|
|
6662
|
+
}
|
|
6663
|
+
}
|
|
6664
|
+
async function bundleOnce(options, timeoutMs, signal) {
|
|
6655
6665
|
signal?.throwIfAborted();
|
|
6656
6666
|
const esbuild = await import("esbuild");
|
|
6657
6667
|
const context = await esbuild.context({ ...options, write: false });
|
|
@@ -3,7 +3,7 @@ import { createRequire as __youiRequire } from "node:module"; import { dirname a
|
|
|
3
3
|
// src/hub-packages.js
|
|
4
4
|
var PACKAGES = {
|
|
5
5
|
core: () => import("./src-RHNZELGE.js"),
|
|
6
|
-
scanner: () => import("./src-
|
|
6
|
+
scanner: () => import("./src-SZHEV4YC.js"),
|
|
7
7
|
discover: () => import("./src-SFKFERZ2.js"),
|
|
8
8
|
tokens: () => import("./src-5IP4NGKT.js")
|
|
9
9
|
};
|
|
@@ -57,8 +57,8 @@ import {
|
|
|
57
57
|
validateContent,
|
|
58
58
|
validateLibraryContent,
|
|
59
59
|
validateStyleContent
|
|
60
|
-
} from "./chunk-
|
|
61
|
-
import "./chunk-
|
|
60
|
+
} from "./chunk-BSJLO2LJ.js";
|
|
61
|
+
import "./chunk-VG3ZCSST.js";
|
|
62
62
|
import "./chunk-42YJX3W5.js";
|
|
63
63
|
import "./chunk-YJ7WMBTT.js";
|
|
64
64
|
import "./chunk-NYDJYMID.js";
|
|
@@ -2,7 +2,7 @@ import { createRequire as __youiRequire } from "node:module"; import { dirname a
|
|
|
2
2
|
import {
|
|
3
3
|
RequestStore,
|
|
4
4
|
requestBrief
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-BSJLO2LJ.js";
|
|
6
6
|
import {
|
|
7
7
|
PROJECT_FILE,
|
|
8
8
|
ScanCache,
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
shotsText,
|
|
31
31
|
tokenRows,
|
|
32
32
|
whereUsed
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-VG3ZCSST.js";
|
|
34
34
|
import "./chunk-42YJX3W5.js";
|
|
35
35
|
import {
|
|
36
36
|
SHADCN_SLOTS,
|
package/dist/hub-previews.js
CHANGED
|
@@ -16,8 +16,8 @@ import {
|
|
|
16
16
|
selectCandidates,
|
|
17
17
|
thumbsDir,
|
|
18
18
|
writeThumbIndex
|
|
19
|
-
} from "./chunks/chunk-
|
|
20
|
-
import "./chunks/chunk-
|
|
19
|
+
} from "./chunks/chunk-O6QTQCTC.js";
|
|
20
|
+
import "./chunks/chunk-VM6BGPRI.js";
|
|
21
21
|
import "./chunks/chunk-FVVL5JCY.js";
|
|
22
22
|
import "./chunks/chunk-NYDJYMID.js";
|
|
23
23
|
import "./chunks/chunk-WNTS7ZO4.js";
|
package/dist/hub-server.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createRequire as __youiRequire } from "node:module"; import { dirname as __youiDir } from "node:path"; import { fileURLToPath as __youiPath } from "node:url"; const require = __youiRequire(import.meta.url); const __youiDirname = __youiDir(__youiPath(import.meta.url));
|
|
3
3
|
import {
|
|
4
4
|
discoverThumbsMiddleware
|
|
5
|
-
} from "./chunks/chunk-
|
|
5
|
+
} from "./chunks/chunk-O6QTQCTC.js";
|
|
6
6
|
import {
|
|
7
7
|
isLocalHost,
|
|
8
8
|
loadPackage,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
readTryIndex,
|
|
11
11
|
send,
|
|
12
12
|
tryMiddleware
|
|
13
|
-
} from "./chunks/chunk-
|
|
13
|
+
} from "./chunks/chunk-VM6BGPRI.js";
|
|
14
14
|
import "./chunks/chunk-FVVL5JCY.js";
|
|
15
15
|
import "./chunks/chunk-NYDJYMID.js";
|
|
16
16
|
import "./chunks/chunk-WNTS7ZO4.js";
|
package/dist/hub-snapshot.js
CHANGED
|
@@ -3,7 +3,7 @@ import { createRequire as __youiRequire } from "node:module"; import { dirname a
|
|
|
3
3
|
import {
|
|
4
4
|
loadPackage,
|
|
5
5
|
tryProject
|
|
6
|
-
} from "./chunks/chunk-
|
|
6
|
+
} from "./chunks/chunk-VM6BGPRI.js";
|
|
7
7
|
import "./chunks/chunk-FVVL5JCY.js";
|
|
8
8
|
import "./chunks/chunk-WNTS7ZO4.js";
|
|
9
9
|
|
package/dist/youi.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { createRequire as __youiRequire } from "node:module"; import { dirname as __youiDir } from "node:path"; import { fileURLToPath as __youiPath } from "node:url"; const require = __youiRequire(import.meta.url); const __youiDirname = __youiDir(__youiPath(import.meta.url));
|
|
3
3
|
import {
|
|
4
4
|
main
|
|
5
|
-
} from "./chunks/chunk-
|
|
6
|
-
import "./chunks/chunk-
|
|
5
|
+
} from "./chunks/chunk-5QRDHWK5.js";
|
|
6
|
+
import "./chunks/chunk-VG3ZCSST.js";
|
|
7
7
|
import "./chunks/chunk-42YJX3W5.js";
|
|
8
8
|
import "./chunks/chunk-4BBYLTZX.js";
|
|
9
9
|
import "./chunks/chunk-M5XZWCPS.js";
|
package/dist/youiyoux.js
CHANGED
|
@@ -3,8 +3,8 @@ import { createRequire as __youiRequire } from "node:module"; import { dirname a
|
|
|
3
3
|
import {
|
|
4
4
|
COMMAND_NAMES,
|
|
5
5
|
main
|
|
6
|
-
} from "./chunks/chunk-
|
|
7
|
-
import "./chunks/chunk-
|
|
6
|
+
} from "./chunks/chunk-5QRDHWK5.js";
|
|
7
|
+
import "./chunks/chunk-VG3ZCSST.js";
|
|
8
8
|
import "./chunks/chunk-42YJX3W5.js";
|
|
9
9
|
import "./chunks/chunk-4BBYLTZX.js";
|
|
10
10
|
import "./chunks/chunk-M5XZWCPS.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "youiyoux",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "Your agent rebuilds components you already have. youiyoux catches it: npx youiyoux turns any repo into a shareable report of near-duplicate components, hardcoded token values and off-library imports, with the fixes.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
"typescript": "6.0.3"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@youiyoux/cli": "0.1.
|
|
50
|
-
"@youiyoux/core": "0.1.
|
|
51
|
-
"@youiyoux/scanner": "0.1.
|
|
49
|
+
"@youiyoux/cli": "0.1.5",
|
|
50
|
+
"@youiyoux/core": "0.1.5",
|
|
51
|
+
"@youiyoux/scanner": "0.1.5"
|
|
52
52
|
},
|
|
53
53
|
"exports": {
|
|
54
54
|
"./package.json": "./package.json"
|