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.
- package/dist/__tests__/api.test.d.ts +2 -0
- package/dist/__tests__/api.test.d.ts.map +1 -0
- package/dist/__tests__/api.test.js +84 -0
- package/dist/__tests__/api.test.js.map +1 -0
- package/dist/__tests__/compiler.test.d.ts +2 -0
- package/dist/__tests__/compiler.test.d.ts.map +1 -0
- package/dist/__tests__/compiler.test.js +127 -0
- package/dist/__tests__/compiler.test.js.map +1 -0
- package/dist/__tests__/config.test.d.ts +2 -0
- package/dist/__tests__/config.test.d.ts.map +1 -0
- package/dist/__tests__/config.test.js +79 -0
- package/dist/__tests__/config.test.js.map +1 -0
- package/dist/__tests__/decompile.test.d.ts +2 -0
- package/dist/__tests__/decompile.test.d.ts.map +1 -0
- package/dist/__tests__/decompile.test.js +102 -0
- package/dist/__tests__/decompile.test.js.map +1 -0
- package/dist/__tests__/hash.test.d.ts +2 -0
- package/dist/__tests__/hash.test.d.ts.map +1 -0
- package/dist/__tests__/hash.test.js +44 -0
- package/dist/__tests__/hash.test.js.map +1 -0
- package/dist/__tests__/integration.test.d.ts +2 -0
- package/dist/__tests__/integration.test.d.ts.map +1 -0
- package/dist/__tests__/integration.test.js +277 -0
- package/dist/__tests__/integration.test.js.map +1 -0
- package/dist/__tests__/skill-renderer.test.d.ts +2 -0
- package/dist/__tests__/skill-renderer.test.d.ts.map +1 -0
- package/dist/__tests__/skill-renderer.test.js +68 -0
- package/dist/__tests__/skill-renderer.test.js.map +1 -0
- package/dist/commands/add.d.ts.map +1 -1
- package/dist/commands/add.js +6 -3
- package/dist/commands/add.js.map +1 -1
- package/dist/commands/agents.d.ts +2 -0
- package/dist/commands/agents.d.ts.map +1 -0
- package/dist/commands/agents.js +93 -0
- package/dist/commands/agents.js.map +1 -0
- package/dist/commands/build.d.ts.map +1 -1
- package/dist/commands/build.js +73 -20
- package/dist/commands/build.js.map +1 -1
- package/dist/commands/chat.d.ts.map +1 -1
- package/dist/commands/chat.js +63 -4
- package/dist/commands/chat.js.map +1 -1
- package/dist/commands/diff.d.ts +1 -1
- package/dist/commands/diff.d.ts.map +1 -1
- package/dist/commands/diff.js +402 -16
- package/dist/commands/diff.js.map +1 -1
- package/dist/commands/export.js +1 -1
- package/dist/commands/export.js.map +1 -1
- package/dist/commands/init.d.ts +1 -0
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +131 -23
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/link.d.ts +1 -0
- package/dist/commands/link.d.ts.map +1 -1
- package/dist/commands/link.js +76 -12
- package/dist/commands/link.js.map +1 -1
- package/dist/commands/login.d.ts.map +1 -1
- package/dist/commands/login.js +48 -36
- package/dist/commands/login.js.map +1 -1
- package/dist/commands/logs.d.ts +7 -0
- package/dist/commands/logs.d.ts.map +1 -0
- package/dist/commands/logs.js +115 -0
- package/dist/commands/logs.js.map +1 -0
- package/dist/commands/mcp.d.ts +6 -0
- package/dist/commands/mcp.d.ts.map +1 -0
- package/dist/commands/mcp.js +258 -0
- package/dist/commands/mcp.js.map +1 -0
- package/dist/commands/preview.d.ts.map +1 -1
- package/dist/commands/preview.js +191 -7
- package/dist/commands/preview.js.map +1 -1
- package/dist/commands/private.d.ts.map +1 -1
- package/dist/commands/private.js +248 -0
- package/dist/commands/private.js.map +1 -1
- package/dist/commands/prompts.d.ts +12 -0
- package/dist/commands/prompts.d.ts.map +1 -0
- package/dist/commands/prompts.js +245 -0
- package/dist/commands/prompts.js.map +1 -0
- package/dist/commands/publish.d.ts.map +1 -1
- package/dist/commands/publish.js +3 -2
- package/dist/commands/publish.js.map +1 -1
- package/dist/commands/pull.d.ts.map +1 -1
- package/dist/commands/pull.js +42 -133
- package/dist/commands/pull.js.map +1 -1
- package/dist/commands/push.d.ts.map +1 -1
- package/dist/commands/push.js +146 -38
- package/dist/commands/push.js.map +1 -1
- package/dist/commands/register.d.ts.map +1 -1
- package/dist/commands/register.js +39 -83
- package/dist/commands/register.js.map +1 -1
- package/dist/commands/skill.d.ts.map +1 -1
- package/dist/commands/skill.js +95 -19
- package/dist/commands/skill.js.map +1 -1
- package/dist/commands/status.d.ts.map +1 -1
- package/dist/commands/status.js +132 -96
- package/dist/commands/status.js.map +1 -1
- package/dist/commands/whoami.d.ts.map +1 -1
- package/dist/commands/whoami.js +53 -29
- package/dist/commands/whoami.js.map +1 -1
- package/dist/index.js +176 -4
- package/dist/index.js.map +1 -1
- package/dist/lib/api.d.ts +93 -7
- package/dist/lib/api.d.ts.map +1 -1
- package/dist/lib/api.js +143 -38
- package/dist/lib/api.js.map +1 -1
- package/dist/lib/compiler.d.ts +16 -33
- package/dist/lib/compiler.d.ts.map +1 -1
- package/dist/lib/compiler.js +499 -84
- package/dist/lib/compiler.js.map +1 -1
- package/dist/lib/config.d.ts +3 -0
- package/dist/lib/config.d.ts.map +1 -1
- package/dist/lib/config.js +10 -0
- package/dist/lib/config.js.map +1 -1
- package/dist/lib/decompile.d.ts +21 -0
- package/dist/lib/decompile.d.ts.map +1 -0
- package/dist/lib/decompile.js +304 -0
- package/dist/lib/decompile.js.map +1 -0
- package/dist/lib/onboarding.d.ts +4 -4
- package/dist/lib/onboarding.d.ts.map +1 -1
- package/dist/lib/onboarding.js +116 -25
- package/dist/lib/onboarding.js.map +1 -1
- package/dist/lib/skill-catalog.d.ts.map +1 -1
- package/dist/lib/skill-catalog.js +57 -8
- package/dist/lib/skill-catalog.js.map +1 -1
- package/dist/lib/skill-renderer.d.ts.map +1 -1
- package/dist/lib/skill-renderer.js +18 -0
- package/dist/lib/skill-renderer.js.map +1 -1
- package/dist/lib/skills.d.ts +8 -3
- package/dist/lib/skills.d.ts.map +1 -1
- package/dist/lib/skills.js +281 -82
- package/dist/lib/skills.js.map +1 -1
- package/dist/lib/vault.d.ts +40 -0
- package/dist/lib/vault.d.ts.map +1 -0
- package/dist/lib/vault.js +187 -0
- package/dist/lib/vault.js.map +1 -0
- package/dist/mcp/server.d.ts +21 -0
- package/dist/mcp/server.d.ts.map +1 -0
- package/dist/mcp/server.js +1283 -0
- package/dist/mcp/server.js.map +1 -0
- package/examples/houston/directives/agent.md +13 -0
- package/examples/houston/preferences/agent.md +14 -0
- package/examples/houston/profile/about.md +15 -0
- package/examples/houston/profile/links.md +10 -0
- package/examples/houston/profile/projects.md +37 -0
- package/examples/houston/profile/values.md +9 -0
- package/examples/houston/voice/voice.md +13 -0
- package/examples/jordan/directives/agent.md +13 -0
- package/examples/jordan/preferences/agent.md +16 -0
- package/examples/jordan/profile/about.md +15 -0
- package/examples/jordan/profile/links.md +10 -0
- package/examples/jordan/profile/projects.md +29 -0
- package/examples/jordan/profile/values.md +9 -0
- package/examples/jordan/voice/voice.md +12 -0
- package/examples/priya/directives/agent.md +13 -0
- package/examples/priya/preferences/agent.md +15 -0
- package/examples/priya/profile/about.md +15 -0
- package/examples/priya/profile/links.md +9 -0
- package/examples/priya/profile/projects.md +28 -0
- package/examples/priya/profile/values.md +9 -0
- package/examples/priya/voice/voice.md +12 -0
- package/package.json +11 -5
- package/skills/claude-md-generator.md +25 -0
- package/skills/meta-improve.md +27 -0
- package/skills/proactive-context-fill.md +52 -0
- package/skills/project-context-init.md +26 -0
- package/skills/voice-sync.md +48 -0
- package/skills/you-logs.md +71 -0
package/skills/voice-sync.md
CHANGED
|
@@ -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
|