@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.
- package/.turbo/turbo-build.log +28 -25
- package/.turbo/turbo-prebuild.log +2 -1
- package/CHANGELOG.md +32 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +18 -0
- package/dist/node/index.js +18 -0
- package/dist/node/product-intent.feature.js +19 -0
- package/dist/product-intent.feature.d.ts +1 -0
- package/dist/product-intent.feature.js +20 -0
- package/package.json +20 -8
- package/src/index.ts +1 -0
- package/src/product-intent.feature.ts +19 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,25 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
[
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
./
|
|
10
|
-
./
|
|
11
|
-
./
|
|
12
|
-
./
|
|
13
|
-
./
|
|
14
|
-
|
|
15
|
-
[
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
./
|
|
21
|
-
./
|
|
22
|
-
./
|
|
23
|
-
./
|
|
24
|
-
|
|
25
|
-
|
|
1
|
+
|
|
2
|
+
[0m[2m[35m$[0m [2m[1mcontractspec-bun-build prebuild[0m
|
|
3
|
+
[0m[2m[35m$[0m [2m[1mbun run prebuild && bun run build:bundle && bun run build:types[0m
|
|
4
|
+
[0m[2m[35m$[0m [2m[1mcontractspec-bun-build prebuild[0m
|
|
5
|
+
[0m[2m[35m$[0m [2m[1mcontractspec-bun-build transpile[0m
|
|
6
|
+
[contractspec-bun-build] transpile target=bun root=src entries=7
|
|
7
|
+
[32mBundled 7 modules in 10ms[0m
|
|
8
|
+
|
|
9
|
+
[34m./example.js[0m 0.81 KB [2m(entry point)[0m
|
|
10
|
+
[34m./index.js[0m 11.31 KB [2m(entry point)[0m
|
|
11
|
+
[34m./product-intent.feature.js[0m 0.60 KB [2m(entry point)[0m
|
|
12
|
+
[34m./script.js[0m 16.50 KB [2m(entry point)[0m
|
|
13
|
+
[34m./sync-actions.js[0m 15.97 KB [2m(entry point)[0m
|
|
14
|
+
[34m./load-evidence.js[0m 9.86 KB [2m(entry point)[0m
|
|
15
|
+
[34m./posthog-signals.js[0m 7.59 KB [2m(entry point)[0m
|
|
16
|
+
|
|
17
|
+
[contractspec-bun-build] transpile target=node root=src entries=7
|
|
18
|
+
[32mBundled 7 modules in 14ms[0m
|
|
19
|
+
|
|
20
|
+
[34m./example.js[0m 0.81 KB [2m(entry point)[0m
|
|
21
|
+
[34m./index.js[0m 11.31 KB [2m(entry point)[0m
|
|
22
|
+
[34m./product-intent.feature.js[0m 0.59 KB [2m(entry point)[0m
|
|
23
|
+
[34m./script.js[0m 16.51 KB [2m(entry point)[0m
|
|
24
|
+
[34m./sync-actions.js[0m 15.97 KB [2m(entry point)[0m
|
|
25
|
+
[34m./load-evidence.js[0m 9.86 KB [2m(entry point)[0m
|
|
26
|
+
[34m./posthog-signals.js[0m 7.58 KB [2m(entry point)[0m
|
|
27
|
+
|
|
28
|
+
[0m[2m[35m$[0m [2m[1mcontractspec-bun-build types[0m
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
|
+
[0m[2m[35m$[0m [2m[1mcontractspec-bun-build prebuild[0m
|
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
|
package/dist/node/index.js
CHANGED
|
@@ -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.
|
|
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.
|
|
69
|
-
"@contractspec/lib.contracts-integrations": "3.
|
|
70
|
-
"@contractspec/lib.ai-agent": "
|
|
71
|
-
"@contractspec/lib.product-intent-utils": "3.
|
|
72
|
-
"@contractspec/integration.providers-impls": "3.
|
|
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.
|
|
81
|
+
"@contractspec/tool.typescript": "3.4.0",
|
|
76
82
|
"typescript": "^5.9.3",
|
|
77
|
-
"@contractspec/tool.bun": "3.
|
|
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
|
@@ -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
|
+
});
|