agentic-kit 1.3.2 โ 1.4.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/index.d.ts +1 -2
- package/package.json +9 -17
- 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
|
@@ -121,11 +121,30 @@ Use `createOpenAIKit`, `createAnthropicKit`, `createOllamaKit`, or
|
|
|
121
121
|
|
|
122
122
|
---
|
|
123
123
|
|
|
124
|
-
##
|
|
124
|
+
## Education and Tutorials
|
|
125
|
+
|
|
126
|
+
1. ๐ [Quickstart: Getting Up and Running](https://constructive.io/learn/quickstart)
|
|
127
|
+
Get started with modular databases in minutes. Install prerequisites and deploy your first module.
|
|
128
|
+
|
|
129
|
+
2. ๐ฆ [Modular PostgreSQL Development with Database Packages](https://constructive.io/learn/modular-postgres)
|
|
130
|
+
Learn to organize PostgreSQL projects with pgpm workspaces and reusable database modules.
|
|
131
|
+
|
|
132
|
+
3. โ๏ธ [Authoring Database Changes](https://constructive.io/learn/authoring-database-changes)
|
|
133
|
+
Master the workflow for adding, organizing, and managing database changes with pgpm.
|
|
125
134
|
|
|
126
|
-
|
|
135
|
+
4. ๐งช [End-to-End PostgreSQL Testing with TypeScript](https://constructive.io/learn/e2e-postgres-testing)
|
|
136
|
+
Master end-to-end PostgreSQL testing with ephemeral databases, RLS testing, and CI/CD automation.
|
|
127
137
|
|
|
128
|
-
|
|
138
|
+
5. โก [Supabase Testing](https://constructive.io/learn/supabase)
|
|
139
|
+
Use TypeScript-first tools to test Supabase projects with realistic RLS, policies, and auth contexts.
|
|
140
|
+
|
|
141
|
+
6. ๐ง [Drizzle ORM Testing](https://constructive.io/learn/drizzle-testing)
|
|
142
|
+
Run full-stack tests with Drizzle ORM, including database setup, teardown, and RLS enforcement.
|
|
143
|
+
|
|
144
|
+
7. ๐ง [Troubleshooting](https://constructive.io/learn/troubleshooting)
|
|
145
|
+
Common issues and solutions for pgpm, PostgreSQL, and testing.
|
|
146
|
+
|
|
147
|
+
## Related Constructive Tooling
|
|
129
148
|
|
|
130
149
|
### ๐ฆ Package Management
|
|
131
150
|
|
|
@@ -136,14 +155,33 @@ Use `createOpenAIKit`, `createAnthropicKit`, `createOllamaKit`, or
|
|
|
136
155
|
* [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.
|
|
137
156
|
* [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.
|
|
138
157
|
* [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.
|
|
158
|
+
* [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.
|
|
159
|
+
* [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.
|
|
139
160
|
|
|
140
161
|
### ๐ง Parsing & AST
|
|
141
162
|
|
|
142
163
|
* [pgsql-parser](https://www.npmjs.com/package/pgsql-parser): **๐ SQL conversion engine** that interprets and converts PostgreSQL syntax.
|
|
143
164
|
* [libpg-query-node](https://www.npmjs.com/package/libpg-query): **๐ Node.js bindings** for `libpg_query`, converting SQL into parse trees.
|
|
165
|
+
* [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.
|
|
166
|
+
* [@pgsql/enums](https://www.npmjs.com/package/@pgsql/enums): **๐ท๏ธ TypeScript enums** for PostgreSQL AST for safe and ergonomic parsing logic.
|
|
144
167
|
* [@pgsql/types](https://www.npmjs.com/package/@pgsql/types): **๐ Type definitions** for PostgreSQL AST nodes in TypeScript.
|
|
145
168
|
* [@pgsql/utils](https://www.npmjs.com/package/@pgsql/utils): **๐ ๏ธ AST utilities** for constructing and transforming PostgreSQL syntax trees.
|
|
146
169
|
|
|
170
|
+
### ๐ Documentation & Skills
|
|
171
|
+
|
|
172
|
+
* [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.
|
|
173
|
+
|
|
174
|
+
Install skills for AI coding agents:
|
|
175
|
+
|
|
176
|
+
```bash
|
|
177
|
+
# All platform skills (security, blueprints, codegen, billing, etc.)
|
|
178
|
+
npx skills add constructive-io/constructive-skills
|
|
179
|
+
|
|
180
|
+
# Individual repo skills (pgpm, testing, CLI, search, etc.)
|
|
181
|
+
npx skills add https://github.com/constructive-io/constructive --skill pgpm
|
|
182
|
+
npx skills add https://github.com/constructive-io/constructive --skill constructive-testing
|
|
183
|
+
```
|
|
184
|
+
|
|
147
185
|
## Credits
|
|
148
186
|
|
|
149
187
|
**๐ 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/index.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { AnthropicAdapter, type AnthropicOptions } from '@agentic-kit/anthropic';
|
|
2
2
|
import { OllamaAdapter, OllamaClient } from '@agentic-kit/ollama';
|
|
3
3
|
import { OpenAIAdapter, type OpenAIOptions } from '@agentic-kit/openai';
|
|
4
|
-
import type
|
|
5
|
-
import { createAssistantMessageEventStream, EventStream } from '@agentic-kit/protocol';
|
|
4
|
+
import { type AssistantMessage, type AssistantMessageEventStream, type Context, createAssistantMessageEventStream, EventStream, type LegacyChatMessage, type LegacyGenerateInput, type LegacyStreamingOptions, type ModelDescriptor, type ProviderAdapter, type StreamOptions } from '@agentic-kit/protocol';
|
|
6
5
|
import { clearModels, getModel, getModels, getProviders as getModelProviders, registerModel, registerModels } from './model-registry.js';
|
|
7
6
|
import { clearProviders, getProvider as getRegisteredProvider, getProviders as getRegisteredProviders, registerProvider, unregisterProviders } from './provider-registry.js';
|
|
8
7
|
export * from './transform-messages.js';
|
package/package.json
CHANGED
|
@@ -1,19 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agentic-kit",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"author": "Dan Lynch <pyramation@gmail.com>",
|
|
5
5
|
"description": "Provider-agnostic LLM adapter with streaming and multi-turn support",
|
|
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,27 +14,26 @@
|
|
|
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
|
"dependencies": {
|
|
40
|
-
"@agentic-kit/anthropic": "1.
|
|
41
|
-
"@agentic-kit/ollama": "2.0
|
|
42
|
-
"@agentic-kit/openai": "1.
|
|
43
|
-
"@agentic-kit/protocol": "1.
|
|
32
|
+
"@agentic-kit/anthropic": "1.3.0",
|
|
33
|
+
"@agentic-kit/ollama": "2.1.0",
|
|
34
|
+
"@agentic-kit/openai": "1.3.0",
|
|
35
|
+
"@agentic-kit/protocol": "1.2.0"
|
|
44
36
|
},
|
|
45
37
|
"keywords": [],
|
|
46
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "fc6f9780ea1cab2c9344c2e392649ae644e84849"
|
|
47
39
|
}
|
package/esm/package.json
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"type":"module"}
|