Skip to content

Commit 44c935a

Browse files
committed
chore: integrate rust-preview for AppKit backend review
Generated-by: OpenAI Codex
2 parents 510e5eb + b1a39d6 commit 44c935a

27 files changed

Lines changed: 368 additions & 85 deletions

‎.github/workflows/website.yml‎

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,21 +24,15 @@ name: Website
2424
on:
2525
pull_request:
2626
paths:
27-
[
28-
"website/**",
29-
"assets/logo.png",
30-
"README*",
31-
"DISCLAIMER-WIP",
32-
".github/workflows/website.yml",
33-
]
27+
["website/**", "assets/logo.png", "README*", "DISCLAIMER", ".github/workflows/website.yml"]
3428
push:
3529
branches: [main]
3630
tags: ["v*"]
3731
paths:
3832
- "website/**"
3933
- "assets/logo.png"
4034
- "README*"
41-
- "DISCLAIMER-WIP"
35+
- "DISCLAIMER"
4236
- "LICENSE"
4337
- "NOTICE"
4438
- ".asf.yaml"

‎DISCLAIMER‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Apache Maka is an effort undergoing incubation at The Apache Software Foundation
2+
(ASF), sponsored by the Apache Incubator PMC. Incubation is required of all
3+
newly accepted projects until a further review indicates that the
4+
infrastructure, communications, and decision-making process have stabilized in a
5+
manner consistent with other successful ASF projects. While incubation status is
6+
not necessarily a reflection of the completeness or stability of the code, it
7+
does indicate that the project has yet to be fully endorsed by the ASF.

‎DISCLAIMER-WIP‎

Lines changed: 0 additions & 20 deletions
This file was deleted.

‎LICENSE‎

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,33 @@
203203

204204
THIRD-PARTY COMPONENTS
205205

206+
Playwright browser injected script and keyboard data (Apache License 2.0)
207+
208+
third-party/playwright contains the injected script and US keyboard data from
209+
playwright-core 1.58.2, revision ce480a952553175eae75342aad2c5e86cdf2cbba.
210+
Source: https://github.com/microsoft/playwright
211+
Copyright (c) Microsoft Corporation
212+
Original LICENSE, NOTICE and ThirdPartyNotices.txt are preserved beside the
213+
source. The published archive, extraction method and file hashes are recorded
214+
in third-party/playwright/upstream.json.
215+
216+
reqwest HTTP client source (adapted, Apache License 2.0 OR MIT)
217+
218+
third-party/reqwest contains reqwest 0.13.5 from
219+
https://github.com/seanmonstar/reqwest at revision
220+
de55373434f07f42926599dbb5a88550d8e55112.
221+
Copyright (c) 2016-2026 Sean McArthur
222+
Original license texts, source hashes and local changes are recorded in
223+
third-party/reqwest/{LICENSE-APACHE,LICENSE-MIT,upstream.json,SOURCE.md}.
224+
225+
image-webp decoder source (adapted, Apache License 2.0 OR MIT)
226+
227+
third-party/image-webp contains image-webp 0.2.4 from
228+
https://github.com/image-rs/image-webp at revision
229+
08b57d473c90148dd4b37a075df365afc3dfcc2b.
230+
Original license texts, source hashes and local changes are recorded in
231+
third-party/image-webp/{LICENSE-APACHE,LICENSE-MIT,upstream.json,SOURCE.md}.
232+
206233
Zod dependency patch
207234

208235
Source: https://www.npmjs.com/package/zod/v/4.6.7

‎NOTICE‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,9 @@ Copyright 2025 OpenAI
99

1010
This product includes portions of GPUI Fast / GPUI.
1111
Copyright 2022 - 2025 Zed Industries, Inc.
12+
13+
Playwright
14+
Copyright (c) Microsoft Corporation
15+
16+
This software contains code derived from the Puppeteer project (https://github.com/puppeteer/puppeteer),
17+
available under the Apache 2.0 license (https://github.com/puppeteer/puppeteer/blob/master/LICENSE).

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,4 @@ Use `just --list` for development commands. See [Contributing](CONTRIBUTING.md),
6161

6262
The npm launcher selects a matching native package; it contains no agent runtime. Native preview artifacts are built and verified from one source archive. Packaging and publication are documented in [packages/cli](packages/cli/README.md).
6363

64-
Apache Maka is undergoing incubation at the Apache Software Foundation. See [DISCLAIMER-WIP](DISCLAIMER-WIP), [LICENSE](LICENSE) and [NOTICE](NOTICE).
64+
Apache Maka is undergoing incubation at the Apache Software Foundation. See [DISCLAIMER](DISCLAIMER), [LICENSE](LICENSE) and [NOTICE](NOTICE).

‎README.zh-CN.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,4 @@ just run
6161

6262
npm 启动器选择匹配的原生平台包,自身不包含 Agent 运行时。原生预览包从同一份源码归档构建并验证,流程见 [packages/cli](packages/cli/README.zh-CN.md)。
6363

64-
Apache Maka 正在 Apache 软件基金会孵化。参见 [DISCLAIMER-WIP](DISCLAIMER-WIP)、[LICENSE](LICENSE) 和 [NOTICE](NOTICE)。
64+
Apache Maka 正在 Apache 软件基金会孵化。参见 [DISCLAIMER](DISCLAIMER)、[LICENSE](LICENSE) 和 [NOTICE](NOTICE)。

‎docs/code-origin-audit.md‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,22 @@
2121

2222
Third-party source and dependency patch attribution is recorded in [LICENSE](../LICENSE). Apply-patch adaptations have a detailed record in [plugins/workspace/workspace-files/patch/SOURCE.md](../plugins/workspace/workspace-files/patch/SOURCE.md); native Computer Use notices live in [platform/computer-use/THIRD_PARTY_NOTICES](../platform/computer-use/THIRD_PARTY_NOTICES).
2323

24+
### Release licensing scope
25+
26+
The historical incoming-code review used the individual-contributor ICLA route submitted in the [0.2.0 RC2 vote](https://lists.apache.org/thread/743v94gvldqs4pbwwg59l22pojb44v4k). The questioned contributor ICLAs were [publicly confirmed](https://lists.apache.org/thread/47jpk47vykyqr4gxy85szpq25zw0qh9f), after which Justin [withdrew his binding -1](https://lists.apache.org/thread/yno6g7kzfc9dgntt0n572zk4vnj4jr2x). The standard [DISCLAIMER](../DISCLAIMER) retains the required incubation notice without repeating the resolved ICLA concern.
27+
28+
This branch's source archive contains first-party Rust and TypeScript source, adapted source, pinned vendored source and the assets listed below. Vendored components preserve their own licenses and source records; a language rewrite does not remove those obligations. `scripts/asf-source-release.mjs` verifies the actual archive contents, including headers, manifest licenses and the finite non-text inventory.
29+
30+
Native npm packages include the root legal documents and the reviewed Rust, embedded JavaScript, V8 and Rust standard-library notices. The launcher carries the same disclaimer, and packaged macOS application resources also include the legal documents and native notices. Dependency and notice inventories are checked by `scripts/rust/dependencies.mjs` and `scripts/rust/notices.mjs`. MPL dependencies permitted for binary distribution remain external dependencies of the source archive and have license texts and exact source references in the native notices.
31+
2432
### Native model protocol validation
2533

2634
`plugins/agent/provider-protocol` implements Responses, Chat Completions compatible and Anthropic Messages with protocol-owned Rust input types, wire decoders and stream state. Chat Completions and Anthropic behavior was checked against the relevant unchanged Vercel AI SDK tests at revision `e623e8c88b55066dde769614a16ae51d424974aa` (openai-compatible 3.0.77 and anthropic 4.0.87). The upstream tests and temporary validation bindings are external validation tools and are not distributed with Maka. The product uses the same Rust protocol core through Host-scoped transport in `plugins/agent/model/src/adapters`.
2735

2836
### Source archive non-text inventory
2937

3038
- `assets/logo.png`: Product artwork reproduced by `scripts/generate-logo.py` from its vector geometry; Apache-2.0.
39+
- `products/maka/desktop-shell/maka.ico`: Windows multi-resolution icon derived from `assets/logo.png` in [#6446](https://github.com/apache/maka/pull/6446); seven PNG images at 16–256 pixels, embedded by `windows.rc`; Apache-2.0.
3140
- `products/maka/workbench/app/assets/maka.png`: Byte-identical copy of `assets/logo.png`, bundled with the workbench application's composer; Apache-2.0.
3241
- `website/src/assets/incubator.png`: Unmodified Apache Incubator trademark artwork from https://www.apache.org/logos/res/incubator/default.png.
3342
- `website/src/assets/social.en.png`: English website preview rendered by `website/scripts/social-preview.mjs`; includes the product mark and self-hosted OFL-1.1 fonts.

‎packages/cli/package.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
},
1414
"files": [
1515
"bin",
16+
"DISCLAIMER",
1617
"LICENSE",
1718
"NOTICE",
1819
"README.md",

‎plugins/agent/native/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Shell tools accept an optional model-authored `title`, enabled by default. Assis
6767

6868
The default Maka composition enables `todo`: `todo_read` and `todo_write` maintain a persistent checklist for the current session, including in Code Mode and read-only workspaces. Writes replace the whole list with revision checks. The UI shows reported progress and a read-only Checklist panel, with bounded pages covering up to 200 items. Checklist completion is model-reported progress, not proof that an operation succeeded.
6969

70-
The default Maka composition enables `bot`, the Bot mode. `openBot` returns the installation's single Bot Session, creating it in the given workspace on first use or after the previous one was archived; the record is claimed before the Session is created, so concurrent and retried opens converge on one Session. That registered record is the only source of Bot identity: tool grants, recovery and `SendUser` all consult it, so forks and Sessions derived from the Bot are ordinary Sessions. The Bot Session is created with agent-native coordination tools (scheduled tasks, goals, recall, checklist, WorkHub delegation and skills), and `SendUser` is granted by identity rather than by that list; ordinary creation cannot request it. A call records its messages in Host-owned storage kept apart from Run state, one record per call and per message: the same `messageId` with the same content is a duplicate and is not recorded again, the same id with different content is refused, and sending nothing is valid. Calls are never evicted, so a reused id is always recognized. `botOutbox` pages messages oldest first after a sequence cursor, and `watchBotOutbox` signals head changes. Queued wakes of the Bot Session, including scheduled and WorkHub-origin messages, continue after an unknown tool outcome with the model told rather than the tool replayed; ordinary Sessions keep the stricter rule.
70+
The default Maka composition enables `bot`, the Bot mode. `openBot` returns the installation's single Bot Session, creating it in the given workspace on first use or after the previous one was archived; the record is claimed before the Session is created, so concurrent and retried opens converge on one Session. That registered record is the only source of Bot identity: tool grants, recovery and `SendUser` all consult it, so forks and Sessions derived from the Bot are ordinary Sessions. The Bot Session is created with agent-native coordination tools (scheduled tasks, goals, recall, checklist, WorkHub delegation and skills), and `SendUser` and `sleep` are granted by identity rather than by that list; ordinary creation cannot request either. `sleep` takes no arguments and has no duration: it ends the Turn and the Bot is woken by a user message, a WorkHub result or a scheduled event, each of which starts its own Turn. It is refused only while a queued message is already bound for the running Invocation's next step, and it must be called on its own, not in the same step as `SendUser`. A call records its messages in Host-owned storage kept apart from Run state, one record per call and per message: the same `messageId` with the same content is a duplicate and is not recorded again, the same id with different content is refused, and sending nothing is valid. Calls are never evicted, so a reused id is always recognized. `botOutbox` pages messages oldest first after a sequence cursor, and `watchBotOutbox` signals head changes. Queued wakes of the Bot Session, including scheduled and WorkHub-origin messages, continue after an unknown tool outcome with the model told rather than the tool replayed; ordinary Sessions keep the stricter rule.
7171

7272
The default Maka composition enables `automaticTitles`. Conversations created with `automaticTitle: true` receive one title attempt after their first admitted message, using the accepted model with a bounded, separately accounted request. Explicit titles, manual renames (including the unchanged placeholder), archived and managed sessions retain their names. Retries and Host restarts do not repeat an admitted title attempt; Host shutdown waits for its physical cleanup.
7373

0 commit comments

Comments
 (0)