@flexkit/studio 0.2.2 → 0.2.4

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 (102) hide show
  1. package/dist/activity-nav-button-AESIPODJ.js +2 -0
  2. package/dist/activity-nav-button-AESIPODJ.js.map +1 -0
  3. package/dist/chat-page-S2YGOKO5.js +4 -0
  4. package/dist/{chat-page-YWENJEUP.js.map → chat-page-S2YGOKO5.js.map} +1 -1
  5. package/dist/chunk-2AHDTE5T.js +2 -0
  6. package/dist/{chunk-OFLU53AC.js.map → chunk-2AHDTE5T.js.map} +1 -1
  7. package/dist/chunk-32ZU4MLE.js +2 -0
  8. package/dist/{chunk-ODORXGGY.js.map → chunk-32ZU4MLE.js.map} +1 -1
  9. package/dist/chunk-3C2EG3SI.js +2 -0
  10. package/dist/{chunk-GW37ZTR2.js.map → chunk-3C2EG3SI.js.map} +1 -1
  11. package/dist/chunk-3TGCCDOR.js +2 -0
  12. package/dist/chunk-3TGCCDOR.js.map +1 -0
  13. package/dist/chunk-6NRQMG26.js +2 -0
  14. package/dist/chunk-6NRQMG26.js.map +1 -0
  15. package/dist/{chunk-LYGHDJ5A.js → chunk-6RDPFMLK.js} +2 -2
  16. package/dist/{chunk-LYGHDJ5A.js.map → chunk-6RDPFMLK.js.map} +1 -1
  17. package/dist/chunk-CKNFYN3O.js +3 -0
  18. package/dist/chunk-CKNFYN3O.js.map +1 -0
  19. package/dist/chunk-J2G4C6I5.js +2 -0
  20. package/dist/chunk-J2G4C6I5.js.map +1 -0
  21. package/dist/{chunk-7ZDMZVDA.js → chunk-KWS3NAYS.js} +5 -5
  22. package/dist/{chunk-7ZDMZVDA.js.map → chunk-KWS3NAYS.js.map} +1 -1
  23. package/dist/chunk-LN55VJ35.js +3 -0
  24. package/dist/chunk-LN55VJ35.js.map +1 -0
  25. package/dist/{chunk-Z6IEBNKV.js → chunk-NOFQHWES.js} +2 -2
  26. package/dist/{chunk-Z6IEBNKV.js.map → chunk-NOFQHWES.js.map} +1 -1
  27. package/dist/chunk-NYKATVPZ.js +4 -0
  28. package/dist/{chunk-3FIKCGSP.js.map → chunk-NYKATVPZ.js.map} +1 -1
  29. package/dist/chunk-PWQPA2QL.js +2 -0
  30. package/dist/chunk-PWQPA2QL.js.map +1 -0
  31. package/dist/chunk-SVZY7ZZD.js +8 -0
  32. package/dist/chunk-SVZY7ZZD.js.map +1 -0
  33. package/dist/chunk-TWMX2IQ2.js +3 -0
  34. package/dist/chunk-TWMX2IQ2.js.map +1 -0
  35. package/dist/chunk-U45E5X3H.js +2 -0
  36. package/dist/chunk-U45E5X3H.js.map +1 -0
  37. package/dist/chunk-USNXQOMJ.js +2 -0
  38. package/dist/chunk-USNXQOMJ.js.map +1 -0
  39. package/dist/chunk-YCCFUGWJ.js +7 -0
  40. package/dist/chunk-YCCFUGWJ.js.map +1 -0
  41. package/dist/index.css +41 -0
  42. package/dist/index.d.ts +11 -1
  43. package/dist/index.js +9 -9
  44. package/dist/index.js.map +1 -1
  45. package/dist/list-PNKQAYUK.js +2 -0
  46. package/dist/{list-3K2PBGML.js.map → list-PNKQAYUK.js.map} +1 -1
  47. package/dist/logo-JAWR6P43.js +2 -0
  48. package/dist/logo-JAWR6P43.js.map +1 -0
  49. package/dist/pages-KHFSZ3PH.js +3 -0
  50. package/dist/pages-KHFSZ3PH.js.map +1 -0
  51. package/dist/plugin-pages-SE52XFFW.js +2 -0
  52. package/dist/{plugin-pages-Q77CBW45.js.map → plugin-pages-SE52XFFW.js.map} +1 -1
  53. package/dist/root-44ZJLA4E.js +2 -0
  54. package/dist/root-44ZJLA4E.js.map +1 -0
  55. package/dist/root-BH3PQS2H.js +31 -0
  56. package/dist/{root-EZWV5VA4.js.map → root-BH3PQS2H.js.map} +1 -1
  57. package/dist/root-LFQA2VSE.js +2 -0
  58. package/dist/{root-4TME2KMP.js.map → root-LFQA2VSE.js.map} +1 -1
  59. package/dist/{root-4ZVGVCYY.js → root-X5NDURAN.js} +10 -10
  60. package/dist/{root-4ZVGVCYY.js.map → root-X5NDURAN.js.map} +1 -1
  61. package/dist/search-Q65IC67C.js +2 -0
  62. package/dist/{search-7NX232AW.js.map → search-Q65IC67C.js.map} +1 -1
  63. package/dist/skills-pages-TWOIIU5J.js +2 -0
  64. package/dist/{skills-pages-SMJ4EWZW.js.map → skills-pages-TWOIIU5J.js.map} +1 -1
  65. package/dist/spec-renderer-EX7SCFWH.js +2 -0
  66. package/dist/{spec-renderer-5YGDRF52.js.map → spec-renderer-EX7SCFWH.js.map} +1 -1
  67. package/dist/ui.js +1 -1
  68. package/dist/user-nav-QZTYBG45.js +2 -0
  69. package/dist/user-nav-QZTYBG45.js.map +1 -0
  70. package/package.json +3 -3
  71. package/dist/chat-page-YWENJEUP.js +0 -4
  72. package/dist/chunk-2FQWBOU6.js +0 -6
  73. package/dist/chunk-2FQWBOU6.js.map +0 -1
  74. package/dist/chunk-3FIKCGSP.js +0 -4
  75. package/dist/chunk-4BX7OJJ6.js +0 -2
  76. package/dist/chunk-4BX7OJJ6.js.map +0 -1
  77. package/dist/chunk-5DHOBLAE.js +0 -2
  78. package/dist/chunk-5DHOBLAE.js.map +0 -1
  79. package/dist/chunk-66N44IKJ.js +0 -3
  80. package/dist/chunk-66N44IKJ.js.map +0 -1
  81. package/dist/chunk-GW37ZTR2.js +0 -2
  82. package/dist/chunk-H6TOYVW2.js +0 -3
  83. package/dist/chunk-H6TOYVW2.js.map +0 -1
  84. package/dist/chunk-ODORXGGY.js +0 -2
  85. package/dist/chunk-OFLU53AC.js +0 -2
  86. package/dist/chunk-YIGEER6B.js +0 -7
  87. package/dist/chunk-YIGEER6B.js.map +0 -1
  88. package/dist/list-3K2PBGML.js +0 -2
  89. package/dist/logo-MU7MGYDH.js +0 -3
  90. package/dist/logo-MU7MGYDH.js.map +0 -1
  91. package/dist/pages-BDZ4ZXBS.js +0 -3
  92. package/dist/pages-BDZ4ZXBS.js.map +0 -1
  93. package/dist/plugin-pages-Q77CBW45.js +0 -2
  94. package/dist/root-4TME2KMP.js +0 -2
  95. package/dist/root-EZWV5VA4.js +0 -31
  96. package/dist/root-YKNISFWH.js +0 -2
  97. package/dist/root-YKNISFWH.js.map +0 -1
  98. package/dist/search-7NX232AW.js +0 -2
  99. package/dist/skills-pages-SMJ4EWZW.js +0 -2
  100. package/dist/spec-renderer-5YGDRF52.js +0 -2
  101. package/dist/user-nav-QZFCICK3.js +0 -2
  102. package/dist/user-nav-QZFCICK3.js.map +0 -1
package/dist/index.css CHANGED
@@ -296,6 +296,9 @@
296
296
  .fk\:inset-y-0 {
297
297
  inset-block: calc(var(--fk-spacing) * 0);
298
298
  }
299
+ .fk\:-top-1 {
300
+ top: calc(var(--fk-spacing) * -1);
301
+ }
299
302
  .fk\:top-0 {
300
303
  top: calc(var(--fk-spacing) * 0);
301
304
  }
@@ -332,6 +335,9 @@
332
335
  .fk\:top-\[50\%\] {
333
336
  top: 50%;
334
337
  }
338
+ .fk\:-right-1 {
339
+ right: calc(var(--fk-spacing) * -1);
340
+ }
335
341
  .fk\:right-0 {
336
342
  right: calc(var(--fk-spacing) * 0);
337
343
  }
@@ -1280,6 +1286,10 @@
1280
1286
  width: var(--cell-size);
1281
1287
  height: var(--cell-size);
1282
1288
  }
1289
+ .fk\:size-2 {
1290
+ width: calc(var(--fk-spacing) * 2);
1291
+ height: calc(var(--fk-spacing) * 2);
1292
+ }
1283
1293
  .fk\:size-2\.5 {
1284
1294
  width: calc(var(--fk-spacing) * 2.5);
1285
1295
  height: calc(var(--fk-spacing) * 2.5);
@@ -1417,6 +1427,9 @@
1417
1427
  .fk\:h-24 {
1418
1428
  height: calc(var(--fk-spacing) * 24);
1419
1429
  }
1430
+ .fk\:h-32 {
1431
+ height: calc(var(--fk-spacing) * 32);
1432
+ }
1420
1433
  .fk\:h-40 {
1421
1434
  height: calc(var(--fk-spacing) * 40);
1422
1435
  }
@@ -1540,6 +1553,9 @@
1540
1553
  .fk\:min-h-16 {
1541
1554
  min-height: calc(var(--fk-spacing) * 16);
1542
1555
  }
1556
+ .fk\:min-h-40 {
1557
+ min-height: calc(var(--fk-spacing) * 40);
1558
+ }
1543
1559
  .fk\:min-h-48 {
1544
1560
  min-height: calc(var(--fk-spacing) * 48);
1545
1561
  }
@@ -1783,6 +1799,9 @@
1783
1799
  .fk\:min-w-0 {
1784
1800
  min-width: calc(var(--fk-spacing) * 0);
1785
1801
  }
1802
+ .fk\:min-w-4 {
1803
+ min-width: calc(var(--fk-spacing) * 4);
1804
+ }
1786
1805
  .fk\:min-w-5 {
1787
1806
  min-width: calc(var(--fk-spacing) * 5);
1788
1807
  }
@@ -2050,6 +2069,9 @@
2050
2069
  .fk\:grid-cols-6 {
2051
2070
  grid-template-columns: repeat(6, minmax(0, 1fr));
2052
2071
  }
2072
+ .fk\:grid-cols-\[max-content_1fr\] {
2073
+ grid-template-columns: max-content 1fr;
2074
+ }
2053
2075
  .fk\:grid-cols-\[repeat\(auto-fill\,minmax\(8rem\,1fr\)\)\] {
2054
2076
  grid-template-columns: repeat(auto-fill,minmax(8rem,1fr));
2055
2077
  }
@@ -2160,6 +2182,13 @@
2160
2182
  margin-block-end: calc(calc(var(--fk-spacing) * 1) * calc(1 - var(--tw-space-y-reverse)));
2161
2183
  }
2162
2184
  }
2185
+ .fk\:space-y-1\.5 {
2186
+ :where(& > :not(:last-child)) {
2187
+ --tw-space-y-reverse: 0;
2188
+ margin-block-start: calc(calc(var(--fk-spacing) * 1.5) * var(--tw-space-y-reverse));
2189
+ margin-block-end: calc(calc(var(--fk-spacing) * 1.5) * calc(1 - var(--tw-space-y-reverse)));
2190
+ }
2191
+ }
2163
2192
  .fk\:space-y-2 {
2164
2193
  :where(& > :not(:last-child)) {
2165
2194
  --tw-space-y-reverse: 0;
@@ -2245,6 +2274,9 @@
2245
2274
  .fk\:gap-y-1 {
2246
2275
  row-gap: calc(var(--fk-spacing) * 1);
2247
2276
  }
2277
+ .fk\:gap-y-1\.5 {
2278
+ row-gap: calc(var(--fk-spacing) * 1.5);
2279
+ }
2248
2280
  .fk\:gap-y-2 {
2249
2281
  row-gap: calc(var(--fk-spacing) * 2);
2250
2282
  }
@@ -2543,6 +2575,9 @@
2543
2575
  .fk\:bg-accent {
2544
2576
  background-color: hsl(var(--accent));
2545
2577
  }
2578
+ .fk\:bg-amber-500 {
2579
+ background-color: var(--fk-color-amber-500);
2580
+ }
2546
2581
  .fk\:bg-amber-500\/5 {
2547
2582
  background-color: var(--fk-color-amber-500);
2548
2583
  @supports (color: color-mix(in lab, red, red)) {
@@ -2957,6 +2992,9 @@
2957
2992
  .fk\:pt-px {
2958
2993
  padding-top: 1px;
2959
2994
  }
2995
+ .fk\:pr-0 {
2996
+ padding-right: calc(var(--fk-spacing) * 0);
2997
+ }
2960
2998
  .fk\:pr-1 {
2961
2999
  padding-right: calc(var(--fk-spacing) * 1);
2962
3000
  }
@@ -3206,6 +3244,9 @@
3206
3244
  .fk\:whitespace-nowrap {
3207
3245
  white-space: nowrap;
3208
3246
  }
3247
+ .fk\:whitespace-pre-line {
3248
+ white-space: pre-line;
3249
+ }
3209
3250
  .fk\:whitespace-pre-wrap {
3210
3251
  white-space: pre-wrap;
3211
3252
  }
package/dist/index.d.ts CHANGED
@@ -4,7 +4,7 @@ import { OperationVariables, DocumentNode, ErrorLike } from '@apollo/client';
4
4
  export { gql } from '@apollo/client';
5
5
  import { UiSchema, ProjectSchemaResponse, UiEntity, UiAttribute, FieldGroup, AttributeOptions } from '@flexkit/schema';
6
6
  export { UiAttribute as Attribute, Config, Attribute as ConfigAttribute, Entity as ConfigEntity, DataType, DefaultValue, DefaultValueByDataType, UiEntity as Entity, EntityMenu, FieldGroup, MenuGroup, ProjectConfig, ProjectSchemaResponse, UiSchema as Schema, ScopeType, UiAttribute, UiEntity, UiProjectSchema, ZodValidation, defineConfig, defineEntity } from '@flexkit/schema';
7
- import { AgentChat, AgentChatMessage, AutomationApproval, AutomationMutationPolicy, AutomationToolAllowRule, AutomationRun } from '@flexkit/agent-protocol';
7
+ import { AgentChat, AgentChatMessage, AutomationApproval, AutomationMutationPolicy, AutomationNotifyRule, AutomationToolAllowRule, AutomationRun } from '@flexkit/agent-protocol';
8
8
  export { AgentChat, AgentChatAttachment, AgentChatFollowUp, AgentChatFollowUpDelivery, AgentChatFollowUpResult, AgentChatMessage, AgentChatMessageRole, AgentChatMessageStatus, AgentChatPart, AgentChatTurn, AutomationApproval, AutomationApprovalStatus, AutomationMutationPolicy, AutomationRun, AutomationRunStatus } from '@flexkit/agent-protocol';
9
9
  export { Outlet, useLocation, useParams } from 'react-router-dom';
10
10
  import { Control, UseFormSetValue, FieldValues } from 'react-hook-form';
@@ -393,7 +393,13 @@ interface Automation {
393
393
  /** May be absent from older API responses. */
394
394
  mutationPolicy?: AutomationMutationPolicy;
395
395
  name: string;
396
+ /** May be absent from older API responses; treated as true. */
397
+ notifyCreator?: boolean;
398
+ /** May be absent from older API responses; treated as "when_flagged". */
399
+ notifyRule?: AutomationNotifyRule;
396
400
  projectId: string;
401
+ /** Members who receive its approval requests and run notifications. Only populated by the detail endpoint. */
402
+ subscriberIds?: string[];
397
403
  /** Plugin tools a reviewer chose to always allow in this automation. */
398
404
  toolAllowRules?: AutomationToolAllowRule[];
399
405
  /** Attached skill ids. Only populated by the detail endpoint. */
@@ -461,6 +467,10 @@ interface AutomationInput {
461
467
  modelId: string;
462
468
  mutationPolicy?: AutomationMutationPolicy;
463
469
  name: string;
470
+ notifyCreator: boolean;
471
+ notifyRule: AutomationNotifyRule;
472
+ /** Members who receive its approval requests and run notifications. */
473
+ subscriberIds: string[];
464
474
  /** Omitted keeps the stored rules; an array replaces them. */
465
475
  toolAllowRules?: AutomationToolAllowRule[];
466
476
  /** Skills that are always loaded into the agent context on every run. */