u-foo 1.2.2 β 1.2.4
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 +0 -74
- package/package.json +1 -1
- package/src/daemon/index.js +1 -0
- package/src/daemon/ops.js +3 -3
package/README.md
CHANGED
|
@@ -373,77 +373,3 @@ npm test
|
|
|
373
373
|
## License
|
|
374
374
|
|
|
375
375
|
UNLICENSED (Private)
|
|
376
|
-
|
|
377
|
-
## Recent Changes
|
|
378
|
-
|
|
379
|
-
### π¨ UCode Branding & UI Improvements (2026-02-15)
|
|
380
|
-
|
|
381
|
-
Enhanced ucode agent branding consistency and fixed UI rendering issues:
|
|
382
|
-
|
|
383
|
-
**Features:**
|
|
384
|
-
- **Consistent Branding** - ucode agents now display as "ucode-1" instead of "ufoo-code-1"
|
|
385
|
-
- **Banner Normalization** - Agent type shows "ucode" in launch banners
|
|
386
|
-
- **UI Width Fix** - Resolved terminal width inconsistency causing background overflow
|
|
387
|
-
- **Immediate Prompt Display** - ucode TUI now shows incoming prompts instantly (not waiting for response)
|
|
388
|
-
|
|
389
|
-
**Technical Details:**
|
|
390
|
-
- `src/bus/nickname.js` - Maps ufoo-code β ucode for nickname generation
|
|
391
|
-
- `src/utils/banner.js` - Normalized agent type display
|
|
392
|
-
- `src/chat/layout.js` - Fixed blessed log component width handling
|
|
393
|
-
- `src/code/tui.js` - Added onMessageReceived callback for instant display
|
|
394
|
-
|
|
395
|
-
**Version:** v1.1.9
|
|
396
|
-
|
|
397
|
-
---
|
|
398
|
-
|
|
399
|
-
### π Smart Ready Detection & PTY Wrapper (2026-02-06)
|
|
400
|
-
|
|
401
|
-
Added intelligent agent initialization detection for reliable probe injection:
|
|
402
|
-
|
|
403
|
-
**Features:**
|
|
404
|
-
- **ReadyDetector** - Monitors PTY output to detect when agents are ready
|
|
405
|
-
- **Smart Probe Timing** - Injects session probe after agent initialization (not before)
|
|
406
|
-
- **Multi-layer Fallback** - 10s ready detection + 8s fallback + 15 retries
|
|
407
|
-
- **Performance Metrics** - Tracks detection time and buffer usage (`UFOO_DEBUG=1`)
|
|
408
|
-
|
|
409
|
-
**Benefits:**
|
|
410
|
-
- β
No more premature probe injection (was 2s, now waits for prompt)
|
|
411
|
-
- β
Reliable session ID capture (39 tests, 100% pass)
|
|
412
|
-
- β
Production-ready error handling and logging
|
|
413
|
-
|
|
414
|
-
**Technical Details:**
|
|
415
|
-
- `src/agent/readyDetector.js` - PTY output analysis
|
|
416
|
-
- `src/agent/ptyWrapper.js` - Terminal emulation with monitoring
|
|
417
|
-
- `src/daemon/providerSessions.js` - Early probe triggering support
|
|
418
|
-
|
|
419
|
-
See `.ufoo/plans/ready-detection-production-checklist.md` for full details.
|
|
420
|
-
|
|
421
|
-
---
|
|
422
|
-
|
|
423
|
-
### π Bash to JavaScript Migration (2026-02-04)
|
|
424
|
-
|
|
425
|
-
We've successfully migrated **80% of the codebase** from Bash to JavaScript for better maintainability and cross-platform support!
|
|
426
|
-
|
|
427
|
-
**What Changed:**
|
|
428
|
-
- β
EventBus core (986 lines) β 8 JavaScript modules
|
|
429
|
-
- β
Daemon & inject β Pure JavaScript
|
|
430
|
-
- β
status, skills, init β JavaScript modules
|
|
431
|
-
- βΈοΈ Context management scripts remain in Bash (complex text processing)
|
|
432
|
-
|
|
433
|
-
**Impact:**
|
|
434
|
-
- **CLI commands unchanged** - All commands work exactly as before
|
|
435
|
-
- **Performance:** 51ms/message (vs 45ms in Bash, +13%)
|
|
436
|
-
- **Testing:** 20/20 integration tests passing
|
|
437
|
-
- **Quality:** Better error handling, testing, and IDE support
|
|
438
|
-
|
|
439
|
-
**Learn More:**
|
|
440
|
-
- See [MIGRATION_LOG.md](MIGRATION_LOG.md) for full details
|
|
441
|
-
- View archived scripts in `scripts/.archived/migrated-to-js/`
|
|
442
|
-
- Performance benchmarks in test reports
|
|
443
|
-
|
|
444
|
-
**Why This Matters:**
|
|
445
|
-
- π― Unified JavaScript tech stack
|
|
446
|
-
- π§ͺ Easier to test and maintain
|
|
447
|
-
- π Cross-platform potential (Windows/Linux)
|
|
448
|
-
- π‘ Better IDE support and refactoring
|
|
449
|
-
- π Foundation for future enhancements
|
package/package.json
CHANGED
package/src/daemon/index.js
CHANGED
|
@@ -877,6 +877,7 @@ function startDaemon({ projectRoot, provider, model, resumeMode = "auto" }) {
|
|
|
877
877
|
return;
|
|
878
878
|
}
|
|
879
879
|
if (req.type === IPC_REQUEST_TYPES.LAUNCH_AGENT) {
|
|
880
|
+
log(`launch_agent received: agent=${req.agent} count=${req.count}`);
|
|
880
881
|
const { agent, count, nickname } = req;
|
|
881
882
|
const normalizedAgent = normalizeLaunchAgent(agent);
|
|
882
883
|
if (!normalizedAgent) {
|
package/src/daemon/ops.js
CHANGED
|
@@ -24,9 +24,9 @@ function toBusAgentType(agent = "") {
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
function toTerminalBinary(agent = "") {
|
|
27
|
-
if (agent === "codex") return "
|
|
28
|
-
if (agent === "claude") return "
|
|
29
|
-
if (agent === "ufoo") return "
|
|
27
|
+
if (agent === "codex") return "ucodex";
|
|
28
|
+
if (agent === "claude") return "uclaude";
|
|
29
|
+
if (agent === "ufoo") return "ucode";
|
|
30
30
|
return "";
|
|
31
31
|
}
|
|
32
32
|
|