@sixb/app 0.2.5 → 0.2.6

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 (111) hide show
  1. package/dist/agent/components/agent-threads.d.ts.map +1 -1
  2. package/dist/agent/components/composer-place.d.ts.map +1 -1
  3. package/dist/agent/components/computer-place.d.ts +24 -6
  4. package/dist/agent/components/computer-place.d.ts.map +1 -1
  5. package/dist/agent/components/conversation-panel.d.ts.map +1 -1
  6. package/dist/agent/components/message-view.d.ts +13 -3
  7. package/dist/agent/components/message-view.d.ts.map +1 -1
  8. package/dist/agent/components/pending-messages.d.ts.map +1 -1
  9. package/dist/agent/components/transcript.d.ts +13 -0
  10. package/dist/agent/components/transcript.d.ts.map +1 -1
  11. package/dist/agent/conversation.d.ts +4 -0
  12. package/dist/agent/conversation.d.ts.map +1 -1
  13. package/dist/agent/delegation/use-children.d.ts.map +1 -1
  14. package/dist/agent/format.d.ts +7 -0
  15. package/dist/agent/format.d.ts.map +1 -1
  16. package/dist/agent/hooks/thread-queries.d.ts +1548 -0
  17. package/dist/agent/hooks/thread-queries.d.ts.map +1 -0
  18. package/dist/agent/hooks/use-agent-conversation.d.ts +41 -2
  19. package/dist/agent/hooks/use-agent-conversation.d.ts.map +1 -1
  20. package/dist/agent/hooks/use-thread-lists.d.ts +80 -3
  21. package/dist/agent/hooks/use-thread-lists.d.ts.map +1 -1
  22. package/dist/agent/hooks/use-thread-place.d.ts +49 -0
  23. package/dist/agent/hooks/use-thread-place.d.ts.map +1 -0
  24. package/dist/agent/i18n/en.d.ts +39 -6
  25. package/dist/agent/i18n/en.d.ts.map +1 -1
  26. package/dist/agent/i18n/fr.d.ts.map +1 -1
  27. package/dist/agent/i18n/index.d.ts +66 -12
  28. package/dist/agent/i18n/index.d.ts.map +1 -1
  29. package/dist/agent/live-run.d.ts.map +1 -1
  30. package/dist/agent/model-selection.d.ts +3 -2
  31. package/dist/agent/model-selection.d.ts.map +1 -1
  32. package/dist/agent/moves.d.ts +40 -0
  33. package/dist/agent/moves.d.ts.map +1 -0
  34. package/dist/agent/thread-reader-state.d.ts +30 -0
  35. package/dist/agent/thread-reader-state.d.ts.map +1 -0
  36. package/dist/agent/types.d.ts +4 -0
  37. package/dist/agent/types.d.ts.map +1 -1
  38. package/dist/artifacts/live/session.d.ts.map +1 -1
  39. package/dist/artifacts/queries.d.ts.map +1 -1
  40. package/dist/artifacts/renderers/live-frame.d.ts.map +1 -1
  41. package/dist/{chunk-5sgac68y.js → chunk-096d52h2.js} +1 -1
  42. package/dist/{chunk-4wm09prf.js → chunk-94d7enwc.js} +1 -1
  43. package/dist/{chunk-69qgh20f.js → chunk-ezntd3yy.js} +1 -1
  44. package/dist/{chunk-4fex83k2.js → chunk-qjw5r2vk.js} +2233 -732
  45. package/dist/{chunk-4fex83k2.js.map → chunk-qjw5r2vk.js.map} +28 -25
  46. package/dist/createCustomApp.d.ts +8 -1
  47. package/dist/createCustomApp.d.ts.map +1 -1
  48. package/dist/index.d.ts +3 -2
  49. package/dist/index.d.ts.map +1 -1
  50. package/dist/index.js +4 -2
  51. package/dist/index.js.map +3 -3
  52. package/dist/pages/console/data/accounts.d.ts +94 -0
  53. package/dist/pages/console/data/accounts.d.ts.map +1 -0
  54. package/dist/pages/console/data/connectors.d.ts.map +1 -1
  55. package/dist/pages/console/data/live-updates.d.ts.map +1 -1
  56. package/dist/pages/console/data/messages.d.ts +46 -0
  57. package/dist/pages/console/data/messages.d.ts.map +1 -1
  58. package/dist/pages/console/data/sync-button.d.ts.map +1 -1
  59. package/dist/pages/console/data/syncs.d.ts.map +1 -1
  60. package/dist/pages/settings/usage/breakdown.d.ts.map +1 -1
  61. package/dist/pages/settings/usage/page.d.ts +4 -1
  62. package/dist/pages/settings/usage/page.d.ts.map +1 -1
  63. package/dist/pages/settings/usage/spend-model.d.ts +43 -19
  64. package/dist/pages/settings/usage/spend-model.d.ts.map +1 -1
  65. package/dist/pages.js +23086 -22619
  66. package/dist/pages.js.map +13 -12
  67. package/dist/server.d.ts +1 -1
  68. package/dist/server.d.ts.map +1 -1
  69. package/dist/server.js +40 -3
  70. package/dist/server.js.map +3 -3
  71. package/package.json +3 -3
  72. package/src/agent/agent-chat.tsx +2 -2
  73. package/src/agent/components/agent-threads.tsx +42 -2
  74. package/src/agent/components/composer-place.tsx +2 -7
  75. package/src/agent/components/computer-place.tsx +415 -70
  76. package/src/agent/components/conversation-panel.tsx +31 -26
  77. package/src/agent/components/message-view.tsx +418 -9
  78. package/src/agent/components/pending-messages.tsx +5 -1
  79. package/src/agent/components/transcript.tsx +136 -5
  80. package/src/agent/conversation.ts +16 -1
  81. package/src/agent/format.ts +52 -0
  82. package/src/agent/hooks/thread-queries.ts +75 -0
  83. package/src/agent/hooks/use-agent-conversation.ts +454 -112
  84. package/src/agent/hooks/use-thread-lists.ts +72 -7
  85. package/src/agent/hooks/use-thread-place.ts +239 -0
  86. package/src/agent/i18n/en.ts +63 -16
  87. package/src/agent/i18n/fr.ts +65 -19
  88. package/src/agent/live-run.ts +38 -0
  89. package/src/agent/model-selection.ts +3 -2
  90. package/src/agent/moves.ts +174 -0
  91. package/src/agent/thread-reader-state.ts +75 -0
  92. package/src/agent/types.ts +6 -0
  93. package/src/artifacts/live/session.ts +5 -0
  94. package/src/createCustomApp.ts +57 -3
  95. package/src/index.ts +4 -0
  96. package/src/pages/console/data/accounts.tsx +509 -0
  97. package/src/pages/console/data/connectors.tsx +7 -15
  98. package/src/pages/console/data/live-updates.ts +2 -0
  99. package/src/pages/console/data/messages.ts +73 -0
  100. package/src/pages/console/data/sync-button.tsx +56 -16
  101. package/src/pages/console/data/syncs.tsx +66 -41
  102. package/src/pages/section-ui.tsx +1 -1
  103. package/src/pages/settings/usage/breakdown.tsx +5 -2
  104. package/src/pages/settings/usage/filter-menu.tsx +1 -1
  105. package/src/pages/settings/usage/page.tsx +32 -13
  106. package/src/pages/settings/usage/spend-chart.tsx +2 -2
  107. package/src/pages/settings/usage/spend-model.ts +118 -50
  108. package/src/server.ts +1 -0
  109. /package/dist/{chunk-5sgac68y.js.map → chunk-096d52h2.js.map} +0 -0
  110. /package/dist/{chunk-4wm09prf.js.map → chunk-94d7enwc.js.map} +0 -0
  111. /package/dist/{chunk-69qgh20f.js.map → chunk-ezntd3yy.js.map} +0 -0
@@ -1,4 +1,5 @@
1
1
  import type { GetAiAccountingOverviewData, ListAiModelCallGroupsResponse, ListAiModelCallsResponse } from "@sixb/client";
2
+ import { type CalendarPeriod } from "@sixb/core/calendar";
2
3
  import { type Overview } from "./format";
3
4
  /**
4
5
  * What Settings › Usage › Spend reads: the range, the filters that narrow the whole page, and
@@ -10,41 +11,56 @@ export type GroupExecution = Group["executions"][number];
10
11
  export type Call = ListAiModelCallsResponse["items"][number];
11
12
  export type ModelKind = NonNullable<Overview["kinds"][number]["modelKind"]>;
12
13
  type OverviewQuery = GetAiAccountingOverviewData["query"];
14
+ /**
15
+ * The ranges the page offers: `periods` whole hours or days of the reader's calendar, ending with
16
+ * the current one, drawn in `bucket` bars. The 90 days end today, so their first and last weeks
17
+ * are partial.
18
+ */
13
19
  export declare const spendRanges: readonly [{
14
20
  readonly id: "24h";
21
+ readonly unit: "hour";
22
+ readonly periods: 24;
15
23
  readonly bucket: "hour";
16
- readonly ms: number;
17
24
  readonly period: "day";
18
25
  }, {
19
26
  readonly id: "7d";
27
+ readonly unit: "day";
28
+ readonly periods: 7;
20
29
  readonly bucket: "day";
21
- readonly ms: number;
22
30
  readonly period: "week";
23
31
  }, {
24
32
  readonly id: "30d";
33
+ readonly unit: "day";
34
+ readonly periods: 30;
25
35
  readonly bucket: "day";
26
- readonly ms: number;
27
36
  readonly period: "month";
28
37
  }, {
29
38
  readonly id: "90d";
39
+ readonly unit: "day";
40
+ readonly periods: 91;
30
41
  readonly bucket: "week";
31
- readonly ms: number;
32
42
  readonly period: "quarter";
33
43
  }];
34
44
  type SpendRangeId = (typeof spendRanges)[number]["id"];
35
- export type Bucket = (typeof spendRanges)[number]["bucket"];
45
+ export type Bucket = CalendarPeriod;
36
46
  export interface SpendRange {
37
47
  readonly id: SpendRangeId;
38
48
  readonly from: string;
39
49
  readonly to: string;
50
+ /** What the range is counted in, and what the period it compares with steps back by. */
51
+ readonly unit: (typeof spendRanges)[number]["unit"];
40
52
  readonly bucket: Bucket;
41
53
  readonly period: (typeof spendRanges)[number]["period"];
54
+ /** The zone whose days, weeks or hours the bars are, and which the API buckets by. */
55
+ readonly timeZone: string;
42
56
  }
43
- /** A range that ends with the current hour or day, so its bars are whole UTC periods. */
44
- export declare function spendRange(id: string | null, now?: number): SpendRange;
45
- /** The filters that narrow every number on the page, as the address spells them. */
57
+ /** The reader's IANA zone, whose calendar the page follows; UTC when this browser cannot name one. */
58
+ export declare function viewerTimeZone(): string;
59
+ /** A range that ends with the current hour or day, never later, on the zone's calendar. */
60
+ export declare function spendRange(id: string | null, timeZone: string, now?: number): SpendRange;
61
+ /** The filters that narrow every number on the page, read from the address. */
46
62
  export interface SpendFilters {
47
- /** The start of one bar: a day, an hour or a week. */
63
+ /** The start of one bar: a day, an hour or a week. The address spells it with `periodKey`. */
48
64
  readonly day?: string;
49
65
  readonly provider?: string;
50
66
  readonly model?: string;
@@ -58,7 +74,12 @@ export interface SpendFilters {
58
74
  }
59
75
  export type FilterKey = keyof SpendFilters;
60
76
  export declare const filterKeys: readonly FilterKey[];
61
- export declare function readFilters(params: URLSearchParams): SpendFilters;
77
+ /**
78
+ * How the address names a bar: its date on the reader's calendar, with its hour when bars are
79
+ * hours. A link to November 14 opens November 14 for a reader in any zone.
80
+ */
81
+ export declare function periodKey(start: string, range: Pick<SpendRange, "bucket" | "timeZone">): string;
82
+ export declare function readFilters(params: URLSearchParams, range: Pick<SpendRange, "bucket" | "timeZone">): SpendFilters;
62
83
  export declare function hasFilters(filters: SpendFilters): boolean;
63
84
  /** The overview filters the API takes, leaving out the day, which narrows the range instead. */
64
85
  export declare function apiFilters(filters: SpendFilters): Pick<OverviewQuery, "providerId" | "modelId" | "person" | "source" | "kind">;
@@ -67,11 +88,14 @@ export declare function activeRange(range: SpendRange, filters: SpendFilters): {
67
88
  from: string;
68
89
  to: string;
69
90
  };
70
- /** The period before, as long: the previous bar for a picked day, else the previous range. */
71
- export declare function priorRange(range: {
91
+ /**
92
+ * The as many hours or days just before: the previous bar for a picked day, else the previous
93
+ * range, so a range that has not finished its last day compares with one as long.
94
+ */
95
+ export declare function priorRange(active: {
72
96
  readonly from: string;
73
97
  readonly to: string;
74
- }): {
98
+ }, range: Pick<SpendRange, "unit" | "timeZone">): {
75
99
  from: string;
76
100
  to: string;
77
101
  };
@@ -98,17 +122,17 @@ export declare function percent(value: number | undefined, locale?: string): str
98
122
  /** A share of spend to a tenth of a percent, so small rows still read. */
99
123
  export declare function sharePercent(value: number, locale?: string): string;
100
124
  /**
101
- * Where the range's bars start, as the server buckets them: whole UTC hours or days, and weeks
102
- * from Monday. The chart lays out its bars from these before their numbers arrive.
125
+ * Where the range's bars start, as the server buckets them: whole periods of the zone's calendar.
126
+ * The chart lays out its bars from these before their numbers arrive.
103
127
  */
104
- export declare function rangePeriods(range: Pick<SpendRange, "from" | "to" | "bucket">): string[];
105
- /** A bar's label: its hour, its day, or the week it starts. Buckets are UTC periods. */
106
- export declare function bucketLabel(start: string, bucket: Bucket, locale?: string): string;
128
+ export declare function rangePeriods(range: Pick<SpendRange, "from" | "to" | "bucket" | "timeZone">): string[];
129
+ /** A bar's label: its hour, its day, or the week it starts, on the zone's calendar. */
130
+ export declare function bucketLabel(start: string, bucket: Bucket, locale: string, timeZone: string): string;
107
131
  /** "Oct 23 – 29", "Oct 28 – Nov 3", or one day when the range is one. */
108
132
  export declare function rangeLabel(range: {
109
133
  readonly from: string;
110
134
  readonly to: string;
111
- }, locale?: string): string;
135
+ }, locale: string, timeZone: string): string;
112
136
  /** A time today, a day otherwise. */
113
137
  export declare function whenLabel(at: string, locale?: string, now?: Date): string;
114
138
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"spend-model.d.ts","sourceRoot":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