@orbit-build/cli 1.5.0 → 1.6.3
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/README.md +114 -3
- package/THIRD_PARTY_NOTICES.md +1 -0
- package/commands/cumcm-draft.md +3 -1
- package/dist/index.js +20465 -5461
- package/package.json +5 -3
- package/skills/cumcm-draft/SKILL.md +62 -36
- package/skills/cumcm-draft/agents/openai.yaml +1 -1
- package/skills/cumcm-draft/assets/project-template/.cumcm/profile.json +1 -0
- package/skills/cumcm-draft/references/code-and-output-style.md +13 -2
- package/skills/cumcm-draft/references/latex-figures-tables.md +4 -2
- package/skills/cumcm-draft/references/modeling-quality.md +17 -0
- package/skills/cumcm-draft/references/project-architecture.md +29 -23
- package/skills/cumcm-draft/scripts/audit_paper.py +6 -6
- package/skills/cumcm-draft/scripts/bootstrap_project.py +86 -28
- package/skills/cumcm-draft/scripts/build_paper.py +6 -8
- package/skills/cumcm-draft/scripts/capture_environment.py +31 -21
- package/skills/cumcm-draft/scripts/clean_project.py +91 -2
- package/skills/cumcm-draft/scripts/evidence_freeze.py +2 -2
- package/skills/cumcm-draft/scripts/finalize_project.py +35 -9
- package/skills/cumcm-draft/scripts/inspect_inputs.py +9 -1
- package/skills/cumcm-draft/scripts/package_support.py +50 -9
- package/skills/cumcm-draft/scripts/project_utils.py +9 -2
- package/skills/cumcm-draft/scripts/validate_project.py +67 -68
- package/skills/cumcm-draft/assets/project-template/.cumcm/finalize.py +0 -90
- /package/skills/cumcm-draft/assets/project-template/{paper → happy}/AI/345/267/245/345/205/267/344/275/277/347/224/250/350/257/246/346/203/205.tex" +0 -0
- /package/skills/cumcm-draft/assets/project-template/{paper → happy}/main.tex +0 -0
package/README.md
CHANGED
|
@@ -58,6 +58,29 @@ orbit doctor --probe --deepseek # configuration + live probe
|
|
|
58
58
|
orbit bench --model deepseek-v4-flash --thinking high
|
|
59
59
|
orbit agents validate --json # validate project/user Agent Profiles
|
|
60
60
|
orbit --agent-profile reviewer "Review src" # run one task with a named profile
|
|
61
|
+
orbit # then /agent reviewer in TUI/REPL
|
|
62
|
+
orbit runs list --json # inspect durable Agent runs
|
|
63
|
+
orbit runs inspect run_... # inspect child-agent state and lease
|
|
64
|
+
orbit runs recover # recover expired process leases
|
|
65
|
+
orbit daemon start --root . # start a durable local task daemon
|
|
66
|
+
orbit daemon start --jwks idp-jwks.json --issuer https://id.example --audience orbit
|
|
67
|
+
orbit daemon status --json # inspect daemon health
|
|
68
|
+
orbit daemon submit "Fix tests" --json # enqueue a durable task
|
|
69
|
+
orbit daemon inspect task_... --json # inspect state, lease, and outcome
|
|
70
|
+
orbit daemon events task_... --follow --jsonl # replay then follow bounded events
|
|
71
|
+
orbit daemon cancel task_... # stop a queued/running task
|
|
72
|
+
orbit daemon resume task_... # retry with durable session context
|
|
73
|
+
orbit daemon remove task_... # remove one terminal task + journal
|
|
74
|
+
orbit daemon tasks --limit 20 --json # list cross-process task records
|
|
75
|
+
orbit daemon stop # authenticated shutdown
|
|
76
|
+
orbit daemon audit --limit 100 --json # verify/read redacted audit chain
|
|
77
|
+
orbit acp list # list ACP external Agents
|
|
78
|
+
orbit acp probe <agent> # negotiate an external Agent
|
|
79
|
+
orbit acp sessions <agent> # inspect its durable sessions
|
|
80
|
+
orbit acp run <agent> <prompt> --session <id> # continue a durable session
|
|
81
|
+
orbit acp close <agent> <session> # release an active session
|
|
82
|
+
orbit review list # inspect persisted review findings
|
|
83
|
+
orbit review verify --json # CI gate for open P0/P1 findings
|
|
61
84
|
orbit update --check # check without installing
|
|
62
85
|
```
|
|
63
86
|
|
|
@@ -72,7 +95,13 @@ final `agent_completed` event.
|
|
|
72
95
|
- Project-scoped chats with model-aware context compaction and conservative
|
|
73
96
|
crash recovery.
|
|
74
97
|
- Validated file, search, symbol, shell, test, Git, web, fetch, plan, and MCP
|
|
75
|
-
tools with bounded, redacted results.
|
|
98
|
+
tools with bounded, redacted results. `inspect_document` extracts supported
|
|
99
|
+
text/PDF/Office inputs through explicit local extractors and opt-in
|
|
100
|
+
Tesseract OCR, while `capture_screenshot`, `capture_audio`, and
|
|
101
|
+
`transcribe_audio`, and `inspect_accessibility` use privacy-sensitive,
|
|
102
|
+
platform-native adapters with
|
|
103
|
+
bounded output, password-value omission, and dependency/permission
|
|
104
|
+
diagnostics.
|
|
76
105
|
- Platform-native command execution—PowerShell on Windows and Bash/POSIX sh on
|
|
77
106
|
macOS/Linux—with model guidance that matches the active shell dialect.
|
|
78
107
|
- Workspace isolation, approval policy, checkpoints, timeline, rewind,
|
|
@@ -85,12 +114,87 @@ final `agent_completed` event.
|
|
|
85
114
|
enable/disable controls, portable catalog export, and source-targeted deep
|
|
86
115
|
bundle validation for duplicate-name development setups.
|
|
87
116
|
- Typed lifecycle Hooks with bounded metadata, matchers, timeout/failure
|
|
88
|
-
policy, shared approvals, and browser-safe audit events.
|
|
117
|
+
policy, shared approvals, and browser-safe audit events. Trusted extension
|
|
118
|
+
Hooks additionally require process permission and an integrity-matched
|
|
119
|
+
install, then run with provenance in a required native sandbox, denied
|
|
120
|
+
network, read-only extension root, and credential-free environment.
|
|
89
121
|
- Schema-validated Agent Profiles from `.agents/agents`, `.orbit/agents`,
|
|
90
122
|
`.claude/agents`, and user directories with deterministic precedence,
|
|
91
|
-
managed-policy checks,
|
|
123
|
+
managed-policy checks, tool allow/deny controls, named MCP server
|
|
124
|
+
allow-lists, profile-owned lifecycle hooks, and an idle-only `/agent` picker.
|
|
125
|
+
Extensions may contribute validated YAML/JSON profiles under an isolated
|
|
126
|
+
extension namespace; direct project/user profiles always win duplicate names.
|
|
127
|
+
- A durable Agent control plane that can be inspected from a second terminal:
|
|
128
|
+
`orbit runs list|inspect|recover` exposes bounded, redacted state without
|
|
129
|
+
attaching to or interrupting the active Web UI/TUI process.
|
|
130
|
+
- Official ACP v1 external-Agent bridge with capability probing, streaming,
|
|
131
|
+
bounded session discovery, capability-driven resume/load continuation,
|
|
132
|
+
explicit close, permission requests, cancellation, timeout recovery, and
|
|
133
|
+
redacted logs.
|
|
134
|
+
- `orbit acp import <agent> <session>` performs an explicit bounded
|
|
135
|
+
`session/load` replay into a native Orbit session. Imported tool/plan updates
|
|
136
|
+
are inert provenance text, binary content is omitted, oversized history is
|
|
137
|
+
rejected unless `--allow-truncated` is explicit, and identical snapshots are
|
|
138
|
+
digest-deduplicated.
|
|
139
|
+
- Local ACP registry discovery with user/project precedence, bounded manifest
|
|
140
|
+
validation, symlink rejection, stable digests, and explicit trust metadata:
|
|
141
|
+
`orbit acp registry list|validate`. `orbit acp registry fetch --url` adds
|
|
142
|
+
HTTPS-only hosted distribution with signed owner/id/revision/expiry metadata,
|
|
143
|
+
bounded timeout/cancellation, conditional ETag support, and atomic local
|
|
144
|
+
pinning; older local revisions are never overwritten without `--force`.
|
|
145
|
+
- Authenticated durable task daemon with loopback-by-default HTTP, optional
|
|
146
|
+
TLS for remote listeners, atomic private bearer-token storage, task leases and
|
|
147
|
+
heartbeats, resumable/orphaned state, cancellation, bounded event replay with
|
|
148
|
+
slow-client limits, explicit terminal-record removal, and a complete
|
|
149
|
+
`start|status|submit|tasks|inspect|events|cancel|resume|remove|stop` CLI.
|
|
150
|
+
Every control action can also target an explicit remote daemon with
|
|
151
|
+
`--url` plus a bearer token from `--token-env`; remote HTTP is rejected except
|
|
152
|
+
for loopback, and remote execution still uses the typed `DaemonClient`
|
|
153
|
+
protocol with the same bounds and cancellation semantics.
|
|
154
|
+
Remote `submit` requires an explicit `--cwd` visible to the daemon host;
|
|
155
|
+
Orbit never guesses a cross-machine path mapping.
|
|
156
|
+
Hosts can provide daemon-local `read`/`submit`/`control`/`admin` principals;
|
|
157
|
+
the token-file compatibility principal is intentionally full local-admin,
|
|
158
|
+
not an SSO identity. Optional RS256/JWKS verification maps an existing IdP's
|
|
159
|
+
short-lived claims to those scopes; `DaemonAuditLog` provides a redacted,
|
|
160
|
+
fsynced hash-chain record and `requireAudit` can fail closed.
|
|
161
|
+
- Provider-neutral `FleetCoordinator` primitives plus the daemon package's
|
|
162
|
+
`FleetHttpServer`/`FleetHttpClient` define signed idempotent job envelopes,
|
|
163
|
+
worker leases, stale recovery, retry limits, patch ownership/base revisions,
|
|
164
|
+
result digests, cancellation, bounded HTTP transport, and scoped auth. They
|
|
165
|
+
are a deployable cloud/offload seam, not an automatic workspace uploader;
|
|
166
|
+
tenancy, storage, patch transfer, and rollback remain deployment-owned.
|
|
167
|
+
- Review findings persisted as structured evidence under `.orbit/reviews/`, with
|
|
168
|
+
`orbit review list|show|set|verify` disposition and CI-gate controls that
|
|
169
|
+
never edit source files; disposition changes retain a bounded audit history.
|
|
170
|
+
`orbit review export [artifact] --format sarif --out artifacts/review.sarif`
|
|
171
|
+
emits standard SARIF 2.1.0 with workspace-relative locations, severity,
|
|
172
|
+
disposition, evidence, and stable finding fingerprints for code-scanning
|
|
173
|
+
uploads. The export is local and provider-neutral; it does not silently call
|
|
174
|
+
GitHub or upload source data.
|
|
175
|
+
- `orbit review github-check [artifact]` turns the same findings into a bounded
|
|
176
|
+
GitHub Checks API payload. It is dry-run by default; `--apply` is required to
|
|
177
|
+
send an HTTPS request and the token is read only from the selected environment
|
|
178
|
+
variable. Repository/SHA validation, 50-annotation limits, timeout, and
|
|
179
|
+
redacted failures are enforced. Enterprise API hosts require the explicit
|
|
180
|
+
`--allow-custom-api` opt-in so a token is never sent to an accidental host;
|
|
181
|
+
`--pr <number>` verifies the PR head SHA before the Check Run is created.
|
|
182
|
+
- `orbit review github-comment <pr> <artifact> --repo owner/repo --sha <commit>`
|
|
183
|
+
provides an idempotent inline-comment adapter. It is dry-run by default;
|
|
184
|
+
`--apply` first pages through existing Orbit markers (up to 1,000), skips
|
|
185
|
+
duplicates, and only posts bounded line comments for open findings with safe
|
|
186
|
+
repository-relative paths. A bounded `orbit review github-dispatch <workflow>
|
|
187
|
+
[ref] --repo owner/repo` command can trigger a configured GitHub Actions
|
|
188
|
+
workflow; it is also dry-run by default, accepts repeatable `--input name=value`
|
|
189
|
+
values, and requires `--apply` plus an environment token to send the request.
|
|
190
|
+
- Process sandbox policy with truthful macOS/Linux native backend detection and a
|
|
191
|
+
signed Windows native-helper contract (`windows-appcontainer-helper`); invalid
|
|
192
|
+
or missing Windows helper attestations fail closed in `required` mode and are
|
|
193
|
+
reported as degraded in `auto` mode.
|
|
92
194
|
- Live MCP catalog refresh and health diagnostics, plus safe trace-to-Skill
|
|
93
195
|
workflow export that never replays recorded commands or arguments.
|
|
196
|
+
- Per-server MCP interaction policy can disable elicitation, sampling, or roots
|
|
197
|
+
before those capabilities are advertised to an untrusted server.
|
|
94
198
|
- Secure provider profiles and authenticated model catalogs without storing
|
|
95
199
|
credentials in project sessions or support data.
|
|
96
200
|
|
|
@@ -150,6 +254,7 @@ orbit backup inspect <file> # validate version, paths, sizes, and checksums
|
|
|
150
254
|
orbit backup restore <file> # refuses existing files without --force
|
|
151
255
|
orbit clean --project # preview project-owned cleanup
|
|
152
256
|
orbit clean --user # preview user-owned cleanup
|
|
257
|
+
orbit sessions retention --older-than 30 --max-bytes 1073741824 # preview session retention
|
|
153
258
|
npm uninstall --global @orbit-build/cli
|
|
154
259
|
```
|
|
155
260
|
|
|
@@ -158,6 +263,12 @@ Interactive deletion requires `DELETE`; automation requires `--yes`. Backups
|
|
|
158
263
|
exclude credentials, generated indexes, caches, evaluations, temporary state,
|
|
159
264
|
and prior exports.
|
|
160
265
|
|
|
266
|
+
Session retention is a narrower, reviewable cleanup surface. It only considers
|
|
267
|
+
`.orbit/sessions`, protects active sessions by default, supports age/count/byte
|
|
268
|
+
limits, emits a JSON dry-run, and rechecks session identity and size before
|
|
269
|
+
deleting. Use `--yes` for automation and `--include-active` only when an active
|
|
270
|
+
run has been deliberately stopped and reviewed.
|
|
271
|
+
|
|
161
272
|
## Learn more
|
|
162
273
|
|
|
163
274
|
- [Product overview](https://github.com/Hephaestus-DevKit/Orbit#readme)
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -6,6 +6,7 @@ published runtime bundle. It is generated from the lockfile with
|
|
|
6
6
|
|
|
7
7
|
## Apache-2.0
|
|
8
8
|
|
|
9
|
+
- `@agentclientprotocol/sdk` 1.3.0 — https://github.com/agentclientprotocol/typescript-sdk#readme
|
|
9
10
|
- `human-signals` 5.0.0 — https://www.github.com/ehmicky/human-signals
|
|
10
11
|
- `typescript` 6.0.3 — https://www.typescriptlang.org/
|
|
11
12
|
|
package/commands/cumcm-draft.md
CHANGED
|
@@ -8,6 +8,8 @@ argumentHint: <项目目录;可附“生成/修订/仅审计”,留空使用
|
|
|
8
8
|
逐页检查—交付包”,不得停在脚手架、提纲或示例段落。自动判断生成、修订或审计模式,保护题目原件,以最新代码和程序生成的
|
|
9
9
|
JSON/CSV 为数值事实源,完成模型—代码—结果—图表—论文一致性核验、真实
|
|
10
10
|
TeX Live 编译和逐页排版检查。不要只润色或给提纲;不得编造代码中不存在的
|
|
11
|
-
|
|
11
|
+
模型、算法、数据和数值。运行前先确认 Python/Conda 环境;最终 `happy/`
|
|
12
|
+
保留主论文、AI 使用详情、PDF/ZIP 与各问题需提交的表格副本,不生成项目内
|
|
13
|
+
`finalize.py`、`__pycache__` 或环境 JSON。
|
|
12
14
|
交付物;每问的 `main.py` 只负责编排,真实建模与检验代码必须按职责拆分到同级
|
|
13
15
|
模块,禁止用单文件脚手架冒充完成。仅在会改变模型方向或可能误删重要资料时询问。
|