@localizeaso/cli 0.1.0-preview.3 → 0.1.0-preview.5
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 +1 -1
- package/package.json +1 -1
- package/packages/asc-shared/dist/monetization-boundary.d.ts +8 -8
- package/packages/asc-shared/dist/monetization-boundary.d.ts.map +1 -1
- package/packages/asc-shared/dist/monetization-boundary.js +12 -10
- package/scripts/localizeaso.mjs +143 -15
- package/scripts/review-agent.mjs +2 -2
- package/scripts/review-mcp.mjs +1 -1
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@ npx @localizeaso/cli@preview --help
|
|
|
11
11
|
For local desktop or BYO-agent use, sign in once and store a local CLI session:
|
|
12
12
|
|
|
13
13
|
```sh
|
|
14
|
-
|
|
14
|
+
localizeaso login --staging
|
|
15
15
|
localizeaso whoami --json
|
|
16
16
|
```
|
|
17
17
|
|
package/package.json
CHANGED
|
@@ -125,19 +125,19 @@ export declare const LOCALIZEASO_AGENT_PASS_PACKAGING_DECISION: {
|
|
|
125
125
|
readonly defaultPaidPlanLabel: "Agent Pass";
|
|
126
126
|
readonly freeToolRole: "acquisition_and_trust";
|
|
127
127
|
readonly recommendedFreeTool: "pricing_parity_cli";
|
|
128
|
-
readonly pricingParityCliRole: "Use pricing parity, Astro CSV import, keyword-context conversion, and
|
|
129
|
-
readonly openSourceBoundary: "Open-source local setup, keyword conversion, pricing-parity manifests, prompt/template generation, and already-approved local asc handoff helpers. Keep backend persistence, review history, consent screens, Figma apply plans, hosted AI, app slots, and hosted submit in paid LocalizeASO passes.";
|
|
128
|
+
readonly pricingParityCliRole: "Use pricing parity, Astro CSV import, keyword-context conversion, proposal templates, and one-app BYO agent onboarding as the useful free/OSS CLI wedge; charge when the user creates a persistent LocalizeASO review job with consent UI, history, Figma/apply handoffs, more app slots, or hosted submit.";
|
|
129
|
+
readonly openSourceBoundary: "Open-source local setup, keyword conversion, pricing-parity manifests, prompt/template generation, one-app BYO agent onboarding, and already-approved local asc handoff helpers. Keep backend persistence, review history, consent screens, Figma apply plans, hosted AI, additional app slots, and hosted submit in paid LocalizeASO passes.";
|
|
130
130
|
readonly primaryRevenueSurface: "Human review/consent screens with current/proposed/final diffs, keyword evidence, warnings, approval receipts, review history, Figma apply plans, app slots, local asc handoffs after approval, and optional hosted AI or hosted submit convenience.";
|
|
131
|
-
readonly freeToolIncludes: readonly ["local setup", "Astro/CSV keyword conversion", "prompt/template generation", "pricing parity manifests"];
|
|
131
|
+
readonly freeToolIncludes: readonly ["local setup", "Astro/CSV keyword conversion", "prompt/template generation", "one-app BYO agent onboarding", "pricing parity manifests"];
|
|
132
132
|
readonly byoPaidIncludes: readonly ["persistent review jobs", "human review/consent screens with diffs and signal evidence", "review history", "approval receipts", "reviewer feedback", "Figma apply plans", "app slots", "local asc handoffs after human approval"];
|
|
133
133
|
readonly hostedUpsellIncludes: readonly ["hosted submit-only pass for BYO/Codex proposals after human approval", "LocalizeASO-hosted AI proposal generation", "hosted App Store Connect upload/submit convenience after human approval", "larger app or team coverage"];
|
|
134
134
|
readonly defaultPricingModel: "one_time_or_lifetime_byo_agent_pass";
|
|
135
135
|
readonly recommendedOneTimePrices: {
|
|
136
|
-
readonly agent: "$
|
|
137
|
-
readonly submit: "$
|
|
138
|
-
readonly launch: "$
|
|
139
|
-
readonly global: "$
|
|
140
|
-
readonly portfolio: "$
|
|
136
|
+
readonly agent: "$49";
|
|
137
|
+
readonly submit: "$49";
|
|
138
|
+
readonly launch: "$99";
|
|
139
|
+
readonly global: "$249";
|
|
140
|
+
readonly portfolio: "$499";
|
|
141
141
|
};
|
|
142
142
|
readonly avoidPositioning: readonly ["usage-based LocalizeASO AI pricing for BYO Codex/AI runs", "promising hosted submit inside Agent Pass", "requiring App Store Connect credentials for proposal review"];
|
|
143
143
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"monetization-boundary.d.ts","sourceRoot":"","sources":["../src/monetization-boundary.ts"],"names":[],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GENT_PASS_PACKAGING_DECISION = {
|
|
|
3
3
|
defaultPaidPlanLabel: 'Agent Pass',
|
|
4
4
|
freeToolRole: 'acquisition_and_trust',
|
|
5
5
|
recommendedFreeTool: 'pricing_parity_cli',
|
|
6
|
-
pricingParityCliRole: 'Use pricing parity, Astro CSV import, keyword-context conversion, and
|
|
7
|
-
openSourceBoundary: 'Open-source local setup, keyword conversion, pricing-parity manifests, prompt/template generation, and already-approved local asc handoff helpers. Keep backend persistence, review history, consent screens, Figma apply plans, hosted AI, app slots, and hosted submit in paid LocalizeASO passes.',
|
|
6
|
+
pricingParityCliRole: 'Use pricing parity, Astro CSV import, keyword-context conversion, proposal templates, and one-app BYO agent onboarding as the useful free/OSS CLI wedge; charge when the user creates a persistent LocalizeASO review job with consent UI, history, Figma/apply handoffs, more app slots, or hosted submit.',
|
|
7
|
+
openSourceBoundary: 'Open-source local setup, keyword conversion, pricing-parity manifests, prompt/template generation, one-app BYO agent onboarding, and already-approved local asc handoff helpers. Keep backend persistence, review history, consent screens, Figma apply plans, hosted AI, additional app slots, and hosted submit in paid LocalizeASO passes.',
|
|
8
8
|
primaryRevenueSurface: 'Human review/consent screens with current/proposed/final diffs, keyword evidence, warnings, approval receipts, review history, Figma apply plans, app slots, local asc handoffs after approval, and optional hosted AI or hosted submit convenience.',
|
|
9
9
|
freeToolIncludes: [
|
|
10
10
|
'local setup',
|
|
11
11
|
'Astro/CSV keyword conversion',
|
|
12
12
|
'prompt/template generation',
|
|
13
|
+
'one-app BYO agent onboarding',
|
|
13
14
|
'pricing parity manifests',
|
|
14
15
|
],
|
|
15
16
|
byoPaidIncludes: [
|
|
@@ -30,11 +31,11 @@ export const LOCALIZEASO_AGENT_PASS_PACKAGING_DECISION = {
|
|
|
30
31
|
],
|
|
31
32
|
defaultPricingModel: 'one_time_or_lifetime_byo_agent_pass',
|
|
32
33
|
recommendedOneTimePrices: {
|
|
33
|
-
agent: '$
|
|
34
|
-
submit: '$
|
|
35
|
-
launch: '$
|
|
36
|
-
global: '$
|
|
37
|
-
portfolio: '$
|
|
34
|
+
agent: '$49',
|
|
35
|
+
submit: '$49',
|
|
36
|
+
launch: '$99',
|
|
37
|
+
global: '$249',
|
|
38
|
+
portfolio: '$499',
|
|
38
39
|
},
|
|
39
40
|
avoidPositioning: [
|
|
40
41
|
'usage-based LocalizeASO AI pricing for BYO Codex/AI runs',
|
|
@@ -76,6 +77,7 @@ function buildLocalizeAsoPackageMatrix(packaging) {
|
|
|
76
77
|
'pricing parity JSON and manifest conversion',
|
|
77
78
|
'Astro/CSV keyword context conversion',
|
|
78
79
|
'prompt and proposal-template generation from exported bundles',
|
|
80
|
+
'one-app BYO agent onboarding',
|
|
79
81
|
'already-approved local asc handoff helpers',
|
|
80
82
|
],
|
|
81
83
|
excludes: [
|
|
@@ -86,7 +88,7 @@ function buildLocalizeAsoPackageMatrix(packaging) {
|
|
|
86
88
|
'hosted AI',
|
|
87
89
|
'hosted App Store Connect submit',
|
|
88
90
|
],
|
|
89
|
-
bestFor: 'Acquisition, trust, and
|
|
91
|
+
bestFor: 'Acquisition, trust, and one-app BYO agent setup before the user creates a persisted LocalizeASO review job.',
|
|
90
92
|
},
|
|
91
93
|
{
|
|
92
94
|
id: 'agent_pass',
|
|
@@ -338,7 +340,7 @@ export function buildLocalizeAsoMonetizationBoundary(reviewKind, options = {}) {
|
|
|
338
340
|
},
|
|
339
341
|
revenueModel: {
|
|
340
342
|
defaultMotion: 'Use the free/open CLI as acquisition and trust, sell Agent Pass as the default BYO-agent product, and reserve hosted passes for LocalizeASO-paid AI or hosted App Store Connect convenience.',
|
|
341
|
-
freeSurface: 'Keep local setup, Astro CSV conversion, prompt/template generation, pricing-parity manifests, and already-approved local asc handoffs useful without checkout.',
|
|
343
|
+
freeSurface: 'Keep one-app BYO agent setup, local setup, Astro CSV conversion, prompt/template generation, pricing-parity manifests, and already-approved local asc handoffs useful without checkout.',
|
|
342
344
|
paidSurface: 'Charge for persistent review jobs, human review/consent screens with diffs and signal evidence, approval history, reviewer feedback, Figma apply plans, app slots, hosted proposal allowance, and hosted upload/submit convenience.',
|
|
343
345
|
primaryRevenueSurface: packaging.primaryRevenueSurface,
|
|
344
346
|
recommendedDefaultPlan: 'agent',
|
|
@@ -358,7 +360,7 @@ export function buildLocalizeAsoMonetizationBoundary(reviewKind, options = {}) {
|
|
|
358
360
|
valueLedger: buildLocalizeAsoValueLedger(),
|
|
359
361
|
packagingDecision: packaging,
|
|
360
362
|
recommendedOneTimePrices: packaging.recommendedOneTimePrices,
|
|
361
|
-
pricingGuidance: 'Keep the CLI/free surface useful for acquisition, sell Agent Pass for BYO human review
|
|
363
|
+
pricingGuidance: 'Keep the CLI/free surface useful for one-app BYO agent onboarding and acquisition, sell Agent Pass for BYO human review with persistent approval history, signal evidence, Figma handoffs, and app slots, offer hosted submit as a separate no-hosted-AI convenience pass, and upsell hosted AI only when LocalizeASO pays for proposal generation.',
|
|
362
364
|
appStoreConnectCredentials: 'Not required for BYO proposal generation, keyword import, or opening the human review/approval screen; only needed for hosted submit convenience or a human-run local asc handoff after explicit approval.',
|
|
363
365
|
agentInstruction: 'Use local agent-safe steps for research and proposals. Choose Agent Pass for BYO review/history/Figma handoffs, hosted submit pass for BYO proposals plus LocalizeASO App Store Connect convenience, or hosted AI pass when LocalizeASO should spend hosted AI.',
|
|
364
366
|
};
|
package/scripts/localizeaso.mjs
CHANGED
|
@@ -180,6 +180,7 @@ Usage:
|
|
|
180
180
|
Auto/start/submit aliases return JSON/CLI handoff by default; add --open,
|
|
181
181
|
or use popup/open, when the human is ready to open a browser window.
|
|
182
182
|
|
|
183
|
+
localizeaso login [--staging|--prod] [--backend URL] [--dashboard URL]
|
|
183
184
|
localizeaso login --email you@example.com --password-stdin [--backend URL] [--dashboard URL] [--staging]
|
|
184
185
|
localizeaso whoami [--json]
|
|
185
186
|
localizeaso logout
|
|
@@ -1103,8 +1104,8 @@ function configuredToken(env = process.env) {
|
|
|
1103
1104
|
|
|
1104
1105
|
function stagingUrls() {
|
|
1105
1106
|
return {
|
|
1106
|
-
backend: 'https://
|
|
1107
|
-
dashboard: 'https://
|
|
1107
|
+
backend: 'https://api.staging.localizeaso.com',
|
|
1108
|
+
dashboard: 'https://dash.staging.localizeaso.com',
|
|
1108
1109
|
};
|
|
1109
1110
|
}
|
|
1110
1111
|
|
|
@@ -1248,11 +1249,13 @@ function printAuthUsage(command = 'login') {
|
|
|
1248
1249
|
return;
|
|
1249
1250
|
}
|
|
1250
1251
|
console.log(`Usage:
|
|
1252
|
+
localizeaso login [--staging|--prod] [--backend URL] [--dashboard URL]
|
|
1251
1253
|
localizeaso login --email you@example.com --password-stdin [--backend URL] [--dashboard URL]
|
|
1252
1254
|
localizeaso login --email you@example.com --password-stdin --staging
|
|
1253
1255
|
localizeaso login --email you@example.com --password-stdin --prod
|
|
1254
1256
|
|
|
1255
1257
|
Options:
|
|
1258
|
+
Default Open a browser-based dashboard login and wait for approval.
|
|
1256
1259
|
--email EMAIL Account email.
|
|
1257
1260
|
--password-stdin Read password from stdin.
|
|
1258
1261
|
--password VALUE Local-only convenience; avoid in shared shells.
|
|
@@ -1260,6 +1263,8 @@ Options:
|
|
|
1260
1263
|
--dashboard URL Dashboard URL for review links.
|
|
1261
1264
|
--staging Use staging defaults.
|
|
1262
1265
|
--prod Use production defaults.
|
|
1266
|
+
--no-open Print the dashboard login link without opening a browser.
|
|
1267
|
+
--timeout SECONDS Browser-login wait timeout. Defaults to 600.
|
|
1263
1268
|
--json Print machine-readable result.
|
|
1264
1269
|
`);
|
|
1265
1270
|
}
|
|
@@ -1470,6 +1475,136 @@ async function readJsonResponse(response) {
|
|
|
1470
1475
|
}
|
|
1471
1476
|
}
|
|
1472
1477
|
|
|
1478
|
+
function shouldOpenBrowser(flags = {}, env = process.env) {
|
|
1479
|
+
if (flags.open === false || flags['no-open'] === true) return false;
|
|
1480
|
+
if (env.LOCALIZEASO_DISABLE_OPEN === '1' || env.LOCALIZEASO_DISABLE_BROWSER_OPEN === '1') return false;
|
|
1481
|
+
return true;
|
|
1482
|
+
}
|
|
1483
|
+
|
|
1484
|
+
function openBrowser(url) {
|
|
1485
|
+
const command = process.platform === 'darwin'
|
|
1486
|
+
? 'open'
|
|
1487
|
+
: process.platform === 'win32'
|
|
1488
|
+
? 'cmd'
|
|
1489
|
+
: 'xdg-open';
|
|
1490
|
+
const args = process.platform === 'win32' ? ['/c', 'start', '', url] : [url];
|
|
1491
|
+
const result = spawnSync(command, args, { stdio: 'ignore' });
|
|
1492
|
+
return !result.error && result.status === 0;
|
|
1493
|
+
}
|
|
1494
|
+
|
|
1495
|
+
function delay(ms) {
|
|
1496
|
+
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
1497
|
+
}
|
|
1498
|
+
|
|
1499
|
+
function writeLoginSessionConfig({ profile, backend, dashboard, token, user, session }) {
|
|
1500
|
+
const existing = readCliConfig();
|
|
1501
|
+
const config = {
|
|
1502
|
+
...existing,
|
|
1503
|
+
profile,
|
|
1504
|
+
backend,
|
|
1505
|
+
...(dashboard ? { dashboard } : {}),
|
|
1506
|
+
token,
|
|
1507
|
+
user: user ?? null,
|
|
1508
|
+
session: {
|
|
1509
|
+
token_type: session?.token_type || 'bearer',
|
|
1510
|
+
expires_at: session?.expires_at ?? null,
|
|
1511
|
+
},
|
|
1512
|
+
updatedAt: new Date().toISOString(),
|
|
1513
|
+
};
|
|
1514
|
+
const path = writeCliConfig(config);
|
|
1515
|
+
return { config, path };
|
|
1516
|
+
}
|
|
1517
|
+
|
|
1518
|
+
async function browserLoginCommand({ flags, profile, backend, dashboard, json }) {
|
|
1519
|
+
const timeoutSeconds = Number(flags.timeout || flags['timeout-seconds'] || 600);
|
|
1520
|
+
const timeoutMs = Number.isFinite(timeoutSeconds) && timeoutSeconds > 0
|
|
1521
|
+
? timeoutSeconds * 1000
|
|
1522
|
+
: 600_000;
|
|
1523
|
+
|
|
1524
|
+
const startResponse = await fetch(`${backend}/auth/cli-device/start`, {
|
|
1525
|
+
method: 'POST',
|
|
1526
|
+
headers: { 'content-type': 'application/json' },
|
|
1527
|
+
body: JSON.stringify({ profile: profile.profile }),
|
|
1528
|
+
});
|
|
1529
|
+
const startPayload = await readJsonResponse(startResponse);
|
|
1530
|
+
const loginUrl = typeof startPayload?.loginUrl === 'string' ? startPayload.loginUrl : '';
|
|
1531
|
+
const pollIntervalMs = Number(startPayload?.pollIntervalMs || 2000);
|
|
1532
|
+
const pollEveryMs = Number.isFinite(pollIntervalMs) ? Math.max(250, pollIntervalMs) : 2000;
|
|
1533
|
+
const token = loginUrl ? new URL(loginUrl).searchParams.get('token') || '' : '';
|
|
1534
|
+
|
|
1535
|
+
if (!startResponse.ok || !loginUrl || !token) {
|
|
1536
|
+
console.error(startPayload?.error || `Could not start CLI login with HTTP ${startResponse.status}.`);
|
|
1537
|
+
return 1;
|
|
1538
|
+
}
|
|
1539
|
+
|
|
1540
|
+
const opened = shouldOpenBrowser(flags) ? openBrowser(loginUrl) : false;
|
|
1541
|
+
|
|
1542
|
+
if (json) {
|
|
1543
|
+
console.error(`Open this link to connect the LocalizeASO CLI: ${loginUrl}`);
|
|
1544
|
+
} else {
|
|
1545
|
+
console.log('Open this link to connect the LocalizeASO CLI:');
|
|
1546
|
+
console.log(loginUrl);
|
|
1547
|
+
console.log('');
|
|
1548
|
+
console.log('Waiting for dashboard approval...');
|
|
1549
|
+
}
|
|
1550
|
+
|
|
1551
|
+
const deadline = Date.now() + timeoutMs;
|
|
1552
|
+
while (Date.now() < deadline) {
|
|
1553
|
+
await delay(pollEveryMs);
|
|
1554
|
+
const pollResponse = await fetch(`${backend}/auth/cli-device/poll`, {
|
|
1555
|
+
method: 'POST',
|
|
1556
|
+
headers: { 'content-type': 'application/json' },
|
|
1557
|
+
body: JSON.stringify({ token }),
|
|
1558
|
+
});
|
|
1559
|
+
const pollPayload = await readJsonResponse(pollResponse);
|
|
1560
|
+
|
|
1561
|
+
if (pollResponse.status === 202) continue;
|
|
1562
|
+
|
|
1563
|
+
const sessionToken = typeof pollPayload?.session?.access_token === 'string'
|
|
1564
|
+
? pollPayload.session.access_token.trim()
|
|
1565
|
+
: '';
|
|
1566
|
+
if (pollResponse.ok && sessionToken) {
|
|
1567
|
+
const { config, path } = writeLoginSessionConfig({
|
|
1568
|
+
profile: profile.profile,
|
|
1569
|
+
backend,
|
|
1570
|
+
dashboard,
|
|
1571
|
+
token: sessionToken,
|
|
1572
|
+
user: pollPayload.user ?? null,
|
|
1573
|
+
session: pollPayload.session ?? null,
|
|
1574
|
+
});
|
|
1575
|
+
|
|
1576
|
+
if (json) {
|
|
1577
|
+
console.log(
|
|
1578
|
+
JSON.stringify(
|
|
1579
|
+
{
|
|
1580
|
+
kind: 'localizeaso_cli_login',
|
|
1581
|
+
ok: true,
|
|
1582
|
+
configPath: path,
|
|
1583
|
+
profile: config.profile,
|
|
1584
|
+
backend,
|
|
1585
|
+
dashboard: dashboard || null,
|
|
1586
|
+
user: config.user,
|
|
1587
|
+
tokenStored: true,
|
|
1588
|
+
},
|
|
1589
|
+
null,
|
|
1590
|
+
2,
|
|
1591
|
+
),
|
|
1592
|
+
);
|
|
1593
|
+
} else {
|
|
1594
|
+
console.log(`Logged in${config.user?.email ? ` as ${config.user.email}` : ''}.`);
|
|
1595
|
+
console.log(`Saved CLI session to ${path}.`);
|
|
1596
|
+
}
|
|
1597
|
+
return 0;
|
|
1598
|
+
}
|
|
1599
|
+
|
|
1600
|
+
console.error(pollPayload?.error || `CLI login failed with HTTP ${pollResponse.status}.`);
|
|
1601
|
+
return 1;
|
|
1602
|
+
}
|
|
1603
|
+
|
|
1604
|
+
console.error('CLI login timed out. Run localizeaso login again to create a fresh link.');
|
|
1605
|
+
return 1;
|
|
1606
|
+
}
|
|
1607
|
+
|
|
1473
1608
|
async function loginCommand(args = []) {
|
|
1474
1609
|
if (args.includes('--help') || args.includes('-h')) {
|
|
1475
1610
|
printAuthUsage('login');
|
|
@@ -1487,9 +1622,9 @@ async function loginCommand(args = []) {
|
|
|
1487
1622
|
console.error('Missing backend URL. Use --backend URL, --staging, or --prod.');
|
|
1488
1623
|
return 2;
|
|
1489
1624
|
}
|
|
1625
|
+
|
|
1490
1626
|
if (!email) {
|
|
1491
|
-
|
|
1492
|
-
return 2;
|
|
1627
|
+
return browserLoginCommand({ flags, profile, backend, dashboard, json });
|
|
1493
1628
|
}
|
|
1494
1629
|
if (!password) {
|
|
1495
1630
|
console.error('Missing password. Pipe it with --password-stdin or pass --password for local-only tests.');
|
|
@@ -1509,21 +1644,14 @@ async function loginCommand(args = []) {
|
|
|
1509
1644
|
return 1;
|
|
1510
1645
|
}
|
|
1511
1646
|
|
|
1512
|
-
const
|
|
1513
|
-
const config = {
|
|
1514
|
-
...existing,
|
|
1647
|
+
const { config, path } = writeLoginSessionConfig({
|
|
1515
1648
|
profile: profile.profile,
|
|
1516
1649
|
backend,
|
|
1517
|
-
|
|
1650
|
+
dashboard,
|
|
1518
1651
|
token,
|
|
1519
1652
|
user: payload.user ?? null,
|
|
1520
|
-
session:
|
|
1521
|
-
|
|
1522
|
-
expires_at: payload.session?.expires_at ?? null,
|
|
1523
|
-
},
|
|
1524
|
-
updatedAt: new Date().toISOString(),
|
|
1525
|
-
};
|
|
1526
|
-
const path = writeCliConfig(config);
|
|
1653
|
+
session: payload.session ?? null,
|
|
1654
|
+
});
|
|
1527
1655
|
|
|
1528
1656
|
if (json) {
|
|
1529
1657
|
console.log(
|
package/scripts/review-agent.mjs
CHANGED
|
@@ -27,8 +27,8 @@ import {
|
|
|
27
27
|
|
|
28
28
|
const LOCAL_BACKEND_URL = 'http://localhost:8787';
|
|
29
29
|
const LOCAL_DASHBOARD_URL = 'http://localhost:5174';
|
|
30
|
-
const STAGING_BACKEND_URL = 'https://
|
|
31
|
-
const STAGING_DASHBOARD_URL = 'https://
|
|
30
|
+
const STAGING_BACKEND_URL = 'https://api.staging.localizeaso.com';
|
|
31
|
+
const STAGING_DASHBOARD_URL = 'https://dash.staging.localizeaso.com';
|
|
32
32
|
const DEFAULT_CLI_CONFIG_PATH = path.join(homedir(), '.localizeaso', 'config.json');
|
|
33
33
|
const SAFE_SHELL_TOKEN_RE = /^[A-Za-z0-9_./:@%+=,-]+$/;
|
|
34
34
|
const REFINE_NEXT_AGENT_RUN_CONTEXT_BOUNDARY =
|
package/scripts/review-mcp.mjs
CHANGED
|
@@ -13,7 +13,7 @@ const localizeAsoScript = join(__dirname, 'localizeaso.mjs');
|
|
|
13
13
|
const astroMcpExportScript = join(__dirname, 'export-astro-mcp-apps.mjs');
|
|
14
14
|
const repoRoot = join(__dirname, '..');
|
|
15
15
|
const LOCAL_DASHBOARD_URL = 'http://localhost:5174';
|
|
16
|
-
const STAGING_DASHBOARD_URL = 'https://
|
|
16
|
+
const STAGING_DASHBOARD_URL = 'https://dash.staging.localizeaso.com';
|
|
17
17
|
|
|
18
18
|
process.stdout.on('error', (error) => {
|
|
19
19
|
if (error?.code === 'EPIPE') process.exit(0);
|