runline 0.11.4 → 0.11.5

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.
@@ -292,6 +292,11 @@ export function registerTablesActions(rl) {
292
292
  required: false,
293
293
  description: "Column width in points.",
294
294
  },
295
+ widthType: {
296
+ type: "string",
297
+ required: false,
298
+ description: "WIDTH_TYPE_UNSPECIFIED | EVENLY_DISTRIBUTED | FIXED_WIDTH. Defaults to FIXED_WIDTH when widthPt is provided.",
299
+ },
295
300
  fields: {
296
301
  type: "string",
297
302
  required: false,
@@ -307,7 +312,12 @@ export function registerTablesActions(rl) {
307
312
  const fields = [];
308
313
  if (p.widthPt !== undefined) {
309
314
  props.width = point(p.widthPt);
310
- fields.push("width");
315
+ props.widthType = p.widthType ?? "FIXED_WIDTH";
316
+ fields.push("width", "widthType");
317
+ }
318
+ else if (p.widthType) {
319
+ props.widthType = p.widthType;
320
+ fields.push("widthType");
311
321
  }
312
322
  const mask = p.fields ?? fields.join(",");
313
323
  if (!mask)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "runline",
3
- "version": "0.11.4",
3
+ "version": "0.11.5",
4
4
  "description": "Code mode for agents — turn any API or command into a callable action",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",