@defai.digital/cli 13.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 +214 -0
- package/dist/bin.d.ts +3 -0
- package/dist/bin.d.ts.map +1 -0
- package/dist/bin.js +11 -0
- package/dist/bin.js.map +1 -0
- package/dist/bootstrap.d.ts +144 -0
- package/dist/bootstrap.d.ts.map +1 -0
- package/dist/bootstrap.js +315 -0
- package/dist/bootstrap.js.map +1 -0
- package/dist/cli.d.ts +14 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +84 -0
- package/dist/cli.js.map +1 -0
- package/dist/commands/ability.d.ts +17 -0
- package/dist/commands/ability.d.ts.map +1 -0
- package/dist/commands/ability.js +286 -0
- package/dist/commands/ability.js.map +1 -0
- package/dist/commands/agent.d.ts +18 -0
- package/dist/commands/agent.d.ts.map +1 -0
- package/dist/commands/agent.js +361 -0
- package/dist/commands/agent.js.map +1 -0
- package/dist/commands/call.d.ts +15 -0
- package/dist/commands/call.d.ts.map +1 -0
- package/dist/commands/call.js +503 -0
- package/dist/commands/call.js.map +1 -0
- package/dist/commands/cleanup.d.ts +18 -0
- package/dist/commands/cleanup.d.ts.map +1 -0
- package/dist/commands/cleanup.js +300 -0
- package/dist/commands/cleanup.js.map +1 -0
- package/dist/commands/config.d.ts +16 -0
- package/dist/commands/config.d.ts.map +1 -0
- package/dist/commands/config.js +513 -0
- package/dist/commands/config.js.map +1 -0
- package/dist/commands/discuss.d.ts +16 -0
- package/dist/commands/discuss.d.ts.map +1 -0
- package/dist/commands/discuss.js +700 -0
- package/dist/commands/discuss.js.map +1 -0
- package/dist/commands/doctor.d.ts +48 -0
- package/dist/commands/doctor.d.ts.map +1 -0
- package/dist/commands/doctor.js +356 -0
- package/dist/commands/doctor.js.map +1 -0
- package/dist/commands/guard.d.ts +12 -0
- package/dist/commands/guard.d.ts.map +1 -0
- package/dist/commands/guard.js +225 -0
- package/dist/commands/guard.js.map +1 -0
- package/dist/commands/help.d.ts +11 -0
- package/dist/commands/help.d.ts.map +1 -0
- package/dist/commands/help.js +180 -0
- package/dist/commands/help.js.map +1 -0
- package/dist/commands/history.d.ts +19 -0
- package/dist/commands/history.d.ts.map +1 -0
- package/dist/commands/history.js +200 -0
- package/dist/commands/history.js.map +1 -0
- package/dist/commands/index.d.ts +23 -0
- package/dist/commands/index.d.ts.map +1 -0
- package/dist/commands/index.js +26 -0
- package/dist/commands/index.js.map +1 -0
- package/dist/commands/iterate.d.ts +16 -0
- package/dist/commands/iterate.d.ts.map +1 -0
- package/dist/commands/iterate.js +72 -0
- package/dist/commands/iterate.js.map +1 -0
- package/dist/commands/list.d.ts +6 -0
- package/dist/commands/list.d.ts.map +1 -0
- package/dist/commands/list.js +62 -0
- package/dist/commands/list.js.map +1 -0
- package/dist/commands/mcp.d.ts +16 -0
- package/dist/commands/mcp.d.ts.map +1 -0
- package/dist/commands/mcp.js +57 -0
- package/dist/commands/mcp.js.map +1 -0
- package/dist/commands/resume.d.ts +18 -0
- package/dist/commands/resume.d.ts.map +1 -0
- package/dist/commands/resume.js +208 -0
- package/dist/commands/resume.js.map +1 -0
- package/dist/commands/review.d.ts +13 -0
- package/dist/commands/review.d.ts.map +1 -0
- package/dist/commands/review.js +450 -0
- package/dist/commands/review.js.map +1 -0
- package/dist/commands/run.d.ts +6 -0
- package/dist/commands/run.d.ts.map +1 -0
- package/dist/commands/run.js +158 -0
- package/dist/commands/run.js.map +1 -0
- package/dist/commands/scaffold.d.ts +20 -0
- package/dist/commands/scaffold.d.ts.map +1 -0
- package/dist/commands/scaffold.js +924 -0
- package/dist/commands/scaffold.js.map +1 -0
- package/dist/commands/session.d.ts +20 -0
- package/dist/commands/session.d.ts.map +1 -0
- package/dist/commands/session.js +504 -0
- package/dist/commands/session.js.map +1 -0
- package/dist/commands/setup.d.ts +14 -0
- package/dist/commands/setup.d.ts.map +1 -0
- package/dist/commands/setup.js +762 -0
- package/dist/commands/setup.js.map +1 -0
- package/dist/commands/status.d.ts +17 -0
- package/dist/commands/status.d.ts.map +1 -0
- package/dist/commands/status.js +227 -0
- package/dist/commands/status.js.map +1 -0
- package/dist/commands/trace.d.ts +6 -0
- package/dist/commands/trace.d.ts.map +1 -0
- package/dist/commands/trace.js +204 -0
- package/dist/commands/trace.js.map +1 -0
- package/dist/commands/update.d.ts +24 -0
- package/dist/commands/update.d.ts.map +1 -0
- package/dist/commands/update.js +296 -0
- package/dist/commands/update.js.map +1 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +13 -0
- package/dist/index.js.map +1 -0
- package/dist/parser.d.ts +14 -0
- package/dist/parser.d.ts.map +1 -0
- package/dist/parser.js +288 -0
- package/dist/parser.js.map +1 -0
- package/dist/types.d.ts +91 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +29 -0
- package/dist/types.js.map +1 -0
- package/dist/utils/dangerous-op-guard.d.ts +33 -0
- package/dist/utils/dangerous-op-guard.d.ts.map +1 -0
- package/dist/utils/dangerous-op-guard.js +112 -0
- package/dist/utils/dangerous-op-guard.js.map +1 -0
- package/dist/utils/database.d.ts +85 -0
- package/dist/utils/database.d.ts.map +1 -0
- package/dist/utils/database.js +184 -0
- package/dist/utils/database.js.map +1 -0
- package/dist/utils/index.d.ts +7 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +7 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/provider-factory.d.ts +31 -0
- package/dist/utils/provider-factory.d.ts.map +1 -0
- package/dist/utils/provider-factory.js +109 -0
- package/dist/utils/provider-factory.js.map +1 -0
- package/dist/utils/storage-instances.d.ts +19 -0
- package/dist/utils/storage-instances.d.ts.map +1 -0
- package/dist/utils/storage-instances.js +20 -0
- package/dist/utils/storage-instances.js.map +1 -0
- package/package.json +77 -0
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Provider Factory for CLI Commands
|
|
3
|
+
*
|
|
4
|
+
* Creates shared provider infrastructure for CLI commands that need
|
|
5
|
+
* LLM provider access (bugfix, refactor, etc.)
|
|
6
|
+
*
|
|
7
|
+
* All adapter imports are centralized in bootstrap.ts (composition root).
|
|
8
|
+
* This file delegates to bootstrap for provider registry access.
|
|
9
|
+
*/
|
|
10
|
+
import { getProviderRegistry as getBootstrapProviderRegistry } from '../bootstrap.js';
|
|
11
|
+
/**
|
|
12
|
+
* Gets the shared provider registry from bootstrap
|
|
13
|
+
*/
|
|
14
|
+
export function getProviderRegistry() {
|
|
15
|
+
return getBootstrapProviderRegistry();
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Wraps an LLMProvider as an AnalysisProvider for use with analysis-domain
|
|
19
|
+
*/
|
|
20
|
+
function wrapAsAnalysisProvider(provider, providerId) {
|
|
21
|
+
return {
|
|
22
|
+
id: providerId,
|
|
23
|
+
async complete(request) {
|
|
24
|
+
// Get default model for this provider
|
|
25
|
+
const models = provider.getModels();
|
|
26
|
+
const defaultModel = models.find((m) => m.isDefault === true) ?? models[0];
|
|
27
|
+
const model = defaultModel?.modelId ?? 'default';
|
|
28
|
+
const response = await provider.complete({
|
|
29
|
+
requestId: crypto.randomUUID(),
|
|
30
|
+
model,
|
|
31
|
+
messages: [{ role: 'user', content: request.prompt }],
|
|
32
|
+
maxTokens: request.maxTokens,
|
|
33
|
+
temperature: request.temperature,
|
|
34
|
+
});
|
|
35
|
+
if (!response.success) {
|
|
36
|
+
throw new Error(response.error?.message ?? 'Provider error');
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
content: response.content,
|
|
40
|
+
tokensUsed: response.usage?.totalTokens,
|
|
41
|
+
};
|
|
42
|
+
},
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Creates a ProviderRouter for use with analysis services
|
|
47
|
+
*
|
|
48
|
+
* This bridges the CLI provider infrastructure with the analysis-domain's
|
|
49
|
+
* ProviderRouter interface.
|
|
50
|
+
*/
|
|
51
|
+
export function createAnalysisProviderRouter() {
|
|
52
|
+
const registry = getProviderRegistry();
|
|
53
|
+
return {
|
|
54
|
+
async getProvider(providerId) {
|
|
55
|
+
const provider = registry.get(providerId);
|
|
56
|
+
if (provider === undefined) {
|
|
57
|
+
throw new Error(`Provider "${providerId}" not found in registry`);
|
|
58
|
+
}
|
|
59
|
+
// Check if available
|
|
60
|
+
const available = await provider.isAvailable();
|
|
61
|
+
if (!available) {
|
|
62
|
+
throw new Error(`Provider "${providerId}" is not available (CLI not installed or not in PATH)`);
|
|
63
|
+
}
|
|
64
|
+
return wrapAsAnalysisProvider(provider, providerId);
|
|
65
|
+
},
|
|
66
|
+
async selectProvider(_task) {
|
|
67
|
+
// Default provider selection strategy:
|
|
68
|
+
// 1. Try claude first (most capable for analysis)
|
|
69
|
+
// 2. Fall back to any available provider
|
|
70
|
+
const preferredProviders = ['claude', 'gemini', 'codex', 'qwen'];
|
|
71
|
+
for (const providerId of preferredProviders) {
|
|
72
|
+
const provider = registry.get(providerId);
|
|
73
|
+
if (provider !== undefined) {
|
|
74
|
+
try {
|
|
75
|
+
const available = await provider.isAvailable();
|
|
76
|
+
if (available) {
|
|
77
|
+
return wrapAsAnalysisProvider(provider, providerId);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
catch {
|
|
81
|
+
// Try next provider
|
|
82
|
+
continue;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
throw new Error('No providers available. Install at least one provider CLI:\n' +
|
|
87
|
+
' - claude (Claude Code): https://github.com/anthropics/claude-code\n' +
|
|
88
|
+
' - gemini (Gemini CLI): https://github.com/google-gemini/gemini-cli\n' +
|
|
89
|
+
' - codex (OpenAI Codex): https://github.com/openai/codex');
|
|
90
|
+
},
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Gets the IDs of all registered providers
|
|
95
|
+
*/
|
|
96
|
+
export function getRegisteredProviderIds() {
|
|
97
|
+
return getProviderRegistry().getProviderIds();
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Checks if a specific provider is available
|
|
101
|
+
*/
|
|
102
|
+
export async function isProviderAvailable(providerId) {
|
|
103
|
+
const provider = getProviderRegistry().get(providerId);
|
|
104
|
+
if (provider === undefined) {
|
|
105
|
+
return false;
|
|
106
|
+
}
|
|
107
|
+
return provider.isAvailable();
|
|
108
|
+
}
|
|
109
|
+
//# sourceMappingURL=provider-factory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider-factory.js","sourceRoot":"","sources":["../../src/utils/provider-factory.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Storage Instances for CLI Commands
|
|
3
|
+
*
|
|
4
|
+
* Re-exports storage accessors from the CLI bootstrap module.
|
|
5
|
+
* This file maintains backwards compatibility while delegating
|
|
6
|
+
* to the centralized composition root.
|
|
7
|
+
*
|
|
8
|
+
* All storage initialization is handled by bootstrap.ts - the only
|
|
9
|
+
* file in CLI that may import adapter implementations directly.
|
|
10
|
+
*
|
|
11
|
+
* Storage Mode (AX_STORAGE environment variable):
|
|
12
|
+
* - 'sqlite' (default): Persistent storage using SQLite at ~/.automatosx/data.db
|
|
13
|
+
* - 'memory': In-memory storage (data lost between invocations)
|
|
14
|
+
*
|
|
15
|
+
* Automatically falls back to in-memory storage if SQLite is unavailable.
|
|
16
|
+
*/
|
|
17
|
+
export { getCheckpointStorage, getTraceStore, getDLQ, isUsingSqlite, getStorageInfo, bootstrap as initializeStorageAsync, resetBootstrap as resetStorageInstances, } from '../bootstrap.js';
|
|
18
|
+
export type { CheckpointStorage, TraceStore, DeadLetterQueue, } from '../bootstrap.js';
|
|
19
|
+
//# sourceMappingURL=storage-instances.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storage-instances.d.ts","sourceRoot":"","sources":["../../src/utils/storage-instances.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAIH,OAAO,EACL,oBAAoB,EACpB,aAAa,EACb,MAAM,EACN,aAAa,EACb,cAAc,EACd,SAAS,IAAI,sBAAsB,EACnC,cAAc,IAAI,qBAAqB,GACxC,MAAM,iBAAiB,CAAC;AAGzB,YAAY,EACV,iBAAiB,EACjB,UAAU,EACV,eAAe,GAChB,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Storage Instances for CLI Commands
|
|
3
|
+
*
|
|
4
|
+
* Re-exports storage accessors from the CLI bootstrap module.
|
|
5
|
+
* This file maintains backwards compatibility while delegating
|
|
6
|
+
* to the centralized composition root.
|
|
7
|
+
*
|
|
8
|
+
* All storage initialization is handled by bootstrap.ts - the only
|
|
9
|
+
* file in CLI that may import adapter implementations directly.
|
|
10
|
+
*
|
|
11
|
+
* Storage Mode (AX_STORAGE environment variable):
|
|
12
|
+
* - 'sqlite' (default): Persistent storage using SQLite at ~/.automatosx/data.db
|
|
13
|
+
* - 'memory': In-memory storage (data lost between invocations)
|
|
14
|
+
*
|
|
15
|
+
* Automatically falls back to in-memory storage if SQLite is unavailable.
|
|
16
|
+
*/
|
|
17
|
+
// Re-export storage accessors from bootstrap
|
|
18
|
+
// This maintains backwards compatibility for existing code that imports from this file
|
|
19
|
+
export { getCheckpointStorage, getTraceStore, getDLQ, isUsingSqlite, getStorageInfo, bootstrap as initializeStorageAsync, resetBootstrap as resetStorageInstances, } from '../bootstrap.js';
|
|
20
|
+
//# sourceMappingURL=storage-instances.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storage-instances.js","sourceRoot":"","sources":["../../src/utils/storage-instances.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,6CAA6C;AAC7C,uFAAuF;AACvF,OAAO,EACL,oBAAoB,EACpB,aAAa,EACb,MAAM,EACN,aAAa,EACb,cAAc,EACd,SAAS,IAAI,sBAAsB,EACnC,cAAc,IAAI,qBAAqB,GACxC,MAAM,iBAAiB,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@defai.digital/cli",
|
|
3
|
+
"version": "13.1.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "Command-line interface for AutomatosX - Contract-first AI orchestration platform with multi-provider routing",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"author": "DEFAI Private Limited",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "https://github.com/defai-digital/automatosx.git",
|
|
11
|
+
"directory": "packages/cli"
|
|
12
|
+
},
|
|
13
|
+
"homepage": "https://github.com/defai-digital/automatosx#readme",
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/defai-digital/automatosx/issues"
|
|
16
|
+
},
|
|
17
|
+
"keywords": [
|
|
18
|
+
"ai",
|
|
19
|
+
"cli",
|
|
20
|
+
"llm",
|
|
21
|
+
"orchestration",
|
|
22
|
+
"claude",
|
|
23
|
+
"gemini",
|
|
24
|
+
"codex",
|
|
25
|
+
"mcp",
|
|
26
|
+
"model-context-protocol",
|
|
27
|
+
"automation",
|
|
28
|
+
"workflow"
|
|
29
|
+
],
|
|
30
|
+
"main": "./dist/index.js",
|
|
31
|
+
"types": "./dist/index.d.ts",
|
|
32
|
+
"bin": {
|
|
33
|
+
"automatosx": "./dist/bin.js",
|
|
34
|
+
"ax": "./dist/bin.js"
|
|
35
|
+
},
|
|
36
|
+
"exports": {
|
|
37
|
+
".": {
|
|
38
|
+
"types": "./dist/index.d.ts",
|
|
39
|
+
"import": "./dist/index.js"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"files": [
|
|
43
|
+
"dist"
|
|
44
|
+
],
|
|
45
|
+
"engines": {
|
|
46
|
+
"node": ">=20.0.0"
|
|
47
|
+
},
|
|
48
|
+
"publishConfig": {
|
|
49
|
+
"access": "public"
|
|
50
|
+
},
|
|
51
|
+
"dependencies": {
|
|
52
|
+
"@defai.digital/ability-domain": "13.1.0",
|
|
53
|
+
"@defai.digital/agent-domain": "13.1.0",
|
|
54
|
+
"@defai.digital/agent-execution": "13.1.0",
|
|
55
|
+
"@defai.digital/analysis-domain": "13.1.0",
|
|
56
|
+
"@defai.digital/context-domain": "13.1.0",
|
|
57
|
+
"@defai.digital/contracts": "13.1.0",
|
|
58
|
+
"@defai.digital/config-domain": "13.1.0",
|
|
59
|
+
"@defai.digital/cross-cutting": "13.1.0",
|
|
60
|
+
"@defai.digital/discussion-domain": "13.1.0",
|
|
61
|
+
"@defai.digital/guard": "13.1.0",
|
|
62
|
+
"@defai.digital/iterate-domain": "13.1.0",
|
|
63
|
+
"@defai.digital/mcp-server": "13.1.0",
|
|
64
|
+
"@defai.digital/provider-adapters": "13.1.0",
|
|
65
|
+
"@defai.digital/memory-domain": "13.1.0",
|
|
66
|
+
"@defai.digital/review-domain": "13.1.0",
|
|
67
|
+
"@defai.digital/routing-engine": "13.1.0",
|
|
68
|
+
"@defai.digital/session-domain": "13.1.0",
|
|
69
|
+
"@defai.digital/sqlite-adapter": "13.1.0",
|
|
70
|
+
"@defai.digital/trace-domain": "13.1.0",
|
|
71
|
+
"@defai.digital/workflow-engine": "13.1.0"
|
|
72
|
+
},
|
|
73
|
+
"scripts": {
|
|
74
|
+
"build": "tsc --build",
|
|
75
|
+
"clean": "rm -rf dist *.tsbuildinfo"
|
|
76
|
+
}
|
|
77
|
+
}
|