Skip to content

feat: Standalone Artifact Publishing and Sharing - #14306

Open
dsheine wants to merge 14 commits into
LibreChat-AI:mainfrom
dsheine:feat/artifact-apps-wp0-wp6
Open

dsheine wants to merge 14 commits into
LibreChat-AI:mainfrom
dsheine:feat/artifact-apps-wp0-wp6

Conversation

@dsheine

@dsheine dsheine commented Jul 16, 2026

Copy link
Copy Markdown

Standalone Artifact Publishing and Sharing

Summary

Artifacts can now be published and shared as "Apps"

Change Type

Please delete any irrelevant options.

  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

Testing

Please describe your test process and include instructions so that we can reproduce your test. If there are any important variables for your testing configuration, list them here.

Test Configuration:

Checklist

Please delete any irrelevant options.

  • My code adheres to this project's style guidelines
  • I have performed a self-review of my own code
  • I have commented in any complex areas of my code
  • My changes do not introduce new warnings

Implements #13374

I tested the feature but translation work has yet to be done. No known bugs (atm)

Daniel Schätzl and others added 14 commits July 14, 2026 13:46
…data-service

Adds shared Artifact Apps contracts (PLAN §6/§8/§9): status/visibility/runtime
enums, publish/update/version request schemas, response types, query keys,
API endpoint builders, and data-service calls. Registers ARTIFACT_APP in the
ResourceType/AccessRoleIds enums and permission-bit mapping.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Adds ArtifactApp and ArtifactVersion schemas, models, and DB methods (PLAN
§6.1/§6.2): atomic app+version creation, tenant-scoped queries, version
lifecycle (draft/release/activate/withdraw), SHA-256 source hashing, and an
idempotent index migration (§6.4). Includes unit tests against an in-memory
MongoDB covering CRUD, tenant isolation, snapshot integrity, and immutability.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
…ctions

Wires ARTIFACT_APP into the existing ACL system (PLAN §7): seeds
Owner/Editor/Viewer access roles, adds READ/MANAGE_ARTIFACT_APPS capabilities
with ResourceCapabilityMap bypass, and registers artifact audit actions. Makes
the share middleware permission map partial so capability-governed resources
need no PermissionTypes entry. Updates role/capability tests.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Add the /api/artifact-apps surface (WP3/WP4): typed publishing,
CRUD, and version-lifecycle (create/release/activate/withdraw)
handlers in packages/api, backed by the existing ACL system and
audit log. Actor identity and tenant are derived strictly from the
authenticated session per §8.7. Full-source snapshots are immutable
once released. Includes mongodb-memory-server integration tests.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
…(WIP WP5/WP6)

Partial frontend work: standalone app view, app renderer wrapper,
react-query queries/mutations for artifact-apps endpoints, i18n keys.
Committed to preserve progress before credit exhaustion.
Documents what is done (WP0-WP4 backend + partial WP5/WP6 frontend)
and what remains (build verification, WP5 routing, WP6 publish UI,
combined PR) so a resuming agent can pick up without re-discovery.
@dsheine dsheine changed the title Standalone Artifact Publishing and Sharing feat: Standalone Artifact Publishing and Sharing Jul 17, 2026
@danny-avila

Copy link
Copy Markdown
Collaborator

Heads up @dsheine — I brought this up to date on current main and opened #14616 as a draft companion, since this PR has never had CI run on it (zero check-runs across all 14 commits, fork workflows unapproved). All your commits are preserved there as ancestors with authorship intact; I only added a main merge and three commits on top.

Two things the merge surfaced, plus test coverage for the authorization layer, are described on #14616. Nothing there is meant to bypass your PR — it's so CI actually exercises this and so the ACL has evidence behind it before anyone reviews the design. Happy to hand the branch back for you to pull into your fork if you'd rather keep everything on this PR.

@dsheine

dsheine commented Aug 11, 2026

Copy link
Copy Markdown
Author

No worries, I it's not "my" work anyways (Perplexity and Copilot). Sorry for the inactivity, but I'll hopefully find some time for the PR in the future

@will171125

Copy link
Copy Markdown

@danny-avila can I just check you're not planning to look at this anytime soon? And assume @dsheine you won't either. If so I will get my team to look at this as a priority.

Without doubt, this will be an immensely powerful feature and has been requested my lots of users in my org. I would argue, this could be a viewed as a very lightweight 1st step to compete with ChatGPT's new 'Sites'.

@dsheine

dsheine commented Sep 4, 2026

Copy link
Copy Markdown
Author

@will171125 I won't because I currently don't have the resources right now I am really sorry

This branch has not been deployed

No deployments
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