@naturali/sdk 0.38.0 → 0.38.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.
package/dist/index.d.cts CHANGED
@@ -732,7 +732,10 @@ type BoardCreate = {
732
732
  */
733
733
  type BoardUpdate = {
734
734
  name?: string;
735
- description?: string;
735
+ /**
736
+ * Send null to clear it.
737
+ */
738
+ description?: string | null;
736
739
  states?: Array<BoardState>;
737
740
  transitions?: Array<BoardTransition>;
738
741
  /**
@@ -1913,7 +1916,8 @@ type Task = {
1913
1916
  */
1914
1917
  automation_status: 'running' | 'completed' | 'failed' | 'unrouted';
1915
1918
  /**
1916
- * The in-flight dispatch, if any. An agent column reports `{ kind: "agent", id, status }`, where `id` is the generation — real provenance, readable through Generations. A tool column reports `{ kind: "tool", tool_id, status }`: the machinery a tool column runs on is naturali's own and is not addressable by a caller, so it is named by the tool it stands for rather than by an internal id.
1919
+ * The in-flight dispatch, if any. `kind` is always the column's own kind the same `agent` / `tool` the board was written with never the name of the machinery underneath.
1920
+ * An agent column reports `{ kind: "agent", id, status }`, where `id` is the generation — real provenance, readable through Generations. A tool column reports `{ kind: "tool", tool_id, status }`: the machinery a tool column runs on is naturali's own and is not addressable by a caller, so it is named by the tool it stands for rather than by an internal id.
1917
1921
  *
1918
1922
  */
1919
1923
  active_dispatch: {
@@ -1955,7 +1959,8 @@ type TaskUpdate = {
1955
1959
  */
1956
1960
  assignee?: string | null;
1957
1961
  /**
1958
- * Shallow-merged over the current payload; omitted keys are preserved.
1962
+ * Shallow-merged over the current payload; omitted keys are preserved. Not nullable — `null` is rejected rather than ignored, since a merge has no meaning to give it. Send `{}` to change nothing.
1963
+ *
1959
1964
  */
1960
1965
  payload?: {
1961
1966
  [key: string]: unknown;
package/dist/index.d.mts CHANGED
@@ -732,7 +732,10 @@ type BoardCreate = {
732
732
  */
733
733
  type BoardUpdate = {
734
734
  name?: string;
735
- description?: string;
735
+ /**
736
+ * Send null to clear it.
737
+ */
738
+ description?: string | null;
736
739
  states?: Array<BoardState>;
737
740
  transitions?: Array<BoardTransition>;
738
741
  /**
@@ -1913,7 +1916,8 @@ type Task = {
1913
1916
  */
1914
1917
  automation_status: 'running' | 'completed' | 'failed' | 'unrouted';
1915
1918
  /**
1916
- * The in-flight dispatch, if any. An agent column reports `{ kind: "agent", id, status }`, where `id` is the generation — real provenance, readable through Generations. A tool column reports `{ kind: "tool", tool_id, status }`: the machinery a tool column runs on is naturali's own and is not addressable by a caller, so it is named by the tool it stands for rather than by an internal id.
1919
+ * The in-flight dispatch, if any. `kind` is always the column's own kind the same `agent` / `tool` the board was written with never the name of the machinery underneath.
1920
+ * An agent column reports `{ kind: "agent", id, status }`, where `id` is the generation — real provenance, readable through Generations. A tool column reports `{ kind: "tool", tool_id, status }`: the machinery a tool column runs on is naturali's own and is not addressable by a caller, so it is named by the tool it stands for rather than by an internal id.
1917
1921
  *
1918
1922
  */
1919
1923
  active_dispatch: {
@@ -1955,7 +1959,8 @@ type TaskUpdate = {
1955
1959
  */
1956
1960
  assignee?: string | null;
1957
1961
  /**
1958
- * Shallow-merged over the current payload; omitted keys are preserved.
1962
+ * Shallow-merged over the current payload; omitted keys are preserved. Not nullable — `null` is rejected rather than ignored, since a merge has no meaning to give it. Send `{}` to change nothing.
1963
+ *
1959
1964
  */
1960
1965
  payload?: {
1961
1966
  [key: string]: unknown;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturali/sdk",
3
- "version": "0.38.0",
3
+ "version": "0.38.1",
4
4
  "description": "TypeScript SDK for the naturali.ai API, generated from its OpenAPI specs",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -37,7 +37,7 @@
37
37
  "tsx": "^4.23.1",
38
38
  "typescript": "~6.0.3",
39
39
  "vitest": "^4.1.10",
40
- "@naturali/api": "0.38.0"
40
+ "@naturali/api": "0.38.1"
41
41
  },
42
42
  "scripts": {
43
43
  "generate": "tsx scripts/generate.ts",