mirror of
https://github.com/affaan-m/ECC.git
synced 2026-09-30 21:45:13 +02:00
feat: add Itô compute sponsor routing and Phase 2 plan (#2546)
* feat: add Ito compute sponsor routing * fix: harden Ito integration CI and framing
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
const { spawnSync } = require('child_process');
|
||||
const path = require('path');
|
||||
const { listAvailableLanguages } = require('./lib/install-executor');
|
||||
const { getComputeSponsorCopy } = require('./lib/compute-sponsor');
|
||||
|
||||
const COMMANDS = {
|
||||
install: {
|
||||
@@ -119,6 +120,9 @@ Compatibility:
|
||||
Global Flags:
|
||||
--dry-run Preview actions without executing (sets ECC_DRY_RUN=1)
|
||||
|
||||
Compute:
|
||||
${getComputeSponsorCopy()}
|
||||
|
||||
Examples:
|
||||
ecc typescript
|
||||
ecc install --profile developer --target claude
|
||||
|
||||
@@ -17,6 +17,7 @@ const {
|
||||
normalizeInstallRequest,
|
||||
parseInstallArgs,
|
||||
} = require('./lib/install/request');
|
||||
const { getComputeSponsorCopy } = require('./lib/compute-sponsor');
|
||||
|
||||
function getHelpText() {
|
||||
const languages = listLegacyCompatibilityLanguages();
|
||||
@@ -60,6 +61,9 @@ Options:
|
||||
--json Emit machine-readable plan/result JSON
|
||||
--help Show this help text
|
||||
|
||||
Compute:
|
||||
${getComputeSponsorCopy()}
|
||||
|
||||
Available languages:
|
||||
${languages.map(language => ` - ${language}`).join('\n')}
|
||||
|
||||
@@ -115,6 +119,8 @@ function printHumanPlan(plan, dryRun) {
|
||||
if (!dryRun) {
|
||||
console.log(`\nDone. Install-state written to ${plan.installStatePath}`);
|
||||
}
|
||||
|
||||
console.log('\nCompute: ' + getComputeSponsorCopy());
|
||||
}
|
||||
|
||||
function main() {
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
'use strict';
|
||||
|
||||
const ITO_COMPUTE_URL = 'https://compute.itomarkets.com';
|
||||
|
||||
function getComputeSponsorCopy() {
|
||||
return "Run or self-host any open-source model. Itô is ECC's preferred compute sponsor: "
|
||||
+ 'open its dashboard to sign in and rent or manage GPUs at '
|
||||
+ ITO_COMPUTE_URL
|
||||
+ '. Any GPU provider works. ECC only provides this link; it does not provision '
|
||||
+ 'compute or serving. Managed inference through Itô is not live yet.';
|
||||
}
|
||||
|
||||
module.exports = Object.freeze({
|
||||
ITO_COMPUTE_URL,
|
||||
getComputeSponsorCopy,
|
||||
});
|
||||
Reference in New Issue
Block a user