@burdenoff/fe-libs 2026.930.4 → 2026.1001.1

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 (126) hide show
  1. package/dist/connections/ConnectionDetailsTab.d.ts +11 -0
  2. package/dist/connections/ConnectionDetailsTab.d.ts.map +1 -0
  3. package/dist/connections/ConnectionDetailsTab.js +71 -0
  4. package/dist/connections/ConnectionDialog.d.ts +57 -0
  5. package/dist/connections/ConnectionDialog.d.ts.map +1 -0
  6. package/dist/connections/ConnectionDialog.js +88 -0
  7. package/dist/connections/ConnectionDialogPanel.d.ts +26 -0
  8. package/dist/connections/ConnectionDialogPanel.d.ts.map +1 -0
  9. package/dist/connections/ConnectionDialogPanel.js +272 -0
  10. package/dist/connections/ConnectionFormTab.d.ts +37 -0
  11. package/dist/connections/ConnectionFormTab.d.ts.map +1 -0
  12. package/dist/connections/ConnectionFormTab.js +185 -0
  13. package/dist/connections/CredentialStorageSelector.d.ts +19 -0
  14. package/dist/connections/CredentialStorageSelector.d.ts.map +1 -0
  15. package/dist/connections/CredentialStorageSelector.js +294 -0
  16. package/dist/connections/DialogHeading.d.ts +7 -0
  17. package/dist/connections/DialogHeading.d.ts.map +1 -0
  18. package/dist/connections/DialogHeading.js +16 -0
  19. package/dist/connections/ProviderIcon.d.ts +10 -0
  20. package/dist/connections/ProviderIcon.d.ts.map +1 -0
  21. package/dist/connections/ProviderIcon.js +57 -0
  22. package/dist/connections/ProviderPickerPanel.d.ts +15 -0
  23. package/dist/connections/ProviderPickerPanel.d.ts.map +1 -0
  24. package/dist/connections/ProviderPickerPanel.js +84 -0
  25. package/dist/connections/ScopePicker.d.ts +15 -0
  26. package/dist/connections/ScopePicker.d.ts.map +1 -0
  27. package/dist/connections/ScopePicker.js +38 -0
  28. package/dist/connections/api.d.ts +60 -0
  29. package/dist/connections/api.d.ts.map +1 -0
  30. package/dist/connections/api.js +259 -0
  31. package/dist/connections/assets/bigconsole.png.js +4 -0
  32. package/dist/connections/assets/burdenoff.png.js +4 -0
  33. package/dist/connections/connectionFlow.d.ts +81 -0
  34. package/dist/connections/connectionFlow.d.ts.map +1 -0
  35. package/dist/connections/connectionFlow.js +101 -0
  36. package/dist/connections/frame.d.ts +32 -0
  37. package/dist/connections/frame.d.ts.map +1 -0
  38. package/dist/connections/frame.js +13 -0
  39. package/dist/connections/index.d.ts +24 -0
  40. package/dist/connections/index.d.ts.map +1 -0
  41. package/dist/connections/labels.d.ts +5 -0
  42. package/dist/connections/labels.d.ts.map +1 -0
  43. package/dist/connections/labels.js +35 -0
  44. package/dist/connections/oauthPopup.d.ts +48 -0
  45. package/dist/connections/oauthPopup.d.ts.map +1 -0
  46. package/dist/connections/oauthPopup.js +70 -0
  47. package/dist/connections/picker.d.ts +7 -0
  48. package/dist/connections/picker.d.ts.map +1 -0
  49. package/dist/connections/picker.js +16 -0
  50. package/dist/connections/providerIdentity.d.ts +23 -0
  51. package/dist/connections/providerIdentity.d.ts.map +1 -0
  52. package/dist/connections/providerIdentity.js +175 -0
  53. package/dist/connections/scopes.d.ts +42 -0
  54. package/dist/connections/scopes.d.ts.map +1 -0
  55. package/dist/connections/scopes.js +30 -0
  56. package/dist/connections/storage.d.ts +8 -0
  57. package/dist/connections/storage.d.ts.map +1 -0
  58. package/dist/connections/storage.js +21 -0
  59. package/dist/connections/types.d.ts +82 -0
  60. package/dist/connections/types.d.ts.map +1 -0
  61. package/dist/connections/useConnectionSubmit.d.ts +22 -0
  62. package/dist/connections/useConnectionSubmit.d.ts.map +1 -0
  63. package/dist/connections/useConnectionSubmit.js +99 -0
  64. package/dist/connections.d.ts +2 -0
  65. package/dist/connections.js +14 -0
  66. package/dist/credentials/AuthMethodSelector.d.ts +4 -0
  67. package/dist/credentials/AuthMethodSelector.d.ts.map +1 -1
  68. package/dist/credentials/AuthMethodSelector.js +42 -33
  69. package/dist/credentials/SchemaForm.d.ts +3 -28
  70. package/dist/credentials/SchemaForm.d.ts.map +1 -1
  71. package/dist/credentials/SchemaForm.js +116 -162
  72. package/dist/credentials/index.d.ts +5 -2
  73. package/dist/credentials/index.d.ts.map +1 -1
  74. package/dist/credentials/methods.d.ts +11 -0
  75. package/dist/credentials/methods.d.ts.map +1 -0
  76. package/dist/credentials/methods.js +6 -0
  77. package/dist/credentials/schema.d.ts +43 -0
  78. package/dist/credentials/schema.d.ts.map +1 -0
  79. package/dist/credentials/schema.js +56 -0
  80. package/dist/credentials/translate.d.ts +18 -0
  81. package/dist/credentials/translate.d.ts.map +1 -0
  82. package/dist/credentials/translate.js +7 -0
  83. package/dist/credentials/types.d.ts +1 -1
  84. package/dist/credentials.js +6 -3
  85. package/dist/shared/assistant/conversation.d.ts +5 -1
  86. package/dist/shared/assistant/conversation.d.ts.map +1 -1
  87. package/dist/shared/assistant/history/historyApi.d.ts +25 -9
  88. package/dist/shared/assistant/history/historyApi.d.ts.map +1 -1
  89. package/dist/shared/assistant/history/historyApi.js +220 -75
  90. package/dist/shared/assistant/history/historyControls.d.ts +86 -0
  91. package/dist/shared/assistant/history/historyControls.d.ts.map +1 -0
  92. package/dist/shared/assistant/history/historyControls.js +80 -0
  93. package/dist/shared/assistant/history/historyEngine.d.ts +23 -3
  94. package/dist/shared/assistant/history/historyEngine.d.ts.map +1 -1
  95. package/dist/shared/assistant/history/historyEngine.js +578 -369
  96. package/dist/shared/assistant/history/historyErrors.d.ts +25 -5
  97. package/dist/shared/assistant/history/historyErrors.d.ts.map +1 -1
  98. package/dist/shared/assistant/history/historyErrors.js +39 -30
  99. package/dist/shared/assistant/history/historyList.d.ts +33 -7
  100. package/dist/shared/assistant/history/historyList.d.ts.map +1 -1
  101. package/dist/shared/assistant/history/historyList.js +72 -51
  102. package/dist/shared/assistant/history/historyOperations.d.ts +36 -7
  103. package/dist/shared/assistant/history/historyOperations.d.ts.map +1 -1
  104. package/dist/shared/assistant/history/historyOperations.js +100 -25
  105. package/dist/shared/assistant/history/historyStatus.d.ts +27 -1
  106. package/dist/shared/assistant/history/historyStatus.d.ts.map +1 -1
  107. package/dist/shared/assistant/history/historyStatus.js +6 -2
  108. package/dist/shared/assistant/history/historyStore.d.ts +29 -7
  109. package/dist/shared/assistant/history/historyStore.d.ts.map +1 -1
  110. package/dist/shared/assistant/history/historyStore.js +172 -103
  111. package/dist/shared/assistant/history/historyTransportErrors.d.ts +28 -0
  112. package/dist/shared/assistant/history/historyTransportErrors.d.ts.map +1 -0
  113. package/dist/shared/assistant/history/historyTransportErrors.js +16 -0
  114. package/dist/shared/assistant/history/historyTypes.d.ts +80 -1
  115. package/dist/shared/assistant/history/historyTypes.d.ts.map +1 -1
  116. package/dist/shared/assistant/history/stampRegistry.d.ts +19 -1
  117. package/dist/shared/assistant/history/stampRegistry.d.ts.map +1 -1
  118. package/dist/shared/assistant/history/stampRegistry.js +13 -1
  119. package/dist/shared/assistant/index.d.ts +2 -0
  120. package/dist/shared/assistant/index.d.ts.map +1 -1
  121. package/dist/shared/assistant/store.d.ts +8 -0
  122. package/dist/shared/assistant/store.d.ts.map +1 -1
  123. package/dist/shared/assistant/store.js +50 -46
  124. package/dist/shared/assistant/writeReplyBinder.d.ts +1 -1
  125. package/dist/shared-assistant.js +164 -162
  126. package/package.json +11 -2
@@ -3,7 +3,7 @@ import { useAssistantStore } from '../store';
3
3
  import { AssistantHistoryTransport } from './historyApi';
4
4
  import { AssistantHistoryStatusStore } from './historyStatus';
5
5
  import { AssistantHistoryStoreHandle } from './historyStore';
6
- import { AssistantHistoryConvKey, AssistantHistoryEntryKind, AssistantHistoryScope } from './historyTypes';
6
+ import { AssistantHistoryConvKey, AssistantHistoryConversationFilter, AssistantHistoryEntryKind, AssistantHistoryScope, AssistantHistoryUpdatePatch } from './historyTypes';
7
7
  /** Time, injectable so the engine's backoff and pruning are testable without real timers. */
8
8
  export interface AssistantHistoryClock {
9
9
  now(): number;
@@ -59,11 +59,31 @@ export interface AssistantHistoryEngine {
59
59
  recordCommittedEntries(conversationId: string, messageIds: readonly string[], kind: AssistantHistoryEntryKind, turnWorkspaceId: string): void;
60
60
  /** The UI's delete while history is on: tombstone, drop unsent saves, queue the delete, remove locally. */
61
61
  deleteConversation(convKey: AssistantHistoryConvKey): void;
62
+ /**
63
+ * A control change (BOFF-8159) — rename, pin, archive — for a conversation
64
+ * the server can address: shown at once (the list reads the queue first; a
65
+ * held conversation's title changes here too) and queued for the server.
66
+ * False, and nothing changes, when it cannot be synced: history off, a
67
+ * device-only conversation, another workspace's, a deleted one, one the
68
+ * server cannot know yet (nothing saved or queued to save), or a patch the
69
+ * server would refuse (empty; pin and archive together; an empty title).
70
+ */
71
+ updateConversation(convKey: AssistantHistoryConvKey, patch: AssistantHistoryUpdatePatch): boolean;
62
72
  /** Materialise a server conversation locally (if needed), open it, and load its messages. */
63
73
  openConversation(convKey: AssistantHistoryConvKey, options?: AssistantHistoryOpenOptions): void;
64
74
  loadEarlier(convKey: AssistantHistoryConvKey): void;
65
- loadOlderHeaders(): void;
66
- /** The history list was opened: retry quota-parked saves now, and pull. */
75
+ /**
76
+ * "Show older conversations": page the server's live list past the cached
77
+ * headers — with `filter` (the list's current one) when the server has the
78
+ * controls, unfiltered otherwise.
79
+ */
80
+ loadOlderHeaders(filter?: AssistantHistoryConversationFilter): void;
81
+ /**
82
+ * The history list was opened: retry quota-parked saves now, try the
83
+ * controls again if the server lacked them, pull, and fetch the pinned
84
+ * conversations (so the pinned rows are right even when this device's
85
+ * headers were evicted by another build's tab).
86
+ */
67
87
  notePanelOpened(): void;
68
88
  pull(reason: string): void;
69
89
  drain(): void;
@@ -1 +1 @@
1
- {"version":3,"file":"historyEngine.d.ts","sourceRoot":"","sources":["../../../../src/shared/assistant/history/historyEngine.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AAEH,OAAO,KAAK,EAAE,mBAAmB,EAAuC,MAAM,iBAAiB,CAAC;AAEhG,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAG7C,OAAO,E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