youmd 0.5.0 → 0.6.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.
Files changed (165) hide show
  1. package/dist/__tests__/api.test.d.ts +2 -0
  2. package/dist/__tests__/api.test.d.ts.map +1 -0
  3. package/dist/__tests__/api.test.js +84 -0
  4. package/dist/__tests__/api.test.js.map +1 -0
  5. package/dist/__tests__/compiler.test.d.ts +2 -0
  6. package/dist/__tests__/compiler.test.d.ts.map +1 -0
  7. package/dist/__tests__/compiler.test.js +127 -0
  8. package/dist/__tests__/compiler.test.js.map +1 -0
  9. package/dist/__tests__/config.test.d.ts +2 -0
  10. package/dist/__tests__/config.test.d.ts.map +1 -0
  11. package/dist/__tests__/config.test.js +79 -0
  12. package/dist/__tests__/config.test.js.map +1 -0
  13. package/dist/__tests__/decompile.test.d.ts +2 -0
  14. package/dist/__tests__/decompile.test.d.ts.map +1 -0
  15. package/dist/__tests__/decompile.test.js +102 -0
  16. package/dist/__tests__/decompile.test.js.map +1 -0
  17. package/dist/__tests__/hash.test.d.ts +2 -0
  18. package/dist/__tests__/hash.test.d.ts.map +1 -0
  19. package/dist/__tests__/hash.test.js +44 -0
  20. package/dist/__tests__/hash.test.js.map +1 -0
  21. package/dist/__tests__/integration.test.d.ts +2 -0
  22. package/dist/__tests__/integration.test.d.ts.map +1 -0
  23. package/dist/__tests__/integration.test.js +277 -0
  24. package/dist/__tests__/integration.test.js.map +1 -0
  25. package/dist/__tests__/skill-renderer.test.d.ts +2 -0
  26. package/dist/__tests__/skill-renderer.test.d.ts.map +1 -0
  27. package/dist/__tests__/skill-renderer.test.js +68 -0
  28. package/dist/__tests__/skill-renderer.test.js.map +1 -0
  29. package/dist/commands/add.d.ts.map +1 -1
  30. package/dist/commands/add.js +6 -3
  31. package/dist/commands/add.js.map +1 -1
  32. package/dist/commands/agents.d.ts +2 -0
  33. package/dist/commands/agents.d.ts.map +1 -0
  34. package/dist/commands/agents.js +93 -0
  35. package/dist/commands/agents.js.map +1 -0
  36. package/dist/commands/build.d.ts.map +1 -1
  37. package/dist/commands/build.js +73 -20
  38. package/dist/commands/build.js.map +1 -1
  39. package/dist/commands/chat.d.ts.map +1 -1
  40. package/dist/commands/chat.js +63 -4
  41. package/dist/commands/chat.js.map +1 -1
  42. package/dist/commands/diff.d.ts +1 -1
  43. package/dist/commands/diff.d.ts.map +1 -1
  44. package/dist/commands/diff.js +402 -16
  45. package/dist/commands/diff.js.map +1 -1
  46. package/dist/commands/export.js +1 -1
  47. package/dist/commands/export.js.map +1 -1
  48. package/dist/commands/init.d.ts +1 -0
  49. package/dist/commands/init.d.ts.map +1 -1
  50. package/dist/commands/init.js +131 -23
  51. package/dist/commands/init.js.map +1 -1
  52. package/dist/commands/link.d.ts +1 -0
  53. package/dist/commands/link.d.ts.map +1 -1
  54. package/dist/commands/link.js +76 -12
  55. package/dist/commands/link.js.map +1 -1
  56. package/dist/commands/login.d.ts.map +1 -1
  57. package/dist/commands/login.js +48 -36
  58. package/dist/commands/login.js.map +1 -1
  59. package/dist/commands/logs.d.ts +7 -0
  60. package/dist/commands/logs.d.ts.map +1 -0
  61. package/dist/commands/logs.js +115 -0
  62. package/dist/commands/logs.js.map +1 -0
  63. package/dist/commands/mcp.d.ts +6 -0
  64. package/dist/commands/mcp.d.ts.map +1 -0
  65. package/dist/commands/mcp.js +258 -0
  66. package/dist/commands/mcp.js.map +1 -0
  67. package/dist/commands/preview.d.ts.map +1 -1
  68. package/dist/commands/preview.js +191 -7
  69. package/dist/commands/preview.js.map +1 -1
  70. package/dist/commands/private.d.ts.map +1 -1
  71. package/dist/commands/private.js +248 -0
  72. package/dist/commands/private.js.map +1 -1
  73. package/dist/commands/prompts.d.ts +12 -0
  74. package/dist/commands/prompts.d.ts.map +1 -0
  75. package/dist/commands/prompts.js +245 -0
  76. package/dist/commands/prompts.js.map +1 -0
  77. package/dist/commands/publish.d.ts.map +1 -1
  78. package/dist/commands/publish.js +3 -2
  79. package/dist/commands/publish.js.map +1 -1
  80. package/dist/commands/pull.d.ts.map +1 -1
  81. package/dist/commands/pull.js +42 -133
  82. package/dist/commands/pull.js.map +1 -1
  83. package/dist/commands/push.d.ts.map +1 -1
  84. package/dist/commands/push.js +146 -38
  85. package/dist/commands/push.js.map +1 -1
  86. package/dist/commands/register.d.ts.map +1 -1
  87. package/dist/commands/register.js +39 -83
  88. package/dist/commands/register.js.map +1 -1
  89. package/dist/commands/skill.d.ts.map +1 -1
  90. package/dist/commands/skill.js +95 -19
  91. package/dist/commands/skill.js.map +1 -1
  92. package/dist/commands/status.d.ts.map +1 -1
  93. package/dist/commands/status.js +132 -96
  94. package/dist/commands/status.js.map +1 -1
  95. package/dist/commands/whoami.d.ts.map +1 -1
  96. package/dist/commands/whoami.js +53 -29
  97. package/dist/commands/whoami.js.map +1 -1
  98. package/dist/index.js +176 -4
  99. package/dist/index.js.map +1 -1
  100. package/dist/lib/api.d.ts +93 -7
  101. package/dist/lib/api.d.ts.map +1 -1
  102. package/dist/lib/api.js +143 -38
  103. package/dist/lib/api.js.map +1 -1
  104. package/dist/lib/compiler.d.ts +16 -33
  105. package/dist/lib/compiler.d.ts.map +1 -1
  106. package/dist/lib/compiler.js +499 -84
  107. package/dist/lib/compiler.js.map +1 -1
  108. package/dist/lib/config.d.ts +3 -0
  109. package/dist/lib/config.d.ts.map +1 -1
  110. package/dist/lib/config.js +10 -0
  111. package/dist/lib/config.js.map +1 -1
  112. package/dist/lib/decompile.d.ts +21 -0
  113. package/dist/lib/decompile.d.ts.map +1 -0
  114. package/dist/lib/decompile.js +304 -0
  115. package/dist/lib/decompile.js.map +1 -0
  116. package/dist/lib/onboarding.d.ts +4 -4
  117. package/dist/lib/onboarding.d.ts.map +1 -1
  118. package/dist/lib/onboarding.js +116 -25
  119. package/dist/lib/onboarding.js.map +1 -1
  120. package/dist/lib/skill-catalog.d.ts.map +1 -1
  121. package/dist/lib/skill-catalog.js +57 -8
  122. package/dist/lib/skill-catalog.js.map +1 -1
  123. package/dist/lib/skill-renderer.d.ts.map +1 -1
  124. package/dist/lib/skill-renderer.js +18 -0
  125. package/dist/lib/skill-renderer.js.map +1 -1
  126. package/dist/lib/skills.d.ts +8 -3
  127. package/dist/lib/skills.d.ts.map +1 -1
  128. package/dist/lib/skills.js +281 -82
  129. package/dist/lib/skills.js.map +1 -1
  130. package/dist/lib/vault.d.ts +40 -0
  131. package/dist/lib/vault.d.ts.map +1 -0
  132. package/dist/lib/vault.js +187 -0
  133. package/dist/lib/vault.js.map +1 -0
  134. package/dist/mcp/server.d.ts +21 -0
  135. package/dist/mcp/server.d.ts.map +1 -0
  136. package/dist/mcp/server.js +1283 -0
  137. package/dist/mcp/server.js.map +1 -0
  138. package/examples/houston/directives/agent.md +13 -0
  139. package/examples/houston/preferences/agent.md +14 -0
  140. package/examples/houston/profile/about.md +15 -0
  141. package/examples/houston/profile/links.md +10 -0
  142. package/examples/houston/profile/projects.md +37 -0
  143. package/examples/houston/profile/values.md +9 -0
  144. package/examples/houston/voice/voice.md +13 -0
  145. package/examples/jordan/directives/agent.md +13 -0
  146. package/examples/jordan/preferences/agent.md +16 -0
  147. package/examples/jordan/profile/about.md +15 -0
  148. package/examples/jordan/profile/links.md +10 -0
  149. package/examples/jordan/profile/projects.md +29 -0
  150. package/examples/jordan/profile/values.md +9 -0
  151. package/examples/jordan/voice/voice.md +12 -0
  152. package/examples/priya/directives/agent.md +13 -0
  153. package/examples/priya/preferences/agent.md +15 -0
  154. package/examples/priya/profile/about.md +15 -0
  155. package/examples/priya/profile/links.md +9 -0
  156. package/examples/priya/profile/projects.md +28 -0
  157. package/examples/priya/profile/values.md +9 -0
  158. package/examples/priya/voice/voice.md +12 -0
  159. package/package.json +11 -5
  160. package/skills/claude-md-generator.md +25 -0
  161. package/skills/meta-improve.md +27 -0
  162. package/skills/proactive-context-fill.md +52 -0
  163. package/skills/project-context-init.md +26 -0
  164. package/skills/voice-sync.md +48 -0
  165. package/skills/you-logs.md +71 -0
@@ -34,6 +34,54 @@ Keep your voice profile in sync across every agent tool you use. When your voice
34
34
  | Cursor | .cursor/rules/youmd-voice.md | Single markdown file |
35
35
  | Generic | .youmd/skills/voice-context.md | Universal format |
36
36
 
37
+ ## Template Variables
38
+
39
+ In addition to the core voice fields, the following variables are available for fine-grained voice control:
40
+
41
+ - `{{voice.overall}}` — Full voice description (tone, cadence, personality)
42
+ - `{{voice.writing}}` — Written communication style (emails, docs, comments)
43
+ - `{{voice.speaking}}` — Verbal communication style (meetings, presentations)
44
+ - `{{voice.tone}}` — Short tone descriptor (e.g., "direct, no fluff")
45
+ - `{{voice.formality}}` — Formality level (e.g., "casual-professional")
46
+ - `{{voice.avoid}}` — Patterns to avoid (e.g., "corporate speak, emoji, verbose explanations")
47
+ - `{{profile.about}}` — Brief identity context for attribution
48
+
49
+ ## Usage Examples
50
+
51
+ ### Claude Code agent config
52
+
53
+ After rendering, paste the output into `.claude/skills/youmd/voice.md`:
54
+
55
+ ```markdown
56
+ # Voice Rules
57
+
58
+ Write all responses in this voice: {{voice.overall}}
59
+
60
+ When writing code comments: {{voice.writing}}
61
+
62
+ Avoid: {{voice.avoid}}
63
+ ```
64
+
65
+ ### Cursor rules file
66
+
67
+ Use in `.cursor/rules/youmd-voice.md`:
68
+
69
+ ```markdown
70
+ # Communication Style
71
+ Tone: {{voice.tone}}
72
+ Formality: {{voice.formality}}
73
+ Writing style: {{voice.writing}}
74
+ Never use: {{voice.avoid}}
75
+ ```
76
+
77
+ ### Custom agent system prompt snippet
78
+
79
+ ```
80
+ You are working with {{profile.about}}.
81
+ Match this voice: {{voice.overall}}
82
+ Formality: {{voice.formality}}
83
+ ```
84
+
37
85
  ## When To Use
38
86
 
39
87
  - After updating your voice via `youmd chat`
@@ -0,0 +1,71 @@
1
+ ---
2
+ name: you-logs
3
+ version: 1.0.0
4
+ scope: shared
5
+ identity_fields: []
6
+ description: View your you.md agent activity log inline. Shows which agents connected to your identity and what they did.
7
+ ---
8
+
9
+ # you-logs — Agent Activity Log
10
+
11
+ Show recent agent activity for the current user.
12
+
13
+ ## Trigger
14
+ - CLI: `/you-logs` in Claude Code, Cursor, or any CLI agent with skills installed
15
+ - Direct: `youmd logs`
16
+
17
+ ## What it does
18
+
19
+ Fetches the recent agent activity log from you.md and renders it as a terminal-friendly table showing:
20
+ - Time of activity
21
+ - Agent name (Claude Code, Cursor, ChatGPT, etc.)
22
+ - Action (read, write, push, memory_add, etc.)
23
+ - Resource (which file/section was touched)
24
+ - Bundle version diffs for writes
25
+
26
+ ## How to use it
27
+
28
+ When the user types `/you-logs`, run:
29
+
30
+ ```bash
31
+ youmd logs --limit 30
32
+ ```
33
+
34
+ If they pass arguments like `/you-logs --agent "Claude Code"` or `/you-logs --action push`, pass those through:
35
+
36
+ ```bash
37
+ youmd logs --limit 30 --agent "Claude Code"
38
+ youmd logs --action push
39
+ ```
40
+
41
+ For live monitoring:
42
+
43
+ ```bash
44
+ youmd logs --tail
45
+ ```
46
+
47
+ (But warn the user this blocks the terminal until ctrl-c.)
48
+
49
+ ## Output format
50
+
51
+ The output looks like:
52
+
53
+ ```
54
+ ─── recent activity ───
55
+
56
+ 14:32 Claude Code read identity
57
+ 14:32 Claude Code read memories/all
58
+ 14:31 Claude Code read project/current
59
+ 14:30 Cursor push bundle v49→v50
60
+ 14:28 Claude.ai read ctx/<token>
61
+ 14:25 Claude Code read identity
62
+
63
+ 6 events — use --tail for live mode
64
+ ```
65
+
66
+ Return this output verbatim to the user. Don't summarize. The raw log IS the value — they want to see exactly what happened.
67
+
68
+ ## Notes
69
+ - This skill requires `youmd` CLI to be installed and the user to be authenticated (`youmd login`)
70
+ - If authentication fails, suggest: "Run `youmd login` to view your activity log"
71
+ - The data is fetched from the user's you.md account in real-time