@akanjs/cli 3.2.0-rc.3 → 3.2.0-rc.5

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 (74) hide show
  1. package/.build-stamp +2 -1
  2. package/{CodeAgent-e9c712an.js → CodeAgent-4a2skdph.js} +3 -3
  3. package/{CodeTui-wv9yf7eq.js → CodeTui-enrzsnzc.js} +1 -1
  4. package/{TunnelShare-zkfkrw8w.js → TunnelShare-xs5rrpf1.js} +5 -5
  5. package/{agent.command-9erafkcb.js → agent.command-y22t9x1e.js} +11 -11
  6. package/akanCode.js +3 -3
  7. package/{application.command-6515t682.js → application.command-yhj5arwc.js} +10 -10
  8. package/{applicationBuildRunner-bqbyeg84.js → applicationBuildRunner-6w1fd61b.js} +5 -5
  9. package/buildBatch.proc.js +4 -4
  10. package/{cloud.command-32esk0v1.js → cloud.command-bqfh4cnx.js} +13 -13
  11. package/{cloud.script-arsagnq6.js → cloud.script-8jvfw1sh.js} +13 -13
  12. package/{code.command-xk7rwq2x.js → code.command-y94hwxsn.js} +5 -5
  13. package/{context.command-jwenkkf0.js → context.command-xz65fhrn.js} +15 -15
  14. package/context.runner-dpt5wjb7.js +29 -0
  15. package/{devTui-cd03z4mx.js → devTui-h77zrjv5.js} +1 -1
  16. package/{guideline.command-w6yqpdec.js → guideline.command-sn843nw6.js} +1 -1
  17. package/guidelines/conventions/rules/page.md +4 -0
  18. package/guidelines/pageRule/pageRule.instruction.md +5 -0
  19. package/guidelines/runtimeRule/runtimeRule.instruction.md +5 -1
  20. package/guidelines/transportRule/transportRule.instruction.md +5 -0
  21. package/incrementalBuilder.proc.js +2 -2
  22. package/{index-xrmrvafh.js → index-02b8qvww.js} +2 -2
  23. package/{index-j1hjb477.js → index-2rcptfyp.js} +1 -1
  24. package/{index-84c2pgak.js → index-3rff2c48.js} +1 -0
  25. package/{index-dpgywgeq.js → index-3wen6ddy.js} +1 -1
  26. package/{index-43acpsc7.js → index-49y45vbj.js} +9 -9
  27. package/{index-8gm4yag8.js → index-4mgabs8t.js} +4 -4
  28. package/{index-ytpmk3pb.js → index-50mg8bsm.js} +4 -4
  29. package/{index-20wvskt8.js → index-5hhe0rdd.js} +1 -1
  30. package/{index-kcpk2d20.js → index-5qq6qky3.js} +8 -8
  31. package/{index-vbhx60x5.js → index-5w8amdr7.js} +1 -1
  32. package/{index-bdmgqzb5.js → index-8vxdsqra.js} +35 -22
  33. package/{index-ddk49ypz.js → index-ah09graf.js} +53 -26
  34. package/{index-sc0g6zbm.js → index-b4qq3rq0.js} +23 -10
  35. package/{index-2eym1yjb.js → index-b9q5aw30.js} +10 -10
  36. package/{index-ngpt3zz3.js → index-fqx74yxn.js} +11 -8
  37. package/{index-djc5nxpy.js → index-g43360sn.js} +2 -2
  38. package/{index-bak9f2br.js → index-gsty3pkx.js} +5 -1
  39. package/{index-386canwe.js → index-hkq0q73d.js} +44 -25
  40. package/{index-s34v3y28.js → index-jgj6ajnk.js} +4 -4
  41. package/{index-zhkcab5a.js → index-jqsj5wjb.js} +1 -1
  42. package/{index-54s6knqe.js → index-jrdp7c4h.js} +2 -2
  43. package/{index-wr9magsr.js → index-jxaq2evq.js} +1 -1
  44. package/{index-h0p6n4k1.js → index-kgxhwgdk.js} +3 -3
  45. package/{index-6h775rv3.js → index-kjmrkc45.js} +4 -4
  46. package/{index-qrk06tfp.js → index-kr8dvqnr.js} +1 -1
  47. package/{index-j4hkbzj6.js → index-qrp98bmp.js} +4 -4
  48. package/{index-0ba8nj4d.js → index-sjj3ywn5.js} +16 -9
  49. package/index-va90m8nd.js +25 -0
  50. package/{index-e22zedc2.js → index-vftjqv28.js} +2 -2
  51. package/{index-2rqyrvcy.js → index-w15hnxmb.js} +5 -5
  52. package/{index-zcdmnfrf.js → index-w88xghey.js} +6 -6
  53. package/{index-7kmbqp0b.js → index-z9b72teg.js} +1 -1
  54. package/index.js +22 -22
  55. package/{library.command-qs8beggh.js → library.command-6eafevmj.js} +2 -2
  56. package/{localRegistry.command-hz4ged9n.js → localRegistry.command-9tef2qsj.js} +12 -12
  57. package/{module.command-z9js77m2.js → module.command-pn1k7dfk.js} +9 -5
  58. package/{package.command-zqenq8c0.js → package.command-kbg9z7re.js} +2 -2
  59. package/package.json +2 -2
  60. package/{page.command-t0nx1jat.js → page.command-st0y2xg8.js} +2 -2
  61. package/{pipeline.command-2yjeas7m.js → pipeline.command-76m32y7z.js} +1 -1
  62. package/{primitive.command-v5kypwy4.js → primitive.command-ax6wg70s.js} +5 -5
  63. package/{quality.command-q55j2htd.js → quality.command-0gzskga8.js} +2 -2
  64. package/{repair.command-7ssbbdq2.js → repair.command-g5kc3x89.js} +4 -4
  65. package/{scalar.command-p5jb7z57.js → scalar.command-ck8621dy.js} +3 -3
  66. package/skills/akan-debug/SKILL.md +6 -2
  67. package/skills/akan-transport/SKILL.md +2 -0
  68. package/{subspace.command-7wxy6ptj.js → subspace.command-vh6dye0v.js} +6 -6
  69. package/{tunnel.command-22g11n0x.js → tunnel.command-4mezrypt.js} +6 -6
  70. package/{verify.command-m0wnndd7.js → verify.command-f2n4bwp7.js} +8 -8
  71. package/{workflow.command-jx8dqs9n.js → workflow.command-bx9xwgs5.js} +9 -9
  72. package/{workspace.command-ca9kfyt3.js → workspace.command-04qgwsst.js} +27 -27
  73. package/context.runner-mqpp67br.js +0 -29
  74. package/index-x3x31df8.js +0 -14
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akanjs/cli",
3
- "version": "3.2.0-rc.3",
3
+ "version": "3.2.0-rc.5",
4
4
  "sourceType": "module",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -39,7 +39,7 @@
39
39
  "@earendil-works/pi-tui": "1.3.0",
40
40
  "@inquirer/prompts": "^8.7.3",
41
41
  "@tailwindcss/node": "^4.3.3",
42
- "akanjs": "3.2.0-rc.3",
42
+ "akanjs": "3.2.0-rc.5",
43
43
  "chalk": "^6.0.1",
44
44
  "commander": "^15.0.0",
45
45
  "dayjs": "^1.11.23",
@@ -3,12 +3,12 @@ import {
3
3
  App,
4
4
  Module,
5
5
  command
6
- } from "./index-386canwe.js";
6
+ } from "./index-hkq0q73d.js";
7
7
  import"./index-bns3wcpc.js";
8
8
  import"./index-wfmpxke3.js";
9
9
  import {
10
10
  PageScript
11
- } from "./index-7kmbqp0b.js";
11
+ } from "./index-z9b72teg.js";
12
12
 
13
13
  // pkgs/@akanjs/cli/page/page.command.ts
14
14
  class PageCommand extends command("page", [PageScript], ({ public: target }) => ({
@@ -4,7 +4,7 @@ import {
4
4
  runner,
5
5
  script,
6
6
  command
7
- } from "./index-386canwe.js";
7
+ } from "./index-hkq0q73d.js";
8
8
  import {
9
9
  FileSys2
10
10
  } from "./index-bns3wcpc.js";
@@ -2,18 +2,18 @@
2
2
  import {
3
3
  Workspace,
4
4
  command
5
- } from "./index-386canwe.js";
5
+ } from "./index-hkq0q73d.js";
6
6
  import"./index-bns3wcpc.js";
7
7
  import"./index-wfmpxke3.js";
8
8
  import {
9
9
  renderPrimitiveReport
10
- } from "./index-xrmrvafh.js";
10
+ } from "./index-02b8qvww.js";
11
11
  import"./index-9p260r4e.js";
12
- import"./index-7kmbqp0b.js";
13
- import"./index-s34v3y28.js";
12
+ import"./index-z9b72teg.js";
13
+ import"./index-jgj6ajnk.js";
14
14
  import {
15
15
  PrimitiveScript
16
- } from "./index-0ba8nj4d.js";
16
+ } from "./index-sjj3ywn5.js";
17
17
 
18
18
  // pkgs/@akanjs/cli/primitive/primitive.command.ts
19
19
  import { Logger } from "akanjs/common";
@@ -3,7 +3,7 @@ import {
3
3
  Workspace,
4
4
  script,
5
5
  command
6
- } from "./index-386canwe.js";
6
+ } from "./index-hkq0q73d.js";
7
7
  import"./index-bns3wcpc.js";
8
8
  import {
9
9
  AppExecutor,
@@ -18,7 +18,7 @@ import {
18
18
  AkanQualityScanner,
19
19
  formatQualityScanResult,
20
20
  formatSsrScanResult
21
- } from "./index-zhkcab5a.js";
21
+ } from "./index-jqsj5wjb.js";
22
22
  import"./index-9p260r4e.js";
23
23
  import"./index-62md4dwy.js";
24
24
  import"./index-ygdbn9jn.js";
@@ -3,16 +3,16 @@ import {
3
3
  Workspace,
4
4
  script,
5
5
  command
6
- } from "./index-386canwe.js";
6
+ } from "./index-hkq0q73d.js";
7
7
  import"./index-bns3wcpc.js";
8
8
  import"./index-wfmpxke3.js";
9
- import"./index-ngpt3zz3.js";
9
+ import"./index-fqx74yxn.js";
10
10
  import"./index-hj6w4ka1.js";
11
- import"./index-xrmrvafh.js";
11
+ import"./index-02b8qvww.js";
12
12
  import"./index-9p260r4e.js";
13
13
  import {
14
14
  RepairRunner
15
- } from "./index-8gm4yag8.js";
15
+ } from "./index-4mgabs8t.js";
16
16
 
17
17
  // pkgs/@akanjs/cli/repair/repair.script.ts
18
18
  import { Logger } from "akanjs/common";
@@ -2,16 +2,16 @@
2
2
  import {
3
3
  Sys,
4
4
  command
5
- } from "./index-386canwe.js";
5
+ } from "./index-hkq0q73d.js";
6
6
  import"./index-bns3wcpc.js";
7
7
  import"./index-wfmpxke3.js";
8
8
  import {
9
9
  renderPrimitiveReport
10
- } from "./index-xrmrvafh.js";
10
+ } from "./index-02b8qvww.js";
11
11
  import"./index-9p260r4e.js";
12
12
  import {
13
13
  ScalarScript
14
- } from "./index-h0p6n4k1.js";
14
+ } from "./index-kgxhwgdk.js";
15
15
 
16
16
  // pkgs/@akanjs/cli/scalar/scalar.command.ts
17
17
  import { Logger, lowerlize } from "akanjs/common";
@@ -15,8 +15,12 @@ the server errors logged meanwhile, console errors and warnings, and layout smel
15
15
  stops it after; `--keep` leaves it up for the next preview. It never starts a second server beside a
16
16
  running one.
17
17
  - Paths are comma-separated (`akan preview <app> /board,/board/new`) and get the default locale when they lack
18
- one, unless the app sets `localePrefix: "as-needed"` and `--csr` is off. A `/_akan` route such as Studio
19
- (`/_akan/studio?view=runtime`), a signal route or a file opens as written.
18
+ one, unless the app sets `localePrefix: "as-needed"` and `--csr` is off. What the server answers outside a
19
+ locale opens as written: a `/_akan` route such as Studio (`/_akan/studio?view=runtime`), a route under the
20
+ API prefix, `/__csr`, `/__rsc`, `/.well-known`, `/openapi.json`, the default `/mcp`, `/favicon.ico`,
21
+ `/robots.txt`, `/sitemap.xml`, `manifest.webmanifest` and a file in the app's `public/`. A full URL
22
+ (`http://localhost:<port>/oauth/token`) opens exactly as written: use it for an endpoint mounted outside the
23
+ API prefix or a custom MCP path. A page `--changed` finds always gets the locale.
20
24
  `--changed` adds the pages your uncommitted page and layout edits reach. A dynamic route needs a concrete
21
25
  path (`/memo/1`); `akan context --app <app>` lists every route with its params and search names.
22
26
  - The viewport is a 390x844 phone; `--desktop` is 1280x800. `--csr` loads each page in the CSR boot the native
@@ -27,6 +27,8 @@ description: "Guard and tune endpoints on the wire: writing a Can<Verb><Model> g
27
27
  - `{ rateLimit: { calls, windowMs?, by? } }` per endpoint, `option.setRateLimit` per app, `plug(RateLimit)` for a
28
28
  business key.
29
29
  - A mutation repeated under one `Idempotency-Key` header runs once and replays its first answer.
30
+ - A browser send that changes nothing read back (typing status, a cursor move) passes `{ keepsReads: true }`, so it
31
+ neither ends in-flight query sharing nor drops prefetched pages.
30
32
  - `{ method: "PATCH" | "PUT" | "DELETE" }` moves a mutation off `POST` — only when a foreign protocol forces it.
31
33
  - `errors: { 409: ["ticket.error.locked"] }` names the errors an endpoint throws on purpose.
32
34
 
@@ -5,7 +5,7 @@ import {
5
5
  runner,
6
6
  script,
7
7
  command
8
- } from "./index-386canwe.js";
8
+ } from "./index-hkq0q73d.js";
9
9
  import {
10
10
  FileSys2
11
11
  } from "./index-bns3wcpc.js";
@@ -17,11 +17,11 @@ import {
17
17
  } from "./index-wfmpxke3.js";
18
18
  import {
19
19
  GlobalConfig
20
- } from "./index-e22zedc2.js";
20
+ } from "./index-vftjqv28.js";
21
21
  import"./index-m9jj544v.js";
22
- import"./index-djc5nxpy.js";
23
- import"./index-84c2pgak.js";
24
- import"./index-wr9magsr.js";
22
+ import"./index-g43360sn.js";
23
+ import"./index-3rff2c48.js";
24
+ import"./index-jxaq2evq.js";
25
25
  import {
26
26
  SubspaceConfig
27
27
  } from "./index-h7hehkw6.js";
@@ -818,7 +818,7 @@ class SubspaceRunner extends runner("subspace") {
818
818
  if (!asked)
819
819
  return { name: subspace.name, workspaceId, host, apps, libs: [], outcome: "cancelled", files: [] };
820
820
  const { libs } = await subspace.slice();
821
- const { CloudScript } = await import("./cloud.script-arsagnq6.js");
821
+ const { CloudScript } = await import("./cloud.script-8jvfw1sh.js");
822
822
  const { files } = await CommandContainer.get(CloudScript).uploadEnv(workspace, {
823
823
  host,
824
824
  workspaceId,
@@ -4,7 +4,7 @@ import {
4
4
  runner,
5
5
  script,
6
6
  command
7
- } from "./index-386canwe.js";
7
+ } from "./index-hkq0q73d.js";
8
8
  import"./index-bns3wcpc.js";
9
9
  import {
10
10
  AppExecutor
@@ -12,14 +12,14 @@ import {
12
12
  import {
13
13
  GlobalConfig,
14
14
  CloudApi
15
- } from "./index-e22zedc2.js";
15
+ } from "./index-vftjqv28.js";
16
16
  import"./index-m9jj544v.js";
17
- import"./index-djc5nxpy.js";
18
- import"./index-84c2pgak.js";
19
- import"./index-wr9magsr.js";
17
+ import"./index-g43360sn.js";
18
+ import"./index-3rff2c48.js";
19
+ import"./index-jxaq2evq.js";
20
20
  import {
21
21
  TunnelShare2
22
- } from "./index-j1hjb477.js";
22
+ } from "./index-2rcptfyp.js";
23
23
  import {
24
24
  writeClipboard
25
25
  } from "./index-p6pbz9n5.js";
@@ -5,23 +5,23 @@ import {
5
5
  ExitCodeError,
6
6
  markCliErrorPrinted,
7
7
  command
8
- } from "./index-386canwe.js";
8
+ } from "./index-hkq0q73d.js";
9
9
  import"./index-bns3wcpc.js";
10
10
  import"./index-wfmpxke3.js";
11
11
  import {
12
12
  ApplicationRunner,
13
13
  VerifyScope
14
- } from "./index-kcpk2d20.js";
14
+ } from "./index-5qq6qky3.js";
15
15
  import"./index-y725zb1a.js";
16
- import"./index-djc5nxpy.js";
17
- import"./index-20wvskt8.js";
16
+ import"./index-g43360sn.js";
17
+ import"./index-5hhe0rdd.js";
18
18
  import"./index-m9jj544v.js";
19
- import"./index-84c2pgak.js";
20
- import"./index-wr9magsr.js";
19
+ import"./index-3rff2c48.js";
20
+ import"./index-jxaq2evq.js";
21
21
  import"./index-62md4dwy.js";
22
22
  import {
23
23
  WorkspaceRunner
24
- } from "./index-zhkcab5a.js";
24
+ } from "./index-jqsj5wjb.js";
25
25
  import"./index-ygdbn9jn.js";
26
26
  import"./index-ygrdw6jw.js";
27
27
  import"./index-9p260r4e.js";
@@ -31,7 +31,7 @@ import"./index-v50xjbbe.js";
31
31
  import {
32
32
  VerifyPipeline,
33
33
  VerifyReport
34
- } from "./index-dpgywgeq.js";
34
+ } from "./index-3wen6ddy.js";
35
35
  import"./index-8jpc5fqv.js";
36
36
 
37
37
  // pkgs/@akanjs/cli/verify/verify.script.ts
@@ -3,7 +3,7 @@ import {
3
3
  Workspace,
4
4
  script,
5
5
  command
6
- } from "./index-386canwe.js";
6
+ } from "./index-hkq0q73d.js";
7
7
  import"./index-bns3wcpc.js";
8
8
  import"./index-wfmpxke3.js";
9
9
  import {
@@ -12,19 +12,19 @@ import {
12
12
  renderWorkflowPlan,
13
13
  renderWorkflowApply,
14
14
  renderWorkflowValidation
15
- } from "./index-xrmrvafh.js";
15
+ } from "./index-02b8qvww.js";
16
16
  import"./index-9p260r4e.js";
17
- import"./index-ngpt3zz3.js";
17
+ import"./index-fqx74yxn.js";
18
18
  import"./index-hj6w4ka1.js";
19
- import"./index-7kmbqp0b.js";
20
- import"./index-s34v3y28.js";
21
- import"./index-0ba8nj4d.js";
22
- import"./index-8gm4yag8.js";
23
- import"./index-h0p6n4k1.js";
19
+ import"./index-z9b72teg.js";
20
+ import"./index-jgj6ajnk.js";
21
+ import"./index-sjj3ywn5.js";
22
+ import"./index-4mgabs8t.js";
23
+ import"./index-kgxhwgdk.js";
24
24
  import"./index-v50xjbbe.js";
25
25
  import {
26
26
  WorkflowRunner
27
- } from "./index-43acpsc7.js";
27
+ } from "./index-49y45vbj.js";
28
28
 
29
29
  // pkgs/@akanjs/cli/workflow/workflow.script.ts
30
30
  import { Logger } from "akanjs/common";
@@ -4,7 +4,7 @@ import {
4
4
  Workspace,
5
5
  script,
6
6
  command
7
- } from "./index-386canwe.js";
7
+ } from "./index-hkq0q73d.js";
8
8
  import"./index-bns3wcpc.js";
9
9
  import {
10
10
  AppExecutor,
@@ -19,7 +19,7 @@ import"./index-62md4dwy.js";
19
19
  import {
20
20
  defaultMaxDiagnostics,
21
21
  WorkspaceRunner
22
- } from "./index-zhkcab5a.js";
22
+ } from "./index-jqsj5wjb.js";
23
23
  import"./index-ygdbn9jn.js";
24
24
  import"./index-ygrdw6jw.js";
25
25
  import"./index-9p260r4e.js";
@@ -27,51 +27,51 @@ import"./index-hj6w4ka1.js";
27
27
  import"./index-v50xjbbe.js";
28
28
  import"./index-35j83zkd.js";
29
29
  import"./index-j6eeh5d7.js";
30
- import"./index-ngpt3zz3.js";
31
- import"./index-xrmrvafh.js";
32
- import"./index-kcpk2d20.js";
30
+ import"./index-fqx74yxn.js";
31
+ import"./index-02b8qvww.js";
32
+ import"./index-5qq6qky3.js";
33
33
  import"./index-y725zb1a.js";
34
- import"./index-djc5nxpy.js";
35
- import"./index-20wvskt8.js";
34
+ import"./index-g43360sn.js";
35
+ import"./index-5hhe0rdd.js";
36
36
  import"./index-m9jj544v.js";
37
- import"./index-84c2pgak.js";
38
- import"./index-wr9magsr.js";
39
- import"./index-dpgywgeq.js";
37
+ import"./index-3rff2c48.js";
38
+ import"./index-jxaq2evq.js";
39
+ import"./index-3wen6ddy.js";
40
40
  import {
41
41
  AgentScript
42
- } from "./index-2rqyrvcy.js";
42
+ } from "./index-w15hnxmb.js";
43
43
  import {
44
44
  LibraryScript
45
- } from "./index-54s6knqe.js";
46
- import"./index-sc0g6zbm.js";
45
+ } from "./index-jrdp7c4h.js";
46
+ import"./index-b4qq3rq0.js";
47
47
  import {
48
48
  ApplicationScript
49
- } from "./index-ddk49ypz.js";
50
- import"./index-e22zedc2.js";
49
+ } from "./index-ah09graf.js";
50
+ import"./index-vftjqv28.js";
51
51
  import"./index-qd7xn2bk.js";
52
52
  import"./index-cmg5ngqa.js";
53
53
  import {
54
54
  PackageScript
55
- } from "./index-bak9f2br.js";
56
- import"./index-6h775rv3.js";
55
+ } from "./index-gsty3pkx.js";
56
+ import"./index-kjmrkc45.js";
57
57
  import {
58
58
  CloudScript2
59
- } from "./index-zcdmnfrf.js";
60
- import"./index-2eym1yjb.js";
59
+ } from "./index-w88xghey.js";
60
+ import"./index-b9q5aw30.js";
61
61
  import"./index-39jz41jb.js";
62
- import"./index-8gm4yag8.js";
63
- import"./index-7kmbqp0b.js";
64
- import"./index-s34v3y28.js";
65
- import"./index-0ba8nj4d.js";
66
- import"./index-h0p6n4k1.js";
67
- import"./index-43acpsc7.js";
62
+ import"./index-4mgabs8t.js";
63
+ import"./index-z9b72teg.js";
64
+ import"./index-jgj6ajnk.js";
65
+ import"./index-sjj3ywn5.js";
66
+ import"./index-kgxhwgdk.js";
67
+ import"./index-49y45vbj.js";
68
68
  import {
69
69
  ContextScript
70
- } from "./index-j4hkbzj6.js";
70
+ } from "./index-qrp98bmp.js";
71
71
  import"./index-8jpc5fqv.js";
72
72
  import {
73
73
  assertPlainName
74
- } from "./index-x3x31df8.js";
74
+ } from "./index-va90m8nd.js";
75
75
  import"./index-9bv479q5.js";
76
76
 
77
77
  // pkgs/@akanjs/cli/workspace/workspace.command.ts
@@ -1,29 +0,0 @@
1
- // @bun
2
- import {
3
- ContextRunner2
4
- } from "./index-2eym1yjb.js";
5
- import"./index-43acpsc7.js";
6
- import"./index-h0p6n4k1.js";
7
- import"./index-0ba8nj4d.js";
8
- import"./index-8gm4yag8.js";
9
- import"./index-s34v3y28.js";
10
- import"./index-7kmbqp0b.js";
11
- import"./index-v50xjbbe.js";
12
- import"./index-ngpt3zz3.js";
13
- import"./index-xrmrvafh.js";
14
- import"./index-20wvskt8.js";
15
- import"./index-j6eeh5d7.js";
16
- import"./index-djc5nxpy.js";
17
- import"./index-m9jj544v.js";
18
- import"./index-386canwe.js";
19
- import"./index-39jz41jb.js";
20
- import"./index-ygdbn9jn.js";
21
- import"./index-9p260r4e.js";
22
- import"./index-wr9magsr.js";
23
- import"./index-84c2pgak.js";
24
- import"./index-wfmpxke3.js";
25
- import"./index-hj6w4ka1.js";
26
- import"./index-bns3wcpc.js";
27
- export {
28
- ContextRunner2 as ContextRunner
29
- };
package/index-x3x31df8.js DELETED
@@ -1,14 +0,0 @@
1
- // @bun
2
- // pkgs/@akanjs/devkit/workflow/plainName.ts
3
- var sysNamePattern = /^[a-z0-9][a-zA-Z0-9_-]*$/;
4
- var identifierPattern = /^_{0,2}[a-zA-Z][a-zA-Z0-9_-]*$/;
5
- var isWorkflowSysName = (value) => typeof value === "string" && sysNamePattern.test(value);
6
- var isWorkflowModuleName = (value) => typeof value === "string" && identifierPattern.test(value);
7
- var assertPlainName = (kind, name) => {
8
- const isSys = kind === "app" || kind === "lib";
9
- if (isSys ? isWorkflowSysName(name) : isWorkflowModuleName(name))
10
- return;
11
- throw new Error(`${JSON.stringify(name)} is no ${kind} name; use letters, digits, - and _, starting with ${isSys ? "a lowercase letter or digit" : "a letter"}`);
12
- };
13
-
14
- export { sysNamePattern, identifierPattern, isWorkflowSysName, isWorkflowModuleName, assertPlainName };