Commit fea3ab3
feat(serve): add extension management v2 (#6825)
* feat(cli): workspace-qualified extensions REST (daemon multi-workspace)
Mirror the daemon extension-management REST surface to per-workspace routes, reusing the Phase 3 runtime resolver and trust gate. Extract a per-workspace extensions controller so the primary workspace shares one install queue, operation history, and status cache across the legacy and workspace-qualified routes. Reads resolve the target runtime only; mutations require a trusted workspace. Advertise a new baseline capability so clients can discover the surface, and add matching SDK client methods.
Refs #6378.
* qwen: address PR review feedback (#6638)
Align the new extensions controller file's copyright year with the other new files added in this change.
* qwen: address PR review feedback (#6638)
Redact credentials from the extension source on the two success-path fan-outs (session refresh and refresh-failure broadcast), matching the operation record and failure broadcast. Document the non-cancellation semantics of the extension timeout wrapper.
* qwen: address PR review feedback (#6638)
Share the queue-full sentinel message via an exported constant so the throw site (controller) and the 429 match site (routes) cannot drift after the module split. Include the bound workspace in the extension operation log prefixes so concurrent per-workspace controllers are distinguishable in stderr.
* feat(cli): add concurrent extension preparation
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(cli): remove redundant extension context build
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* codex: address PR review feedback (#6638)
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* codex: address PR review feedback (#6638)
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(cli): address extension review feedback
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(extensions): address final review feedback
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(extensions): address latest review feedback
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* codex: address PR review feedback (#6638)
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(core): reject links in npm extension archives
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(core): limit npm extension archive downloads
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(extensions): address review follow-ups
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(extensions): address latest review feedback
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(extensions): release rejected operation slots
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(extensions): address operation review feedback
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(extensions): align archive handling contracts
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(extensions): preserve watcher generation state
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* docs(extensions): align management contracts
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(sdk): bound extension operation polls
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* test(core): cover forged prepared commits
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* test(core): assert activation generation increment
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(extensions): close archive and polling gaps
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(cli): retry suppressed extension generations
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* test(cli): cover archive URL extension updates
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(sdk): preserve unbounded operation waits
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(core): share npm redirect download deadline
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(core): preserve extension reload diagnostics
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(core): preserve installed Claude plugin paths
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(cli): return committed activation state
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(cli): preserve extension preparation errors
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(core): validate extension setting env vars
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(cli): target extension reconciliation
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* codex: address PR review feedback (#6638)
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* codex: address PR review feedback (#6638)
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* codex: address PR review feedback (#6638)
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* codex: address PR review feedback (#6638)
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* codex: address PR review feedback (#6638)
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* codex: address PR review feedback (#6638)
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* codex: address PR review feedback (#6638)
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* test(cli): cover resultless legacy commit warnings
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(cli): retain suppressed extension generations
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(cli): record legacy runtime reconciliation
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(cli): validate extension clients by runtime
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(cli): record workspace activation refresh
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* test(cli): stop extension reconcilers after cases
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(cli): resolve global runtimes at reconciliation
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(cli): reconcile newly registered runtimes
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(cli): prevent overlapping runtime reconciliation
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(cli): dispose late runtime apps during shutdown
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(core): keep projection repair best effort
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(core): preserve committed store results
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(core): quarantine corrupt store journals
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(core): harden npm download redirects
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(extensions): address review edge cases
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(extensions): honor cancellation between preparation stages
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(extensions): retry prepared cleanup failures
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* test(extensions): cover committed artifact recovery boundary
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(serve): release extension refresh queue on timeout
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* codex: address PR review feedback (#6638)
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* codex: address PR review feedback (#6638)
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* codex: address PR review feedback (#6638)
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* codex: address PR review feedback (#6638)
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix: address extension review feedback
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* codex: address PR review feedback (#6638)
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* codex: address PR review feedback (#6638)
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* codex: address PR review feedback (#6638)
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* codex: address PR review feedback (#6638)
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(core): reconcile extension store compatibility state
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(core): bound npm redirects and isolate extension tests
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(core): make extension uninstall store-authoritative
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(core): defer prepared extension secret mutations
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(core): validate staged extensions before commit
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(core): enforce public extension network policy
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(core): handle extension response failures
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(extensions): surface committed refresh warnings
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(cli): guard timer unref calls
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(extensions): release commit lane after durable writes
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* test(serve): update mutation callback assertions
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(serve): refresh live extension instructions
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(extensions): address latest review feedback
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(extensions): address follow-up review findings
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(extensions): address remaining activation feedback
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(serve): preserve preparation queue status
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(extensions): enforce network request deadlines
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* docs(serve): clarify single-workspace capabilities
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(extensions): guard deferred settings commit
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(extensions): cancel archive extraction
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(extensions): harden refresh recovery
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(serve): serialize extension reconciliation
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(extensions): address post-commit review feedback
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* codex: address PR review feedback (#6825)
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* codex: address PR review feedback (#6825)
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* codex: address PR review feedback (#6825)
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* codex: fix CI failure on PR #6825
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* codex: fix CI failure on PR #6825
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* codex: address PR review feedback (#6825)
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix: address critical PR review feedback
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(cli): bound legacy extension update checks
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(acp): deduplicate extension refresh requests
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* codex: address PR review feedback (#6825)
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* codex: address PR review feedback (#6825)
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* codex: address PR review feedback (#6825)
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* codex: address PR review feedback (#6825)
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* fix(sdk): update browser bundle budget after main merge
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
---------
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Co-authored-by: qwen-code-dev-bot <qwen-code-dev-bot@users.noreply.github.com>1 parent bc8e394 commit fea3ab3
93 files changed
Lines changed: 17856 additions & 1891 deletions
File tree
- docs
- design
- developers
- daemon
- plans
- integration-tests/cli
- packages
- acp-bridge/src
- cli/src
- acp-integration
- commands
- channel
- extensions
- config
- serve
- routes
- server
- ui
- commands
- components
- extensions
- steps
- tabs
- views
- views
- hooks
- state
- core
- src
- config
- extension
- sdk-typescript
- scripts
- src/daemon
- test/unit
- web-shell/client
- components/messages
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
| 122 | + | |
121 | 123 | | |
122 | 124 | | |
123 | 125 | | |
| |||
0 commit comments