Skip to content

Commit 19d6e1e

Browse files
committed
build: track dist output
1 parent cf2e675 commit 19d6e1e

29 files changed

Lines changed: 1083 additions & 1 deletion

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ lerna-debug.log*
1010

1111
# Dependencies and build output
1212
node_modules/
13-
dist/
1413
coverage/
1514
*.tgz
1615
*.tsbuildinfo

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ The format follows Keep a Changelog, and this project uses Semantic Versioning.
2424
- Re-generated `package-lock.json` against the official npm registry and added public package metadata for repository, homepage, bugs, and author fields
2525
- Split README startup guidance into a safer “try from source first, then install globally” flow for public users
2626
- Replaced the project license from MIT to Apache-2.0 for clearer patent and redistribution terms
27+
- Started tracking the built `dist/` output so GitHub source archives also include runnable server files instead of documentation only
2728
- Reworked `README.md` into a project-introduction document focused on purpose, architecture, tool surface, and design boundaries
2829
- Moved startup, environment, and local development instructions out of `README.md` into `startup_processmd.md`
2930
- Replaced `README.md` again with a bilingual project-homepage version that explains what the project is, what it is today, and the future direction in English and Chinese

dist/index.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/usr/bin/env node
2+
export {};

dist/index.js

Lines changed: 37 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/lib/cli-runner.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import type { CliCommandRequest } from "./types.js";
2+
export interface CliJsonRunner {
3+
executeJson<T>(request: CliCommandRequest): Promise<T>;
4+
}
5+
export declare class NodeCliJsonRunner implements CliJsonRunner {
6+
executeJson<T>(request: CliCommandRequest): Promise<T>;
7+
}

dist/lib/cli-runner.js

Lines changed: 107 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/lib/cli-runner.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/lib/context.d.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import type { CommandContextInput, RuntimeContextSnapshot } from "./types.js";
2+
export declare function resolveDefaultCliPath(env: NodeJS.ProcessEnv, options?: {
3+
platform?: NodeJS.Platform;
4+
homeDirectory?: string;
5+
pathExists?: (candidatePath: string) => boolean;
6+
}): string;
7+
export declare function createInitialContext(env: NodeJS.ProcessEnv): RuntimeContextSnapshot;
8+
export declare class ContextStore {
9+
private readonly initialContext;
10+
private context;
11+
constructor(initialContext: RuntimeContextSnapshot);
12+
getSnapshot(): RuntimeContextSnapshot;
13+
reset(): RuntimeContextSnapshot;
14+
update(nextValues: CommandContextInput): RuntimeContextSnapshot;
15+
resolveCommandContext(nextValues?: CommandContextInput): RuntimeContextSnapshot;
16+
requireWorkspacePath(nextValues?: CommandContextInput): string;
17+
}

dist/lib/context.js

Lines changed: 109 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)