@agimon-ai/po-git 0.0.0-alpha.29 → 0.0.0-alpha.30
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 +2 -2
- package/dist/extensions/server.cjs +5 -2
- package/dist/extensions/server.cjs.map +1 -1
- package/dist/extensions/server.mjs +6 -3
- package/dist/extensions/server.mjs.map +1 -1
- package/llms.txt +1 -1
- package/package.json +8 -8
- package/src/prompts/{po-use-git → codemode-how-to-git}/SKILL.md +1 -1
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@ Add `@agimon-ai/po-git` to a selected layer in `.po/modes.yaml`, then run `po sy
|
|
|
15
15
|
|
|
16
16
|
## Use
|
|
17
17
|
|
|
18
|
-
Use the browser worktree controls, or an agent session. In code mode the `worktrees` namespace (`list`, `status`, `spawn`, `close`, `merge`, `prune`, `send`, `messages`) returns structured records and the `run_worktree` tool is withdrawn from the model for that session; without code mode `run_worktree` stays. The `
|
|
18
|
+
Use the browser worktree controls, or an agent session. In code mode the `worktrees` namespace (`list`, `status`, `spawn`, `close`, `merge`, `prune`, `send`, `messages`) returns structured records and the `run_worktree` tool is withdrawn from the model for that session; without code mode `run_worktree` stays. The `codemode-how-to-git` skill carries the usage rules.
|
|
19
19
|
|
|
20
20
|
### New-session dialog
|
|
21
21
|
|
|
@@ -65,7 +65,7 @@ The setup lives outside every repository in `~/.po/git/credentials.json` (folder
|
|
|
65
65
|
|
|
66
66
|
## Help
|
|
67
67
|
|
|
68
|
-
The native server root registers `
|
|
68
|
+
The native server root registers `codemode-how-to-git` as a skill resource and the package index as Help-gated context. Guidance stays published under `src/prompts` and is not exported or copied into `dist`.
|
|
69
69
|
|
|
70
70
|
## Public API
|
|
71
71
|
|
|
@@ -487,9 +487,12 @@ function createGitSession({ context, host: serverHost, agent, signal }) {
|
|
|
487
487
|
sessionDelivery: () => (0, _agimon_ai_po_session.readPoSessionDelivery)(context)
|
|
488
488
|
});
|
|
489
489
|
const resources = [{
|
|
490
|
-
name: "
|
|
490
|
+
name: "codemode-how-to-git",
|
|
491
|
+
description: "Use the worktrees namespace to create, inspect, message, merge, and close Git worktree sessions through code mode.",
|
|
491
492
|
kind: "skill",
|
|
492
|
-
|
|
493
|
+
pinned: true,
|
|
494
|
+
path: (0, _agimon_ai_po_core_serverPlugin.packageResourcePath)(require("url").pathToFileURL(__filename).href, "src/prompts/codemode-how-to-git/SKILL.md"),
|
|
495
|
+
read: () => (0, _agimon_ai_po_core_serverPlugin.readPackageResource)(require("url").pathToFileURL(__filename).href, "src/prompts/codemode-how-to-git/SKILL.md")
|
|
493
496
|
}];
|
|
494
497
|
const tool = {
|
|
495
498
|
name: RUN_WORKTREE_TOOL_NAME,
|