leglas 0.1.0
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 +395 -0
- package/dist/args.d.ts +69 -0
- package/dist/baseline.d.ts +14 -0
- package/dist/bin.d.ts +2 -0
- package/dist/bin.js +2226 -0
- package/dist/briefs.d.ts +32 -0
- package/dist/ignore.d.ts +11 -0
- package/dist/index.d.ts +17 -0
- package/dist/index.js +2086 -0
- package/dist/init.d.ts +13 -0
- package/dist/keep.d.ts +32 -0
- package/dist/new.d.ts +34 -0
- package/dist/run-classify.d.ts +14 -0
- package/dist/run-explore.d.ts +18 -0
- package/dist/run-init.d.ts +16 -0
- package/dist/run-keep.d.ts +12 -0
- package/dist/run-new.d.ts +23 -0
- package/dist/run-previews.d.ts +28 -0
- package/dist/run.d.ts +24 -0
- package/dist/shell/assets/Satoshi-Medium-ByP-Zb-9.woff2 +0 -0
- package/dist/shell/assets/Satoshi-Regular-CPM9dct4.woff2 +0 -0
- package/dist/shell/assets/index-D-nej-Uo.js +9 -0
- package/dist/shell/assets/index-DcVuoqfz.css +1 -0
- package/dist/shell/assets/manrope-cyrillic-wght-normal-Dvxsihut.woff2 +0 -0
- package/dist/shell/assets/manrope-greek-wght-normal-DL7QRZyv.woff2 +0 -0
- package/dist/shell/assets/manrope-latin-ext-wght-normal-Ch3YOpNY.woff2 +0 -0
- package/dist/shell/assets/manrope-latin-wght-normal-DHIcAJRg.woff2 +0 -0
- package/dist/shell/assets/manrope-vietnamese-wght-normal-usUDDRr7.woff2 +0 -0
- package/dist/shell/assets/outfit-latin-ext-wght-normal-DdQaqQDo.woff2 +0 -0
- package/dist/shell/assets/outfit-latin-wght-normal-Bc-8i84L.woff2 +0 -0
- package/dist/shell/assets/spline-sans-mono-latin-400-normal-739QRW1l.woff +0 -0
- package/dist/shell/assets/spline-sans-mono-latin-400-normal-mUpA6Mve.woff2 +0 -0
- package/dist/shell/assets/spline-sans-mono-latin-ext-400-normal-BfWvPoNT.woff2 +0 -0
- package/dist/shell/assets/spline-sans-mono-latin-ext-400-normal-BkT5i7fe.woff +0 -0
- package/dist/shell/index.html +14 -0
- package/package.json +35 -0
package/dist/briefs.d.ts
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export type Brief = {
|
|
2
|
+
slug: string;
|
|
3
|
+
name: string;
|
|
4
|
+
brief: string;
|
|
5
|
+
/**
|
|
6
|
+
* Named because agents converge without it: the obvious reading of any angle
|
|
7
|
+
* is a small tweak to what already exists.
|
|
8
|
+
*/
|
|
9
|
+
avoid: string;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Angles for exploring a surface.
|
|
13
|
+
*
|
|
14
|
+
* Left to itself an agent iterates narrowly around its first idea, so six
|
|
15
|
+
* requests return six shades of one design. These exist to force real
|
|
16
|
+
* divergence, and each varies several properties at once rather than turning a
|
|
17
|
+
* single knob: composition, medium, density, motion, texture and palette
|
|
18
|
+
* rather than colour alone.
|
|
19
|
+
*
|
|
20
|
+
* Ordered for spread, so asking for three still explores widely instead of
|
|
21
|
+
* returning three neighbours.
|
|
22
|
+
*/
|
|
23
|
+
export declare const ALL_BRIEFS: Brief[];
|
|
24
|
+
export declare function briefsFor(count: number): Brief[];
|
|
25
|
+
export declare function planBriefs(surface: string, count: number): {
|
|
26
|
+
previews: {
|
|
27
|
+
title: string;
|
|
28
|
+
url: string;
|
|
29
|
+
}[];
|
|
30
|
+
commands: string[];
|
|
31
|
+
instructions: string;
|
|
32
|
+
};
|
package/dist/ignore.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** Everything Leglas writes into a project lives here, and none of it is shared. */
|
|
2
|
+
export declare const IGNORED = ".leglas/";
|
|
3
|
+
/**
|
|
4
|
+
* The .gitignore contents needed to ignore Leglas's working directory, or null
|
|
5
|
+
* when nothing needs to change.
|
|
6
|
+
*
|
|
7
|
+
* Any command that writes into `.leglas/` calls this, because the moment the
|
|
8
|
+
* directory exists un-ignored, someone's exploration is one `git add -A` away
|
|
9
|
+
* from a commit.
|
|
10
|
+
*/
|
|
11
|
+
export declare function ignoreEntry(current: string | null): string | null;
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export { parseArgs } from "./args.js";
|
|
2
|
+
export { ALL_BRIEFS, briefsFor, planBriefs } from "./briefs.js";
|
|
3
|
+
export { runExplore } from "./run-explore.js";
|
|
4
|
+
export { detectFramework, planNew, surfaceSlug } from "./new.js";
|
|
5
|
+
export { AGENTS_MARKER_END, AGENTS_MARKER_START, planInit } from "./init.js";
|
|
6
|
+
export { baselineFrom } from "./baseline.js";
|
|
7
|
+
export { planKeep } from "./keep.js";
|
|
8
|
+
export { runInit } from "./run-init.js";
|
|
9
|
+
export { runKeep } from "./run-keep.js";
|
|
10
|
+
export { runNew } from "./run-new.js";
|
|
11
|
+
export { runAdd, runList, runRequests } from "./run-previews.js";
|
|
12
|
+
export { runClassify } from "./run-classify.js";
|
|
13
|
+
export { run } from "./run.js";
|
|
14
|
+
export type { ParseResult, RunOptions } from "./args.js";
|
|
15
|
+
export type { Framework, NewPlan, Write } from "./new.js";
|
|
16
|
+
export type { NewDeps, NewResult } from "./run-new.js";
|
|
17
|
+
export type { RunDeps, RunResult } from "./run.js";
|