Skip to content

Commit 09f8618

Browse files
committed
feat: add scoped Skiller prompt editor proofs
1 parent 68090c6 commit 09f8618

23 files changed

Lines changed: 774 additions & 63 deletions

docs/integrations/skiller.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,11 @@ The latest Playwright proof screenshots are checked in under `docs/screenshots/i
6161
- `pr238-proof-31-skiller-project-scoped-folder-picker-working.png` shows `/api/skiller/app/` opened from a project-scoped Skiller process with `Add project folder...` resolving to the selected container paths.
6262
- `pr238-proof-32-docker-git-browser-live-command.png` shows the live `docker-git browser` frontend served through the same controller used for the proof.
6363
- `pr238-proof-33-skiller-session-folder-picker-mcp.png` shows the terminal session-scoped Skiller URL opened from the real `Skiller` button and the `Add project folder...` picker resolving to `dg-skiller-button-demo:/home/dev/app`.
64+
- `pr238-proof-34-skiller-container-skill-paths.png` shows the session-scoped Skiller skill detail rendering the Codex skill path as `/home/dev/.codex/skills/...` instead of the controller Docker volume path.
65+
- `pr238-proof-35-skiller-container-project-paths.png` shows the Skiller Projects view rendering the active project as `/home/dev/app` instead of the controller Docker volume path.
66+
- `pr238-proof-36-skiller-system-prompts-ui.png` shows the real session-scoped Skiller Projects UI with project and global system prompt editors backed by the selected container paths.
67+
- `pr238-proof-37-skiller-global-system-prompt-ui.png` shows the same Skiller UI after saving a global Codex system prompt at `/home/dev/.codex/AGENTS.md`.
68+
- `pr238-proof-38-skiller-russian-system-prompts.png` shows Skiller rendering existing docker-git-managed Claude and Gemini global prompts as readable UTF-8 Russian text instead of literal `\u0422...` escapes.
6469

6570
## Updating the Pin
6671

108 KB
Loading
52.6 KB
Loading
72.5 KB
Loading
74.3 KB
Loading
136 KB
Loading
28.1 KB
Loading
80.2 KB
Loading

packages/api/src/services/skiller-core.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export type SkillerContainerScope = {
1212
readonly containerName: string
1313
readonly containerProjectPath: string
1414
readonly hostCodexSkillsPath: string
15+
readonly hostEnvGlobalPath: string
1516
readonly hostHomePath: string
1617
readonly hostProjectPath: string
1718
readonly projectId: string
@@ -112,6 +113,7 @@ export const sameSkillerScope = (
112113
return left.projectKey === right.projectKey &&
113114
left.containerName === right.containerName &&
114115
left.hostCodexSkillsPath === right.hostCodexSkillsPath &&
116+
left.hostEnvGlobalPath === right.hostEnvGlobalPath &&
115117
left.hostHomePath === right.hostHomePath &&
116118
left.hostProjectPath === right.hostProjectPath
117119
}

packages/api/src/services/skiller.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ const resolveSkillerScope = (
237237
containerName: project.containerName,
238238
containerProjectPath: project.targetDir,
239239
hostCodexSkillsPath,
240+
hostEnvGlobalPath: project.envGlobalPath,
240241
hostHomePath,
241242
hostProjectPath,
242243
projectId: project.projectDir,
@@ -307,6 +308,8 @@ const skillerHomeEnv = (
307308
scope === null
308309
? {}
309310
: {
311+
DOCKER_GIT_SKILLER_CONTAINER_HOME_PATH: scope.containerHomePath,
312+
DOCKER_GIT_SKILLER_HOST_ENV_GLOBAL_PATH: scope.hostEnvGlobalPath,
310313
HOME: scope.hostHomePath,
311314
USER: scope.sshUser,
312315
XDG_CACHE_HOME: join(scope.hostHomePath, ".cache"),

0 commit comments

Comments
 (0)