@riotprompt/riotprompt 0.0.18 → 0.0.20

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.
@@ -1,3 +1,17 @@
1
+ /**
2
+ * RiotPrompt - Structured Prompt Engineering for LLMs
3
+ *
4
+ * Note: Many components are now available as separate packages for lighter installs:
5
+ * - `execution` - Provider interfaces (no SDK deps)
6
+ * - `execution-openai` - OpenAI provider
7
+ * - `execution-anthropic` - Anthropic provider
8
+ * - `execution-gemini` - Gemini provider
9
+ * - `agentic` - Tool registry, context management
10
+ *
11
+ * This main package re-exports everything for backward compatibility.
12
+ *
13
+ * @packageDocumentation
14
+ */
1
15
  export { create as createContent } from './items/content';
2
16
  export { create as createContext } from './items/context';
3
17
  export { create as createInstruction } from './items/instruction';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riotprompt/riotprompt",
3
- "version": "0.0.18",
3
+ "version": "0.0.20",
4
4
  "keywords": [
5
5
  "prompt",
6
6
  "llm",
@@ -14,7 +14,7 @@
14
14
  "types": "./dist/riotprompt.d.ts",
15
15
  "repository": {
16
16
  "type": "git",
17
- "url": "git+https://github.com/kjerneverk/riotprompt"
17
+ "url": "https://github.com/kjerneverk/riotprompt"
18
18
  },
19
19
  "exports": {
20
20
  ".": {
@@ -49,6 +49,7 @@
49
49
  "author": "Tim O'Brien <tobrien@discursive.com>",
50
50
  "license": "Apache-2.0",
51
51
  "devDependencies": {
52
+ "@anthropic-ai/sdk": "^0.71.2",
52
53
  "@babel/core": "^7.28.0",
53
54
  "@babel/plugin-transform-modules-commonjs": "^7.27.1",
54
55
  "@babel/plugin-transform-typescript": "^7.28.0",
@@ -56,6 +57,7 @@
56
57
  "@doccident/doccident": "^0.0.1",
57
58
  "@eslint/eslintrc": "^3.3.1",
58
59
  "@eslint/js": "^9.30.1",
60
+ "@google/generative-ai": "^0.24.1",
59
61
  "@rollup/plugin-replace": "^6.0.2",
60
62
  "@swc/core": "^1.12.11",
61
63
  "@types/node": "^24.0.12",
@@ -65,6 +67,7 @@
65
67
  "eslint": "^9.30.1",
66
68
  "eslint-plugin-import": "^2.32.0",
67
69
  "globals": "^16.3.0",
70
+ "openai": "^6.15.0",
68
71
  "rollup-plugin-preserve-shebang": "^1.0.1",
69
72
  "typescript": "^5.8.3",
70
73
  "vite": "^7.0.4",
@@ -73,8 +76,6 @@
73
76
  "vitest": "^3.2.4"
74
77
  },
75
78
  "dependencies": {
76
- "@anthropic-ai/sdk": "^0.71.2",
77
- "@google/generative-ai": "^0.24.1",
78
79
  "@theunwalked/cardigantime": "^0.0.17",
79
80
  "commander": "^14.0.2",
80
81
  "dotenv": "^17.2.3",
@@ -82,9 +83,45 @@
82
83
  "glob": "^11.0.3",
83
84
  "js-yaml": "^4.1.1",
84
85
  "marked": "^16.0.0",
85
- "openai": "^6.15.0",
86
86
  "tiktoken": "^1.0.22",
87
87
  "zod": "^4.0.2",
88
88
  "zod-to-json-schema": "^3.25.1"
89
+ },
90
+ "peerDependencies": {
91
+ "@riotprompt/execution": "^0.0.3",
92
+ "@riotprompt/execution-openai": "^0.0.3",
93
+ "@riotprompt/execution-anthropic": "^0.0.3",
94
+ "@riotprompt/execution-gemini": "^0.0.3",
95
+ "@riotprompt/agentic": "^0.0.4",
96
+ "@anthropic-ai/sdk": "^0.71.2",
97
+ "@google/generative-ai": "^0.24.1",
98
+ "openai": "^6.15.0",
99
+ "tiktoken": "^1.0.22"
100
+ },
101
+ "peerDependenciesMeta": {
102
+ "@riotprompt/execution": {
103
+ "optional": true
104
+ },
105
+ "@riotprompt/execution-openai": {
106
+ "optional": true
107
+ },
108
+ "@riotprompt/execution-anthropic": {
109
+ "optional": true
110
+ },
111
+ "@riotprompt/execution-gemini": {
112
+ "optional": true
113
+ },
114
+ "@riotprompt/agentic": {
115
+ "optional": true
116
+ },
117
+ "@anthropic-ai/sdk": {
118
+ "optional": true
119
+ },
120
+ "@google/generative-ai": {
121
+ "optional": true
122
+ },
123
+ "openai": {
124
+ "optional": true
125
+ }
89
126
  }
90
127
  }