@mvarble/mesearch-workflow 0.0.0-stage → 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/LICENSE +21 -0
- package/README.md +109 -2
- package/agents/reference/authoring.md +142 -0
- package/agents/reference/workflow.md +118 -0
- package/agents/skills/wf-abandon/SKILL.md +18 -0
- package/agents/skills/wf-approve/SKILL.md +24 -0
- package/agents/skills/wf-build/SKILL.md +45 -0
- package/agents/skills/wf-plan/SKILL.md +49 -0
- package/agents/skills/wf-publish/SKILL.md +42 -0
- package/agents/skills/wf-reopen/SKILL.md +22 -0
- package/agents/skills/wf-resume/SKILL.md +16 -0
- package/agents/skills/wf-start/SKILL.md +27 -0
- package/agents/skills/wf-status/SKILL.md +15 -0
- package/agents/skills/wf-writeup/SKILL.md +61 -0
- package/app/ambient.d.ts +71 -0
- package/app/lib/components/CopyCode.svelte +24 -0
- package/app/lib/components/DocumentMap.svelte +38 -0
- package/app/lib/components/DocumentPage.svelte +184 -0
- package/app/lib/components/Icon.svelte +35 -0
- package/app/lib/components/ImageFigure.svelte +213 -0
- package/app/lib/components/LinkList.svelte +46 -0
- package/app/lib/components/ModelGraph.svelte +169 -0
- package/app/lib/components/OpenEntry.svelte +35 -0
- package/app/lib/components/PageList.svelte +35 -0
- package/app/lib/components/PrevNext.svelte +24 -0
- package/app/lib/components/Proof.svelte +12 -0
- package/app/lib/components/Shell.svelte +55 -0
- package/app/lib/components/Sidebar.svelte +50 -0
- package/app/lib/components/StageRail.svelte +30 -0
- package/app/lib/components/Statement.svelte +41 -0
- package/app/lib/components/Tex.svelte +25 -0
- package/app/lib/components/ThemeToggle.svelte +17 -0
- package/app/lib/components/Timeline.svelte +31 -0
- package/app/lib/components/Toc.svelte +41 -0
- package/app/lib/components/TopBar.svelte +55 -0
- package/app/lib/components/TrackCard.svelte +19 -0
- package/app/lib/documents.ts +52 -0
- package/app/lib/graph/describe.ts +29 -0
- package/app/lib/graph/geometry.ts +296 -0
- package/app/lib/graph/spec.ts +158 -0
- package/app/lib/kit.ts +11 -0
- package/app/lib/load.ts +12 -0
- package/app/lib/map.ts +6 -0
- package/app/lib/nav.ts +59 -0
- package/app/lib/questions.ts +33 -0
- package/app/lib/server/document.ts +117 -0
- package/app/lib/server/map.ts +41 -0
- package/app/lib/server/markdown.ts +134 -0
- package/app/lib/server/open.ts +35 -0
- package/app/lib/server/repo.ts +6 -0
- package/app/lib/server/specs.ts +26 -0
- package/app/lib/server/title.ts +9 -0
- package/app/lib/state/persisted.svelte.ts +40 -0
- package/app/lib/state/theme.svelte.ts +24 -0
- package/app/lib/tex.ts +99 -0
- package/app/params/slug.ts +5 -0
- package/app/params/track.ts +5 -0
- package/app/routes/+layout.ts +2 -0
- package/app/routes/[...key].md/+server.ts +19 -0
- package/app/routes/[track=track]/+page.server.ts +14 -0
- package/app/routes/[track=track]/+page.svelte +24 -0
- package/app/routes/[track=track]/[slug=slug]/+page.server.ts +9 -0
- package/app/routes/[track=track]/[slug=slug]/+page.svelte +7 -0
- package/app/routes/[track=track]/[slug=slug]/+page.ts +4 -0
- package/app/routes/archive/+page.server.ts +18 -0
- package/app/routes/archive/+page.svelte +44 -0
- package/app/routes/archive/[entry=slug]/+page.server.ts +9 -0
- package/app/routes/archive/[entry=slug]/+page.svelte +7 -0
- package/app/routes/archive/[entry=slug]/+page.ts +4 -0
- package/app/routes/archive/[entry=slug]/[name=slug]/+page.server.ts +14 -0
- package/app/routes/archive/[entry=slug]/[name=slug]/+page.svelte +7 -0
- package/app/routes/archive/[entry=slug]/[name=slug]/+page.ts +4 -0
- package/app/routes/llms-full.txt/+server.ts +17 -0
- package/app/routes/llms.txt/+server.ts +50 -0
- package/app/routes/math/+page.server.ts +21 -0
- package/app/routes/math/+page.svelte +56 -0
- package/app/routes/math/[slug=slug]/+page.server.ts +8 -0
- package/app/routes/math/[slug=slug]/+page.svelte +7 -0
- package/app/routes/math/[slug=slug]/+page.ts +4 -0
- package/app/styles/base.css +98 -0
- package/app/styles/code.css +83 -0
- package/app/styles/index.css +17 -0
- package/app/styles/katex.css +14 -0
- package/app/styles/layout.css +526 -0
- package/app/styles/text.css +96 -0
- package/app/styles/tokens/dimensions.css +31 -0
- package/app/styles/tokens/typography.css +33 -0
- package/app/styles/tokens.css +2 -0
- package/app/styles/utils/archive.css +339 -0
- package/app/styles/utils/buttons.css +28 -0
- package/app/styles/utils/callouts.css +41 -0
- package/app/styles/utils/cards.css +95 -0
- package/app/styles/utils/graph.css +186 -0
- package/app/styles/utils/map.css +45 -0
- package/app/styles/utils/tables.css +25 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +88 -0
- package/dist/cli.js.map +1 -0
- package/dist/engine/cli.d.ts +12 -0
- package/dist/engine/cli.js +744 -0
- package/dist/engine/cli.js.map +1 -0
- package/dist/engine/config.d.ts +40 -0
- package/dist/engine/config.js +16 -0
- package/dist/engine/config.js.map +1 -0
- package/dist/engine/lib.d.ts +108 -0
- package/dist/engine/lib.js +375 -0
- package/dist/engine/lib.js.map +1 -0
- package/dist/engine/main.d.ts +1 -0
- package/dist/engine/main.js +45 -0
- package/dist/engine/main.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -0
- package/dist/site/hooks.d.ts +27 -0
- package/dist/site/hooks.js +2 -0
- package/dist/site/hooks.js.map +1 -0
- package/dist/site/index.d.ts +1 -0
- package/dist/site/index.js +2 -0
- package/dist/site/index.js.map +1 -0
- package/dist/site/preset/index.d.ts +15 -0
- package/dist/site/preset/index.js +556 -0
- package/dist/site/preset/index.js.map +1 -0
- package/dist/site/preset/runtime.d.ts +42 -0
- package/dist/site/preset/runtime.js +99 -0
- package/dist/site/preset/runtime.js.map +1 -0
- package/dist/site/preset/types.d.ts +87 -0
- package/dist/site/preset/types.js +2 -0
- package/dist/site/preset/types.js.map +1 -0
- package/dist/site/vite.d.ts +14 -0
- package/dist/site/vite.js +202 -0
- package/dist/site/vite.js.map +1 -0
- package/dist/sync/index.d.ts +17 -0
- package/dist/sync/index.js +175 -0
- package/dist/sync/index.js.map +1 -0
- package/dist/sync/init.d.ts +7 -0
- package/dist/sync/init.js +62 -0
- package/dist/sync/init.js.map +1 -0
- package/dist/sync/render.d.ts +3 -0
- package/dist/sync/render.js +115 -0
- package/dist/sync/render.js.map +1 -0
- package/dist/sync/site.d.ts +3 -0
- package/dist/sync/site.js +58 -0
- package/dist/sync/site.js.map +1 -0
- package/package.json +78 -3
- package/templates/.agents/reference/authoring.md +12 -0
- package/templates/.agents/reference/stages/README.md +5 -0
- package/templates/AGENTS.md +42 -0
- package/templates/site/content/landing.md +5 -0
- package/templates/site/katex.config.ts +5 -0
- package/templates/site/package.json +22 -0
- package/templates/site/src/app.d.ts +8 -0
- package/templates/site/src/app.html +23 -0
- package/templates/site/src/lib/components/Logo.svelte +12 -0
- package/templates/site/src/lib/site.ts +39 -0
- package/templates/site/src/routes/+layout.server.ts +3 -0
- package/templates/site/src/routes/+layout.svelte +11 -0
- package/templates/site/src/routes/+page.server.ts +3 -0
- package/templates/site/src/routes/+page.svelte +34 -0
- package/templates/site/src/routes/+page.ts +7 -0
- package/templates/site/src/styles/index.css +4 -0
- package/templates/site/src/styles/tokens/colors.css +107 -0
- package/templates/site/static/favicon.svg +1 -0
- package/templates/site/tsconfig.json +20 -0
- package/templates/site/vite.config.ts +4 -0
- package/templates/workflow.config.ts +40 -0
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/* `mesearch-ui`'s map, given the site's colours. The component reads mesearch's token names, which
|
|
2
|
+
* are defined here, inside it, in terms of the site's; the dark theme follows on its own. */
|
|
3
|
+
|
|
4
|
+
.document-map {
|
|
5
|
+
margin: var(--space-6) 0;
|
|
6
|
+
|
|
7
|
+
--ink: var(--fg-1);
|
|
8
|
+
--ink-soft: var(--fg-2);
|
|
9
|
+
--muted: var(--fg-3);
|
|
10
|
+
--faint: var(--fg-4);
|
|
11
|
+
--rule: var(--border);
|
|
12
|
+
--rule-strong: var(--border-strong);
|
|
13
|
+
--paper: var(--bg-1);
|
|
14
|
+
--paper-raised: var(--bg-2);
|
|
15
|
+
--paper-sunken: var(--bg-3);
|
|
16
|
+
--accent: var(--fg-accent);
|
|
17
|
+
--accent-soft: var(--bg-accent-soft);
|
|
18
|
+
--font-ui: var(--font-family-ui);
|
|
19
|
+
--font-serif: var(--font-family-body);
|
|
20
|
+
--font-size-ui: var(--font-size-small);
|
|
21
|
+
--font-size-eyebrow: var(--font-size-tiny);
|
|
22
|
+
--radius-large: var(--radius-lg);
|
|
23
|
+
--shadow: var(--shadow-md);
|
|
24
|
+
--shadow-strong: var(--shadow-md);
|
|
25
|
+
--sequence: var(--fg-accent);
|
|
26
|
+
--graph-background: var(--bg-2);
|
|
27
|
+
--graph-grid: color-mix(in srgb, var(--fg-3) 8%, transparent);
|
|
28
|
+
--graph-edge: var(--border-strong);
|
|
29
|
+
--graph-edge-strong: var(--fg-3);
|
|
30
|
+
--graph-node: var(--bg-1);
|
|
31
|
+
--graph-label: var(--fg-1);
|
|
32
|
+
|
|
33
|
+
/* One hue per kind, from the graph figures' palette and far apart on the wheel, so that the two
|
|
34
|
+
* kinds tell apart at a glance in either theme. */
|
|
35
|
+
& [class*='kind-'],
|
|
36
|
+
& .kind-math {
|
|
37
|
+
--kind: var(--graph-blue);
|
|
38
|
+
--kind-soft: color-mix(in srgb, var(--graph-blue) 12%, var(--bg-1));
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
& .kind-entry-document {
|
|
42
|
+
--kind: var(--graph-orange);
|
|
43
|
+
--kind-soft: color-mix(in srgb, var(--graph-orange) 14%, var(--bg-1));
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
.prose table {
|
|
2
|
+
display: block;
|
|
3
|
+
width: max-content;
|
|
4
|
+
max-width: 100%;
|
|
5
|
+
overflow-x: auto;
|
|
6
|
+
border-collapse: collapse;
|
|
7
|
+
font: var(--font-small);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.prose :is(th, td) {
|
|
11
|
+
padding: var(--space-2) var(--space-3);
|
|
12
|
+
border-bottom: 1px solid var(--border);
|
|
13
|
+
text-align: left;
|
|
14
|
+
vertical-align: top;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.prose th {
|
|
18
|
+
font-weight: 600;
|
|
19
|
+
color: var(--fg-1);
|
|
20
|
+
border-bottom-color: var(--border-strong);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.prose tr:hover td {
|
|
24
|
+
background: var(--bg-2);
|
|
25
|
+
}
|
package/dist/cli.d.ts
ADDED
package/dist/cli.js
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// `mesearch-wf`: sets a repository up for documented development, and keeps what is this
|
|
3
|
+
// package's in it up to date. Run it anywhere in the repository; it works on the repository's
|
|
4
|
+
// root. `bin/wf`, which it writes, is the workflow's own command line.
|
|
5
|
+
import { execFileSync } from 'node:child_process';
|
|
6
|
+
import fs from 'node:fs';
|
|
7
|
+
import path from 'node:path';
|
|
8
|
+
import { CONFIG_FILE } from "./engine/config.js";
|
|
9
|
+
import { init } from "./sync/init.js";
|
|
10
|
+
import { outdated, sync, version } from "./sync/index.js";
|
|
11
|
+
const USAGE = `usage: mesearch-wf <command>
|
|
12
|
+
|
|
13
|
+
init [--force] set the repository up: workflow.config.ts, AGENTS.md, the project's
|
|
14
|
+
conventions, the guard hook, a documentation site where there is none,
|
|
15
|
+
and then sync; what exists is kept, unless --force
|
|
16
|
+
sync write what is @mvarble/mesearch-workflow's: bin/wf and the engine, the
|
|
17
|
+
wf-* skills, .agents/reference/mesearch/, the site's shared routes
|
|
18
|
+
diff list what sync would change, and fail if anything; for CI
|
|
19
|
+
version the version that sync writes`;
|
|
20
|
+
// The project: the nearest directory up from here with a `workflow.config.ts`, else the git
|
|
21
|
+
// repository's root, else here.
|
|
22
|
+
function repoRoot() {
|
|
23
|
+
for (let dir = process.cwd();; dir = path.dirname(dir)) {
|
|
24
|
+
if (fs.existsSync(path.join(dir, CONFIG_FILE)))
|
|
25
|
+
return dir;
|
|
26
|
+
if (dir == path.dirname(dir))
|
|
27
|
+
break;
|
|
28
|
+
}
|
|
29
|
+
try {
|
|
30
|
+
return execFileSync('git', ['rev-parse', '--show-toplevel'], { encoding: 'utf8' }).trim();
|
|
31
|
+
}
|
|
32
|
+
catch {
|
|
33
|
+
return process.cwd();
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
function print(report) {
|
|
37
|
+
for (const rel of report.written)
|
|
38
|
+
console.log(` wrote ${rel}`);
|
|
39
|
+
for (const rel of report.updated)
|
|
40
|
+
console.log(` updated ${rel}`);
|
|
41
|
+
for (const rel of report.removed)
|
|
42
|
+
console.log(` removed ${rel} (no longer shipped)`);
|
|
43
|
+
for (const rel of report.kept)
|
|
44
|
+
console.log(` kept ${rel} (changed here)`);
|
|
45
|
+
for (const rel of report.skipped ?? [])
|
|
46
|
+
console.log(` kept ${rel} (exists; --force to overwrite)`);
|
|
47
|
+
}
|
|
48
|
+
async function main(argv) {
|
|
49
|
+
const [command, ...flags] = argv;
|
|
50
|
+
const root = repoRoot();
|
|
51
|
+
switch (command) {
|
|
52
|
+
case 'init':
|
|
53
|
+
print(await init(root, { force: flags.includes('--force') }));
|
|
54
|
+
console.log(`\nmesearch-wf: ${path.basename(root)} is set up. \`bin/wf status\` says where it stands.`);
|
|
55
|
+
return 0;
|
|
56
|
+
case 'sync': {
|
|
57
|
+
const report = await sync(root);
|
|
58
|
+
print(report);
|
|
59
|
+
const changed = report.written.length + report.updated.length + report.removed.length;
|
|
60
|
+
console.log(changed
|
|
61
|
+
? `\nmesearch-wf: synced to ${version()}.`
|
|
62
|
+
: `mesearch-wf: up to date with ${version()}.`);
|
|
63
|
+
return 0;
|
|
64
|
+
}
|
|
65
|
+
case 'diff': {
|
|
66
|
+
const stale = await outdated(root);
|
|
67
|
+
if (!stale.length) {
|
|
68
|
+
console.log(`mesearch-wf: up to date with ${version()}.`);
|
|
69
|
+
return 0;
|
|
70
|
+
}
|
|
71
|
+
console.error(`mesearch-wf: ${stale.length} managed files differ from ${version()}; run \`mesearch-wf sync\`:`);
|
|
72
|
+
for (const rel of stale)
|
|
73
|
+
console.error(` ${rel}`);
|
|
74
|
+
return 1;
|
|
75
|
+
}
|
|
76
|
+
case 'version':
|
|
77
|
+
console.log(version());
|
|
78
|
+
return 0;
|
|
79
|
+
default:
|
|
80
|
+
console.log(USAGE);
|
|
81
|
+
return command && command != 'help' && command != '--help' ? 2 : 0;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
main(process.argv.slice(2)).then((code) => (process.exitCode = code), (error) => {
|
|
85
|
+
console.error(`mesearch-wf: ${error.message}`);
|
|
86
|
+
process.exitCode = 1;
|
|
87
|
+
});
|
|
88
|
+
//# sourceMappingURL=cli.js.map
|
package/dist/cli.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AACA,yFAAyF;AACzF,8FAA8F;AAC9F,uEAAuE;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAmB,MAAM,iBAAiB,CAAC;AAE3E,MAAM,KAAK,GAAG;;;;;;;;gDAQkC,CAAC;AAEjD,4FAA4F;AAC5F,gCAAgC;AAChC,SAAS,QAAQ;IACb,KAAK,IAAI,GAAG,GAAG,OAAO,CAAC,GAAG,EAAE,GAAI,GAAG,GAAG,IAAI,CAAC,OAAO,CAAC,GAAG,C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AAO,EAAE,CAAC,CAAC;YACvB,OAAO,CAAC,CAAC;QACb;YACI,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;YACnB,OAAO,OAAO,IAAI,OAAO,IAAI,MAAM,IAAI,OAAO,IAAI,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAC3E,CAAC;AACL,CAAC;AAED,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAC5B,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC,EACnC,CAAC,KAAY,EAAE,EAAE;IACb,OAAO,CAAC,KAAK,CAAC,gBAAgB,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC;IAC/C,OAAO,CAAC,QAAQ,GAAG,CAAC,CAAC;AACzB,CAAC,CACJ,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { WorkflowConfig } from './config.ts';
|
|
2
|
+
export interface Result {
|
|
3
|
+
code: number;
|
|
4
|
+
stdout: string;
|
|
5
|
+
stderr: string;
|
|
6
|
+
}
|
|
7
|
+
export interface RunOptions {
|
|
8
|
+
cwd: string;
|
|
9
|
+
stdin?: string;
|
|
10
|
+
config: WorkflowConfig;
|
|
11
|
+
}
|
|
12
|
+
export declare function run(argv: string[], options: RunOptions): Result;
|