- Upgrade @inlang/paraglide-js to 2.25.0 in root devDependencies
- Untrack 2,700+ generated paraglide files from git index
- Ignore packages/webui/paraglide in .gitignore and .dockerignore
- Remove --no-emit-git-ignore flag from i18n:compile and i18n:watch
- Chain bun run i18n:compile into build and build-npm scripts
- Add i18n compile step in Dockerfile builder stage
- Add i18n compile step in CI workflows (.github/workflows/ci.yaml, release-npm.yaml)
- Update README.md and README_CN.md with local setup instructions for i18n compilation
* chore(deps): upgrade bun to 1.4.2 and update packages
- Upgrade Bun to 1.4.2 in Dockerfile, CI workflows, and release workflows.
- Update dependencies across workspace with Bun 1.4.2.
- Preserve @earendil-works/pi-agent-core at 0.82.1.
- Retain stable compatible versions for database adapters and pdfjs-dist.
- Add explicit Buffer type annotation in transcode service.
* chore(deps): upgrade prisma to 7.10.0, pg to 8.23.0, and pdfjs-dist to 6.3.289
* chore(deps): revert dotenv-expand to 13.0.0
* feat(settings): redesign image and video generation settings with tabs, card switch, and 2-box model selector
* fix(settings): remove model type checkmark, remove search inputs, and fix select box scrolling in add model dialog
* refactor(settings): remove display name input from add model dialog
* feat(media-generation): add gemini-omni-1.1-flash as default video model via google interactions api
* feat(media-generation): forward video parameters to gemini-omni-1.1-flash via system instructions and prompt
* feat(agent): add built-in image and video generation tools and settings
* fix(settings): refine media generation layout and expose media tools in agent and quota forms
* feat(media-generation): add alibaba, bytedance, minimax, prodia, and azure providers
* feat(agent): support s3 key references for media generation and s3KeyOnly in read_asset
* feat(agent): store preset avatars as real files in s3 storage
* fix(agent): use inline base64 previews in dialog and remove static avatar files
* feat(agent): add 4 avatar presets and track avatarPreset in agent config
* refactor(agent): consolidate preset avatar base64 data in dtos
* feat(asset): record and display agent provenance on assets and audit logs
* style(webui): apply 30% translucent frosted glass background to bot badges
* style(webui): match bot icon badge style to thumbnail media overlay (bg-black/60 text-white)
* style(webui): use "AI" text badge with pdf overlay style instead of bot icon
* feat(provider): vendor and adapt pi model generator
- Vendor generate-models.ts, model-data.ts, and models-dev-reasoning-options.ts from @earendil-works/pi tag v0.82.1
- Adapt imports to use @earendil-works/pi-ai and expose generateModels programmatic function
- Add compare.test.ts to verify vendored generator against original built-in catalog
- Add packages/core/src/provider/generator to eslint ignores
* feat(provider): add provider and model sync api and ui
* feat(webui): add checkbox for existing providers and clean dialog description
* feat(webui): add expand all and collapse all to sync providers dialog
* refactor(provider): remove compare.test.ts and cli overhead from generate-models
* fix(provider): add 30s timeout and strict error handling to sync catalog fetching
* fix(e2e): eliminate drag-and-drop race condition on webkit
Allow requestAnimationFrame collision updates to settle in dragCard helper before releasing pointer, and scope fileCard locator via data-testid to avoid matching sidebar tree items.
* feat(provider): optimize provider and model configuration management
* style(provider): use default tabs variant in provider settings dialog
* style(provider): make tabs list full width
* feat(provider): make model card row clickable and remove pencil edit icon
* feat(settings): persist active settings tab in url hash
* feat(agent): add search box and alphabetical sorting for provider and model selectors
* refactor(providers): remove frontend pagination and display all models in scrollable list
* fix(providers): address code review findings for model editing, i18n, and api protocol propagation
* feat(agent): consolidate media tools into read_asset and add S3 key support to download_asset
* fix(agent): refine parameter descriptions and remove download URL from read_asset text content
* fix(agent): resolve owning asset and enforce RBAC permissions when downloading by S3 key
* fix(webui): strip styles and preserve multiline text on paste in chat input
* fix(db): remove custom log wait strategy in test global setup to prevent postgres startup race condition
* feat(chat): support markups, attachments, and timestamps in agent 1-to-1 chat
* feat(chat): improve message card layout with inline badges and integrated assets
* fix(chat): enable image attachment thumbnails in 1-to-1 chat cards
* fix(chat): address code review feedback on input state, mentions, i18n, and session deletion
* fix(chat): replace ring with border color on selected message card
* fix(asset,webui): disallow dropping version stacks onto files and version stacks
* fix(webui): derive isSingleFile from total drag selection and remove unused hasVersionStacks
* feat(webui): add mobile friendly file detail and public share view
* fix(webui): address review feedback for mobile file detail and public share view
* fix(webui): use dynamic viewport and flex column layout for mobile file viewer
* fix(webui): support iOS WebKit video fullscreen and guard requestFullscreen
* fix(webui): compact page indicator and layout in mobile PDF control bar
* feat(webui): add simplified mobile-friendly layout for file and share lists
* refactor(webui): switch mobile file list layout to 1-column grid
* feat(webui): show foldertree by default in child sidebar and add close button
* feat(webui): add collapsible section headers and fix folder card full-width on mobile
* feat(webui): improve mobile breadcrumb bar with middle truncation and dual ellipsis
* fix(webui): unify breadcrumb DOM structure across desktop and mobile
* fix(webui): remove unused breadcrumbs variable in BreadcrumbNav
* fix(webui): complete and confirm file uploads on mobile and handle errors properly
* fix(webui): remove active scale animation on mobile FAB to stabilize dropdown menu anchor
* refactor(webui): use PresignedUrl type from dtos for uploadFiles and eliminate any cast
* fix(webui): scope folder card max width to desktop with responsive md:max-w-[340px]
* feat(transcode): add hardware-accelerated video transcoding support
* feat(transcode): use encoder quality modes and source-capped maxrate for video transcode
* fix(transcode): scale max bitrate for downsampled preview framerates
* fix(transcode): propagate videoBitRate in getMediaInfoActivity and update auto description
* feat(project): add recent viewed files section to project folder tree
* feat(webui): disable toolbar buttons and context menu in recents page
* test(core): optimize recents cap test execution time
* feat(webui): show hint text in recents page top toolbar
* feat(webui): rename recents section to Recently Viewed
* refactor(core): consolidate recents methods into AssetService
* fix(api): forward pagination parameters in folder children endpoint (#349)
* fix(project-recents): scope views and disable recents mutations
* fix(api): allow recent views in demo mode
* fix(api): limit demo recent view exception to post
* feat(auth): add admin password reset CLI command and reset password web UI
* fix(auth): invalidate previous reset tokens and use AsyncLocalStorage for link capture
* feat(kanban): allow editors to change task status and default reporter to creator
* fix(kanban): hide create task button for reviewers and eliminate duplicate error toast
* fix(webui): update sidebar selection styling, kanban active state, and pointer cursors
* feat(webui): move dashboard to left sidebar and prevent mount animation
* fix(e2e): update create-project test to click Home button in sidebar
* feat(kanban): implement AI-native kanban database models, services, and REST APIs
* feat(webui): implement team kanban board and task management
* style(webui): increase kanban dialog widths and form container
* fix(webui): ensure kanban dialogs override sm:max-w-lg base class
* style(webui): set edit task dialog max width to 5xl
* chore: untrack kanban plan markdown files
* feat(webui): update kanban page layout to 2 columns and refine task activity UI
* fix(webui): constrain kanban column and board heights for vertical scrolling
* feat(kanban): unify task status transition into updateTask API and allow unconstrained human task transitions
* fix(webui): add optimistic updates to kanban drag-and-drop to eliminate flash
* refactor(webui): remove client-side search box from kanban header
* feat(kanban): redesign task dialog comments area and add attachment support
* refactor(webui): remove top status action bar from task info dialog
* fix(webui): narrow query cache predicate and add defensive guards for kanban drag optimistic update
* feat(kanban): add drag-and-drop task reordering with fractional indexing (#331)
* feat(kanban): add drag-and-drop task reordering with fractional indexing
* fix(kanban): improve card drop zones, snap indicators, and column highlight
* fix(kanban): enable card droppables only during active drag
* fix(kanban): refine hover styles and drop indicators for column boundaries
* fix(kanban): unify bottom drop indicator and fix top indicator clipping
* fix(kanban): ensure full column highlight and full coverage drop target
* minor change
* feat(kanban): allow agent tasks free drag-and-drop and enforce status change permissions (#332)
* refactor(kanban): rename task_type_agentic translation keys to task_type_agent
* feat(kanban): refactor task type enum to isAgentTask boolean (#333)
* refactor(kanban): remove phase 2 agent execution logic and streamline phase 1 kanban
* feat(kanban): add notifications and audit logging for kanban (#334)
* feat(kanban): redesign config area layout and add parent tasks multi-selector (#335)
* feat(webui): redesign kanban task dialog config area
* feat(kanban): simplify task dependencies with parent tasks multi-selector
* refactor(kanban): remove unused links routes and legacy dependency methods
* feat(kanban): connect assets and kanban tasks with many-to-many relationship (#336)
* feat(kanban): connect assets and kanban tasks with many-to-many relationship
* feat(kanban): improve asset picker layout, infinite scrolling, and breadcrumb icon styling
* fix(kanban): ensure asset picker scrollarea is scrollable with min-h-0 and shrink-0 flex styling
* fix(kanban): hide recently deleted in folder tree picker and adjust header padding
* fix(kanban): use lucide files icon instead of paperclip for linked assets
* feat(kanban): improve task deletion, goal sidebar interaction, and card styling (#337)
* feat(kanban): improve task deletion, goal sidebar interaction, and card styling
* feat(kanban): move agent task badge after priority and update to orange style
* feat(kanban): add status Compare-And-Swap (CAS) to prevent drag-and-drop race conditions (#338)
* feat(kanban): add status Compare-And-Swap (CAS) to prevent drag-and-drop race conditions
* style(kanban): rotate kanban icon 180 degrees in sidebar and top nav
* style(kanban): remove rotate-180 from SquareKanban icons
* feat(kanban): add unassigned goal record and fix all tasks count (#339)
* feat(kanban): add unassigned goal record and fix all tasks count
* feat(kanban): toggle task count with three-dot action button on goal card hover
* fix(ci): pin bun version to 1.3.14 across CI and Docker (#340)
* fix(webui): truncate goal name to max 2 lines in kanban sidebar (#341)
* fix(quota): exclude agents from quota rules and usage records
* refactor(quota): remove agent_skill_call_count resource type and related logic
* chore(db): replace manual migration with prisma-generated migration
* feat(quota): add database-backed resource quota system
* feat(webui): add resource quota management in team settings (#319)
* feat(webui): add resource quota settings in team management
* refactor(webui): update quotas list to full row layout and restrict skill/mcp to select list
* feat(quota): refactor quota system to 2-level rules and records
* fix(webui): fix overflow and scroll area in quota usage records dialog
* fix(webui): ensure quota records scroll area has explicit max height
* feat(webui): improve quota cards interaction and restrict editable fields in edit mode
* fix(quota): serialize initial records, validate merged updates, and reset on dimension changes (#320)
* feat(quota): replace network quota with agent tools quota (#321)
* feat(webui): show remaining time until next refresh in quota usage records
* fix(webui): rename bash quota resource to Agent Bash Calls
* refactor(quota): remove unused reserved field from quota records
* refactor(quota): remove quota rule cache (#322)
* feat(authz): enforce project-aware roles for agent/skill/mcp permissions
Introduce a shared resolveEffectiveRole helper that mirrors AuthzService
precedence rules (projectMember.role override -> team role for team-scoped
members -> restricted), and route all agent/skill/mcp runtime permission
checks through it. Previously these checks used the raw teamMember.role,
which let project-only members execute team-level agents/skills/MCP tools
and ignored per-project role overrides.
Changes:
- authz: add resolveEffectiveRole(teamId, projectId, userId, db) and
refactor hasPermission to use it (behavior-preserving)
- chat/asset/agent-activity: gate agent usage by the effective project role
- read_skill: enforce skill permission via effective role (projectId
threaded from the agent session)
- mcp-service: checkPermission and buildAgentTools filter by effective
role; un-permitted servers' tools are no longer advertised to the model
- agent activity: only advertise skills the user's effective role permits
- listProjectMembers: filter included agent bots by the requester's
effective project role
- new GET /projects/:projectId/chat-agents API returning chat agents
scoped to the project and the user's effective role; WebUI chat selector
now uses it (settings keeps the team-level API)
- tests: effective-role resolver, chat/mention/MCP/skill project-role
matrices, listProjectChatAgents, listProjectMembers filter, API route
* fix(agent): forward projectId to getAgentChatContextActivity in agentChat workflow
The agentChat workflow called getAgentChatContextActivity without passing
projectId from the task payload, so project-scoped members (scope:
'project') resolved a null effective role in the activity and were denied
with 'Insufficient role to use agent' even though the chat selector and
chat.ts both authorized them. Forward payload.projectId so the activity
enforces the user's effective project role, and assert the forwarding in
the workflow unit test (fails without the fix).