@agimon-ai/po-git 0.0.0-alpha.26 → 0.0.0-alpha.28
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.
- package/README.md +12 -0
- package/dist/extensions/server.cjs +3 -3
- package/dist/extensions/server.cjs.map +1 -1
- package/dist/extensions/server.mjs +2 -2
- package/dist/extensions/server.mjs.map +1 -1
- package/dist/extensions/web.mjs +75 -81
- package/dist/extensions/web.mjs.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{worktreeOperations-Cd8Q12L4.mjs → worktreeOperations-BqLLypS5.mjs} +49 -4
- package/dist/worktreeOperations-BqLLypS5.mjs.map +1 -0
- package/dist/{worktreeOperations-Dxs3txKL.cjs → worktreeOperations-CU0iV2h-.cjs} +79 -4
- package/dist/worktreeOperations-CU0iV2h-.cjs.map +1 -0
- package/package.json +9 -8
- package/dist/worktreeOperations-Cd8Q12L4.mjs.map +0 -1
- package/dist/worktreeOperations-Dxs3txKL.cjs.map +0 -1
package/README.md
CHANGED
|
@@ -27,6 +27,18 @@ In the web cockpit, po-git replaces the new-session dialog for a git workspace.
|
|
|
27
27
|
|
|
28
28
|
Worktree sessions opened here start at the top level of the session rail, with no parent. A workspace that is not a git checkout offers the plain session only. For remote devices, creating a worktree session needs the same passkey step-up as any new session.
|
|
29
29
|
|
|
30
|
+
### Worktree setup
|
|
31
|
+
|
|
32
|
+
A new worktree has no `node_modules` or builds. Put the commands that prepare one in `.po/worktree.yaml` at the repository root:
|
|
33
|
+
|
|
34
|
+
```yaml
|
|
35
|
+
setup:
|
|
36
|
+
- pnpm install --frozen-lockfile
|
|
37
|
+
- pnpm build
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
After the worktree session starts, po-git runs them in the worktree, in order and stopping at the first failure, as that session's runner `worktree-setup` (po-runner's `/runners start`), so the log is under Runners. A delegated task tells the agent setup is still running. The file is read from the checkout the worktree is created from; a malformed file refuses the spawn before any branch or checkout exists. The worktree session's own extensions do not need this: they load from the workspace checkout.
|
|
41
|
+
|
|
30
42
|
## Package behavior
|
|
31
43
|
|
|
32
44
|
### Review this session's changes
|
|
@@ -2,13 +2,13 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_worktreeOperations = require("../worktreeOperations-
|
|
5
|
+
const require_worktreeOperations = require("../worktreeOperations-CU0iV2h-.cjs");
|
|
6
6
|
let node_fs = require("node:fs");
|
|
7
7
|
node_fs = require_worktreeOperations.__toESM(node_fs, 1);
|
|
8
|
-
let node_os = require("node:os");
|
|
9
|
-
node_os = require_worktreeOperations.__toESM(node_os, 1);
|
|
10
8
|
let node_path = require("node:path");
|
|
11
9
|
node_path = require_worktreeOperations.__toESM(node_path, 1);
|
|
10
|
+
let node_os = require("node:os");
|
|
11
|
+
node_os = require_worktreeOperations.__toESM(node_os, 1);
|
|
12
12
|
let _agimon_ai_po_core_serverPlugin = require("@agimon-ai/po-core/serverPlugin");
|
|
13
13
|
let _agimon_ai_po_core_extensionFile = require("@agimon-ai/po-core/extensionFile");
|
|
14
14
|
let _agimon_ai_po_session = require("@agimon-ai/po-session");
|