@atlaswork/atlascode 0.1.131 → 0.1.133
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/dist/atlasweb-carrier.json +3 -3
- package/dist/cli.js +10 -1
- package/package.json +3 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"product": "atlascode",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"runtimeSha256": "
|
|
5
|
-
"executionSha256": "
|
|
3
|
+
"version": "0.1.133",
|
|
4
|
+
"runtimeSha256": "9bbb766ae76e5a73f1155a83bd6eda493644fb228b9308e0f45938fb49f43451",
|
|
5
|
+
"executionSha256": "b14e2ea5946c9e086d65d2debe0de98b0afec83228d887958bcb16a6e867710d"
|
|
6
6
|
}
|
package/dist/cli.js
CHANGED
|
@@ -506875,8 +506875,17 @@ async function binMain() {
|
|
|
506875
506875
|
await runDevCli();
|
|
506876
506876
|
return;
|
|
506877
506877
|
}
|
|
506878
|
+
const tuiWordLeadingCommands = new Set([
|
|
506879
|
+
"agents",
|
|
506880
|
+
"doctor",
|
|
506881
|
+
"auth",
|
|
506882
|
+
"plugin",
|
|
506883
|
+
"plugins",
|
|
506884
|
+
"install",
|
|
506885
|
+
"setup-token"
|
|
506886
|
+
]);
|
|
506878
506887
|
const hasPrintFlag = argv.includes("-p") || argv.includes("--print");
|
|
506879
|
-
const isTuiInvocation = argv.length === 0 || argv[0] === "code" || argv[0].startsWith("-") && !hasPrintFlag;
|
|
506888
|
+
const isTuiInvocation = argv.length === 0 || argv[0] === "code" || argv[0].startsWith("-") && !hasPrintFlag || tuiWordLeadingCommands.has(argv[0]);
|
|
506880
506889
|
if (isTuiInvocation) {
|
|
506881
506890
|
if (argv[0] === "code") {
|
|
506882
506891
|
process.argv = [process.argv[0], process.argv[1], ...argv.slice(1)];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaswork/atlascode",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.133",
|
|
4
4
|
"description": "AtlasCode — Coding Agent for the domestic computing ecosystem (Ascend NPU + domestic LLM backends)",
|
|
5
5
|
"homepage": "https://www.atlaswork.cn/",
|
|
6
6
|
"bin": {
|
|
@@ -47,7 +47,8 @@
|
|
|
47
47
|
"build:web-session-runtime": "bun build src/atlascode/web/runtimeEntry.ts --outfile dist/web-session-runtime/index.js --target node --external zod && tsc -p tsconfig.web-session-runtime.json && printf 'export * from \"./atlascode/web/runtimeEntry.js\"\\n' > dist/web-session-runtime/index.d.ts && bun scripts/rewrite-web-session-runtime-dts.ts",
|
|
48
48
|
"build:web-session-runtime-execution": "bun build src/atlascode/web/entry.ts --outfile dist/web-session-runtime-execution/index.js --target node && tsc -p tsconfig.web-session-runtime-execution.json && printf 'export * from \"./atlascode/web/entry.js\"\\n' > dist/web-session-runtime-execution/index.d.ts && bun scripts/rewrite-web-session-runtime-dts.ts dist/web-session-runtime-execution",
|
|
49
49
|
"build:atlasweb-carrier": "bun scripts/emit-atlasweb-carrier.ts",
|
|
50
|
-
"prepublishOnly": "bun run build && bun run build:web-contract && bun run build:web-session-runtime && bun run build:web-session-runtime-execution && bun run build:atlasweb-carrier"
|
|
50
|
+
"prepublishOnly": "bun run build && bun run build:web-contract && bun run build:web-session-runtime && bun run build:web-session-runtime-execution && bun run build:atlasweb-carrier",
|
|
51
|
+
"prepack": "bun run build:atlasweb-carrier"
|
|
51
52
|
},
|
|
52
53
|
"dependencies": {
|
|
53
54
|
"@alcalzone/ansi-tokenize": "^0.3.0",
|