@analyticscli/growth-engineer 0.1.0-preview.11 → 0.1.0-preview.13
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/config.js +2 -2
- package/dist/config.js.map +1 -1
- package/dist/runtime/openclaw-growth-preflight.mjs +19 -5
- package/dist/runtime/openclaw-growth-preflight.mjs.map +1 -1
- package/dist/runtime/openclaw-growth-runner.mjs +64 -11
- package/dist/runtime/openclaw-growth-runner.mjs.map +1 -1
- package/dist/runtime/openclaw-growth-start.mjs +1 -1
- package/dist/runtime/openclaw-growth-start.mjs.map +1 -1
- package/dist/runtime/openclaw-growth-wizard.mjs +15 -15
- package/dist/runtime/openclaw-growth-wizard.mjs.map +1 -1
- package/package.json +1 -1
- package/templates/config.example.json +1 -1
|
@@ -3195,7 +3195,7 @@ async function buildDefaultWizardConfig() {
|
|
|
3195
3195
|
command: getWizardDefaultSourceCommand('analytics'),
|
|
3196
3196
|
},
|
|
3197
3197
|
revenuecat: {
|
|
3198
|
-
enabled:
|
|
3198
|
+
enabled: true,
|
|
3199
3199
|
mode: 'command',
|
|
3200
3200
|
command: getWizardDefaultSourceCommand('revenuecat'),
|
|
3201
3201
|
},
|
|
@@ -3212,7 +3212,7 @@ async function buildDefaultWizardConfig() {
|
|
|
3212
3212
|
initialLookback: '30d',
|
|
3213
3213
|
},
|
|
3214
3214
|
extra: [
|
|
3215
|
-
buildExtraSourceConfig('asc-cli', { enabled:
|
|
3215
|
+
buildExtraSourceConfig('asc-cli', { enabled: true, mode: 'command', command: getWizardDefaultSourceCommand('asc') }),
|
|
3216
3216
|
],
|
|
3217
3217
|
},
|
|
3218
3218
|
schedule: {
|
|
@@ -3223,11 +3223,12 @@ async function buildDefaultWizardConfig() {
|
|
|
3223
3223
|
cadences: DEFAULT_CADENCE_PLAN.map((cadence) => ({ ...cadence })),
|
|
3224
3224
|
},
|
|
3225
3225
|
actions: {
|
|
3226
|
-
autoCreateIssues:
|
|
3226
|
+
autoCreateIssues: true,
|
|
3227
3227
|
autoCreatePullRequests: false,
|
|
3228
3228
|
autoCreateWhenGitHubWriteAccess: true,
|
|
3229
3229
|
disableAutoCreateGitHubArtifacts: false,
|
|
3230
3230
|
mode: 'issue',
|
|
3231
|
+
outputDestinations: ['openclaw_chat', 'github_issue', 'github_pull_request'],
|
|
3231
3232
|
usageMode: 'production_autopilot',
|
|
3232
3233
|
draftPullRequests: true,
|
|
3233
3234
|
proposalBranchPrefix: 'openclaw/proposals',
|
|
@@ -3239,9 +3240,9 @@ async function buildDefaultWizardConfig() {
|
|
|
3239
3240
|
jsonPath: '.openclaw/chat/latest.json',
|
|
3240
3241
|
},
|
|
3241
3242
|
github: {
|
|
3242
|
-
enabled:
|
|
3243
|
+
enabled: true,
|
|
3243
3244
|
mode: 'issue',
|
|
3244
|
-
autoCreate:
|
|
3245
|
+
autoCreate: true,
|
|
3245
3246
|
draftPullRequests: true,
|
|
3246
3247
|
proposalBranchPrefix: 'openclaw/proposals',
|
|
3247
3248
|
},
|
|
@@ -3261,7 +3262,7 @@ async function buildDefaultWizardConfig() {
|
|
|
3261
3262
|
},
|
|
3262
3263
|
},
|
|
3263
3264
|
charting: {
|
|
3264
|
-
enabled:
|
|
3265
|
+
enabled: true,
|
|
3265
3266
|
command: null,
|
|
3266
3267
|
},
|
|
3267
3268
|
notifications: {
|
|
@@ -3308,7 +3309,7 @@ function buildRecommendedSourceConfig() {
|
|
|
3308
3309
|
command: getWizardDefaultSourceCommand('analytics'),
|
|
3309
3310
|
},
|
|
3310
3311
|
revenuecat: {
|
|
3311
|
-
enabled:
|
|
3312
|
+
enabled: true,
|
|
3312
3313
|
mode: 'command',
|
|
3313
3314
|
command: getWizardDefaultSourceCommand('revenuecat'),
|
|
3314
3315
|
},
|
|
@@ -3325,7 +3326,7 @@ function buildRecommendedSourceConfig() {
|
|
|
3325
3326
|
initialLookback: '30d',
|
|
3326
3327
|
},
|
|
3327
3328
|
extra: [
|
|
3328
|
-
buildExtraSourceConfig('asc-cli', { enabled:
|
|
3329
|
+
buildExtraSourceConfig('asc-cli', { enabled: true, mode: 'command', command: getWizardDefaultSourceCommand('asc') }),
|
|
3329
3330
|
],
|
|
3330
3331
|
};
|
|
3331
3332
|
}
|
|
@@ -3334,6 +3335,8 @@ function getInputChannelInitialSelection(config) {
|
|
|
3334
3335
|
const extraSources = Array.isArray(sources.extra) ? sources.extra : [];
|
|
3335
3336
|
const selected = new Set();
|
|
3336
3337
|
const hasExplicitSources = Boolean(config?.sources);
|
|
3338
|
+
if (!hasExplicitSources)
|
|
3339
|
+
return orderConnectors([...CONNECTOR_KEYS]);
|
|
3337
3340
|
if (!hasExplicitSources || sources.analytics?.enabled !== false)
|
|
3338
3341
|
selected.add('analytics');
|
|
3339
3342
|
if (sources.revenuecat?.enabled === true || isConnectorLocallyConfigured('revenuecat'))
|
|
@@ -3345,12 +3348,9 @@ function getInputChannelInitialSelection(config) {
|
|
|
3345
3348
|
isConnectorLocallyConfigured('asc')) {
|
|
3346
3349
|
selected.add('asc');
|
|
3347
3350
|
}
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
|
|
3351
|
-
isConnectorLocallyConfigured('github')) {
|
|
3352
|
-
selected.add('github');
|
|
3353
|
-
}
|
|
3351
|
+
selected.add('github');
|
|
3352
|
+
if (selected.size === 0)
|
|
3353
|
+
return orderConnectors([...CONNECTOR_KEYS]);
|
|
3354
3354
|
return orderConnectors([...selected]);
|
|
3355
3355
|
}
|
|
3356
3356
|
function buildSourceConfigFromInputChannels(selectedConnectors, existingSources = {}) {
|
|
@@ -3616,7 +3616,7 @@ async function askGitHubArtifactDetails(rl, config) {
|
|
|
3616
3616
|
if (!customize) {
|
|
3617
3617
|
config.charting = {
|
|
3618
3618
|
...(config.charting || {}),
|
|
3619
|
-
enabled: config.charting?.enabled
|
|
3619
|
+
enabled: config.charting?.enabled !== false,
|
|
3620
3620
|
command: config.charting?.command || null,
|
|
3621
3621
|
};
|
|
3622
3622
|
return config;
|