current-cli 0.1.36__tar.gz → 0.1.37__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.36
3
+ Version: 0.1.37
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
@@ -1053,6 +1053,16 @@ paths:
1053
1053
  definition the agent declares no inputs, so it gets the company tree
1054
1054
  plus every project tree and decides for itself what it needs.
1055
1055
 
1056
+ An index, not a copy: the sandbox fetches a file's bytes only when the
1057
+ model reads that file. That is what lets this stay workspace-wide now
1058
+ that a workspace mirrors its Sitetracker documents — gigabytes of
1059
+ scans that ``read_file`` could only refuse, and that an attachment
1060
+ reads here from object storage rather than from the sandbox.
1061
+
1062
+ ``truncated`` says the workspace holds more than this answer names, so
1063
+ the agent can tell a user "I cannot see all of your files" instead of
1064
+ reporting a file it was never given as one the workspace does not have.
1065
+
1056
1066
  POST, for a read, because the job-token permission class reads the
1057
1067
  workspace id out of the request body — the same contract every other
1058
1068
  messaging-job endpoint uses.
@@ -4241,6 +4251,9 @@ components:
4241
4251
  type: array
4242
4252
  items:
4243
4253
  $ref: '#/components/schemas/ManifestEntry'
4254
+ truncated:
4255
+ type: boolean
4256
+ default: false
4244
4257
  required:
4245
4258
  - files
4246
4259
  Me:
@@ -383,6 +383,16 @@ message can turn out to be about any project, and unlike a workflow
383
383
  definition the agent declares no inputs, so it gets the company tree
384
384
  plus every project tree and decides for itself what it needs.
385
385
 
386
+ An index, not a copy: the sandbox fetches a file's bytes only when the
387
+ model reads that file. That is what lets this stay workspace-wide now
388
+ that a workspace mirrors its Sitetracker documents — gigabytes of
389
+ scans that ``read_file`` could only refuse, and that an attachment
390
+ reads here from object storage rather than from the sandbox.
391
+
392
+ ``truncated`` says the workspace holds more than this answer names, so
393
+ the agent can tell a user "I cannot see all of your files" instead of
394
+ reporting a file it was never given as one the workspace does not have.
395
+
386
396
  POST, for a read, because the job-token permission class reads the
387
397
  workspace id out of the request body — the same contract every other
388
398
  messaging-job endpoint uses.
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "current-cli"
3
- version = "0.1.36"
3
+ version = "0.1.37"
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