@oscharko-dev/keiko-contracts 0.2.6 → 0.2.8
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/dist/.tsbuildinfo +1 -1
- package/dist/bff-wire.d.ts +70 -20
- package/dist/bff-wire.d.ts.map +1 -1
- package/dist/bff-wire.js +52 -1
- package/dist/connected-context.d.ts +14 -0
- package/dist/connected-context.d.ts.map +1 -1
- package/dist/connected-context.js +49 -0
- package/dist/context-engineering-compaction-validation.d.ts +11 -0
- package/dist/context-engineering-compaction-validation.d.ts.map +1 -0
- package/dist/context-engineering-compaction-validation.js +270 -0
- package/dist/context-engineering-validation.d.ts +12 -0
- package/dist/context-engineering-validation.d.ts.map +1 -0
- package/dist/context-engineering-validation.js +171 -0
- package/dist/context-engineering.d.ts +148 -0
- package/dist/context-engineering.d.ts.map +1 -0
- package/dist/context-engineering.js +80 -0
- package/dist/context-observations-validation.d.ts +9 -0
- package/dist/context-observations-validation.d.ts.map +1 -0
- package/dist/context-observations-validation.js +252 -0
- package/dist/context-observations.d.ts +88 -0
- package/dist/context-observations.d.ts.map +1 -0
- package/dist/context-observations.js +19 -0
- package/dist/evidence.d.ts +14 -0
- package/dist/evidence.d.ts.map +1 -1
- package/dist/index.d.ts +12 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -2
- package/dist/prompt-enhancer-analyzer.d.ts.map +1 -1
- package/dist/prompt-enhancer-analyzer.js +198 -22
- package/dist/tools.d.ts +4 -0
- package/dist/tools.d.ts.map +1 -1
- package/package.json +9 -1
|
@@ -10,6 +10,13 @@
|
|
|
10
10
|
// Leaf-package rule (ADR-0019 direction 1): no `@oscharko-dev/keiko-*` imports. The module reuses the
|
|
11
11
|
// same-package `normalizePromptDraft` (which composes `stripUnsafeFormatChars`) for input hardening.
|
|
12
12
|
import { PROMPT_ENHANCER_SCHEMA_VERSION, PROMPT_MISSING_CONTEXT_MAX_CHARS, isSafetyCriticalDomain, normalizePromptDraft, } from "./prompt-enhancer.js";
|
|
13
|
+
function foldForSearch(text) {
|
|
14
|
+
return text
|
|
15
|
+
.toLowerCase()
|
|
16
|
+
.normalize("NFKD")
|
|
17
|
+
.replace(/[\u0300-\u036f]/gu, "")
|
|
18
|
+
.replace(/ß/gu, "ss");
|
|
19
|
+
}
|
|
13
20
|
const STOP_WORDS = new Set([
|
|
14
21
|
"the",
|
|
15
22
|
"a",
|
|
@@ -38,6 +45,36 @@ const STOP_WORDS = new Set([
|
|
|
38
45
|
"how",
|
|
39
46
|
"what",
|
|
40
47
|
"why",
|
|
48
|
+
"der",
|
|
49
|
+
"die",
|
|
50
|
+
"das",
|
|
51
|
+
"den",
|
|
52
|
+
"dem",
|
|
53
|
+
"ein",
|
|
54
|
+
"eine",
|
|
55
|
+
"einen",
|
|
56
|
+
"und",
|
|
57
|
+
"oder",
|
|
58
|
+
"aber",
|
|
59
|
+
"zu",
|
|
60
|
+
"zum",
|
|
61
|
+
"zur",
|
|
62
|
+
"von",
|
|
63
|
+
"im",
|
|
64
|
+
"fur",
|
|
65
|
+
"mit",
|
|
66
|
+
"ist",
|
|
67
|
+
"sind",
|
|
68
|
+
"bitte",
|
|
69
|
+
"kannst",
|
|
70
|
+
"du",
|
|
71
|
+
"mir",
|
|
72
|
+
"mein",
|
|
73
|
+
"meine",
|
|
74
|
+
"ich",
|
|
75
|
+
"wie",
|
|
76
|
+
"was",
|
|
77
|
+
"warum",
|
|
41
78
|
]);
|
|
42
79
|
function countMeaningfulTokens(lower) {
|
|
43
80
|
const tokens = lower.split(/[^\p{L}\p{N}]+/u).filter((t) => t.length > 0);
|
|
@@ -49,7 +86,7 @@ function countMeaningfulTokens(lower) {
|
|
|
49
86
|
return count;
|
|
50
87
|
}
|
|
51
88
|
function buildView(normalized, request) {
|
|
52
|
-
const lower = normalized
|
|
89
|
+
const lower = foldForSearch(normalized);
|
|
53
90
|
return {
|
|
54
91
|
normalizedLength: normalized.length,
|
|
55
92
|
lower,
|
|
@@ -75,8 +112,13 @@ const TASK_CLASS_RULES = [
|
|
|
75
112
|
"rewrite the prompt",
|
|
76
113
|
"meta-prompt",
|
|
77
114
|
"system prompt for",
|
|
115
|
+
"verbessere diesen prompt",
|
|
116
|
+
"optimiere den prompt",
|
|
117
|
+
"schreibe einen prompt",
|
|
118
|
+
"prompt fur",
|
|
119
|
+
"prompt fuer",
|
|
78
120
|
],
|
|
79
|
-
weak: ["prompt engineering", "better prompt", "prompt template"],
|
|
121
|
+
weak: ["prompt engineering", "better prompt", "prompt template", "promptvorlage"],
|
|
80
122
|
},
|
|
81
123
|
{
|
|
82
124
|
taskClass: "code-debugging",
|
|
@@ -87,13 +129,36 @@ const TASK_CLASS_RULES = [
|
|
|
87
129
|
"traceback",
|
|
88
130
|
"why does this fail",
|
|
89
131
|
"not working",
|
|
132
|
+
"fehler beheben",
|
|
133
|
+
"bug beheben",
|
|
134
|
+
"warum schlagt",
|
|
135
|
+
"funktioniert nicht",
|
|
90
136
|
],
|
|
91
|
-
weak: ["error", "exception", "throws", "undefined is not", "segfault"],
|
|
137
|
+
weak: ["error", "exception", "throws", "undefined is not", "segfault", "fehler", "stacktrace"],
|
|
92
138
|
},
|
|
93
139
|
{
|
|
94
140
|
taskClass: "code-architecture",
|
|
95
|
-
strong: [
|
|
96
|
-
|
|
141
|
+
strong: [
|
|
142
|
+
"system design",
|
|
143
|
+
"design the system",
|
|
144
|
+
"software architecture",
|
|
145
|
+
"architecture for",
|
|
146
|
+
"softwarearchitektur",
|
|
147
|
+
"architektur fur",
|
|
148
|
+
"systemdesign",
|
|
149
|
+
"migration strategy",
|
|
150
|
+
"sql migration strategy",
|
|
151
|
+
"migrationsstrategie",
|
|
152
|
+
],
|
|
153
|
+
weak: [
|
|
154
|
+
"scalable",
|
|
155
|
+
"microservice",
|
|
156
|
+
"design pattern",
|
|
157
|
+
"trade-offs between",
|
|
158
|
+
"high-level design",
|
|
159
|
+
"skalierbar",
|
|
160
|
+
"migration",
|
|
161
|
+
],
|
|
97
162
|
},
|
|
98
163
|
{
|
|
99
164
|
taskClass: "code-generation",
|
|
@@ -104,6 +169,11 @@ const TASK_CLASS_RULES = [
|
|
|
104
169
|
"generate code",
|
|
105
170
|
"write a script",
|
|
106
171
|
"create a class",
|
|
172
|
+
"schreibe code",
|
|
173
|
+
"implementiere",
|
|
174
|
+
"erstelle eine funktion",
|
|
175
|
+
"baue eine api",
|
|
176
|
+
"schreibe ein neues paket",
|
|
107
177
|
],
|
|
108
178
|
weak: [
|
|
109
179
|
"function that",
|
|
@@ -117,17 +187,23 @@ const TASK_CLASS_RULES = [
|
|
|
117
187
|
"build an api",
|
|
118
188
|
"refactor",
|
|
119
189
|
"snippet",
|
|
190
|
+
"funktion",
|
|
191
|
+
"klasse",
|
|
192
|
+
"skript",
|
|
193
|
+
"paket",
|
|
194
|
+
"code-review",
|
|
195
|
+
"code review",
|
|
120
196
|
],
|
|
121
197
|
},
|
|
122
198
|
{
|
|
123
199
|
taskClass: "structured-extraction",
|
|
124
200
|
strong: ["extract the", "parse the", "pull out the", "extract fields", "into json"],
|
|
125
|
-
weak: ["extract", "parse", "list all the", "structured output"],
|
|
201
|
+
weak: ["extract", "parse", "list all the", "structured output", "extrahiere", "parse"],
|
|
126
202
|
},
|
|
127
203
|
{
|
|
128
204
|
taskClass: "summarization",
|
|
129
|
-
strong: ["summarize", "tl;dr", "tldr", "give me a summary", "condense"],
|
|
130
|
-
weak: ["summary", "key points", "in brief", "abstract of"],
|
|
205
|
+
strong: ["summarize", "tl;dr", "tldr", "give me a summary", "condense", "fasse zusammen"],
|
|
206
|
+
weak: ["summary", "key points", "in brief", "abstract of", "zusammenfassung", "kurzfassung"],
|
|
131
207
|
},
|
|
132
208
|
{
|
|
133
209
|
taskClass: "data-analysis",
|
|
@@ -136,8 +212,10 @@ const TASK_CLASS_RULES = [
|
|
|
136
212
|
"analyze the dataset",
|
|
137
213
|
"statistical analysis",
|
|
138
214
|
"correlation between",
|
|
215
|
+
"analysiere die daten",
|
|
216
|
+
"werte den datensatz aus",
|
|
139
217
|
],
|
|
140
|
-
weak: ["dataset", "regression", "aggregate", "pivot", "trend", "metrics"],
|
|
218
|
+
weak: ["dataset", "regression", "aggregate", "pivot", "trend", "metrics", "datensatz"],
|
|
141
219
|
},
|
|
142
220
|
{
|
|
143
221
|
taskClass: "rag-question-answering",
|
|
@@ -147,8 +225,11 @@ const TASK_CLASS_RULES = [
|
|
|
147
225
|
"from the attached",
|
|
148
226
|
"using the document",
|
|
149
227
|
"in the provided text",
|
|
228
|
+
"basierend auf der datei",
|
|
229
|
+
"aus der angehangten",
|
|
230
|
+
"aus dem dokument",
|
|
150
231
|
],
|
|
151
|
-
weak: ["from these files", "from the context", "in the attached"],
|
|
232
|
+
weak: ["from these files", "from the context", "in the attached", "aus diesen dateien"],
|
|
152
233
|
},
|
|
153
234
|
{
|
|
154
235
|
taskClass: "research",
|
|
@@ -158,8 +239,11 @@ const TASK_CLASS_RULES = [
|
|
|
158
239
|
"literature review",
|
|
159
240
|
"state of the art",
|
|
160
241
|
"survey of",
|
|
242
|
+
"recherchiere",
|
|
243
|
+
"umfassender uberblick",
|
|
244
|
+
"stand der technik",
|
|
161
245
|
],
|
|
162
|
-
weak: ["research", "investigate", "background on", "explore the topic"],
|
|
246
|
+
weak: ["research", "investigate", "background on", "explore the topic", "untersuche"],
|
|
163
247
|
},
|
|
164
248
|
{
|
|
165
249
|
taskClass: "creative-writing",
|
|
@@ -170,22 +254,69 @@ const TASK_CLASS_RULES = [
|
|
|
170
254
|
"write lyrics",
|
|
171
255
|
"screenplay",
|
|
172
256
|
"short story",
|
|
257
|
+
"schreibe eine geschichte",
|
|
258
|
+
"schreibe ein gedicht",
|
|
173
259
|
],
|
|
174
|
-
weak: ["poem", "fiction", "creative", "imagine a", "tale"],
|
|
260
|
+
weak: ["poem", "fiction", "creative", "imagine a", "tale", "geschichte", "gedicht", "roman"],
|
|
175
261
|
},
|
|
176
262
|
{
|
|
177
263
|
taskClass: "writing-editing",
|
|
178
|
-
strong: [
|
|
179
|
-
|
|
264
|
+
strong: [
|
|
265
|
+
"write an email",
|
|
266
|
+
"draft a",
|
|
267
|
+
"proofread",
|
|
268
|
+
"rewrite this",
|
|
269
|
+
"rephrase",
|
|
270
|
+
"schreibe einen brief",
|
|
271
|
+
"schreibe eine email",
|
|
272
|
+
"formuliere",
|
|
273
|
+
"kundigungsbrief",
|
|
274
|
+
"kuendigungsbrief",
|
|
275
|
+
"kundigungsschreiben",
|
|
276
|
+
"kuendigungsschreiben",
|
|
277
|
+
],
|
|
278
|
+
weak: ["edit", "improve this text", "make this clearer", "polish", "tone", "brief", "email"],
|
|
180
279
|
},
|
|
181
280
|
{
|
|
182
281
|
taskClass: "decision-support",
|
|
183
|
-
strong: [
|
|
184
|
-
|
|
282
|
+
strong: [
|
|
283
|
+
"should i",
|
|
284
|
+
"pros and cons",
|
|
285
|
+
"help me decide",
|
|
286
|
+
"which is better",
|
|
287
|
+
"compare options",
|
|
288
|
+
"soll ich",
|
|
289
|
+
"vor- und nachteile",
|
|
290
|
+
"hilf mir entscheiden",
|
|
291
|
+
"plan a trip",
|
|
292
|
+
"plane eine reise",
|
|
293
|
+
"plane einen urlaub",
|
|
294
|
+
],
|
|
295
|
+
weak: [
|
|
296
|
+
"recommend",
|
|
297
|
+
"trade-offs",
|
|
298
|
+
"decision",
|
|
299
|
+
"evaluate options",
|
|
300
|
+
"empfehlung",
|
|
301
|
+
"vergleiche",
|
|
302
|
+
"reise",
|
|
303
|
+
"urlaub",
|
|
304
|
+
"itinerary",
|
|
305
|
+
"reiseplanung",
|
|
306
|
+
],
|
|
185
307
|
},
|
|
186
308
|
{
|
|
187
309
|
taskClass: "agentic-tool-use",
|
|
188
|
-
strong: [
|
|
310
|
+
strong: [
|
|
311
|
+
"use the tool",
|
|
312
|
+
"call the api",
|
|
313
|
+
"automate",
|
|
314
|
+
"take actions",
|
|
315
|
+
"as an agent",
|
|
316
|
+
"automatisiere",
|
|
317
|
+
"nutze das tool",
|
|
318
|
+
"ruf die api",
|
|
319
|
+
],
|
|
189
320
|
weak: ["execute", "browse", "fetch and", "step by step using tools", "orchestrate"],
|
|
190
321
|
},
|
|
191
322
|
];
|
|
@@ -228,6 +359,11 @@ const DOMAIN_RULES = [
|
|
|
228
359
|
"regulation",
|
|
229
360
|
"copyright",
|
|
230
361
|
"patent",
|
|
362
|
+
"vertrag",
|
|
363
|
+
"kundigung",
|
|
364
|
+
"kuendigung",
|
|
365
|
+
"recht",
|
|
366
|
+
"anwalt",
|
|
231
367
|
],
|
|
232
368
|
},
|
|
233
369
|
{
|
|
@@ -272,6 +408,8 @@ const DOMAIN_RULES = [
|
|
|
272
408
|
"authentication",
|
|
273
409
|
"encryption",
|
|
274
410
|
"secrets management",
|
|
411
|
+
"authentifizierung",
|
|
412
|
+
"verschlusselung",
|
|
275
413
|
],
|
|
276
414
|
},
|
|
277
415
|
{
|
|
@@ -291,13 +429,27 @@ const DOMAIN_RULES = [
|
|
|
291
429
|
},
|
|
292
430
|
{
|
|
293
431
|
domain: "business",
|
|
294
|
-
keywords: [
|
|
432
|
+
keywords: [
|
|
433
|
+
"marketing",
|
|
434
|
+
"sales",
|
|
435
|
+
"revenue",
|
|
436
|
+
"business plan",
|
|
437
|
+
"startup",
|
|
438
|
+
"customer",
|
|
439
|
+
"kpi",
|
|
440
|
+
"kunde",
|
|
441
|
+
"kunden",
|
|
442
|
+
"strategie",
|
|
443
|
+
],
|
|
295
444
|
},
|
|
296
445
|
{
|
|
297
446
|
domain: "education",
|
|
298
|
-
keywords: ["teach", "lesson", "homework", "student", "tutorial", "curriculum"],
|
|
447
|
+
keywords: ["teach", "lesson", "homework", "student", "tutorial", "curriculum", "lerne"],
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
domain: "creative",
|
|
451
|
+
keywords: ["poem", "story", "novel", "song", "fiction", "screenplay", "geschichte", "gedicht"],
|
|
299
452
|
},
|
|
300
|
-
{ domain: "creative", keywords: ["poem", "story", "novel", "song", "fiction", "screenplay"] },
|
|
301
453
|
{
|
|
302
454
|
domain: "software",
|
|
303
455
|
keywords: [
|
|
@@ -311,6 +463,19 @@ const DOMAIN_RULES = [
|
|
|
311
463
|
"compile",
|
|
312
464
|
"react",
|
|
313
465
|
"algorithm",
|
|
466
|
+
"code-review",
|
|
467
|
+
"code review",
|
|
468
|
+
"repository",
|
|
469
|
+
"repo",
|
|
470
|
+
"paket",
|
|
471
|
+
"npm",
|
|
472
|
+
"sql",
|
|
473
|
+
"datenbank",
|
|
474
|
+
"migration",
|
|
475
|
+
"migrationsstrategie",
|
|
476
|
+
"kundendaten",
|
|
477
|
+
"typescript",
|
|
478
|
+
"optimierung",
|
|
314
479
|
],
|
|
315
480
|
},
|
|
316
481
|
];
|
|
@@ -524,12 +689,23 @@ const OUTPUT_HINT_RULES = [
|
|
|
524
689
|
{ hint: "explicit-json", format: "json", keywords: ["json", "as json", "in json"] },
|
|
525
690
|
{ hint: "explicit-yaml", format: "yaml", keywords: ["yaml"] },
|
|
526
691
|
{ hint: "explicit-csv", format: "csv", keywords: ["csv", "comma-separated"] },
|
|
527
|
-
{
|
|
692
|
+
{
|
|
693
|
+
hint: "explicit-table",
|
|
694
|
+
format: "table",
|
|
695
|
+
keywords: ["as a table", "in a table", "tabular", "als tabelle", "tabelle"],
|
|
696
|
+
},
|
|
528
697
|
{ hint: "explicit-code", format: "code", keywords: ["code block", "a snippet", "as code"] },
|
|
529
698
|
{
|
|
530
699
|
hint: "explicit-list",
|
|
531
700
|
format: "list",
|
|
532
|
-
keywords: [
|
|
701
|
+
keywords: [
|
|
702
|
+
"bullet points",
|
|
703
|
+
"bulleted list",
|
|
704
|
+
"numbered list",
|
|
705
|
+
"as a list",
|
|
706
|
+
"stichpunkte",
|
|
707
|
+
"als liste",
|
|
708
|
+
],
|
|
533
709
|
},
|
|
534
710
|
{ hint: "explicit-markdown", format: "markdown", keywords: ["in markdown", "as markdown"] },
|
|
535
711
|
];
|
package/dist/tools.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ToolDefinition } from "./gateway.js";
|
|
2
|
+
import type { ContextToolObservation } from "./context-observations.js";
|
|
2
3
|
export type NetworkPolicy = "inherit" | "none";
|
|
3
4
|
export type FilesystemPolicy = "inherit" | "execution-root";
|
|
4
5
|
export interface SandboxPolicy {
|
|
@@ -47,6 +48,7 @@ export interface CommandResult {
|
|
|
47
48
|
readonly timedOut: boolean;
|
|
48
49
|
readonly truncated: boolean;
|
|
49
50
|
readonly attestation?: SandboxAttestation | undefined;
|
|
51
|
+
readonly omittedByteCount?: number | undefined;
|
|
50
52
|
}
|
|
51
53
|
export type PatchChangeKind = "create" | "modify" | "delete";
|
|
52
54
|
export interface PatchHunk {
|
|
@@ -121,6 +123,7 @@ export type ToolCallMetadata = {
|
|
|
121
123
|
readonly argCount: number;
|
|
122
124
|
readonly exitCode: number | null;
|
|
123
125
|
readonly timedOut: boolean;
|
|
126
|
+
readonly omittedByteCount?: number | undefined;
|
|
124
127
|
readonly sandbox: {
|
|
125
128
|
readonly envAllowlist: readonly string[];
|
|
126
129
|
readonly network: "inherit" | "none";
|
|
@@ -145,6 +148,7 @@ export interface ToolCallResult {
|
|
|
145
148
|
readonly durationMs: number;
|
|
146
149
|
readonly commandExecuted?: boolean | undefined;
|
|
147
150
|
readonly metadata?: ToolCallMetadata | undefined;
|
|
151
|
+
readonly shapedObservation?: ContextToolObservation | undefined;
|
|
148
152
|
}
|
|
149
153
|
export interface ToolPort {
|
|
150
154
|
readonly execute: (request: ToolCallRequest) => Promise<ToolCallResult>;
|
package/dist/tools.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../src/tools.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../src/tools.ts"],"names":[],"mappings":"AAMA,OAAO,KA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CAAC;QAClD,QAAQ,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;KAC/C,CAAC;CACH,GACD;IACE,QAAQ,CAAC,IAAI,EAAE,aAAa,CAAC;IAC7B,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEN,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAG5B,QAAQ,CAAC,eAAe,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAG/C,QAAQ,CAAC,QAAQ,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;IAKjD,QAAQ,CAAC,iBAAiB,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;CACjE;AAED,MAAM,WAAW,QAAQ;IACvB,QAAQ,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE,eAAe,KAAK,OAAO,CAAC,cAAc,CAAC,CAAC;IACxE,QAAQ,CAAC,SAAS,EAAE,MAAM,SAAS,cAAc,EAAE,CAAC;CACrD"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oscharko-dev/keiko-contracts",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"description": "Internal workspace package: shared Keiko contracts. Not published independently.",
|
|
@@ -23,6 +23,14 @@
|
|
|
23
23
|
"types": "./dist/connected-context.d.ts",
|
|
24
24
|
"import": "./dist/connected-context.js"
|
|
25
25
|
},
|
|
26
|
+
"./context-engineering": {
|
|
27
|
+
"types": "./dist/context-engineering.d.ts",
|
|
28
|
+
"import": "./dist/context-engineering.js"
|
|
29
|
+
},
|
|
30
|
+
"./context-observations": {
|
|
31
|
+
"types": "./dist/context-observations.d.ts",
|
|
32
|
+
"import": "./dist/context-observations.js"
|
|
33
|
+
},
|
|
26
34
|
"./text-safety": {
|
|
27
35
|
"types": "./dist/text-safety.d.ts",
|
|
28
36
|
"import": "./dist/text-safety.js"
|