@akanjs/cli 3.0.0-beta.23 → 3.0.0-beta.25

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 (73) hide show
  1. package/.build-stamp +1 -1
  2. package/{CodeAgent-0dh9fzzg.js → CodeAgent-p65jja35.js} +2 -2
  3. package/{CodeTui-drwdvwg9.js → CodeTui-5xr8kxx4.js} +1 -1
  4. package/TunnelShare-cwh9ezsm.js +9 -0
  5. package/{agent.command-ttn09rx3.js → agent.command-rp505zxa.js} +7 -7
  6. package/akanCode.js +2 -2
  7. package/{application.command-b6rck8d6.js → application.command-2x9jqy0k.js} +7 -7
  8. package/{applicationBuildRunner-vh74vrhg.js → applicationBuildRunner-tm0vba5t.js} +4 -4
  9. package/buildBatch.proc.js +99 -12
  10. package/{cloud.command-gwdypy7k.js → cloud.command-j6m607bp.js} +12 -12
  11. package/cloud.script-r5t7nhee.js +20 -0
  12. package/{code.command-1jgk14tc.js → code.command-jhrjttm1.js} +7 -7
  13. package/{context.command-4vpjmg22.js → context.command-xncdvv7n.js} +14 -14
  14. package/context.runner-pjy89k2s.js +21 -0
  15. package/{dependencyScanner-ye2e6pdz.js → dependencyScanner-06z2dmrr.js} +2 -2
  16. package/{fileSys-5ngz93ga.js → fileSys-wzzrntkw.js} +1 -1
  17. package/{guideline.command-7jk47fgq.js → guideline.command-d5qmxx29.js} +4 -4
  18. package/guidelines/agentRule/agentRule.instruction.md +7 -0
  19. package/guidelines/conventions/conventions.instruction.md +7 -5
  20. package/incrementalBuilder.proc.js +544 -72
  21. package/{index-ga6hygxr.js → index-0n9q1f23.js} +3 -3
  22. package/{index-3t7g9e4r.js → index-2ahj896a.js} +1 -1
  23. package/{index-smme4r47.js → index-2wc41k5w.js} +1 -1
  24. package/{index-khpfpcsd.js → index-48k96p55.js} +27 -7
  25. package/{index-776sswhv.js → index-4mgbzgb5.js} +281 -651
  26. package/{index-2gh9sndr.js → index-50rq2qms.js} +4 -4
  27. package/{index-5b6tavv3.js → index-52w0fvh8.js} +15 -1
  28. package/{index-yjkte9aj.js → index-56xwsgyn.js} +3 -3
  29. package/{index-rmcw8yc8.js → index-58cyna2s.js} +2 -2
  30. package/{index-1db2cw0y.js → index-5mm3g24t.js} +2 -2
  31. package/{index-wp43xrjv.js → index-6dt6zft6.js} +4 -4
  32. package/{index-vj1cwwy5.js → index-7yxndzea.js} +7 -7
  33. package/{index-q44jbw48.js → index-860zjnr1.js} +1 -1
  34. package/{index-jn07hxrr.js → index-8k93esfr.js} +6 -6
  35. package/{index-22d57v4c.js → index-94s080qm.js} +3 -3
  36. package/{index-yy4s1j72.js → index-d65fzxvd.js} +1 -1
  37. package/{index-m0ms3n1c.js → index-da72pfdv.js} +7 -7
  38. package/index-dt1x62ec.js +4108 -0
  39. package/{index-4dn1p115.js → index-ggfhz9ab.js} +4 -4
  40. package/{index-9629w7ns.js → index-hzy4pe24.js} +3 -3
  41. package/{index-jg5e15db.js → index-pb10njz7.js} +192 -58
  42. package/{index-mgfx3mfs.js → index-per2kqy9.js} +4 -4
  43. package/{index-aaz7n8s2.js → index-qm4fppfk.js} +4 -4
  44. package/{index-ya5qbmyg.js → index-t02g6dpn.js} +3 -3
  45. package/{index-hb8sgepf.js → index-tpdn30ya.js} +1 -1
  46. package/{index-rnt66vym.js → index-v4hnkqz9.js} +1 -1
  47. package/{index-pp54p5zk.js → index-xfgdmm5d.js} +2 -2
  48. package/{index-tgjy8xf3.js → index-zazvn45w.js} +4 -4
  49. package/{index-0bq14vr1.js → index-zzvvc845.js} +1 -1
  50. package/index.js +22 -22
  51. package/{library.command-ccb1cp92.js → library.command-sv6g1h2g.js} +4 -4
  52. package/{localRegistry.command-cxvgn7fr.js → localRegistry.command-4kj56531.js} +11 -11
  53. package/{module.command-5k6h407d.js → module.command-ccdeder9.js} +6 -6
  54. package/{package.command-e6ntvpez.js → package.command-xmw605b1.js} +5 -5
  55. package/package.json +4 -4
  56. package/{page.command-v4f90wb8.js → page.command-ky7vafsn.js} +4 -4
  57. package/{primitive.command-g6km57q5.js → primitive.command-bh6j8nfs.js} +7 -7
  58. package/{prompter-ptaa3nk0.js → prompter-76k56b37.js} +2 -2
  59. package/{quality.command-de3p36pz.js → quality.command-rqqrpe98.js} +3 -3
  60. package/{repair.command-d3x1javq.js → repair.command-n9nsm9qe.js} +6 -6
  61. package/{scalar.command-7ezrac2b.js → scalar.command-t09gmck8.js} +5 -5
  62. package/{subspace.command-0cep72ce.js → subspace.command-ygfdqpbj.js} +6 -6
  63. package/templates/workspaceRoot/package.json.template +1 -3
  64. package/{tunnel.command-hsrv2mny.js → tunnel.command-4g95vhsn.js} +5 -5
  65. package/{workflow.command-z2p32nmf.js → workflow.command-b91ph8sx.js} +11 -11
  66. package/{workspace.command-axwscbnn.js → workspace.command-p44d21qf.js} +24 -24
  67. package/README.ko.md +0 -72
  68. package/README.md +0 -88
  69. package/TunnelShare-scf4e4pd.js +0 -9
  70. package/cloud.script-at2beffs.js +0 -20
  71. package/context.runner-ehjs419v.js +0 -21
  72. package/index-fgq75haa.js +0 -2084
  73. package/templates/workspaceRoot/patches/react-dom@19.2.7.patch.template +0 -62
@@ -1,17 +1,17 @@
1
1
  // @bun
2
2
  import {
3
3
  FileSys2
4
- } from "./index-5b6tavv3.js";
4
+ } from "./index-52w0fvh8.js";
5
5
  import {
6
6
  GlobalConfig
7
- } from "./index-22d57v4c.js";
7
+ } from "./index-94s080qm.js";
8
8
  import {
9
9
  Exec,
10
10
  Workspace,
11
11
  runner,
12
12
  script,
13
13
  command
14
- } from "./index-rmcw8yc8.js";
14
+ } from "./index-58cyna2s.js";
15
15
  import {
16
16
  extractAgentBlock,
17
17
  collectScopeRecipeSources,
@@ -22,7 +22,7 @@ import {
22
22
  AppExecutor,
23
23
  LibExecutor,
24
24
  PkgExecutor
25
- } from "./index-ga6hygxr.js";
25
+ } from "./index-0n9q1f23.js";
26
26
  import {
27
27
  countBlocking,
28
28
  formatStyleContract,
@@ -32,43 +32,43 @@ import {
32
32
  collectRecipeSources2,
33
33
  scanRecipes2
34
34
  } from "./index-hj6w4ka1.js";
35
- import"./index-yy4s1j72.js";
36
- import"./index-9629w7ns.js";
37
- import"./index-0bq14vr1.js";
35
+ import"./index-d65fzxvd.js";
36
+ import"./index-hzy4pe24.js";
37
+ import"./index-zzvvc845.js";
38
38
  import {
39
39
  AgentScript
40
- } from "./index-4dn1p115.js";
41
- import"./index-khpfpcsd.js";
40
+ } from "./index-ggfhz9ab.js";
41
+ import"./index-48k96p55.js";
42
42
  import {
43
43
  LibraryScript
44
- } from "./index-1db2cw0y.js";
44
+ } from "./index-5mm3g24t.js";
45
45
  import {
46
46
  ApplicationScript
47
- } from "./index-jg5e15db.js";
47
+ } from "./index-pb10njz7.js";
48
48
  import"./index-ys6f0bvh.js";
49
49
  import"./index-7md2g9vw.js";
50
- import"./index-3t7g9e4r.js";
50
+ import"./index-2ahj896a.js";
51
51
  import {
52
52
  PackageScript
53
- } from "./index-mgfx3mfs.js";
53
+ } from "./index-per2kqy9.js";
54
54
  import {
55
55
  getNpmRegistryUrl,
56
56
  getLatestPackageVersion
57
- } from "./index-yjkte9aj.js";
57
+ } from "./index-56xwsgyn.js";
58
58
  import {
59
59
  CloudScript2
60
- } from "./index-jn07hxrr.js";
61
- import"./index-vj1cwwy5.js";
62
- import"./index-ya5qbmyg.js";
63
- import"./index-rnt66vym.js";
64
- import"./index-tgjy8xf3.js";
65
- import"./index-wp43xrjv.js";
66
- import"./index-pp54p5zk.js";
67
- import"./index-m0ms3n1c.js";
60
+ } from "./index-8k93esfr.js";
61
+ import"./index-7yxndzea.js";
62
+ import"./index-t02g6dpn.js";
63
+ import"./index-v4hnkqz9.js";
64
+ import"./index-zazvn45w.js";
65
+ import"./index-6dt6zft6.js";
66
+ import"./index-xfgdmm5d.js";
67
+ import"./index-da72pfdv.js";
68
68
  import {
69
69
  ContextScript
70
- } from "./index-2gh9sndr.js";
71
- import"./index-q44jbw48.js";
70
+ } from "./index-50rq2qms.js";
71
+ import"./index-860zjnr1.js";
72
72
 
73
73
  // pkgs/@akanjs/cli/workspace/workspace.runner.ts
74
74
  import path from "path";
package/README.ko.md DELETED
@@ -1,72 +0,0 @@
1
- # @akanjs/cli
2
-
3
- [문서](https://akanjs.com/docs) | [npm](https://www.npmjs.com/package/@akanjs/cli) | [런타임](https://www.npmjs.com/package/akanjs)
4
-
5
- Akan.js 워크스페이스를 위한 command-line tooling입니다.
6
-
7
- `@akanjs/cli`는 Akan 애플리케이션, 라이브러리, 프레임워크 패키지를 생성, 빌드, 테스트, 린트,
8
- 릴리즈, 유지보수하는 데 사용하는 `akan` 실행 파일을 제공합니다. Bun-first CLI 패키지이며 Akan
9
- 개발 tooling을 내부에 번들링하므로, 애플리케이션 런타임은 더 작은 `akanjs` 패키지에만 의존할 수
10
- 있습니다.
11
-
12
- ## 설치
13
-
14
- 새 워크스페이스를 바로 만들 수 있습니다.
15
-
16
- ```bash
17
- bunx create-akan-workspace@latest
18
- ```
19
-
20
- 또는 CLI를 전역으로 설치할 수 있습니다.
21
-
22
- ```bash
23
- bun install -g @akanjs/cli@latest
24
- akan --help
25
- ```
26
-
27
- ## 자주 쓰는 명령
28
-
29
- ```bash
30
- akan create-workspace <workspace-name>
31
- akan start <app-name>
32
- akan build <app-name>
33
- akan test <app-or-lib-or-pkg>
34
- akan lint <app-or-lib-or-pkg>
35
- akan create-application <app-name>
36
- akan create-library <lib-name>
37
- akan create-module <module-name>
38
- akan create-scalar <scalar-name>
39
- ```
40
-
41
- 패키지 유지보수 명령도 같은 실행 파일에서 제공합니다.
42
-
43
- ```bash
44
- akan build-package akanjs
45
- akan build-package @akanjs/cli
46
- akan build-package @akanjs/devkit
47
- akan build-package create-akan-workspace
48
- akan verify-akan-publish-packages
49
- akan smoke-registry --test=true --tag=rc
50
- ```
51
-
52
- Akan framework 패키지는 반드시 `dist/pkgs/*` 산출물 기준으로 publish합니다. `verify-akan-publish-packages`는
53
- 빌드된 패키지에 `npm pack --dry-run --json`을 실행하고, `deploy-akan` 또는 local registry smoke 전에 필요한
54
- metadata를 검증합니다.
55
- 저장소 릴리즈에서는 root `akan` bootstrap script가 CLI dist를 덮어쓰지 않도록
56
- `bun run release:build-packages && bun run release:verify-packages`를 우선 사용합니다.
57
-
58
- ## 패키지 경계
59
-
60
- - 애플리케이션과 런타임 코드는 `akanjs`를 사용합니다.
61
- - 사용자-facing 실행 패키지는 `@akanjs/cli`입니다.
62
- - `@akanjs/devkit`은 published CLI 사용을 위해 CLI 안에 번들링됩니다. 일반 CLI 사용자가 별도의
63
- runtime dependency로 설치할 필요는 없습니다.
64
-
65
- ## 요구사항
66
-
67
- - [Bun](https://bun.sh) `>=1.4.0`
68
- - TypeScript 기반 Akan 워크스페이스
69
-
70
- ## 라이선스
71
-
72
- MIT
package/README.md DELETED
@@ -1,88 +0,0 @@
1
- # @akanjs/cli
2
-
3
- [Docs](https://akanjs.com/docs) | [npm](https://www.npmjs.com/package/@akanjs/cli) | [Runtime](https://www.npmjs.com/package/akanjs)
4
-
5
- Command-line tooling for Akan.js workspaces.
6
-
7
- `@akanjs/cli` provides the `akan` executable used to create, build, test, lint, release, and maintain Akan
8
- applications, libraries, and framework packages. It is a Bun-first CLI package and bundles Akan development
9
- tooling internally so application runtimes can depend on the smaller `akanjs` package.
10
-
11
- ## Install
12
-
13
- Create a new workspace:
14
-
15
- ```bash
16
- bunx create-akan-workspace@latest
17
- ```
18
-
19
- Or install the CLI globally:
20
-
21
- ```bash
22
- bun install -g @akanjs/cli@latest
23
- akan --help
24
- ```
25
-
26
- ## Common Commands
27
-
28
- ```bash
29
- akan create-workspace <workspace-name>
30
- akan start <app-name>
31
- akan build <app-name>
32
- akan test <app-or-lib-or-pkg>
33
- akan lint <app-or-lib-or-pkg>
34
- akan create-application <app-name>
35
- akan create-library <lib-name>
36
- akan create-module <module-name>
37
- akan create-scalar <scalar-name>
38
- ```
39
-
40
- ## Agent And MCP Commands
41
-
42
- ```bash
43
- akan context --format markdown
44
- akan context --format json --module <module-name>
45
- akan doctor --format json
46
- akan guideline list
47
- akan guideline show framework
48
- akan agent install cursor
49
- akan mcp
50
- ```
51
-
52
- These commands expose Akan workspace structure, module abstracts, diagnostics, and guideline instructions for
53
- coding agents. The MCP server is read-only and is intended to provide context rather than edit files directly.
54
-
55
- Package maintenance commands are also exposed through the same executable:
56
-
57
- ```bash
58
- akan build-package akanjs
59
- akan build-package @akanjs/cli
60
- akan build-package @akanjs/devkit
61
- akan build-package create-akan-workspace
62
- akan verify-akan-publish-packages
63
- akan smoke-registry --test=true --tag=rc
64
- ```
65
-
66
- Publish Akan framework packages from `dist/pkgs/*` only. `verify-akan-publish-packages` runs `npm pack --dry-run --json`
67
- against the built packages and checks metadata that must be correct before `deploy-akan` or local registry smoke.
68
- For repository releases, prefer `bun run release:build-packages && bun run release:verify-packages` so the CLI package
69
- artifact is built last and is not overwritten by the root `akan` bootstrap script.
70
-
71
- ## Package Boundary
72
-
73
- - Use `akanjs` from application and runtime code.
74
- - Use `@akanjs/cli` as the user-facing executable package.
75
- - `@akanjs/devkit` is bundled into the CLI for published CLI usage; it is not required as a separate
76
- runtime dependency for ordinary CLI users.
77
- - The `akan code` agent follows that same split: its engine, tools and skills are a devkit facet
78
- (`@akanjs/devkit/codeAgent`), and `@akanjs/cli/code` is the terminal host plus the SDK entry that
79
- re-exports both.
80
-
81
- ## Requirements
82
-
83
- - [Bun](https://bun.sh) `>=1.4.0`
84
- - A TypeScript Akan workspace
85
-
86
- ## License
87
-
88
- MIT
@@ -1,9 +0,0 @@
1
- // @bun
2
- import {
3
- TunnelShare2
4
- } from "./index-smme4r47.js";
5
- import"./index-22d57v4c.js";
6
- import"./index-5b6tavv3.js";
7
- export {
8
- TunnelShare2 as TunnelShare
9
- };
@@ -1,20 +0,0 @@
1
- // @bun
2
- import {
3
- CloudScript2
4
- } from "./index-jn07hxrr.js";
5
- import"./index-yjkte9aj.js";
6
- import"./index-mgfx3mfs.js";
7
- import"./index-jg5e15db.js";
8
- import"./index-q44jbw48.js";
9
- import"./index-1db2cw0y.js";
10
- import"./index-ys6f0bvh.js";
11
- import"./index-22d57v4c.js";
12
- import"./index-rmcw8yc8.js";
13
- import"./index-7md2g9vw.js";
14
- import"./index-khpfpcsd.js";
15
- import"./index-ga6hygxr.js";
16
- import"./index-3t7g9e4r.js";
17
- import"./index-5b6tavv3.js";
18
- export {
19
- CloudScript2 as CloudScript
20
- };
@@ -1,21 +0,0 @@
1
- // @bun
2
- import {
3
- ContextRunner2
4
- } from "./index-vj1cwwy5.js";
5
- import"./index-m0ms3n1c.js";
6
- import"./index-pp54p5zk.js";
7
- import"./index-wp43xrjv.js";
8
- import"./index-ya5qbmyg.js";
9
- import"./index-tgjy8xf3.js";
10
- import"./index-rnt66vym.js";
11
- import"./index-ys6f0bvh.js";
12
- import"./index-9629w7ns.js";
13
- import"./index-yy4s1j72.js";
14
- import"./index-0bq14vr1.js";
15
- import"./index-rmcw8yc8.js";
16
- import"./index-ga6hygxr.js";
17
- import"./index-hj6w4ka1.js";
18
- import"./index-5b6tavv3.js";
19
- export {
20
- ContextRunner2 as ContextRunner
21
- };