@akanjs/cli 3.1.1-rc.16 → 3.1.1-rc.18

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 (118) hide show
  1. package/.build-stamp +1 -1
  2. package/{CodeAgent-23ewzxqa.js → CodeAgent-fbcq8vks.js} +2 -2
  3. package/{CodeTui-kc99fk78.js → CodeTui-0626gxqd.js} +1 -1
  4. package/TunnelShare-2p24xxza.js +14 -0
  5. package/agent.command-hpza0pg9.js +46 -0
  6. package/akanCode.js +5 -3
  7. package/{application.command-bvfd1680.js → application.command-3a7q1hs2.js} +11 -10
  8. package/{applicationBuildRunner-4ajaesk1.js → applicationBuildRunner-s7yt71j4.js} +5 -5
  9. package/buildBatch.proc.js +6 -6
  10. package/{cloud.command-f2w40fyy.js → cloud.command-4vg0pcea.js} +15 -14
  11. package/cloud.script-nkmeyhet.js +25 -0
  12. package/{code.command-dbhhnahn.js → code.command-fbntb67p.js} +6 -6
  13. package/commandManifest.json +1 -1
  14. package/{context.command-yswjwv6y.js → context.command-31rm54v0.js} +18 -18
  15. package/context.runner-w01a32ph.js +26 -0
  16. package/{guideline.command-ztx6dkpk.js → guideline.command-cv3by2ng.js} +3 -3
  17. package/guidelines/conventions/core.md +104 -0
  18. package/guidelines/conventions/rules/app.md +83 -0
  19. package/guidelines/conventions/rules/auth.md +45 -0
  20. package/guidelines/conventions/rules/config.md +56 -0
  21. package/guidelines/conventions/rules/constant.md +24 -0
  22. package/guidelines/conventions/rules/gates.md +31 -0
  23. package/guidelines/conventions/rules/layer.md +25 -0
  24. package/guidelines/conventions/rules/migration.md +27 -0
  25. package/guidelines/conventions/rules/module.md +90 -0
  26. package/guidelines/conventions/rules/page.md +56 -0
  27. package/guidelines/conventions/rules/sensitive.md +16 -0
  28. package/guidelines/conventions/rules/server.md +86 -0
  29. package/guidelines/conventions/rules/ssr.md +47 -0
  30. package/guidelines/conventions/rules/style.md +43 -0
  31. package/guidelines/conventions/rules/test.md +34 -0
  32. package/guidelines/conventions/rules/ts.md +95 -0
  33. package/guidelines/conventions/rules/tsx.md +75 -0
  34. package/guidelines/mcpRule/mcpRule.instruction.md +1 -1
  35. package/guidelines/workspaceRecipes/workspaceRecipes.instruction.md +3 -3
  36. package/incrementalBuilder.proc.js +6 -6
  37. package/{index-xjwcp91m.js → index-05nxx4m5.js} +43 -12
  38. package/{index-k9k18vq9.js → index-0ht91675.js} +37 -59
  39. package/{index-er16p89s.js → index-0zwznvv1.js} +1 -1
  40. package/{index-76jwsm3g.js → index-0zyatd10.js} +2 -2
  41. package/{index-97fsvy66.js → index-12kzwak1.js} +3 -3
  42. package/{index-005dqc83.js → index-1dhf8ymv.js} +2 -2
  43. package/{index-00ke4phc.js → index-3gccwenr.js} +1 -1
  44. package/{index-2epb3wgh.js → index-3txrjt6n.js} +2 -2
  45. package/{index-7ndgffg4.js → index-57q1ayd2.js} +18 -1240
  46. package/index-5kh9scvs.js +514 -0
  47. package/index-5n5hds19.js +1246 -0
  48. package/{index-9sa6abze.js → index-6269mf2s.js} +10 -9
  49. package/{index-921cxqrd.js → index-64g9fsjy.js} +41 -12
  50. package/index-7zeb5r1p.js +653 -0
  51. package/{index-s4c2y5gs.js → index-8s8b4eba.js} +45 -4
  52. package/{index-4332q6yj.js → index-922k2zwq.js} +3 -3
  53. package/{index-m6qgr1rx.js → index-9ndw5d8j.js} +7 -7
  54. package/{index-xfp4dcnx.js → index-et6ce601.js} +1 -1
  55. package/{index-saj9cx3a.js → index-f5adsa58.js} +4 -4
  56. package/{index-vgt25eh1.js → index-fbewhg4g.js} +7 -32
  57. package/{index-ysyt782g.js → index-hm7x0c11.js} +4 -4
  58. package/{index-2p1brf5e.js → index-hvv5rnaq.js} +2 -2
  59. package/index-jje9qzyq.js +27 -0
  60. package/{index-rxse80x6.js → index-js1gj6f6.js} +12 -10
  61. package/{index-p2pahmsa.js → index-kjrvwzav.js} +3 -3
  62. package/index-m6r88hhr.js +3582 -0
  63. package/{index-mk391h0z.js → index-mt0wa941.js} +4 -4
  64. package/{index-m93qg20j.js → index-mwj9q2ya.js} +1 -1
  65. package/{index-5nd1wtkv.js → index-p6x5b7hr.js} +1 -1
  66. package/index-r2wedvqn.js +138 -0
  67. package/{index-gxj80jz7.js → index-rvynj5gz.js} +1 -1
  68. package/{index-m54n0v29.js → index-tdv66eah.js} +4 -4
  69. package/{index-vq77g679.js → index-w134p86k.js} +1 -1
  70. package/{index-deeskxjh.js → index-wfczhj1z.js} +14 -36
  71. package/{index-dy0jx9ay.js → index-wwe9rsrx.js} +14 -0
  72. package/{index-qx4r4cj2.js → index-x5ecanqh.js} +2 -2
  73. package/{index-nzfgyw3b.js → index-zre4m2ce.js} +4 -4
  74. package/index.js +23 -22
  75. package/{library.command-hmbkcwzw.js → library.command-sh70fyvy.js} +3 -3
  76. package/{localRegistry.command-sq5p4c9x.js → localRegistry.command-2nbyy84d.js} +14 -13
  77. package/{module.command-n4z29zcv.js → module.command-n0bmtzwy.js} +5 -5
  78. package/{package.command-20025dy3.js → package.command-7h9r51bz.js} +3 -3
  79. package/package.json +2 -2
  80. package/{page.command-q8fvpjer.js → page.command-vjtpfbb1.js} +3 -3
  81. package/{pipeline.command-8j97fq88.js → pipeline.command-c93se3ar.js} +2 -2
  82. package/{primitive.command-e5y6dqp1.js → primitive.command-a3075qp2.js} +6 -6
  83. package/{projectTypecheck-tbdye9k3.js → projectTypecheck-sf9xwaga.js} +1 -1
  84. package/{prompter-76k56b37.js → prompter-hgcta8pb.js} +1 -1
  85. package/quality.command-dw1y9hmy.js +76 -0
  86. package/{repair.command-dq1gckth.js → repair.command-tg57d8yt.js} +5 -5
  87. package/{scalar.command-5vwf152w.js → scalar.command-cwzge353.js} +4 -4
  88. package/skills/akan-agent/SKILL.md +36 -0
  89. package/skills/akan-debug/SKILL.md +3 -3
  90. package/skills/akan-deps/SKILL.md +1 -2
  91. package/skills/akan-mcp/SKILL.md +40 -0
  92. package/skills/akan-page/SKILL.md +44 -0
  93. package/skills/akan-query/SKILL.md +38 -0
  94. package/skills/akan-runtime/SKILL.md +40 -0
  95. package/skills/akan-scaffold/SKILL.md +16 -6
  96. package/skills/akan-transport/SKILL.md +40 -0
  97. package/skills/akan-validate/SKILL.md +13 -11
  98. package/{subspace.command-182be8vj.js → subspace.command-3h03c7kc.js} +8 -8
  99. package/templates/workspaceRoot/.gitignore.template +3 -0
  100. package/templates/workspaceRoot/AGENTS.md.template +4 -10
  101. package/{tunnel.command-bfzj7xkb.js → tunnel.command-czaz6ys4.js} +7 -7
  102. package/{typeChecker-px49mezc.js → typeChecker-j2jdnqsr.js} +1 -1
  103. package/typecheck.proc.js +6 -1
  104. package/verify.command-nzwhtz71.js +91 -0
  105. package/{workflow.command-3g53242s.js → workflow.command-srhky88x.js} +23 -13
  106. package/{workspace.command-h7399jwv.js → workspace.command-9stchcd2.js} +31 -29
  107. package/TunnelShare-dk2gw78d.js +0 -14
  108. package/agent.command-knp5j7bq.js +0 -25
  109. package/cloud.script-2r82sv0f.js +0 -24
  110. package/context.runner-c3wsh2jw.js +0 -26
  111. package/guidelines/conventions/conventions.instruction.md +0 -663
  112. package/guidelines/workspaceOnboarding/workspaceOnboarding.instruction.md +0 -291
  113. package/index-4t4qb8jg.js +0 -279
  114. package/index-hvg3esm0.js +0 -1844
  115. package/index-zzvvc845.js +0 -74
  116. package/quality.command-168pt5vm.js +0 -1788
  117. package/templates/workspaceRoot/docs/AI-DEVELOPMENT.md.template +0 -69
  118. package/templates/workspaceRoot/docs/GENERATED.md.template +0 -55
package/typecheck.proc.js CHANGED
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  TypeChecker2
4
- } from "./index-dy0jx9ay.js";
4
+ } from "./index-wwe9rsrx.js";
5
5
 
6
6
  // pkgs/@akanjs/devkit/typecheck/typecheck.proc.ts
7
7
  import { Logger } from "akanjs/common";
@@ -26,6 +26,11 @@ try {
26
26
  if (!configPath)
27
27
  throw new Error("AKAN_TYPECHECK_TSCONFIG is required");
28
28
  const result = TypeChecker2.checkProject(configPath);
29
+ if (process.env.AKAN_TYPECHECK_FORMAT === "json") {
30
+ const root = process.env.AKAN_TYPECHECK_ROOT ?? process.cwd();
31
+ process.stdout.write(JSON.stringify(TypeChecker2.toRecords(result.errors, root)));
32
+ process.exit(result.errors.length > 0 ? 1 : 0);
33
+ }
29
34
  if (result.errors.length > 0) {
30
35
  console.error(result.message);
31
36
  process.exit(1);
@@ -0,0 +1,91 @@
1
+ // @bun
2
+ import {
3
+ Workspace,
4
+ script,
5
+ ExitCodeError,
6
+ markCliErrorPrinted,
7
+ command
8
+ } from "./index-3gccwenr.js";
9
+ import"./index-52w0fvh8.js";
10
+ import"./index-64g9fsjy.js";
11
+ import {
12
+ ApplicationRunner
13
+ } from "./index-57q1ayd2.js";
14
+ import"./index-p6x5b7hr.js";
15
+ import"./index-kjrvwzav.js";
16
+ import"./index-w134p86k.js";
17
+ import"./index-m9jj544v.js";
18
+ import"./index-1dhf8ymv.js";
19
+ import"./index-0zwznvv1.js";
20
+ import"./index-62md4dwy.js";
21
+ import {
22
+ WorkspaceRunner
23
+ } from "./index-m6r88hhr.js";
24
+ import"./index-hj6w4ka1.js";
25
+ import"./index-fbewhg4g.js";
26
+ import {
27
+ VerifyPipeline,
28
+ VerifyReport,
29
+ VerifyScope
30
+ } from "./index-5kh9scvs.js";
31
+ import"./index-mwj9q2ya.js";
32
+
33
+ // pkgs/@akanjs/cli/verify/verify.script.ts
34
+ import path from "path";
35
+ import { Logger } from "akanjs/common";
36
+ class VerifyScript extends script("verify", [WorkspaceRunner, ApplicationRunner]) {
37
+ async verify(workspace, requested, options = {}) {
38
+ const [apps, libs, pkgs] = await workspace.getExecs();
39
+ const names = { apps, libs, pkgs };
40
+ const changes = options.files?.length ? options.files.map((file) => ({ code: " M", file: VerifyScript.#relative(workspace, file) })) : await VerifyScope.changesIn(workspace.workspaceRoot) ?? [];
41
+ const scope = VerifyScope.resolve(changes, names, requested);
42
+ const consoleOutput = Logger.consoleOutput;
43
+ Logger.consoleOutput = false;
44
+ const result = await new VerifyPipeline(workspace, this.workspaceRunner, this.applicationRunner).run(scope, { lintOnly: options.lintOnly, build: options.build }).finally(() => {
45
+ Logger.consoleOutput = consoleOutput;
46
+ });
47
+ Logger.rawLog(options.format === "json" ? VerifyReport.json(result) : VerifyReport.text(result, { max: options.max }));
48
+ if (result.ok)
49
+ return;
50
+ const failure = new ExitCodeError("verify failed", 1);
51
+ markCliErrorPrinted(failure);
52
+ throw failure;
53
+ }
54
+ static #relative(workspace, file) {
55
+ const absolute = path.isAbsolute(file) ? file : path.resolve(workspace.workspaceRoot, file);
56
+ return path.relative(workspace.workspaceRoot, absolute).split(path.sep).join("/");
57
+ }
58
+ }
59
+
60
+ // pkgs/@akanjs/cli/verify/verify.command.ts
61
+ var listOf = (value) => (value ?? "").split(",").map((entry) => entry.trim()).filter(Boolean);
62
+
63
+ class VerifyCommand extends command("verify", [VerifyScript], ({ public: target }) => ({
64
+ verify: target({
65
+ desc: "Sync, lint, typecheck and build what changed, in one run, and print only what failed",
66
+ stdio: true
67
+ }).arg("targets", String, {
68
+ desc: "apps, libraries or packages to verify, comma-separated (default: whatever git reports as changed)",
69
+ nullable: true
70
+ }).option("files", String, {
71
+ flag: "F",
72
+ desc: "verify these files only, comma-separated, instead of the git changes",
73
+ nullable: true
74
+ }).option("lintOnly", Boolean, {
75
+ flag: "l",
76
+ desc: "lint only: skip sync, typecheck, build and the SSR check",
77
+ default: false
78
+ }).option("build", Boolean, { flag: "b", desc: "build the changed apps once lint and typecheck pass", default: true }).option("max", Number, { flag: "m", desc: "diagnostic lines to print, 0 for all", default: 20 }).option("format", String, { flag: "f", desc: "output format", default: "text", enum: ["text", "json"] }).with(Workspace).exec(async function(targets, files, lintOnly, build, max, format, workspace) {
79
+ await this.verifyScript.verify(workspace, listOf(targets), {
80
+ files: listOf(files),
81
+ lintOnly,
82
+ build,
83
+ max,
84
+ format: format === "json" ? "json" : "text"
85
+ });
86
+ })
87
+ })) {
88
+ }
89
+ export {
90
+ VerifyCommand
91
+ };
@@ -3,21 +3,21 @@ import {
3
3
  Workspace,
4
4
  script,
5
5
  command
6
- } from "./index-00ke4phc.js";
6
+ } from "./index-3gccwenr.js";
7
7
  import"./index-52w0fvh8.js";
8
- import"./index-921cxqrd.js";
8
+ import"./index-64g9fsjy.js";
9
9
  import"./index-hj6w4ka1.js";
10
- import"./index-xjwcp91m.js";
11
- import"./index-s4c2y5gs.js";
12
- import"./index-gxj80jz7.js";
13
- import"./index-m54n0v29.js";
14
- import"./index-ysyt782g.js";
15
- import"./index-4332q6yj.js";
16
- import"./index-qx4r4cj2.js";
17
- import"./index-vgt25eh1.js";
10
+ import"./index-05nxx4m5.js";
11
+ import"./index-8s8b4eba.js";
12
+ import"./index-rvynj5gz.js";
13
+ import"./index-tdv66eah.js";
14
+ import"./index-hm7x0c11.js";
15
+ import"./index-922k2zwq.js";
16
+ import"./index-x5ecanqh.js";
17
+ import"./index-fbewhg4g.js";
18
18
  import {
19
19
  WorkflowRunner
20
- } from "./index-rxse80x6.js";
20
+ } from "./index-js1gj6f6.js";
21
21
 
22
22
  // pkgs/@akanjs/cli/workflow/workflow.script.ts
23
23
  import { Logger } from "akanjs/common";
@@ -70,7 +70,15 @@ class WorkflowCommand extends command("workflow", [WorkflowScript], ({ public: t
70
70
  workflow: target({ desc: "List, explain, plan, apply, validate, or report Akan workflows" }).arg("action", String, {
71
71
  desc: "list, explain, plan, apply, validate, or report",
72
72
  enum: ["list", "explain", "plan", "apply", "validate", "report"]
73
- }).arg("workflow", String, { desc: "workflow name, plan path, or run id", nullable: true }).with(Workspace).option("format", String, { desc: "output format", flag: "o", default: "markdown", enum: ["markdown", "json"] }).option("out", String, { flag: "w", desc: "write workflow plan JSON to this path", nullable: true }).option("dryRun", Boolean, { flag: "r", desc: "show predicted apply report without writing files", default: false }).option("app", String, { desc: "target app or library name", nullable: true }).option("module", String, { desc: "target module name", nullable: true }).option("field", String, { desc: "field name", nullable: true }).option("type", String, { desc: "field type or scalar name", nullable: true }).option("values", String, { flag: "l", desc: "comma-separated values", nullable: true }).option("default", String, { desc: "default value", nullable: true }).option("scalar", String, { flag: "c", desc: "scalar name", nullable: true }).option("surface", String, { flag: "u", desc: "UI surface name", nullable: true }).option("mutation", String, { flag: "n", desc: "mutation name", nullable: true }).option("slice", String, { flag: "i", desc: "slice name", nullable: true }).option("guard", String, { flag: "g", desc: "comma-separated guard class names", nullable: true }).option("with", String, {
73
+ }).arg("workflow", String, { desc: "workflow name, plan path, or run id", nullable: true }).with(Workspace).option("format", String, { desc: "output format", flag: "o", default: "markdown", enum: ["markdown", "json"] }).option("out", String, { flag: "w", desc: "write workflow plan JSON to this path", nullable: true }).option("dryRun", Boolean, { flag: "r", desc: "show predicted apply report without writing files", default: false }).option("app", String, { desc: "target app or library name", nullable: true }).option("module", String, { desc: "target module name", nullable: true }).option("field", String, { desc: "field name", nullable: true }).option("type", String, { desc: "field type or scalar name", nullable: true }).option("values", String, { flag: "l", desc: "comma-separated values", nullable: true }).option("default", String, { desc: "default value", nullable: true }).option("scalar", String, { flag: "c", desc: "scalar name", nullable: true }).option("surface", String, { flag: "u", desc: "UI surface name", nullable: true }).option("surfaces", String, {
74
+ flag: "s",
75
+ desc: "comma-separated UI surfaces add-field updates (template, unit, view)",
76
+ nullable: true
77
+ }).option("includeInLight", Boolean, {
78
+ flag: "p",
79
+ desc: "add the field to the Light<Model> projection used by lists and cards",
80
+ nullable: true
81
+ }).option("mutation", String, { flag: "n", desc: "mutation name", nullable: true }).option("slice", String, { flag: "i", desc: "slice name", nullable: true }).option("guard", String, { flag: "g", desc: "comma-separated guard class names", nullable: true }).option("with", String, {
74
82
  flag: "b",
75
83
  desc: "comma-separated <serviceRef>.<method> writes committed with the mutation",
76
84
  nullable: true
@@ -78,7 +86,7 @@ class WorkflowCommand extends command("workflow", [WorkflowScript], ({ public: t
78
86
  flag: "e",
79
87
  desc: "comma-separated <serviceRef>.<method> side effects run after the commit",
80
88
  nullable: true
81
- }).option("interaction", String, { flag: "k", desc: "interaction name", nullable: true }).exec(async function(action, workflow, workspace, format, out, dryRun, app, module, field, typeName, values, defaultValue, scalar, surface, mutation, slice, guard, withCalls, after, interaction) {
89
+ }).option("interaction", String, { flag: "k", desc: "interaction name", nullable: true }).exec(async function(action, workflow, workspace, format, out, dryRun, app, module, field, typeName, values, defaultValue, scalar, surface, surfaces, includeInLight, mutation, slice, guard, withCalls, after, interaction) {
82
90
  await this.workflowScript.workflow(action, workflow, {
83
91
  app,
84
92
  module,
@@ -88,6 +96,8 @@ class WorkflowCommand extends command("workflow", [WorkflowScript], ({ public: t
88
96
  default: defaultValue,
89
97
  scalar,
90
98
  surface,
99
+ surfaces,
100
+ includeInLight: includeInLight === null ? null : String(includeInLight),
91
101
  mutation,
92
102
  slice,
93
103
  guard,
@@ -4,59 +4,61 @@ import {
4
4
  Workspace,
5
5
  script,
6
6
  command
7
- } from "./index-00ke4phc.js";
7
+ } from "./index-3gccwenr.js";
8
8
  import"./index-52w0fvh8.js";
9
9
  import {
10
10
  AppExecutor,
11
11
  LibExecutor,
12
12
  PkgExecutor
13
- } from "./index-921cxqrd.js";
13
+ } from "./index-64g9fsjy.js";
14
14
  import"./index-62md4dwy.js";
15
15
  import {
16
16
  defaultMaxDiagnostics,
17
17
  WorkspaceRunner
18
- } from "./index-hvg3esm0.js";
18
+ } from "./index-m6r88hhr.js";
19
19
  import"./index-hj6w4ka1.js";
20
- import"./index-vgt25eh1.js";
21
- import"./index-xjwcp91m.js";
22
- import"./index-s4c2y5gs.js";
23
- import"./index-zzvvc845.js";
20
+ import"./index-fbewhg4g.js";
21
+ import"./index-r2wedvqn.js";
22
+ import"./index-05nxx4m5.js";
23
+ import"./index-8s8b4eba.js";
24
+ import"./index-57q1ayd2.js";
25
+ import"./index-p6x5b7hr.js";
26
+ import"./index-kjrvwzav.js";
27
+ import"./index-w134p86k.js";
28
+ import"./index-m9jj544v.js";
29
+ import"./index-1dhf8ymv.js";
30
+ import"./index-0zwznvv1.js";
24
31
  import {
25
32
  AgentScript
26
- } from "./index-4t4qb8jg.js";
27
- import"./index-5nd1wtkv.js";
28
- import"./index-p2pahmsa.js";
29
- import"./index-vq77g679.js";
30
- import"./index-m9jj544v.js";
31
- import"./index-005dqc83.js";
32
- import"./index-er16p89s.js";
33
+ } from "./index-7zeb5r1p.js";
33
34
  import {
34
35
  LibraryScript
35
- } from "./index-2p1brf5e.js";
36
+ } from "./index-hvv5rnaq.js";
36
37
  import {
37
38
  ApplicationScript
38
- } from "./index-7ndgffg4.js";
39
+ } from "./index-5n5hds19.js";
39
40
  import"./index-7md2g9vw.js";
40
- import"./index-76jwsm3g.js";
41
+ import"./index-0zyatd10.js";
41
42
  import"./index-tvehn2sp.js";
42
43
  import {
43
44
  PackageScript
44
- } from "./index-2epb3wgh.js";
45
- import"./index-nzfgyw3b.js";
45
+ } from "./index-3txrjt6n.js";
46
+ import"./index-zre4m2ce.js";
46
47
  import {
47
48
  CloudScript2
48
- } from "./index-m6qgr1rx.js";
49
- import"./index-9sa6abze.js";
50
- import"./index-4332q6yj.js";
51
- import"./index-gxj80jz7.js";
52
- import"./index-m54n0v29.js";
53
- import"./index-ysyt782g.js";
54
- import"./index-qx4r4cj2.js";
55
- import"./index-rxse80x6.js";
49
+ } from "./index-9ndw5d8j.js";
50
+ import"./index-6269mf2s.js";
51
+ import"./index-922k2zwq.js";
52
+ import"./index-rvynj5gz.js";
53
+ import"./index-tdv66eah.js";
54
+ import"./index-hm7x0c11.js";
55
+ import"./index-x5ecanqh.js";
56
+ import"./index-js1gj6f6.js";
56
57
  import {
57
58
  ContextScript
58
- } from "./index-saj9cx3a.js";
59
- import"./index-m93qg20j.js";
59
+ } from "./index-f5adsa58.js";
60
+ import"./index-5kh9scvs.js";
61
+ import"./index-mwj9q2ya.js";
60
62
 
61
63
  // pkgs/@akanjs/cli/workspace/workspace.script.ts
62
64
  import { Logger } from "akanjs/common";
@@ -1,14 +0,0 @@
1
- // @bun
2
- import {
3
- TunnelShare2
4
- } from "./index-xfp4dcnx.js";
5
- import"./index-76jwsm3g.js";
6
- import"./index-p2pahmsa.js";
7
- import"./index-m9jj544v.js";
8
- import"./index-005dqc83.js";
9
- import"./index-er16p89s.js";
10
- import"./index-921cxqrd.js";
11
- import"./index-52w0fvh8.js";
12
- export {
13
- TunnelShare2 as TunnelShare
14
- };
@@ -1,25 +0,0 @@
1
- // @bun
2
- import {
3
- Workspace,
4
- command
5
- } from "./index-00ke4phc.js";
6
- import"./index-52w0fvh8.js";
7
- import"./index-921cxqrd.js";
8
- import"./index-hj6w4ka1.js";
9
- import"./index-xjwcp91m.js";
10
- import"./index-s4c2y5gs.js";
11
- import"./index-zzvvc845.js";
12
- import {
13
- AgentScript
14
- } from "./index-4t4qb8jg.js";
15
-
16
- // pkgs/@akanjs/cli/agent/agent.command.ts
17
- class AgentCommand extends command("agent", [AgentScript], ({ public: target }) => ({
18
- agent: target({ desc: "Install Akan agent rules for editors and coding agents" }).arg("action", String, { desc: "install" }).arg("target", String, { desc: "cursor, agents-md, claude, or all", nullable: true }).option("force", Boolean, { desc: "overwrite existing rule files", default: false }).with(Workspace).exec(async function(action, targetName, force, workspace) {
19
- await this.agentScript.agent(workspace, action, targetName, { force });
20
- })
21
- })) {
22
- }
23
- export {
24
- AgentCommand
25
- };
@@ -1,24 +0,0 @@
1
- // @bun
2
- import {
3
- CloudScript2
4
- } from "./index-m6qgr1rx.js";
5
- import"./index-nzfgyw3b.js";
6
- import"./index-7ndgffg4.js";
7
- import"./index-m93qg20j.js";
8
- import"./index-2p1brf5e.js";
9
- import"./index-2epb3wgh.js";
10
- import"./index-vq77g679.js";
11
- import"./index-76jwsm3g.js";
12
- import"./index-p2pahmsa.js";
13
- import"./index-m9jj544v.js";
14
- import"./index-00ke4phc.js";
15
- import"./index-7md2g9vw.js";
16
- import"./index-005dqc83.js";
17
- import"./index-5nd1wtkv.js";
18
- import"./index-er16p89s.js";
19
- import"./index-921cxqrd.js";
20
- import"./index-tvehn2sp.js";
21
- import"./index-52w0fvh8.js";
22
- export {
23
- CloudScript2 as CloudScript
24
- };
@@ -1,26 +0,0 @@
1
- // @bun
2
- import {
3
- ContextRunner2
4
- } from "./index-9sa6abze.js";
5
- import"./index-rxse80x6.js";
6
- import"./index-qx4r4cj2.js";
7
- import"./index-ysyt782g.js";
8
- import"./index-vgt25eh1.js";
9
- import"./index-4332q6yj.js";
10
- import"./index-m54n0v29.js";
11
- import"./index-gxj80jz7.js";
12
- import"./index-vq77g679.js";
13
- import"./index-p2pahmsa.js";
14
- import"./index-m9jj544v.js";
15
- import"./index-s4c2y5gs.js";
16
- import"./index-xjwcp91m.js";
17
- import"./index-zzvvc845.js";
18
- import"./index-00ke4phc.js";
19
- import"./index-005dqc83.js";
20
- import"./index-er16p89s.js";
21
- import"./index-921cxqrd.js";
22
- import"./index-hj6w4ka1.js";
23
- import"./index-52w0fvh8.js";
24
- export {
25
- ContextRunner2 as ContextRunner
26
- };