@akanjs/cli 3.0.0-alpha.5 → 3.0.0-alpha.50

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 (110) hide show
  1. package/.build-stamp +1 -1
  2. package/README.ko.md +1 -1
  3. package/README.md +1 -1
  4. package/{abstractCompactor-e5yq60qz.js → abstractCompactor-20e0cwbs.js} +2 -2
  5. package/{agent.command-b0fcx3r2.js → agent.command-nqs3bw0g.js} +8 -7
  6. package/{application.command-cgmy00gd.js → application.command-k2v46pxf.js} +7 -6
  7. package/{applicationBuildRunner-n1svrwgt.js → applicationBuildRunner-t5v6tcrm.js} +6 -7
  8. package/{applicationReleasePackager-gg8ccbeh.js → applicationReleasePackager-93nzdfsy.js} +1 -1
  9. package/buildBatch.proc.js +6 -5
  10. package/{capacitorApp-yyw35vg4.js → capacitorApp-927ahhz2.js} +29 -26
  11. package/{cloud.command-1m7hfdpk.js → cloud.command-7jwmxtez.js} +11 -10
  12. package/{context.command-b5heat2a.js → context.command-6kn3tady.js} +16 -15
  13. package/{dependencyScanner-f6grrep3.js → dependencyScanner-rbs2407b.js} +1 -1
  14. package/getDirname-ka11hm7e.js +8 -0
  15. package/{guideline.command-9ew6aqhm.js → guideline.command-pjdrndqk.js} +7 -6
  16. package/guidelines/agentRule/agentRule.generate.json +31 -0
  17. package/guidelines/agentRule/agentRule.instruction.md +413 -0
  18. package/guidelines/conventions/conventions.generate.json +25 -0
  19. package/guidelines/conventions/conventions.instruction.md +752 -0
  20. package/guidelines/cssRule/cssRule.instruction.md +7 -0
  21. package/guidelines/framework/framework.instruction.md +1 -0
  22. package/guidelines/mcpRule/mcpRule.generate.json +25 -0
  23. package/guidelines/mcpRule/mcpRule.instruction.md +164 -0
  24. package/guidelines/workspaceOnboarding/workspaceOnboarding.generate.json +24 -0
  25. package/guidelines/workspaceOnboarding/workspaceOnboarding.instruction.md +638 -0
  26. package/incrementalBuilder.proc.js +7 -6
  27. package/index-1577bej2.js +7 -0
  28. package/{index-jn9vfpwz.js → index-24h5bqpj.js} +54 -15
  29. package/{index-hrwzz2wf.js → index-4z05haak.js} +1 -1
  30. package/{index-m4kpmmtj.js → index-5em412h5.js} +1 -1
  31. package/{index-6npsfpxr.js → index-5fe016p2.js} +3 -3
  32. package/{index-bjpxzr6s.js → index-5vy2jzar.js} +1 -1
  33. package/{index-exhpp31y.js → index-6bs24rb4.js} +15 -7
  34. package/{index-nx1vbtsc.js → index-7etegaht.js} +14 -14
  35. package/{index-wrrb8rxk.js → index-7w5vv8jk.js} +4 -4
  36. package/{index-meh7mmz9.js → index-7zd96bng.js} +8 -4
  37. package/{index-p69fcwe1.js → index-866yqz3y.js} +13 -13
  38. package/{index-jkynkyfk.js → index-8rr621r2.js} +5 -3
  39. package/{index-47qxw1tz.js → index-90zyjrby.js} +170 -65
  40. package/{index-pfrt7qwh.js → index-97cw8sg1.js} +4 -4
  41. package/{index-p6txr1ss.js → index-bwt525ne.js} +9 -11
  42. package/{index-qp089jp0.js → index-j37qq1f2.js} +1 -1
  43. package/{index-c94nq3c1.js → index-k7sm38v6.js} +3 -3
  44. package/{index-j9cxndc0.js → index-qnv0aqmm.js} +9 -6
  45. package/{index-0cj2zxbm.js → index-sh01r3pm.js} +1 -1
  46. package/{index-0fj4yg7k.js → index-wr999y03.js} +105 -227
  47. package/{index-nfxq39kj.js → index-xe3ychw5.js} +37 -6
  48. package/{index-60a3jfcz.js → index-xrdrttjb.js} +8 -8
  49. package/{index-mn96y1nk.js → index-y59x51f1.js} +6 -6
  50. package/{index-mterpj70.js → index-zgkey4d0.js} +86 -17
  51. package/index.js +20 -19
  52. package/{library.command-aa1g8nsa.js → library.command-7h3yezwc.js} +5 -4
  53. package/{localRegistry.command-kshva1ck.js → localRegistry.command-vnkc41gj.js} +10 -9
  54. package/{module.command-b1zzgqde.js → module.command-4g11k3xd.js} +9 -8
  55. package/{package.command-9qv6vr9s.js → package.command-z7dd6vy2.js} +5 -4
  56. package/package.json +3 -4
  57. package/{page.command-k16pw244.js → page.command-y996708m.js} +5 -4
  58. package/{primitive.command-s60dn1ae.js → primitive.command-4fcn8k83.js} +10 -9
  59. package/{quality.command-p3vaze52.js → quality.command-hx5af2yn.js} +193 -112
  60. package/{recipeScanner-tghkzrrt.js → recipeScanner-zrzev25x.js} +3 -3
  61. package/{repair.command-mfv749ha.js → repair.command-ysxd8pef.js} +7 -6
  62. package/{routeSourceValidator-cncd92fv.js → routeSourceValidator-7fycdqyv.js} +3 -39
  63. package/{scalar.command-hs3nwzv1.js → scalar.command-3chgxybs.js} +8 -7
  64. package/templates/app/env/env.server.debug.ts.template +1 -5
  65. package/templates/app/env/env.server.develop.ts.template +1 -5
  66. package/templates/app/env/env.server.local.ts.template +1 -5
  67. package/templates/app/env/env.server.main.ts.template +1 -5
  68. package/templates/app/page/styles.css.template +3 -3
  69. package/templates/appSample/srvkit/AuthGuard.ts +9 -5
  70. package/templates/appSample/srvkit/SessionInternalArg.ts +4 -3
  71. package/templates/crudPages/[__model__Id]/edit/page.tsx +1 -1
  72. package/templates/crudPages/new/page.tsx +1 -1
  73. package/templates/crudSinglePage/page.tsx +1 -1
  74. package/templates/env/_env.server.type.ts +7 -5
  75. package/templates/lib/db.ts +1 -1
  76. package/templates/lib/dict.ts +1 -1
  77. package/templates/lib/sig.ts +1 -1
  78. package/templates/lib/srv.ts +6 -2
  79. package/templates/module/__Model__.Util.tsx +1 -1
  80. package/templates/module/__Model__.Zone.tsx +3 -5
  81. package/templates/workspaceRoot/AGENTS.md.template +0 -967
  82. package/templates/workspaceRoot/CLAUDE.md.template +19 -0
  83. package/templates/workspaceRoot/biome.json.template +4 -220
  84. package/templates/workspaceRoot/docs/AI-DEVELOPMENT.md.template +15 -16
  85. package/templates/workspaceRoot/docs/GENERATED.md.template +12 -10
  86. package/{typeChecker-kravn7ns.js → typeChecker-g6bh0xfv.js} +1 -1
  87. package/typecheck.proc.js +1 -1
  88. package/{workflow.command-z0e0fk0z.js → workflow.command-endxfzv5.js} +15 -14
  89. package/{workspace.command-3q1d6kk4.js → workspace.command-5f2nmmd5.js} +70 -52
  90. package/templates/workspaceRoot/.cursor/rules/akan-page-routing.mdc.template +0 -43
  91. package/templates/workspaceRoot/.cursor/rules/akan-sync-conventions.mdc.template +0 -34
  92. package/templates/workspaceRoot/.cursor/rules/application-test-commands.mdc.template +0 -16
  93. package/templates/workspaceRoot/.cursor/rules/change-scope.mdc.template +0 -12
  94. package/templates/workspaceRoot/.cursor/rules/client-server-boundaries.mdc.template +0 -18
  95. package/templates/workspaceRoot/.cursor/rules/coding-comments.mdc.template +0 -25
  96. package/templates/workspaceRoot/.cursor/rules/coding-style.mdc.template +0 -44
  97. package/templates/workspaceRoot/.cursor/rules/domain-module-conventions.mdc.template +0 -17
  98. package/templates/workspaceRoot/.cursor/rules/format-lint.mdc.template +0 -12
  99. package/templates/workspaceRoot/.cursor/rules/lint-enforced-rules.mdc.template +0 -18
  100. package/templates/workspaceRoot/.cursor/rules/module-file-playbook.mdc.template +0 -61
  101. package/templates/workspaceRoot/.cursor/rules/naming-conventions.mdc.template +0 -15
  102. package/templates/workspaceRoot/.cursor/rules/react-component-style.mdc.template +0 -21
  103. package/templates/workspaceRoot/.cursor/rules/repo-overview.mdc.template +0 -17
  104. package/templates/workspaceRoot/.cursor/rules/scalar-modeling.mdc.template +0 -58
  105. package/templates/workspaceRoot/.cursor/rules/secrets-and-env.mdc.template +0 -13
  106. package/templates/workspaceRoot/.cursor/rules/service-signal-conventions.mdc.template +0 -83
  107. package/templates/workspaceRoot/.cursor/rules/srvkit-adapters-and-guards.mdc.template +0 -50
  108. package/templates/workspaceRoot/.cursor/rules/ssr-first.mdc.template +0 -59
  109. package/templates/workspaceRoot/.cursor/rules/typescript-imports.mdc.template +0 -16
  110. /package/{index-r24hmh0q.js → index-yb2wsc7f.js} +0 -0
package/.build-stamp CHANGED
@@ -1 +1 @@
1
- a0eaadfb9b58c3aa21817d33fb8bc0ad7889c719fb293715682a39a426dc01b9
1
+ fc931b5c84401e9bf2bda97ced4e93b6df47eb3293b40b306161d09542b821d7
package/README.ko.md CHANGED
@@ -64,7 +64,7 @@ metadata를 검증합니다.
64
64
 
65
65
  ## 요구사항
66
66
 
67
- - [Bun](https://bun.sh) `>=1.3.13`
67
+ - [Bun](https://bun.sh) `>=1.4.0`
68
68
  - TypeScript 기반 Akan 워크스페이스
69
69
 
70
70
  ## 라이선스
package/README.md CHANGED
@@ -77,7 +77,7 @@ artifact is built last and is not overwritten by the root `akan` bootstrap scrip
77
77
 
78
78
  ## Requirements
79
79
 
80
- - [Bun](https://bun.sh) `>=1.3.13`
80
+ - [Bun](https://bun.sh) `>=1.4.0`
81
81
  - A TypeScript Akan workspace
82
82
 
83
83
  ## License
@@ -1,13 +1,13 @@
1
1
  // @bun
2
2
  import {
3
3
  AiSession
4
- } from "./index-0cj2zxbm.js";
4
+ } from "./index-sh01r3pm.js";
5
5
  import {
6
6
  AbstractDoc
7
7
  } from "./index-0wae5ebk.js";
8
8
  import"./index-mxvakhsm.js";
9
9
  import"./index-67546d0j.js";
10
- import"./index-r24hmh0q.js";
10
+ import"./index-yb2wsc7f.js";
11
11
 
12
12
  // pkgs/@akanjs/devkit/abstractCompactor.ts
13
13
  import { Logger } from "akanjs/common";
@@ -1,19 +1,20 @@
1
1
  // @bun
2
2
  import {
3
3
  AgentScript
4
- } from "./index-nfxq39kj.js";
5
- import"./index-jn9vfpwz.js";
6
- import"./index-m4kpmmtj.js";
7
- import"./index-qp089jp0.js";
4
+ } from "./index-xe3ychw5.js";
5
+ import"./index-24h5bqpj.js";
6
+ import"./index-5em412h5.js";
7
+ import"./index-j37qq1f2.js";
8
8
  import {
9
9
  Workspace,
10
10
  command
11
- } from "./index-jkynkyfk.js";
12
- import"./index-47qxw1tz.js";
11
+ } from "./index-8rr621r2.js";
12
+ import"./index-90zyjrby.js";
13
13
  import"./index-mxvakhsm.js";
14
14
  import"./index-xys926f2.js";
15
+ import"./index-1577bej2.js";
15
16
  import"./index-67546d0j.js";
16
- import"./index-r24hmh0q.js";
17
+ import"./index-yb2wsc7f.js";
17
18
 
18
19
  // pkgs/@akanjs/cli/agent/agent.command.ts
19
20
  class AgentCommand extends command("agent", [AgentScript], ({ public: target }) => ({
@@ -4,24 +4,25 @@ import {
4
4
  } from "./index-0wae5ebk.js";
5
5
  import {
6
6
  ApplicationScript
7
- } from "./index-nx1vbtsc.js";
7
+ } from "./index-7etegaht.js";
8
+ import"./index-6bs24rb4.js";
8
9
  import {
9
10
  getMobileTargetChoices
10
11
  } from "./index-76rn3g2c.js";
11
- import"./index-exhpp31y.js";
12
12
  import {
13
13
  App,
14
14
  Exec,
15
15
  Sys,
16
16
  Workspace,
17
17
  command
18
- } from "./index-jkynkyfk.js";
18
+ } from "./index-8rr621r2.js";
19
19
  import"./index-fgc8r6dj.js";
20
- import"./index-bjpxzr6s.js";
21
- import"./index-47qxw1tz.js";
20
+ import"./index-5vy2jzar.js";
21
+ import"./index-90zyjrby.js";
22
22
  import"./index-mxvakhsm.js";
23
+ import"./index-1577bej2.js";
23
24
  import"./index-67546d0j.js";
24
- import"./index-r24hmh0q.js";
25
+ import"./index-yb2wsc7f.js";
25
26
 
26
27
  // pkgs/@akanjs/cli/application/application.command.ts
27
28
  import { select } from "@inquirer/prompts";
@@ -4,14 +4,14 @@ import {
4
4
  CsrArtifactBuilder,
5
5
  SsrBaseArtifactBuilder,
6
6
  precompressArtifacts
7
- } from "./index-0fj4yg7k.js";
7
+ } from "./index-wr999y03.js";
8
8
  import"./index-xjd3rqzj.js";
9
- import"./index-j9cxndc0.js";
10
- import"./index-bjpxzr6s.js";
9
+ import"./index-qnv0aqmm.js";
10
+ import"./index-5vy2jzar.js";
11
11
  import {
12
12
  Spinner
13
13
  } from "./index-mxvakhsm.js";
14
- import"./index-r24hmh0q.js";
14
+ import"./index-yb2wsc7f.js";
15
15
 
16
16
  // pkgs/@akanjs/devkit/applicationBuildRunner.ts
17
17
  import { mkdir, rm } from "fs/promises";
@@ -39,7 +39,6 @@ var SSR_RENDER_EXTERNALS = [
39
39
  var AKAN_OPTIONAL_BACKEND_EXTERNALS = [
40
40
  "@libsql/client",
41
41
  "bullmq",
42
- "croner",
43
42
  "ioredis",
44
43
  "postgres",
45
44
  "protobufjs"
@@ -287,6 +286,6 @@ void run().catch((error) => {
287
286
  }
288
287
  }
289
288
  export {
290
- ApplicationBuildRunner,
291
- AKAN_OPTIONAL_BACKEND_EXTERNALS
289
+ AKAN_OPTIONAL_BACKEND_EXTERNALS,
290
+ ApplicationBuildRunner
292
291
  };
@@ -5,7 +5,7 @@ import {
5
5
  import {
6
6
  FileSys
7
7
  } from "./index-67546d0j.js";
8
- import"./index-r24hmh0q.js";
8
+ import"./index-yb2wsc7f.js";
9
9
 
10
10
  // pkgs/@akanjs/devkit/applicationReleasePackager.ts
11
11
  import { cp, mkdir, rm } from "fs/promises";
@@ -5,17 +5,18 @@ import {
5
5
  FontOptimizer,
6
6
  PagesBundleBuilder,
7
7
  SsrBaseArtifactBuilder
8
- } from "./index-0fj4yg7k.js";
8
+ } from "./index-wr999y03.js";
9
9
  import"./index-xjd3rqzj.js";
10
- import"./index-j9cxndc0.js";
11
- import"./index-bjpxzr6s.js";
10
+ import"./index-qnv0aqmm.js";
11
+ import"./index-5vy2jzar.js";
12
12
  import {
13
13
  AppExecutor,
14
14
  WorkspaceExecutor
15
- } from "./index-47qxw1tz.js";
15
+ } from "./index-90zyjrby.js";
16
16
  import"./index-mxvakhsm.js";
17
+ import"./index-1577bej2.js";
17
18
  import"./index-67546d0j.js";
18
- import"./index-r24hmh0q.js";
19
+ import"./index-yb2wsc7f.js";
19
20
 
20
21
  // pkgs/@akanjs/devkit/incrementalBuilder/buildBatch.proc.ts
21
22
  import path from "path";
@@ -11,6 +11,7 @@ import {
11
11
  formatAndroidReleaseSigningError,
12
12
  formatIosRunFailureMessage,
13
13
  getAdbDeviceStateIssues,
14
+ getAndroidLocalServerHost,
14
15
  getMissingAndroidReleaseSigningKeys,
15
16
  isPlaceholderAppId,
16
17
  materializeCapacitorConfig,
@@ -24,35 +25,37 @@ import {
24
25
  selectLocalDevHost,
25
26
  sortIosRunTargets,
26
27
  writeRootCapacitorConfig
27
- } from "./index-mterpj70.js";
28
+ } from "./index-zgkey4d0.js";
28
29
  import"./index-76rn3g2c.js";
29
- import"./index-47qxw1tz.js";
30
+ import"./index-90zyjrby.js";
30
31
  import"./index-mxvakhsm.js";
32
+ import"./index-1577bej2.js";
31
33
  import"./index-67546d0j.js";
32
- import"./index-r24hmh0q.js";
34
+ import"./index-yb2wsc7f.js";
33
35
  export {
34
- writeRootCapacitorConfig,
35
- sortIosRunTargets,
36
- selectLocalDevHost,
37
- sanitizeIosNativeRunEnv,
38
- rootCapacitorConfigPaths,
39
- rootCapacitorConfigFilenames,
40
- raiseGradleMinSdkVersion,
41
- parseSimctlDevices,
42
- parseIosRuntimeMajor,
43
- parseDevicectlDevices,
44
- materializeCapacitorConfig,
45
- isPlaceholderAppId,
46
- getMissingAndroidReleaseSigningKeys,
47
- getAdbDeviceStateIssues,
48
- formatIosRunFailureMessage,
49
- formatAndroidReleaseSigningError,
50
- clearRootCapacitorConfigs,
51
- classifyIosRunFailure,
52
- buildIosNativeRunCommand,
53
- assertJsonSerializable,
54
- SWIFTUICORE_MIN_IOS_MAJOR,
55
- PLACEHOLDER_APP_IDS,
36
+ ANDROID_MIN_SDK_VERSION,
56
37
  CapacitorApp,
57
- ANDROID_MIN_SDK_VERSION
38
+ PLACEHOLDER_APP_IDS,
39
+ SWIFTUICORE_MIN_IOS_MAJOR,
40
+ assertJsonSerializable,
41
+ buildIosNativeRunCommand,
42
+ classifyIosRunFailure,
43
+ clearRootCapacitorConfigs,
44
+ formatAndroidReleaseSigningError,
45
+ formatIosRunFailureMessage,
46
+ getAdbDeviceStateIssues,
47
+ getAndroidLocalServerHost,
48
+ getMissingAndroidReleaseSigningKeys,
49
+ isPlaceholderAppId,
50
+ materializeCapacitorConfig,
51
+ parseDevicectlDevices,
52
+ parseIosRuntimeMajor,
53
+ parseSimctlDevices,
54
+ raiseGradleMinSdkVersion,
55
+ rootCapacitorConfigFilenames,
56
+ rootCapacitorConfigPaths,
57
+ sanitizeIosNativeRunEnv,
58
+ selectLocalDevHost,
59
+ sortIosRunTargets,
60
+ writeRootCapacitorConfig
58
61
  };
@@ -1,26 +1,27 @@
1
1
  // @bun
2
2
  import {
3
3
  CloudScript
4
- } from "./index-mn96y1nk.js";
5
- import"./index-p6txr1ss.js";
6
- import"./index-meh7mmz9.js";
4
+ } from "./index-y59x51f1.js";
5
+ import"./index-bwt525ne.js";
6
+ import"./index-7zd96bng.js";
7
7
  import {
8
8
  GlobalConfig
9
- } from "./index-0cj2zxbm.js";
10
- import"./index-nx1vbtsc.js";
9
+ } from "./index-sh01r3pm.js";
10
+ import"./index-7etegaht.js";
11
+ import"./index-6bs24rb4.js";
11
12
  import"./index-76rn3g2c.js";
12
- import"./index-exhpp31y.js";
13
13
  import {
14
14
  Workspace,
15
15
  command
16
- } from "./index-jkynkyfk.js";
16
+ } from "./index-8rr621r2.js";
17
17
  import"./index-fgc8r6dj.js";
18
- import"./index-bjpxzr6s.js";
19
- import"./index-47qxw1tz.js";
18
+ import"./index-5vy2jzar.js";
19
+ import"./index-90zyjrby.js";
20
20
  import"./index-mxvakhsm.js";
21
+ import"./index-1577bej2.js";
21
22
  import"./index-46tjzh6s.js";
22
23
  import"./index-67546d0j.js";
23
- import"./index-r24hmh0q.js";
24
+ import"./index-yb2wsc7f.js";
24
25
 
25
26
  // pkgs/@akanjs/cli/cloud/cloud.command.ts
26
27
  var localRegistryUrl = () => process.env.AKAN_NPM_REGISTRY ?? "http://127.0.0.1:4873";
@@ -1,29 +1,30 @@
1
1
  // @bun
2
2
  import {
3
3
  ContextScript
4
- } from "./index-p69fcwe1.js";
5
- import"./index-6npsfpxr.js";
6
- import"./index-c94nq3c1.js";
7
- import"./index-pfrt7qwh.js";
8
- import"./index-60a3jfcz.js";
9
- import"./index-hrwzz2wf.js";
10
- import"./index-wrrb8rxk.js";
4
+ } from "./index-866yqz3y.js";
5
+ import"./index-5fe016p2.js";
6
+ import"./index-k7sm38v6.js";
7
+ import"./index-7w5vv8jk.js";
8
+ import"./index-97cw8sg1.js";
9
+ import"./index-xrdrttjb.js";
11
10
  import"./index-ss469dec.js";
12
- import"./index-mterpj70.js";
13
- import"./index-0cj2zxbm.js";
14
- import"./index-jn9vfpwz.js";
15
- import"./index-m4kpmmtj.js";
16
- import"./index-qp089jp0.js";
11
+ import"./index-4z05haak.js";
12
+ import"./index-zgkey4d0.js";
13
+ import"./index-sh01r3pm.js";
14
+ import"./index-24h5bqpj.js";
15
+ import"./index-5em412h5.js";
16
+ import"./index-j37qq1f2.js";
17
17
  import"./index-76rn3g2c.js";
18
18
  import {
19
19
  Workspace,
20
20
  command
21
- } from "./index-jkynkyfk.js";
22
- import"./index-47qxw1tz.js";
21
+ } from "./index-8rr621r2.js";
22
+ import"./index-90zyjrby.js";
23
23
  import"./index-mxvakhsm.js";
24
24
  import"./index-xys926f2.js";
25
+ import"./index-1577bej2.js";
25
26
  import"./index-67546d0j.js";
26
- import"./index-r24hmh0q.js";
27
+ import"./index-yb2wsc7f.js";
27
28
 
28
29
  // pkgs/@akanjs/cli/context/context.command.ts
29
30
  class ContextCommand extends command("context", [ContextScript], ({ public: target }) => ({
@@ -3,7 +3,7 @@ import {
3
3
  TypeScriptDependencyScanner
4
4
  } from "./index-46tjzh6s.js";
5
5
  import"./index-67546d0j.js";
6
- import"./index-r24hmh0q.js";
6
+ import"./index-yb2wsc7f.js";
7
7
  export {
8
8
  TypeScriptDependencyScanner
9
9
  };
@@ -0,0 +1,8 @@
1
+ // @bun
2
+ import {
3
+ getDirname
4
+ } from "./index-1577bej2.js";
5
+ import"./index-yb2wsc7f.js";
6
+ export {
7
+ getDirname
8
+ };
@@ -1,24 +1,25 @@
1
1
  // @bun
2
2
  import {
3
3
  AiSession
4
- } from "./index-0cj2zxbm.js";
4
+ } from "./index-sh01r3pm.js";
5
5
  import {
6
6
  Prompter
7
- } from "./index-qp089jp0.js";
7
+ } from "./index-j37qq1f2.js";
8
8
  import {
9
9
  Workspace,
10
10
  command,
11
11
  runner,
12
12
  script
13
- } from "./index-jkynkyfk.js";
13
+ } from "./index-8rr621r2.js";
14
+ import"./index-90zyjrby.js";
15
+ import"./index-mxvakhsm.js";
14
16
  import {
15
17
  getDirname
16
- } from "./index-47qxw1tz.js";
17
- import"./index-mxvakhsm.js";
18
+ } from "./index-1577bej2.js";
18
19
  import {
19
20
  FileSys
20
21
  } from "./index-67546d0j.js";
21
- import"./index-r24hmh0q.js";
22
+ import"./index-yb2wsc7f.js";
22
23
 
23
24
  // pkgs/@akanjs/cli/guideline/guideline.script.ts
24
25
  import { Logger } from "akanjs/common";
@@ -0,0 +1,31 @@
1
+ {
2
+ "title": "In-Page Agent Rule",
3
+ "description": "How an akan screen exposes itself to an in-page agent — st.tool, subscribed keys, built-ins, and the chat",
4
+ "group": "core",
5
+ "codegenPriority": 4,
6
+ "deprecated": false,
7
+ "scans": [
8
+ {
9
+ "type": "example",
10
+ "description": "Components publishing an agent tool beside the control that already performs the action",
11
+ "path": "{apps,libs}/*/**/*.tsx",
12
+ "sample": 4
13
+ }
14
+ ],
15
+ "update": {
16
+ "filePath": "./agentRule.instruction.md",
17
+ "contents": [
18
+ "what a declaration publishes",
19
+ "mounting the chat",
20
+ "publishing a tool",
21
+ "forms and reading state",
22
+ "built-in tools"
23
+ ],
24
+ "rules": [
25
+ "Use current Akan APIs only",
26
+ "State the rule before the reason, and keep the reason to one clause",
27
+ "Never describe a store class as an exposure surface — only st.tool and subscribed keys publish",
28
+ "Keep it workspace-neutral — no app or repo names"
29
+ ]
30
+ }
31
+ }