@jini-ai/chat 0.6.15-rc.2 → 0.6.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/dist/core/accepted-input.js +20 -11
  2. package/dist/core/ag-ui/entry.js +3 -1
  3. package/dist/core/agent-plugin-chat-state.js +3 -1
  4. package/dist/core/assistant-client/ag-ui-transport.js +1 -1
  5. package/dist/core/assistant-client/attachment-liveness.js +1 -1
  6. package/dist/core/assistant-client/durable-run-subscription.js +2 -1
  7. package/dist/core/assistant-client/transport.js +13 -7
  8. package/dist/core/assistant-content.js +2 -1
  9. package/dist/core/composer-history.js +2 -1
  10. package/dist/core/durable-projection.js +2 -1
  11. package/dist/core/durable-runs/continuation.js +2 -1
  12. package/dist/core/messages.d.ts +5 -1
  13. package/dist/core/partial-json.js +18 -9
  14. package/dist/core/persistence/title.d.ts +1 -1
  15. package/dist/core/persistence/title.js +25 -7
  16. package/dist/core/question-form/normalize.js +1 -1
  17. package/dist/core/question-form/scan.js +25 -15
  18. package/dist/core/question-form/secret-answers.js +2 -1
  19. package/dist/core/run-activity.js +8 -4
  20. package/dist/core/run-events/entry.js +6 -2
  21. package/dist/core/transcript.js +13 -6
  22. package/dist/core/turn-usage.js +7 -2
  23. package/dist/core/user-text-redaction.d.ts +2 -5
  24. package/dist/core/user-text-redaction.js +3 -3
  25. package/dist/core/util/manifest.js +13 -11
  26. package/dist/core/util/markdown-context.d.ts +14 -0
  27. package/dist/core/util/markdown-context.js +42 -4
  28. package/dist/core/util/markup-attributes.js +1 -1
  29. package/dist/core/util/parser.js +7 -7
  30. package/dist/core/util/pointer.js +22 -6
  31. package/dist/core/util/recover.js +5 -8
  32. package/dist/core/util/strip.js +12 -15
  33. package/dist/core/util/validate.js +30 -18
  34. package/dist/embed-widget/browser/lazy-loader.js +16 -12
  35. package/dist/embed-widget/react/dialog.hooks.js +2 -2
  36. package/dist/embed-widget/react/embed.js +1 -1
  37. package/dist/embed-widget/react/header.hooks.js +1 -1
  38. package/dist/embed-widget/transports/fetch-sse.js +2 -1
  39. package/dist/embed-widget/vanilla/index.js +19 -12
  40. package/dist/embed-widget/vanilla/state.js +4 -2
  41. package/dist/react/components/AttachmentPreviewModal.hooks.js +2 -1
  42. package/dist/react/components/ChatSettingsDialog.js +18 -9
  43. package/dist/react/components/Composer.js +5 -4
  44. package/dist/react/components/ConversationList.js +5 -4
  45. package/dist/react/components/Markdown.js +29 -26
  46. package/dist/react/components/McpUiSurfaceCard.js +2 -1
  47. package/dist/react/components/MessageList.hooks.js +3 -2
  48. package/dist/react/components/MessageRow.js +23 -7
  49. package/dist/react/components/MessageRow.usage.js +3 -1
  50. package/dist/react/components/QuestionForm.js +4 -5
  51. package/dist/react/components/SentAttachment.js +4 -1
  52. package/dist/react/components/TodoCard.js +9 -1
  53. package/dist/react/components/ToolCard.js +8 -7
  54. package/dist/react/components/composer-discovery.js +8 -8
  55. package/dist/react/features/chat-pane/components/AgentPluginUsage.js +1 -2
  56. package/dist/react/features/chat-pane/components/AgentRuntimePicker.d.ts +1 -1
  57. package/dist/react/features/chat-pane/components/AgentRuntimePicker.js +15 -5
  58. package/dist/react/features/chat-pane/components/ChatPane.js +4 -2
  59. package/dist/react/features/chat-pane/components/RuntimeDropUp.js +1 -1
  60. package/dist/react/features/chat-pane/create-daemon-attachment-uploader.js +1 -1
  61. package/dist/react/features/chat-pane/hooks/useAgentRuntimePicker.hooks.js +2 -2
  62. package/dist/react/features/chat-pane/hooks/useChatPane.hooks.js +4 -2
  63. package/dist/react/features/chat-pane/hooks/useChatPaneAgentControl.hooks.js +2 -2
  64. package/dist/react/features/chat-pane/hooks/useChatPaneControlsHeight.hooks.js +1 -1
  65. package/dist/react/features/chat-pane/hooks/useChatPaneRuntimeInventory.hooks.js +2 -2
  66. package/dist/react/features/chat-pane/hooks/useChatPaneWorkingDirectory.hooks.js +2 -2
  67. package/dist/react/features/chat-pane/hooks/useRuntimeDropUp.hooks.js +2 -2
  68. package/dist/react/features/chat-pane/model-options.js +4 -2
  69. package/dist/react/features/chat-pane/styles.d.ts +1 -1
  70. package/dist/react/features/chat-pane/styles.js +26 -3
  71. package/dist/react/features/chat-pane/types.d.ts +8 -0
  72. package/dist/react/hooks/assistant-chats.js +22 -8
  73. package/dist/react/hooks/useArtifactStream.js +2 -1
  74. package/dist/react/hooks/useComposer.js +2 -2
  75. package/dist/react/hooks/useComposerHistoryKeys.hooks.js +2 -2
  76. package/dist/react/hooks/useConversation.js +9 -4
  77. package/dist/react/hooks/useExtEventGroups.js +4 -2
  78. package/dist/react/hooks/useLatestOperation.js +2 -1
  79. package/dist/react/hooks/useQuestionForms.js +32 -22
  80. package/dist/react/hooks/useRunStream.js +4 -2
  81. package/dist/react/message-blocks.js +4 -2
  82. package/dist/react/styles/reference.css +9 -0
  83. package/dist/server/durable-runs/recover.js +13 -5
  84. package/dist/server/run-finalizer/entry.js +1 -0
  85. package/dist/store/runtime/chat-history-store.js +9 -3
  86. package/dist/store/runtime/durable-run-store.js +34 -24
  87. package/dist/store/runtime/run-ledger.js +7 -4
  88. package/dist/store/sql/boundary.js +3 -1
  89. package/dist/store/sql/cursor.js +8 -3
  90. package/dist/store/sql/store.js +36 -28
  91. package/package.json +15 -15
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jini-ai/chat",
3
- "version": "0.6.15-rc.2",
3
+ "version": "0.6.15",
4
4
  "description": "Jini's chat/artifact frontend, consolidated into one package with two subpaths: framework-free chat vocabulary and pure parsers in `/core`, headless hooks + presentational components + slots in `/react`. Import only the layer you need.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -196,12 +196,12 @@
196
196
  "registry": "https://registry.npmjs.org"
197
197
  },
198
198
  "dependencies": {
199
- "@jini-ai/core": "^0.6.15-rc.2"
199
+ "@jini-ai/core": "^0.6.15"
200
200
  },
201
201
  "peerDependencies": {
202
202
  "react": "^18.3.0 || ^19.0.0",
203
203
  "react-dom": "^18.3.0 || ^19.0.0",
204
- "@jini-ai/db": "^0.6.15-rc.2",
204
+ "@jini-ai/db": "^0.6.10",
205
205
  "kysely": "^0.29.6",
206
206
  "better-sqlite3": "^13.0.0",
207
207
  "@electric-sql/pglite": "0.5.8",
@@ -213,11 +213,11 @@
213
213
  "@radix-ui/react-radio-group": "^1.4.7",
214
214
  "@radix-ui/react-select": "^2.3.7",
215
215
  "@radix-ui/react-slot": "^1.3.3",
216
- "@jini-ai/agent-runtime": "^0.6.15-rc.2",
217
- "@jini-ai/agentic": "^0.6.15-rc.2",
218
- "@jini-ai/protocol": "^0.6.15-rc.2",
219
- "@jini-ai/ui": "^0.6.15-rc.2",
220
- "@jini-ai/diagnostics": "^0.6.15-rc.2"
216
+ "@jini-ai/agent-runtime": "^0.6.10",
217
+ "@jini-ai/agentic": "^0.6.10",
218
+ "@jini-ai/protocol": "^0.6.10",
219
+ "@jini-ai/ui": "^0.6.10",
220
+ "@jini-ai/diagnostics": "^0.6.10"
221
221
  },
222
222
  "peerDependenciesMeta": {
223
223
  "react": {
@@ -303,13 +303,13 @@
303
303
  "pg": "8.23.0",
304
304
  "@ag-ui/core": "0.0.58",
305
305
  "fast-check": "4.3.0",
306
- "@jini-ai/db": "0.6.15-rc.2",
307
- "@jini-ai/agentic": "^0.6.15-rc.2",
308
- "@jini-ai/agent-runtime": "0.6.15-rc.2",
309
- "@jini-ai/ui": "^0.6.15-rc.2",
310
- "@jini-ai/core": "^0.6.15-rc.2",
311
- "@jini-ai/protocol": "^0.6.15-rc.2",
312
- "@jini-ai/diagnostics": "^0.6.15-rc.2"
306
+ "@jini-ai/db": "0.6.15",
307
+ "@jini-ai/agent-runtime": "0.6.15",
308
+ "@jini-ai/protocol": "^0.6.15",
309
+ "@jini-ai/agentic": "^0.6.15",
310
+ "@jini-ai/core": "^0.6.15",
311
+ "@jini-ai/diagnostics": "^0.6.15",
312
+ "@jini-ai/ui": "^0.6.15"
313
313
  },
314
314
  "typesVersions": {
315
315
  "*": {