Skip to content

Commit 96122b3

Browse files
Merge branch 'main' into codex/crestodian-provider-onboarding
2 parents cc6f5f7 + 2fbd4cd commit 96122b3

14 files changed

Lines changed: 479 additions & 152 deletions

File tree

docs/install/installer.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,10 @@ Recommended for most interactive installs on macOS/Linux/WSL.
8585

8686
</Step>
8787
<Step title="Post-install tasks">
88-
- Refreshes a loaded gateway service best-effort (`openclaw gateway install --force`, then restart)
89-
- Runs `openclaw doctor --non-interactive` on upgrades and git installs (best effort)
90-
- Attempts onboarding when appropriate (TTY available, onboarding not disabled, and bootstrap/config checks pass)
91-
- Runs a post-install smoke verify when `--verify` is set
88+
- Resolves the just-installed `openclaw` binary for follow-up commands
89+
- For an unconfigured install, starts onboarding before doctor or gateway probes. With `--no-onboard` or no TTY, it prints the command to finish setup later.
90+
- For a configured install, refreshes and restarts a loaded gateway service best-effort and runs doctor. Upgrades update plugins when possible, or print the manual command in a headless prompt-enabled run.
91+
- When `--verify` runs, it checks the installed version and checks gateway health only after configuration exists.
9292

9393
</Step>
9494
</Steps>

extensions/oc-path/src/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export type OutputRuntimeEnv = {
3838
exit(code: number): void;
3939
};
4040

41-
export interface PathCommandOptions {
41+
interface PathCommandOptions {
4242
readonly json?: boolean;
4343
readonly human?: boolean;
4444
readonly valueJson?: boolean;

extensions/oc-path/src/oc-path/edit.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import type { AstBlock, AstItem, FrontmatterEntry, MdAst } from "./ast.js";
1313
import { formatOcPath, type OcPath } from "./oc-path.js";
1414
import { guardSentinel } from "./sentinel.js";
1515

16-
export type MdEditResult =
16+
type MdEditResult =
1717
| { readonly ok: true; readonly ast: MdAst }
1818
| {
1919
readonly ok: false;

extensions/oc-path/src/oc-path/jsonc/edit.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import { parseJsonc } from "./parse.js";
1515

1616
type JsoncEditPath = Array<string | number>;
1717

18-
export type JsoncEditResult =
18+
type JsoncEditResult =
1919
| { readonly ok: true; readonly ast: JsoncAst }
2020
| { readonly ok: false; readonly reason: "unresolved" | "no-root" };
2121

extensions/oc-path/src/oc-path/jsonc/resolve-value.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import { isPositionalSeg, parseArrayIndexSegment, resolvePositionalSeg } from "../oc-path.js";
33
import type { JsoncEntry, JsoncValue } from "./ast.js";
44

5-
export type JsoncValueOcPathMatch =
5+
type JsoncValueOcPathMatch =
66
| { readonly kind: "value"; readonly node: JsoncValue; readonly path: readonly string[] }
77
| {
88
readonly kind: "object-entry";

extensions/oc-path/src/oc-path/jsonc/resolve.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { isQuotedSeg, splitRespectingBrackets, unquoteSeg } from "../oc-path.js"
1111
import type { JsoncAst, JsoncEntry, JsoncValue } from "./ast.js";
1212
import { resolveJsoncValueOcPath } from "./resolve-value.js";
1313

14-
export type JsoncOcPathMatch =
14+
type JsoncOcPathMatch =
1515
| { readonly kind: "root"; readonly node: JsoncAst }
1616
| { readonly kind: "value"; readonly node: JsoncValue; readonly path: readonly string[] }
1717
| {

extensions/oc-path/src/oc-path/jsonl/edit.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import {
1818
import type { JsonlAst, JsonlLine } from "./ast.js";
1919
import { emitJsonl } from "./emit.js";
2020

21-
export type JsonlEditResult =
21+
type JsonlEditResult =
2222
| { readonly ok: true; readonly ast: JsonlAst }
2323
| { readonly ok: false; readonly reason: "unresolved" | "not-a-value-line" };
2424

extensions/oc-path/src/oc-path/jsonl/resolve.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import { isQuotedSeg, splitRespectingBrackets, unquoteSeg } from "../oc-path.js"
2222
import type { JsonlAst, JsonlLine } from "./ast.js";
2323
import { pickJsonlLine } from "./line.js";
2424

25-
export type JsonlOcPathMatch =
25+
type JsonlOcPathMatch =
2626
| { readonly kind: "root"; readonly node: JsonlAst }
2727
| { readonly kind: "line"; readonly node: JsonlLine }
2828
| {

extensions/oc-path/src/oc-path/oc-path.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ export function parseUnionSeg(seg: string): readonly string[] | null {
459459
* Value predicate `[key<op>value]`. Operators: `=` `!=` (string),
460460
* `<` `<=` `>` `>=` (numeric). Multi-char tried before single-char.
461461
*/
462-
export type PredicateOp = "=" | "!=" | "<" | "<=" | ">" | ">=";
462+
type PredicateOp = "=" | "!=" | "<" | "<=" | ">" | ">=";
463463

464464
const PREDICATE_OPS: readonly PredicateOp[] = ["!=", "<=", ">=", "<", ">", "="];
465465

extensions/oc-path/src/oc-path/universal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export type SetResult =
9999
readonly detail?: string;
100100
};
101101

102-
export type SetOcPathOptions = {
102+
type SetOcPathOptions = {
103103
readonly valueJson?: boolean;
104104
};
105105

0 commit comments

Comments
 (0)