@vreko/cli 3.1.9 → 3.2.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/dist/{InitApp-XAHILEYM.js → InitApp-YM5CK55D.js} +3 -3
- package/dist/{InitApp-XAHILEYM.js.map → InitApp-YM5CK55D.js.map} +1 -1
- package/dist/{auth-YUOZ5X5P.js → auth-HP6IY25M.js} +9 -9
- package/dist/{auth-YUOZ5X5P.js.map → auth-HP6IY25M.js.map} +1 -1
- package/dist/{chunk-3KI4MRVU.js → chunk-3YXBGNHD.js} +3 -3
- package/dist/{chunk-3KI4MRVU.js.map → chunk-3YXBGNHD.js.map} +1 -1
- package/dist/{chunk-A57QYXVY.js → chunk-53BJRUUT.js} +4 -4
- package/dist/{chunk-A57QYXVY.js.map → chunk-53BJRUUT.js.map} +1 -1
- package/dist/{chunk-TJMLS25C.js → chunk-FROYVC6U.js} +4 -4
- package/dist/{chunk-TJMLS25C.js.map → chunk-FROYVC6U.js.map} +1 -1
- package/dist/{chunk-WFE5TEHG.js → chunk-IERTYZXC.js} +2 -2
- package/dist/{chunk-WFE5TEHG.js.map → chunk-IERTYZXC.js.map} +1 -1
- package/dist/{dist-BEOOZSLV.js → dist-JDTWHZQL.js} +3 -3
- package/dist/{dist-BEOOZSLV.js.map → dist-JDTWHZQL.js.map} +1 -1
- package/dist/{dist-VE7FA5YB.js → dist-NJCJFUQI.js} +3 -3
- package/dist/{dist-VE7FA5YB.js.map → dist-NJCJFUQI.js.map} +1 -1
- package/dist/index.js +10 -10
- package/dist/index.js.map +1 -1
- package/dist/init-command-LXEBDSYX.js +7 -0
- package/dist/{init-command-JUVD7TN3.js.map → init-command-LXEBDSYX.js.map} +1 -1
- package/dist/{init-core-PNDHWMCD.js → init-core-ETGVVENN.js} +4 -4
- package/dist/{init-core-PNDHWMCD.js.map → init-core-ETGVVENN.js.map} +1 -1
- package/node_modules/@vreko/auth/.turbo/turbo-build.log +27 -26
- package/node_modules/@vreko/auth/.turbo/turbo-test.log +13 -13
- package/node_modules/@vreko/auth/CLAUDE.md +7 -7
- package/node_modules/@vreko/claims-ledger/.turbo/turbo-build.log +1 -1
- package/node_modules/@vreko/claims-ledger/.turbo/turbo-test.log +27 -27
- package/node_modules/@vreko/mcp-config/.turbo/turbo-build.log +2 -2
- package/node_modules/@vreko/mcp-config/CLAUDE.md +2 -2
- package/node_modules/@vreko/sentry-privacy/.turbo/turbo-build.log +2 -2
- package/package.json +2 -2
- package/dist/init-command-JUVD7TN3.js +0 -7
- /package/dist/{._InitApp-XAHILEYM.js → ._InitApp-YM5CK55D.js} +0 -0
- /package/dist/{._InitApp-XAHILEYM.js.map → ._InitApp-YM5CK55D.js.map} +0 -0
- /package/dist/{._auth-YUOZ5X5P.js → ._auth-HP6IY25M.js} +0 -0
- /package/dist/{._auth-YUOZ5X5P.js.map → ._auth-HP6IY25M.js.map} +0 -0
- /package/dist/{._chunk-3KI4MRVU.js → ._chunk-3YXBGNHD.js} +0 -0
- /package/dist/{._chunk-3KI4MRVU.js.map → ._chunk-3YXBGNHD.js.map} +0 -0
- /package/dist/{._chunk-A57QYXVY.js → ._chunk-53BJRUUT.js} +0 -0
- /package/dist/{._chunk-A57QYXVY.js.map → ._chunk-53BJRUUT.js.map} +0 -0
- /package/dist/{._chunk-TJMLS25C.js → ._chunk-FROYVC6U.js} +0 -0
- /package/dist/{._chunk-TJMLS25C.js.map → ._chunk-FROYVC6U.js.map} +0 -0
- /package/dist/{._chunk-WFE5TEHG.js → ._chunk-IERTYZXC.js} +0 -0
- /package/dist/{._chunk-WFE5TEHG.js.map → ._chunk-IERTYZXC.js.map} +0 -0
- /package/dist/{._dist-BEOOZSLV.js → ._dist-JDTWHZQL.js} +0 -0
- /package/dist/{._dist-BEOOZSLV.js.map → ._dist-JDTWHZQL.js.map} +0 -0
- /package/dist/{._dist-VE7FA5YB.js → ._dist-NJCJFUQI.js} +0 -0
- /package/dist/{._dist-VE7FA5YB.js.map → ._dist-NJCJFUQI.js.map} +0 -0
- /package/dist/{._init-command-JUVD7TN3.js → ._init-command-LXEBDSYX.js} +0 -0
- /package/dist/{._init-command-JUVD7TN3.js.map → ._init-command-LXEBDSYX.js.map} +0 -0
- /package/dist/{._init-core-PNDHWMCD.js → ._init-core-ETGVVENN.js} +0 -0
- /package/dist/{._init-core-PNDHWMCD.js.map → ._init-core-ETGVVENN.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
export { AccountSchema, AiChatSchema, AttributionServiceImpl, EntitlementsServiceImpl, InvitationSchema, MCPService, MemberSchema, OrganizationSchema, OrganizationUpdateSchema, PasskeySchema, PurchaseInsertSchema, PurchaseSchema, PurchaseUpdateSchema, SagaOrchestratorImpl, SessionSchema, SnapshotStoreDb, TelemetrySinkDb, TelemetrySinkDbAdapter, UserSchema, UserUpdateSchema, VerificationSchema, anonymizeEmail, anonymizeUserData, anonymizeUserId, appendFalsePositivePatterns, calculateDecayedWeight, cleanupExpiredData, clearCapabilityCache, closeTestDb, countAllOrganizations, countAllUsers, createPurchase, createTestUser, createTierUpgradeSagaWithDeps, createUser, createUserAccount, databaseService, deletePurchaseBySubscriptionId, deleteUserApiKeys, deleteUserData, exportUserData, extensionLinkTokens, extensionSessions as extensionSessionsAuth, findSimilarPatterns, generateOrganizationSlug, getAccountById, getCacheMetrics, getCapabilities, getCapabilityAuditHistory, getInvitationById, getMCPService, getOrganizationById, getOrganizationBySlug, getOrganizationMembership, getOrganizationWithPurchasesAndMembersCount, getOrganizations, getOrganizationsWithMembers, getPendingInvitationByEmail, getPurchaseById, getPurchaseBySubscriptionId, getPurchasesByOrganizationId, getPurchasesByUserId, getTestDb, getUserByEmail, getUserById, getUserPrivacyPreferences, getUsers, getVectorStats, getWorkspaceLinkById, getWorkspaceLinksByUserId, handleTierDowngrade, handleTierUpgrade, healthCheck, incrementDetectionsAnalyzed, insertPatternWithEmbedding, invalidateCapabilityCache, isPgvectorEnabled, linkWorkspace, logAnonymizedEvent, logCapabilityAudit, mergeSignalIntoPattern, recordFalsePositiveSignal, resetCacheMetrics, resetCapabilities, resolveTierByWorkspaceId, sagaPersistence, sanitizeForLogging, searchSimilarPatterns, shouldRetainData, signalToPattern, testInTransaction, truncateAllTables, unlinkAllWorkspacesForUser, unlinkWorkspace, updateCapabilities, updateOrganization, updatePatternEmbedding, updatePurchase, updateUser, updateWorkspaceTier } from './chunk-CZQ3QYTJ.js';
|
|
3
3
|
export { closeRedis, getRedisClient, initializeRedis, isRedisAvailable } from './chunk-3KKPXC3D.js';
|
|
4
|
-
import './chunk-
|
|
4
|
+
import './chunk-IERTYZXC.js';
|
|
5
5
|
import './chunk-GOYL3F4T.js';
|
|
6
6
|
export { TOPUP_PACKS, account, activationCodeRedemptions, activationCodes, adminAuditLog, adminEmailSends, adminTierChanges, agentSuggestions, aiChanges, aiChangesRelations, analysisEvents, apiKeyMetadata, apiKeyUsage, apiKeys, apiUsage, apiUsageLogs, burnInviteCode, checkDatabaseConnection, combinedSchema, creditJobTypeEnum, creditTopups, creditTransactionStatusEnum, creditTransactionTypeEnum, creditsLedger, db, deviceTrials, emailDeliveries, emailPreferences, extensionSessions, featureUsage, feedback, fileSnapshotSessions, fingerprints, getTopupPackDetails, inviteCodes, isValidPackSize, leads, loops, mcpActivityEvents, mcpAggregatedLearnings, mcpSessions, member, newsletterSubscribers, orgDailyMetrics, organization, pendingApiKeys, pioneerCodeStatusEnum, pioneerCodes, pioneerRedemptions, pioneers, policyEvaluations, pool, postAcceptOutcomes, purchase, rateLimitViolations, responseCache, retentionConfig, rollbackEvents, ruleViolations, scheduledEmails, postgres_exports as schema, securityEvents, snapshotFiles, snapshots, subscriptions, superAdmins, telemetryDailyStats, telemetryEvents, telemetryIdempotencyKeys, telemetryOutbox, topupStatusEnum, usageLimits, user, userProductMetrics, userSafetyProfiles, vrekoSchema, waitlist, waitlistAuditLogs, waitlistReferrals, waitlistTasks } from './chunk-ZPQGP42Z.js';
|
|
7
7
|
import './chunk-3PDHMVXH.js';
|
|
@@ -10,5 +10,5 @@ import './chunk-AHZGBIQG.js';
|
|
|
10
10
|
import './chunk-EWOJGXRX.js';
|
|
11
11
|
|
|
12
12
|
process.env.VREKO_CLI='true';process.env.NODE_NO_WARNINGS='1';
|
|
13
|
-
//# sourceMappingURL=dist-
|
|
14
|
-
//# sourceMappingURL=dist-
|
|
13
|
+
//# sourceMappingURL=dist-JDTWHZQL.js.map
|
|
14
|
+
//# sourceMappingURL=dist-JDTWHZQL.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"dist-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"dist-JDTWHZQL.js"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
export { AgentAction, AgentRole, AgentSession, AnalyticsEvents, CORRELATION_ANALYSES, CORRELATION_COHORTS, KEY_METRIC_ALERTS, OTelInstrumentationProvider, RETENTION_COHORTS, TelemetryClient, addSentryBreadcrumb, attributionChain, captureError, captureMessage, checkDatabaseConnection, checkErrorBudget, checkHttpService, checkRedisConnection, clearSentryUser, conductorSessionInsights, createAlert, createCohort, createGracefulShutdown, createHealthCheck, createSentryMiddleware, decisionsWithSkips, deleteAlert, deleteCohort, detectSurface, drainAndCloseServer, emitPhaseEvent, emitRatchetScores, failedGatesInLastNRuns, flushSentry, gatesFailingFirstAttempt, getAlerts, getAnalyticsEnv, getAnalyticsSuperProperties, getCohort, getCohortMembers, getCohorts, getCorrelationAnalysis, getDeploymentEnv, getEnvironmentInfo, getErrorRate, getMetrics, gitCommitsWithoutProvenance, initSentry, isDevelopment, isProduction, neon_exports as neon, performCorrelationAnalysis, preStopDelay, prometheus_exports as prometheus, recordAction, recordDecision, recordError, recordGate, recordSuccess, registerKeyMetricAlerts, resetMetrics, setSentryUser, startSentryTransaction, toggleAlert, updateCohort, validateMetadata } from './chunk-
|
|
2
|
+
export { AgentAction, AgentRole, AgentSession, AnalyticsEvents, CORRELATION_ANALYSES, CORRELATION_COHORTS, KEY_METRIC_ALERTS, OTelInstrumentationProvider, RETENTION_COHORTS, TelemetryClient, addSentryBreadcrumb, attributionChain, captureError, captureMessage, checkDatabaseConnection, checkErrorBudget, checkHttpService, checkRedisConnection, clearSentryUser, conductorSessionInsights, createAlert, createCohort, createGracefulShutdown, createHealthCheck, createSentryMiddleware, decisionsWithSkips, deleteAlert, deleteCohort, detectSurface, drainAndCloseServer, emitPhaseEvent, emitRatchetScores, failedGatesInLastNRuns, flushSentry, gatesFailingFirstAttempt, getAlerts, getAnalyticsEnv, getAnalyticsSuperProperties, getCohort, getCohortMembers, getCohorts, getCorrelationAnalysis, getDeploymentEnv, getEnvironmentInfo, getErrorRate, getMetrics, gitCommitsWithoutProvenance, initSentry, isDevelopment, isProduction, neon_exports as neon, performCorrelationAnalysis, preStopDelay, prometheus_exports as prometheus, recordAction, recordDecision, recordError, recordGate, recordSuccess, registerKeyMetricAlerts, resetMetrics, setSentryUser, startSentryTransaction, toggleAlert, updateCohort, validateMetadata } from './chunk-IERTYZXC.js';
|
|
3
3
|
export { cache_exports as cache, logger, makeWatcher, resiliency_exports as resiliency } from './chunk-GOYL3F4T.js';
|
|
4
4
|
export { LogLevel, NoOpInstrumentationProvider } from './chunk-3PDHMVXH.js';
|
|
5
5
|
import './chunk-KJWKY4L4.js';
|
|
@@ -7,5 +7,5 @@ import './chunk-AHZGBIQG.js';
|
|
|
7
7
|
import './chunk-EWOJGXRX.js';
|
|
8
8
|
|
|
9
9
|
process.env.VREKO_CLI='true';process.env.NODE_NO_WARNINGS='1';
|
|
10
|
-
//# sourceMappingURL=dist-
|
|
11
|
-
//# sourceMappingURL=dist-
|
|
10
|
+
//# sourceMappingURL=dist-NJCJFUQI.js.map
|
|
11
|
+
//# sourceMappingURL=dist-NJCJFUQI.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"dist-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"dist-NJCJFUQI.js"}
|
package/dist/index.js
CHANGED
|
@@ -3,14 +3,14 @@ import { Sentry, createSentryConfig } from './chunk-YPTTIXKC.js';
|
|
|
3
3
|
import { detectOrphans } from './chunk-F7GEJLP7.js';
|
|
4
4
|
import './chunk-ZIIRQODJ.js';
|
|
5
5
|
import { readDashboardDescriptor } from './chunk-I4LIA7HE.js';
|
|
6
|
-
import { generateClaudeIntegration, createHooksCommand } from './chunk-
|
|
6
|
+
import { generateClaudeIntegration, createHooksCommand } from './chunk-FROYVC6U.js';
|
|
7
7
|
import { cliState } from './chunk-GRMRYWYS.js';
|
|
8
8
|
export { cliState } from './chunk-GRMRYWYS.js';
|
|
9
9
|
import { resolveWorkspaceRoot, findWorkspaceRoot } from './chunk-HEUTZR52.js';
|
|
10
10
|
import { isVrekoInitialized, getWorkspaceDir, getViolations, getProtectedFiles, appendVrekoJsonl, getCredentials, createGlobalDirectory, saveCredentials, clearCredentials, getWorkspaceVitals, saveProtectedFiles, getCurrentSession, endCurrentSession, isLoggedIn, getWorkspaceConfig, recordLearning, getLearnings, readVrekoJson, recordViolation, writeVrekoJson, getGlobalPath, getGlobalDir, saveCurrentSession, loadVrekoJsonl, getGlobalConfig, saveGlobalConfig, saveWorkspaceConfig } from './chunk-P4EZUU47.js';
|
|
11
|
-
import { connectToDaemon, isDaemonAvailable, withDaemon, getDaemonClient, withDaemonOptional, disconnectFromDaemon, isDaemonConnected } from './chunk-
|
|
11
|
+
import { connectToDaemon, isDaemonAvailable, withDaemon, getDaemonClient, withDaemonOptional, disconnectFromDaemon, isDaemonConnected } from './chunk-3YXBGNHD.js';
|
|
12
12
|
import { JsonRpcClientError, getDefaultSocketPath, createServiceClient, connectServiceClient, createSessionViaDaemon, endSessionViaDaemon, WorkspaceStatusOutput, isServiceRunning, VrekoLocalClient, readServicePid, isServiceHealthy, StartStatusOutput, getLogPath, formatDuration, formatBytes, getServiceSocketPath, getServicePidPath } from './chunk-AV5Y3YR6.js';
|
|
13
|
-
import { createInitCommand } from './chunk-
|
|
13
|
+
import { createInitCommand } from './chunk-53BJRUUT.js';
|
|
14
14
|
import { isInteractive, getRenderMode } from './chunk-H7773ONB.js';
|
|
15
15
|
import './chunk-DMXC2JTC.js';
|
|
16
16
|
import { isRedisAvailable, getCache, setCache } from './chunk-3KKPXC3D.js';
|
|
@@ -72,7 +72,7 @@ var require_package = __commonJS({
|
|
|
72
72
|
"package.json"(exports, module) {
|
|
73
73
|
module.exports = {
|
|
74
74
|
name: "@vreko/cli",
|
|
75
|
-
version: "3.
|
|
75
|
+
version: "3.2.0",
|
|
76
76
|
description: "Vreko CLI \u2014 AI-aware developer intelligence for the command line",
|
|
77
77
|
homepage: "https://vreko.dev",
|
|
78
78
|
repository: {
|
|
@@ -162,7 +162,7 @@ var require_package = __commonJS({
|
|
|
162
162
|
"p-retry": "catalog:",
|
|
163
163
|
pino: "catalog:",
|
|
164
164
|
"pino-pretty": "catalog:",
|
|
165
|
-
"better-sqlite3": "
|
|
165
|
+
"better-sqlite3": "12.11.1",
|
|
166
166
|
"posthog-node": "catalog:",
|
|
167
167
|
"quick-lru": "catalog:",
|
|
168
168
|
typescript: "catalog:",
|
|
@@ -810,7 +810,7 @@ async function getAuth() {
|
|
|
810
810
|
if (_authPromise) {
|
|
811
811
|
return _authPromise;
|
|
812
812
|
}
|
|
813
|
-
_authPromise = import('./auth-
|
|
813
|
+
_authPromise = import('./auth-HP6IY25M.js').then((m) => {
|
|
814
814
|
_auth = m.auth;
|
|
815
815
|
return _auth;
|
|
816
816
|
});
|
|
@@ -2542,7 +2542,7 @@ function createOnboardCommand() {
|
|
|
2542
2542
|
const quiet = !!options.quiet;
|
|
2543
2543
|
if (!quiet) console.log(chalk2.bold("\nVreko Onboarding\n"));
|
|
2544
2544
|
try {
|
|
2545
|
-
const { createInitCommand: createInitCommand3 } = await import('./init-command-
|
|
2545
|
+
const { createInitCommand: createInitCommand3 } = await import('./init-command-LXEBDSYX.js');
|
|
2546
2546
|
const initCmd = createInitCommand3();
|
|
2547
2547
|
const argv = [
|
|
2548
2548
|
"node",
|
|
@@ -55394,7 +55394,7 @@ function createDiagnosticsCommand() {
|
|
|
55394
55394
|
return diagnostics;
|
|
55395
55395
|
}
|
|
55396
55396
|
__name(createDiagnosticsCommand, "createDiagnosticsCommand");
|
|
55397
|
-
var cliVersion = "3.
|
|
55397
|
+
var cliVersion = "3.2.0" ;
|
|
55398
55398
|
function createDoctorCommand() {
|
|
55399
55399
|
return new Command("doctor").description("Diagnose Vreko installation and ecosystem health").option("--json", "Output structured JSON result").option("--local", "Skip network checks").option("--check <system>", "Check specific subsystem (cli|service|workspace|knowledge|mcp|network|auth|extension)").option("--fix", "Attempt automatic repair for known issues").option("--sync-config", "Trigger immediate fingerprint config sync from cloud").option("-q, --quiet", "Only show failures").option("-v, --verbose", "Show all check details").action(async (options) => {
|
|
55400
55400
|
if (options.syncConfig) {
|
|
@@ -56923,7 +56923,7 @@ function createUpgradeCommand() {
|
|
|
56923
56923
|
}
|
|
56924
56924
|
__name(createUpgradeCommand, "createUpgradeCommand");
|
|
56925
56925
|
async function getVersionInfo(canary = false) {
|
|
56926
|
-
const current = "3.
|
|
56926
|
+
const current = "3.2.0";
|
|
56927
56927
|
let latest = current;
|
|
56928
56928
|
try {
|
|
56929
56929
|
const tag = canary ? "canary" : "latest";
|
|
@@ -57766,7 +57766,7 @@ Sentry.init(createSentryConfig({
|
|
|
57766
57766
|
}));
|
|
57767
57767
|
async function createCLI() {
|
|
57768
57768
|
const program = new Command();
|
|
57769
|
-
program.name("vreko").description("Intelligence-driven development - observe, learn, and surface warnings before the next mistake").version("3.
|
|
57769
|
+
program.name("vreko").description("Intelligence-driven development - observe, learn, and surface warnings before the next mistake").version("3.2.0", "-v, --version", "Display version number").helpOption("-h, --help", "Display help for command").addOption(new Option("--verbose", "Enable verbose output").env("VREKO_VERBOSE").default(process.env.VREKO_VERBOSE ?? false)).addOption(new Option("-q, --quiet", "Suppress non-essential output").default(false)).addOption(new Option("--no-color", "Disable colored output").env("NO_COLOR").default(false)).addOption(new Option("--debug", "Enable debug mode with detailed logging").env("VREKO_DEBUG").default(process.env.VREKO_DEBUG ?? false)).addOption(new Option("--json", "Output in JSON format for LLM consumption").env("VREKO_JSON").default(process.env.VREKO_JSON ?? false)).addOption(new Option("--plain", "Disable TUI; output JSON for scripts and CI (same as VREKO_PLAIN=1)").env("VREKO_PLAIN").default(process.env.VREKO_PLAIN ?? false)).addOption(new Option("-y, --yes", "Skip confirmation prompts (for CI/automation)").default(false)).hook("preAction", (thisCommand) => {
|
|
57770
57770
|
const opts = thisCommand.opts();
|
|
57771
57771
|
cliState.verbose = opts.verbose || false;
|
|
57772
57772
|
cliState.quiet = opts.quiet || false;
|