Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
Python agent-contextagent-memoryagent-pluginsagentic-ragcontext-databasedsh-pluginknowledge-basememorymemory-managementself-evolvingvector-database
chore(sdk): add license headers (#5422)
Jiahui Zhou4445f2e9a05d
diff --git a/sdk/go/acl.go b/sdk/go/acl.goindex 64ed2fa1b..0916e4512 100644--- a/sdk/go/acl.go+++ b/sdk/go/acl.go@@ -1,3 +1,6 @@+// Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.+// SPDX-License-Identifier: AGPL-3.0+package openvikingimport (diff --git a/sdk/go/admin.go b/sdk/go/admin.goindex 2199d2bfb..0c07bc469 100644--- a/sdk/go/admin.go+++ b/sdk/go/admin.go@@ -1,3 +1,6 @@+// Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.+// SPDX-License-Identifier: AGPL-3.0+package openvikingimport (diff --git a/sdk/go/agent_evolution.go b/sdk/go/agent_evolution.goindex 67322e0ef..2c8f9a7c2 100644--- a/sdk/go/agent_evolution.go+++ b/sdk/go/agent_evolution.go@@ -1,3 +1,6 @@+// Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.+// SPDX-License-Identifier: AGPL-3.0+package openvikingimport (diff --git a/sdk/go/client.go b/sdk/go/client.goindex 62e324979..fca44bc21 100644--- a/sdk/go/client.go+++ b/sdk/go/client.go@@ -1,3 +1,6 @@+// Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.+// SPDX-License-Identifier: AGPL-3.0+package openvikingimport (diff --git a/sdk/go/client_test.go b/sdk/go/client_test.goindex 15f9b7e7c..2e027a197 100644--- a/sdk/go/client_test.go+++ b/sdk/go/client_test.go@@ -1,3 +1,6 @@+// Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.+// SPDX-License-Identifier: AGPL-3.0+package openvikingimport (diff --git a/sdk/go/compile.go b/sdk/go/compile.goindex 7241d461d..df37a82b0 100644--- a/sdk/go/compile.go+++ b/sdk/go/compile.go@@ -1,3 +1,6 @@+// Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.+// SPDX-License-Identifier: AGPL-3.0+package openvikingimport (diff --git a/sdk/go/errors.go b/sdk/go/errors.goindex ccf1e9e63..33de97877 100644--- a/sdk/go/errors.go+++ b/sdk/go/errors.go@@ -1,3 +1,6 @@+// Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.+// SPDX-License-Identifier: AGPL-3.0+package openvikingimport (diff --git a/sdk/go/examples/basic_usage/main.go b/sdk/go/examples/basic_usage/main.goindex 2985f363a..6bb36d96e 100644--- a/sdk/go/examples/basic_usage/main.go+++ b/sdk/go/examples/basic_usage/main.go@@ -1,3 +1,6 @@+// Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.+// SPDX-License-Identifier: AGPL-3.0+package mainimport (diff --git a/sdk/go/filesystem.go b/sdk/go/filesystem.goindex 96ba8dd28..ed5ca9014 100644--- a/sdk/go/filesystem.go+++ b/sdk/go/filesystem.go@@ -1,3 +1,6 @@+// Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.+// SPDX-License-Identifier: AGPL-3.0+package openvikingimport (diff --git a/sdk/go/helpers.go b/sdk/go/helpers.goindex 3f667e62e..f688e9b15 100644--- a/sdk/go/helpers.go+++ b/sdk/go/helpers.go@@ -1,3 +1,6 @@+// Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.+// SPDX-License-Identifier: AGPL-3.0+package openvikingimport (diff --git a/sdk/go/openviking_assets.go b/sdk/go/openviking_assets.goindex 91f886866..c8d7244f9 100644--- a/sdk/go/openviking_assets.go+++ b/sdk/go/openviking_assets.go@@ -1,3 +1,6 @@+// Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.+// SPDX-License-Identifier: AGPL-3.0+package openvikingimport (diff --git a/sdk/go/pack.go b/sdk/go/pack.goindex 2a71a4c23..5739a2441 100644--- a/sdk/go/pack.go+++ b/sdk/go/pack.go@@ -1,3 +1,6 @@+// Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.+// SPDX-License-Identifier: AGPL-3.0+package openvikingimport (diff --git a/sdk/go/resources.go b/sdk/go/resources.goindex 8d92c147f..cdc3efd45 100644--- a/sdk/go/resources.go+++ b/sdk/go/resources.go@@ -1,3 +1,6 @@+// Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.+// SPDX-License-Identifier: AGPL-3.0+package openvikingimport (diff --git a/sdk/go/retrieval.go b/sdk/go/retrieval.goindex 042bcfe73..62b7f38ca 100644--- a/sdk/go/retrieval.go+++ b/sdk/go/retrieval.go@@ -1,3 +1,6 @@+// Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.+// SPDX-License-Identifier: AGPL-3.0+package openvikingimport (diff --git a/sdk/go/sessions.go b/sdk/go/sessions.goindex ea1a2e958..fcada7dc0 100644--- a/sdk/go/sessions.go+++ b/sdk/go/sessions.go@@ -1,3 +1,6 @@+// Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.+// SPDX-License-Identifier: AGPL-3.0+package openvikingimport (diff --git a/sdk/go/skills.go b/sdk/go/skills.goindex f19a8923e..7314be7a4 100644--- a/sdk/go/skills.go+++ b/sdk/go/skills.go@@ -1,3 +1,6 @@+// Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.+// SPDX-License-Identifier: AGPL-3.0+package openvikingimport (diff --git a/sdk/go/system.go b/sdk/go/system.goindex 621861710..d17bcf505 100644--- a/sdk/go/system.go+++ b/sdk/go/system.go@@ -1,3 +1,6 @@+// Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.+// SPDX-License-Identifier: AGPL-3.0+package openvikingimport (diff --git a/sdk/go/transport.go b/sdk/go/transport.goindex eed9b0d78..abfa5b658 100644--- a/sdk/go/transport.go+++ b/sdk/go/transport.go@@ -1,3 +1,6 @@+// Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.+// SPDX-License-Identifier: AGPL-3.0+package openvikingimport (diff --git a/sdk/go/types.go b/sdk/go/types.goindex 1ee7b7858..de26f5d93 100644--- a/sdk/go/types.go+++ b/sdk/go/types.go@@ -1,3 +1,6 @@+// Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.+// SPDX-License-Identifier: AGPL-3.0+package openvikingimport (diff --git a/sdk/go/upload.go b/sdk/go/upload.goindex eb675a009..3e8d8a8db 100644--- a/sdk/go/upload.go+++ b/sdk/go/upload.go@@ -1,3 +1,6 @@+// Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.+// SPDX-License-Identifier: AGPL-3.0+package openvikingimport (diff --git a/sdk/go/watches.go b/sdk/go/watches.goindex 75afcd507..f2d700063 100644--- a/sdk/go/watches.go+++ b/sdk/go/watches.go@@ -1,3 +1,6 @@+// Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.+// SPDX-License-Identifier: AGPL-3.0+package openvikingimport (diff --git a/sdk/python/openviking_sdk/__init__.py b/sdk/python/openviking_sdk/__init__.pyindex c5975c578..85b9cdb74 100644--- a/sdk/python/openviking_sdk/__init__.py+++ b/sdk/python/openviking_sdk/__init__.py@@ -1,3 +1,6 @@+# Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.+# SPDX-License-Identifier: AGPL-3.0+from .actor_peer import get_actor_peer_id, use_actor_peerfrom .client import AsyncHTTPClient, SyncHTTPClientfrom .errors import (diff --git a/sdk/python/openviking_sdk/_utils.py b/sdk/python/openviking_sdk/_utils.pyindex 1f453ff4c..ad6fedc90 100644--- a/sdk/python/openviking_sdk/_utils.py+++ b/sdk/python/openviking_sdk/_utils.py@@ -1,3 +1,6 @@+# Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.+# SPDX-License-Identifier: AGPL-3.0+from __future__ import annotationsimport asynciodiff --git a/sdk/python/openviking_sdk/actor_peer.py b/sdk/python/openviking_sdk/actor_peer.pyindex 6e8c10e50..315b0856e 100644--- a/sdk/python/openviking_sdk/actor_peer.py+++ b/sdk/python/openviking_sdk/actor_peer.py@@ -1,3 +1,6 @@+# Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.+# SPDX-License-Identifier: AGPL-3.0+from __future__ import annotationsfrom contextlib import contextmanagerdiff --git a/sdk/python/openviking_sdk/client.py b/sdk/python/openviking_sdk/client.pyindex c794f51c6..2e29ea2ef 100644--- a/sdk/python/openviking_sdk/client.py+++ b/sdk/python/openviking_sdk/client.py@@ -1,3 +1,6 @@+# Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.+# SPDX-License-Identifier: AGPL-3.0+from __future__ import annotationsimport base64diff --git a/sdk/python/openviking_sdk/config.py b/sdk/python/openviking_sdk/config.pyindex 91cae6412..ca92c2824 100644--- a/sdk/python/openviking_sdk/config.py+++ b/sdk/python/openviking_sdk/config.py@@ -1,3 +1,6 @@+# Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.+# SPDX-License-Identifier: AGPL-3.0+from __future__ import annotationsimport base64diff --git a/sdk/python/openviking_sdk/errors.py b/sdk/python/openviking_sdk/errors.pyindex d973d7ad6..02e0a3b90 100644--- a/sdk/python/openviking_sdk/errors.py+++ b/sdk/python/openviking_sdk/errors.py@@ -1,3 +1,6 @@+# Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.+# SPDX-License-Identifier: AGPL-3.0+from __future__ import annotationsfrom typing import Optionaldiff --git a/sdk/python/openviking_sdk/message.py b/sdk/python/openviking_sdk/message.pyindex 2238b72d8..a0ac480dc 100644--- a/sdk/python/openviking_sdk/message.py+++ b/sdk/python/openviking_sdk/message.py@@ -1,3 +1,6 @@+# Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.+# SPDX-License-Identifier: AGPL-3.0+from __future__ import annotationsfrom dataclasses import dataclassdiff --git a/sdk/python/openviking_sdk/options.py b/sdk/python/openviking_sdk/options.pyindex 3bf867c8b..63841b525 100644--- a/sdk/python/openviking_sdk/options.py+++ b/sdk/python/openviking_sdk/options.py@@ -1,3 +1,6 @@+# Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.+# SPDX-License-Identifier: AGPL-3.0+from __future__ import annotationsfrom typing import Any, Dict, List, Literal, Mapping, Optional, TypedDict, Uniondiff --git a/sdk/python/openviking_sdk/uploads.py b/sdk/python/openviking_sdk/uploads.pyindex af86b6f16..88dc4660b 100644--- a/sdk/python/openviking_sdk/uploads.py+++ b/sdk/python/openviking_sdk/uploads.py@@ -1,3 +1,6 @@+# Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.+# SPDX-License-Identifier: AGPL-3.0+from __future__ import annotationsimport tempfilediff --git a/sdk/python/tests/conftest.py b/sdk/python/tests/conftest.pyindex 9ce859ef4..ac46173f2 100644--- a/sdk/python/tests/conftest.py+++ b/sdk/python/tests/conftest.py@@ -1,3 +1,6 @@+# Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.+# SPDX-License-Identifier: AGPL-3.0+from __future__ import annotationsimport sysdiff --git a/sdk/python/tests/test_actor_peer.py b/sdk/python/tests/test_actor_peer.pyindex d616899fb..967df14c3 100644--- a/sdk/python/tests/test_actor_peer.py+++ b/sdk/python/tests/test_actor_peer.py@@ -1,3 +1,6 @@+# Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.+# SPDX-License-Identifier: AGPL-3.0+from __future__ import annotationsimport asynciodiff --git a/sdk/python/tests/test_async_client_behaviors.py b/sdk/python/tests/test_async_client_behaviors.pyindex 9e2ce2b13..2d11ef909 100644--- a/sdk/python/tests/test_async_client_behaviors.py+++ b/sdk/python/tests/test_async_client_behaviors.py@@ -1,3 +1,6 @@+# Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.+# SPDX-License-Identifier: AGPL-3.0+from pathlib import Pathfrom types import SimpleNamespacefrom unittest.mock import AsyncMock, Mock, patchdiff --git a/sdk/python/tests/test_client_config.py b/sdk/python/tests/test_client_config.pyindex 72d632b48..08d42c103 100644--- a/sdk/python/tests/test_client_config.py+++ b/sdk/python/tests/test_client_config.py@@ -1,3 +1,6 @@+# Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.+# SPDX-License-Identifier: AGPL-3.0+import pytestfrom openviking_sdk import AsyncHTTPClientdiff --git a/sdk/python/tests/test_error_mapping.py b/sdk/python/tests/test_error_mapping.pyindex 9885bf15a..5fd218da9 100644--- a/sdk/python/tests/test_error_mapping.py+++ b/sdk/python/tests/test_error_mapping.py@@ -1,3 +1,6 @@+# Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.+# SPDX-License-Identifier: AGPL-3.0+import pytestfrom openviking_sdk import AsyncHTTPClientfrom openviking_sdk.errors import (diff --git a/sdk/python/tests/test_ldap_auth.py b/sdk/python/tests/test_ldap_auth.pyindex f085e53cb..f1b6c5cb1 100644--- a/sdk/python/tests/test_ldap_auth.py+++ b/sdk/python/tests/test_ldap_auth.py@@ -1,3 +1,6 @@+# Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.+# SPDX-License-Identifier: AGPL-3.0+import pytestimport base64import jsondiff --git a/sdk/python/tests/test_legacy_shims.py b/sdk/python/tests/test_legacy_shims.pyindex 8bd66b300..2089f02b2 100644--- a/sdk/python/tests/test_legacy_shims.py+++ b/sdk/python/tests/test_legacy_shims.py@@ -1,3 +1,6 @@+# Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.+# SPDX-License-Identifier: AGPL-3.0+import sysfrom pathlib import Pathdiff --git a/sdk/python/tests/test_main_package_exports.py b/sdk/python/tests/test_main_package_exports.pyindex 36bb14f1d..bb84a2060 100644--- a/sdk/python/tests/test_main_package_exports.py+++ b/sdk/python/tests/test_main_package_exports.py@@ -1,3 +1,6 @@+# Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.+# SPDX-License-Identifier: AGPL-3.0+import sysfrom pathlib import Pathdiff --git a/sdk/python/tests/test_ovcli_config_compat.py b/sdk/python/tests/test_ovcli_config_compat.pyindex 47428c7ce..c81e32626 100644--- a/sdk/python/tests/test_ovcli_config_compat.py+++ b/sdk/python/tests/test_ovcli_config_compat.py@@ -1,3 +1,6 @@+# Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.+# SPDX-License-Identifier: AGPL-3.0+from __future__ import annotationsimport jsondiff --git a/sdk/python/tests/test_packaging_imports.py b/sdk/python/tests/test_packaging_imports.pyindex 7bf382921..0167260ae 100644--- a/sdk/python/tests/test_packaging_imports.py+++ b/sdk/python/tests/test_packaging_imports.py@@ -1,3 +1,6 @@+# Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.+# SPDX-License-Identifier: AGPL-3.0+from openviking_sdk import AsyncHTTPClient, OpenVikingError, SyncHTTPClientdiff --git a/sdk/python/tests/test_uploads.py b/sdk/python/tests/test_uploads.pyindex dd40471e8..def938ffa 100644--- a/sdk/python/tests/test_uploads.py+++ b/sdk/python/tests/test_uploads.py@@ -1,3 +1,6 @@+# Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.+# SPDX-License-Identifier: AGPL-3.0+import tempfileimport zipfilefrom pathlib import Pathdiff --git a/sdk/python/tests/test_utils.py b/sdk/python/tests/test_utils.pyindex fc52eafc8..d5f30e112 100644--- a/sdk/python/tests/test_utils.py+++ b/sdk/python/tests/test_utils.py@@ -1,3 +1,6 @@+# Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.+# SPDX-License-Identifier: AGPL-3.0+import asynciofrom pathlib import Pathdiff --git a/sdk/typescript/src/client.ts b/sdk/typescript/src/client.tsindex 495d415b8..181fa1e0b 100644--- a/sdk/typescript/src/client.ts+++ b/sdk/typescript/src/client.ts@@ -1,3 +1,6 @@+// Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.+// SPDX-License-Identifier: AGPL-3.0+import { OpenVikingError } from "./errors.js";import {nodeImagePathToDataURI,diff --git a/sdk/typescript/src/errors.ts b/sdk/typescript/src/errors.tsindex 9c2c1c10d..a999d066f 100644--- a/sdk/typescript/src/errors.ts+++ b/sdk/typescript/src/errors.ts@@ -1,3 +1,6 @@+// Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.+// SPDX-License-Identifier: AGPL-3.0+import type { JsonObject } from "./types.js";/** Typed HTTP, server-contract, timeout and network error from the SDK. */diff --git a/sdk/typescript/src/index.ts b/sdk/typescript/src/index.tsindex e260594a2..42876cff2 100644--- a/sdk/typescript/src/index.ts+++ b/sdk/typescript/src/index.ts@@ -1,3 +1,6 @@+// Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.+// SPDX-License-Identifier: AGPL-3.0+export { OpenVikingClient, normalizeURI } from "./client.js";export { OpenVikingError, isOpenVikingError } from "./errors.js";export type * from "./types.js";diff --git a/sdk/typescript/src/node-files.ts b/sdk/typescript/src/node-files.tsindex 24b3fff8e..12c07b6f3 100644--- a/sdk/typescript/src/node-files.ts+++ b/sdk/typescript/src/node-files.ts@@ -1,3 +1,6 @@+// Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.+// SPDX-License-Identifier: AGPL-3.0+import { zipSync } from "fflate";import { OpenVikingError } from "./errors.js";diff --git a/sdk/typescript/src/transport.ts b/sdk/typescript/src/transport.tsindex 253b46799..a239ad8d4 100644--- a/sdk/typescript/src/transport.ts+++ b/sdk/typescript/src/transport.ts@@ -1,3 +1,6 @@+// Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.+// SPDX-License-Identifier: AGPL-3.0+import { OpenVikingError } from "./errors.js";import type {ClientConfig,diff --git a/sdk/typescript/src/types.ts b/sdk/typescript/src/types.tsindex c6579d8e1..197d51bbe 100644--- a/sdk/typescript/src/types.ts+++ b/sdk/typescript/src/types.ts@@ -1,3 +1,6 @@+// Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.+// SPDX-License-Identifier: AGPL-3.0+/** Arbitrary JSON object returned by APIs without a dedicated result type. */export type JsonObject = Record<string, unknown>;/** One target URI or multiple target scopes. */diff --git a/sdk/typescript/tests/client.test.ts b/sdk/typescript/tests/client.test.tsindex b88d85e68..93814c1ea 100644--- a/sdk/typescript/tests/client.test.ts+++ b/sdk/typescript/tests/client.test.ts@@ -1,3 +1,6 @@+// Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.+// SPDX-License-Identifier: AGPL-3.0+import { describe, expect, it, vi } from "vitest";import { mkdtemp, readFile, readdir, rm, writeFile } from "node:fs/promises";import { join } from "node:path";diff --git a/sdk/typescript/tests/node-consumer/index.ts b/sdk/typescript/tests/node-consumer/index.tsindex dc49721dc..e97df8150 100644--- a/sdk/typescript/tests/node-consumer/index.ts+++ b/sdk/typescript/tests/node-consumer/index.ts@@ -1,3 +1,6 @@+// Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.+// SPDX-License-Identifier: AGPL-3.0+import { OpenVikingClient } from "../../dist/index.js";export const client = new OpenVikingClient({