@contractspec/example.product-intent 3.7.0 → 3.7.3

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.
@@ -2,26 +2,30 @@ $ contractspec-bun-build prebuild
2
2
  $ bun run prebuild && bun run build:bundle && bun run build:types
3
3
  $ contractspec-bun-build prebuild
4
4
  $ contractspec-bun-build transpile
5
- [contractspec-bun-build] transpile target=bun root=src entries=7 noBundle=false
6
- Bundled 7 modules in 50ms
5
+ [contractspec-bun-build] transpile target=bun root=src entries=9 noBundle=false
6
+ Bundled 9 modules in 35ms
7
7
 
8
- ./example.js 0.81 KB (entry point)
9
- ./index.js 11.31 KB (entry point)
10
- ./product-intent.feature.js 0.60 KB (entry point)
11
- ./script.js 16.50 KB (entry point)
12
- ./sync-actions.js 15.97 KB (entry point)
13
- ./load-evidence.js 9.86 KB (entry point)
14
- ./posthog-signals.js 7.59 KB (entry point)
8
+ docs/index.js 1.41 KB (entry point)
9
+ ./sync-actions.js 15.97 KB (entry point)
10
+ docs/product-intent.docblock.js 1.41 KB (entry point)
11
+ ./index.js 11.44 KB (entry point)
12
+ ./example.js 0.95 KB (entry point)
13
+ ./product-intent.feature.js 0.60 KB (entry point)
14
+ ./script.js 16.50 KB (entry point)
15
+ ./load-evidence.js 9.86 KB (entry point)
16
+ ./posthog-signals.js 7.59 KB (entry point)
15
17
 
16
- [contractspec-bun-build] transpile target=node root=src entries=7 noBundle=false
17
- Bundled 7 modules in 46ms
18
+ [contractspec-bun-build] transpile target=node root=src entries=9 noBundle=false
19
+ Bundled 9 modules in 61ms
18
20
 
19
- ./example.js 0.81 KB (entry point)
20
- ./index.js 11.31 KB (entry point)
21
- ./product-intent.feature.js 0.59 KB (entry point)
22
- ./script.js 16.51 KB (entry point)
23
- ./sync-actions.js 15.97 KB (entry point)
24
- ./load-evidence.js 9.86 KB (entry point)
25
- ./posthog-signals.js 7.58 KB (entry point)
21
+ docs/index.js 1.40 KB (entry point)
22
+ ./sync-actions.js 15.97 KB (entry point)
23
+ docs/product-intent.docblock.js 1.40 KB (entry point)
24
+ ./index.js 11.44 KB (entry point)
25
+ ./example.js 0.94 KB (entry point)
26
+ ./product-intent.feature.js 0.59 KB (entry point)
27
+ ./script.js 16.51 KB (entry point)
28
+ ./load-evidence.js 9.86 KB (entry point)
29
+ ./posthog-signals.js 7.58 KB (entry point)
26
30
 
27
31
  $ contractspec-bun-build types
package/CHANGELOG.md CHANGED
@@ -1,5 +1,44 @@
1
1
  # @contractspec/example.product-intent
2
2
 
3
+ ## 3.7.3
4
+
5
+ ### Patch Changes
6
+
7
+ - fix: release
8
+ - Updated dependencies
9
+ - @contractspec/integration.providers-impls@3.7.3
10
+ - @contractspec/lib.contracts-integrations@3.7.3
11
+ - @contractspec/lib.product-intent-utils@3.7.3
12
+ - @contractspec/lib.contracts-spec@3.7.3
13
+ - @contractspec/lib.ai-agent@7.0.3
14
+
15
+ ## 3.7.2
16
+
17
+ ### Patch Changes
18
+
19
+ - 8cd229b: fix: release
20
+ - 04bc555: Improve contract integrity, example validation, onboarding docs, doctor safety,
21
+ release verification, packaged smoke testing, and security workflow coverage.
22
+ - Updated dependencies [8cd229b]
23
+ - Updated dependencies [04bc555]
24
+ - @contractspec/integration.providers-impls@3.7.2
25
+ - @contractspec/lib.contracts-integrations@3.7.2
26
+ - @contractspec/lib.product-intent-utils@3.7.2
27
+ - @contractspec/lib.contracts-spec@3.7.2
28
+ - @contractspec/lib.ai-agent@7.0.2
29
+
30
+ ## 3.7.1
31
+
32
+ ### Patch Changes
33
+
34
+ - 5eb8626: fix: package exports
35
+ - Updated dependencies [5eb8626]
36
+ - @contractspec/integration.providers-impls@3.7.1
37
+ - @contractspec/lib.contracts-integrations@3.7.1
38
+ - @contractspec/lib.product-intent-utils@3.7.1
39
+ - @contractspec/lib.contracts-spec@3.7.1
40
+ - @contractspec/lib.ai-agent@7.0.1
41
+
3
42
  ## 3.7.0
4
43
 
5
44
  ### Minor Changes
@@ -0,0 +1 @@
1
+ import './product-intent.docblock';
@@ -0,0 +1,35 @@
1
+ // @bun
2
+ // src/docs/product-intent.docblock.ts
3
+ import { registerDocBlocks } from "@contractspec/lib.contracts-spec/docs";
4
+ var blocks = [
5
+ {
6
+ id: "docs.examples.product-intent",
7
+ title: "Product Intent Discovery",
8
+ summary: "Evidence-ingestion example for turning product signals into prompt-ready discovery outputs.",
9
+ kind: "reference",
10
+ visibility: "public",
11
+ route: "/docs/examples/product-intent",
12
+ tags: ["product-intent", "discovery", "evidence", "example"],
13
+ body: `## Included assets
14
+ - Product-intent feature and example manifest.
15
+ - Evidence loading helpers and PostHog signal ingestion.
16
+ - Sync actions and script entrypoints for discovery workflows.
17
+
18
+ ## Use case
19
+ Use this example when you need a lightweight pattern for evidence-backed product discovery before it becomes a larger workflow or template.`
20
+ },
21
+ {
22
+ id: "docs.examples.product-intent.usage",
23
+ title: "Product Intent Usage",
24
+ summary: "How to use the product-intent example for evidence ingestion.",
25
+ kind: "usage",
26
+ visibility: "public",
27
+ route: "/docs/examples/product-intent/usage",
28
+ tags: ["product-intent", "usage"],
29
+ body: `## Usage
30
+ 1. Load evidence sources with the helpers in this package.
31
+ 2. Transform product signals into the product-intent workflow inputs.
32
+ 3. Export the resulting discovery outputs into the next planning step or agent prompt.`
33
+ }
34
+ ];
35
+ registerDocBlocks(blocks);
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,35 @@
1
+ // @bun
2
+ // src/docs/product-intent.docblock.ts
3
+ import { registerDocBlocks } from "@contractspec/lib.contracts-spec/docs";
4
+ var blocks = [
5
+ {
6
+ id: "docs.examples.product-intent",
7
+ title: "Product Intent Discovery",
8
+ summary: "Evidence-ingestion example for turning product signals into prompt-ready discovery outputs.",
9
+ kind: "reference",
10
+ visibility: "public",
11
+ route: "/docs/examples/product-intent",
12
+ tags: ["product-intent", "discovery", "evidence", "example"],
13
+ body: `## Included assets
14
+ - Product-intent feature and example manifest.
15
+ - Evidence loading helpers and PostHog signal ingestion.
16
+ - Sync actions and script entrypoints for discovery workflows.
17
+
18
+ ## Use case
19
+ Use this example when you need a lightweight pattern for evidence-backed product discovery before it becomes a larger workflow or template.`
20
+ },
21
+ {
22
+ id: "docs.examples.product-intent.usage",
23
+ title: "Product Intent Usage",
24
+ summary: "How to use the product-intent example for evidence ingestion.",
25
+ kind: "usage",
26
+ visibility: "public",
27
+ route: "/docs/examples/product-intent/usage",
28
+ tags: ["product-intent", "usage"],
29
+ body: `## Usage
30
+ 1. Load evidence sources with the helpers in this package.
31
+ 2. Transform product signals into the product-intent workflow inputs.
32
+ 3. Export the resulting discovery outputs into the next planning step or agent prompt.`
33
+ }
34
+ ];
35
+ registerDocBlocks(blocks);
package/dist/example.js CHANGED
@@ -13,8 +13,13 @@ var example = defineExample({
13
13
  owners: ["@platform.core"],
14
14
  tags: ["product-intent", "discovery", "pm", "evidence", "llm"]
15
15
  },
16
+ docs: {
17
+ rootDocId: "docs.examples.product-intent",
18
+ usageDocId: "docs.examples.product-intent.usage"
19
+ },
16
20
  entrypoints: {
17
- packageName: "@contractspec/example.product-intent"
21
+ packageName: "@contractspec/example.product-intent",
22
+ docs: "./docs"
18
23
  },
19
24
  surfaces: {
20
25
  templates: false,
package/dist/index.js CHANGED
@@ -13,8 +13,13 @@ var example = defineExample({
13
13
  owners: ["@platform.core"],
14
14
  tags: ["product-intent", "discovery", "pm", "evidence", "llm"]
15
15
  },
16
+ docs: {
17
+ rootDocId: "docs.examples.product-intent",
18
+ usageDocId: "docs.examples.product-intent.usage"
19
+ },
16
20
  entrypoints: {
17
- packageName: "@contractspec/example.product-intent"
21
+ packageName: "@contractspec/example.product-intent",
22
+ docs: "./docs"
18
23
  },
19
24
  surfaces: {
20
25
  templates: false,
@@ -0,0 +1,34 @@
1
+ // src/docs/product-intent.docblock.ts
2
+ import { registerDocBlocks } from "@contractspec/lib.contracts-spec/docs";
3
+ var blocks = [
4
+ {
5
+ id: "docs.examples.product-intent",
6
+ title: "Product Intent Discovery",
7
+ summary: "Evidence-ingestion example for turning product signals into prompt-ready discovery outputs.",
8
+ kind: "reference",
9
+ visibility: "public",
10
+ route: "/docs/examples/product-intent",
11
+ tags: ["product-intent", "discovery", "evidence", "example"],
12
+ body: `## Included assets
13
+ - Product-intent feature and example manifest.
14
+ - Evidence loading helpers and PostHog signal ingestion.
15
+ - Sync actions and script entrypoints for discovery workflows.
16
+
17
+ ## Use case
18
+ Use this example when you need a lightweight pattern for evidence-backed product discovery before it becomes a larger workflow or template.`
19
+ },
20
+ {
21
+ id: "docs.examples.product-intent.usage",
22
+ title: "Product Intent Usage",
23
+ summary: "How to use the product-intent example for evidence ingestion.",
24
+ kind: "usage",
25
+ visibility: "public",
26
+ route: "/docs/examples/product-intent/usage",
27
+ tags: ["product-intent", "usage"],
28
+ body: `## Usage
29
+ 1. Load evidence sources with the helpers in this package.
30
+ 2. Transform product signals into the product-intent workflow inputs.
31
+ 3. Export the resulting discovery outputs into the next planning step or agent prompt.`
32
+ }
33
+ ];
34
+ registerDocBlocks(blocks);
@@ -0,0 +1,34 @@
1
+ // src/docs/product-intent.docblock.ts
2
+ import { registerDocBlocks } from "@contractspec/lib.contracts-spec/docs";
3
+ var blocks = [
4
+ {
5
+ id: "docs.examples.product-intent",
6
+ title: "Product Intent Discovery",
7
+ summary: "Evidence-ingestion example for turning product signals into prompt-ready discovery outputs.",
8
+ kind: "reference",
9
+ visibility: "public",
10
+ route: "/docs/examples/product-intent",
11
+ tags: ["product-intent", "discovery", "evidence", "example"],
12
+ body: `## Included assets
13
+ - Product-intent feature and example manifest.
14
+ - Evidence loading helpers and PostHog signal ingestion.
15
+ - Sync actions and script entrypoints for discovery workflows.
16
+
17
+ ## Use case
18
+ Use this example when you need a lightweight pattern for evidence-backed product discovery before it becomes a larger workflow or template.`
19
+ },
20
+ {
21
+ id: "docs.examples.product-intent.usage",
22
+ title: "Product Intent Usage",
23
+ summary: "How to use the product-intent example for evidence ingestion.",
24
+ kind: "usage",
25
+ visibility: "public",
26
+ route: "/docs/examples/product-intent/usage",
27
+ tags: ["product-intent", "usage"],
28
+ body: `## Usage
29
+ 1. Load evidence sources with the helpers in this package.
30
+ 2. Transform product signals into the product-intent workflow inputs.
31
+ 3. Export the resulting discovery outputs into the next planning step or agent prompt.`
32
+ }
33
+ ];
34
+ registerDocBlocks(blocks);
@@ -12,8 +12,13 @@ var example = defineExample({
12
12
  owners: ["@platform.core"],
13
13
  tags: ["product-intent", "discovery", "pm", "evidence", "llm"]
14
14
  },
15
+ docs: {
16
+ rootDocId: "docs.examples.product-intent",
17
+ usageDocId: "docs.examples.product-intent.usage"
18
+ },
15
19
  entrypoints: {
16
- packageName: "@contractspec/example.product-intent"
20
+ packageName: "@contractspec/example.product-intent",
21
+ docs: "./docs"
17
22
  },
18
23
  surfaces: {
19
24
  templates: false,
@@ -12,8 +12,13 @@ var example = defineExample({
12
12
  owners: ["@platform.core"],
13
13
  tags: ["product-intent", "discovery", "pm", "evidence", "llm"]
14
14
  },
15
+ docs: {
16
+ rootDocId: "docs.examples.product-intent",
17
+ usageDocId: "docs.examples.product-intent.usage"
18
+ },
15
19
  entrypoints: {
16
- packageName: "@contractspec/example.product-intent"
20
+ packageName: "@contractspec/example.product-intent",
21
+ docs: "./docs"
17
22
  },
18
23
  surfaces: {
19
24
  templates: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/example.product-intent",
3
- "version": "3.7.0",
3
+ "version": "3.7.3",
4
4
  "description": "Product intent example: evidence ingestion and prompt-ready outputs.",
5
5
  "keywords": [
6
6
  "contractspec",
@@ -18,6 +18,18 @@
18
18
  "node": "./dist/node/index.js",
19
19
  "default": "./dist/index.js"
20
20
  },
21
+ "./docs": {
22
+ "types": "./dist/docs/index.d.ts",
23
+ "bun": "./dist/docs/index.js",
24
+ "node": "./dist/node/docs/index.js",
25
+ "default": "./dist/docs/index.js"
26
+ },
27
+ "./docs/product-intent.docblock": {
28
+ "types": "./dist/docs/product-intent.docblock.d.ts",
29
+ "bun": "./dist/docs/product-intent.docblock.js",
30
+ "node": "./dist/node/docs/product-intent.docblock.js",
31
+ "default": "./dist/docs/product-intent.docblock.js"
32
+ },
21
33
  "./example": {
22
34
  "types": "./dist/example.d.ts",
23
35
  "bun": "./dist/example.js",
@@ -71,16 +83,16 @@
71
83
  "typecheck": "tsc --noEmit"
72
84
  },
73
85
  "dependencies": {
74
- "@contractspec/lib.contracts-spec": "3.7.0",
75
- "@contractspec/lib.contracts-integrations": "3.7.0",
76
- "@contractspec/lib.ai-agent": "7.0.0",
77
- "@contractspec/lib.product-intent-utils": "3.7.0",
78
- "@contractspec/integration.providers-impls": "3.7.0"
86
+ "@contractspec/lib.contracts-spec": "3.7.3",
87
+ "@contractspec/lib.contracts-integrations": "3.7.3",
88
+ "@contractspec/lib.ai-agent": "7.0.3",
89
+ "@contractspec/lib.product-intent-utils": "3.7.3",
90
+ "@contractspec/integration.providers-impls": "3.7.3"
79
91
  },
80
92
  "devDependencies": {
81
- "@contractspec/tool.typescript": "3.7.0",
93
+ "@contractspec/tool.typescript": "3.7.3",
82
94
  "typescript": "^5.9.3",
83
- "@contractspec/tool.bun": "3.7.0"
95
+ "@contractspec/tool.bun": "3.7.3"
84
96
  },
85
97
  "publishConfig": {
86
98
  "access": "public",
@@ -91,6 +103,18 @@
91
103
  "node": "./dist/node/index.js",
92
104
  "default": "./dist/index.js"
93
105
  },
106
+ "./docs": {
107
+ "types": "./dist/docs/index.d.ts",
108
+ "bun": "./dist/docs/index.js",
109
+ "node": "./dist/node/docs/index.js",
110
+ "default": "./dist/docs/index.js"
111
+ },
112
+ "./docs/product-intent.docblock": {
113
+ "types": "./dist/docs/product-intent.docblock.d.ts",
114
+ "bun": "./dist/docs/product-intent.docblock.js",
115
+ "node": "./dist/node/docs/product-intent.docblock.js",
116
+ "default": "./dist/docs/product-intent.docblock.js"
117
+ },
94
118
  "./example": {
95
119
  "types": "./dist/example.d.ts",
96
120
  "bun": "./dist/example.js",
@@ -0,0 +1 @@
1
+ import './product-intent.docblock';
@@ -0,0 +1,37 @@
1
+ import type { DocBlock } from '@contractspec/lib.contracts-spec/docs';
2
+ import { registerDocBlocks } from '@contractspec/lib.contracts-spec/docs';
3
+
4
+ const blocks: DocBlock[] = [
5
+ {
6
+ id: 'docs.examples.product-intent',
7
+ title: 'Product Intent Discovery',
8
+ summary:
9
+ 'Evidence-ingestion example for turning product signals into prompt-ready discovery outputs.',
10
+ kind: 'reference',
11
+ visibility: 'public',
12
+ route: '/docs/examples/product-intent',
13
+ tags: ['product-intent', 'discovery', 'evidence', 'example'],
14
+ body: `## Included assets
15
+ - Product-intent feature and example manifest.
16
+ - Evidence loading helpers and PostHog signal ingestion.
17
+ - Sync actions and script entrypoints for discovery workflows.
18
+
19
+ ## Use case
20
+ Use this example when you need a lightweight pattern for evidence-backed product discovery before it becomes a larger workflow or template.`,
21
+ },
22
+ {
23
+ id: 'docs.examples.product-intent.usage',
24
+ title: 'Product Intent Usage',
25
+ summary: 'How to use the product-intent example for evidence ingestion.',
26
+ kind: 'usage',
27
+ visibility: 'public',
28
+ route: '/docs/examples/product-intent/usage',
29
+ tags: ['product-intent', 'usage'],
30
+ body: `## Usage
31
+ 1. Load evidence sources with the helpers in this package.
32
+ 2. Transform product signals into the product-intent workflow inputs.
33
+ 3. Export the resulting discovery outputs into the next planning step or agent prompt.`,
34
+ },
35
+ ];
36
+
37
+ registerDocBlocks(blocks);
package/src/example.ts CHANGED
@@ -13,8 +13,13 @@ const example = defineExample({
13
13
  owners: ['@platform.core'],
14
14
  tags: ['product-intent', 'discovery', 'pm', 'evidence', 'llm'],
15
15
  },
16
+ docs: {
17
+ rootDocId: 'docs.examples.product-intent',
18
+ usageDocId: 'docs.examples.product-intent.usage',
19
+ },
16
20
  entrypoints: {
17
21
  packageName: '@contractspec/example.product-intent',
22
+ docs: './docs',
18
23
  },
19
24
  surfaces: {
20
25
  templates: false,