Commit Graph

294 Commits

Author SHA1 Message Date
can1357 e22d123009 refactor(fs): migrated remaining sync file operations to async
- Converted readdirSync, readFileSync, and statSync to async readdir, readFile, stat across skills and agent discovery.
- Made scanDirectoryForSkills async and refactored custom directory scanning to use Promise.all for concurrent processing.
- Updated agent discovery to use fs/promises for async file reading and refactored helper patterns.
- Added AgentParsingError exception class for better error handling during agent parsing.
- Added filesystem error type guards (isEnoent, isEacces, isPerm, etc.) to pi-utils for safe error checking.
- Added color manipulation utilities to pi-utils for accessibility features.
- Added color-blind mode setting to settings manager.
- Migrated plugins, settings, and config modules from sync to async file operations.
- Updated error handling to use new pi-utils type guards for type-safe checking.
2026-01-24 03:18:03 +01:00
can1357 f66e5dba9b build(config): refactored build and TypeScript configuration with Bun loaders
- Removed WASM generation script; use Bun `wasm?raw` loader for imports.
- Added bunfig.toml with loaders for `.md`, `.py`, and `.wasm?raw` text imports.
- Added types/assets/index.d.ts for global TypeScript module declarations.
- Unified TypeScript configuration with tsgo-based checking across monorepo.
- Removed build and WASM steps from install and publish pipelines.
2026-01-24 00:03:52 +01:00
can1357 fcbfab765b refactor: consolidated module import paths
- Removed custom TypeScript path aliases and the associated transformation script.
- Replaced aliased imports with direct `@oh-my-pi` package imports for improved clarity.
- Simplified internal module references by removing explicit `/index` suffixes.
2026-01-23 21:01:13 +01:00
can1357 0fe761dc4b build(deps): refactored TypeScript and package configuration across monorepo
- Added tsconfig.publish.json files to all packages with optimized publish-time configuration.
- Updated all package.json scripts with prepublishOnly hooks for correct type checking during publish.
- Added @oh-my-pi/omp-stats path mappings to root tsconfig.json for consistent imports.
- Added WASM generation script for photon module and integrated into install:dev script.
2026-01-23 13:46:06 +01:00
can1357 7f0dfd26dd chore: bump version to 8.0.0 2026-01-23 13:10:57 +01:00
can1357 f0fce652b9 feat(coding-agent/core): added internal URL routing system with agent:// and skill:// protocols
- Added internal URL routing system with agent:// and skill:// protocol handlers.
- Enhanced fetch tool to support internal URLs and JSON extraction from agent outputs.
- Extended read tool to handle internal URLs with pagination and query extraction.
- Removed Output tool and replaced functionality with agent:// URL integration.
- Replaced minimatch dependency with Bun.Glob for pattern matching across modules.
2026-01-23 07:38:08 +01:00
can1357 2273cf80d7 chore(coding-agent): added format-prompts script and standardized prompt formatting
- Added format-prompts script for standardizing prompt file formatting across the codebase.
- Updated system prompt tags from `<required>`/`<antipatterns>` to `<important>`/`<avoid>` for clarity.
- Enhanced prompt formatting by removing blank lines after colons and around blocks for consistency.
- Standardized whitespace handling across all prompt files to improve readability.
2026-01-23 07:03:46 +01:00
can1357 60d51c99cd chore: bump version to 7.0.0 2026-01-21 23:55:47 +01:00
can1357 0b41368d59 chore: bump version to 6.9.69 2026-01-21 11:58:43 +01:00
can1357 a2501514d2 feat(omp-stats): added omp-stats package for AI usage tracking with SQLite aggregation
- Added new omp-stats package for AI usage statistics tracking with SQLite-based aggregation.
- Implemented web dashboard with real-time visualization and auto-refresh functionality.
- Added `omp stats` CLI command with configurable port, JSON output, and summary options.
- Created programmatic API for session sync and stats retrieval with TypeScript exports.
2026-01-21 10:25:22 +01:00
can1357 7f6d4ccf80 chore: bump version to 6.9.0 2026-01-21 08:15:15 +01:00
can1357 fa881fd508 refactor: removed voice control and git features from coding-agent
- Removed voice control and TTS features from coding-agent package.
- Removed git tool integration and worktree management from coding-agent.
- Deleted entire git-tool package and all git operations.
- Inlined OpenAI Codex prompt utilities and removed provider exports.
2026-01-21 08:09:15 +01:00
can1357 5659ad1316 chore: bump version to 6.8.5 2026-01-21 07:59:30 +01:00
can1357 9b71036848 chore: bump version to 6.8.4 2026-01-21 07:42:31 +01:00
can1357 0c875907b7 chore: bump version to 6.8.3 2026-01-21 04:49:03 +01:00
can1357 a8beb8ffbf chore: bump version to 6.8.2 2026-01-21 02:02:11 +01:00
can1357 698751e7fe chore: bump version to 6.8.1 2026-01-20 19:51:22 +01:00
can1357 94f406d4f0 chore: bump version to 6.8.0 2026-01-20 16:30:47 +01:00
can1357 b2c94bef1a refactor(deps): restructured codebase to use centralized pi-utils package
- Created new @oh-my-pi/pi-utils workspace package with shared utilities for logging, process management, stream handling, and temporary directory management.
- Migrated all packages to use centralized logger from @oh-my-pi/pi-utils instead of local winston implementations.
- Replaced custom process spawning and stream reading implementations with standardized cspawn and readLines utilities across all modules.
- Converted synchronous file operations and process spawning to async patterns using Bun shell syntax and fs/promises.
- Added streaming edit abort functionality with configurable setting to abort on patch preview failures.
- Updated test framework from vitest to bun:test across all test suites.
2026-01-20 05:33:21 +01:00
can1357 5b15b17587 chore: bump version to 6.7.670 2026-01-19 18:55:12 +01:00
can1357 43885b6b9a chore: bump version to 6.7.67 2026-01-19 17:32:39 +01:00
can1357 e01d08be07 chore: bump version to 6.7.0 2026-01-19 16:33:17 +01:00
can1357 44a32e6031 chore: bump version to 6.2.0 2026-01-19 05:29:37 +01:00
can1357 8fc853a5c2 chore: bump version to 6.1.0 2026-01-19 04:33:27 +01:00
can1357 34f2fc0854 chore: bump version to 6.0.0 2026-01-19 01:38:04 +01:00
can1357 e496de869a feat(coding-agent): added support for new providers and updated keyboard shortcuts
- Updated keyboard shortcuts: Ctrl+P/Shift+Ctrl+P now cycle role models instead of models.
- Changed Ctrl+T to toggle todo list expansion instead of thinking block.
- Added support for openai-codex-responses, google-vertex, cursor providers.
- Updated settings structure to use modelRoles object and removed deprecated options.
- Removed WASM base64 generation script and simplified postinstall process.
- Updated SDK documentation to reflect async auth/model discovery and new auth storage path.
2026-01-19 01:32:04 +01:00
can1357 5a601bb0c0 feat: added Windows ARM64 support and streaming WASM loading with base64 fallback
- Added Windows ARM64 binary support and architecture detection in installers.
- Updated WASM loading to use streaming with base64 fallback for binary compatibility.
- Moved TTSR settings to dedicated tab and expanded abbreviation to Time Traveling Stream Rules.
- Added comprehensive install testing infrastructure with Docker validation.
- Updated package name from @oh-my-pi/omp-coding-agent to @oh-my-pi/pi-coding-agent.
2026-01-19 01:23:27 +01:00
can1357 ffe79ab5b9 chore: bump version to 5.7.67 2026-01-19 00:04:19 +01:00
can1357 03cfbd81d4 feat(coding-agent): added vendored photon WASM for image processing
- Replaced external photon-node dependency with vendored WebAssembly implementation.
- Added local photon library with 200+ image processing functions and WASM bindings.
- Updated image conversion and resize utilities to use local photon implementation.
- Added error handling for unknown OAuth providers in AI package.
2026-01-19 00:02:12 +01:00
can1357 768c0afcb2 chore: bump version to 5.6.77 2026-01-18 22:24:40 +01:00
can1357 0c86c38d4d chore: bump version to 5.6.70 2026-01-18 21:37:18 +01:00
can1357 a9ca7365ac chore: bump version to 5.6.7 2026-01-18 21:11:16 +01:00
can1357 095d01a8ac chore: bump version to 5.5.0 2026-01-18 04:59:28 +01:00
can1357 fd0833f3e4 chore: bump version to 5.4.2 2026-01-16 13:26:57 +01:00
can1357 131fd73b7e chore: bump version to 5.4.0 2026-01-15 18:12:31 +01:00
can1357 e5a7059cf8 chore: bump version to 5.3.1 2026-01-15 15:53:18 +01:00
can1357 e2a84ad6e8 chore: bump version to 5.3.0 2026-01-15 13:21:23 +01:00
can1357 19e00ae5cf chore: bump version to 5.2.1 2026-01-14 13:23:24 +01:00
can1357 5a96e01739 chore: bump version to 5.2.0 2026-01-14 08:59:32 +01:00
can1357 733dd7ad1c chore: bump version to 5.1.1 2026-01-14 03:32:28 +01:00
can1357 879274a094 chore: bump version to 5.1.0 2026-01-14 03:21:54 +01:00
can1357 48b44a6ef8 refactor(coding-agent): simplify Photon integration with native Node.js binding
- Replaced @silvia-odwyer/photon (WASM) with @silvia-odwyer/photon-node (native)
- Removed async initialization wrapper (photon.ts)
- Removed ImageMagick fallback (image-magick.ts)
- Fixed truncateToWidth test to expect Unicode ellipsis
2026-01-14 03:15:10 +01:00
can1357 aef56b8eed chore: bump version to 5.0.1 2026-01-12 15:23:41 +01:00
can1357 16fa5533e5 feat(coding-agent): migrated image processing from wasm-vips to Photon with graceful fallbacks
- Migrated image processing library from wasm-vips to Photon (Rust/WASM) for improved performance and reliability.
- Added graceful fallback for failed image resizing operations, allowing the system to use original images when WASM processing fails.
- Added error handling for image conversion failures in interactive mode to prevent crashes during WASM processing.
- Implemented lazy initialization pattern for Photon WASM module with proper resource cleanup using try-finally blocks.
- Added NULL_PROMPT environment variable support for debugging and testing system prompt generation.
2026-01-12 15:23:35 +01:00
can1357 e0a407861c chore: bump version to 5.0.0 2026-01-12 13:54:40 +01:00
can1357 b4063fd3da chore: bump version to 4.9.0 2026-01-12 12:09:18 +01:00
can1357 f37e403226 chore: bump version to 4.8.3 2026-01-12 11:46:51 +01:00
can1357 f9a7159035 fix(coding-agent): replace sharp with wasm-vips for cross-platform support 2026-01-12 11:45:26 +01:00
can1357 903e4145e7 chore: bump version to 4.8.0 2026-01-12 11:11:59 +01:00
can1357 bf770d7b96 fix(coding-agent): move sharp to optional dependencies for arm64 support 2026-01-12 11:08:33 +01:00