@writetrack/tiptap 0.14.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 ADDED
@@ -0,0 +1,93 @@
1
+ Ammil Industries Proprietary License
2
+
3
+ Copyright (c) 2025-2026 Ammil Industries. All rights reserved.
4
+
5
+ This software and associated documentation files (the "Software") are the
6
+ proprietary property of Ammil Industries and are protected by copyright law
7
+ and international treaties.
8
+
9
+ 1. LICENSE GRANT
10
+
11
+ Subject to the terms of this agreement and a valid license key obtained
12
+ through https://writetrack.dev, Ammil Industries grants you a limited,
13
+ non-exclusive, non-transferable, revocable license to use the Software
14
+ solely in connection with the domain(s) specified in your license key.
15
+ Additional license types (Development, Pro, Enterprise) and their terms
16
+ are described at https://writetrack.dev/license.
17
+
18
+ 2. RESTRICTIONS
19
+
20
+ You may not, and may not permit any third party to:
21
+
22
+ a. Copy, modify, adapt, translate, or create derivative works of the
23
+ Software or any part thereof;
24
+ b. Reverse engineer, disassemble, decompile, or otherwise attempt to
25
+ derive the source code, algorithms, or data structures of the Software;
26
+ c. Redistribute, sublicense, lease, rent, loan, sell, or otherwise
27
+ transfer the Software or any rights therein to any third party;
28
+ d. Remove, alter, or obscure any copyright, trademark, or other
29
+ proprietary notices contained in the Software;
30
+ e. Use the Software to build a competing product or service;
31
+ f. Use the Software on any domain not authorized by your license key.
32
+
33
+ 3. INTELLECTUAL PROPERTY
34
+
35
+ The Software, including all algorithms, models, data structures, and
36
+ documentation, is and shall remain the sole and exclusive property of
37
+ Ammil Industries. Nothing in this agreement transfers any ownership rights
38
+ to you. All rights not expressly granted herein are reserved.
39
+
40
+ 4. TERM AND TERMINATION
41
+
42
+ This license is effective until terminated. It terminates automatically if:
43
+
44
+ a. Your license key expires or is revoked;
45
+ b. Your subscription lapses;
46
+ c. You breach any term of this agreement.
47
+
48
+ Upon termination, you must cease all use of the Software and destroy all
49
+ copies in your possession.
50
+
51
+ Sections 2, 3, 5, 6, 7, and 8 shall survive any termination or expiration
52
+ of this agreement.
53
+
54
+ 5. DATA HANDLING
55
+
56
+ The Software processes data locally on the end user's device and does not
57
+ transmit keystroke data, behavioral data, or any personally identifiable
58
+ information to Ammil Industries or any third party. For additional details
59
+ on data practices, see the privacy policy at https://writetrack.dev/privacy.
60
+
61
+ 6. NO WARRANTY
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. AMMIL INDUSTRIES
66
+ DOES NOT WARRANT THAT THE SOFTWARE WILL BE ERROR-FREE OR UNINTERRUPTED.
67
+
68
+ 7. LIMITATION OF LIABILITY
69
+
70
+ IN NO EVENT SHALL AMMIL INDUSTRIES BE LIABLE FOR ANY INDIRECT, INCIDENTAL,
71
+ SPECIAL, CONSEQUENTIAL, OR PUNITIVE DAMAGES, OR ANY LOSS OF PROFITS,
72
+ REVENUE, DATA, OR DATA USE, ARISING OUT OF OR RELATED TO THIS AGREEMENT
73
+ OR THE USE OF THE SOFTWARE, REGARDLESS OF THE THEORY OF LIABILITY, EVEN
74
+ IF AMMIL INDUSTRIES HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
75
+
76
+ AMMIL INDUSTRIES' TOTAL CUMULATIVE LIABILITY UNDER THIS AGREEMENT SHALL
77
+ NOT EXCEED THE AMOUNTS PAID BY YOU FOR THE SOFTWARE IN THE TWELVE (12)
78
+ MONTHS PRECEDING THE CLAIM.
79
+
80
+ 8. GOVERNING LAW
81
+
82
+ This agreement shall be governed by and construed in accordance with the
83
+ laws of the Province of British Columbia, Canada, without regard to its
84
+ conflict of laws provisions. The courts of British Columbia shall have
85
+ exclusive jurisdiction over any disputes arising under this agreement.
86
+
87
+ 9. ENTIRE AGREEMENT
88
+
89
+ This agreement constitutes the entire agreement between you and Ammil
90
+ Industries regarding the Software and supersedes all prior or
91
+ contemporaneous agreements, representations, and understandings.
92
+
93
+ For licensing inquiries: hello@writetrack.dev
package/README.md ADDED
@@ -0,0 +1,36 @@
1
+ # @writetrack/tiptap
2
+
3
+ [![npm version](https://img.shields.io/npm/v/@writetrack/tiptap.svg)](https://www.npmjs.com/package/@writetrack/tiptap)
4
+ [![npm downloads](https://img.shields.io/npm/dm/@writetrack/tiptap.svg)](https://www.npmjs.com/package/@writetrack/tiptap)
5
+ [![license](https://img.shields.io/npm/l/@writetrack/tiptap.svg)](https://writetrack.dev/docs/license/)
6
+ [![no network calls](https://img.shields.io/badge/network-none-success)](https://writetrack.dev/docs/privacy/)
7
+
8
+ With `@writetrack/tiptap`, you can detect AI-generated content in your TipTap editor by analyzing how the text was typed. It works with the WriteTrack SDK (more on that below) and runs entirely client-side.
9
+
10
+ ## About WriteTrack SDK
11
+
12
+ WriteTrack surfaces signals that distinguish human writing from AI-generated or pasted content — at the point of entry, before the text is submitted.
13
+
14
+ - **AI-content detection** — composite score from keystroke and behavioral signals, ready for review, gating, or telemetry
15
+ - **Authenticity scoring** — surface confidence that text was typed rather than pasted or generated
16
+ - **Behavioral analysis** — clipboard usage, corrections, pauses, burst patterns, focus loss
17
+ - **Keystroke dynamics** — dwell time, flight time, rhythm consistency, n-gram anomalies
18
+
19
+ ## Installation
20
+
21
+ ```bash
22
+ pnpm add @writetrack/tiptap
23
+ ```
24
+
25
+ ## Documentation
26
+
27
+ - [TipTap integration guide](https://writetrack.dev/docs/integrations/tiptap/) for setup, configuration, and code examples
28
+ - [Full API reference](https://writetrack.dev/docs/api-reference/) for the underlying SDK
29
+
30
+ ## Privacy
31
+
32
+ WriteTrack is designed to make no network calls and emit no telemetry by default. See the [privacy documentation](https://writetrack.dev/docs/privacy/) for the full posture.
33
+
34
+ ## Releases
35
+
36
+ - See the [changelog](https://writetrack.dev/docs/changelog/) for recent changes.
@@ -0,0 +1,16 @@
1
+ import type { WriteTrack } from 'writetrack';
2
+
3
+ export type {
4
+ WriteTrackExtensionOptions,
5
+ WriteTrackExtensionStorage,
6
+ } from 'writetrack/tiptap';
7
+ export { WriteTrackExtension } from 'writetrack/tiptap';
8
+
9
+ declare module '@tiptap/core' {
10
+ interface Storage {
11
+ writetrack: import('writetrack/tiptap').WriteTrackExtensionStorage;
12
+ }
13
+ interface EditorEvents {
14
+ 'writetrack:ready': { tracker: WriteTrack };
15
+ }
16
+ }
package/dist/index.js ADDED
@@ -0,0 +1,6 @@
1
+ // src/index.ts
2
+ import "writetrack/tiptap";
3
+ import { WriteTrackExtension } from "writetrack/tiptap";
4
+ export {
5
+ WriteTrackExtension
6
+ };
package/package.json ADDED
@@ -0,0 +1,47 @@
1
+ {
2
+ "name": "@writetrack/tiptap",
3
+ "version": "0.14.1",
4
+ "description": "TipTap extension for keystroke-pattern analysis — distinguish human typing from AI-generated text at the point of entry",
5
+ "type": "module",
6
+ "main": "./dist/index.js",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "import": "./dist/index.js"
13
+ }
14
+ },
15
+ "files": [
16
+ "dist/",
17
+ "README.md",
18
+ "LICENSE"
19
+ ],
20
+ "dependencies": {
21
+ "writetrack": "0.14.1"
22
+ },
23
+ "peerDependencies": {
24
+ "@tiptap/core": ">=2.0.0"
25
+ },
26
+ "devDependencies": {
27
+ "tsup": "^8.5.0"
28
+ },
29
+ "keywords": [
30
+ "tiptap",
31
+ "tiptap-extension",
32
+ "ai-detection",
33
+ "keystroke-dynamics",
34
+ "writing-analysis",
35
+ "authenticity"
36
+ ],
37
+ "homepage": "https://writetrack.dev",
38
+ "license": "SEE LICENSE IN LICENSE",
39
+ "publishConfig": {
40
+ "access": "public"
41
+ },
42
+ "scripts": {
43
+ "build": "tsup && cp types/index.d.ts dist/index.d.ts",
44
+ "clean": "rm -rf dist",
45
+ "test:smoke": "bash test/run-smoke.sh"
46
+ }
47
+ }