@contractspec/lib.contracts 1.56.1 → 1.57.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/dist/_virtual/{rolldown_runtime.js → _rolldown/runtime.js} +3 -3
- package/dist/app-config/app-config.contracts.d.ts +50 -50
- package/dist/app-config/events.d.ts +27 -27
- package/dist/app-config/lifecycle-contracts.d.ts +54 -54
- package/dist/app-config/runtime.js +3 -3
- package/dist/app-config/validation.js +3 -3
- package/dist/capabilities/capabilities.js +20 -20
- package/dist/capabilities/context.d.ts +0 -1
- package/dist/capabilities/context.js +1 -1
- package/dist/capabilities/guards.d.ts +0 -1
- package/dist/capabilities/index.d.ts +2 -1
- package/dist/capabilities/index.js +2 -1
- package/dist/capabilities/meeting-recorder.d.ts +10 -0
- package/dist/capabilities/meeting-recorder.js +82 -0
- package/dist/capabilities/validation.d.ts +0 -1
- package/dist/client/react/drivers/rn-reusables.d.ts +0 -1
- package/dist/client/react/drivers/shadcn.d.ts +0 -1
- package/dist/client/react/form-render.js +3 -3
- package/dist/contract-registry/schemas.d.ts +2 -2
- package/dist/data-views/registry.d.ts +0 -1
- package/dist/data-views/spec.d.ts +0 -1
- package/dist/docs/commands/docsPublish.command.d.ts +13 -13
- package/dist/docs/contracts.d.ts +103 -103
- package/dist/docs/events/docsGenerated.event.d.ts +13 -13
- package/dist/docs/events/docsPublished.event.d.ts +15 -15
- package/dist/docs/forms/docsSearch.form.d.ts +4 -4
- package/dist/docs/queries/contractReference.query.d.ts +47 -47
- package/dist/docs/queries/docsIndex.query.d.ts +57 -57
- package/dist/docs/tech/llm/llm-integration.docblock.d.ts +0 -1
- package/dist/docs/tech/mcp-endpoints.docblock.js +5 -0
- package/dist/events.d.ts +0 -1
- package/dist/examples/index.d.ts +0 -1
- package/dist/examples/registry.d.ts +0 -1
- package/dist/examples/schema.d.ts +17 -17
- package/dist/experiments/spec.d.ts +2 -4
- package/dist/features/index.d.ts +0 -1
- package/dist/features/types.d.ts +2 -5
- package/dist/forms/forms.d.ts +1 -2
- package/dist/forms/forms.js +1 -2
- package/dist/index.d.ts +42 -1
- package/dist/index.js +36 -1
- package/dist/install.d.ts +2 -5
- package/dist/integrations/docs/integrations.docblock.js +19 -1
- package/dist/integrations/index.d.ts +26 -1
- package/dist/integrations/index.js +20 -1
- package/dist/integrations/meeting-recorder/contracts/index.d.ts +10 -0
- package/dist/integrations/meeting-recorder/contracts/index.js +12 -0
- package/dist/integrations/meeting-recorder/contracts/meetings.d.ts +458 -0
- package/dist/integrations/meeting-recorder/contracts/meetings.js +149 -0
- package/dist/integrations/meeting-recorder/contracts/transcripts.d.ts +173 -0
- package/dist/integrations/meeting-recorder/contracts/transcripts.js +156 -0
- package/dist/integrations/meeting-recorder/contracts/webhooks.d.ts +92 -0
- package/dist/integrations/meeting-recorder/contracts/webhooks.js +82 -0
- package/dist/integrations/meeting-recorder/meeting-recorder.capability.d.ts +7 -0
- package/dist/integrations/meeting-recorder/meeting-recorder.capability.js +21 -0
- package/dist/integrations/meeting-recorder/meeting-recorder.feature.d.ts +11 -0
- package/dist/integrations/meeting-recorder/meeting-recorder.feature.js +67 -0
- package/dist/integrations/meeting-recorder/models.d.ts +407 -0
- package/dist/integrations/meeting-recorder/models.js +295 -0
- package/dist/integrations/meeting-recorder/telemetry.d.ts +16 -0
- package/dist/integrations/meeting-recorder/telemetry.js +42 -0
- package/dist/integrations/openbanking/contracts/accounts.d.ts +66 -66
- package/dist/integrations/openbanking/contracts/balances.d.ts +34 -34
- package/dist/integrations/openbanking/contracts/transactions.d.ts +48 -48
- package/dist/integrations/openbanking/models.d.ts +55 -55
- package/dist/integrations/operations.d.ts +102 -102
- package/dist/integrations/providers/analytics-reader.d.ts +107 -0
- package/dist/integrations/providers/analytics-reader.js +0 -0
- package/dist/integrations/providers/analytics-writer.d.ts +10 -0
- package/dist/integrations/providers/analytics-writer.js +0 -0
- package/dist/integrations/providers/analytics.d.ts +49 -0
- package/dist/integrations/providers/analytics.js +0 -0
- package/dist/integrations/providers/database.d.ts +15 -0
- package/dist/integrations/providers/database.js +0 -0
- package/dist/integrations/providers/fal.d.ts +8 -0
- package/dist/integrations/providers/fal.js +94 -0
- package/dist/integrations/providers/fathom.d.ts +8 -0
- package/dist/integrations/providers/fathom.js +114 -0
- package/dist/integrations/providers/fireflies.d.ts +8 -0
- package/dist/integrations/providers/fireflies.js +98 -0
- package/dist/integrations/providers/gradium.d.ts +8 -0
- package/dist/integrations/providers/gradium.js +92 -0
- package/dist/integrations/providers/granola.d.ts +8 -0
- package/dist/integrations/providers/granola.js +71 -0
- package/dist/integrations/providers/index.d.ts +19 -1
- package/dist/integrations/providers/index.js +13 -1
- package/dist/integrations/providers/jira.d.ts +8 -0
- package/dist/integrations/providers/jira.js +90 -0
- package/dist/integrations/providers/linear.d.ts +8 -0
- package/dist/integrations/providers/linear.js +85 -0
- package/dist/integrations/providers/meeting-recorder.d.ts +132 -0
- package/dist/integrations/providers/meeting-recorder.js +0 -0
- package/dist/integrations/providers/notion.d.ts +8 -0
- package/dist/integrations/providers/notion.js +91 -0
- package/dist/integrations/providers/posthog.d.ts +8 -0
- package/dist/integrations/providers/posthog.js +107 -0
- package/dist/integrations/providers/project-management.d.ts +35 -0
- package/dist/integrations/providers/project-management.js +0 -0
- package/dist/integrations/providers/registry.d.ts +0 -1
- package/dist/integrations/providers/registry.js +24 -0
- package/dist/integrations/providers/supabase-postgres.d.ts +8 -0
- package/dist/integrations/providers/supabase-postgres.js +73 -0
- package/dist/integrations/providers/supabase-vector.d.ts +8 -0
- package/dist/integrations/providers/supabase-vector.js +93 -0
- package/dist/integrations/providers/tldv.d.ts +8 -0
- package/dist/integrations/providers/tldv.js +98 -0
- package/dist/integrations/runtime.js +0 -1
- package/dist/integrations/spec.d.ts +1 -1
- package/dist/jobs/queue.d.ts +0 -1
- package/dist/knowledge/binding.d.ts +1 -3
- package/dist/knowledge/operations.d.ts +66 -66
- package/dist/llm/exporters.d.ts +0 -1
- package/dist/llm/exporters.js +0 -1
- package/dist/llm/prompts.d.ts +0 -1
- package/dist/llm/types.d.ts +0 -1
- package/dist/onboarding-base.d.ts +29 -29
- package/dist/openapi.d.ts +0 -1
- package/dist/operations/operation.d.ts +19 -43
- package/dist/operations/registry.d.ts +0 -1
- package/dist/operations/registry.js +2 -2
- package/dist/operations/report/getContractVerificationStatus.d.ts +10 -10
- package/dist/ownership.d.ts +41 -88
- package/dist/policy/guards.d.ts +0 -1
- package/dist/policy/guards.js +3 -3
- package/dist/policy/index.d.ts +0 -1
- package/dist/policy/validation.d.ts +0 -1
- package/dist/product-intent/contract-patch-intent.d.ts +103 -0
- package/dist/product-intent/contract-patch-intent.js +33 -0
- package/dist/product-intent/contract-spec-patch.d.ts +89 -0
- package/dist/product-intent/contract-spec-patch.js +27 -0
- package/dist/product-intent/evidence.d.ts +17 -0
- package/dist/product-intent/evidence.js +13 -0
- package/dist/product-intent/findings.d.ts +60 -0
- package/dist/product-intent/findings.js +17 -0
- package/dist/product-intent/impact-report.d.ts +60 -0
- package/dist/product-intent/impact-report.js +27 -0
- package/dist/product-intent/index.d.ts +16 -0
- package/dist/product-intent/index.js +17 -0
- package/dist/product-intent/insights.d.ts +65 -0
- package/dist/product-intent/insights.js +23 -0
- package/dist/product-intent/opportunity-brief.d.ts +195 -0
- package/dist/product-intent/opportunity-brief.js +42 -0
- package/dist/product-intent/problems.d.ts +62 -0
- package/dist/product-intent/problems.js +22 -0
- package/dist/product-intent/registry.d.ts +32 -0
- package/dist/product-intent/registry.js +49 -0
- package/dist/product-intent/runtime.d.ts +103 -0
- package/dist/product-intent/runtime.js +101 -0
- package/dist/product-intent/spec.d.ts +676 -0
- package/dist/product-intent/spec.js +53 -0
- package/dist/product-intent/task-pack.d.ts +101 -0
- package/dist/product-intent/task-pack.js +34 -0
- package/dist/product-intent/tickets.d.ts +70 -0
- package/dist/product-intent/tickets.js +24 -0
- package/dist/product-intent/types.d.ts +12 -0
- package/dist/product-intent/types.js +13 -0
- package/dist/product-intent/ui-wireframe.d.ts +103 -0
- package/dist/product-intent/ui-wireframe.js +33 -0
- package/dist/registry-utils.d.ts +0 -1
- package/dist/registry-utils.js +3 -3
- package/dist/resources.js +1 -1
- package/dist/schema-to-markdown.d.ts +0 -1
- package/dist/server/contracts-adapter-input.js +2 -2
- package/dist/server/graphql-pothos.d.ts +0 -1
- package/dist/server/mcp/createMcpServer.d.ts +0 -1
- package/dist/server/rest-express.d.ts +0 -1
- package/dist/server/rest-generic.js +3 -3
- package/dist/server/rest-next-app.d.ts +0 -1
- package/dist/tests/spec.d.ts +0 -1
- package/dist/translations/registry.d.ts +0 -1
- package/dist/translations/spec.d.ts +0 -1
- package/dist/translations/validation.d.ts +0 -1
- package/dist/types.d.ts +5 -12
- package/dist/versioning/types.d.ts +0 -1
- package/dist/versioning/utils.d.ts +0 -1
- package/dist/workflow/adapters/memory-store.d.ts +0 -1
- package/dist/workflow/context.d.ts +0 -1
- package/dist/workflow/context.js +2 -2
- package/dist/workflow/runner.d.ts +1 -2
- package/dist/workspace-config/contractsrc-schema.d.ts +0 -1
- package/dist/workspace-config/contractsrc-types.d.ts +1 -3
- package/package.json +110 -32
- package/dist/integrations/providers/impls/elevenlabs-voice.d.ts +0 -20
- package/dist/integrations/providers/impls/elevenlabs-voice.js +0 -95
- package/dist/integrations/providers/impls/gcs-storage.d.ts +0 -24
- package/dist/integrations/providers/impls/gcs-storage.js +0 -88
- package/dist/integrations/providers/impls/gmail-inbound.d.ts +0 -26
- package/dist/integrations/providers/impls/gmail-inbound.js +0 -200
- package/dist/integrations/providers/impls/gmail-outbound.d.ts +0 -18
- package/dist/integrations/providers/impls/gmail-outbound.js +0 -105
- package/dist/integrations/providers/impls/google-calendar.d.ts +0 -23
- package/dist/integrations/providers/impls/google-calendar.js +0 -154
- package/dist/integrations/providers/impls/index.d.ts +0 -15
- package/dist/integrations/providers/impls/index.js +0 -16
- package/dist/integrations/providers/impls/mistral-embedding.d.ts +0 -23
- package/dist/integrations/providers/impls/mistral-embedding.js +0 -41
- package/dist/integrations/providers/impls/mistral-llm.d.ts +0 -31
- package/dist/integrations/providers/impls/mistral-llm.js +0 -247
- package/dist/integrations/providers/impls/postmark-email.d.ts +0 -19
- package/dist/integrations/providers/impls/postmark-email.js +0 -55
- package/dist/integrations/providers/impls/powens-client.d.ts +0 -124
- package/dist/integrations/providers/impls/powens-client.js +0 -171
- package/dist/integrations/providers/impls/powens-openbanking.d.ts +0 -27
- package/dist/integrations/providers/impls/powens-openbanking.js +0 -218
- package/dist/integrations/providers/impls/provider-factory.d.ts +0 -26
- package/dist/integrations/providers/impls/provider-factory.js +0 -146
- package/dist/integrations/providers/impls/qdrant-vector.d.ts +0 -24
- package/dist/integrations/providers/impls/qdrant-vector.js +0 -69
- package/dist/integrations/providers/impls/stripe-payments.d.ts +0 -28
- package/dist/integrations/providers/impls/stripe-payments.js +0 -202
- package/dist/integrations/providers/impls/twilio-sms.d.ts +0 -20
- package/dist/integrations/providers/impls/twilio-sms.js +0 -58
|
@@ -1,68 +1,68 @@
|
|
|
1
1
|
import { OperationSpec } from "../../operations/operation.js";
|
|
2
2
|
import "../../index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _contractspec_lib_schema0 from "@contractspec/lib.schema";
|
|
4
4
|
import { SchemaModel } from "@contractspec/lib.schema";
|
|
5
5
|
|
|
6
6
|
//#region src/docs/queries/docsIndex.query.d.ts
|
|
7
7
|
declare const DocSummaryModel: SchemaModel<{
|
|
8
8
|
id: {
|
|
9
|
-
type:
|
|
9
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
title: {
|
|
13
|
-
type:
|
|
13
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
14
14
|
isOptional: false;
|
|
15
15
|
};
|
|
16
16
|
summary: {
|
|
17
|
-
type:
|
|
17
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
18
18
|
isOptional: true;
|
|
19
19
|
};
|
|
20
20
|
route: {
|
|
21
|
-
type:
|
|
21
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
22
22
|
isOptional: true;
|
|
23
23
|
};
|
|
24
24
|
visibility: {
|
|
25
|
-
type:
|
|
25
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
26
26
|
isOptional: true;
|
|
27
27
|
};
|
|
28
28
|
kind: {
|
|
29
|
-
type:
|
|
29
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
30
30
|
isOptional: true;
|
|
31
31
|
};
|
|
32
32
|
version: {
|
|
33
|
-
type:
|
|
33
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
34
34
|
isOptional: true;
|
|
35
35
|
};
|
|
36
36
|
tags: {
|
|
37
|
-
type:
|
|
37
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
38
38
|
isOptional: true;
|
|
39
39
|
isArray: true;
|
|
40
40
|
};
|
|
41
41
|
}>;
|
|
42
42
|
declare const DocsIndexInput: SchemaModel<{
|
|
43
43
|
query: {
|
|
44
|
-
type:
|
|
44
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
45
45
|
isOptional: true;
|
|
46
46
|
};
|
|
47
47
|
tag: {
|
|
48
|
-
type:
|
|
48
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
49
49
|
isOptional: true;
|
|
50
50
|
isArray: true;
|
|
51
51
|
};
|
|
52
52
|
visibility: {
|
|
53
|
-
type:
|
|
53
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
54
54
|
isOptional: true;
|
|
55
55
|
};
|
|
56
56
|
kind: {
|
|
57
|
-
type:
|
|
57
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
58
58
|
isOptional: true;
|
|
59
59
|
};
|
|
60
60
|
limit: {
|
|
61
|
-
type:
|
|
61
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
62
62
|
isOptional: true;
|
|
63
63
|
};
|
|
64
64
|
offset: {
|
|
65
|
-
type:
|
|
65
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
66
66
|
isOptional: true;
|
|
67
67
|
};
|
|
68
68
|
}>;
|
|
@@ -70,35 +70,35 @@ declare const DocsIndexOutput: SchemaModel<{
|
|
|
70
70
|
items: {
|
|
71
71
|
type: SchemaModel<{
|
|
72
72
|
id: {
|
|
73
|
-
type:
|
|
73
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
74
74
|
isOptional: false;
|
|
75
75
|
};
|
|
76
76
|
title: {
|
|
77
|
-
type:
|
|
77
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
78
78
|
isOptional: false;
|
|
79
79
|
};
|
|
80
80
|
summary: {
|
|
81
|
-
type:
|
|
81
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
82
82
|
isOptional: true;
|
|
83
83
|
};
|
|
84
84
|
route: {
|
|
85
|
-
type:
|
|
85
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
86
86
|
isOptional: true;
|
|
87
87
|
};
|
|
88
88
|
visibility: {
|
|
89
|
-
type:
|
|
89
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
90
90
|
isOptional: true;
|
|
91
91
|
};
|
|
92
92
|
kind: {
|
|
93
|
-
type:
|
|
93
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
94
94
|
isOptional: true;
|
|
95
95
|
};
|
|
96
96
|
version: {
|
|
97
|
-
type:
|
|
97
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
98
98
|
isOptional: true;
|
|
99
99
|
};
|
|
100
100
|
tags: {
|
|
101
|
-
type:
|
|
101
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
102
102
|
isOptional: true;
|
|
103
103
|
isArray: true;
|
|
104
104
|
};
|
|
@@ -109,35 +109,35 @@ declare const DocsIndexOutput: SchemaModel<{
|
|
|
109
109
|
docs: {
|
|
110
110
|
type: SchemaModel<{
|
|
111
111
|
id: {
|
|
112
|
-
type:
|
|
112
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
113
113
|
isOptional: false;
|
|
114
114
|
};
|
|
115
115
|
title: {
|
|
116
|
-
type:
|
|
116
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
117
117
|
isOptional: false;
|
|
118
118
|
};
|
|
119
119
|
summary: {
|
|
120
|
-
type:
|
|
120
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
121
121
|
isOptional: true;
|
|
122
122
|
};
|
|
123
123
|
route: {
|
|
124
|
-
type:
|
|
124
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
125
125
|
isOptional: true;
|
|
126
126
|
};
|
|
127
127
|
visibility: {
|
|
128
|
-
type:
|
|
128
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
129
129
|
isOptional: true;
|
|
130
130
|
};
|
|
131
131
|
kind: {
|
|
132
|
-
type:
|
|
132
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
133
133
|
isOptional: true;
|
|
134
134
|
};
|
|
135
135
|
version: {
|
|
136
|
-
type:
|
|
136
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
137
137
|
isOptional: true;
|
|
138
138
|
};
|
|
139
139
|
tags: {
|
|
140
|
-
type:
|
|
140
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
141
141
|
isOptional: true;
|
|
142
142
|
isArray: true;
|
|
143
143
|
};
|
|
@@ -146,73 +146,73 @@ declare const DocsIndexOutput: SchemaModel<{
|
|
|
146
146
|
isArray: true;
|
|
147
147
|
};
|
|
148
148
|
total: {
|
|
149
|
-
type:
|
|
149
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
150
150
|
isOptional: true;
|
|
151
151
|
};
|
|
152
152
|
nextOffset: {
|
|
153
|
-
type:
|
|
153
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
154
154
|
isOptional: true;
|
|
155
155
|
};
|
|
156
156
|
}>;
|
|
157
157
|
declare const DocsIndexQuery: OperationSpec<SchemaModel<{
|
|
158
158
|
query: {
|
|
159
|
-
type:
|
|
159
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
160
160
|
isOptional: true;
|
|
161
161
|
};
|
|
162
162
|
tag: {
|
|
163
|
-
type:
|
|
163
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
164
164
|
isOptional: true;
|
|
165
165
|
isArray: true;
|
|
166
166
|
};
|
|
167
167
|
visibility: {
|
|
168
|
-
type:
|
|
168
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
169
169
|
isOptional: true;
|
|
170
170
|
};
|
|
171
171
|
kind: {
|
|
172
|
-
type:
|
|
172
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
173
173
|
isOptional: true;
|
|
174
174
|
};
|
|
175
175
|
limit: {
|
|
176
|
-
type:
|
|
176
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
177
177
|
isOptional: true;
|
|
178
178
|
};
|
|
179
179
|
offset: {
|
|
180
|
-
type:
|
|
180
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
181
181
|
isOptional: true;
|
|
182
182
|
};
|
|
183
183
|
}>, SchemaModel<{
|
|
184
184
|
items: {
|
|
185
185
|
type: SchemaModel<{
|
|
186
186
|
id: {
|
|
187
|
-
type:
|
|
187
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
188
188
|
isOptional: false;
|
|
189
189
|
};
|
|
190
190
|
title: {
|
|
191
|
-
type:
|
|
191
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
192
192
|
isOptional: false;
|
|
193
193
|
};
|
|
194
194
|
summary: {
|
|
195
|
-
type:
|
|
195
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
196
196
|
isOptional: true;
|
|
197
197
|
};
|
|
198
198
|
route: {
|
|
199
|
-
type:
|
|
199
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
200
200
|
isOptional: true;
|
|
201
201
|
};
|
|
202
202
|
visibility: {
|
|
203
|
-
type:
|
|
203
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
204
204
|
isOptional: true;
|
|
205
205
|
};
|
|
206
206
|
kind: {
|
|
207
|
-
type:
|
|
207
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
208
208
|
isOptional: true;
|
|
209
209
|
};
|
|
210
210
|
version: {
|
|
211
|
-
type:
|
|
211
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
212
212
|
isOptional: true;
|
|
213
213
|
};
|
|
214
214
|
tags: {
|
|
215
|
-
type:
|
|
215
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
216
216
|
isOptional: true;
|
|
217
217
|
isArray: true;
|
|
218
218
|
};
|
|
@@ -223,35 +223,35 @@ declare const DocsIndexQuery: OperationSpec<SchemaModel<{
|
|
|
223
223
|
docs: {
|
|
224
224
|
type: SchemaModel<{
|
|
225
225
|
id: {
|
|
226
|
-
type:
|
|
226
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
227
227
|
isOptional: false;
|
|
228
228
|
};
|
|
229
229
|
title: {
|
|
230
|
-
type:
|
|
230
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
231
231
|
isOptional: false;
|
|
232
232
|
};
|
|
233
233
|
summary: {
|
|
234
|
-
type:
|
|
234
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
235
235
|
isOptional: true;
|
|
236
236
|
};
|
|
237
237
|
route: {
|
|
238
|
-
type:
|
|
238
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
239
239
|
isOptional: true;
|
|
240
240
|
};
|
|
241
241
|
visibility: {
|
|
242
|
-
type:
|
|
242
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
243
243
|
isOptional: true;
|
|
244
244
|
};
|
|
245
245
|
kind: {
|
|
246
|
-
type:
|
|
246
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
247
247
|
isOptional: true;
|
|
248
248
|
};
|
|
249
249
|
version: {
|
|
250
|
-
type:
|
|
250
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
251
251
|
isOptional: true;
|
|
252
252
|
};
|
|
253
253
|
tags: {
|
|
254
|
-
type:
|
|
254
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
255
255
|
isOptional: true;
|
|
256
256
|
isArray: true;
|
|
257
257
|
};
|
|
@@ -260,11 +260,11 @@ declare const DocsIndexQuery: OperationSpec<SchemaModel<{
|
|
|
260
260
|
isArray: true;
|
|
261
261
|
};
|
|
262
262
|
total: {
|
|
263
|
-
type:
|
|
263
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
264
264
|
isOptional: true;
|
|
265
265
|
};
|
|
266
266
|
nextOffset: {
|
|
267
|
-
type:
|
|
267
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
268
268
|
isOptional: true;
|
|
269
269
|
};
|
|
270
270
|
}>, undefined>;
|
|
@@ -30,6 +30,11 @@ Three dedicated MCP servers keep AI agents efficient and scoped:
|
|
|
30
30
|
- \`examples://example/<id>\`
|
|
31
31
|
- Prompts mirror each surface (navigator, usage, bootstrap) for quick agent onboarding.
|
|
32
32
|
- GraphQL remains at \`/graphql\`; health at \`/health\`.
|
|
33
|
+
|
|
34
|
+
### Alpic hosting
|
|
35
|
+
- Alpic exposes MCP at \`/\` (SSE + Streamable HTTP) and \`/mcp\` (Streamable HTTP).
|
|
36
|
+
- Static UI assets are served at \`/assets\` from repo \`/assets\` or build output \`dist/assets\`.
|
|
37
|
+
- Use the \`ALPIC_HOST\` environment variable to build absolute asset URLs.
|
|
33
38
|
`
|
|
34
39
|
}];
|
|
35
40
|
registerDocBlocks(tech_mcp_endpoints_DocBlocks);
|
package/dist/events.d.ts
CHANGED
package/dist/examples/index.d.ts
CHANGED
|
@@ -4,7 +4,6 @@ import { ExampleRegistry } from "./registry.js";
|
|
|
4
4
|
import { CrossValidationContext, ExampleValidationError, ExampleValidationWarning, ValidateExampleResult, ValidateExamplesResult, validateExample, validateExampleReferences, validateExamples } from "./validation.js";
|
|
5
5
|
|
|
6
6
|
//#region src/examples/index.d.ts
|
|
7
|
-
|
|
8
7
|
/**
|
|
9
8
|
* Helper to define an Example.
|
|
10
9
|
*/
|
|
@@ -3,34 +3,34 @@ import { z as z$1 } from "zod";
|
|
|
3
3
|
|
|
4
4
|
//#region src/examples/schema.d.ts
|
|
5
5
|
declare const ExampleKindSchema: z$1.ZodEnum<{
|
|
6
|
+
ui: "ui";
|
|
6
7
|
template: "template";
|
|
7
8
|
workflow: "workflow";
|
|
8
9
|
integration: "integration";
|
|
9
10
|
knowledge: "knowledge";
|
|
10
11
|
blueprint: "blueprint";
|
|
11
|
-
ui: "ui";
|
|
12
12
|
script: "script";
|
|
13
13
|
library: "library";
|
|
14
14
|
}>;
|
|
15
15
|
declare const ExampleVisibilitySchema: z$1.ZodEnum<{
|
|
16
|
+
experimental: "experimental";
|
|
16
17
|
public: "public";
|
|
17
18
|
internal: "internal";
|
|
18
|
-
experimental: "experimental";
|
|
19
19
|
}>;
|
|
20
20
|
declare const ExampleSandboxModeSchema: z$1.ZodEnum<{
|
|
21
|
+
markdown: "markdown";
|
|
21
22
|
playground: "playground";
|
|
22
23
|
specs: "specs";
|
|
23
24
|
builder: "builder";
|
|
24
|
-
markdown: "markdown";
|
|
25
25
|
evolution: "evolution";
|
|
26
26
|
}>;
|
|
27
27
|
declare const StabilitySchema: z$1.ZodEnum<{
|
|
28
28
|
experimental: "experimental";
|
|
29
|
-
deprecated: "deprecated";
|
|
30
29
|
idea: "idea";
|
|
31
30
|
in_creation: "in_creation";
|
|
32
31
|
beta: "beta";
|
|
33
32
|
stable: "stable";
|
|
33
|
+
deprecated: "deprecated";
|
|
34
34
|
}>;
|
|
35
35
|
declare const ExampleDocumentationSchema: z$1.ZodObject<{
|
|
36
36
|
rootDocId: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -42,10 +42,10 @@ declare const ExampleDocumentationSchema: z$1.ZodObject<{
|
|
|
42
42
|
declare const ExampleSandboxSupportSchema: z$1.ZodObject<{
|
|
43
43
|
enabled: z$1.ZodBoolean;
|
|
44
44
|
modes: z$1.ZodArray<z$1.ZodEnum<{
|
|
45
|
+
markdown: "markdown";
|
|
45
46
|
playground: "playground";
|
|
46
47
|
specs: "specs";
|
|
47
48
|
builder: "builder";
|
|
48
|
-
markdown: "markdown";
|
|
49
49
|
evolution: "evolution";
|
|
50
50
|
}>>;
|
|
51
51
|
}, z$1.core.$strip>;
|
|
@@ -61,10 +61,10 @@ declare const ExampleSurfacesSchema: z$1.ZodObject<{
|
|
|
61
61
|
sandbox: z$1.ZodObject<{
|
|
62
62
|
enabled: z$1.ZodBoolean;
|
|
63
63
|
modes: z$1.ZodArray<z$1.ZodEnum<{
|
|
64
|
+
markdown: "markdown";
|
|
64
65
|
playground: "playground";
|
|
65
66
|
specs: "specs";
|
|
66
67
|
builder: "builder";
|
|
67
|
-
markdown: "markdown";
|
|
68
68
|
evolution: "evolution";
|
|
69
69
|
}>>;
|
|
70
70
|
}, z$1.core.$strip>;
|
|
@@ -94,29 +94,29 @@ declare const ExampleMetaSchema: z$1.ZodObject<{
|
|
|
94
94
|
domain: z$1.ZodOptional<z$1.ZodString>;
|
|
95
95
|
stability: z$1.ZodEnum<{
|
|
96
96
|
experimental: "experimental";
|
|
97
|
-
deprecated: "deprecated";
|
|
98
97
|
idea: "idea";
|
|
99
98
|
in_creation: "in_creation";
|
|
100
99
|
beta: "beta";
|
|
101
100
|
stable: "stable";
|
|
101
|
+
deprecated: "deprecated";
|
|
102
102
|
}>;
|
|
103
103
|
owners: z$1.ZodArray<z$1.ZodString>;
|
|
104
104
|
tags: z$1.ZodArray<z$1.ZodString>;
|
|
105
105
|
docId: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
106
106
|
kind: z$1.ZodEnum<{
|
|
107
|
+
ui: "ui";
|
|
107
108
|
template: "template";
|
|
108
109
|
workflow: "workflow";
|
|
109
110
|
integration: "integration";
|
|
110
111
|
knowledge: "knowledge";
|
|
111
112
|
blueprint: "blueprint";
|
|
112
|
-
ui: "ui";
|
|
113
113
|
script: "script";
|
|
114
114
|
library: "library";
|
|
115
115
|
}>;
|
|
116
116
|
visibility: z$1.ZodEnum<{
|
|
117
|
+
experimental: "experimental";
|
|
117
118
|
public: "public";
|
|
118
119
|
internal: "internal";
|
|
119
|
-
experimental: "experimental";
|
|
120
120
|
}>;
|
|
121
121
|
summary: z$1.ZodOptional<z$1.ZodString>;
|
|
122
122
|
}, z$1.core.$strip>;
|
|
@@ -142,29 +142,29 @@ declare const ExampleSpecSchema: z$1.ZodObject<{
|
|
|
142
142
|
domain: z$1.ZodOptional<z$1.ZodString>;
|
|
143
143
|
stability: z$1.ZodEnum<{
|
|
144
144
|
experimental: "experimental";
|
|
145
|
-
deprecated: "deprecated";
|
|
146
145
|
idea: "idea";
|
|
147
146
|
in_creation: "in_creation";
|
|
148
147
|
beta: "beta";
|
|
149
148
|
stable: "stable";
|
|
149
|
+
deprecated: "deprecated";
|
|
150
150
|
}>;
|
|
151
151
|
owners: z$1.ZodArray<z$1.ZodString>;
|
|
152
152
|
tags: z$1.ZodArray<z$1.ZodString>;
|
|
153
153
|
docId: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
154
154
|
kind: z$1.ZodEnum<{
|
|
155
|
+
ui: "ui";
|
|
155
156
|
template: "template";
|
|
156
157
|
workflow: "workflow";
|
|
157
158
|
integration: "integration";
|
|
158
159
|
knowledge: "knowledge";
|
|
159
160
|
blueprint: "blueprint";
|
|
160
|
-
ui: "ui";
|
|
161
161
|
script: "script";
|
|
162
162
|
library: "library";
|
|
163
163
|
}>;
|
|
164
164
|
visibility: z$1.ZodEnum<{
|
|
165
|
+
experimental: "experimental";
|
|
165
166
|
public: "public";
|
|
166
167
|
internal: "internal";
|
|
167
|
-
experimental: "experimental";
|
|
168
168
|
}>;
|
|
169
169
|
summary: z$1.ZodOptional<z$1.ZodString>;
|
|
170
170
|
}, z$1.core.$strip>;
|
|
@@ -180,10 +180,10 @@ declare const ExampleSpecSchema: z$1.ZodObject<{
|
|
|
180
180
|
sandbox: z$1.ZodObject<{
|
|
181
181
|
enabled: z$1.ZodBoolean;
|
|
182
182
|
modes: z$1.ZodArray<z$1.ZodEnum<{
|
|
183
|
+
markdown: "markdown";
|
|
183
184
|
playground: "playground";
|
|
184
185
|
specs: "specs";
|
|
185
186
|
builder: "builder";
|
|
186
|
-
markdown: "markdown";
|
|
187
187
|
evolution: "evolution";
|
|
188
188
|
}>>;
|
|
189
189
|
}, z$1.core.$strip>;
|
|
@@ -221,11 +221,11 @@ declare function safeParseExampleSpec(data: unknown): z$1.ZodSafeParseResult<{
|
|
|
221
221
|
version: string;
|
|
222
222
|
key: string;
|
|
223
223
|
description: string;
|
|
224
|
-
stability: "experimental" | "
|
|
224
|
+
stability: "experimental" | "idea" | "in_creation" | "beta" | "stable" | "deprecated";
|
|
225
225
|
owners: string[];
|
|
226
226
|
tags: string[];
|
|
227
|
-
kind: "template" | "workflow" | "integration" | "knowledge" | "blueprint" | "
|
|
228
|
-
visibility: "
|
|
227
|
+
kind: "ui" | "template" | "workflow" | "integration" | "knowledge" | "blueprint" | "script" | "library";
|
|
228
|
+
visibility: "experimental" | "public" | "internal";
|
|
229
229
|
title?: string | undefined;
|
|
230
230
|
domain?: string | undefined;
|
|
231
231
|
docId?: string[] | undefined;
|
|
@@ -235,7 +235,7 @@ declare function safeParseExampleSpec(data: unknown): z$1.ZodSafeParseResult<{
|
|
|
235
235
|
templates: boolean;
|
|
236
236
|
sandbox: {
|
|
237
237
|
enabled: boolean;
|
|
238
|
-
modes: ("
|
|
238
|
+
modes: ("markdown" | "playground" | "specs" | "builder" | "evolution")[];
|
|
239
239
|
};
|
|
240
240
|
studio: {
|
|
241
241
|
enabled: boolean;
|
|
@@ -43,12 +43,10 @@ interface TargetingRule {
|
|
|
43
43
|
expression?: string;
|
|
44
44
|
}
|
|
45
45
|
type AllocationStrategy = {
|
|
46
|
-
type: 'random';
|
|
47
|
-
/** Optional salt for deterministic hashing. */
|
|
46
|
+
type: 'random'; /** Optional salt for deterministic hashing. */
|
|
48
47
|
salt?: string;
|
|
49
48
|
} | {
|
|
50
|
-
type: 'sticky';
|
|
51
|
-
/** Which attribute to hash for sticky assignment. */
|
|
49
|
+
type: 'sticky'; /** Which attribute to hash for sticky assignment. */
|
|
52
50
|
attribute: 'userId' | 'organizationId' | 'sessionId';
|
|
53
51
|
salt?: string;
|
|
54
52
|
} | {
|
package/dist/features/index.d.ts
CHANGED
package/dist/features/types.d.ts
CHANGED
|
@@ -58,11 +58,8 @@ interface FeatureModuleSpec {
|
|
|
58
58
|
}[];
|
|
59
59
|
/** Optional: declare per-presentation target requirements (V2 descriptors) */
|
|
60
60
|
presentationsTargets?: {
|
|
61
|
-
/** Presentation key. */
|
|
62
|
-
|
|
63
|
-
/** Presentation version. */
|
|
64
|
-
version: string;
|
|
65
|
-
/** Required targets that must be supported by the descriptor. */
|
|
61
|
+
/** Presentation key. */key: string; /** Presentation version. */
|
|
62
|
+
version: string; /** Required targets that must be supported by the descriptor. */
|
|
66
63
|
targets: PresentationTarget[];
|
|
67
64
|
}[];
|
|
68
65
|
/**
|
package/dist/forms/forms.d.ts
CHANGED
|
@@ -27,8 +27,7 @@ type OptionsSource = {
|
|
|
27
27
|
options: readonly FormOption[];
|
|
28
28
|
} | {
|
|
29
29
|
kind: 'resolver';
|
|
30
|
-
resolverKey: string;
|
|
31
|
-
/** Dot paths in form values to watch */
|
|
30
|
+
resolverKey: string; /** Dot paths in form values to watch */
|
|
32
31
|
deps: string[];
|
|
33
32
|
args?: Record<string, unknown>;
|
|
34
33
|
};
|
package/dist/forms/forms.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __toCommonJS } from "../_virtual/
|
|
1
|
+
import { __toCommonJS } from "../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { init_registry_utils, registry_utils_exports } from "../registry-utils.js";
|
|
3
3
|
import { compareVersions } from "compare-versions";
|
|
4
4
|
|
|
@@ -83,7 +83,6 @@ function evalPredicate(values, pred) {
|
|
|
83
83
|
case "lengthGte": return (Array.isArray(v) || typeof v === "string") && v.length >= Number(value ?? 0);
|
|
84
84
|
case "lengthLt": return (Array.isArray(v) || typeof v === "string") && v.length < Number(value ?? 0);
|
|
85
85
|
case "lengthLte": return (Array.isArray(v) || typeof v === "string") && v.length <= Number(value ?? 0);
|
|
86
|
-
case "truthy":
|
|
87
86
|
default: return Boolean(v);
|
|
88
87
|
}
|
|
89
88
|
}
|