@akanjs/cli 3.0.0-alpha.47 → 3.0.0-alpha.49
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/{application.command-5w691e89.js → application.command-k2v46pxf.js} +2 -2
- package/{applicationBuildRunner-0xjav921.js → applicationBuildRunner-t5v6tcrm.js} +1 -1
- package/buildBatch.proc.js +1 -1
- package/{cloud.command-dq0mvj11.js → cloud.command-7jwmxtez.js} +4 -4
- package/guidelines/agentRule/agentRule.instruction.md +8 -4
- package/incrementalBuilder.proc.js +1 -1
- package/{index-bjpxzr6s.js → index-5vy2jzar.js} +1 -1
- package/{index-hnysajy8.js → index-7etegaht.js} +2 -2
- package/{index-2kjyh1jb.js → index-bwt525ne.js} +1 -1
- package/{index-awt2gttt.js → index-y59x51f1.js} +2 -2
- package/index.js +4 -4
- package/{localRegistry.command-mp3yc9gg.js → localRegistry.command-vnkc41gj.js} +3 -3
- package/package.json +2 -2
- package/{workspace.command-zkhcjsj2.js → workspace.command-5f2nmmd5.js} +4 -4
package/.build-stamp
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
461d177fea7bea8b38847fed3e7046a101f7ad110bf3e5e3e577f6fb1ce9531f
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./index-0wae5ebk.js";
|
|
5
5
|
import {
|
|
6
6
|
ApplicationScript
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-7etegaht.js";
|
|
8
8
|
import"./index-6bs24rb4.js";
|
|
9
9
|
import {
|
|
10
10
|
getMobileTargetChoices
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
command
|
|
18
18
|
} from "./index-8rr621r2.js";
|
|
19
19
|
import"./index-fgc8r6dj.js";
|
|
20
|
-
import"./index-
|
|
20
|
+
import"./index-5vy2jzar.js";
|
|
21
21
|
import"./index-90zyjrby.js";
|
|
22
22
|
import"./index-mxvakhsm.js";
|
|
23
23
|
import"./index-1577bej2.js";
|
package/buildBatch.proc.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
CloudScript
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
4
|
+
} from "./index-y59x51f1.js";
|
|
5
|
+
import"./index-bwt525ne.js";
|
|
6
6
|
import"./index-7zd96bng.js";
|
|
7
7
|
import {
|
|
8
8
|
GlobalConfig
|
|
9
9
|
} from "./index-sh01r3pm.js";
|
|
10
|
-
import"./index-
|
|
10
|
+
import"./index-7etegaht.js";
|
|
11
11
|
import"./index-6bs24rb4.js";
|
|
12
12
|
import"./index-76rn3g2c.js";
|
|
13
13
|
import {
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
command
|
|
16
16
|
} from "./index-8rr621r2.js";
|
|
17
17
|
import"./index-fgc8r6dj.js";
|
|
18
|
-
import"./index-
|
|
18
|
+
import"./index-5vy2jzar.js";
|
|
19
19
|
import"./index-90zyjrby.js";
|
|
20
20
|
import"./index-mxvakhsm.js";
|
|
21
21
|
import"./index-1577bej2.js";
|
|
@@ -304,12 +304,16 @@ apps and libs never import it directly (`no-import-external-library`) — everyt
|
|
|
304
304
|
is likely to have, since the tools and the screen context ride on top of it and neither compacts) the history above the last `keep` messages
|
|
305
305
|
becomes one message standing in for it, flagged `summary` on the wire — `<Agent.Chat compact={{ at, keep }} />`
|
|
306
306
|
tunes it per provider and `{ at: 0 }` turns it off, and `/compact` does the same on demand keeping nothing.
|
|
307
|
-
**The cut
|
|
308
|
-
|
|
307
|
+
**The cut never lands on a `tool` message**: the kept half may not open with a result whose call was summarized
|
|
308
|
+
away, a shape every provider dialect rejects. A user message is preferred where the tail holds one — everything
|
|
309
|
+
above it is settled — but one assistant turn that ran ten tools has none, and that is the transcript that
|
|
310
|
+
outgrows the window, so a cut there opens on the assistant message instead. The summarizing
|
|
309
311
|
turn carries no tools and no screen context — it summarizes the conversation, it does not act on it — and it is
|
|
310
312
|
fed a *bounded* digest rather than the transcript itself, since the transcript being summarized is the one that
|
|
311
|
-
no longer fits. A summary that cannot be produced leaves the transcript alone
|
|
312
|
-
have
|
|
313
|
+
no longer fits. A summary that cannot be produced leaves the transcript alone, the turn goes out as it would
|
|
314
|
+
have, and the next one asks again — a summarizer that was momentarily unreachable says nothing about whether
|
|
315
|
+
this transcript can shrink. One that *landed* and shrank nothing does, so that one is not retried until another
|
|
316
|
+
threshold's worth has been added. On the
|
|
313
317
|
wire a summary wears the user's role because the wire has no other, so a provider mapping frames it as a system
|
|
314
318
|
message and `/retry` steps over it — replaying it would send the notes back as a question.
|
|
315
319
|
- **A stopped turn answers the calls it never ran, because an unanswered call ends the conversation.** Every
|
|
@@ -422,7 +422,7 @@ class HmrWatcher {
|
|
|
422
422
|
this.#unreportedChanges += unreported;
|
|
423
423
|
if (!this.#reportedCompensating) {
|
|
424
424
|
this.#reportedCompensating = true;
|
|
425
|
-
this.#logger.
|
|
425
|
+
this.#logger.verbose(`[hmr] recovered ${unreported} change(s) that fs.watch did not report; Bun coalesces concurrent saves and drops all but one, so changes are resolved by mtime`);
|
|
426
426
|
}
|
|
427
427
|
this.#logger.verbose(`[hmr] mtime scan found ${unreported} change(s) fs.watch never reported (${this.#unreportedChanges} total)`);
|
|
428
428
|
}
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
import {
|
|
13
13
|
HmrWatcher,
|
|
14
14
|
WatchRootResolver
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-5vy2jzar.js";
|
|
16
16
|
import {
|
|
17
17
|
AppExecutor,
|
|
18
18
|
LibExecutor,
|
|
@@ -1898,7 +1898,7 @@ 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-t5v6tcrm.js")).ApplicationBuildRunner;
|
|
1902
1902
|
var loadReleasePackager = async () => (await import("./applicationReleasePackager-93nzdfsy.js")).ApplicationReleasePackager;
|
|
1903
1903
|
var loadCapacitorApp = async () => (await import("./capacitorApp-927ahhz2.js")).CapacitorApp;
|
|
1904
1904
|
var loadAbstractCompactor = async () => (await import("./abstractCompactor-20e0cwbs.js")).AbstractCompactor;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
CloudRunner
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-bwt525ne.js";
|
|
5
5
|
import {
|
|
6
6
|
PackageScript
|
|
7
7
|
} from "./index-7zd96bng.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./index-sh01r3pm.js";
|
|
13
13
|
import {
|
|
14
14
|
ApplicationScript
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-7etegaht.js";
|
|
16
16
|
import {
|
|
17
17
|
script
|
|
18
18
|
} from "./index-8rr621r2.js";
|
package/index.js
CHANGED
|
@@ -18,16 +18,16 @@ import path from "path";
|
|
|
18
18
|
|
|
19
19
|
// pkgs/@akanjs/cli/commandModules.ts
|
|
20
20
|
var commandModules = {
|
|
21
|
-
workspace: async () => (await import("./workspace.command-
|
|
21
|
+
workspace: async () => (await import("./workspace.command-5f2nmmd5.js")).WorkspaceCommand,
|
|
22
22
|
agent: async () => (await import("./agent.command-nqs3bw0g.js")).AgentCommand,
|
|
23
|
-
application: async () => (await import("./application.command-
|
|
23
|
+
application: async () => (await import("./application.command-k2v46pxf.js")).ApplicationCommand,
|
|
24
24
|
library: async () => (await import("./library.command-7h3yezwc.js")).LibraryCommand,
|
|
25
|
-
localRegistry: async () => (await import("./localRegistry.command-
|
|
25
|
+
localRegistry: async () => (await import("./localRegistry.command-vnkc41gj.js")).LocalRegistryCommand,
|
|
26
26
|
package: async () => (await import("./package.command-z7dd6vy2.js")).PackageCommand,
|
|
27
27
|
module: async () => (await import("./module.command-4g11k3xd.js")).ModuleCommand,
|
|
28
28
|
page: async () => (await import("./page.command-y996708m.js")).PageCommand,
|
|
29
29
|
context: async () => (await import("./context.command-6kn3tady.js")).ContextCommand,
|
|
30
|
-
cloud: async () => (await import("./cloud.command-
|
|
30
|
+
cloud: async () => (await import("./cloud.command-7jwmxtez.js")).CloudCommand,
|
|
31
31
|
guideline: async () => (await import("./guideline.command-pjdrndqk.js")).GuidelineCommand,
|
|
32
32
|
scalar: async () => (await import("./scalar.command-3chgxybs.js")).ScalarCommand,
|
|
33
33
|
primitive: async () => (await import("./primitive.command-4fcn8k83.js")).PrimitiveCommand,
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import {
|
|
3
3
|
CloudRunner,
|
|
4
4
|
getNpmRegistryUrl
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-bwt525ne.js";
|
|
6
6
|
import {
|
|
7
7
|
PackageScript
|
|
8
8
|
} from "./index-7zd96bng.js";
|
|
9
9
|
import"./index-sh01r3pm.js";
|
|
10
10
|
import {
|
|
11
11
|
ApplicationScript
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-7etegaht.js";
|
|
13
13
|
import"./index-6bs24rb4.js";
|
|
14
14
|
import"./index-76rn3g2c.js";
|
|
15
15
|
import {
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
script
|
|
20
20
|
} from "./index-8rr621r2.js";
|
|
21
21
|
import"./index-fgc8r6dj.js";
|
|
22
|
-
import"./index-
|
|
22
|
+
import"./index-5vy2jzar.js";
|
|
23
23
|
import {
|
|
24
24
|
PkgExecutor
|
|
25
25
|
} from "./index-90zyjrby.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.49",
|
|
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.49",
|
|
38
38
|
"chalk": "^5.6.2",
|
|
39
39
|
"commander": "^14.0.3",
|
|
40
40
|
"dayjs": "^1.11.20",
|
|
@@ -11,11 +11,11 @@ import"./index-ss469dec.js";
|
|
|
11
11
|
import"./index-4z05haak.js";
|
|
12
12
|
import {
|
|
13
13
|
CloudScript
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-y59x51f1.js";
|
|
15
15
|
import {
|
|
16
16
|
getLatestPackageVersion,
|
|
17
17
|
getNpmRegistryUrl
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-bwt525ne.js";
|
|
19
19
|
import {
|
|
20
20
|
PackageScript
|
|
21
21
|
} from "./index-7zd96bng.js";
|
|
@@ -31,7 +31,7 @@ import"./index-5em412h5.js";
|
|
|
31
31
|
import"./index-j37qq1f2.js";
|
|
32
32
|
import {
|
|
33
33
|
ApplicationScript
|
|
34
|
-
} from "./index-
|
|
34
|
+
} from "./index-7etegaht.js";
|
|
35
35
|
import {
|
|
36
36
|
LibraryScript
|
|
37
37
|
} from "./index-6bs24rb4.js";
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
countBlocking,
|
|
50
50
|
formatStyleContract
|
|
51
51
|
} from "./index-xjd3rqzj.js";
|
|
52
|
-
import"./index-
|
|
52
|
+
import"./index-5vy2jzar.js";
|
|
53
53
|
import {
|
|
54
54
|
AppExecutor,
|
|
55
55
|
LibExecutor,
|