@arcships/morula-runtime 0.1.0-alpha.15 → 0.1.0-alpha.16
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/morula.js
CHANGED
|
@@ -704,8 +704,8 @@ function page(ok, message) {
|
|
|
704
704
|
}
|
|
705
705
|
|
|
706
706
|
// ../morula-cli-core/dist/build-env.js
|
|
707
|
-
var BUILD_VERSION = "0.1.0-alpha.
|
|
708
|
-
var BUILD_ID = "
|
|
707
|
+
var BUILD_VERSION = "0.1.0-alpha.16";
|
|
708
|
+
var BUILD_ID = "20260929103157.019b0b1c";
|
|
709
709
|
var BUILD_CONTEXTS = {
|
|
710
710
|
"local": "http://localhost:8080/api",
|
|
711
711
|
"test": "https://morula.basecastle.com/api",
|
package/dist/plugin/plugin.json
CHANGED
|
@@ -135,8 +135,9 @@ allowed-tools: Bash(morula *), Bash(git *), Bash(gh *)
|
|
|
135
135
|
- **git / gh 命令一律在对应仓库目录内执行**(`cd <工作区根>/<仓库目录>`,或 `git -C <仓库目录> ...`):
|
|
136
136
|
工作区根不是 git 仓库,在根目录跑 git 命令必然失败。`morula` CLI 可在工作区根或其任意子目录执行(见 0.4)。
|
|
137
137
|
- **主仓库**:平台已解析出的仓库在**工作区根下就绪**(目录名 = 仓库全名把 `/` 换成 `-`,如 `human-resources/xxx` → `human-resources-xxx`);`ls` 工作区根即可看到,直接在该目录内建分支/提交/推分支/提 PR。**需要空间绑定了哪些仓库时自己查**:`morula repo list --space <spaceId>`(spaceId 见系统提示「基本信息」段)。
|
|
138
|
-
- **⚠️ `morula repo checkout` 的语义 =
|
|
139
|
-
|
|
138
|
+
- **⚠️ `morula repo checkout` 的语义 = 「声明/切换本任务的主仓库」**(服务端 generation+1 + daemon 物化工作区):
|
|
139
|
+
声明只作用于当前任务(当前阶段的执行者);**开发阶段任务不继承分析阶段的声明**——需要改代码时由你自己
|
|
140
|
+
按任务描述/分析结论 checkout。因此只在**判定出主仓库之后**调用,**一次任务只声明一次**(判错要纠正时才再调一次)。
|
|
140
141
|
不要用它「把空间里的仓库逐个逛一遍」——每调一次主仓库就跟着换一次(真机踩到:分析阶段为查证 checkout 了 3 个仓库,
|
|
141
142
|
主仓库最终停在最后那个「只看了一眼」的仓库上)。
|
|
142
143
|
- **若任务需要了解仓库内容/代码/提交状态(读场景,含纯问答)**:
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcships/morula-runtime",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.1.0-alpha.
|
|
4
|
+
"version": "0.1.0-alpha.16",
|
|
5
5
|
"description": "Device-level CLI for the Morula local agent runtime (daemon/portal/models/auth) and the Morula business CLI (morula), distributed via npm",
|
|
6
6
|
"bin": {
|
|
7
7
|
"morula-runtime": "./bin/morula-runtime.js",
|