You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: whitespace in chat + clarify integration docs
- Fix extra whitespace: set white-space:normal on markdown bubbles
(pre-wrap + marked.js paragraph margins caused double spacing)
- README: document both integration paths — Maven Central dependency
(recommended) and JavaClaw subproject (build from source)
- Add Maven Central badge
Drop-in replacement for [JavaClaw](https://github.com/jobrunr/JavaClaw)'s Spring WebSocket chat with [Atmosphere](https://github.com/Atmosphere/atmosphere).
@@ -55,7 +56,40 @@ JavaClaw needs [this 6-line PR](https://github.com/jobrunr/JavaClaw/pull/15) mer
55
56
56
57
### Step 2: Add the Atmosphere plugin
57
58
58
-
Copy `plugins/atmosphere/` into the JavaClaw repo, or add as a dependency:
That's it — the JAR is on [Maven Central](https://central.sonatype.com/artifact/org.atmosphere/javaclaw-atmosphere). The `ai.javaclaw:base` classes are provided by JavaClaw's own classpath at runtime.
70
+
71
+
**Option B: As a JavaClaw subproject**
72
+
73
+
If you prefer to build from source, clone this repo into `plugins/atmosphere/` and create a minimal `build.gradle`:
74
+
75
+
```gradle
76
+
// plugins/atmosphere/build.gradle
77
+
plugins {
78
+
id 'java-library'
79
+
}
80
+
81
+
dependencies {
82
+
implementation project(':base')
83
+
api 'org.atmosphere:atmosphere-spring-boot-starter:4.0.21'
> **Note:** The `build.gradle` in this repo is for standalone CI/publishing. When using as a JavaClaw subproject, use the simplified version above — it inherits repositories, BOMs, and toolchain config from JavaClaw's root project.
0 commit comments