惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Y
Y Combinator Blog
The GitHub Blog
The GitHub Blog
云风的 BLOG
云风的 BLOG
Engineering at Meta
Engineering at Meta
Google DeepMind News
Google DeepMind News
aimingoo的专栏
aimingoo的专栏
Recent Announcements
Recent Announcements
A
About on SuperTechFans
U
Unit 42
MyScale Blog
MyScale Blog
J
Java Code Geeks
博客园_首页
Blog — PlanetScale
Blog — PlanetScale
D
Docker
Microsoft Azure Blog
Microsoft Azure Blog
博客园 - 司徒正美
量子位
月光博客
月光博客
G
Google Developers Blog
V
V2EX
博客园 - 聂微东
宝玉的分享
宝玉的分享
IT之家
IT之家
Vercel News
Vercel News

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
docs(path): scrub references to dropped grammar features ...
giodl73-repo · 2026-05-09 · via Recent Commits to openclaw:main

@@ -11,7 +11,7 @@ title: "Path"

11111212

Plugin-provided shell access to the `oc://` addressing substrate — one universal,

1313

kind-dispatched path scheme for inspecting and surgically editing workspace

14-

files (markdown, jsonc, jsonl, yaml). Self-hosters and editor extensions use

14+

files (markdown, jsonc, jsonl). Self-hosters and editor extensions use

1515

it to read or write a single leaf inside a workspace file without scripting

1616

against the SDK directly.

1717

@@ -45,17 +45,17 @@ Slot rules — `field` requires `item`, `item` requires `section`. Across all

4545

four slots:

46464747

- **Quoted segments**`"a/b.c"` survives `/` and `.` separators.

48-

`"\\"` and `"\""` are the only escapes inside quotes.

49-

The file slot is also quote-aware: `oc://"skills/email-drafter"/Tools/-1`

48+

Content is byte-literal; `"` and `\` are not allowed inside quotes.

49+

The file slot is also quote-aware: `oc://"skills/email-drafter"/Tools/$last`

5050

treats `skills/email-drafter` as a single file path.

51-

- **Predicates**`[k=v]`, `[k!=v]`, `[k*=v]`, `[k^=v]`, `[k$=v]`,

52-

`[k<v]`, `[k<=v]`, `[k>v]`, `[k>=v]`.

51+

- **Predicates**`[k=v]`, `[k!=v]`, `[k<v]`, `[k<=v]`, `[k>v]`,

52+

`[k>=v]`. Numeric ops require both sides to coerce to finite numbers.

5353

- **Unions**`{a,b,c}` matches any of the alternatives.

5454

- **Wildcards**`*` (single sub-segment) and `**` (zero-or-more,

5555

recursive). `find` accepts these; `resolve` and `set` reject them as

5656

ambiguous.

57-

- **Positional**`$first`, `$last`, `-N` (Nth from end).

58-

- **Ordinal**`#N` for Nth match.

57+

- **Positional**`$last` resolves to the last index / last-declared key.

58+

- **Ordinal**`#N` for Nth match by document order.

5959

- **Insertion markers**`+`, `+key`, `+nnn` for keyed / indexed

6060

insertion (use with `set`).

6161

- **Session scope**`?session=cron:daily` etc. Orthogonal to slot

@@ -69,7 +69,7 @@ rejected anywhere.

69697070

```bash

7171

# Validate a path (no filesystem access)

72-

openclaw path validate 'oc://AGENTS.md/Tools/-1/risk'

72+

openclaw path validate 'oc://AGENTS.md/Tools/$last/risk'

73737474

# Read a leaf

7575

openclaw path resolve 'oc://gateway.jsonc/version'