@moda-ai/cli 1.22.1 → 1.22.2
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/cli-g8qs2tj9.js +9777 -0
- package/dist/cli-pwbvtes8.js +2312 -0
- package/dist/cli-qszcpda3.js +284 -0
- package/dist/cli.js +4775 -1159
- package/dist/index-6h0nc1r5.js +2765 -0
- package/dist/provision-j5gq8cvx.js +72 -0
- package/package.json +3 -2
- package/skills/integration/index.json +2 -2
- package/dist/agent-schemas.d.ts +0 -3
- package/dist/agent-schemas.js +0 -358
- package/dist/agent.d.ts +0 -5
- package/dist/agent.js +0 -477
- package/dist/analyst-tui.d.ts +0 -81
- package/dist/analyst-tui.js +0 -314
- package/dist/api-client.d.ts +0 -46
- package/dist/api-client.js +0 -120
- package/dist/ask-stream.d.ts +0 -146
- package/dist/ask-stream.js +0 -473
- package/dist/auth-storage.d.ts +0 -35
- package/dist/auth-storage.js +0 -159
- package/dist/auth.d.ts +0 -50
- package/dist/auth.js +0 -694
- package/dist/cli-session.d.ts +0 -26
- package/dist/cli-session.js +0 -169
- package/dist/cli.d.ts +0 -44
- package/dist/command-context.d.ts +0 -62
- package/dist/command-context.js +0 -57
- package/dist/command-registry.d.ts +0 -22
- package/dist/command-registry.js +0 -15
- package/dist/config.d.ts +0 -60
- package/dist/config.js +0 -110
- package/dist/doctor.d.ts +0 -79
- package/dist/doctor.js +0 -1182
- package/dist/errors.d.ts +0 -50
- package/dist/errors.js +0 -64
- package/dist/exit-funnel.d.ts +0 -14
- package/dist/exit-funnel.js +0 -53
- package/dist/harness-artifact-bodies.d.ts +0 -28
- package/dist/harness-artifact-bodies.js +0 -276
- package/dist/harness-candidates.d.ts +0 -77
- package/dist/harness-candidates.js +0 -482
- package/dist/harness-remote.d.ts +0 -135
- package/dist/harness-remote.js +0 -540
- package/dist/harness-report.d.ts +0 -145
- package/dist/harness-report.js +0 -1579
- package/dist/harness-sync-limits.d.ts +0 -8
- package/dist/harness-sync-limits.js +0 -21
- package/dist/harness.d.ts +0 -463
- package/dist/harness.js +0 -4009
- package/dist/init/index.d.ts +0 -78
- package/dist/init/index.js +0 -1442
- package/dist/init/mcp.d.ts +0 -2
- package/dist/init/mcp.js +0 -27
- package/dist/init/progress-board.d.ts +0 -80
- package/dist/init/progress-board.js +0 -225
- package/dist/init/rules.d.ts +0 -6
- package/dist/init/rules.js +0 -171
- package/dist/init/sdk-catalog.d.ts +0 -10
- package/dist/init/sdk-catalog.js +0 -80
- package/dist/init/sdk-guide.d.ts +0 -19
- package/dist/init/sdk-guide.js +0 -185
- package/dist/init/sdk-integration.d.ts +0 -53
- package/dist/init/sdk-integration.js +0 -835
- package/dist/init/sdk-protocol.d.ts +0 -135
- package/dist/init/sdk-protocol.js +0 -152
- package/dist/init/sdk-verification.d.ts +0 -27
- package/dist/init/sdk-verification.js +0 -123
- package/dist/init/tenant.d.ts +0 -67
- package/dist/init/tenant.js +0 -421
- package/dist/intelligence-schema.d.ts +0 -349
- package/dist/intelligence-schema.js +0 -174
- package/dist/keys.d.ts +0 -47
- package/dist/keys.js +0 -136
- package/dist/manifest.d.ts +0 -5
- package/dist/manifest.js +0 -114
- package/dist/markdown-terminal.d.ts +0 -49
- package/dist/markdown-terminal.js +0 -212
- package/dist/output.d.ts +0 -191
- package/dist/output.js +0 -624
- package/dist/production-intelligence.d.ts +0 -175
- package/dist/production-intelligence.js +0 -1430
- package/dist/profile-commands.d.ts +0 -10
- package/dist/profile-commands.js +0 -342
- package/dist/profiles.d.ts +0 -112
- package/dist/profiles.js +0 -573
- package/dist/prompts-ab.d.ts +0 -71
- package/dist/prompts-ab.js +0 -313
- package/dist/prompts-propose.d.ts +0 -15
- package/dist/prompts-propose.js +0 -212
- package/dist/prompts.d.ts +0 -58
- package/dist/prompts.js +0 -418
- package/dist/provision.d.ts +0 -28
- package/dist/provision.js +0 -104
- package/dist/redact.d.ts +0 -2
- package/dist/redact.js +0 -90
- package/dist/schemas.d.ts +0 -225
- package/dist/schemas.js +0 -126
- package/dist/skills-bundled.d.ts +0 -35
- package/dist/skills-bundled.js +0 -157
- package/dist/skills-manifest.d.ts +0 -33
- package/dist/skills-manifest.js +0 -244
- package/dist/skills.d.ts +0 -57
- package/dist/skills.js +0 -783
- package/dist/sync.d.ts +0 -5
- package/dist/sync.js +0 -36
- package/dist/telemetry.d.ts +0 -56
- package/dist/telemetry.js +0 -167
- package/dist/transforms.d.ts +0 -25
- package/dist/transforms.js +0 -102
- package/dist/tui.d.ts +0 -48
- package/dist/tui.js +0 -393
- package/dist/update-check.d.ts +0 -31
- package/dist/update-check.js +0 -141
- package/dist/workspace.d.ts +0 -12
- package/dist/workspace.js +0 -1294
package/dist/init/index.d.ts
DELETED
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { type SdkIntegrationOutcome } from './sdk-integration.js';
|
|
2
|
-
export interface InitResult {
|
|
3
|
-
apiKey: string;
|
|
4
|
-
tenantName: string;
|
|
5
|
-
phases: InitPhaseResult[];
|
|
6
|
-
setupPlan: InitSetupAction[];
|
|
7
|
-
sdk_integration?: SdkIntegrationOutcome;
|
|
8
|
-
}
|
|
9
|
-
export interface InitPhaseResult {
|
|
10
|
-
id: 'welcome' | 'auth' | 'workspace' | 'harness' | 'plan' | 'apply' | 'validate';
|
|
11
|
-
title: string;
|
|
12
|
-
status: 'completed' | 'skipped' | 'warning';
|
|
13
|
-
details?: string;
|
|
14
|
-
}
|
|
15
|
-
export interface InitSetupAction {
|
|
16
|
-
category: 'sdk' | 'harness' | 'hooks' | 'prompts' | 'skills' | 'ci-cd' | 'autosync' | 'harness-rescan' | 'validation';
|
|
17
|
-
title: string;
|
|
18
|
-
status: 'planned' | 'applied' | 'skipped' | 'manual';
|
|
19
|
-
approved: boolean;
|
|
20
|
-
files: string[];
|
|
21
|
-
command?: string;
|
|
22
|
-
reason?: string;
|
|
23
|
-
}
|
|
24
|
-
export interface InitProgressEvent {
|
|
25
|
-
phase: InitPhaseResult['id'];
|
|
26
|
-
message: string;
|
|
27
|
-
status?: InitPhaseResult['status'];
|
|
28
|
-
}
|
|
29
|
-
export interface InitRunOptions {
|
|
30
|
-
onEvent?: (event: InitProgressEvent) => void;
|
|
31
|
-
}
|
|
32
|
-
export declare function runInit(flags: Record<string, unknown>, options?: InitRunOptions): Promise<InitResult>;
|
|
33
|
-
export declare function writeCiCdWorkflow(cwd?: string): string;
|
|
34
|
-
export declare function writeAutosyncWorkflow(cwd?: string): string;
|
|
35
|
-
export declare function writeHarnessRescanWorkflow(cwd?: string, paths?: string[]): string;
|
|
36
|
-
/**
|
|
37
|
-
* Signals from the discovered graph used by the init 0-agent quality gate:
|
|
38
|
-
* runtime agent count plus the LLM framework/provider names detected in the
|
|
39
|
-
* repo.
|
|
40
|
-
*/
|
|
41
|
-
export interface HarnessQualitySignals {
|
|
42
|
-
runtimeAgents: number;
|
|
43
|
-
frameworks: string[];
|
|
44
|
-
providers: string[];
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* Read the gate signals from the SAME graph the auto-sync uploads: the cited
|
|
48
|
-
* report (`.moda/harness-report.json`, consumed by `harness sync --from-report`)
|
|
49
|
-
* is authoritative, so read its `graph` first. Only fall back to the standalone
|
|
50
|
-
* manifest (`.moda/harness.json`) when no report exists, otherwise a stale or
|
|
51
|
-
* missing manifest could let an empty report slip past the gate and overwrite
|
|
52
|
-
* the tenant's harness. Returns undefined when neither is readable.
|
|
53
|
-
*/
|
|
54
|
-
export declare function readHarnessQualitySignals(cwd?: string): HarnessQualitySignals | undefined;
|
|
55
|
-
/**
|
|
56
|
-
* True when discovery found no runtime agents even though the repo carries
|
|
57
|
-
* LLM framework/provider signals — the signature of a failed discovery run,
|
|
58
|
-
* not an agent-free repo.
|
|
59
|
-
*/
|
|
60
|
-
export declare function harnessLooksIncomplete(signals: HarnessQualitySignals): boolean;
|
|
61
|
-
/**
|
|
62
|
-
* Deterministic repo-side LLM signals: well-known LLM package names found in
|
|
63
|
-
* dependency manifests. Independent of the discovery output, so a fully
|
|
64
|
-
* failed discovery (empty graph) cannot bypass the 0-agent gate.
|
|
65
|
-
*/
|
|
66
|
-
export declare function detectRepoLlmSignals(cwd?: string): {
|
|
67
|
-
frameworks: string[];
|
|
68
|
-
providers: string[];
|
|
69
|
-
};
|
|
70
|
-
export declare function resumeFlagsForInit(flags: Record<string, unknown>): string[];
|
|
71
|
-
/**
|
|
72
|
-
* Onboarding runs harness discovery SERVER-SIDE by default so the customer
|
|
73
|
-
* needs no local coding agent. Opt out with `--local`, `--no-remote`,
|
|
74
|
-
* `--remote=false`, or an explicit deterministic local analyst
|
|
75
|
-
* (`--analyst=local-scan|local|scripted|moda`).
|
|
76
|
-
*/
|
|
77
|
-
export declare function resolveHarnessRemote(flags: Record<string, unknown>): boolean;
|
|
78
|
-
//# sourceMappingURL=index.d.ts.map
|