rapidkit 0.41.2 → 0.41.4

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.
Files changed (80) hide show
  1. package/README.md +61 -52
  2. package/contracts/agent-customization-pack.v1.json +20 -0
  3. package/contracts/artifact-remediation-plan.v1.json +163 -0
  4. package/contracts/doctor-project-evidence.v1.json +260 -2
  5. package/contracts/doctor-remediation-plan.v1.json +496 -0
  6. package/contracts/doctor-workspace-evidence.v1.json +260 -2
  7. package/contracts/extension-cli-compatibility.v1.json +6 -2
  8. package/contracts/runtime-command-surface.v1.json +2 -0
  9. package/contracts/workspace-intelligence/doctor-fix-result.v1.json +11 -1
  10. package/contracts/workspace-intelligence/fact-freshness.v1.json +58 -0
  11. package/contracts/workspace-intelligence/workspace-context.v1.json +84 -1
  12. package/contracts/workspace-intelligence/workspace-intelligence-history.v1.json +6 -2
  13. package/contracts/workspace-intelligence/workspace-model.v1.json +80 -0
  14. package/dist/analyze-UTB3PNKM.js +1 -0
  15. package/dist/artifact-remediation-plan-HRR3WH7T.js +3 -0
  16. package/dist/autopilot-release-MSK4ELKR.js +1 -0
  17. package/dist/chunk-2E6WGUN6.js +1 -0
  18. package/dist/{chunk-RSYUNEH7.js → chunk-42ARJBM7.js} +1 -1
  19. package/dist/{chunk-WCICO7ZB.js → chunk-4RJESJ23.js} +1 -1
  20. package/dist/chunk-56GL3GG7.js +32 -0
  21. package/dist/chunk-7BEZH5LE.js +2 -0
  22. package/dist/{chunk-ZPXMZCYG.js → chunk-ALCH4JAS.js} +1 -1
  23. package/dist/{chunk-ITJ6RKUW.js → chunk-AM5OJWXF.js} +1 -1
  24. package/dist/chunk-COBMOVUK.js +1 -0
  25. package/dist/{chunk-ELU3G6DQ.js → chunk-DKNVDNT4.js} +1 -1
  26. package/dist/{chunk-KIUSCFHF.js → chunk-FI4VMG2I.js} +1 -1
  27. package/dist/chunk-HT3G7HOV.js +78 -0
  28. package/dist/{chunk-BFEBZABL.js → chunk-KZLRUBQ5.js} +19 -19
  29. package/dist/chunk-L3R2AS2W.js +1 -0
  30. package/dist/chunk-LRF6PQOZ.js +1 -0
  31. package/dist/chunk-T5GS4BUP.js +2 -0
  32. package/dist/chunk-TDSIF42O.js +1 -0
  33. package/dist/chunk-THSTNVE3.js +2 -0
  34. package/dist/chunk-ULIVVMT6.js +1 -0
  35. package/dist/chunk-WHQWVQJH.js +4 -0
  36. package/dist/{create-RNP5ACQL.js → create-XTKHAYH7.js} +1 -1
  37. package/dist/doctor-4UQZIELO.js +1 -0
  38. package/dist/index.d.ts +15 -3
  39. package/dist/index.js +165 -140
  40. package/dist/pipeline-UOGPOG7S.js +5 -0
  41. package/dist/{workspace-E554C5SM.js → workspace-VKUBU4M4.js} +1 -1
  42. package/dist/{workspace-agent-sync-BHE2V4KS.js → workspace-agent-sync-RWDOTSWV.js} +1 -1
  43. package/dist/{workspace-context-VJTXW3K4.js → workspace-context-R3XWWLFP.js} +1 -1
  44. package/dist/workspace-explain-JIAM63TE.js +1 -0
  45. package/dist/{workspace-feedback-65NR3EZH.js → workspace-feedback-KCDFF7YS.js} +1 -1
  46. package/dist/{workspace-foundation-LISDH53T.js → workspace-foundation-V6SLZRBY.js} +1 -1
  47. package/dist/workspace-history-DSCH7PQZ.js +1 -0
  48. package/dist/{workspace-intelligence-EC63CRVF.js → workspace-intelligence-5BBKUJAG.js} +1 -1
  49. package/dist/{workspace-marker-IOPQ42A7.js → workspace-marker-HAC7BMEG.js} +1 -1
  50. package/dist/workspace-mcp-serve-GPSSYKZK.js +3 -0
  51. package/dist/workspace-model-YAC5BKLL.js +1 -0
  52. package/dist/workspace-run-MNVPNDUK.js +1 -0
  53. package/dist/{workspace-verify-IAUHP6Y6.js → workspace-verify-YDPCHWGQ.js} +1 -1
  54. package/dist/{workspace-watch-H2AETGFI.js → workspace-watch-P2PGSYDD.js} +1 -1
  55. package/docs/commands-reference.md +1 -0
  56. package/docs/contracts/ARTIFACT_CATALOG.md +70 -20
  57. package/docs/contracts/NAMING_AND_COEXISTENCE.md +3 -2
  58. package/docs/contracts/README.md +2 -0
  59. package/docs/doctor-command.md +217 -13
  60. package/package.json +1 -1
  61. package/scripts/enterprise-package-smoke.mjs +35 -36
  62. package/dist/analyze-QYHMGLSG.js +0 -1
  63. package/dist/autopilot-release-YDEUKRW6.js +0 -1
  64. package/dist/chunk-33LR2QEM.js +0 -2
  65. package/dist/chunk-46AGNYI7.js +0 -50
  66. package/dist/chunk-DWXRVGOY.js +0 -2
  67. package/dist/chunk-EN6YCX36.js +0 -1
  68. package/dist/chunk-HYAT2EG7.js +0 -1
  69. package/dist/chunk-JNXT6KJV.js +0 -32
  70. package/dist/chunk-RV6HBTFC.js +0 -2
  71. package/dist/chunk-VDTAPIHB.js +0 -2
  72. package/dist/chunk-VKLL63TL.js +0 -1
  73. package/dist/chunk-VMJA36WD.js +0 -1
  74. package/dist/doctor-XM6QDTDC.js +0 -1
  75. package/dist/pipeline-YD2DO7XY.js +0 -5
  76. package/dist/workspace-explain-XJ22ZXJY.js +0 -1
  77. package/dist/workspace-history-VPDADQKG.js +0 -1
  78. package/dist/workspace-mcp-serve-KOM2V35Q.js +0 -3
  79. package/dist/workspace-model-YL7W3573.js +0 -1
  80. package/dist/workspace-run-F5FADRY5.js +0 -1
package/dist/index.d.ts CHANGED
@@ -5,6 +5,7 @@ declare function getPublishedContractVersions(): {
5
5
  runtimeCommandSurface: string;
6
6
  cliLogEvent: "cli-log-event-v1";
7
7
  freshnessMetadata: "rapidkit-freshness-metadata-v1";
8
+ factFreshness: "rapidkit-fact-freshness-v1";
8
9
  blockerResolution: "rapidkit-blocker-resolution-v1";
9
10
  workspaceModel: string;
10
11
  workspaceImpact: string;
@@ -17,6 +18,9 @@ declare function getPublishedContractVersions(): {
17
18
  workspaceSkillsIndex: "workspace-skills-index.v1";
18
19
  workspaceExplain: "workspace-explain.v1";
19
20
  agentActionOutcome: "agent-action-outcome.v1";
21
+ doctorRemediationPlan: "doctor-remediation-plan-v2";
22
+ artifactRemediationPlan: "artifact-remediation-plan-v1";
23
+ doctorFixResult: "rapidkit-doctor-fix-result-v1";
20
24
  };
21
25
 
22
26
  declare function handleCreateOrFallback(args: string[]): Promise<number>;
@@ -38,6 +42,7 @@ declare function getVersionContract(): {
38
42
  runtimeCommandSurface: string;
39
43
  cliLogEvent: "cli-log-event-v1";
40
44
  freshnessMetadata: "rapidkit-freshness-metadata-v1";
45
+ factFreshness: "rapidkit-fact-freshness-v1";
41
46
  blockerResolution: "rapidkit-blocker-resolution-v1";
42
47
  workspaceModel: string;
43
48
  workspaceImpact: string;
@@ -50,6 +55,9 @@ declare function getVersionContract(): {
50
55
  workspaceSkillsIndex: "workspace-skills-index.v1";
51
56
  workspaceExplain: "workspace-explain.v1";
52
57
  agentActionOutcome: "agent-action-outcome.v1";
58
+ doctorRemediationPlan: "doctor-remediation-plan-v2";
59
+ artifactRemediationPlan: "artifact-remediation-plan-v1";
60
+ doctorFixResult: "rapidkit-doctor-fix-result-v1";
53
61
  };
54
62
  };
55
63
  declare function getGlobalCommandCapabilities(): {
@@ -62,6 +70,7 @@ declare function getGlobalCommandCapabilities(): {
62
70
  runtimeCommandSurface: string;
63
71
  cliLogEvent: "cli-log-event-v1";
64
72
  freshnessMetadata: "rapidkit-freshness-metadata-v1";
73
+ factFreshness: "rapidkit-fact-freshness-v1";
65
74
  blockerResolution: "rapidkit-blocker-resolution-v1";
66
75
  workspaceModel: string;
67
76
  workspaceImpact: string;
@@ -74,6 +83,9 @@ declare function getGlobalCommandCapabilities(): {
74
83
  workspaceSkillsIndex: "workspace-skills-index.v1";
75
84
  workspaceExplain: "workspace-explain.v1";
76
85
  agentActionOutcome: "agent-action-outcome.v1";
86
+ doctorRemediationPlan: "doctor-remediation-plan-v2";
87
+ artifactRemediationPlan: "artifact-remediation-plan-v1";
88
+ doctorFixResult: "rapidkit-doctor-fix-result-v1";
77
89
  };
78
90
  commands: {
79
91
  npmOwned: string[];
@@ -82,8 +94,8 @@ declare function getGlobalCommandCapabilities(): {
82
94
  };
83
95
  workspace: {
84
96
  command: string;
85
- subcommands: ("init" | "import" | "snapshot" | "archive" | "list" | "diff" | "sync" | "registry" | "foundation" | "model" | "impact" | "verify" | "graph" | "watch" | "context" | "agent-sync" | "explain" | "why" | "trace" | "feedback" | "mcp" | "policy" | "contract" | "share" | "export" | "hydrate" | "run")[];
86
- intelligenceSubcommands: ("snapshot" | "diff" | "model" | "impact" | "verify" | "context" | "agent-sync" | "explain" | "why" | "trace")[];
97
+ subcommands: ("init" | "import" | "snapshot" | "archive" | "list" | "diff" | "sync" | "registry" | "foundation" | "model" | "impact" | "verify" | "graph" | "watch" | "context" | "agent-sync" | "remediation-plan" | "explain" | "why" | "trace" | "feedback" | "mcp" | "policy" | "contract" | "share" | "export" | "hydrate" | "run")[];
98
+ intelligenceSubcommands: ("snapshot" | "diff" | "model" | "impact" | "verify" | "context" | "agent-sync" | "remediation-plan" | "explain" | "why" | "trace")[];
87
99
  };
88
100
  commandMap: any;
89
101
  };
@@ -94,7 +106,7 @@ interface DoctorWorkspaceShadowDiagnostic {
94
106
  }
95
107
  declare function detectWindowsDoctorWorkspaceShadow(params: {
96
108
  scope?: string;
97
- workspaceFlag?: boolean;
109
+ workspaceFlag?: boolean | string;
98
110
  }, cwd?: string, platform?: NodeJS.Platform): Promise<DoctorWorkspaceShadowDiagnostic>;
99
111
  declare function handleImportCommand(source: string, options: {
100
112
  workspace?: string;