flowbase-cli 0.1.17__tar.gz → 0.1.18__tar.gz
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.
- {flowbase_cli-0.1.17 → flowbase_cli-0.1.18}/PKG-INFO +3 -2
- {flowbase_cli-0.1.17 → flowbase_cli-0.1.18}/README.md +2 -1
- {flowbase_cli-0.1.17 → flowbase_cli-0.1.18}/pyproject.toml +1 -1
- {flowbase_cli-0.1.17 → flowbase_cli-0.1.18}/src/flowbase_cli/__init__.py +1 -1
- {flowbase_cli-0.1.17 → flowbase_cli-0.1.18}/src/flowbase_cli/endpoints.py +13 -9
- {flowbase_cli-0.1.17 → flowbase_cli-0.1.18}/src/flowbase_cli.egg-info/PKG-INFO +3 -2
- {flowbase_cli-0.1.17 → flowbase_cli-0.1.18}/setup.cfg +0 -0
- {flowbase_cli-0.1.17 → flowbase_cli-0.1.18}/src/flowbase_cli/guide.py +0 -0
- {flowbase_cli-0.1.17 → flowbase_cli-0.1.18}/src/flowbase_cli/main.py +0 -0
- {flowbase_cli-0.1.17 → flowbase_cli-0.1.18}/src/flowbase_cli.egg-info/SOURCES.txt +0 -0
- {flowbase_cli-0.1.17 → flowbase_cli-0.1.18}/src/flowbase_cli.egg-info/dependency_links.txt +0 -0
- {flowbase_cli-0.1.17 → flowbase_cli-0.1.18}/src/flowbase_cli.egg-info/entry_points.txt +0 -0
- {flowbase_cli-0.1.17 → flowbase_cli-0.1.18}/src/flowbase_cli.egg-info/top_level.txt +0 -0
- {flowbase_cli-0.1.17 → flowbase_cli-0.1.18}/tests/test_autonomy.py +0 -0
- {flowbase_cli-0.1.17 → flowbase_cli-0.1.18}/tests/test_cli.py +0 -0
- {flowbase_cli-0.1.17 → flowbase_cli-0.1.18}/tests/test_iframes.py +0 -0
- {flowbase_cli-0.1.17 → flowbase_cli-0.1.18}/tests/test_recent_commands.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: flowbase-cli
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.18
|
|
4
4
|
Summary: Command line client for the FlowBase OpenAPI
|
|
5
5
|
Author: DeepFlowAI
|
|
6
6
|
License: Apache-2.0
|
|
@@ -318,9 +318,10 @@ Transport requests time out after 60 seconds. A lost write response has an unkno
|
|
|
318
318
|
|
|
319
319
|
### Recent feature authoring
|
|
320
320
|
|
|
321
|
+
- `flowbase docs catalogs field-types`: includes template autonumber configuration and date/time/datetime v2 creation examples. Numbering rules and temporal precision are immutable after creation; legacy numbering and temporal v1 remain supported.
|
|
321
322
|
- `flowbase docs catalogs planning`: tree/Gantt view snapshots, candidate queries and optimistic plan updates. Read a full view with `views list` before updating; preserve `displayMode`, `parentFieldId` and `gantt`.
|
|
322
323
|
- `flowbase docs catalogs record-bundles`: initialize, atomically submit and recover a parent/detail submission. Reuse a submission ID only with the identical request body.
|
|
323
|
-
- `flowbase docs catalogs formula-authoring`: formula/rollup sources, validation, saved-record trials and runtime draft preview. Derived values are read-only.
|
|
324
|
+
- `flowbase docs catalogs formula-authoring`: formula/rollup sources, validation, saved-record trials and runtime draft preview. Supports reuse of calculated results through single relations and multi-level rollups (up to 10 dependency levels). Validation returns `dependencyGraph`, or `valid=false` with `code`/`errorPath` for invalid dependencies. Pass `fieldId` when validating an existing field. Derived values are read-only.
|
|
324
325
|
- `flowbase docs catalogs workflow-python`: record creation examples and failed-task retry. `workflows python-runtime OBJECT new` discovers current object bindings; `workflows executions` includes Python attempts, logs and `canRetry`.
|
|
325
326
|
|
|
326
327
|
Use `records list OBJECT --view-id VIEW --view-layout` for tree/Gantt projections; the default remains a flat list. `records update` accepts `updatedAt` and `planViewId` in its JSON body for version-checked plan edits. Formula validation/trials require both metadata read and record read; workflow retry requires both metadata write and record write and explicit CLI confirmation (`--yes` in automation).
|
|
@@ -309,9 +309,10 @@ Transport requests time out after 60 seconds. A lost write response has an unkno
|
|
|
309
309
|
|
|
310
310
|
### Recent feature authoring
|
|
311
311
|
|
|
312
|
+
- `flowbase docs catalogs field-types`: includes template autonumber configuration and date/time/datetime v2 creation examples. Numbering rules and temporal precision are immutable after creation; legacy numbering and temporal v1 remain supported.
|
|
312
313
|
- `flowbase docs catalogs planning`: tree/Gantt view snapshots, candidate queries and optimistic plan updates. Read a full view with `views list` before updating; preserve `displayMode`, `parentFieldId` and `gantt`.
|
|
313
314
|
- `flowbase docs catalogs record-bundles`: initialize, atomically submit and recover a parent/detail submission. Reuse a submission ID only with the identical request body.
|
|
314
|
-
- `flowbase docs catalogs formula-authoring`: formula/rollup sources, validation, saved-record trials and runtime draft preview. Derived values are read-only.
|
|
315
|
+
- `flowbase docs catalogs formula-authoring`: formula/rollup sources, validation, saved-record trials and runtime draft preview. Supports reuse of calculated results through single relations and multi-level rollups (up to 10 dependency levels). Validation returns `dependencyGraph`, or `valid=false` with `code`/`errorPath` for invalid dependencies. Pass `fieldId` when validating an existing field. Derived values are read-only.
|
|
315
316
|
- `flowbase docs catalogs workflow-python`: record creation examples and failed-task retry. `workflows python-runtime OBJECT new` discovers current object bindings; `workflows executions` includes Python attempts, logs and `canRetry`.
|
|
316
317
|
|
|
317
318
|
Use `records list OBJECT --view-id VIEW --view-layout` for tree/Gantt projections; the default remains a flat list. `records update` accepts `updatedAt` and `planViewId` in its JSON body for version-checked plan edits. Formula validation/trials require both metadata read and record read; workflow retry requires both metadata write and record write and explicit CLI confirmation (`--yes` in automation).
|
|
@@ -663,7 +663,7 @@ def _field_type(
|
|
|
663
663
|
) -> dict:
|
|
664
664
|
payload = {
|
|
665
665
|
"type": type_name,
|
|
666
|
-
"typeVersion": "v1",
|
|
666
|
+
"typeVersion": "v2" if type_name in ("date", "time", "datetime") else "v1",
|
|
667
667
|
"writable": writable,
|
|
668
668
|
"permissions": list(_PERMISSIONS),
|
|
669
669
|
"constraints": list(constraints),
|
|
@@ -710,8 +710,9 @@ FIELD_TYPES = (
|
|
|
710
710
|
}},
|
|
711
711
|
),
|
|
712
712
|
_field_type(
|
|
713
|
-
"date", ("minimum", "maximum", "unique", "displayFormat"),
|
|
714
|
-
filter_operators=_DATE_FILTERS, record_value="YYYY-MM-DD | null",
|
|
713
|
+
"date", ("precision", "minimum", "maximum", "unique", "displayFormat"),
|
|
714
|
+
filter_operators=_DATE_FILTERS, record_value="YYYY | YYYY-MM | YYYY-MM-DD | null; precision year/month/day is immutable",
|
|
715
|
+
extra={"createExample": {"label": "Month", "key": "month", "description": "Reporting month", "type": "date", "typeVersion": "v2", "permission": "optional", "constraints": {"precision": "month"}}},
|
|
715
716
|
),
|
|
716
717
|
_field_type(
|
|
717
718
|
"select.single", ("options", "unique", "showColorDot"),
|
|
@@ -762,11 +763,13 @@ FIELD_TYPES = (
|
|
|
762
763
|
),
|
|
763
764
|
_field_type(
|
|
764
765
|
"time", ("precision", "minimum", "maximum", "unique", "displayFormat"),
|
|
765
|
-
filter_operators=_DATE_FILTERS, record_value="HH:
|
|
766
|
+
filter_operators=_DATE_FILTERS, record_value="HH | HH:mm | HH:mm:ss | null; precision hour/minute/second is immutable",
|
|
767
|
+
extra={"createExample": {"label": "Hour", "key": "hour", "description": "Scheduled hour", "type": "time", "typeVersion": "v2", "permission": "optional", "constraints": {"precision": "hour"}}},
|
|
766
768
|
),
|
|
767
769
|
_field_type(
|
|
768
|
-
"datetime", ("minimum", "maximum", "unique", "displayFormat"),
|
|
769
|
-
filter_operators=_DATE_FILTERS, record_value="
|
|
770
|
+
"datetime", ("precision", "minimum", "maximum", "unique", "displayFormat"),
|
|
771
|
+
filter_operators=_DATE_FILTERS, record_value="UTC YYYY-MM-DDTHH:mm:ssZ | null; precision hour/minute/second, aligned in Asia/Shanghai; no fractional seconds",
|
|
772
|
+
extra={"createExample": {"label": "Occurred at", "key": "occurred_at", "description": "Event timestamp", "type": "datetime", "typeVersion": "v2", "permission": "optional", "constraints": {"precision": "second"}}},
|
|
770
773
|
),
|
|
771
774
|
_field_type(
|
|
772
775
|
"email", ("maxLength", "placeholder", "unique"),
|
|
@@ -790,12 +793,12 @@ FIELD_TYPES = (
|
|
|
790
793
|
record_value="Markdown string | null",
|
|
791
794
|
),
|
|
792
795
|
_field_type(
|
|
793
|
-
"autonumber", ("
|
|
796
|
+
"autonumber", ("template", "start", "reset", "timezone", "prefix", "minDigits"),
|
|
794
797
|
writable=False, filter_operators=_TEXT_FILTERS, record_value="server-assigned string; omit on write",
|
|
795
|
-
extra={"createExample": {
|
|
798
|
+
extra={"ruleChanges": "Numbering rules are immutable after creation. Use template/start/reset/timezone, or legacy prefix/start/minDigits; never mix both forms. Omit the value on record writes.", "createExample": {
|
|
796
799
|
"label": "Class no", "key": "class_no", "description": "Auto number",
|
|
797
800
|
"type": "autonumber", "typeVersion": "v1", "permission": "readonly",
|
|
798
|
-
"constraints": {"
|
|
801
|
+
"constraints": {"template": "CLS{DATE:yyyyMM}{SEQ:3}", "start": 1, "reset": "month", "timezone": "Asia/Shanghai"},
|
|
799
802
|
}},
|
|
800
803
|
),
|
|
801
804
|
_field_type(
|
|
@@ -1643,6 +1646,7 @@ CATALOGS = {
|
|
|
1643
1646
|
"rules": "Copy every visible component and its version. Update/delete rows also require recordId and updatedAt. Relation is injected by the server; omit it from row values. API-key receipts are isolated per key. Conflict: reload, reconcile and use a new submissionId. Max 200 resulting detail rows.",
|
|
1644
1647
|
},
|
|
1645
1648
|
"formula-authoring": {
|
|
1649
|
+
"dependencies": "Single relations and collections can reuse formula/rollup results. Maximum dependency depth is 10; cycles are rejected. sources returns depth/dependencyIds; collections includes calculation metadata. validate returns dependencyGraph, or valid=false with code/errorPath. Pass fieldId when validating an existing field.",
|
|
1646
1650
|
"steps": ["formulas sources OBJECT discovers scalar paths; formulas collections OBJECT discovers stable object/field IDs.", "formulas validate OBJECT --json-file formula.json validates constraints; trial=true uses samples or a saved recordId.", "fields create/update saves metadata. records formula-preview previews runtime values without saving."],
|
|
1647
1651
|
"rollupExample": {"fieldType": "rollup", "constraints": {"source": {"mode": "reverse", "objectId": "obj_lines", "relationFieldId": "fld_order", "fieldId": "fld_amount"}, "operation": "sum", "resultType": "number", "scale": 2}, "trial": True, "recordId": "rec_order"},
|
|
1648
1652
|
"collectionExample": {"expression": "sum(lines)", "resultType": "number", "scale": 2, "languageVersion": 2, "collections": {"lines": {"mode": "reverse", "objectId": "obj_lines", "relationFieldId": "fld_order", "fieldId": "fld_amount"}}},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: flowbase-cli
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.18
|
|
4
4
|
Summary: Command line client for the FlowBase OpenAPI
|
|
5
5
|
Author: DeepFlowAI
|
|
6
6
|
License: Apache-2.0
|
|
@@ -318,9 +318,10 @@ Transport requests time out after 60 seconds. A lost write response has an unkno
|
|
|
318
318
|
|
|
319
319
|
### Recent feature authoring
|
|
320
320
|
|
|
321
|
+
- `flowbase docs catalogs field-types`: includes template autonumber configuration and date/time/datetime v2 creation examples. Numbering rules and temporal precision are immutable after creation; legacy numbering and temporal v1 remain supported.
|
|
321
322
|
- `flowbase docs catalogs planning`: tree/Gantt view snapshots, candidate queries and optimistic plan updates. Read a full view with `views list` before updating; preserve `displayMode`, `parentFieldId` and `gantt`.
|
|
322
323
|
- `flowbase docs catalogs record-bundles`: initialize, atomically submit and recover a parent/detail submission. Reuse a submission ID only with the identical request body.
|
|
323
|
-
- `flowbase docs catalogs formula-authoring`: formula/rollup sources, validation, saved-record trials and runtime draft preview. Derived values are read-only.
|
|
324
|
+
- `flowbase docs catalogs formula-authoring`: formula/rollup sources, validation, saved-record trials and runtime draft preview. Supports reuse of calculated results through single relations and multi-level rollups (up to 10 dependency levels). Validation returns `dependencyGraph`, or `valid=false` with `code`/`errorPath` for invalid dependencies. Pass `fieldId` when validating an existing field. Derived values are read-only.
|
|
324
325
|
- `flowbase docs catalogs workflow-python`: record creation examples and failed-task retry. `workflows python-runtime OBJECT new` discovers current object bindings; `workflows executions` includes Python attempts, logs and `canRetry`.
|
|
325
326
|
|
|
326
327
|
Use `records list OBJECT --view-id VIEW --view-layout` for tree/Gantt projections; the default remains a flat list. `records update` accepts `updatedAt` and `planViewId` in its JSON body for version-checked plan edits. Formula validation/trials require both metadata read and record read; workflow retry requires both metadata write and record write and explicit CLI confirmation (`--yes` in automation).
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|