heyiam 0.2.28 → 0.3.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/README.md +45 -0
- package/dist/config.js +10 -1
- package/dist/db.js +1 -2
- package/dist/export.js +40 -25
- package/dist/format-utils.js +5 -0
- package/dist/index.js +168 -0
- package/dist/mount.js +300 -102
- package/dist/parsers/claude.js +2 -28
- package/dist/parsers/codex.js +2 -26
- package/dist/parsers/cursor.js +2 -26
- package/dist/parsers/duration.js +35 -0
- package/dist/parsers/gemini.js +2 -20
- package/dist/parsers/types.js +0 -1
- package/dist/public/assets/index-BZ65TU_Y.js +40 -0
- package/dist/public/assets/index-CqCaW2cb.css +1 -0
- package/dist/public/index.html +2 -2
- package/dist/redact.js +4 -104
- package/dist/render/build-render-data.js +9 -2
- package/dist/render/index.js +32 -5
- package/dist/render/liquid.js +147 -7
- package/dist/render/mock-data.js +303 -0
- package/dist/render/templates/aurora/portfolio.liquid +204 -0
- package/dist/render/templates/aurora/project.liquid +260 -0
- package/dist/render/templates/aurora/session.liquid +223 -0
- package/dist/render/templates/aurora/styles.css +1178 -0
- package/dist/render/templates/bauhaus/portfolio.liquid +179 -0
- package/dist/render/templates/bauhaus/project.liquid +300 -0
- package/dist/render/templates/bauhaus/session.liquid +333 -0
- package/dist/render/templates/bauhaus/styles.css +1641 -0
- package/dist/render/templates/blueprint/portfolio.liquid +167 -0
- package/dist/render/templates/blueprint/project.liquid +286 -0
- package/dist/render/templates/blueprint/session.liquid +248 -0
- package/dist/render/templates/blueprint/styles.css +1285 -0
- package/dist/render/templates/canvas/portfolio.liquid +215 -0
- package/dist/render/templates/canvas/project.liquid +235 -0
- package/dist/render/templates/canvas/session.liquid +223 -0
- package/dist/render/templates/canvas/styles.css +1436 -0
- package/dist/render/templates/carbon/portfolio.liquid +170 -0
- package/dist/render/templates/carbon/project.liquid +249 -0
- package/dist/render/templates/carbon/session.liquid +190 -0
- package/dist/render/templates/carbon/styles.css +1091 -0
- package/dist/render/templates/chalk/portfolio.liquid +199 -0
- package/dist/render/templates/chalk/project.liquid +245 -0
- package/dist/render/templates/chalk/session.liquid +215 -0
- package/dist/render/templates/chalk/styles.css +1157 -0
- package/dist/render/templates/circuit/portfolio.liquid +162 -0
- package/dist/render/templates/circuit/project.liquid +247 -0
- package/dist/render/templates/circuit/session.liquid +205 -0
- package/dist/render/templates/circuit/styles.css +1403 -0
- package/dist/render/templates/cosmos/portfolio.liquid +232 -0
- package/dist/render/templates/cosmos/project.liquid +327 -0
- package/dist/render/templates/cosmos/session.liquid +239 -0
- package/dist/render/templates/cosmos/styles.css +1151 -0
- package/dist/render/templates/daylight/portfolio.liquid +217 -0
- package/dist/render/templates/daylight/project.liquid +229 -0
- package/dist/render/templates/daylight/session.liquid +219 -0
- package/dist/render/templates/daylight/styles.css +1311 -0
- package/dist/render/templates/editorial/portfolio.liquid +126 -0
- package/dist/render/templates/editorial/project.liquid +202 -0
- package/dist/render/templates/editorial/session.liquid +171 -0
- package/dist/render/templates/editorial/styles.css +822 -0
- package/dist/render/templates/ember/portfolio.liquid +318 -0
- package/dist/render/templates/ember/project.liquid +232 -0
- package/dist/render/templates/ember/session.liquid +202 -0
- package/dist/render/templates/ember/styles.css +1283 -0
- package/dist/render/templates/glacier/portfolio.liquid +271 -0
- package/dist/render/templates/glacier/project.liquid +288 -0
- package/dist/render/templates/glacier/session.liquid +217 -0
- package/dist/render/templates/glacier/styles.css +1200 -0
- package/dist/render/templates/grid/portfolio.liquid +265 -0
- package/dist/render/templates/grid/project.liquid +306 -0
- package/dist/render/templates/grid/session.liquid +260 -0
- package/dist/render/templates/grid/styles.css +1441 -0
- package/dist/render/templates/kinetic/portfolio.liquid +170 -0
- package/dist/render/templates/kinetic/project.liquid +242 -0
- package/dist/render/templates/kinetic/session.liquid +228 -0
- package/dist/render/templates/kinetic/styles.css +944 -0
- package/dist/render/templates/meridian/portfolio.liquid +255 -0
- package/dist/render/templates/meridian/project.liquid +376 -0
- package/dist/render/templates/meridian/session.liquid +298 -0
- package/dist/render/templates/meridian/styles.css +1369 -0
- package/dist/render/templates/minimal/portfolio.liquid +71 -0
- package/dist/render/templates/minimal/project.liquid +154 -0
- package/dist/render/templates/minimal/session.liquid +140 -0
- package/dist/render/templates/minimal/styles.css +525 -0
- package/dist/render/templates/mono/portfolio.liquid +291 -0
- package/dist/render/templates/mono/project.liquid +275 -0
- package/dist/render/templates/mono/session.liquid +276 -0
- package/dist/render/templates/mono/styles.css +1016 -0
- package/dist/render/templates/neon/portfolio.liquid +217 -0
- package/dist/render/templates/neon/project.liquid +225 -0
- package/dist/render/templates/neon/session.liquid +195 -0
- package/dist/render/templates/neon/styles.css +1265 -0
- package/dist/render/templates/noir/portfolio.liquid +137 -0
- package/dist/render/templates/noir/project.liquid +220 -0
- package/dist/render/templates/noir/session.liquid +241 -0
- package/dist/render/templates/noir/styles.css +1223 -0
- package/dist/render/templates/obsidian/portfolio.liquid +257 -0
- package/dist/render/templates/obsidian/project.liquid +280 -0
- package/dist/render/templates/obsidian/session.liquid +241 -0
- package/dist/render/templates/obsidian/styles.css +1401 -0
- package/dist/render/templates/paper/portfolio.liquid +267 -0
- package/dist/render/templates/paper/project.liquid +235 -0
- package/dist/render/templates/paper/session.liquid +271 -0
- package/dist/render/templates/paper/styles.css +1509 -0
- package/dist/render/templates/parallax/portfolio.liquid +305 -0
- package/dist/render/templates/parallax/project.liquid +275 -0
- package/dist/render/templates/parallax/session.liquid +295 -0
- package/dist/render/templates/parallax/styles.css +1874 -0
- package/dist/render/templates/parchment/portfolio.liquid +290 -0
- package/dist/render/templates/parchment/project.liquid +289 -0
- package/dist/render/templates/parchment/session.liquid +346 -0
- package/dist/render/templates/parchment/styles.css +1397 -0
- package/dist/render/templates/partials/_beats.liquid +16 -0
- package/dist/render/templates/partials/_breadcrumb.liquid +9 -0
- package/dist/render/templates/partials/_footer.liquid +7 -0
- package/dist/render/templates/partials/_growth-chart.liquid +7 -0
- package/dist/render/templates/partials/_key-decisions.liquid +20 -0
- package/dist/render/templates/partials/_links.liquid +16 -0
- package/dist/render/templates/partials/_narrative.liquid +8 -0
- package/dist/render/templates/partials/_phases.liquid +20 -0
- package/dist/render/templates/partials/_portfolio-header.liquid +20 -0
- package/dist/render/templates/partials/_portfolio-projects.liquid +16 -0
- package/dist/render/templates/partials/_portfolio-stats.liquid +19 -0
- package/dist/render/templates/partials/_qa.liquid +13 -0
- package/dist/render/templates/partials/_screenshot.liquid +15 -0
- package/dist/render/templates/partials/_session-cards.liquid +30 -0
- package/dist/render/templates/partials/_session-header.liquid +39 -0
- package/dist/render/templates/partials/_session-sidebar.liquid +30 -0
- package/dist/render/templates/partials/_skills.liquid +12 -0
- package/dist/render/templates/partials/_source-breakdown.liquid +22 -0
- package/dist/render/templates/partials/_stats.liquid +38 -0
- package/dist/render/templates/partials/_work-timeline.liquid +7 -0
- package/dist/render/templates/project.liquid +7 -4
- package/dist/render/templates/radar/portfolio.liquid +233 -0
- package/dist/render/templates/radar/project.liquid +278 -0
- package/dist/render/templates/radar/session.liquid +300 -0
- package/dist/render/templates/radar/styles.css +1049 -0
- package/dist/render/templates/showcase/portfolio.liquid +231 -0
- package/dist/render/templates/showcase/project.liquid +237 -0
- package/dist/render/templates/showcase/session.liquid +210 -0
- package/dist/render/templates/showcase/styles.css +1279 -0
- package/dist/render/templates/signal/portfolio.liquid +227 -0
- package/dist/render/templates/signal/project.liquid +278 -0
- package/dist/render/templates/signal/session.liquid +282 -0
- package/dist/render/templates/signal/styles.css +1395 -0
- package/dist/render/templates/strata/portfolio.liquid +192 -0
- package/dist/render/templates/strata/project.liquid +282 -0
- package/dist/render/templates/strata/session.liquid +261 -0
- package/dist/render/templates/strata/styles.css +1350 -0
- package/dist/render/templates/styles.css +1190 -0
- package/dist/render/templates/terminal/portfolio.liquid +118 -0
- package/dist/render/templates/terminal/project.liquid +161 -0
- package/dist/render/templates/terminal/session.liquid +145 -0
- package/dist/render/templates/terminal/styles.css +492 -0
- package/dist/render/templates/verdant/portfolio.liquid +333 -0
- package/dist/render/templates/verdant/project.liquid +309 -0
- package/dist/render/templates/verdant/session.liquid +237 -0
- package/dist/render/templates/verdant/styles.css +1257 -0
- package/dist/render/templates/zen/portfolio.liquid +136 -0
- package/dist/render/templates/zen/project.liquid +187 -0
- package/dist/render/templates/zen/session.liquid +203 -0
- package/dist/render/templates/zen/styles.css +1207 -0
- package/dist/render/templates.js +90 -0
- package/dist/routes/context.js +15 -10
- package/dist/routes/enhance.js +17 -40
- package/dist/routes/export.js +14 -4
- package/dist/routes/preview.js +480 -108
- package/dist/routes/projects.js +11 -19
- package/dist/routes/publish.js +15 -17
- package/dist/routes/settings.js +94 -1
- package/dist/routes/sse.js +9 -0
- package/dist/server.js +8 -2
- package/dist/settings.js +17 -9
- package/package.json +2 -4
- package/dist/public/assets/index-B_d6DlEI.js +0 -21
- package/dist/public/assets/index-Dalqz2mC.css +0 -1
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
<div class="heyiam-portfolio blueprint" data-render-version="2" data-template="blueprint" data-username="{{ user.username }}">
|
|
2
|
+
|
|
3
|
+
{%- comment -%} Crosshatch SVG pattern defs {%- endcomment -%}
|
|
4
|
+
<svg class="bp-crosshatch-defs" aria-hidden="true">
|
|
5
|
+
<defs>
|
|
6
|
+
<pattern id="crosshatch" width="8" height="8" patternUnits="userSpaceOnUse" patternTransform="rotate(45)">
|
|
7
|
+
<line x1="0" y1="0" x2="0" y2="8" stroke="var(--accent)" stroke-width="0.8" stroke-opacity="0.35"/>
|
|
8
|
+
</pattern>
|
|
9
|
+
</defs>
|
|
10
|
+
</svg>
|
|
11
|
+
|
|
12
|
+
{%- comment -%} Hero {%- endcomment -%}
|
|
13
|
+
{% if hasProfile %}
|
|
14
|
+
<section class="bp-hero" aria-label="Profile">
|
|
15
|
+
<div class="bp-section-ref">
|
|
16
|
+
<span class="bp-ref-badge" aria-hidden="true">01</span>
|
|
17
|
+
<span class="bp-section-label">Identification</span>
|
|
18
|
+
</div>
|
|
19
|
+
<div class="bp-hero-top">
|
|
20
|
+
{% if user.photoUrl %}
|
|
21
|
+
<img src="{{ user.photoUrl }}" alt="{{ user.displayName }}" class="bp-profile-photo">
|
|
22
|
+
{% endif %}
|
|
23
|
+
<div>
|
|
24
|
+
{% if user.displayName != blank %}
|
|
25
|
+
<h1>{{ user.displayName }}</h1>
|
|
26
|
+
{% endif %}
|
|
27
|
+
{% if user.bio != blank %}
|
|
28
|
+
<p class="bp-hero-bio">{{ user.bio }}</p>
|
|
29
|
+
{% endif %}
|
|
30
|
+
{% if user.location != blank %}
|
|
31
|
+
<p class="bp-hero-location">{{ user.location }}</p>
|
|
32
|
+
{% endif %}
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
<div class="bp-contact-row">
|
|
36
|
+
{% if user.email != blank %}
|
|
37
|
+
<a href="mailto:{{ user.email }}"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="2" y="4" width="20" height="16" rx="2"/><path d="m2 4 10 8 10-8"/></svg> {{ user.email }}</a>
|
|
38
|
+
{% endif %}
|
|
39
|
+
{% if user.phone != blank %}
|
|
40
|
+
<span><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z"/></svg> {{ user.phone }}</span>
|
|
41
|
+
{% endif %}
|
|
42
|
+
{% if user.location != blank %}
|
|
43
|
+
<span><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7z"/><circle cx="12" cy="9" r="2.5"/></svg> {{ user.location }}</span>
|
|
44
|
+
{% endif %}
|
|
45
|
+
{% if user.linkedinUrl != blank %}
|
|
46
|
+
<a href="{{ user.linkedinUrl }}" target="_blank" rel="noopener"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="M20.5 2h-17A1.5 1.5 0 002 3.5v17A1.5 1.5 0 003.5 22h17a1.5 1.5 0 001.5-1.5v-17A1.5 1.5 0 0020.5 2zM8 19H5v-9h3zM6.5 8.25A1.75 1.75 0 118.3 6.5a1.78 1.78 0 01-1.8 1.75zM19 19h-3v-4.74c0-1.42-.6-1.93-1.38-1.93A1.74 1.74 0 0013 14.19V19h-3v-9h2.9v1.3a3.11 3.11 0 012.7-1.4c1.55 0 3.36.86 3.36 3.66z"/></svg> LinkedIn</a>
|
|
47
|
+
{% endif %}
|
|
48
|
+
{% if user.githubUrl != blank %}
|
|
49
|
+
<a href="{{ user.githubUrl }}" target="_blank" rel="noopener"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="M12 2C6.477 2 2 6.484 2 12.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0112 6.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.202 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.943.359.309.678.92.678 1.855 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0022 12.017C22 6.484 17.522 2 12 2z"/></svg> GitHub</a>
|
|
50
|
+
{% endif %}
|
|
51
|
+
{% if user.twitterHandle != blank %}
|
|
52
|
+
<a href="https://x.com/{{ user.twitterHandle }}" target="_blank" rel="noopener"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"/></svg> @{{ user.twitterHandle }}</a>
|
|
53
|
+
{% endif %}
|
|
54
|
+
{% if user.websiteUrl != blank %}
|
|
55
|
+
<a href="{{ user.websiteUrl }}" target="_blank" rel="noopener">{{ user.websiteUrl | stripProtocol }}</a>
|
|
56
|
+
{% endif %}
|
|
57
|
+
{% if user.resumeUrl != blank %}
|
|
58
|
+
<a href="{{ user.resumeUrl }}" class="bp-resume-btn" download><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><polyline points="14 2 14 8 20 8"/><line x1="12" y1="18" x2="12" y2="12"/><polyline points="9 15 12 18 15 15"/></svg> Resume (PDF)</a>
|
|
59
|
+
{% endif %}
|
|
60
|
+
</div>
|
|
61
|
+
</section>
|
|
62
|
+
{% endif %}
|
|
63
|
+
|
|
64
|
+
{%- comment -%} Stats {%- endcomment -%}
|
|
65
|
+
<section aria-label="Aggregate statistics">
|
|
66
|
+
<div class="bp-stats-bar" role="list">
|
|
67
|
+
<div class="bp-stat-cell" role="listitem">
|
|
68
|
+
<div class="bp-stat-value">{{ projects.size }}</div>
|
|
69
|
+
<div class="bp-stat-label">Projects</div>
|
|
70
|
+
</div>
|
|
71
|
+
<div class="bp-stat-cell" role="listitem">
|
|
72
|
+
<div class="bp-stat-value">{{ totalSessions }}</div>
|
|
73
|
+
<div class="bp-stat-label">Sessions</div>
|
|
74
|
+
</div>
|
|
75
|
+
<div class="bp-stat-cell" role="listitem">
|
|
76
|
+
<div class="bp-stat-value">{{ totalLoc | localeNumber }}</div>
|
|
77
|
+
<div class="bp-stat-label">Lines Changed</div>
|
|
78
|
+
</div>
|
|
79
|
+
</div>
|
|
80
|
+
{% if efficiencyMultiplier %}
|
|
81
|
+
<div class="bp-dimension-leverage" role="img" aria-label="Leverage: {{ totalDurationMinutes | formatDuration }} human time, {{ totalAgentDurationMinutes | formatDuration }} agent time, {{ efficiencyMultiplier }} multiplier">
|
|
82
|
+
<div class="bp-dimension-leverage__labels">
|
|
83
|
+
<span class="bp-dimension-leverage__human">{{ totalDurationMinutes | formatDuration }} <small>you</small></span>
|
|
84
|
+
<span class="bp-dimension-leverage__value">{{ efficiencyMultiplier }}</span>
|
|
85
|
+
<span class="bp-dimension-leverage__agent">{{ totalAgentDurationMinutes | formatDuration }} <small>agents</small></span>
|
|
86
|
+
</div>
|
|
87
|
+
<div class="bp-dimension-leverage__line">
|
|
88
|
+
<div class="bp-dimension-leverage__tick"></div>
|
|
89
|
+
<div class="bp-dimension-leverage__bar">
|
|
90
|
+
<div class="bp-dimension-leverage__fill-human"></div>
|
|
91
|
+
<div class="bp-dimension-leverage__fill-agent"></div>
|
|
92
|
+
</div>
|
|
93
|
+
<div class="bp-dimension-leverage__tick"></div>
|
|
94
|
+
</div>
|
|
95
|
+
</div>
|
|
96
|
+
{% endif %}
|
|
97
|
+
<div class="bp-dim-line" aria-hidden="true">cumulative metrics</div>
|
|
98
|
+
</section>
|
|
99
|
+
|
|
100
|
+
{%- comment -%} Projects {%- endcomment -%}
|
|
101
|
+
{% if projects.size > 0 %}
|
|
102
|
+
<section class="bp-projects-section" aria-label="Projects">
|
|
103
|
+
<div class="bp-section-ref">
|
|
104
|
+
<span class="bp-ref-badge" aria-hidden="true">02</span>
|
|
105
|
+
<span class="bp-section-label">Project Index</span>
|
|
106
|
+
</div>
|
|
107
|
+
|
|
108
|
+
<div class="bp-projects-connected">
|
|
109
|
+
<svg class="bp-connector-svg" aria-hidden="true" preserveAspectRatio="none">
|
|
110
|
+
{% for p in projects %}
|
|
111
|
+
{% unless forloop.last %}<path class="bp-connector-path" d="" />{% endunless %}
|
|
112
|
+
{% endfor %}
|
|
113
|
+
</svg>
|
|
114
|
+
|
|
115
|
+
{% for p in projects %}
|
|
116
|
+
<a href="/{{ user.username }}/{{ p.slug }}" class="bp-project-card" id="project-{{ p.slug }}">
|
|
117
|
+
<div class="bp-project-card-header">
|
|
118
|
+
<h2 class="bp-project-name">
|
|
119
|
+
<span class="bp-node-dot" aria-hidden="true"></span>
|
|
120
|
+
{{ p.title }}
|
|
121
|
+
</h2>
|
|
122
|
+
<span class="bp-project-ref">REF-{{ forloop.index | prepend: '00' | slice: -3, 3 }}</span>
|
|
123
|
+
</div>
|
|
124
|
+
{% if p.narrative != blank %}
|
|
125
|
+
<p class="bp-project-narrative">{{ p.narrative | truncate: 160 }}</p>
|
|
126
|
+
{% endif %}
|
|
127
|
+
<div class="bp-project-meta" aria-label="Project statistics">
|
|
128
|
+
<span>{{ p.totalSessions }} sessions</span>
|
|
129
|
+
<span>{{ p.totalDurationMinutes | formatDuration }}</span>
|
|
130
|
+
<span>{{ p.totalLoc | localeNumber }} LOC</span>
|
|
131
|
+
</div>
|
|
132
|
+
{% if p.skills.size > 0 %}
|
|
133
|
+
<ul class="bp-skills-list" aria-label="Skills">
|
|
134
|
+
{% for skill in p.skills limit: 6 %}
|
|
135
|
+
<li class="bp-skill-chip">{{ skill }}</li>
|
|
136
|
+
{% endfor %}
|
|
137
|
+
</ul>
|
|
138
|
+
{% endif %}
|
|
139
|
+
</a>
|
|
140
|
+
{% endfor %}
|
|
141
|
+
</div>
|
|
142
|
+
</section>
|
|
143
|
+
{% endif %}
|
|
144
|
+
|
|
145
|
+
{%- comment -%} Footer title block {%- endcomment -%}
|
|
146
|
+
<footer class="bp-footer" role="contentinfo">
|
|
147
|
+
<div class="bp-title-block">
|
|
148
|
+
<div class="bp-title-block-cell">
|
|
149
|
+
<div class="bp-title-block-label">DWG NO.</div>
|
|
150
|
+
<div class="bp-title-block-value">PORTFOLIO-{{ user.username | upcase }}-001</div>
|
|
151
|
+
</div>
|
|
152
|
+
<div class="bp-title-block-cell">
|
|
153
|
+
<div class="bp-title-block-label">REV</div>
|
|
154
|
+
<div class="bp-title-block-value">A</div>
|
|
155
|
+
</div>
|
|
156
|
+
<div class="bp-title-block-cell">
|
|
157
|
+
<div class="bp-title-block-label">Date</div>
|
|
158
|
+
<div class="bp-title-block-value">{{ "now" | date: "%Y-%m-%d" }}</div>
|
|
159
|
+
</div>
|
|
160
|
+
</div>
|
|
161
|
+
<div class="bp-footer-bottom">
|
|
162
|
+
<span>Blueprint Template</span>
|
|
163
|
+
<span>heyi.am</span>
|
|
164
|
+
</div>
|
|
165
|
+
</footer>
|
|
166
|
+
|
|
167
|
+
</div>
|
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
<div class="heyiam-project blueprint" data-render-version="2" data-template="blueprint"{% if sessionBaseUrl %} data-session-base-url="{{ sessionBaseUrl }}"{% endif %} data-username="{{ user.username }}" data-project-slug="{{ project.slug }}">
|
|
2
|
+
|
|
3
|
+
{%- comment -%} Crosshatch SVG defs {%- endcomment -%}
|
|
4
|
+
<svg class="bp-crosshatch-defs" aria-hidden="true">
|
|
5
|
+
<defs>
|
|
6
|
+
<pattern id="crosshatch" width="8" height="8" patternUnits="userSpaceOnUse" patternTransform="rotate(45)">
|
|
7
|
+
<line x1="0" y1="0" x2="0" y2="8" stroke="var(--accent, #64748b)" stroke-width="0.8" stroke-opacity="0.4"/>
|
|
8
|
+
</pattern>
|
|
9
|
+
</defs>
|
|
10
|
+
</svg>
|
|
11
|
+
|
|
12
|
+
{%- comment -%} Breadcrumb {%- endcomment -%}
|
|
13
|
+
<nav class="breadcrumb">
|
|
14
|
+
<a href="/@{{ user.username }}">{{ user.username }}</a>
|
|
15
|
+
<span class="breadcrumb__sep" aria-hidden="true">/</span>
|
|
16
|
+
<span>{{ project.slug }}</span>
|
|
17
|
+
</nav>
|
|
18
|
+
|
|
19
|
+
{%- comment -%} Hero {%- endcomment -%}
|
|
20
|
+
<section class="bp-hero" aria-label="Project overview">
|
|
21
|
+
<div class="bp-section-ref">
|
|
22
|
+
<span class="bp-ref-badge" aria-hidden="true">01</span>
|
|
23
|
+
<span class="bp-section-label">Project Spec</span>
|
|
24
|
+
</div>
|
|
25
|
+
<h1 class="project-title" data-editable="title">{{ project.title }}</h1>
|
|
26
|
+
{% if project.repoUrl or project.projectUrl %}
|
|
27
|
+
<p class="bp-hero-links">
|
|
28
|
+
{% if project.repoUrl %}
|
|
29
|
+
<a href="{{ project.repoUrl }}">{{ project.repoUrl | stripProtocol }}</a>
|
|
30
|
+
{% endif %}
|
|
31
|
+
{% if project.repoUrl and project.projectUrl %}
|
|
32
|
+
<span aria-hidden="true"> · </span>
|
|
33
|
+
{% endif %}
|
|
34
|
+
{% if project.projectUrl %}
|
|
35
|
+
<a href="{{ project.projectUrl }}">{{ project.projectUrl | stripProtocol }}</a>
|
|
36
|
+
{% endif %}
|
|
37
|
+
</p>
|
|
38
|
+
{% endif %}
|
|
39
|
+
|
|
40
|
+
{% if project.screenshotUrl %}
|
|
41
|
+
<div class="bp-screenshot-frame">
|
|
42
|
+
<div class="bp-screenshot-chrome" aria-hidden="true">
|
|
43
|
+
<span class="bp-chrome-dot"></span>
|
|
44
|
+
<span class="bp-chrome-dot"></span>
|
|
45
|
+
<span class="bp-chrome-dot"></span>
|
|
46
|
+
</div>
|
|
47
|
+
<img src="{{ project.screenshotUrl }}" alt="{{ project.title }} screenshot" class="bp-screenshot-img">
|
|
48
|
+
</div>
|
|
49
|
+
{% endif %}
|
|
50
|
+
</section>
|
|
51
|
+
|
|
52
|
+
{%- comment -%} Stats {%- endcomment -%}
|
|
53
|
+
<section aria-label="Project statistics">
|
|
54
|
+
<div class="bp-stats-grid" role="list">
|
|
55
|
+
<div class="bp-stat-cell" role="listitem">
|
|
56
|
+
<div class="bp-stat-value">{{ project.totalSessions }}</div>
|
|
57
|
+
<div class="bp-stat-label">Sessions</div>
|
|
58
|
+
</div>
|
|
59
|
+
<div class="bp-stat-cell" role="listitem">
|
|
60
|
+
<div class="bp-stat-value">{{ project.totalLoc | localeNumber }}</div>
|
|
61
|
+
<div class="bp-stat-label">LOC</div>
|
|
62
|
+
</div>
|
|
63
|
+
<div class="bp-stat-cell" role="listitem">
|
|
64
|
+
<div class="bp-stat-value">{{ project.totalFilesChanged }}</div>
|
|
65
|
+
<div class="bp-stat-label">Files</div>
|
|
66
|
+
</div>
|
|
67
|
+
{% if project.totalTokens %}
|
|
68
|
+
<div class="bp-stat-cell" role="listitem">
|
|
69
|
+
<div class="bp-stat-value">{{ project.totalTokens | formatTokens }}</div>
|
|
70
|
+
<div class="bp-stat-label">Tokens</div>
|
|
71
|
+
</div>
|
|
72
|
+
{% endif %}
|
|
73
|
+
</div>
|
|
74
|
+
{% if efficiencyMultiplier %}
|
|
75
|
+
<div class="bp-dimension-leverage" role="img" aria-label="Leverage: {{ project.totalDurationMinutes | formatDuration }} human time, {{ project.totalAgentDurationMinutes | formatDuration }} agent time, {{ efficiencyMultiplier }} multiplier">
|
|
76
|
+
<div class="bp-dimension-leverage__labels">
|
|
77
|
+
<span class="bp-dimension-leverage__human">{{ project.totalDurationMinutes | formatDuration }} <small>you</small></span>
|
|
78
|
+
<span class="bp-dimension-leverage__value">{{ efficiencyMultiplier }}</span>
|
|
79
|
+
<span class="bp-dimension-leverage__agent">{{ project.totalAgentDurationMinutes | formatDuration }} <small>agents</small></span>
|
|
80
|
+
</div>
|
|
81
|
+
<div class="bp-dimension-leverage__line">
|
|
82
|
+
<div class="bp-dimension-leverage__tick"></div>
|
|
83
|
+
<div class="bp-dimension-leverage__bar">
|
|
84
|
+
<div class="bp-dimension-leverage__fill-human"></div>
|
|
85
|
+
<div class="bp-dimension-leverage__fill-agent"></div>
|
|
86
|
+
</div>
|
|
87
|
+
<div class="bp-dimension-leverage__tick"></div>
|
|
88
|
+
</div>
|
|
89
|
+
</div>
|
|
90
|
+
{% endif %}
|
|
91
|
+
<div class="bp-dim-line" aria-hidden="true">project metrics</div>
|
|
92
|
+
</section>
|
|
93
|
+
|
|
94
|
+
{%- comment -%} Narrative {%- endcomment -%}
|
|
95
|
+
{% if project.narrative != blank %}
|
|
96
|
+
<section class="bp-narrative-section" aria-label="Project narrative">
|
|
97
|
+
<div class="bp-section-ref">
|
|
98
|
+
<span class="bp-ref-badge" aria-hidden="true">02</span>
|
|
99
|
+
<span class="bp-section-label">Narrative</span>
|
|
100
|
+
</div>
|
|
101
|
+
<div class="bp-narrative">
|
|
102
|
+
<p>{{ project.narrative }}</p>
|
|
103
|
+
</div>
|
|
104
|
+
</section>
|
|
105
|
+
{% endif %}
|
|
106
|
+
|
|
107
|
+
{%- comment -%} Work Timeline table {%- endcomment -%}
|
|
108
|
+
{% if featuredSessions.size > 0 %}
|
|
109
|
+
<section class="bp-timeline-section" aria-label="Work timeline">
|
|
110
|
+
<div class="bp-section-ref">
|
|
111
|
+
<span class="bp-ref-badge" aria-hidden="true">03</span>
|
|
112
|
+
<span class="bp-section-label">Work Timeline</span>
|
|
113
|
+
</div>
|
|
114
|
+
<div style="overflow-x: auto;">
|
|
115
|
+
<table class="bp-timeline-table">
|
|
116
|
+
<thead>
|
|
117
|
+
<tr>
|
|
118
|
+
<th scope="col">#</th>
|
|
119
|
+
<th scope="col">Session</th>
|
|
120
|
+
<th scope="col">Date</th>
|
|
121
|
+
<th scope="col">Duration</th>
|
|
122
|
+
<th scope="col">LOC</th>
|
|
123
|
+
<th scope="col">Source</th>
|
|
124
|
+
<th scope="col" class="bp-bar-cell">Timeline</th>
|
|
125
|
+
</tr>
|
|
126
|
+
</thead>
|
|
127
|
+
<tbody>
|
|
128
|
+
{% assign maxLoc = featuredSessions[0].locChanged %}
|
|
129
|
+
{% for s in featuredSessions %}
|
|
130
|
+
{% if s.locChanged > maxLoc %}{% assign maxLoc = s.locChanged %}{% endif %}
|
|
131
|
+
{% endfor %}
|
|
132
|
+
{% for s in featuredSessions %}
|
|
133
|
+
<tr>
|
|
134
|
+
<td class="bp-session-num">{{ forloop.index | prepend: '00' | slice: -2, 2 }}</td>
|
|
135
|
+
<td>{% if sessionBaseUrl %}<a class="bp-session-title-link" href="{{ sessionBaseUrl }}/{{ s.slug }}{{ sessionSuffix }}">{{ s.title }}</a>{% else %}<span class="bp-session-title-link">{{ s.title }}</span>{% endif %}</td>
|
|
136
|
+
<td class="bp-session-date">{{ s.recordedAt | formatDateShort }}</td>
|
|
137
|
+
<td class="bp-session-date">{{ s.durationMinutes | formatDuration }}</td>
|
|
138
|
+
<td class="bp-session-date">{{ s.locChanged | localeNumber }}</td>
|
|
139
|
+
<td class="bp-session-source">{{ s.sourceTool }}</td>
|
|
140
|
+
<td class="bp-bar-cell">
|
|
141
|
+
<div class="bp-timeline-bar-wrap">
|
|
142
|
+
{% if maxLoc > 0 %}
|
|
143
|
+
{% assign barPct = s.locChanged | times: 100 | divided_by: maxLoc %}
|
|
144
|
+
<svg width="100%" height="20" aria-hidden="true">
|
|
145
|
+
<rect x="0" y="0" width="{{ barPct }}%" height="20" class="bp-bar-crosshatch" fill="url(#crosshatch)" rx="2"/>
|
|
146
|
+
</svg>
|
|
147
|
+
{% endif %}
|
|
148
|
+
</div>
|
|
149
|
+
</td>
|
|
150
|
+
</tr>
|
|
151
|
+
{% endfor %}
|
|
152
|
+
</tbody>
|
|
153
|
+
</table>
|
|
154
|
+
</div>
|
|
155
|
+
</section>
|
|
156
|
+
{% endif %}
|
|
157
|
+
|
|
158
|
+
{%- comment -%} Project Arc (Phases) {%- endcomment -%}
|
|
159
|
+
{% if arc.size > 0 %}
|
|
160
|
+
<section class="bp-phases-section" aria-label="Project phases">
|
|
161
|
+
<div class="bp-section-ref">
|
|
162
|
+
<span class="bp-ref-badge" aria-hidden="true">04</span>
|
|
163
|
+
<span class="bp-section-label">Project Arc</span>
|
|
164
|
+
</div>
|
|
165
|
+
<ol class="bp-phase-list">
|
|
166
|
+
{% for phase in arc %}
|
|
167
|
+
<li class="bp-phase-item">
|
|
168
|
+
<span class="bp-phase-num" aria-hidden="true">{{ phase.phase }}</span>
|
|
169
|
+
<div class="bp-phase-content">
|
|
170
|
+
<div class="bp-phase-name">{{ phase.title }}</div>
|
|
171
|
+
{% if phase.description != blank %}
|
|
172
|
+
<div class="bp-phase-desc">{{ phase.description }}</div>
|
|
173
|
+
{% endif %}
|
|
174
|
+
</div>
|
|
175
|
+
</li>
|
|
176
|
+
{% endfor %}
|
|
177
|
+
</ol>
|
|
178
|
+
</section>
|
|
179
|
+
{% endif %}
|
|
180
|
+
|
|
181
|
+
{%- comment -%} Skills {%- endcomment -%}
|
|
182
|
+
{% if project.skills.size > 0 %}
|
|
183
|
+
<section class="bp-skills-section" aria-label="Skills used">
|
|
184
|
+
<div class="bp-section-ref">
|
|
185
|
+
<span class="bp-ref-badge" aria-hidden="true">05</span>
|
|
186
|
+
<span class="bp-section-label">Skill Matrix</span>
|
|
187
|
+
</div>
|
|
188
|
+
<ul class="bp-skills-list">
|
|
189
|
+
{% for skill in project.skills %}
|
|
190
|
+
<li class="bp-skill-chip">{{ skill }}</li>
|
|
191
|
+
{% endfor %}
|
|
192
|
+
</ul>
|
|
193
|
+
</section>
|
|
194
|
+
{% endif %}
|
|
195
|
+
|
|
196
|
+
{%- comment -%} Key Decisions {%- endcomment -%}
|
|
197
|
+
{% if arc.size > 0 %}
|
|
198
|
+
<section class="bp-decisions-section" aria-label="Key decisions">
|
|
199
|
+
<div class="bp-section-ref">
|
|
200
|
+
<span class="bp-ref-badge" aria-hidden="true">06</span>
|
|
201
|
+
<span class="bp-section-label">Decision Log</span>
|
|
202
|
+
</div>
|
|
203
|
+
<ol class="bp-decision-list">
|
|
204
|
+
{% for item in arc %}
|
|
205
|
+
<li class="bp-decision-item">
|
|
206
|
+
<span class="bp-decision-num">{{ forloop.index | prepend: '00' | slice: -2, 2 }}</span>
|
|
207
|
+
<span>{{ item.description }}</span>
|
|
208
|
+
</li>
|
|
209
|
+
{% endfor %}
|
|
210
|
+
</ol>
|
|
211
|
+
</section>
|
|
212
|
+
{% endif %}
|
|
213
|
+
|
|
214
|
+
{%- comment -%} Source Breakdown {%- endcomment -%}
|
|
215
|
+
{% if sourceCounts.size > 0 %}
|
|
216
|
+
<section class="bp-source-section" aria-label="Source breakdown">
|
|
217
|
+
<div class="bp-section-ref">
|
|
218
|
+
<span class="bp-ref-badge" aria-hidden="true">07</span>
|
|
219
|
+
<span class="bp-section-label">Source Distribution</span>
|
|
220
|
+
</div>
|
|
221
|
+
{% if sourceBarPercent %}
|
|
222
|
+
<div class="bp-source-bar-large" role="img" aria-label="Source distribution">
|
|
223
|
+
<div class="bp-source-fill-large" style="width: {{ sourceBarPercent }}%"></div>
|
|
224
|
+
</div>
|
|
225
|
+
{% endif %}
|
|
226
|
+
<div class="bp-source-legend">
|
|
227
|
+
{% assign totalSourceSessions = 0 %}
|
|
228
|
+
{% for sc in sourceCounts %}{% assign totalSourceSessions = totalSourceSessions | plus: sc.count %}{% endfor %}
|
|
229
|
+
{% for sc in sourceCounts %}
|
|
230
|
+
{% assign srcPct = sc.count | times: 100 | divided_by: totalSourceSessions | round %}
|
|
231
|
+
<span>{{ sc.tool }} — {{ srcPct }}% ({{ sc.count }} session{% if sc.count != 1 %}s{% endif %})</span>
|
|
232
|
+
{% endfor %}
|
|
233
|
+
</div>
|
|
234
|
+
</section>
|
|
235
|
+
{% endif %}
|
|
236
|
+
|
|
237
|
+
{%- comment -%} Featured Sessions {%- endcomment -%}
|
|
238
|
+
{% if featuredSessions.size > 0 %}
|
|
239
|
+
<section class="bp-featured-section" aria-label="Featured sessions">
|
|
240
|
+
<div class="bp-section-ref">
|
|
241
|
+
<span class="bp-ref-badge" aria-hidden="true">08</span>
|
|
242
|
+
<span class="bp-section-label">Featured Sessions</span>
|
|
243
|
+
</div>
|
|
244
|
+
<div class="bp-featured-grid">
|
|
245
|
+
{% for s in featuredSessions %}
|
|
246
|
+
<a href="{{ sessionBaseUrl }}/{{ s.slug }}{{ sessionSuffix }}" class="bp-featured-card">
|
|
247
|
+
<div class="bp-featured-card-header">
|
|
248
|
+
<h3>{{ s.title }}</h3>
|
|
249
|
+
{% if s.sourceTool != blank %}
|
|
250
|
+
<span class="bp-featured-tag">{{ s.sourceTool }}</span>
|
|
251
|
+
{% endif %}
|
|
252
|
+
</div>
|
|
253
|
+
<div class="bp-featured-meta">
|
|
254
|
+
<span>{{ s.durationMinutes | formatDuration }}</span>
|
|
255
|
+
<span>{{ s.locChanged | localeNumber }} LOC</span>
|
|
256
|
+
<span>{{ s.filesChanged }} files</span>
|
|
257
|
+
</div>
|
|
258
|
+
</a>
|
|
259
|
+
{% endfor %}
|
|
260
|
+
</div>
|
|
261
|
+
</section>
|
|
262
|
+
{% endif %}
|
|
263
|
+
|
|
264
|
+
{%- comment -%} Footer title block {%- endcomment -%}
|
|
265
|
+
<footer class="bp-footer" role="contentinfo">
|
|
266
|
+
<div class="bp-title-block">
|
|
267
|
+
<div class="bp-title-block-cell">
|
|
268
|
+
<div class="bp-title-block-label">DWG NO.</div>
|
|
269
|
+
<div class="bp-title-block-value">PROJECT-{{ project.slug | upcase }}-001</div>
|
|
270
|
+
</div>
|
|
271
|
+
<div class="bp-title-block-cell">
|
|
272
|
+
<div class="bp-title-block-label">REV</div>
|
|
273
|
+
<div class="bp-title-block-value">A</div>
|
|
274
|
+
</div>
|
|
275
|
+
<div class="bp-title-block-cell">
|
|
276
|
+
<div class="bp-title-block-label">Date</div>
|
|
277
|
+
<div class="bp-title-block-value">{{ "now" | date: "%Y-%m-%d" }}</div>
|
|
278
|
+
</div>
|
|
279
|
+
</div>
|
|
280
|
+
<div class="bp-footer-bottom">
|
|
281
|
+
<span>Blueprint Template</span>
|
|
282
|
+
<span>heyi.am</span>
|
|
283
|
+
</div>
|
|
284
|
+
</footer>
|
|
285
|
+
|
|
286
|
+
</div>
|