@stablebaseline/sdk 0.6.3 → 0.7.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.
package/dist/index.d.cts CHANGED
@@ -7057,7 +7057,7 @@ interface operations {
7057
7057
  maskBase64: string;
7058
7058
  /** @description What to put in the masked area, in plain language (e.g. 'replace the car with a red bicycle'). */
7059
7059
  prompt: string;
7060
- /** @description Optional 0..1 — how far the regenerated area may diverge from the original. Ignored by FLUX Fill (which balances via the prompt); leave unset unless using a non-Fill inpaint model. */
7060
+ /** @description Optional 0..1: how far the regenerated area may diverge from the original. The editing model may balance this from the prompt instead, so leave it unset unless you need it. */
7061
7061
  strength?: number;
7062
7062
  };
7063
7063
  };
@@ -8185,8 +8185,8 @@ interface operations {
8185
8185
  /** @description Optional. Narrows a friendly-id lookup to one project. Only needed when a friendly id is ambiguous — TAS-/IMP-/PLN- ids are numbered per PROJECT, so the same id can exist in several. Ignored when the id is a UUID. */
8186
8186
  projectId?: string;
8187
8187
  documentId: string;
8188
- /** @description Optional, used by the design worker's connector pass: route the batch's BOUND arrows and lines with the obstacle-aware libavoid router against the full scene before placing them (true), or 'force' to also discard hand-authored elbow points. Omit for the default as-authored routing. Declared because the tool rejects undeclared parameters and every builder-drawn arrow was failing on it (2026-09-09). */
8189
- libavoidRoute?: boolean | string;
8188
+ /** @description Optional. Arrows and lines bound to a shape at BOTH ends (start.id and end.id) are always routed around the other shapes on the board unless you give them points. true: ignore the points you gave for such connectors and route them too. Omit to keep the points you supply. */
8189
+ rerouteConnectors?: boolean;
8190
8190
  /** @description Non-empty array of shape specs to append. Prefer stencils / sticky notes / architecture icons over raw rectangles wherever a standard form fits (see the `type` enum below and the tool description). */
8191
8191
  shapes: ({
8192
8192
  /**
@@ -10742,8 +10742,11 @@ interface operations {
10742
10742
  type?: string;
10743
10743
  /** @description Priority. Default: medium. */
10744
10744
  priority?: string;
10745
- /** @description Initial status. Default: captured. */
10746
- status?: string;
10745
+ /**
10746
+ * @description Initial status. Default: captured.
10747
+ * @enum {string}
10748
+ */
10749
+ status?: "captured" | "triaging" | "shaped" | "approved" | "ready_for_agent" | "in_progress" | "ready_for_review" | "in_review" | "blocked" | "done" | "rejected" | "deferred";
10747
10750
  /** @description Source (e.g. human_manual, agent_review). */
10748
10751
  source?: string;
10749
10752
  /** @description e.g. this_week, this_month, this_quarter. */
@@ -10921,7 +10924,8 @@ interface operations {
10921
10924
  versionTimestamp: number;
10922
10925
  title?: string;
10923
10926
  type?: string;
10924
- status?: string;
10927
+ /** @enum {string} */
10928
+ status?: "captured" | "triaging" | "shaped" | "approved" | "ready_for_agent" | "in_progress" | "ready_for_review" | "in_review" | "blocked" | "done" | "rejected" | "deferred";
10925
10929
  priority?: string;
10926
10930
  urgency?: string;
10927
10931
  /** @description User UUID to assign as owner, or null to unassign. MUTUALLY EXCLUSIVE with owner_team_id — when switching from a user to a team owner, send `owner_id: null` in the same call as `owner_team_id`. Use listAssignablePrincipals(projectId, kind='user', q='…') to look up valid UUIDs. */
@@ -13355,8 +13359,11 @@ interface operations {
13355
13359
  description?: string;
13356
13360
  /** @description Type. Default: task. Tasks created in plans are typed 'task' (friendly_id prefix TAS-). Override only if you want the row to appear as a non-task improvement (IMP- prefix). Valid values: feature, bug, tech_debt, architecture_gap, documentation_gap, risk, enhancement, task. */
13357
13361
  type?: string;
13358
- /** @description Initial status. Default: captured. */
13359
- status?: string;
13362
+ /**
13363
+ * @description Initial status. Default: captured.
13364
+ * @enum {string}
13365
+ */
13366
+ status?: "captured" | "triaging" | "shaped" | "approved" | "ready_for_agent" | "in_progress" | "ready_for_review" | "in_review" | "blocked" | "done" | "rejected" | "deferred";
13360
13367
  /** @description Priority. Default: medium. */
13361
13368
  priority?: string;
13362
13369
  /** @description e.g. this_week, this_month, this_quarter. */
@@ -13716,7 +13723,8 @@ interface operations {
13716
13723
  versionTimestamp: number;
13717
13724
  title?: string;
13718
13725
  type?: string;
13719
- status?: string;
13726
+ /** @enum {string} */
13727
+ status?: "captured" | "triaging" | "shaped" | "approved" | "ready_for_agent" | "in_progress" | "ready_for_review" | "in_review" | "blocked" | "done" | "rejected" | "deferred";
13720
13728
  priority?: string;
13721
13729
  urgency?: string;
13722
13730
  /** @description User UUID to assign as owner, or null to unassign. MUTUALLY EXCLUSIVE with owner_team_id — when switching from a user to a team owner, send `owner_id: null` in the same call as `owner_team_id`. Use listAssignablePrincipals(projectId, kind='user', q='…') to look up valid UUIDs. */
package/dist/index.d.ts CHANGED
@@ -7057,7 +7057,7 @@ interface operations {
7057
7057
  maskBase64: string;
7058
7058
  /** @description What to put in the masked area, in plain language (e.g. 'replace the car with a red bicycle'). */
7059
7059
  prompt: string;
7060
- /** @description Optional 0..1 — how far the regenerated area may diverge from the original. Ignored by FLUX Fill (which balances via the prompt); leave unset unless using a non-Fill inpaint model. */
7060
+ /** @description Optional 0..1: how far the regenerated area may diverge from the original. The editing model may balance this from the prompt instead, so leave it unset unless you need it. */
7061
7061
  strength?: number;
7062
7062
  };
7063
7063
  };
@@ -8185,8 +8185,8 @@ interface operations {
8185
8185
  /** @description Optional. Narrows a friendly-id lookup to one project. Only needed when a friendly id is ambiguous — TAS-/IMP-/PLN- ids are numbered per PROJECT, so the same id can exist in several. Ignored when the id is a UUID. */
8186
8186
  projectId?: string;
8187
8187
  documentId: string;
8188
- /** @description Optional, used by the design worker's connector pass: route the batch's BOUND arrows and lines with the obstacle-aware libavoid router against the full scene before placing them (true), or 'force' to also discard hand-authored elbow points. Omit for the default as-authored routing. Declared because the tool rejects undeclared parameters and every builder-drawn arrow was failing on it (2026-09-09). */
8189
- libavoidRoute?: boolean | string;
8188
+ /** @description Optional. Arrows and lines bound to a shape at BOTH ends (start.id and end.id) are always routed around the other shapes on the board unless you give them points. true: ignore the points you gave for such connectors and route them too. Omit to keep the points you supply. */
8189
+ rerouteConnectors?: boolean;
8190
8190
  /** @description Non-empty array of shape specs to append. Prefer stencils / sticky notes / architecture icons over raw rectangles wherever a standard form fits (see the `type` enum below and the tool description). */
8191
8191
  shapes: ({
8192
8192
  /**
@@ -10742,8 +10742,11 @@ interface operations {
10742
10742
  type?: string;
10743
10743
  /** @description Priority. Default: medium. */
10744
10744
  priority?: string;
10745
- /** @description Initial status. Default: captured. */
10746
- status?: string;
10745
+ /**
10746
+ * @description Initial status. Default: captured.
10747
+ * @enum {string}
10748
+ */
10749
+ status?: "captured" | "triaging" | "shaped" | "approved" | "ready_for_agent" | "in_progress" | "ready_for_review" | "in_review" | "blocked" | "done" | "rejected" | "deferred";
10747
10750
  /** @description Source (e.g. human_manual, agent_review). */
10748
10751
  source?: string;
10749
10752
  /** @description e.g. this_week, this_month, this_quarter. */
@@ -10921,7 +10924,8 @@ interface operations {
10921
10924
  versionTimestamp: number;
10922
10925
  title?: string;
10923
10926
  type?: string;
10924
- status?: string;
10927
+ /** @enum {string} */
10928
+ status?: "captured" | "triaging" | "shaped" | "approved" | "ready_for_agent" | "in_progress" | "ready_for_review" | "in_review" | "blocked" | "done" | "rejected" | "deferred";
10925
10929
  priority?: string;
10926
10930
  urgency?: string;
10927
10931
  /** @description User UUID to assign as owner, or null to unassign. MUTUALLY EXCLUSIVE with owner_team_id — when switching from a user to a team owner, send `owner_id: null` in the same call as `owner_team_id`. Use listAssignablePrincipals(projectId, kind='user', q='…') to look up valid UUIDs. */
@@ -13355,8 +13359,11 @@ interface operations {
13355
13359
  description?: string;
13356
13360
  /** @description Type. Default: task. Tasks created in plans are typed 'task' (friendly_id prefix TAS-). Override only if you want the row to appear as a non-task improvement (IMP- prefix). Valid values: feature, bug, tech_debt, architecture_gap, documentation_gap, risk, enhancement, task. */
13357
13361
  type?: string;
13358
- /** @description Initial status. Default: captured. */
13359
- status?: string;
13362
+ /**
13363
+ * @description Initial status. Default: captured.
13364
+ * @enum {string}
13365
+ */
13366
+ status?: "captured" | "triaging" | "shaped" | "approved" | "ready_for_agent" | "in_progress" | "ready_for_review" | "in_review" | "blocked" | "done" | "rejected" | "deferred";
13360
13367
  /** @description Priority. Default: medium. */
13361
13368
  priority?: string;
13362
13369
  /** @description e.g. this_week, this_month, this_quarter. */
@@ -13716,7 +13723,8 @@ interface operations {
13716
13723
  versionTimestamp: number;
13717
13724
  title?: string;
13718
13725
  type?: string;
13719
- status?: string;
13726
+ /** @enum {string} */
13727
+ status?: "captured" | "triaging" | "shaped" | "approved" | "ready_for_agent" | "in_progress" | "ready_for_review" | "in_review" | "blocked" | "done" | "rejected" | "deferred";
13720
13728
  priority?: string;
13721
13729
  urgency?: string;
13722
13730
  /** @description User UUID to assign as owner, or null to unassign. MUTUALLY EXCLUSIVE with owner_team_id — when switching from a user to a team owner, send `owner_id: null` in the same call as `owner_team_id`. Use listAssignablePrincipals(projectId, kind='user', q='…') to look up valid UUIDs. */
package/openapi.json CHANGED
@@ -4287,7 +4287,7 @@
4287
4287
  },
4288
4288
  "strength": {
4289
4289
  "type": "number",
4290
- "description": "Optional 0..1 — how far the regenerated area may diverge from the original. Ignored by FLUX Fill (which balances via the prompt); leave unset unless using a non-Fill inpaint model."
4290
+ "description": "Optional 0..1: how far the regenerated area may diverge from the original. The editing model may balance this from the prompt instead, so leave it unset unless you need it."
4291
4291
  }
4292
4292
  },
4293
4293
  "required": [
@@ -5798,12 +5798,9 @@
5798
5798
  "documentId": {
5799
5799
  "type": "string"
5800
5800
  },
5801
- "libavoidRoute": {
5802
- "type": [
5803
- "boolean",
5804
- "string"
5805
- ],
5806
- "description": "Optional, used by the design worker's connector pass: route the batch's BOUND arrows and lines with the obstacle-aware libavoid router against the full scene before placing them (true), or 'force' to also discard hand-authored elbow points. Omit for the default as-authored routing. Declared because the tool rejects undeclared parameters and every builder-drawn arrow was failing on it (2026-09-09)."
5801
+ "rerouteConnectors": {
5802
+ "type": "boolean",
5803
+ "description": "Optional. Arrows and lines bound to a shape at BOTH ends (start.id and end.id) are always routed around the other shapes on the board unless you give them points. true: ignore the points you gave for such connectors and route them too. Omit to keep the points you supply."
5807
5804
  },
5808
5805
  "shapes": {
5809
5806
  "type": "array",
@@ -9354,6 +9351,20 @@
9354
9351
  },
9355
9352
  "status": {
9356
9353
  "type": "string",
9354
+ "enum": [
9355
+ "captured",
9356
+ "triaging",
9357
+ "shaped",
9358
+ "approved",
9359
+ "ready_for_agent",
9360
+ "in_progress",
9361
+ "ready_for_review",
9362
+ "in_review",
9363
+ "blocked",
9364
+ "done",
9365
+ "rejected",
9366
+ "deferred"
9367
+ ],
9357
9368
  "description": "Initial status. Default: captured."
9358
9369
  },
9359
9370
  "source": {
@@ -9712,7 +9723,21 @@
9712
9723
  "type": "string"
9713
9724
  },
9714
9725
  "status": {
9715
- "type": "string"
9726
+ "type": "string",
9727
+ "enum": [
9728
+ "captured",
9729
+ "triaging",
9730
+ "shaped",
9731
+ "approved",
9732
+ "ready_for_agent",
9733
+ "in_progress",
9734
+ "ready_for_review",
9735
+ "in_review",
9736
+ "blocked",
9737
+ "done",
9738
+ "rejected",
9739
+ "deferred"
9740
+ ]
9716
9741
  },
9717
9742
  "priority": {
9718
9743
  "type": "string"
@@ -13105,6 +13130,20 @@
13105
13130
  },
13106
13131
  "status": {
13107
13132
  "type": "string",
13133
+ "enum": [
13134
+ "captured",
13135
+ "triaging",
13136
+ "shaped",
13137
+ "approved",
13138
+ "ready_for_agent",
13139
+ "in_progress",
13140
+ "ready_for_review",
13141
+ "in_review",
13142
+ "blocked",
13143
+ "done",
13144
+ "rejected",
13145
+ "deferred"
13146
+ ],
13108
13147
  "description": "Initial status. Default: captured."
13109
13148
  },
13110
13149
  "priority": {
@@ -13701,7 +13740,21 @@
13701
13740
  "type": "string"
13702
13741
  },
13703
13742
  "status": {
13704
- "type": "string"
13743
+ "type": "string",
13744
+ "enum": [
13745
+ "captured",
13746
+ "triaging",
13747
+ "shaped",
13748
+ "approved",
13749
+ "ready_for_agent",
13750
+ "in_progress",
13751
+ "ready_for_review",
13752
+ "in_review",
13753
+ "blocked",
13754
+ "done",
13755
+ "rejected",
13756
+ "deferred"
13757
+ ]
13705
13758
  },
13706
13759
  "priority": {
13707
13760
  "type": "string"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stablebaseline/sdk",
3
- "version": "0.6.3",
3
+ "version": "0.7.0",
4
4
  "description": "TypeScript SDK for the Stable Baseline REST API. End-to-end agent-managed company brain — docs, diagrams, plans, and a self-learning Knowledge Graph. 196 tools across 18 categories.",
5
5
  "homepage": "https://stablebaseline.io",
6
6
  "repository": {
@@ -7058,7 +7058,7 @@ export interface operations {
7058
7058
  maskBase64: string;
7059
7059
  /** @description What to put in the masked area, in plain language (e.g. 'replace the car with a red bicycle'). */
7060
7060
  prompt: string;
7061
- /** @description Optional 0..1 — how far the regenerated area may diverge from the original. Ignored by FLUX Fill (which balances via the prompt); leave unset unless using a non-Fill inpaint model. */
7061
+ /** @description Optional 0..1: how far the regenerated area may diverge from the original. The editing model may balance this from the prompt instead, so leave it unset unless you need it. */
7062
7062
  strength?: number;
7063
7063
  };
7064
7064
  };
@@ -8186,8 +8186,8 @@ export interface operations {
8186
8186
  /** @description Optional. Narrows a friendly-id lookup to one project. Only needed when a friendly id is ambiguous — TAS-/IMP-/PLN- ids are numbered per PROJECT, so the same id can exist in several. Ignored when the id is a UUID. */
8187
8187
  projectId?: string;
8188
8188
  documentId: string;
8189
- /** @description Optional, used by the design worker's connector pass: route the batch's BOUND arrows and lines with the obstacle-aware libavoid router against the full scene before placing them (true), or 'force' to also discard hand-authored elbow points. Omit for the default as-authored routing. Declared because the tool rejects undeclared parameters and every builder-drawn arrow was failing on it (2026-09-09). */
8190
- libavoidRoute?: boolean | string;
8189
+ /** @description Optional. Arrows and lines bound to a shape at BOTH ends (start.id and end.id) are always routed around the other shapes on the board unless you give them points. true: ignore the points you gave for such connectors and route them too. Omit to keep the points you supply. */
8190
+ rerouteConnectors?: boolean;
8191
8191
  /** @description Non-empty array of shape specs to append. Prefer stencils / sticky notes / architecture icons over raw rectangles wherever a standard form fits (see the `type` enum below and the tool description). */
8192
8192
  shapes: ({
8193
8193
  /**
@@ -10743,8 +10743,11 @@ export interface operations {
10743
10743
  type?: string;
10744
10744
  /** @description Priority. Default: medium. */
10745
10745
  priority?: string;
10746
- /** @description Initial status. Default: captured. */
10747
- status?: string;
10746
+ /**
10747
+ * @description Initial status. Default: captured.
10748
+ * @enum {string}
10749
+ */
10750
+ status?: "captured" | "triaging" | "shaped" | "approved" | "ready_for_agent" | "in_progress" | "ready_for_review" | "in_review" | "blocked" | "done" | "rejected" | "deferred";
10748
10751
  /** @description Source (e.g. human_manual, agent_review). */
10749
10752
  source?: string;
10750
10753
  /** @description e.g. this_week, this_month, this_quarter. */
@@ -10922,7 +10925,8 @@ export interface operations {
10922
10925
  versionTimestamp: number;
10923
10926
  title?: string;
10924
10927
  type?: string;
10925
- status?: string;
10928
+ /** @enum {string} */
10929
+ status?: "captured" | "triaging" | "shaped" | "approved" | "ready_for_agent" | "in_progress" | "ready_for_review" | "in_review" | "blocked" | "done" | "rejected" | "deferred";
10926
10930
  priority?: string;
10927
10931
  urgency?: string;
10928
10932
  /** @description User UUID to assign as owner, or null to unassign. MUTUALLY EXCLUSIVE with owner_team_id — when switching from a user to a team owner, send `owner_id: null` in the same call as `owner_team_id`. Use listAssignablePrincipals(projectId, kind='user', q='…') to look up valid UUIDs. */
@@ -13356,8 +13360,11 @@ export interface operations {
13356
13360
  description?: string;
13357
13361
  /** @description Type. Default: task. Tasks created in plans are typed 'task' (friendly_id prefix TAS-). Override only if you want the row to appear as a non-task improvement (IMP- prefix). Valid values: feature, bug, tech_debt, architecture_gap, documentation_gap, risk, enhancement, task. */
13358
13362
  type?: string;
13359
- /** @description Initial status. Default: captured. */
13360
- status?: string;
13363
+ /**
13364
+ * @description Initial status. Default: captured.
13365
+ * @enum {string}
13366
+ */
13367
+ status?: "captured" | "triaging" | "shaped" | "approved" | "ready_for_agent" | "in_progress" | "ready_for_review" | "in_review" | "blocked" | "done" | "rejected" | "deferred";
13361
13368
  /** @description Priority. Default: medium. */
13362
13369
  priority?: string;
13363
13370
  /** @description e.g. this_week, this_month, this_quarter. */
@@ -13717,7 +13724,8 @@ export interface operations {
13717
13724
  versionTimestamp: number;
13718
13725
  title?: string;
13719
13726
  type?: string;
13720
- status?: string;
13727
+ /** @enum {string} */
13728
+ status?: "captured" | "triaging" | "shaped" | "approved" | "ready_for_agent" | "in_progress" | "ready_for_review" | "in_review" | "blocked" | "done" | "rejected" | "deferred";
13721
13729
  priority?: string;
13722
13730
  urgency?: string;
13723
13731
  /** @description User UUID to assign as owner, or null to unassign. MUTUALLY EXCLUSIVE with owner_team_id — when switching from a user to a team owner, send `owner_id: null` in the same call as `owner_team_id`. Use listAssignablePrincipals(projectId, kind='user', q='…') to look up valid UUIDs. */