@crossworks/content-core 0.300.2 → 0.300.5
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crossworks/content-core",
|
|
3
|
-
"version": "0.300.
|
|
3
|
+
"version": "0.300.5",
|
|
4
4
|
"description": "Browser-safe content logic — markdown, blocks, pages, tables, formulas — shared by the server and any client. Zero server deps by design: nothing here may reach @mantle/db, node-only APIs, or the network (the jackdaw-repo-split P0 boundary).",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./app-nav": "./src/app-nav.ts",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"./tree": "./src/tree.ts"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@mantle/client-types": "npm:@crossworks/client-types@0.300.
|
|
36
|
+
"@mantle/client-types": "npm:@crossworks/client-types@0.300.5",
|
|
37
37
|
"marked": "^18.1.0",
|
|
38
38
|
"mathjs": "15.2.0"
|
|
39
39
|
},
|
|
@@ -23,6 +23,7 @@ import type {
|
|
|
23
23
|
ReminderChannel,
|
|
24
24
|
ThoughtTrailMode,
|
|
25
25
|
} from '@mantle/client-types';
|
|
26
|
+
import { kindsWhere } from '@mantle/client-types/kinds';
|
|
26
27
|
|
|
27
28
|
import {
|
|
28
29
|
parseAgentThinkingEffort,
|
|
@@ -93,17 +94,16 @@ export function isTeamPrivateReadsEnabled(
|
|
|
93
94
|
}
|
|
94
95
|
|
|
95
96
|
/** Node types that hold the owner's private corpus (email + journal). A team
|
|
96
|
-
* surface sees them only when the owner opted in (`teamPrivateReads`).
|
|
97
|
-
|
|
97
|
+
* surface sees them only when the owner opted in (`teamPrivateReads`). The
|
|
98
|
+
* kind registry's teamHidden 'private-corpus' (@mantle/client-types/kinds). */
|
|
99
|
+
export const TEAM_PRIVATE_CORPUS_TYPES: readonly string[] = kindsWhere(
|
|
100
|
+
(s) => s.teamHidden === 'private-corpus',
|
|
101
|
+
);
|
|
98
102
|
|
|
99
103
|
/** Node types a team surface NEVER sees, opt-in or not: credentials, the
|
|
100
|
-
* owner's own Telegram chats, saved places ("home") and federation peers.
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
'telegram_message',
|
|
104
|
-
'location',
|
|
105
|
-
'mantle_peer',
|
|
106
|
-
];
|
|
104
|
+
* owner's own Telegram chats, saved places ("home") and federation peers.
|
|
105
|
+
* The kind registry's teamHidden 'never'. */
|
|
106
|
+
export const TEAM_NEVER_TYPES: readonly string[] = kindsWhere((s) => s.teamHidden === 'never');
|
|
107
107
|
|
|
108
108
|
/** Every node type hidden from a team-member surface (team chat, forum, a
|
|
109
109
|
* team-mode shared app). The ONE list the read tools and the context loader
|