Skip to content

Commit 00b4daf

Browse files
committed
chore: commit workspace updates (format/fixes) and trigger CI
1 parent fe1fa39 commit 00b4daf

File tree

10 files changed

+177
-104
lines changed

10 files changed

+177
-104
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ Consistent layout - Nothing moves around unexpectedly
5555
Simple animations - Fun but not overwhelming
5656
Clear visual progress - You can SEE yourself improving
5757

58-
5958
📊 Sample Conversation
6059
Forest Friend: Hi there! I'm your forest friend. What's your name?
6160

@@ -65,18 +64,18 @@ Forest Friend: Nice to meet you, Tommy! How old are you?
6564

6665
User: 8
6766

68-
Forest Friend: Cool! I'm here to practice talking.
69-
Want to practice saying hello or talking about feelings?
67+
Forest Friend: Cool! I'm here to practice talking.
68+
Want to practice saying hello or talking about feelings?
7069

7170
User: Saying hello
7271

73-
Forest Friend: Great choice! Let's practice.
74-
Hello Tommy! How are you today?
72+
Forest Friend: Great choice! Let's practice.
73+
Hello Tommy! How are you today?
7574

7675
User: Hello! I'm good
7776

7877
Forest Friend: Awesome! You did a really good job saying hello back.
79-
[🦊 Badge Earned: First Hello!]
78+
[🦊 Badge Earned: First Hello!]
8079

8180
🚀 Running It Yourself
8281
If you want to run this for your own family member:
@@ -85,19 +84,22 @@ git clone https://github.com/YOUR-USERNAME/autism-social-coach.git
8584
cd autism-social-coach
8685

8786
# Install stuff
87+
8888
npm install
8989

9090
# Login to Cloudflare (one-time setup)
91+
9192
wrangler login
9293

9394
# Test it locally
95+
9496
wrangler dev
9597

9698
# Deploy it
99+
97100
wrangler deploy
98101
wrangler pages deploy frontend --project-name=forest-friends
99102

100-
101103
🌱 What's Next
102104
Ideas I'd like to add:
103105

@@ -107,8 +109,6 @@ Parent view - Let parents see weekly progress without interrupting practice
107109
Story mode - Practice conversations in the context of forest adventures
108110
Calming exercises - When things feel overwhelming, guided breathing with forest sounds
109111

110-
111-
112112
- [`agents`](https://github.com/cloudflare/agents/blob/main/packages/agents/README.md)
113113
- [Cloudflare Agents Documentation](https://developers.cloudflare.com/agents/)
114114
- [Cloudflare Workers Documentation](https://developers.cloudflare.com/workers/)

package-lock.json

Lines changed: 24 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pages_check.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -353,11 +353,13 @@ <h3 class="font-bold text-gray-800 mb-3 flex items-center gap-2">
353353
// more interactive (append a friendly suffix or alternate phrasing).
354354
if (role === "assistant") {
355355
// find the last assistant bubble (justify-start)
356-
const bubbles = Array.from(messagesDiv.querySelectorAll('.message-bubble'));
356+
const bubbles = Array.from(
357+
messagesDiv.querySelectorAll(".message-bubble")
358+
);
357359
let lastAssistantText = null;
358360
for (let i = bubbles.length - 1; i >= 0; i--) {
359361
const el = bubbles[i];
360-
if (el.className.includes('justify-start')) {
362+
if (el.className.includes("justify-start")) {
361363
lastAssistantText = el.textContent && el.textContent.trim();
362364
break;
363365
}
@@ -370,7 +372,8 @@ <h3 class="font-bold text-gray-800 mb-3 flex items-center gap-2">
370372
" That was lovely — what happened next?",
371373
" You're doing amazing!"
372374
];
373-
const suffix = variants[Math.floor(Math.random() * variants.length)];
375+
const suffix =
376+
variants[Math.floor(Math.random() * variants.length)];
374377
content = content + suffix;
375378
}
376379
}

pages_index.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -353,11 +353,13 @@ <h3 class="font-bold text-gray-800 mb-3 flex items-center gap-2">
353353
// more interactive (append a friendly suffix or alternate phrasing).
354354
if (role === "assistant") {
355355
// find the last assistant bubble (justify-start)
356-
const bubbles = Array.from(messagesDiv.querySelectorAll('.message-bubble'));
356+
const bubbles = Array.from(
357+
messagesDiv.querySelectorAll(".message-bubble")
358+
);
357359
let lastAssistantText = null;
358360
for (let i = bubbles.length - 1; i >= 0; i--) {
359361
const el = bubbles[i];
360-
if (el.className.includes('justify-start')) {
362+
if (el.className.includes("justify-start")) {
361363
lastAssistantText = el.textContent && el.textContent.trim();
362364
break;
363365
}
@@ -370,7 +372,8 @@ <h3 class="font-bold text-gray-800 mb-3 flex items-center gap-2">
370372
" That was lovely — what happened next?",
371373
" You're doing amazing!"
372374
];
373-
const suffix = variants[Math.floor(Math.random() * variants.length)];
375+
const suffix =
376+
variants[Math.floor(Math.random() * variants.length)];
374377
content = content + suffix;
375378
}
376379
}

0 commit comments

Comments
 (0)