openpond 0.0.30-bootstrap.0

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 (193) hide show
  1. package/CHANGELOG.md +128 -0
  2. package/LICENSE +21 -0
  3. package/README.md +162 -0
  4. package/RELEASE.md +20 -0
  5. package/dist/api/core.d.ts +22 -0
  6. package/dist/api/deployments.d.ts +30 -0
  7. package/dist/api/types.d.ts +624 -0
  8. package/dist/api.d.ts +90 -0
  9. package/dist/cache.d.ts +22 -0
  10. package/dist/chunks/app-layer-YKXEQGOW.js +163 -0
  11. package/dist/chunks/apps-GGSIN2ZF.js +539 -0
  12. package/dist/chunks/chunk-3CC6MH35.js +1663 -0
  13. package/dist/chunks/chunk-3Y4EL3P6.js +1090 -0
  14. package/dist/chunks/chunk-4HYJG2JE.js +3875 -0
  15. package/dist/chunks/chunk-5G4E547X.js +294 -0
  16. package/dist/chunks/chunk-74O6FGVN.js +598 -0
  17. package/dist/chunks/chunk-AUJLPKGI.js +632 -0
  18. package/dist/chunks/chunk-BYAPLT37.js +744 -0
  19. package/dist/chunks/chunk-FUP7EGT7.js +1845 -0
  20. package/dist/chunks/chunk-I6HN3ZGW.js +88 -0
  21. package/dist/chunks/chunk-KRKGHVMQ.js +294 -0
  22. package/dist/chunks/chunk-LHYK6QO2.js +1300 -0
  23. package/dist/chunks/chunk-NLBKZZEK.js +224 -0
  24. package/dist/chunks/chunk-OG75GMVO.js +1 -0
  25. package/dist/chunks/chunk-Q57SVPEH.js +11663 -0
  26. package/dist/chunks/chunk-UACZUFIA.js +47 -0
  27. package/dist/chunks/chunk-VQX33YAG.js +5135 -0
  28. package/dist/chunks/chunk-W5GKHH77.js +168 -0
  29. package/dist/chunks/chunk-WYDVQOBL.js +17581 -0
  30. package/dist/chunks/chunk-XSAXENQD.js +4167 -0
  31. package/dist/chunks/chunk-Y6G6WRTG.js +210 -0
  32. package/dist/chunks/cli-NVKNE4AZ.js +11 -0
  33. package/dist/chunks/cli-X3HPLSOV.js +19 -0
  34. package/dist/chunks/core-commands-IM2UKLU4.js +41 -0
  35. package/dist/chunks/extend-YXCBULPO.js +84 -0
  36. package/dist/chunks/harness-GMK6IY2U.js +140 -0
  37. package/dist/chunks/help-LMH5FGT2.js +65 -0
  38. package/dist/chunks/opchat-BWXZ32GX.js +169 -0
  39. package/dist/chunks/organizations-4ISQRGMQ.js +738 -0
  40. package/dist/chunks/profile-NLDZDT3L.js +1110 -0
  41. package/dist/chunks/project-agent-ZPVO25HA.js +892 -0
  42. package/dist/chunks/sandbox-command-5GFJ2U3V.js +1652 -0
  43. package/dist/chunks/sandbox-template-LZN4F55Z.js +1646 -0
  44. package/dist/chunks/src-3RBI4DNN.js +3595 -0
  45. package/dist/chunks/src-EYXQS6XD.js +73427 -0
  46. package/dist/chunks/teams-bot-WP3FHKGA.js +137 -0
  47. package/dist/cli.js +77 -0
  48. package/dist/client-types.d.ts +222 -0
  49. package/dist/client.d.ts +19 -0
  50. package/dist/config.d.ts +184 -0
  51. package/dist/hosted-chat.d.ts +162 -0
  52. package/dist/index.d.ts +5 -0
  53. package/dist/index.js +25481 -0
  54. package/dist/indicators.d.ts +38 -0
  55. package/dist/opchat-smoke.d.ts +47 -0
  56. package/dist/private-json-file.d.ts +3 -0
  57. package/dist/profile/local-profile-types.d.ts +160 -0
  58. package/dist/profile/local-profile.d.ts +69 -0
  59. package/dist/profile/profile-catalog.d.ts +14 -0
  60. package/dist/profile/profile-git.d.ts +17 -0
  61. package/dist/profile/profile-promotion.d.ts +21 -0
  62. package/dist/profile/profile-setup-gate.d.ts +22 -0
  63. package/dist/profile/profile-skills.d.ts +30 -0
  64. package/dist/profile/profile-source-upload.d.ts +29 -0
  65. package/dist/profile/source-upload-cache.d.ts +29 -0
  66. package/dist/sandbox/async-request-options.d.ts +2 -0
  67. package/dist/sandbox/client-handles.d.ts +113 -0
  68. package/dist/sandbox/client.d.ts +348 -0
  69. package/dist/sandbox/runtime-handle.d.ts +36 -0
  70. package/dist/sandbox/sandbox-instance-client.d.ts +72 -0
  71. package/dist/sandbox/smoke.d.ts +3 -0
  72. package/dist/sandbox/stream.d.ts +7 -0
  73. package/dist/sandbox/types/billing.d.ts +176 -0
  74. package/dist/sandbox/types/client.d.ts +103 -0
  75. package/dist/sandbox/types/core.d.ts +140 -0
  76. package/dist/sandbox/types/index.d.ts +14 -0
  77. package/dist/sandbox/types/io.d.ts +240 -0
  78. package/dist/sandbox/types/microsoft-teams-bot.d.ts +51 -0
  79. package/dist/sandbox/types/org-project-agent.d.ts +610 -0
  80. package/dist/sandbox/types/record.d.ts +53 -0
  81. package/dist/sandbox/types/responses.d.ts +295 -0
  82. package/dist/sandbox/types/runtime-profiles.d.ts +15 -0
  83. package/dist/sandbox/types/runtime.d.ts +152 -0
  84. package/dist/sandbox/types/schedules.d.ts +141 -0
  85. package/dist/sandbox/types/snapshots.d.ts +205 -0
  86. package/dist/sandbox/types/workflow-modes.d.ts +1 -0
  87. package/dist/sandbox/types/workload-sources.d.ts +20 -0
  88. package/dist/sandbox/url.d.ts +2 -0
  89. package/dist/sandbox-template/manifest.d.ts +304 -0
  90. package/dist/sandbox-template/manifest.js +18381 -0
  91. package/dist/skills/openpond-cli/SKILL.md +49 -0
  92. package/dist/skills/openpond-desktop-harness/SKILL.md +113 -0
  93. package/dist/skills/openpond-desktop-harness/agents/openai.yaml +4 -0
  94. package/dist/skills/openpond-taskset-authoring/SKILL.md +38 -0
  95. package/dist/skills/openpond-taskset-authoring/references/graders-and-rewards.md +11 -0
  96. package/dist/skills/openpond-taskset-authoring/references/method-selection.md +12 -0
  97. package/dist/skills/openpond-taskset-authoring/references/privacy-and-provenance.md +8 -0
  98. package/dist/skills/openpond-taskset-authoring/references/task-design.md +13 -0
  99. package/dist/stream.d.ts +20 -0
  100. package/dist/types.d.ts +57 -0
  101. package/dist/urls.d.ts +4 -0
  102. package/dist/web/assets/AppsView-Bu-Nc3Ew.js +1 -0
  103. package/dist/web/assets/AppsView-DIhprTIC.css +1 -0
  104. package/dist/web/assets/BrowserSidebar-CCguQ-DR.js +1 -0
  105. package/dist/web/assets/BrowserSidebar-D9i7gQzw.css +1 -0
  106. package/dist/web/assets/CloudWorkView-DNoPIlMj.css +1 -0
  107. package/dist/web/assets/CloudWorkView-Dr3xqLE5.js +1 -0
  108. package/dist/web/assets/CommandMenu-CnodJFHD.js +1 -0
  109. package/dist/web/assets/CommandMenu-hNQCm8mw.css +1 -0
  110. package/dist/web/assets/CommunityView-CIbjNUZr.js +1 -0
  111. package/dist/web/assets/CommunityView-DSik4sd2.css +1 -0
  112. package/dist/web/assets/GetStartedView-C3ZrnEz5.css +1 -0
  113. package/dist/web/assets/GetStartedView-C8nyH_PT.js +1 -0
  114. package/dist/web/assets/LabsExtensions-GtJzxDnK.js +1 -0
  115. package/dist/web/assets/LabsProfile-DG7rWYur.js +1 -0
  116. package/dist/web/assets/LabsRoute-D6MDHBzq.js +2 -0
  117. package/dist/web/assets/LabsRoute-TEt9j1vB.css +1 -0
  118. package/dist/web/assets/LabsSignals-BfsDN86w.js +1 -0
  119. package/dist/web/assets/LabsSignals-D6iA6Ryl.css +1 -0
  120. package/dist/web/assets/NewProjectDialog-CaKiCoVS.js +1 -0
  121. package/dist/web/assets/ProfileSettingsSection-DTQS2DVL.css +1 -0
  122. package/dist/web/assets/ProfileSettingsSection-DxEzoF3K.js +1 -0
  123. package/dist/web/assets/ProfileView-CEscW7Ru.js +1 -0
  124. package/dist/web/assets/SettingsView-DwbGu8Kj.css +1 -0
  125. package/dist/web/assets/SettingsView-JIRR_FO4.js +63 -0
  126. package/dist/web/assets/TeamChatView-B5M1ThhJ.js +3 -0
  127. package/dist/web/assets/TeamChatView-Bx44q3WV.css +1 -0
  128. package/dist/web/assets/TerminalOverlay-C1iP4OS1.js +19 -0
  129. package/dist/web/assets/TerminalOverlay-DwBiZLwk.css +1 -0
  130. package/dist/web/assets/TrainingSettingsSection-BDYvI2te.js +1 -0
  131. package/dist/web/assets/TrainingView-CoCFK6W3.js +5 -0
  132. package/dist/web/assets/WorkspaceDiffPanel-CMxKQeo7.js +14 -0
  133. package/dist/web/assets/WorkspaceEnvironmentMenu-B8JJbwIz.js +32 -0
  134. package/dist/web/assets/WorkspaceEnvironmentMenu-DGIFdG3o.css +1 -0
  135. package/dist/web/assets/WorkspaceGitDialogs-B4sp9BGn.js +1 -0
  136. package/dist/web/assets/WorkspaceMonacoEditor-BBqimG5X.js +845 -0
  137. package/dist/web/assets/WorkspaceMonacoEditor-BwKcXIZw.css +1 -0
  138. package/dist/web/assets/boxes-DAaDUabq.js +1 -0
  139. package/dist/web/assets/codicon-ngg6Pgfi.ttf +0 -0
  140. package/dist/web/assets/css.worker-DBVD8oXr.js +93 -0
  141. package/dist/web/assets/cssMode-CBF1mieJ.js +1 -0
  142. package/dist/web/assets/dockerfile-BG73LgW2.js +1 -0
  143. package/dist/web/assets/editor.worker-CdQrwHl8.js +26 -0
  144. package/dist/web/assets/git-commit-horizontal-CAickXpN.js +1 -0
  145. package/dist/web/assets/git-dialogs-BZDqS1eT.css +1 -0
  146. package/dist/web/assets/html.worker-CwpTb9lJ.js +470 -0
  147. package/dist/web/assets/htmlMode-2u8OHtWO.js +1 -0
  148. package/dist/web/assets/index-BdY6A-YN.css +1 -0
  149. package/dist/web/assets/index-CU2qhUYV.js +195 -0
  150. package/dist/web/assets/index-Dz2B3-4C.js +1 -0
  151. package/dist/web/assets/info-CQNTh78o.js +1 -0
  152. package/dist/web/assets/json.worker-BoL8UZqY.js +58 -0
  153. package/dist/web/assets/jsonMode-C4CWXViX.js +7 -0
  154. package/dist/web/assets/lspLanguageFeatures-CBs_BOlB.js +4 -0
  155. package/dist/web/assets/markdown-BFxVWTOG.js +1 -0
  156. package/dist/web/assets/monaco.contribution-C1LUxAKf.js +2 -0
  157. package/dist/web/assets/monaco.contribution-Cpf6dWsh.js +2 -0
  158. package/dist/web/assets/monaco.contribution-lOXpG2xQ.js +2 -0
  159. package/dist/web/assets/monaco.contribution-sd3cFkcN.js +2 -0
  160. package/dist/web/assets/monitor-DsIswrMV.js +1 -0
  161. package/dist/web/assets/play-CeRw21NV.js +1 -0
  162. package/dist/web/assets/python-CXYq3BUl.js +1 -0
  163. package/dist/web/assets/refresh-cw-N5b_6AP5.js +1 -0
  164. package/dist/web/assets/reply-BSKjZrJg.js +1 -0
  165. package/dist/web/assets/save-D0oHH1a3.js +1 -0
  166. package/dist/web/assets/settings-lists-BEg6LMcy.css +1 -0
  167. package/dist/web/assets/shell-DiJ1NA_G.js +1 -0
  168. package/dist/web/assets/toggleHighContrast-B7NOMXDY.css +1 -0
  169. package/dist/web/assets/toggleHighContrast-DRjlcwes.js +62 -0
  170. package/dist/web/assets/training-model-data-BPrc68VG.js +1 -0
  171. package/dist/web/assets/ts.worker-BH9nVgjN.js +67718 -0
  172. package/dist/web/assets/tsMode-x-1A7ZcB.js +11 -0
  173. package/dist/web/assets/wifi-off-Dt52ofzh.js +1 -0
  174. package/dist/web/assets/workers-Ciff6Dzi.js +1 -0
  175. package/dist/web/assets/yaml-CB67Kxnz.js +1 -0
  176. package/dist/web/connected-apps/github.svg +3 -0
  177. package/dist/web/connected-apps/google.svg +6 -0
  178. package/dist/web/connected-apps/linear.svg +3 -0
  179. package/dist/web/connected-apps/microsoft.svg +6 -0
  180. package/dist/web/connected-apps/notion.svg +3 -0
  181. package/dist/web/connected-apps/openpond-mcp.svg +4 -0
  182. package/dist/web/connected-apps/slack.svg +6 -0
  183. package/dist/web/connected-apps/x.svg +3 -0
  184. package/dist/web/favicon-16x16.png +0 -0
  185. package/dist/web/favicon-32x32.png +0 -0
  186. package/dist/web/index.html +16 -0
  187. package/dist/web/openpond-icon.png +0 -0
  188. package/dist/web/openpond-wordlogo-white.png +0 -0
  189. package/dist/web/tokens/eth.svg +1 -0
  190. package/dist/web/tokens/usdc.svg +1 -0
  191. package/docs/agent-edit-check-status-json.md +132 -0
  192. package/docs/command-reference.md +695 -0
  193. package/package.json +84 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,128 @@
1
+ # openpond
2
+
3
+ ## 0.5.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 812a6dc: Fix env handling and add more hosted-workspace support.
8
+
9
+ ## 0.5.2
10
+
11
+ ### Patch Changes
12
+
13
+ - 9f9094a: Remove managed database declarations from the hosted workspace template and create/fork request contracts. Templates should use durable volumes with SQLite or files for structured workspace state.
14
+
15
+ Add template startup validation so template authors can validate the current manifest, sync the local repo through OpenPond Git, create a hosted workspace with declared resources and volumes, upload declared file inputs, and run the selected start/action/service command with replay params.
16
+
17
+ ## 0.5.1
18
+
19
+ ### Patch Changes
20
+
21
+ - 2281254: renamed yaml file
22
+
23
+ ## 0.5.0
24
+
25
+ ### Minor Changes
26
+
27
+ - 74a6833: Add hosted workspaces.
28
+
29
+ ## 0.4.0
30
+
31
+ ### Minor Changes
32
+
33
+ - f5646cb: added balances
34
+
35
+ ## 0.3.5
36
+
37
+ ### Patch Changes
38
+
39
+ - bf8b0e6: added more agent controls
40
+
41
+ ## 0.3.4
42
+
43
+ ### Patch Changes
44
+
45
+ - 36f0422: added chat
46
+
47
+ ## 0.3.3
48
+
49
+ ### Patch Changes
50
+
51
+ - 37b3a33: fixed missing listappschedles
52
+
53
+ ## 0.3.2
54
+
55
+ ### Patch Changes
56
+
57
+ - 5c9db6b: fixed account active
58
+
59
+ ## 0.3.1
60
+
61
+ ### Patch Changes
62
+
63
+ - 32ae02a: api base url
64
+ - 32ae02a: Add profile-specific API base URL config and remove hardcoded environment endpoint mappings from the CLI/runtime bundle.
65
+
66
+ ## 0.3.0
67
+
68
+ ### Minor Changes
69
+
70
+ - bb4018e: updated docs
71
+
72
+ ## 0.2.4
73
+
74
+ ### Patch Changes
75
+
76
+ - 4cac928: Add public account, API health, and redacted local profile config helpers.
77
+
78
+ ## 0.2.3
79
+
80
+ ### Patch Changes
81
+
82
+ - 59a2c17: remove cli device code login
83
+
84
+ ## 0.2.2
85
+
86
+ ### Patch Changes
87
+
88
+ - 0212347: added version command
89
+
90
+ ## 0.2.1
91
+
92
+ ### Patch Changes
93
+
94
+ - d1479e9: updated base url
95
+
96
+ ## 0.2.0
97
+
98
+ ### Minor Changes
99
+
100
+ - b6e5f07: added multi accounts
101
+
102
+ ## 0.1.4
103
+
104
+ ### Patch Changes
105
+
106
+ - bb79cf8: cleaned up naming
107
+
108
+ ## 0.1.3
109
+
110
+ ### Patch Changes
111
+
112
+ - 96cbdc6: depreciated templateid
113
+
114
+ ## 0.1.2
115
+
116
+ ### Patch Changes
117
+
118
+ - 176a699: updated endpoints
119
+
120
+ ## 0.1.1
121
+
122
+ ### Patch Changes
123
+
124
+ - 05f2e19: testing github push
125
+
126
+ ## 0.1.0
127
+
128
+ - Initial release of the API key CLI.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 OpenPond contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,162 @@
1
+ # openpond
2
+
3
+ OpenPond CLI
4
+
5
+ The generated [command reference](./docs/command-reference.md) is the authoritative command and option inventory.
6
+
7
+ Install:
8
+
9
+ ```bash
10
+ npm i -g openpond
11
+ # or
12
+ npx --package openpond openpond tool list handle/repo
13
+ # or (curl installer)
14
+ curl -fsSL https://openpond.ai/install.sh | bash
15
+ ```
16
+
17
+ Login (stores key in `~/.openpond/config.json`):
18
+
19
+ ```bash
20
+ openpond login
21
+ # or (non-interactive)
22
+ openpond login --api-key opk_...
23
+ # or save under an account profile
24
+ openpond login --account production --api-key opk_prod_...
25
+ openpond login --account secondary --api-key opk_secondary_...
26
+ ```
27
+
28
+ Commands:
29
+
30
+ ```bash
31
+ openpond --version
32
+ openpond --check-update
33
+ openpond profiles list
34
+ openpond profiles use production
35
+ openpond profiles save secondary --api-key opk_...
36
+ openpond account
37
+ openpond health
38
+ openpond --account production apps list
39
+ openpond tool list <handle>/<repo>
40
+ openpond tool run <handle>/<repo> <tool> --body '{"foo":"bar"}'
41
+ openpond deploy watch <handle>/<repo> --branch main
42
+ openpond template status <handle>/<repo>
43
+ openpond template branches <handle>/<repo>
44
+ openpond template update <handle>/<repo> --env production
45
+ openpond repo create --name my-repo --path .
46
+ openpond repo push --path . --branch main
47
+ openpond apps list [--handle <handle>] [--refresh] [--json]
48
+ openpond apps tools
49
+ openpond apps deploy <handle>/<repo> --env production --watch
50
+ openpond apps env get <handle>/<repo>
51
+ openpond apps env set <handle>/<repo> --env '{"OPENTOOL_PUBLIC_HL_SIGNAL_BOT_CONFIG":"..."}'
52
+ openpond apps performance [--app-id <id>]
53
+ openpond apps agent create --prompt "Build a daily digest agent"
54
+ openpond apps tools execute <appId> <deploymentId> <tool> --body '{"foo":"bar"}'
55
+ openpond apps positions tx --method GET --params '{"status":"open"}'
56
+ openpond opentool init --dir .
57
+ ```
58
+
59
+ Global account selection:
60
+
61
+ - `--account <name>` (alias `--profile <name>`) selects which stored account/API key to use.
62
+ - `--base-url <url>` (alias `--baseurl`) selects the account entry matching that base URL when duplicate handles exist.
63
+ - `OPENPOND_ACCOUNT=<name>` sets the default selected account for a shell/session.
64
+ - If omitted, CLI uses the last active stored account.
65
+
66
+ Command reference:
67
+
68
+ - `openpond login`: prompt for API key and save to `~/.openpond/config.json`.
69
+ - `openpond login --api-key <key>`: save the API key without prompting.
70
+ - `openpond profiles list`: list redacted local profiles from `~/.openpond/config.json`.
71
+ - `openpond profiles use <name> [--base-url <url>]`: switch the active local profile.
72
+ - `openpond profiles save <name> --api-key <key> [--base-url <url>] [--environment <name>]`: save or update a local profile API key.
73
+ - `openpond account`: fetch current account/profile fields and active products for the selected API key.
74
+ - `openpond health`: check public API reachability and selected API-key auth health when a key is configured.
75
+ - `openpond tool list <handle>/<repo>`: list tools for the latest deployment.
76
+ - `openpond tool run <handle>/<repo> <tool> [--body <json>] [--method <METHOD>]`: run a tool on the latest deployment.
77
+ - `openpond deploy watch <handle>/<repo> [--branch <branch>]`: stream deployment logs for the latest deployment.
78
+ - `openpond template status <handle>/<repo>`: check whether a template update is available.
79
+ - `openpond template branches <handle>/<repo>`: list available template branches.
80
+ - `openpond template update <handle>/<repo> [--env preview|production]`: deploy the latest template commit.
81
+ - `openpond repo create --name <name> [--path <dir>] [--empty|--opentool] [--deploy-on-push]`: create an OpenPond repo and attach the git remote.
82
+ - `openpond repo push [--path <dir>] [--branch <branch>]`: push the current git branch using a tokenized remote (non-interactive, restores origin after push).
83
+ - `openpond apps list [--handle <handle>] [--refresh] [--json]`: list apps for your account, optionally filtered by handle.
84
+ - `openpond apps tools`: list tools for your account (public API).
85
+ - `openpond apps deploy <handle>/<repo> [--env preview|production] [--watch]`: trigger a deployment for an app.
86
+ - `openpond apps env get <handle>/<repo>`: get OPENTOOL_PUBLIC_* env vars for an app.
87
+ - `openpond apps env set <handle>/<repo> --env <json>`: set OPENTOOL_PUBLIC_* env vars for an app.
88
+ - `openpond apps performance [--app-id <id>]`: fetch performance summary, optionally scoped to an app.
89
+ - `openpond apps agent create --prompt <text> [--template-id <id>]`: create an agent from a prompt (streams deploy logs by default).
90
+ - `openpond apps tools execute <appId> <deploymentId> <tool> [--body <json>] [--method <METHOD>] [--headers <json>]`: execute a tool for a specific deployment.
91
+ - `openpond apps positions tx [--method <GET|POST>] [--body <json>] [--params <json>]`: read or submit positions.
92
+ - `openpond opentool <init|validate|build> [args]`: run OpenTool CLI commands via `npx opentool`.
93
+
94
+ Agent source/edit status:
95
+
96
+ - `openpond agent edit check-status <workItemId> --team-id <id> [--limit <n>] [--json]`: return the compact source-check status for an agent edit work item.
97
+ - `openpond agent source check-status <workItemId> --team-id <id> [--limit <n>] [--json]`: alias for the same work-item status projection under the source command group.
98
+ - The machine-readable status contract is documented in [`docs/agent-edit-check-status-json.md`](docs/agent-edit-check-status-json.md).
99
+
100
+ ## TypeScript package
101
+
102
+ Programmatic API that mirrors the CLI command surface:
103
+
104
+ ```ts
105
+ import {
106
+ createClient,
107
+ listConfiguredProfiles,
108
+ saveProfileApiKey,
109
+ setActiveProfile,
110
+ } from "openpond";
111
+
112
+ const client = createClient({ apiKey: process.env.OPENPOND_API_KEY! });
113
+
114
+ const { tools } = await client.tool.list("handle/repo");
115
+ const result = await client.tool.run("handle/repo", "myTool", {
116
+ body: { foo: "bar" },
117
+ });
118
+
119
+ const apps = await client.apps.list();
120
+ const account = await client.account.get();
121
+ const balance = await client.account.balance();
122
+ const health = await client.account.health();
123
+ const accountTools = await client.apps.tools();
124
+ const performance = await client.apps.performance({ appId: "app_123" });
125
+ const repo = await client.repo.create({ name: "my-repo", repoInit: "empty" });
126
+
127
+ const profiles = await listConfiguredProfiles();
128
+ await setActiveProfile("0xglu", { baseUrl: "https://openpond.ai" });
129
+ await saveProfileApiKey({
130
+ handle: "secondary",
131
+ apiKey: "opk_...",
132
+ baseUrl: "https://openpond.ai",
133
+ });
134
+
135
+ await client.apps.agentCreate(
136
+ { prompt: "Build a daily digest agent" },
137
+ {
138
+ onItems: (items) => {
139
+ for (const item of items) {
140
+ console.log(item);
141
+ }
142
+ },
143
+ }
144
+ );
145
+ ```
146
+
147
+ You can override hosts with `apiUrl` and `toolUrl` in `createClient`, or
148
+ via `OPENPOND_API_URL` and `OPENPOND_TOOL_URL`.
149
+
150
+ Examples live in `examples`.
151
+
152
+
153
+ ## Run
154
+
155
+ ```bash
156
+ pnpm install
157
+ pnpm dev
158
+ ```
159
+
160
+ Cache:
161
+
162
+ - `~/.openpond/cache.json` caches app/tool lists for 1 hour and refreshes automatically on next use.
package/RELEASE.md ADDED
@@ -0,0 +1,20 @@
1
+ # Release Workflow
2
+
3
+ The root stable-release workflow publishes this package to npm after every supported Desktop package and smoke report passes.
4
+
5
+ ## Setup required
6
+
7
+ ### npm trusted publisher
8
+ Configure npm trusted publishing for this GitHub repository/workflow.
9
+
10
+ ## Release workflow
11
+
12
+ 1. Run `pnpm release:patch`, `pnpm release:minor`, or `pnpm release:major` from a clean `master` checkout.
13
+ 2. The command creates `feat/release-vX.Y.Z`, updates every versioned workspace, runs the full checks, commits, pushes the branch, and opens a release PR. It never pushes `master` or creates a tag locally.
14
+ 3. Merge the release PR after its required checks pass. The merge automatically starts `.github/workflows/release-builds.yml` for that exact `master` commit.
15
+ 4. The workflow waits for the required `Checks` result on `master`, then builds and smokes Linux/macOS Desktop and CLI artifacts on x64 and arm64.
16
+ 5. After the smoke reports pass, the workflow creates the tag, publishes `apps/cli` with npm provenance when configured, and publishes the GitHub release with `SHA256SUMS.txt`.
17
+
18
+ `pnpm release:stable` is a manual recovery command for a checked-in version whose stable tag does not exist. Normal releases do not require it; rerun an existing failed workflow when its tag already exists.
19
+
20
+ Nightly releases publish GitHub artifacts but do not publish an npm version.
@@ -0,0 +1,22 @@
1
+ export declare const LONG_STREAM_API_OPTIONS: {
2
+ readonly timeoutMs: number;
3
+ readonly maxResponseBytes: number;
4
+ };
5
+ export type ApiFetchOptions = RequestInit & {
6
+ timeoutMs?: number;
7
+ maxResponseBytes?: number;
8
+ };
9
+ export declare class ApiTimeoutError extends Error {
10
+ readonly timeoutMs: number;
11
+ readonly requestUrl: string;
12
+ readonly code = "OPENPOND_API_TIMEOUT";
13
+ constructor(timeoutMs: number, requestUrl: string);
14
+ }
15
+ export declare class ApiResponseTooLargeError extends Error {
16
+ readonly maximumBytes: number;
17
+ readonly requestUrl: string;
18
+ readonly code = "OPENPOND_API_RESPONSE_TOO_LARGE";
19
+ constructor(maximumBytes: number, requestUrl: string);
20
+ }
21
+ export declare function apiFetch(baseUrl: string, token: string | null, requestPath: string, options?: ApiFetchOptions): Promise<Response>;
22
+ export declare function readApiJson<T>(response: Response, label: string): Promise<T>;
@@ -0,0 +1,30 @@
1
+ import type { DeploymentDetail, DeploymentLogEntry, PromotePreviewToProductionRequest, PromotePreviewToProductionResponse, StartAppLifecycleRequest, StartAppLifecycleResponse } from "./types.js";
2
+ export declare function commitFiles(baseUrl: string, token: string, appId: string, files: Record<string, string>, commitMessage: string): Promise<{
3
+ commitSha: string;
4
+ }>;
5
+ export declare function deployApp(baseUrl: string, token: string, appId: string, input?: {
6
+ environment?: "preview" | "production";
7
+ commitSha?: string;
8
+ branch?: string;
9
+ }): Promise<{
10
+ deploymentId: string;
11
+ environment?: "preview" | "production";
12
+ url?: string;
13
+ version?: number;
14
+ commitSha?: string;
15
+ }>;
16
+ export declare function promotePreviewToProduction(baseUrl: string, token: string, appId: string, input: PromotePreviewToProductionRequest): Promise<PromotePreviewToProductionResponse>;
17
+ export declare function startAppLifecycle(baseUrl: string, token: string, appId: string, input: StartAppLifecycleRequest): Promise<StartAppLifecycleResponse>;
18
+ export declare function getDeploymentLogs(apiBase: string, token: string, deploymentId: string): Promise<DeploymentLogEntry[]>;
19
+ export declare function getDeploymentStatus(apiBase: string, token: string, deploymentId: string): Promise<{
20
+ status?: string;
21
+ }>;
22
+ export declare function getLatestDeploymentForApp(apiBase: string, token: string, appId: string, options?: {
23
+ status?: string[];
24
+ createdAfter?: string;
25
+ branch?: string;
26
+ }): Promise<{
27
+ id?: string;
28
+ status?: string;
29
+ } | null>;
30
+ export declare function getDeploymentDetail(apiBase: string, token: string, deploymentId: string): Promise<DeploymentDetail | null>;