claudekit-cli 3.35.0-dev.4 → 3.35.0-dev.6
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/index.js +51 -14
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9163,6 +9163,7 @@ var init_provider_registry = __esm(() => {
|
|
|
9163
9163
|
"claude-code": {
|
|
9164
9164
|
name: "claude-code",
|
|
9165
9165
|
displayName: "Claude Code",
|
|
9166
|
+
subagents: "full",
|
|
9166
9167
|
agents: {
|
|
9167
9168
|
projectPath: ".claude/agents",
|
|
9168
9169
|
globalPath: join(home, ".claude/agents"),
|
|
@@ -9214,6 +9215,7 @@ var init_provider_registry = __esm(() => {
|
|
|
9214
9215
|
opencode: {
|
|
9215
9216
|
name: "opencode",
|
|
9216
9217
|
displayName: "OpenCode",
|
|
9218
|
+
subagents: "full",
|
|
9217
9219
|
agents: {
|
|
9218
9220
|
projectPath: ".opencode/agents",
|
|
9219
9221
|
globalPath: join(home, ".config/opencode/agents"),
|
|
@@ -9264,6 +9266,7 @@ var init_provider_registry = __esm(() => {
|
|
|
9264
9266
|
"github-copilot": {
|
|
9265
9267
|
name: "github-copilot",
|
|
9266
9268
|
displayName: "GitHub Copilot",
|
|
9269
|
+
subagents: "full",
|
|
9267
9270
|
agents: {
|
|
9268
9271
|
projectPath: ".github/agents",
|
|
9269
9272
|
globalPath: null,
|
|
@@ -9304,6 +9307,7 @@ var init_provider_registry = __esm(() => {
|
|
|
9304
9307
|
codex: {
|
|
9305
9308
|
name: "codex",
|
|
9306
9309
|
displayName: "Codex",
|
|
9310
|
+
subagents: "partial",
|
|
9307
9311
|
agents: {
|
|
9308
9312
|
projectPath: "AGENTS.md",
|
|
9309
9313
|
globalPath: join(home, ".codex/AGENTS.md"),
|
|
@@ -9353,6 +9357,7 @@ var init_provider_registry = __esm(() => {
|
|
|
9353
9357
|
cursor: {
|
|
9354
9358
|
name: "cursor",
|
|
9355
9359
|
displayName: "Cursor",
|
|
9360
|
+
subagents: "full",
|
|
9356
9361
|
agents: {
|
|
9357
9362
|
projectPath: ".cursor/rules",
|
|
9358
9363
|
globalPath: join(home, ".cursor/rules"),
|
|
@@ -9392,6 +9397,7 @@ var init_provider_registry = __esm(() => {
|
|
|
9392
9397
|
roo: {
|
|
9393
9398
|
name: "roo",
|
|
9394
9399
|
displayName: "Roo Code",
|
|
9400
|
+
subagents: "full",
|
|
9395
9401
|
agents: {
|
|
9396
9402
|
projectPath: ".roomodes",
|
|
9397
9403
|
globalPath: join(home, ".roo/custom_modes.yaml"),
|
|
@@ -9433,6 +9439,7 @@ var init_provider_registry = __esm(() => {
|
|
|
9433
9439
|
kilo: {
|
|
9434
9440
|
name: "kilo",
|
|
9435
9441
|
displayName: "Kilo Code",
|
|
9442
|
+
subagents: "full",
|
|
9436
9443
|
agents: {
|
|
9437
9444
|
projectPath: ".kilocodemodes",
|
|
9438
9445
|
globalPath: join(home, ".kilocode/custom_modes.yaml"),
|
|
@@ -9474,6 +9481,7 @@ var init_provider_registry = __esm(() => {
|
|
|
9474
9481
|
windsurf: {
|
|
9475
9482
|
name: "windsurf",
|
|
9476
9483
|
displayName: "Windsurf",
|
|
9484
|
+
subagents: "none",
|
|
9477
9485
|
agents: {
|
|
9478
9486
|
projectPath: ".windsurf/rules",
|
|
9479
9487
|
globalPath: join(home, ".codeium/windsurf/rules"),
|
|
@@ -9482,7 +9490,13 @@ var init_provider_registry = __esm(() => {
|
|
|
9482
9490
|
fileExtension: ".md",
|
|
9483
9491
|
charLimit: 12000
|
|
9484
9492
|
},
|
|
9485
|
-
commands:
|
|
9493
|
+
commands: {
|
|
9494
|
+
projectPath: ".windsurf/workflows",
|
|
9495
|
+
globalPath: join(home, ".codeium/windsurf/workflows"),
|
|
9496
|
+
format: "direct-copy",
|
|
9497
|
+
writeStrategy: "per-file",
|
|
9498
|
+
fileExtension: ".md"
|
|
9499
|
+
},
|
|
9486
9500
|
skills: {
|
|
9487
9501
|
projectPath: ".windsurf/skills",
|
|
9488
9502
|
globalPath: join(home, ".codeium/windsurf/skills"),
|
|
@@ -9509,13 +9523,16 @@ var init_provider_registry = __esm(() => {
|
|
|
9509
9523
|
detect: async () => hasAnyInstallSignal([
|
|
9510
9524
|
join(cwd, ".windsurf/rules"),
|
|
9511
9525
|
join(cwd, ".windsurf/skills"),
|
|
9526
|
+
join(cwd, ".windsurf/workflows"),
|
|
9512
9527
|
join(home, ".codeium/windsurf/rules"),
|
|
9513
|
-
join(home, ".codeium/windsurf/skills")
|
|
9528
|
+
join(home, ".codeium/windsurf/skills"),
|
|
9529
|
+
join(home, ".codeium/windsurf/workflows")
|
|
9514
9530
|
])
|
|
9515
9531
|
},
|
|
9516
9532
|
goose: {
|
|
9517
9533
|
name: "goose",
|
|
9518
9534
|
displayName: "Goose",
|
|
9535
|
+
subagents: "full",
|
|
9519
9536
|
agents: {
|
|
9520
9537
|
projectPath: "AGENTS.md",
|
|
9521
9538
|
globalPath: null,
|
|
@@ -9555,6 +9572,7 @@ var init_provider_registry = __esm(() => {
|
|
|
9555
9572
|
"gemini-cli": {
|
|
9556
9573
|
name: "gemini-cli",
|
|
9557
9574
|
displayName: "Gemini CLI",
|
|
9575
|
+
subagents: "planned",
|
|
9558
9576
|
agents: {
|
|
9559
9577
|
projectPath: "AGENTS.md",
|
|
9560
9578
|
globalPath: join(home, ".gemini/GEMINI.md"),
|
|
@@ -9602,6 +9620,7 @@ var init_provider_registry = __esm(() => {
|
|
|
9602
9620
|
amp: {
|
|
9603
9621
|
name: "amp",
|
|
9604
9622
|
displayName: "Amp",
|
|
9623
|
+
subagents: "full",
|
|
9605
9624
|
agents: {
|
|
9606
9625
|
projectPath: "AGENTS.md",
|
|
9607
9626
|
globalPath: join(home, ".config/AGENTS.md"),
|
|
@@ -9642,6 +9661,7 @@ var init_provider_registry = __esm(() => {
|
|
|
9642
9661
|
antigravity: {
|
|
9643
9662
|
name: "antigravity",
|
|
9644
9663
|
displayName: "Antigravity",
|
|
9664
|
+
subagents: "full",
|
|
9645
9665
|
agents: {
|
|
9646
9666
|
projectPath: ".agent/rules",
|
|
9647
9667
|
globalPath: join(home, ".gemini/antigravity"),
|
|
@@ -9649,7 +9669,13 @@ var init_provider_registry = __esm(() => {
|
|
|
9649
9669
|
writeStrategy: "per-file",
|
|
9650
9670
|
fileExtension: ".md"
|
|
9651
9671
|
},
|
|
9652
|
-
commands:
|
|
9672
|
+
commands: {
|
|
9673
|
+
projectPath: ".agent/workflows",
|
|
9674
|
+
globalPath: join(home, ".gemini/antigravity/global_workflows"),
|
|
9675
|
+
format: "direct-copy",
|
|
9676
|
+
writeStrategy: "per-file",
|
|
9677
|
+
fileExtension: ".md"
|
|
9678
|
+
},
|
|
9653
9679
|
skills: {
|
|
9654
9680
|
projectPath: ".agent/skills",
|
|
9655
9681
|
globalPath: join(home, ".gemini/antigravity/skills"),
|
|
@@ -9674,15 +9700,18 @@ var init_provider_registry = __esm(() => {
|
|
|
9674
9700
|
detect: async () => hasAnyInstallSignal([
|
|
9675
9701
|
join(cwd, ".agent/rules"),
|
|
9676
9702
|
join(cwd, ".agent/skills"),
|
|
9703
|
+
join(cwd, ".agent/workflows"),
|
|
9677
9704
|
join(cwd, "GEMINI.md"),
|
|
9678
9705
|
join(home, ".gemini/antigravity/GEMINI.md"),
|
|
9679
9706
|
join(home, ".gemini/antigravity/rules"),
|
|
9680
|
-
join(home, ".gemini/antigravity/skills")
|
|
9707
|
+
join(home, ".gemini/antigravity/skills"),
|
|
9708
|
+
join(home, ".gemini/antigravity/global_workflows")
|
|
9681
9709
|
])
|
|
9682
9710
|
},
|
|
9683
9711
|
cline: {
|
|
9684
9712
|
name: "cline",
|
|
9685
9713
|
displayName: "Cline",
|
|
9714
|
+
subagents: "full",
|
|
9686
9715
|
agents: {
|
|
9687
9716
|
projectPath: ".clinerules",
|
|
9688
9717
|
globalPath: null,
|
|
@@ -9721,6 +9750,7 @@ var init_provider_registry = __esm(() => {
|
|
|
9721
9750
|
openhands: {
|
|
9722
9751
|
name: "openhands",
|
|
9723
9752
|
displayName: "OpenHands",
|
|
9753
|
+
subagents: "full",
|
|
9724
9754
|
agents: {
|
|
9725
9755
|
projectPath: ".openhands/skills",
|
|
9726
9756
|
globalPath: join(home, ".openhands/skills"),
|
|
@@ -9885,14 +9915,18 @@ function stripClaudeRefs(content, options2) {
|
|
|
9885
9915
|
result = result.split(`
|
|
9886
9916
|
`).filter((line) => !line.includes(".claude/hooks/")).join(`
|
|
9887
9917
|
`);
|
|
9888
|
-
const
|
|
9889
|
-
|
|
9890
|
-
|
|
9891
|
-
|
|
9892
|
-
|
|
9893
|
-
|
|
9894
|
-
|
|
9895
|
-
|
|
9918
|
+
const subagentSupport = options2?.provider ? providers[options2.provider].subagents : "none";
|
|
9919
|
+
const preserveDelegation = subagentSupport !== "none";
|
|
9920
|
+
if (!preserveDelegation) {
|
|
9921
|
+
const delegationPatterns = [
|
|
9922
|
+
/^.*\bdelegate\s+to\s+`[^`]+`\s+agent.*$/gim,
|
|
9923
|
+
/^.*\bspawn.*agent.*$/gim,
|
|
9924
|
+
/^.*\buse.*subagent.*$/gim,
|
|
9925
|
+
/^.*\bactivate.*skill.*$/gim
|
|
9926
|
+
];
|
|
9927
|
+
for (const pattern of delegationPatterns) {
|
|
9928
|
+
result = result.replace(pattern, "");
|
|
9929
|
+
}
|
|
9896
9930
|
}
|
|
9897
9931
|
const lines = result.split(`
|
|
9898
9932
|
`);
|
|
@@ -9905,7 +9939,10 @@ function stripClaudeRefs(content, options2) {
|
|
|
9905
9939
|
if (headingMatch) {
|
|
9906
9940
|
const level = headingMatch[1].length;
|
|
9907
9941
|
const title = headingMatch[2];
|
|
9908
|
-
|
|
9942
|
+
const isHookSection = /hook/i.test(title);
|
|
9943
|
+
const isClaudeApiSection = /SendMessage|TaskCreate|TaskUpdate/i.test(title);
|
|
9944
|
+
const isAgentTeamSection = /agent\s+team/i.test(title);
|
|
9945
|
+
if (isHookSection || isClaudeApiSection || !preserveDelegation && isAgentTeamSection) {
|
|
9909
9946
|
skipUntilHeading = true;
|
|
9910
9947
|
skipHeadingLevel = level;
|
|
9911
9948
|
removedSections.push(title.trim());
|
|
@@ -48793,7 +48830,7 @@ var package_default;
|
|
|
48793
48830
|
var init_package = __esm(() => {
|
|
48794
48831
|
package_default = {
|
|
48795
48832
|
name: "claudekit-cli",
|
|
48796
|
-
version: "3.35.0-dev.
|
|
48833
|
+
version: "3.35.0-dev.6",
|
|
48797
48834
|
description: "CLI tool for bootstrapping and updating ClaudeKit projects",
|
|
48798
48835
|
type: "module",
|
|
48799
48836
|
repository: {
|