openpond 0.0.36 → 0.0.38

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 (137) hide show
  1. package/README.md +4 -3
  2. package/dist/api/types.d.ts +0 -50
  3. package/dist/api.d.ts +2 -8
  4. package/dist/chunks/{app-layer-4AA4YYGK.js → app-layer-DPUJRNO2.js} +6 -3
  5. package/dist/chunks/{apps-V2JTB5MD.js → apps-AKBI6AS7.js} +16 -132
  6. package/dist/chunks/chunk-275WCETC.js +668 -0
  7. package/dist/chunks/{chunk-3DOOLZZM.js → chunk-43YI36NA.js} +1 -1
  8. package/dist/chunks/{chunk-NWQTF6O4.js → chunk-AHNFNWUN.js} +28 -3
  9. package/dist/chunks/{chunk-3JJBNVNX.js → chunk-AHPQTEIJ.js} +23 -19
  10. package/dist/chunks/chunk-FWLOFUPU.js +864 -0
  11. package/dist/chunks/{chunk-JAS6QZ2W.js → chunk-GB6VUZUA.js} +1 -1
  12. package/dist/chunks/{chunk-NVTC3XOA.js → chunk-GDZYDLEL.js} +8 -10
  13. package/dist/chunks/{chunk-G6WW2656.js → chunk-HLCTINEP.js} +1 -1
  14. package/dist/chunks/{chunk-MJT7EW5Q.js → chunk-HS2AGRDV.js} +1 -1
  15. package/dist/chunks/{chunk-CJSD5ADV.js → chunk-JWF37O5E.js} +2 -2
  16. package/dist/chunks/chunk-KSRWKXRB.js +12 -0
  17. package/dist/chunks/{chunk-7IPF4X3K.js → chunk-LZZM3IHS.js} +1004 -89
  18. package/dist/chunks/{chunk-TYYR7KWY.js → chunk-MPGSHXGF.js} +7 -5
  19. package/dist/chunks/chunk-MUMPWI4O.js +92 -0
  20. package/dist/chunks/{chunk-MSX2J653.js → chunk-QRM7XMAO.js} +5 -36
  21. package/dist/chunks/{chunk-65BVQIHR.js → chunk-SLMP353Q.js} +6 -6
  22. package/dist/chunks/chunk-T4QXKU5Y.js +1 -0
  23. package/dist/chunks/{chunk-GALAW74P.js → chunk-V35STJF4.js} +30 -11
  24. package/dist/chunks/{chunk-YLULZMWE.js → chunk-XCATKTK3.js} +51 -139
  25. package/dist/chunks/{chunk-LHYK6QO2.js → chunk-XEJ7XXUQ.js} +1 -0
  26. package/dist/chunks/{chunk-YRFQKUZD.js → chunk-XERQHYBO.js} +89 -27
  27. package/dist/chunks/{chunk-6L5WJF7T.js → chunk-YTJL6XPU.js} +2 -2
  28. package/dist/chunks/{chunk-NWVIUBJ3.js → chunk-ZI4GDAUB.js} +573 -1217
  29. package/dist/chunks/cli-2KBVNDRY.js +23 -0
  30. package/dist/chunks/{cli-RJHEE4FA.js → cli-7BKDWFNU.js} +5 -5
  31. package/dist/chunks/{core-commands-CQSPCVC4.js → core-commands-YN4RMWA3.js} +7 -4
  32. package/dist/chunks/{extend-4MZ75SHV.js → extend-REGNTBK3.js} +18 -13
  33. package/dist/chunks/extension-7K77DAVL.js +121 -0
  34. package/dist/chunks/{harness-YVZU42S7.js → harness-BHQRMXJR.js} +6 -3
  35. package/dist/chunks/{help-6SULYXVS.js → help-VREQNA4I.js} +2 -1
  36. package/dist/chunks/{opchat-XGS4AXHA.js → opchat-D63YTNSX.js} +12 -7
  37. package/dist/chunks/{organizations-4GFQ3NT2.js → organizations-I46KG7TC.js} +8 -5
  38. package/dist/chunks/{profile-VWMBIHIE.js → profile-WKZJHEPG.js} +11 -8
  39. package/dist/chunks/{project-agent-SQ6ODALG.js → project-agent-ZUC3YMCT.js} +10 -7
  40. package/dist/chunks/{sandbox-command-34S2V7BN.js → sandbox-command-AAOPFTI5.js} +7 -4
  41. package/dist/chunks/{sandbox-template-VP5HMGQI.js → sandbox-template-GKNVR4C5.js} +11 -7
  42. package/dist/chunks/{src-X3R3XIJT.js → src-MWDIK56B.js} +1997 -1247
  43. package/dist/chunks/{src-YHUMH6W6.js → src-RPW5TOPI.js} +3 -3
  44. package/dist/chunks/{teams-bot-EIVRNO5S.js → teams-bot-PSL3ZO6Z.js} +6 -3
  45. package/dist/chunks/{workspaces-2N52V3BI.js → workspaces-BPXC2DHT.js} +6 -2
  46. package/dist/cli.js +14 -11
  47. package/dist/client-types.d.ts +1 -9
  48. package/dist/client.d.ts +3 -3
  49. package/dist/index.js +27 -55
  50. package/dist/profile/local-profile-types.d.ts +1 -0
  51. package/dist/profile/profile-skills.d.ts +2 -0
  52. package/dist/web/assets/{AppDialog-j4N-gIi3.js → AppDialog-DrwJb_wG.js} +1 -1
  53. package/dist/web/assets/{AppsView-YiK3pqNb.js → AppsView-DPagLMsc.js} +1 -1
  54. package/dist/web/assets/{BrowserSidebar-BWFLEQ8j.js → BrowserSidebar-DMn2V8RV.js} +1 -1
  55. package/dist/web/assets/{CloudWorkView-3sS_1bhN.js → CloudWorkView-Cl_7mM3c.js} +1 -1
  56. package/dist/web/assets/{CommandMenu-B11OrTCq.js → CommandMenu-CHMQLez_.js} +1 -1
  57. package/dist/web/assets/{CommunityView-DXyXTWhP.js → CommunityView-DcHVDUk0.js} +1 -1
  58. package/dist/web/assets/{ComposerCreateImproveStrip-3NoRiJJq.js → ComposerCreateImproveStrip-BZ3Dgzmo.js} +1 -1
  59. package/dist/web/assets/{GetStartedView-CPV5lgVH.js → GetStartedView-DTRotFqz.js} +1 -1
  60. package/dist/web/assets/LabSkillSidebar-CVxtS9pd.css +1 -0
  61. package/dist/web/assets/LabSkillSidebar-D-PqFe1T.js +1 -0
  62. package/dist/web/assets/LabsRoute-BrJkBNig.css +1 -0
  63. package/dist/web/assets/LabsRoute-Dew1BwK5.js +3 -0
  64. package/dist/web/assets/MainChatThread-BaPxxzrw.js +2 -0
  65. package/dist/web/assets/{MakeAgentTutorialLearningPanel-C6F-kJQd.js → MakeAgentTutorialLearningPanel-CBsfnONQ.js} +2 -2
  66. package/dist/web/assets/{MarkdownText-CkVkr3P1.js → MarkdownText-DGLfAM_Z.js} +4 -4
  67. package/dist/web/assets/Messages-CIX9uTjX.js +10 -0
  68. package/dist/web/assets/NativeSkillSidebar-AP_uHn6g.js +1 -0
  69. package/dist/web/assets/{NewProjectDialog-DBMhkTvD.js → NewProjectDialog-C6lHkafU.js} +1 -1
  70. package/dist/web/assets/{PostTrainingLearningPanel-B1Rp7iIL.js → PostTrainingLearningPanel-CZEgPc8O.js} +2 -2
  71. package/dist/web/assets/{PostTrainingStatusPill-BGZ9h5eW.js → PostTrainingStatusPill-CeEpwUDB.js} +1 -1
  72. package/dist/web/assets/{ProfileSettingsSection-2NOHEz2b.js → ProfileSettingsSection-EumMLlEp.js} +1 -1
  73. package/dist/web/assets/RightChatPanelStack-MXBcx3zO.js +1 -0
  74. package/dist/web/assets/{SettingsView-uHhQnazW.css → SettingsView-Caljbns2.css} +1 -1
  75. package/dist/web/assets/SettingsView-DyURG_Uh.js +6 -0
  76. package/dist/web/assets/{TeamChatView-qVscSedQ.js → TeamChatView-D3v6aqJ3.js} +1 -1
  77. package/dist/web/assets/{TerminalOverlay-Bkw7XqMy.js → TerminalOverlay-BKl0p8pa.js} +1 -1
  78. package/dist/web/assets/{TrainingCreationPanel-COg1wvw8.js → TrainingCreationPanel-CfZQTuT5.js} +1 -1
  79. package/dist/web/assets/{TrainingDraftPanel-BNK2znmI.js → TrainingDraftPanel-DslRPSDW.js} +1 -1
  80. package/dist/web/assets/{UsageSettingsSection-CUxBaohC.js → UsageSettingsSection-zDAwzTGl.js} +1 -1
  81. package/dist/web/assets/WorkspaceDiffPanel-C_MZPPlL.js +14 -0
  82. package/dist/web/assets/{WorkspaceEnvironmentMenu-C0-mH7oF.js → WorkspaceEnvironmentMenu-BUAnn80j.js} +1 -1
  83. package/dist/web/assets/{WorkspaceGitDialogs-VvC2px0X.js → WorkspaceGitDialogs-Drbf4ujA.js} +1 -1
  84. package/dist/web/assets/{WorkspaceMonacoEditor-CUIwoHv1.js → WorkspaceMonacoEditor-DPGcG8fy.js} +3 -3
  85. package/dist/web/assets/{activity-BhqHgkfJ.js → activity-Dnr3jqb3.js} +1 -1
  86. package/dist/web/assets/{boxes-BpqUKFIm.js → boxes-BinC8UPn.js} +1 -1
  87. package/dist/web/assets/{chevron-up-BTn9DVRP.js → chevron-up-Bjp_-_Cb.js} +1 -1
  88. package/dist/web/assets/{circle-x-B9Qa8o5a.js → circle-x-ubnvEYuE.js} +1 -1
  89. package/dist/web/assets/{copy-BsYs6wBI.js → copy-B_ZCCUMz.js} +1 -1
  90. package/dist/web/assets/{create-pipeline-request-vxgKoAvv.js → create-pipeline-request-D6uLUxe9.js} +3 -3
  91. package/dist/web/assets/{cssMode-mw8RI2fR.js → cssMode-CKN9CcfG.js} +1 -1
  92. package/dist/web/assets/file-8HAMlTmQ.js +1 -0
  93. package/dist/web/assets/{git-branch-C7qQYFIs.js → git-branch-l2Zih3Bv.js} +1 -1
  94. package/dist/web/assets/{git-commit-horizontal-CbX4pTOA.js → git-commit-horizontal-Bxi8YPep.js} +1 -1
  95. package/dist/web/assets/{htmlMode-Cc4Czh_M.js → htmlMode-CeUcNhBZ.js} +1 -1
  96. package/dist/web/assets/index-BMFyOFRU.css +1 -0
  97. package/dist/web/assets/index-BzwcDzbT.js +1 -0
  98. package/dist/web/assets/index-KoQSSt_f.js +177 -0
  99. package/dist/web/assets/{info-BNGbwgtq.js → info-JTbDQxHx.js} +1 -1
  100. package/dist/web/assets/{jsonMode-CbqbqGVz.js → jsonMode-97z0Yz9u.js} +1 -1
  101. package/dist/web/assets/{lspLanguageFeatures-DKiKr5tH.js → lspLanguageFeatures-D4Tp-JmI.js} +1 -1
  102. package/dist/web/assets/{make-agent-tutorial-KKauJpB9.js → make-agent-tutorial-D6nBCgv-.js} +1 -1
  103. package/dist/web/assets/{monaco.contribution-Dxc4IxFM.js → monaco.contribution-B3j6oown.js} +2 -2
  104. package/dist/web/assets/{monaco.contribution-CNgwz_pw.js → monaco.contribution-BXHxPPWL.js} +2 -2
  105. package/dist/web/assets/{monaco.contribution-D_-wu578.js → monaco.contribution-C2P5zIzh.js} +2 -2
  106. package/dist/web/assets/{monaco.contribution-CdUAX47Q.js → monaco.contribution-C8c6OtGi.js} +2 -2
  107. package/dist/web/assets/{monitor-CNdx_GTg.js → monitor-kzHtxHnA.js} +1 -1
  108. package/dist/web/assets/{play-BLRANWaV.js → play-C-37dnR1.js} +1 -1
  109. package/dist/web/assets/{python-DYgDMu2R.js → python-CGpDXY7_.js} +1 -1
  110. package/dist/web/assets/{refresh-cw-BFjjwYNf.js → refresh-cw-BAaaPCXl.js} +1 -1
  111. package/dist/web/assets/{reply-D012cuZl.js → reply-9rehU13k.js} +1 -1
  112. package/dist/web/assets/{rotate-cw-CTfjlR4G.js → rotate-cw-C1Z_Xs23.js} +1 -1
  113. package/dist/web/assets/{save-B1zYlRyN.js → save-Cvxs3XyC.js} +1 -1
  114. package/dist/web/assets/{toggleHighContrast-D9XFH7EA.js → toggleHighContrast-CD42jH4g.js} +1 -1
  115. package/dist/web/assets/{tsMode-BU-tuKsY.js → tsMode-ZROIxEjv.js} +1 -1
  116. package/dist/web/assets/{upload-DU_81jvL.js → upload-DvCSGERK.js} +1 -1
  117. package/dist/web/assets/{wifi-off-TPsBnbGW.js → wifi-off-BIb94PkS.js} +1 -1
  118. package/dist/web/assets/{workers-NhWySRdT.js → workers-oYqbrVYG.js} +1 -1
  119. package/dist/web/assets/{yaml-DWXa_3ZL.js → yaml-WqBjNgOO.js} +1 -1
  120. package/dist/web/index.html +2 -2
  121. package/docs/command-reference.md +16 -1
  122. package/package.json +1 -1
  123. package/dist/chunks/cli-4JA3SIDE.js +0 -19
  124. package/dist/web/assets/LabsRoute-B_nsEZXy.js +0 -3
  125. package/dist/web/assets/LabsRoute-dNN-odU0.css +0 -1
  126. package/dist/web/assets/MainChatThread-Dg7p3R2O.js +0 -2
  127. package/dist/web/assets/Messages-C7uHGoFw.js +0 -10
  128. package/dist/web/assets/NativeSkillSidebar-BPpoHjEW.js +0 -1
  129. package/dist/web/assets/RightChatPanelStack-CLK7_zKe.js +0 -1
  130. package/dist/web/assets/SettingsView-BAqea_KX.js +0 -6
  131. package/dist/web/assets/WorkspaceDiffPanel-qfFj8IRq.js +0 -14
  132. package/dist/web/assets/credit-card-BCePAwMI.js +0 -1
  133. package/dist/web/assets/index-9tbdqUau.css +0 -1
  134. package/dist/web/assets/index-B_3z_lxq.js +0 -1
  135. package/dist/web/assets/index-Cr_RZ7GD.js +0 -177
  136. package/dist/web/tokens/eth.svg +0 -1
  137. package/dist/web/tokens/usdc.svg +0 -1
package/README.md CHANGED
@@ -49,6 +49,9 @@ openpond profiles use production
49
49
  openpond profiles save secondary --api-key opk_...
50
50
  openpond account
51
51
  openpond health
52
+ openpond extension add owner/repo
53
+ openpond extension list
54
+ openpond extension update --all
52
55
  openpond --account production apps list
53
56
  openpond tool list <handle>/<repo>
54
57
  openpond tool run <handle>/<repo> <tool> --body '{"foo":"bar"}'
@@ -66,7 +69,6 @@ openpond apps env set <handle>/<repo> --env '{"OPENTOOL_PUBLIC_HL_SIGNAL_BOT_CON
66
69
  openpond apps performance [--app-id <id>]
67
70
  openpond apps agent create --prompt "Build a daily digest agent"
68
71
  openpond apps tools execute <appId> <deploymentId> <tool> --body '{"foo":"bar"}'
69
- openpond apps positions tx --method GET --params '{"status":"open"}'
70
72
  openpond opentool init --dir .
71
73
  ```
72
74
 
@@ -86,6 +88,7 @@ Command reference:
86
88
  - `openpond profiles save <name> --api-key <key> [--base-url <url>] [--environment <name>]`: save or update a local profile API key.
87
89
  - `openpond account`: fetch current account/profile fields and active products for the selected API key.
88
90
  - `openpond health`: check public API reachability and selected API-key auth health when a key is configured.
91
+ - `openpond extension <add|preview|list|inspect|update|remove>`: manage Agent Skills-compatible GitHub packs installed under `~/.openpond/extensions`. Repositories use standard `SKILL.md` packages and do not need an OpenPond-specific manifest.
89
92
  - `openpond tool list <handle>/<repo>`: list tools for the latest deployment.
90
93
  - `openpond tool run <handle>/<repo> <tool> [--body <json>] [--method <METHOD>]`: run a tool on the latest deployment.
91
94
  - `openpond deploy watch <handle>/<repo> [--branch <branch>]`: stream deployment logs for the latest deployment.
@@ -102,7 +105,6 @@ Command reference:
102
105
  - `openpond apps performance [--app-id <id>]`: fetch performance summary, optionally scoped to an app.
103
106
  - `openpond apps agent create --prompt <text> [--template-id <id>]`: create an agent from a prompt (streams deploy logs by default).
104
107
  - `openpond apps tools execute <appId> <deploymentId> <tool> [--body <json>] [--method <METHOD>] [--headers <json>]`: execute a tool for a specific deployment.
105
- - `openpond apps positions tx [--method <GET|POST>] [--body <json>] [--params <json>]`: read or submit positions.
106
108
  - `openpond opentool <init|validate|build> [args]`: run OpenTool CLI commands via `npx opentool`.
107
109
 
108
110
  Agent source/edit status:
@@ -132,7 +134,6 @@ const result = await client.tool.run("handle/repo", "myTool", {
132
134
 
133
135
  const apps = await client.apps.list();
134
136
  const account = await client.account.get();
135
- const balance = await client.account.balance();
136
137
  const health = await client.account.health();
137
138
  const accountTools = await client.apps.tools();
138
139
  const performance = await client.apps.performance({ appId: "app_123" });
@@ -186,34 +186,6 @@ export type AppRuntimeSummary = {
186
186
  error: string | null;
187
187
  } | null;
188
188
  };
189
- wallet: {
190
- personalWalletAddress: string | null;
191
- operatingWalletAddress: string | null;
192
- arbitrum: {
193
- eth: {
194
- raw: string;
195
- formatted: string;
196
- } | null;
197
- usdc: {
198
- raw: string;
199
- formatted: string;
200
- } | null;
201
- };
202
- hyperliquid: {
203
- mainnet: {
204
- accountValue: number | null;
205
- withdrawable: number | null;
206
- totalMarginUsed: number | null;
207
- error?: string;
208
- };
209
- testnet: {
210
- accountValue: number | null;
211
- withdrawable: number | null;
212
- totalMarginUsed: number | null;
213
- error?: string;
214
- };
215
- };
216
- };
217
189
  asOf: string;
218
190
  };
219
191
  export type ScheduleExecutionStatus = "success" | "failed" | "timeout" | string;
@@ -491,7 +463,6 @@ export type OpenPondAccountProduct = {
491
463
  duration: number | null;
492
464
  restrictedModels: string[] | null;
493
465
  gatewayEntitlements: unknown | null;
494
- duckHoldings: number | null;
495
466
  isActive: boolean | null;
496
467
  };
497
468
  export type OpenPondAccount = {
@@ -501,8 +472,6 @@ export type OpenPondAccount = {
501
472
  handle: string | null;
502
473
  image: string | null;
503
474
  timezone: string | null;
504
- turnkeyWalletAddress: string | null;
505
- turnkeyOperatingWalletAddress: string | null;
506
475
  isAdmin: boolean;
507
476
  isVerified: boolean;
508
477
  dailyAgentAppId: string | null;
@@ -514,25 +483,6 @@ export type OpenPondAccountResponse = {
514
483
  products: OpenPondAccountProduct[];
515
484
  asOf: string;
516
485
  };
517
- export type OpenPondAccountBalanceBreakdownItem = {
518
- wallet: "operating" | "personal" | string;
519
- chain: string;
520
- chainId: number | null;
521
- asset: string;
522
- amount: string | null;
523
- usdValue: string | null;
524
- };
525
- export type OpenPondAccountBalanceResponse = {
526
- balanceKind: "openpond_funding" | string;
527
- balanceUsd: string | null;
528
- balanceUsdCents: number | null;
529
- balanceLabel: string;
530
- currency: "USD" | string;
531
- asOf: string;
532
- stale?: boolean;
533
- credits?: string | null;
534
- breakdown: OpenPondAccountBalanceBreakdownItem[];
535
- };
536
486
  export type OpenPondApiHealthResponse = {
537
487
  status: string;
538
488
  service?: string;
package/dist/api.d.ts CHANGED
@@ -1,8 +1,8 @@
1
- import type { AgentCreateRequest, AppCodeVisibilityUpdateResponse, AppEnvironmentGetResponse, AppEnvironmentUpdateRequest, AppEnvironmentUpdateResponse, AppExecutionTimelineResponse, AppListItem, AppRuntimeSummary, AppSchedulesResponse, AssistantRunRequest, AssistantRunResponse, BacktestRunRequest, CreateLocalProjectInput, CreateRepoRequest, CreateRepoResponse, HeadlessAppRequest, HeadlessAppsResponse, OpenPondAccountBalanceResponse, OpenPondAccountResponse, OpenPondApiHealth, OpenToolRecipe, OpenToolRecipeGetRequest, OpenToolRecipeListRequest, OpenToolRecipeListResponse, OpenToolRecipeSearchRequest, OpenToolRecipeSearchResponse, OpenToolRulesGetRequest, OpenToolRulesGetResponse, ScheduleDeleteResponse, ScheduleExecutionLog, ScheduleExecutionLogsResponse, ScheduleRunNowRequest, ScheduleRunNowResponse, ScheduleToggleRequest, ScheduleToggleResult, TemplateBranchesResponse, TemplateDeployLatestRequest, TemplateDeployLatestResponse, TemplateStatusResponse, ToolExecuteRequest, ToolExecuteResponse, ToolManifest } from "./api/types.js";
1
+ import type { AgentCreateRequest, AppCodeVisibilityUpdateResponse, AppEnvironmentGetResponse, AppEnvironmentUpdateRequest, AppEnvironmentUpdateResponse, AppExecutionTimelineResponse, AppListItem, AppRuntimeSummary, AppSchedulesResponse, AssistantRunRequest, AssistantRunResponse, BacktestRunRequest, CreateLocalProjectInput, CreateRepoRequest, CreateRepoResponse, HeadlessAppRequest, HeadlessAppsResponse, OpenPondAccountResponse, OpenPondApiHealth, OpenToolRecipe, OpenToolRecipeGetRequest, OpenToolRecipeListRequest, OpenToolRecipeListResponse, OpenToolRecipeSearchRequest, OpenToolRecipeSearchResponse, OpenToolRulesGetRequest, OpenToolRulesGetResponse, ScheduleDeleteResponse, ScheduleExecutionLog, ScheduleExecutionLogsResponse, ScheduleRunNowRequest, ScheduleRunNowResponse, ScheduleToggleRequest, ScheduleToggleResult, TemplateBranchesResponse, TemplateDeployLatestRequest, TemplateDeployLatestResponse, TemplateStatusResponse, ToolExecuteRequest, ToolExecuteResponse, ToolManifest } from "./api/types.js";
2
2
  import type { ChatRequestBody } from "./types.js";
3
3
  export { apiFetch } from "./api/core.js";
4
4
  export { commitFiles, deployApp, getDeploymentDetail, getDeploymentLogs, getDeploymentStatus, getLatestDeploymentForApp, promotePreviewToProduction, startAppLifecycle, } from "./api/deployments.js";
5
- export type { AgentCreateRequest, AppCodeVisibilityUpdateResponse, AppEnvironmentGetResponse, AppEnvironmentUpdateRequest, AppEnvironmentUpdateResponse, AppExecutionDeployment, AppExecutionTimelineResponse, AppExecutionToolRun, AppListItem, AppRuntimeSummary, AppSchedule, AppSchedulesResponse, AppScheduleSummary, AssistantMode, AssistantRunRequest, AssistantRunResponse, BacktestRunRequest, CreateLocalProjectInput, CreateRepoRequest, CreateRepoResponse, DeploymentDetail, DeploymentLogEntry, HeadlessAppRequest, HeadlessAppResponse, HeadlessAppsResponse, OpenPondAccount, OpenPondAccountBalanceResponse, OpenPondAccountProduct, OpenPondAccountResponse, OpenPondApiHealth, OpenPondApiHealthResponse, OpenToolRecipe, OpenToolRecipeDomain, OpenToolRecipeGetRequest, OpenToolRecipeListRequest, OpenToolRecipeListResponse, OpenToolRecipeSearchRequest, OpenToolRecipeSearchResponse, OpenToolRecipeSummary, OpenToolRulesGetRequest, OpenToolRulesGetResponse, PromotePreviewToProductionRequest, PromotePreviewToProductionResponse, ScheduleDeleteResponse, ScheduleExecutionLog, ScheduleExecutionLogsResponse, ScheduleExecutionStatus, ScheduleRunNowRequest, ScheduleRunNowResponse, ScheduleToggleRequest, ScheduleToggleResult, StartAppLifecycleRequest, StartAppLifecycleResponse, TemplateBranchesResponse, TemplateDeployLatestRequest, TemplateDeployLatestResponse, TemplateStatusResponse, ToolExecuteRequest, ToolExecuteResponse, ToolManifest, } from "./api/types.js";
5
+ export type { AgentCreateRequest, AppCodeVisibilityUpdateResponse, AppEnvironmentGetResponse, AppEnvironmentUpdateRequest, AppEnvironmentUpdateResponse, AppExecutionDeployment, AppExecutionTimelineResponse, AppExecutionToolRun, AppListItem, AppRuntimeSummary, AppSchedule, AppSchedulesResponse, AppScheduleSummary, AssistantMode, AssistantRunRequest, AssistantRunResponse, BacktestRunRequest, CreateLocalProjectInput, CreateRepoRequest, CreateRepoResponse, DeploymentDetail, DeploymentLogEntry, HeadlessAppRequest, HeadlessAppResponse, HeadlessAppsResponse, OpenPondAccount, OpenPondAccountProduct, OpenPondAccountResponse, OpenPondApiHealth, OpenPondApiHealthResponse, OpenToolRecipe, OpenToolRecipeDomain, OpenToolRecipeGetRequest, OpenToolRecipeListRequest, OpenToolRecipeListResponse, OpenToolRecipeSearchRequest, OpenToolRecipeSearchResponse, OpenToolRecipeSummary, OpenToolRulesGetRequest, OpenToolRulesGetResponse, PromotePreviewToProductionRequest, PromotePreviewToProductionResponse, ScheduleDeleteResponse, ScheduleExecutionLog, ScheduleExecutionLogsResponse, ScheduleExecutionStatus, ScheduleRunNowRequest, ScheduleRunNowResponse, ScheduleToggleRequest, ScheduleToggleResult, StartAppLifecycleRequest, StartAppLifecycleResponse, TemplateBranchesResponse, TemplateDeployLatestRequest, TemplateDeployLatestResponse, TemplateStatusResponse, ToolExecuteRequest, ToolExecuteResponse, ToolManifest, } from "./api/types.js";
6
6
  export declare function listApps(apiBase: string, token: string, options?: {
7
7
  handle?: string;
8
8
  limit?: number;
@@ -50,7 +50,6 @@ export declare function getUserPerformance(baseUrl: string, token: string, optio
50
50
  }): Promise<unknown>;
51
51
  export declare function getAppRuntimeSummary(baseUrl: string, token: string, appId: string): Promise<AppRuntimeSummary>;
52
52
  export declare function getOpenPondAccount(baseUrl: string, token: string): Promise<OpenPondAccountResponse>;
53
- export declare function getOpenPondAccountBalance(baseUrl: string, token: string): Promise<OpenPondAccountBalanceResponse>;
54
53
  export declare function checkOpenPondApiHealth(baseUrl: string, token?: string | null): Promise<OpenPondApiHealth>;
55
54
  export declare function runAssistantMode(baseUrl: string, token: string, payload: AssistantRunRequest): Promise<AssistantRunResponse>;
56
55
  export declare function postAgentDigest(baseUrl: string, token: string, body: {
@@ -73,11 +72,6 @@ export declare function executeUserTool(baseUrl: string, token: string, body: {
73
72
  data?: unknown;
74
73
  error?: string;
75
74
  }>;
76
- export declare function submitPositionsTx(baseUrl: string, token: string, params: {
77
- method: "GET" | "POST";
78
- body?: unknown;
79
- query?: Record<string, string>;
80
- }): Promise<unknown>;
81
75
  export declare function submitBacktestRun(baseUrl: string, token: string, body: BacktestRunRequest): Promise<unknown>;
82
76
  export declare function submitBacktestTx(baseUrl: string, token: string, params: {
83
77
  method: "GET" | "POST";
@@ -1,11 +1,14 @@
1
1
  import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
2
2
  import {
3
3
  runProcessCommand
4
- } from "./chunk-NWVIUBJ3.js";
4
+ } from "./chunk-275WCETC.js";
5
5
  import {
6
6
  CliUsageError
7
- } from "./chunk-NVTC3XOA.js";
8
- import "./chunk-YLULZMWE.js";
7
+ } from "./chunk-GDZYDLEL.js";
8
+ import "./chunk-XCATKTK3.js";
9
+ import "./chunk-ZI4GDAUB.js";
10
+ import "./chunk-KSRWKXRB.js";
11
+ import "./chunk-MUMPWI4O.js";
9
12
  import "./chunk-UACZUFIA.js";
10
13
 
11
14
  // src/cli/app-layer.ts
@@ -4,36 +4,39 @@ import {
4
4
  formatStreamItem
5
5
  } from "./chunk-W5GKHH77.js";
6
6
  import {
7
- createAgentFromPrompt,
8
- deployApp,
9
7
  ensureApiKey,
10
- executeUserTool,
11
8
  fetchAppsWithCache,
12
9
  fetchToolsWithCache,
10
+ normalizeRepoName,
11
+ pollDeploymentLogs,
12
+ resolveAppTarget
13
+ } from "./chunk-275WCETC.js";
14
+ import {
15
+ resolveBaseUrl,
16
+ resolvePublicApiBaseUrl
17
+ } from "./chunk-GDZYDLEL.js";
18
+ import "./chunk-XCATKTK3.js";
19
+ import {
20
+ createAgentFromPrompt,
21
+ deployApp,
22
+ executeUserTool,
13
23
  getAppEnvironment,
14
24
  getAppRuntimeSummary,
15
25
  getUserPerformance,
16
26
  loadConfig,
17
- normalizeRepoName,
18
- pollDeploymentLogs,
19
- resolveAppTarget,
20
27
  runAssistantMode,
21
28
  submitBacktestDetail,
22
29
  submitBacktestTx,
23
- submitPositionsTx,
24
30
  updateAppCodeVisibility,
25
31
  updateAppEnvironment
26
- } from "./chunk-NWVIUBJ3.js";
27
- import {
28
- resolveBaseUrl,
29
- resolvePublicApiBaseUrl
30
- } from "./chunk-NVTC3XOA.js";
32
+ } from "./chunk-ZI4GDAUB.js";
33
+ import "./chunk-KSRWKXRB.js";
31
34
  import {
32
35
  parseBooleanOption,
33
36
  parseJsonOption,
34
37
  parseTimeOption,
35
38
  resolveTemplateEnvironment
36
- } from "./chunk-YLULZMWE.js";
39
+ } from "./chunk-MUMPWI4O.js";
37
40
  import "./chunk-UACZUFIA.js";
38
41
 
39
42
  // src/cli/apps.ts
@@ -321,90 +324,6 @@ async function runAppsDeploy(options, target) {
321
324
  timeoutMs: options.timeout ? Number(options.timeout) : void 0
322
325
  });
323
326
  }
324
- async function runAppsPositionsTx(options) {
325
- const config = await loadConfig();
326
- const uiBase = resolveBaseUrl(config);
327
- const apiKey = await ensureApiKey(config, uiBase);
328
- const apiBase = resolvePublicApiBaseUrl(config);
329
- const methodRaw = typeof options.method === "string" ? String(options.method).toUpperCase() : "POST";
330
- const method = methodRaw === "GET" ? "GET" : "POST";
331
- if (methodRaw !== "GET" && methodRaw !== "POST") {
332
- throw new Error("method must be GET or POST");
333
- }
334
- let query;
335
- if (method === "GET" && typeof options.params === "string") {
336
- const parsed = parseJsonOption(String(options.params), "params");
337
- if (!parsed || typeof parsed !== "object" || Array.isArray(parsed)) {
338
- throw new Error("params must be a JSON object");
339
- }
340
- query = {};
341
- for (const [key, value] of Object.entries(
342
- parsed
343
- )) {
344
- if (value === void 0) continue;
345
- query[key] = typeof value === "string" ? value : JSON.stringify(value);
346
- }
347
- }
348
- const body = method === "POST" && typeof options.body === "string" ? parseJsonOption(String(options.body), "body") : void 0;
349
- const result = await submitPositionsTx(apiBase, apiKey, {
350
- method,
351
- body,
352
- query
353
- });
354
- console.log(JSON.stringify(result, null, 2));
355
- }
356
- function resolveStoreEventsParams(options) {
357
- let params = {};
358
- if (typeof options.params === "string") {
359
- const parsed = parseJsonOption(String(options.params), "params");
360
- if (!parsed || typeof parsed !== "object" || Array.isArray(parsed)) {
361
- throw new Error("params must be a JSON object");
362
- }
363
- for (const [key, value] of Object.entries(
364
- parsed
365
- )) {
366
- if (value === void 0) continue;
367
- params[key] = typeof value === "string" ? value : JSON.stringify(value);
368
- }
369
- }
370
- const addParam = (key, value) => {
371
- if (value === void 0 || value === "") return;
372
- params[key] = value;
373
- };
374
- addParam(
375
- "source",
376
- typeof options.source === "string" ? options.source.trim() : void 0
377
- );
378
- addParam(
379
- "walletAddress",
380
- typeof options.walletAddress === "string" ? options.walletAddress.trim() : void 0
381
- );
382
- addParam(
383
- "symbol",
384
- typeof options.symbol === "string" ? options.symbol.trim() : void 0
385
- );
386
- addParam(
387
- "cursor",
388
- typeof options.cursor === "string" ? options.cursor.trim() : void 0
389
- );
390
- addParam(
391
- "status",
392
- typeof options.status === "string" ? options.status.trim() : void 0
393
- );
394
- addParam("since", parseTimeOption(options.since, "since"));
395
- addParam("until", parseTimeOption(options.until, "until"));
396
- if (typeof options.limit === "string" && options.limit.trim().length > 0) {
397
- const parsed = Number.parseInt(options.limit, 10);
398
- if (!Number.isFinite(parsed)) {
399
- throw new Error("limit must be a number");
400
- }
401
- addParam("limit", String(parsed));
402
- }
403
- if (options.history !== void 0) {
404
- addParam("history", parseBooleanOption(options.history) ? "true" : "false");
405
- }
406
- return Object.keys(params).length ? params : void 0;
407
- }
408
327
  function resolveBacktestEventsParams(options) {
409
328
  let params = {};
410
329
  if (typeof options.params === "string") {
@@ -427,10 +346,6 @@ function resolveBacktestEventsParams(options) {
427
346
  "source",
428
347
  typeof options.source === "string" ? options.source.trim() : void 0
429
348
  );
430
- addParam(
431
- "walletAddress",
432
- typeof options.walletAddress === "string" ? options.walletAddress.trim() : void 0
433
- );
434
349
  addParam(
435
350
  "symbol",
436
351
  typeof options.symbol === "string" ? options.symbol.trim() : void 0
@@ -458,18 +373,6 @@ function resolveBacktestEventsParams(options) {
458
373
  }
459
374
  return Object.keys(params).length ? params : void 0;
460
375
  }
461
- async function runAppsStoreEvents(options) {
462
- const config = await loadConfig();
463
- const uiBase = resolveBaseUrl(config);
464
- const apiKey = await ensureApiKey(config, uiBase);
465
- const apiBase = resolvePublicApiBaseUrl(config);
466
- const query = resolveStoreEventsParams(options);
467
- const result = await submitPositionsTx(apiBase, apiKey, {
468
- method: "GET",
469
- query
470
- });
471
- console.log(JSON.stringify(result, null, 2));
472
- }
473
376
  async function runBacktestEvents(options, target) {
474
377
  const config = await loadConfig();
475
378
  const uiBase = resolveBaseUrl(config);
@@ -502,24 +405,8 @@ async function runBacktestGet(options, target) {
502
405
  });
503
406
  console.log(JSON.stringify(result, null, 2));
504
407
  }
505
- async function runAppsTradeFacts(options) {
506
- const config = await loadConfig();
507
- const uiBase = resolveBaseUrl(config);
508
- const apiKey = await ensureApiKey(config, uiBase);
509
- const apiBase = resolvePublicApiBaseUrl(config);
510
- const appId = typeof options.appId === "string" ? options.appId : void 0;
511
- const performance = await getUserPerformance(apiBase, apiKey, { appId });
512
- if (performance && typeof performance === "object" && "trades" in performance && Array.isArray(performance.trades)) {
513
- console.log(
514
- JSON.stringify(performance.trades, null, 2)
515
- );
516
- return;
517
- }
518
- console.log(JSON.stringify(performance, null, 2));
519
- }
520
408
  export {
521
409
  resolveBacktestEventsParams,
522
- resolveStoreEventsParams,
523
410
  runAppsAgentCreate,
524
411
  runAppsAssistant,
525
412
  runAppsCodeVisibility,
@@ -528,12 +415,9 @@ export {
528
415
  runAppsEnvSet,
529
416
  runAppsList,
530
417
  runAppsPerformance,
531
- runAppsPositionsTx,
532
- runAppsStoreEvents,
533
418
  runAppsSummary,
534
419
  runAppsTools,
535
420
  runAppsToolsExecute,
536
- runAppsTradeFacts,
537
421
  runBacktestEvents,
538
422
  runBacktestGet
539
423
  };