@runtypelabs/cli 2.12.0 → 2.12.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 (2) hide show
  1. package/dist/index.js +4 -4
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -23261,10 +23261,10 @@ var FLOW_STEP_TYPE_METADATA = {
23261
23261
  configHints: "http, auth, requestTemplate, responseMapping, outputVariable"
23262
23262
  },
23263
23263
  "retrieve-record": {
23264
- description: "Load a record from the Runtype record store by type and name.",
23264
+ description: "Load records from the Runtype record store by ID, by type+name, or by a chip-style recordFilter (metadata + top-level columns: id, name, createdAt, updatedAt).",
23265
23265
  category: "data",
23266
23266
  isPrompt: false,
23267
- configHints: "recordType, recordName, outputVariable"
23267
+ configHints: "recordType, recordName, recordFilter ({ type, where: { field, op, value } }), outputVariable"
23268
23268
  },
23269
23269
  "upsert-record": {
23270
23270
  description: "Create or update a record. The sourceVariable must point to a JSON object.",
@@ -23273,10 +23273,10 @@ var FLOW_STEP_TYPE_METADATA = {
23273
23273
  configHints: "recordType, sourceVariable (must be JSON object), outputVariable"
23274
23274
  },
23275
23275
  "update-record": {
23276
- description: "Update specific fields on an existing record.",
23276
+ description: "Update specific fields on an existing record. Find the record by ID, by type+name, or by a chip-style recordFilter (first match wins, ordered by updatedAt desc).",
23277
23277
  category: "data",
23278
23278
  isPrompt: false,
23279
- configHints: "recordId, updates, mergeStrategy (merge|replace), outputVariable"
23279
+ configHints: "recordId, recordFilter ({ type, where }), updates, mergeStrategy (merge|replace), outputVariable"
23280
23280
  },
23281
23281
  "set-variable": {
23282
23282
  description: "Set a flow variable to a static or computed value.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runtypelabs/cli",
3
- "version": "2.12.0",
3
+ "version": "2.12.1",
4
4
  "description": "Command-line interface for Runtype AI platform",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -22,7 +22,7 @@
22
22
  "micromatch": "^4.0.8",
23
23
  "yaml": "^2.8.3",
24
24
  "@runtypelabs/ink-components": "0.3.1",
25
- "@runtypelabs/sdk": "1.19.1",
25
+ "@runtypelabs/sdk": "1.20.0",
26
26
  "@runtypelabs/terminal-animations": "0.2.0"
27
27
  },
28
28
  "devDependencies": {