@duvoai/cli 0.1.0 → 0.1.1

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.
Files changed (95) hide show
  1. package/README.md +22 -11
  2. package/dist/bin/duvo.js +9840 -6
  3. package/dist/bin/duvo.js.map +7 -0
  4. package/package.json +10 -8
  5. package/dist/api/agent-schemas.d.ts +0 -521
  6. package/dist/api/agent-schemas.js +0 -36
  7. package/dist/api/parse-fields.d.ts +0 -25
  8. package/dist/api/parse-fields.js +0 -86
  9. package/dist/api/read-input.d.ts +0 -6
  10. package/dist/api/read-input.js +0 -28
  11. package/dist/api/run-schemas.d.ts +0 -621
  12. package/dist/api/run-schemas.js +0 -91
  13. package/dist/bin/create-program.d.ts +0 -7
  14. package/dist/bin/create-program.js +0 -34
  15. package/dist/bin/duvo.d.ts +0 -2
  16. package/dist/client/client.d.ts +0 -23
  17. package/dist/client/client.js +0 -96
  18. package/dist/commands/agents/create.d.ts +0 -2
  19. package/dist/commands/agents/create.js +0 -182
  20. package/dist/commands/agents/get.d.ts +0 -2
  21. package/dist/commands/agents/get.js +0 -36
  22. package/dist/commands/agents/index.d.ts +0 -2
  23. package/dist/commands/agents/index.js +0 -11
  24. package/dist/commands/agents/list.d.ts +0 -2
  25. package/dist/commands/agents/list.js +0 -61
  26. package/dist/commands/api-render.d.ts +0 -8
  27. package/dist/commands/api-render.js +0 -72
  28. package/dist/commands/api.d.ts +0 -2
  29. package/dist/commands/api.js +0 -90
  30. package/dist/commands/login.d.ts +0 -2
  31. package/dist/commands/login.js +0 -80
  32. package/dist/commands/logout.d.ts +0 -2
  33. package/dist/commands/logout.js +0 -38
  34. package/dist/commands/profiles/index.d.ts +0 -2
  35. package/dist/commands/profiles/index.js +0 -13
  36. package/dist/commands/profiles/list.d.ts +0 -2
  37. package/dist/commands/profiles/list.js +0 -22
  38. package/dist/commands/profiles/remove.d.ts +0 -2
  39. package/dist/commands/profiles/remove.js +0 -30
  40. package/dist/commands/profiles/rename.d.ts +0 -2
  41. package/dist/commands/profiles/rename.js +0 -20
  42. package/dist/commands/profiles/render-list.d.ts +0 -12
  43. package/dist/commands/profiles/render-list.js +0 -37
  44. package/dist/commands/profiles/use.d.ts +0 -2
  45. package/dist/commands/profiles/use.js +0 -17
  46. package/dist/commands/runs/get.d.ts +0 -2
  47. package/dist/commands/runs/get.js +0 -59
  48. package/dist/commands/runs/index.d.ts +0 -2
  49. package/dist/commands/runs/index.js +0 -17
  50. package/dist/commands/runs/messages.d.ts +0 -2
  51. package/dist/commands/runs/messages.js +0 -80
  52. package/dist/commands/runs/respond.d.ts +0 -2
  53. package/dist/commands/runs/respond.js +0 -105
  54. package/dist/commands/runs/send-message.d.ts +0 -2
  55. package/dist/commands/runs/send-message.js +0 -41
  56. package/dist/commands/runs/start.d.ts +0 -2
  57. package/dist/commands/runs/start.js +0 -54
  58. package/dist/commands/runs/stop.d.ts +0 -2
  59. package/dist/commands/runs/stop.js +0 -41
  60. package/dist/commands/shared/confirm.d.ts +0 -19
  61. package/dist/commands/shared/confirm.js +0 -28
  62. package/dist/commands/shared/pagination.d.ts +0 -8
  63. package/dist/commands/shared/pagination.js +0 -24
  64. package/dist/commands/shared/profile-flag.d.ts +0 -8
  65. package/dist/commands/shared/profile-flag.js +0 -17
  66. package/dist/commands/shared/require-auth.d.ts +0 -12
  67. package/dist/commands/shared/require-auth.js +0 -18
  68. package/dist/commands/whoami.d.ts +0 -2
  69. package/dist/commands/whoami.js +0 -14
  70. package/dist/config/defaults.d.ts +0 -3
  71. package/dist/config/defaults.js +0 -4
  72. package/dist/config/env.d.ts +0 -17
  73. package/dist/config/env.js +0 -13
  74. package/dist/config/paths.d.ts +0 -2
  75. package/dist/config/paths.js +0 -14
  76. package/dist/config/profiles.d.ts +0 -24
  77. package/dist/config/profiles.js +0 -78
  78. package/dist/config/resolve.d.ts +0 -29
  79. package/dist/config/resolve.js +0 -46
  80. package/dist/config/store.d.ts +0 -4
  81. package/dist/config/store.js +0 -94
  82. package/dist/config/types.d.ts +0 -8
  83. package/dist/config/types.js +0 -1
  84. package/dist/errors.d.ts +0 -22
  85. package/dist/errors.js +0 -42
  86. package/dist/output/format.d.ts +0 -11
  87. package/dist/output/format.js +0 -26
  88. package/dist/output/green.d.ts +0 -5
  89. package/dist/output/green.js +0 -18
  90. package/dist/output/json.d.ts +0 -6
  91. package/dist/output/json.js +0 -8
  92. package/dist/output/table.d.ts +0 -16
  93. package/dist/output/table.js +0 -35
  94. package/dist/output/text.d.ts +0 -9
  95. package/dist/output/text.js +0 -13
package/README.md CHANGED
@@ -46,16 +46,27 @@ duvo --profile team-2 whoami # one-off override for a single command
46
46
 
47
47
  ## Commands
48
48
 
49
- | Command | Description |
50
- | ------------------------------ | -------------------------------------- |
51
- | `duvo login` | Store an API key under a named profile |
52
- | `duvo logout` | Remove a profile |
53
- | `duvo whoami` | Show the active profile and masked key |
54
- | `duvo profiles <subcmd>` | `list`, `use`, `rename`, `remove` |
55
- | `duvo agents list` | List agents on your team |
56
- | `duvo agents get <id>` | Show details for one agent |
57
- | `duvo agents create` | Create a new agent |
58
- | `duvo runs start --agent <id>` | Start a new run for the given agent |
59
- | `duvo api <method> <path>` | Make a raw authenticated API request |
49
+ | Command | Description |
50
+ | --------------------------------------------------- | ------------------------------------------------------- |
51
+ | `duvo login` | Store an API key under a named profile |
52
+ | `duvo logout` | Remove a profile |
53
+ | `duvo whoami` | Show the active profile, API key owner, and masked key |
54
+ | `duvo profiles <subcmd>` | `list`, `use`, `rename`, `remove` |
55
+ | `duvo agents list` | List agents on your team |
56
+ | `duvo agents get <id>` | Show details for one agent |
57
+ | `duvo agents create` | Create a new agent |
58
+ | `duvo agents update <id>` | Update an agent's name or settings |
59
+ | `duvo agent-folders list` | List agent folders for your team |
60
+ | `duvo agent-folders create` | Create an agent folder |
61
+ | `duvo agent-folders update <id>` | Rename or move an agent folder |
62
+ | `duvo agent-folders delete <id>` | Delete an agent folder |
63
+ | `duvo agent-folders move-agents` | Move agents into a folder or to root |
64
+ | `duvo runs start --agent <id>` | Start a new run for the given agent |
65
+ | `duvo runs list` | List runs for your team (filter by agent, status, etc.) |
66
+ | `duvo sandboxes create` | Create a sandbox for staging files |
67
+ | `duvo sandboxes files <id>` | List files in a sandbox directory |
68
+ | `duvo sandboxes upload <id> <file>` | Upload a local file (max 10MB) |
69
+ | `duvo sandboxes prepare-upload-url <id> --path <p>` | Get a presigned upload URL |
70
+ | `duvo api <method> <path>` | Make a raw authenticated API request |
60
71
 
61
72
  Run `duvo <command> --help` for full flags on any command.