@contractspec/example.product-intent 3.2.0 → 3.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.
@@ -1,25 +1,28 @@
1
- $ contractspec-bun-build prebuild
2
- $ bun run prebuild && bun run build:bundle && bun run build:types
3
- $ contractspec-bun-build prebuild
4
- $ contractspec-bun-build transpile
5
- [contractspec-bun-build] transpile target=bun root=src entries=6
6
- Bundled 6 modules in 39ms
7
-
8
- ./example.js 0.81 KB (entry point)
9
- ./index.js 10.72 KB (entry point)
10
- ./script.js 16.50 KB (entry point)
11
- ./sync-actions.js 15.97 KB (entry point)
12
- ./load-evidence.js 9.86 KB (entry point)
13
- ./posthog-signals.js 7.59 KB (entry point)
14
-
15
- [contractspec-bun-build] transpile target=node root=src entries=6
16
- Bundled 6 modules in 37ms
17
-
18
- ./example.js 0.81 KB (entry point)
19
- ./index.js 10.73 KB (entry point)
20
- ./script.js 16.51 KB (entry point)
21
- ./sync-actions.js 15.97 KB (entry point)
22
- ./load-evidence.js 9.86 KB (entry point)
23
- ./posthog-signals.js 7.58 KB (entry point)
24
-
25
- $ contractspec-bun-build types
1
+
2
+ $ contractspec-bun-build prebuild
3
+ $ bun run prebuild && bun run build:bundle && bun run build:types
4
+ $ contractspec-bun-build prebuild
5
+ $ contractspec-bun-build transpile
6
+ [contractspec-bun-build] transpile target=bun root=src entries=7
7
+ Bundled 7 modules in 10ms
8
+
9
+ ./example.js 0.81 KB (entry point)
10
+ ./index.js 11.31 KB (entry point)
11
+ ./product-intent.feature.js 0.60 KB (entry point)
12
+ ./script.js 16.50 KB (entry point)
13
+ ./sync-actions.js 15.97 KB (entry point)
14
+ ./load-evidence.js 9.86 KB (entry point)
15
+ ./posthog-signals.js 7.59 KB (entry point)
16
+
17
+ [contractspec-bun-build] transpile target=node root=src entries=7
18
+ Bundled 7 modules in 14ms
19
+
20
+ ./example.js 0.81 KB (entry point)
21
+ ./index.js 11.31 KB (entry point)
22
+ ./product-intent.feature.js 0.59 KB (entry point)
23
+ ./script.js 16.51 KB (entry point)
24
+ ./sync-actions.js 15.97 KB (entry point)
25
+ ./load-evidence.js 9.86 KB (entry point)
26
+ ./posthog-signals.js 7.58 KB (entry point)
27
+
28
+ $ contractspec-bun-build types
@@ -1 +1,2 @@
1
- $ contractspec-bun-build prebuild
1
+
2
+ $ contractspec-bun-build prebuild
package/CHANGELOG.md CHANGED
@@ -1,5 +1,37 @@
1
1
  # @contractspec/example.product-intent
2
2
 
3
+ ## 3.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 0ee467a: feat: improve ai and customization
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [0ee467a]
12
+ - Updated dependencies [56ee8e6]
13
+ - @contractspec/integration.providers-impls@3.4.0
14
+ - @contractspec/lib.contracts-integrations@3.4.0
15
+ - @contractspec/lib.product-intent-utils@3.4.0
16
+ - @contractspec/lib.contracts-spec@3.4.0
17
+ - @contractspec/lib.ai-agent@4.0.0
18
+
19
+ ## 3.3.0
20
+
21
+ ### Minor Changes
22
+
23
+ - 890a0da: fix: stability improvements
24
+
25
+ ### Patch Changes
26
+
27
+ - Updated dependencies [890a0da]
28
+ - Updated dependencies [575b316]
29
+ - @contractspec/integration.providers-impls@3.3.0
30
+ - @contractspec/lib.contracts-integrations@3.3.0
31
+ - @contractspec/lib.product-intent-utils@3.3.0
32
+ - @contractspec/lib.contracts-spec@3.3.0
33
+ - @contractspec/lib.ai-agent@3.3.0
34
+
3
35
  ## 3.2.0
4
36
 
5
37
  ### Minor Changes
package/dist/index.d.ts CHANGED
@@ -3,3 +3,4 @@ export { DEFAULT_CHUNK_SIZE, DEFAULT_EVIDENCE_ROOT, DEFAULT_TRANSCRIPT_DIRS, loa
3
3
  export type { EvidenceLoadOptions, EvidenceLoadWithSignalsOptions, } from './load-evidence';
4
4
  export { loadPosthogEvidenceChunks, resolvePosthogEvidenceOptionsFromEnv, } from './posthog-signals';
5
5
  export type { PosthogEvidenceOptions } from './posthog-signals';
6
+ export * from './product-intent.feature';
package/dist/index.js CHANGED
@@ -331,12 +331,30 @@ async function loadEvidenceChunksWithSignals(options = {}) {
331
331
  const posthogChunks = await loadPosthogEvidenceChunks(options.posthog);
332
332
  return [...baseChunks, ...posthogChunks];
333
333
  }
334
+
335
+ // src/product-intent.feature.ts
336
+ import { defineFeature } from "@contractspec/lib.contracts-spec";
337
+ var ProductIntentFeature = defineFeature({
338
+ meta: {
339
+ key: "product-intent",
340
+ version: "1.0.0",
341
+ title: "Product Intent",
342
+ description: "Evidence ingestion, PostHog signals, and transcript-to-tickets discovery workflow",
343
+ domain: "product",
344
+ owners: ["@examples"],
345
+ tags: ["product", "intent", "evidence", "posthog"],
346
+ stability: "experimental"
347
+ },
348
+ telemetry: [{ key: "product-intent.telemetry", version: "1.0.0" }],
349
+ docs: []
350
+ });
334
351
  export {
335
352
  resolvePosthogEvidenceOptionsFromEnv,
336
353
  loadPosthogEvidenceChunks,
337
354
  loadEvidenceChunksWithSignals,
338
355
  loadEvidenceChunks,
339
356
  example_default as example,
357
+ ProductIntentFeature,
340
358
  DEFAULT_TRANSCRIPT_DIRS,
341
359
  DEFAULT_EVIDENCE_ROOT,
342
360
  DEFAULT_CHUNK_SIZE
@@ -330,12 +330,30 @@ async function loadEvidenceChunksWithSignals(options = {}) {
330
330
  const posthogChunks = await loadPosthogEvidenceChunks(options.posthog);
331
331
  return [...baseChunks, ...posthogChunks];
332
332
  }
333
+
334
+ // src/product-intent.feature.ts
335
+ import { defineFeature } from "@contractspec/lib.contracts-spec";
336
+ var ProductIntentFeature = defineFeature({
337
+ meta: {
338
+ key: "product-intent",
339
+ version: "1.0.0",
340
+ title: "Product Intent",
341
+ description: "Evidence ingestion, PostHog signals, and transcript-to-tickets discovery workflow",
342
+ domain: "product",
343
+ owners: ["@examples"],
344
+ tags: ["product", "intent", "evidence", "posthog"],
345
+ stability: "experimental"
346
+ },
347
+ telemetry: [{ key: "product-intent.telemetry", version: "1.0.0" }],
348
+ docs: []
349
+ });
333
350
  export {
334
351
  resolvePosthogEvidenceOptionsFromEnv,
335
352
  loadPosthogEvidenceChunks,
336
353
  loadEvidenceChunksWithSignals,
337
354
  loadEvidenceChunks,
338
355
  example_default as example,
356
+ ProductIntentFeature,
339
357
  DEFAULT_TRANSCRIPT_DIRS,
340
358
  DEFAULT_EVIDENCE_ROOT,
341
359
  DEFAULT_CHUNK_SIZE
@@ -0,0 +1,19 @@
1
+ // src/product-intent.feature.ts
2
+ import { defineFeature } from "@contractspec/lib.contracts-spec";
3
+ var ProductIntentFeature = defineFeature({
4
+ meta: {
5
+ key: "product-intent",
6
+ version: "1.0.0",
7
+ title: "Product Intent",
8
+ description: "Evidence ingestion, PostHog signals, and transcript-to-tickets discovery workflow",
9
+ domain: "product",
10
+ owners: ["@examples"],
11
+ tags: ["product", "intent", "evidence", "posthog"],
12
+ stability: "experimental"
13
+ },
14
+ telemetry: [{ key: "product-intent.telemetry", version: "1.0.0" }],
15
+ docs: []
16
+ });
17
+ export {
18
+ ProductIntentFeature
19
+ };
@@ -0,0 +1 @@
1
+ export declare const ProductIntentFeature: import("@contractspec/lib.contracts-spec").FeatureModuleSpec;
@@ -0,0 +1,20 @@
1
+ // @bun
2
+ // src/product-intent.feature.ts
3
+ import { defineFeature } from "@contractspec/lib.contracts-spec";
4
+ var ProductIntentFeature = defineFeature({
5
+ meta: {
6
+ key: "product-intent",
7
+ version: "1.0.0",
8
+ title: "Product Intent",
9
+ description: "Evidence ingestion, PostHog signals, and transcript-to-tickets discovery workflow",
10
+ domain: "product",
11
+ owners: ["@examples"],
12
+ tags: ["product", "intent", "evidence", "posthog"],
13
+ stability: "experimental"
14
+ },
15
+ telemetry: [{ key: "product-intent.telemetry", version: "1.0.0" }],
16
+ docs: []
17
+ });
18
+ export {
19
+ ProductIntentFeature
20
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/example.product-intent",
3
- "version": "3.2.0",
3
+ "version": "3.4.0",
4
4
  "description": "Product intent example: evidence ingestion and prompt-ready outputs.",
5
5
  "keywords": [
6
6
  "contractspec",
@@ -36,6 +36,12 @@
36
36
  "node": "./dist/node/posthog-signals.js",
37
37
  "default": "./dist/posthog-signals.js"
38
38
  },
39
+ "./product-intent.feature": {
40
+ "types": "./dist/product-intent.feature.d.ts",
41
+ "bun": "./dist/product-intent.feature.js",
42
+ "node": "./dist/node/product-intent.feature.js",
43
+ "default": "./dist/product-intent.feature.js"
44
+ },
39
45
  "./script": {
40
46
  "types": "./dist/script.d.ts",
41
47
  "bun": "./dist/script.js",
@@ -65,16 +71,16 @@
65
71
  "typecheck": "tsc --noEmit"
66
72
  },
67
73
  "dependencies": {
68
- "@contractspec/lib.contracts-spec": "3.2.0",
69
- "@contractspec/lib.contracts-integrations": "3.2.0",
70
- "@contractspec/lib.ai-agent": "3.2.0",
71
- "@contractspec/lib.product-intent-utils": "3.2.0",
72
- "@contractspec/integration.providers-impls": "3.2.0"
74
+ "@contractspec/lib.contracts-spec": "3.4.0",
75
+ "@contractspec/lib.contracts-integrations": "3.4.0",
76
+ "@contractspec/lib.ai-agent": "4.0.0",
77
+ "@contractspec/lib.product-intent-utils": "3.4.0",
78
+ "@contractspec/integration.providers-impls": "3.4.0"
73
79
  },
74
80
  "devDependencies": {
75
- "@contractspec/tool.typescript": "3.2.0",
81
+ "@contractspec/tool.typescript": "3.4.0",
76
82
  "typescript": "^5.9.3",
77
- "@contractspec/tool.bun": "3.2.0"
83
+ "@contractspec/tool.bun": "3.4.0"
78
84
  },
79
85
  "publishConfig": {
80
86
  "access": "public",
@@ -103,6 +109,12 @@
103
109
  "node": "./dist/node/posthog-signals.js",
104
110
  "default": "./dist/posthog-signals.js"
105
111
  },
112
+ "./product-intent.feature": {
113
+ "types": "./dist/product-intent.feature.d.ts",
114
+ "bun": "./dist/product-intent.feature.js",
115
+ "node": "./dist/node/product-intent.feature.js",
116
+ "default": "./dist/product-intent.feature.js"
117
+ },
106
118
  "./script": {
107
119
  "types": "./dist/script.d.ts",
108
120
  "bun": "./dist/script.js",
package/src/index.ts CHANGED
@@ -15,3 +15,4 @@ export {
15
15
  resolvePosthogEvidenceOptionsFromEnv,
16
16
  } from './posthog-signals';
17
17
  export type { PosthogEvidenceOptions } from './posthog-signals';
18
+ export * from './product-intent.feature';
@@ -0,0 +1,19 @@
1
+ import { defineFeature } from '@contractspec/lib.contracts-spec';
2
+
3
+ export const ProductIntentFeature = defineFeature({
4
+ meta: {
5
+ key: 'product-intent',
6
+ version: '1.0.0',
7
+ title: 'Product Intent',
8
+ description:
9
+ 'Evidence ingestion, PostHog signals, and transcript-to-tickets discovery workflow',
10
+ domain: 'product',
11
+ owners: ['@examples'],
12
+ tags: ['product', 'intent', 'evidence', 'posthog'],
13
+ stability: 'experimental',
14
+ },
15
+
16
+ telemetry: [{ key: 'product-intent.telemetry', version: '1.0.0' }],
17
+
18
+ docs: [],
19
+ });