@crossworks/client-types 0.232.142 → 0.232.153
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 +2 -2
- package/src/dto/agent-graph.ts +4 -3
- package/src/dto/rows.ts +4 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crossworks/client-types",
|
|
3
|
-
"version": "0.232.
|
|
3
|
+
"version": "0.232.153",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./src/index.ts",
|
|
6
6
|
"types": "./src/index.ts",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"./*": "./src/*.ts"
|
|
10
10
|
},
|
|
11
11
|
"devDependencies": {
|
|
12
|
-
"@types/node": "^
|
|
12
|
+
"@types/node": "^26.4.0"
|
|
13
13
|
},
|
|
14
14
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
15
15
|
"repository": {
|
package/src/dto/agent-graph.ts
CHANGED
|
@@ -173,9 +173,10 @@ export interface ToolGroupWithRefs extends ToolGroupDTO {
|
|
|
173
173
|
|
|
174
174
|
// ── AI workers ────────────────────────────────────────────────────────────────
|
|
175
175
|
|
|
176
|
-
/** Worker kinds (mirrors the @mantle/db `ai_worker_kind` enum).
|
|
177
|
-
*
|
|
178
|
-
*
|
|
176
|
+
/** Worker kinds (mirrors the @mantle/db `ai_worker_kind` enum). Pinned against
|
|
177
|
+
* the column at compile time by server/web/lib/client-types-drift.test.ts.
|
|
178
|
+
* `toAiWorkerDTO` in lib/ai-workers also catches drift while its mapping
|
|
179
|
+
* stays exhaustive, but that is a side effect rather than a guarantee. */
|
|
179
180
|
export type AiWorkerKind =
|
|
180
181
|
| 'reflector'
|
|
181
182
|
| 'extractor'
|
package/src/dto/rows.ts
CHANGED
|
@@ -754,8 +754,10 @@ export type TeamVisibleShare = {
|
|
|
754
754
|
|
|
755
755
|
// ── Mirrors of @mantle/db jsonb/enum shapes (jackdaw split P0) ────────────────
|
|
756
756
|
// Kept standalone so this package stays zero-dep (same convention as ToolHandler
|
|
757
|
-
// above). Drift is
|
|
758
|
-
//
|
|
757
|
+
// above). Drift is pinned directly, at compile time, by
|
|
758
|
+
// server/web/lib/client-types-drift.test.ts — the only place that can see both
|
|
759
|
+
// sides, since this package may never import @mantle/db. Add a mirror here,
|
|
760
|
+
// add its pin there.
|
|
759
761
|
|
|
760
762
|
/** Task lifecycle vocabulary — mirrors content's TASK_STATUSES/TASK_PRIORITIES
|
|
761
763
|
* consts, which are `satisfies`-checked against these unions. */
|