@keystrokehq/cli 1.0.9 → 1.0.10

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/index.mjs CHANGED
@@ -3548,6 +3548,14 @@ function createOrganizationsResource(http, options = {}) {
3548
3548
  }
3549
3549
  };
3550
3550
  }
3551
+ /** Provisional — returns empty until platform workspace listing ships. */
3552
+ async function listAgentWorkspaceFilesProvisional(_agentId) {
3553
+ return { files: [] };
3554
+ }
3555
+ /** Provisional — returns empty until platform workspace content ships. */
3556
+ async function getAgentWorkspaceFileContentProvisional(_agentId, _path) {
3557
+ return "";
3558
+ }
3551
3559
  function listSearchParams(options) {
3552
3560
  const params = {};
3553
3561
  const projectId = options?.projectId?.trim();
@@ -3639,6 +3647,14 @@ function createAgentsResource(http) {
3639
3647
  } catch (error) {
3640
3648
  throw await toPlatformError(error);
3641
3649
  }
3650
+ },
3651
+ /** Provisional — persistent agent workspace files under `/workspace/agent`. */
3652
+ async listWorkspaceFiles(agentId) {
3653
+ return listAgentWorkspaceFilesProvisional(agentId);
3654
+ },
3655
+ /** Provisional — content for a path from {@link listWorkspaceFiles}. */
3656
+ async getWorkspaceFileContent(agentId, path) {
3657
+ return getAgentWorkspaceFileContentProvisional(agentId, path);
3642
3658
  }
3643
3659
  };
3644
3660
  }