cvx-kit 0.0.7 → 0.1.0
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/CHANGELOG.md +104 -0
- package/README.md +11 -10
- package/ROADMAP.md +126 -0
- package/dist/agent-tools.d.mts +45 -0
- package/dist/agent-tools.mjs +2 -0
- package/dist/agent-tools.mjs.map +1 -0
- package/dist/auth.d.mts +9 -1
- package/dist/auth.mjs +1 -1
- package/dist/auth.mjs.map +1 -1
- package/dist/components/foundation/client.d.mts +44 -3
- package/dist/components/foundation/client.mjs +1 -1
- package/dist/components/foundation/client.mjs.map +1 -1
- package/dist/components/foundation/modules/command/command.d.mts +2 -1
- package/dist/components/foundation/modules/command/command.mjs +1 -1
- package/dist/components/foundation/modules/command/command.mjs.map +1 -1
- package/dist/components/foundation/modules/query/query.d.mts +29 -2
- package/dist/components/foundation/modules/query/query.mjs +1 -1
- package/dist/components/foundation/modules/query/query.mjs.map +1 -1
- package/dist/crud.d.mts +79 -0
- package/dist/crud.mjs +2 -0
- package/dist/crud.mjs.map +1 -0
- package/dist/index.d.mts +9 -3
- package/dist/index.mjs +1 -1
- package/dist/middleware.d.mts +46 -0
- package/dist/middleware.mjs +2 -0
- package/dist/middleware.mjs.map +1 -0
- package/dist/state-machine.d.mts +18 -0
- package/dist/state-machine.mjs +2 -0
- package/dist/state-machine.mjs.map +1 -0
- package/dist/tenancy.d.mts +1 -1
- package/dist/webhooks.d.mts +164 -0
- package/dist/webhooks.mjs +2 -0
- package/dist/webhooks.mjs.map +1 -0
- package/dist/zod-table.d.mts +34 -3
- package/dist/zod-table.mjs +1 -1
- package/dist/zod-table.mjs.map +1 -1
- package/docs/agent-tools.md +41 -0
- package/docs/commands.md +48 -0
- package/docs/crud.md +62 -0
- package/docs/llms.md +16 -3
- package/docs/plans/2026-08-14-001-feat-v0.1.0-feature-set-plan.md +461 -0
- package/docs/upgrading.md +152 -0
- package/docs/webhooks.md +58 -0
- package/package.json +21 -1
- package/scripts/extract-changelog.mjs +29 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cvx-kit",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "Reusable Convex application kit: foundation kernels, approvals component, zod table boundaries, WorkOS-backed auth function constructors, and audited command protocol.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -23,6 +23,26 @@
|
|
|
23
23
|
"types": "./dist/tenancy.d.mts",
|
|
24
24
|
"import": "./dist/tenancy.mjs"
|
|
25
25
|
},
|
|
26
|
+
"./state-machine": {
|
|
27
|
+
"types": "./dist/state-machine.d.mts",
|
|
28
|
+
"import": "./dist/state-machine.mjs"
|
|
29
|
+
},
|
|
30
|
+
"./crud": {
|
|
31
|
+
"types": "./dist/crud.d.mts",
|
|
32
|
+
"import": "./dist/crud.mjs"
|
|
33
|
+
},
|
|
34
|
+
"./middleware": {
|
|
35
|
+
"types": "./dist/middleware.d.mts",
|
|
36
|
+
"import": "./dist/middleware.mjs"
|
|
37
|
+
},
|
|
38
|
+
"./webhooks": {
|
|
39
|
+
"types": "./dist/webhooks.d.mts",
|
|
40
|
+
"import": "./dist/webhooks.mjs"
|
|
41
|
+
},
|
|
42
|
+
"./agent-tools": {
|
|
43
|
+
"types": "./dist/agent-tools.d.mts",
|
|
44
|
+
"import": "./dist/agent-tools.mjs"
|
|
45
|
+
},
|
|
26
46
|
"./triggers": {
|
|
27
47
|
"types": "./dist/triggers.d.mts",
|
|
28
48
|
"import": "./dist/triggers.mjs"
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// Extracts one version's section from CHANGELOG.md (Keep a Changelog form).
|
|
2
|
+
// Usage: node scripts/extract-changelog.mjs 0.1.0 [outfile]
|
|
3
|
+
// Used by the release workflow for GitHub Release notes, and runnable
|
|
4
|
+
// locally BEFORE tagging to verify extraction (see the release plan).
|
|
5
|
+
import { readFileSync, writeFileSync } from 'node:fs'
|
|
6
|
+
|
|
7
|
+
const version = process.argv[2]
|
|
8
|
+
if (!version) {
|
|
9
|
+
console.error('usage: extract-changelog.mjs <version> [outfile]')
|
|
10
|
+
process.exit(1)
|
|
11
|
+
}
|
|
12
|
+
const changelog = readFileSync(new URL('../CHANGELOG.md', import.meta.url), 'utf8')
|
|
13
|
+
const pattern = new RegExp(
|
|
14
|
+
String.raw`^## \[${version.replace(/\./g, String.raw`\.`)}\][^\n]*\n([\s\S]*?)(?=^## \[|\Z)`,
|
|
15
|
+
'm',
|
|
16
|
+
)
|
|
17
|
+
const match = changelog.match(pattern)
|
|
18
|
+
if (!match) {
|
|
19
|
+
console.error(`CHANGELOG.md has no section for version ${version}`)
|
|
20
|
+
process.exit(1)
|
|
21
|
+
}
|
|
22
|
+
const notes = match[1].trim()
|
|
23
|
+
if (!notes) {
|
|
24
|
+
console.error(`CHANGELOG.md section for ${version} is empty`)
|
|
25
|
+
process.exit(1)
|
|
26
|
+
}
|
|
27
|
+
const outfile = process.argv[3]
|
|
28
|
+
if (outfile) writeFileSync(outfile, `${notes}\n`)
|
|
29
|
+
else process.stdout.write(`${notes}\n`)
|