@arbidocs/blocks 0.5.149 → 0.5.150
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/README.md +1 -1
- package/bin/arbidocs-record-take.mjs +122 -0
- package/dist/{ConnectedCallDock-EASMNJXB.cjs → ConnectedCallDock-L3QIWXAA.cjs} +22 -22
- package/dist/{ConnectedCallDock-EASMNJXB.cjs.map → ConnectedCallDock-L3QIWXAA.cjs.map} +1 -1
- package/dist/{ConnectedCallRoom-BWZ2FHXN.cjs → ConnectedCallRoom-S7INF4I5.cjs} +15 -15
- package/dist/{ConnectedCallRoom-BWZ2FHXN.cjs.map → ConnectedCallRoom-S7INF4I5.cjs.map} +1 -1
- package/dist/{ConnectedNativeDocxComparison-4FAJDXPT.cjs → ConnectedNativeDocxComparison-BVECWYJ5.cjs} +20 -20
- package/dist/{ConnectedNativeDocxComparison-4FAJDXPT.cjs.map → ConnectedNativeDocxComparison-BVECWYJ5.cjs.map} +1 -1
- package/dist/{ConnectedPresentation-EIWVV7ON.cjs → ConnectedPresentation-F6NYQ2X7.cjs} +21 -21
- package/dist/{ConnectedPresentation-EIWVV7ON.cjs.map → ConnectedPresentation-F6NYQ2X7.cjs.map} +1 -1
- package/dist/{ConnectedProductionSetDialog-SDHD5KTG.cjs → ConnectedProductionSetDialog-T5J4YLA7.cjs} +3 -3
- package/dist/{ConnectedProductionSetDialog-SDHD5KTG.cjs.map → ConnectedProductionSetDialog-T5J4YLA7.cjs.map} +1 -1
- package/dist/{ConnectedSlidesTab-4FN5ZRRI.cjs → ConnectedSlidesTab-WY6JCGWZ.cjs} +18 -18
- package/dist/{ConnectedSlidesTab-4FN5ZRRI.cjs.map → ConnectedSlidesTab-WY6JCGWZ.cjs.map} +1 -1
- package/dist/{ConnectedStreamedWordArtifact-D7EZFIJ7.cjs → ConnectedStreamedWordArtifact-ELNWWKZD.cjs} +20 -20
- package/dist/{ConnectedStreamedWordArtifact-D7EZFIJ7.cjs.map → ConnectedStreamedWordArtifact-ELNWWKZD.cjs.map} +1 -1
- package/dist/{DocumentReviewCard-7MVNPVZC.cjs → DocumentReviewCard-KV2B7BD3.cjs} +19 -19
- package/dist/{DocumentReviewCard-7MVNPVZC.cjs.map → DocumentReviewCard-KV2B7BD3.cjs.map} +1 -1
- package/dist/{FilesViewerDialog-6363IOTL.cjs → FilesViewerDialog-HJABYPOA.cjs} +46 -46
- package/dist/{FilesViewerDialog-6363IOTL.cjs.map → FilesViewerDialog-HJABYPOA.cjs.map} +1 -1
- package/dist/{WorkspaceTableView-HHATEV2H.cjs → WorkspaceTableView-XXCJ7LBO.cjs} +10 -10
- package/dist/{WorkspaceTableView-HHATEV2H.cjs.map → WorkspaceTableView-XXCJ7LBO.cjs.map} +1 -1
- package/dist/agents/index.cjs +303 -303
- package/dist/{ai-NC4ZE3UT.cjs → ai-RKRKOYO4.cjs} +26 -26
- package/dist/ai-RKRKOYO4.cjs.map +1 -0
- package/dist/auth/index.cjs +1 -1
- package/dist/calls/index.cjs +120 -120
- package/dist/chat/index.cjs +18 -18
- package/dist/{chunk-ZLJP6447.cjs → chunk-2XIENKEI.cjs} +31 -31
- package/dist/{chunk-ZLJP6447.cjs.map → chunk-2XIENKEI.cjs.map} +1 -1
- package/dist/{chunk-JARRHAQW.cjs → chunk-5636X4OX.cjs} +9 -9
- package/dist/{chunk-JARRHAQW.cjs.map → chunk-5636X4OX.cjs.map} +1 -1
- package/dist/{chunk-MKJBEL4W.cjs → chunk-6LTUUXRL.cjs} +4 -4
- package/dist/{chunk-MKJBEL4W.cjs.map → chunk-6LTUUXRL.cjs.map} +1 -1
- package/dist/{chunk-47NBCI3E.cjs → chunk-7PUVSSXX.cjs} +4 -4
- package/dist/{chunk-47NBCI3E.cjs.map → chunk-7PUVSSXX.cjs.map} +1 -1
- package/dist/{chunk-54Y4LWTA.cjs → chunk-AUEFLW3V.cjs} +50 -50
- package/dist/{chunk-54Y4LWTA.cjs.map → chunk-AUEFLW3V.cjs.map} +1 -1
- package/dist/{chunk-SQHR7564.cjs → chunk-BDLXTMOK.cjs} +70 -70
- package/dist/{chunk-SQHR7564.cjs.map → chunk-BDLXTMOK.cjs.map} +1 -1
- package/dist/{chunk-6KT6BEP4.cjs → chunk-BL3UUWIU.cjs} +8 -8
- package/dist/{chunk-6KT6BEP4.cjs.map → chunk-BL3UUWIU.cjs.map} +1 -1
- package/dist/{chunk-43GIESOM.cjs → chunk-CFSLZW4Y.cjs} +4 -4
- package/dist/{chunk-43GIESOM.cjs.map → chunk-CFSLZW4Y.cjs.map} +1 -1
- package/dist/{chunk-STFIBNND.cjs → chunk-CSN52UFI.cjs} +49 -49
- package/dist/{chunk-STFIBNND.cjs.map → chunk-CSN52UFI.cjs.map} +1 -1
- package/dist/{chunk-JZWLIOTP.cjs → chunk-DEJTECAY.cjs} +3 -3
- package/dist/{chunk-JZWLIOTP.cjs.map → chunk-DEJTECAY.cjs.map} +1 -1
- package/dist/{chunk-DHQH4EYB.cjs → chunk-FE4H7Z37.cjs} +4 -4
- package/dist/{chunk-DHQH4EYB.cjs.map → chunk-FE4H7Z37.cjs.map} +1 -1
- package/dist/{chunk-CRN64MYK.cjs → chunk-FVFIAQ2S.cjs} +12 -12
- package/dist/{chunk-CRN64MYK.cjs.map → chunk-FVFIAQ2S.cjs.map} +1 -1
- package/dist/{chunk-IIOFQKQV.cjs → chunk-IC3NREIK.cjs} +3 -3
- package/dist/{chunk-IIOFQKQV.cjs.map → chunk-IC3NREIK.cjs.map} +1 -1
- package/dist/{chunk-H5ITWXUA.cjs → chunk-JUFSJGTN.cjs} +4 -4
- package/dist/{chunk-H5ITWXUA.cjs.map → chunk-JUFSJGTN.cjs.map} +1 -1
- package/dist/{chunk-LXQMTVAB.cjs → chunk-KGAYY7LB.cjs} +7 -7
- package/dist/{chunk-LXQMTVAB.cjs.map → chunk-KGAYY7LB.cjs.map} +1 -1
- package/dist/{chunk-YV36BZE7.cjs → chunk-L7QNPS52.cjs} +11 -11
- package/dist/{chunk-YV36BZE7.cjs.map → chunk-L7QNPS52.cjs.map} +1 -1
- package/dist/{chunk-UHT2Q6IF.cjs → chunk-LW7TDQ63.cjs} +12 -12
- package/dist/{chunk-UHT2Q6IF.cjs.map → chunk-LW7TDQ63.cjs.map} +1 -1
- package/dist/{chunk-5QEPUONH.cjs → chunk-M53KQLFA.cjs} +4 -4
- package/dist/{chunk-5QEPUONH.cjs.map → chunk-M53KQLFA.cjs.map} +1 -1
- package/dist/{chunk-GPP7E3OQ.cjs → chunk-N2IQSGYU.cjs} +3 -3
- package/dist/{chunk-GPP7E3OQ.cjs.map → chunk-N2IQSGYU.cjs.map} +1 -1
- package/dist/{chunk-2ZH4KVAZ.cjs → chunk-P65JMN57.cjs} +36 -36
- package/dist/{chunk-2ZH4KVAZ.cjs.map → chunk-P65JMN57.cjs.map} +1 -1
- package/dist/{chunk-J5YEEWZT.cjs → chunk-QRCYKBLX.cjs} +7 -7
- package/dist/{chunk-J5YEEWZT.cjs.map → chunk-QRCYKBLX.cjs.map} +1 -1
- package/dist/{chunk-3WXAGCUL.cjs → chunk-QVKSN3G3.cjs} +6 -6
- package/dist/{chunk-3WXAGCUL.cjs.map → chunk-QVKSN3G3.cjs.map} +1 -1
- package/dist/{chunk-X5H2STK4.cjs → chunk-RBBUKGG4.cjs} +7 -7
- package/dist/{chunk-X5H2STK4.cjs.map → chunk-RBBUKGG4.cjs.map} +1 -1
- package/dist/{chunk-2E5AODIC.cjs → chunk-RCUM5HQN.cjs} +28 -28
- package/dist/{chunk-2E5AODIC.cjs.map → chunk-RCUM5HQN.cjs.map} +1 -1
- package/dist/{chunk-U6XMZG6G.cjs → chunk-RDBUQCAS.cjs} +3 -3
- package/dist/{chunk-U6XMZG6G.cjs.map → chunk-RDBUQCAS.cjs.map} +1 -1
- package/dist/{chunk-ZUYY3JRO.cjs → chunk-TBLQCML6.cjs} +3 -3
- package/dist/{chunk-ZUYY3JRO.cjs.map → chunk-TBLQCML6.cjs.map} +1 -1
- package/dist/{chunk-TJDCTRB5.cjs → chunk-TGZAJVDV.cjs} +4 -4
- package/dist/{chunk-TJDCTRB5.cjs.map → chunk-TGZAJVDV.cjs.map} +1 -1
- package/dist/{chunk-CFJAWCVX.cjs → chunk-UBKJNCWY.cjs} +16 -16
- package/dist/{chunk-CFJAWCVX.cjs.map → chunk-UBKJNCWY.cjs.map} +1 -1
- package/dist/{chunk-FHNWK5RO.cjs → chunk-VGRLKOIZ.cjs} +6 -6
- package/dist/{chunk-FHNWK5RO.cjs.map → chunk-VGRLKOIZ.cjs.map} +1 -1
- package/dist/{chunk-WSUHF676.cjs → chunk-VZZ2YIN4.cjs} +3 -3
- package/dist/{chunk-WSUHF676.cjs.map → chunk-VZZ2YIN4.cjs.map} +1 -1
- package/dist/{chunk-MHGZZ6IJ.cjs → chunk-WECRDCH4.cjs} +3 -3
- package/dist/{chunk-MHGZZ6IJ.cjs.map → chunk-WECRDCH4.cjs.map} +1 -1
- package/dist/{chunk-FZASPI2Q.cjs → chunk-XJAPT42P.cjs} +5 -5
- package/dist/{chunk-FZASPI2Q.cjs.map → chunk-XJAPT42P.cjs.map} +1 -1
- package/dist/{chunk-JARBYN6Z.cjs → chunk-Y3OI7ZP7.cjs} +3 -3
- package/dist/{chunk-JARBYN6Z.cjs.map → chunk-Y3OI7ZP7.cjs.map} +1 -1
- package/dist/{chunk-C7EGCNLV.cjs → chunk-YF5J44EA.cjs} +62 -62
- package/dist/{chunk-C7EGCNLV.cjs.map → chunk-YF5J44EA.cjs.map} +1 -1
- package/dist/{chunk-MIYEIACV.cjs → chunk-YRU6ZJUW.cjs} +6 -6
- package/dist/{chunk-MIYEIACV.cjs.map → chunk-YRU6ZJUW.cjs.map} +1 -1
- package/dist/{chunk-WXMD4AA4.cjs → chunk-ZNPBC4MK.cjs} +4 -4
- package/dist/{chunk-WXMD4AA4.cjs.map → chunk-ZNPBC4MK.cjs.map} +1 -1
- package/dist/{chunk-A5ZNAZ7Q.cjs → chunk-ZX76KVRE.cjs} +13 -13
- package/dist/{chunk-A5ZNAZ7Q.cjs.map → chunk-ZX76KVRE.cjs.map} +1 -1
- package/dist/collaboration/index.cjs +13 -13
- package/dist/connect/docx.cjs +23 -23
- package/dist/connect/index.cjs +1046 -1046
- package/dist/connect/viewer.cjs +34 -34
- package/dist/dashboards/index.cjs +1 -1
- package/dist/embed/index.cjs +44 -44
- package/dist/facts/index.cjs +43 -43
- package/dist/files/index.cjs +227 -227
- package/dist/home/index.cjs +31 -31
- package/dist/index.cjs +1584 -1584
- package/dist/pages/index.cjs +4 -4
- package/dist/record/index.cjs +234 -3
- package/dist/record/index.cjs.map +1 -1
- package/dist/record/index.d.ts +29 -2
- package/dist/record/index.js +231 -4
- package/dist/record/index.js.map +1 -1
- package/dist/record/runs.d.ts +101 -0
- package/dist/settings/index.cjs +148 -148
- package/dist/shell/index.cjs +87 -87
- package/dist/studio/index.cjs +29 -29
- package/dist/workflow-canvas/index.cjs +64 -64
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +7 -5
- package/record/SKILL.md +126 -0
- package/dist/ai-NC4ZE3UT.cjs.map +0 -1
|
@@ -1,85 +1,85 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkAUEFLW3V_cjs = require('../chunk-AUEFLW3V.cjs');
|
|
5
5
|
require('../chunk-32W2S6DE.cjs');
|
|
6
6
|
require('../chunk-KWJW5TMH.cjs');
|
|
7
|
-
require('../chunk-
|
|
8
|
-
require('../chunk-
|
|
9
|
-
var
|
|
7
|
+
require('../chunk-UBKJNCWY.cjs');
|
|
8
|
+
require('../chunk-7PUVSSXX.cjs');
|
|
9
|
+
var chunkTBLQCML6_cjs = require('../chunk-TBLQCML6.cjs');
|
|
10
10
|
require('../chunk-AEQT2QQX.cjs');
|
|
11
|
-
require('../chunk-
|
|
12
|
-
require('../chunk-
|
|
13
|
-
|
|
14
|
-
require('../chunk-2ZH4KVAZ.cjs');
|
|
15
|
-
require('../chunk-TJDCTRB5.cjs');
|
|
11
|
+
var chunkCFSLZW4Y_cjs = require('../chunk-CFSLZW4Y.cjs');
|
|
12
|
+
require('../chunk-P65JMN57.cjs');
|
|
13
|
+
require('../chunk-TGZAJVDV.cjs');
|
|
16
14
|
require('../chunk-HYUKPHCT.cjs');
|
|
17
|
-
require('../chunk-
|
|
15
|
+
require('../chunk-JUFSJGTN.cjs');
|
|
18
16
|
require('../chunk-223D4727.cjs');
|
|
19
17
|
require('../chunk-SNUBQMIS.cjs');
|
|
20
|
-
var
|
|
21
|
-
var chunk7KSOMWCS_cjs = require('../chunk-7KSOMWCS.cjs');
|
|
22
|
-
require('../chunk-MIYEIACV.cjs');
|
|
18
|
+
var chunkFVFIAQ2S_cjs = require('../chunk-FVFIAQ2S.cjs');
|
|
23
19
|
require('../chunk-4ONPEVTP.cjs');
|
|
24
20
|
require('../chunk-V3KLUWQQ.cjs');
|
|
25
|
-
var
|
|
26
|
-
|
|
21
|
+
var chunk7KSOMWCS_cjs = require('../chunk-7KSOMWCS.cjs');
|
|
22
|
+
require('../chunk-YRU6ZJUW.cjs');
|
|
27
23
|
require('../chunk-OUYBYZ7Y.cjs');
|
|
28
24
|
require('../chunk-QQMMCXBP.cjs');
|
|
29
25
|
require('../chunk-DTMBAFIL.cjs');
|
|
30
26
|
require('../chunk-Z3LFF3YT.cjs');
|
|
31
27
|
var chunkNSD37OF5_cjs = require('../chunk-NSD37OF5.cjs');
|
|
32
|
-
require('../chunk-
|
|
28
|
+
require('../chunk-2XZJBPBV.cjs');
|
|
29
|
+
require('../chunk-X6QGVLMV.cjs');
|
|
30
|
+
require('../chunk-VHD5DZW4.cjs');
|
|
31
|
+
require('../chunk-5F4DCIHS.cjs');
|
|
33
32
|
require('../chunk-WQMR3O2D.cjs');
|
|
34
33
|
require('../chunk-NZNBJF3M.cjs');
|
|
35
34
|
require('../chunk-NWNVWO6L.cjs');
|
|
36
35
|
require('../chunk-SK6HQ46Q.cjs');
|
|
37
36
|
require('../chunk-WCT6FT2K.cjs');
|
|
37
|
+
require('../chunk-MCXS6X37.cjs');
|
|
38
|
+
require('../chunk-KQF7POTG.cjs');
|
|
38
39
|
require('../chunk-LH3PDPJP.cjs');
|
|
39
|
-
|
|
40
|
+
require('../chunk-75BNMCUX.cjs');
|
|
40
41
|
require('../chunk-OEJQFPWO.cjs');
|
|
41
|
-
var
|
|
42
|
-
var
|
|
42
|
+
var chunkM53KQLFA_cjs = require('../chunk-M53KQLFA.cjs');
|
|
43
|
+
var chunk2XIENKEI_cjs = require('../chunk-2XIENKEI.cjs');
|
|
43
44
|
require('../chunk-CYN66TBO.cjs');
|
|
44
|
-
var
|
|
45
|
+
var chunkY3OI7ZP7_cjs = require('../chunk-Y3OI7ZP7.cjs');
|
|
45
46
|
var chunkI4IS6ST6_cjs = require('../chunk-I4IS6ST6.cjs');
|
|
46
47
|
var chunkM55XUF4L_cjs = require('../chunk-M55XUF4L.cjs');
|
|
47
48
|
require('../chunk-EVZH6Z5O.cjs');
|
|
49
|
+
require('../chunk-IN6ILI5A.cjs');
|
|
50
|
+
var chunk7XR6CPCU_cjs = require('../chunk-7XR6CPCU.cjs');
|
|
48
51
|
require('../chunk-OYXWQTHF.cjs');
|
|
49
52
|
require('../chunk-S237ORM3.cjs');
|
|
50
53
|
require('../chunk-II2OEXHW.cjs');
|
|
51
|
-
require('../chunk-
|
|
54
|
+
require('../chunk-FX3K6LNZ.cjs');
|
|
55
|
+
require('../chunk-ZNPBC4MK.cjs');
|
|
52
56
|
require('../chunk-3YEXZX4H.cjs');
|
|
53
57
|
require('../chunk-4PA6VCCR.cjs');
|
|
54
|
-
var
|
|
58
|
+
var chunk5636X4OX_cjs = require('../chunk-5636X4OX.cjs');
|
|
55
59
|
require('../chunk-AHDJXIUB.cjs');
|
|
56
|
-
require('../chunk-MHGZZ6IJ.cjs');
|
|
57
60
|
require('../chunk-RL2HI6NP.cjs');
|
|
58
61
|
require('../chunk-6UZC4XVV.cjs');
|
|
62
|
+
require('../chunk-WECRDCH4.cjs');
|
|
59
63
|
require('../chunk-DKY67DA6.cjs');
|
|
60
|
-
require('../chunk-
|
|
64
|
+
var chunkY3GJBLAI_cjs = require('../chunk-Y3GJBLAI.cjs');
|
|
65
|
+
var chunkSQCCQU3K_cjs = require('../chunk-SQCCQU3K.cjs');
|
|
66
|
+
var chunkUDSHVNU3_cjs = require('../chunk-UDSHVNU3.cjs');
|
|
61
67
|
require('../chunk-GAVQFR6P.cjs');
|
|
62
|
-
require('../chunk-
|
|
68
|
+
require('../chunk-IPSHAMO2.cjs');
|
|
63
69
|
require('../chunk-ZVEW3JBT.cjs');
|
|
64
|
-
require('../chunk-ZT5MIFLC.cjs');
|
|
65
70
|
require('../chunk-M74FWYNL.cjs');
|
|
66
71
|
require('../chunk-QUMUAJ2P.cjs');
|
|
67
72
|
require('../chunk-VZOOGA47.cjs');
|
|
68
|
-
require('../chunk-
|
|
69
|
-
require('../chunk-
|
|
70
|
-
require('../chunk-
|
|
71
|
-
require('../chunk-
|
|
72
|
-
require('../chunk-
|
|
73
|
-
require('../chunk-
|
|
74
|
-
require('../chunk-
|
|
75
|
-
require('../chunk-IN6ILI5A.cjs');
|
|
76
|
-
var chunk7XR6CPCU_cjs = require('../chunk-7XR6CPCU.cjs');
|
|
77
|
-
require('../chunk-FX3K6LNZ.cjs');
|
|
78
|
-
var chunkY3GJBLAI_cjs = require('../chunk-Y3GJBLAI.cjs');
|
|
79
|
-
var chunkSQCCQU3K_cjs = require('../chunk-SQCCQU3K.cjs');
|
|
80
|
-
var chunkUDSHVNU3_cjs = require('../chunk-UDSHVNU3.cjs');
|
|
73
|
+
require('../chunk-H7SGZN33.cjs');
|
|
74
|
+
require('../chunk-C36NH6PR.cjs');
|
|
75
|
+
var chunkU2HDSS5R_cjs = require('../chunk-U2HDSS5R.cjs');
|
|
76
|
+
var chunkP2K4XL4T_cjs = require('../chunk-P2K4XL4T.cjs');
|
|
77
|
+
require('../chunk-TMX7YFVM.cjs');
|
|
78
|
+
var chunk3YZKDCWY_cjs = require('../chunk-3YZKDCWY.cjs');
|
|
79
|
+
require('../chunk-SJSGSHIT.cjs');
|
|
81
80
|
require('../chunk-PPCATBOY.cjs');
|
|
82
|
-
require('../chunk-
|
|
81
|
+
require('../chunk-ZW6FPIFC.cjs');
|
|
82
|
+
require('../chunk-ZT5MIFLC.cjs');
|
|
83
83
|
require('../chunk-LJJJ6CYH.cjs');
|
|
84
84
|
var chunkVMXTOIXB_cjs = require('../chunk-VMXTOIXB.cjs');
|
|
85
85
|
require('../chunk-YZBDHBKI.cjs');
|
|
@@ -409,9 +409,9 @@ function SignalsEditor({
|
|
|
409
409
|
{
|
|
410
410
|
className: ui.cn(
|
|
411
411
|
"space-y-1.5 rounded-md border p-2",
|
|
412
|
-
|
|
412
|
+
chunkY3OI7ZP7_cjs.isIncompleteSignal(signal) ? "border-destructive/50" : "border-border"
|
|
413
413
|
),
|
|
414
|
-
"data-incomplete":
|
|
414
|
+
"data-incomplete": chunkY3OI7ZP7_cjs.isIncompleteSignal(signal) || void 0,
|
|
415
415
|
"data-testid": `${testId}-${i}`,
|
|
416
416
|
children: [
|
|
417
417
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
@@ -1838,9 +1838,9 @@ function plan(value, options) {
|
|
|
1838
1838
|
criteria: [],
|
|
1839
1839
|
max_passes: 3,
|
|
1840
1840
|
documents: [],
|
|
1841
|
-
steps:
|
|
1841
|
+
steps: chunkY3OI7ZP7_cjs.toPlanSteps(value.workflow, options),
|
|
1842
1842
|
// What a run is started with (checked by the server when one starts).
|
|
1843
|
-
inputs:
|
|
1843
|
+
inputs: chunkY3OI7ZP7_cjs.toPlanInputs(value.workflow.inputs)
|
|
1844
1844
|
};
|
|
1845
1845
|
}
|
|
1846
1846
|
function builderToWorkflowRequest(value, workspaceId, options = {}) {
|
|
@@ -1875,7 +1875,7 @@ function builderToWorkflowUpdate(value, options = {}) {
|
|
|
1875
1875
|
}
|
|
1876
1876
|
function workflowRecordToBuilder(record) {
|
|
1877
1877
|
const planned = record.plan?.steps ?? [];
|
|
1878
|
-
const steps = planned.length ?
|
|
1878
|
+
const steps = planned.length ? chunkY3OI7ZP7_cjs.fromPlanSteps(planned) : record.prompt || record.skill_ref ? [
|
|
1879
1879
|
{
|
|
1880
1880
|
id: "work",
|
|
1881
1881
|
kind: "agent",
|
|
@@ -1889,10 +1889,10 @@ function workflowRecordToBuilder(record) {
|
|
|
1889
1889
|
id: record.external_id,
|
|
1890
1890
|
title: record.name,
|
|
1891
1891
|
description: record.description ?? "",
|
|
1892
|
-
inputs:
|
|
1892
|
+
inputs: chunkY3OI7ZP7_cjs.fromPlanInputs(record.plan?.inputs),
|
|
1893
1893
|
landing: "chat",
|
|
1894
1894
|
schedulable: false,
|
|
1895
|
-
run: { kind: "steps", steps, layout:
|
|
1895
|
+
run: { kind: "steps", steps, layout: chunkY3OI7ZP7_cjs.layoutFromPlanSteps(planned ?? []) }
|
|
1896
1896
|
},
|
|
1897
1897
|
trigger: {
|
|
1898
1898
|
...DEFAULT_WORKFLOW_TRIGGER,
|
|
@@ -1963,7 +1963,7 @@ function triggerSummary(trigger, options = {}) {
|
|
|
1963
1963
|
case "once":
|
|
1964
1964
|
return trigger.runAt ? new Date(trigger.runAt).toLocaleString() : l.starts.once;
|
|
1965
1965
|
case "repeat":
|
|
1966
|
-
return trigger.rrule ?
|
|
1966
|
+
return trigger.rrule ? chunkY3OI7ZP7_cjs.describeRRule(trigger.rrule) : l.starts.repeat;
|
|
1967
1967
|
case "event":
|
|
1968
1968
|
if (isSignalTrigger(trigger))
|
|
1969
1969
|
return trigger.signal ? l.signalSummary.replace("{signal}", trigger.signal) : l.stepSignals;
|
|
@@ -2022,7 +2022,7 @@ function TriggerInspector({
|
|
|
2022
2022
|
}
|
|
2023
2023
|
)
|
|
2024
2024
|
] }),
|
|
2025
|
-
trigger.start === "repeat" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2025
|
+
trigger.start === "repeat" && /* @__PURE__ */ jsxRuntime.jsx(chunk2XIENKEI_cjs.RecurrenceBuilder, { rrule: trigger.rrule, onChange: (rrule) => set({ rrule }) }),
|
|
2026
2026
|
trigger.start === "event" && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
|
|
2027
2027
|
/* @__PURE__ */ jsxRuntime.jsx(ui.Label, { className: "text-xs", children: l.event }),
|
|
2028
2028
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -2120,7 +2120,7 @@ function TriggerInspector({
|
|
|
2120
2120
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
|
|
2121
2121
|
/* @__PURE__ */ jsxRuntime.jsx(ui.Label, { className: "text-xs", children: l.agent }),
|
|
2122
2122
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2123
|
-
|
|
2123
|
+
chunk5636X4OX_cjs.AgentSelect,
|
|
2124
2124
|
{
|
|
2125
2125
|
agents,
|
|
2126
2126
|
value: trigger.agentId,
|
|
@@ -2970,13 +2970,13 @@ function WorkflowPreview({
|
|
|
2970
2970
|
renderIcon,
|
|
2971
2971
|
testId
|
|
2972
2972
|
}) {
|
|
2973
|
-
const run =
|
|
2973
|
+
const run = chunkM53KQLFA_cjs.useWorkflowPreview(workflow, {
|
|
2974
2974
|
resolveWorkflow: (id) => workflows.find((w) => w.id === id),
|
|
2975
2975
|
compose,
|
|
2976
2976
|
answer
|
|
2977
2977
|
});
|
|
2978
2978
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2979
|
-
|
|
2979
|
+
chunk2XIENKEI_cjs.WorkflowRunner,
|
|
2980
2980
|
{
|
|
2981
2981
|
workflow,
|
|
2982
2982
|
run,
|
|
@@ -3047,7 +3047,7 @@ function scheduledTaskBuilderValue() {
|
|
|
3047
3047
|
]
|
|
3048
3048
|
}
|
|
3049
3049
|
},
|
|
3050
|
-
trigger: { ...value.trigger, start: "repeat", rrule:
|
|
3050
|
+
trigger: { ...value.trigger, start: "repeat", rrule: chunkY3OI7ZP7_cjs.buildRRule(chunkY3OI7ZP7_cjs.DEFAULT_RECURRENCE) }
|
|
3051
3051
|
};
|
|
3052
3052
|
}
|
|
3053
3053
|
var TITLE_WORDS = 6;
|
|
@@ -3261,7 +3261,7 @@ function ConnectedSavedWorkflowRun({
|
|
|
3261
3261
|
return /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground", "data-testid": "saved-workflow-run-status", children: saved.isError ? l.failed : l.loading });
|
|
3262
3262
|
}
|
|
3263
3263
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3264
|
-
|
|
3264
|
+
chunkAUEFLW3V_cjs.ConnectedWorkflowRunPage,
|
|
3265
3265
|
{
|
|
3266
3266
|
workflow,
|
|
3267
3267
|
workspaceId,
|
|
@@ -3314,13 +3314,13 @@ function ConnectedWorkflowsPage({
|
|
|
3314
3314
|
historyLabels,
|
|
3315
3315
|
testId = "workflows-page"
|
|
3316
3316
|
}) {
|
|
3317
|
-
const webWorkflows =
|
|
3317
|
+
const webWorkflows = chunkTBLQCML6_cjs.useNamedWorkflows(chunkM55XUF4L_cjs.WEB_WORKFLOWS);
|
|
3318
3318
|
const l = { ...DEFAULT_CONNECTED_WORKFLOWS_PAGE_LABELS, ...labels };
|
|
3319
3319
|
const host = chunk3YZKDCWY_cjs.useHost();
|
|
3320
3320
|
const config = host.workflows;
|
|
3321
3321
|
const { openConversation, openFiles } = chunkVMXTOIXB_cjs.useBlocksEnvironment();
|
|
3322
3322
|
const openWorkflow = chunk7KSOMWCS_cjs.useOpenWorkflow();
|
|
3323
|
-
const renderPerson =
|
|
3323
|
+
const renderPerson = chunkAUEFLW3V_cjs.useRenderTaskPerson();
|
|
3324
3324
|
const refreshDocuments = react$2.useRefreshDocuments();
|
|
3325
3325
|
const invalidateTags = react$2.useInvalidateTagData();
|
|
3326
3326
|
const { data: tags = [] } = react$2.useTags();
|
|
@@ -3352,7 +3352,7 @@ function ConnectedWorkflowsPage({
|
|
|
3352
3352
|
openHistory,
|
|
3353
3353
|
closeHistoryTab,
|
|
3354
3354
|
selectHistoryTab
|
|
3355
|
-
} =
|
|
3355
|
+
} = chunkAUEFLW3V_cjs.useWorkflowsPageState({
|
|
3356
3356
|
historyWorkflowId: requestedHistoryId ?? historyWorkflowId,
|
|
3357
3357
|
onHistoryWorkflowConsumed: consumeHistory
|
|
3358
3358
|
});
|
|
@@ -3402,14 +3402,14 @@ function ConnectedWorkflowsPage({
|
|
|
3402
3402
|
await refreshDocuments(execution.document_ext_ids);
|
|
3403
3403
|
await invalidateTags();
|
|
3404
3404
|
const fieldIds = execution.result?.tag_ext_ids ?? runsFor?.action?.tag_ext_ids ?? [];
|
|
3405
|
-
|
|
3405
|
+
chunkCFSLZW4Y_cjs.useAiReviewStore.getState().setRun({
|
|
3406
3406
|
docIds: execution.document_ext_ids,
|
|
3407
3407
|
tags: fieldIds.map((fieldId) => ({
|
|
3408
3408
|
id: fieldId,
|
|
3409
3409
|
name: tags.find((tag) => tag.external_id === fieldId)?.name ?? "Review"
|
|
3410
3410
|
}))
|
|
3411
3411
|
});
|
|
3412
|
-
|
|
3412
|
+
chunkCFSLZW4Y_cjs.useAiReviewStore.getState().setOpen(true);
|
|
3413
3413
|
openFiles(
|
|
3414
3414
|
execution.label_ext_id ? { filters: { [execution.label_ext_id]: "include" } } : void 0
|
|
3415
3415
|
);
|
|
@@ -3421,7 +3421,7 @@ function ConnectedWorkflowsPage({
|
|
|
3421
3421
|
return (
|
|
3422
3422
|
// The page in the Workflows page's frame: padded, scrolling.
|
|
3423
3423
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-full min-h-0 w-full overflow-auto p-4 sm:p-6", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3424
|
-
|
|
3424
|
+
chunkAUEFLW3V_cjs.ConnectedWorkflowRunPage,
|
|
3425
3425
|
{
|
|
3426
3426
|
workflow: running.workflow,
|
|
3427
3427
|
projectFrom: running.projectFrom,
|
|
@@ -3534,7 +3534,7 @@ function ConnectedWorkflowsPage({
|
|
|
3534
3534
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full min-h-0 flex-col", "data-testid": testId, children: [
|
|
3535
3535
|
pageHeader && /* @__PURE__ */ jsxRuntime.jsx(chunkNSD37OF5_cjs.PageHeader, { ...pageHeader }),
|
|
3536
3536
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3537
|
-
|
|
3537
|
+
chunkFVFIAQ2S_cjs.ConnectedWorkflowsTable,
|
|
3538
3538
|
{
|
|
3539
3539
|
onOpenTemplate: (id) => openBuilder({ kind: "template", id }),
|
|
3540
3540
|
tabs: [
|
|
@@ -3564,7 +3564,7 @@ function ConnectedWorkflowsPage({
|
|
|
3564
3564
|
}
|
|
3565
3565
|
},
|
|
3566
3566
|
content: hostTab ? hostTab.content : runsFor ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
3567
|
-
|
|
3567
|
+
chunkAUEFLW3V_cjs.ConnectedWorkflowHistory,
|
|
3568
3568
|
{
|
|
3569
3569
|
inline: true,
|
|
3570
3570
|
hideHeader: true,
|
|
@@ -3589,7 +3589,7 @@ function ConnectedWorkflowsPage({
|
|
|
3589
3589
|
) : void 0,
|
|
3590
3590
|
automationsOnly: true,
|
|
3591
3591
|
gridId: "automations-grid-v1",
|
|
3592
|
-
describeTrigger: (workflow) => workflow.on_demand ? l.manualTrigger :
|
|
3592
|
+
describeTrigger: (workflow) => workflow.on_demand ? l.manualTrigger : chunkY3OI7ZP7_cjs.describeTrigger(workflow),
|
|
3593
3593
|
formatDate: ui.formatFriendlyDate,
|
|
3594
3594
|
renderPerson,
|
|
3595
3595
|
onViewRuns: showHistory,
|
|
@@ -3628,7 +3628,7 @@ function ConnectedWorkflowsPage({
|
|
|
3628
3628
|
}
|
|
3629
3629
|
),
|
|
3630
3630
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3631
|
-
|
|
3631
|
+
chunkAUEFLW3V_cjs.ConnectedTaskComposer,
|
|
3632
3632
|
{
|
|
3633
3633
|
kind: "workflow",
|
|
3634
3634
|
saveOnly: true,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arbidocs/coedit",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.150",
|
|
4
4
|
"description": "Real-time collaboration for the ARBI native DOCX editor: a Yjs mirror of the canonical OOXML package, session, and server runtime",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arbidocs/blocks",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.150",
|
|
4
4
|
"description": "Composable, domain-neutral UI blocks for ARBI apps, organised by capability (retrieval, facts, agents, workspaces, citations, collaboration) plus shell, theme and site primitives, on top of @arbidocs/react.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
"types": "dist/index.d.ts",
|
|
9
9
|
"bin": {
|
|
10
10
|
"arbidocs-copy-pdf-assets": "./bin/arbidocs-copy-pdf-assets.mjs",
|
|
11
|
+
"arbidocs-record-take": "./bin/arbidocs-record-take.mjs",
|
|
11
12
|
"arbidocs-render-take": "./bin/arbidocs-render-take.mjs"
|
|
12
13
|
},
|
|
13
14
|
"exports": {
|
|
@@ -319,6 +320,7 @@
|
|
|
319
320
|
"files": [
|
|
320
321
|
"bin",
|
|
321
322
|
"dist",
|
|
323
|
+
"record/SKILL.md",
|
|
322
324
|
"record/render-overlays.mjs",
|
|
323
325
|
"record/render-take.py",
|
|
324
326
|
"src/tokens.css",
|
|
@@ -349,9 +351,9 @@
|
|
|
349
351
|
"custom-site:test:e2e": "playwright test -c examples/custom-site/playwright.config.ts"
|
|
350
352
|
},
|
|
351
353
|
"dependencies": {
|
|
352
|
-
"@arbidocs/client": "0.5.
|
|
353
|
-
"@arbidocs/coedit": "0.5.
|
|
354
|
-
"@arbidocs/sdk": "0.5.
|
|
354
|
+
"@arbidocs/client": "0.5.150",
|
|
355
|
+
"@arbidocs/coedit": "0.5.150",
|
|
356
|
+
"@arbidocs/sdk": "0.5.150",
|
|
355
357
|
"@auth0/auth0-react": "^2.19.0",
|
|
356
358
|
"@dnd-kit/core": "^6.3.1",
|
|
357
359
|
"@dnd-kit/sortable": "^10.0.0",
|
|
@@ -402,7 +404,7 @@
|
|
|
402
404
|
"y-protocols": "^1.0.6"
|
|
403
405
|
},
|
|
404
406
|
"peerDependencies": {
|
|
405
|
-
"@arbidocs/react": "0.5.
|
|
407
|
+
"@arbidocs/react": "0.5.150",
|
|
406
408
|
"@lexical/html": "0.35.0",
|
|
407
409
|
"@lexical/link": "0.35.0",
|
|
408
410
|
"@lexical/list": "0.35.0",
|
package/record/SKILL.md
ADDED
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: arbi-record-demo-video
|
|
3
|
+
description: Record a custom site's demo video with @arbidocs/blocks/record — prepare a disposable workspace, drive the story with Playwright against the deployed backend, render the cut/zoomed/branded 1080p edit, check it, and deliver it to OVH. Use when asked to record, re-record or fix a demo/client video of any ARBI custom site (Clarum and the sites after it).
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Recording a custom site's demo video
|
|
7
|
+
|
|
8
|
+
Every custom site (a site = kits + config + content) records its demo videos the same way, with
|
|
9
|
+
`@arbidocs/blocks/record`:
|
|
10
|
+
|
|
11
|
+
| Piece | What it does |
|
|
12
|
+
|-------|--------------|
|
|
13
|
+
| `createCinematic({ brand, testIds })` | the stage: a cursor that glides, click ripples, `caption`, `chapter`/`cover`/`uncover`, `lowerThird`, `focusOn`, `readDown`; `click` waits for toasts first; `signInAs` |
|
|
14
|
+
| `cine.take(page, { name, dir })` / `Take` | the take's clock: logs waits (`take.wait`) and the focus timeline for the edit |
|
|
15
|
+
| `createRunKit(cine, { prefix })` | following a workflow run: `driveRun`, `whileWorking`, `approveStep`, `pickTile`, `stepChip`, `currentStep`, `resumeRun` |
|
|
16
|
+
| `openWordById`, `spaGo`, `fillSecret` | open a document by id in Word, navigate without a reload, type a password without recording it |
|
|
17
|
+
| `arbidocs-record-take` (bin) | one take end to end: prepare → record → render → upload |
|
|
18
|
+
| `arbidocs-render-take` (bin, `record/render-take.py`) | the edit alone: cut long waits, zoom/pan, picture-in-picture, brand overlays, 1080p H.264 |
|
|
19
|
+
|
|
20
|
+
The site keeps only what is its own: its brand (`CinematicBrand` from its theme tokens and font
|
|
21
|
+
files), its stories (`e2e/record/*.record.ts`), its fixtures and its workspace prepare script.
|
|
22
|
+
Labels on screen (chapter cards, lower-thirds, captions) come from the story, never from the kit.
|
|
23
|
+
|
|
24
|
+
## Prerequisites
|
|
25
|
+
|
|
26
|
+
- **A disposable workspace** on the site and the **CI tester accounts** (`ci+…@arbi.city` /
|
|
27
|
+
`agent+…@arbi.city`) as its members. Never a customer's workspace or a real person's account;
|
|
28
|
+
the site's prepare script must refuse any other account.
|
|
29
|
+
- **A deployed backend** (the site itself, or the site's dev server proxied to the deployed
|
|
30
|
+
backend). Never a local mock: the video shows the real AI.
|
|
31
|
+
- For the render: `python3` with `numpy` and `opencv-python` (`RENDER_VENV=<venv>` puts a venv's
|
|
32
|
+
python first), `ffmpeg`, and Playwright's Chromium (it draws the overlays).
|
|
33
|
+
- For delivery: the aws CLI with the OVH S3 keys in its environment (`AWS_ACCESS_KEY_ID` /
|
|
34
|
+
`AWS_SECRET_ACCESS_KEY`; they are `vault_s3_access_key` / `vault_s3_secret_key` in
|
|
35
|
+
arbicity/ansible's vault — extract those two keys with a regex, never pipe the vault into a
|
|
36
|
+
YAML parser).
|
|
37
|
+
- Heavy work (long takes, renders) on a box meant for it, not a shared dev box.
|
|
38
|
+
|
|
39
|
+
## The one command
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
npx arbidocs-record-take --site <site> --story <file stem> --grep "<test title>" \
|
|
43
|
+
--prepare "node e2e/record/tools/prepare-workspace.mjs --seed" --upload
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
It runs the prepare command (skipped for a resumed take), then
|
|
47
|
+
`npx playwright test --config=playwright.record.config.ts -g "<test title>"`, renders
|
|
48
|
+
`<videos>/<site>-<story>.webm` with its `.waits.json` / `.focus.json` to `<site>-<story>.cut.mp4`,
|
|
49
|
+
and with `--upload` copies a passed, non-resumed take to
|
|
50
|
+
`s3://arbi-archive/demo-videos/<site>/<YYYY-MM-DD>-<story>.mp4` (OVH UK,
|
|
51
|
+
`https://s3.uk.io.cloud.ovh.net`) and prints a 7-day presigned link. Options: `--config`,
|
|
52
|
+
`--videos` (default `e2e/videos`), `--name`, `--out`, `--date`, and renderer flags after `--`
|
|
53
|
+
(`-- --max-zoom 1.6 --no-pip`). It exits with the recording's status: a failed take still renders
|
|
54
|
+
what it recorded, to see where it stopped.
|
|
55
|
+
|
|
56
|
+
A site usually wraps it in a two-line script (Clarum: `e2e/record/tools/take.sh`).
|
|
57
|
+
|
|
58
|
+
## Writing a story
|
|
59
|
+
|
|
60
|
+
```ts
|
|
61
|
+
const cine = createCinematic({ brand: SITE_BRAND, testIds: { email: 'email-input', … } })
|
|
62
|
+
const runs = createRunKit(cine, { prefix: 'run' }) // the runner's testIdPrefix
|
|
63
|
+
|
|
64
|
+
test('Client onboarding', async ({ page }) => {
|
|
65
|
+
const take = await cine.take(page, { name: 'site-20-onboarding', dir: 'e2e/videos' })
|
|
66
|
+
await cine.installStage(page)
|
|
67
|
+
await take.markSync() // before the first navigation
|
|
68
|
+
await page.goto('/app/login')
|
|
69
|
+
await cine.chapter(page, { kicker: 'Onboarding', title: '…' }) // setup behind the card
|
|
70
|
+
… sign in, open the workspace …
|
|
71
|
+
await cine.uncover(page)
|
|
72
|
+
if (!(await runs.resumeRun(page, { readyTestId: 'page-run' }))) { … start the run … }
|
|
73
|
+
await runs.driveRun(take, { ai: ['conflicts'], captions: { … }, handlers: { … } })
|
|
74
|
+
})
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
The record config: `video: { mode: 'on', size: { width: 1600, height: 900 } }` and the same
|
|
78
|
+
viewport, `workers: 1`, a long `timeout`; the edit scales 1600x900 to 1080p.
|
|
79
|
+
|
|
80
|
+
## Lessons (learned the hard way; keep them)
|
|
81
|
+
|
|
82
|
+
- **A clean workspace every take.** What earlier takes left (register rows, documents) changes what
|
|
83
|
+
the AI finds: a conflict search reported six earlier takes as real conflicts, and the AI read
|
|
84
|
+
another take's KYC papers. The prepare step deletes it and seeds fixtures once per workspace.
|
|
85
|
+
- **Resume to try later steps.** A take is 10–30 minutes of live AI. `E2E_RESUME_RUN=
|
|
86
|
+
"/app/run/<workflow>?run=con-…"` starts the story at a run already under way (`resumeRun`), so a
|
|
87
|
+
later step can be fixed in minutes. A resumed take is for trying steps, never delivered.
|
|
88
|
+
- **Read state from what the page shows.** Step chips (`<prefix>-step-<id>`, and
|
|
89
|
+
`workflow-thread-step-<id>` once the run has its thread) carry `aria-current` and `data-phase`;
|
|
90
|
+
a done AI step stays current until Continue, so wait on `data-phase="done"`, not on "the current
|
|
91
|
+
step changed". Open documents by id (the step's own `?doc=` link, or the POST that stored them:
|
|
92
|
+
`openWordById`), never by searching a documents table (it renders only the rows in view). Never
|
|
93
|
+
wait on a heading or phrase the AI writes.
|
|
94
|
+
- **Sign-out timing.** Sign in again only once the server's `POST /v1/user/logout` has returned;
|
|
95
|
+
before that a sign-in fails with "The session ended". `signInAs` waits for it.
|
|
96
|
+
- **Toasts.** A toast over a button takes the click, and a cursor resting on it pauses its
|
|
97
|
+
dismissal. `cine.click` moves the cursor clear and waits for toasts to go.
|
|
98
|
+
- **A review step's form opens on Approve.** Fill a review step's fields in `approveStep`'s `fill`,
|
|
99
|
+
after its panel shows.
|
|
100
|
+
- **Live AI fails sometimes.** `whileWorking` presses the current-step panel's "Try again" (twice
|
|
101
|
+
at most), as an operator would; the render cuts the wait. A step that fails after that is a real
|
|
102
|
+
failure: look at the run, don't re-roll until lucky.
|
|
103
|
+
- **Check the answer, not just the exit code.** Before delivering, look at the frames where the AI
|
|
104
|
+
answers (`--stills <dir>` on the renderer, or scrub the cut): e.g. the conflict search must say
|
|
105
|
+
"Checked all N requests". A take can pass while the AI's answer says it read nothing.
|
|
106
|
+
- **Deliver to OVH.** Every finished video goes to
|
|
107
|
+
`s3://arbi-archive/demo-videos/<site>/<YYYY-MM-DD>-<story>.mp4`, shared with a presigned link. A
|
|
108
|
+
dev box's localhost or a local file is not delivery.
|
|
109
|
+
- **Waits are UI states.** Never sleep a fixed time for the app; the pauses that remain (`beat`,
|
|
110
|
+
caption holds) are pacing so a viewer can read.
|
|
111
|
+
- **Secrets.** Type passwords with `fillSecret` (a `fill` puts the value in reports and traces).
|
|
112
|
+
|
|
113
|
+
## Consistent styling across sites
|
|
114
|
+
|
|
115
|
+
- **Brand from tokens.** Build the site's `CinematicBrand` from its shipped theme (the stylesheet
|
|
116
|
+
that paints the app), not hand-copied colours, and give `fontFiles` for its display and sans
|
|
117
|
+
fonts (the edit draws overlays where those fonts may not be installed). The take writes the
|
|
118
|
+
brand into `focus.json`; the overlays are drawn from it.
|
|
119
|
+
- **1600x900 → 1080p.** Record at 1600x900 CSS pixels (video size = viewport); `render-take.py`
|
|
120
|
+
outputs 1920x1080 H.264 at 25 fps. A take of another shape is letterboxed.
|
|
121
|
+
- **Overlays from the edit.** With a take running, captions, chapter cards, lower-thirds and
|
|
122
|
+
callouts are drawn by `render-take.py` (`render-overlays.mjs` PNGs), outside any zoom — never
|
|
123
|
+
painted in the page. Check one still of each kind against the site's look: the card gradient
|
|
124
|
+
(`cover`), the accent rule and kicker, the caption bar (`ink`), the cursor colour.
|
|
125
|
+
- **The camera.** Zoom at most `maxZoom` (default 1.8), picture-in-picture for long typing; turn
|
|
126
|
+
either off per story in `cine.take` (`zoom: false`, `pip: false`) rather than per render.
|
package/dist/ai-NC4ZE3UT.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"ai-NC4ZE3UT.cjs"}
|