@rudderhq/cli 0.4.6-canary.0 → 0.4.6-canary.1
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/index.js +3 -45
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -496,13 +496,6 @@ var init_agent_run = __esm({
|
|
|
496
496
|
}
|
|
497
497
|
});
|
|
498
498
|
|
|
499
|
-
// ../packages/shared/dist/types/observability.js
|
|
500
|
-
var init_observability = __esm({
|
|
501
|
-
"../packages/shared/dist/types/observability.js"() {
|
|
502
|
-
"use strict";
|
|
503
|
-
}
|
|
504
|
-
});
|
|
505
|
-
|
|
506
499
|
// ../packages/shared/dist/types/workspace-backup.js
|
|
507
500
|
var init_workspace_backup = __esm({
|
|
508
501
|
"../packages/shared/dist/types/workspace-backup.js"() {
|
|
@@ -623,7 +616,7 @@ var init_custom_integration = __esm({
|
|
|
623
616
|
|
|
624
617
|
// ../packages/shared/dist/validators/instance.js
|
|
625
618
|
import { z as z2 } from "zod";
|
|
626
|
-
var DEFAULT_INSTANCE_BROWSER_SETTINGS, instanceBrowserSettingsSchema, patchInstanceBrowserSettingsSchema, instanceLocaleSchema, instanceGeneralSettingsSchema, patchInstanceGeneralSettingsSchema, instanceNotificationSettingsSchema, patchInstanceNotificationSettingsSchema,
|
|
619
|
+
var DEFAULT_INSTANCE_BROWSER_SETTINGS, instanceBrowserSettingsSchema, patchInstanceBrowserSettingsSchema, instanceLocaleSchema, instanceGeneralSettingsSchema, patchInstanceGeneralSettingsSchema, instanceNotificationSettingsSchema, patchInstanceNotificationSettingsSchema, OPERATOR_PROFILE_MORE_ABOUT_YOU_MAX_LENGTH, operatorProfileSettingsSchema, patchOperatorProfileSettingsSchema, KEYBOARD_SHORTCUT_ACTION_IDS, keyboardShortcutActionIdSchema, keyboardShortcutBindingSchema, keyboardShortcutPreferenceSchema, keyboardShortcutSettingsSchema, instancePathPickerSelectionTypeSchema, instancePathPickerRequestSchema, instancePathPickerResultSchema;
|
|
627
620
|
var init_instance = __esm({
|
|
628
621
|
"../packages/shared/dist/validators/instance.js"() {
|
|
629
622
|
"use strict";
|
|
@@ -653,23 +646,6 @@ var init_instance = __esm({
|
|
|
653
646
|
desktopChatNotifications: z2.boolean().default(true)
|
|
654
647
|
}).strict();
|
|
655
648
|
patchInstanceNotificationSettingsSchema = instanceNotificationSettingsSchema.partial();
|
|
656
|
-
instanceLangfuseSettingsSchema = z2.object({
|
|
657
|
-
installed: z2.boolean().default(false),
|
|
658
|
-
enabled: z2.boolean().default(false),
|
|
659
|
-
baseUrl: z2.string().url().default("http://localhost:3000"),
|
|
660
|
-
publicKey: z2.string().default(""),
|
|
661
|
-
environment: z2.string().default(""),
|
|
662
|
-
secretKeyConfigured: z2.boolean().default(false),
|
|
663
|
-
managedByEnv: z2.boolean().default(false)
|
|
664
|
-
}).strict();
|
|
665
|
-
patchInstanceLangfuseSettingsSchema = z2.object({
|
|
666
|
-
enabled: z2.boolean().optional(),
|
|
667
|
-
baseUrl: z2.string().url().optional(),
|
|
668
|
-
publicKey: z2.string().optional(),
|
|
669
|
-
secretKey: z2.string().optional(),
|
|
670
|
-
environment: z2.string().optional(),
|
|
671
|
-
clearSecretKey: z2.boolean().optional()
|
|
672
|
-
}).strict();
|
|
673
649
|
OPERATOR_PROFILE_MORE_ABOUT_YOU_MAX_LENGTH = 8e3;
|
|
674
650
|
operatorProfileSettingsSchema = z2.object({
|
|
675
651
|
nickname: z2.string().max(80).default(""),
|
|
@@ -3188,7 +3164,7 @@ var init_issue_activity = __esm({
|
|
|
3188
3164
|
|
|
3189
3165
|
// ../packages/shared/dist/config-schema.js
|
|
3190
3166
|
import { z as z29 } from "zod";
|
|
3191
|
-
var DEFAULT_DATABASE_BACKUP_MAX_ESTIMATED_BYTES, configMetaSchema, llmConfigSchema, databaseBackupConfigSchema, databaseConfigSchema, loggingConfigSchema, serverConfigSchema, authConfigSchema, storageLocalDiskConfigSchema, storageS3ConfigSchema, storageConfigSchema, secretsLocalEncryptedConfigSchema, secretsConfigSchema,
|
|
3167
|
+
var DEFAULT_DATABASE_BACKUP_MAX_ESTIMATED_BYTES, configMetaSchema, llmConfigSchema, databaseBackupConfigSchema, databaseConfigSchema, loggingConfigSchema, serverConfigSchema, authConfigSchema, storageLocalDiskConfigSchema, storageS3ConfigSchema, storageConfigSchema, secretsLocalEncryptedConfigSchema, secretsConfigSchema, rudderConfigSchema;
|
|
3192
3168
|
var init_config_schema = __esm({
|
|
3193
3169
|
"../packages/shared/dist/config-schema.js"() {
|
|
3194
3170
|
"use strict";
|
|
@@ -3272,14 +3248,6 @@ var init_config_schema = __esm({
|
|
|
3272
3248
|
keyFilePath: "~/.rudder/instances/default/secrets/master.key"
|
|
3273
3249
|
})
|
|
3274
3250
|
});
|
|
3275
|
-
langfuseConfigSchema = z29.object({
|
|
3276
|
-
installed: z29.boolean().optional(),
|
|
3277
|
-
enabled: z29.boolean().default(false),
|
|
3278
|
-
baseUrl: z29.string().url().default("http://localhost:3000"),
|
|
3279
|
-
publicKey: z29.string().optional(),
|
|
3280
|
-
secretKey: z29.string().optional(),
|
|
3281
|
-
environment: z29.string().optional()
|
|
3282
|
-
});
|
|
3283
3251
|
rudderConfigSchema = z29.object({
|
|
3284
3252
|
$meta: configMetaSchema,
|
|
3285
3253
|
llm: llmConfigSchema.optional(),
|
|
@@ -3308,8 +3276,7 @@ var init_config_schema = __esm({
|
|
|
3308
3276
|
localEncrypted: {
|
|
3309
3277
|
keyFilePath: "~/.rudder/instances/default/secrets/master.key"
|
|
3310
3278
|
}
|
|
3311
|
-
})
|
|
3312
|
-
langfuse: langfuseConfigSchema.optional()
|
|
3279
|
+
})
|
|
3313
3280
|
}).superRefine((value, ctx) => {
|
|
3314
3281
|
if (value.server.deploymentMode === "local_trusted") {
|
|
3315
3282
|
if (value.server.exposure !== "private") {
|
|
@@ -3353,7 +3320,6 @@ var init_dist = __esm({
|
|
|
3353
3320
|
init_chat_work_manifest();
|
|
3354
3321
|
init_constants();
|
|
3355
3322
|
init_agent_run();
|
|
3356
|
-
init_observability();
|
|
3357
3323
|
init_workspace_backup();
|
|
3358
3324
|
init_website_icons();
|
|
3359
3325
|
init_custom_integration();
|
|
@@ -14382,7 +14348,6 @@ function formatRunListRow(row) {
|
|
|
14382
14348
|
finishedAt: row.run.finishedAt ?? "-",
|
|
14383
14349
|
evidence: row.skillEvidence?.evidenceType ?? "-",
|
|
14384
14350
|
skill: row.skillEvidence?.matchedSkillKey ?? "-",
|
|
14385
|
-
langfuse: readLangfuseTraceUrl(row.langfuse) ?? "-",
|
|
14386
14351
|
error: row.errorSummary ?? "-",
|
|
14387
14352
|
next: row.run.status === "failed" ? `rudder runs errors ${runId}` : `rudder runs transcript ${runId}`
|
|
14388
14353
|
};
|
|
@@ -14460,7 +14425,6 @@ function formatInlineSkillRun(row) {
|
|
|
14460
14425
|
const runId = formatCliRunId(row.run.id);
|
|
14461
14426
|
const issue = formatIssueRef(row.issue);
|
|
14462
14427
|
const label = row.skillEvidence?.matchedSkillLabel && row.skillEvidence.matchedSkillLabel !== row.skillEvidence.matchedSkillKey ? ` label=${row.skillEvidence.matchedSkillLabel}` : "";
|
|
14463
|
-
const langfuse = readLangfuseTraceUrl(row.langfuse);
|
|
14464
14428
|
return [
|
|
14465
14429
|
`id=${runId}`,
|
|
14466
14430
|
`status=${row.run.status}`,
|
|
@@ -14471,7 +14435,6 @@ function formatInlineSkillRun(row) {
|
|
|
14471
14435
|
`finishedAt=${row.run.finishedAt ?? "-"}`,
|
|
14472
14436
|
`evidence=${row.skillEvidence?.evidenceType ?? "-"}`,
|
|
14473
14437
|
`skill=${row.skillEvidence?.matchedSkillKey ?? "-"}${label}`,
|
|
14474
|
-
`langfuse=${langfuse ?? "-"}`,
|
|
14475
14438
|
`error=${row.errorSummary ?? "-"}`,
|
|
14476
14439
|
`next=${row.run.status === "failed" ? `rudder runs errors ${runId}` : `rudder runs transcript ${runId}`}`
|
|
14477
14440
|
].join(" ");
|
|
@@ -14480,11 +14443,6 @@ function formatIssueRef(issue) {
|
|
|
14480
14443
|
if (!issue) return "-";
|
|
14481
14444
|
return issue.identifier && issue.title ? `${issue.identifier} ${issue.title}` : issue.identifier ?? issue.title ?? issue.id;
|
|
14482
14445
|
}
|
|
14483
|
-
function readLangfuseTraceUrl(value) {
|
|
14484
|
-
if (!value || typeof value !== "object") return null;
|
|
14485
|
-
const traceUrl = value.traceUrl;
|
|
14486
|
-
return typeof traceUrl === "string" && traceUrl.length > 0 ? traceUrl : null;
|
|
14487
|
-
}
|
|
14488
14446
|
function formatRunEvent(row) {
|
|
14489
14447
|
return {
|
|
14490
14448
|
seq: row.seq,
|