workspai 0.46.0 → 0.48.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/README.md +225 -81
- package/contracts/agent-customization-pack.v1.json +11 -1
- package/contracts/bootstrap-compliance.v1.json +14 -0
- package/contracts/cli-runtime-command-inventory.v1.snapshot.json +4 -0
- package/contracts/extension-cli-compatibility.v1.json +13 -2
- package/contracts/mirror-ops.v1.json +16 -0
- package/contracts/published-contract-catalog.v1.json +59 -1
- package/contracts/runtime-command-surface.v1.json +294 -2
- package/contracts/transparency-evidence.v1.json +13 -0
- package/contracts/workspace-contract.v1.json +78 -0
- package/contracts/workspace-intelligence/model-usage-event.v1.json +82 -0
- package/contracts/workspace-intelligence/workspace-context.v1.json +20 -0
- package/contracts/workspace-intelligence/workspace-graph-token-efficiency.v1.json +72 -0
- package/contracts/workspace-intelligence/workspace-intelligence-evaluation-comparison.v1.json +53 -0
- package/contracts/workspace-intelligence/workspace-intelligence-evaluation.v1.json +120 -0
- package/contracts/workspace-intelligence/workspace-intelligence-run.v1.json +6 -1
- package/contracts/workspace-intelligence/workspace-knowledge-graph-change-overlay.v1.json +200 -0
- package/contracts/workspace-intelligence/workspace-knowledge-graph.v1.json +260 -0
- package/contracts/workspace-intelligence/workspace-knowledge-search.v1.json +60 -0
- package/contracts/workspace-intelligence-architecture.v1.json +37 -5
- package/contracts/workspace-intelligence-chain.v1.json +58 -6
- package/contracts/workspace-share-bundle.v1.json +16 -0
- package/dist/analyze-EEEU3MIF.js +1 -0
- package/dist/artifact-remediation-plan-SPOUHMK5.js +3 -0
- package/dist/autopilot-release-XGVXPOZI.js +1 -0
- package/dist/chunk-32OJDBIG.js +2 -0
- package/dist/chunk-37CVKXBD.js +1 -0
- package/dist/chunk-3NU32T4A.js +2 -0
- package/dist/chunk-3VFA7D5T.js +1 -0
- package/dist/chunk-4HDYADHT.js +13 -0
- package/dist/chunk-54EP5CEV.js +8 -0
- package/dist/chunk-5S3DJQEP.js +8 -0
- package/dist/chunk-AFL3ACCR.js +2 -0
- package/dist/{chunk-VFDM65IE.js → chunk-BFLJ2R4D.js} +22 -22
- package/dist/chunk-BGPXQQNY.js +4 -0
- package/dist/chunk-BMWFQXGW.js +1 -0
- package/dist/{chunk-UQWOVV6V.js → chunk-CRHYBQI3.js} +1 -1
- package/dist/chunk-CV5HKU4P.js +1 -0
- package/dist/chunk-ESLPI3XZ.js +1 -0
- package/dist/chunk-FB7SCXAZ.js +1 -0
- package/dist/{chunk-WPEEC5BX.js → chunk-HDXNIN4N.js} +1 -1
- package/dist/chunk-HZDXO65G.js +36 -0
- package/dist/{chunk-J5PIZCAU.js → chunk-I46XEIPL.js} +1 -1
- package/dist/chunk-J5ENLXDF.js +1 -0
- package/dist/chunk-KB44JP4M.js +2 -0
- package/dist/chunk-LHOZXC2M.js +2 -0
- package/dist/chunk-NAJCUQ4X.js +2 -0
- package/dist/chunk-OA537ZQ5.js +1 -0
- package/dist/chunk-OW42TZFB.js +1 -0
- package/dist/chunk-P3D5YQB2.js +1 -0
- package/dist/chunk-PHXQR6PX.js +2 -0
- package/dist/{chunk-ZKAI3PJE.js → chunk-PRTR2DQ2.js} +1 -1
- package/dist/{chunk-QA5BGEQW.js → chunk-QNONOO4F.js} +1 -1
- package/dist/chunk-RHQW3DTP.js +1 -0
- package/dist/chunk-T4YR4RAI.js +2 -0
- package/dist/chunk-THIOE2PB.js +2 -0
- package/dist/{chunk-4LGXSBCN.js → chunk-VU7NZHPM.js} +1 -1
- package/dist/chunk-WDKNMTJQ.js +1 -0
- package/dist/{chunk-YUATNVOT.js → chunk-Y5UJLPS4.js} +16 -16
- package/dist/{chunk-6IIZJQLV.js → chunk-YJZOMRAS.js} +1 -1
- package/dist/{create-WCV3L6XH.js → create-DBQNAMKP.js} +1 -1
- package/dist/{doctor-5BWM2EMJ.js → doctor-4NNUDNGZ.js} +1 -1
- package/dist/{dotnet-webapi-clean-6TVFBTVI.js → dotnet-webapi-clean-A6MVDYXX.js} +4 -4
- package/dist/{gofiber-standard-2BL7GWZB.js → gofiber-standard-I5YPQG5V.js} +1 -1
- package/dist/{gogin-standard-XGP3KBXA.js → gogin-standard-VY2L4QT5.js} +1 -1
- package/dist/index.d.ts +56 -14
- package/dist/index.js +322 -320
- package/dist/pipeline-TQM43A3K.js +5 -0
- package/dist/{springboot-standard-JJNUID6M.js → springboot-standard-55XKCBIZ.js} +4 -4
- package/dist/{workspace-7OXW5YTJ.js → workspace-NCWRINEF.js} +1 -1
- package/dist/{workspace-agent-sync-O4IA6VOA.js → workspace-agent-sync-662QHXGF.js} +1 -1
- package/dist/{workspace-archive-H74NBBNW.js → workspace-archive-P76EDIUG.js} +1 -1
- package/dist/{workspace-context-R7IPUBPG.js → workspace-context-23YYCUCP.js} +1 -1
- package/dist/workspace-contract-TU2I7GC2.js +1 -0
- package/dist/workspace-dependency-graph-BP4EXYQ5.js +1 -0
- package/dist/workspace-explain-MWUEN643.js +1 -0
- package/dist/workspace-explain-contract-ZPI3JXJU.js +1 -0
- package/dist/{workspace-feedback-REOS36ZZ.js → workspace-feedback-SUVH2LUJ.js} +1 -1
- package/dist/{workspace-foundation-KXT4QI5O.js → workspace-foundation-WXJ6I7ES.js} +1 -1
- package/dist/workspace-graph-token-efficiency-CFGFCJ5V.js +1 -0
- package/dist/{workspace-history-OGOVSKZG.js → workspace-history-BANOJRQ2.js} +1 -1
- package/dist/workspace-intelligence-MFJE7W67.js +1 -0
- package/dist/workspace-intelligence-evaluation-IPH7M3WV.js +1 -0
- package/dist/workspace-intelligence-runner-THYLHHMF.js +1 -0
- package/dist/workspace-knowledge-graph-ARDC6HHG.js +1 -0
- package/dist/workspace-knowledge-graph-change-overlay-XG6FC4IX.js +1 -0
- package/dist/workspace-knowledge-graph-export-UYAYFTWX.js +10 -0
- package/dist/workspace-knowledge-graph-query-VOSPPH4W.js +1 -0
- package/dist/workspace-mcp-serve-EZR6O76D.js +3 -0
- package/dist/workspace-model-7OU2M3LE.js +1 -0
- package/dist/workspace-model-hash-MHXK5MEI.js +1 -0
- package/dist/{workspace-registry-summary-SZ46R5PD.js → workspace-registry-summary-ORDK7A36.js} +1 -1
- package/dist/workspace-run-RLIYSOTN.js +1 -0
- package/dist/{workspace-verify-MFQ7IXGD.js → workspace-verify-EBVL7FWT.js} +1 -1
- package/dist/workspace-watch-3BPGLFLB.js +1 -0
- package/docs/AI_DYNAMIC_INTEGRATION.md +73 -428
- package/docs/AI_EXAMPLES.md +37 -395
- package/docs/AI_FEATURES.md +76 -456
- package/docs/AI_QUICKSTART.md +49 -212
- package/docs/GLOSSARY.md +64 -0
- package/docs/OPEN_SOURCE_USER_SCENARIOS.md +68 -7
- package/docs/README.md +70 -41
- package/docs/README_CONTENT_CONTRACT.md +154 -0
- package/docs/commands-reference.md +64 -4
- package/docs/config-file-guide.md +6 -2
- package/docs/contracts/ARTIFACT_CATALOG.md +76 -37
- package/docs/contracts/README.md +47 -8
- package/docs/graph-benchmark-methodology.md +121 -0
- package/docs/workspace-intelligence-evaluation.md +147 -0
- package/docs/workspace-knowledge-graph.md +316 -0
- package/docs/workspace-operations.md +49 -0
- package/package.json +2 -1
- package/dist/analyze-BEBEZSZK.js +0 -1
- package/dist/artifact-remediation-plan-FFQSESAM.js +0 -3
- package/dist/autopilot-release-WUR4CQIT.js +0 -1
- package/dist/chunk-2G7FASAO.js +0 -2
- package/dist/chunk-4EPHWD27.js +0 -8
- package/dist/chunk-CVHMUSRX.js +0 -1
- package/dist/chunk-DIPD72H4.js +0 -2
- package/dist/chunk-EFYHGCGX.js +0 -2
- package/dist/chunk-FWRXA435.js +0 -2
- package/dist/chunk-HDURFXW5.js +0 -2
- package/dist/chunk-HMUKBW2S.js +0 -4
- package/dist/chunk-K4WNYXKK.js +0 -33
- package/dist/chunk-LG6RFLPZ.js +0 -1
- package/dist/chunk-N7DV5L7C.js +0 -1
- package/dist/chunk-PRBVYW3T.js +0 -1
- package/dist/chunk-QZLIURER.js +0 -13
- package/dist/chunk-RIEF2DDX.js +0 -8
- package/dist/chunk-SXMTSV5M.js +0 -1
- package/dist/chunk-SXPY523X.js +0 -1
- package/dist/chunk-V3LRQZ36.js +0 -1
- package/dist/chunk-WYFPXTTS.js +0 -2
- package/dist/pipeline-ORIWVVYM.js +0 -5
- package/dist/workspace-contract-HKCMOMFE.js +0 -1
- package/dist/workspace-explain-GOPQYTPQ.js +0 -1
- package/dist/workspace-explain-contract-SVFJAAEI.js +0 -1
- package/dist/workspace-intelligence-7IESQSXY.js +0 -1
- package/dist/workspace-intelligence-runner-6GJ5M4HB.js +0 -1
- package/dist/workspace-mcp-serve-FRVWBO36.js +0 -3
- package/dist/workspace-model-PPYX7B4S.js +0 -1
- package/dist/workspace-run-V3KKHTVF.js +0 -1
- package/dist/workspace-watch-SOPZHRWA.js +0 -1
|
@@ -495,6 +495,22 @@
|
|
|
495
495
|
"mirror"
|
|
496
496
|
]
|
|
497
497
|
},
|
|
498
|
+
{
|
|
499
|
+
"invocation": "mirror status",
|
|
500
|
+
"summary": "Inspect mirror configuration, lock state, and cached artifact inventory.",
|
|
501
|
+
"canonicalArgv": [
|
|
502
|
+
"mirror",
|
|
503
|
+
"status"
|
|
504
|
+
]
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
"invocation": "mirror sync",
|
|
508
|
+
"summary": "Synchronize governed mirror artifacts and publish integrity evidence.",
|
|
509
|
+
"canonicalArgv": [
|
|
510
|
+
"mirror",
|
|
511
|
+
"sync"
|
|
512
|
+
]
|
|
513
|
+
},
|
|
498
514
|
{
|
|
499
515
|
"invocation": "modules",
|
|
500
516
|
"summary": "List supported project modules and their runtime-specific capability state.",
|
|
@@ -744,6 +760,15 @@
|
|
|
744
760
|
"agent-sync"
|
|
745
761
|
]
|
|
746
762
|
},
|
|
763
|
+
{
|
|
764
|
+
"invocation": "workspace agent-sync --write",
|
|
765
|
+
"summary": "Publish the governed agent surface generation as a recoverable workspace transaction.",
|
|
766
|
+
"canonicalArgv": [
|
|
767
|
+
"workspace",
|
|
768
|
+
"agent-sync",
|
|
769
|
+
"--write"
|
|
770
|
+
]
|
|
771
|
+
},
|
|
747
772
|
{
|
|
748
773
|
"invocation": "workspace agent-sync --write --json --preset enterprise",
|
|
749
774
|
"summary": "Generate the enterprise agent-grounding pack, persist every governed artifact, and emit a structured result.",
|
|
@@ -792,6 +817,15 @@
|
|
|
792
817
|
"contract"
|
|
793
818
|
]
|
|
794
819
|
},
|
|
820
|
+
{
|
|
821
|
+
"invocation": "workspace contract sync",
|
|
822
|
+
"summary": "Reconcile discovered projects into the canonical workspace contract and registry summary.",
|
|
823
|
+
"canonicalArgv": [
|
|
824
|
+
"workspace",
|
|
825
|
+
"contract",
|
|
826
|
+
"sync"
|
|
827
|
+
]
|
|
828
|
+
},
|
|
795
829
|
{
|
|
796
830
|
"invocation": "workspace contract verify --strict --json",
|
|
797
831
|
"summary": "Strictly validate workspace contracts and emit a structured evidence artifact that blocks on violations.",
|
|
@@ -822,6 +856,82 @@
|
|
|
822
856
|
"--json"
|
|
823
857
|
]
|
|
824
858
|
},
|
|
859
|
+
{
|
|
860
|
+
"invocation": "workspace eval",
|
|
861
|
+
"summary": "Measure model usage, agent activity, cost provenance, and verified task outcomes without storing prompt or response bodies.",
|
|
862
|
+
"canonicalArgv": [
|
|
863
|
+
"workspace",
|
|
864
|
+
"eval",
|
|
865
|
+
"status",
|
|
866
|
+
"--json"
|
|
867
|
+
],
|
|
868
|
+
"input": {
|
|
869
|
+
"transport": "stdin",
|
|
870
|
+
"mediaType": "application/json",
|
|
871
|
+
"required": false,
|
|
872
|
+
"schemaVersion": "model-usage-event.v1",
|
|
873
|
+
"contractPath": "contracts/workspace-intelligence/model-usage-event.v1.json"
|
|
874
|
+
},
|
|
875
|
+
"output": {
|
|
876
|
+
"defaultFormat": "human-or-json",
|
|
877
|
+
"modes": [
|
|
878
|
+
{
|
|
879
|
+
"selector": "init <task> [strategy] --json",
|
|
880
|
+
"format": "json",
|
|
881
|
+
"mediaType": "application/json"
|
|
882
|
+
},
|
|
883
|
+
{
|
|
884
|
+
"selector": "record --json",
|
|
885
|
+
"format": "json",
|
|
886
|
+
"mediaType": "application/json"
|
|
887
|
+
},
|
|
888
|
+
{
|
|
889
|
+
"selector": "status --json",
|
|
890
|
+
"format": "json",
|
|
891
|
+
"mediaType": "application/json"
|
|
892
|
+
},
|
|
893
|
+
{
|
|
894
|
+
"selector": "report --json",
|
|
895
|
+
"format": "json",
|
|
896
|
+
"mediaType": "application/json"
|
|
897
|
+
},
|
|
898
|
+
{
|
|
899
|
+
"selector": "compare --from <report> --json",
|
|
900
|
+
"format": "json",
|
|
901
|
+
"mediaType": "application/json"
|
|
902
|
+
}
|
|
903
|
+
]
|
|
904
|
+
}
|
|
905
|
+
},
|
|
906
|
+
{
|
|
907
|
+
"invocation": "workspace eval init",
|
|
908
|
+
"summary": "Initialize one live, versioned Workspace Intelligence evaluation run for a fixed task and retrieval strategy.",
|
|
909
|
+
"canonicalArgv": [
|
|
910
|
+
"workspace",
|
|
911
|
+
"eval",
|
|
912
|
+
"init"
|
|
913
|
+
]
|
|
914
|
+
},
|
|
915
|
+
{
|
|
916
|
+
"invocation": "workspace eval record --json",
|
|
917
|
+
"summary": "Validate one privacy-bounded usage or outcome event from stdin and append it to the live evaluation artifact.",
|
|
918
|
+
"canonicalArgv": [
|
|
919
|
+
"workspace",
|
|
920
|
+
"eval",
|
|
921
|
+
"record",
|
|
922
|
+
"--json"
|
|
923
|
+
]
|
|
924
|
+
},
|
|
925
|
+
{
|
|
926
|
+
"invocation": "workspace eval report --json",
|
|
927
|
+
"summary": "Finalize the live evaluation into an authoritative last-run report for IDE, CI, and comparison consumers.",
|
|
928
|
+
"canonicalArgv": [
|
|
929
|
+
"workspace",
|
|
930
|
+
"eval",
|
|
931
|
+
"report",
|
|
932
|
+
"--json"
|
|
933
|
+
]
|
|
934
|
+
},
|
|
825
935
|
{
|
|
826
936
|
"invocation": "workspace explain",
|
|
827
937
|
"summary": "Explain a workspace relationship, project, or blocker from traceable model and evidence references.",
|
|
@@ -896,7 +1006,7 @@
|
|
|
896
1006
|
},
|
|
897
1007
|
{
|
|
898
1008
|
"invocation": "workspace graph",
|
|
899
|
-
"summary": "
|
|
1009
|
+
"summary": "Query or export the evidence-backed workspace graph derived from the canonical model.",
|
|
900
1010
|
"canonicalArgv": [
|
|
901
1011
|
"workspace",
|
|
902
1012
|
"graph",
|
|
@@ -906,6 +1016,16 @@
|
|
|
906
1016
|
"output": {
|
|
907
1017
|
"defaultFormat": "human-or-json",
|
|
908
1018
|
"modes": [
|
|
1019
|
+
{
|
|
1020
|
+
"selector": "search <query> --limit <count> --json",
|
|
1021
|
+
"format": "json",
|
|
1022
|
+
"mediaType": "application/json"
|
|
1023
|
+
},
|
|
1024
|
+
{
|
|
1025
|
+
"selector": "benchmark <query> --limit <count> --json",
|
|
1026
|
+
"format": "json",
|
|
1027
|
+
"mediaType": "application/json"
|
|
1028
|
+
},
|
|
909
1029
|
{
|
|
910
1030
|
"selector": "emit --json",
|
|
911
1031
|
"format": "json",
|
|
@@ -916,6 +1036,26 @@
|
|
|
916
1036
|
"format": "json",
|
|
917
1037
|
"mediaType": "application/json"
|
|
918
1038
|
},
|
|
1039
|
+
{
|
|
1040
|
+
"selector": "entities [kind] --json",
|
|
1041
|
+
"format": "json",
|
|
1042
|
+
"mediaType": "application/json"
|
|
1043
|
+
},
|
|
1044
|
+
{
|
|
1045
|
+
"selector": "evidence <id-or-unique-label> --json",
|
|
1046
|
+
"format": "json",
|
|
1047
|
+
"mediaType": "application/json"
|
|
1048
|
+
},
|
|
1049
|
+
{
|
|
1050
|
+
"selector": "path <from> <to> --json",
|
|
1051
|
+
"format": "json",
|
|
1052
|
+
"mediaType": "application/json"
|
|
1053
|
+
},
|
|
1054
|
+
{
|
|
1055
|
+
"selector": "overlay --from <graph> --json",
|
|
1056
|
+
"format": "json",
|
|
1057
|
+
"mediaType": "application/json"
|
|
1058
|
+
},
|
|
919
1059
|
{
|
|
920
1060
|
"selector": "dot",
|
|
921
1061
|
"format": "raw-text",
|
|
@@ -925,6 +1065,21 @@
|
|
|
925
1065
|
"selector": "mermaid",
|
|
926
1066
|
"format": "raw-text",
|
|
927
1067
|
"mediaType": "text/vnd.mermaid"
|
|
1068
|
+
},
|
|
1069
|
+
{
|
|
1070
|
+
"selector": "jsonld",
|
|
1071
|
+
"format": "raw-text",
|
|
1072
|
+
"mediaType": "application/ld+json"
|
|
1073
|
+
},
|
|
1074
|
+
{
|
|
1075
|
+
"selector": "graphml",
|
|
1076
|
+
"format": "raw-text",
|
|
1077
|
+
"mediaType": "application/graphml+xml"
|
|
1078
|
+
},
|
|
1079
|
+
{
|
|
1080
|
+
"selector": "gexf",
|
|
1081
|
+
"format": "raw-text",
|
|
1082
|
+
"mediaType": "application/gexf+xml"
|
|
928
1083
|
}
|
|
929
1084
|
]
|
|
930
1085
|
}
|
|
@@ -1137,6 +1292,19 @@
|
|
|
1137
1292
|
]
|
|
1138
1293
|
]
|
|
1139
1294
|
},
|
|
1295
|
+
{
|
|
1296
|
+
"artifactPath": ".workspai/reports/workspace-knowledge-graph.json",
|
|
1297
|
+
"schemaVersion": "workspace-knowledge-graph.v1",
|
|
1298
|
+
"contractPath": "contracts/workspace-intelligence/workspace-knowledge-graph.v1.json",
|
|
1299
|
+
"producerCommands": [
|
|
1300
|
+
[
|
|
1301
|
+
"workspace",
|
|
1302
|
+
"model",
|
|
1303
|
+
"--json",
|
|
1304
|
+
"--write"
|
|
1305
|
+
]
|
|
1306
|
+
]
|
|
1307
|
+
},
|
|
1140
1308
|
{
|
|
1141
1309
|
"artifactPath": ".workspai/reports/workspace-model-snapshot.json",
|
|
1142
1310
|
"schemaVersion": "workspace-model-snapshot.v1",
|
|
@@ -1345,6 +1513,53 @@
|
|
|
1345
1513
|
]
|
|
1346
1514
|
]
|
|
1347
1515
|
},
|
|
1516
|
+
{
|
|
1517
|
+
"artifactPath": ".workspai/reports/workspace-intelligence-evaluation-live.json",
|
|
1518
|
+
"schemaVersion": "workspace-intelligence-evaluation.v1",
|
|
1519
|
+
"contractPath": "contracts/workspace-intelligence/workspace-intelligence-evaluation.v1.json",
|
|
1520
|
+
"producerCommands": [
|
|
1521
|
+
[
|
|
1522
|
+
"workspace",
|
|
1523
|
+
"eval",
|
|
1524
|
+
"init"
|
|
1525
|
+
],
|
|
1526
|
+
[
|
|
1527
|
+
"workspace",
|
|
1528
|
+
"eval",
|
|
1529
|
+
"record",
|
|
1530
|
+
"--json"
|
|
1531
|
+
]
|
|
1532
|
+
]
|
|
1533
|
+
},
|
|
1534
|
+
{
|
|
1535
|
+
"artifactPath": ".workspai/reports/workspace-intelligence-evaluation-last-run.json",
|
|
1536
|
+
"schemaVersion": "workspace-intelligence-evaluation.v1",
|
|
1537
|
+
"contractPath": "contracts/workspace-intelligence/workspace-intelligence-evaluation.v1.json",
|
|
1538
|
+
"producerCommands": [
|
|
1539
|
+
[
|
|
1540
|
+
"workspace",
|
|
1541
|
+
"eval",
|
|
1542
|
+
"report",
|
|
1543
|
+
"--json"
|
|
1544
|
+
]
|
|
1545
|
+
]
|
|
1546
|
+
},
|
|
1547
|
+
{
|
|
1548
|
+
"artifactPath": ".workspai/workspace.contract.json",
|
|
1549
|
+
"schemaVersion": 1,
|
|
1550
|
+
"contractPath": "contracts/workspace-contract.v1.json",
|
|
1551
|
+
"producerCommands": [
|
|
1552
|
+
[
|
|
1553
|
+
"workspace",
|
|
1554
|
+
"sync"
|
|
1555
|
+
],
|
|
1556
|
+
[
|
|
1557
|
+
"workspace",
|
|
1558
|
+
"contract",
|
|
1559
|
+
"sync"
|
|
1560
|
+
]
|
|
1561
|
+
]
|
|
1562
|
+
},
|
|
1348
1563
|
{
|
|
1349
1564
|
"artifactPath": ".workspai/cache/workspace-model.v1.json",
|
|
1350
1565
|
"schemaVersion": "workspace-model-cache.v1",
|
|
@@ -1367,6 +1582,70 @@
|
|
|
1367
1582
|
]
|
|
1368
1583
|
]
|
|
1369
1584
|
},
|
|
1585
|
+
{
|
|
1586
|
+
"artifactPath": ".workspai/compatibility-matrix.json",
|
|
1587
|
+
"schemaVersion": "rapidkit.compatibility-matrix.v1",
|
|
1588
|
+
"contractPath": "contracts/compatibility-matrix.v1.json",
|
|
1589
|
+
"producerCommands": [
|
|
1590
|
+
[
|
|
1591
|
+
"bootstrap"
|
|
1592
|
+
]
|
|
1593
|
+
]
|
|
1594
|
+
},
|
|
1595
|
+
{
|
|
1596
|
+
"artifactPath": ".workspai/reports/doctor-workspace-cache.json",
|
|
1597
|
+
"schemaVersion": "doctor-workspace-cache-v2",
|
|
1598
|
+
"contractPath": "contracts/doctor-workspace-cache.v2.json",
|
|
1599
|
+
"producerCommands": [
|
|
1600
|
+
[
|
|
1601
|
+
"doctor",
|
|
1602
|
+
"workspace"
|
|
1603
|
+
]
|
|
1604
|
+
]
|
|
1605
|
+
},
|
|
1606
|
+
{
|
|
1607
|
+
"artifactPath": ".workspai/reports/bootstrap-compliance.latest.json",
|
|
1608
|
+
"schemaVersion": "bootstrap-compliance.v1",
|
|
1609
|
+
"contractPath": "contracts/bootstrap-compliance.v1.json",
|
|
1610
|
+
"producerCommands": [
|
|
1611
|
+
[
|
|
1612
|
+
"bootstrap"
|
|
1613
|
+
]
|
|
1614
|
+
]
|
|
1615
|
+
},
|
|
1616
|
+
{
|
|
1617
|
+
"artifactPath": ".workspai/reports/mirror-ops.latest.json",
|
|
1618
|
+
"schemaVersion": "mirror-ops.v1",
|
|
1619
|
+
"contractPath": "contracts/mirror-ops.v1.json",
|
|
1620
|
+
"producerCommands": [
|
|
1621
|
+
[
|
|
1622
|
+
"mirror",
|
|
1623
|
+
"status"
|
|
1624
|
+
]
|
|
1625
|
+
]
|
|
1626
|
+
},
|
|
1627
|
+
{
|
|
1628
|
+
"artifactPath": ".workspai/reports/transparency-evidence.latest.json",
|
|
1629
|
+
"schemaVersion": "transparency-evidence.v1",
|
|
1630
|
+
"contractPath": "contracts/transparency-evidence.v1.json",
|
|
1631
|
+
"producerCommands": [
|
|
1632
|
+
[
|
|
1633
|
+
"mirror",
|
|
1634
|
+
"sync"
|
|
1635
|
+
]
|
|
1636
|
+
]
|
|
1637
|
+
},
|
|
1638
|
+
{
|
|
1639
|
+
"artifactPath": ".workspai/reports/share-bundle.json",
|
|
1640
|
+
"schemaVersion": "1.1",
|
|
1641
|
+
"contractPath": "contracts/workspace-share-bundle.v1.json",
|
|
1642
|
+
"producerCommands": [
|
|
1643
|
+
[
|
|
1644
|
+
"workspace",
|
|
1645
|
+
"share"
|
|
1646
|
+
]
|
|
1647
|
+
]
|
|
1648
|
+
},
|
|
1370
1649
|
{
|
|
1371
1650
|
"artifactPath": ".workspai/reports/doctor-project-last-run.json",
|
|
1372
1651
|
"schemaVersion": "doctor-project-evidence-v1",
|
|
@@ -1458,7 +1737,13 @@
|
|
|
1458
1737
|
"artifactPath": ".workspai/reports/workspai-mcp-design.json",
|
|
1459
1738
|
"schemaVersion": "workspai-mcp-design.v1",
|
|
1460
1739
|
"contractPath": "contracts/workspace-intelligence/mcp-design.v1.json",
|
|
1461
|
-
"producerCommands": [
|
|
1740
|
+
"producerCommands": [
|
|
1741
|
+
[
|
|
1742
|
+
"workspace",
|
|
1743
|
+
"agent-sync",
|
|
1744
|
+
"--write"
|
|
1745
|
+
]
|
|
1746
|
+
]
|
|
1462
1747
|
},
|
|
1463
1748
|
{
|
|
1464
1749
|
"artifactPath": ".workspai/reports/workspace-why-last-run.json",
|
|
@@ -1525,6 +1810,7 @@
|
|
|
1525
1810
|
"why",
|
|
1526
1811
|
"trace",
|
|
1527
1812
|
"feedback",
|
|
1813
|
+
"eval",
|
|
1528
1814
|
"mcp",
|
|
1529
1815
|
"policy",
|
|
1530
1816
|
"contract",
|
|
@@ -1553,6 +1839,7 @@
|
|
|
1553
1839
|
"why",
|
|
1554
1840
|
"trace",
|
|
1555
1841
|
"feedback",
|
|
1842
|
+
"eval",
|
|
1556
1843
|
"mcp"
|
|
1557
1844
|
],
|
|
1558
1845
|
"workspaceIntelligenceRootCommands": [
|
|
@@ -1575,6 +1862,11 @@
|
|
|
1575
1862
|
"path": ".workspai/reports/workspace-model.json",
|
|
1576
1863
|
"schemaVersion": "workspace-model.v1",
|
|
1577
1864
|
"contractPath": "contracts/workspace-intelligence/workspace-model.v1.json"
|
|
1865
|
+
},
|
|
1866
|
+
{
|
|
1867
|
+
"path": ".workspai/reports/workspace-knowledge-graph.json",
|
|
1868
|
+
"schemaVersion": "workspace-knowledge-graph.v1",
|
|
1869
|
+
"contractPath": "contracts/workspace-intelligence/workspace-knowledge-graph.v1.json"
|
|
1578
1870
|
}
|
|
1579
1871
|
]
|
|
1580
1872
|
},
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://getrapidkit.com/schemas/transparency-evidence.v1.json",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"required": ["schemaVersion", "generatedAt", "records"],
|
|
6
|
+
"properties": {
|
|
7
|
+
"schemaVersion": { "const": "transparency-evidence.v1" },
|
|
8
|
+
"generatedAt": { "type": "string", "format": "date-time" },
|
|
9
|
+
"environment": { "type": ["string", "null"] },
|
|
10
|
+
"records": { "type": "array", "items": { "type": "object" } }
|
|
11
|
+
},
|
|
12
|
+
"additionalProperties": true
|
|
13
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://getrapidkit.com/schemas/workspace-contract.v1.json",
|
|
4
|
+
"title": "Workspai Workspace Contract",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": ["schemaVersion", "kind", "generatedAt", "workspace", "projects"],
|
|
7
|
+
"properties": {
|
|
8
|
+
"schemaVersion": { "const": 1 },
|
|
9
|
+
"kind": { "const": "rapidkit.workspace.contract" },
|
|
10
|
+
"generatedAt": { "type": "string", "format": "date-time" },
|
|
11
|
+
"workspace": {
|
|
12
|
+
"type": "object",
|
|
13
|
+
"required": ["name"],
|
|
14
|
+
"properties": {
|
|
15
|
+
"name": { "type": "string", "minLength": 1 },
|
|
16
|
+
"profile": { "type": "string", "minLength": 1 }
|
|
17
|
+
},
|
|
18
|
+
"additionalProperties": false
|
|
19
|
+
},
|
|
20
|
+
"projects": {
|
|
21
|
+
"type": "array",
|
|
22
|
+
"items": {
|
|
23
|
+
"type": "object",
|
|
24
|
+
"required": ["slug", "relativePath", "modules", "ports", "contracts"],
|
|
25
|
+
"properties": {
|
|
26
|
+
"slug": { "type": "string", "minLength": 1 },
|
|
27
|
+
"relativePath": { "type": "string", "minLength": 1 },
|
|
28
|
+
"source": { "enum": ["workspace", "local-folder", "git-url", "adopted-local"] },
|
|
29
|
+
"relationship": { "enum": ["imported", "adopted"] },
|
|
30
|
+
"externalPath": { "type": "string", "minLength": 1 },
|
|
31
|
+
"runtime": { "type": "string", "minLength": 1 },
|
|
32
|
+
"framework": { "type": "string", "minLength": 1 },
|
|
33
|
+
"kit": { "type": "string", "minLength": 1 },
|
|
34
|
+
"modules": { "type": "array", "items": { "type": "string", "minLength": 1 }, "uniqueItems": true },
|
|
35
|
+
"ports": {
|
|
36
|
+
"type": "array",
|
|
37
|
+
"items": {
|
|
38
|
+
"type": "object",
|
|
39
|
+
"required": ["name", "port", "protocol"],
|
|
40
|
+
"properties": {
|
|
41
|
+
"name": { "type": "string", "minLength": 1 },
|
|
42
|
+
"port": { "type": "integer", "minimum": 1, "maximum": 65535 },
|
|
43
|
+
"protocol": { "enum": ["http", "https", "grpc", "tcp", "udp"] }
|
|
44
|
+
},
|
|
45
|
+
"additionalProperties": false
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"contracts": {
|
|
49
|
+
"type": "object",
|
|
50
|
+
"required": ["owns", "apis", "publishes", "consumes", "dependsOn", "env"],
|
|
51
|
+
"properties": {
|
|
52
|
+
"owns": { "type": "array", "items": { "type": "string", "minLength": 1 }, "uniqueItems": true },
|
|
53
|
+
"apis": {
|
|
54
|
+
"type": "array",
|
|
55
|
+
"items": {
|
|
56
|
+
"type": "object",
|
|
57
|
+
"required": ["name", "basePath"],
|
|
58
|
+
"properties": {
|
|
59
|
+
"name": { "type": "string", "minLength": 1 },
|
|
60
|
+
"basePath": { "type": "string", "pattern": "^/" }
|
|
61
|
+
},
|
|
62
|
+
"additionalProperties": false
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"publishes": { "type": "array", "items": { "type": "string", "minLength": 1 }, "uniqueItems": true },
|
|
66
|
+
"consumes": { "type": "array", "items": { "type": "string", "minLength": 1 }, "uniqueItems": true },
|
|
67
|
+
"dependsOn": { "type": "array", "items": { "type": "string", "minLength": 1 }, "uniqueItems": true },
|
|
68
|
+
"env": { "type": "array", "items": { "type": "string", "pattern": "^[A-Z_][A-Z0-9_]*$" }, "uniqueItems": true }
|
|
69
|
+
},
|
|
70
|
+
"additionalProperties": false
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"additionalProperties": false
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"additionalProperties": false
|
|
78
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://getrapidkit.com/schemas/model-usage-event.v1.json",
|
|
4
|
+
"title": "Workspai Model and Agent Usage Event",
|
|
5
|
+
"description": "A privacy-bounded usage observation. Prompt and response bodies are deliberately excluded; consumers may provide hashes instead.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"required": ["schemaVersion", "eventId", "recordedAt", "kind"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"schemaVersion": { "const": "model-usage-event.v1" },
|
|
10
|
+
"eventId": { "type": "string", "minLength": 1 },
|
|
11
|
+
"recordedAt": { "type": "string", "format": "date-time" },
|
|
12
|
+
"kind": { "enum": ["model-call", "tool-call", "outcome", "milestone"] },
|
|
13
|
+
"stage": { "type": "string", "minLength": 1 },
|
|
14
|
+
"modelCall": {
|
|
15
|
+
"type": "object",
|
|
16
|
+
"required": ["provider", "model", "source", "inputTokens", "outputTokens", "cachedInputTokens", "reasoningTokens", "latencyMs"],
|
|
17
|
+
"properties": {
|
|
18
|
+
"provider": { "type": "string", "minLength": 1 },
|
|
19
|
+
"model": { "type": "string", "minLength": 1 },
|
|
20
|
+
"source": { "enum": ["provider-reported", "tokenizer-counted", "estimated", "unavailable"] },
|
|
21
|
+
"tokenizer": { "type": "string", "minLength": 1 },
|
|
22
|
+
"inputTokens": { "type": ["integer", "null"], "minimum": 0 },
|
|
23
|
+
"outputTokens": { "type": ["integer", "null"], "minimum": 0 },
|
|
24
|
+
"cachedInputTokens": { "type": ["integer", "null"], "minimum": 0 },
|
|
25
|
+
"reasoningTokens": { "type": ["integer", "null"], "minimum": 0 },
|
|
26
|
+
"latencyMs": { "type": ["number", "null"], "minimum": 0 },
|
|
27
|
+
"promptHash": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
28
|
+
"responseHash": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
29
|
+
"cost": {
|
|
30
|
+
"type": "object",
|
|
31
|
+
"required": ["amount", "currency", "source"],
|
|
32
|
+
"properties": {
|
|
33
|
+
"amount": { "type": "number", "minimum": 0 },
|
|
34
|
+
"currency": { "type": "string", "pattern": "^[A-Z]{3}$" },
|
|
35
|
+
"source": { "enum": ["provider-reported", "catalog-estimated"] }
|
|
36
|
+
},
|
|
37
|
+
"additionalProperties": false
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"additionalProperties": false
|
|
41
|
+
},
|
|
42
|
+
"toolCall": {
|
|
43
|
+
"type": "object",
|
|
44
|
+
"required": ["tool", "result", "changedSource", "durationMs"],
|
|
45
|
+
"properties": {
|
|
46
|
+
"tool": { "type": "string", "minLength": 1 },
|
|
47
|
+
"result": { "enum": ["passed", "failed", "blocked", "skipped"] },
|
|
48
|
+
"changedSource": { "type": "boolean" },
|
|
49
|
+
"durationMs": { "type": ["number", "null"], "minimum": 0 },
|
|
50
|
+
"artifact": { "type": "string", "minLength": 1 }
|
|
51
|
+
},
|
|
52
|
+
"additionalProperties": false
|
|
53
|
+
},
|
|
54
|
+
"outcome": {
|
|
55
|
+
"type": "object",
|
|
56
|
+
"required": ["status", "verified", "blockersResolved"],
|
|
57
|
+
"properties": {
|
|
58
|
+
"status": { "enum": ["passed", "failed", "blocked", "unknown"] },
|
|
59
|
+
"verified": { "type": "boolean" },
|
|
60
|
+
"blockersResolved": { "type": "integer", "minimum": 0 },
|
|
61
|
+
"summary": { "type": "string", "minLength": 1 }
|
|
62
|
+
},
|
|
63
|
+
"additionalProperties": false
|
|
64
|
+
},
|
|
65
|
+
"milestone": {
|
|
66
|
+
"type": "object",
|
|
67
|
+
"required": ["name"],
|
|
68
|
+
"properties": {
|
|
69
|
+
"name": { "type": "string", "minLength": 1 },
|
|
70
|
+
"detail": { "type": "string", "minLength": 1 }
|
|
71
|
+
},
|
|
72
|
+
"additionalProperties": false
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"allOf": [
|
|
76
|
+
{ "if": { "properties": { "kind": { "const": "model-call" } } }, "then": { "properties": { "modelCall": {} }, "required": ["modelCall"] } },
|
|
77
|
+
{ "if": { "properties": { "kind": { "const": "tool-call" } } }, "then": { "properties": { "toolCall": {} }, "required": ["toolCall"] } },
|
|
78
|
+
{ "if": { "properties": { "kind": { "const": "outcome" } } }, "then": { "properties": { "outcome": {} }, "required": ["outcome"] } },
|
|
79
|
+
{ "if": { "properties": { "kind": { "const": "milestone" } } }, "then": { "properties": { "milestone": {} }, "required": ["milestone"] } }
|
|
80
|
+
],
|
|
81
|
+
"additionalProperties": false
|
|
82
|
+
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"agent",
|
|
10
10
|
"workspaceSummary",
|
|
11
11
|
"modelRef",
|
|
12
|
+
"knowledgeGraph",
|
|
12
13
|
"intelligenceChain",
|
|
13
14
|
"workspace",
|
|
14
15
|
"scope",
|
|
@@ -29,6 +30,25 @@
|
|
|
29
30
|
},
|
|
30
31
|
"workspaceSummary": { "type": "string" },
|
|
31
32
|
"modelRef": { "type": "string" },
|
|
33
|
+
"knowledgeGraph": {
|
|
34
|
+
"type": "object",
|
|
35
|
+
"required": ["artifact", "schemaVersion", "available", "queryCommands"],
|
|
36
|
+
"properties": {
|
|
37
|
+
"artifact": { "const": ".workspai/reports/workspace-knowledge-graph.json" },
|
|
38
|
+
"schemaVersion": { "const": "workspace-knowledge-graph.v1" },
|
|
39
|
+
"available": { "type": "boolean" },
|
|
40
|
+
"entityCount": { "type": "integer", "minimum": 0 },
|
|
41
|
+
"relationCount": { "type": "integer", "minimum": 0 },
|
|
42
|
+
"proofCount": { "type": "integer", "minimum": 0 },
|
|
43
|
+
"queryCommands": {
|
|
44
|
+
"type": "array",
|
|
45
|
+
"items": { "type": "string", "minLength": 1 },
|
|
46
|
+
"minItems": 3,
|
|
47
|
+
"uniqueItems": true
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"additionalProperties": false
|
|
51
|
+
},
|
|
32
52
|
"intelligenceChain": {
|
|
33
53
|
"type": "object",
|
|
34
54
|
"required": ["schemaVersion", "contractPath", "currentStep", "canonicalReadOrder"],
|