@akanjs/cli 3.0.0-alpha.17 → 3.0.0-alpha.19
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/.build-stamp +1 -1
- package/{abstractCompactor-khr60389.js → abstractCompactor-20e0cwbs.js} +1 -1
- package/{agent.command-e835fjem.js → agent.command-c08smanz.js} +5 -5
- package/{application.command-bexm4597.js → application.command-rtgcjt8w.js} +4 -4
- package/{applicationBuildRunner-sgr3aq5b.js → applicationBuildRunner-7gnfz7ww.js} +2 -2
- package/buildBatch.proc.js +3 -3
- package/{capacitorApp-qv7g3dp2.js → capacitorApp-a7ez6sam.js} +2 -2
- package/{cloud.command-v44fdp23.js → cloud.command-zgh6ya61.js} +8 -8
- package/{context.command-q8r0tge3.js → context.command-nakv0891.js} +13 -13
- package/{guideline.command-pye36g73.js → guideline.command-8x08a5me.js} +3 -3
- package/guidelines/conventions/conventions.instruction.md +7 -2
- package/incrementalBuilder.proc.js +2 -2
- package/{index-g9e2fhw2.js → index-1faem7g5.js} +2 -2
- package/{index-tsmjxph2.js → index-1gr9gxw6.js} +1 -1
- package/{index-n706txcv.js → index-27bbw5ch.js} +1 -1
- package/{index-d4d3q2r8.js → index-2nf75yp5.js} +10 -10
- package/{index-fb2wa7j3.js → index-7rzk9h16.js} +4 -4
- package/{index-8vkkm7v0.js → index-7twyb44b.js} +16 -0
- package/{index-myy6xy5w.js → index-akqqp683.js} +5 -5
- package/{index-hxp90q94.js → index-asjjj4fq.js} +4 -4
- package/{index-sn71brf9.js → index-ej3agbq1.js} +3 -3
- package/{index-73rnbwgg.js → index-ff3hzwtj.js} +2 -2
- package/{index-mz5jtaq7.js → index-gw90pjfq.js} +1 -1
- package/{index-v5vmgh0z.js → index-hg0qvhmx.js} +1 -1
- package/{index-x2w0y8sz.js → index-m96hv58d.js} +9 -6
- package/{index-3dp7x6rc.js → index-ndme9y2y.js} +3 -3
- package/{index-qyffprfs.js → index-qnv0aqmm.js} +2 -1
- package/{index-0cj2zxbm.js → index-sh01r3pm.js} +1 -1
- package/{index-qc0tnhs2.js → index-t0kc37gt.js} +1 -1
- package/{index-xyrb7pk5.js → index-vgjwv8ze.js} +3 -3
- package/{index-9djnsdgf.js → index-xg0qkt4g.js} +6 -6
- package/{index-33zce8gt.js → index-y9m8fgx8.js} +2 -2
- package/{index-k6fvbcj1.js → index-ysbsfh1q.js} +3 -3
- package/index.js +18 -18
- package/{library.command-v5cyaw9t.js → library.command-4zef4cgg.js} +3 -3
- package/{localRegistry.command-tqnh5g77.js → localRegistry.command-40p4v374.js} +7 -7
- package/{module.command-wxsvyadc.js → module.command-92g7dmrv.js} +6 -6
- package/{package.command-qkcs60ts.js → package.command-gg4xpjym.js} +3 -3
- package/package.json +2 -2
- package/{page.command-qj5bfnh9.js → page.command-jr1bg074.js} +3 -3
- package/{primitive.command-c5jtk3e9.js → primitive.command-pgd3w8rj.js} +7 -7
- package/{quality.command-f8drhx6c.js → quality.command-03cfmq4g.js} +2 -2
- package/{repair.command-mzwtejpk.js → repair.command-70kapxg6.js} +5 -5
- package/{scalar.command-0yvwfv8m.js → scalar.command-35594jfy.js} +5 -5
- package/templates/lib/db.ts +1 -1
- package/templates/lib/dict.ts +1 -1
- package/templates/lib/sig.ts +1 -1
- package/templates/lib/srv.ts +6 -2
- package/{workflow.command-ak6at7nz.js → workflow.command-4kyrh6je.js} +10 -10
- package/{workspace.command-9ncr56g4.js → workspace.command-tkse77wh.js} +19 -19
package/.build-stamp
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
0ceab0ee38e8bf8a458215c1c1b64572127b7f90da57832e25e6f89bf4d843f5
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
AgentScript
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
6
|
-
import"./index-
|
|
4
|
+
} from "./index-ysbsfh1q.js";
|
|
5
|
+
import"./index-1faem7g5.js";
|
|
6
|
+
import"./index-1gr9gxw6.js";
|
|
7
7
|
import"./index-j37qq1f2.js";
|
|
8
8
|
import {
|
|
9
9
|
Workspace,
|
|
10
10
|
command
|
|
11
|
-
} from "./index-
|
|
12
|
-
import"./index-
|
|
11
|
+
} from "./index-27bbw5ch.js";
|
|
12
|
+
import"./index-7twyb44b.js";
|
|
13
13
|
import"./index-mxvakhsm.js";
|
|
14
14
|
import"./index-xys926f2.js";
|
|
15
15
|
import"./index-1577bej2.js";
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
} from "./index-0wae5ebk.js";
|
|
5
5
|
import {
|
|
6
6
|
ApplicationScript
|
|
7
|
-
} from "./index-
|
|
8
|
-
import"./index-
|
|
7
|
+
} from "./index-m96hv58d.js";
|
|
8
|
+
import"./index-ff3hzwtj.js";
|
|
9
9
|
import {
|
|
10
10
|
getMobileTargetChoices
|
|
11
11
|
} from "./index-76rn3g2c.js";
|
|
@@ -15,10 +15,10 @@ import {
|
|
|
15
15
|
Sys,
|
|
16
16
|
Workspace,
|
|
17
17
|
command
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-27bbw5ch.js";
|
|
19
19
|
import"./index-fgc8r6dj.js";
|
|
20
20
|
import"./index-bjpxzr6s.js";
|
|
21
|
-
import"./index-
|
|
21
|
+
import"./index-7twyb44b.js";
|
|
22
22
|
import"./index-mxvakhsm.js";
|
|
23
23
|
import"./index-1577bej2.js";
|
|
24
24
|
import"./index-67546d0j.js";
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
CsrArtifactBuilder,
|
|
5
5
|
SsrBaseArtifactBuilder,
|
|
6
6
|
precompressArtifacts
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-hg0qvhmx.js";
|
|
8
8
|
import"./index-xjd3rqzj.js";
|
|
9
|
-
import"./index-
|
|
9
|
+
import"./index-qnv0aqmm.js";
|
|
10
10
|
import"./index-bjpxzr6s.js";
|
|
11
11
|
import {
|
|
12
12
|
Spinner
|
package/buildBatch.proc.js
CHANGED
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
FontOptimizer,
|
|
6
6
|
PagesBundleBuilder,
|
|
7
7
|
SsrBaseArtifactBuilder
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-hg0qvhmx.js";
|
|
9
9
|
import"./index-xjd3rqzj.js";
|
|
10
|
-
import"./index-
|
|
10
|
+
import"./index-qnv0aqmm.js";
|
|
11
11
|
import"./index-bjpxzr6s.js";
|
|
12
12
|
import {
|
|
13
13
|
AppExecutor,
|
|
14
14
|
WorkspaceExecutor
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-7twyb44b.js";
|
|
16
16
|
import"./index-mxvakhsm.js";
|
|
17
17
|
import"./index-1577bej2.js";
|
|
18
18
|
import"./index-67546d0j.js";
|
|
@@ -25,9 +25,9 @@ import {
|
|
|
25
25
|
selectLocalDevHost,
|
|
26
26
|
sortIosRunTargets,
|
|
27
27
|
writeRootCapacitorConfig
|
|
28
|
-
} from "./index-
|
|
28
|
+
} from "./index-gw90pjfq.js";
|
|
29
29
|
import"./index-76rn3g2c.js";
|
|
30
|
-
import"./index-
|
|
30
|
+
import"./index-7twyb44b.js";
|
|
31
31
|
import"./index-mxvakhsm.js";
|
|
32
32
|
import"./index-1577bej2.js";
|
|
33
33
|
import"./index-67546d0j.js";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
CloudScript
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
6
|
-
import"./index-
|
|
4
|
+
} from "./index-xg0qkt4g.js";
|
|
5
|
+
import"./index-7rzk9h16.js";
|
|
6
|
+
import"./index-y9m8fgx8.js";
|
|
7
7
|
import {
|
|
8
8
|
GlobalConfig
|
|
9
|
-
} from "./index-
|
|
10
|
-
import"./index-
|
|
11
|
-
import"./index-
|
|
9
|
+
} from "./index-sh01r3pm.js";
|
|
10
|
+
import"./index-m96hv58d.js";
|
|
11
|
+
import"./index-ff3hzwtj.js";
|
|
12
12
|
import"./index-76rn3g2c.js";
|
|
13
13
|
import {
|
|
14
14
|
Workspace,
|
|
15
15
|
command
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-27bbw5ch.js";
|
|
17
17
|
import"./index-fgc8r6dj.js";
|
|
18
18
|
import"./index-bjpxzr6s.js";
|
|
19
|
-
import"./index-
|
|
19
|
+
import"./index-7twyb44b.js";
|
|
20
20
|
import"./index-mxvakhsm.js";
|
|
21
21
|
import"./index-1577bej2.js";
|
|
22
22
|
import"./index-46tjzh6s.js";
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
ContextScript
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
6
|
-
import"./index-
|
|
7
|
-
import"./index-
|
|
8
|
-
import"./index-
|
|
9
|
-
import"./index-
|
|
4
|
+
} from "./index-2nf75yp5.js";
|
|
5
|
+
import"./index-vgjwv8ze.js";
|
|
6
|
+
import"./index-ndme9y2y.js";
|
|
7
|
+
import"./index-ej3agbq1.js";
|
|
8
|
+
import"./index-asjjj4fq.js";
|
|
9
|
+
import"./index-akqqp683.js";
|
|
10
10
|
import"./index-ss469dec.js";
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-
|
|
11
|
+
import"./index-t0kc37gt.js";
|
|
12
|
+
import"./index-gw90pjfq.js";
|
|
13
|
+
import"./index-sh01r3pm.js";
|
|
14
|
+
import"./index-1faem7g5.js";
|
|
15
|
+
import"./index-1gr9gxw6.js";
|
|
16
16
|
import"./index-j37qq1f2.js";
|
|
17
17
|
import"./index-76rn3g2c.js";
|
|
18
18
|
import {
|
|
19
19
|
Workspace,
|
|
20
20
|
command
|
|
21
|
-
} from "./index-
|
|
22
|
-
import"./index-
|
|
21
|
+
} from "./index-27bbw5ch.js";
|
|
22
|
+
import"./index-7twyb44b.js";
|
|
23
23
|
import"./index-mxvakhsm.js";
|
|
24
24
|
import"./index-xys926f2.js";
|
|
25
25
|
import"./index-1577bej2.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
AiSession
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-sh01r3pm.js";
|
|
5
5
|
import {
|
|
6
6
|
Prompter
|
|
7
7
|
} from "./index-j37qq1f2.js";
|
|
@@ -10,8 +10,8 @@ import {
|
|
|
10
10
|
command,
|
|
11
11
|
runner,
|
|
12
12
|
script
|
|
13
|
-
} from "./index-
|
|
14
|
-
import"./index-
|
|
13
|
+
} from "./index-27bbw5ch.js";
|
|
14
|
+
import"./index-7twyb44b.js";
|
|
15
15
|
import"./index-mxvakhsm.js";
|
|
16
16
|
import {
|
|
17
17
|
getDirname
|
|
@@ -655,7 +655,7 @@ libs never import it directly (`no-import-external-library`) — everything reac
|
|
|
655
655
|
- **The LLM is configured in `option.ts`, never through the environment.** `option.setLlm({ apiKey, model, host })`
|
|
656
656
|
— or `setLlm((options) => …)` to read the key out of the app's own env object, which is where a secret belongs —
|
|
657
657
|
fills whichever adaptor holds `LlmAdaptorRole`, reaching it as the `llmOption` use. The settings are the role's
|
|
658
|
-
rather than one provider's, so they survive a swap. **DeepSeek is the built-in default** (`deepseek-
|
|
658
|
+
rather than one provider's, so they survive a swap. **DeepSeek is the built-in default** (`deepseek-v4-flash` at
|
|
659
659
|
`https://api.deepseek.com`); with no `apiKey` the app still boots and the chat answers `llmUnavailable`. Swap
|
|
660
660
|
providers the way middleware is applied: `option.applyAdaptor(LlmAdaptorRole, ClaudeLlm)`, where the
|
|
661
661
|
implementation is an `adapt()` class in a `srvkit/` implementing `LlmAdaptor.chat(request, onDelta?)` — ignore
|
|
@@ -676,7 +676,12 @@ libs never import it directly (`no-import-external-library`) — everything reac
|
|
|
676
676
|
`static agent = { exclude: ["setMapBounds", "mapCamera"] }` withholds named actions and state keys that are not
|
|
677
677
|
real levers (state a component writes into but never reads back). `st.use.x({ agent: false })` subscribes
|
|
678
678
|
without counting toward liveness. Generated `set<Key>` conveniences are never published — declare a typed action
|
|
679
|
-
or `st.tool` when an agent should set one.
|
|
679
|
+
or `st.tool` when an agent should set one. Form setters for the base document fields (`setIdOnX`,
|
|
680
|
+
`setCreatedAtOnX`, `setUpdatedAtOnX`, `setRemovedAtOnX`) are never published either: the server stamps those.
|
|
681
|
+
An action named after an endpoint is published with the endpoint's argument schema **only when it can consume
|
|
682
|
+
it** — one declaring fewer parameters than the endpoint is refused (and warned once in the console), because
|
|
683
|
+
the schema-shaped call would drop the tail and read stale form state instead; trailing extras beyond the
|
|
684
|
+
endpoint's arguments stay legal (`create<Model>(data, options?)` is the generated shape).
|
|
680
685
|
- **Hooks are the escape hatch, not the norm.** `st.useState(name, initial, meta)` publishes local state
|
|
681
686
|
(read-only unless `set:` names a type), `st.expose(name, value)` a derived value, and
|
|
682
687
|
`st.tool("x", { desc }).arg("id", ID).exec(fn)` a one-off action. `.exec()` is the only hook, so the chain
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
DevGeneratedIndexSync,
|
|
9
9
|
GraphClientEntryDiscovery,
|
|
10
10
|
RouteClientBuilder
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-qnv0aqmm.js";
|
|
12
12
|
import {
|
|
13
13
|
HmrWatcher,
|
|
14
14
|
WatchRootResolver
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
AppExecutor,
|
|
18
18
|
WorkspaceExecutor
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-7twyb44b.js";
|
|
20
20
|
import"./index-mxvakhsm.js";
|
|
21
21
|
import"./index-1577bej2.js";
|
|
22
22
|
import"./index-67546d0j.js";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
workflowRunArtifactPath,
|
|
4
4
|
workflowSyncDir
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-1gr9gxw6.js";
|
|
6
6
|
import {
|
|
7
7
|
AppExecutor,
|
|
8
8
|
LibExecutor,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
extractBlockVersion,
|
|
12
12
|
isScannedAppRootEntry,
|
|
13
13
|
readDevkitVersion
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-7twyb44b.js";
|
|
15
15
|
import {
|
|
16
16
|
collectRecipeSources,
|
|
17
17
|
findInlineRecipeDuplicates,
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
RepairRunner
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-vgjwv8ze.js";
|
|
5
5
|
import {
|
|
6
6
|
WorkflowRunner
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-ndme9y2y.js";
|
|
8
8
|
import {
|
|
9
9
|
ScalarScript
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-ej3agbq1.js";
|
|
11
11
|
import {
|
|
12
12
|
PrimitiveScript
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-asjjj4fq.js";
|
|
14
14
|
import {
|
|
15
15
|
ModuleScript
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-akqqp683.js";
|
|
17
17
|
import {
|
|
18
18
|
isPlaceholderAppId
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-gw90pjfq.js";
|
|
20
20
|
import {
|
|
21
21
|
AkanContextAnalyzer,
|
|
22
22
|
akanMcpInstallConfigPaths,
|
|
@@ -27,14 +27,14 @@ import {
|
|
|
27
27
|
renderDoctorText,
|
|
28
28
|
resourceList,
|
|
29
29
|
upsertCodexMcpServerBlock
|
|
30
|
-
} from "./index-
|
|
30
|
+
} from "./index-1faem7g5.js";
|
|
31
31
|
import {
|
|
32
32
|
buildAkanModuleContextIndex,
|
|
33
33
|
createWorkflowBaselineSummary,
|
|
34
34
|
createWorkflowStepRegistry,
|
|
35
35
|
jsonText,
|
|
36
36
|
toolingRolloutGate
|
|
37
|
-
} from "./index-
|
|
37
|
+
} from "./index-1gr9gxw6.js";
|
|
38
38
|
import {
|
|
39
39
|
Prompter
|
|
40
40
|
} from "./index-j37qq1f2.js";
|
|
@@ -45,10 +45,10 @@ import {
|
|
|
45
45
|
CommandContainer,
|
|
46
46
|
runner,
|
|
47
47
|
script
|
|
48
|
-
} from "./index-
|
|
48
|
+
} from "./index-27bbw5ch.js";
|
|
49
49
|
import {
|
|
50
50
|
AppExecutor
|
|
51
|
-
} from "./index-
|
|
51
|
+
} from "./index-7twyb44b.js";
|
|
52
52
|
|
|
53
53
|
// pkgs/@akanjs/cli/context/context.script.ts
|
|
54
54
|
import { Logger } from "akanjs/common";
|
|
@@ -4,17 +4,17 @@ import {
|
|
|
4
4
|
CloudApi,
|
|
5
5
|
GlobalConfig,
|
|
6
6
|
getDefaultHostConfig
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-sh01r3pm.js";
|
|
8
8
|
import {
|
|
9
9
|
openBrowser
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-m96hv58d.js";
|
|
11
11
|
import {
|
|
12
12
|
runner
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-27bbw5ch.js";
|
|
14
14
|
import {
|
|
15
15
|
AppExecutor,
|
|
16
16
|
WorkspaceExecutor
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-7twyb44b.js";
|
|
18
18
|
|
|
19
19
|
// pkgs/@akanjs/cli/npmRegistry.ts
|
|
20
20
|
var defaultNpmRegistry = "https://registry.npmjs.org";
|
|
@@ -2584,6 +2584,22 @@ class AppExecutor extends SysExecutor {
|
|
|
2584
2584
|
...env
|
|
2585
2585
|
};
|
|
2586
2586
|
}
|
|
2587
|
+
static shouldRelaunchForAppEnv(appName, env = process.env) {
|
|
2588
|
+
if (env.AKAN_BUILD_RELAUNCHED === "1")
|
|
2589
|
+
return false;
|
|
2590
|
+
return env.AKAN_PUBLIC_APP_NAME !== appName;
|
|
2591
|
+
}
|
|
2592
|
+
async relaunchWithAppEnv() {
|
|
2593
|
+
if (!AppExecutor.shouldRelaunchForAppEnv(this.name))
|
|
2594
|
+
return null;
|
|
2595
|
+
const child = Bun.spawn([process.execPath, ...process.argv.slice(1)], {
|
|
2596
|
+
env: { ...this.getCommandEnv(), AKAN_BUILD_RELAUNCHED: "1" },
|
|
2597
|
+
stdin: "inherit",
|
|
2598
|
+
stdout: "inherit",
|
|
2599
|
+
stderr: "inherit"
|
|
2600
|
+
});
|
|
2601
|
+
return await child.exited;
|
|
2602
|
+
}
|
|
2587
2603
|
async prepareCommand(type) {
|
|
2588
2604
|
const akanConfig2 = await this.getConfig();
|
|
2589
2605
|
const databaseMode = process.env.AKAN_DATABASE_MODE ?? akanConfig2.defaultDatabaseMode ?? "single";
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
} from "./index-ss469dec.js";
|
|
5
5
|
import {
|
|
6
6
|
PageScript
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-t0kc37gt.js";
|
|
8
8
|
import {
|
|
9
9
|
AiSession
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-sh01r3pm.js";
|
|
11
11
|
import {
|
|
12
12
|
bilingualDescriptionForField,
|
|
13
13
|
bilingualLabelForField,
|
|
@@ -15,17 +15,17 @@ import {
|
|
|
15
15
|
generatedFilesForSync,
|
|
16
16
|
moduleSourcePaths,
|
|
17
17
|
sourceFile
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-1gr9gxw6.js";
|
|
19
19
|
import {
|
|
20
20
|
Prompter
|
|
21
21
|
} from "./index-j37qq1f2.js";
|
|
22
22
|
import {
|
|
23
23
|
runner,
|
|
24
24
|
script
|
|
25
|
-
} from "./index-
|
|
25
|
+
} from "./index-27bbw5ch.js";
|
|
26
26
|
import {
|
|
27
27
|
ModuleExecutor
|
|
28
|
-
} from "./index-
|
|
28
|
+
} from "./index-7twyb44b.js";
|
|
29
29
|
import {
|
|
30
30
|
FileSys
|
|
31
31
|
} from "./index-67546d0j.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
ModuleScript
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-akqqp683.js";
|
|
5
5
|
import {
|
|
6
6
|
addFieldUiPolicyForType,
|
|
7
7
|
coerceFieldDefault,
|
|
@@ -34,15 +34,15 @@ import {
|
|
|
34
34
|
sourceFile,
|
|
35
35
|
validationCommandsForTarget,
|
|
36
36
|
viaBuilderParameterName
|
|
37
|
-
} from "./index-
|
|
37
|
+
} from "./index-1gr9gxw6.js";
|
|
38
38
|
import {
|
|
39
39
|
script
|
|
40
|
-
} from "./index-
|
|
40
|
+
} from "./index-27bbw5ch.js";
|
|
41
41
|
import {
|
|
42
42
|
AppExecutor,
|
|
43
43
|
LibExecutor,
|
|
44
44
|
ModuleExecutor
|
|
45
|
-
} from "./index-
|
|
45
|
+
} from "./index-7twyb44b.js";
|
|
46
46
|
|
|
47
47
|
// pkgs/@akanjs/cli/primitive/primitive.script.ts
|
|
48
48
|
import { capitalize } from "akanjs/common";
|
|
@@ -4,19 +4,19 @@ import {
|
|
|
4
4
|
} from "./index-ss469dec.js";
|
|
5
5
|
import {
|
|
6
6
|
AiSession
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-sh01r3pm.js";
|
|
8
8
|
import {
|
|
9
9
|
createPassedPrimitiveReport,
|
|
10
10
|
generatedFilesForSync,
|
|
11
11
|
scalarChangedFiles
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-1gr9gxw6.js";
|
|
13
13
|
import {
|
|
14
14
|
Prompter
|
|
15
15
|
} from "./index-j37qq1f2.js";
|
|
16
16
|
import {
|
|
17
17
|
runner,
|
|
18
18
|
script
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-27bbw5ch.js";
|
|
20
20
|
|
|
21
21
|
// pkgs/@akanjs/cli/scalar/scalar.prompt.ts
|
|
22
22
|
import { input } from "@inquirer/prompts";
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
runner,
|
|
4
4
|
script
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-27bbw5ch.js";
|
|
6
6
|
import {
|
|
7
7
|
LibExecutor
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-7twyb44b.js";
|
|
9
9
|
|
|
10
10
|
// pkgs/@akanjs/cli/semver.ts
|
|
11
11
|
var stripRangeOperator = (version) => version.replace(/^[\s^~>=<v]+/, "").trim();
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
LibraryScript
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-ff3hzwtj.js";
|
|
5
5
|
import {
|
|
6
6
|
resolveMobileTargets
|
|
7
7
|
} from "./index-76rn3g2c.js";
|
|
8
8
|
import {
|
|
9
9
|
runner,
|
|
10
10
|
script
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-27bbw5ch.js";
|
|
12
12
|
import {
|
|
13
13
|
HmrWatcher,
|
|
14
14
|
WatchRootResolver
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
LibExecutor,
|
|
19
19
|
PkgExecutor,
|
|
20
20
|
WorkspaceExecutor
|
|
21
|
-
} from "./index-
|
|
21
|
+
} from "./index-7twyb44b.js";
|
|
22
22
|
import {
|
|
23
23
|
__require
|
|
24
24
|
} from "./index-yb2wsc7f.js";
|
|
@@ -1898,10 +1898,10 @@ function openBrowser(url) {
|
|
|
1898
1898
|
}
|
|
1899
1899
|
|
|
1900
1900
|
// pkgs/@akanjs/cli/application/application.runner.ts
|
|
1901
|
-
var loadBuildRunner = async () => (await import("./applicationBuildRunner-
|
|
1901
|
+
var loadBuildRunner = async () => (await import("./applicationBuildRunner-7gnfz7ww.js")).ApplicationBuildRunner;
|
|
1902
1902
|
var loadReleasePackager = async () => (await import("./applicationReleasePackager-93nzdfsy.js")).ApplicationReleasePackager;
|
|
1903
|
-
var loadCapacitorApp = async () => (await import("./capacitorApp-
|
|
1904
|
-
var loadAbstractCompactor = async () => (await import("./abstractCompactor-
|
|
1903
|
+
var loadCapacitorApp = async () => (await import("./capacitorApp-a7ez6sam.js")).CapacitorApp;
|
|
1904
|
+
var loadAbstractCompactor = async () => (await import("./abstractCompactor-20e0cwbs.js")).AbstractCompactor;
|
|
1905
1905
|
var loadPrompts = async () => await import("@inquirer/prompts");
|
|
1906
1906
|
|
|
1907
1907
|
class ApplicationRunner extends runner("application") {
|
|
@@ -2003,6 +2003,9 @@ try {
|
|
|
2003
2003
|
reporter,
|
|
2004
2004
|
spinner = false
|
|
2005
2005
|
} = {}) {
|
|
2006
|
+
const relaunched = await app.relaunchWithAppEnv();
|
|
2007
|
+
if (relaunched !== null)
|
|
2008
|
+
process.exit(relaunched);
|
|
2006
2009
|
return new (await loadBuildRunner())(app, { fast, reporter }).build({ spinner });
|
|
2007
2010
|
}
|
|
2008
2011
|
async start(app, { open = false, onStart, withInk = false } = {}) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
AkanContextAnalyzer
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-1faem7g5.js";
|
|
5
5
|
import {
|
|
6
6
|
WorkflowExecutor,
|
|
7
7
|
compactWorkflowInputs,
|
|
@@ -23,10 +23,10 @@ import {
|
|
|
23
23
|
workflowCommandsForPlan,
|
|
24
24
|
workflowPlanApproval,
|
|
25
25
|
writeWorkflowRunArtifact
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-1gr9gxw6.js";
|
|
27
27
|
import {
|
|
28
28
|
runner
|
|
29
|
-
} from "./index-
|
|
29
|
+
} from "./index-27bbw5ch.js";
|
|
30
30
|
|
|
31
31
|
// pkgs/@akanjs/cli/workflow/workflow.runner.ts
|
|
32
32
|
import { mkdir, readFile, writeFile } from "fs/promises";
|
|
@@ -240,7 +240,7 @@ import { ChatOpenAI } from "@langchain/openai";
|
|
|
240
240
|
import { Logger } from "akanjs/common";
|
|
241
241
|
import chalk from "chalk";
|
|
242
242
|
var MAX_ASK_TRY = 300;
|
|
243
|
-
var deepSeekLlmModels = ["deepseek-
|
|
243
|
+
var deepSeekLlmModels = ["deepseek-v4-flash", "deepseek-v4-pro"];
|
|
244
244
|
var openAiLlmModels = ["gpt-5.5"];
|
|
245
245
|
var supportedLlmModels = [...deepSeekLlmModels, ...openAiLlmModels];
|
|
246
246
|
var isOpenAiLlmModel = (model) => openAiLlmModels.includes(model);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
AkanContextAnalyzer
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-1faem7g5.js";
|
|
5
5
|
import {
|
|
6
6
|
createRepairReport,
|
|
7
7
|
generatedFilePathsForTarget,
|
|
8
8
|
renderRepairReport,
|
|
9
9
|
writeGeneratedSyncState,
|
|
10
10
|
writeWorkflowRunArtifact
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-1gr9gxw6.js";
|
|
12
12
|
import {
|
|
13
13
|
runner
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-27bbw5ch.js";
|
|
15
15
|
|
|
16
16
|
// pkgs/@akanjs/cli/repair/repair.runner.ts
|
|
17
17
|
var commandForShell = (command) => command.startsWith("akan ") ? `bun run ${command}` : command;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
CloudRunner
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-7rzk9h16.js";
|
|
5
5
|
import {
|
|
6
6
|
PackageScript
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-y9m8fgx8.js";
|
|
8
8
|
import {
|
|
9
9
|
AiSession,
|
|
10
10
|
CloudApi,
|
|
11
11
|
GlobalConfig
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-sh01r3pm.js";
|
|
13
13
|
import {
|
|
14
14
|
ApplicationScript
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-m96hv58d.js";
|
|
16
16
|
import {
|
|
17
17
|
script
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-27bbw5ch.js";
|
|
19
19
|
import {
|
|
20
20
|
PkgExecutor
|
|
21
|
-
} from "./index-
|
|
21
|
+
} from "./index-7twyb44b.js";
|
|
22
22
|
|
|
23
23
|
// pkgs/@akanjs/cli/cloud/cloud.script.ts
|
|
24
24
|
import { Logger } from "akanjs/common";
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
runner,
|
|
4
4
|
script
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-27bbw5ch.js";
|
|
6
6
|
import {
|
|
7
7
|
PkgExecutor
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-7twyb44b.js";
|
|
9
9
|
import {
|
|
10
10
|
TypeScriptDependencyScanner
|
|
11
11
|
} from "./index-46tjzh6s.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
AkanContextAnalyzer
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-1faem7g5.js";
|
|
5
5
|
import {
|
|
6
6
|
Prompter
|
|
7
7
|
} from "./index-j37qq1f2.js";
|
|
8
8
|
import {
|
|
9
9
|
runner,
|
|
10
10
|
script
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-27bbw5ch.js";
|
|
12
12
|
import {
|
|
13
13
|
AGENT_BLOCK_END,
|
|
14
14
|
AGENT_BLOCK_START,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
renderRecipeEntries,
|
|
20
20
|
stampBlockVersion,
|
|
21
21
|
upsertAgentBlock
|
|
22
|
-
} from "./index-
|
|
22
|
+
} from "./index-7twyb44b.js";
|
|
23
23
|
import {
|
|
24
24
|
collectRecipeSources,
|
|
25
25
|
scanRecipes
|
package/index.js
CHANGED
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
getTargetCommandNames,
|
|
5
5
|
getTargetMetas,
|
|
6
6
|
runCommands
|
|
7
|
-
} from "./index-
|
|
8
|
-
import"./index-
|
|
7
|
+
} from "./index-27bbw5ch.js";
|
|
8
|
+
import"./index-7twyb44b.js";
|
|
9
9
|
import"./index-mxvakhsm.js";
|
|
10
10
|
import"./index-1577bej2.js";
|
|
11
11
|
import"./index-67546d0j.js";
|
|
@@ -18,22 +18,22 @@ import path from "path";
|
|
|
18
18
|
|
|
19
19
|
// pkgs/@akanjs/cli/commandModules.ts
|
|
20
20
|
var commandModules = {
|
|
21
|
-
workspace: async () => (await import("./workspace.command-
|
|
22
|
-
agent: async () => (await import("./agent.command-
|
|
23
|
-
application: async () => (await import("./application.command-
|
|
24
|
-
library: async () => (await import("./library.command-
|
|
25
|
-
localRegistry: async () => (await import("./localRegistry.command-
|
|
26
|
-
package: async () => (await import("./package.command-
|
|
27
|
-
module: async () => (await import("./module.command-
|
|
28
|
-
page: async () => (await import("./page.command-
|
|
29
|
-
context: async () => (await import("./context.command-
|
|
30
|
-
cloud: async () => (await import("./cloud.command-
|
|
31
|
-
guideline: async () => (await import("./guideline.command-
|
|
32
|
-
scalar: async () => (await import("./scalar.command-
|
|
33
|
-
primitive: async () => (await import("./primitive.command-
|
|
34
|
-
quality: async () => (await import("./quality.command-
|
|
35
|
-
repair: async () => (await import("./repair.command-
|
|
36
|
-
workflow: async () => (await import("./workflow.command-
|
|
21
|
+
workspace: async () => (await import("./workspace.command-tkse77wh.js")).WorkspaceCommand,
|
|
22
|
+
agent: async () => (await import("./agent.command-c08smanz.js")).AgentCommand,
|
|
23
|
+
application: async () => (await import("./application.command-rtgcjt8w.js")).ApplicationCommand,
|
|
24
|
+
library: async () => (await import("./library.command-4zef4cgg.js")).LibraryCommand,
|
|
25
|
+
localRegistry: async () => (await import("./localRegistry.command-40p4v374.js")).LocalRegistryCommand,
|
|
26
|
+
package: async () => (await import("./package.command-gg4xpjym.js")).PackageCommand,
|
|
27
|
+
module: async () => (await import("./module.command-92g7dmrv.js")).ModuleCommand,
|
|
28
|
+
page: async () => (await import("./page.command-jr1bg074.js")).PageCommand,
|
|
29
|
+
context: async () => (await import("./context.command-nakv0891.js")).ContextCommand,
|
|
30
|
+
cloud: async () => (await import("./cloud.command-zgh6ya61.js")).CloudCommand,
|
|
31
|
+
guideline: async () => (await import("./guideline.command-8x08a5me.js")).GuidelineCommand,
|
|
32
|
+
scalar: async () => (await import("./scalar.command-35594jfy.js")).ScalarCommand,
|
|
33
|
+
primitive: async () => (await import("./primitive.command-pgd3w8rj.js")).PrimitiveCommand,
|
|
34
|
+
quality: async () => (await import("./quality.command-03cfmq4g.js")).QualityCommand,
|
|
35
|
+
repair: async () => (await import("./repair.command-70kapxg6.js")).RepairCommand,
|
|
36
|
+
workflow: async () => (await import("./workflow.command-4kyrh6je.js")).WorkflowCommand
|
|
37
37
|
};
|
|
38
38
|
var commandModuleIds = Object.keys(commandModules);
|
|
39
39
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
LibraryScript
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-ff3hzwtj.js";
|
|
5
5
|
import {
|
|
6
6
|
Lib,
|
|
7
7
|
Workspace,
|
|
8
8
|
command
|
|
9
|
-
} from "./index-
|
|
10
|
-
import"./index-
|
|
9
|
+
} from "./index-27bbw5ch.js";
|
|
10
|
+
import"./index-7twyb44b.js";
|
|
11
11
|
import"./index-mxvakhsm.js";
|
|
12
12
|
import"./index-1577bej2.js";
|
|
13
13
|
import"./index-67546d0j.js";
|
|
@@ -2,27 +2,27 @@
|
|
|
2
2
|
import {
|
|
3
3
|
CloudRunner,
|
|
4
4
|
getNpmRegistryUrl
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-7rzk9h16.js";
|
|
6
6
|
import {
|
|
7
7
|
PackageScript
|
|
8
|
-
} from "./index-
|
|
9
|
-
import"./index-
|
|
8
|
+
} from "./index-y9m8fgx8.js";
|
|
9
|
+
import"./index-sh01r3pm.js";
|
|
10
10
|
import {
|
|
11
11
|
ApplicationScript
|
|
12
|
-
} from "./index-
|
|
13
|
-
import"./index-
|
|
12
|
+
} from "./index-m96hv58d.js";
|
|
13
|
+
import"./index-ff3hzwtj.js";
|
|
14
14
|
import"./index-76rn3g2c.js";
|
|
15
15
|
import {
|
|
16
16
|
Workspace,
|
|
17
17
|
command,
|
|
18
18
|
runner,
|
|
19
19
|
script
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-27bbw5ch.js";
|
|
21
21
|
import"./index-fgc8r6dj.js";
|
|
22
22
|
import"./index-bjpxzr6s.js";
|
|
23
23
|
import {
|
|
24
24
|
PkgExecutor
|
|
25
|
-
} from "./index-
|
|
25
|
+
} from "./index-7twyb44b.js";
|
|
26
26
|
import"./index-mxvakhsm.js";
|
|
27
27
|
import"./index-1577bej2.js";
|
|
28
28
|
import"./index-46tjzh6s.js";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
ModuleScript
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-akqqp683.js";
|
|
5
5
|
import"./index-ss469dec.js";
|
|
6
|
-
import"./index-
|
|
7
|
-
import"./index-
|
|
6
|
+
import"./index-t0kc37gt.js";
|
|
7
|
+
import"./index-sh01r3pm.js";
|
|
8
8
|
import {
|
|
9
9
|
renderPrimitiveReport
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-1gr9gxw6.js";
|
|
11
11
|
import"./index-j37qq1f2.js";
|
|
12
12
|
import {
|
|
13
13
|
Module,
|
|
14
14
|
Sys,
|
|
15
15
|
command
|
|
16
|
-
} from "./index-
|
|
17
|
-
import"./index-
|
|
16
|
+
} from "./index-27bbw5ch.js";
|
|
17
|
+
import"./index-7twyb44b.js";
|
|
18
18
|
import"./index-mxvakhsm.js";
|
|
19
19
|
import"./index-1577bej2.js";
|
|
20
20
|
import"./index-67546d0j.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
PackageScript
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-y9m8fgx8.js";
|
|
5
5
|
import {
|
|
6
6
|
Pkg,
|
|
7
7
|
Workspace,
|
|
8
8
|
command
|
|
9
|
-
} from "./index-
|
|
10
|
-
import"./index-
|
|
9
|
+
} from "./index-27bbw5ch.js";
|
|
10
|
+
import"./index-7twyb44b.js";
|
|
11
11
|
import"./index-mxvakhsm.js";
|
|
12
12
|
import"./index-1577bej2.js";
|
|
13
13
|
import"./index-46tjzh6s.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akanjs/cli",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.19",
|
|
4
4
|
"sourceType": "module",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@langchain/openai": "^1.4.6",
|
|
35
35
|
"@tailwindcss/node": "^4.3.0",
|
|
36
36
|
"@trapezedev/project": "^7.1.4",
|
|
37
|
-
"akanjs": "3.0.0-alpha.
|
|
37
|
+
"akanjs": "3.0.0-alpha.19",
|
|
38
38
|
"chalk": "^5.6.2",
|
|
39
39
|
"commander": "^14.0.3",
|
|
40
40
|
"dayjs": "^1.11.20",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
PageScript
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-t0kc37gt.js";
|
|
5
5
|
import {
|
|
6
6
|
App,
|
|
7
7
|
Module,
|
|
8
8
|
command
|
|
9
|
-
} from "./index-
|
|
10
|
-
import"./index-
|
|
9
|
+
} from "./index-27bbw5ch.js";
|
|
10
|
+
import"./index-7twyb44b.js";
|
|
11
11
|
import"./index-mxvakhsm.js";
|
|
12
12
|
import"./index-1577bej2.js";
|
|
13
13
|
import"./index-67546d0j.js";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
PrimitiveScript
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
4
|
+
} from "./index-asjjj4fq.js";
|
|
5
|
+
import"./index-akqqp683.js";
|
|
6
6
|
import"./index-ss469dec.js";
|
|
7
|
-
import"./index-
|
|
8
|
-
import"./index-
|
|
7
|
+
import"./index-t0kc37gt.js";
|
|
8
|
+
import"./index-sh01r3pm.js";
|
|
9
9
|
import {
|
|
10
10
|
renderPrimitiveReport
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-1gr9gxw6.js";
|
|
12
12
|
import"./index-j37qq1f2.js";
|
|
13
13
|
import {
|
|
14
14
|
Workspace,
|
|
15
15
|
command
|
|
16
|
-
} from "./index-
|
|
17
|
-
import"./index-
|
|
16
|
+
} from "./index-27bbw5ch.js";
|
|
17
|
+
import"./index-7twyb44b.js";
|
|
18
18
|
import"./index-mxvakhsm.js";
|
|
19
19
|
import"./index-1577bej2.js";
|
|
20
20
|
import"./index-67546d0j.js";
|
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
command,
|
|
8
8
|
runner,
|
|
9
9
|
script
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-27bbw5ch.js";
|
|
11
11
|
import {
|
|
12
12
|
appRootAllowedFiles,
|
|
13
13
|
libFacetRootAllowedFiles
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-7twyb44b.js";
|
|
15
15
|
import"./index-mxvakhsm.js";
|
|
16
16
|
import"./index-1577bej2.js";
|
|
17
17
|
import"./index-67546d0j.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
RepairRunner
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
6
|
-
import"./index-
|
|
4
|
+
} from "./index-vgjwv8ze.js";
|
|
5
|
+
import"./index-1faem7g5.js";
|
|
6
|
+
import"./index-1gr9gxw6.js";
|
|
7
7
|
import {
|
|
8
8
|
Workspace,
|
|
9
9
|
command,
|
|
10
10
|
script
|
|
11
|
-
} from "./index-
|
|
12
|
-
import"./index-
|
|
11
|
+
} from "./index-27bbw5ch.js";
|
|
12
|
+
import"./index-7twyb44b.js";
|
|
13
13
|
import"./index-mxvakhsm.js";
|
|
14
14
|
import"./index-xys926f2.js";
|
|
15
15
|
import"./index-1577bej2.js";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
ScalarScript
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-ej3agbq1.js";
|
|
5
5
|
import"./index-ss469dec.js";
|
|
6
|
-
import"./index-
|
|
6
|
+
import"./index-sh01r3pm.js";
|
|
7
7
|
import {
|
|
8
8
|
renderPrimitiveReport
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-1gr9gxw6.js";
|
|
10
10
|
import"./index-j37qq1f2.js";
|
|
11
11
|
import {
|
|
12
12
|
Sys,
|
|
13
13
|
command
|
|
14
|
-
} from "./index-
|
|
15
|
-
import"./index-
|
|
14
|
+
} from "./index-27bbw5ch.js";
|
|
15
|
+
import"./index-7twyb44b.js";
|
|
16
16
|
import"./index-mxvakhsm.js";
|
|
17
17
|
import"./index-1577bej2.js";
|
|
18
18
|
import"./index-67546d0j.js";
|
package/templates/lib/db.ts
CHANGED
|
@@ -13,7 +13,7 @@ ${scalarModules.map((module) => `import { ${capitalize(module)} } from "./__scal
|
|
|
13
13
|
${databaseModules.length ? `import * as cnst from "./cnst";` : ""}
|
|
14
14
|
${databaseModules.map((module) => `import * as ${module}Db from "./${module}/${module}.document";`).join("\n")}
|
|
15
15
|
|
|
16
|
-
${libs.map((lib) => `export
|
|
16
|
+
${libs.map((lib) => `export * as ${lib} from "@libs/${lib}/lib/db";`).join("\n")}
|
|
17
17
|
|
|
18
18
|
${databaseModules.map((module) => `class ${capitalize(module)}Input extends by(cnst.${capitalize(module)}Input) {}`).join("\n")}
|
|
19
19
|
${databaseModules.map((module) => `class ${capitalize(module)}Insight extends by(cnst.${capitalize(module)}Insight) {}`).join("\n")}
|
package/templates/lib/dict.ts
CHANGED
|
@@ -9,7 +9,7 @@ export default function getContent(scanInfo: AppInfo | LibInfo | null, dict: { [
|
|
|
9
9
|
const libs = scanInfo.getLibs();
|
|
10
10
|
return `
|
|
11
11
|
import { makeDictionary, makeTrans, registerScalarTrans, registerServiceTrans, registerModelTrans${libs.length === 0 ? `, dictionary as base` : ""} } from "akanjs/dictionary";
|
|
12
|
-
${libs.length ? libs.map((lib) => `import { dictionary as ${lib} } from "@libs/${lib}/
|
|
12
|
+
${libs.length ? libs.map((lib) => `import { dictionary as ${lib} } from "@libs/${lib}/lib/dict";`).join("\n") : ""}
|
|
13
13
|
|
|
14
14
|
${databaseModules.map((module) => `import * as ${module} from "./${module}/${module}.dictionary";`).join("\n")}
|
|
15
15
|
${serviceModules.map((module) => `import * as ${module} from "./_${module}/${module}.dictionary";`).join("\n")}
|
package/templates/lib/sig.ts
CHANGED
|
@@ -17,7 +17,7 @@ export default function getContent(scanInfo: AppInfo | LibInfo | null, dict: { [
|
|
|
17
17
|
return `
|
|
18
18
|
import { FetchClient, type FetchClientType } from "akanjs/fetch";
|
|
19
19
|
import { SignalRegistry, serverSignal${libs.length === 0 ? ", fetch as base" : ""} } from "akanjs/signal";
|
|
20
|
-
${libs.map((lib) => `import { fetch as ${lib} } from "@libs/${lib}/
|
|
20
|
+
${libs.map((lib) => `import { fetch as ${lib} } from "@libs/${lib}/lib/sig";`).join("\n")}
|
|
21
21
|
|
|
22
22
|
${[...scanInfo.database.entries()]
|
|
23
23
|
.filter(([_, files]) => files.has("signal"))
|
package/templates/lib/srv.ts
CHANGED
|
@@ -13,7 +13,11 @@ export default function getContent(scanInfo: AppInfo | LibInfo | null, dict: { [
|
|
|
13
13
|
const libs = scanInfo.getLibs();
|
|
14
14
|
return `
|
|
15
15
|
import { ServiceModel } from "akanjs/service";
|
|
16
|
-
${
|
|
16
|
+
${
|
|
17
|
+
libs.length
|
|
18
|
+
? libs.map((lib) => `import * as ${lib} from "@libs/${lib}/lib/option";`).join("\n")
|
|
19
|
+
: 'import type { BackendEnv } from "akanjs/base";'
|
|
20
|
+
}
|
|
17
21
|
|
|
18
22
|
import * as cnst from "./cnst";
|
|
19
23
|
import * as db from "./db";
|
|
@@ -21,7 +25,7 @@ import * as db from "./db";
|
|
|
21
25
|
${databaseModules.map((module) => `import { ${capitalize(module)}Service } from "./${module}/${module}.service";`).join("\n")}
|
|
22
26
|
${serviceModules.map((module) => `import { ${capitalize(module)}Service } from "./_${module}/${module}.service";`).join("\n")}
|
|
23
27
|
|
|
24
|
-
${libs.map((lib) => `export
|
|
28
|
+
${libs.map((lib) => `export * as ${lib} from "@libs/${lib}/lib/srv";`).join("\n")}
|
|
25
29
|
|
|
26
30
|
${databaseModules.map((module) => `export { ${capitalize(module)}Service } from "./${module}/${module}.service";`).join("\n")}
|
|
27
31
|
${serviceModules.map((module) => `export { ${capitalize(module)}Service } from "./_${module}/${module}.service";`).join("\n")}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
WorkflowRunner
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-ndme9y2y.js";
|
|
5
5
|
import {
|
|
6
6
|
ScalarScript
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-ej3agbq1.js";
|
|
8
8
|
import {
|
|
9
9
|
PrimitiveScript
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-asjjj4fq.js";
|
|
11
11
|
import {
|
|
12
12
|
ModuleScript
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-akqqp683.js";
|
|
14
14
|
import"./index-ss469dec.js";
|
|
15
|
-
import"./index-
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
15
|
+
import"./index-t0kc37gt.js";
|
|
16
|
+
import"./index-sh01r3pm.js";
|
|
17
|
+
import"./index-1faem7g5.js";
|
|
18
18
|
import {
|
|
19
19
|
createWorkflowStepRegistry
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-1gr9gxw6.js";
|
|
21
21
|
import"./index-j37qq1f2.js";
|
|
22
22
|
import {
|
|
23
23
|
Workspace,
|
|
24
24
|
command,
|
|
25
25
|
script
|
|
26
|
-
} from "./index-
|
|
27
|
-
import"./index-
|
|
26
|
+
} from "./index-27bbw5ch.js";
|
|
27
|
+
import"./index-7twyb44b.js";
|
|
28
28
|
import"./index-mxvakhsm.js";
|
|
29
29
|
import"./index-xys926f2.js";
|
|
30
30
|
import"./index-1577bej2.js";
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
ContextScript
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
6
|
-
import"./index-
|
|
7
|
-
import"./index-
|
|
8
|
-
import"./index-
|
|
9
|
-
import"./index-
|
|
4
|
+
} from "./index-2nf75yp5.js";
|
|
5
|
+
import"./index-vgjwv8ze.js";
|
|
6
|
+
import"./index-ndme9y2y.js";
|
|
7
|
+
import"./index-ej3agbq1.js";
|
|
8
|
+
import"./index-asjjj4fq.js";
|
|
9
|
+
import"./index-akqqp683.js";
|
|
10
10
|
import"./index-ss469dec.js";
|
|
11
|
-
import"./index-
|
|
11
|
+
import"./index-t0kc37gt.js";
|
|
12
12
|
import {
|
|
13
13
|
CloudScript
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-xg0qkt4g.js";
|
|
15
15
|
import {
|
|
16
16
|
getLatestPackageVersion,
|
|
17
17
|
getNpmRegistryUrl
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-7rzk9h16.js";
|
|
19
19
|
import {
|
|
20
20
|
PackageScript
|
|
21
|
-
} from "./index-
|
|
22
|
-
import"./index-
|
|
21
|
+
} from "./index-y9m8fgx8.js";
|
|
22
|
+
import"./index-gw90pjfq.js";
|
|
23
23
|
import {
|
|
24
24
|
GlobalConfig
|
|
25
|
-
} from "./index-
|
|
25
|
+
} from "./index-sh01r3pm.js";
|
|
26
26
|
import {
|
|
27
27
|
AgentScript
|
|
28
|
-
} from "./index-
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
28
|
+
} from "./index-ysbsfh1q.js";
|
|
29
|
+
import"./index-1faem7g5.js";
|
|
30
|
+
import"./index-1gr9gxw6.js";
|
|
31
31
|
import"./index-j37qq1f2.js";
|
|
32
32
|
import {
|
|
33
33
|
ApplicationScript
|
|
34
|
-
} from "./index-
|
|
34
|
+
} from "./index-m96hv58d.js";
|
|
35
35
|
import {
|
|
36
36
|
LibraryScript
|
|
37
|
-
} from "./index-
|
|
37
|
+
} from "./index-ff3hzwtj.js";
|
|
38
38
|
import"./index-76rn3g2c.js";
|
|
39
39
|
import {
|
|
40
40
|
Exec,
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
command,
|
|
43
43
|
runner,
|
|
44
44
|
script
|
|
45
|
-
} from "./index-
|
|
45
|
+
} from "./index-27bbw5ch.js";
|
|
46
46
|
import"./index-fgc8r6dj.js";
|
|
47
47
|
import {
|
|
48
48
|
ThemeValidator,
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
collectScopeRecipeSources,
|
|
60
60
|
extractAgentBlock,
|
|
61
61
|
renderScopeAgentBlock
|
|
62
|
-
} from "./index-
|
|
62
|
+
} from "./index-7twyb44b.js";
|
|
63
63
|
import"./index-mxvakhsm.js";
|
|
64
64
|
import {
|
|
65
65
|
collectRecipeSources,
|