Skip to content

Commit b6f9902

Browse files
authored
Merge pull request #22 from agntcy/license_update
License update
2 parents f1dbbab + d0fc609 commit b6f9902

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+128
-130
lines changed

Diff for: CONTRIBUTORS.md

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Contributors
2+
3+
CONTRIBUTORS file should only contain list of copyright holder (i.e. employers of
4+
maintainers). All files that support comments should include standard header for
5+
the project. AGNTCY uses the following file header:
6+
7+
Copyright AGNTCY Contributors (https://github.com/agntcy)
8+
SPDX-License-Identifier: Apache-2.0
9+
10+
1. Cisco Systems Inc.

Diff for: LICENSE

+2-26
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
Apache License
1+
2+
Apache License
23
Version 2.0, January 2004
34
http://www.apache.org/licenses/
45

@@ -174,28 +175,3 @@ Apache License
174175
of your accepting any such warranty or additional liability.
175176

176177
END OF TERMS AND CONDITIONS
177-
178-
APPENDIX: How to apply the Apache License to your work.
179-
180-
To apply the Apache License to your work, attach the following
181-
boilerplate notice, with the fields enclosed by brackets "[]"
182-
replaced with your own identifying information. (Don't include
183-
the brackets!) The text should be enclosed in the appropriate
184-
comment syntax for the file format. We also recommend that a
185-
file or class name and description of purpose be included on the
186-
same "printed page" as the copyright notice for easier
187-
identification within third-party archives.
188-
189-
Copyright 2025, Cisco and/or its affiliates.
190-
191-
Licensed under the Apache License, Version 2.0 (the "License");
192-
you may not use this file except in compliance with the License.
193-
You may obtain a copy of the License at
194-
195-
http://www.apache.org/licenses/LICENSE-2.0
196-
197-
Unless required by applicable law or agreed to in writing, software
198-
distributed under the License is distributed on an "AS IS" BASIS,
199-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200-
See the License for the specific language governing permissions and
201-
limitations under the License.

Diff for: Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright AGNTCY Contributors (https://github.com/agntcy)
2+
# SPDX-License-Identifier: Apache-2.0
3+
14
PROJECT_NAME := agntcy_iomapper
25
DOCKER_IMAGE=$(PROJECT_NAME)
36
DOCKER_TAG=latest

Diff for: README.md

+4-15
Original file line numberDiff line numberDiff line change
@@ -52,20 +52,9 @@ learn, inspire, and create. Any contributions you make are **greatly
5252
appreciated**. For detailed contributing guidelines, please see
5353
[CONTRIBUTING.md](https://github.com/agntcy/acp-sdk/blob/main/docs/CONTRIBUTING.md)
5454

55-
## Copyright Notice and License
55+
## Copyright Notice
5656

57-
[Copyright Notice and License](https://github.com/agntcy/acp-sdk/blob/main/LICENSE)
57+
[Copyright Notice and License](./LICENSE)
5858

59-
Copyright (c) 2025 Cisco and/or its affiliates.
60-
61-
Licensed under the Apache License, Version 2.0 (the "License");
62-
you may not use this file except in compliance with the License.
63-
You may obtain a copy of the License at
64-
65-
http://www.apache.org/licenses/LICENSE-2.0
66-
67-
Unless required by applicable law or agreed to in writing, software
68-
distributed under the License is distributed on an "AS IS" BASIS,
69-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
70-
See the License for the specific language governing permissions and
71-
limitations under the License.
59+
Distributed under Apache 2.0 License. See LICENSE for more information.
60+
Copyright AGNTCY Contributors (https://github.com/agntcy)

Diff for: agntcy_iomapper/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-FileCopyrightText: Copyright (c) 2025 Cisco and/or its affiliates.
1+
# Copyright AGNTCY Contributors (https://github.com/agntcy)
22
# SPDX-License-Identifier: Apache-2.0
33
# ruff: noqa: F401
44
from agntcy_iomapper.agent import IOMappingAgent

Diff for: agntcy_iomapper/agent/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-FileCopyrightText: Copyright (c) 2025 Cisco and/or its affiliates.
1+
# Copyright AGNTCY Contributors (https://github.com/agntcy)
22
# SPDX-License-Identifier: Apache-2.0
33

44
from agntcy_iomapper.agent.agent_io_mapper import IOMappingAgent

Diff for: agntcy_iomapper/agent/agent_io_mapper.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-FileCopyrightText: Copyright (c) 2025 Cisco and/or its affiliates.
1+
# Copyright AGNTCY Contributors (https://github.com/agntcy)
22
# SPDX-License-Identifier: Apache-2.0
33

44
import logging

Diff for: agntcy_iomapper/base/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-FileCopyrightText: Copyright (c) 2025 Cisco and/or its affiliates.
1+
# Copyright AGNTCY Contributors (https://github.com/agntcy)
22
# SPDX-License-Identifier: Apache-2.0
33

44
from agntcy_iomapper.base.base import (

Diff for: agntcy_iomapper/base/base.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
# SPDX-FileCopyrightText: Copyright (c) 2025 Cisco and/or its affiliates.
1+
# Copyright AGNTCY Contributors (https://github.com/agntcy)
22
# SPDX-License-Identifier: Apache-2.0
3+
34
import json
45
import logging
56
import re

Diff for: agntcy_iomapper/base/models.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
# SPDX-FileCopyrightText: Copyright (c) 2025 Cisco and/or its affiliates.
1+
# Copyright AGNTCY Contributors (https://github.com/agntcy)
22
# SPDX-License-Identifier: Apache-2.0
3+
34
import logging
45
from typing import Any, Callable, List, Optional, Union
56

Diff for: agntcy_iomapper/base/utils.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright AGNTCY Contributors (https://github.com/agntcy)
2+
# SPDX-License-Identifier: Apache-2.0
3+
14
import copy
25
import json
36
import logging

Diff for: agntcy_iomapper/imperative/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# SPDX-FileCopyrightText: Copyright (c) 2025 Cisco and/or its affiliates.
2-
# SPDX-License-Identifier: Apache-2.0"
1+
# Copyright AGNTCY Contributors (https://github.com/agntcy)
2+
# SPDX-License-Identifier: Apache-2.0
33

44
from .imperative import (
55
ImperativeIOMapper,

Diff for: agntcy_iomapper/imperative/imperative.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
# SPDX-FileCopyrightText: Copyright (c) 2025 Cisco and/or its affiliates.
2-
# SPDX-License-Identifier: Apache-2.0"
1+
# Copyright AGNTCY Contributors (https://github.com/agntcy)
2+
# SPDX-License-Identifier: Apache-2.0
3+
34
"""
45
The deterministic I/O mapper is a component
56
designed to translate specific inputs into

Diff for: agntcy_iomapper/langgraph/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# SPDX-FileCopyrightText: Copyright (c) 2025 Cisco and/or its affiliates.
2-
# SPDX-License-Identifier: Apache-2.0"
1+
# Copyright AGNTCY Contributors (https://github.com/agntcy)
2+
# SPDX-License-Identifier: Apache-2.0
33

44
from agntcy_iomapper.langgraph.create_langraph_iomapper import (
55
create_langraph_iomapper,

Diff for: agntcy_iomapper/langgraph/create_langraph_iomapper.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# SPDX-FileCopyrightText: Copyright (c) 2025 Cisco and/or its affiliates.
2-
# SPDX-License-Identifier: Apache-2.0"
1+
# Copyright AGNTCY Contributors (https://github.com/agntcy)
2+
# SPDX-License-Identifier: Apache-2.0
33

44
from langchain_core.runnables import Runnable
55

Diff for: agntcy_iomapper/langgraph/langgraph.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
# SPDX-FileCopyrightText: Copyright (c) 2025 Cisco and/or its affiliates.
1+
# Copyright AGNTCY Contributors (https://github.com/agntcy)
22
# SPDX-License-Identifier: Apache-2.0
3+
34
import logging
45
from typing import Any, Optional, Union
56

Diff for: agntcy_iomapper/llamaindex/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# SPDX-FileCopyrightText: Copyright (c) 2025 Cisco and/or its affiliates.
2-
# SPDX-License-Identifier: Apache-2.0"
1+
# Copyright AGNTCY Contributors (https://github.com/agntcy)
2+
# SPDX-License-Identifier: Apache-2.0
33

44
from agntcy_iomapper.llamaindex.models import (
55
IOMappingInputEvent,

Diff for: agntcy_iomapper/llamaindex/llamaindex.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
# SPDX-FileCopyrightText: Copyright (c) 2025 Cisco and/or its affiliates.
2-
# SPDX-License-Identifier: Apache-2.0"
1+
# Copyright AGNTCY Contributors (https://github.com/agntcy)
2+
# SPDX-License-Identifier: Apache-2.0
3+
34
import logging
45
from typing import Any, List, Optional, Sequence
56

Diff for: agntcy_iomapper/pydantic_ai.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
# SPDX-FileCopyrightText: Copyright (c) 2025 Cisco and/or its affiliates.
1+
# Copyright AGNTCY Contributors (https://github.com/agntcy)
22
# SPDX-License-Identifier: Apache-2.0
3+
34
import logging
45
from typing import Any, Literal, Optional, Union
56

Diff for: agntcy_iomapper/version.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
# SPDX-FileCopyrightText: Copyright (c) 2025 Cisco and/or its affiliates.
1+
# Copyright AGNTCY Contributors (https://github.com/agntcy)
22
# SPDX-License-Identifier: Apache-2.0
3+
34
GIT_COMMIT = "NOT_SET"

Diff for: docs/CONTRIBUTING.md

+22
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,28 @@ We expect new pull requests to include tests for any affected behavior, and, as
3737
we follow semantic versioning, we may reserve breaking changes until the next
3838
major version release.
3939

40+
## Developer’s Certificate of Origin
41+
42+
To improve tracking of who did what, we have introduced a “sign-off” procedure.
43+
The sign-off is a line at the end of the explanation for the commit, which
44+
certifies that you wrote it or otherwise have the right to pass it on as open
45+
source work. We use the Developer Certificate of Origin (see
46+
https://developercertificate.org/) for our sign-off procedure. You must include
47+
a sign-off in the commit message of your pull request for it to be accepted. The
48+
format for a sign-off is:
49+
50+
```
51+
Signed-off-by: Random J Developer
52+
53+
```
54+
55+
You can use the -s when you do a git commit to simplify including a properly
56+
formatted sign-off in your commits. If you need to add your sign-off to a commit
57+
you have already made, you will need to amend:
58+
```
59+
git commit --amend --signoff
60+
```
61+
4062
## Other Ways to Contribute
4163

4264
We welcome anyone that wants to contribute to this project to triage and

Diff for: docs/LICENSE.md

-24
Original file line numberDiff line numberDiff line change
@@ -167,27 +167,3 @@ incurred by, or claims asserted against, such Contributor by reason of your
167167
accepting any such warranty or additional liability.
168168

169169
_END OF TERMS AND CONDITIONS_
170-
171-
### APPENDIX: How to apply the Apache License to your work
172-
173-
To apply the Apache License to your work, attach the following boilerplate
174-
notice, with the fields enclosed by brackets `[]` replaced with your own
175-
identifying information. (Don't include the brackets!) The text should be
176-
enclosed in the appropriate comment syntax for the file format. We also
177-
recommend that a file or class name and description of purpose be included on
178-
the same “printed page” as the copyright notice for easier identification within
179-
third-party archives.
180-
181-
Copyright [yyyy] [name of copyright owner]
182-
183-
Licensed under the Apache License, Version 2.0 (the "License");
184-
you may not use this file except in compliance with the License.
185-
You may obtain a copy of the License at
186-
187-
http://www.apache.org/licenses/LICENSE-2.0
188-
189-
Unless required by applicable law or agreed to in writing, software
190-
distributed under the License is distributed on an "AS IS" BASIS,
191-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
192-
See the License for the specific language governing permissions and
193-
limitations under the License.

Diff for: docs/README.md

+4-15
Original file line numberDiff line numberDiff line change
@@ -54,20 +54,9 @@ appreciated**. For detailed contributing guidelines, please see
5454

5555
For security policies and procedures, please see [Security](SECURITY#security-policies-and-procedures)
5656

57-
## Copyright Notice and License
57+
## Copyright Notice
5858

59-
[Copyright Notice and License](LICENSE#apache-license)
59+
[Copyright Notice and License](./LICENSE)
6060

61-
Copyright (c) 2025 Cisco and/or its affiliates.
62-
63-
Licensed under the Apache License, Version 2.0 (the "License");
64-
you may not use this file except in compliance with the License.
65-
You may obtain a copy of the License at
66-
67-
http://www.apache.org/licenses/LICENSE-2.0
68-
69-
Unless required by applicable law or agreed to in writing, software
70-
distributed under the License is distributed on an "AS IS" BASIS,
71-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
72-
See the License for the specific language governing permissions and
73-
limitations under the License.
61+
Distributed under Apache 2.0 License. See LICENSE for more information.
62+
Copyright AGNTCY Contributors (https://github.com/agntcy)

Diff for: examples/Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright AGNTCY Contributors (https://github.com/agntcy)
2+
# SPDX-License-Identifier: Apache-2.0
3+
14
EXAMPLES ?= .
25
VENV_NAME = venv
36
PYTHON = $(VENV_NAME)/bin/python

Diff for: examples/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
# SPDX-FileCopyrightText: Copyright (c) 2025 Cisco and/or its affiliates.
1+
# Copyright AGNTCY Contributors (https://github.com/agntcy)
22
# SPDX-License-Identifier: Apache-2.0

Diff for: examples/langgraph/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
# SPDX-FileCopyrightText: Copyright (c) 2025 Cisco and/or its affiliates.
2-
# SPDX-License-Identifier: Apache-2.0"
1+
# Copyright AGNTCY Contributors (https://github.com/agntcy)
2+
# SPDX-License-Identifier: Apache-2.0

Diff for: examples/langgraph/imperative.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
# SPDX-FileCopyrightText: Copyright (c) 2025 Cisco and/or its affiliates.
1+
# Copyright AGNTCY Contributors (https://github.com/agntcy)
22
# SPDX-License-Identifier: Apache-2.0
3+
34
import logging
45
from datetime import datetime
56
from typing import Optional

Diff for: examples/langgraph/langgraph_pydantic.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
# SPDX-FileCopyrightText: Copyright (c) 2025 Cisco and/or its affiliates.
1+
# Copyright AGNTCY Contributors (https://github.com/agntcy)
22
# SPDX-License-Identifier: Apache-2.0
3+
34
from typing import List, Optional
45

56
from langchain_core.messages import SystemMessage
@@ -32,7 +33,7 @@ def select_user_node(state: OverallState):
3233

3334
def define_campaign_node(state: OverallState):
3435
prompt = f"""
35-
You are a campaign builder for company XYZ. Given a list of selected users and a user prompt, create an engaging campaign.
36+
You are a campaign builder for company XYZ. Given a list of selected users and a user prompt, create an engaging campaign.
3637
Return the campaign details as a JSON object with the following structure:
3738
{{
3839
"name": "Campaign Name",
@@ -58,7 +59,7 @@ def define_campaign_node(state: OverallState):
5859

5960
def create_communication(state: OverallState):
6061
prompt = f"""
61-
You are an email communication creator. Given a campaign and a list of selected users, create an email communication.
62+
You are an email communication creator. Given a campaign and a list of selected users, create an email communication.
6263
Return the communication details as a JSON object with the following structure:
6364
{{
6465
"subject": "Email Subject",

Diff for: examples/langgraph/langgraph_typedict.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright AGNTCY Contributors (https://github.com/agntcy)
2+
# SPDX-License-Identifier: Apache-2.0
3+
14
from typing import List, TypedDict, Union
25

36
from langchain.schema import Document

Diff for: examples/langgraph/langraph_manifest.py

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Copyright AGNTCY Contributors (https://github.com/agntcy)
2+
# SPDX-License-Identifier: Apache-2.0

Diff for: examples/llamaindex/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
# SPDX-FileCopyrightText: Copyright (c) 2025 Cisco and/or its affiliates.
2-
# SPDX-License-Identifier: Apache-2.0"
1+
# Copyright AGNTCY Contributors (https://github.com/agntcy)
2+
# SPDX-License-Identifier: Apache-2.0

Diff for: examples/llamaindex/llamaindex_workflow.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
# SPDX-FileCopyrightText: Copyright (c) 2025 Cisco and/or its affiliates.
1+
# Copyright AGNTCY Contributors (https://github.com/agntcy)
22
# SPDX-License-Identifier: Apache-2.0
3+
34
from typing import List, Optional
45

56
from llama_index.core.output_parsers import PydanticOutputParser
@@ -59,7 +60,7 @@ async def create_campaign(
5960
self, ctx: Context, ev: CreateCampaignEvent
6061
) -> IOMappingInputEvent:
6162
prompt = f"""
62-
You are a campaign builder for company XYZ. Given a list of selected users and a user prompt, create an engaging campaign.
63+
You are a campaign builder for company XYZ. Given a list of selected users and a user prompt, create an engaging campaign.
6364
Return the campaign details as a JSON object with the following structure:
6465
{{
6566
"name": "Campaign Name",

Diff for: examples/llm.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# SPDX-FileCopyrightText: Copyright (c) 2025 Cisco and/or its affiliates.
1+
# Copyright AGNTCY Contributors (https://github.com/agntcy)
22
# SPDX-License-Identifier: Apache-2.0
3-
#
3+
44
import os
55
from enum import Enum
66

Diff for: examples/models/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-FileCopyrightText: Copyright (c) 2025 Cisco and/or its affiliates.
1+
# Copyright AGNTCY Contributors (https://github.com/agntcy)
22
# SPDX-License-Identifier: Apache-2.0
33

44
from .models import *

Diff for: examples/models/data.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright AGNTCY Contributors (https://github.com/agntcy)
2+
# SPDX-License-Identifier: Apache-2.0
3+
14
from typing import List
25

36
from examples.models import User

Diff for: examples/models/models.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
# SPDX-FileCopyrightText: Copyright (c) 2025 Cisco and/or its affiliates.
1+
# Copyright AGNTCY Contributors (https://github.com/agntcy)
22
# SPDX-License-Identifier: Apache-2.0
3+
34
from typing import List, TypedDict
45

56
from pydantic import BaseModel, Field

0 commit comments

Comments
 (0)