@comty.io/core 0.1.1 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +0 -29
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -21,16 +21,6 @@ await initComty({
21
21
 
22
22
  Call once from your application entry. Server rendering is safe: it does nothing until called in a browser. Repeated calls with the same options reuse the document's instance. Reload the page to change its project or API URL. Register the site's domain in Comty to use shared comments.
23
23
 
24
- The standalone script remains available at your existing CDN URL:
25
-
26
- ```html
27
- <script src="https://YOUR_COMTY_CDN/v1/comty-sdk.js"
28
- data-project-key="YOUR_PROJECT_KEY"
29
- data-api-url="https://YOUR_COMTY_API"></script>
30
- ```
31
-
32
- Choose one browser entry per page (npm, development injection, or CDN). Both distributions are generated from `src/browser.js`.
33
-
34
24
  ## Color tokens
35
25
 
36
26
  Element inspection shows a copyable CSS custom-property name above foreground/background colors when the winning declaration can be identified. It handles ordinary selectors, `:where()`, inline styles, inheritance, `!important`, active media/supports rules and named top-level cascade layers. Semantic aliases retain their declared name. No extra line is rendered for literal colors or uncertain provenance (including inaccessible stylesheets, shadow/scoped or nested cascades, and unsupported functional selectors).
@@ -96,22 +86,3 @@ Comty starts a separate agent session. It does not send instructions into an alr
96
86
  Technical requests are never sent to the Comty API or its database. Their prompt and page context are sent to the selected AI provider by its coding agent. Standard shared comments retain their existing Comty authentication and storage.
97
87
 
98
88
  Add `.comty/` to your application's `.gitignore`. Keep the companion on loopback; LAN binding, tunnels and production hosting are unsupported. Requests require the random token of the running development session and its exact origin.
99
-
100
- ## Development
101
-
102
- ```sh
103
- cd sdk
104
- npm ci
105
- npm run build
106
- npm test
107
- npm run check:build
108
- npm run test:vite
109
- ```
110
-
111
- Vite is a development dependency used by the integration test; it is not included in the published package.
112
-
113
- For browser checks, run `bun sdk/tests/serve.mjs` from the repository root. Open `http://127.0.0.1:4178/` for the comment/inspector regression suite, or `http://127.0.0.1:4178/motion` for the interactive live-motion lab and slowdown checks. The test bridge is injected by that local server only and is not included in the published SDK.
114
-
115
- From the repository root, run `bun sdk/tests/serve.mjs`, open the printed URL and select **Run regression checks**. Edit `src/browser.js`, never the generated `comty-sdk.js`.
116
-
117
- See the repository's `doc.md` for publication, CDN deployment, verification and rollback steps.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comty.io/core",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Comty comments, inspector and local agent tools",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",