@c4a/context-cli 0.5.35-beta.3 → 0.5.38-beta.1
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 +7 -7
- package/cli.js +46572 -33929
- package/package.json +4 -1
- package/plugin/README.md +2 -2
- package/plugin/README_CN.md +2 -2
- package/plugin/commands/align.md +32 -98
- package/plugin/commands/capture.md +12 -13
- package/plugin/commands/compile.md +78 -149
- package/plugin/commands/init.md +15 -13
- package/plugin/commands/status.md +2 -0
- package/plugin/skills/skill-align-workflow/SKILL.md +41 -83
- package/plugin/skills/skill-align-workflow/references/candidate-resolution.md +1 -1
- package/plugin/skills/skill-align-workflow/references/density-profile.md +2 -0
- package/plugin/skills/skill-compile-close/SKILL.md +7 -9
- package/plugin/skills/skill-compile-draft/SKILL.md +43 -83
- package/plugin/skills/skill-compile-draft/references/notes.md +3 -3
- package/plugin/skills/skill-compile-draft/references/refresh-and-update.md +5 -5
- package/plugin/skills/skill-compile-draft/references/structural-challenges.md +1 -1
- package/plugin/skills/skill-compile-judge/SKILL.md +15 -12
- package/plugin/skills/skill-semantic-reconcile/SKILL.md +7 -7
- package/plugin/skills/skill-semantic-reconcile/references/leakage-and-ownership.md +1 -1
- package/scripts/build-aspect-runtime.ts +45 -0
- package/scripts/build-plugin.ts +8 -6
- package/templates/aspect-runtime/aspectRunnerSdk.js +710 -0
- package/templates/aspects/README.md +515 -0
- package/templates/aspects/code/aspect.yaml +2 -2
- package/templates/aspects/code/prompt.md +13 -12
package/scripts/build-plugin.ts
CHANGED
|
@@ -34,6 +34,8 @@ const repoRoot = resolve(pkgRoot, "../..");
|
|
|
34
34
|
const PLUGINS_ROOT = process.env.C4A_PLUGINS_ROOT
|
|
35
35
|
? resolve(process.env.C4A_PLUGINS_ROOT)
|
|
36
36
|
: resolve(repoRoot, "c4a-plugins");
|
|
37
|
+
const MARKETPLACE_NAME = "c4a";
|
|
38
|
+
const PLUGIN_NAME = "context";
|
|
37
39
|
|
|
38
40
|
interface CommandSource {
|
|
39
41
|
slug: string;
|
|
@@ -601,29 +603,29 @@ async function ensurePluginsRoot(): Promise<void> {
|
|
|
601
603
|
|
|
602
604
|
async function writeMarketplaceManifests(version: string): Promise<void> {
|
|
603
605
|
const claudeMarketplace = {
|
|
604
|
-
name:
|
|
606
|
+
name: MARKETPLACE_NAME,
|
|
605
607
|
owner: { name: "c4a" },
|
|
606
608
|
plugins: [{
|
|
607
|
-
name:
|
|
609
|
+
name: PLUGIN_NAME,
|
|
608
610
|
source: "./claude",
|
|
609
611
|
description: "Context For AI — local knowledge workspace. Capture docs, extract code structure, compile into an interlinked wiki with source-traced facts.",
|
|
610
612
|
}],
|
|
611
613
|
};
|
|
612
614
|
const cursorMarketplace = {
|
|
613
|
-
name:
|
|
615
|
+
name: MARKETPLACE_NAME,
|
|
614
616
|
owner: { name: "Context4AI", email: "support@context4ai.dev" },
|
|
615
617
|
metadata: { description: "C4A Context plugin marketplace" },
|
|
616
618
|
plugins: [{
|
|
617
|
-
name:
|
|
619
|
+
name: PLUGIN_NAME,
|
|
618
620
|
source: "./cursor",
|
|
619
621
|
description: "Turn project sources into a local, source-linked knowledge workspace your agent can maintain and query.",
|
|
620
622
|
}],
|
|
621
623
|
};
|
|
622
624
|
const codexMarketplace = {
|
|
623
|
-
name:
|
|
625
|
+
name: MARKETPLACE_NAME,
|
|
624
626
|
interface: { displayName: "C4A Marketplace" },
|
|
625
627
|
plugins: [{
|
|
626
|
-
name:
|
|
628
|
+
name: PLUGIN_NAME,
|
|
627
629
|
source: { source: "local", path: "./codex" },
|
|
628
630
|
policy: { installation: "AVAILABLE", authentication: "ON_INSTALL" },
|
|
629
631
|
category: "Productivity",
|