oathbound 0.6.1 → 0.7.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/bin/cli.cjs CHANGED
File without changes
package/cli.ts CHANGED
@@ -25,7 +25,7 @@ export { stripJsoncComments, writeOathboundConfig, mergeClaudeSettings, type Mer
25
25
  export { isNewer } from './update';
26
26
  export { installDevDependency, type InstallResult, setup, addPrepareScript, type PrepareResult };
27
27
 
28
- const VERSION = '0.6.1';
28
+ const VERSION = '0.7.0';
29
29
 
30
30
  // --- Supabase ---
31
31
  const SUPABASE_URL = 'https://mjnfqagwuewhgwbtrdgs.supabase.co';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oathbound",
3
- "version": "0.6.1",
3
+ "version": "0.7.0",
4
4
  "description": "Install verified Claude Code skills from the Oath Bound registry",
5
5
  "license": "BUSL-1.1",
6
6
  "author": "Josh Anderson",
package/push.ts CHANGED
@@ -24,12 +24,20 @@ export async function push(pathArg?: string): Promise<void> {
24
24
 
25
25
  // Parse SKILL.md frontmatter to extract metadata
26
26
  const skillMdFile = rawFiles.find(f => f.path === 'SKILL.md');
27
- if (!skillMdFile) fail('SKILL.md not found in collected files');
27
+ if (!skillMdFile) {
28
+ fail('SKILL.md not found in collected files');
29
+ }
28
30
 
29
31
  const meta = parseFrontmatter(skillMdFile.content.toString('utf-8'));
30
- if (!meta.name) fail('SKILL.md frontmatter missing: name');
31
- if (!meta.description) fail('SKILL.md frontmatter missing: description');
32
- if (!meta.license) fail('SKILL.md frontmatter missing: license');
32
+ if (!meta.name) {
33
+ fail('SKILL.md frontmatter missing: name');
34
+ }
35
+ if (!meta.description) {
36
+ fail('SKILL.md frontmatter missing: description');
37
+ }
38
+ if (!meta.license) {
39
+ fail('SKILL.md frontmatter missing: license');
40
+ }
33
41
 
34
42
  // Build files array with root dir prefix (API expects rootDir/path format)
35
43
  const files = rawFiles.map(f => ({
package/ui.ts CHANGED
@@ -8,7 +8,13 @@ export const DIM = USE_COLOR ? '\x1b[2m' : '';
8
8
  export const BOLD = USE_COLOR ? '\x1b[1m' : '';
9
9
  export const RESET = USE_COLOR ? '\x1b[0m' : '';
10
10
 
11
- export const BRAND = `${TEAL}${BOLD}🛡️ oathbound${RESET}`;
11
+ const BRAND_MARKS = ['✦', '✧', '✿', '⬡'];
12
+
13
+ export function brand(): string {
14
+ return `${TEAL}${BOLD}⬡ oathbound${RESET}`;
15
+ }
16
+
17
+ export const BRAND = brand();
12
18
 
13
19
  export function usage(exitCode = 1): never {
14
20
  console.log(`
@@ -41,13 +47,13 @@ export function fail(message: string, detail?: string): never {
41
47
  }
42
48
 
43
49
  export function spinner(text: string): { stop: () => void } {
44
- const frames = ['⠋', '⠙', '⠹', '⠸', '⠼', '⠴', '⠦', '⠧', '⠇', '⠏'];
45
50
  let i = 0;
46
- process.stdout.write(`${TEAL} ${frames[0]} ${text}${RESET}`);
51
+ const render = () => `\r${TEAL}${BOLD} ${BRAND_MARKS[i % BRAND_MARKS.length]} ${RESET}${TEAL}${text}${RESET}`;
52
+ process.stdout.write(render());
47
53
  const interval = setInterval(() => {
48
- i = (i + 1) % frames.length;
49
- process.stdout.write(`\r${TEAL} ${frames[i]} ${text}${RESET}`);
50
- }, 80);
54
+ i++;
55
+ process.stdout.write(render());
56
+ }, 150);
51
57
  return {
52
58
  stop() {
53
59
  clearInterval(interval);