u-foo 1.2.1 β†’ 1.2.3

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.
Files changed (2) hide show
  1. package/README.md +11 -77
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -2,7 +2,10 @@
2
2
 
3
3
  πŸ€– Multi-agent AI collaboration framework for orchestrating Claude Code, OpenAI Codex, and custom AI agents.
4
4
 
5
+ πŸ“¦ **npm**: [https://www.npmjs.com/package/u-foo](https://www.npmjs.com/package/u-foo)
6
+
5
7
  [![npm version](https://img.shields.io/npm/v/u-foo.svg)](https://www.npmjs.com/package/u-foo)
8
+ [![npm downloads](https://img.shields.io/npm/dm/u-foo.svg)](https://www.npmjs.com/package/u-foo)
6
9
  [![License](https://img.shields.io/badge/license-UNLICENSED-red.svg)](LICENSE)
7
10
  [![Node](https://img.shields.io/badge/node-%3E%3D18-brightgreen.svg)](https://nodejs.org)
8
11
  [![Platform](https://img.shields.io/badge/platform-macOS-blue.svg)](https://www.apple.com/macos)
@@ -35,14 +38,19 @@ ufoo solves the challenge of coordinating multiple AI coding agents:
35
38
  ## Installation
36
39
 
37
40
  ```bash
38
- # Install globally from npm
41
+ # Install globally from npm (recommended)
39
42
  npm install -g u-foo
43
+ ```
40
44
 
41
- # Or clone from source
45
+ Or install from source:
46
+
47
+ ```bash
42
48
  git clone https://github.com/Icyoung/ufoo.git ~/.ufoo
43
- cd ~/.ufoo && npm link
49
+ cd ~/.ufoo && npm install && npm link
44
50
  ```
45
51
 
52
+ After installation, the following commands are available globally: `ufoo`, `uclaude`, `ucodex`, `ucode`.
53
+
46
54
  ## Quick Start
47
55
 
48
56
  ```bash
@@ -365,77 +373,3 @@ npm test
365
373
  ## License
366
374
 
367
375
  UNLICENSED (Private)
368
-
369
- ## Recent Changes
370
-
371
- ### 🎨 UCode Branding & UI Improvements (2026-02-15)
372
-
373
- Enhanced ucode agent branding consistency and fixed UI rendering issues:
374
-
375
- **Features:**
376
- - **Consistent Branding** - ucode agents now display as "ucode-1" instead of "ufoo-code-1"
377
- - **Banner Normalization** - Agent type shows "ucode" in launch banners
378
- - **UI Width Fix** - Resolved terminal width inconsistency causing background overflow
379
- - **Immediate Prompt Display** - ucode TUI now shows incoming prompts instantly (not waiting for response)
380
-
381
- **Technical Details:**
382
- - `src/bus/nickname.js` - Maps ufoo-code β†’ ucode for nickname generation
383
- - `src/utils/banner.js` - Normalized agent type display
384
- - `src/chat/layout.js` - Fixed blessed log component width handling
385
- - `src/code/tui.js` - Added onMessageReceived callback for instant display
386
-
387
- **Version:** v1.1.9
388
-
389
- ---
390
-
391
- ### πŸš€ Smart Ready Detection & PTY Wrapper (2026-02-06)
392
-
393
- Added intelligent agent initialization detection for reliable probe injection:
394
-
395
- **Features:**
396
- - **ReadyDetector** - Monitors PTY output to detect when agents are ready
397
- - **Smart Probe Timing** - Injects session probe after agent initialization (not before)
398
- - **Multi-layer Fallback** - 10s ready detection + 8s fallback + 15 retries
399
- - **Performance Metrics** - Tracks detection time and buffer usage (`UFOO_DEBUG=1`)
400
-
401
- **Benefits:**
402
- - βœ… No more premature probe injection (was 2s, now waits for prompt)
403
- - βœ… Reliable session ID capture (39 tests, 100% pass)
404
- - βœ… Production-ready error handling and logging
405
-
406
- **Technical Details:**
407
- - `src/agent/readyDetector.js` - PTY output analysis
408
- - `src/agent/ptyWrapper.js` - Terminal emulation with monitoring
409
- - `src/daemon/providerSessions.js` - Early probe triggering support
410
-
411
- See `.ufoo/plans/ready-detection-production-checklist.md` for full details.
412
-
413
- ---
414
-
415
- ### πŸŽ‰ Bash to JavaScript Migration (2026-02-04)
416
-
417
- We've successfully migrated **80% of the codebase** from Bash to JavaScript for better maintainability and cross-platform support!
418
-
419
- **What Changed:**
420
- - βœ… EventBus core (986 lines) β†’ 8 JavaScript modules
421
- - βœ… Daemon & inject β†’ Pure JavaScript
422
- - βœ… status, skills, init β†’ JavaScript modules
423
- - ⏸️ Context management scripts remain in Bash (complex text processing)
424
-
425
- **Impact:**
426
- - **CLI commands unchanged** - All commands work exactly as before
427
- - **Performance:** 51ms/message (vs 45ms in Bash, +13%)
428
- - **Testing:** 20/20 integration tests passing
429
- - **Quality:** Better error handling, testing, and IDE support
430
-
431
- **Learn More:**
432
- - See [MIGRATION_LOG.md](MIGRATION_LOG.md) for full details
433
- - View archived scripts in `scripts/.archived/migrated-to-js/`
434
- - Performance benchmarks in test reports
435
-
436
- **Why This Matters:**
437
- - 🎯 Unified JavaScript tech stack
438
- - πŸ§ͺ Easier to test and maintain
439
- - 🌍 Cross-platform potential (Windows/Linux)
440
- - πŸ’‘ Better IDE support and refactoring
441
- - πŸš€ Foundation for future enhancements
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "u-foo",
3
- "version": "1.2.1",
3
+ "version": "1.2.3",
4
4
  "description": "Multi-Agent Workspace Protocol. Just add u. claude β†’ uclaude, codex β†’ ucodex.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "homepage": "https://ufoo.dev",