@one-agent-ctx/source 1.3.1

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/NOTICE ADDED
@@ -0,0 +1,66 @@
1
+ NOTICE — agent-context-os
2
+ ========================
3
+
4
+ This product is licensed under the GNU Affero General Public License v3.0
5
+ (see LICENSE).
6
+
7
+ Derived work and attribution
8
+ ----------------------------
9
+
10
+ agent-context-os is a Rust re-implementation (copy-port) of the server-side
11
+ core capabilities of volcengine/OpenViking, pinned at upstream commit
12
+ 94ff079f514f0803ae1777b17142586f8ed1df4c (vendored as the git submodule
13
+ at ./OpenViking for reference).
14
+
15
+ Inherited / derived components:
16
+
17
+ 1. crates/ovcore (planned)
18
+ Fork of OpenViking's crates/ragfs (Apache-2.0, (c) upstream
19
+ contributors). Apache-2.0 code is included under its terms; the
20
+ combined work remains AGPL-3.0.
21
+
22
+ 2. engine-cpp / engine-shim (planned)
23
+ Vendored from OpenViking's src/ C++ vector engine (AGPL-3.0, (c)
24
+ Beijing Volcano Engine Technology Co., Ltd.), linked via a thin C ABI
25
+ shim. SPDX headers preserved.
26
+
27
+ 3. Ported Python -> Rust
28
+ The business orchestration layer (ingestion, semantic layering,
29
+ retrieval, assembly, sessions/memory, skills, snapshot) is a
30
+ function-by-function translation of OpenViking's Python layer
31
+ (AGPL-3.0, (c) Beijing Volcano Engine Technology Co., Ltd.).
32
+ Ported files carry source-path and commit annotations in their
33
+ headers, as required by our porting discipline (ADR-15).
34
+
35
+ 4. Prompt templates and memory-type YAML definitions
36
+ Reused verbatim from OpenViking
37
+ (openviking/prompts/templates/, AGPL-3.0), snapshotted at
38
+ contracts/golden/memory-types/.
39
+
40
+ Upstream project: https://github.com/volcengine/OpenViking
41
+
42
+ License scope
43
+ -------------
44
+ - The AGPL-3.0 license above covers this repository as a whole, including the
45
+ sidecar binary (engine-cpp / leveldb / krl) and its platform packages.
46
+ - Exception: packages/client/ is an independent implementation of the HTTP
47
+ protocol plus generated type declarations. It contains no code copied or
48
+ translated from AGPL sources and is licensed under MIT (see
49
+ packages/client/LICENSE). Any file derived from AGPL sources must live
50
+ outside packages/client/.
51
+ - Decided (2026-09-13, product owner): the TypeScript declarations in
52
+ packages/client/src/generated/ are ```type declarations``` generated from
53
+ crates/agent-ctx-os-contract. They are not treated as a derivative work and
54
+ are distributed under MIT together with the rest of packages/client/.
55
+ Scope of this decision: type declarations only. The sidecar binary and its
56
+ platform packages remain AGPL-3.0 (static engine-cpp/leveldb/krl link chain)
57
+ and are unaffected; the releaseGate recorded in consumers' ctx-runtime locks
58
+ applies to that component, not to this package.
59
+
60
+ SPDX policy
61
+ -----------
62
+ - Every inherited or translated source file keeps the upstream SPDX
63
+ identifier and copyright notice.
64
+ - Translation-source annotations: `// ported-from: <upstream path>@<commit>`
65
+ on ported files.
66
+ - This NOTICE must be distributed with the product.
package/README.md ADDED
@@ -0,0 +1,16 @@
1
+ # @one-agent-ctx/source
2
+
3
+ `agent-ctx-os` 运行时内核 **1.3.1** 的对应源码(AGPL-3.0 §6)。同版本的 `@one-agent-ctx/runtime-*` 平台包由本归档所含的提交 `904bb78bf419c69a1c1f212201f8d37679b4cdda` 构建(各包 `component.json.source_revision` 与此相同)。
4
+
5
+ - `source.tar.gz`:`git archive` 该提交的全部 tracked 文件(Rust 契约与内核、C++ 引擎 `vendor/engine-cpp` 与 shim、构建配方 `scripts/`、`Cargo.lock`;sha256 `ce72b3a7a4c7e3a7b97054874b61f10db70a0bb9b84fe666f2d751e887d474e9`);
6
+ - `source.json`:提交 / tree / 归档 digest 的机器可读描述符。
7
+
8
+ ## 重建
9
+
10
+ ```sh
11
+ tar xzf source.tar.gz && cd <解包目录>
12
+ while IFS='=' read -r k v; do export "$k=$v"; done < <(bash scripts/build-env.sh) # C++/Rust 构建环境(唯一权威)
13
+ ONE_CONTEXT_OS_REVISION=904bb78bf419c69a1c1f212201f8d37679b4cdda bash scripts/stage-component.sh darwin/arm64 target/staged # 或 darwin/amd64、windows/amd64
14
+ ```
15
+
16
+ 上游参考实现 volcengine/OpenViking(公开仓)在归档里以 NOTICE 记录的提交号引用,不随归档附带。