Conversation
📝 WalkthroughWalkthroughThe Changes
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Comment |
|
The latest Agentuity deployment details.
|
There was a problem hiding this comment.
🧹 Nitpick comments (1)
packages/core/src/services/stream/namespaces.ts (1)
47-47: Update description text to reflect omitted-key support.Line 47’s description says “or null”, but the schema now also allows omission (
undefined). Consider updating the wording for clarity.Suggested wording tweak
- expires_at: z.string().nullable().optional().describe('ISO 8601 expiration timestamp or null'), + expires_at: z.string().nullable().optional().describe('ISO 8601 expiration timestamp, null, or omitted'),🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@packages/core/src/services/stream/namespaces.ts` at line 47, The description for the expires_at schema entry (expires_at: z.string().nullable().optional()) is inaccurate because it only mentions “or null” while the schema also allows omission/undefined; update the describe(...) text to mention “or null or omitted (undefined)” or similar wording so it reflects nullable + optional support—locate the expires_at field in namespaces.ts and change its describe string accordingly.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In `@packages/core/src/services/stream/namespaces.ts`:
- Line 47: The description for the expires_at schema entry (expires_at:
z.string().nullable().optional()) is inaccurate because it only mentions “or
null” while the schema also allows omission/undefined; update the describe(...)
text to mention “or null or omitted (undefined)” or similar wording so it
reflects nullable + optional support—locate the expires_at field in
namespaces.ts and change its describe string accordingly.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: f8332b2b-3668-4e76-932e-ce484e1d6333
📒 Files selected for processing (1)
packages/core/src/services/stream/namespaces.ts
📜 Review details
🧰 Additional context used
📓 Path-based instructions (3)
**/*.{ts,tsx,js,jsx}
📄 CodeRabbit inference engine (AGENTS.md)
Use Biome as code formatter with tabs (width 3), single quotes, semicolons, lineWidth 100, and trailingCommas es5
Files:
packages/core/src/services/stream/namespaces.ts
**/*.{ts,tsx}
📄 CodeRabbit inference engine (AGENTS.md)
**/*.{ts,tsx}: Use TypeScript Strict mode with ESNext target and bundler moduleResolution
UseStructuredErrorfrom@agentuity/corefor error handling
Files:
packages/core/src/services/stream/namespaces.ts
packages/core/src/**/*.ts
📄 CodeRabbit inference engine (packages/core/AGENTS.md)
packages/core/src/**/*.ts: Build TypeScript withbun run buildcommand
Run TypeScript type checking withbun run typecheckcommand
Ensure runtime compatibility with both Browser and Node/Bun environments with no runtime-specific code
Build target must be ESNext with TypeScript declaration files
Prefer interfaces for public APIs
Use generics for reusable type utilities
Ensure no side effects in all exports - all exports must be pure with no global mutations
All relative imports in TypeScript files MUST include the.tsextension
Runbun run buildbefore publishing to compile TypeScript
Files:
packages/core/src/services/stream/namespaces.ts
🧠 Learnings (1)
📚 Learning: 2025-12-21T00:31:41.858Z
Learnt from: jhaynie
Repo: agentuity/sdk PR: 274
File: packages/cli/src/cmd/build/vite/server-bundler.ts:12-41
Timestamp: 2025-12-21T00:31:41.858Z
Learning: In Bun runtime, BuildMessage and ResolveMessage are global types and are not exported from the bun module. Do not import { BuildMessage } from 'bun' or similar; these types are available globally and should be used without import. This applies to all TypeScript files that target the Bun runtime within the repository.
Applied to files:
packages/core/src/services/stream/namespaces.ts
🔇 Additional comments (1)
packages/core/src/services/stream/namespaces.ts (1)
43-43: Good compatibility fix forstarted_atoptionality.Line 43 correctly widens the schema to accept both
nulland omitted values, matching the PR goal.
📦 Canary Packages Publishedversion: PackagesInstallAdd to your {
"dependencies": {
"@agentuity/webhook": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-webhook-2.0.9-fd4dc67.tgz",
"@agentuity/react": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-react-2.0.9-fd4dc67.tgz",
"@agentuity/server": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-server-2.0.9-fd4dc67.tgz",
"@agentuity/drizzle": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-drizzle-2.0.9-fd4dc67.tgz",
"@agentuity/migrate": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-migrate-2.0.9-fd4dc67.tgz",
"@agentuity/task": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-task-2.0.9-fd4dc67.tgz",
"@agentuity/runtime": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-runtime-2.0.9-fd4dc67.tgz",
"@agentuity/keyvalue": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-keyvalue-2.0.9-fd4dc67.tgz",
"@agentuity/coder": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-coder-2.0.9-fd4dc67.tgz",
"@agentuity/sandbox": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-sandbox-2.0.9-fd4dc67.tgz",
"@agentuity/evals": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-evals-2.0.9-fd4dc67.tgz",
"@agentuity/workbench": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-workbench-2.0.9-fd4dc67.tgz",
"@agentuity/cli": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-cli-2.0.9-fd4dc67.tgz",
"@agentuity/core": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-core-2.0.9-fd4dc67.tgz",
"@agentuity/frontend": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-frontend-2.0.9-fd4dc67.tgz",
"@agentuity/opencode": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-opencode-2.0.9-fd4dc67.tgz",
"@agentuity/schema": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-schema-2.0.9-fd4dc67.tgz",
"@agentuity/claude-code": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-claude-code-2.0.9-fd4dc67.tgz",
"@agentuity/schedule": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-schedule-2.0.9-fd4dc67.tgz",
"@agentuity/postgres": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-postgres-2.0.9-fd4dc67.tgz",
"@agentuity/email": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-email-2.0.9-fd4dc67.tgz",
"@agentuity/auth": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-auth-2.0.9-fd4dc67.tgz",
"@agentuity/vector": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-vector-2.0.9-fd4dc67.tgz",
"@agentuity/coder-tui": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-coder-tui-2.0.9-fd4dc67.tgz",
"@agentuity/db": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-db-2.0.9-fd4dc67.tgz",
"@agentuity/queue": "https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-queue-2.0.9-fd4dc67.tgz"
}
}Or install directly: bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-webhook-2.0.9-fd4dc67.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-react-2.0.9-fd4dc67.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-server-2.0.9-fd4dc67.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-drizzle-2.0.9-fd4dc67.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-migrate-2.0.9-fd4dc67.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-task-2.0.9-fd4dc67.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-runtime-2.0.9-fd4dc67.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-keyvalue-2.0.9-fd4dc67.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-coder-2.0.9-fd4dc67.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-sandbox-2.0.9-fd4dc67.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-evals-2.0.9-fd4dc67.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-workbench-2.0.9-fd4dc67.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-cli-2.0.9-fd4dc67.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-core-2.0.9-fd4dc67.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-frontend-2.0.9-fd4dc67.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-opencode-2.0.9-fd4dc67.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-schema-2.0.9-fd4dc67.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-claude-code-2.0.9-fd4dc67.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-schedule-2.0.9-fd4dc67.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-postgres-2.0.9-fd4dc67.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-email-2.0.9-fd4dc67.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-auth-2.0.9-fd4dc67.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-vector-2.0.9-fd4dc67.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-coder-tui-2.0.9-fd4dc67.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-db-2.0.9-fd4dc67.tgz
bun add https://agentuity-sdk-objects.t3.storageapi.dev/npm/2.0.9-fd4dc67/agentuity-queue-2.0.9-fd4dc67.tgz |
Brings in 10 commits from main on top of the v3 branch: - More perf improvements (#1416) - Relax stream namespace timestamp fields (#1406) - feat: add per-sandbox paused timeout support (#1392) - fix(ci): handle successful docs sync transport errors (#1415) - Update stale docs (#1404) - feat(docs): add Pagefind keyword search (#1412) - fix(ci): run release-next tests with test env (#1414) - Add coder Hub rpc_ready protocol event (#1413) - fix(docs): improve Ask AI query handling (#1411) - Move default template from agent pattern to route-only (#1386) Conflict resolutions: Modify/delete (deleted on v3, kept deleted — main's edits dropped): - packages/cli/src/cmd/build/vite/vite-asset-server-config.ts - packages/runtime/src/middleware.ts - packages/runtime/src/services/sandbox/http.ts - templates/_base/src/api/index.ts - templates/default/package.overlay.json - templates/default/src/api/index.ts - templates/default/src/web/App.tsx File location (apps/docs -> docs rename from v3): - docs/src/web/lib/pagefind-search.ts (placed at v3 path) Content: - .github/workflows/release-next.yaml — deduped the NODE_ENV env block on the Unit tests step (both sides added it; kept main's placement before run:); kept v3's trailing newline. - docs/src/api/streaming/route.ts — kept v3's defensive runtime type narrowing for body.model (added by CodeRabbit feedback) but adopted main's default model name 'gpt-5.4-mini' to match the rest of the docs demo apps. - bun.lock — regenerated from the merged package manifests.
Summary
Verification
Notes