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 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
- ## Related Constructive Tooling
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
- ### ๐Ÿค– AI & Agent Development
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
- * [agentic-kit](https://github.com/constructive-io/agentic-kit): **๐Ÿงฐ Provider-agnostic LLM adapter** with streaming and multi-turn support. Swap between Anthropic, OpenAI, Ollama, and any OpenAI-compatible endpoint.
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 { AssistantMessage, AssistantMessageEventStream, Context, LegacyChatMessage, LegacyGenerateInput, LegacyStreamingOptions, ModelDescriptor, ProviderAdapter, StreamOptions } from '@agentic-kit/protocol';
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.2",
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
- "exports": {
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/agentic-kit"
17
+ "url": "https://github.com/constructive-io/constructive"
25
18
  },
26
19
  "bugs": {
27
- "url": "https://github.com/constructive-io/agentic-kit/issues"
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.2.2",
41
- "@agentic-kit/ollama": "2.0.1",
42
- "@agentic-kit/openai": "1.2.2",
43
- "@agentic-kit/protocol": "1.1.0"
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": "fbf34d1146e8543664d904f75e5b3440f2b1d2a4"
38
+ "gitHead": "fc6f9780ea1cab2c9344c2e392649ae644e84849"
47
39
  }
package/esm/package.json DELETED
@@ -1 +0,0 @@
1
- {"type":"module"}