@diagonal-hq/cli 0.25.2 → 0.26.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.
@@ -1,6 +1,6 @@
1
1
  import type { ResourceKeyWith } from '../data';
2
2
  import type { ContentDocument } from '../input';
3
- export declare const SDK_VERSION = 67;
3
+ export declare const SDK_VERSION = 68;
4
4
  export interface WorkspaceSystemFields {
5
5
  "ai_custom_system_prompt": string | null;
6
6
  "brand_kit": {
@@ -1 +1,6 @@
1
+ /**
2
+ * Runs `fn` in one database transaction. When a concurrent write aborts the transaction, the host
3
+ * rolls it back and answers with `transaction_transient`, and `fn` runs again. The host limits the
4
+ * attempts and waits between them, so `fn` can run more than once.
5
+ */
1
6
  export declare function transaction<T>(fn: () => Promise<T>): Promise<T>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diagonal-hq/cli",
3
- "version": "0.25.2",
3
+ "version": "0.26.0",
4
4
  "description": "The diagonal CLI and the configuration helpers for file-based Diagonal workspaces.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "repository": {