mcoda 0.1.41 → 0.1.42
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/bin/McodaEntrypoint.d.ts.map +1 -1
- package/dist/bin/McodaEntrypoint.js +11 -1
- package/dist/commands/config/ConfigCommands.js +1 -1
- package/dist/commands/self-hosted/SelfHostedCommands.d.ts +4 -0
- package/dist/commands/self-hosted/SelfHostedCommands.d.ts.map +1 -0
- package/dist/commands/self-hosted/SelfHostedCommands.js +279 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/package.json +5 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"McodaEntrypoint.d.ts","sourceRoot":"","sources":["../../src/bin/McodaEntrypoint.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"McodaEntrypoint.d.ts","sourceRoot":"","sources":["../../src/bin/McodaEntrypoint.ts"],"names":[],"mappings":";AAqCA,qBAAa,eAAe;WACb,GAAG,CAAC,IAAI,GAAE,MAAM,EAA0B,GAAG,OAAO,CAAC,IAAI,CAAC;CAsPxE"}
|
|
@@ -4,6 +4,7 @@ import { fileURLToPath } from 'node:url';
|
|
|
4
4
|
import packageJson from '../../package.json' with { type: 'json' };
|
|
5
5
|
import { AgentsCommands } from '../commands/agents/AgentsCommands.js';
|
|
6
6
|
import { CloudCommands } from '../commands/cloud/CloudCommands.js';
|
|
7
|
+
import { SelfHostedCommands } from '../commands/self-hosted/SelfHostedCommands.js';
|
|
7
8
|
import { ConfigCommands } from '../commands/config/ConfigCommands.js';
|
|
8
9
|
import { ConsentCommands } from '../commands/consent/ConsentCommands.js';
|
|
9
10
|
import { GatewayAgentCommand } from '../commands/agents/GatewayAgentCommand.js';
|
|
@@ -88,12 +89,13 @@ export class McodaEntrypoint {
|
|
|
88
89
|
return;
|
|
89
90
|
}
|
|
90
91
|
if (!command) {
|
|
91
|
-
throw new Error('Usage: mcoda <agent|cloud|cloud-agent|config|consent|setup|gateway-agent|test-agent|agent-run|routing|docs|openapi|job|jobs|tokens|telemetry|create-tasks|migrate-tasks|refine-tasks|task-sufficiency-audit|sds-preflight|order-tasks|tasks|add-tests|work-on-tasks|gateway-trio|code-review|qa-tasks|backlog|task|task-detail|estimate|update|set-workspace|project-guidance|pdr|sds> [...args]\n' +
|
|
92
|
+
throw new Error('Usage: mcoda <agent|cloud|cloud-agent|self-hosted|self-hosted-agent|config|consent|setup|gateway-agent|test-agent|agent-run|routing|docs|openapi|job|jobs|tokens|telemetry|create-tasks|migrate-tasks|refine-tasks|task-sufficiency-audit|sds-preflight|order-tasks|tasks|add-tests|work-on-tasks|gateway-trio|code-review|qa-tasks|backlog|task|task-detail|estimate|update|set-workspace|project-guidance|pdr|sds> [...args]\n' +
|
|
92
93
|
'Setup: use `mcoda setup` after installation (or accept the postinstall prompt) to complete the mandatory mswarm telemetry consent flow.\n' +
|
|
93
94
|
'Config: use `mcoda config set mswarm-api-key <KEY>` to persist an encrypted mswarm API key in the resolved global mcoda config file.\n' +
|
|
94
95
|
'Consent: use `mcoda consent accept` before other commands if you need to complete consent outside the guided setup flow.\n' +
|
|
95
96
|
'Routing: use `mcoda routing defaults` to view/update workspace/global defaults, `mcoda routing preview|explain` to inspect agent selection/provenance (override → workspace_default → global_default).\n' +
|
|
96
97
|
'Cloud agents: use `mcoda cloud agent list|details|sync` to discover and materialize mswarm-managed remote agents.\n' +
|
|
98
|
+
'Self-hosted agents: use `mcoda self-hosted agent list|details|sync` to discover and materialize owner-hosted mswarm agents.\n' +
|
|
97
99
|
'Aliases: `tasks order-by-deps` forwards to `order-tasks` (dependency-aware ordering), `task`/`task-detail` show a single task.\n' +
|
|
98
100
|
'Job commands (mcoda job --help for details): list|status|watch|logs|inspect|resume|cancel|tokens\n' +
|
|
99
101
|
'Jobs API required for job commands (set MCODA_API_BASE_URL/MCODA_JOBS_API_URL or workspace api.baseUrl). status/watch/logs exit non-zero on failed/cancelled jobs per SDS.');
|
|
@@ -114,6 +116,10 @@ export class McodaEntrypoint {
|
|
|
114
116
|
await CloudCommands.run(rest);
|
|
115
117
|
return;
|
|
116
118
|
}
|
|
119
|
+
if (command === 'self-hosted' || command === 'selfhosted') {
|
|
120
|
+
await SelfHostedCommands.run(rest);
|
|
121
|
+
return;
|
|
122
|
+
}
|
|
117
123
|
if (command === 'config') {
|
|
118
124
|
await ConfigCommands.run(rest);
|
|
119
125
|
return;
|
|
@@ -130,6 +136,10 @@ export class McodaEntrypoint {
|
|
|
130
136
|
await CloudCommands.run(['agent', ...rest]);
|
|
131
137
|
return;
|
|
132
138
|
}
|
|
139
|
+
if (command === 'self-hosted-agent' || command === 'selfhosted-agent') {
|
|
140
|
+
await SelfHostedCommands.run(['agent', ...rest]);
|
|
141
|
+
return;
|
|
142
|
+
}
|
|
133
143
|
if (command === 'gateway-agent') {
|
|
134
144
|
await GatewayAgentCommand.run(rest);
|
|
135
145
|
return;
|
|
@@ -29,6 +29,6 @@ export class ConfigCommands {
|
|
|
29
29
|
await store.saveApiKey(value);
|
|
30
30
|
const refresh = await MswarmApi.refreshManagedAgentAuth(value);
|
|
31
31
|
// eslint-disable-next-line no-console
|
|
32
|
-
console.log(`Saved encrypted mswarm API key to ${store.configPath()}. Refreshed managed
|
|
32
|
+
console.log(`Saved encrypted mswarm API key to ${store.configPath()}. Refreshed managed mswarm-agent auth for ${refresh.updated} agents.`);
|
|
33
33
|
}
|
|
34
34
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SelfHostedCommands.d.ts","sourceRoot":"","sources":["../../../src/commands/self-hosted/SelfHostedCommands.ts"],"names":[],"mappings":"AAyNA,qBAAa,kBAAkB;WAChB,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;CA8FhD"}
|
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
import { MswarmApi, } from "@mcoda/core";
|
|
2
|
+
const USAGE = `
|
|
3
|
+
Usage: mcoda self-hosted agent <list|details|sync> [options]
|
|
4
|
+
|
|
5
|
+
Subcommands:
|
|
6
|
+
agent list List mswarm self-hosted agents (supports --json)
|
|
7
|
+
--provider <NAME> Filter by provider (mcoda|ollama)
|
|
8
|
+
--limit <N> Limit returned agents
|
|
9
|
+
--include-unreachable Include unreachable agents in the catalog result
|
|
10
|
+
--max-cost-per-1m-token <N>
|
|
11
|
+
Exclude agents above the given cost_per_million
|
|
12
|
+
--sorted-by-catalog-rating
|
|
13
|
+
Sort results by the catalog rating field (descending)
|
|
14
|
+
--min-context <N> Require at least this context window
|
|
15
|
+
--min-reasoning <N> Require at least this reasoning rating
|
|
16
|
+
agent details <SLUG> Show a single mswarm self-hosted agent (supports --json)
|
|
17
|
+
agent sync Sync self-hosted agents into the local mcoda registry
|
|
18
|
+
--provider <NAME> Filter by provider before syncing
|
|
19
|
+
--include-unreachable Sync unreachable agents too
|
|
20
|
+
--limit <N> Limit synced agents
|
|
21
|
+
--prune Remove previously synced self-hosted agents missing from the current catalog result
|
|
22
|
+
--agent-slug-prefix <P> Override the local managed-agent slug prefix
|
|
23
|
+
|
|
24
|
+
Connection options:
|
|
25
|
+
--base-url <URL> Override MCODA_MSWARM_BASE_URL (default: https://api.mswarm.org/)
|
|
26
|
+
--openai-base-url <URL> Override execution base URL for synced managed-agent execution
|
|
27
|
+
--api-key <KEY> Override MCODA_MSWARM_API_KEY
|
|
28
|
+
--timeout-ms <N> Override MCODA_MSWARM_TIMEOUT_MS
|
|
29
|
+
|
|
30
|
+
Environment:
|
|
31
|
+
MCODA_MSWARM_BASE_URL
|
|
32
|
+
MCODA_MSWARM_OPENAI_BASE_URL
|
|
33
|
+
MCODA_MSWARM_API_KEY
|
|
34
|
+
MCODA_MSWARM_TIMEOUT_MS
|
|
35
|
+
MCODA_MSWARM_SELF_HOSTED_AGENT_SLUG_PREFIX
|
|
36
|
+
Or persist the API key with: mcoda config set mswarm-api-key <KEY>
|
|
37
|
+
|
|
38
|
+
Flags:
|
|
39
|
+
--json Emit JSON for supported commands
|
|
40
|
+
--help Show this help
|
|
41
|
+
`.trim();
|
|
42
|
+
const parseArgs = (argv) => {
|
|
43
|
+
const flags = {};
|
|
44
|
+
const positionals = [];
|
|
45
|
+
for (let index = 0; index < argv.length; index += 1) {
|
|
46
|
+
const arg = argv[index];
|
|
47
|
+
if (arg.startsWith("--")) {
|
|
48
|
+
const key = arg.replace(/^--/, "");
|
|
49
|
+
const next = argv[index + 1];
|
|
50
|
+
if (next && !next.startsWith("--")) {
|
|
51
|
+
const current = flags[key];
|
|
52
|
+
if (current === undefined) {
|
|
53
|
+
flags[key] = next;
|
|
54
|
+
}
|
|
55
|
+
else if (Array.isArray(current)) {
|
|
56
|
+
flags[key] = [...current, next];
|
|
57
|
+
}
|
|
58
|
+
else if (typeof current === "string") {
|
|
59
|
+
flags[key] = [current, next];
|
|
60
|
+
}
|
|
61
|
+
else {
|
|
62
|
+
flags[key] = [next];
|
|
63
|
+
}
|
|
64
|
+
index += 1;
|
|
65
|
+
}
|
|
66
|
+
else {
|
|
67
|
+
flags[key] = true;
|
|
68
|
+
}
|
|
69
|
+
continue;
|
|
70
|
+
}
|
|
71
|
+
positionals.push(arg);
|
|
72
|
+
}
|
|
73
|
+
return { flags, positionals };
|
|
74
|
+
};
|
|
75
|
+
const resolveString = (value) => {
|
|
76
|
+
if (value === undefined || typeof value === "boolean")
|
|
77
|
+
return undefined;
|
|
78
|
+
return Array.isArray(value) ? value[value.length - 1] : value;
|
|
79
|
+
};
|
|
80
|
+
const resolvePositiveInt = (value, label) => {
|
|
81
|
+
const raw = resolveString(value);
|
|
82
|
+
if (raw === undefined)
|
|
83
|
+
return undefined;
|
|
84
|
+
const parsed = Number.parseInt(raw, 10);
|
|
85
|
+
if (!Number.isFinite(parsed) || parsed <= 0) {
|
|
86
|
+
throw new Error(`Invalid ${label}; expected a positive integer`);
|
|
87
|
+
}
|
|
88
|
+
return parsed;
|
|
89
|
+
};
|
|
90
|
+
const resolveNonNegativeNumber = (value, label) => {
|
|
91
|
+
const raw = resolveString(value);
|
|
92
|
+
if (raw === undefined)
|
|
93
|
+
return undefined;
|
|
94
|
+
const parsed = Number(raw);
|
|
95
|
+
if (!Number.isFinite(parsed) || parsed < 0) {
|
|
96
|
+
throw new Error(`Invalid ${label}; expected a non-negative number`);
|
|
97
|
+
}
|
|
98
|
+
return parsed;
|
|
99
|
+
};
|
|
100
|
+
const formatNumber = (value) => value === undefined || Number.isNaN(value) ? "-" : String(value);
|
|
101
|
+
const formatCapabilities = (capabilities) => capabilities && capabilities.length > 0 ? capabilities.join(",") : "-";
|
|
102
|
+
const formatBoolean = (value) => value === undefined ? "-" : value ? "yes" : "no";
|
|
103
|
+
const pad = (value, width) => value.padEnd(width, " ");
|
|
104
|
+
const renderTable = (headers, rows) => {
|
|
105
|
+
const widths = headers.map((header, columnIndex) => Math.max(header.length, ...rows.map((row) => row[columnIndex]?.length ?? 0)));
|
|
106
|
+
const lines = [
|
|
107
|
+
headers.map((header, index) => pad(header, widths[index] ?? header.length)).join(" "),
|
|
108
|
+
widths.map((width) => "-".repeat(width)).join(" "),
|
|
109
|
+
...rows.map((row) => row.map((cell, index) => pad(cell, widths[index] ?? cell.length)).join(" ")),
|
|
110
|
+
];
|
|
111
|
+
return lines.join("\n");
|
|
112
|
+
};
|
|
113
|
+
const printAgentList = (agents) => {
|
|
114
|
+
if (agents.length === 0) {
|
|
115
|
+
// eslint-disable-next-line no-console
|
|
116
|
+
console.log("No self-hosted agents found.");
|
|
117
|
+
return;
|
|
118
|
+
}
|
|
119
|
+
const headers = [
|
|
120
|
+
"REMOTE SLUG",
|
|
121
|
+
"PROVIDER",
|
|
122
|
+
"ADAPTER",
|
|
123
|
+
"MODEL",
|
|
124
|
+
"RATING",
|
|
125
|
+
"REASON",
|
|
126
|
+
"MAX CPLX",
|
|
127
|
+
"CTX",
|
|
128
|
+
"COST/$1M",
|
|
129
|
+
"TOOLS",
|
|
130
|
+
"HEALTH",
|
|
131
|
+
"CAPABILITIES",
|
|
132
|
+
];
|
|
133
|
+
const rows = agents.map((agent) => [
|
|
134
|
+
agent.remote_slug ?? agent.slug,
|
|
135
|
+
agent.provider,
|
|
136
|
+
agent.adapter ?? "-",
|
|
137
|
+
agent.default_model,
|
|
138
|
+
formatNumber(agent.rating),
|
|
139
|
+
formatNumber(agent.reasoning_rating),
|
|
140
|
+
formatNumber(agent.max_complexity),
|
|
141
|
+
formatNumber(agent.context_window),
|
|
142
|
+
formatNumber(agent.cost_per_million),
|
|
143
|
+
formatBoolean(agent.supports_tools),
|
|
144
|
+
agent.health_status ?? "-",
|
|
145
|
+
formatCapabilities(agent.capabilities),
|
|
146
|
+
]);
|
|
147
|
+
// eslint-disable-next-line no-console
|
|
148
|
+
console.log(renderTable(headers, rows));
|
|
149
|
+
};
|
|
150
|
+
const printAgentDetails = (agent) => {
|
|
151
|
+
const entries = [
|
|
152
|
+
["Slug", agent.slug],
|
|
153
|
+
["Remote slug", agent.remote_slug ?? "-"],
|
|
154
|
+
["Provider", agent.provider],
|
|
155
|
+
["Adapter", agent.adapter ?? "-"],
|
|
156
|
+
["Source agent", agent.source_agent_slug ?? "-"],
|
|
157
|
+
["Model", agent.default_model],
|
|
158
|
+
["Model ID", agent.model_id ?? "-"],
|
|
159
|
+
["Display name", agent.display_name ?? "-"],
|
|
160
|
+
["Description", agent.description ?? "-"],
|
|
161
|
+
["Rating", formatNumber(agent.rating)],
|
|
162
|
+
["Reasoning rating", formatNumber(agent.reasoning_rating)],
|
|
163
|
+
["Max complexity", formatNumber(agent.max_complexity)],
|
|
164
|
+
["Cost / 1M tokens", formatNumber(agent.cost_per_million)],
|
|
165
|
+
["Context window", formatNumber(agent.context_window)],
|
|
166
|
+
["Supports tools", formatBoolean(agent.supports_tools)],
|
|
167
|
+
["Supports reasoning", formatBoolean(agent.supports_reasoning)],
|
|
168
|
+
["Health", agent.health_status ?? "-"],
|
|
169
|
+
["Capabilities", formatCapabilities(agent.capabilities)],
|
|
170
|
+
];
|
|
171
|
+
const labelWidth = Math.max(...entries.map(([label]) => label.length));
|
|
172
|
+
for (const [label, value] of entries) {
|
|
173
|
+
// eslint-disable-next-line no-console
|
|
174
|
+
console.log(`${label.padEnd(labelWidth, " ")} : ${value}`);
|
|
175
|
+
}
|
|
176
|
+
};
|
|
177
|
+
const printSyncSummary = (summary) => {
|
|
178
|
+
// eslint-disable-next-line no-console
|
|
179
|
+
console.log(`Synced ${summary.agents.length} self-hosted agents (created=${summary.created}, updated=${summary.updated}, deleted=${summary.deleted}).`);
|
|
180
|
+
if (summary.agents.length === 0)
|
|
181
|
+
return;
|
|
182
|
+
const rows = summary.agents.map((record) => [
|
|
183
|
+
record.remoteSlug,
|
|
184
|
+
record.localSlug,
|
|
185
|
+
record.action,
|
|
186
|
+
record.provider,
|
|
187
|
+
record.defaultModel,
|
|
188
|
+
]);
|
|
189
|
+
// eslint-disable-next-line no-console
|
|
190
|
+
console.log(renderTable(["REMOTE SLUG", "LOCAL SLUG", "ACTION", "PROVIDER", "MODEL"], rows));
|
|
191
|
+
};
|
|
192
|
+
export class SelfHostedCommands {
|
|
193
|
+
static async run(argv) {
|
|
194
|
+
const [topic, rawSubcommand, ...rest] = argv;
|
|
195
|
+
if (!topic || argv.includes("--help") || argv.includes("-h")) {
|
|
196
|
+
// eslint-disable-next-line no-console
|
|
197
|
+
console.log(USAGE);
|
|
198
|
+
return;
|
|
199
|
+
}
|
|
200
|
+
if (topic !== "agent" && topic !== "agents") {
|
|
201
|
+
throw new Error(`Unknown self-hosted topic: ${topic}`);
|
|
202
|
+
}
|
|
203
|
+
const subcommand = rawSubcommand === "detail" || rawSubcommand === "show"
|
|
204
|
+
? "details"
|
|
205
|
+
: rawSubcommand;
|
|
206
|
+
if (!subcommand) {
|
|
207
|
+
// eslint-disable-next-line no-console
|
|
208
|
+
console.log(USAGE);
|
|
209
|
+
return;
|
|
210
|
+
}
|
|
211
|
+
const parsed = parseArgs(rest);
|
|
212
|
+
const api = await MswarmApi.create({
|
|
213
|
+
baseUrl: resolveString(parsed.flags["base-url"]),
|
|
214
|
+
openAiBaseUrl: resolveString(parsed.flags["openai-base-url"]),
|
|
215
|
+
apiKey: resolveString(parsed.flags["api-key"]),
|
|
216
|
+
timeoutMs: resolvePositiveInt(parsed.flags["timeout-ms"], "--timeout-ms"),
|
|
217
|
+
selfHostedAgentSlugPrefix: resolveString(parsed.flags["agent-slug-prefix"]),
|
|
218
|
+
});
|
|
219
|
+
try {
|
|
220
|
+
switch (subcommand) {
|
|
221
|
+
case "list": {
|
|
222
|
+
const agents = await api.listSelfHostedAgents({
|
|
223
|
+
provider: resolveString(parsed.flags.provider),
|
|
224
|
+
limit: resolvePositiveInt(parsed.flags.limit, "--limit"),
|
|
225
|
+
includeUnreachable: Boolean(parsed.flags["include-unreachable"]),
|
|
226
|
+
maxCostPerMillion: resolveNonNegativeNumber(parsed.flags["max-cost-per-1m-token"], "--max-cost-per-1m-token"),
|
|
227
|
+
minContextWindow: resolvePositiveInt(parsed.flags["min-context"], "--min-context"),
|
|
228
|
+
minReasoningRating: resolveNonNegativeNumber(parsed.flags["min-reasoning"], "--min-reasoning"),
|
|
229
|
+
sortByCatalogRating: Boolean(parsed.flags["sorted-by-catalog-rating"] || parsed.flags["sort-by-catalog-rating"]),
|
|
230
|
+
});
|
|
231
|
+
if (parsed.flags.json) {
|
|
232
|
+
// eslint-disable-next-line no-console
|
|
233
|
+
console.log(JSON.stringify(agents, null, 2));
|
|
234
|
+
}
|
|
235
|
+
else {
|
|
236
|
+
printAgentList(agents);
|
|
237
|
+
}
|
|
238
|
+
break;
|
|
239
|
+
}
|
|
240
|
+
case "details": {
|
|
241
|
+
const slug = parsed.positionals[0];
|
|
242
|
+
if (!slug) {
|
|
243
|
+
throw new Error("Usage: mcoda self-hosted agent details <SLUG> [--json]");
|
|
244
|
+
}
|
|
245
|
+
const agent = await api.getSelfHostedAgent(slug);
|
|
246
|
+
if (parsed.flags.json) {
|
|
247
|
+
// eslint-disable-next-line no-console
|
|
248
|
+
console.log(JSON.stringify(agent, null, 2));
|
|
249
|
+
}
|
|
250
|
+
else {
|
|
251
|
+
printAgentDetails(agent);
|
|
252
|
+
}
|
|
253
|
+
break;
|
|
254
|
+
}
|
|
255
|
+
case "sync": {
|
|
256
|
+
const summary = await api.syncSelfHostedAgents({
|
|
257
|
+
provider: resolveString(parsed.flags.provider),
|
|
258
|
+
limit: resolvePositiveInt(parsed.flags.limit, "--limit"),
|
|
259
|
+
includeUnreachable: Boolean(parsed.flags["include-unreachable"]),
|
|
260
|
+
pruneMissing: Boolean(parsed.flags.prune),
|
|
261
|
+
});
|
|
262
|
+
if (parsed.flags.json) {
|
|
263
|
+
// eslint-disable-next-line no-console
|
|
264
|
+
console.log(JSON.stringify(summary, null, 2));
|
|
265
|
+
}
|
|
266
|
+
else {
|
|
267
|
+
printSyncSummary(summary);
|
|
268
|
+
}
|
|
269
|
+
break;
|
|
270
|
+
}
|
|
271
|
+
default:
|
|
272
|
+
throw new Error(`Unknown self-hosted subcommand: ${subcommand}`);
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
finally {
|
|
276
|
+
await api.close();
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from './commands/agents/AgentsCommands.js';
|
|
2
2
|
export * from './bin/McodaEntrypoint.js';
|
|
3
3
|
export * from './commands/cloud/CloudCommands.js';
|
|
4
|
+
export * from './commands/self-hosted/SelfHostedCommands.js';
|
|
4
5
|
export * from './commands/config/ConfigCommands.js';
|
|
5
6
|
export * from './commands/consent/ConsentCommands.js';
|
|
6
7
|
export * from './commands/docs/DocsCommands.js';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qCAAqC,CAAC;AACpD,cAAc,0BAA0B,CAAC;AACzC,cAAc,mCAAmC,CAAC;AAClD,cAAc,qCAAqC,CAAC;AACpD,cAAc,uCAAuC,CAAC;AACtD,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,uCAAuC,CAAC;AACtD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,uCAAuC,CAAC;AACtD,cAAc,wCAAwC,CAAC;AACvD,cAAc,yCAAyC,CAAC;AACxD,cAAc,yCAAyC,CAAC;AACxD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,oDAAoD,CAAC;AACnE,cAAc,4CAA4C,CAAC;AAC3D,cAAc,uCAAuC,CAAC;AACtD,cAAc,uCAAuC,CAAC;AACtD,cAAc,wCAAwC,CAAC;AACvD,cAAc,uCAAuC,CAAC;AACtD,cAAc,qCAAqC,CAAC;AACpD,cAAc,uCAAuC,CAAC;AACtD,cAAc,kCAAkC,CAAC;AACjD,cAAc,uCAAuC,CAAC;AACtD,cAAc,gDAAgD,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qCAAqC,CAAC;AACpD,cAAc,0BAA0B,CAAC;AACzC,cAAc,mCAAmC,CAAC;AAClD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,qCAAqC,CAAC;AACpD,cAAc,uCAAuC,CAAC;AACtD,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,uCAAuC,CAAC;AACtD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,uCAAuC,CAAC;AACtD,cAAc,wCAAwC,CAAC;AACvD,cAAc,yCAAyC,CAAC;AACxD,cAAc,yCAAyC,CAAC;AACxD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,oDAAoD,CAAC;AACnE,cAAc,4CAA4C,CAAC;AAC3D,cAAc,uCAAuC,CAAC;AACtD,cAAc,uCAAuC,CAAC;AACtD,cAAc,wCAAwC,CAAC;AACvD,cAAc,uCAAuC,CAAC;AACtD,cAAc,qCAAqC,CAAC;AACpD,cAAc,uCAAuC,CAAC;AACtD,cAAc,kCAAkC,CAAC;AACjD,cAAc,uCAAuC,CAAC;AACtD,cAAc,gDAAgD,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from './commands/agents/AgentsCommands.js';
|
|
2
2
|
export * from './bin/McodaEntrypoint.js';
|
|
3
3
|
export * from './commands/cloud/CloudCommands.js';
|
|
4
|
+
export * from './commands/self-hosted/SelfHostedCommands.js';
|
|
4
5
|
export * from './commands/config/ConfigCommands.js';
|
|
5
6
|
export * from './commands/consent/ConsentCommands.js';
|
|
6
7
|
export * from './commands/docs/DocsCommands.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mcoda",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.42",
|
|
4
4
|
"description": "Local-first CLI for planning, documentation, and execution workflows with agent assistance.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -47,12 +47,12 @@
|
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"yaml": "^2.4.2",
|
|
50
|
-
"@mcoda/core": "0.1.
|
|
51
|
-
"@mcoda/shared": "0.1.
|
|
50
|
+
"@mcoda/core": "0.1.42",
|
|
51
|
+
"@mcoda/shared": "0.1.42"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@mcoda/db": "0.1.
|
|
55
|
-
"@mcoda/integrations": "0.1.
|
|
54
|
+
"@mcoda/db": "0.1.42",
|
|
55
|
+
"@mcoda/integrations": "0.1.42"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
58
58
|
"build": "tsc -p tsconfig.json",
|