@jamesmurdza/opencode-daytona 0.1.22 → 0.1.23

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 (117) hide show
  1. package/.opencode/plugin/daytona/core/logger.d.ts +2 -2
  2. package/.opencode/plugin/daytona/core/logger.js +28 -15
  3. package/.opencode/plugin/daytona/core/logger.js.map +1 -1
  4. package/.opencode/plugin/daytona/core/project-data-storage.d.ts +11 -7
  5. package/.opencode/plugin/daytona/core/project-data-storage.js +84 -43
  6. package/.opencode/plugin/daytona/core/project-data-storage.js.map +1 -1
  7. package/.opencode/plugin/daytona/core/session-manager.d.ts +4 -1
  8. package/.opencode/plugin/daytona/core/session-manager.js +92 -33
  9. package/.opencode/plugin/daytona/core/session-manager.js.map +1 -1
  10. package/.opencode/plugin/daytona/core/toast.d.ts +4 -1
  11. package/.opencode/plugin/daytona/core/toast.js +6 -3
  12. package/.opencode/plugin/daytona/core/toast.js.map +1 -1
  13. package/.opencode/plugin/daytona/core/types.d.ts +10 -8
  14. package/.opencode/plugin/daytona/core/types.js +10 -6
  15. package/.opencode/plugin/daytona/core/types.js.map +1 -1
  16. package/.opencode/plugin/daytona/git/host-git-manager.d.ts +25 -5
  17. package/.opencode/plugin/daytona/git/host-git-manager.js +191 -44
  18. package/.opencode/plugin/daytona/git/host-git-manager.js.map +1 -1
  19. package/.opencode/plugin/daytona/git/index.d.ts +4 -1
  20. package/.opencode/plugin/daytona/git/index.js +9 -1
  21. package/.opencode/plugin/daytona/git/index.js.map +1 -1
  22. package/.opencode/plugin/daytona/git/sandbox-git-manager.d.ts +4 -1
  23. package/.opencode/plugin/daytona/git/sandbox-git-manager.js +19 -11
  24. package/.opencode/plugin/daytona/git/sandbox-git-manager.js.map +1 -1
  25. package/.opencode/plugin/daytona/git/session-git-manager.d.ts +11 -2
  26. package/.opencode/plugin/daytona/git/session-git-manager.js +39 -22
  27. package/.opencode/plugin/daytona/git/session-git-manager.js.map +1 -1
  28. package/.opencode/plugin/daytona/index.d.ts +131 -23
  29. package/.opencode/plugin/daytona/index.js +27 -16
  30. package/.opencode/plugin/daytona/index.js.map +1 -1
  31. package/.opencode/plugin/daytona/plugins/custom-tools.d.ts +129 -5
  32. package/.opencode/plugin/daytona/plugins/custom-tools.js +15 -15
  33. package/.opencode/plugin/daytona/plugins/custom-tools.js.map +1 -1
  34. package/.opencode/plugin/daytona/plugins/session-events.d.ts +10 -0
  35. package/.opencode/plugin/daytona/plugins/session-events.js +51 -0
  36. package/.opencode/plugin/daytona/plugins/session-events.js.map +1 -0
  37. package/.opencode/plugin/daytona/plugins/system-transform.d.ts +8 -5
  38. package/.opencode/plugin/daytona/plugins/system-transform.js +19 -16
  39. package/.opencode/plugin/daytona/plugins/system-transform.js.map +1 -1
  40. package/.opencode/plugin/daytona/tools/bash.d.ts +6 -2
  41. package/.opencode/plugin/daytona/tools/bash.js +12 -4
  42. package/.opencode/plugin/daytona/tools/bash.js.map +1 -1
  43. package/.opencode/plugin/daytona/tools/edit.d.ts +6 -2
  44. package/.opencode/plugin/daytona/tools/edit.js +13 -5
  45. package/.opencode/plugin/daytona/tools/edit.js.map +1 -1
  46. package/.opencode/plugin/daytona/tools/get-preview-url.d.ts +6 -2
  47. package/.opencode/plugin/daytona/tools/get-preview-url.js +11 -3
  48. package/.opencode/plugin/daytona/tools/get-preview-url.js.map +1 -1
  49. package/.opencode/plugin/daytona/tools/glob.d.ts +6 -2
  50. package/.opencode/plugin/daytona/tools/glob.js +11 -3
  51. package/.opencode/plugin/daytona/tools/glob.js.map +1 -1
  52. package/.opencode/plugin/daytona/tools/grep.d.ts +6 -2
  53. package/.opencode/plugin/daytona/tools/grep.js +11 -3
  54. package/.opencode/plugin/daytona/tools/grep.js.map +1 -1
  55. package/.opencode/plugin/daytona/tools/ls.d.ts +6 -2
  56. package/.opencode/plugin/daytona/tools/ls.js +11 -3
  57. package/.opencode/plugin/daytona/tools/ls.js.map +1 -1
  58. package/.opencode/plugin/daytona/tools/lsp.d.ts +6 -2
  59. package/.opencode/plugin/daytona/tools/lsp.js +13 -5
  60. package/.opencode/plugin/daytona/tools/lsp.js.map +1 -1
  61. package/.opencode/plugin/daytona/tools/multiedit.d.ts +6 -2
  62. package/.opencode/plugin/daytona/tools/multiedit.js +14 -6
  63. package/.opencode/plugin/daytona/tools/multiedit.js.map +1 -1
  64. package/.opencode/plugin/daytona/tools/patch.d.ts +7 -5
  65. package/.opencode/plugin/daytona/tools/patch.js +13 -13
  66. package/.opencode/plugin/daytona/tools/patch.js.map +1 -1
  67. package/.opencode/plugin/daytona/tools/read.d.ts +6 -2
  68. package/.opencode/plugin/daytona/tools/read.js +11 -3
  69. package/.opencode/plugin/daytona/tools/read.js.map +1 -1
  70. package/.opencode/plugin/daytona/tools/write.d.ts +6 -2
  71. package/.opencode/plugin/daytona/tools/write.js +12 -4
  72. package/.opencode/plugin/daytona/tools/write.js.map +1 -1
  73. package/.opencode/plugin/daytona/tools.d.ts +14 -16
  74. package/.opencode/plugin/daytona/tools.js +30 -23
  75. package/.opencode/plugin/daytona/tools.js.map +1 -1
  76. package/.opencode/plugin/index.d.ts +7 -4
  77. package/.opencode/plugin/index.js +12 -3
  78. package/.opencode/plugin/index.js.map +1 -1
  79. package/README.md +58 -26
  80. package/package.json +34 -17
  81. package/.opencode/plugin/daytona/core/logger.d.ts.map +0 -1
  82. package/.opencode/plugin/daytona/core/project-data-storage.d.ts.map +0 -1
  83. package/.opencode/plugin/daytona/core/session-manager.d.ts.map +0 -1
  84. package/.opencode/plugin/daytona/core/toast.d.ts.map +0 -1
  85. package/.opencode/plugin/daytona/core/types.d.ts.map +0 -1
  86. package/.opencode/plugin/daytona/git/host-git-manager.d.ts.map +0 -1
  87. package/.opencode/plugin/daytona/git/index.d.ts.map +0 -1
  88. package/.opencode/plugin/daytona/git/sandbox-git-manager.d.ts.map +0 -1
  89. package/.opencode/plugin/daytona/git/session-git-manager.d.ts.map +0 -1
  90. package/.opencode/plugin/daytona/index.d.ts.map +0 -1
  91. package/.opencode/plugin/daytona/plugins/custom-tools.d.ts.map +0 -1
  92. package/.opencode/plugin/daytona/plugins/index.d.ts +0 -8
  93. package/.opencode/plugin/daytona/plugins/index.d.ts.map +0 -1
  94. package/.opencode/plugin/daytona/plugins/index.js +0 -8
  95. package/.opencode/plugin/daytona/plugins/index.js.map +0 -1
  96. package/.opencode/plugin/daytona/plugins/session-cleanup.d.ts +0 -8
  97. package/.opencode/plugin/daytona/plugins/session-cleanup.d.ts.map +0 -1
  98. package/.opencode/plugin/daytona/plugins/session-cleanup.js +0 -36
  99. package/.opencode/plugin/daytona/plugins/session-cleanup.js.map +0 -1
  100. package/.opencode/plugin/daytona/plugins/session-idle-auto-commit.d.ts +0 -7
  101. package/.opencode/plugin/daytona/plugins/session-idle-auto-commit.d.ts.map +0 -1
  102. package/.opencode/plugin/daytona/plugins/session-idle-auto-commit.js +0 -44
  103. package/.opencode/plugin/daytona/plugins/session-idle-auto-commit.js.map +0 -1
  104. package/.opencode/plugin/daytona/plugins/system-transform.d.ts.map +0 -1
  105. package/.opencode/plugin/daytona/tools/bash.d.ts.map +0 -1
  106. package/.opencode/plugin/daytona/tools/edit.d.ts.map +0 -1
  107. package/.opencode/plugin/daytona/tools/get-preview-url.d.ts.map +0 -1
  108. package/.opencode/plugin/daytona/tools/glob.d.ts.map +0 -1
  109. package/.opencode/plugin/daytona/tools/grep.d.ts.map +0 -1
  110. package/.opencode/plugin/daytona/tools/ls.d.ts.map +0 -1
  111. package/.opencode/plugin/daytona/tools/lsp.d.ts.map +0 -1
  112. package/.opencode/plugin/daytona/tools/multiedit.d.ts.map +0 -1
  113. package/.opencode/plugin/daytona/tools/patch.d.ts.map +0 -1
  114. package/.opencode/plugin/daytona/tools/read.d.ts.map +0 -1
  115. package/.opencode/plugin/daytona/tools/write.d.ts.map +0 -1
  116. package/.opencode/plugin/daytona/tools.d.ts.map +0 -1
  117. package/.opencode/plugin/index.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"session-manager.js","sourceRoot":"","sources":["../../../../../.opencode/plugin/daytona/core/session-manager.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,OAAO,EAAgB,MAAM,gBAAgB,CAAA;AACtD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAEjC,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AAE3D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAE/B,MAAM,OAAO,qBAAqB;IACf,MAAM,CAAQ;IACd,WAAW,CAAoB;IACxC,gBAAgB,CAAmB;IACnC,gBAAgB,CAAS;IACjB,QAAQ,CAAQ;IAEhC,YAAY,MAAc,EAAE,UAAkB,EAAE,QAAgB;QAC9D,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;QACpB,IAAI,CAAC,WAAW,GAAG,IAAI,kBAAkB,CAAC,UAAU,CAAC,CAAA;QACrD,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAA;QACxB,IAAI,CAAC,gBAAgB,GAAG,IAAI,GAAG,EAAE,CAAA;IACnC,CAAC;IAED;;OAEG;IACK,kBAAkB,CAAC,OAA0C;QACnE,OAAO,OAAO,KAAK,SAAS,IAAI,SAAS,IAAI,OAAO,CAAA;IACtD,CAAC;IAED;;OAEG;IACK,sBAAsB,CAAC,OAA0C;QACvE,OAAO,OAAO,KAAK,SAAS,IAAI,IAAI,IAAI,OAAO,IAAI,CAAC,CAAC,SAAS,IAAI,OAAO,CAAC,CAAA;IAC5E,CAAC;IAED;;OAEG;IACK,mBAAmB,CAAC,SAAiB;QAC3C,MAAM,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA;QACpD,IAAI,WAAW,EAAE,CAAC;YAChB,KAAK,MAAM,CAAC,SAAS,EAAE,WAAW,CAAC,IAAI,MAAM,CAAC,OA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C/C,CAAC;gBAAC,OAAO,GAAG,EAAE,CAAC;oBACb,MAAM,CAAC,KAAK,CAAC,kCAAkC,WAAW,CAAC,SAAS,KAAK,GAAG,EAAE,CAAC,CAAA;gBACjF,CAAC;YACH,CAAC;QACH,CAAC;QAED,wDAAwD;QACxD,IAAI,IAAI,CAAC,kBAAkB,CAAC,OAAO,CAAC,EAAE,CAAC;YACrC,MAAM,CAAC,IAAI,CAAC,iCAAiC,SAAS,EAAE,CAAC,CAAA;YACzD,MAAM,OAAO,CAAC,MAAM,EAAE,CAAA;YACtB,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,SAAS,CAAC,CAAA;YAEvC,sBAAsB;YACtB,MAAM,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA;YACpD,IAAI,WAAW,EAAE,CAAC;gBAChB,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,SAAS,EAAE,WAAW,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAA;YAC5E,CAAC;YAED,MAAM,CAAC,IAAI,CAAC,+BAA+B,CAAC,CAAA;QAC9C,CAAC;aAAM,CAAC;YACN,MAAM,CAAC,IAAI,CAAC,iCAAiC,SAAS,EAAE,CAAC,CAAA;QAC3D,CAAC;IACH,CAAC;CACF"}
1
+ {"version":3,"file":"session-manager.js","sourceRoot":"","sources":["../../../../../../../libs/opencode-plugin/.opencode/plugin/daytona/core/session-manager.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH;;;GAGG;AAEH,wCAAsD;AACtD,qCAAiC;AAEjC,oEAA8D;AAC9D,oEAAqE;AACrE,iEAA2D;AAE3D,mCAA+B;AAE/B,MAAa,qBAAqB;IACf,MAAM,CAAQ;IACd,WAAW,CAAoB;IACxC,gBAAgB,CAAmB;IACnC,gBAAgB,CAAS;IACjB,QAAQ,CAAQ;IAEhC,YAAY,MAAc,EAAE,UAAkB,EAAE,QAAgB;QAC9D,IAAI,CAAC,MAAM,GAAG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Q,EAAE,SAAS,CAAC,CAAA;YAC5E,CAAC;YAED,eAAM,CAAC,IAAI,CAAC,+BAA+B,CAAC,CAAA;QAC9C,CAAC;aAAM,CAAC;YACN,eAAM,CAAC,IAAI,CAAC,iCAAiC,SAAS,EAAE,CAAC,CAAA;QAC3D,CAAC;IACH,CAAC;CACF;AA9OD,sDA8OC"}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * Copyright 2025 Daytona Platforms Inc.
3
+ * SPDX-License-Identifier: Apache-2.0
4
+ */
1
5
  /**
2
6
  * Global toast notification singleton
3
7
  * Queues toasts to prevent showing multiple at the same time
@@ -41,4 +45,3 @@ declare class ToastManager {
41
45
  }
42
46
  export declare const toast: ToastManager;
43
47
  export {};
44
- //# sourceMappingURL=toast.d.ts.map
@@ -1,7 +1,10 @@
1
+ "use strict";
1
2
  /**
2
- * Global toast notification singleton
3
- * Queues toasts to prevent showing multiple at the same time
3
+ * Copyright 2025 Daytona Platforms Inc.
4
+ * SPDX-License-Identifier: Apache-2.0
4
5
  */
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.toast = void 0;
5
8
  class ToastManager {
6
9
  tui = null;
7
10
  queue = [];
@@ -66,5 +69,5 @@ class ToastManager {
66
69
  }
67
70
  }
68
71
  // Export singleton instance
69
- export const toast = new ToastManager();
72
+ exports.toast = new ToastManager();
70
73
  //# sourceMappingURL=toast.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"toast.js","sourceRoot":"","sources":["../../../../../.opencode/plugin/daytona/core/toast.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAcH,MAAM,YAAY;IACR,GAAG,GAAwB,IAAI,CAAA;IAC/B,KAAK,GAAmB,EAAE,CAAA;IAC1B,SAAS,GAAG,KAAK,CAAA;IAEzB;;OAEG;IACH,UAAU,CAAC,GAAoC;QAC7C,IAAI,CAAC,GAAG,GAAG,GAAG,IAAI,IAAI,CAAA;IACxB,CAAC;IAED;;;OAGG;IACH,IAAI,CAAC,OAAqB;Q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,YAAY,EAAE,CAAA"}
1
+ {"version":3,"file":"toast.js","sourceRoot":"","sources":["../../../../../../../libs/opencode-plugin/.opencode/plugin/daytona/core/toast.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAmBH,MAAM,YAAY;IACR,GAAG,GAAwB,IAAI,CAAA;IAC/B,KAAK,GAAmB,EAAE,CAAA;IAC1B,SAAS,GAAG,KAAK,CAAA;IAEzB;;OAEG;IACH,UAAU,CAAC,GAAoC;QAC7C,IAAI,CAAC,GAAG,GAAG,GAAG,IAAI,IAAI,CAAA;IACxB,CAAC;IAED;;;OAGG;IACH,IAAI,CAAC,OAAqB;QACxB,MAAM,KAAK,GAAiB;YAC1B,OAAO,EAAE,MAAM;YACf,GAAG,OAAO;SACX,CAAA;QAED,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;QACtB,IAAI,CAAC,YAAY,EAAE,CAAA;IACrB,CAAC;IAED;;OAEG;IACK,YAAY;QAClB,IAAI,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC9C,OAAM;QACR,CAAC;QAED,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC;YACd,2CAA2C;YAC3C,IAAI,CAAC,KAAK,GAAG,EAAE,CAAA;YACf,OAAM;QACR,CAAC;QAED,IAAI,CAAC,SAAS,GAAG,IAAI,CAAA;QACrB,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,EAAG,CAAA;QAEjC,IAAI,CAAC;YACH,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC;gBACjB,IAAI,EAAE;oBACJ,KAAK,EAAE,KAAK,CAAC,KAAK;oBAClB,OAAO,EAAE,KAAK,CAAC,OAAO;oBACtB,OAAO,EAAE,KAAK,CAAC,OAAO,IAAI,MAAM;iBACjC;aACF,CAAC,CAAA;QACJ,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,6CAA6C;YAC7C,OAAO,CAAC,KAAK,CAAC,uBAAuB,EAAE,GAAG,CAAC,CAAA;QAC7C,CAAC;QAED,4DAA4D;QAC5D,kEAAkE;QAClE,UAAU,CAAC,GAAG,EAAE;YACd,IAAI,CAAC,SAAS,GAAG,KAAK,CAAA;YACtB,IAAI,CAAC,YAAY,EAAE,CAAA;QACrB,CAAC,EAAE,IAAI,CAAC,CAAA;IACV,CAAC;IAED;;OAEG;IACH,KAAK;QACH,IAAI,CAAC,KAAK,GAAG,EAAE,CAAA;IACjB,CAAC;CACF;AAED,4BAA4B;AACf,QAAA,KAAK,GAAG,IAAI,YAAY,EAAE,CAAA"}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * Copyright 2025 Daytona Platforms Inc.
3
+ * SPDX-License-Identifier: Apache-2.0
4
+ */
1
5
  /**
2
6
  * Type definitions and constants for the Daytona OpenCode plugin
3
7
  */
@@ -17,7 +21,8 @@ export type EventSessionIdle = {
17
21
  };
18
22
  };
19
23
  export type ExperimentalChatSystemTransformInput = {
20
- sessionID: string;
24
+ sessionID?: string;
25
+ model: any;
21
26
  };
22
27
  export type ExperimentalChatSystemTransformOutput = {
23
28
  system: string[];
@@ -30,22 +35,19 @@ export type SandboxInfo = {
30
35
  };
31
36
  export type SessionInfo = {
32
37
  sandboxId: string;
33
- branchNumber: number;
38
+ /**
39
+ * Only set when the local worktree is a git repo (used to create opencode/N branches/remotes).
40
+ */
41
+ branchNumber?: number;
34
42
  created: number;
35
43
  lastAccessed: number;
36
44
  };
37
45
  export type ProjectSessionData = {
38
46
  projectId: string;
39
47
  worktree: string;
40
- /**
41
- * Monotonically increasing pointer for branch numbering.
42
- * We persist this so we don't reuse branch numbers after sessions are deleted.
43
- */
44
- lastBranchNumber?: number;
45
48
  sessions: Record<string, SessionInfo>;
46
49
  };
47
50
  export type SessionSandboxMap = Map<string, Sandbox | SandboxInfo>;
48
51
  export declare const LOG_LEVEL_INFO: LogLevel;
49
52
  export declare const LOG_LEVEL_ERROR: LogLevel;
50
53
  export declare const LOG_LEVEL_WARN: LogLevel;
51
- //# sourceMappingURL=types.d.ts.map
@@ -1,11 +1,15 @@
1
+ "use strict";
1
2
  /**
2
- * Type definitions and constants for the Daytona OpenCode plugin
3
+ * Copyright 2025 Daytona Platforms Inc.
4
+ * SPDX-License-Identifier: Apache-2.0
3
5
  */
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.LOG_LEVEL_WARN = exports.LOG_LEVEL_ERROR = exports.LOG_LEVEL_INFO = exports.EVENT_TYPE_SESSION_IDLE = exports.EVENT_TYPE_SESSION_DELETED = void 0;
4
8
  // OpenCode constants
5
- export const EVENT_TYPE_SESSION_DELETED = 'session.deleted';
6
- export const EVENT_TYPE_SESSION_IDLE = 'session.idle';
9
+ exports.EVENT_TYPE_SESSION_DELETED = 'session.deleted';
10
+ exports.EVENT_TYPE_SESSION_IDLE = 'session.idle';
7
11
  // Daytona plugin constants
8
- export const LOG_LEVEL_INFO = 'INFO';
9
- export const LOG_LEVEL_ERROR = 'ERROR';
10
- export const LOG_LEVEL_WARN = 'WARN';
12
+ exports.LOG_LEVEL_INFO = 'INFO';
13
+ exports.LOG_LEVEL_ERROR = 'ERROR';
14
+ exports.LOG_LEVEL_WARN = 'WARN';
11
15
  //# sourceMappingURL=types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../.opencode/plugin/daytona/core/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AA4BH,qBAAqB;AAErB,MAAM,CAAC,MAAM,0BAA0B,GAAG,iBAAiB,CAAA;AAC3D,MAAM,CAAC,MAAM,uBAAuB,GAAG,cAAc,CAAA;AA8BrD,2BAA2B;AAE3B,MAAM,CAAC,MAAM,cAAc,GAAa,MAAM,CAAA;AAC9C,MAAM,CAAC,MAAM,eAAe,GAAa,OAAO,CAAA;AAChD,MAAM,CAAC,MAAM,cAAc,GAAa,MAAM,CAAA"}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../../../libs/opencode-plugin/.opencode/plugin/daytona/core/types.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAiCH,qBAAqB;AAER,QAAA,0BAA0B,GAAG,iBAAiB,CAAA;AAC9C,QAAA,uBAAuB,GAAG,cAAc,CAAA;AA4BrD,2BAA2B;AAEd,QAAA,cAAc,GAAa,MAAM,CAAA;AACjC,QAAA,eAAe,GAAa,OAAO,CAAA;AACnC,QAAA,cAAc,GAAa,MAAM,CAAA"}
@@ -1,20 +1,40 @@
1
+ /**
2
+ * Copyright 2025 Daytona Platforms Inc.
3
+ * SPDX-License-Identifier: Apache-2.0
4
+ */
1
5
  export declare class HostGitManager {
2
6
  private operationQueue;
7
+ /** Cached OID of an empty commit used to reserve branch refs (branches must point at commits, not blobs). */
8
+ private emptyCommitOidCache;
3
9
  /**
4
10
  * Checks if a git repository exists in the current directory
5
11
  * @returns true if a git repo exists, false otherwise
6
12
  */
7
- hasRepo(): boolean;
13
+ hasRepo(cwd?: string): boolean;
14
+ /**
15
+ * Allocates the next available opencode/N branch number by scanning local refs and
16
+ * reserving the chosen number by creating the ref immediately.
17
+ *
18
+ * This avoids relying on OpenCode's project ID and works even in repos with no commits.
19
+ */
20
+ allocateAndReserveBranchNumber(cwd: string, prefix?: string): number;
21
+ private refExists;
22
+ /**
23
+ * Returns a commit OID that branch refs can point at. Uses HEAD if the repo has commits,
24
+ * otherwise creates and caches an empty commit (empty tree + commit). Branch refs must
25
+ * point at commits, not blobs.
26
+ */
27
+ private getOrCreateEmptyCommitOid;
8
28
  /**
9
29
  * Pushes local changes to the sandbox remote.
10
30
  * @param remoteName Numbered remote (e.g. sandbox-2) matching opencode/N.
11
31
  * @param sshUrl The SSH URL of the sandbox remote.
12
32
  * @param branch The branch to push to.
33
+ * @param cwd Worktree path to run git in.
13
34
  * @returns true if push was successful, false if no repo exists
14
35
  */
15
- pushLocalToSandboxRemote(remoteName: string, sshUrl: string, branch: string): Promise<boolean>;
36
+ pushLocalToSandboxRemote(remoteName: string, sshUrl: string, branch: string, cwd: string): Promise<boolean>;
16
37
  private setRemote;
17
- pull(remoteName: string, sshUrl: string, branch: string, localBranch?: string): Promise<void>;
18
- push(remoteName: string, sshUrl: string, branch: string): Promise<void>;
38
+ pull(remoteName: string, sshUrl: string, branch: string, cwd: string, localBranch?: string): Promise<void>;
39
+ push(remoteName: string, sshUrl: string, branch: string, cwd: string): Promise<void>;
19
40
  }
20
- //# sourceMappingURL=host-git-manager.d.ts.map
@@ -1,58 +1,182 @@
1
- import { logger } from '../core/logger';
2
- import { execSync } from 'child_process';
3
- function execSyncSilent(cmd, options = {}) {
4
- return execSync(cmd, { stdio: 'ignore', ...options });
1
+ "use strict";
2
+ /**
3
+ * Copyright 2025 Daytona Platforms Inc.
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.HostGitManager = void 0;
8
+ const logger_1 = require("../core/logger");
9
+ const child_process_1 = require("child_process");
10
+ function execCommand(cmd, options = {}) {
11
+ try {
12
+ const stdout = (0, child_process_1.execSync)(cmd, {
13
+ stdio: ['ignore', 'pipe', 'pipe'],
14
+ encoding: 'utf8',
15
+ ...options,
16
+ });
17
+ return { ok: true, stdout: stdout ?? '', stderr: '', status: 0 };
18
+ }
19
+ catch (err) {
20
+ const stdout = err?.stdout?.toString?.() ?? '';
21
+ const stderr = err?.stderr?.toString?.() ?? err?.message ?? String(err);
22
+ const status = typeof err?.status === 'number' ? err.status : null;
23
+ return { ok: false, stdout, stderr, status };
24
+ }
5
25
  }
6
- export class HostGitManager {
26
+ class HostGitManager {
7
27
  // No constructor needed; use global logger
8
28
  operationQueue = Promise.resolve();
29
+ /** Cached OID of an empty commit used to reserve branch refs (branches must point at commits, not blobs). */
30
+ emptyCommitOidCache = new Map();
9
31
  /**
10
32
  * Checks if a git repository exists in the current directory
11
33
  * @returns true if a git repo exists, false otherwise
12
34
  */
13
- hasRepo() {
14
- try {
15
- execSyncSilent('git rev-parse --is-inside-work-tree');
16
- return true;
35
+ hasRepo(cwd) {
36
+ return execCommand('git rev-parse --is-inside-work-tree', cwd ? { cwd } : {}).ok;
37
+ }
38
+ /**
39
+ * Allocates the next available opencode/N branch number by scanning local refs and
40
+ * reserving the chosen number by creating the ref immediately.
41
+ *
42
+ * This avoids relying on OpenCode's project ID and works even in repos with no commits.
43
+ */
44
+ allocateAndReserveBranchNumber(cwd, prefix = 'opencode') {
45
+ const start = Date.now();
46
+ if (!this.hasRepo(cwd)) {
47
+ throw new Error('No local git repository found.');
17
48
  }
18
- catch {
19
- return false;
49
+ const base = `refs/heads/${prefix}/`;
50
+ const listRes = execCommand(`git for-each-ref --format='%(refname:strip=3)' ${base}`, { cwd });
51
+ if (!listRes.ok)
52
+ throw new Error(listRes.stderr);
53
+ const list = listRes.stdout.trim();
54
+ const nums = list.length === 0
55
+ ? []
56
+ : list
57
+ .split('\n')
58
+ .map((s) => s.trim())
59
+ .filter(Boolean)
60
+ .map((s) => Number.parseInt(s, 10))
61
+ .filter((n) => Number.isFinite(n) && n > 0);
62
+ let n = (nums.length ? Math.max(...nums) : 0) + 1;
63
+ const maxAttempts = 50; // Circuit-breaker
64
+ let attempts = 0;
65
+ while (n < 1_000_000 && attempts < maxAttempts) {
66
+ attempts++;
67
+ const ref = `${base}${n}`;
68
+ if (this.refExists(cwd, ref)) {
69
+ n++;
70
+ continue;
71
+ }
72
+ const oid = this.getOrCreateEmptyCommitOid(cwd);
73
+ const result = execCommand(`git update-ref "${ref}" "${oid}"`, { cwd });
74
+ if (result.ok) {
75
+ logger_1.logger.info(`[branch-alloc] reserved ${prefix}/${n} in ${Date.now() - start}ms`);
76
+ return n;
77
+ }
78
+ else {
79
+ // If we raced or hit an edge case, try the next number.
80
+ n++;
81
+ }
20
82
  }
83
+ const oid = this.getOrCreateEmptyCommitOid(cwd);
84
+ const last = execCommand(`git update-ref "${base}${n}" "${oid}"`, { cwd });
85
+ throw new Error(`Failed to allocate branch number after ${attempts} attempts. Last error: ${last.stderr}`);
86
+ }
87
+ refExists(cwd, ref) {
88
+ return execCommand(`git show-ref --verify --quiet "${ref}"`, { cwd }).ok;
89
+ }
90
+ /**
91
+ * Returns a commit OID that branch refs can point at. Uses HEAD if the repo has commits,
92
+ * otherwise creates and caches an empty commit (empty tree + commit). Branch refs must
93
+ * point at commits, not blobs.
94
+ */
95
+ getOrCreateEmptyCommitOid(cwd) {
96
+ const cached = this.emptyCommitOidCache.get(cwd);
97
+ if (cached)
98
+ return cached;
99
+ const headRes = execCommand('git rev-parse HEAD', { cwd });
100
+ const head = headRes.ok ? headRes.stdout.trim() : '';
101
+ if (head) {
102
+ this.emptyCommitOidCache.set(cwd, head);
103
+ return head;
104
+ }
105
+ // Create an empty tree (idempotent) then a commit pointing at it.
106
+ // Branch refs must point at commits, so we can't reserve with a blob.
107
+ const treeResult = (0, child_process_1.spawnSync)('git', ['hash-object', '-t', 'tree', '-w', '--stdin'], {
108
+ // Empty stdin => empty tree
109
+ input: '',
110
+ cwd,
111
+ encoding: 'utf8',
112
+ });
113
+ const treeOid = treeResult.stdout?.trim();
114
+ if (treeResult.status !== 0 || !treeOid) {
115
+ const errorMsg = treeResult.stderr?.toString() || treeResult.error?.message || String(treeResult.error || 'unknown');
116
+ throw new Error(`Failed to create empty tree: ${errorMsg}`);
117
+ }
118
+ // Provide a default identity for reservation commits when repo has no user.name/user.email (e.g. CI).
119
+ const reservationCommitName = 'OpenCode Plugin';
120
+ const reservationCommitEmail = 'opencode@daytona.io';
121
+ const reservationCommitMessage = 'OpenCode reservation';
122
+ const commitEnv = {
123
+ ...process.env,
124
+ GIT_AUTHOR_NAME: reservationCommitName,
125
+ GIT_AUTHOR_EMAIL: reservationCommitEmail,
126
+ GIT_COMMITTER_NAME: reservationCommitName,
127
+ GIT_COMMITTER_EMAIL: reservationCommitEmail,
128
+ };
129
+ // Create the commit
130
+ const commitRes = execCommand(`git commit-tree ${treeOid} -m "${reservationCommitMessage}"`, {
131
+ cwd,
132
+ env: commitEnv,
133
+ });
134
+ if (!commitRes.ok)
135
+ throw new Error(`Failed to create empty commit: ${commitRes.stderr}`);
136
+ const commitOid = commitRes.stdout.trim();
137
+ this.emptyCommitOidCache.set(cwd, commitOid);
138
+ return commitOid;
21
139
  }
22
140
  /**
23
141
  * Pushes local changes to the sandbox remote.
24
142
  * @param remoteName Numbered remote (e.g. sandbox-2) matching opencode/N.
25
143
  * @param sshUrl The SSH URL of the sandbox remote.
26
144
  * @param branch The branch to push to.
145
+ * @param cwd Worktree path to run git in.
27
146
  * @returns true if push was successful, false if no repo exists
28
147
  */
29
- async pushLocalToSandboxRemote(remoteName, sshUrl, branch) {
30
- if (!this.hasRepo()) {
31
- logger.warn('No local git repository found. Skipping push to sandbox.');
148
+ async pushLocalToSandboxRemote(remoteName, sshUrl, branch, cwd) {
149
+ if (!this.hasRepo(cwd)) {
150
+ logger_1.logger.warn('No local git repository found. Skipping push to sandbox.');
32
151
  return false;
33
152
  }
34
153
  try {
35
- logger.info(`Pushing to ${remoteName} (${sshUrl}) on branch ${branch}`);
154
+ logger_1.logger.info(`Pushing to ${remoteName} (${sshUrl}) on branch ${branch}`);
36
155
  const operation = this.operationQueue.then(async () => {
37
- execSyncSilent('git add .');
38
- execSyncSilent('git commit -m "Sync local changes before agent start" || echo "No changes to commit"', {
39
- shell: '/bin/bash',
40
- });
41
- this.setRemote(remoteName, sshUrl);
156
+ const statusRes = execCommand('git status --porcelain', { cwd });
157
+ if (!statusRes.ok) {
158
+ throw new Error(statusRes.stderr);
159
+ }
160
+ if (statusRes.stdout.trim().length > 0) {
161
+ logger_1.logger.warn('Local repository has uncommitted changes; pushing HEAD only (no auto-commit).');
162
+ }
163
+ this.setRemote(remoteName, sshUrl, cwd);
42
164
  let attempts = 0;
43
165
  while (attempts < 3) {
44
166
  try {
45
- execSyncSilent(`git push ${remoteName} HEAD:${branch}`);
46
- logger.info(`✓ Pushed local changes to ${remoteName}`);
167
+ const pushRes = execCommand(`git push ${remoteName} HEAD:${branch}`, { cwd });
168
+ if (!pushRes.ok)
169
+ throw new Error(pushRes.stderr);
170
+ logger_1.logger.info(`✓ Pushed local changes to ${remoteName}`);
47
171
  return;
48
172
  }
49
173
  catch (e) {
50
174
  attempts++;
51
175
  if (attempts >= 3) {
52
- logger.error(`Error pushing to ${remoteName} after 3 attempts: ${e}`);
176
+ logger_1.logger.error(`Error pushing to ${remoteName} after 3 attempts: ${e}`);
53
177
  }
54
178
  else {
55
- logger.warn(`Push attempt ${attempts} failed, retrying...`);
179
+ logger_1.logger.warn(`Push attempt ${attempts} failed, retrying...`);
56
180
  }
57
181
  }
58
182
  }
@@ -62,69 +186,91 @@ export class HostGitManager {
62
186
  return true;
63
187
  }
64
188
  catch (e) {
65
- logger.error(`Error pushing to sandbox: ${e}`);
189
+ logger_1.logger.error(`Error pushing to sandbox: ${e}`);
66
190
  return false;
67
191
  }
68
192
  }
69
- setRemote(remoteName, sshUrl) {
193
+ setRemote(remoteName, sshUrl, cwd) {
70
194
  try {
71
195
  // remove existing remote if it exists
72
- execSyncSilent(`git remote remove ${remoteName} || true`);
73
- execSyncSilent(`git remote add ${remoteName} ${sshUrl}`);
196
+ execCommand(`git remote remove ${remoteName}`, { cwd });
197
+ execCommand(`git remote add ${remoteName} ${sshUrl}`, { cwd });
74
198
  }
75
199
  catch (e) {
76
- logger.warn(`Could not set sandbox remote: ${e}`);
200
+ logger_1.logger.warn(`Could not set sandbox remote: ${e}`);
77
201
  }
78
202
  }
79
- async pull(remoteName, sshUrl, branch, localBranch) {
203
+ async pull(remoteName, sshUrl, branch, cwd, localBranch) {
80
204
  const operation = this.operationQueue.then(async () => {
81
- this.setRemote(remoteName, sshUrl);
205
+ this.setRemote(remoteName, sshUrl, cwd);
82
206
  let attempts = 0;
207
+ let lastError = undefined;
83
208
  // The first pull attempt sometimes fails. I'm not sure what the cause is.
84
209
  while (attempts < 3) {
85
210
  try {
86
211
  if (localBranch) {
87
- // Fetch the remote branch into the specified local branch
88
- execSyncSilent(`git fetch ${remoteName} ${branch}:${localBranch}`);
89
- logger.info(`✓ Fetched latest changes from sandbox into ${localBranch}`);
212
+ // Fetch into FETCH_HEAD only (never into refs/heads) so we don't hit
213
+ // "refusing to fetch into branch checked out" when this branch is checked out.
214
+ const fetchRes = execCommand(`git fetch ${remoteName} ${branch}`, { cwd });
215
+ if (!fetchRes.ok)
216
+ throw new Error(fetchRes.stderr);
217
+ const updateRefRes = execCommand(`git update-ref refs/heads/${localBranch} FETCH_HEAD`, { cwd });
218
+ if (!updateRefRes.ok)
219
+ throw new Error(updateRefRes.stderr);
220
+ // Only reset working directory if we're currently on this branch
221
+ const currentBranchRes = execCommand(`git rev-parse --abbrev-ref HEAD`, { cwd });
222
+ const currentBranch = currentBranchRes.ok ? currentBranchRes.stdout.trim() : '';
223
+ if (currentBranch === localBranch) {
224
+ const resetRes = execCommand(`git reset --hard refs/heads/${localBranch}`, { cwd });
225
+ if (!resetRes.ok)
226
+ throw new Error(resetRes.stderr);
227
+ }
228
+ logger_1.logger.info(`✓ Force pulled latest changes from sandbox into ${localBranch}`);
90
229
  }
91
230
  else {
92
- execSyncSilent(`git pull ${remoteName} ${branch}`);
93
- logger.info('✓ Pulled latest changes from sandbox');
231
+ const pullRes = execCommand(`git pull ${remoteName} ${branch}`, { cwd });
232
+ if (!pullRes.ok)
233
+ throw new Error(pullRes.stderr);
234
+ logger_1.logger.info('✓ Pulled latest changes from sandbox');
94
235
  }
95
236
  return;
96
237
  }
97
238
  catch (e) {
239
+ lastError = e;
98
240
  attempts++;
99
241
  if (attempts >= 3) {
100
- logger.error(`Error pulling from sandbox after 3 attempts: ${e}`);
242
+ logger_1.logger.error(`Error pulling from sandbox after 3 attempts: ${e}`);
101
243
  }
102
244
  else {
103
- logger.warn(`Pull attempt ${attempts} failed, retrying...`);
245
+ logger_1.logger.warn(`Pull attempt ${attempts} failed, retrying...`);
104
246
  }
105
247
  }
106
248
  }
249
+ // If we got here, all attempts failed.
250
+ throw lastError ?? new Error('Pull failed after 3 attempts');
107
251
  });
108
252
  this.operationQueue = operation;
109
253
  await operation;
110
254
  }
111
- async push(remoteName, sshUrl, branch) {
255
+ async push(remoteName, sshUrl, branch, cwd) {
112
256
  const operation = this.operationQueue.then(async () => {
113
- this.setRemote(remoteName, sshUrl);
257
+ this.setRemote(remoteName, sshUrl, cwd);
114
258
  let attempts = 0;
115
259
  while (attempts < 3) {
116
260
  try {
117
- execSyncSilent(`git push ${remoteName} HEAD:${branch}`);
118
- logger.info('✓ Pushed changes to sandbox');
261
+ const pushRes = execCommand(`git push ${remoteName} HEAD:${branch}`, { cwd });
262
+ if (!pushRes.ok)
263
+ throw new Error(pushRes.stderr);
264
+ logger_1.logger.info('✓ Pushed changes to sandbox');
119
265
  return;
120
266
  }
121
267
  catch (e) {
122
268
  attempts++;
123
269
  if (attempts >= 3) {
124
- logger.error(`Error pushing to sandbox after 3 attempts: ${e}`);
270
+ logger_1.logger.error(`Error pushing to sandbox after 3 attempts: ${e}`);
125
271
  }
126
272
  else {
127
- logger.warn(`Push attempt ${attempts} failed, retrying...`);
273
+ logger_1.logger.warn(`Push attempt ${attempts} failed, retrying...`);
128
274
  }
129
275
  }
130
276
  }
@@ -133,4 +279,5 @@ export class HostGitManager {
133
279
  await operation;
134
280
  }
135
281
  }
282
+ exports.HostGitManager = HostGitManager;
136
283
  //# sourceMappingURL=host-git-manager.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"host-git-manager.js","sourceRoot":"","sources":["../../../../../.opencode/plugin/daytona/git/host-git-manager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAExC,SAAS,cAAc,CAAC,GAAW,EAAE,UAAe,EAAE;IACpD,OAAO,QAAQ,CAAC,GAAG,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,OAAO,EAAE,CAAC,CAAA;AACvD,CAAC;AAED,MAAM,OAAO,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BAAgB,QAAQ,sBAAsB,CAAC,CAAA;oBAC7D,CAAC;gBACH,CAAC;YACH,CAAC;QACH,CAAC,CAAC,CAAA;QACF,IAAI,CAAC,cAAc,GAAG,SAAS,CAAA;QAC/B,MAAM,SAAS,CAAA;IACjB,CAAC;CACF"}
1
+ {"version":3,"file":"host-git-manager.js","sourceRoot":"","sources":["../../../../../../../libs/opencode-plugin/.opencode/plugin/daytona/git/host-git-manager.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,2CAAuC;AACvC,iDAAmD;AASnD,SAAS,WAAW,CAAC,GAAW,EAAE,UAAe,EAAE;IACjD,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,IAAA,wBAAQ,EAAC,GAAG,EAAE;YAC3B,KAAK,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,CAAC;YACjC,QAAQ,EAAE,MAAM;YAChB,GAAG,OAAO;SACX,CAAsB,CAAA;QACvB,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,IAAI,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE,CAAA;IAClE,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,MAAM,GAAG,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,IAAI,EAAE,CAAA;QAC9C,MAAM,MAAM,GAAG,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,IAAI,GAAG,EAAE,OAAO,IAAI,MAAM,CAAC,GAAG,CAAC,CAAA;QACvE,MAAM,MAAM,GAAG,OAAO,GAAG,EAAE,MAAM,KAAK,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAA;QAClE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,CAAA;IAC9C,CAAC;AACH,CAAC;AAED,MAAa,cAAc;IACzB,2C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C7D,CAAC;gBACH,CAAC;YACH,CAAC;QACH,CAAC,CAAC,CAAA;QACF,IAAI,CAAC,cAAc,GAAG,SAAS,CAAA;QAC/B,MAAM,SAAS,CAAA;IACjB,CAAC;CACF;AAhQD,wCAgQC"}
@@ -1,2 +1,5 @@
1
+ /**
2
+ * Copyright 2025 Daytona Platforms Inc.
3
+ * SPDX-License-Identifier: Apache-2.0
4
+ */
1
5
  export { SessionGitManager } from './session-git-manager';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,10 @@
1
- export { SessionGitManager } from './session-git-manager';
1
+ "use strict";
2
+ /**
3
+ * Copyright 2025 Daytona Platforms Inc.
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.SessionGitManager = void 0;
8
+ var session_git_manager_1 = require("./session-git-manager");
9
+ Object.defineProperty(exports, "SessionGitManager", { enumerable: true, get: function () { return session_git_manager_1.SessionGitManager; } });
2
10
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../.opencode/plugin/daytona/git/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/opencode-plugin/.opencode/plugin/daytona/git/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,6DAAyD;AAAhD,wHAAA,iBAAiB,OAAA"}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * Copyright 2025 Daytona Platforms Inc.
3
+ * SPDX-License-Identifier: Apache-2.0
4
+ */
1
5
  import type { Sandbox } from '@daytonaio/sdk';
2
6
  export declare class DaytonaSandboxGitManager {
3
7
  private readonly sandbox;
@@ -8,4 +12,3 @@ export declare class DaytonaSandboxGitManager {
8
12
  autoCommit(): Promise<boolean>;
9
13
  resetToRemote(branch: string): Promise<void>;
10
14
  }
11
- //# sourceMappingURL=sandbox-git-manager.d.ts.map