@inf-monkeys-tech/monkeys 1.1.55 → 1.1.57
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/lib/contracts/artifact-platform.d.ts +495 -0
- package/lib/contracts/artifact-platform.d.ts.map +1 -0
- package/lib/contracts/artifact-platform.js +311 -0
- package/lib/contracts/artifact-platform.js.map +1 -0
- package/lib/contracts/declarative-control-http.d.ts +398 -398
- package/lib/contracts/declarative-control.d.ts +41 -41
- package/lib/contracts/declarative-diagnostic.d.ts +2 -2
- package/lib/contracts/declarative-document-import.d.ts +7 -7
- package/lib/contracts/declarative-publication-job.d.ts +111 -111
- package/lib/contracts/declarative-publication-verification.d.ts +1 -1
- package/lib/contracts/design-board.d.ts +6 -6
- package/lib/contracts/engineering-artifacts.d.ts +359 -0
- package/lib/contracts/engineering-artifacts.d.ts.map +1 -0
- package/lib/contracts/engineering-artifacts.js +191 -0
- package/lib/contracts/engineering-artifacts.js.map +1 -0
- package/lib/contracts/index.d.ts +2 -0
- package/lib/contracts/index.d.ts.map +1 -1
- package/lib/contracts/index.js +2 -0
- package/lib/contracts/index.js.map +1 -1
- package/lib/contracts/menu.d.ts +10 -10
- package/lib/contracts/page-expression.d.ts +1 -1
- package/lib/contracts/render.d.ts +22 -22
- package/lib/contracts/tenant.d.ts +8 -8
- package/lib/contracts/theme.d.ts +1 -1
- package/lib/contracts/workflow-definition.d.ts +4 -4
- package/lib/esm/{chunk-66A4GGOV.mjs → chunk-5ZGNWCL4.mjs} +466 -307
- package/lib/esm/chunk-5ZGNWCL4.mjs.map +1 -0
- package/lib/esm/{chunk-RMZW3SVL.mjs → chunk-C3X5SSRD.mjs} +3 -3
- package/lib/esm/chunk-C3X5SSRD.mjs.map +1 -0
- package/lib/esm/{chunk-DIIMDX7F.mjs → chunk-FIZWECL6.mjs} +2878 -2609
- package/lib/esm/chunk-FIZWECL6.mjs.map +1 -0
- package/lib/esm/{chunk-TROZIHS4.mjs → chunk-HJNQDSLC.mjs} +2 -2
- package/lib/esm/{chunk-E6YPJ4DR.mjs → chunk-USWQ4YP5.mjs} +2 -2
- package/lib/esm/{chunk-ITGLKSCE.mjs → chunk-VYC47WKJ.mjs} +540 -3
- package/lib/esm/chunk-VYC47WKJ.mjs.map +1 -0
- package/lib/esm/contracts/index.mjs +66 -4
- package/lib/esm/index.mjs +86 -6
- package/lib/esm/index.mjs.map +1 -1
- package/lib/esm/runtime/index.mjs +21 -3
- package/lib/esm/schemas/index.mjs +63 -3
- package/lib/runtime/artifact-session.d.ts +54 -0
- package/lib/runtime/artifact-session.d.ts.map +1 -0
- package/lib/runtime/artifact-session.js +541 -0
- package/lib/runtime/artifact-session.js.map +1 -0
- package/lib/runtime/index.d.ts +1 -0
- package/lib/runtime/index.d.ts.map +1 -1
- package/lib/runtime/index.js +1 -0
- package/lib/runtime/index.js.map +1 -1
- package/lib/runtime/runtime-definition-wire.d.ts +44 -44
- package/lib/schemas/index.d.ts +48 -46
- package/lib/schemas/index.d.ts.map +1 -1
- package/lib/schemas/index.js +40 -8
- package/lib/schemas/index.js.map +1 -1
- package/package.json +2 -2
- package/lib/esm/chunk-66A4GGOV.mjs.map +0 -1
- package/lib/esm/chunk-DIIMDX7F.mjs.map +0 -1
- package/lib/esm/chunk-ITGLKSCE.mjs.map +0 -1
- package/lib/esm/chunk-RMZW3SVL.mjs.map +0 -1
- /package/lib/esm/{chunk-TROZIHS4.mjs.map → chunk-HJNQDSLC.mjs.map} +0 -0
- /package/lib/esm/{chunk-E6YPJ4DR.mjs.map → chunk-USWQ4YP5.mjs.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
canonicalContractSchemas
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-C3X5SSRD.mjs";
|
|
4
4
|
import {
|
|
5
5
|
AgentRuntimeEventSchema,
|
|
6
6
|
AggregateAssetDeleteSchema,
|
|
@@ -18,6 +18,10 @@ import {
|
|
|
18
18
|
BodyRelationRecordSchema,
|
|
19
19
|
BrandBodySchema,
|
|
20
20
|
BrandGeneticsProfileSchema,
|
|
21
|
+
CadAnnotationPinSchema,
|
|
22
|
+
CadArtifactDocumentSchema,
|
|
23
|
+
CadConstraintSchema,
|
|
24
|
+
CadFeatureNodeSchema,
|
|
21
25
|
CompletionEventSchema,
|
|
22
26
|
CompletionHeaderSchema,
|
|
23
27
|
DataContinuityEnvelopeSchema,
|
|
@@ -26,6 +30,12 @@ import {
|
|
|
26
30
|
DeclarativeDocumentImportRequestSchema,
|
|
27
31
|
DeclarativeDocumentImportResultSchema,
|
|
28
32
|
DeclarativeImportDocumentSchema,
|
|
33
|
+
EdaCircuitDocumentSchema,
|
|
34
|
+
EdaComponentInstanceSchema,
|
|
35
|
+
EdaNetSchema,
|
|
36
|
+
EdaPcbTraceSchema,
|
|
37
|
+
EdaSheetSchema,
|
|
38
|
+
EdaWireSchema,
|
|
29
39
|
ExecutionLinkSchema,
|
|
30
40
|
ExpiringAccessGrantSchema,
|
|
31
41
|
HotwordBodySchema,
|
|
@@ -49,6 +59,7 @@ import {
|
|
|
49
59
|
RequestScopeSchema,
|
|
50
60
|
SavedRadarQuerySchema,
|
|
51
61
|
StorageLocatorSchema,
|
|
62
|
+
Transform3DSchema,
|
|
52
63
|
TrendIngestRunSchema,
|
|
53
64
|
TrendMetricSnapshotSchema,
|
|
54
65
|
TrendRadarCollectionArtifactProjectionSchema,
|
|
@@ -65,11 +76,12 @@ import {
|
|
|
65
76
|
TrendRadarCollectionSubjectRefSchema,
|
|
66
77
|
TrendSourceRecordSchema,
|
|
67
78
|
TrendSourceSchema,
|
|
79
|
+
Vec3Schema,
|
|
68
80
|
WorkflowCatalogEntrySchema,
|
|
69
81
|
WorkflowCompletionCommitSchema,
|
|
70
82
|
WorkflowCompletionReceiptSchema,
|
|
71
83
|
WorkflowPublicationSchema
|
|
72
|
-
} from "../chunk-
|
|
84
|
+
} from "../chunk-5ZGNWCL4.mjs";
|
|
73
85
|
import {
|
|
74
86
|
AccessPolicySchema,
|
|
75
87
|
ActionBindingSchema,
|
|
@@ -129,6 +141,15 @@ import {
|
|
|
129
141
|
AgentWorkbenchSidebarSectionSchema,
|
|
130
142
|
ApplicationHandoffEndpointSchema,
|
|
131
143
|
ApplicationHandoffSchema,
|
|
144
|
+
ArtifactCollabClientMessageSchema,
|
|
145
|
+
ArtifactCollabRoomKeySchema,
|
|
146
|
+
ArtifactCollabServerMessageSchema,
|
|
147
|
+
ArtifactCrdtCodecSchema,
|
|
148
|
+
ArtifactKindSchema,
|
|
149
|
+
ArtifactPresenceCursorSchema,
|
|
150
|
+
ArtifactPresenceStateSchema,
|
|
151
|
+
ArtifactProfileSchema,
|
|
152
|
+
ArtifactStorageModeSchema,
|
|
132
153
|
BindingSourceSchema,
|
|
133
154
|
CapabilityInstanceSchema,
|
|
134
155
|
CapabilityManifestSchema,
|
|
@@ -343,7 +364,16 @@ import {
|
|
|
343
364
|
ThemeTokenSchema,
|
|
344
365
|
ThemeTokenTypeSchema,
|
|
345
366
|
ThemeTokensSchema,
|
|
367
|
+
ViewBlockDataSourceSchema,
|
|
368
|
+
ViewBlockSchema,
|
|
369
|
+
ViewLayoutRegionSchema,
|
|
370
|
+
ViewLayoutSchema,
|
|
346
371
|
ViewProviderDescriptorSchema,
|
|
372
|
+
ViewQuerySchema,
|
|
373
|
+
ViewSortSchema,
|
|
374
|
+
ViewSpecSchema,
|
|
375
|
+
ViewSubjectSchema,
|
|
376
|
+
ViewWiringRuleSchema,
|
|
347
377
|
WorkbenchAppInstanceSchema,
|
|
348
378
|
WorkbenchGroupSchema,
|
|
349
379
|
WorkbenchReleaseSchema,
|
|
@@ -362,7 +392,7 @@ import {
|
|
|
362
392
|
WorkflowParameterTypeSchema,
|
|
363
393
|
WorkflowTriggerSchema,
|
|
364
394
|
WorkflowValidationIssueSchema
|
|
365
|
-
} from "../chunk-
|
|
395
|
+
} from "../chunk-FIZWECL6.mjs";
|
|
366
396
|
import "../chunk-3QS3WKRC.mjs";
|
|
367
397
|
export {
|
|
368
398
|
AccessPolicySchema,
|
|
@@ -435,11 +465,24 @@ export {
|
|
|
435
465
|
ApplicationHandoffEndpointSchema,
|
|
436
466
|
ApplicationHandoffSchema,
|
|
437
467
|
ApplicationRunSchema,
|
|
468
|
+
ArtifactCollabClientMessageSchema,
|
|
469
|
+
ArtifactCollabRoomKeySchema,
|
|
470
|
+
ArtifactCollabServerMessageSchema,
|
|
471
|
+
ArtifactCrdtCodecSchema,
|
|
472
|
+
ArtifactKindSchema,
|
|
438
473
|
ArtifactManifestSchema,
|
|
474
|
+
ArtifactPresenceCursorSchema,
|
|
475
|
+
ArtifactPresenceStateSchema,
|
|
476
|
+
ArtifactProfileSchema,
|
|
477
|
+
ArtifactStorageModeSchema,
|
|
439
478
|
BindingSourceSchema,
|
|
440
479
|
BodyRelationRecordSchema,
|
|
441
480
|
BrandBodySchema,
|
|
442
481
|
BrandGeneticsProfileSchema,
|
|
482
|
+
CadAnnotationPinSchema,
|
|
483
|
+
CadArtifactDocumentSchema,
|
|
484
|
+
CadConstraintSchema,
|
|
485
|
+
CadFeatureNodeSchema,
|
|
443
486
|
CapabilityInstanceSchema,
|
|
444
487
|
CapabilityManifestSchema,
|
|
445
488
|
CapabilityRegistryDocumentSchema,
|
|
@@ -512,6 +555,12 @@ export {
|
|
|
512
555
|
DomainEventSchema,
|
|
513
556
|
DomainQueryDataSourceSchema,
|
|
514
557
|
DomainQueryDefinitionSchema,
|
|
558
|
+
EdaCircuitDocumentSchema,
|
|
559
|
+
EdaComponentInstanceSchema,
|
|
560
|
+
EdaNetSchema,
|
|
561
|
+
EdaPcbTraceSchema,
|
|
562
|
+
EdaSheetSchema,
|
|
563
|
+
EdaWireSchema,
|
|
515
564
|
EntityRefSchema,
|
|
516
565
|
ExecutionLinkSchema,
|
|
517
566
|
ExpiringAccessGrantSchema,
|
|
@@ -684,6 +733,7 @@ export {
|
|
|
684
733
|
ThemeTokenSchema,
|
|
685
734
|
ThemeTokenTypeSchema,
|
|
686
735
|
ThemeTokensSchema,
|
|
736
|
+
Transform3DSchema,
|
|
687
737
|
TrendIngestRunSchema,
|
|
688
738
|
TrendMetricSnapshotSchema,
|
|
689
739
|
TrendRadarCollectionArtifactProjectionSchema,
|
|
@@ -700,7 +750,17 @@ export {
|
|
|
700
750
|
TrendRadarCollectionSubjectRefSchema,
|
|
701
751
|
TrendSourceRecordSchema,
|
|
702
752
|
TrendSourceSchema,
|
|
753
|
+
Vec3Schema,
|
|
754
|
+
ViewBlockDataSourceSchema,
|
|
755
|
+
ViewBlockSchema,
|
|
756
|
+
ViewLayoutRegionSchema,
|
|
757
|
+
ViewLayoutSchema,
|
|
703
758
|
ViewProviderDescriptorSchema,
|
|
759
|
+
ViewQuerySchema,
|
|
760
|
+
ViewSortSchema,
|
|
761
|
+
ViewSpecSchema,
|
|
762
|
+
ViewSubjectSchema,
|
|
763
|
+
ViewWiringRuleSchema,
|
|
704
764
|
WorkbenchAppInstanceSchema,
|
|
705
765
|
WorkbenchGroupSchema,
|
|
706
766
|
WorkbenchReleaseSchema,
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { ArtifactCollabRoomKey, ArtifactProfile, ArtifactPresenceState, ViewSpec } from '../contracts/artifact-platform';
|
|
2
|
+
import { RenderTree } from '../contracts/render';
|
|
3
|
+
export type ArtifactBodySessionStatus = 'idle' | 'loading' | 'connecting' | 'ready' | 'saving' | 'saved' | 'conflict' | 'offline' | 'error';
|
|
4
|
+
export interface ArtifactBodyChangeEvent<TDoc> {
|
|
5
|
+
document: TDoc;
|
|
6
|
+
status: ArtifactBodySessionStatus;
|
|
7
|
+
revision: number | null;
|
|
8
|
+
dirty: boolean;
|
|
9
|
+
origin: 'local' | 'remote' | 'hydration' | 'checkpoint' | 'system';
|
|
10
|
+
error?: unknown;
|
|
11
|
+
}
|
|
12
|
+
export interface ArtifactAwarenessController {
|
|
13
|
+
getPeers(): ArtifactPresenceState[];
|
|
14
|
+
setLocalState(patch: Partial<Omit<ArtifactPresenceState, 'peerId' | 'updatedAt'>>): void;
|
|
15
|
+
subscribe(listener: (peers: ArtifactPresenceState[]) => void): () => void;
|
|
16
|
+
}
|
|
17
|
+
export interface ArtifactBodySession<TDoc> {
|
|
18
|
+
readonly artifactRef: ArtifactCollabRoomKey;
|
|
19
|
+
readonly status: ArtifactBodySessionStatus;
|
|
20
|
+
readonly revision: number | null;
|
|
21
|
+
readonly dirty: boolean;
|
|
22
|
+
getSnapshot(): TDoc;
|
|
23
|
+
applyLocalChange(next: TDoc, meta?: {
|
|
24
|
+
origin?: string;
|
|
25
|
+
recordUndo?: boolean;
|
|
26
|
+
}): void;
|
|
27
|
+
flush(): Promise<void>;
|
|
28
|
+
commitCheckpoint?(note?: string): Promise<{
|
|
29
|
+
commitId?: string;
|
|
30
|
+
revision: number;
|
|
31
|
+
}>;
|
|
32
|
+
undo?(): boolean;
|
|
33
|
+
redo?(): boolean;
|
|
34
|
+
awareness?: ArtifactAwarenessController;
|
|
35
|
+
subscribe(listener: (event: ArtifactBodyChangeEvent<TDoc>) => void): () => void;
|
|
36
|
+
dispose(): void;
|
|
37
|
+
}
|
|
38
|
+
export declare function buildArtifactCollabRoomId(key: ArtifactCollabRoomKey): string;
|
|
39
|
+
/**
|
|
40
|
+
* Lowers a high-level ViewSpec (Subject + Query + Layout + Blocks + Wiring)
|
|
41
|
+
* into a canonical RenderTree compatible with the existing Declarative Page Runtime.
|
|
42
|
+
*/
|
|
43
|
+
export declare function compileViewSpecToRenderTree(specInput: ViewSpec, options?: {
|
|
44
|
+
product?: 'studio' | 'kernel';
|
|
45
|
+
ownerRepo?: string;
|
|
46
|
+
}): RenderTree;
|
|
47
|
+
export declare const DESIGN_BOARD_ARTIFACT_PROFILE: ArtifactProfile;
|
|
48
|
+
export declare const WORKFLOW_ARTIFACT_PROFILE: ArtifactProfile;
|
|
49
|
+
export declare const DOCUMENT_ARTIFACT_PROFILE: ArtifactProfile;
|
|
50
|
+
export declare const CAD_ASSEMBLY_ARTIFACT_PROFILE: ArtifactProfile;
|
|
51
|
+
export declare const EDA_CIRCUIT_ARTIFACT_PROFILE: ArtifactProfile;
|
|
52
|
+
export declare const BUILTIN_ARTIFACT_PROFILES: Readonly<Record<string, ArtifactProfile>>;
|
|
53
|
+
export declare function resolveBuiltinArtifactProfile(artifactKind: string): ArtifactProfile | undefined;
|
|
54
|
+
//# sourceMappingURL=artifact-session.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"artifact-session.d.ts","sourceRoot":"","sources":["../../src/runtime/artifact-session.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,eAAe,EAEf,qBAAqB,EACrB,QAAQ,EAET,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAc,UAAU,EAAoB,MAAM,qBAAqB,CAAC;AAE/E,MAAM,MAAM,yBAAyB,GACjC,MAAM,GACN,SAAS,GACT,YAAY,GACZ,OAAO,GACP,QAAQ,GACR,OAAO,GACP,UAAU,GACV,SAAS,GACT,OAAO,CAAC;AAEZ,MAAM,WAAW,uBAAuB,CAAC,IAAI;IAC3C,QAAQ,EAAE,IAAI,CAAC;IACf,MAAM,EAAE,yBAAyB,CAAC;IAClC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,KAAK,EAAE,OAAO,CAAC;IACf,MAAM,EAAE,OAAO,GAAG,QAAQ,GAAG,WAAW,GAAG,YAAY,GAAG,QAAQ,CAAC;IACnE,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,IAAI,qBAAqB,EAAE,CAAC;IACpC,aAAa,CAAC,KAAK,EAAE,OAAO,CAAC,IAAI,CAAC,qBAAqB,EAAE,QAAQ,GAAG,WAAW,CAAC,CAAC,GAAG,IAAI,CAAC;IACzF,SAAS,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,qBAAqB,EAAE,KAAK,IAAI,GAAG,MAAM,IA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