Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 29, 2026

Replaces local workspace @objectstack/runtime with official npm package @objectstack/runtime@0.6.1 and upgrades all @objectstack dependencies to 0.6.1.

Package Changes

  • @objectstack/spec: 0.6.0 → 0.6.1
  • @objectstack/runtime: workspace:* → 0.6.1 (official npm package)
  • Added @objectstack/objectql@0.6.1 (provides ObjectQLPlugin not included in runtime)
  • Removed unused @objectos/kernel and @objectos/preset-base dependencies

Code Changes

Updated provider to use official packages:

// Before: Local runtime with ObjectOS
import { ObjectKernel, ObjectQLPlugin, DriverPlugin } from '@objectstack/runtime';
import { ObjectOS } from '@objectos/kernel';

// After: Official packages
import { ObjectKernel, DriverPlugin } from '@objectstack/runtime';
import { ObjectQLPlugin } from '@objectstack/objectql';

Changed DI token from ObjectOS class to string literal 'OBJECTQL' for compatibility with official ObjectQL implementation.

Configuration

  • Excluded packages/runtime from workspace
  • Updated TypeScript to ESNext/bundler for ES module support
  • Removed local runtime references from tsconfig

Patches

Applied pnpm patches to fix upstream packaging bugs in official 0.6.1 releases:

  • @objectstack/objectql: Fixed package.json main/types pointing to src instead of dist
  • @objectstack/objectql + @objectstack/runtime: Added missing .js extensions in ES module imports

These patches work around Node.js ES module resolution failures until upstream packages are corrected.

Original prompt

@objectstack 升级到最新版,并使用官方发布的 @objectack/runtime 启动服务。


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

@vercel
Copy link

vercel bot commented Jan 29, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
objectos Ready Ready Preview, Comment Jan 29, 2026 1:15am

Request Review

Copilot AI and others added 3 commits January 29, 2026 00:46
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
…encies

Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Copilot AI changed the title [WIP] Upgrade to latest version of objectstack and use official runtime Upgrade to @objectstack 0.6.1 with official runtime package Jan 29, 2026
Copilot AI requested a review from hotlong January 29, 2026 00:56
@github-actions github-actions bot added size/xl and removed size/xl labels Jan 29, 2026
@github-actions
Copy link

⚠️ This PR is very large. Consider breaking it down into smaller, more focused changes for easier review.

@vercel
Copy link

vercel bot commented Jan 29, 2026

Deployment failed with the following error:

You don't have permission to create a Preview Deployment for this Vercel project: objectos.

View Documentation: https://vercel.com/docs/accounts/team-members-and-roles

@github-actions github-actions bot added size/xl and removed size/xl labels Jan 29, 2026
@github-actions
Copy link

⚠️ This PR is very large. Consider breaking it down into smaller, more focused changes for easier review.

@xuyushun441-sys xuyushun441-sys marked this pull request as ready for review January 29, 2026 01:33
@xuyushun441-sys xuyushun441-sys merged commit 07bcbba into main Jan 29, 2026
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants