pactor-app 1.51.0 → 1.52.0

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 (2) hide show
  1. package/package.json +16 -16
  2. package/styles.css +189 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pactor-app",
3
- "version": "1.51.0",
3
+ "version": "1.52.0",
4
4
  "description": "Pactor meta package: installs the full Server-Driven UI + AI-Native runtime stack (@pactor-app/*) and re-exports the one-stop application API (createPactorApplication)",
5
5
  "keywords": [
6
6
  "pactor",
@@ -50,21 +50,21 @@
50
50
  "access": "public"
51
51
  },
52
52
  "dependencies": {
53
- "@pactor-app/chat": "1.51.0",
54
- "@pactor-app/app": "1.51.0",
55
- "@pactor-app/chart": "1.51.0",
56
- "@pactor-app/core": "1.51.0",
57
- "@pactor-app/permission": "1.51.0",
58
- "@pactor-app/blocks": "1.51.0",
59
- "@pactor-app/expression": "1.51.0",
60
- "@pactor-app/resource": "1.51.0",
61
- "@pactor-app/router": "1.51.0",
62
- "@pactor-app/markdown": "1.51.0",
63
- "@pactor-app/ui": "1.51.0",
64
- "@pactor-app/runtime": "1.51.0",
65
- "@pactor-app/vite-plugin": "1.51.0",
66
- "@pactor-app/schema": "1.51.0",
67
- "@pactor-app/cli": "1.51.0"
53
+ "@pactor-app/app": "1.52.0",
54
+ "@pactor-app/blocks": "1.52.0",
55
+ "@pactor-app/chat": "1.52.0",
56
+ "@pactor-app/cli": "1.52.0",
57
+ "@pactor-app/core": "1.52.0",
58
+ "@pactor-app/markdown": "1.52.0",
59
+ "@pactor-app/permission": "1.52.0",
60
+ "@pactor-app/resource": "1.52.0",
61
+ "@pactor-app/runtime": "1.52.0",
62
+ "@pactor-app/schema": "1.52.0",
63
+ "@pactor-app/expression": "1.52.0",
64
+ "@pactor-app/chart": "1.52.0",
65
+ "@pactor-app/ui": "1.52.0",
66
+ "@pactor-app/vite-plugin": "1.52.0",
67
+ "@pactor-app/router": "1.52.0"
68
68
  },
69
69
  "peerDependencies": {
70
70
  "react": ">=18",
package/styles.css CHANGED
@@ -5,7 +5,7 @@
5
5
  */
6
6
 
7
7
  /* ============================================================
8
- * @pactor-app/ui@1.51.0(构建产物内联,源顺序:ui → blocks → chart → chat)
8
+ * @pactor-app/ui@1.52.0(构建产物内联,源顺序:ui → blocks → chart → chat)
9
9
  * ============================================================ */
10
10
  /*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
11
11
  @layer properties;
@@ -1079,7 +1079,7 @@
1079
1079
  }
1080
1080
 
1081
1081
  /* ============================================================
1082
- * @pactor-app/blocks@1.51.0(构建产物内联,源顺序:ui → blocks → chart → chat)
1082
+ * @pactor-app/blocks@1.52.0(构建产物内联,源顺序:ui → blocks → chart → chat)
1083
1083
  * ============================================================ */
1084
1084
  /*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
1085
1085
  @layer properties;
@@ -1409,7 +1409,7 @@
1409
1409
  }
1410
1410
 
1411
1411
  /* ============================================================
1412
- * @pactor-app/chart@1.51.0(构建产物内联,源顺序:ui → blocks → chart → chat)
1412
+ * @pactor-app/chart@1.52.0(构建产物内联,源顺序:ui → blocks → chart → chat)
1413
1413
  * ============================================================ */
1414
1414
  /*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
1415
1415
  @layer properties;
@@ -1553,7 +1553,7 @@
1553
1553
  }
1554
1554
 
1555
1555
  /* ============================================================
1556
- * @pactor-app/chat@1.51.0(构建产物内联,源顺序:ui → blocks → chart → chat)
1556
+ * @pactor-app/chat@1.52.0(构建产物内联,源顺序:ui → blocks → chart → chat)
1557
1557
  * ============================================================ */
1558
1558
  /*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
1559
1559
  @layer properties;
@@ -1569,6 +1569,7 @@
1569
1569
  --text-xl--line-height: calc(1.75 / 1.25);
1570
1570
  --font-weight-medium: 500;
1571
1571
  --font-weight-semibold: 600;
1572
+ --ease-out: cubic-bezier(0, 0, 0.2, 1);
1572
1573
  --animate-spin: spin 1s linear infinite;
1573
1574
  --animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
1574
1575
  --default-transition-duration: 150ms;
@@ -3061,6 +3062,21 @@ button.pactor-chat-trace__header:hover, .pactor-chat-trace__entry-header:hover,
3061
3062
  inherits: false;
3062
3063
  initial-value: 0;
3063
3064
  }
3065
+ @property --tw-scale-x {
3066
+ syntax: "*";
3067
+ inherits: false;
3068
+ initial-value: 1;
3069
+ }
3070
+ @property --tw-scale-y {
3071
+ syntax: "*";
3072
+ inherits: false;
3073
+ initial-value: 1;
3074
+ }
3075
+ @property --tw-scale-z {
3076
+ syntax: "*";
3077
+ inherits: false;
3078
+ initial-value: 1;
3079
+ }
3064
3080
  @property --tw-border-style {
3065
3081
  syntax: "*";
3066
3082
  inherits: false;
@@ -3197,6 +3213,14 @@ button.pactor-chat-trace__header:hover, .pactor-chat-trace__entry-header:hover,
3197
3213
  syntax: "*";
3198
3214
  inherits: false;
3199
3215
  }
3216
+ @property --tw-duration {
3217
+ syntax: "*";
3218
+ inherits: false;
3219
+ }
3220
+ @property --tw-ease {
3221
+ syntax: "*";
3222
+ inherits: false;
3223
+ }
3200
3224
  @property --tw-content {
3201
3225
  syntax: "*";
3202
3226
  initial-value: "";
@@ -3218,6 +3242,9 @@ button.pactor-chat-trace__header:hover, .pactor-chat-trace__entry-header:hover,
3218
3242
  --tw-translate-x: 0;
3219
3243
  --tw-translate-y: 0;
3220
3244
  --tw-translate-z: 0;
3245
+ --tw-scale-x: 1;
3246
+ --tw-scale-y: 1;
3247
+ --tw-scale-z: 1;
3221
3248
  --tw-border-style: solid;
3222
3249
  --tw-leading: initial;
3223
3250
  --tw-font-weight: initial;
@@ -3249,6 +3276,8 @@ button.pactor-chat-trace__header:hover, .pactor-chat-trace__entry-header:hover,
3249
3276
  --tw-drop-shadow-color: initial;
3250
3277
  --tw-drop-shadow-alpha: 100%;
3251
3278
  --tw-drop-shadow-size: initial;
3279
+ --tw-duration: initial;
3280
+ --tw-ease: initial;
3252
3281
  --tw-content: "";
3253
3282
  }
3254
3283
  }
@@ -6365,6 +6394,9 @@ button.pactor-chat-trace__header:hover, .pactor-chat-trace__entry-header:hover,
6365
6394
  .\@container {
6366
6395
  container-type: inline-size;
6367
6396
  }
6397
+ .pointer-events-auto {
6398
+ pointer-events: auto;
6399
+ }
6368
6400
  .pointer-events-none {
6369
6401
  pointer-events: none;
6370
6402
  }
@@ -6398,6 +6430,9 @@ button.pactor-chat-trace__header:hover, .pactor-chat-trace__entry-header:hover,
6398
6430
  .right-0 {
6399
6431
  right: 0px;
6400
6432
  }
6433
+ .right-2 {
6434
+ right: calc(var(--spacing) * 2);
6435
+ }
6401
6436
  .right-full {
6402
6437
  right: 100%;
6403
6438
  }
@@ -6416,6 +6451,9 @@ button.pactor-chat-trace__header:hover, .pactor-chat-trace__entry-header:hover,
6416
6451
  .left-auto {
6417
6452
  left: auto;
6418
6453
  }
6454
+ .-z-10 {
6455
+ z-index: calc(10 * -1);
6456
+ }
6419
6457
  .z-10 {
6420
6458
  z-index: 10;
6421
6459
  }
@@ -6553,6 +6591,9 @@ button.pactor-chat-trace__header:hover, .pactor-chat-trace__entry-header:hover,
6553
6591
  .h-14 {
6554
6592
  height: calc(var(--spacing) * 14);
6555
6593
  }
6594
+ .h-\[2px\] {
6595
+ height: 2px;
6596
+ }
6556
6597
  .h-full {
6557
6598
  height: 100%;
6558
6599
  }
@@ -6574,9 +6615,18 @@ button.pactor-chat-trace__header:hover, .pactor-chat-trace__entry-header:hover,
6574
6615
  .w-1 {
6575
6616
  width: var(--spacing);
6576
6617
  }
6618
+ .w-1\.5 {
6619
+ width: calc(var(--spacing) * 1.5);
6620
+ }
6621
+ .w-3 {
6622
+ width: calc(var(--spacing) * 3);
6623
+ }
6577
6624
  .w-4 {
6578
6625
  width: calc(var(--spacing) * 4);
6579
6626
  }
6627
+ .w-7 {
6628
+ width: calc(var(--spacing) * 7);
6629
+ }
6580
6630
  .w-48 {
6581
6631
  width: calc(var(--spacing) * 48);
6582
6632
  }
@@ -6604,6 +6654,9 @@ button.pactor-chat-trace__header:hover, .pactor-chat-trace__entry-header:hover,
6604
6654
  .w-full {
6605
6655
  width: 100%;
6606
6656
  }
6657
+ .max-w-0 {
6658
+ max-width: 0px;
6659
+ }
6607
6660
  .max-w-full {
6608
6661
  max-width: 100%;
6609
6662
  }
@@ -6623,6 +6676,12 @@ button.pactor-chat-trace__header:hover, .pactor-chat-trace__entry-header:hover,
6623
6676
  --tw-translate-y: calc(calc(1 / 2 * 100%) * -1);
6624
6677
  translate: var(--tw-translate-x) var(--tw-translate-y);
6625
6678
  }
6679
+ .scale-90 {
6680
+ --tw-scale-x: 90%;
6681
+ --tw-scale-y: 90%;
6682
+ --tw-scale-z: 90%;
6683
+ scale: var(--tw-scale-x) var(--tw-scale-y);
6684
+ }
6626
6685
  .animate-pulse {
6627
6686
  animation: var(--animate-pulse);
6628
6687
  }
@@ -6638,6 +6697,9 @@ button.pactor-chat-trace__header:hover, .pactor-chat-trace__entry-header:hover,
6638
6697
  .touch-none {
6639
6698
  touch-action: none;
6640
6699
  }
6700
+ .resize {
6701
+ resize: both;
6702
+ }
6641
6703
  .grid-cols-1 {
6642
6704
  grid-template-columns: repeat(1, minmax(0, 1fr));
6643
6705
  }
@@ -6695,6 +6757,9 @@ button.pactor-chat-trace__header:hover, .pactor-chat-trace__entry-header:hover,
6695
6757
  .gap-4 {
6696
6758
  gap: calc(var(--spacing) * 4);
6697
6759
  }
6760
+ .self-center {
6761
+ align-self: center;
6762
+ }
6698
6763
  .truncate {
6699
6764
  overflow: hidden;
6700
6765
  text-overflow: ellipsis;
@@ -6754,6 +6819,9 @@ button.pactor-chat-trace__header:hover, .pactor-chat-trace__entry-header:hover,
6754
6819
  .border-border {
6755
6820
  border-color: var(--border);
6756
6821
  }
6822
+ .border-transparent {
6823
+ border-color: transparent;
6824
+ }
6757
6825
  .bg-accent {
6758
6826
  background-color: var(--accent);
6759
6827
  }
@@ -6763,6 +6831,12 @@ button.pactor-chat-trace__header:hover, .pactor-chat-trace__entry-header:hover,
6763
6831
  .bg-muted {
6764
6832
  background-color: var(--muted);
6765
6833
  }
6834
+ .bg-muted-foreground\/30 {
6835
+ background-color: var(--muted-foreground);
6836
+ @supports (color: color-mix(in lab, red, red)) {
6837
+ background-color: color-mix(in oklab, var(--muted-foreground) 30%, transparent);
6838
+ }
6839
+ }
6766
6840
  .bg-muted-foreground\/50 {
6767
6841
  background-color: var(--muted-foreground);
6768
6842
  @supports (color: color-mix(in lab, red, red)) {
@@ -6775,6 +6849,9 @@ button.pactor-chat-trace__header:hover, .pactor-chat-trace__entry-header:hover,
6775
6849
  .bg-primary {
6776
6850
  background-color: var(--primary);
6777
6851
  }
6852
+ .bg-transparent {
6853
+ background-color: transparent;
6854
+ }
6778
6855
  .p-1 {
6779
6856
  padding: var(--spacing);
6780
6857
  }
@@ -6865,6 +6942,9 @@ button.pactor-chat-trace__header:hover, .pactor-chat-trace__entry-header:hover,
6865
6942
  .text-left {
6866
6943
  text-align: left;
6867
6944
  }
6945
+ .text-right {
6946
+ text-align: right;
6947
+ }
6868
6948
  .align-middle {
6869
6949
  vertical-align: middle;
6870
6950
  }
@@ -6898,6 +6978,10 @@ button.pactor-chat-trace__header:hover, .pactor-chat-trace__entry-header:hover,
6898
6978
  --tw-leading: 18px;
6899
6979
  line-height: 18px;
6900
6980
  }
6981
+ .leading-none {
6982
+ --tw-leading: 1;
6983
+ line-height: 1;
6984
+ }
6901
6985
  .font-medium {
6902
6986
  --tw-font-weight: var(--font-weight-medium);
6903
6987
  font-weight: var(--font-weight-medium);
@@ -6909,6 +6993,9 @@ button.pactor-chat-trace__header:hover, .pactor-chat-trace__entry-header:hover,
6909
6993
  .break-words {
6910
6994
  overflow-wrap: break-word;
6911
6995
  }
6996
+ .whitespace-nowrap {
6997
+ white-space: nowrap;
6998
+ }
6912
6999
  .whitespace-pre-wrap {
6913
7000
  white-space: pre-wrap;
6914
7001
  }
@@ -6946,6 +7033,10 @@ button.pactor-chat-trace__header:hover, .pactor-chat-trace__entry-header:hover,
6946
7033
  --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
6947
7034
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
6948
7035
  }
7036
+ .shadow-none {
7037
+ --tw-shadow: 0 0 #0000;
7038
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
7039
+ }
6949
7040
  .ring-2 {
6950
7041
  --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
6951
7042
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
@@ -6969,6 +7060,26 @@ button.pactor-chat-trace__header:hover, .pactor-chat-trace__entry-header:hover,
6969
7060
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
6970
7061
  transition-duration: var(--tw-duration, var(--default-transition-duration));
6971
7062
  }
7063
+ .transition-\[background-color\,border-color\,box-shadow\,opacity\,scale\] {
7064
+ transition-property: background-color,border-color,box-shadow,opacity,scale;
7065
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
7066
+ transition-duration: var(--tw-duration, var(--default-transition-duration));
7067
+ }
7068
+ .transition-\[gap\] {
7069
+ transition-property: gap;
7070
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
7071
+ transition-duration: var(--tw-duration, var(--default-transition-duration));
7072
+ }
7073
+ .transition-\[max-width\,opacity\,color\] {
7074
+ transition-property: max-width,opacity,color;
7075
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
7076
+ transition-duration: var(--tw-duration, var(--default-transition-duration));
7077
+ }
7078
+ .transition-\[width\,background-color\] {
7079
+ transition-property: width,background-color;
7080
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
7081
+ transition-duration: var(--tw-duration, var(--default-transition-duration));
7082
+ }
6972
7083
  .transition-\[width\] {
6973
7084
  transition-property: width;
6974
7085
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
@@ -6984,6 +7095,14 @@ button.pactor-chat-trace__header:hover, .pactor-chat-trace__entry-header:hover,
6984
7095
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
6985
7096
  transition-duration: var(--tw-duration, var(--default-transition-duration));
6986
7097
  }
7098
+ .duration-200 {
7099
+ --tw-duration: 200ms;
7100
+ transition-duration: 200ms;
7101
+ }
7102
+ .ease-out {
7103
+ --tw-ease: var(--ease-out);
7104
+ transition-timing-function: var(--ease-out);
7105
+ }
6987
7106
  .outline-none {
6988
7107
  --tw-outline-style: none;
6989
7108
  outline-style: none;
@@ -6991,6 +7110,37 @@ button.pactor-chat-trace__header:hover, .pactor-chat-trace__entry-header:hover,
6991
7110
  .group-focus-within\/menu-item\:opacity-100:is(:where(.group\/menu-item):focus-within *) {
6992
7111
  opacity: 100%;
6993
7112
  }
7113
+ .group-focus-within\:pointer-events-auto:is(:where(.group):focus-within *) {
7114
+ pointer-events: auto;
7115
+ }
7116
+ .group-focus-within\:max-w-60:is(:where(.group):focus-within *) {
7117
+ max-width: calc(var(--spacing) * 60);
7118
+ }
7119
+ .group-focus-within\:scale-100:is(:where(.group):focus-within *) {
7120
+ --tw-scale-x: 100%;
7121
+ --tw-scale-y: 100%;
7122
+ --tw-scale-z: 100%;
7123
+ scale: var(--tw-scale-x) var(--tw-scale-y);
7124
+ }
7125
+ .group-focus-within\:gap-2:is(:where(.group):focus-within *) {
7126
+ gap: calc(var(--spacing) * 2);
7127
+ }
7128
+ .group-focus-within\:border-border:is(:where(.group):focus-within *) {
7129
+ border-color: var(--border);
7130
+ }
7131
+ .group-focus-within\:bg-popover:is(:where(.group):focus-within *) {
7132
+ background-color: var(--popover);
7133
+ }
7134
+ .group-focus-within\:opacity-100:is(:where(.group):focus-within *) {
7135
+ opacity: 100%;
7136
+ }
7137
+ .group-focus-within\:shadow-md:is(:where(.group):focus-within *) {
7138
+ --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
7139
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
7140
+ }
7141
+ .group-focus-within\/item\:text-primary:is(:where(.group\/item):focus-within *) {
7142
+ color: var(--primary);
7143
+ }
6994
7144
  @media (hover: hover) {
6995
7145
  .group-hover\:hidden:is(:where(.group):hover *) {
6996
7146
  display: none;
@@ -7011,9 +7161,37 @@ button.pactor-chat-trace__header:hover, .pactor-chat-trace__entry-header:hover,
7011
7161
  }
7012
7162
  }
7013
7163
  @media (hover: hover) {
7164
+ .group-hover\:pointer-events-auto:is(:where(.group):hover *) {
7165
+ pointer-events: auto;
7166
+ }
7167
+ .group-hover\:max-w-60:is(:where(.group):hover *) {
7168
+ max-width: calc(var(--spacing) * 60);
7169
+ }
7170
+ .group-hover\:scale-100:is(:where(.group):hover *) {
7171
+ --tw-scale-x: 100%;
7172
+ --tw-scale-y: 100%;
7173
+ --tw-scale-z: 100%;
7174
+ scale: var(--tw-scale-x) var(--tw-scale-y);
7175
+ }
7176
+ .group-hover\:gap-2:is(:where(.group):hover *) {
7177
+ gap: calc(var(--spacing) * 2);
7178
+ }
7179
+ .group-hover\:border-border:is(:where(.group):hover *) {
7180
+ border-color: var(--border);
7181
+ }
7182
+ .group-hover\:bg-popover:is(:where(.group):hover *) {
7183
+ background-color: var(--popover);
7184
+ }
7014
7185
  .group-hover\:opacity-100:is(:where(.group):hover *) {
7015
7186
  opacity: 100%;
7016
7187
  }
7188
+ .group-hover\:shadow-md:is(:where(.group):hover *) {
7189
+ --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
7190
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
7191
+ }
7192
+ .group-hover\/item\:text-primary:is(:where(.group\/item):hover *) {
7193
+ color: var(--primary);
7194
+ }
7017
7195
  }
7018
7196
  .group-has-data-\[sidebar\=menu-action\]\/menu-item\:pr-8:is(:where(.group\/menu-item):has([data-sidebar="menu-action"]) *) {
7019
7197
  padding-right: calc(var(--spacing) * 8);
@@ -7627,6 +7805,13 @@ button.pactor-chat-trace__header:hover, .pactor-chat-trace__entry-header:hover,
7627
7805
  --tw-ring-color: color-mix(in oklab, var(--ring) 50%, transparent);
7628
7806
  }
7629
7807
  }
7808
+ .focus-visible\:outline-2:focus-visible {
7809
+ outline-style: var(--tw-outline-style);
7810
+ outline-width: 2px;
7811
+ }
7812
+ .focus-visible\:outline-primary:focus-visible {
7813
+ outline-color: var(--primary);
7814
+ }
7630
7815
  .active\:scale-95:active {
7631
7816
  --tw-scale-x: 95%;
7632
7817
  --tw-scale-y: 95%;