devworkspace 0.2.0 → 0.2.2
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/CHANGELOG.md +39 -0
- package/README.md +4 -3
- package/dist/agents/claude/content.js +3 -2
- package/dist/agents/claude/content.js.map +1 -1
- package/dist/cli/args.d.ts +16 -0
- package/dist/cli/args.js +5 -0
- package/dist/cli/args.js.map +1 -1
- package/dist/cli/help.js +30 -7
- package/dist/cli/help.js.map +1 -1
- package/dist/cli/render.d.ts +7 -1
- package/dist/cli/render.js +70 -13
- package/dist/cli/render.js.map +1 -1
- package/dist/cli/run.js +47 -8
- package/dist/cli/run.js.map +1 -1
- package/dist/config/schemas.d.ts +12 -1
- package/dist/config/schemas.js +12 -0
- package/dist/config/schemas.js.map +1 -1
- package/dist/discovery/commands.d.ts +34 -3
- package/dist/discovery/commands.js +109 -33
- package/dist/discovery/commands.js.map +1 -1
- package/dist/discovery/detect.d.ts +23 -0
- package/dist/discovery/detect.js +113 -48
- package/dist/discovery/detect.js.map +1 -1
- package/dist/discovery/docs.d.ts +10 -0
- package/dist/discovery/docs.js +52 -0
- package/dist/discovery/docs.js.map +1 -0
- package/dist/discovery/entrypoints.d.ts +20 -0
- package/dist/discovery/entrypoints.js +67 -0
- package/dist/discovery/entrypoints.js.map +1 -0
- package/dist/integrations/adapters/graphify.js +46 -8
- package/dist/integrations/adapters/graphify.js.map +1 -1
- package/dist/integrations/manager.js +14 -1
- package/dist/integrations/manager.js.map +1 -1
- package/dist/integrations/persistentPath.d.ts +20 -0
- package/dist/integrations/persistentPath.js +47 -0
- package/dist/integrations/persistentPath.js.map +1 -0
- package/dist/integrations/types.d.ts +6 -0
- package/dist/integrations/types.js.map +1 -1
- package/dist/knowledge/facts.d.ts +59 -2
- package/dist/knowledge/facts.js +115 -17
- package/dist/knowledge/facts.js.map +1 -1
- package/dist/prompts/onboarding.js +9 -6
- package/dist/prompts/onboarding.js.map +1 -1
- package/dist/services/analysis.d.ts +13 -1
- package/dist/services/analysis.js +23 -18
- package/dist/services/analysis.js.map +1 -1
- package/dist/services/doctor.js +92 -7
- package/dist/services/doctor.js.map +1 -1
- package/dist/services/knowledge.d.ts +17 -0
- package/dist/services/knowledge.js +28 -2
- package/dist/services/knowledge.js.map +1 -1
- package/dist/services/refresh.js +6 -6
- package/dist/services/refresh.js.map +1 -1
- package/dist/services/status.d.ts +12 -2
- package/dist/services/status.js +11 -9
- package/dist/services/status.js.map +1 -1
- package/dist/services/tasks.d.ts +2 -0
- package/dist/services/tasks.js +20 -12
- package/dist/services/tasks.js.map +1 -1
- package/dist/services/verify.d.ts +47 -0
- package/dist/services/verify.js +172 -0
- package/dist/services/verify.js.map +1 -0
- package/dist/tasks/routing.js +8 -3
- package/dist/tasks/routing.js.map +1 -1
- package/dist/tasks/task.d.ts +49 -5
- package/dist/tasks/task.js +68 -11
- package/dist/tasks/task.js.map +1 -1
- package/dist/verification/safety.d.ts +38 -0
- package/dist/verification/safety.js +120 -0
- package/dist/verification/safety.js.map +1 -0
- package/dist/verification/scope.d.ts +19 -0
- package/dist/verification/scope.js +119 -0
- package/dist/verification/scope.js.map +1 -0
- package/docs/integrations.md +1 -1
- package/docs/knowledge.md +2 -0
- package/docs/testing.md +29 -2
- package/docs/troubleshooting.md +4 -1
- package/package.json +1 -1
package/docs/troubleshooting.md
CHANGED
|
@@ -10,7 +10,8 @@ Start with `devworkspace doctor`. Every warning/failure includes a remediation l
|
|
|
10
10
|
| **"No DevWorkspace found"** | Run `devworkspace init` in the project root. Commands search upward from the current directory; use `--cwd <dir>` if you are elsewhere. |
|
|
11
11
|
| **`setup --integrations` says approval is needed (exit 2)** | Nothing risky ran. Review with `--dry-run`, then re-run with `--yes`. Machine-level (installing the Graphify tool), user-level and registry-package steps always need it. |
|
|
12
12
|
| **`PREREQUISITES_MISSING` for Graphify** | Install uv (`winget install --id astral-sh.uv`) or Python 3.10+ from python.org. On Windows the Microsoft Store `python` shortcut is not Python. Then re-run setup. |
|
|
13
|
-
| **Graphify `
|
|
13
|
+
| **Graphify `RESTART_REQUIRED`: "on your user PATH ... started before that was set"** (Windows) | The folder is already on your persistent PATH; this terminal/VS Code started earlier and still has the old one. Close and reopen the terminal, or restart VS Code (and Claude Code). Do not add it again. |
|
|
14
|
+
| **Graphify `DEGRADED`: not on PATH** | Its Claude Code hooks call `graphify` by name and it is on no PATH (on Windows: not in this terminal and not in your persistent user/machine PATH). Add the folder shown in the next step to PATH (or run `uv tool update-shell` / `pipx ensurepath`) and open a new terminal. |
|
|
14
15
|
| **`RESTART_REQUIRED`** | Restart Claude Code (or run `/reload-plugins`), then `devworkspace integrations status --restarted`. |
|
|
15
16
|
| **Plugin install fails with "Host key verification failed" / "Could not read from remote repository"** | Claude Code cloned the plugin over SSH and you have no GitHub SSH key. Run the documented fix yourself (it edits your global Git config): `git config --global url."https://github.com/".insteadOf git@github.com:`, then re-run setup. |
|
|
16
17
|
| **Plugin or marketplace clone times out** | Slow or blocked access to github.com. Retry later; Claude Code's own timeout can be raised with `CLAUDE_CODE_PLUGIN_GIT_TIMEOUT_MS`. Setup resumes from what is already done. |
|
|
@@ -29,6 +30,8 @@ Start with `devworkspace doctor`. Every warning/failure includes a remediation l
|
|
|
29
30
|
| **Windows: `EPERM` on write** | Editors, antivirus or indexers can briefly lock files; writes retry for ~2 s. If it persists, close the program holding the file. |
|
|
30
31
|
| **Windows: PowerShell blocks `devworkspace.ps1`** | `npm` creates `.cmd` and `.ps1` shims. Run via `devworkspace.cmd`, `npx devworkspace`, or relax the execution policy for your user (`Set-ExecutionPolicy -Scope CurrentUser RemoteSigned`). |
|
|
31
32
|
| **`.devworkspace` not appearing in Git** | The root `.gitignore` ignores it. Remove that rule; `.devworkspace/.gitignore` already excludes the machine-local parts. |
|
|
33
|
+
| **`doctor` warns "package manifest(s) the last analysis did not record"** | The analysis predates nested-package detection. Run `devworkspace analyze`; commands you confirmed earlier are kept. |
|
|
34
|
+
| **`doctor` warns "No ecosystem was detected" or "No verification commands"** | The analyzer found no recognised manifest or scripts. Add them, or write the commands in `.devworkspace/context/commands.json` (`"origin": "user"`, optional `"cwd": "backend"`). If the project intentionally has none, set `"acknowledgeNoVerification": true` under `settings` in `.devworkspace/project.json`. |
|
|
32
35
|
| **Analysis seems incomplete** | `status`/`doctor` says "partial" when file or depth limits were hit. Raise `settings.maxFiles` in `project.json` or add `.devworkspaceignore` entries for generated folders. |
|
|
33
36
|
|
|
34
37
|
Add `--debug` to any command for stack traces and debug logs (secrets are still redacted).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "devworkspace",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Project-local AI engineering workspace: deterministic repository discovery, portable project knowledge, tasks, decisions and verification gates for AI coding agents.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|