current-cli 0.1.32__tar.gz → 0.1.33__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: current-cli
3
- Version: 0.1.32
3
+ Version: 0.1.33
4
4
  Summary: Command line interface for the Current API, generated from its OpenAPI schema at runtime
5
5
  Author-email: Orin <your-email@example.com>
6
6
  License-Expression: MIT
@@ -1775,6 +1775,52 @@ paths:
1775
1775
  schema:
1776
1776
  $ref: '#/components/schemas/Project'
1777
1777
  description: ''
1778
+ /api/projects/projects/inventory/:
1779
+ get:
1780
+ operationId: projects_projects_inventory_retrieve
1781
+ description: |-
1782
+ Page current field values, optionally narrowed to named keys.
1783
+
1784
+ The full project list serializes every field of every project —
1785
+ megabytes at production scale. This page is the compact census a
1786
+ chat agent can scan: identity plus the keys it asked for, no
1787
+ timeline, no provenance. See state.list_projects.
1788
+ parameters:
1789
+ - in: query
1790
+ name: fields
1791
+ schema:
1792
+ type: array
1793
+ items:
1794
+ type: string
1795
+ description: Field keys to keep; omit to return every current value
1796
+ - in: query
1797
+ name: limit
1798
+ schema:
1799
+ type: integer
1800
+ description: Max projects per page (default 100, max 200)
1801
+ - in: query
1802
+ name: offset
1803
+ schema:
1804
+ type: integer
1805
+ description: Number of projects to skip (default 0)
1806
+ - in: query
1807
+ name: workspace
1808
+ schema:
1809
+ type: string
1810
+ description: Workspace UUID
1811
+ required: true
1812
+ tags:
1813
+ - projects
1814
+ security:
1815
+ - MessagingJobTokenAuth: []
1816
+ - tokenAuth: []
1817
+ responses:
1818
+ '200':
1819
+ content:
1820
+ application/json:
1821
+ schema:
1822
+ $ref: '#/components/schemas/ProjectInventoryResponse'
1823
+ description: ''
1778
1824
  /api/projects/projects/search/:
1779
1825
  get:
1780
1826
  operationId: projects_projects_search_retrieve
@@ -4650,6 +4696,39 @@ components:
4650
4696
  - key
4651
4697
  - label
4652
4698
  - workspace
4699
+ ProjectInventoryItem:
4700
+ type: object
4701
+ description: 'One project on an inventory page: identity plus the requested
4702
+ fields.'
4703
+ properties:
4704
+ id:
4705
+ type: string
4706
+ format: uuid
4707
+ fields: {}
4708
+ required:
4709
+ - fields
4710
+ - id
4711
+ ProjectInventoryResponse:
4712
+ type: object
4713
+ description: A page of current field values. ``next_offset`` is null on the
4714
+ last page.
4715
+ properties:
4716
+ total:
4717
+ type: integer
4718
+ offset:
4719
+ type: integer
4720
+ next_offset:
4721
+ type: integer
4722
+ nullable: true
4723
+ projects:
4724
+ type: array
4725
+ items:
4726
+ $ref: '#/components/schemas/ProjectInventoryItem'
4727
+ required:
4728
+ - next_offset
4729
+ - offset
4730
+ - projects
4731
+ - total
4653
4732
  ProjectRequest:
4654
4733
  type: object
4655
4734
  properties:
@@ -600,6 +600,23 @@ PUT /api/projects/field-definitions/{id}/
600
600
  Options:
601
601
  - `--data` (required) - Request body as JSON: inline, @file.json, or - for stdin.
602
602
 
603
+ ### current projects inventory retrieve
604
+
605
+ Page current field values, optionally narrowed to named keys.
606
+
607
+ The full project list serializes every field of every project —
608
+ megabytes at production scale. This page is the compact census a
609
+ chat agent can scan: identity plus the keys it asked for, no
610
+ timeline, no provenance. See state.list_projects.
611
+
612
+ GET /api/projects/projects/inventory/
613
+
614
+ Options:
615
+ - `--fields` - Field keys to keep; omit to return every current value
616
+ - `--limit` - Max projects per page (default 100, max 200)
617
+ - `--offset` - Number of projects to skip (default 0)
618
+ - `--workspace` - Workspace UUID
619
+
603
620
  ### current projects list
604
621
 
605
622
  Projects across the caller's workspaces. Any member can create a
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "current-cli"
3
- version = "0.1.32"
3
+ version = "0.1.33"
4
4
  description = "Command line interface for the Current API, generated from its OpenAPI schema at runtime"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
File without changes
File without changes