@tenonhq/dovetail-core 0.0.107 → 0.0.109
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/dist/FileLogger.js +52 -0
- package/dist/appUtils.js +22 -0
- package/dist/commander.js +6 -0
- package/dist/tests/fileLoggerEnableGate.test.js +140 -0
- package/dist/tests/stampMetadataContent.test.js +46 -0
- package/package.json +1 -1
- package/release-manifest.json +643 -712
- package/skills/dove-create-plugin.md +1 -1
- package/skills/dove-troubleshoot-sync.md +2 -2
|
@@ -171,4 +171,4 @@ module.exports = {
|
|
|
171
171
|
- Return `{ success: false, output: "" }` to stop the build for that file
|
|
172
172
|
- Throw an exception for unexpected errors (caught by PluginManager)
|
|
173
173
|
- Log useful error messages -- they appear in the Dovetail console output
|
|
174
|
-
-
|
|
174
|
+
- Re-run with `--debug` (or `DOVETAIL_DEBUG=1`) to capture detailed error traces in a `dovetail-debug-*.log` (opt-in; off by default)
|
|
@@ -35,7 +35,7 @@ Ask the user which symptom they are experiencing (if not already clear):
|
|
|
35
35
|
1. **Check dev mode is running:** `npx dove dev` or `npx dove watchAllScopes`
|
|
36
36
|
2. **Check the file is in the manifest:** Look in `dove.manifest.json` or `dove.manifest.<scope>.json` for the table/record/field entry. If missing, run `npx dove refresh`.
|
|
37
37
|
3. **Check file extension matches a rule:** The file extension must match a `match` regex in `dove.config.js` rules. If no rule matches, the file content is pushed as-is (no build).
|
|
38
|
-
4. **Check debug logs:**
|
|
38
|
+
4. **Check debug logs:** Re-run the command with `--debug` (or `DOVETAIL_DEBUG=1`) to write a `dovetail-debug-*.log` file in the project root, then inspect it. Debug logs are opt-in — without the flag no log file is produced.
|
|
39
39
|
5. **Try manual push:** `npx dove push` to push all files and see errors.
|
|
40
40
|
|
|
41
41
|
### Diagnostic B: Authentication/Connection Failure
|
|
@@ -111,5 +111,5 @@ Dovetail checks that your local manifest scope matches the active scope on the S
|
|
|
111
111
|
|
|
112
112
|
- Always `npx dove refresh` before starting work to catch new records.
|
|
113
113
|
- Use `npx dove status` to verify connectivity.
|
|
114
|
-
-
|
|
114
|
+
- Re-run with `--debug` (or `DOVETAIL_DEBUG=1`) to emit a `dovetail-debug-*.log` with detailed error information (opt-in; off by default).
|
|
115
115
|
- Node.js v20 LTS is required -- check with `node -v`.
|