@orchid-labs/pluxx 0.1.1 → 0.1.3
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 +25 -8
- package/bin/pluxx.js +19 -28
- package/dist/agents.d.ts +16 -0
- package/dist/agents.d.ts.map +1 -0
- package/dist/cli/agent.d.ts +62 -0
- package/dist/cli/agent.d.ts.map +1 -1
- package/dist/cli/doctor.d.ts +2 -0
- package/dist/cli/doctor.d.ts.map +1 -1
- package/dist/cli/entry.d.ts +2 -0
- package/dist/cli/entry.d.ts.map +1 -0
- package/dist/cli/index.d.ts +7 -1
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +21810 -0
- package/dist/cli/init-from-mcp.d.ts +17 -1
- package/dist/cli/init-from-mcp.d.ts.map +1 -1
- package/dist/cli/install.d.ts +1 -0
- package/dist/cli/install.d.ts.map +1 -1
- package/dist/cli/lint.d.ts +3 -1
- package/dist/cli/lint.d.ts.map +1 -1
- package/dist/cli/mcp-proxy.d.ts.map +1 -1
- package/dist/cli/migrate.d.ts.map +1 -1
- package/dist/cli/primitive-summary.d.ts +14 -0
- package/dist/cli/primitive-summary.d.ts.map +1 -0
- package/dist/cli/prompt.d.ts +1 -1
- package/dist/cli/publish.d.ts +6 -1
- package/dist/cli/publish.d.ts.map +1 -1
- package/dist/cli/sync-from-mcp.d.ts.map +1 -1
- package/dist/cli/verify-install.d.ts +25 -0
- package/dist/cli/verify-install.d.ts.map +1 -0
- package/dist/commands.d.ts +10 -0
- package/dist/commands.d.ts.map +1 -0
- package/dist/compiler-intent.d.ts +165 -0
- package/dist/compiler-intent.d.ts.map +1 -0
- package/dist/config/load.d.ts.map +1 -1
- package/dist/delegation.d.ts +11 -0
- package/dist/delegation.d.ts.map +1 -0
- package/dist/generators/amp/index.d.ts.map +1 -1
- package/dist/generators/base.d.ts +5 -0
- package/dist/generators/base.d.ts.map +1 -1
- package/dist/generators/claude-code/index.d.ts.map +1 -1
- package/dist/generators/cline/index.d.ts.map +1 -1
- package/dist/generators/codex/index.d.ts +4 -0
- package/dist/generators/codex/index.d.ts.map +1 -1
- package/dist/generators/cursor/index.d.ts +1 -0
- package/dist/generators/cursor/index.d.ts.map +1 -1
- package/dist/generators/gemini-cli/index.d.ts.map +1 -1
- package/dist/generators/github-copilot/index.d.ts.map +1 -1
- package/dist/generators/opencode/index.d.ts +1 -0
- package/dist/generators/opencode/index.d.ts.map +1 -1
- package/dist/generators/openhands/index.d.ts.map +1 -1
- package/dist/generators/roo-code/index.d.ts.map +1 -1
- package/dist/generators/shared/claude-family.d.ts.map +1 -1
- package/dist/generators/warp/index.d.ts.map +1 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5371 -553
- package/dist/schema.d.ts +91 -42
- package/dist/schema.d.ts.map +1 -1
- package/dist/text-files.d.ts +5 -0
- package/dist/text-files.d.ts.map +1 -0
- package/dist/validation/platform-rules.d.ts +15 -1
- package/dist/validation/platform-rules.d.ts.map +1 -1
- package/package.json +15 -13
- package/src/cli/agent.ts +0 -1455
- package/src/cli/dev.ts +0 -112
- package/src/cli/doctor.ts +0 -987
- package/src/cli/eval.ts +0 -470
- package/src/cli/index.ts +0 -2933
- package/src/cli/init-from-mcp.ts +0 -2115
- package/src/cli/install.ts +0 -860
- package/src/cli/lint.ts +0 -1249
- package/src/cli/mcp-proxy.ts +0 -322
- package/src/cli/migrate.ts +0 -867
- package/src/cli/prompt.ts +0 -82
- package/src/cli/publish.ts +0 -401
- package/src/cli/runtime.ts +0 -86
- package/src/cli/sync-from-mcp.ts +0 -586
- package/src/cli/test.ts +0 -142
- package/src/compatibility/matrix.ts +0 -149
- package/src/config/define.ts +0 -20
- package/src/config/load.ts +0 -74
- package/src/generators/amp/index.ts +0 -63
- package/src/generators/base.ts +0 -188
- package/src/generators/claude-code/index.ts +0 -172
- package/src/generators/cline/index.ts +0 -35
- package/src/generators/codex/index.ts +0 -143
- package/src/generators/cursor/index.ts +0 -158
- package/src/generators/gemini-cli/index.ts +0 -83
- package/src/generators/github-copilot/index.ts +0 -32
- package/src/generators/hooks-warning.ts +0 -51
- package/src/generators/index.ts +0 -71
- package/src/generators/opencode/index.ts +0 -526
- package/src/generators/openhands/index.ts +0 -32
- package/src/generators/roo-code/index.ts +0 -35
- package/src/generators/shared/claude-family.ts +0 -215
- package/src/generators/warp/index.ts +0 -32
- package/src/hook-events.ts +0 -33
- package/src/index.ts +0 -34
- package/src/mcp/introspect.ts +0 -1107
- package/src/permissions.ts +0 -260
- package/src/schema.ts +0 -312
- package/src/user-config.ts +0 -177
- package/src/validation/platform-rules.ts +0 -686
package/README.md
CHANGED
|
@@ -1,25 +1,36 @@
|
|
|
1
1
|
# pluxx
|
|
2
2
|
|
|
3
|
-
**
|
|
3
|
+
**The cross-host compiler for MCP-backed plugins.**
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Import a raw MCP or an existing host-native plugin, keep one maintained source project, and compile native outputs for **Claude Code, Cursor, Codex, and OpenCode**.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Pluxx is the authoring, maintenance, and compilation layer for MCP teams that want one source of truth instead of separate per-host plugin repos.
|
|
8
8
|
|
|
9
9
|
- Docs: [docs.pluxx.dev](https://docs.pluxx.dev/)
|
|
10
10
|
- Website: [pluxx.dev](https://pluxx.dev/)
|
|
11
11
|
|
|
12
12
|
## Why Pluxx
|
|
13
13
|
|
|
14
|
-
Every host has different plugin contracts:
|
|
14
|
+
Every host has different plugin contracts and different places to express the same intent:
|
|
15
15
|
|
|
16
16
|
- manifests
|
|
17
17
|
- instructions and rules
|
|
18
18
|
- hook surfaces
|
|
19
|
+
- agents and subagents
|
|
20
|
+
- permission and approval controls
|
|
19
21
|
- MCP auth wiring
|
|
20
22
|
- brand and packaging metadata
|
|
21
23
|
|
|
22
|
-
Without Pluxx, those details drift across multiple repos. With Pluxx, you keep one source project and
|
|
24
|
+
Without Pluxx, those details drift across multiple repos. With Pluxx, you keep one source project and compile honest host-native outputs.
|
|
25
|
+
|
|
26
|
+
Pluxx is built around an explicit compiler model:
|
|
27
|
+
|
|
28
|
+
- `preserve` when a primitive maps cleanly to a host-native surface
|
|
29
|
+
- `translate` when the same intent belongs in a different host surface
|
|
30
|
+
- `degrade` when a host only supports a weaker equivalent
|
|
31
|
+
- `drop` when the host has no truthful native equivalent
|
|
32
|
+
|
|
33
|
+
That keeps the cross-host story explicit instead of pretending every platform works the same way.
|
|
23
34
|
|
|
24
35
|
## Platform Focus
|
|
25
36
|
|
|
@@ -37,7 +48,6 @@ For the detailed compatibility and verification matrix, see [docs/compatibility.
|
|
|
37
48
|
## Quick Start
|
|
38
49
|
|
|
39
50
|
```bash
|
|
40
|
-
# Requires Bun on PATH
|
|
41
51
|
npx @orchid-labs/pluxx init --from-mcp https://example.com/mcp --name my-plugin --yes
|
|
42
52
|
|
|
43
53
|
cd my-plugin
|
|
@@ -57,6 +67,12 @@ dist/
|
|
|
57
67
|
opencode/
|
|
58
68
|
```
|
|
59
69
|
|
|
70
|
+
For local stdio MCPs, pass the real executable command, not just the npm package name. The bin name can differ from the package name.
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
npx @orchid-labs/pluxx init --from-mcp "npx -y -p @acme/mcp acme-mcp" --yes
|
|
74
|
+
```
|
|
75
|
+
|
|
60
76
|
## Command Cheat Sheet
|
|
61
77
|
|
|
62
78
|
```text
|
|
@@ -126,14 +142,15 @@ Pluxx is intentionally opinionated around a compact cross-host model:
|
|
|
126
142
|
- brand and assets
|
|
127
143
|
- taxonomy
|
|
128
144
|
|
|
129
|
-
Pluxx owns the deterministic scaffold and
|
|
145
|
+
Pluxx owns the deterministic scaffold, validation, and host compilation layer. Your host coding agent can refine taxonomy, instructions, and examples without breaking the structure.
|
|
130
146
|
|
|
131
147
|
## Install And Runtime Notes
|
|
132
148
|
|
|
133
149
|
- npm package: `@orchid-labs/pluxx`
|
|
134
150
|
- preferred invocation: `npx @orchid-labs/pluxx ...`
|
|
135
151
|
- global install also works: `npm install -g @orchid-labs/pluxx`
|
|
136
|
-
-
|
|
152
|
+
- published CLI runtime: Node `>=18`
|
|
153
|
+
- source builds and maintainer workflows also run on Node `>=18`
|
|
137
154
|
|
|
138
155
|
## Read Next
|
|
139
156
|
|
package/bin/pluxx.js
CHANGED
|
@@ -1,37 +1,28 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { existsSync } from 'fs'
|
|
4
4
|
import { dirname, resolve } from 'path'
|
|
5
5
|
import { fileURLToPath, pathToFileURL } from 'url'
|
|
6
6
|
|
|
7
7
|
const binDir = dirname(fileURLToPath(import.meta.url))
|
|
8
|
-
const
|
|
8
|
+
const distCliPath = resolve(binDir, '..', 'dist', 'cli', 'index.js')
|
|
9
|
+
const sourceCliPath = resolve(binDir, '..', 'src', 'cli', 'index.ts')
|
|
10
|
+
const cliPath = existsSync(distCliPath)
|
|
11
|
+
? distCliPath
|
|
12
|
+
: process.versions.bun
|
|
13
|
+
? sourceCliPath
|
|
14
|
+
: null
|
|
9
15
|
|
|
10
|
-
if (
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
await cli.main()
|
|
18
|
-
} else {
|
|
19
|
-
const bunBinary = process.platform === 'win32' ? 'bun.exe' : 'bun'
|
|
20
|
-
const result = spawnSync(bunBinary, [cliPath, ...process.argv.slice(2)], {
|
|
21
|
-
stdio: 'inherit',
|
|
22
|
-
env: process.env,
|
|
23
|
-
})
|
|
24
|
-
|
|
25
|
-
if (result.error && 'code' in result.error && result.error.code === 'ENOENT') {
|
|
26
|
-
console.error('pluxx currently requires Bun at runtime.')
|
|
27
|
-
console.error('Install Bun from https://bun.sh or run pluxx from a Bun workspace.')
|
|
28
|
-
process.exit(1)
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
if (result.error) {
|
|
32
|
-
console.error(result.error.message)
|
|
33
|
-
process.exit(1)
|
|
34
|
-
}
|
|
16
|
+
if (!cliPath) {
|
|
17
|
+
console.error('pluxx CLI bundle not found.')
|
|
18
|
+
console.error('Run `npm run build` in this checkout, or install the published npm package.')
|
|
19
|
+
process.exit(1)
|
|
20
|
+
}
|
|
35
21
|
|
|
36
|
-
|
|
22
|
+
const cli = await import(pathToFileURL(cliPath).href)
|
|
23
|
+
if (typeof cli.main !== 'function') {
|
|
24
|
+
console.error('pluxx launcher failed to resolve the CLI entrypoint.')
|
|
25
|
+
process.exit(1)
|
|
37
26
|
}
|
|
27
|
+
|
|
28
|
+
await cli.main()
|
package/dist/agents.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export type AgentFrontmatterScalar = string | number | boolean;
|
|
2
|
+
export type AgentFrontmatterValue = AgentFrontmatterScalar | AgentFrontmatterMap;
|
|
3
|
+
export interface AgentFrontmatterMap {
|
|
4
|
+
[key: string]: AgentFrontmatterValue;
|
|
5
|
+
}
|
|
6
|
+
export interface ParsedAgentMarkdownFile {
|
|
7
|
+
filePath: string;
|
|
8
|
+
fileStem: string;
|
|
9
|
+
name: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
body: string;
|
|
12
|
+
frontmatter: AgentFrontmatterMap;
|
|
13
|
+
}
|
|
14
|
+
export declare function parseCanonicalAgentFile(agentPath: string): ParsedAgentMarkdownFile;
|
|
15
|
+
export declare function readCanonicalAgentFiles(agentsDir: string | undefined): ParsedAgentMarkdownFile[];
|
|
16
|
+
//# sourceMappingURL=agents.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agents.d.ts","sourceRoot":"","sources":["../src/agents.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,sBAAsB,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAA;AAC9D,MAAM,MAAM,qBAAqB,GAAG,sBAAsB,GAAG,mBAAmB,CAAA;AAChF,MAAM,WAAW,mBAAmB;IAClC,CAAC,GAAG,EAAE,MAAM,GAAG,qBAAqB,CAAA;CACrC;AAED,MAAM,WAAW,uBAAuB;IACtC,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,mBAAmB,CAAA;CACjC;AAkHD,wBAAgB,uBAAuB,CAAC,SAAS,EAAE,MAAM,GAAG,uBAAuB,CAoBlF;AAED,wBAAgB,uBAAuB,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS,GAAG,uBAAuB,EAAE,CAMhG"}
|
package/dist/cli/agent.d.ts
CHANGED
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
import { type TestRunResult } from './test';
|
|
2
2
|
export declare const AGENT_CONTEXT_PATH = ".pluxx/agent/context.md";
|
|
3
3
|
export declare const AGENT_PLAN_PATH = ".pluxx/agent/plan.json";
|
|
4
|
+
export declare const AGENT_SOURCES_PATH = ".pluxx/sources.json";
|
|
5
|
+
export declare const AGENT_DOCS_CONTEXT_PATH = ".pluxx/docs-context.json";
|
|
4
6
|
export declare const AGENT_OVERRIDES_PATH = "pluxx.agent.md";
|
|
5
7
|
export declare const AGENT_PROMPT_KINDS: readonly ["taxonomy", "instructions", "review"];
|
|
6
8
|
export declare const AGENT_RUNNERS: readonly ["claude", "opencode", "codex", "cursor"];
|
|
9
|
+
export declare const AGENT_INGEST_PROVIDERS: readonly ["auto", "local", "firecrawl"];
|
|
7
10
|
export type AgentPromptKind = typeof AGENT_PROMPT_KINDS[number];
|
|
8
11
|
export type AgentRunner = typeof AGENT_RUNNERS[number];
|
|
12
|
+
export type AgentIngestProvider = typeof AGENT_INGEST_PROVIDERS[number];
|
|
13
|
+
export type ResolvedAgentIngestProvider = Exclude<AgentIngestProvider, 'auto'>;
|
|
9
14
|
export interface AgentPreparePlannedFile {
|
|
10
15
|
relativePath: string;
|
|
11
16
|
content: string;
|
|
@@ -35,6 +40,7 @@ export interface AgentPrepareOptions {
|
|
|
35
40
|
docsUrl?: string;
|
|
36
41
|
websiteUrl?: string;
|
|
37
42
|
contextPaths?: string[];
|
|
43
|
+
ingestProvider?: AgentIngestProvider;
|
|
38
44
|
}
|
|
39
45
|
interface AgentPromptOptions {
|
|
40
46
|
allowMissingContext?: boolean;
|
|
@@ -85,6 +91,61 @@ export interface AgentRunResult extends AgentRunSummary {
|
|
|
85
91
|
runnerExitCode: number;
|
|
86
92
|
verification?: TestRunResult;
|
|
87
93
|
}
|
|
94
|
+
interface AgentContextSource {
|
|
95
|
+
label: string;
|
|
96
|
+
kind: 'website' | 'docs' | 'file';
|
|
97
|
+
role: 'seed' | 'inferred-root' | 'discovered-root' | 'discovered-page' | 'local-file';
|
|
98
|
+
status: 'ok' | 'error';
|
|
99
|
+
summary: string;
|
|
100
|
+
provider?: ResolvedAgentIngestProvider;
|
|
101
|
+
requestedUrl?: string;
|
|
102
|
+
resolvedUrl?: string;
|
|
103
|
+
httpStatus?: number;
|
|
104
|
+
contentType?: string;
|
|
105
|
+
title?: string;
|
|
106
|
+
description?: string;
|
|
107
|
+
headings?: string[];
|
|
108
|
+
paragraphs?: string[];
|
|
109
|
+
note?: string;
|
|
110
|
+
}
|
|
111
|
+
export interface AgentContextPack {
|
|
112
|
+
sources: AgentContextSource[];
|
|
113
|
+
records: AgentContextSourceRecord[];
|
|
114
|
+
ingestion?: AgentContextIngestionArtifact;
|
|
115
|
+
docsContext?: AgentDocsContextArtifact;
|
|
116
|
+
}
|
|
117
|
+
export interface AgentContextSourceRecord {
|
|
118
|
+
label: string;
|
|
119
|
+
kind: AgentContextSource['kind'];
|
|
120
|
+
role: AgentContextSource['role'];
|
|
121
|
+
selected: boolean;
|
|
122
|
+
status: AgentContextSource['status'];
|
|
123
|
+
provider?: ResolvedAgentIngestProvider;
|
|
124
|
+
requestedUrl?: string;
|
|
125
|
+
resolvedUrl?: string;
|
|
126
|
+
httpStatus?: number;
|
|
127
|
+
contentType?: string;
|
|
128
|
+
title?: string;
|
|
129
|
+
description?: string;
|
|
130
|
+
note?: string;
|
|
131
|
+
}
|
|
132
|
+
export interface AgentContextIngestionArtifact {
|
|
133
|
+
requestedProvider: AgentIngestProvider;
|
|
134
|
+
resolvedProvider?: ResolvedAgentIngestProvider;
|
|
135
|
+
fallbackToLocalOnError: boolean;
|
|
136
|
+
}
|
|
137
|
+
export interface AgentDocsContextArtifact {
|
|
138
|
+
version: 2;
|
|
139
|
+
sourceLabels: string[];
|
|
140
|
+
providers: ResolvedAgentIngestProvider[];
|
|
141
|
+
productName?: string;
|
|
142
|
+
shortDescription?: string;
|
|
143
|
+
setupHints: string[];
|
|
144
|
+
authHints: string[];
|
|
145
|
+
workflowHints: string[];
|
|
146
|
+
importantTerms: string[];
|
|
147
|
+
warnings: string[];
|
|
148
|
+
}
|
|
88
149
|
export declare function planAgentPrepare(rootDir?: string, options?: AgentPrepareOptions): Promise<AgentPreparePlan>;
|
|
89
150
|
export declare function applyAgentPreparePlan(rootDir: string, plan: AgentPreparePlan): Promise<void>;
|
|
90
151
|
export declare function planAgentPrompt(rootDir: string, kind: AgentPromptKind, options?: AgentPromptOptions): Promise<AgentPromptPlan>;
|
|
@@ -93,5 +154,6 @@ export declare function planAgentRun(rootDir: string | undefined, kind: AgentPro
|
|
|
93
154
|
export declare function runAgentPlan(rootDir: string, plan: AgentRunPlan, options?: {
|
|
94
155
|
streamOutput?: boolean;
|
|
95
156
|
}): Promise<AgentRunResult>;
|
|
157
|
+
export declare function collectAgentContextPack(rootDir?: string, options?: AgentPrepareOptions): Promise<AgentContextPack>;
|
|
96
158
|
export {};
|
|
97
159
|
//# sourceMappingURL=agent.d.ts.map
|
package/dist/cli/agent.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent.d.ts","sourceRoot":"","sources":["../../src/cli/agent.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"agent.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AAA;CACnB;AA+DD,wBAAsB,gBAAgB,CACpC,OAAO,GAAE,MAAsB,EAC/B,OAAO,GAAE,mBAAwB,GAChC,OAAO,CAAC,gBAAgB,CAAC,CAgD3B;AAED,wBAAsB,qBAAqB,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC,CASlG;AAED,wBAAsB,eAAe,CACnC,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,eAAe,EACrB,OAAO,GAAE,kBAAuB,GAC/B,OAAO,CAAC,eAAe,CAAC,CAmC1B;AAED,wBAAsB,oBAAoB,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC,CAShG;AAED,wBAAsB,YAAY,CAChC,OAAO,EAAE,MAAM,YAAgB,EAC/B,IAAI,EAAE,eAAe,EACrB,OAAO,EAAE,eAAe,EACxB,cAAc,GAAE,mBAAwB,GACvC,OAAO,CAAC,YAAY,CAAC,CAgCvB;AAED,wBAAsB,YAAY,CAChC,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,YAAY,EAClB,OAAO,GAAE;IACP,YAAY,CAAC,EAAE,OAAO,CAAA;CAClB,GACL,OAAO,CAAC,cAAc,CAAC,CAwCzB;AA6kBD,wBAAsB,uBAAuB,CAC3C,OAAO,GAAE,MAAsB,EAC/B,OAAO,GAAE,mBAAwB,GAChC,OAAO,CAAC,gBAAgB,CAAC,CAE3B"}
|
package/dist/cli/doctor.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type PrimitiveTranslationSummary } from './primitive-summary';
|
|
1
2
|
export type DoctorLevel = 'error' | 'warning' | 'info' | 'success';
|
|
2
3
|
export interface DoctorCheck {
|
|
3
4
|
level: DoctorLevel;
|
|
@@ -13,6 +14,7 @@ export interface DoctorReport {
|
|
|
13
14
|
warnings: number;
|
|
14
15
|
infos: number;
|
|
15
16
|
checks: DoctorCheck[];
|
|
17
|
+
primitiveSummary?: PrimitiveTranslationSummary;
|
|
16
18
|
}
|
|
17
19
|
export declare function doctorConsumer(rootDir?: string): Promise<DoctorReport>;
|
|
18
20
|
export declare function doctorProject(rootDir?: string): Promise<DoctorReport>;
|
package/dist/cli/doctor.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doctor.d.ts","sourceRoot":"","sources":["../../src/cli/doctor.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"doctor.d.ts","sourceRoot":"","sources":["../../src/cli/doctor.ts"],"names":[],"mappings":"AAOA,OAAO,EAAuE,KAAK,2BAA2B,EAAE,MAAM,qBAAqB,CAAA;AAE3I,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAAA;AAElE,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,WAAW,CAAA;IAClB,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,OAAO,CAAA;IACX,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,WAAW,EAAE,CAAA;IACrB,gBAAgB,CAAC,EAAE,2BAA2B,CAAA;CAC/C;AA6+BD,wBAAsB,cAAc,CAAC,OAAO,GAAE,MAAsB,GAAG,OAAO,CAAC,YAAY,CAAC,CA2D3F;AAED,wBAAsB,aAAa,CAAC,OAAO,GAAE,MAAsB,GAAG,OAAO,CAAC,YAAY,CAAC,CA+E1F;AAED,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,YAAY,GAAG,IAAI,CAyB5D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entry.d.ts","sourceRoot":"","sources":["../../src/cli/entry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA"}
|
package/dist/cli/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
#!/usr/bin/env
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { type AgentIngestProvider } from './agent';
|
|
2
3
|
import { discoverMcpAuthFromError } from '../mcp/introspect';
|
|
3
4
|
import type { McpAuth, McpServer } from '../schema';
|
|
4
5
|
export interface InitFromMcpOptions {
|
|
@@ -8,12 +9,17 @@ export interface InitFromMcpOptions {
|
|
|
8
9
|
author?: string;
|
|
9
10
|
displayName?: string;
|
|
10
11
|
targets?: string;
|
|
12
|
+
docsUrl?: string;
|
|
13
|
+
websiteUrl?: string;
|
|
14
|
+
contextPaths?: string[];
|
|
15
|
+
ingestProvider?: AgentIngestProvider;
|
|
11
16
|
authEnv?: string;
|
|
12
17
|
authType?: string;
|
|
13
18
|
authHeader?: string;
|
|
14
19
|
authTemplate?: string;
|
|
15
20
|
runtimeAuth?: string;
|
|
16
21
|
oauthWrapper: boolean;
|
|
22
|
+
approveMcpTools: boolean;
|
|
17
23
|
grouping?: string;
|
|
18
24
|
hooks?: string;
|
|
19
25
|
transport?: string;
|
package/dist/cli/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cli/index.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cli/index.ts"],"names":[],"mappings":";AAKA,OAAO,EAeL,KAAK,mBAAmB,EAIzB,MAAM,SAAS,CAAA;AAkChB,OAAO,EACL,wBAAwB,EAIzB,MAAM,mBAAmB,CAAA;AAG1B,OAAO,KAAK,EAAE,OAAO,EAAE,SAAS,EAAkB,MAAM,WAAW,CAAA;AAiCnE,MAAM,WAAW,kBAAkB;IACjC,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