@jskit-ai/jskit-cli 0.2.81 → 0.2.83
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/package.json +6 -4
- package/src/server/appBlueprint.js +1 -1
- package/src/server/commandHandlers/helperMap.js +104 -0
- package/src/server/commandHandlers/session.js +127 -3
- package/src/server/commandHandlers/show.js +169 -34
- package/src/server/core/argParser.js +8 -0
- package/src/server/core/commandCatalog.js +60 -2
- package/src/server/core/createCommandHandlers.js +4 -1
- package/src/server/helperMap.js +463 -0
- package/src/server/helperMapPaths.js +7 -0
- package/src/server/sessionRuntime/appReadiness.js +55 -0
- package/src/server/sessionRuntime/constants.js +326 -87
- package/src/server/sessionRuntime/preconditions.js +382 -5
- package/src/server/sessionRuntime/promptRenderer.js +15 -2
- package/src/server/sessionRuntime/prompts/automated_checks.md +42 -0
- package/src/server/sessionRuntime/prompts/deep_ui_check.md +53 -0
- package/src/server/sessionRuntime/prompts/execute_plan.md +33 -7
- package/src/server/sessionRuntime/prompts/final_comment.md +3 -1
- package/src/server/sessionRuntime/prompts/issue_details.md +46 -0
- package/src/server/sessionRuntime/prompts/new_issue.md +15 -2
- package/src/server/sessionRuntime/prompts/plan_issue.md +40 -9
- package/src/server/sessionRuntime/prompts/resolve_deslop_findings.md +16 -0
- package/src/server/sessionRuntime/prompts/review_changes.md +46 -5
- package/src/server/sessionRuntime/prompts/update_blueprint.md +38 -0
- package/src/server/sessionRuntime/prompts/user_check.md +15 -1
- package/src/server/sessionRuntime/responses.js +860 -62
- package/src/server/sessionRuntime.js +1699 -140
- package/src/server/sessionRuntime/prompts/doctor_failure.md +0 -26
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
The JSKIT session doctor or verification step failed.
|
|
2
|
-
|
|
3
|
-
Session:
|
|
4
|
-
|
|
5
|
-
{{session_id}}
|
|
6
|
-
|
|
7
|
-
Worktree:
|
|
8
|
-
|
|
9
|
-
{{worktree}}
|
|
10
|
-
|
|
11
|
-
Failure output:
|
|
12
|
-
|
|
13
|
-
{{doctor_output}}
|
|
14
|
-
|
|
15
|
-
Fix the root cause in this worktree. Do not silence the failure or remove checks to make the step pass.
|
|
16
|
-
|
|
17
|
-
Diagnosis rules:
|
|
18
|
-
|
|
19
|
-
- Identify whether the failure is dependency/setup, JSKIT metadata, generated contract drift, routing/surface wiring, CRUD ownership, UI verification receipt, test-auth, or ordinary application code.
|
|
20
|
-
- Prefer repairing the JSKIT-owned contract or generated metadata over adding local-path hacks.
|
|
21
|
-
- Do not run `npm install` only because optional agent docs are missing. Run installs only when the failure or a JSKIT setup/session step requires dependency repair.
|
|
22
|
-
- If a generator/package command is the correct repair, use the `jskit` command rather than hand-recreating generated structure.
|
|
23
|
-
- For UI receipt failures, run the relevant Playwright check and record it with `jskit app verify-ui --command "<playwright command>" --feature "<label>" --auth-mode <mode>` when possible.
|
|
24
|
-
- If login is required, use the app's development auth bootstrap path rather than a live external auth flow.
|
|
25
|
-
|
|
26
|
-
Do not push, open a PR, merge, or remove the worktree. When the fix is ready, report the root cause, files changed, verification, and anything still unverified. The user or Studio will rerun the JSKIT session step.
|