@butlerw/vellum 0.1.6 → 0.1.7

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.
Files changed (2) hide show
  1. package/dist/index.mjs +24 -9
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -113837,6 +113837,9 @@ function getVellumDir2() {
113837
113837
  function getOnboardingStatePath() {
113838
113838
  return sp2.join(getVellumDir2(), "onboarding.json");
113839
113839
  }
113840
+ function getOnboardingConfigPath() {
113841
+ return sp2.join(getVellumDir2(), "config.toml");
113842
+ }
113840
113843
  async function runOnboarding(options = {}) {
113841
113844
  if (!options.force && await OnboardingWizard.isCompleted()) {
113842
113845
  return null;
@@ -113856,6 +113859,9 @@ async function shouldRunOnboarding() {
113856
113859
  if (OnboardingWizard.isFirstRun()) {
113857
113860
  return true;
113858
113861
  }
113862
+ if (!OnboardingWizard.hasConfig()) {
113863
+ return true;
113864
+ }
113859
113865
  const completed = await OnboardingWizard.isCompleted();
113860
113866
  return !completed;
113861
113867
  }
@@ -162623,6 +162629,12 @@ It only takes a minute!
162623
162629
  fs29.unlinkSync(statePath);
162624
162630
  }
162625
162631
  }
162632
+ /**
162633
+ * Check if onboarding config exists
162634
+ */
162635
+ static hasConfig() {
162636
+ return fs29.existsSync(getOnboardingConfigPath());
162637
+ }
162626
162638
  // ===========================================================================
162627
162639
  // State Management
162628
162640
  // ===========================================================================
@@ -162845,7 +162857,7 @@ It only takes a minute!
162845
162857
  async saveConfig() {
162846
162858
  try {
162847
162859
  const config = this.generateConfig();
162848
- const configPath = sp2.join(getVellumDir2(), "config.toml");
162860
+ const configPath = getOnboardingConfigPath();
162849
162861
  const tomlContent = `# Vellum Configuration
162850
162862
  # Generated by onboarding wizard
162851
162863
 
@@ -191737,6 +191749,10 @@ function trimAscii(value) {
191737
191749
  // src/tui/components/Banner/Banner.tsx
191738
191750
  init_esm_shims();
191739
191751
 
191752
+ // src/version.ts
191753
+ init_esm_shims();
191754
+ var version = "0.1.7" ;
191755
+
191740
191756
  // src/tui/components/Banner/ShimmerText.tsx
191741
191757
  init_esm_shims();
191742
191758
 
@@ -191954,7 +191970,7 @@ function VersionDisplay({ version: version2, brand }) {
191954
191970
  function Banner({
191955
191971
  customArt,
191956
191972
  showVersion = false,
191957
- version: version2 = "0.1.0",
191973
+ version: version2 = version,
191958
191974
  // Note: animated, cycleDuration, updateInterval, cycles kept for API compat
191959
191975
  // but shimmer effect is removed - typing goes directly to static gradient
191960
191976
  onComplete,
@@ -212374,9 +212390,12 @@ function AppContent({
212374
212390
  }, [bannerSeen]);
212375
212391
  useEffect(() => {
212376
212392
  const checkOnboarding = async () => {
212377
- const completed = await OnboardingWizard.isCompleted();
212378
- setIsFirstRun(!completed);
212379
- if (completed) {
212393
+ const [completed, needsOnboarding] = await Promise.all([
212394
+ OnboardingWizard.isCompleted(),
212395
+ shouldRunOnboarding()
212396
+ ]);
212397
+ setIsFirstRun(needsOnboarding);
212398
+ if (completed && !needsOnboarding) {
212380
212399
  const wizard = new OnboardingWizard();
212381
212400
  const loadResult = await wizard.loadState();
212382
212401
  if (loadResult.ok) {
@@ -215057,10 +215076,6 @@ function AppContentView({
215057
215076
  ] })
215058
215077
  ] });
215059
215078
  }
215060
-
215061
- // src/version.ts
215062
- init_esm_shims();
215063
- var version = "0.1.0";
215064
215079
  function getResultMessage(result) {
215065
215080
  switch (result.kind) {
215066
215081
  case "success":
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@butlerw/vellum",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "Next-generation AI coding assistant CLI",
5
5
  "private": false,
6
6
  "publishConfig": {
@@ -57,9 +57,9 @@
57
57
  "tsup": "^8.3.5",
58
58
  "tsx": "^4.19.2",
59
59
  "typescript": "^5.7.2",
60
- "@vellum/mcp": "0.1.1",
61
60
  "@vellum/core": "0.1.1",
62
61
  "@vellum/lsp": "0.1.0",
62
+ "@vellum/mcp": "0.1.1",
63
63
  "@vellum/provider": "0.1.0",
64
64
  "@vellum/plugin": "0.1.1",
65
65
  "@vellum/sandbox": "0.1.0",