chore: bump version to 3.33.0
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
},
|
||||
"packages/agent": {
|
||||
"name": "@oh-my-pi/pi-agent-core",
|
||||
"version": "3.32.0",
|
||||
"version": "3.33.0",
|
||||
"dependencies": {
|
||||
"@mariozechner/pi-ai": "^0.37.8",
|
||||
"@oh-my-pi/pi-tui": "workspace:*",
|
||||
@@ -32,7 +32,7 @@
|
||||
},
|
||||
"packages/coding-agent": {
|
||||
"name": "@oh-my-pi/pi-coding-agent",
|
||||
"version": "3.32.0",
|
||||
"version": "3.33.0",
|
||||
"bin": {
|
||||
"omp": "src/cli.ts",
|
||||
},
|
||||
@@ -73,7 +73,7 @@
|
||||
},
|
||||
"packages/git-tool": {
|
||||
"name": "@oh-my-pi/pi-git-tool",
|
||||
"version": "3.32.0",
|
||||
"version": "3.33.0",
|
||||
"devDependencies": {
|
||||
"@types/node": "^24.3.0",
|
||||
"vitest": "^3.2.4",
|
||||
@@ -81,7 +81,7 @@
|
||||
},
|
||||
"packages/tui": {
|
||||
"name": "@oh-my-pi/pi-tui",
|
||||
"version": "3.32.0",
|
||||
"version": "3.33.0",
|
||||
"dependencies": {
|
||||
"@types/mime-types": "^2.1.4",
|
||||
"chalk": "^5.5.0",
|
||||
@@ -944,6 +944,12 @@
|
||||
|
||||
"@oh-my-pi/pi-git-tool/@types/node": ["@types/node@24.10.4", "", { "dependencies": { "undici-types": "~7.16.0" } }, "sha512-vnDVpYPMzs4wunl27jHrfmwojOGKya0xyM3sH+UE5iv5uPS6vX7UIoh6m+vQc5LGBq52HBKPIn/zcSZVzeDEZg=="],
|
||||
|
||||
"@openai/agents/openai": ["openai@6.15.0", "", { "peerDependencies": { "ws": "^8.18.0", "zod": "^3.25 || ^4.0" }, "optionalPeers": ["ws", "zod"], "bin": { "openai": "bin/cli" } }, "sha512-F1Lvs5BoVvmZtzkUEVyh8mDQPPFolq4F+xdsx/DO8Hee8YF3IGAlZqUIsF+DVGhqf4aU0a3bTghsxB6OIsRy1g=="],
|
||||
|
||||
"@openai/agents-core/openai": ["openai@6.15.0", "", { "peerDependencies": { "ws": "^8.18.0", "zod": "^3.25 || ^4.0" }, "optionalPeers": ["ws", "zod"], "bin": { "openai": "bin/cli" } }, "sha512-F1Lvs5BoVvmZtzkUEVyh8mDQPPFolq4F+xdsx/DO8Hee8YF3IGAlZqUIsF+DVGhqf4aU0a3bTghsxB6OIsRy1g=="],
|
||||
|
||||
"@openai/agents-openai/openai": ["openai@6.15.0", "", { "peerDependencies": { "ws": "^8.18.0", "zod": "^3.25 || ^4.0" }, "optionalPeers": ["ws", "zod"], "bin": { "openai": "bin/cli" } }, "sha512-F1Lvs5BoVvmZtzkUEVyh8mDQPPFolq4F+xdsx/DO8Hee8YF3IGAlZqUIsF+DVGhqf4aU0a3bTghsxB6OIsRy1g=="],
|
||||
|
||||
"@types/ndjson/@types/node": ["@types/node@24.10.4", "", { "dependencies": { "undici-types": "~7.16.0" } }, "sha512-vnDVpYPMzs4wunl27jHrfmwojOGKya0xyM3sH+UE5iv5uPS6vX7UIoh6m+vQc5LGBq52HBKPIn/zcSZVzeDEZg=="],
|
||||
|
||||
"@types/through/@types/node": ["@types/node@24.10.4", "", { "dependencies": { "undici-types": "~7.16.0" } }, "sha512-vnDVpYPMzs4wunl27jHrfmwojOGKya0xyM3sH+UE5iv5uPS6vX7UIoh6m+vQc5LGBq52HBKPIn/zcSZVzeDEZg=="],
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [3.33.0] - 2026-01-08
|
||||
|
||||
### Fixed
|
||||
|
||||
- Ensured aborted assistant responses always include an error message for callers.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@oh-my-pi/pi-agent-core",
|
||||
"version": "3.32.0",
|
||||
"version": "3.33.0",
|
||||
"description": "General-purpose agent with transport abstraction, state management, and attachment support",
|
||||
"type": "module",
|
||||
"main": "./src/index.ts",
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [3.33.0] - 2026-01-08
|
||||
|
||||
### Added
|
||||
- Added `env` support in `settings.json` for automatically setting environment variables on startup
|
||||
- Added environment variable management methods to SettingsManager (get/set/clear)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@oh-my-pi/pi-coding-agent",
|
||||
"version": "3.32.0",
|
||||
"version": "3.33.0",
|
||||
"description": "Coding agent CLI with read, bash, edit, write tools and session management",
|
||||
"type": "module",
|
||||
"ompConfig": {
|
||||
|
||||
@@ -79,7 +79,7 @@ function tryMatchModel(modelPattern: string, availableModels: Model<Api>[]): Mod
|
||||
const provider = modelPattern.substring(0, slashIndex);
|
||||
const modelId = modelPattern.substring(slashIndex + 1);
|
||||
const providerMatch = availableModels.find(
|
||||
(m) => m.provider.toLowerCase() === provider.toLowerCase() && m.id.toLowerCase() === modelId.toLowerCase()
|
||||
(m) => m.provider.toLowerCase() === provider.toLowerCase() && m.id.toLowerCase() === modelId.toLowerCase(),
|
||||
);
|
||||
if (providerMatch) {
|
||||
return providerMatch;
|
||||
@@ -97,7 +97,7 @@ function tryMatchModel(modelPattern: string, availableModels: Model<Api>[]): Mod
|
||||
const matches = availableModels.filter(
|
||||
(m) =>
|
||||
m.id.toLowerCase().includes(modelPattern.toLowerCase()) ||
|
||||
m.name?.toLowerCase().includes(modelPattern.toLowerCase())
|
||||
m.name?.toLowerCase().includes(modelPattern.toLowerCase()),
|
||||
);
|
||||
|
||||
if (matches.length === 0) {
|
||||
@@ -351,7 +351,7 @@ export async function restoreModelFromSession(
|
||||
savedModelId: string,
|
||||
currentModel: Model<Api> | undefined,
|
||||
shouldPrintMessages: boolean,
|
||||
modelRegistry: ModelRegistry
|
||||
modelRegistry: ModelRegistry,
|
||||
): Promise<{ model: Model<Api> | undefined; fallbackMessage: string | undefined }> {
|
||||
const restoredModel = modelRegistry.find(savedProvider, savedModelId);
|
||||
|
||||
@@ -427,7 +427,7 @@ export async function restoreModelFromSession(
|
||||
*/
|
||||
export async function findSmolModel(
|
||||
modelRegistry: ModelRegistry,
|
||||
savedModel?: string
|
||||
savedModel?: string,
|
||||
): Promise<Model<Api> | undefined> {
|
||||
const availableModels = modelRegistry.getAvailable();
|
||||
if (availableModels.length === 0) return undefined;
|
||||
@@ -470,7 +470,7 @@ export async function findSmolModel(
|
||||
*/
|
||||
export async function findSlowModel(
|
||||
modelRegistry: ModelRegistry,
|
||||
savedModel?: string
|
||||
savedModel?: string,
|
||||
): Promise<Model<Api> | undefined> {
|
||||
const availableModels = modelRegistry.getAvailable();
|
||||
if (availableModels.length === 0) return undefined;
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [3.33.0] - 2026-01-08
|
||||
|
||||
## [3.32.0] - 2026-01-08
|
||||
|
||||
## [3.31.0] - 2026-01-08
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@oh-my-pi/pi-git-tool",
|
||||
"version": "3.32.0",
|
||||
"version": "3.33.0",
|
||||
"description": "Structured Git tool with safety guards and typed output",
|
||||
"type": "module",
|
||||
"main": "./src/index.ts",
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [3.33.0] - 2026-01-08
|
||||
|
||||
## [3.32.0] - 2026-01-08
|
||||
|
||||
### Fixed
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@oh-my-pi/pi-tui",
|
||||
"version": "3.32.0",
|
||||
"version": "3.33.0",
|
||||
"description": "Terminal User Interface library with differential rendering for efficient text-based applications",
|
||||
"type": "module",
|
||||
"main": "src/index.ts",
|
||||
|
||||
+8
-3
@@ -154,20 +154,25 @@ async function cmdRelease(version: string): Promise<void> {
|
||||
await updateChangelogsForRelease(version);
|
||||
console.log();
|
||||
|
||||
// 5. Commit and tag
|
||||
// 5. Run checks
|
||||
console.log("Running checks...");
|
||||
await $`bun run check`;
|
||||
console.log();
|
||||
|
||||
// 6. Commit and tag
|
||||
console.log("Committing and tagging...");
|
||||
await $`git add .`;
|
||||
await $`git commit -m ${`chore: bump version to ${version}`}`;
|
||||
await $`git tag ${`v${version}`}`;
|
||||
console.log();
|
||||
|
||||
// 6. Push
|
||||
// 7. Push
|
||||
console.log("Pushing to remote...");
|
||||
await $`git push origin main`;
|
||||
await $`git push origin ${`v${version}`}`;
|
||||
console.log();
|
||||
|
||||
// 7. Watch CI
|
||||
// 8. Watch CI
|
||||
console.log("Watching CI...");
|
||||
const success = await watchCI();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user