@lotics/cli 0.209.0 → 0.210.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/src/cli.js CHANGED
@@ -15481,18 +15481,6 @@ var LoticsClient = class {
15481
15481
  async appFieldOptions(app_id, alias) {
15482
15482
  return this.request("POST", `/v1/apps/${encodeURIComponent(app_id)}/field-options`, { alias });
15483
15483
  }
15484
- /**
15485
- * When a record entered each option of one of its select fields — what a
15486
- * lifecycle drawn as steps dates each step by. Mirrors
15487
- * GET /v1/apps/{app_id}/records/{record_id}/field-history.
15488
- */
15489
- async appFieldHistory(app_id, args) {
15490
- const qs = new URLSearchParams({ table_id: args.table_id, field_id: args.field_id });
15491
- return this.request(
15492
- "GET",
15493
- `/v1/apps/${encodeURIComponent(app_id)}/records/${encodeURIComponent(args.record_id)}/field-history?${qs.toString()}`
15494
- );
15495
- }
15496
15484
  /**
15497
15485
  * Execute a workflow by alias declared in package.json#lotics.workflows.
15498
15486
  * Mirrors POST /v1/apps/{app_id}/workflows/{alias}/execute.
@@ -42083,7 +42071,7 @@ function resultSideEffects(result) {
42083
42071
  }
42084
42072
 
42085
42073
  // src/version.ts
42086
- var VERSION = "0.209.0";
42074
+ var VERSION = "0.210.0";
42087
42075
 
42088
42076
  // src/timezone.ts
42089
42077
  function machineTimezone() {
@@ -56185,7 +56173,6 @@ var READ_OPS = /* @__PURE__ */ new Set([
56185
56173
  "context",
56186
56174
  "query",
56187
56175
  "field_options",
56188
- "field_history",
56189
56176
  "members",
56190
56177
  "agentRuns",
56191
56178
  "agentRun.get",
@@ -56218,7 +56205,6 @@ function refusalMessage(refused) {
56218
56205
  var SUPPORTED_OPS = /* @__PURE__ */ new Set([
56219
56206
  "query",
56220
56207
  "field_options",
56221
- "field_history",
56222
56208
  "workflow",
56223
56209
  "members",
56224
56210
  "context",
@@ -56264,17 +56250,6 @@ async function dispatchRpc(client, body, opts) {
56264
56250
  }
56265
56251
  return client.appFieldOptions(body.app_id, p.alias);
56266
56252
  }
56267
- case "field_history": {
56268
- const p = body.payload;
56269
- if (!p || typeof p.table_id !== "string" || typeof p.record_id !== "string" || typeof p.field_id !== "string") {
56270
- throw new Error("field_history payload must include table_id, record_id, field_id");
56271
- }
56272
- return client.appFieldHistory(body.app_id, {
56273
- table_id: p.table_id,
56274
- record_id: p.record_id,
56275
- field_id: p.field_id
56276
- });
56277
- }
56278
56253
  case "workflow": {
56279
56254
  const p = body.payload;
56280
56255
  if (!p || typeof p.alias !== "string") {
@@ -1251,21 +1251,6 @@ export declare class LoticsClient {
1251
1251
  }>;
1252
1252
  }>;
1253
1253
  }>;
1254
- /**
1255
- * When a record entered each option of one of its select fields — what a
1256
- * lifecycle drawn as steps dates each step by. Mirrors
1257
- * GET /v1/apps/{app_id}/records/{record_id}/field-history.
1258
- */
1259
- appFieldHistory(app_id: string, args: {
1260
- table_id: string;
1261
- record_id: string;
1262
- field_id: string;
1263
- }): Promise<{
1264
- entered: Array<{
1265
- option_id: string;
1266
- entered_at: string;
1267
- }>;
1268
- }>;
1269
1254
  /**
1270
1255
  * Execute a workflow by alias declared in package.json#lotics.workflows.
1271
1256
  * Mirrors POST /v1/apps/{app_id}/workflows/{alias}/execute.
@@ -807,18 +807,6 @@ var LoticsClient = class {
807
807
  async appFieldOptions(app_id, alias) {
808
808
  return this.request("POST", `/v1/apps/${encodeURIComponent(app_id)}/field-options`, { alias });
809
809
  }
810
- /**
811
- * When a record entered each option of one of its select fields — what a
812
- * lifecycle drawn as steps dates each step by. Mirrors
813
- * GET /v1/apps/{app_id}/records/{record_id}/field-history.
814
- */
815
- async appFieldHistory(app_id, args) {
816
- const qs = new URLSearchParams({ table_id: args.table_id, field_id: args.field_id });
817
- return this.request(
818
- "GET",
819
- `/v1/apps/${encodeURIComponent(app_id)}/records/${encodeURIComponent(args.record_id)}/field-history?${qs.toString()}`
820
- );
821
- }
822
810
  /**
823
811
  * Execute a workflow by alias declared in package.json#lotics.workflows.
824
812
  * Mirrors POST /v1/apps/{app_id}/workflows/{alias}/execute.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lotics/cli",
3
- "version": "0.209.0",
3
+ "version": "0.210.0",
4
4
  "description": "Lotics SDK and CLI for AI agents",
5
5
  "type": "module",
6
6
  "bin": {