oracleagentmemory 26.4.0__cp313-none-any.whl
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.
- oracleagentmemory/__init__.pyc +0 -0
- oracleagentmemory/_async_helpers.pyc +0 -0
- oracleagentmemory/_idgenerator.pyc +0 -0
- oracleagentmemory/_lazy_loader.pyc +0 -0
- oracleagentmemory/_notset.pyc +0 -0
- oracleagentmemory/apis/__init__.pyc +0 -0
- oracleagentmemory/apis/agentmemory.pyc +0 -0
- oracleagentmemory/apis/contextcard.pyc +0 -0
- oracleagentmemory/apis/embedders/__init__.pyc +0 -0
- oracleagentmemory/apis/embedders/embedder.pyc +0 -0
- oracleagentmemory/apis/llms/__init__.pyc +0 -0
- oracleagentmemory/apis/llms/llm.pyc +0 -0
- oracleagentmemory/apis/memorystore.pyc +0 -0
- oracleagentmemory/apis/records.pyc +0 -0
- oracleagentmemory/apis/scope.pyc +0 -0
- oracleagentmemory/apis/searchresult.pyc +0 -0
- oracleagentmemory/apis/searchscope.pyc +0 -0
- oracleagentmemory/apis/summary.pyc +0 -0
- oracleagentmemory/apis/thread.pyc +0 -0
- oracleagentmemory/core/__init__.pyc +0 -0
- oracleagentmemory/core/_dbrecordchunks.pyc +0 -0
- oracleagentmemory/core/_dbschema.pyc +0 -0
- oracleagentmemory/core/_dbsql.pyc +0 -0
- oracleagentmemory/core/_messageutils.pyc +0 -0
- oracleagentmemory/core/_renderutils.pyc +0 -0
- oracleagentmemory/core/_threadsummarizer.pyc +0 -0
- oracleagentmemory/core/contextcard.pyc +0 -0
- oracleagentmemory/core/dbschemapolicy.pyc +0 -0
- oracleagentmemory/core/embedders/__init__.pyc +0 -0
- oracleagentmemory/core/embedders/embedder.pyc +0 -0
- oracleagentmemory/core/extractors/__init__.pyc +0 -0
- oracleagentmemory/core/extractors/_extractor.pyc +0 -0
- oracleagentmemory/core/extractors/_oneshotextractor.pyc +0 -0
- oracleagentmemory/core/llms/__init__.pyc +0 -0
- oracleagentmemory/core/llms/_utils.pyc +0 -0
- oracleagentmemory/core/llms/llm.pyc +0 -0
- oracleagentmemory/core/oracleagentmemory.pyc +0 -0
- oracleagentmemory/core/oracledbmemorystore.pyc +0 -0
- oracleagentmemory/core/oraclememorystore.pyc +0 -0
- oracleagentmemory/core/searchresult.pyc +0 -0
- oracleagentmemory/core/summary.pyc +0 -0
- oracleagentmemory/core/thread.pyc +0 -0
- oracleagentmemory-26.4.0.dist-info/METADATA +190 -0
- oracleagentmemory-26.4.0.dist-info/RECORD +47 -0
- oracleagentmemory-26.4.0.dist-info/WHEEL +4 -0
- oracleagentmemory-26.4.0.dist-info/licenses/LICENSE-APACHE.txt +206 -0
- oracleagentmemory-26.4.0.dist-info/licenses/LICENSE-UPL.txt +35 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: oracleagentmemory
|
|
3
|
+
Version: 26.4.0
|
|
4
|
+
Summary: Python client library for Oracle AI Database Agent Memory
|
|
5
|
+
Author: Oracle
|
|
6
|
+
License-Expression: Apache-2.0 OR UPL-1.0
|
|
7
|
+
License-File: LICENSE-APACHE.txt
|
|
8
|
+
License-File: LICENSE-UPL.txt
|
|
9
|
+
Classifier: Development Status :: 3 - Alpha
|
|
10
|
+
Classifier: Intended Audience :: Developers
|
|
11
|
+
Classifier: Operating System :: OS Independent
|
|
12
|
+
Classifier: Programming Language :: Python
|
|
13
|
+
Classifier: Programming Language :: Python :: 3
|
|
14
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
20
|
+
Classifier: Topic :: Software Development :: Libraries
|
|
21
|
+
Requires-Python: >=3.10
|
|
22
|
+
Requires-Dist: anyio<5,>=4.0
|
|
23
|
+
Requires-Dist: cryptography<47,>=46.0.7
|
|
24
|
+
Requires-Dist: exceptiongroup<2,>=1.3
|
|
25
|
+
Requires-Dist: litellm<1.84.0,>=1.83.7
|
|
26
|
+
Requires-Dist: numpy<3,>=1.23
|
|
27
|
+
Requires-Dist: oracledb<4,>=3.4.2
|
|
28
|
+
Requires-Dist: pydantic<3,>=2.12.5
|
|
29
|
+
Requires-Dist: sniffio<2,>=1.3
|
|
30
|
+
Requires-Dist: typing-extensions<5,>=4.0
|
|
31
|
+
Description-Content-Type: text/markdown
|
|
32
|
+
|
|
33
|
+
# Oracle AI Agent Memory
|
|
34
|
+
|
|
35
|
+
[![Oracle AI Agent Memory docs][badge-docs]][docs] [![License][badge-license]](#license)
|
|
36
|
+
|
|
37
|
+
Persistent memory for enterprise AI agents on Oracle AI Database.
|
|
38
|
+
|
|
39
|
+
Oracle AI Agent Memory helps agents retain context across interactions, compact active conversations, and retrieve durable user, agent, and thread memories when they matter. It is designed for Python applications that need persistent memory backed by Oracle AI Database.
|
|
40
|
+
|
|
41
|
+
## Get Started
|
|
42
|
+
|
|
43
|
+
Install the package:
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
pip install oracleagentmemory
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Do you need a local Oracle AI Database for development? See how to run Oracle AI Database locally: https://docs.oracle.com/en/database/oracle/agent-memory/26.4/agmea/run-locally.html
|
|
50
|
+
|
|
51
|
+
Create a memory client, store a short conversation, and search it back:
|
|
52
|
+
|
|
53
|
+
```python
|
|
54
|
+
from oracleagentmemory.apis.searchscope import SearchScope
|
|
55
|
+
from oracleagentmemory.core import OracleAgentMemory
|
|
56
|
+
from oracleagentmemory.core.embedders.embedder import Embedder
|
|
57
|
+
from oracleagentmemory.core.llms.llm import Llm
|
|
58
|
+
|
|
59
|
+
embedder = Embedder(model="YOUR_EMBEDDING_MODEL")
|
|
60
|
+
llm = Llm(model="YOUR_LLM")
|
|
61
|
+
db_pool = ... # an oracledb connection or connection pool
|
|
62
|
+
|
|
63
|
+
memory = OracleAgentMemory(connection=db_pool, embedder=embedder, llm=llm)
|
|
64
|
+
|
|
65
|
+
messages = [
|
|
66
|
+
{
|
|
67
|
+
"role": "user",
|
|
68
|
+
"content": "Orange juice has become my favorite breakfast drink lately. What can I pair it with?",
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"role": "assistant",
|
|
72
|
+
"content": "Try eggs and toast, avocado toast, or a breakfast sandwich.",
|
|
73
|
+
},
|
|
74
|
+
]
|
|
75
|
+
|
|
76
|
+
thread = memory.create_thread(user_id="user_123")
|
|
77
|
+
# add_messages will add messages to the DB and extract memories automatically
|
|
78
|
+
thread.add_messages(messages)
|
|
79
|
+
# add_memory adds memory to the DB
|
|
80
|
+
thread.add_memory("The user likes orange juice with breakfast.")
|
|
81
|
+
|
|
82
|
+
results = memory.search(query="orange juice", scope=SearchScope(user_id="user_123"))
|
|
83
|
+
for result in results:
|
|
84
|
+
print(f"- [{result.record.record_type}] {result.content}")
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
`OracleAgentMemory` uses your Oracle Database connection or pool as the persistence layer, your embedding model for retrieval, and an optional LLM for memory extraction, summaries, and context cards.
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
## LongMemEval Results
|
|
92
|
+
|
|
93
|
+
| Benchmark | Score | Correct |
|
|
94
|
+
| ------------------------ | -------: | ------------: |
|
|
95
|
+
| LongMemEval | **94.4** | **472 / 500** |
|
|
96
|
+
| Knowledge Update | 94.0 | 73 / 78 |
|
|
97
|
+
| Multi-session Reasoning | 88.0 | 117 / 133 |
|
|
98
|
+
| Temporal Reasoning | 98.0 | 130 / 133 |
|
|
99
|
+
| Single-session User | 97.0 | 68 / 70 |
|
|
100
|
+
| Single-session Assistant | 100.0 | 56 / 56 |
|
|
101
|
+
| Preference | 93.0 | 28 / 30 |
|
|
102
|
+
|
|
103
|
+
Configuration note:
|
|
104
|
+
|
|
105
|
+
> LongMemEval full 500-question evaluation. Answering with GPT-5.5 using xhigh reasoning effort. Mean answer LLM total tokens: 29,042; mean thinking tokens: 1,178.
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
## Why Oracle AI Agent Memory?
|
|
109
|
+
|
|
110
|
+
Oracle AI Agent Memory is built for teams that want persistent agent memory on Oracle AI Database. It helps applications move beyond single-turn prompts by storing conversation history, durable memories, and prompt-ready short-term context in Oracle AI Database.
|
|
111
|
+
|
|
112
|
+
It gives agents a consistent way to:
|
|
113
|
+
|
|
114
|
+
- remember useful information across sessions;
|
|
115
|
+
- keep active threads compact and context-rich;
|
|
116
|
+
- retrieve memories by user, agent, and thread scope;
|
|
117
|
+
- use LLM-backed extraction when automatic memory formation is useful;
|
|
118
|
+
- write explicit memories when deterministic application control is preferred;
|
|
119
|
+
- integrate memory into existing Python agent applications.
|
|
120
|
+
|
|
121
|
+
## Core Concepts
|
|
122
|
+
|
|
123
|
+
### Threads
|
|
124
|
+
|
|
125
|
+
A thread represents an ongoing conversation or task. Threads can store user and assistant messages, return recent messages, and produce short-term context for an agent prompt.
|
|
126
|
+
|
|
127
|
+
```python
|
|
128
|
+
thread = memory.create_thread(user_id="user_123")
|
|
129
|
+
thread.add_messages([
|
|
130
|
+
{"role": "user", "content": "Remember that I like morning meetings."},
|
|
131
|
+
{"role": "assistant", "content": "I will keep that in mind."},
|
|
132
|
+
])
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
### Durable Memories
|
|
136
|
+
|
|
137
|
+
A durable memory is information intended to survive beyond the active thread. Applications can add durable memories directly.
|
|
138
|
+
|
|
139
|
+
```python
|
|
140
|
+
thread.add_memory("The user prefers morning meetings.")
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
When an LLM is configured and memory extraction is enabled, Oracle AI Agent Memory can also extract durable memories from thread messages.
|
|
144
|
+
|
|
145
|
+
### Search Scope
|
|
146
|
+
|
|
147
|
+
Search is scoped explicitly so applications can control which memories are eligible for retrieval.
|
|
148
|
+
|
|
149
|
+
```python
|
|
150
|
+
results = memory.search(
|
|
151
|
+
query="When does the user prefer meetings?",
|
|
152
|
+
scope=SearchScope(user_id="user_123"),
|
|
153
|
+
)
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
### Context Cards
|
|
157
|
+
|
|
158
|
+
For longer conversations, `get_context_card()` creates prompt-ready short-term context with a summary, relevant durable records, retrieval topics, and recent messages.
|
|
159
|
+
|
|
160
|
+
```python
|
|
161
|
+
context = thread.get_context_card()
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
Use context cards when a model needs continuity without receiving the full conversation transcript.
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
## Security and Deployment Notes
|
|
168
|
+
|
|
169
|
+
Oracle AI Agent Memory uses the database connection, model providers, credentials, and network configuration supplied by the integrating application. For production deployments:
|
|
170
|
+
|
|
171
|
+
- use encrypted database connections and secure model-provider endpoints;
|
|
172
|
+
- keep secrets out of source code and checked-in configuration;
|
|
173
|
+
- apply end-user authentication and authorization before memory operations;
|
|
174
|
+
- pass correct memory scope values for every request;
|
|
175
|
+
- bound message sizes, retrieval sizes, and provider usage for your workload;
|
|
176
|
+
- review LLM-backed extraction and summarization carefully before using them with sensitive data.
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
## License
|
|
180
|
+
|
|
181
|
+
Oracle AI Agent Memory is dual-licensed under:
|
|
182
|
+
|
|
183
|
+
- Apache License 2.0
|
|
184
|
+
- Universal Permissive License (UPL) 1.0
|
|
185
|
+
|
|
186
|
+
You may choose either license.
|
|
187
|
+
|
|
188
|
+
[badge-docs]: https://img.shields.io/badge/documentation-Oracle%20AI%20Agent%20Memory-orange
|
|
189
|
+
[badge-license]: https://img.shields.io/badge/license-apache_2.0+UPL_1.0-green
|
|
190
|
+
[docs]: https://docs.oracle.com/en/database/oracle/agent-memory/index.html
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
oracleagentmemory/__init__.pyc,sha256=phQ8ZtmY0VHaSwTjRuYTr70Qg135NNyK9GiQH1OZJMo,315
|
|
2
|
+
oracleagentmemory/_async_helpers.pyc,sha256=SQwbi9hGYUqrxlVBoFBWUwXjFGU2jWN1ATruLgWvCjw,16304
|
|
3
|
+
oracleagentmemory/_idgenerator.pyc,sha256=xsFIXyM8wQqlxbfbR-C-xzsgONQ3NCRWVPQBXQax5mc,1028
|
|
4
|
+
oracleagentmemory/_lazy_loader.pyc,sha256=Tb_t4ap-6PK8tOAHHfrcNjfIsKlFXKfpInLB6yLpUyc,5652
|
|
5
|
+
oracleagentmemory/_notset.pyc,sha256=9F-BZBeeY5sJj_lipsIHJpSwCsoIHcmvcxwS7S4Y8Iw,1214
|
|
6
|
+
oracleagentmemory/apis/__init__.pyc,sha256=ukKNFsTqzcQ2iQo0LLtb_3C8qKLW1wlWZUmJXpfEQCI,1025
|
|
7
|
+
oracleagentmemory/apis/agentmemory.pyc,sha256=DK0DxtCI8DQ2NoZsu1ovfod25F0wTv1dORvJP3-J1MY,17636
|
|
8
|
+
oracleagentmemory/apis/contextcard.pyc,sha256=NDQ1gDIPhYeDDT2T5yfE6T819ig7uUx5LU0q7U2FE9M,744
|
|
9
|
+
oracleagentmemory/apis/embedders/__init__.pyc,sha256=kp6pADu3WbNJ8N1-wcMDqcjjHFXxIyZxjlR6BiC-4KA,254
|
|
10
|
+
oracleagentmemory/apis/embedders/embedder.pyc,sha256=-xUNU_ebDxO6iOQOdV-4kTyjiAtc2shYpSFFTHKuy6g,2512
|
|
11
|
+
oracleagentmemory/apis/llms/__init__.pyc,sha256=E8vq1IjrXoH63-xM4rSM9ow7OGK6ojpy4_9-Aq2UBCQ,265
|
|
12
|
+
oracleagentmemory/apis/llms/llm.pyc,sha256=hwE_hzN4QzTd8Qc23YLGg0zAwaUBLnKdcUNRD80Vj9M,2830
|
|
13
|
+
oracleagentmemory/apis/memorystore.pyc,sha256=WEngYOnGNfkaaNwCFlKzK18h2lVpfJ-PxE24LZgFul8,26450
|
|
14
|
+
oracleagentmemory/apis/records.pyc,sha256=UPIWIFEBp31zqNwABncZQgk1clwVoCYp18Hx9q2TV9U,7398
|
|
15
|
+
oracleagentmemory/apis/scope.pyc,sha256=uWDn-FNnGvaEM6zFH_7xt1XS_e1nt7BAz_JnLpK5wKc,1695
|
|
16
|
+
oracleagentmemory/apis/searchresult.pyc,sha256=pmydkzK-5Utdu-C_olv1PW675ahhobxoW-RlVdXIZ70,1359
|
|
17
|
+
oracleagentmemory/apis/searchscope.pyc,sha256=cbrze555_4_9ywv1pkvlTeTdPMs-yoYIYKtX3axkJ9c,2921
|
|
18
|
+
oracleagentmemory/apis/summary.pyc,sha256=5JBEUGptjV5UFENrGM8-PNHKlPkAIAqV0oY4-_CBC8A,732
|
|
19
|
+
oracleagentmemory/apis/thread.pyc,sha256=YSKEVJYrkk01F-84SrDFFvC84jdAsutjNFYzGp8FV88,21388
|
|
20
|
+
oracleagentmemory/core/__init__.pyc,sha256=8ThspElxPiBSAuEGuCTePJM5wG7XOaRW5SdAeSzxuFE,822
|
|
21
|
+
oracleagentmemory/core/_dbrecordchunks.pyc,sha256=seW-APd498idzw93pOKEgx8KA0iKmxxcAkzfHmPcJzU,5851
|
|
22
|
+
oracleagentmemory/core/_dbschema.pyc,sha256=zHAy06hR8QKuPg41wvYUsqE-TYK9i308KC_UqrrBa6U,22236
|
|
23
|
+
oracleagentmemory/core/_dbsql.pyc,sha256=owX3NdxBT0rv5SIMFVsXhXvP2WIbCxrNv8wbHZTFoS8,29230
|
|
24
|
+
oracleagentmemory/core/_messageutils.pyc,sha256=7AOWxETkfETwfoQ0bqkAiRZjfpl9o0z_cWtXF1MbQQQ,5133
|
|
25
|
+
oracleagentmemory/core/_renderutils.pyc,sha256=76A0LSc9xopK7mRoM9C8T_bM1CF-f_ZGYNzRi9HSJws,1772
|
|
26
|
+
oracleagentmemory/core/_threadsummarizer.pyc,sha256=dpNwoGzCwfSjkVG1xnUp2EuZo3e6irEfB9WWnJGIikk,19108
|
|
27
|
+
oracleagentmemory/core/contextcard.pyc,sha256=dSPCwVrGtiVa5gNWigely9uHXnPqo5aVY79FyTCTJhQ,7703
|
|
28
|
+
oracleagentmemory/core/dbschemapolicy.pyc,sha256=W0V4QI3BTwlocaQBwjngflpGttbpGIhuK1Gi-C69tQE,1128
|
|
29
|
+
oracleagentmemory/core/embedders/__init__.pyc,sha256=hxalJKX3-wxZsxWtqnXbynByVhJFRY8snNV5nn8hKa8,252
|
|
30
|
+
oracleagentmemory/core/embedders/embedder.pyc,sha256=g6Tjhh_AKlNNW6V1sSUwAts28Gzsm55uNWk9gju6tgI,14903
|
|
31
|
+
oracleagentmemory/core/extractors/__init__.pyc,sha256=yruxOBMa5hQuTKlTS15WbB--j0eb0TLPRCBCzOdAPL0,532
|
|
32
|
+
oracleagentmemory/core/extractors/_extractor.pyc,sha256=q76QkxWMujU9yMQoGuEOJlKvutxE00fZW_Hjfwfmls8,2769
|
|
33
|
+
oracleagentmemory/core/extractors/_oneshotextractor.pyc,sha256=E5ldVak4lkHr6m8LhNMKxL-Ebr2Z7P6iKXnAOzGQYuM,49155
|
|
34
|
+
oracleagentmemory/core/llms/__init__.pyc,sha256=qJfY7tcI_33XJH33cA4krIEtS-CKHFQ3B9yamVwZ13c,263
|
|
35
|
+
oracleagentmemory/core/llms/_utils.pyc,sha256=oKGWBvD1Fsar7bQGNWLRGwAvWgslVVYF7l0b2Nw7XiU,2114
|
|
36
|
+
oracleagentmemory/core/llms/llm.pyc,sha256=H7uUFly07oVV91r_y2hx2VMwNmc5wacS32qeY-zK-Uw,42363
|
|
37
|
+
oracleagentmemory/core/oracleagentmemory.pyc,sha256=wfH7TERqbAlUxNZJfcLpH1_mgyB36mF9BF7CiegYXWg,40009
|
|
38
|
+
oracleagentmemory/core/oracledbmemorystore.pyc,sha256=7RGSTN80sNo3cZrPrdXhcW1JP-0EHWo4KOqJFPUGgBg,86868
|
|
39
|
+
oracleagentmemory/core/oraclememorystore.pyc,sha256=gVl6DhsdeiZJaVugq8mv26MCQgh1JZK7sQxbUHgl5rg,21637
|
|
40
|
+
oracleagentmemory/core/searchresult.pyc,sha256=tayT945ORbiaWnfpNzjc3zJWCazIz43PZo8BSMV_cW8,6192
|
|
41
|
+
oracleagentmemory/core/summary.pyc,sha256=Z_Di9occLXYcwAM4tf-eOOMEw4_pNdMd6cxiSDAIDv4,2254
|
|
42
|
+
oracleagentmemory/core/thread.pyc,sha256=DPBbWqiHbjgu9XDrVpF9XH9p73Ynos3qu_66ao-P9L8,47974
|
|
43
|
+
oracleagentmemory-26.4.0.dist-info/METADATA,sha256=SOzqyydx_rSkcWx2iLNhq41J-SnXNf3-aw9lhXoiG2o,7250
|
|
44
|
+
oracleagentmemory-26.4.0.dist-info/RECORD,,
|
|
45
|
+
oracleagentmemory-26.4.0.dist-info/WHEEL,sha256=qLL66iXjidzBuP2h7XMSnej114InOIhDIVmBY1FdesM,89
|
|
46
|
+
oracleagentmemory-26.4.0.dist-info/licenses/LICENSE-APACHE.txt,sha256=oT9-xT46kopnHoK9gksUSSGUJfGHjanKhgH5yUvrvDw,11478
|
|
47
|
+
oracleagentmemory-26.4.0.dist-info/licenses/LICENSE-UPL.txt,sha256=1-ctuAQWov6wIHp_NotIArks2Ovf1WTceDCcpkyy4Cw,1838
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
Copyright (c) 2026 Oracle and/or its affiliates.
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
Apache License
|
|
5
|
+
Version 2.0, January 2004
|
|
6
|
+
http://www.apache.org/licenses/
|
|
7
|
+
|
|
8
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
9
|
+
|
|
10
|
+
1. Definitions.
|
|
11
|
+
|
|
12
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
13
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
14
|
+
|
|
15
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
16
|
+
the copyright owner that is granting the License.
|
|
17
|
+
|
|
18
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
19
|
+
other entities that control, are controlled by, or are under common
|
|
20
|
+
control with that entity. For the purposes of this definition,
|
|
21
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
22
|
+
direction or management of such entity, whether by contract or
|
|
23
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
24
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
25
|
+
|
|
26
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
27
|
+
exercising permissions granted by this License.
|
|
28
|
+
|
|
29
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
30
|
+
including but not limited to software source code, documentation
|
|
31
|
+
source, and configuration files.
|
|
32
|
+
|
|
33
|
+
"Object" form shall mean any form resulting from mechanical
|
|
34
|
+
transformation or translation of a Source form, including but
|
|
35
|
+
not limited to compiled object code, generated documentation,
|
|
36
|
+
and conversions to other media types.
|
|
37
|
+
|
|
38
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
39
|
+
Object form, made available under the License, as indicated by a
|
|
40
|
+
copyright notice that is included in or attached to the work
|
|
41
|
+
(an example is provided in the Appendix below).
|
|
42
|
+
|
|
43
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
44
|
+
form, that is based on (or derived from) the Work and for which the
|
|
45
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
46
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
47
|
+
of this License, Derivative Works shall not include works that remain
|
|
48
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
49
|
+
the Work and Derivative Works thereof.
|
|
50
|
+
|
|
51
|
+
"Contribution" shall mean any work of authorship, including
|
|
52
|
+
the original version of the Work and any modifications or additions
|
|
53
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
54
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
55
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
56
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
57
|
+
means any form of electronic, verbal, or written communication sent
|
|
58
|
+
to the Licensor or its representatives, including but not limited to
|
|
59
|
+
communication on electronic mailing lists, source code control systems,
|
|
60
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
61
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
62
|
+
excluding communication that is conspicuously marked or otherwise
|
|
63
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
64
|
+
|
|
65
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
66
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
67
|
+
subsequently incorporated within the Work.
|
|
68
|
+
|
|
69
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
70
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
71
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
72
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
73
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
74
|
+
Work and such Derivative Works in Source or Object form.
|
|
75
|
+
|
|
76
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
77
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
78
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
79
|
+
(except as stated in this section) patent license to make, have made,
|
|
80
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
81
|
+
where such license applies only to those patent claims licensable
|
|
82
|
+
by such Contributor that are necessarily infringed by their
|
|
83
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
84
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
85
|
+
institute patent litigation against any entity (including a
|
|
86
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
87
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
88
|
+
or contributory patent infringement, then any patent licenses
|
|
89
|
+
granted to You under this License for that Work shall terminate
|
|
90
|
+
as of the date such litigation is filed.
|
|
91
|
+
|
|
92
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
93
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
94
|
+
modifications, and in Source or Object form, provided that You
|
|
95
|
+
meet the following conditions:
|
|
96
|
+
|
|
97
|
+
(a) You must give any other recipients of the Work or
|
|
98
|
+
Derivative Works a copy of this License; and
|
|
99
|
+
|
|
100
|
+
(b) You must cause any modified files to carry prominent notices
|
|
101
|
+
stating that You changed the files; and
|
|
102
|
+
|
|
103
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
104
|
+
that You distribute, all copyright, patent, trademark, and
|
|
105
|
+
attribution notices from the Source form of the Work,
|
|
106
|
+
excluding those notices that do not pertain to any part of
|
|
107
|
+
the Derivative Works; and
|
|
108
|
+
|
|
109
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
110
|
+
distribution, then any Derivative Works that You distribute must
|
|
111
|
+
include a readable copy of the attribution notices contained
|
|
112
|
+
within such NOTICE file, excluding those notices that do not
|
|
113
|
+
pertain to any part of the Derivative Works, in at least one
|
|
114
|
+
of the following places: within a NOTICE text file distributed
|
|
115
|
+
as part of the Derivative Works; within the Source form or
|
|
116
|
+
documentation, if provided along with the Derivative Works; or,
|
|
117
|
+
within a display generated by the Derivative Works, if and
|
|
118
|
+
wherever such third-party notices normally appear. The contents
|
|
119
|
+
of the NOTICE file are for informational purposes only and
|
|
120
|
+
do not modify the License. You may add Your own attribution
|
|
121
|
+
notices within Derivative Works that You distribute, alongside
|
|
122
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
123
|
+
that such additional attribution notices cannot be construed
|
|
124
|
+
as modifying the License.
|
|
125
|
+
|
|
126
|
+
You may add Your own copyright statement to Your modifications and
|
|
127
|
+
may provide additional or different license terms and conditions
|
|
128
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
129
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
130
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
131
|
+
the conditions stated in this License.
|
|
132
|
+
|
|
133
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
134
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
135
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
136
|
+
this License, without any additional terms or conditions.
|
|
137
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
138
|
+
the terms of any separate license agreement you may have executed
|
|
139
|
+
with Licensor regarding such Contributions.
|
|
140
|
+
|
|
141
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
142
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
143
|
+
except as required for reasonable and customary use in describing the
|
|
144
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
145
|
+
|
|
146
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
147
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
148
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
149
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
150
|
+
implied, including, without limitation, any warranties or conditions
|
|
151
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
152
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
153
|
+
appropriateness of using or redistributing the Work and assume any
|
|
154
|
+
risks associated with Your exercise of permissions under this License.
|
|
155
|
+
|
|
156
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
157
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
158
|
+
unless required by applicable law (such as deliberate and grossly
|
|
159
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
160
|
+
liable to You for damages, including any direct, indirect, special,
|
|
161
|
+
incidental, or consequential damages of any character arising as a
|
|
162
|
+
result of this License or out of the use or inability to use the
|
|
163
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
164
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
165
|
+
other commercial damages or losses), even if such Contributor
|
|
166
|
+
has been advised of the possibility of such damages.
|
|
167
|
+
|
|
168
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
169
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
170
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
171
|
+
or other liability obligations and/or rights consistent with this
|
|
172
|
+
License. However, in accepting such obligations, You may act only
|
|
173
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
174
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
175
|
+
defend, and hold each Contributor harmless for any liability
|
|
176
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
177
|
+
of your accepting any such warranty or additional liability.
|
|
178
|
+
|
|
179
|
+
END OF TERMS AND CONDITIONS
|
|
180
|
+
|
|
181
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
182
|
+
|
|
183
|
+
To apply the Apache License to your work, attach the following
|
|
184
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
185
|
+
replaced with your own identifying information. (Don't include
|
|
186
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
187
|
+
comment syntax for the file format. We also recommend that a
|
|
188
|
+
file or class name and description of purpose be included on the
|
|
189
|
+
same "printed page" as the copyright notice for easier
|
|
190
|
+
identification within third-party archives.
|
|
191
|
+
|
|
192
|
+
Copyright [yyyy] [name of copyright owner]
|
|
193
|
+
|
|
194
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
195
|
+
you may not use this file except in compliance with the License.
|
|
196
|
+
You may obtain a copy of the License at
|
|
197
|
+
|
|
198
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
199
|
+
|
|
200
|
+
Unless required by applicable law or agreed to in writing, software
|
|
201
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
202
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
203
|
+
See the License for the specific language governing permissions and
|
|
204
|
+
limitations under the License.
|
|
205
|
+
|
|
206
|
+
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
Copyright (c) 2026 Oracle and/or its affiliates.
|
|
2
|
+
|
|
3
|
+
The Universal Permissive License (UPL), Version 1.0
|
|
4
|
+
|
|
5
|
+
Subject to the condition set forth below, permission is hereby granted to any
|
|
6
|
+
person obtaining a copy of this software, associated documentation and/or data
|
|
7
|
+
(collectively the "Software"), free of charge and under any and all copyright
|
|
8
|
+
rights in the Software, and any and all patent rights owned or freely
|
|
9
|
+
licensable by each licensor hereunder covering either (i) the unmodified
|
|
10
|
+
Software as contributed to or provided by such licensor, or (ii) the Larger
|
|
11
|
+
Works (as defined below), to deal in both
|
|
12
|
+
|
|
13
|
+
(a) the Software, and
|
|
14
|
+
(b) any piece of software and/or hardware listed in the lrgrwrks.txt file if
|
|
15
|
+
one is included with the Software (each a "Larger Work" to which the Software
|
|
16
|
+
is contributed by such licensors),
|
|
17
|
+
|
|
18
|
+
without restriction, including without limitation the rights to copy, create
|
|
19
|
+
derivative works of, display, perform, and distribute the Software and make,
|
|
20
|
+
use, sell, offer for sale, import, export, have made, and have sold the
|
|
21
|
+
Software and the Larger Work(s), and to sublicense the foregoing rights on
|
|
22
|
+
either these or other terms.
|
|
23
|
+
|
|
24
|
+
This license is subject to the following condition:
|
|
25
|
+
The above copyright notice and either this complete permission notice or at
|
|
26
|
+
a minimum a reference to the UPL must be included in all copies or
|
|
27
|
+
substantial portions of the Software.
|
|
28
|
+
|
|
29
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
30
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
31
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
32
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
33
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
34
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
35
|
+
SOFTWARE.
|