cocheck 0.0.0-stage → 0.4.1
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/LICENSE +21 -0
- package/README.md +118 -2
- package/THIRD_PARTY_NOTICES.md +279 -0
- package/bin/cocheck.mjs +8 -0
- package/dist/agent-transcripts.js +544 -0
- package/dist/attribution/basis.js +31 -0
- package/dist/attribution/evidence.js +312 -0
- package/dist/attribution/hooks/cocheck-preload.cjs +254 -0
- package/dist/attribution/hooks/sitecustomize.py +245 -0
- package/dist/attribution/names.js +163 -0
- package/dist/attribution/reconstruct.js +147 -0
- package/dist/attribution/tag.js +246 -0
- package/dist/attribution/write-scope-win.js +615 -0
- package/dist/attribution/write-scope.js +1668 -0
- package/dist/build-info.json +1 -0
- package/dist/cli-main.js +8 -0
- package/dist/cli.js +213 -0
- package/dist/codex-config.js +107 -0
- package/dist/connector/after-gap.js +56 -0
- package/dist/connector/after-snapshot.js +244 -0
- package/dist/connector/before-snapshot.js +168 -0
- package/dist/connector/builtins.js +93 -0
- package/dist/connector/changes-v1.js +276 -0
- package/dist/connector/claimed-state.js +40 -0
- package/dist/connector/claimed.js +86 -0
- package/dist/connector/conformance.js +458 -0
- package/dist/connector/diff-object.js +81 -0
- package/dist/connector/diff-samples.js +64 -0
- package/dist/connector/diff.js +273 -0
- package/dist/connector/doc-level.js +20 -0
- package/dist/connector/enabled-types.js +87 -0
- package/dist/connector/export-view.js +13 -0
- package/dist/connector/file-capture.js +265 -0
- package/dist/connector/frozen.js +213 -0
- package/dist/connector/installed-manifests.js +72 -0
- package/dist/connector/installed-match.js +161 -0
- package/dist/connector/local-process.js +119 -0
- package/dist/connector/nothing-changed-rule.js +23 -0
- package/dist/connector/old-rows.js +66 -0
- package/dist/connector/png-pixels.js +4 -0
- package/dist/connector/registry.js +78 -0
- package/dist/connector/requires.js +30 -0
- package/dist/connector/row-doc.js +54 -0
- package/dist/connector/run-argv.js +25 -0
- package/dist/connector/runner.js +325 -0
- package/dist/connector/schema.js +242 -0
- package/dist/connector/subject.js +8 -0
- package/dist/connector/subjects.js +113 -0
- package/dist/connector/validate.js +200 -0
- package/dist/connector-auth.js +101 -0
- package/dist/connector-create.js +55 -0
- package/dist/connector-doctor.js +167 -0
- package/dist/connector-test-cli.js +627 -0
- package/dist/connector-types-cli.js +43 -0
- package/dist/connectors/microsoft-excel/cocheck-connector.json +13 -0
- package/dist/connectors/microsoft-excel/connector.mjs +11 -0
- package/dist/connectors/microsoft-powerpoint/cocheck-connector.json +13 -0
- package/dist/connectors/microsoft-powerpoint/connector.mjs +11 -0
- package/dist/connectors/microsoft-word/cocheck-connector.json +13 -0
- package/dist/connectors/microsoft-word/connector.mjs +11 -0
- package/dist/copies.js +151 -0
- package/dist/coverage.js +279 -0
- package/dist/credit-guard.js +335 -0
- package/dist/display.js +78 -0
- package/dist/file-lock.js +145 -0
- package/dist/fingerprint.js +25 -0
- package/dist/formats/files/align.js +84 -0
- package/dist/formats/files/csv.js +78 -0
- package/dist/formats/files/layer.js +274 -0
- package/dist/formats/files/scan.js +86 -0
- package/dist/formats/files/textlike.js +21 -0
- package/dist/formats/layer.js +48 -0
- package/dist/harness-cmd/create.js +76 -0
- package/dist/harness-cmd/index.js +19 -0
- package/dist/harness-cmd/record.js +327 -0
- package/dist/harness-cmd/scrub.js +25 -0
- package/dist/harness-cmd/test.js +318 -0
- package/dist/harnesses/README.md +5 -0
- package/dist/harnesses/claude/cocheck-harness.json +344 -0
- package/dist/harnesses/codex/cocheck-harness.json +212 -0
- package/dist/harnesses/copilot/cocheck-harness.json +296 -0
- package/dist/helper-linker.js +257 -0
- package/dist/helpers/pdfpages +0 -0
- package/dist/home-page.js +173 -0
- package/dist/home-perms.js +59 -0
- package/dist/hook-adapter.js +3639 -0
- package/dist/hook-cli.js +542 -0
- package/dist/hook-journal.js +175 -0
- package/dist/hook.js +25 -0
- package/dist/hosts/claude.js +114 -0
- package/dist/hosts/codex-bin-macos.js +2 -0
- package/dist/hosts/codex-bin.js +35 -0
- package/dist/hosts/codex-trust-probe.js +52 -0
- package/dist/hosts/codex-trust.js +46 -0
- package/dist/hosts/codex.js +315 -0
- package/dist/hosts/compile.js +275 -0
- package/dist/hosts/copilot.js +81 -0
- package/dist/hosts/extras.js +55 -0
- package/dist/hosts/harnesses.js +66 -0
- package/dist/hosts/index.js +220 -0
- package/dist/hosts/install-block.js +332 -0
- package/dist/hosts/manifest.js +372 -0
- package/dist/hosts/session-titles.js +327 -0
- package/dist/hosts/shared.js +52 -0
- package/dist/hosts/tool-classes.js +6 -0
- package/dist/hosts/types.js +27 -0
- package/dist/html.js +4 -0
- package/dist/install.js +723 -0
- package/dist/items.js +105 -0
- package/dist/ledger.js +2108 -0
- package/dist/narration.js +202 -0
- package/dist/normalize.js +106 -0
- package/dist/office/connector/apps.js +34 -0
- package/dist/office/connector/docx/layer.js +247 -0
- package/dist/office/connector/docx/reader.js +284 -0
- package/dist/office/connector/excel/align.js +284 -0
- package/dist/office/connector/excel/answer.js +352 -0
- package/dist/office/connector/excel/diff.js +1310 -0
- package/dist/office/connector/excel/errors.js +44 -0
- package/dist/office/connector/excel/look.js +121 -0
- package/dist/office/connector/excel/print-boxes.js +432 -0
- package/dist/office/connector/excel/print-grid-previous.js +206 -0
- package/dist/office/connector/excel/print-setup.js +168 -0
- package/dist/office/connector/excel/workbook.js +374 -0
- package/dist/office/connector/export-driver.js +9 -0
- package/dist/office/connector/helpers/cocheck-screen +0 -0
- package/dist/office/connector/issues.js +31 -0
- package/dist/office/connector/mac-guard.js +16 -0
- package/dist/office/connector/main.js +23 -0
- package/dist/office/connector/nothing-changed.js +18 -0
- package/dist/office/connector/office-job.js +416 -0
- package/dist/office/connector/office-macos.js +473 -0
- package/dist/office/connector/office-win-export.js +107 -0
- package/dist/office/connector/office-win-lifecycle.js +194 -0
- package/dist/office/connector/office-win.js +209 -0
- package/dist/office/connector/office-win.ps1 +451 -0
- package/dist/office/connector/open-watch.js +46 -0
- package/dist/office/connector/pictures.js +156 -0
- package/dist/office/connector/pptx/diff.js +589 -0
- package/dist/office/connector/pptx/frames.js +105 -0
- package/dist/office/connector/pptx/layer.js +148 -0
- package/dist/office/connector/pptx/links.js +59 -0
- package/dist/office/connector/pptx/reader.js +744 -0
- package/dist/office/connector/pptx/spans.js +70 -0
- package/dist/office/connector/pptx/tags.js +86 -0
- package/dist/office/connector/pptx/xml.js +96 -0
- package/dist/office/connector/pptx/zip.js +223 -0
- package/dist/office/connector/pptx-boxes.js +238 -0
- package/dist/office/connector/print-copy-cap.js +19 -0
- package/dist/office/connector/print-copy.js +13 -0
- package/dist/office/connector/program.js +291 -0
- package/dist/office/connector/reach.js +27 -0
- package/dist/office/connector/refusal.js +16 -0
- package/dist/office/connector/screen-macos.js +193 -0
- package/dist/office/connector/screen-windows.js +34 -0
- package/dist/office/connector/shared/chart-diff.js +376 -0
- package/dist/office/connector/shared/docprops-noise.js +13 -0
- package/dist/office/connector/shared/lock.js +107 -0
- package/dist/office/connector/shared/ooxml-names.js +347 -0
- package/dist/office/connector/shared/owner.js +57 -0
- package/dist/office/connector/shared/package-media.js +703 -0
- package/dist/office/connector/shared/preflight.js +226 -0
- package/dist/office/connector/shared/structure-check.js +623 -0
- package/dist/office/connector/word-boxes.js +364 -0
- package/dist/office/connector/word-print-copy.js +234 -0
- package/dist/office/connector/xlsx/diff.js +1038 -0
- package/dist/office/connector/xlsx/formula.js +410 -0
- package/dist/office/connector/xlsx/layer.js +621 -0
- package/dist/office/connector/xlsx/memo.js +39 -0
- package/dist/office/connector/xlsx/numbers.js +31 -0
- package/dist/office/connector/xlsx/numfmt.js +913 -0
- package/dist/office/connector/xlsx/parts.js +66 -0
- package/dist/office/connector/xlsx/reader.js +394 -0
- package/dist/office/connector/xlsx/types.js +20 -0
- package/dist/office/connector/xlsx/written.js +446 -0
- package/dist/open-pick.js +101 -0
- package/dist/patch-secrets.js +194 -0
- package/dist/paths.js +65 -0
- package/dist/platform/darwin.js +179 -0
- package/dist/platform/index.js +61 -0
- package/dist/platform/spawn.js +115 -0
- package/dist/platform/stub.js +21 -0
- package/dist/platform/task-folder.js +41 -0
- package/dist/platform/types.js +20 -0
- package/dist/platform/win32-docrender.js +7 -0
- package/dist/platform/win32.js +265 -0
- package/dist/preferences.js +49 -0
- package/dist/reason.js +103 -0
- package/dist/region-delivery.js +148 -0
- package/dist/registry.js +68 -0
- package/dist/reveal.js +45 -0
- package/dist/review-process.js +154 -0
- package/dist/review-refresh-process.js +17 -0
- package/dist/review-refresh.js +120 -0
- package/dist/review-server.js +2079 -0
- package/dist/review-view-server.js +106 -0
- package/dist/review.js +8 -0
- package/dist/seal.js +315 -0
- package/dist/secret-files.js +34 -0
- package/dist/secret-hashes.js +27 -0
- package/dist/secret-rules.generated.js +3519 -0
- package/dist/secret-scan.js +127 -0
- package/dist/session-context.js +18 -0
- package/dist/signoff.js +419 -0
- package/dist/skill.js +110 -0
- package/dist/states.js +192 -0
- package/dist/tasks.js +1001 -0
- package/dist/timeline/attribution.js +207 -0
- package/dist/timeline/broken.js +55 -0
- package/dist/timeline/describe.js +416 -0
- package/dist/timeline/generic.js +195 -0
- package/dist/timeline/load.js +464 -0
- package/dist/timeline/loading.js +49 -0
- package/dist/timeline/notes.js +208 -0
- package/dist/timeline/page.js +178 -0
- package/dist/timeline/picture.js +303 -0
- package/dist/timeline/rail/assets/cocheck-icon.svg +1 -0
- package/dist/timeline/rail/assets/files-view.js +198 -0
- package/dist/timeline/rail/assets/loaders/icon-intro.json +1 -0
- package/dist/timeline/rail/assets/loaders/loader-orbit.json +1 -0
- package/dist/timeline/rail/assets/loaders/loader-spin.json +1 -0
- package/dist/timeline/rail/assets/review.css +992 -0
- package/dist/timeline/rail/assets/review.js +3365 -0
- package/dist/timeline/rail/assets/view-table.js +683 -0
- package/dist/timeline/rail/failure-line.js +26 -0
- package/dist/timeline/rail/files-model.js +45 -0
- package/dist/timeline/rail/live.js +49 -0
- package/dist/timeline/rail/made-pictures.js +48 -0
- package/dist/timeline/rail/mcp-card.js +307 -0
- package/dist/timeline/rail/model.js +1317 -0
- package/dist/timeline/rail/page.js +167 -0
- package/dist/timeline/rail/passes.js +106 -0
- package/dist/timeline/rail/regions.js +26 -0
- package/dist/timeline/rail/send-back.js +154 -0
- package/dist/timeline/rail/stop-status.js +164 -0
- package/dist/timeline/read-signal.js +743 -0
- package/dist/timeline/render/claimed.js +13 -0
- package/dist/timeline/render/fallback.js +36 -0
- package/dist/timeline/render/pdf-helper.js +71 -0
- package/dist/timeline/render/pdf.js +410 -0
- package/dist/timeline/render/pixel-pages.js +168 -0
- package/dist/timeline/render/png-crop.js +281 -0
- package/dist/timeline/render/registry.js +7 -0
- package/dist/timeline/render/text.js +366 -0
- package/dist/timeline/render/types.js +1 -0
- package/dist/timeline/render/view-v1.js +137 -0
- package/dist/timeline/render/whole.js +6 -0
- package/dist/timeline/rollout-failures.js +40 -0
- package/dist/timeline/runs.js +836 -0
- package/dist/timeline/stored-image.js +34 -0
- package/dist/timeline/subject-display.js +44 -0
- package/dist/timeline/timeline.js +1114 -0
- package/dist/timeline/write-signal.js +404 -0
- package/dist/tool-label.js +201 -0
- package/dist/tracking.js +87 -0
- package/dist/vendor/pdfjs/LICENSE +177 -0
- package/dist/vendor/pdfjs/pdf.min.mjs +27 -0
- package/dist/vendor/pdfjs/pdf.worker.min.mjs +27 -0
- package/package.json +66 -4
- package/public-kit/GUIDE.md +189 -0
- package/public-kit/README.md +10 -0
- package/public-kit/conformance/README.md +13 -0
- package/public-kit/conformance/cases/C1.json +12 -0
- package/public-kit/conformance/cases/C10.json +15 -0
- package/public-kit/conformance/cases/C11.json +16 -0
- package/public-kit/conformance/cases/C12.json +18 -0
- package/public-kit/conformance/cases/C13.json +23 -0
- package/public-kit/conformance/cases/C14.json +16 -0
- package/public-kit/conformance/cases/C16.json +15 -0
- package/public-kit/conformance/cases/C17.json +25 -0
- package/public-kit/conformance/cases/C2.json +13 -0
- package/public-kit/conformance/cases/C3.json +44 -0
- package/public-kit/conformance/cases/C4.json +13 -0
- package/public-kit/conformance/cases/C5.json +16 -0
- package/public-kit/conformance/cases/C6.json +58 -0
- package/public-kit/conformance/generate-large.mjs +15 -0
- package/public-kit/examples/toy-export/cocheck-connector.json +10 -0
- package/public-kit/examples/toy-export/connector.mjs +28 -0
- package/public-kit/examples/toy-helpers/cocheck-connector.json +10 -0
- package/public-kit/examples/toy-helpers/connector.mjs +69 -0
- package/public-kit/examples/toy-level-1/cocheck-connector.json +10 -0
- package/public-kit/examples/toy-level-1/connector.mjs +61 -0
- package/public-kit/examples/toy-level-3/cocheck-connector.json +10 -0
- package/public-kit/examples/toy-level-3/connector.mjs +82 -0
- package/public-kit/examples/toy-tracker/cocheck-connector.json +14 -0
- package/public-kit/examples/toy-tracker/connector.mjs +46 -0
- package/public-kit/examples/toy-tracker/samples/history.json +10 -0
- package/public-kit/examples/toy-tracker/samples/samples.json +7 -0
- package/public-kit/examples/toy-vendor/cocheck-connector.json +15 -0
- package/public-kit/examples/toy-vendor/connector.mjs +62 -0
- package/public-kit/harness/GUIDE.md +81 -0
- package/public-kit/harness/README.md +10 -0
- package/public-kit/harness/cases/claude/shell-writes-file.json +120 -0
- package/public-kit/harness/cases/codex/apply-patch-writes-files.json +177 -0
- package/public-kit/harness/cases/codex/helper-writes-file.json +160 -0
- package/public-kit/harness/cases/codex/shell-writes-and-fails.json +110 -0
- package/public-kit/harness/cases/copilot/camel-case-patch-and-failure.json +126 -0
- package/public-kit/harness/cases/copilot/helper-writes-file.json +209 -0
- package/public-kit/harness/cases/copilot/vscode-helper-writes-file.json +236 -0
- package/public-kit/harness/examples/toyagent/cases/write-notes.json +142 -0
- package/public-kit/harness/examples/toyagent/cocheck-harness.json +47 -0
- package/public-kit/harness/examples/toyagent/recordings/payloads.jsonl +8 -0
- package/public-kit/harness/harnesses/antigravity/README.md +32 -0
- package/public-kit/harness/harnesses/antigravity/cases/failed-edit.json +99 -0
- package/public-kit/harness/harnesses/antigravity/cases/helper-writes-file.json +270 -0
- package/public-kit/harness/harnesses/antigravity/cases/shell-ok-fail-and-denied.json +211 -0
- package/public-kit/harness/harnesses/antigravity/cases/write-then-edit.json +191 -0
- package/public-kit/harness/harnesses/antigravity/cocheck-harness.json +62 -0
- package/public-kit/harness/harnesses/antigravity/recordings/payloads.jsonl +63 -0
- package/public-kit/harness/harnesses/cursor/README.md +40 -0
- package/public-kit/harness/harnesses/cursor/cases/editor-write-edit-shell-helper.json +359 -0
- package/public-kit/harness/harnesses/cursor/cases/read-then-write-one-call-id.json +159 -0
- package/public-kit/harness/harnesses/cursor/cocheck-harness.json +67 -0
- package/public-kit/harness/harnesses/cursor/recordings/payloads.jsonl +28 -0
- package/public-kit/harness/scaffold/README.md +42 -0
- package/public-kit/harness/scaffold/cocheck-harness.json +72 -0
- package/public-kit/harness/scaffold/recordings/.gitkeep +0 -0
- package/public-kit/harness/spec/v1.md +286 -0
- package/public-kit/helpers/pdf-text-layout.d.mts +35 -0
- package/public-kit/helpers/pdf-text-layout.mjs +602 -0
- package/public-kit/helpers/pdf-text.d.mts +56 -0
- package/public-kit/helpers/pdf-text.mjs +375 -0
- package/public-kit/helpers/pdf.d.mts +61 -0
- package/public-kit/helpers/pdf.mjs +251 -0
- package/public-kit/helpers/png.d.mts +15 -0
- package/public-kit/helpers/png.mjs +88 -0
- package/public-kit/helpers/spec.d.mts +4 -0
- package/public-kit/helpers/spec.mjs +2 -0
- package/public-kit/scaffold/README.md +23 -0
- package/public-kit/scaffold/template/README.md +13 -0
- package/public-kit/scaffold/template/cocheck-connector.json +10 -0
- package/public-kit/scaffold/template/connector.mjs +50 -0
- package/public-kit/spec/README.md +408 -0
- package/public-kit/spec/v1.md +598 -0
- package/public-kit/toy-product/README.md +7 -0
- package/public-kit/toy-product/notes-store.mjs +30 -0
- package/public-kit/toy-product/states/create.after.json +16 -0
- package/public-kit/toy-product/states/create.before.json +12 -0
- package/public-kit/toy-product/states/delete.after.json +8 -0
- package/public-kit/toy-product/states/delete.before.json +12 -0
- package/public-kit/toy-product/states/edit.after.json +12 -0
- package/public-kit/toy-product/states/edit.before.json +12 -0
- package/public-kit/toy-product/states/malformed.after.json +1 -0
- package/public-kit/toy-product/states/malformed.before.json +12 -0
- package/public-kit/toy-product/states/no-change.after.json +12 -0
- package/public-kit/toy-product/states/no-change.before.json +12 -0
- package/scripts/hook-launch.mjs +58 -0
- package/scripts/hook-launch.sh +52 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 CoCheck contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,119 @@
|
|
|
1
|
-
|
|
1
|
+
<p align="center">
|
|
2
|
+
<picture>
|
|
3
|
+
<source media="(prefers-color-scheme: dark)" srcset="docs/brand/cocheck-wordmark-dark.png">
|
|
4
|
+
<img src="docs/brand/cocheck-wordmark-light.png" alt="CoCheck" height="72">
|
|
5
|
+
</picture>
|
|
6
|
+
</p>
|
|
2
7
|
|
|
3
|
-
|
|
8
|
+
If you are an agent I recommend starting here: [AGENTS.md](AGENTS.md)
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
Hi, thanks for checking this out. A few words before you read what Claude has built.
|
|
12
|
+
1) This is my first open-source project. I made it to help people stay valuable in the era of AI, not for AI to replace them. My full thoughts here [cocheck.ai](https://cocheck.ai)
|
|
13
|
+
2) As a result of 3), there will likely be mistakes in here. Would love to collaborate and receive guidance from people more knowledgeable.
|
|
14
|
+
3) Ironically, it is entirely vibe-coded. I have not written a single line besides these that I'm typing right now. That was part of my experiment. I wanted to see how capable Claude was. I checked what I thought were the important bits.
|
|
15
|
+
4) I really enjoyed building it, even so. Claude was a great builder but almost all of what I think the average person would consider to be the 'critical decisions' of the project were made by me (a human, in case that wasn't already obvious).
|
|
16
|
+
5) Use at your own risk. Not that I cooked malware into this or anything, but like I said, I haven't looked at most of the code. So yeah...maybe don't take my word for what's safe and what isn't (although I've left comments where I think they'll be helpful). Ideally this product would help me make that process a lot easier.
|
|
17
|
+
6) The goal is to expand this to accept anything (anything!!!) as a connector, that way all general workflows and traces can be audited. For now, it's just Microsoft Excel, Powerpoint, and Word. It's tricky and I don't have enough experience, so I think it's a great angle for an open source project, and for people with much more experience on specific integrations to build them. Let me know if you want to help.
|
|
18
|
+
7) This is just the beginning as far as my ambition is concerned. I have bigger ideas (but first, we'll see if anyone even reads this...)
|
|
19
|
+
8) I've only lightly tested this. Mostly on Mac with Claude Code, plus a little with Codex, Copilot CLI and Claude Code via the Claude desktop app on Mac, and Claude Code on Windows. It basically works but has not been extensively tested, so I expect lots of bugs.
|
|
20
|
+
9) Disclaimer: this is not meant to copy any existing software. It is not based on any existing software. I have not seen any software that does this. If we have an issue, let me know. Happy to work it out. Otherwise, this is original work as far as I know ("original work" haha).
|
|
21
|
+
|
|
22
|
+
Ok, leaving things in Claude's hands now. Enjoy.
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
CoCheck keeps you in the driver's seat
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
CoCheck shows what AI agents changed in your files, step by step, with a before-and-after review page that says which agent action made each change.
|
|
30
|
+
|
|
31
|
+
**This is a preview.** CoCheck works, and it has bugs. Please open an issue when something breaks or reads wrong. It has been tested most on a Mac with Claude Code; Windows, Codex and Copilot have had less testing.
|
|
32
|
+
|
|
33
|
+
CoCheck runs on a Mac, and on Windows with Claude Code; other platforms are planned. See [docs/install.md](docs/install.md) to install it.
|
|
34
|
+
|
|
35
|
+
## What it does
|
|
36
|
+
|
|
37
|
+
CoCheck hooks into the coding agents you already use and records their work as they do it. It supports Claude Code, Codex, Copilot, Cursor and Antigravity CLI (see Supported agents below). The agent needs no special tools.
|
|
38
|
+
|
|
39
|
+
You start tracking per session, in plain words: tell the agent "start tracking". Every session starts untracked, and an untracked session records nothing. "Stop tracking" ends it, and what was recorded stays.
|
|
40
|
+
|
|
41
|
+
For a tracked session, CoCheck keeps the whole file at the start of the task and every state of each file that changed.
|
|
42
|
+
|
|
43
|
+
## The review page
|
|
44
|
+
|
|
45
|
+
Say "show me the review", or run `cocheck open`. The page opens in your browser and shows:
|
|
46
|
+
|
|
47
|
+
- the before and after of each change, step by step, for every file the task touched;
|
|
48
|
+
- attribution: which agent call made each change, or that several overlapping calls share it, or that it was a hand edit;
|
|
49
|
+
- a pass or fail on each step, so you can send the failed ones back to the agent or sign off.
|
|
50
|
+
|
|
51
|
+
What the page shows for a file depends on its type. Text and code get a line diff, PDFs get pages with the changes boxed, and png, jpg, gif, webp and svg images are shown by your browser from the stored file, on every OS (two PNGs also get a pixel comparison). Excel, Word and PowerPoint files are read by three built-in connectors, on the same standard as any connector you build ([public-kit/GUIDE.md](public-kit/GUIDE.md) shows how to build one): they list what changed and, when the Office app is installed, show the app's own printed pages. CoCheck itself does not read or draw Office files. A file with no reader gets a fingerprint.
|
|
52
|
+
|
|
53
|
+
The page is local, and the record stays on your device in the data folder you choose at install.
|
|
54
|
+
|
|
55
|
+
## In the works
|
|
56
|
+
|
|
57
|
+
None of these is available yet.
|
|
58
|
+
|
|
59
|
+
- Stronger attribution: tying each change to the exact process that wrote it, not only to the agent calls open at the time.
|
|
60
|
+
- Better Excel pictures: Excel's charts shown beside the cells they draw from.
|
|
61
|
+
|
|
62
|
+
## Supported agents
|
|
63
|
+
|
|
64
|
+
CoCheck reads each agent through a harness manifest, a data file that says how the agent's hooks look. The table below is generated from the manifests by `scripts/readme-agents.ts`. Built-in harnesses ship with CoCheck. Harnesses from the kit are not built in: copy the folder to `<data home>/harnesses/<key>/` to use one, and `cocheck install --for <key>` then prints the hook entries to add. Their changes are credited to the agent's call by what changed while the call was open ("inferred"). To add an agent, see [public-kit/harness/GUIDE.md](public-kit/harness/GUIDE.md) and [docs/hooks.md](docs/hooks.md).
|
|
65
|
+
|
|
66
|
+
<!-- supported-agents:start (generated by scripts/readme-agents.ts; do not edit by hand) -->
|
|
67
|
+
| Agent | Tested versions | How it is supported |
|
|
68
|
+
| --- | --- | --- |
|
|
69
|
+
| Claude Code | not listed | built in |
|
|
70
|
+
| Codex | 0.162.0-alpha.2, 0.164.0-alpha.11.1 | built in |
|
|
71
|
+
| Copilot | 1.0.93, 1.0.98, 1.140.0 | built in |
|
|
72
|
+
| Antigravity CLI | 1.5.14 | harness kit (loaded from your data folder) |
|
|
73
|
+
| Cursor | 3.31.15 | harness kit (loaded from your data folder) |
|
|
74
|
+
<!-- supported-agents:end -->
|
|
75
|
+
|
|
76
|
+
## Install and use
|
|
77
|
+
|
|
78
|
+
On a Mac:
|
|
79
|
+
|
|
80
|
+
```
|
|
81
|
+
brew install cocheck-ai/tap/cocheck
|
|
82
|
+
cocheck install --home ~/CoCheckData
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
On a Mac or Windows:
|
|
86
|
+
|
|
87
|
+
```
|
|
88
|
+
npm install -g cocheck
|
|
89
|
+
cocheck install --home ~/CoCheckData
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
`--home` must be an absolute path. On Windows, cmd and Windows PowerShell pass `~` through unexpanded, so use `cocheck install --home "$env:USERPROFILE\CoCheckData" --for claude` in PowerShell (see the Windows part of [docs/install.md](docs/install.md)).
|
|
93
|
+
|
|
94
|
+
Run `cocheck install` from the folder you want CoCheck to watch, or pass `--folder <dir>`. Then restart your agent, start a session, say "start tracking", do some work, and say "show me the review". [docs/install.md](docs/install.md) has the whole path, including other agents (`--for codex`, `--for copilot`, `--for all`), checking that CoCheck is recording, and uninstalling.
|
|
95
|
+
|
|
96
|
+
## Platforms
|
|
97
|
+
|
|
98
|
+
CoCheck runs on a Mac, or on Windows with Claude Code (Node 22.18 or newer; see the Windows section of [docs/install.md](docs/install.md)). Codex and Copilot are documented for Mac only, and Cursor and Antigravity CLI were recorded on a Mac. The hook capture is written so other operating systems and other agents can follow. [platforms/README.md](platforms/README.md) holds the sourced record of what each agent platform lets CoCheck do (Claude Code, Codex, Copilot CLI, Copilot in VS Code, Cursor, Antigravity CLI, ChatGPT Work, Claude Cowork).
|
|
99
|
+
|
|
100
|
+
## Docs
|
|
101
|
+
|
|
102
|
+
- [docs/install.md](docs/install.md): install, start and stop tracking, the review page, uninstall, troubleshooting.
|
|
103
|
+
- [public-kit/GUIDE.md](public-kit/GUIDE.md): build a connector for another file type or app.
|
|
104
|
+
- [public-kit/harness/GUIDE.md](public-kit/harness/GUIDE.md): add another agent (a harness).
|
|
105
|
+
- [docs/hooks.md](docs/hooks.md): how the hook adapter records and attributes changes.
|
|
106
|
+
- [docs/attribution-tag.md](docs/attribution-tag.md): how a change is tied to the call that made it.
|
|
107
|
+
- [docs/timeline.md](docs/timeline.md): how the review page's timeline is built.
|
|
108
|
+
- [docs/security.md](docs/security.md): how stored file copies are encrypted at rest.
|
|
109
|
+
- [docs/release.md](docs/release.md): how a build is released.
|
|
110
|
+
- [docs/release-notes.md](docs/release-notes.md): what changed in each build.
|
|
111
|
+
|
|
112
|
+
## Working on CoCheck
|
|
113
|
+
|
|
114
|
+
```
|
|
115
|
+
npm install
|
|
116
|
+
npm run typecheck
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
Source is TypeScript that runs directly under Node 22.18 or newer. Tests run through `npm test`. On a Mac, building also needs the Xcode command-line tools (`xcode-select --install`), which provide `swiftc` for the native helpers. See [CONTRIBUTING.md](CONTRIBUTING.md). To report a security problem, see [SECURITY.md](SECURITY.md).
|
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
# Third-party notices
|
|
2
|
+
|
|
3
|
+
CoCheck ships the following third-party software with its build. Each entry names the licence, the copyright line and the file in the package or source that states them.
|
|
4
|
+
|
|
5
|
+
## pdf.js
|
|
6
|
+
|
|
7
|
+
- What: Mozilla pdf.js, the legacy build files `pdf.min.mjs` and `pdf.worker.min.mjs` from the `pdfjs-dist` package (version pinned in `package.json`).
|
|
8
|
+
- Where: `dist/vendor/pdfjs/` (copied by `scripts/build.mjs`), with its licence text in `dist/vendor/pdfjs/LICENSE`.
|
|
9
|
+
- Used for: reading every PDF's page sizes, text lines, paragraph places and crops on every OS (`public-kit/helpers/pdf-text.mjs`, in a Node child process); text only, no rendering.
|
|
10
|
+
- Licence: Apache License 2.0. Copyright Mozilla Foundation and the pdf.js contributors. Source: https://github.com/mozilla/pdf.js. Licence text: `node_modules/pdfjs-dist/LICENSE` (copied to `dist/vendor/pdfjs/LICENSE`); copyright line read from the header of `legacy/build/pdf.min.mjs` and `pdf.worker.min.mjs`: "Copyright 2024 Mozilla Foundation".
|
|
11
|
+
|
|
12
|
+
## Gitleaks rules
|
|
13
|
+
|
|
14
|
+
- What: the secret-detection rules of gitleaks (`vendor/gitleaks/gitleaks.toml`, version in `vendor/gitleaks/VERSION`, v8.30.1), embedded in `src/secret-rules.generated.ts` and compiled into `dist/`. The gitleaks program itself is not shipped.
|
|
15
|
+
- Used for: replacing text that looks like a secret with a withheld marker.
|
|
16
|
+
- Licence: MIT. Copyright (c) 2019 Zachary Rice. Source: https://github.com/gitleaks/gitleaks. Licence text and copyright line: `vendor/gitleaks/LICENSE`, reproduced below.
|
|
17
|
+
|
|
18
|
+
```
|
|
19
|
+
MIT License
|
|
20
|
+
|
|
21
|
+
Copyright (c) 2019 Zachary Rice
|
|
22
|
+
|
|
23
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
24
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
25
|
+
in the Software without restriction, including without limitation the rights
|
|
26
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
27
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
28
|
+
furnished to do so, subject to the following conditions:
|
|
29
|
+
|
|
30
|
+
The above copyright notice and this permission notice shall be included in all
|
|
31
|
+
copies or substantial portions of the Software.
|
|
32
|
+
|
|
33
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
34
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
35
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
36
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
37
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
38
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
39
|
+
SOFTWARE.
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## fast-xml-parser
|
|
43
|
+
|
|
44
|
+
- What: the `fast-xml-parser` package, version 5.11.1 at the time of writing (a runtime dependency in `package.json`, installed by `npm ci --omit=dev`).
|
|
45
|
+
- Used for: reading Office document XML.
|
|
46
|
+
- Licence: MIT. Copyright (c) 2017 Amit Kumar Gupta. Source: `node_modules/fast-xml-parser/LICENSE` and the `license` field of its `package.json`. Upstream: https://github.com/NaturalIntelligence/fast-xml-parser
|
|
47
|
+
|
|
48
|
+
```
|
|
49
|
+
MIT License
|
|
50
|
+
|
|
51
|
+
Copyright (c) 2017 Amit Kumar Gupta
|
|
52
|
+
|
|
53
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
54
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
55
|
+
in the Software without restriction, including without limitation the rights
|
|
56
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
57
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
58
|
+
furnished to do so, subject to the following conditions:
|
|
59
|
+
|
|
60
|
+
The above copyright notice and this permission notice shall be included in all
|
|
61
|
+
copies or substantial portions of the Software.
|
|
62
|
+
|
|
63
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
64
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
65
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
66
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
67
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
68
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
69
|
+
SOFTWARE.
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
## fflate
|
|
73
|
+
|
|
74
|
+
- What: the `fflate` package, version 0.8.3 at the time of writing (a runtime dependency in `package.json`, installed by `npm ci --omit=dev`).
|
|
75
|
+
- Used for: reading and writing zip containers (Office files).
|
|
76
|
+
- Licence: MIT. Copyright (c) 2026 Arjun Barrett. Source: `node_modules/fflate/LICENSE` and the `license` field of its `package.json`. Upstream: https://github.com/101arrowz/fflate
|
|
77
|
+
|
|
78
|
+
```
|
|
79
|
+
MIT License
|
|
80
|
+
|
|
81
|
+
Copyright (c) 2026 Arjun Barrett
|
|
82
|
+
|
|
83
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
84
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
85
|
+
in the Software without restriction, including without limitation the rights
|
|
86
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
87
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
88
|
+
furnished to do so, subject to the following conditions:
|
|
89
|
+
|
|
90
|
+
The above copyright notice and this permission notice shall be included in all
|
|
91
|
+
copies or substantial portions of the Software.
|
|
92
|
+
|
|
93
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
94
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
95
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
96
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
97
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
98
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
99
|
+
SOFTWARE.
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
## @nodable/entities
|
|
103
|
+
|
|
104
|
+
- What: the `@nodable/entities` package, version 3.0.0 at the time of writing (installed by `npm ci --omit=dev` as a dependency of `fast-xml-parser`).
|
|
105
|
+
- Licence: MIT. Author: Amit Gupta. This package ships no LICENSE file, so there is no copyright line to copy; the licence and author come from the `license` and `author` fields of `node_modules/@nodable/entities/package.json`. The standard MIT licence text applies.
|
|
106
|
+
|
|
107
|
+
## anynum
|
|
108
|
+
|
|
109
|
+
- What: the `anynum` package, version 1.0.1 at the time of writing (installed by `npm ci --omit=dev` as a dependency of `fast-xml-parser`).
|
|
110
|
+
- Licence: MIT. Copyright (c) 2026 Natural Intelligence. Source: `node_modules/anynum/LICENSE` and the `license` field of its `package.json`.
|
|
111
|
+
|
|
112
|
+
```
|
|
113
|
+
MIT License
|
|
114
|
+
|
|
115
|
+
Copyright (c) 2026 Natural Intelligence
|
|
116
|
+
|
|
117
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
118
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
119
|
+
in the Software without restriction, including without limitation the rights
|
|
120
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
121
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
122
|
+
furnished to do so, subject to the following conditions:
|
|
123
|
+
|
|
124
|
+
The above copyright notice and this permission notice shall be included in all
|
|
125
|
+
copies or substantial portions of the Software.
|
|
126
|
+
|
|
127
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
128
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
129
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
130
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
131
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
132
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
133
|
+
SOFTWARE.
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
## fast-xml-builder
|
|
137
|
+
|
|
138
|
+
- What: the `fast-xml-builder` package, version 1.3.1 at the time of writing (installed by `npm ci --omit=dev` as a dependency of `fast-xml-parser`).
|
|
139
|
+
- Licence: MIT. Copyright (c) 2026 Natural Intelligence. Source: `node_modules/fast-xml-builder/LICENSE` and the `license` field of its `package.json`.
|
|
140
|
+
|
|
141
|
+
```
|
|
142
|
+
MIT License
|
|
143
|
+
|
|
144
|
+
Copyright (c) 2026 Natural Intelligence
|
|
145
|
+
|
|
146
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
147
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
148
|
+
in the Software without restriction, including without limitation the rights
|
|
149
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
150
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
151
|
+
furnished to do so, subject to the following conditions:
|
|
152
|
+
|
|
153
|
+
The above copyright notice and this permission notice shall be included in all
|
|
154
|
+
copies or substantial portions of the Software.
|
|
155
|
+
|
|
156
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
157
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
158
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
159
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
160
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
161
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
162
|
+
SOFTWARE.
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
## is-unsafe
|
|
166
|
+
|
|
167
|
+
- What: the `is-unsafe` package, version 2.0.2 at the time of writing (installed by `npm ci --omit=dev` as a dependency of `fast-xml-parser`).
|
|
168
|
+
- Licence: MIT. Copyright (c) 2026 Natural Intelligence. Source: `node_modules/is-unsafe/LICENSE` and the `license` field of its `package.json`.
|
|
169
|
+
|
|
170
|
+
```
|
|
171
|
+
MIT License
|
|
172
|
+
|
|
173
|
+
Copyright (c) 2026 Natural Intelligence
|
|
174
|
+
|
|
175
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
176
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
177
|
+
in the Software without restriction, including without limitation the rights
|
|
178
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
179
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
180
|
+
furnished to do so, subject to the following conditions:
|
|
181
|
+
|
|
182
|
+
The above copyright notice and this permission notice shall be included in all
|
|
183
|
+
copies or substantial portions of the Software.
|
|
184
|
+
|
|
185
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
186
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
187
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
188
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
189
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
190
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
191
|
+
SOFTWARE.
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
## path-expression-matcher
|
|
195
|
+
|
|
196
|
+
- What: the `path-expression-matcher` package, version 1.6.2 at the time of writing (installed by `npm ci --omit=dev` as a dependency of `fast-xml-parser`).
|
|
197
|
+
- Licence: MIT. Copyright (c) 2024. Source: `node_modules/path-expression-matcher/LICENSE` and the `license` field of its `package.json`.
|
|
198
|
+
|
|
199
|
+
```
|
|
200
|
+
MIT License
|
|
201
|
+
|
|
202
|
+
Copyright (c) 2024
|
|
203
|
+
|
|
204
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
205
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
206
|
+
in the Software without restriction, including without limitation the rights
|
|
207
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
208
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
209
|
+
furnished to do so, subject to the following conditions:
|
|
210
|
+
|
|
211
|
+
The above copyright notice and this permission notice shall be included in all
|
|
212
|
+
copies or substantial portions of the Software.
|
|
213
|
+
|
|
214
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
215
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
216
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
217
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
218
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
219
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
220
|
+
SOFTWARE.
|
|
221
|
+
```
|
|
222
|
+
|
|
223
|
+
## strnum
|
|
224
|
+
|
|
225
|
+
- What: the `strnum` package, version 2.4.2 at the time of writing (installed by `npm ci --omit=dev` as a dependency of `fast-xml-parser`).
|
|
226
|
+
- Licence: MIT. Copyright (c) 2021 Natural Intelligence. Source: `node_modules/strnum/LICENSE` and the `license` field of its `package.json`.
|
|
227
|
+
|
|
228
|
+
```
|
|
229
|
+
MIT License
|
|
230
|
+
|
|
231
|
+
Copyright (c) 2021 Natural Intelligence
|
|
232
|
+
|
|
233
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
234
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
235
|
+
in the Software without restriction, including without limitation the rights
|
|
236
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
237
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
238
|
+
furnished to do so, subject to the following conditions:
|
|
239
|
+
|
|
240
|
+
The above copyright notice and this permission notice shall be included in all
|
|
241
|
+
copies or substantial portions of the Software.
|
|
242
|
+
|
|
243
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
244
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
245
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
246
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
247
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
248
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
249
|
+
SOFTWARE.
|
|
250
|
+
```
|
|
251
|
+
|
|
252
|
+
## xml-naming
|
|
253
|
+
|
|
254
|
+
- What: the `xml-naming` package, version 0.3.0 at the time of writing (installed by `npm ci --omit=dev` as a dependency of `fast-xml-parser`).
|
|
255
|
+
- Licence: MIT. Copyright (c) 2026 Natural Intelligence. Source: `node_modules/xml-naming/LICENSE` and the `license` field of its `package.json`.
|
|
256
|
+
|
|
257
|
+
```
|
|
258
|
+
MIT License
|
|
259
|
+
|
|
260
|
+
Copyright (c) 2026 Natural Intelligence
|
|
261
|
+
|
|
262
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
263
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
264
|
+
in the Software without restriction, including without limitation the rights
|
|
265
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
266
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
267
|
+
furnished to do so, subject to the following conditions:
|
|
268
|
+
|
|
269
|
+
The above copyright notice and this permission notice shall be included in all
|
|
270
|
+
copies or substantial portions of the Software.
|
|
271
|
+
|
|
272
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
273
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
274
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
275
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
276
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
277
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
278
|
+
SOFTWARE.
|
|
279
|
+
```
|
package/bin/cocheck.mjs
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// The `cocheck` bin. An installed package (and a built checkout) runs the built dist/cli-main.js; a source checkout that was never built
|
|
3
|
+
// runs src/cli-main.ts, which Node strips of types itself (it cannot inside node_modules, which is why the package ships dist/).
|
|
4
|
+
import { existsSync } from "node:fs";
|
|
5
|
+
import { pathToFileURL } from "node:url";
|
|
6
|
+
|
|
7
|
+
const built = new URL("../dist/cli-main.js", import.meta.url);
|
|
8
|
+
await import(existsSync(built) ? built.href : pathToFileURL(new URL("../src/cli-main.ts", import.meta.url).pathname).href);
|