@comty.io/core 0.1.1 → 0.1.3
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/README.md +1 -76
- package/comty-sdk.js +48 -520
- package/package.json +3 -14
- package/src/browser.d.ts +1 -3
- package/src/browser.js +35 -437
- package/src/comments.js +8 -12
- package/src/style.js +5 -71
- package/src/agent-process.mjs +0 -89
- package/src/claude-permission.mjs +0 -37
- package/src/claude.mjs +0 -120
- package/src/codex.mjs +0 -66
- package/src/companion.mjs +0 -207
- package/src/cursor.mjs +0 -49
- package/src/dev.mjs +0 -169
- package/src/vite.d.ts +0 -5
- package/src/vite.mjs +0 -66
package/package.json
CHANGED
|
@@ -1,24 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@comty.io/core",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Comty comments
|
|
3
|
+
"version": "0.1.3",
|
|
4
|
+
"description": "Comty visual comments and inspector",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"engines": {
|
|
8
8
|
"node": ">=22.12"
|
|
9
9
|
},
|
|
10
10
|
"sideEffects": false,
|
|
11
|
-
"bin": {
|
|
12
|
-
"comty": "src/dev.mjs"
|
|
13
|
-
},
|
|
14
11
|
"exports": {
|
|
15
12
|
".": {
|
|
16
13
|
"types": "./src/browser.d.ts",
|
|
17
14
|
"import": "./src/browser.js"
|
|
18
|
-
},
|
|
19
|
-
"./vite": {
|
|
20
|
-
"types": "./src/vite.d.ts",
|
|
21
|
-
"import": "./src/vite.mjs"
|
|
22
15
|
}
|
|
23
16
|
},
|
|
24
17
|
"files": [
|
|
@@ -32,11 +25,7 @@
|
|
|
32
25
|
"scripts": {
|
|
33
26
|
"build": "node scripts/build.mjs",
|
|
34
27
|
"check:build": "node scripts/build.mjs --check",
|
|
35
|
-
"test": "node --test tests/measurements.test.mjs tests/anchors.test.mjs tests/package.test.mjs tests/packed.test.mjs
|
|
36
|
-
"test:vite": "node --test tests/vite.test.mjs",
|
|
28
|
+
"test": "node --test tests/measurements.test.mjs tests/anchors.test.mjs tests/package.test.mjs tests/packed.test.mjs",
|
|
37
29
|
"prepack": "npm run build"
|
|
38
|
-
},
|
|
39
|
-
"devDependencies": {
|
|
40
|
-
"vite": "8.1.5"
|
|
41
30
|
}
|
|
42
31
|
}
|
package/src/browser.d.ts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
export interface ComtyOptions {
|
|
2
2
|
/** Project key from your Comty dashboard. */
|
|
3
|
-
projectKey
|
|
3
|
+
projectKey: string;
|
|
4
4
|
/** Absolute URL of your Comty API. Defaults to http://localhost:4000. */
|
|
5
5
|
apiUrl?: string;
|
|
6
|
-
/** Set automatically by comty dev; not needed in application code. */
|
|
7
|
-
agent?: { url: string; token: string };
|
|
8
6
|
}
|
|
9
7
|
|
|
10
8
|
/**
|