@vreko/cli 3.1.0 → 3.1.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/{InitApp-FB2RDCNO.js → InitApp-QW4UK2DB.js} +3 -3
- package/dist/{InitApp-FB2RDCNO.js.map → InitApp-QW4UK2DB.js.map} +1 -1
- package/dist/{chunk-LU5BYFBR.js → chunk-AYVUSU6J.js} +3 -3
- package/dist/{chunk-LU5BYFBR.js.map → chunk-AYVUSU6J.js.map} +1 -1
- package/dist/{chunk-OW6DEZEQ.js → chunk-FEYKLUNK.js} +4 -4
- package/dist/{chunk-OW6DEZEQ.js.map → chunk-FEYKLUNK.js.map} +1 -1
- package/dist/{chunk-YESW4MP7.js → chunk-UMJEOIQX.js} +4 -4
- package/dist/{chunk-YESW4MP7.js.map → chunk-UMJEOIQX.js.map} +1 -1
- package/dist/index.js +8 -8
- package/dist/index.js.map +1 -1
- package/dist/init-command-5VBNMIMD.js +7 -0
- package/dist/{init-command-7MV3TXKO.js.map → init-command-5VBNMIMD.js.map} +1 -1
- package/dist/{init-core-LUZ4YEPI.js → init-core-HDHFYD5I.js} +4 -4
- package/dist/{init-core-LUZ4YEPI.js.map → init-core-HDHFYD5I.js.map} +1 -1
- package/node_modules/@vreko/local-service/package.json +1 -0
- package/node_modules/@vreko/local-service/scripts/install-seed-db.mjs +46 -0
- package/node_modules/@vreko/local-service/scripts/seed-db.mjs +151 -0
- package/package.json +4 -4
- package/dist/init-command-7MV3TXKO.js +0 -7
package/dist/index.js
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
import { Sentry, createSentryConfig } from './chunk-YPTTIXKC.js';
|
|
3
3
|
import { detectOrphans } from './chunk-F7GEJLP7.js';
|
|
4
4
|
import './chunk-ZIIRQODJ.js';
|
|
5
|
-
import { resolveWorkspaceRoot, generateClaudeIntegration, findWorkspaceRoot, createHooksCommand } from './chunk-
|
|
5
|
+
import { resolveWorkspaceRoot, generateClaudeIntegration, findWorkspaceRoot, createHooksCommand } from './chunk-UMJEOIQX.js';
|
|
6
6
|
import { cliState } from './chunk-GRMRYWYS.js';
|
|
7
7
|
export { cliState } from './chunk-GRMRYWYS.js';
|
|
8
8
|
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-HFQHU5LC.js';
|
|
9
|
-
import { connectToDaemon, isDaemonAvailable, withDaemon, withDaemonOptional, disconnectFromDaemon, isDaemonConnected, getDaemonClient } from './chunk-
|
|
9
|
+
import { connectToDaemon, isDaemonAvailable, withDaemon, withDaemonOptional, disconnectFromDaemon, isDaemonConnected, getDaemonClient } from './chunk-AYVUSU6J.js';
|
|
10
10
|
import { JsonRpcClientError, getDefaultSocketPath, createServiceClient, connectServiceClient, createSessionViaDaemon, endSessionViaDaemon, WorkspaceStatusOutput, isServiceRunning, VrekoLocalClient, readServicePid, isServiceHealthy, StartStatusOutput, getLogPath, formatDuration, formatBytes, getServiceSocketPath, getServicePidPath } from './chunk-GSUGROXB.js';
|
|
11
|
-
import { createInitCommand } from './chunk-
|
|
11
|
+
import { createInitCommand } from './chunk-FEYKLUNK.js';
|
|
12
12
|
import { isInteractive, getRenderMode } from './chunk-H7773ONB.js';
|
|
13
13
|
import './chunk-DMXC2JTC.js';
|
|
14
14
|
import { isRedisAvailable, getCache, setCache } from './chunk-IVHUBLJD.js';
|
|
@@ -70,7 +70,7 @@ var require_package = __commonJS({
|
|
|
70
70
|
"package.json"(exports, module) {
|
|
71
71
|
module.exports = {
|
|
72
72
|
name: "@vreko/cli",
|
|
73
|
-
version: "3.1.
|
|
73
|
+
version: "3.1.1",
|
|
74
74
|
description: "Vreko CLI \u2014 AI-aware developer intelligence for the command line",
|
|
75
75
|
homepage: "https://vreko.dev",
|
|
76
76
|
repository: {
|
|
@@ -2504,7 +2504,7 @@ function createOnboardCommand() {
|
|
|
2504
2504
|
const quiet = !!options.quiet;
|
|
2505
2505
|
if (!quiet) console.log(chalk2.bold("\nVreko Onboarding\n"));
|
|
2506
2506
|
try {
|
|
2507
|
-
const { createInitCommand: createInitCommand3 } = await import('./init-command-
|
|
2507
|
+
const { createInitCommand: createInitCommand3 } = await import('./init-command-5VBNMIMD.js');
|
|
2508
2508
|
const initCmd = createInitCommand3();
|
|
2509
2509
|
const argv = [
|
|
2510
2510
|
"node",
|
|
@@ -55030,7 +55030,7 @@ function createDiagnosticsCommand() {
|
|
|
55030
55030
|
return diagnostics;
|
|
55031
55031
|
}
|
|
55032
55032
|
__name(createDiagnosticsCommand, "createDiagnosticsCommand");
|
|
55033
|
-
var cliVersion = "3.1.
|
|
55033
|
+
var cliVersion = "3.1.1" ;
|
|
55034
55034
|
function createDoctorCommand() {
|
|
55035
55035
|
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) => {
|
|
55036
55036
|
if (options.syncConfig) {
|
|
@@ -56559,7 +56559,7 @@ function createUpgradeCommand() {
|
|
|
56559
56559
|
}
|
|
56560
56560
|
__name(createUpgradeCommand, "createUpgradeCommand");
|
|
56561
56561
|
async function getVersionInfo(canary = false) {
|
|
56562
|
-
const current = "3.1.
|
|
56562
|
+
const current = "3.1.1";
|
|
56563
56563
|
let latest = current;
|
|
56564
56564
|
try {
|
|
56565
56565
|
const tag = canary ? "canary" : "latest";
|
|
@@ -57268,7 +57268,7 @@ Sentry.init(createSentryConfig({
|
|
|
57268
57268
|
}));
|
|
57269
57269
|
async function createCLI() {
|
|
57270
57270
|
const program = new Command();
|
|
57271
|
-
program.name("vreko").description("Intelligence-driven development - observe, learn, and surface warnings before the next mistake").version("3.1.
|
|
57271
|
+
program.name("vreko").description("Intelligence-driven development - observe, learn, and surface warnings before the next mistake").version("3.1.1", "-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) => {
|
|
57272
57272
|
const opts = thisCommand.opts();
|
|
57273
57273
|
cliState.verbose = opts.verbose || false;
|
|
57274
57274
|
cliState.quiet = opts.quiet || false;
|