Repository navigation
v1.2.2
1.2.1 was set on main but never published: its release commit failed CI
on formatting. 1.2.2 is that release.
Added
setConversationSharing("public" | "workspace" | "off")in
@intelligo-dev/corechooses who a share link opens for.public
(the default) is unchanged;workspaceopens a link only for members
of the conversation's workspace;offhides the share dialog and
refuses to share (sharing_off). The public read honours it on the
server.- Invitations carry a product's own fields:
inviteMembertakes
productFields, accepting the invitation copies them to the new
membership, andmemberProductFieldsreads them back. isImpersonating(session)in@intelligo-dev/auth.- The chat config takes
linkHosts, andMarkdowntakes
linkPrefixes: a product that names them links only to those hosts,
and other links show as text.MarkdownLinkis the confirming link a
components.aoverride falls back to. DOCUMENT_LIMITSbounds a saved document's id, title, content and
kept versions.
Changed
- Production refuses to start without an email provider: set
RESEND_API_KEYorLOOPS_API_KEY, or chooseEMAIL_PROVIDER=console
explicitly. - A chat opened with
?query=puts the text in the composer instead of
sending it. A same-origin handoff still sends. - For a persisted conversation, the model reads the stored transcript:
an earlier message the client sends is replaced by the stored message
with the same id and role.persist: false, or a product's own
persist, keeps the old path. hasFeatureanswersfalsewithdegraded: truewhile the feature
flags cannot be read, instead of falling back to the plan matrix.- Platform admins list users, read a user, list a user's sessions and
start or stop impersonating only through the admin console's server
calls, not the raw auth endpoints. - Checkout, local payment and credit purchases refuse while an admin is
acting as the user (errors.impersonating). - Reply links open only http(s),
mailto:andtel:addresses. - An HTML document preview runs under a content security policy that
reaches no server, and onlycodedocuments are previewed as HTML.
Fixed
- Tokens
prepareMessagesspent are charged when admission then
refuses the turn. - A saved document links only the actor's own conversations, and old
versions beyond the limit are pruned. Too long or foreign input shows
actions.invalidArtifact. - The prompt sanitizer strips role prefixes, chat-template tokens,
[INST]and prompt tags in any language. - Links next to citations still confirm before opening.
Upgrading
Run intelligo migrate before deploying:
0009_invitation_product_fields adds a nullable product_fields jsonb
column to invitation and member. Nothing is rewritten.
Set RESEND_API_KEY, LOOPS_API_KEY or EMAIL_PROVIDER=console in
production, or the app does not start.
Run intelligo sync for every item (chat, chat-share, dashboard,
pricing, payment-poll, ai-markdown, document-viewer and
artifacts changed). Add the chat keys actions.invalidArtifact,
actions.sharingOff and share.descriptionWorkspace, and the pricing
and payment-poll key errors.impersonating, to any locale you own.