openpond 0.0.61 → 0.0.63

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 (108) hide show
  1. package/dist/chunks/{actions-command-QVYIPEN5.js → actions-command-DZ6D7JTO.js} +2 -2
  2. package/dist/chunks/{app-layer-GCNXR4F3.js → app-layer-TUAFALOE.js} +5 -5
  3. package/dist/chunks/{app-server-runtime-737DBOSH.js → app-server-runtime-O26LVUYH.js} +7 -7
  4. package/dist/chunks/{apps-JB3POF6Z.js → apps-KSZRA7Y2.js} +5 -5
  5. package/dist/chunks/{chunk-NPEWMLRH.js → chunk-66KQLYSH.js} +1 -1
  6. package/dist/chunks/{chunk-ZJPLJP2Q.js → chunk-6FKBOGA4.js} +2 -2
  7. package/dist/chunks/{chunk-6RMGHEFF.js → chunk-7IFPXSSJ.js} +1 -1
  8. package/dist/chunks/{chunk-5HMXXGWZ.js → chunk-7UVEB2AZ.js} +2 -2
  9. package/dist/chunks/{chunk-32R4GQD3.js → chunk-IXA5PMXC.js} +2 -2
  10. package/dist/chunks/{chunk-XIUCBUUQ.js → chunk-J2REM7LE.js} +1 -1
  11. package/dist/chunks/{chunk-XSHMPOQV.js → chunk-JGOP4GCK.js} +6 -0
  12. package/dist/chunks/{chunk-TOMMZN6V.js → chunk-JTFDOA2P.js} +41 -16
  13. package/dist/chunks/{chunk-IZ3XGRAG.js → chunk-K4JEWEJQ.js} +1 -1
  14. package/dist/chunks/{chunk-L5JTI6LQ.js → chunk-KGU437HZ.js} +4 -2
  15. package/dist/chunks/{chunk-ZAX7MLQJ.js → chunk-LEL5AQJU.js} +1 -1
  16. package/dist/chunks/{chunk-B3WVCPXG.js → chunk-PLDCQVNW.js} +71 -6
  17. package/dist/chunks/{chunk-YSVY4O42.js → chunk-T55IL3GI.js} +1 -1
  18. package/dist/chunks/{chunk-BQQS5RRI.js → chunk-V2CTXKS2.js} +156 -61
  19. package/dist/chunks/{chunk-LBIVEX6V.js → chunk-YDH34BGG.js} +35 -33
  20. package/dist/chunks/{cli-MFFCFH3P.js → cli-LPFU4ULD.js} +6 -6
  21. package/dist/chunks/{core-commands-KCFU7U5Y.js → core-commands-OEOBYFIW.js} +6 -6
  22. package/dist/chunks/{desktop-test-FEQVX4N4.js → desktop-test-BRLZF3O7.js} +5 -5
  23. package/dist/chunks/{extension-M4DH25KH.js → extension-5BUCIDKG.js} +1 -1
  24. package/dist/chunks/{help-ZUIE4EPY.js → help-MT6VPW4X.js} +1 -1
  25. package/dist/chunks/{opchat-7KRZIFFD.js → opchat-O4DVKNFW.js} +5 -5
  26. package/dist/chunks/{organizations-ZWPFNM6K.js → organizations-ACNOJ57Q.js} +7 -7
  27. package/dist/chunks/{profile-GF57OWI6.js → profile-7LLWXAJE.js} +12 -7
  28. package/dist/chunks/{project-agent-65MXZHGM.js → project-agent-RVYQYTU2.js} +27 -7
  29. package/dist/chunks/{sandbox-command-WH2OQRHP.js → sandbox-command-QST23BX5.js} +6 -6
  30. package/dist/chunks/{sandbox-template-W5HU24TF.js → sandbox-template-N7UG3P6V.js} +7 -7
  31. package/dist/chunks/{src-YUIJKNIC.js → src-CPM5Q7T5.js} +4 -4
  32. package/dist/chunks/{src-O5QXOQ5H.js → src-M37V6NVU.js} +60 -13
  33. package/dist/chunks/{teams-bot-5ATLXSHC.js → teams-bot-ITTI47XS.js} +5 -5
  34. package/dist/chunks/{workspaces-4XJ3GXL4.js → workspaces-CYBR37US.js} +2 -2
  35. package/dist/cli.js +13 -13
  36. package/dist/index.js +6 -0
  37. package/dist/sandbox/client-handles.d.ts +2 -1
  38. package/dist/sandbox/client.d.ts +3 -1
  39. package/dist/sandbox/types/org-project-agent.d.ts +13 -0
  40. package/dist/web/assets/{AppDialog-BvdkukM_.js → AppDialog-wIb8mGQ0.js} +1 -1
  41. package/dist/web/assets/{AppsView-9h3-BQbk.js → AppsView-D097dPIV.js} +1 -1
  42. package/dist/web/assets/{BrowserSidebar-C6WJ5wIu.js → BrowserSidebar-DrD-o_yB.js} +1 -1
  43. package/dist/web/assets/{CommandMenu-C7en9zgQ.js → CommandMenu-L5LelA2h.js} +1 -1
  44. package/dist/web/assets/{CommunityView-CoqI6Dks.js → CommunityView-DUJ8NryS.js} +1 -1
  45. package/dist/web/assets/{ComposerCreateImproveStrip-DMq6A2Ba.js → ComposerCreateImproveStrip-BP-7DmQG.js} +1 -1
  46. package/dist/web/assets/{GetStartedView-B-zgx1jI.js → GetStartedView-B7gB6Hii.js} +1 -1
  47. package/dist/web/assets/{LabModelVersionDetailPage-CkNOBygO.js → LabModelVersionDetailPage-CNDz2a6I.js} +1 -1
  48. package/dist/web/assets/{LabSkillSidebar-CmRHuu78.js → LabSkillSidebar-BImOQcjk.js} +1 -1
  49. package/dist/web/assets/{LabsRoute-DLPZqEev.js → LabsRoute-BauSK1is.js} +3 -3
  50. package/dist/web/assets/{MainChatThread-CFGsODmc.js → MainChatThread-BZvAqQO6.js} +2 -2
  51. package/dist/web/assets/MainPane-CuhwxMxg.js +6 -0
  52. package/dist/web/assets/{MarkdownText-C4Ixpl-i.js → MarkdownText-gwAue4u5.js} +1 -1
  53. package/dist/web/assets/{Messages-DmEk_BWS.js → Messages-DijmQL-z.js} +8 -8
  54. package/dist/web/assets/{NativeSkillSidebar-Cn824hrX.js → NativeSkillSidebar-aCkrdGa0.js} +1 -1
  55. package/dist/web/assets/{NewProjectDialog-BFEDv4Ga.js → NewProjectDialog-D98WIQzr.js} +1 -1
  56. package/dist/web/assets/{OutputsPage-hfQyqQzx.js → OutputsPage-BA0c6cfy.js} +1 -1
  57. package/dist/web/assets/{RightChatPanelStack-CiPKX3Ea.js → RightChatPanelStack-DKDEmrEH.js} +1 -1
  58. package/dist/web/assets/{ScheduledWorkPage-CyoZsUCe.js → ScheduledWorkPage-DeHi99mv.js} +1 -1
  59. package/dist/web/assets/SettingsView--fL3Ecuy.js +6 -0
  60. package/dist/web/assets/SettingsView-BS5m5vdt.css +1 -0
  61. package/dist/web/assets/TeamChatView-D2mCoLZ3.js +3 -0
  62. package/dist/web/assets/{TerminalOverlay-CpsPuPIM.js → TerminalOverlay-BHMsVp4L.js} +1 -1
  63. package/dist/web/assets/{TrainingCreationPanel-DMLpUVbJ.js → TrainingCreationPanel-CPnMWgkt.js} +1 -1
  64. package/dist/web/assets/{TrainingDraftPanel-gAhpwkYs.js → TrainingDraftPanel-0scEtzSW.js} +1 -1
  65. package/dist/web/assets/{UsageSettingsSection-WBtxLhBx.js → UsageSettingsSection-COoCLLg6.js} +1 -1
  66. package/dist/web/assets/{WorkspaceDiffPanel-CUpwqvzZ.js → WorkspaceDiffPanel-BFTwZ_dB.js} +5 -5
  67. package/dist/web/assets/{WorkspaceEnvironmentMenu-LIbOBT4f.js → WorkspaceEnvironmentMenu-DFlkdd9T.js} +3 -3
  68. package/dist/web/assets/{WorkspaceGitDialogs-8y7rRSou.js → WorkspaceGitDialogs-Dt3LO27Z.js} +1 -1
  69. package/dist/web/assets/{WorkspaceMonacoEditor-BpHmWrCD.js → WorkspaceMonacoEditor-3g05teoR.js} +3 -3
  70. package/dist/web/assets/{arrow-up-right-3TbyK1ec.js → arrow-up-right-DYGSWA2J.js} +1 -1
  71. package/dist/web/assets/{chevron-up-C4tTuxXs.js → chevron-up-4qfvI9iW.js} +1 -1
  72. package/dist/web/assets/{cloud-upload-ZGHLWEn3.js → cloud-upload-COReKxOy.js} +1 -1
  73. package/dist/web/assets/{cssMode-kfZCOm_r.js → cssMode-BbH67BYF.js} +1 -1
  74. package/dist/web/assets/{folder-open-C4WG_lDr.js → folder-open-9OjGqNgP.js} +1 -1
  75. package/dist/web/assets/{folder-plus-CKRaDeR3.js → folder-plus-DF5E6zr3.js} +1 -1
  76. package/dist/web/assets/{git-branch-yLi5tff8.js → git-branch-eCwyZXMl.js} +1 -1
  77. package/dist/web/assets/{git-commit-horizontal-BPyGYak3.js → git-commit-horizontal-cPm51DqY.js} +1 -1
  78. package/dist/web/assets/{htmlMode-DT--Et9k.js → htmlMode-DD6Oge4x.js} +1 -1
  79. package/dist/web/assets/{index--lwjVZXT.js → index-BO2W2U23.js} +66 -66
  80. package/dist/web/assets/index-BRLugX1S.js +1 -0
  81. package/dist/web/assets/{index-B_HvNtwl.css → index-Y7IoiSlQ.css} +1 -1
  82. package/dist/web/assets/{info-CzzHwSUb.js → info-p1mFpqBI.js} +1 -1
  83. package/dist/web/assets/{jsonMode-CKg1GzqC.js → jsonMode-C2Xd56A_.js} +1 -1
  84. package/dist/web/assets/{lspLanguageFeatures-B76Yo6xo.js → lspLanguageFeatures-BjYEk4gJ.js} +1 -1
  85. package/dist/web/assets/{monaco.contribution-BRuQU-2A.js → monaco.contribution-Bo-5m7yy.js} +2 -2
  86. package/dist/web/assets/{monaco.contribution-CLpGfCSS.js → monaco.contribution-C7WMqwmc.js} +2 -2
  87. package/dist/web/assets/{monaco.contribution-CS3H8RrD.js → monaco.contribution-DzWlEgU1.js} +2 -2
  88. package/dist/web/assets/{monaco.contribution-DqeexNAI.js → monaco.contribution-quEPEMQZ.js} +2 -2
  89. package/dist/web/assets/{play-EDFh3BPS.js → play-Ctx-iMqd.js} +1 -1
  90. package/dist/web/assets/{python-De_Vr_hD.js → python-Cm64qCpk.js} +1 -1
  91. package/dist/web/assets/{refresh-cw-DRJJ-X1U.js → refresh-cw-Bn28jIl0.js} +1 -1
  92. package/dist/web/assets/{save-BSxqIWP6.js → save-BM5IQX65.js} +1 -1
  93. package/dist/web/assets/{square-BV-Vgh5a.js → square-DAGpFfSr.js} +1 -1
  94. package/dist/web/assets/{toggleHighContrast-1Suz4cxo.js → toggleHighContrast-DLW8Fnck.js} +1 -1
  95. package/dist/web/assets/{tsMode-DMyzpvFI.js → tsMode-BleUN_8S.js} +1 -1
  96. package/dist/web/assets/{upload-jVxCW0dO.js → upload-vaAKFfxi.js} +1 -1
  97. package/dist/web/assets/{useLocalAgentSchedules-DNpnOBA8.js → useLocalAgentSchedules-Ccenbqf6.js} +1 -1
  98. package/dist/web/assets/{wifi-off-IzGGiOX_.js → wifi-off-DJA9KReb.js} +1 -1
  99. package/dist/web/assets/{workers-Crdnk6Zy.js → workers-CFG-afha.js} +1 -1
  100. package/dist/web/assets/{yaml-CF3tmjgW.js → yaml-Cs8iZKVC.js} +1 -1
  101. package/dist/web/index.html +2 -2
  102. package/docs/command-reference.md +2 -0
  103. package/package.json +1 -1
  104. package/dist/web/assets/MainPane-B2kcZpM0.js +0 -6
  105. package/dist/web/assets/SettingsView-BZkrIOc0.css +0 -1
  106. package/dist/web/assets/SettingsView-DWWs9gel.js +0 -6
  107. package/dist/web/assets/TeamChatView-C4RWAO8c.js +0 -3
  108. package/dist/web/assets/index-C9-OtZl8.js +0 -1
@@ -317,6 +317,7 @@ var AGENT_OPTION_SCHEMA = {
317
317
  agentId: string,
318
318
  agentEdit: json,
319
319
  allowLatestSource: boolean,
320
+ allowedActions: string,
320
321
  attachmentsJson: json,
321
322
  baseSha: string,
322
323
  chatMode: string,
@@ -341,6 +342,7 @@ var AGENT_OPTION_SCHEMA = {
341
342
  payload: json,
342
343
  projectId: string,
343
344
  prompt: string,
345
+ provider: string,
344
346
  publishedSnapshotId: string,
345
347
  ref: string,
346
348
  requirePublishedSnapshot: boolean,
@@ -397,7 +399,7 @@ var CLI_COMMAND_REGISTRY = [
397
399
  name: "help",
398
400
  usage: "openpond help",
399
401
  optionSchema: {},
400
- handler: async () => (await import("./help-ZUIE4EPY.js")).printHelp()
402
+ handler: async () => (await import("./help-MT6VPW4X.js")).printHelp()
401
403
  },
402
404
  {
403
405
  name: "version",
@@ -409,19 +411,19 @@ var CLI_COMMAND_REGISTRY = [
409
411
  name: "check-update",
410
412
  usage: "openpond check-update",
411
413
  optionSchema: {},
412
- handler: async () => (await import("./core-commands-KCFU7U5Y.js")).runCheckUpdate()
414
+ handler: async () => (await import("./core-commands-OEOBYFIW.js")).runCheckUpdate()
413
415
  },
414
416
  {
415
417
  name: "login",
416
418
  usage: "openpond login [--base-url <url>]",
417
419
  optionSchema: CLI_GLOBAL_OPTION_SCHEMA,
418
- handler: async ({ options }) => (await import("./core-commands-KCFU7U5Y.js")).runLogin(options)
420
+ handler: async ({ options }) => (await import("./core-commands-OEOBYFIW.js")).runLogin(options)
419
421
  },
420
422
  {
421
423
  name: "init",
422
424
  usage: "openpond init [--path <dir>]",
423
425
  optionSchema: { path: "string" },
424
- handler: async ({ options }) => (await import("./profile-GF57OWI6.js")).runOpenPondInitCommand(options)
426
+ handler: async ({ options }) => (await import("./profile-7LLWXAJE.js")).runOpenPondInitCommand(options)
425
427
  },
426
428
  {
427
429
  name: "profile",
@@ -449,13 +451,13 @@ var CLI_COMMAND_REGISTRY = [
449
451
  publishHostedSource: "boolean",
450
452
  teamId: "string"
451
453
  },
452
- handler: async ({ options, rest }) => (await import("./profile-GF57OWI6.js")).runOpenPondProfileCommand(options, rest)
454
+ handler: async ({ options, rest }) => (await import("./profile-7LLWXAJE.js")).runOpenPondProfileCommand(options, rest)
453
455
  },
454
456
  {
455
457
  name: "agents",
456
458
  usage: "openpond agents [--json]",
457
459
  optionSchema: { json: "boolean" },
458
- handler: async ({ options, rest }) => (await import("./profile-GF57OWI6.js")).runOpenPondAgentsCommand(options, rest)
460
+ handler: async ({ options, rest }) => (await import("./profile-7LLWXAJE.js")).runOpenPondAgentsCommand(options, rest)
459
461
  },
460
462
  {
461
463
  name: "actions",
@@ -475,7 +477,7 @@ var CLI_COMMAND_REGISTRY = [
475
477
  teamId: "string",
476
478
  timeoutMs: "integer"
477
479
  },
478
- handler: async ({ options, rest }) => (await import("./actions-command-QVYIPEN5.js")).runProjectActionsCommand(options, rest)
480
+ handler: async ({ options, rest }) => (await import("./actions-command-DZ6D7JTO.js")).runProjectActionsCommand(options, rest)
479
481
  },
480
482
  ...profileSdkAliasDefinitions(),
481
483
  {
@@ -488,25 +490,25 @@ var CLI_COMMAND_REGISTRY = [
488
490
  "openpond extension remove <owner/repo> [--json]"
489
491
  ],
490
492
  optionSchema: { all: "boolean", json: "boolean", ref: "string" },
491
- handler: async ({ options, rest }) => (await import("./extension-M4DH25KH.js")).runOpenPondExtensionCommand(options, rest)
493
+ handler: async ({ options, rest }) => (await import("./extension-5BUCIDKG.js")).runOpenPondExtensionCommand(options, rest)
492
494
  },
493
495
  {
494
496
  name: "profiles",
495
497
  usage: "openpond profiles [args]",
496
498
  optionSchema: { json: "boolean" },
497
- handler: async ({ options, rest }) => (await import("./core-commands-KCFU7U5Y.js")).runProfiles(options, rest)
499
+ handler: async ({ options, rest }) => (await import("./core-commands-OEOBYFIW.js")).runProfiles(options, rest)
498
500
  },
499
501
  {
500
502
  name: "account",
501
503
  usage: "openpond account",
502
504
  optionSchema: { json: "boolean" },
503
- handler: async () => (await import("./core-commands-KCFU7U5Y.js")).runAccount()
505
+ handler: async () => (await import("./core-commands-OEOBYFIW.js")).runAccount()
504
506
  },
505
507
  {
506
508
  name: "health",
507
509
  usage: "openpond health",
508
510
  optionSchema: { json: "boolean" },
509
- handler: async ({ options }) => (await import("./core-commands-KCFU7U5Y.js")).runHealth(options)
511
+ handler: async ({ options }) => (await import("./core-commands-OEOBYFIW.js")).runHealth(options)
510
512
  },
511
513
  {
512
514
  name: "app-server",
@@ -514,7 +516,7 @@ var CLI_COMMAND_REGISTRY = [
514
516
  optionSchema: {
515
517
  storeDir: "string"
516
518
  },
517
- handler: async ({ options, rest }) => (await import("./app-layer-GCNXR4F3.js")).runOpenPondServerCommand("app-server", options, rest)
519
+ handler: async ({ options, rest }) => (await import("./app-layer-TUAFALOE.js")).runOpenPondServerCommand("app-server", options, rest)
518
520
  },
519
521
  {
520
522
  name: "serve",
@@ -525,7 +527,7 @@ var CLI_COMMAND_REGISTRY = [
525
527
  listen: "string",
526
528
  port: "integer"
527
529
  },
528
- handler: async ({ options, rest }) => (await import("./app-layer-GCNXR4F3.js")).runOpenPondServerCommand("serve", options, rest)
530
+ handler: async ({ options, rest }) => (await import("./app-layer-TUAFALOE.js")).runOpenPondServerCommand("serve", options, rest)
529
531
  },
530
532
  {
531
533
  name: "ui",
@@ -538,7 +540,7 @@ var CLI_COMMAND_REGISTRY = [
538
540
  port: "integer",
539
541
  webRoot: "string"
540
542
  },
541
- handler: async ({ options, rest }) => (await import("./app-layer-GCNXR4F3.js")).runOpenPondServerCommand("web", options, rest)
543
+ handler: async ({ options, rest }) => (await import("./app-layer-TUAFALOE.js")).runOpenPondServerCommand("web", options, rest)
542
544
  },
543
545
  {
544
546
  name: "tui",
@@ -552,13 +554,13 @@ var CLI_COMMAND_REGISTRY = [
552
554
  provider: "string",
553
555
  server: "string"
554
556
  },
555
- handler: async ({ options, rest }) => (await import("./app-layer-GCNXR4F3.js")).runOpenPondTerminalCommand(options, rest)
557
+ handler: async ({ options, rest }) => (await import("./app-layer-TUAFALOE.js")).runOpenPondTerminalCommand(options, rest)
556
558
  },
557
559
  {
558
560
  name: "chat",
559
561
  usage: "openpond chat (--message-file <path>|--message <text>|--stdin) --non-interactive [--provider <id>] [--model <id>] [--agent <id>] [--project <id>] [--resume <session-id>] [--yes] [--approval-policy <policy>] [--json] [--timeout-sec <n>] [--max-output-bytes <n>] [--sandbox <mode>]",
560
562
  optionSchema: CHAT_OPTION_SCHEMA,
561
- handler: async ({ options, rest }) => (await import("./app-layer-GCNXR4F3.js")).runOpenPondTerminalCommand(options, rest)
563
+ handler: async ({ options, rest }) => (await import("./app-layer-TUAFALOE.js")).runOpenPondTerminalCommand(options, rest)
562
564
  },
563
565
  {
564
566
  name: "tool",
@@ -594,7 +596,7 @@ var CLI_COMMAND_REGISTRY = [
594
596
  name: "sandbox-template",
595
597
  usage: "openpond sandbox-template <command> [args]",
596
598
  optionSchema: SANDBOX_TEMPLATE_OPTION_SCHEMA,
597
- handler: async ({ options, rest }) => (await import("./sandbox-template-W5HU24TF.js")).runSandboxTemplateCommand(options, rest)
599
+ handler: async ({ options, rest }) => (await import("./sandbox-template-N7UG3P6V.js")).runSandboxTemplateCommand(options, rest)
598
600
  },
599
601
  {
600
602
  name: "repo",
@@ -639,13 +641,13 @@ var CLI_COMMAND_REGISTRY = [
639
641
  toolset: "string",
640
642
  url: "string"
641
643
  },
642
- handler: async ({ options, rest }) => (await import("./organizations-ZWPFNM6K.js")).runOrganizationsCommand(options, rest)
644
+ handler: async ({ options, rest }) => (await import("./organizations-ACNOJ57Q.js")).runOrganizationsCommand(options, rest)
643
645
  },
644
646
  {
645
647
  name: "project",
646
648
  usage: "openpond project <list|create|upsert|get|update|sync|source-upload|archive> [args]",
647
649
  optionSchema: PROJECT_OPTION_SCHEMA,
648
- handler: async ({ options, rest }) => (await import("./project-agent-65MXZHGM.js")).runProjectCommand(options, rest)
650
+ handler: async ({ options, rest }) => (await import("./project-agent-RVYQYTU2.js")).runProjectCommand(options, rest)
649
651
  },
650
652
  {
651
653
  name: "agent",
@@ -657,7 +659,7 @@ var CLI_COMMAND_REGISTRY = [
657
659
  "openpond agent source publish <agentId> --team-id <id> [--expected-manifest-hash <hash>]"
658
660
  ],
659
661
  optionSchema: AGENT_OPTION_SCHEMA,
660
- handler: async ({ options, rest }) => (await import("./project-agent-65MXZHGM.js")).runAgentCommand(options, rest)
662
+ handler: async ({ options, rest }) => (await import("./project-agent-RVYQYTU2.js")).runAgentCommand(options, rest)
661
663
  },
662
664
  {
663
665
  name: "desktop-test",
@@ -678,13 +680,13 @@ var CLI_COMMAND_REGISTRY = [
678
680
  token: "string",
679
681
  tokenFile: "string"
680
682
  },
681
- handler: async ({ options, rest }) => (await import("./desktop-test-FEQVX4N4.js")).runDesktopTestCommand(options, rest)
683
+ handler: async ({ options, rest }) => (await import("./desktop-test-BRLZF3O7.js")).runDesktopTestCommand(options, rest)
682
684
  },
683
685
  {
684
686
  name: "sandbox",
685
687
  usage: "openpond sandbox <command> [args]",
686
688
  optionSchema: SANDBOX_OPTION_SCHEMA,
687
- handler: async ({ options, rest }) => (await import("./sandbox-command-WH2OQRHP.js")).runSandboxCommand(options, rest)
689
+ handler: async ({ options, rest }) => (await import("./sandbox-command-QST23BX5.js")).runSandboxCommand(options, rest)
688
690
  },
689
691
  {
690
692
  name: "training",
@@ -732,7 +734,7 @@ var CLI_COMMAND_REGISTRY = [
732
734
  skipTool: "boolean",
733
735
  stream: "boolean"
734
736
  },
735
- handler: async ({ options, rest }) => (await import("./opchat-7KRZIFFD.js")).runOpChatCommand(options, rest)
737
+ handler: async ({ options, rest }) => (await import("./opchat-O4DVKNFW.js")).runOpChatCommand(options, rest)
736
738
  },
737
739
  {
738
740
  name: "teams-bot",
@@ -741,7 +743,7 @@ var CLI_COMMAND_REGISTRY = [
741
743
  json: "boolean",
742
744
  teamId: "string"
743
745
  },
744
- handler: async ({ options, rest }) => (await import("./teams-bot-5ATLXSHC.js")).runTeamsBotCommand(options, rest)
746
+ handler: async ({ options, rest }) => (await import("./teams-bot-ITTI47XS.js")).runTeamsBotCommand(options, rest)
745
747
  },
746
748
  {
747
749
  name: "apps",
@@ -762,7 +764,7 @@ var CLI_COMMAND_REGISTRY = [
762
764
  name: "opentool",
763
765
  usage: "openpond opentool <init|validate|build> [args]",
764
766
  optionSchema: {},
765
- handler: async ({ rest }) => (await import("./core-commands-KCFU7U5Y.js")).runOpentool(rest)
767
+ handler: async ({ rest }) => (await import("./core-commands-OEOBYFIW.js")).runOpentool(rest)
766
768
  }
767
769
  ];
768
770
  var CLI_COMMAND_BY_NAME = /* @__PURE__ */ new Map();
@@ -834,11 +836,11 @@ function profileSdkAliasDefinitions() {
834
836
  name,
835
837
  usage: `openpond ${name} [args]`,
836
838
  optionSchema: PROFILE_SDK_OPTION_SCHEMA,
837
- handler: async ({ options, rest }) => (await import("./profile-GF57OWI6.js")).runOpenPondProfileSdkAlias(name, options, rest)
839
+ handler: async ({ options, rest }) => (await import("./profile-7LLWXAJE.js")).runOpenPondProfileSdkAlias(name, options, rest)
838
840
  }));
839
841
  }
840
842
  async function runToolCommand({ options, rest }) {
841
- const { runToolList, runToolRun } = await import("./core-commands-KCFU7U5Y.js");
843
+ const { runToolList, runToolRun } = await import("./core-commands-OEOBYFIW.js");
842
844
  const subcommand = rest[0];
843
845
  if (subcommand === "list") {
844
846
  const target = rest[1];
@@ -862,8 +864,8 @@ async function runToolCommand({ options, rest }) {
862
864
  throw new Error("usage: tool <list|run> <handle>/<repo> [args]");
863
865
  }
864
866
  async function runBacktestCommand({ options, rest }) {
865
- const { runBacktestRun } = await import("./core-commands-KCFU7U5Y.js");
866
- const { runBacktestEvents, runBacktestGet } = await import("./apps-JB3POF6Z.js");
867
+ const { runBacktestRun } = await import("./core-commands-OEOBYFIW.js");
868
+ const { runBacktestEvents, runBacktestGet } = await import("./apps-KSZRA7Y2.js");
867
869
  const subcommand = rest[0] || "run";
868
870
  if (subcommand === "run") {
869
871
  const target = rest[1];
@@ -897,7 +899,7 @@ async function runBacktestCommand({ options, rest }) {
897
899
  throw new Error("usage: backtest <run|events|get> <handle>/<repo> [args]");
898
900
  }
899
901
  async function runDeployCommand({ options, rest }) {
900
- const { runDeployWatch } = await import("./core-commands-KCFU7U5Y.js");
902
+ const { runDeployWatch } = await import("./core-commands-OEOBYFIW.js");
901
903
  const subcommand = rest[0] || "watch";
902
904
  if (subcommand !== "watch") {
903
905
  throw new Error(
@@ -913,7 +915,7 @@ async function runDeployCommand({ options, rest }) {
913
915
  await runDeployWatch(options, target);
914
916
  }
915
917
  async function runTemplateCommand({ options, rest }) {
916
- const { runTemplateBranches, runTemplateStatus, runTemplateUpdate } = await import("./core-commands-KCFU7U5Y.js");
918
+ const { runTemplateBranches, runTemplateStatus, runTemplateUpdate } = await import("./core-commands-OEOBYFIW.js");
917
919
  const subcommand = rest[0] || "status";
918
920
  const target = rest[1];
919
921
  if (!target) {
@@ -938,7 +940,7 @@ async function runTemplateCommand({ options, rest }) {
938
940
  );
939
941
  }
940
942
  async function runRepoCommand({ options, rest }) {
941
- const { runRepoCreate, runRepoPush } = await import("./core-commands-KCFU7U5Y.js");
943
+ const { runRepoCreate, runRepoPush } = await import("./core-commands-OEOBYFIW.js");
942
944
  const subcommand = rest[0] || "create";
943
945
  if (subcommand === "create") {
944
946
  await runRepoCreate(options, rest.slice(1));
@@ -965,7 +967,7 @@ async function runAppsCommand({ options, rest }) {
965
967
  runAppsSummary,
966
968
  runAppsTools,
967
969
  runAppsToolsExecute
968
- } = await import("./apps-JB3POF6Z.js");
970
+ } = await import("./apps-KSZRA7Y2.js");
969
971
  const subcommand = rest[0];
970
972
  if (subcommand === "list") {
971
973
  await runAppsList(options);
@@ -3,14 +3,14 @@ import {
3
3
  resolveWebLaunchMessages,
4
4
  runOpenPondAppServerCli,
5
5
  runOpenPondServerCli
6
- } from "./chunk-5HMXXGWZ.js";
6
+ } from "./chunk-7UVEB2AZ.js";
7
7
  import "./chunk-OYWTQABY.js";
8
- import "./chunk-6RMGHEFF.js";
9
- import "./chunk-32R4GQD3.js";
10
- import "./chunk-L5JTI6LQ.js";
11
- import "./chunk-TOMMZN6V.js";
8
+ import "./chunk-7IFPXSSJ.js";
9
+ import "./chunk-IXA5PMXC.js";
10
+ import "./chunk-KGU437HZ.js";
11
+ import "./chunk-JTFDOA2P.js";
12
12
  import "./chunk-WYDVQOBL.js";
13
- import "./chunk-XSHMPOQV.js";
13
+ import "./chunk-JGOP4GCK.js";
14
14
  import "./chunk-UACZUFIA.js";
15
15
  export {
16
16
  resolveWebLaunchMessages,
@@ -16,13 +16,13 @@ import {
16
16
  runTemplateUpdate,
17
17
  runToolList,
18
18
  runToolRun
19
- } from "./chunk-ZJPLJP2Q.js";
20
- import "./chunk-XIUCBUUQ.js";
21
- import "./chunk-ZAX7MLQJ.js";
19
+ } from "./chunk-6FKBOGA4.js";
20
+ import "./chunk-J2REM7LE.js";
21
+ import "./chunk-LEL5AQJU.js";
22
22
  import "./chunk-SMNFI2FU.js";
23
- import "./chunk-LBIVEX6V.js";
24
- import "./chunk-IZ3XGRAG.js";
25
- import "./chunk-XSHMPOQV.js";
23
+ import "./chunk-YDH34BGG.js";
24
+ import "./chunk-K4JEWEJQ.js";
25
+ import "./chunk-JGOP4GCK.js";
26
26
  import "./chunk-DBHSOTYZ.js";
27
27
  import "./chunk-KSRWKXRB.js";
28
28
  import "./chunk-MUMPWI4O.js";
@@ -1,14 +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-XIUCBUUQ.js";
4
+ } from "./chunk-J2REM7LE.js";
5
5
  import {
6
6
  CliUsageError
7
- } from "./chunk-ZAX7MLQJ.js";
7
+ } from "./chunk-LEL5AQJU.js";
8
8
  import "./chunk-SMNFI2FU.js";
9
- import "./chunk-LBIVEX6V.js";
10
- import "./chunk-IZ3XGRAG.js";
11
- import "./chunk-XSHMPOQV.js";
9
+ import "./chunk-YDH34BGG.js";
10
+ import "./chunk-K4JEWEJQ.js";
11
+ import "./chunk-JGOP4GCK.js";
12
12
  import "./chunk-DBHSOTYZ.js";
13
13
  import "./chunk-KSRWKXRB.js";
14
14
  import {
@@ -10,7 +10,7 @@ import {
10
10
  SandboxTemplateValidationDiagnosticSchema,
11
11
  ToolDeclarationSchema,
12
12
  validateConnectedAppToolCallRequest
13
- } from "./chunk-TOMMZN6V.js";
13
+ } from "./chunk-JTFDOA2P.js";
14
14
  import "./chunk-3KLQ52B2.js";
15
15
  import "./chunk-W5GKHH77.js";
16
16
  import {
@@ -3,7 +3,7 @@ import {
3
3
  CLI_GLOBAL_OPTION_SCHEMA,
4
4
  formatCliCommandUsage,
5
5
  listCliCommandDefinitions
6
- } from "./chunk-LBIVEX6V.js";
6
+ } from "./chunk-YDH34BGG.js";
7
7
  import "./chunk-MUMPWI4O.js";
8
8
  import "./chunk-UACZUFIA.js";
9
9
 
@@ -9,16 +9,16 @@ import {
9
9
  } from "./chunk-3KLQ52B2.js";
10
10
  import {
11
11
  ensureApiKey
12
- } from "./chunk-XIUCBUUQ.js";
13
- import "./chunk-ZAX7MLQJ.js";
12
+ } from "./chunk-J2REM7LE.js";
13
+ import "./chunk-LEL5AQJU.js";
14
14
  import {
15
15
  resolveApiBaseUrlOption,
16
16
  resolveBaseUrl,
17
17
  resolveChatApiBaseUrlOption
18
18
  } from "./chunk-SMNFI2FU.js";
19
- import "./chunk-LBIVEX6V.js";
20
- import "./chunk-IZ3XGRAG.js";
21
- import "./chunk-XSHMPOQV.js";
19
+ import "./chunk-YDH34BGG.js";
20
+ import "./chunk-K4JEWEJQ.js";
21
+ import "./chunk-JGOP4GCK.js";
22
22
  import {
23
23
  loadConfig
24
24
  } from "./chunk-DBHSOTYZ.js";
@@ -1,18 +1,18 @@
1
1
  import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
2
- import "./chunk-L5JTI6LQ.js";
3
- import "./chunk-TOMMZN6V.js";
2
+ import "./chunk-KGU437HZ.js";
3
+ import "./chunk-JTFDOA2P.js";
4
4
  import "./chunk-WYDVQOBL.js";
5
5
  import {
6
6
  resolveSandboxClient
7
- } from "./chunk-XIUCBUUQ.js";
8
- import "./chunk-ZAX7MLQJ.js";
7
+ } from "./chunk-J2REM7LE.js";
8
+ import "./chunk-LEL5AQJU.js";
9
9
  import "./chunk-SMNFI2FU.js";
10
- import "./chunk-LBIVEX6V.js";
11
- import "./chunk-IZ3XGRAG.js";
10
+ import "./chunk-YDH34BGG.js";
11
+ import "./chunk-K4JEWEJQ.js";
12
12
  import {
13
13
  DEFAULT_OPENPOND_API_BASE_URL,
14
14
  DEFAULT_OPENPOND_WEB_BASE_URL
15
- } from "./chunk-XSHMPOQV.js";
15
+ } from "./chunk-JGOP4GCK.js";
16
16
  import "./chunk-DBHSOTYZ.js";
17
17
  import "./chunk-KSRWKXRB.js";
18
18
  import {
@@ -5,7 +5,7 @@ import {
5
5
  mergeProjectSourceUploadEntries,
6
6
  parseAgentSourceCheckDispatch,
7
7
  parseAgentSourceCheckKind
8
- } from "./chunk-B3WVCPXG.js";
8
+ } from "./chunk-PLDCQVNW.js";
9
9
  import {
10
10
  buildHostedRunIdempotencyKey,
11
11
  collectProfileSourceUploadEntries,
@@ -28,12 +28,12 @@ import "./chunk-BYAPLT37.js";
28
28
  import "./chunk-WYDVQOBL.js";
29
29
  import {
30
30
  resolveSandboxClient
31
- } from "./chunk-XIUCBUUQ.js";
32
- import "./chunk-ZAX7MLQJ.js";
31
+ } from "./chunk-J2REM7LE.js";
32
+ import "./chunk-LEL5AQJU.js";
33
33
  import "./chunk-SMNFI2FU.js";
34
- import "./chunk-LBIVEX6V.js";
35
- import "./chunk-IZ3XGRAG.js";
36
- import "./chunk-XSHMPOQV.js";
34
+ import "./chunk-YDH34BGG.js";
35
+ import "./chunk-K4JEWEJQ.js";
36
+ import "./chunk-JGOP4GCK.js";
37
37
  import "./chunk-DBHSOTYZ.js";
38
38
  import "./chunk-KSRWKXRB.js";
39
39
  import {
@@ -101,6 +101,10 @@ async function materializeHostedProfileAgentSource(input) {
101
101
  });
102
102
  const sourceCommitSha = sandboxProjectSourceCommitSha(syncedProject) ?? sandboxProjectSourceCommitSha(uploadedProject);
103
103
  const sourceRef = sandboxProjectSourceRef(syncedProject) ?? sandboxProjectSourceRef(uploadedProject) ?? input.sourceRef;
104
+ const runtimeAgentExternalId = `openpond-profile-agent:${input.profileProjectId}:${input.profileName}:${input.agentId}`;
105
+ const existingRuntimeAgent = (await input.client.agents.list({
106
+ teamId: input.teamId
107
+ })).find((candidate) => candidate.externalId === runtimeAgentExternalId);
104
108
  const runtimeAgent = await input.client.agents.upsert({
105
109
  teamId: input.teamId,
106
110
  projectId: syncedProject.id,
@@ -117,6 +121,7 @@ async function materializeHostedProfileAgentSource(input) {
117
121
  ...sourceCommitSha ? { sourceCommitSha } : {}
118
122
  },
119
123
  metadata: {
124
+ ...existingRuntimeAgent?.metadata ?? {},
120
125
  source: "openpond_profile_agent_materialization",
121
126
  profileProjectId: input.profileProjectId,
122
127
  profileName: input.profileName,
@@ -125,7 +130,7 @@ async function materializeHostedProfileAgentSource(input) {
125
130
  localHead: input.localHead,
126
131
  hostedHead: input.hostedHead
127
132
  },
128
- externalId: `openpond-profile-agent:${input.profileProjectId}:${input.profileName}:${input.agentId}`
133
+ externalId: runtimeAgentExternalId
129
134
  });
130
135
  const uploadMetadata = record(agentSdk.uploadMetadata);
131
136
  const commands = record(uploadMetadata?.commands);
@@ -26,7 +26,7 @@ import {
26
26
  parseProjectSourceType,
27
27
  resolveLocalAgentSdkCommand,
28
28
  resolveProjectSourceUploadBranch
29
- } from "./chunk-B3WVCPXG.js";
29
+ } from "./chunk-PLDCQVNW.js";
30
30
  import "./chunk-JIEUB6OS.js";
31
31
  import "./chunk-BYAPLT37.js";
32
32
  import "./chunk-WYDVQOBL.js";
@@ -34,12 +34,12 @@ import {
34
34
  parseSandboxWorkflowModeOption,
35
35
  resolveSandboxClient,
36
36
  runCommand
37
- } from "./chunk-XIUCBUUQ.js";
38
- import "./chunk-ZAX7MLQJ.js";
37
+ } from "./chunk-J2REM7LE.js";
38
+ import "./chunk-LEL5AQJU.js";
39
39
  import "./chunk-SMNFI2FU.js";
40
- import "./chunk-LBIVEX6V.js";
41
- import "./chunk-IZ3XGRAG.js";
42
- import "./chunk-XSHMPOQV.js";
40
+ import "./chunk-YDH34BGG.js";
41
+ import "./chunk-K4JEWEJQ.js";
42
+ import "./chunk-JGOP4GCK.js";
43
43
  import "./chunk-DBHSOTYZ.js";
44
44
  import "./chunk-KSRWKXRB.js";
45
45
  import {
@@ -82,7 +82,7 @@ function formatAgentLine(agent) {
82
82
  async function runAgentSourceWorkflow(client, options, rest) {
83
83
  const sourceCommand = rest[1]?.trim();
84
84
  const agentId = rest[2]?.trim();
85
- const usage = "usage: agent source <deploy-plan|checks|manifest-snapshots|publish> <agent-id> --team-id <id>";
85
+ const usage = "usage: agent source <deploy-plan|checks|manifest-snapshots|setup|publish> <agent-id> --team-id <id>";
86
86
  const teamId = requiredTeamId(options, usage);
87
87
  if (!sourceCommand || !agentId) {
88
88
  throw new Error(usage);
@@ -110,6 +110,26 @@ async function runAgentSourceWorkflow(client, options, rest) {
110
110
  console.log(JSON.stringify(result, null, 2));
111
111
  return;
112
112
  }
113
+ if (sourceCommand === "setup") {
114
+ const provider = typeof options.provider === "string" ? options.provider.trim() : "";
115
+ const allowedActions = typeof options.allowedActions === "string" ? options.allowedActions.split(",").map((value) => value.trim()).filter(Boolean) : [];
116
+ if (!provider || allowedActions.length === 0) {
117
+ throw new Error(`${usage}; setup requires --provider and --allowed-actions`);
118
+ }
119
+ const result = await client.agents.configureSourceSetup(agentId, {
120
+ teamId,
121
+ integrationBindings: [{
122
+ provider,
123
+ mode: "connected",
124
+ connectionMode: "member_connection",
125
+ grantPolicy: "read_only",
126
+ allowedActions,
127
+ enabled: true
128
+ }]
129
+ });
130
+ console.log(JSON.stringify(result, null, 2));
131
+ return;
132
+ }
113
133
  if (sourceCommand === "publish") {
114
134
  const result = await client.agents.publishSource(
115
135
  agentId,
@@ -15,17 +15,17 @@ import {
15
15
  summarizeReplayArtifact,
16
16
  summarizeSandbox,
17
17
  waitForSandboxCreateReady
18
- } from "./chunk-YSVY4O42.js";
18
+ } from "./chunk-T55IL3GI.js";
19
19
  import {
20
20
  readSandboxSecretValue,
21
21
  resolveSandboxClient,
22
22
  summarizeSandboxSecret
23
- } from "./chunk-XIUCBUUQ.js";
24
- import "./chunk-ZAX7MLQJ.js";
23
+ } from "./chunk-J2REM7LE.js";
24
+ import "./chunk-LEL5AQJU.js";
25
25
  import "./chunk-SMNFI2FU.js";
26
- import "./chunk-LBIVEX6V.js";
27
- import "./chunk-IZ3XGRAG.js";
28
- import "./chunk-XSHMPOQV.js";
26
+ import "./chunk-YDH34BGG.js";
27
+ import "./chunk-K4JEWEJQ.js";
28
+ import "./chunk-JGOP4GCK.js";
29
29
  import "./chunk-DBHSOTYZ.js";
30
30
  import "./chunk-KSRWKXRB.js";
31
31
  import {
@@ -2,10 +2,10 @@ import { createRequire as __openpondCreateRequire } from "node:module"; var requ
2
2
  import {
3
3
  createSandboxFromPlan,
4
4
  summarizeSandbox
5
- } from "./chunk-YSVY4O42.js";
5
+ } from "./chunk-T55IL3GI.js";
6
6
  import {
7
7
  resolveGitBranch
8
- } from "./chunk-ZJPLJP2Q.js";
8
+ } from "./chunk-6FKBOGA4.js";
9
9
  import {
10
10
  OPENPOND_MANIFEST_FILE_NAME,
11
11
  SANDBOX_TEMPLATE_BUILD_PLAN_FILE_NAME,
@@ -33,15 +33,15 @@ import {
33
33
  runCommand,
34
34
  runShellCommand,
35
35
  warnOnRepoHostMismatch
36
- } from "./chunk-XIUCBUUQ.js";
37
- import "./chunk-ZAX7MLQJ.js";
36
+ } from "./chunk-J2REM7LE.js";
37
+ import "./chunk-LEL5AQJU.js";
38
38
  import {
39
39
  resolveBaseUrl,
40
40
  resolvePublicApiBaseUrl
41
41
  } from "./chunk-SMNFI2FU.js";
42
- import "./chunk-LBIVEX6V.js";
43
- import "./chunk-IZ3XGRAG.js";
44
- import "./chunk-XSHMPOQV.js";
42
+ import "./chunk-YDH34BGG.js";
43
+ import "./chunk-K4JEWEJQ.js";
44
+ import "./chunk-JGOP4GCK.js";
45
45
  import {
46
46
  createRepo,
47
47
  loadConfig
@@ -3,7 +3,7 @@ import { createRequire as __openpondCreateRequire } from "node:module"; var requ
3
3
  import {
4
4
  createReadyLineParser,
5
5
  openUrlWithSystemBrowser
6
- } from "./chunk-32R4GQD3.js";
6
+ } from "./chunk-IXA5PMXC.js";
7
7
  import {
8
8
  ApprovalSchema,
9
9
  ContextUsageSnapshotSchema,
@@ -12,14 +12,14 @@ import {
12
12
  DEFAULT_OPENPOND_CHAT_MODEL,
13
13
  DEFAULT_OPENPOND_COMMAND_ACCESS_MODE,
14
14
  OpenPondCommandAccessModeSchema
15
- } from "./chunk-L5JTI6LQ.js";
15
+ } from "./chunk-KGU437HZ.js";
16
16
  import {
17
17
  CONNECTED_APP_CATALOG,
18
18
  buildConnectedAppInstallUrl,
19
19
  connectedAppById
20
- } from "./chunk-TOMMZN6V.js";
20
+ } from "./chunk-JTFDOA2P.js";
21
21
  import "./chunk-WYDVQOBL.js";
22
- import "./chunk-XSHMPOQV.js";
22
+ import "./chunk-JGOP4GCK.js";
23
23
  import "./chunk-UACZUFIA.js";
24
24
 
25
25
  // ../terminal/src/index.ts