@agent-native/core 0.114.4 → 0.114.6
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.
- package/corpus/README.md +1 -1
- package/corpus/core/CHANGELOG.md +16 -0
- package/corpus/core/package.json +1 -1
- package/corpus/core/src/client/resources/ResourceTree.tsx +11 -5
- package/corpus/core/src/client/resources/ResourcesPanel.tsx +141 -18
- package/corpus/templates/clips/.agents/skills/meetings/SKILL.md +11 -1
- package/corpus/templates/clips/AGENTS.md +14 -4
- package/corpus/templates/clips/actions/update-meeting.ts +13 -3
- package/corpus/templates/clips/actions/view-screen.ts +1 -0
- package/corpus/templates/clips/app/components/meetings/share-meeting-dialog.tsx +96 -4
- package/corpus/templates/clips/app/i18n/en-US.ts +11 -0
- package/corpus/templates/clips/app/lib/public-meeting.ts +85 -0
- package/corpus/templates/clips/app/routes/_app.meetings.$meetingId.tsx +11 -1
- package/corpus/templates/clips/app/routes/share.$shareId.tsx +6 -7
- package/corpus/templates/clips/app/routes/share.meeting.$meetingId.tsx +241 -135
- package/corpus/templates/clips/changelog/2026-07-20-meeting-share-links-can-include-the-full-transcript-with-an-.md +6 -0
- package/corpus/templates/clips/changelog/2026-07-20-opening-zoom-meeting-launches-native-app.md +6 -0
- package/corpus/templates/clips/changelog/2026-07-20-recording-retries-the-default-mac-microphone-when-a-saved-in.md +6 -0
- package/corpus/templates/clips/changelog/2026-07-20-shared-clips-now-tell-agents-to-wait-while-uploads-and-trans.md +6 -0
- package/corpus/templates/clips/desktop/src/app.tsx +7 -11
- package/corpus/templates/clips/desktop/src/lib/meeting-join-url.ts +1 -33
- package/corpus/templates/clips/desktop/src/lib/open-meeting-join-url.ts +22 -0
- package/corpus/templates/clips/desktop/src/lib/transcription-engine.ts +65 -2
- package/corpus/templates/clips/desktop/src/overlays/meeting-notification.tsx +2 -3
- package/corpus/templates/clips/server/db/schema.ts +3 -0
- package/corpus/templates/clips/server/lib/public-agent-context.ts +31 -21
- package/corpus/templates/clips/server/plugins/auth.ts +1 -0
- package/corpus/templates/clips/server/plugins/db.ts +6 -0
- package/corpus/templates/clips/server/routes/api/agent-transcript.json.get.ts +13 -3
- package/corpus/templates/clips/server/routes/api/public-meeting.get.ts +152 -0
- package/corpus/templates/clips/shared/agent-context.ts +60 -0
- package/corpus/templates/clips/shared/meeting-join-url.ts +31 -0
- package/corpus/templates/content/.agents/skills/document-editing/SKILL.md +9 -1
- package/corpus/templates/content/AGENTS.md +4 -1
- package/corpus/templates/content/actions/_content-spaces.ts +6 -1
- package/corpus/templates/content/actions/_database-row-batch.ts +15 -2
- package/corpus/templates/content/actions/_database-utils.ts +83 -15
- package/corpus/templates/content/actions/add-database-item.ts +3 -0
- package/corpus/templates/content/actions/connect-local-folder-source.ts +2 -1
- package/corpus/templates/content/actions/delete-content-database.ts +12 -9
- package/corpus/templates/content/actions/delete-database-items.ts +3 -2
- package/corpus/templates/content/actions/delete-document.ts +233 -6
- package/corpus/templates/content/actions/duplicate-database-item.ts +1 -0
- package/corpus/templates/content/actions/get-document.ts +4 -1
- package/corpus/templates/content/actions/list-content-databases.ts +1 -0
- package/corpus/templates/content/actions/list-documents.ts +1 -0
- package/corpus/templates/content/actions/list-trashed-content-databases.ts +8 -2
- package/corpus/templates/content/actions/list-trashed-documents.ts +50 -0
- package/corpus/templates/content/actions/permanently-delete-document.ts +28 -0
- package/corpus/templates/content/actions/pull-document.ts +15 -2
- package/corpus/templates/content/actions/restore-content-database.ts +48 -11
- package/corpus/templates/content/actions/restore-document.ts +28 -0
- package/corpus/templates/content/actions/search-documents.ts +2 -1
- package/corpus/templates/content/actions/view-screen.ts +2 -1
- package/corpus/templates/content/app/components/editor/database/DatabaseView.tsx +149 -55
- package/corpus/templates/content/app/components/editor/database/GalleryView.tsx +7 -2
- package/corpus/templates/content/app/components/editor/database/ListView.tsx +7 -2
- package/corpus/templates/content/app/components/editor/database/TimelineView.tsx +3 -0
- package/corpus/templates/content/app/components/editor/database/sidebar.tsx +26 -5
- package/corpus/templates/content/app/components/sidebar/DocumentSidebar.tsx +243 -163
- package/corpus/templates/content/app/components/sidebar/WorkspaceSourceMenu.tsx +154 -0
- package/corpus/templates/content/app/components/sidebar/select-content-space.ts +11 -0
- package/corpus/templates/content/app/hooks/use-content-database.ts +6 -0
- package/corpus/templates/content/app/hooks/use-documents.ts +57 -0
- package/corpus/templates/content/app/i18n-data.ts +83 -2
- package/corpus/templates/content/app/routes/_app.local-files.tsx +8 -1
- package/corpus/templates/content/changelog/2026-07-19-pages-now-move-to-a-reversible-trash-and-the-organization-pi.md +6 -0
- package/corpus/templates/content/changelog/2026-07-20-trash-actions-now-preserve-independent-archived-pages-enforc.md +6 -0
- package/corpus/templates/content/changelog/2026-07-20-workspace-toggles-now-stay-independently-open-or-closed-and-.md +6 -0
- package/corpus/templates/content/changelog/2026-07-20-workspaces-can-be-added-from-a-blank-workspace-or-a-connecte.md +6 -0
- package/corpus/templates/content/parity/matrix.md +1 -1
- package/corpus/templates/content/parity/matrix.ts +3 -0
- package/corpus/templates/content/server/db/schema.ts +2 -0
- package/corpus/templates/content/server/lib/public-documents.ts +8 -2
- package/corpus/templates/content/server/plugins/db.ts +52 -0
- package/corpus/templates/content/server/routes/api/document-agent-context.json.get.ts +2 -2
- package/corpus/templates/content/shared/api.ts +10 -0
- package/corpus/toolkit/CHANGELOG.md +6 -0
- package/corpus/toolkit/package.json +1 -1
- package/corpus/toolkit/src/ui/progress.tsx +3 -2
- package/dist/client/resources/ResourceTree.d.ts +3 -1
- package/dist/client/resources/ResourceTree.d.ts.map +1 -1
- package/dist/client/resources/ResourceTree.js +4 -4
- package/dist/client/resources/ResourceTree.js.map +1 -1
- package/dist/client/resources/ResourcesPanel.d.ts.map +1 -1
- package/dist/client/resources/ResourcesPanel.js +55 -6
- package/dist/client/resources/ResourcesPanel.js.map +1 -1
- package/dist/file-upload/actions/upload-image.d.ts +1 -1
- package/dist/notifications/routes.d.ts +3 -3
- package/dist/observability/routes.d.ts +5 -5
- package/dist/secrets/routes.d.ts +9 -9
- package/dist/server/transcribe-voice.d.ts +1 -1
- package/package.json +3 -3
- package/src/client/resources/ResourceTree.tsx +11 -5
- package/src/client/resources/ResourcesPanel.tsx +141 -18
|
@@ -51,6 +51,7 @@ export function DatabaseTimelineView({
|
|
|
51
51
|
items,
|
|
52
52
|
databaseDocumentId,
|
|
53
53
|
canEdit,
|
|
54
|
+
canCreateItems,
|
|
54
55
|
isLoading,
|
|
55
56
|
isCreating,
|
|
56
57
|
activeFilters,
|
|
@@ -71,6 +72,7 @@ export function DatabaseTimelineView({
|
|
|
71
72
|
items: ContentDatabaseItem[];
|
|
72
73
|
databaseDocumentId: string;
|
|
73
74
|
canEdit: boolean;
|
|
75
|
+
canCreateItems: boolean;
|
|
74
76
|
isLoading: boolean;
|
|
75
77
|
isCreating: boolean;
|
|
76
78
|
activeFilters: DatabaseFilter[];
|
|
@@ -119,6 +121,7 @@ export function DatabaseTimelineView({
|
|
|
119
121
|
);
|
|
120
122
|
const canCreateOnDay =
|
|
121
123
|
canEdit &&
|
|
124
|
+
canCreateItems &&
|
|
122
125
|
dateProperty?.editable &&
|
|
123
126
|
dateProperty.definition.type === "date";
|
|
124
127
|
const rangeLabel = databaseTimelineRangeLabel(timelineDays);
|
|
@@ -172,11 +172,11 @@ export function ContentFilesSidebarView({
|
|
|
172
172
|
),
|
|
173
173
|
activeView.hideEmptyGroups === true,
|
|
174
174
|
);
|
|
175
|
-
const
|
|
175
|
+
const hasFilesHierarchy = data?.properties.some(
|
|
176
176
|
(property) => property.definition.systemRole === "files_parent",
|
|
177
|
-
)
|
|
178
|
-
|
|
179
|
-
|
|
177
|
+
);
|
|
178
|
+
const hierarchyItems = hasFilesHierarchy ? items : undefined;
|
|
179
|
+
const hierarchyUniverseItems = hasFilesHierarchy ? data?.items : undefined;
|
|
180
180
|
return (
|
|
181
181
|
<div className="min-w-0">
|
|
182
182
|
{viewConfig.views.length > 1 && (
|
|
@@ -223,6 +223,7 @@ export function ContentFilesSidebarView({
|
|
|
223
223
|
onDocumentExpandedChange={onDocumentExpandedChange}
|
|
224
224
|
renderItem={renderItem}
|
|
225
225
|
hierarchyItems={hierarchyItems}
|
|
226
|
+
hierarchyUniverseItems={hierarchyUniverseItems}
|
|
226
227
|
scroll={scroll}
|
|
227
228
|
/>
|
|
228
229
|
</div>
|
|
@@ -247,6 +248,7 @@ export function DatabaseSidebarView({
|
|
|
247
248
|
onDocumentExpandedChange,
|
|
248
249
|
renderItem,
|
|
249
250
|
hierarchyItems,
|
|
251
|
+
hierarchyUniverseItems,
|
|
250
252
|
scroll = true,
|
|
251
253
|
loadingLabel,
|
|
252
254
|
noMatchesLabel,
|
|
@@ -271,6 +273,7 @@ export function DatabaseSidebarView({
|
|
|
271
273
|
onDocumentExpandedChange?: (documentId: string, expanded: boolean) => void;
|
|
272
274
|
renderItem?: (item: ContentDatabaseItem) => ReactNode;
|
|
273
275
|
hierarchyItems?: ContentDatabaseItem[];
|
|
276
|
+
hierarchyUniverseItems?: ContentDatabaseItem[];
|
|
274
277
|
scroll?: boolean;
|
|
275
278
|
loadingLabel: string;
|
|
276
279
|
noMatchesLabel: string;
|
|
@@ -287,7 +290,13 @@ export function DatabaseSidebarView({
|
|
|
287
290
|
const items = groups.flatMap((group) => group.items);
|
|
288
291
|
const itemTree =
|
|
289
292
|
!grouped && hierarchyItems
|
|
290
|
-
? databaseSidebarItemTree(
|
|
293
|
+
? databaseSidebarItemTree(
|
|
294
|
+
databaseSidebarRootItems(
|
|
295
|
+
items,
|
|
296
|
+
hierarchyUniverseItems ?? hierarchyItems,
|
|
297
|
+
),
|
|
298
|
+
hierarchyItems,
|
|
299
|
+
)
|
|
291
300
|
: null;
|
|
292
301
|
|
|
293
302
|
function setGroupOpen(groupId: string, open: boolean) {
|
|
@@ -690,6 +699,18 @@ export interface DatabaseSidebarItemTreeNode {
|
|
|
690
699
|
children: DatabaseSidebarItemTreeNode[];
|
|
691
700
|
}
|
|
692
701
|
|
|
702
|
+
export function databaseSidebarRootItems(
|
|
703
|
+
visibleItems: ContentDatabaseItem[],
|
|
704
|
+
allItems: ContentDatabaseItem[],
|
|
705
|
+
) {
|
|
706
|
+
const documentIds = new Set(allItems.map((item) => item.document.id));
|
|
707
|
+
return visibleItems.filter((item) => {
|
|
708
|
+
const parentId = item.document.parentId;
|
|
709
|
+
if (!parentId) return true;
|
|
710
|
+
return !documentIds.has(parentId);
|
|
711
|
+
});
|
|
712
|
+
}
|
|
713
|
+
|
|
693
714
|
export function databaseSidebarRowIndent(depth: number, _hasChildren: boolean) {
|
|
694
715
|
return depth * 18;
|
|
695
716
|
}
|