@agentic-kit/protocol 1.1.0 โ 1.2.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/LICENSE +3 -2
- package/README.md +41 -3
- package/package.json +5 -13
- package/esm/package.json +0 -1
package/LICENSE
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
MIT License
|
|
1
|
+
The MIT License (MIT)
|
|
2
2
|
|
|
3
3
|
Copyright (c) 2025 Dan Lynch <pyramation@gmail.com>
|
|
4
4
|
Copyright (c) 2025 Constructive <developers@constructive.io>
|
|
5
|
+
Copyright (c) 2020-present, Interweb, Inc.
|
|
5
6
|
|
|
6
7
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
8
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -19,4 +20,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
19
20
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
21
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
22
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
-
SOFTWARE.
|
|
23
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -21,11 +21,30 @@ pulling in the rest of the framework.
|
|
|
21
21
|
|
|
22
22
|
---
|
|
23
23
|
|
|
24
|
-
##
|
|
24
|
+
## Education and Tutorials
|
|
25
|
+
|
|
26
|
+
1. ๐ [Quickstart: Getting Up and Running](https://constructive.io/learn/quickstart)
|
|
27
|
+
Get started with modular databases in minutes. Install prerequisites and deploy your first module.
|
|
28
|
+
|
|
29
|
+
2. ๐ฆ [Modular PostgreSQL Development with Database Packages](https://constructive.io/learn/modular-postgres)
|
|
30
|
+
Learn to organize PostgreSQL projects with pgpm workspaces and reusable database modules.
|
|
31
|
+
|
|
32
|
+
3. โ๏ธ [Authoring Database Changes](https://constructive.io/learn/authoring-database-changes)
|
|
33
|
+
Master the workflow for adding, organizing, and managing database changes with pgpm.
|
|
25
34
|
|
|
26
|
-
|
|
35
|
+
4. ๐งช [End-to-End PostgreSQL Testing with TypeScript](https://constructive.io/learn/e2e-postgres-testing)
|
|
36
|
+
Master end-to-end PostgreSQL testing with ephemeral databases, RLS testing, and CI/CD automation.
|
|
27
37
|
|
|
28
|
-
|
|
38
|
+
5. โก [Supabase Testing](https://constructive.io/learn/supabase)
|
|
39
|
+
Use TypeScript-first tools to test Supabase projects with realistic RLS, policies, and auth contexts.
|
|
40
|
+
|
|
41
|
+
6. ๐ง [Drizzle ORM Testing](https://constructive.io/learn/drizzle-testing)
|
|
42
|
+
Run full-stack tests with Drizzle ORM, including database setup, teardown, and RLS enforcement.
|
|
43
|
+
|
|
44
|
+
7. ๐ง [Troubleshooting](https://constructive.io/learn/troubleshooting)
|
|
45
|
+
Common issues and solutions for pgpm, PostgreSQL, and testing.
|
|
46
|
+
|
|
47
|
+
## Related Constructive Tooling
|
|
29
48
|
|
|
30
49
|
### ๐ฆ Package Management
|
|
31
50
|
|
|
@@ -36,14 +55,33 @@ pulling in the rest of the framework.
|
|
|
36
55
|
* [pgsql-test](https://github.com/constructive-io/constructive/tree/main/postgres/pgsql-test): **๐ Isolated testing environments** with per-test transaction rollbacksโideal for integration tests, complex migrations, and RLS simulation.
|
|
37
56
|
* [pgsql-seed](https://github.com/constructive-io/constructive/tree/main/postgres/pgsql-seed): **๐ฑ PostgreSQL seeding utilities** for CSV, JSON, SQL data loading, and pgpm deployment.
|
|
38
57
|
* [supabase-test](https://github.com/constructive-io/constructive/tree/main/postgres/supabase-test): **๐งช Supabase-native test harness** preconfigured for the local Supabase stackโper-test rollbacks, JWT/role context helpers, and CI/GitHub Actions ready.
|
|
58
|
+
* [graphile-test](https://github.com/constructive-io/constructive/tree/main/graphile/graphile-test): **๐ Authentication mocking** for Graphile-focused test helpers and emulating row-level security contexts.
|
|
59
|
+
* [pg-query-context](https://github.com/constructive-io/constructive/tree/main/postgres/pg-query-context): **๐ Session context injection** to add session-local context (e.g., `SET LOCAL`) into queriesโideal for setting `role`, `jwt.claims`, and other session settings.
|
|
39
60
|
|
|
40
61
|
### ๐ง Parsing & AST
|
|
41
62
|
|
|
42
63
|
* [pgsql-parser](https://www.npmjs.com/package/pgsql-parser): **๐ SQL conversion engine** that interprets and converts PostgreSQL syntax.
|
|
43
64
|
* [libpg-query-node](https://www.npmjs.com/package/libpg-query): **๐ Node.js bindings** for `libpg_query`, converting SQL into parse trees.
|
|
65
|
+
* [pg-proto-parser](https://www.npmjs.com/package/pg-proto-parser): **๐ฆ Protobuf parser** for parsing PostgreSQL Protocol Buffers definitions to generate TypeScript interfaces, utility functions, and JSON mappings for enums.
|
|
66
|
+
* [@pgsql/enums](https://www.npmjs.com/package/@pgsql/enums): **๐ท๏ธ TypeScript enums** for PostgreSQL AST for safe and ergonomic parsing logic.
|
|
44
67
|
* [@pgsql/types](https://www.npmjs.com/package/@pgsql/types): **๐ Type definitions** for PostgreSQL AST nodes in TypeScript.
|
|
45
68
|
* [@pgsql/utils](https://www.npmjs.com/package/@pgsql/utils): **๐ ๏ธ AST utilities** for constructing and transforming PostgreSQL syntax trees.
|
|
46
69
|
|
|
70
|
+
### ๐ Documentation & Skills
|
|
71
|
+
|
|
72
|
+
* [constructive-skills](https://github.com/constructive-io/constructive-skills): **๐ Platform documentation and AI agent skills** โ feature catalog, blueprint reference, SDK guides (i18n, billing, limits, events, uploads, security, entities, search, AI), and deployment guides.
|
|
73
|
+
|
|
74
|
+
Install skills for AI coding agents:
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
# All platform skills (security, blueprints, codegen, billing, etc.)
|
|
78
|
+
npx skills add constructive-io/constructive-skills
|
|
79
|
+
|
|
80
|
+
# Individual repo skills (pgpm, testing, CLI, search, etc.)
|
|
81
|
+
npx skills add https://github.com/constructive-io/constructive --skill pgpm
|
|
82
|
+
npx skills add https://github.com/constructive-io/constructive --skill constructive-testing
|
|
83
|
+
```
|
|
84
|
+
|
|
47
85
|
## Credits
|
|
48
86
|
|
|
49
87
|
**๐ Built by the [Constructive](https://constructive.io) team โ creators of modular Postgres tooling for secure, composable backends. If you like our work, contribute on [GitHub](https://github.com/constructive-io).**
|
package/package.json
CHANGED
|
@@ -1,19 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentic-kit/protocol",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"author": "Dan Lynch <pyramation@gmail.com>",
|
|
5
5
|
"description": "Shared protocol kernel (types, event stream, message + JSON helpers) for agentic-kit",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"module": "esm/index.js",
|
|
8
8
|
"types": "index.d.ts",
|
|
9
|
-
"
|
|
10
|
-
".": {
|
|
11
|
-
"types": "./index.d.ts",
|
|
12
|
-
"import": "./esm/index.js",
|
|
13
|
-
"require": "./index.js"
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
"homepage": "https://github.com/constructive-io/agentic-kit",
|
|
9
|
+
"homepage": "https://github.com/constructive-io/constructive",
|
|
17
10
|
"license": "SEE LICENSE IN LICENSE",
|
|
18
11
|
"publishConfig": {
|
|
19
12
|
"access": "public",
|
|
@@ -21,21 +14,20 @@
|
|
|
21
14
|
},
|
|
22
15
|
"repository": {
|
|
23
16
|
"type": "git",
|
|
24
|
-
"url": "https://github.com/constructive-io/
|
|
17
|
+
"url": "https://github.com/constructive-io/constructive"
|
|
25
18
|
},
|
|
26
19
|
"bugs": {
|
|
27
|
-
"url": "https://github.com/constructive-io/
|
|
20
|
+
"url": "https://github.com/constructive-io/constructive/issues"
|
|
28
21
|
},
|
|
29
22
|
"scripts": {
|
|
30
23
|
"clean": "makage clean",
|
|
31
24
|
"prepack": "npm run build",
|
|
32
25
|
"build": "makage build",
|
|
33
|
-
"postbuild": "node ../../scripts/write-esm-package-json.js",
|
|
34
26
|
"build:dev": "makage build --dev",
|
|
35
27
|
"lint": "eslint . --fix",
|
|
36
28
|
"test": "jest",
|
|
37
29
|
"test:watch": "jest --watch"
|
|
38
30
|
},
|
|
39
31
|
"keywords": [],
|
|
40
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "fc6f9780ea1cab2c9344c2e392649ae644e84849"
|
|
41
33
|
}
|
package/esm/package.json
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"type":"module"}
|