@happyvertical/smrt-content 0.43.8 → 0.43.10

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 (46) hide show
  1. package/agents/content-list.md +69 -0
  2. package/dist/chunks/content-corrections-BxfA3tW1.js +107 -0
  3. package/dist/chunks/content-corrections-BxfA3tW1.js.map +1 -0
  4. package/dist/chunks/content-query-4w62u5_0.js +4092 -0
  5. package/dist/chunks/content-query-4w62u5_0.js.map +1 -0
  6. package/dist/chunks/content-reviews-BWrYEQc6.js +124 -0
  7. package/dist/chunks/content-reviews-BWrYEQc6.js.map +1 -0
  8. package/dist/chunks/content-versions-Di3vcTgb.js +284 -0
  9. package/dist/chunks/content-versions-Di3vcTgb.js.map +1 -0
  10. package/dist/chunks/contents-BV8RoP_R.js +612 -0
  11. package/dist/chunks/contents-BV8RoP_R.js.map +1 -0
  12. package/dist/chunks/rolldown-runtime-D7D4PA-g.js +13 -0
  13. package/dist/content-chat-handlers.d.ts +1 -1
  14. package/dist/content-chat-handlers.d.ts.map +1 -1
  15. package/dist/content-governance.d.ts +2 -0
  16. package/dist/content-governance.d.ts.map +1 -1
  17. package/dist/content.d.ts +2 -2
  18. package/dist/content.d.ts.map +1 -1
  19. package/dist/index.js +142 -4717
  20. package/dist/index.js.map +1 -1
  21. package/dist/manifest.json +142 -5
  22. package/dist/server/content-list-actions.d.ts +123 -0
  23. package/dist/server/content-list-actions.d.ts.map +1 -0
  24. package/dist/server.d.ts +6 -0
  25. package/dist/server.d.ts.map +1 -0
  26. package/dist/server.js +874 -0
  27. package/dist/server.js.map +1 -0
  28. package/dist/smrt-knowledge.json +96 -9
  29. package/dist/svelte/components/ContentList.svelte +1028 -24
  30. package/dist/svelte/components/ContentList.svelte.d.ts +3 -0
  31. package/dist/svelte/components/ContentList.svelte.d.ts.map +1 -1
  32. package/dist/svelte/content-list-controller.d.ts +3 -1
  33. package/dist/svelte/content-list-controller.d.ts.map +1 -1
  34. package/dist/svelte/content-list-controller.js +15 -1
  35. package/dist/svelte/content-list-workflows.d.ts +87 -0
  36. package/dist/svelte/content-list-workflows.d.ts.map +1 -0
  37. package/dist/svelte/content-list-workflows.js +199 -0
  38. package/dist/svelte/i18n.contribution.d.ts +109 -0
  39. package/dist/svelte/i18n.contribution.d.ts.map +1 -1
  40. package/dist/svelte/i18n.contribution.js +109 -0
  41. package/dist/svelte/index.d.ts +1 -0
  42. package/dist/svelte/index.d.ts.map +1 -1
  43. package/dist/svelte/index.js +2 -0
  44. package/package.json +27 -22
  45. package/dist/chunks/content-transparency-Bh6axaZj.js +0 -606
  46. package/dist/chunks/content-transparency-Bh6axaZj.js.map +0 -1
@@ -2,7 +2,7 @@
2
2
  "version": "1.0.0",
3
3
  "timestamp": 0,
4
4
  "packageName": "@happyvertical/smrt-content",
5
- "packageVersion": "0.43.8",
5
+ "packageVersion": "0.43.10",
6
6
  "objects": {
7
7
  "@happyvertical/smrt-content:ContentAsset": {
8
8
  "name": "contentasset",
@@ -5532,6 +5532,20 @@
5532
5532
  "isStatic": false,
5533
5533
  "isPublic": true
5534
5534
  },
5535
+ "withTransaction": {
5536
+ "name": "withTransaction",
5537
+ "async": true,
5538
+ "parameters": [
5539
+ {
5540
+ "name": "operation",
5541
+ "type": "Function",
5542
+ "optional": false
5543
+ }
5544
+ ],
5545
+ "returnType": "Promise<T>",
5546
+ "isStatic": false,
5547
+ "isPublic": true
5548
+ },
5535
5549
  "initialize": {
5536
5550
  "name": "initialize",
5537
5551
  "async": true,
@@ -5627,11 +5641,31 @@
5627
5641
  "save": {
5628
5642
  "name": "save",
5629
5643
  "async": true,
5630
- "parameters": [],
5644
+ "parameters": [
5645
+ {
5646
+ "name": "options",
5647
+ "type": "SmrtSaveOptions",
5648
+ "optional": true
5649
+ }
5650
+ ],
5631
5651
  "returnType": "any",
5632
5652
  "isStatic": false,
5633
5653
  "isPublic": true
5634
5654
  },
5655
+ "claimRevision": {
5656
+ "name": "claimRevision",
5657
+ "async": true,
5658
+ "parameters": [
5659
+ {
5660
+ "name": "expectedUpdatedAt",
5661
+ "type": "Date | string",
5662
+ "optional": false
5663
+ }
5664
+ ],
5665
+ "returnType": "Promise",
5666
+ "isStatic": false,
5667
+ "isPublic": true
5668
+ },
5635
5669
  "classifyConstraintError": {
5636
5670
  "name": "classifyConstraintError",
5637
5671
  "async": false,
@@ -7222,6 +7256,20 @@
7222
7256
  "isStatic": false,
7223
7257
  "isPublic": true
7224
7258
  },
7259
+ "withTransaction": {
7260
+ "name": "withTransaction",
7261
+ "async": true,
7262
+ "parameters": [
7263
+ {
7264
+ "name": "operation",
7265
+ "type": "Function",
7266
+ "optional": false
7267
+ }
7268
+ ],
7269
+ "returnType": "Promise<T>",
7270
+ "isStatic": false,
7271
+ "isPublic": true
7272
+ },
7225
7273
  "initialize": {
7226
7274
  "name": "initialize",
7227
7275
  "async": true,
@@ -7317,11 +7365,31 @@
7317
7365
  "save": {
7318
7366
  "name": "save",
7319
7367
  "async": true,
7320
- "parameters": [],
7368
+ "parameters": [
7369
+ {
7370
+ "name": "options",
7371
+ "type": "SmrtSaveOptions",
7372
+ "optional": true
7373
+ }
7374
+ ],
7321
7375
  "returnType": "any",
7322
7376
  "isStatic": false,
7323
7377
  "isPublic": true
7324
7378
  },
7379
+ "claimRevision": {
7380
+ "name": "claimRevision",
7381
+ "async": true,
7382
+ "parameters": [
7383
+ {
7384
+ "name": "expectedUpdatedAt",
7385
+ "type": "Date | string",
7386
+ "optional": false
7387
+ }
7388
+ ],
7389
+ "returnType": "Promise",
7390
+ "isStatic": false,
7391
+ "isPublic": true
7392
+ },
7325
7393
  "classifyConstraintError": {
7326
7394
  "name": "classifyConstraintError",
7327
7395
  "async": false,
@@ -8941,6 +9009,20 @@
8941
9009
  "isStatic": false,
8942
9010
  "isPublic": true
8943
9011
  },
9012
+ "withTransaction": {
9013
+ "name": "withTransaction",
9014
+ "async": true,
9015
+ "parameters": [
9016
+ {
9017
+ "name": "operation",
9018
+ "type": "Function",
9019
+ "optional": false
9020
+ }
9021
+ ],
9022
+ "returnType": "Promise<T>",
9023
+ "isStatic": false,
9024
+ "isPublic": true
9025
+ },
8944
9026
  "initialize": {
8945
9027
  "name": "initialize",
8946
9028
  "async": true,
@@ -9036,11 +9118,31 @@
9036
9118
  "save": {
9037
9119
  "name": "save",
9038
9120
  "async": true,
9039
- "parameters": [],
9121
+ "parameters": [
9122
+ {
9123
+ "name": "options",
9124
+ "type": "SmrtSaveOptions",
9125
+ "optional": true
9126
+ }
9127
+ ],
9040
9128
  "returnType": "any",
9041
9129
  "isStatic": false,
9042
9130
  "isPublic": true
9043
9131
  },
9132
+ "claimRevision": {
9133
+ "name": "claimRevision",
9134
+ "async": true,
9135
+ "parameters": [
9136
+ {
9137
+ "name": "expectedUpdatedAt",
9138
+ "type": "Date | string",
9139
+ "optional": false
9140
+ }
9141
+ ],
9142
+ "returnType": "Promise",
9143
+ "isStatic": false,
9144
+ "isPublic": true
9145
+ },
9044
9146
  "classifyConstraintError": {
9045
9147
  "name": "classifyConstraintError",
9046
9148
  "async": false,
@@ -11097,6 +11199,20 @@
11097
11199
  "isStatic": false,
11098
11200
  "isPublic": true
11099
11201
  },
11202
+ "withTransaction": {
11203
+ "name": "withTransaction",
11204
+ "async": true,
11205
+ "parameters": [
11206
+ {
11207
+ "name": "operation",
11208
+ "type": "Function",
11209
+ "optional": false
11210
+ }
11211
+ ],
11212
+ "returnType": "Promise<T>",
11213
+ "isStatic": false,
11214
+ "isPublic": true
11215
+ },
11100
11216
  "initialize": {
11101
11217
  "name": "initialize",
11102
11218
  "async": true,
@@ -11192,11 +11308,31 @@
11192
11308
  "save": {
11193
11309
  "name": "save",
11194
11310
  "async": true,
11195
- "parameters": [],
11311
+ "parameters": [
11312
+ {
11313
+ "name": "options",
11314
+ "type": "SmrtSaveOptions",
11315
+ "optional": true
11316
+ }
11317
+ ],
11196
11318
  "returnType": "any",
11197
11319
  "isStatic": false,
11198
11320
  "isPublic": true
11199
11321
  },
11322
+ "claimRevision": {
11323
+ "name": "claimRevision",
11324
+ "async": true,
11325
+ "parameters": [
11326
+ {
11327
+ "name": "expectedUpdatedAt",
11328
+ "type": "Date | string",
11329
+ "optional": false
11330
+ }
11331
+ ],
11332
+ "returnType": "Promise",
11333
+ "isStatic": false,
11334
+ "isPublic": true
11335
+ },
11200
11336
  "classifyConstraintError": {
11201
11337
  "name": "classifyConstraintError",
11202
11338
  "async": false,
@@ -13018,6 +13154,7 @@
13018
13154
  },
13019
13155
  "moduleType": "smrt",
13020
13156
  "smrtDependencies": [
13157
+ "@happyvertical/smrt-agents",
13021
13158
  "@happyvertical/smrt-assets",
13022
13159
  "@happyvertical/smrt-chat",
13023
13160
  "@happyvertical/smrt-core",
@@ -0,0 +1,123 @@
1
+ import { PrincipalRun } from '@happyvertical/smrt-agents';
2
+ import { createDataSurfaceActionAdapter, DataSurfaceActionAdapter, DataSurfaceActionStateStore, DataSurfaceBackgroundQueue, DataSurfaceServerActionContext, DataSurfaceServerActionRequest } from '@happyvertical/smrt-agents/server';
3
+ import { DataQueryRequest } from '@happyvertical/smrt-types';
4
+ import { DataSurfaceActionResult, DataSurfaceDescriptor, DataSurfaceIdentity, DataSurfaceJsonObject, DataSurfaceJsonValue } from '@happyvertical/smrt-ui/data';
5
+ import { ContentBodyFormat } from '../body-format.js';
6
+ import { Content } from '../content.js';
7
+ import { ContentQueryCollection, ContentQueryScope } from '../content-query.js';
8
+ export declare const CONTENT_LIST_WORKFLOW_IDS: readonly ["move-to-trash", "mark-draft", "submit-review", "publish", "archive", "restore", "automated-review", "format-body", "categorize", "optimize"];
9
+ export type ContentListWorkflowId = (typeof CONTENT_LIST_WORKFLOW_IDS)[number];
10
+ export type ContentListWorkflowExecution = 'foreground' | 'background';
11
+ export type ContentListWorkflowConfirmation = 'required' | 'none';
12
+ export interface ContentListWorkflowDescriptor {
13
+ id: ContentListWorkflowId;
14
+ label: string;
15
+ description: string;
16
+ selectionScopes: Array<'current-page' | 'explicit-ids' | 'all-matching'>;
17
+ sensitivity: 'public' | 'sensitive';
18
+ confirmation: ContentListWorkflowConfirmation;
19
+ execution: ContentListWorkflowExecution;
20
+ inputSchema: DataSurfaceJsonObject | null;
21
+ eligibility: string[];
22
+ permissionRequirements: {
23
+ tool: string;
24
+ operations: Array<{
25
+ id: string;
26
+ collection: string;
27
+ action: string;
28
+ }>;
29
+ };
30
+ consequences: string[];
31
+ partialResult: {
32
+ statuses: Array<'accepted' | 'skipped' | 'failed'>;
33
+ preservesFailedSelection: true;
34
+ };
35
+ }
36
+ export declare const CONTENT_LIST_WORKFLOWS: readonly ContentListWorkflowDescriptor[];
37
+ export interface ContentListActionTarget {
38
+ /** Canonical query sent to the content query endpoint. Required except for explicit IDs. */
39
+ query?: DataQueryRequest;
40
+ /** Count visible at selection time; drift fails the preview/apply. */
41
+ expectedCount: number;
42
+ }
43
+ export interface ContentListActionRequest extends DataSurfaceServerActionRequest {
44
+ actionId: ContentListWorkflowId;
45
+ target: ContentListActionTarget;
46
+ }
47
+ export interface ContentListActionCollection extends ContentQueryCollection {
48
+ get(filter: string | Record<string, unknown>): Promise<Content | null>;
49
+ }
50
+ /**
51
+ * Persistence-free copy supplied to host format/optimize handlers.
52
+ *
53
+ * Only the explicitly copied mutable fields are applied back to Content before
54
+ * the adapter's revision-guarded save. Identity, tenancy, lifecycle state,
55
+ * relationship IDs, database handles, and Content persistence methods are
56
+ * deliberately absent.
57
+ */
58
+ export interface ContentListWorkflowDraft {
59
+ readonly contentId: string;
60
+ readonly tenantId: string | null;
61
+ readonly type: string | null;
62
+ readonly variant: string | null;
63
+ readonly status: Content['status'];
64
+ readonly state: Content['state'];
65
+ fileKey: string | null;
66
+ author: string | null;
67
+ name: string;
68
+ title: string;
69
+ description: string | null;
70
+ body: string;
71
+ bodyFormat: ContentBodyFormat | null;
72
+ publish_date: Date | null;
73
+ url: string | null;
74
+ source: string | null;
75
+ original_url: string | null;
76
+ language: string | null;
77
+ tags: string[];
78
+ category: string | null;
79
+ metadata: Record<string, unknown>;
80
+ thumbnailAssetId: string | null;
81
+ }
82
+ export interface ContentListWorkflowHandlers {
83
+ /** Mutate a persistence-free draft; the adapter applies it by revision CAS. */
84
+ formatBody?: (content: ContentListWorkflowDraft, payload: DataSurfaceJsonValue | undefined, run: PrincipalRun) => Promise<void>;
85
+ /** Mutate a persistence-free draft; the adapter applies it by revision CAS. */
86
+ optimize?: (content: ContentListWorkflowDraft, payload: DataSurfaceJsonValue | undefined, run: PrincipalRun) => Promise<void>;
87
+ }
88
+ export interface ContentListWorkflowStorage {
89
+ adapterType: 'sqlite' | 'postgres' | 'duckdb' | 'json';
90
+ writeStrategy?: 'immediate' | 'manual' | 'none';
91
+ }
92
+ export declare class UnsupportedContentListWorkflowStorageError extends Error {
93
+ readonly code = "UNSUPPORTED_CONTENT_LIST_WORKFLOW_STORAGE";
94
+ constructor(storage: ContentListWorkflowStorage);
95
+ }
96
+ export declare function assertContentListWorkflowStorageSupported(storage: ContentListWorkflowStorage): void;
97
+ export interface ContentListActionAdapterOptions {
98
+ /** Public adapter capability contract; validated before any workflow state is created. */
99
+ workflowStorage: ContentListWorkflowStorage;
100
+ state: DataSurfaceActionStateStore;
101
+ collection(run: PrincipalRun): ContentListActionCollection | Promise<ContentListActionCollection>;
102
+ /** Trusted site/organization narrowing, applied in addition to tenant context. */
103
+ scope?: (run: PrincipalRun) => ContentQueryScope | undefined | Promise<ContentQueryScope | undefined>;
104
+ /** Server-owned mounted/catalog revision. Defaults to zero for standalone endpoints. */
105
+ revision?: (run: PrincipalRun, identity: DataSurfaceIdentity) => number | Promise<number>;
106
+ authorize?: (workflow: ContentListWorkflowId, run: PrincipalRun) => boolean | Promise<boolean>;
107
+ handlers?: ContentListWorkflowHandlers;
108
+ backgroundQueue?: DataSurfaceBackgroundQueue;
109
+ descriptor?: DataSurfaceDescriptor;
110
+ maxSelectionSize?: number;
111
+ representativeLimit?: number;
112
+ tokenTtlMs?: number;
113
+ /** Test/host seam for principal execution; production defaults to executeAsPrincipal. */
114
+ runAsPrincipal?: typeof import('@happyvertical/smrt-agents').executeAsPrincipal;
115
+ /** Resolve the live persona/TenantAgent binding before a queued mutation. */
116
+ resolveDeferredPrincipal?: Parameters<typeof createDataSurfaceActionAdapter>[0]['resolveDeferredPrincipal'];
117
+ }
118
+ export interface ContentListActionAdapter extends DataSurfaceActionAdapter {
119
+ preview(request: ContentListActionRequest, context: DataSurfaceServerActionContext): Promise<DataSurfaceActionResult>;
120
+ apply(request: ContentListActionRequest, context: DataSurfaceServerActionContext): Promise<DataSurfaceActionResult>;
121
+ }
122
+ export declare function createContentListActionAdapter(options: ContentListActionAdapterOptions): ContentListActionAdapter;
123
+ //# sourceMappingURL=content-list-actions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"content-list-actions.d.ts","sourceRoot":"","sources":["../../src/server/content-list-actions.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAMH,OAAO,2BAA2B,CAAC;AACnC,OAAO,EACL,KAAK,YAAY,EAElB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,8BAA8B,EAC9B,KAAK,wBAAwB,EAC7B,KAAK,2BAA2B,EAChC,KAAK,0BAA0B,EAC/B,KAAK,8BAA8B,EAEnC,KAAK,8BAA8B,EAEpC,MAAM,mCAAmC,CAAC;AAM3C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,KAAK,EACV,uBAAuB,EACvB,qBAAqB,EACrB,mBAAmB,EACnB,qBAAqB,EACrB,oBAAoB,EAErB,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAGL,KAAK,sBAAsB,EAC3B,KAAK,iBAAiB,EAEvB,MAAM,qBAAqB,CAAC;AAE7B,eAAO,MAAM,yBAAyB,yJAW5B,CAAC;AAEX,MAAM,MAA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,YAAY,KACd,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAChC,QAAQ,CAAC,EAAE,2BAA2B,CAAC;IACvC,eAAe,CAAC,EAAE,0BAA0B,CAAC;IAC7C,UAAU,CAAC,EAAE,qBAAqB,CAAC;IACnC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,yFAAyF;IACzF,cAAc,CAAC,EAAE,cAAc,4BAA4B,EAAE,kBAAkB,CAAC;IAChF,6EAA6E;IAC7E,wBAAwB,CAAC,EAAE,UAAU,CACnC,OAAO,8BAA8B,CACtC,CAAC,CAAC,CAAC,CAAC,0BAA0B,CAAC,CAAC;CAClC;AAuiBD,MAAM,WAAW,wBAAyB,SAAQ,wBAAwB;IACxE,OAAO,CACL,OAAO,EAAE,wBAAwB,EACjC,OAAO,EAAE,8BAA8B,GACtC,OAAO,CAAC,uBAAuB,CAAC,CAAC;IACpC,KAAK,CACH,OAAO,EAAE,wBAAwB,EACjC,OAAO,EAAE,8BAA8B,GACtC,OAAO,CAAC,uBAAuB,CAAC,CAAC;CACrC;AAED,wBAAgB,8BAA8B,CAC5C,OAAO,EAAE,+BAA+B,GACvC,wBAAwB,CAyO1B"}
@@ -0,0 +1,6 @@
1
+ declare function startServer(): Promise<{
2
+ shutdown: () => Promise<void>;
3
+ }>;
4
+ export * from './server/content-list-actions.js';
5
+ export { startServer };
6
+ //# sourceMappingURL=server.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,wBAAwB,CAAC;AAGhC,iBAAe,WAAW;;GA+BzB;AAOD,cAAc,kCAAkC,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,CAAC"}